diff --git a/docs/assets/Button.stories-b27145d2.js b/docs/assets/Button.stories-b27145d2.js new file mode 100644 index 0000000..3e7148d --- /dev/null +++ b/docs/assets/Button.stories-b27145d2.js @@ -0,0 +1,73 @@ +import{d as S,e as L,o as h,f as x,g as le,j as N,k as ta,t as E,l as D,n as Q,m as $,p as ue,q as Ft,s as I,u as We,w as Je,v as Ie,x as ye,F as re,y as aa}from"./vue.esm-bundler-16b759a1.js";const Rt={account:` + + + `,doc:` + + `,vk:` + + `,youtube:` + + + `,video:` + + + `,yandex:` + + `,menu:` + + + + + `,close:` + + + `,"arrow-down":` + + + `,car:` + + + + + `,review:` + + `,phone:` + + `,circle:` + + `,dzen:` + + `,instagram:` + + + + `,moon:` + + `,sun:` + + + + + + + + + + `,edit:` + + `,visibility:` + + + `,visibility_off:` + + `},na={class:"ui-icon"},sa=["fill","innerHTML"],ee=S({__name:"Icon",props:{name:{},fill:{type:Boolean}},setup(a){const e=a,t=L(()=>Rt[e.name]);return(n,s)=>(h(),x("span",na,[(h(),x("svg",{viewBox:"0 0 24 24",fill:n.fill?"currentColor":"none",stroke:"currentColor","stroke-width":"1.2",innerHTML:t.value},null,8,sa))]))}});ee.__docgenInfo={exportName:"default",displayName:"Icon",description:"",tags:{},props:[{name:"name",required:!0,type:{name:"TUiIcon"}},{name:"fill",required:!1,type:{name:"boolean"}}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/Icon.vue"]};const ra={key:0,class:"ui-alert-close"},ia={key:1,class:"ui-alert-content"},Bt=S({__name:"Alert",props:{color:{},value:{},close:{type:Boolean}},emits:["close"],setup(a,{emit:e}){const t=a;return(n,s)=>(h(),x("div",{class:Q(["ui-alert",t.color])},[t.close?(h(),x("div",ra,[le(ee,{name:"close",onClick:s[0]||(s[0]=r=>e("close"))})])):N("",!0),t.value||n.$slots.default?(h(),x("div",ia,[ta(E(t.value)+" ",1),n.$slots.default?D(n.$slots,"default",{key:0}):N("",!0)])):N("",!0)],2))}});Bt.__docgenInfo={exportName:"default",displayName:"Alert",description:"",tags:{},props:[{name:"color",required:!1,type:{name:"TColor"}},{name:"value",required:!1,type:{name:"string"}},{name:"close",required:!1,type:{name:"boolean"}}],events:[{name:"close"}],slots:[{name:"default"}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/Alert.vue"]};const oa={key:1,class:"label"},ie=S({__name:"Btn",props:{label:{},type:{},color:{},icon:{},to:{},disabled:{type:Boolean}},emits:["click"],setup(a,{emit:e}){const t=a,n=r=>e("click",r),s=L(()=>{let r={"ui-btn":!0,"ui-btn-icon":t.icon};return t.color&&(r[t.color]=!0),r});return(r,i)=>(h(),$(Ft(t.to?"router-link":"button"),{to:t.to,type:t.type,class:Q(s.value),disabled:t.disabled,onClick:n},{default:ue(()=>[t.icon?(h(),$(ee,{key:0,name:t.icon},null,8,["name"])):N("",!0),t.label?(h(),x("div",oa,E(t.label),1)):N("",!0),r.$slots.default?D(r.$slots,"default",{key:2}):N("",!0)]),_:3},8,["to","type","class","disabled"]))}});ie.__docgenInfo={exportName:"default",displayName:"Btn",description:"",tags:{},props:[{name:"label",required:!1,type:{name:"string"}},{name:"type",required:!1,type:{name:"TUiBtnType"}},{name:"color",required:!1,type:{name:"TColor"}},{name:"icon",required:!1,type:{name:"TIcon"}},{name:"to",required:!1,type:{name:"string"}},{name:"disabled",required:!1,type:{name:"boolean"}}],events:[{name:"click",type:{names:["PointerEvent"]}}],slots:[{name:"default"}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/Btn.vue"]};const la={class:"ui-card"},da={key:0,class:"ui-card-head"},ca={class:"ui-card-title"},ua={key:1,class:"ui-card-body"},pa={key:2,class:"ui-card-actions"},ma=S({__name:"Card",props:{title:{}},setup(a){const e=a;return(t,n)=>(h(),x("div",la,[e.title?(h(),x("div",da,[I("h3",ca,E(e.title),1)])):N("",!0),t.$slots.default?(h(),x("div",ua,[D(t.$slots,"default")])):N("",!0),t.$slots.actions?(h(),x("div",pa,[D(t.$slots,"actions")])):N("",!0)]))}});ma.__docgenInfo={exportName:"default",displayName:"Card",description:"",tags:{},props:[{name:"title",required:!1,type:{name:"string"}}],slots:[{name:"default"},{name:"actions"}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/Card.vue"]};const ha=["open"],fa={class:"ui-dialog-window"},ya={key:0,class:"ui-dialog-window-header"},_a={key:1,class:"ui-dialog-window-content"},va=S({__name:"Dialog",props:{title:{},open:{type:Boolean},close:{type:Boolean}},emits:["update:open"],setup(a,{emit:e}){const t=a,n=We(t.open),s=()=>{n.value=!1,e("update:open",!1)},r=i=>{i.target instanceof Element&&i.target.classList.contains("ui-dialog")&&s()};return Je(()=>t.open,i=>n.value=i),(i,o)=>(h(),x("dialog",{class:"ui-dialog",open:n.value,onClick:r},[I("div",fa,[t.title?(h(),x("div",ya,[I("h4",null,E(i.title),1),le(ee,{name:"close",onClick:s,class:"ui-icon-close"})])):N("",!0),i.$slots.default?(h(),x("div",_a,[D(i.$slots,"default")])):N("",!0)])],8,ha))}});va.__docgenInfo={exportName:"default",displayName:"Dialog",description:"",tags:{},props:[{name:"title",required:!1,type:{name:"string"}},{name:"open",required:!1,type:{name:"boolean"}},{name:"close",required:!1,type:{name:"boolean"}}],events:[{name:"update:open",type:{names:["boolean"]}}],slots:[{name:"default"}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/Dialog.vue"]};const ga=S({__name:"IconVisibility",props:{modelValue:{type:Boolean},color:{type:Boolean},cursor:{type:Boolean}},emits:["update:modelValue"],setup(a,{emit:e}){const t=a;return(n,s)=>t.modelValue?(h(),$(ee,{key:0,name:"visibility",class:Q({"text-success":t.color,"cursor-pointer":t.cursor}),onClick:s[0]||(s[0]=r=>e("update:modelValue",!1))},null,8,["class"])):(h(),$(ee,{key:1,name:"visibility_off",class:Q({"cursor-pointer":t.cursor}),onClick:s[1]||(s[1]=r=>e("update:modelValue",!0))},null,8,["class"]))}});ga.__docgenInfo={exportName:"default",displayName:"IconVisibility",description:"",tags:{},props:[{name:"modelValue",required:!1,type:{name:"boolean"}},{name:"color",required:!1,type:{name:"boolean"}},{name:"cursor",required:!1,type:{name:"boolean"}}],events:[{name:"update:modelValue",type:{names:["boolean"]}}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/IconVisibility.vue"]};const ba={class:"ui-toggle-theme"},xa=S({__name:"ToggleTheme",props:{modelValue:{}},emits:["update:modelValue"],setup(a,{emit:e}){const t=a,n=({})=>e("update:modelValue",t.modelValue==="dark"?"light":"dark");return(s,r)=>(h(),x("div",ba,[le(ee,{title:"Переключить тему",name:t.modelValue==="dark"?"moon":"sun",onClick:n},null,8,["name"])]))}});xa.__docgenInfo={exportName:"default",displayName:"ToggleTheme",description:"",tags:{},props:[{name:"modelValue",required:!1,type:{name:"TUiThemeName"}}],events:[{name:"update:modelValue",type:{names:["TUiThemeName"]}}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/ToggleTheme.vue"]};const ka={class:"ui-field-wrap"},wa={key:0,class:"label"},Ta={class:"input"},Na={key:0,class:"description"},Za={key:1,class:"message"},pe=S({__name:"FieldWrapper",props:{label:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},description:{}},setup(a){const e=a;return(t,n)=>(h(),x("div",{class:Q({"ui-field":!0,error:e.error,disabled:e.disabled,readonly:e.readonly})},[I("div",ka,[e.label?(h(),x("div",wa,E(e.label),1)):N("",!0),I("div",Ta,[D(t.$slots,"default")])]),e.description?(h(),x("div",Na,E(e.description),1)):N("",!0),e.error?(h(),x("div",Za,E(e.error),1)):N("",!0)],2))}});pe.__docgenInfo={exportName:"default",displayName:"FieldWrapper",description:"",tags:{},props:[{name:"label",required:!1,type:{name:"string"}},{name:"error",required:!1,type:{name:"string"}},{name:"disabled",required:!1,type:{name:"boolean"}},{name:"readonly",required:!1,type:{name:"boolean"}},{name:"description",required:!1,type:{name:"string"}}],slots:[{name:"default"}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/FieldWrapper.vue"]};const Sa=["type","value","placeholder","disabled","readonly"],me=S({__name:"FieldInput",props:{label:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},description:{},type:{},modelValue:{},placeholder:{}},emits:["input","update:model-value","update:error"],setup(a,{emit:e}){const t=a,n=s=>{if(e("input",s),e("update:error"),s.target instanceof HTMLInputElement){const{value:r}=s.target;switch(t.type){case"number":e("update:model-value",Number(r));break;default:e("update:model-value",String(r))}}else e("update:model-value",void 0)};return(s,r)=>(h(),$(pe,{label:t.label,error:t.error,disabled:t.disabled,readonly:t.readonly,description:t.description},{default:ue(()=>[I("input",{type:t.type,value:t.modelValue,placeholder:t.placeholder,disabled:t.disabled,readonly:t.readonly,onInput:n},null,40,Sa)]),_:1},8,["label","error","disabled","readonly","description"]))}});me.__docgenInfo={exportName:"default",displayName:"FieldInput",description:"",tags:{},events:[{name:"input",type:{names:["Event"]}},{name:"update:model-value",type:{names:["union"],elements:[{name:"string"},{name:"number"},{name:"Date"}]}},{name:"update:error",type:{names:["string"]}}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/FieldInput.vue"]};const $a=S({__name:"FieldText",props:{label:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},description:{},type:{},modelValue:{},placeholder:{}},setup(a){const e=a;return(t,n)=>(h(),$(me,Ie({...e,...t.$attrs},{type:"text"}),null,16))}});$a.__docgenInfo={exportName:"default",displayName:"FieldText",description:"",tags:{},sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/FieldText.vue"]};const Ca=S({__name:"FieldNumber",props:{label:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},description:{},type:{},modelValue:{},placeholder:{}},setup(a){const e=a;return(t,n)=>(h(),$(me,Ie({...e,...t.$attrs},{type:"number"}),null,16))}});Ca.__docgenInfo={exportName:"default",displayName:"FieldNumber",description:"",tags:{},sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/FieldNumber.vue"]};const Ia=S({__name:"FieldPassword",props:{label:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},description:{},type:{},modelValue:{},placeholder:{}},setup(a){const e=a;return(t,n)=>(h(),$(me,Ie({...e,...t.$attrs},{type:"password"}),null,16))}});Ia.__docgenInfo={exportName:"default",displayName:"FieldPassword",description:"",tags:{},sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/FieldPassword.vue"]};var Va=Object.defineProperty,ja=(a,e,t)=>e in a?Va(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,j=(a,e,t)=>(ja(a,typeof e!="symbol"?e+"":e,t),t),Lt=(a,e,t)=>{if(!e.has(a))throw TypeError("Cannot "+t)},$t=(a,e,t)=>(Lt(a,e,"read from private field"),t?t.call(a):e.get(a)),Oa=(a,e,t)=>{if(e.has(a))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(a):e.set(a,t)},Pa=(a,e,t,n)=>(Lt(a,e,"write to private field"),n?n.call(a,t):e.set(a,t),t),_e=(a=>(a.man="man",a.woman="woman",a))(_e||{});const He=/^[А-яЁё]+$/,Aa=/^[9]\d{9}$/,Ea=/[\'\"\+\(\)]/g,Ma=/^[a-f\d]{24}$/i,et=a=>{if(a&&(typeof a=="number"&&(a=a.toString()),typeof a=="string"))try{return a=a.replace(/\D/g,"").replace(/^[78]/,"").substring(0,10),Number(a)||void 0}catch{}},Fa=a=>{if(!a)return!1;const e=a.toString();return!(e.length!==10||e.match(Aa)===null)},Ra=(a,e="+7 ")=>{var t;let n=e;const s=(t=et(a))==null?void 0:t.toString().substring(0,10);if(s)for(let r=0;r{try{if(a){const e=new Date(a),t=e.toLocaleDateString("ru-RU",{day:"2-digit"}),n=e.toLocaleDateString("ru-RU",{month:"2-digit"});return`${e.toLocaleDateString("ru-RU",{year:"numeric"})}-${n}-${t}`}}catch{}return""};class he{constructor(e,t){j(this,"key"),j(this,"type"),j(this,"label"),j(this,"component"),j(this,"hidden"),j(this,"description"),j(this,"readonly"),j(this,"multiple"),j(this,"disabled"),j(this,"cssClass");var n,s,r,i,o,d,l,m,k,B,tt,at,nt,st,rt,it,ot,lt,dt,ct,ut,pt,mt,ht,ft,yt,_t,vt,gt,bt,xt,kt,wt,Tt,Nt,Zt,St;let P={};try{t.description?P=JSON.parse(t.description):P=JSON.parse(((r=(s=(n=t==null?void 0:t._def)==null?void 0:n.innerType)==null?void 0:s._def)==null?void 0:r.description)||"{}")}catch{P={label:t.description||"Unknown"}}switch(this.key=P.key||e.key||"unknown",this.label=P.label||e.label||"Label",this.type=P.type||e.type,!this.type&&t&&((B=(k=(m=(l=(d=(o=(i=t==null?void 0:t._def)==null?void 0:i.innerType)==null?void 0:o._def)==null?void 0:d.innerType)==null?void 0:l._def)==null?void 0:m.schema)==null?void 0:k._def)!=null&&B.typeName&&(this.type=(ot=(it=(rt=(st=(nt=(at=(tt=t==null?void 0:t._def)==null?void 0:tt.innerType)==null?void 0:at._def)==null?void 0:nt.innerType)==null?void 0:st._def)==null?void 0:rt.schema)==null?void 0:it._def)==null?void 0:ot.typeName),(pt=(ut=(ct=(dt=(lt=t._def)==null?void 0:lt.innerType)==null?void 0:dt._def)==null?void 0:ct.innerType)==null?void 0:ut._def)!=null&&pt.typeName&&(this.type=(ft=(ht=(mt=t==null?void 0:t._def)==null?void 0:mt.innerType)==null?void 0:ht._def)==null?void 0:ft.innerType._def.typeName),(gt=(vt=(_t=(yt=t._def.innerType)==null?void 0:yt._def)==null?void 0:_t.schema)==null?void 0:vt._def)!=null&>.typeName&&(this.type=(wt=(kt=(xt=(bt=t._def.innerType)==null?void 0:bt._def)==null?void 0:xt.schema)==null?void 0:kt._def)==null?void 0:wt.typeName),(Nt=(Tt=t._def.innerType)==null?void 0:Tt._def)!=null&&Nt.typeName&&(this.type=t._def.innerType._def.typeName),(St=(Zt=t._def.schema)==null?void 0:Zt._def)!=null&&St.typeName&&(this.type=t._def.schema._def.typeName),this.type||(this.type=t._def.typeName)),this.type){case"ZodString":this.type="string";break;case"ZodNumber":this.type="number";break;case"ZodBoolean":this.type="boolean";break;case"ZodArray":this.type="array";break;case"ZodDate":this.type="date";break}if(this.component=P.component||e.component,!this.component)switch(this.type){case"string":this.component="ui-field-text";break;case"number":this.component="ui-field-number";break;case"boolean":this.component="ui-field-checkbox";break;case"date":this.component="ui-field-date";break;default:this.component="ui-field"}this.hidden=P.hidden||e.hidden,this.description=P.description||e.description,this.readonly=P.readonly||e.readonly,this.multiple=P.multiple||e.multiple,this.disabled=P.disabled||e.disabled,this.cssClass=P.cssClass||e.cssClass}static toString(e,t){let n="";try{if(t){const s=JSON.parse(t);e=Object.assign(s,e)}n=JSON.stringify(e)}catch{}return n}}var w;(function(a){a.assertEqual=s=>s;function e(s){}a.assertIs=e;function t(s){throw new Error}a.assertNever=t,a.arrayToEnum=s=>{const r={};for(const i of s)r[i]=i;return r},a.getValidEnumValues=s=>{const r=a.objectKeys(s).filter(o=>typeof s[s[o]]!="number"),i={};for(const o of r)i[o]=s[o];return a.objectValues(i)},a.objectValues=s=>a.objectKeys(s).map(function(r){return s[r]}),a.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{const r=[];for(const i in s)Object.prototype.hasOwnProperty.call(s,i)&&r.push(i);return r},a.find=(s,r)=>{for(const i of s)if(r(i))return i},a.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&isFinite(s)&&Math.floor(s)===s;function n(s,r=" | "){return s.map(i=>typeof i=="string"?`'${i}'`:i).join(r)}a.joinValues=n,a.jsonStringifyReplacer=(s,r)=>typeof r=="bigint"?r.toString():r})(w||(w={}));var Ge;(function(a){a.mergeShapes=(e,t)=>({...e,...t})})(Ge||(Ge={}));const u=w.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),K=a=>{switch(typeof a){case"undefined":return u.undefined;case"string":return u.string;case"number":return isNaN(a)?u.nan:u.number;case"boolean":return u.boolean;case"function":return u.function;case"bigint":return u.bigint;case"symbol":return u.symbol;case"object":return Array.isArray(a)?u.array:a===null?u.null:a.then&&typeof a.then=="function"&&a.catch&&typeof a.catch=="function"?u.promise:typeof Map<"u"&&a instanceof Map?u.map:typeof Set<"u"&&a instanceof Set?u.set:typeof Date<"u"&&a instanceof Date?u.date:u.object;default:return u.unknown}},c=w.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),La=a=>JSON.stringify(a,null,2).replace(/"([^"]+)":/g,"$1:");class M extends Error{constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const t=e||function(r){return r.message},n={_errors:[]},s=r=>{for(const i of r.issues)if(i.code==="invalid_union")i.unionErrors.map(s);else if(i.code==="invalid_return_type")s(i.returnTypeError);else if(i.code==="invalid_arguments")s(i.argumentsError);else if(i.path.length===0)n._errors.push(t(i));else{let o=n,d=0;for(;dt.message){const t={},n=[];for(const s of this.issues)s.path.length>0?(t[s.path[0]]=t[s.path[0]]||[],t[s.path[0]].push(e(s))):n.push(e(s));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}M.create=a=>new M(a);const ve=(a,e)=>{let t;switch(a.code){case c.invalid_type:a.received===u.undefined?t="Required":t=`Expected ${a.expected}, received ${a.received}`;break;case c.invalid_literal:t=`Invalid literal value, expected ${JSON.stringify(a.expected,w.jsonStringifyReplacer)}`;break;case c.unrecognized_keys:t=`Unrecognized key(s) in object: ${w.joinValues(a.keys,", ")}`;break;case c.invalid_union:t="Invalid input";break;case c.invalid_union_discriminator:t=`Invalid discriminator value. Expected ${w.joinValues(a.options)}`;break;case c.invalid_enum_value:t=`Invalid enum value. Expected ${w.joinValues(a.options)}, received '${a.received}'`;break;case c.invalid_arguments:t="Invalid function arguments";break;case c.invalid_return_type:t="Invalid function return type";break;case c.invalid_date:t="Invalid date";break;case c.invalid_string:typeof a.validation=="object"?"includes"in a.validation?(t=`Invalid input: must include "${a.validation.includes}"`,typeof a.validation.position=="number"&&(t=`${t} at one or more positions greater than or equal to ${a.validation.position}`)):"startsWith"in a.validation?t=`Invalid input: must start with "${a.validation.startsWith}"`:"endsWith"in a.validation?t=`Invalid input: must end with "${a.validation.endsWith}"`:w.assertNever(a.validation):a.validation!=="regex"?t=`Invalid ${a.validation}`:t="Invalid";break;case c.too_small:a.type==="array"?t=`Array must contain ${a.exact?"exactly":a.inclusive?"at least":"more than"} ${a.minimum} element(s)`:a.type==="string"?t=`String must contain ${a.exact?"exactly":a.inclusive?"at least":"over"} ${a.minimum} character(s)`:a.type==="number"?t=`Number must be ${a.exact?"exactly equal to ":a.inclusive?"greater than or equal to ":"greater than "}${a.minimum}`:a.type==="date"?t=`Date must be ${a.exact?"exactly equal to ":a.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(a.minimum))}`:t="Invalid input";break;case c.too_big:a.type==="array"?t=`Array must contain ${a.exact?"exactly":a.inclusive?"at most":"less than"} ${a.maximum} element(s)`:a.type==="string"?t=`String must contain ${a.exact?"exactly":a.inclusive?"at most":"under"} ${a.maximum} character(s)`:a.type==="number"?t=`Number must be ${a.exact?"exactly":a.inclusive?"less than or equal to":"less than"} ${a.maximum}`:a.type==="bigint"?t=`BigInt must be ${a.exact?"exactly":a.inclusive?"less than or equal to":"less than"} ${a.maximum}`:a.type==="date"?t=`Date must be ${a.exact?"exactly":a.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(a.maximum))}`:t="Invalid input";break;case c.custom:t="Invalid input";break;case c.invalid_intersection_types:t="Intersection results could not be merged";break;case c.not_multiple_of:t=`Number must be a multiple of ${a.multipleOf}`;break;case c.not_finite:t="Number must be finite";break;default:t=e.defaultError,w.assertNever(a)}return{message:t}};let Dt=ve;function Da(a){Dt=a}function Ee(){return Dt}const Me=a=>{const{data:e,path:t,errorMaps:n,issueData:s}=a,r=[...t,...s.path||[]],i={...s,path:r};let o="";const d=n.filter(l=>!!l).slice().reverse();for(const l of d)o=l(i,{data:e,defaultError:o}).message;return{...s,path:r,message:s.message||o}},qa=[];function p(a,e){const t=Me({issueData:e,data:a.data,path:a.path,errorMaps:[a.common.contextualErrorMap,a.schemaErrorMap,Ee(),ve].filter(n=>!!n)});a.common.issues.push(t)}class V{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){const n=[];for(const s of t){if(s.status==="aborted")return _;s.status==="dirty"&&e.dirty(),n.push(s.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const n=[];for(const s of t)n.push({key:await s.key,value:await s.value});return V.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={};for(const s of t){const{key:r,value:i}=s;if(r.status==="aborted"||i.status==="aborted")return _;r.status==="dirty"&&e.dirty(),i.status==="dirty"&&e.dirty(),r.value!=="__proto__"&&(typeof i.value<"u"||s.alwaysSet)&&(n[r.value]=i.value)}return{status:e.value,value:n}}}const _=Object.freeze({status:"aborted"}),qt=a=>({status:"dirty",value:a}),O=a=>({status:"valid",value:a}),Ye=a=>a.status==="aborted",Xe=a=>a.status==="dirty",ge=a=>a.status==="valid",Fe=a=>typeof Promise<"u"&&a instanceof Promise;var f;(function(a){a.errToObj=e=>typeof e=="string"?{message:e}:e||{},a.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(f||(f={}));class q{constructor(e,t,n,s){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=s}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Ct=(a,e)=>{if(ge(e))return{success:!0,data:e.value};if(!a.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new M(a.common.issues);return this._error=t,this._error}}};function v(a){if(!a)return{};const{errorMap:e,invalid_type_error:t,required_error:n,description:s}=a;if(e&&(t||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:s}:{errorMap:(r,i)=>r.code!=="invalid_type"?{message:i.defaultError}:typeof i.data>"u"?{message:n??i.defaultError}:{message:t??i.defaultError},description:s}}class g{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return K(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:K(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new V,ctx:{common:e.parent.common,data:e.data,parsedType:K(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(Fe(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;const s={common:{issues:[],async:(n=t==null?void 0:t.async)!==null&&n!==void 0?n:!1,contextualErrorMap:t==null?void 0:t.errorMap},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:K(e)},r=this._parseSync({data:e,path:s.path,parent:s});return Ct(s,r)}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:t==null?void 0:t.errorMap,async:!0},path:(t==null?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:K(e)},s=this._parse({data:e,path:n.path,parent:n}),r=await(Fe(s)?s:Promise.resolve(s));return Ct(n,r)}refine(e,t){const n=s=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(s):t;return this._refinement((s,r)=>{const i=e(s),o=()=>r.addIssue({code:c.custom,...n(s)});return typeof Promise<"u"&&i instanceof Promise?i.then(d=>d?!0:(o(),!1)):i?!0:(o(),!1)})}refinement(e,t){return this._refinement((n,s)=>e(n)?!0:(s.addIssue(typeof t=="function"?t(n,s):t),!1))}_refinement(e){return new R({schema:this,typeName:y.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return U.create(this,this._def)}nullable(){return ne.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return F.create(this,this._def)}promise(){return ce.create(this,this._def)}or(e){return we.create([this,e],this._def)}and(e){return Te.create(this,e,this._def)}transform(e){return new R({...v(this._def),schema:this,typeName:y.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t=typeof e=="function"?e:()=>e;return new Ce({...v(this._def),innerType:this,defaultValue:t,typeName:y.ZodDefault})}brand(){return new Ut({typeName:y.ZodBranded,type:this,...v(this._def)})}catch(e){const t=typeof e=="function"?e:()=>e;return new De({...v(this._def),innerType:this,catchValue:t,typeName:y.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return Ve.create(this,e)}readonly(){return ze.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const za=/^c[^\s-]{8,}$/i,Ua=/^[a-z][a-z0-9]*$/,Ha=/^[0-9A-HJKMNP-TV-Z]{26}$/,Ka=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Wa=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Ja="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Ke;const Ga=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,Ya=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,Xa=a=>a.precision?a.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${a.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${a.precision}}Z$`):a.precision===0?a.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):a.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function Qa(a,e){return!!((e==="v4"||!e)&&Ga.test(a)||(e==="v6"||!e)&&Ya.test(a))}class A extends g{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==u.string){const s=this._getOrReturnCtx(e);return p(s,{code:c.invalid_type,expected:u.string,received:s.parsedType}),_}const t=new V;let n;for(const s of this._def.checks)if(s.kind==="min")e.data.lengths.value&&(n=this._getOrReturnCtx(e,n),p(n,{code:c.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),t.dirty());else if(s.kind==="length"){const r=e.data.length>s.value,i=e.data.lengthe.test(s),{validation:t,code:c.invalid_string,...f.errToObj(n)})}_addCheck(e){return new A({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...f.errToObj(e)})}url(e){return this._addCheck({kind:"url",...f.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...f.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...f.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...f.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...f.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...f.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...f.errToObj(e)})}datetime(e){var t;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(t=e==null?void 0:e.offset)!==null&&t!==void 0?t:!1,...f.errToObj(e==null?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...f.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t==null?void 0:t.position,...f.errToObj(t==null?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...f.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...f.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...f.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...f.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...f.errToObj(t)})}nonempty(e){return this.min(1,f.errToObj(e))}trim(){return new A({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new A({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new A({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get minLength(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value{var e;return new A({checks:[],typeName:y.ZodString,coerce:(e=a==null?void 0:a.coerce)!==null&&e!==void 0?e:!1,...v(a)})};function en(a,e){const t=(a.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,s=t>n?t:n,r=parseInt(a.toFixed(s).replace(".","")),i=parseInt(e.toFixed(s).replace(".",""));return r%i/Math.pow(10,s)}class W extends g{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==u.number){const s=this._getOrReturnCtx(e);return p(s,{code:c.invalid_type,expected:u.number,received:s.parsedType}),_}let t;const n=new V;for(const s of this._def.checks)s.kind==="int"?w.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),p(t,{code:c.invalid_type,expected:"integer",received:"float",message:s.message}),n.dirty()):s.kind==="min"?(s.inclusive?e.datas.value:e.data>=s.value)&&(t=this._getOrReturnCtx(e,t),p(t,{code:c.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),n.dirty()):s.kind==="multipleOf"?en(e.data,s.value)!==0&&(t=this._getOrReturnCtx(e,t),p(t,{code:c.not_multiple_of,multipleOf:s.value,message:s.message}),n.dirty()):s.kind==="finite"?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),p(t,{code:c.not_finite,message:s.message}),n.dirty()):w.assertNever(s);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,f.toString(t))}gt(e,t){return this.setLimit("min",e,!1,f.toString(t))}lte(e,t){return this.setLimit("max",e,!0,f.toString(t))}lt(e,t){return this.setLimit("max",e,!1,f.toString(t))}setLimit(e,t,n,s){return new W({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:f.toString(s)}]})}_addCheck(e){return new W({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:f.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:f.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:f.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:f.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:f.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:f.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:f.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:f.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:f.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.valuee.kind==="int"||e.kind==="multipleOf"&&w.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(t===null||n.value>t)&&(t=n.value):n.kind==="max"&&(e===null||n.valuenew W({checks:[],typeName:y.ZodNumber,coerce:(a==null?void 0:a.coerce)||!1,...v(a)});class J extends g{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==u.bigint){const s=this._getOrReturnCtx(e);return p(s,{code:c.invalid_type,expected:u.bigint,received:s.parsedType}),_}let t;const n=new V;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?e.datas.value:e.data>=s.value)&&(t=this._getOrReturnCtx(e,t),p(t,{code:c.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),n.dirty()):s.kind==="multipleOf"?e.data%s.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),p(t,{code:c.not_multiple_of,multipleOf:s.value,message:s.message}),n.dirty()):w.assertNever(s);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,f.toString(t))}gt(e,t){return this.setLimit("min",e,!1,f.toString(t))}lte(e,t){return this.setLimit("max",e,!0,f.toString(t))}lt(e,t){return this.setLimit("max",e,!1,f.toString(t))}setLimit(e,t,n,s){return new J({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:f.toString(s)}]})}_addCheck(e){return new J({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:f.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:f.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:f.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:f.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:f.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value{var e;return new J({checks:[],typeName:y.ZodBigInt,coerce:(e=a==null?void 0:a.coerce)!==null&&e!==void 0?e:!1,...v(a)})};class be extends g{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==u.boolean){const t=this._getOrReturnCtx(e);return p(t,{code:c.invalid_type,expected:u.boolean,received:t.parsedType}),_}return O(e.data)}}be.create=a=>new be({typeName:y.ZodBoolean,coerce:(a==null?void 0:a.coerce)||!1,...v(a)});class te extends g{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==u.date){const s=this._getOrReturnCtx(e);return p(s,{code:c.invalid_type,expected:u.date,received:s.parsedType}),_}if(isNaN(e.data.getTime())){const s=this._getOrReturnCtx(e);return p(s,{code:c.invalid_date}),_}const t=new V;let n;for(const s of this._def.checks)s.kind==="min"?e.data.getTime()s.value&&(n=this._getOrReturnCtx(e,n),p(n,{code:c.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),t.dirty()):w.assertNever(s);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new te({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:f.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:f.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.valuenew te({checks:[],coerce:(a==null?void 0:a.coerce)||!1,typeName:y.ZodDate,...v(a)});class Re extends g{_parse(e){if(this._getType(e)!==u.symbol){const t=this._getOrReturnCtx(e);return p(t,{code:c.invalid_type,expected:u.symbol,received:t.parsedType}),_}return O(e.data)}}Re.create=a=>new Re({typeName:y.ZodSymbol,...v(a)});class xe extends g{_parse(e){if(this._getType(e)!==u.undefined){const t=this._getOrReturnCtx(e);return p(t,{code:c.invalid_type,expected:u.undefined,received:t.parsedType}),_}return O(e.data)}}xe.create=a=>new xe({typeName:y.ZodUndefined,...v(a)});class ke extends g{_parse(e){if(this._getType(e)!==u.null){const t=this._getOrReturnCtx(e);return p(t,{code:c.invalid_type,expected:u.null,received:t.parsedType}),_}return O(e.data)}}ke.create=a=>new ke({typeName:y.ZodNull,...v(a)});class de extends g{constructor(){super(...arguments),this._any=!0}_parse(e){return O(e.data)}}de.create=a=>new de({typeName:y.ZodAny,...v(a)});class X extends g{constructor(){super(...arguments),this._unknown=!0}_parse(e){return O(e.data)}}X.create=a=>new X({typeName:y.ZodUnknown,...v(a)});class H extends g{_parse(e){const t=this._getOrReturnCtx(e);return p(t,{code:c.invalid_type,expected:u.never,received:t.parsedType}),_}}H.create=a=>new H({typeName:y.ZodNever,...v(a)});class Be extends g{_parse(e){if(this._getType(e)!==u.undefined){const t=this._getOrReturnCtx(e);return p(t,{code:c.invalid_type,expected:u.void,received:t.parsedType}),_}return O(e.data)}}Be.create=a=>new Be({typeName:y.ZodVoid,...v(a)});class F extends g{_parse(e){const{ctx:t,status:n}=this._processInputParams(e),s=this._def;if(t.parsedType!==u.array)return p(t,{code:c.invalid_type,expected:u.array,received:t.parsedType}),_;if(s.exactLength!==null){const i=t.data.length>s.exactLength.value,o=t.data.lengths.maxLength.value&&(p(t,{code:c.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((i,o)=>s.type._parseAsync(new q(t,i,t.path,o)))).then(i=>V.mergeArray(n,i));const r=[...t.data].map((i,o)=>s.type._parseSync(new q(t,i,t.path,o)));return V.mergeArray(n,r)}get element(){return this._def.type}min(e,t){return new F({...this._def,minLength:{value:e,message:f.toString(t)}})}max(e,t){return new F({...this._def,maxLength:{value:e,message:f.toString(t)}})}length(e,t){return new F({...this._def,exactLength:{value:e,message:f.toString(t)}})}nonempty(e){return this.min(1,e)}}F.create=(a,e)=>new F({type:a,minLength:null,maxLength:null,exactLength:null,typeName:y.ZodArray,...v(e)});function se(a){if(a instanceof Z){const e={};for(const t in a.shape){const n=a.shape[t];e[t]=U.create(se(n))}return new Z({...a._def,shape:()=>e})}else return a instanceof F?new F({...a._def,type:se(a.element)}):a instanceof U?U.create(se(a.unwrap())):a instanceof ne?ne.create(se(a.unwrap())):a instanceof z?z.create(a.items.map(e=>se(e))):a}class Z extends g{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),t=w.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==u.object){const d=this._getOrReturnCtx(e);return p(d,{code:c.invalid_type,expected:u.object,received:d.parsedType}),_}const{status:t,ctx:n}=this._processInputParams(e),{shape:s,keys:r}=this._getCached(),i=[];if(!(this._def.catchall instanceof H&&this._def.unknownKeys==="strip"))for(const d in n.data)r.includes(d)||i.push(d);const o=[];for(const d of r){const l=s[d],m=n.data[d];o.push({key:{status:"valid",value:d},value:l._parse(new q(n,m,n.path,d)),alwaysSet:d in n.data})}if(this._def.catchall instanceof H){const d=this._def.unknownKeys;if(d==="passthrough")for(const l of i)o.push({key:{status:"valid",value:l},value:{status:"valid",value:n.data[l]}});else if(d==="strict")i.length>0&&(p(n,{code:c.unrecognized_keys,keys:i}),t.dirty());else if(d!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const d=this._def.catchall;for(const l of i){const m=n.data[l];o.push({key:{status:"valid",value:l},value:d._parse(new q(n,m,n.path,l)),alwaysSet:l in n.data})}}return n.common.async?Promise.resolve().then(async()=>{const d=[];for(const l of o){const m=await l.key;d.push({key:m,value:await l.value,alwaysSet:l.alwaysSet})}return d}).then(d=>V.mergeObjectSync(t,d)):V.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return f.errToObj,new Z({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,n)=>{var s,r,i,o;const d=(i=(r=(s=this._def).errorMap)===null||r===void 0?void 0:r.call(s,t,n).message)!==null&&i!==void 0?i:n.defaultError;return t.code==="unrecognized_keys"?{message:(o=f.errToObj(e).message)!==null&&o!==void 0?o:d}:{message:d}}}:{}})}strip(){return new Z({...this._def,unknownKeys:"strip"})}passthrough(){return new Z({...this._def,unknownKeys:"passthrough"})}extend(e){return new Z({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Z({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:y.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Z({...this._def,catchall:e})}pick(e){const t={};return w.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new Z({...this._def,shape:()=>t})}omit(e){const t={};return w.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new Z({...this._def,shape:()=>t})}deepPartial(){return se(this)}partial(e){const t={};return w.objectKeys(this.shape).forEach(n=>{const s=this.shape[n];e&&!e[n]?t[n]=s:t[n]=s.optional()}),new Z({...this._def,shape:()=>t})}required(e){const t={};return w.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let s=this.shape[n];for(;s instanceof U;)s=s._def.innerType;t[n]=s}}),new Z({...this._def,shape:()=>t})}keyof(){return zt(w.objectKeys(this.shape))}}Z.create=(a,e)=>new Z({shape:()=>a,unknownKeys:"strip",catchall:H.create(),typeName:y.ZodObject,...v(e)});Z.strictCreate=(a,e)=>new Z({shape:()=>a,unknownKeys:"strict",catchall:H.create(),typeName:y.ZodObject,...v(e)});Z.lazycreate=(a,e)=>new Z({shape:a,unknownKeys:"strip",catchall:H.create(),typeName:y.ZodObject,...v(e)});class we extends g{_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options;function s(r){for(const o of r)if(o.result.status==="valid")return o.result;for(const o of r)if(o.result.status==="dirty")return t.common.issues.push(...o.ctx.common.issues),o.result;const i=r.map(o=>new M(o.ctx.common.issues));return p(t,{code:c.invalid_union,unionErrors:i}),_}if(t.common.async)return Promise.all(n.map(async r=>{const i={...t,common:{...t.common,issues:[]},parent:null};return{result:await r._parseAsync({data:t.data,path:t.path,parent:i}),ctx:i}})).then(s);{let r;const i=[];for(const d of n){const l={...t,common:{...t.common,issues:[]},parent:null},m=d._parseSync({data:t.data,path:t.path,parent:l});if(m.status==="valid")return m;m.status==="dirty"&&!r&&(r={result:m,ctx:l}),l.common.issues.length&&i.push(l.common.issues)}if(r)return t.common.issues.push(...r.ctx.common.issues),r.result;const o=i.map(d=>new M(d));return p(t,{code:c.invalid_union,unionErrors:o}),_}}get options(){return this._def.options}}we.create=(a,e)=>new we({options:a,typeName:y.ZodUnion,...v(e)});const Ae=a=>a instanceof Ze?Ae(a.schema):a instanceof R?Ae(a.innerType()):a instanceof Se?[a.value]:a instanceof G?a.options:a instanceof $e?Object.keys(a.enum):a instanceof Ce?Ae(a._def.innerType):a instanceof xe?[void 0]:a instanceof ke?[null]:null;class Ue extends g{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==u.object)return p(t,{code:c.invalid_type,expected:u.object,received:t.parsedType}),_;const n=this.discriminator,s=t.data[n],r=this.optionsMap.get(s);return r?t.common.async?r._parseAsync({data:t.data,path:t.path,parent:t}):r._parseSync({data:t.data,path:t.path,parent:t}):(p(t,{code:c.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),_)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){const s=new Map;for(const r of t){const i=Ae(r.shape[e]);if(!i)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const o of i){if(s.has(o))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);s.set(o,r)}}return new Ue({typeName:y.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:s,...v(n)})}}function Qe(a,e){const t=K(a),n=K(e);if(a===e)return{valid:!0,data:a};if(t===u.object&&n===u.object){const s=w.objectKeys(e),r=w.objectKeys(a).filter(o=>s.indexOf(o)!==-1),i={...a,...e};for(const o of r){const d=Qe(a[o],e[o]);if(!d.valid)return{valid:!1};i[o]=d.data}return{valid:!0,data:i}}else if(t===u.array&&n===u.array){if(a.length!==e.length)return{valid:!1};const s=[];for(let r=0;r{if(Ye(r)||Ye(i))return _;const o=Qe(r.value,i.value);return o.valid?((Xe(r)||Xe(i))&&t.dirty(),{status:t.value,value:o.data}):(p(n,{code:c.invalid_intersection_types}),_)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([r,i])=>s(r,i)):s(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}Te.create=(a,e,t)=>new Te({left:a,right:e,typeName:y.ZodIntersection,...v(t)});class z extends g{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==u.array)return p(n,{code:c.invalid_type,expected:u.array,received:n.parsedType}),_;if(n.data.lengththis._def.items.length&&(p(n,{code:c.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const s=[...n.data].map((r,i)=>{const o=this._def.items[i]||this._def.rest;return o?o._parse(new q(n,r,n.path,i)):null}).filter(r=>!!r);return n.common.async?Promise.all(s).then(r=>V.mergeArray(t,r)):V.mergeArray(t,s)}get items(){return this._def.items}rest(e){return new z({...this._def,rest:e})}}z.create=(a,e)=>{if(!Array.isArray(a))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new z({items:a,typeName:y.ZodTuple,rest:null,...v(e)})};class Ne extends g{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==u.object)return p(n,{code:c.invalid_type,expected:u.object,received:n.parsedType}),_;const s=[],r=this._def.keyType,i=this._def.valueType;for(const o in n.data)s.push({key:r._parse(new q(n,o,n.path,o)),value:i._parse(new q(n,n.data[o],n.path,o))});return n.common.async?V.mergeObjectAsync(t,s):V.mergeObjectSync(t,s)}get element(){return this._def.valueType}static create(e,t,n){return t instanceof g?new Ne({keyType:e,valueType:t,typeName:y.ZodRecord,...v(n)}):new Ne({keyType:A.create(),valueType:e,typeName:y.ZodRecord,...v(t)})}}class Le extends g{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==u.map)return p(n,{code:c.invalid_type,expected:u.map,received:n.parsedType}),_;const s=this._def.keyType,r=this._def.valueType,i=[...n.data.entries()].map(([o,d],l)=>({key:s._parse(new q(n,o,n.path,[l,"key"])),value:r._parse(new q(n,d,n.path,[l,"value"]))}));if(n.common.async){const o=new Map;return Promise.resolve().then(async()=>{for(const d of i){const l=await d.key,m=await d.value;if(l.status==="aborted"||m.status==="aborted")return _;(l.status==="dirty"||m.status==="dirty")&&t.dirty(),o.set(l.value,m.value)}return{status:t.value,value:o}})}else{const o=new Map;for(const d of i){const l=d.key,m=d.value;if(l.status==="aborted"||m.status==="aborted")return _;(l.status==="dirty"||m.status==="dirty")&&t.dirty(),o.set(l.value,m.value)}return{status:t.value,value:o}}}}Le.create=(a,e,t)=>new Le({valueType:e,keyType:a,typeName:y.ZodMap,...v(t)});class ae extends g{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==u.set)return p(n,{code:c.invalid_type,expected:u.set,received:n.parsedType}),_;const s=this._def;s.minSize!==null&&n.data.sizes.maxSize.value&&(p(n,{code:c.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),t.dirty());const r=this._def.valueType;function i(d){const l=new Set;for(const m of d){if(m.status==="aborted")return _;m.status==="dirty"&&t.dirty(),l.add(m.value)}return{status:t.value,value:l}}const o=[...n.data.values()].map((d,l)=>r._parse(new q(n,d,n.path,l)));return n.common.async?Promise.all(o).then(d=>i(d)):i(o)}min(e,t){return new ae({...this._def,minSize:{value:e,message:f.toString(t)}})}max(e,t){return new ae({...this._def,maxSize:{value:e,message:f.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ae.create=(a,e)=>new ae({valueType:a,minSize:null,maxSize:null,typeName:y.ZodSet,...v(e)});class oe extends g{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==u.function)return p(t,{code:c.invalid_type,expected:u.function,received:t.parsedType}),_;function n(o,d){return Me({data:o,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Ee(),ve].filter(l=>!!l),issueData:{code:c.invalid_arguments,argumentsError:d}})}function s(o,d){return Me({data:o,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Ee(),ve].filter(l=>!!l),issueData:{code:c.invalid_return_type,returnTypeError:d}})}const r={errorMap:t.common.contextualErrorMap},i=t.data;if(this._def.returns instanceof ce){const o=this;return O(async function(...d){const l=new M([]),m=await o._def.args.parseAsync(d,r).catch(B=>{throw l.addIssue(n(d,B)),l}),k=await Reflect.apply(i,this,m);return await o._def.returns._def.type.parseAsync(k,r).catch(B=>{throw l.addIssue(s(k,B)),l})})}else{const o=this;return O(function(...d){const l=o._def.args.safeParse(d,r);if(!l.success)throw new M([n(d,l.error)]);const m=Reflect.apply(i,this,l.data),k=o._def.returns.safeParse(m,r);if(!k.success)throw new M([s(m,k.error)]);return k.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new oe({...this._def,args:z.create(e).rest(X.create())})}returns(e){return new oe({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new oe({args:e||z.create([]).rest(X.create()),returns:t||X.create(),typeName:y.ZodFunction,...v(n)})}}class Ze extends g{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}Ze.create=(a,e)=>new Ze({getter:a,typeName:y.ZodLazy,...v(e)});class Se extends g{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return p(t,{received:t.data,code:c.invalid_literal,expected:this._def.value}),_}return{status:"valid",value:e.data}}get value(){return this._def.value}}Se.create=(a,e)=>new Se({value:a,typeName:y.ZodLiteral,...v(e)});function zt(a,e){return new G({values:a,typeName:y.ZodEnum,...v(e)})}class G extends g{_parse(e){if(typeof e.data!="string"){const t=this._getOrReturnCtx(e),n=this._def.values;return p(t,{expected:w.joinValues(n),received:t.parsedType,code:c.invalid_type}),_}if(this._def.values.indexOf(e.data)===-1){const t=this._getOrReturnCtx(e),n=this._def.values;return p(t,{received:t.data,code:c.invalid_enum_value,options:n}),_}return O(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e){return G.create(e)}exclude(e){return G.create(this.options.filter(t=>!e.includes(t)))}}G.create=zt;class $e extends g{_parse(e){const t=w.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==u.string&&n.parsedType!==u.number){const s=w.objectValues(t);return p(n,{expected:w.joinValues(s),received:n.parsedType,code:c.invalid_type}),_}if(t.indexOf(e.data)===-1){const s=w.objectValues(t);return p(n,{received:n.data,code:c.invalid_enum_value,options:s}),_}return O(e.data)}get enum(){return this._def.values}}$e.create=(a,e)=>new $e({values:a,typeName:y.ZodNativeEnum,...v(e)});class ce extends g{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==u.promise&&t.common.async===!1)return p(t,{code:c.invalid_type,expected:u.promise,received:t.parsedType}),_;const n=t.parsedType===u.promise?t.data:Promise.resolve(t.data);return O(n.then(s=>this._def.type.parseAsync(s,{path:t.path,errorMap:t.common.contextualErrorMap})))}}ce.create=(a,e)=>new ce({type:a,typeName:y.ZodPromise,...v(e)});class R extends g{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===y.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e),s=this._def.effect||null,r={addIssue:i=>{p(n,i),i.fatal?t.abort():t.dirty()},get path(){return n.path}};if(r.addIssue=r.addIssue.bind(r),s.type==="preprocess"){const i=s.transform(n.data,r);return n.common.issues.length?{status:"dirty",value:n.data}:n.common.async?Promise.resolve(i).then(o=>this._def.schema._parseAsync({data:o,path:n.path,parent:n})):this._def.schema._parseSync({data:i,path:n.path,parent:n})}if(s.type==="refinement"){const i=o=>{const d=s.refinement(o,r);if(n.common.async)return Promise.resolve(d);if(d instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return o};if(n.common.async===!1){const o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return o.status==="aborted"?_:(o.status==="dirty"&&t.dirty(),i(o.value),{status:t.value,value:o.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>o.status==="aborted"?_:(o.status==="dirty"&&t.dirty(),i(o.value).then(()=>({status:t.value,value:o.value}))))}if(s.type==="transform")if(n.common.async===!1){const i=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!ge(i))return i;const o=s.transform(i.value,r);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(i=>ge(i)?Promise.resolve(s.transform(i.value,r)).then(o=>({status:t.value,value:o})):i);w.assertNever(s)}}R.create=(a,e,t)=>new R({schema:a,typeName:y.ZodEffects,effect:e,...v(t)});R.createWithPreprocess=(a,e,t)=>new R({schema:e,effect:{type:"preprocess",transform:a},typeName:y.ZodEffects,...v(t)});class U extends g{_parse(e){return this._getType(e)===u.undefined?O(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}U.create=(a,e)=>new U({innerType:a,typeName:y.ZodOptional,...v(e)});class ne extends g{_parse(e){return this._getType(e)===u.null?O(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ne.create=(a,e)=>new ne({innerType:a,typeName:y.ZodNullable,...v(e)});class Ce extends g{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;return t.parsedType===u.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}Ce.create=(a,e)=>new Ce({innerType:a,typeName:y.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...v(e)});class De extends g{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},s=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return Fe(s)?s.then(r=>({status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new M(n.common.issues)},input:n.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new M(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}De.create=(a,e)=>new De({innerType:a,typeName:y.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...v(e)});class qe extends g{_parse(e){if(this._getType(e)!==u.nan){const t=this._getOrReturnCtx(e);return p(t,{code:c.invalid_type,expected:u.nan,received:t.parsedType}),_}return{status:"valid",value:e.data}}}qe.create=a=>new qe({typeName:y.ZodNaN,...v(a)});const tn=Symbol("zod_brand");class Ut extends g{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class Ve extends g{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?_:s.status==="dirty"?(t.dirty(),qt(s.value)):this._def.out._parseAsync({data:s.value,path:n.path,parent:n})})();{const s=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?_:s.status==="dirty"?(t.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:n.path,parent:n})}}static create(e,t){return new Ve({in:e,out:t,typeName:y.ZodPipeline})}}class ze extends g{_parse(e){const t=this._def.innerType._parse(e);return ge(t)&&(t.value=Object.freeze(t.value)),t}}ze.create=(a,e)=>new ze({innerType:a,typeName:y.ZodReadonly,...v(e)});const Ht=(a,e={},t)=>a?de.create().superRefine((n,s)=>{var r,i;if(!a(n)){const o=typeof e=="function"?e(n):typeof e=="string"?{message:e}:e,d=(i=(r=o.fatal)!==null&&r!==void 0?r:t)!==null&&i!==void 0?i:!0,l=typeof o=="string"?{message:o}:o;s.addIssue({code:"custom",...l,fatal:d})}}):de.create(),an={object:Z.lazycreate};var y;(function(a){a.ZodString="ZodString",a.ZodNumber="ZodNumber",a.ZodNaN="ZodNaN",a.ZodBigInt="ZodBigInt",a.ZodBoolean="ZodBoolean",a.ZodDate="ZodDate",a.ZodSymbol="ZodSymbol",a.ZodUndefined="ZodUndefined",a.ZodNull="ZodNull",a.ZodAny="ZodAny",a.ZodUnknown="ZodUnknown",a.ZodNever="ZodNever",a.ZodVoid="ZodVoid",a.ZodArray="ZodArray",a.ZodObject="ZodObject",a.ZodUnion="ZodUnion",a.ZodDiscriminatedUnion="ZodDiscriminatedUnion",a.ZodIntersection="ZodIntersection",a.ZodTuple="ZodTuple",a.ZodRecord="ZodRecord",a.ZodMap="ZodMap",a.ZodSet="ZodSet",a.ZodFunction="ZodFunction",a.ZodLazy="ZodLazy",a.ZodLiteral="ZodLiteral",a.ZodEnum="ZodEnum",a.ZodEffects="ZodEffects",a.ZodNativeEnum="ZodNativeEnum",a.ZodOptional="ZodOptional",a.ZodNullable="ZodNullable",a.ZodDefault="ZodDefault",a.ZodCatch="ZodCatch",a.ZodPromise="ZodPromise",a.ZodBranded="ZodBranded",a.ZodPipeline="ZodPipeline",a.ZodReadonly="ZodReadonly"})(y||(y={}));const nn=(a,e={message:`Input not instance of ${a.name}`})=>Ht(t=>t instanceof a,e),Kt=A.create,Wt=W.create,sn=qe.create,rn=J.create,Jt=be.create,on=te.create,ln=Re.create,dn=xe.create,cn=ke.create,un=de.create,pn=X.create,mn=H.create,hn=Be.create,fn=F.create,yn=Z.create,_n=Z.strictCreate,vn=we.create,gn=Ue.create,bn=Te.create,xn=z.create,kn=Ne.create,wn=Le.create,Tn=ae.create,Nn=oe.create,Zn=Ze.create,Sn=Se.create,$n=G.create,Cn=$e.create,In=ce.create,It=R.create,Vn=U.create,jn=ne.create,On=R.createWithPreprocess,Pn=Ve.create,An=()=>Kt().optional(),En=()=>Wt().optional(),Mn=()=>Jt().optional(),Fn={string:a=>A.create({...a,coerce:!0}),number:a=>W.create({...a,coerce:!0}),boolean:a=>be.create({...a,coerce:!0}),bigint:a=>J.create({...a,coerce:!0}),date:a=>te.create({...a,coerce:!0})},Rn=_;var C=Object.freeze({__proto__:null,defaultErrorMap:ve,setErrorMap:Da,getErrorMap:Ee,makeIssue:Me,EMPTY_PATH:qa,addIssueToContext:p,ParseStatus:V,INVALID:_,DIRTY:qt,OK:O,isAborted:Ye,isDirty:Xe,isValid:ge,isAsync:Fe,get util(){return w},get objectUtil(){return Ge},ZodParsedType:u,getParsedType:K,ZodType:g,ZodString:A,ZodNumber:W,ZodBigInt:J,ZodBoolean:be,ZodDate:te,ZodSymbol:Re,ZodUndefined:xe,ZodNull:ke,ZodAny:de,ZodUnknown:X,ZodNever:H,ZodVoid:Be,ZodArray:F,ZodObject:Z,ZodUnion:we,ZodDiscriminatedUnion:Ue,ZodIntersection:Te,ZodTuple:z,ZodRecord:Ne,ZodMap:Le,ZodSet:ae,ZodFunction:oe,ZodLazy:Ze,ZodLiteral:Se,ZodEnum:G,ZodNativeEnum:$e,ZodPromise:ce,ZodEffects:R,ZodTransformer:R,ZodOptional:U,ZodNullable:ne,ZodDefault:Ce,ZodCatch:De,ZodNaN:qe,BRAND:tn,ZodBranded:Ut,ZodPipeline:Ve,ZodReadonly:ze,custom:Ht,Schema:g,ZodSchema:g,late:an,get ZodFirstPartyTypeKind(){return y},coerce:Fn,any:un,array:fn,bigint:rn,boolean:Jt,date:on,discriminatedUnion:gn,effect:It,enum:$n,function:Nn,instanceof:nn,intersection:bn,lazy:Zn,literal:Sn,map:wn,nan:sn,nativeEnum:Cn,never:mn,null:cn,nullable:jn,number:Wt,object:yn,oboolean:Mn,onumber:En,optional:Vn,ostring:An,pipeline:Pn,preprocess:On,promise:In,record:kn,set:Tn,strictObject:_n,string:Kt,symbol:ln,transformer:It,tuple:xn,undefined:dn,union:vn,unknown:pn,void:hn,NEVER:Rn,ZodIssueCode:c,quotelessJson:La,ZodError:M});const b=(a,e={})=>a.describe(he.toString(e,a.description)),T={number:C.preprocess(a=>Number(a),C.number()).describe(he.toString({label:"Номер",type:"number",component:"ui-field-number"})),string:C.string().trim().describe(he.toString({label:"Строка",type:"string",component:"ui-field-text"})),date:C.preprocess(a=>new Date(String(a)),C.date()).describe(he.toString({label:"Дата",type:"date",component:"ui-field-date"})),boolean:C.preprocess(a=>String(a)==="true",C.boolean()).describe(he.toString({label:"Логическое значение",type:"boolean",component:"ui-field-checkbox"}))},Y=C.object({...T,_id:b(T.string.regex(Ma,"Не валидный ID"),{label:"ID"}),dateCreate:b(T.date,{label:"Дата создания"}),dateUpdate:b(T.date,{label:"Дата изменения"}),name:b(T.string,{label:"Название"}),title:b(T.string,{label:"Заголовок"}),comment:b(C.string().trim().min(2).max(1e3),{label:"Комментарий",component:"ui-field-text-area"}),description:b(C.string().trim().min(2).max(1e3),{label:"Описание",component:"ui-field-text-area"}),text:b(C.string().trim().min(2).max(3e3),{label:"Текст",component:"ui-field-text-area"}),login:b(T.string,{label:"Логин"}),email:b(T.string.email(),{label:"Email"}),password:b(T.string.min(6),{label:"Пароль",component:"ui-field-password"}),price:b(C.preprocess(a=>Number(a),C.number().nonnegative()),{label:"Стоимость"}),alias:b(T.string.toLowerCase().regex(/^[a-z-]+$/,'Только латиница и тире "-"'),{label:"Псевдоним"}),published:b(T.boolean,{label:"Опубликован(а)"}),active:b(T.boolean,{label:"Активный(ная)"}),enabled:b(T.boolean,{label:"Включен(а)"}),disabled:b(T.boolean,{label:"Отключен(а)"}),open:b(T.boolean,{label:"Открыт(а)"}),close:b(T.boolean,{label:"Закрыто"}),closed:b(T.boolean,{label:"Закрыт(а)"}),online:b(T.boolean,{label:"Онлайн"}),firstName:b(T.string.regex(He,"Только кириллица"),{label:"Имя"}),middleName:b(T.string.regex(He,"Только кириллица"),{label:"Отчество"}),lastName:b(T.string.regex(He,"Только кириллица"),{label:"Фамилия"}),birthday:b(T.date,{label:"Дата рождения"}),phone:b(C.preprocess(a=>et(a)||0,T.number).refine(a=>Fa(a),{message:"Не вервый формат номера телефона"}),{label:"Телефон",component:"ui-field-phone"}),gender:b(C.enum([_e.man,_e.woman]),{label:"Пол",component:"ui-field-select-gender"}),year:b(T.number,{label:"Год"}),days:b(T.number.array(),{label:"Дни недели",component:"ui-picker-days"}),q:b(C.preprocess(a=>String(a).replace(Ea,""),T.string),{label:"Поиск",component:"ui-field-search"}),page:b(C.preprocess(a=>Math.abs(Number(a)),T.number),{label:"Страница"}),limit:b(C.preprocess(a=>Math.abs(Number(a)),T.number),{label:"Лимит"})}),Bn=Y.pick({page:!0,limit:!0}).extend({total:b(Y.shape.number,{label:"Общее кол-во"}),skip:b(Y.shape.number,{label:"Пропустить"}),pages:b(Y.shape.number,{label:"Кол-во всех страниц"})}).describe("Данные пагинации"),Ln=Bn.pick({page:!0,limit:!0}).partial().describe("Параметры разбиения на страницы"),je={page:1,limit:10,maxLimit:100};var fe;const Dn=class Gt{constructor(e={},t){Oa(this,fe,void 0),j(this,"page",je.page),j(this,"limit",je.limit),j(this,"skip",0),j(this,"total",0),j(this,"pages",0),Pa(this,fe,this.parseArg(t,je.maxLimit)),this.set(e)}static parseArg(e,t){return Math.abs(typeof e=="string"?Number.parseInt(e)||t:e||t)}parseArg(e,t){return Gt.parseArg(e,t)}set(e={}){let t=!1;if(e.page&&e.page!==this.page&&(this.page=this.parseArg(e.page,je.page),t=!0),e.limit&&e.limit!==this.limit&&(this.limit=this.parseArg(e.limit,this.limit),t=!0),this.limit>$t(this,fe)&&(this.limit=$t(this,fe)),e.total&&e.total!==this.total&&(this.total=Math.abs(e.total),this.pages=Math.ceil(this.total/this.limit)),t){let n=0;try{n=(this.page-1)*this.limit}catch{}this.skip=n>0?n:0}return this}toObject(){return{page:this.page,limit:this.limit,total:this.total,skip:this.skip,pages:this.pages}}getQuery(){return{page:this.page,limit:this.limit}}};fe=new WeakMap;let Vt=Dn;Y.pick({q:!0}).extend(Ln.shape).extend({sort:b(T.string.min(1).max(64),{label:"Сортировка"})}).partial().describe("Параметры базового запроса");const qn=S({__name:"FieldPhone",props:{label:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},description:{},type:{},modelValue:{},placeholder:{}},emits:["input","update:model-value","update:error"],setup(a,{emit:e}){const t=a,n=L({get:()=>{if(t.modelValue)return Ra(t.modelValue)},set:s=>{e("update:error"),e("update:model-value",et(s))}});return(s,r)=>(h(),$(me,Ie({...t,...s.$attrs},{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=i=>n.value=i)}),null,16,["modelValue"]))}});qn.__docgenInfo={exportName:"default",displayName:"FieldPhone",description:"",tags:{},sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/FieldPhone.vue"]};const zn=S({__name:"FieldDate",props:{label:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},description:{},type:{},modelValue:{},placeholder:{}},emits:["input","update:model-value","update:error"],setup(a,{emit:e}){const t=a,n=L({get:()=>{try{const s=Y.shape.date.parse(t.modelValue);return Ba(s)}catch{}},set:s=>{e("update:error");try{const r=Y.shape.date.parse(s);e("update:model-value",r)}catch{}}});return(s,r)=>(h(),$(me,Ie({...t,...s.$attrs},{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=i=>n.value=i),type:"date"}),null,16,["modelValue"]))}});zn.__docgenInfo={exportName:"default",displayName:"FieldDate",description:"",tags:{},sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/FieldDate.vue"]};const Un=["value","disabled"],Hn=S({__name:"FieldTextArea",props:{label:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},description:{},modelValue:{}},emits:["input","update:model-value","update:error"],setup(a,{emit:e}){const t=a,n=s=>{e("input",s),e("update:error"),s.target instanceof HTMLTextAreaElement&&e("update:model-value",s.target.value)};return(s,r)=>(h(),$(pe,{label:t.label,error:t.error,disabled:t.disabled,readonly:t.readonly,description:t.description,class:"ui-field-textarea"},{default:ue(()=>[I("textarea",{value:t.modelValue,disabled:t.disabled||t.readonly,onInput:n},null,40,Un)]),_:1},8,["label","error","disabled","readonly","description"]))}});Hn.__docgenInfo={exportName:"default",displayName:"FieldTextArea",description:"",tags:{},events:[{name:"input",type:{names:["Event"]}},{name:"update:model-value",type:{names:["union"],elements:[{name:"string"},{name:"number"},{name:"Date"}]}},{name:"update:error",type:{names:["string"]}}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/FieldTextArea.vue"]};const Kn=["multiple","disabled","accept"],Wn=S({__name:"FieldFile",props:{label:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},description:{},modelValue:{},multiple:{type:Boolean},accept:{}},emits:["input","update:model-value","update:error"],setup(a,{emit:e}){const t=a,n=s=>{e("input",s),e("update:error"),s.target instanceof HTMLInputElement&&s.target.files?e("update:model-value",s.target.files):e("update:model-value")};return(s,r)=>(h(),$(pe,{label:t.label,error:t.error,disabled:t.disabled,readonly:t.readonly,description:t.description},{default:ue(()=>[I("input",{type:"file",multiple:t.multiple,disabled:t.disabled||t.readonly,accept:t.accept,onInput:n},null,40,Kn)]),_:1},8,["label","error","disabled","readonly","description"]))}});Wn.__docgenInfo={exportName:"default",displayName:"FieldFile",description:"",tags:{},events:[{name:"input",type:{names:["Event"]}},{name:"update:model-value",type:{names:["TModelValue"]}},{name:"update:error",type:{names:["string"]}}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/FieldFile.vue"]};const Jn=["checked","disabled"],Yt=S({__name:"FieldCheckbox",props:{label:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},description:{},modelValue:{type:Boolean}},emits:["input","update:model-value","update:error"],setup(a,{emit:e}){const t=a,n=s=>{e("input",s),e("update:error"),s.target instanceof HTMLInputElement&&e("update:model-value",!t.modelValue)};return(s,r)=>(h(),$(pe,{label:t.label,error:t.error,disabled:t.disabled,readonly:t.readonly,description:t.description,class:"ui-field-checkbox"},{default:ue(()=>[I("input",{type:"checkbox",checked:t.modelValue,disabled:t.disabled||t.readonly,onInput:n},null,40,Jn)]),_:1},8,["label","error","disabled","readonly","description"]))}});Yt.__docgenInfo={exportName:"default",displayName:"FieldCheckbox",description:"",tags:{},events:[{name:"input",type:{names:["Event"]}},{name:"update:model-value",type:{names:["boolean"]}},{name:"update:error",type:{names:["string"]}}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/FieldCheckbox.vue"]};const Gn=["value","multiple","disabled"],Yn=["value"],Xt=S({__name:"FieldSelect",props:{label:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},description:{},modelValue:{},options:{},multiple:{type:Boolean}},emits:["input","update:model-value","update:error"],setup(a,{emit:e}){const t=a,n=s=>{e("input",s),e("update:error"),s.target instanceof HTMLSelectElement?e("update:model-value",s.target.value):e("update:model-value")};return(s,r)=>(h(),$(pe,{label:t.label,error:t.error,disabled:t.disabled,readonly:t.readonly,description:t.description,class:"ui-field-select"},{default:ue(()=>[I("select",{value:t.modelValue,multiple:t.multiple,disabled:t.disabled||t.readonly,onInput:n},[(h(!0),x(re,null,ye(t.options,i=>(h(),x("option",{value:i.value},E(i.text),9,Yn))),256))],40,Gn)]),_:1},8,["label","error","disabled","readonly","description"]))}});Xt.__docgenInfo={exportName:"default",displayName:"FieldSelect",description:"",tags:{},events:[{name:"input",type:{names:["Event"]}},{name:"update:model-value",type:{names:["union"],elements:[{name:"string"},{name:"Array",elements:[{name:"string"}]},{name:"number"},{name:"Array",elements:[{name:"number"}]}]}},{name:"update:error",type:{names:["string"]}}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/FieldSelect.vue"]};const Xn=S({__name:"FieldSelectGender",setup(a){const e=[{text:"Мужской",value:_e.man},{text:"Женский",value:_e.woman}];return(t,n)=>(h(),$(Xt,{options:e}))}});Xn.__docgenInfo={exportName:"default",displayName:"FieldSelectGender",description:"",tags:{},sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/FieldSelectGender.vue"]};const Qn={class:"ui-picker ui-picker-days"},es={key:0,class:"label mb-2"},ts={class:"ui-picker-content flex items-center"},as={key:1,class:"mt-2 text-error"},ns=S({__name:"PickerDays",props:{modelValue:{},label:{},error:{},readonly:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue"],setup(a,{emit:e}){const t=a,n=["Пн","Вт","Ср","Чт","Пт","Сб","Вс"],s=r=>{const i=r+1;let o=t.modelValue||[];o.includes(i)?o=o.filter(d=>d!==i):o.push(i),e("update:modelValue",o.sort())};return(r,i)=>(h(),x("div",Qn,[t.label?(h(),x("div",es,[I("span",null,E(t.label)+":",1)])):N("",!0),I("div",ts,[(h(),x(re,null,ye(n,(o,d)=>{var l;return le(Yt,{class:"mr-4",modelValue:(l=t.modelValue)==null?void 0:l.includes(d+1),label:o,disabled:t.disabled,readonly:t.readonly,onInput:m=>s(d)},null,8,["modelValue","label","disabled","readonly","onInput"])}),64))]),r.error?(h(),x("div",as,E(r.error),1)):N("",!0)]))}});ns.__docgenInfo={exportName:"default",displayName:"PickerDays",description:"",tags:{},props:[{name:"modelValue",required:!1,type:{name:"Array",elements:[{name:"number"}]}},{name:"label",required:!1,type:{name:"string"}},{name:"error",required:!1,type:{name:"string"}},{name:"readonly",required:!1,type:{name:"boolean"}},{name:"disabled",required:!1,type:{name:"boolean"}}],events:[{name:"update:modelValue",type:{names:["Array"],elements:[{name:"number"}]}}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/PickerDays.vue"]};var Qt=(a=>(a.primary="primary",a.accent="accent",a.info="info",a.success="success",a.warning="warning",a.error="error",a.dark="dark",a.light="light",a))(Qt||{});const ea=Object.keys(Qt),ss=["onSubmit"],rs={key:0,class:"ui-form-header"},is={class:"ui-form-title"},os={key:1,class:"ui-form-messages"},ls={class:"ui-form-body"},ds={key:2,class:"ui-form-actions"},cs=S({__name:"Form",props:{modelValue:{},title:{},noTitle:{type:Boolean},messages:{},noActions:{type:Boolean},disabled:{type:Boolean},load:{type:Boolean},showAll:{type:Boolean},fn:{type:Function}},emits:["submit","failedValid","update:load","fnCompleted"],setup(a,{emit:e}){const t=a,n=L(()=>t.modelValue?t.showAll?t.modelValue.ctrls:t.modelValue.ctrls.filter(l=>!l.hidden):[]),s=L(()=>{var l;if(!t.noTitle)return t.title||((l=t.modelValue)==null?void 0:l.title)}),r=We(!1);Je(r,l=>e("update:load",l));const i=We(t.messages||[]);Je(()=>t.messages,l=>i.value=l||[]);const o=async()=>{if(t.modelValue)if(t.modelValue.isValid()){if(e("submit",t.modelValue),t.fn){r.value=!0,i.value=[];try{const l=await t.fn(t.modelValue.obj);if(e("fnCompleted",l),l!=null&&l.errors&&Array.isArray(l.errors))for(const m of l.errors)m.code&&m.text&&(t.modelValue&&t.modelValue.ctrls.find(k=>k.key===m.code)?t.modelValue.setValidError(m.code,m.text):i.value.push({code:"error",text:m.text}))}catch(l){i.value.push({code:"error",text:l.message})}r.value=!1}}else e("failedValid",t.modelValue);else e("submit")},d=l=>ea.find(m=>m===l.code)??"error";return(l,m)=>(h(),x("form",{onSubmit:aa(o,["prevent"]),class:"ui-form"},[s.value?(h(),x("div",rs,[I("h3",is,E(s.value),1)])):N("",!0),i.value.length?(h(),x("div",os,[(h(!0),x(re,null,ye(i.value,k=>(h(),$(Bt,{value:k.text,color:d(k)},null,8,["value","color"]))),256))])):N("",!0),I("div",ls,[l.$slots.pre?D(l.$slots,"pre",{key:0}):N("",!0),l.$slots.default?D(l.$slots,"default",{key:1}):(h(),x(re,{key:2},[t.modelValue?(h(!0),x(re,{key:0},ye(n.value,k=>(h(),$(Ft(k.component),{label:k.label,modelValue:t.modelValue.obj[k.key],"onUpdate:modelValue":B=>t.modelValue.obj[k.key]=B,error:t.modelValue._errors[k.key],"onUpdate:error":B=>t.modelValue._errors[k.key]=B,readonly:k.readonly,disabled:r.value||t.load||t.disabled||k.disabled,description:k.description,class:Q("ui-field-key-"+k.key)},null,40,["label","modelValue","onUpdate:modelValue","error","onUpdate:error","readonly","disabled","description","class"]))),256)):N("",!0)],64)),l.$slots.post?D(l.$slots,"post",{key:3}):N("",!0)]),t.noActions?N("",!0):(h(),x("div",ds,[l.$slots.actions?D(l.$slots,"actions",{key:0}):(h(),$(ie,{key:1,label:"Отправить",type:"submit",color:"primary",disabled:r.value||t.disabled},null,8,["disabled"]))]))],40,ss))}});cs.__docgenInfo={exportName:"default",displayName:"Form",description:"",tags:{},props:[{name:"modelValue",required:!1,type:{name:"IFormModel",elements:[{name:"T"}]}},{name:"title",required:!1,type:{name:"string"}},{name:"noTitle",required:!1,type:{name:"boolean"}},{name:"messages",required:!1,type:{name:"Array",elements:[{name:"TNotificationItem"}]}},{name:"noActions",required:!1,type:{name:"boolean"}},{name:"disabled",required:!1,type:{name:"boolean"}},{name:"load",required:!1,type:{name:"boolean"}},{name:"showAll",required:!1,type:{name:"boolean"}},{name:"fn",required:!1,type:{name:"TSFunctionType"}}],events:[{name:"submit",type:{names:["IFormModel"],elements:[{name:"T"}]}},{name:"failedValid",type:{names:["IFormModel"],elements:[{name:"T"}]}},{name:"update:load",type:{names:["boolean"]}},{name:"fnCompleted",type:{names:["any"]}}],slots:[{name:"pre"},{name:"default"},{name:"post"},{name:"actions"}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/Form.vue"]};const us={key:0,class:"ui-pagination"},ps={class:"pages"},ms={key:0,class:"pages-first"},hs=I("span",{class:"page-separator"},"...",-1),fs={class:"pages-numbers"},ys={key:1,class:"pages-last"},_s=I("span",{class:"page-separator"},"...",-1),vs=S({__name:"Pagination",props:{modelValue:{default:new Vt().toObject()},length:{default:3}},emits:["update:model-value"],setup(a,{emit:e}){const t=a,n=L(()=>t.modelValue.page||1),s=L(()=>{let d=[];const l=t.length;for(let m=1;m(t.modelValue.pages||0))break;d.push({value:k})}return d}),r=d=>{const l=new Vt({...t.modelValue,page:d});e("update:model-value",l.toObject())},i=L(()=>n.value-t.length>0),o=L(()=>t.modelValue.pages&&n.value+t.lengtht.modelValue.pages?(h(),x("div",us,[I("div",ps,[i.value?(h(),x("div",ms,[le(ie,{label:"1",class:"page-item",onClick:l[0]||(l[0]=m=>r(1))}),hs])):N("",!0),I("div",fs,[(h(!0),x(re,null,ye(s.value,m=>(h(),$(ie,{label:m.value.toString(),class:Q({"page-item":!0,active:m.active}),disabled:m.active,onClick:k=>r(m.value)},null,8,["label","class","disabled","onClick"]))),256))]),o.value?(h(),x("div",ys,[_s,le(ie,{label:t.modelValue.pages.toString(),onClick:l[1]||(l[1]=m=>r(t.modelValue.pages)),class:"page-item"},null,8,["label"])])):N("",!0)])])):N("",!0)}});vs.__docgenInfo={exportName:"default",displayName:"Pagination",description:"",tags:{},props:[{name:"modelValue",required:!1,type:{name:"TPagination"},defaultValue:{func:!1,value:"new Pagination().toObject()"}},{name:"length",required:!1,type:{name:"number"},defaultValue:{func:!1,value:"3"}}],events:[{name:"update:model-value",type:{names:["TPagination"]}}],sourceFiles:["/home/antoxa/Projects/my/axp/ui/src/components/Pagination.vue"]};const gs=Object.keys(Rt),xs={title:"Example/Button",component:ie,tags:["autodocs"],argTypes:{label:{control:"text"},type:{control:"select",options:["button","submit"]},color:{control:"select",options:ea},icon:{control:"select",options:gs},disabled:{control:"boolean"},onClick:{action:"clicked"}},args:{}},Oe={args:{label:"Button"}},Pe={args:{label:"Accent",color:"accent"}};var jt,Ot,Pt;Oe.parameters={...Oe.parameters,docs:{...(jt=Oe.parameters)==null?void 0:jt.docs,source:{originalSource:`{ + args: { + label: 'Button' + } +}`,...(Pt=(Ot=Oe.parameters)==null?void 0:Ot.docs)==null?void 0:Pt.source}}};var At,Et,Mt;Pe.parameters={...Pe.parameters,docs:{...(At=Pe.parameters)==null?void 0:At.docs,source:{originalSource:`{ + args: { + label: 'Accent', + color: 'accent' + } +}`,...(Mt=(Et=Pe.parameters)==null?void 0:Et.docs)==null?void 0:Mt.source}}};const ks=["Default","Accent"];export{Pe as Accent,Oe as Default,ks as __namedExportsOrder,xs as default}; +//# sourceMappingURL=Button.stories-b27145d2.js.map diff --git a/docs/assets/Button.stories-b27145d2.js.map b/docs/assets/Button.stories-b27145d2.js.map new file mode 100644 index 0000000..36d312b --- /dev/null +++ b/docs/assets/Button.stories-b27145d2.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Button.stories-b27145d2.js","sources":["../../src/icons.ts","../../src/components/Icon.vue","../../src/components/Btn.vue","../../src/components/Dialog.vue","../../src/components/ToggleTheme.vue","../../src/components/FieldInput.vue","../../node_modules/axp-ts/dist/index.mjs","../../src/components/FieldPhone.vue","../../src/components/FieldDate.vue","../../src/components/FieldTextArea.vue","../../src/components/FieldFile.vue","../../src/components/FieldCheckbox.vue","../../src/components/FieldSelect.vue","../../src/components/FieldSelectGender.vue","../../src/components/PickerDays.vue","../../src/colors.ts","../../src/components/Form.vue","../../src/components/Pagination.vue"],"sourcesContent":["export const icons = {\n\taccount: `\n\t\t\t\n\t\t\t\n\t\t`,\n\tdoc: `\n\t\t\t\n\t\t`,\n\tvk: `\n\t\t\t\n\t\t`,\n\tyoutube: `\n\t\t\t\n\t\t\t\n\t\t`,\n\tvideo: `\n\t\t\t\n\t\t\t\n\t\t`,\n\tyandex: `\n\t\t\t\n\t\t`,\n\tmenu: `\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t`,\n\tclose: `\n\t\t\t\n\t\t\t\n\t\t`,\n\t'arrow-down': `\n\t\t\t\n\t\t\t\n\t\t`,\n\tcar: `\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t`,\n\treview: `\n\t\t\t\n\t\t`,\n\tphone: `\n\t\t\t\n\t\t`,\n\tcircle: `\n\t\t\t\n\t\t`,\n\tdzen: `\n\t\t\t\n\t\t`,\n\tinstagram: `\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t`,\n\tmoon: `\n\t\t\t\n\t\t`,\n\tsun: `\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t`,\n\tedit: `\n \t\n\t`,\n\tvisibility: `\n\t\t\n\t\t\n\t`,\n\tvisibility_off: `\n \t\n\t`\n}\n\nexport type TIcon = keyof typeof icons\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","var wt = Object.defineProperty;\nvar Tt = (s, e, t) => e in s ? wt(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;\nvar b = (s, e, t) => (Tt(s, typeof e != \"symbol\" ? e + \"\" : e, t), t), ot = (s, e, t) => {\n if (!e.has(s))\n throw TypeError(\"Cannot \" + t);\n};\nvar Ze = (s, e, t) => (ot(s, e, \"read from private field\"), t ? t.call(s) : e.get(s)), ct = (s, e, t) => {\n if (e.has(s))\n throw TypeError(\"Cannot add the same private member more than once\");\n e instanceof WeakSet ? e.add(s) : e.set(s, t);\n}, dt = (s, e, t, r) => (ot(s, e, \"write to private field\"), r ? r.call(s, t) : e.set(s, t), t);\nconst ht = (s) => {\n for (let e = 0; e < s.length; e++) {\n const t = s[e], r = s[e + 1];\n if (r) {\n const n = Object.keys(t), a = Object.keys(r);\n if (n.length !== a.length)\n return !1;\n for (const i of n)\n if (typeof t[i] != \"object\") {\n if (t[i] !== r[i])\n return !1;\n } else if (!ht([t[i], r[i]]))\n return !1;\n }\n }\n return !0;\n};\nclass Is {\n constructor(e) {\n b(this, \"code\");\n b(this, \"text\");\n this.text = e.text, this.code = e.code || \"info\";\n }\n}\nvar pe = /* @__PURE__ */ ((s) => (s.man = \"man\", s.woman = \"woman\", s))(pe || {});\nconst St = Object.keys(pe), Rs = (s) => {\n try {\n return St.includes(String(s));\n } catch {\n return !1;\n }\n}, Ne = /^[А-яЁё]+$/, Zt = /^[9]\\d{9}$/, Nt = /[\\'\\\"\\+\\(\\)]/g, Ot = /^[a-f\\d]{24}$/i, ft = (s) => {\n if (s && (typeof s == \"number\" && (s = s.toString()), typeof s == \"string\"))\n try {\n return s = s.replace(/\\D/g, \"\").replace(/^[78]/, \"\").substring(0, 10), Number(s) || void 0;\n } catch {\n }\n}, Ct = (s) => {\n if (!s)\n return !1;\n const e = s.toString();\n return !(e.length !== 10 || e.match(Zt) === null);\n}, As = (s, e = \"+7 \") => {\n var n;\n let t = e;\n const r = (n = ft(s)) == null ? void 0 : n.toString().substring(0, 10);\n if (r)\n for (let a = 0; a < r.length; a++) {\n switch (a) {\n case 0:\n t += \"(\";\n break;\n case 3:\n t += \") \";\n break;\n case 6:\n t += \"-\";\n break;\n case 8:\n t += \"-\";\n break;\n }\n t += r[a];\n }\n return t;\n}, Ms = (s = \"\") => s[0] ? s[0].toUpperCase() + s.substring(1) : \"\", Ps = (s) => typeof s == \"string\" && s.match(/^[a-f\\d]{24}$/i), Ds = (s) => {\n try {\n if (s) {\n const e = new Date(s), t = e.toLocaleDateString(\"ru-RU\", { day: \"2-digit\" }), r = e.toLocaleDateString(\"ru-RU\", { month: \"2-digit\" });\n return `${e.toLocaleDateString(\"ru-RU\", { year: \"numeric\" })}-${r}-${t}`;\n }\n } catch {\n }\n return \"\";\n};\nclass J {\n constructor(e, t) {\n b(this, \"key\");\n b(this, \"type\");\n b(this, \"label\");\n b(this, \"component\");\n b(this, \"hidden\");\n b(this, \"description\");\n b(this, \"readonly\");\n b(this, \"multiple\");\n b(this, \"disabled\");\n b(this, \"cssClass\");\n var n, a, i, o, h, d, _, Z, Se, q, Ae, Me, Pe, De, $e, Ve, Le, Ue, ze, Be, qe, We, Je, Qe, Ye, Ge, He, Xe, Ke, Fe, et, tt, st, rt, nt, at, it;\n let r = {};\n try {\n t.description ? r = JSON.parse(t.description) : r = JSON.parse(((i = (a = (n = t == null ? void 0 : t._def) == null ? void 0 : n.innerType) == null ? void 0 : a._def) == null ? void 0 : i.description) || \"{}\");\n } catch {\n r = { label: t.description || \"Unknown\" };\n }\n switch (this.key = r.key || e.key || \"unknown\", this.label = r.label || e.label || \"Label\", this.type = r.type || e.type, !this.type && t && ((q = (Se = (Z = (_ = (d = (h = (o = t == null ? void 0 : t._def) == null ? void 0 : o.innerType) == null ? void 0 : h._def) == null ? void 0 : d.innerType) == null ? void 0 : _._def) == null ? void 0 : Z.schema) == null ? void 0 : Se._def) != null && q.typeName && (this.type = (Le = (Ve = ($e = (De = (Pe = (Me = (Ae = t == null ? void 0 : t._def) == null ? void 0 : Ae.innerType) == null ? void 0 : Me._def) == null ? void 0 : Pe.innerType) == null ? void 0 : De._def) == null ? void 0 : $e.schema) == null ? void 0 : Ve._def) == null ? void 0 : Le.typeName), (We = (qe = (Be = (ze = (Ue = t._def) == null ? void 0 : Ue.innerType) == null ? void 0 : ze._def) == null ? void 0 : Be.innerType) == null ? void 0 : qe._def) != null && We.typeName && (this.type = (Ye = (Qe = (Je = t == null ? void 0 : t._def) == null ? void 0 : Je.innerType) == null ? void 0 : Qe._def) == null ? void 0 : Ye.innerType._def.typeName), (Ke = (Xe = (He = (Ge = t._def.innerType) == null ? void 0 : Ge._def) == null ? void 0 : He.schema) == null ? void 0 : Xe._def) != null && Ke.typeName && (this.type = (st = (tt = (et = (Fe = t._def.innerType) == null ? void 0 : Fe._def) == null ? void 0 : et.schema) == null ? void 0 : tt._def) == null ? void 0 : st.typeName), (nt = (rt = t._def.innerType) == null ? void 0 : rt._def) != null && nt.typeName && (this.type = t._def.innerType._def.typeName), (it = (at = t._def.schema) == null ? void 0 : at._def) != null && it.typeName && (this.type = t._def.schema._def.typeName), this.type || (this.type = t._def.typeName)), this.type) {\n case \"ZodString\":\n this.type = \"string\";\n break;\n case \"ZodNumber\":\n this.type = \"number\";\n break;\n case \"ZodBoolean\":\n this.type = \"boolean\";\n break;\n case \"ZodArray\":\n this.type = \"array\";\n break;\n case \"ZodDate\":\n this.type = \"date\";\n break;\n }\n if (this.component = r.component || e.component, !this.component)\n switch (this.type) {\n case \"string\":\n this.component = \"ui-field-text\";\n break;\n case \"number\":\n this.component = \"ui-field-number\";\n break;\n case \"boolean\":\n this.component = \"ui-field-checkbox\";\n break;\n case \"date\":\n this.component = \"ui-field-date\";\n break;\n default:\n this.component = \"ui-field\";\n }\n this.hidden = r.hidden || e.hidden, this.description = r.description || e.description, this.readonly = r.readonly || e.readonly, this.multiple = r.multiple || e.multiple, this.disabled = r.disabled || e.disabled, this.cssClass = r.cssClass || e.cssClass;\n }\n static toString(e, t) {\n let r = \"\";\n try {\n if (t) {\n const n = JSON.parse(t);\n e = Object.assign(n, e);\n }\n r = JSON.stringify(e);\n } catch {\n }\n return r;\n }\n}\nvar x;\n(function(s) {\n s.assertEqual = (n) => n;\n function e(n) {\n }\n s.assertIs = e;\n function t(n) {\n throw new Error();\n }\n s.assertNever = t, s.arrayToEnum = (n) => {\n const a = {};\n for (const i of n)\n a[i] = i;\n return a;\n }, s.getValidEnumValues = (n) => {\n const a = s.objectKeys(n).filter((o) => typeof n[n[o]] != \"number\"), i = {};\n for (const o of a)\n i[o] = n[o];\n return s.objectValues(i);\n }, s.objectValues = (n) => s.objectKeys(n).map(function(a) {\n return n[a];\n }), s.objectKeys = typeof Object.keys == \"function\" ? (n) => Object.keys(n) : (n) => {\n const a = [];\n for (const i in n)\n Object.prototype.hasOwnProperty.call(n, i) && a.push(i);\n return a;\n }, s.find = (n, a) => {\n for (const i of n)\n if (a(i))\n return i;\n }, s.isInteger = typeof Number.isInteger == \"function\" ? (n) => Number.isInteger(n) : (n) => typeof n == \"number\" && isFinite(n) && Math.floor(n) === n;\n function r(n, a = \" | \") {\n return n.map((i) => typeof i == \"string\" ? `'${i}'` : i).join(a);\n }\n s.joinValues = r, s.jsonStringifyReplacer = (n, a) => typeof a == \"bigint\" ? a.toString() : a;\n})(x || (x = {}));\nvar Ce;\n(function(s) {\n s.mergeShapes = (e, t) => ({\n ...e,\n ...t\n // second overwrites first\n });\n})(Ce || (Ce = {}));\nconst l = x.arrayToEnum([\n \"string\",\n \"nan\",\n \"number\",\n \"integer\",\n \"float\",\n \"boolean\",\n \"date\",\n \"bigint\",\n \"symbol\",\n \"function\",\n \"undefined\",\n \"null\",\n \"array\",\n \"object\",\n \"unknown\",\n \"promise\",\n \"void\",\n \"never\",\n \"map\",\n \"set\"\n]), P = (s) => {\n switch (typeof s) {\n case \"undefined\":\n return l.undefined;\n case \"string\":\n return l.string;\n case \"number\":\n return isNaN(s) ? l.nan : l.number;\n case \"boolean\":\n return l.boolean;\n case \"function\":\n return l.function;\n case \"bigint\":\n return l.bigint;\n case \"symbol\":\n return l.symbol;\n case \"object\":\n return Array.isArray(s) ? l.array : s === null ? l.null : s.then && typeof s.then == \"function\" && s.catch && typeof s.catch == \"function\" ? l.promise : typeof Map < \"u\" && s instanceof Map ? l.map : typeof Set < \"u\" && s instanceof Set ? l.set : typeof Date < \"u\" && s instanceof Date ? l.date : l.object;\n default:\n return l.unknown;\n }\n}, c = x.arrayToEnum([\n \"invalid_type\",\n \"invalid_literal\",\n \"custom\",\n \"invalid_union\",\n \"invalid_union_discriminator\",\n \"invalid_enum_value\",\n \"unrecognized_keys\",\n \"invalid_arguments\",\n \"invalid_return_type\",\n \"invalid_date\",\n \"invalid_string\",\n \"too_small\",\n \"too_big\",\n \"invalid_intersection_types\",\n \"not_multiple_of\",\n \"not_finite\"\n]), Et = (s) => JSON.stringify(s, null, 2).replace(/\"([^\"]+)\":/g, \"$1:\");\nclass C extends Error {\n constructor(e) {\n super(), this.issues = [], this.addIssue = (r) => {\n this.issues = [...this.issues, r];\n }, this.addIssues = (r = []) => {\n this.issues = [...this.issues, ...r];\n };\n const t = new.target.prototype;\n Object.setPrototypeOf ? Object.setPrototypeOf(this, t) : this.__proto__ = t, this.name = \"ZodError\", this.issues = e;\n }\n get errors() {\n return this.issues;\n }\n format(e) {\n const t = e || function(a) {\n return a.message;\n }, r = { _errors: [] }, n = (a) => {\n for (const i of a.issues)\n if (i.code === \"invalid_union\")\n i.unionErrors.map(n);\n else if (i.code === \"invalid_return_type\")\n n(i.returnTypeError);\n else if (i.code === \"invalid_arguments\")\n n(i.argumentsError);\n else if (i.path.length === 0)\n r._errors.push(t(i));\n else {\n let o = r, h = 0;\n for (; h < i.path.length; ) {\n const d = i.path[h];\n h === i.path.length - 1 ? (o[d] = o[d] || { _errors: [] }, o[d]._errors.push(t(i))) : o[d] = o[d] || { _errors: [] }, o = o[d], h++;\n }\n }\n };\n return n(this), r;\n }\n toString() {\n return this.message;\n }\n get message() {\n return JSON.stringify(this.issues, x.jsonStringifyReplacer, 2);\n }\n get isEmpty() {\n return this.issues.length === 0;\n }\n flatten(e = (t) => t.message) {\n const t = {}, r = [];\n for (const n of this.issues)\n n.path.length > 0 ? (t[n.path[0]] = t[n.path[0]] || [], t[n.path[0]].push(e(n))) : r.push(e(n));\n return { formErrors: r, fieldErrors: t };\n }\n get formErrors() {\n return this.flatten();\n }\n}\nC.create = (s) => new C(s);\nconst K = (s, e) => {\n let t;\n switch (s.code) {\n case c.invalid_type:\n s.received === l.undefined ? t = \"Required\" : t = `Expected ${s.expected}, received ${s.received}`;\n break;\n case c.invalid_literal:\n t = `Invalid literal value, expected ${JSON.stringify(s.expected, x.jsonStringifyReplacer)}`;\n break;\n case c.unrecognized_keys:\n t = `Unrecognized key(s) in object: ${x.joinValues(s.keys, \", \")}`;\n break;\n case c.invalid_union:\n t = \"Invalid input\";\n break;\n case c.invalid_union_discriminator:\n t = `Invalid discriminator value. Expected ${x.joinValues(s.options)}`;\n break;\n case c.invalid_enum_value:\n t = `Invalid enum value. Expected ${x.joinValues(s.options)}, received '${s.received}'`;\n break;\n case c.invalid_arguments:\n t = \"Invalid function arguments\";\n break;\n case c.invalid_return_type:\n t = \"Invalid function return type\";\n break;\n case c.invalid_date:\n t = \"Invalid date\";\n break;\n case c.invalid_string:\n typeof s.validation == \"object\" ? \"includes\" in s.validation ? (t = `Invalid input: must include \"${s.validation.includes}\"`, typeof s.validation.position == \"number\" && (t = `${t} at one or more positions greater than or equal to ${s.validation.position}`)) : \"startsWith\" in s.validation ? t = `Invalid input: must start with \"${s.validation.startsWith}\"` : \"endsWith\" in s.validation ? t = `Invalid input: must end with \"${s.validation.endsWith}\"` : x.assertNever(s.validation) : s.validation !== \"regex\" ? t = `Invalid ${s.validation}` : t = \"Invalid\";\n break;\n case c.too_small:\n s.type === \"array\" ? t = `Array must contain ${s.exact ? \"exactly\" : s.inclusive ? \"at least\" : \"more than\"} ${s.minimum} element(s)` : s.type === \"string\" ? t = `String must contain ${s.exact ? \"exactly\" : s.inclusive ? \"at least\" : \"over\"} ${s.minimum} character(s)` : s.type === \"number\" ? t = `Number must be ${s.exact ? \"exactly equal to \" : s.inclusive ? \"greater than or equal to \" : \"greater than \"}${s.minimum}` : s.type === \"date\" ? t = `Date must be ${s.exact ? \"exactly equal to \" : s.inclusive ? \"greater than or equal to \" : \"greater than \"}${new Date(Number(s.minimum))}` : t = \"Invalid input\";\n break;\n case c.too_big:\n s.type === \"array\" ? t = `Array must contain ${s.exact ? \"exactly\" : s.inclusive ? \"at most\" : \"less than\"} ${s.maximum} element(s)` : s.type === \"string\" ? t = `String must contain ${s.exact ? \"exactly\" : s.inclusive ? \"at most\" : \"under\"} ${s.maximum} character(s)` : s.type === \"number\" ? t = `Number must be ${s.exact ? \"exactly\" : s.inclusive ? \"less than or equal to\" : \"less than\"} ${s.maximum}` : s.type === \"bigint\" ? t = `BigInt must be ${s.exact ? \"exactly\" : s.inclusive ? \"less than or equal to\" : \"less than\"} ${s.maximum}` : s.type === \"date\" ? t = `Date must be ${s.exact ? \"exactly\" : s.inclusive ? \"smaller than or equal to\" : \"smaller than\"} ${new Date(Number(s.maximum))}` : t = \"Invalid input\";\n break;\n case c.custom:\n t = \"Invalid input\";\n break;\n case c.invalid_intersection_types:\n t = \"Intersection results could not be merged\";\n break;\n case c.not_multiple_of:\n t = `Number must be a multiple of ${s.multipleOf}`;\n break;\n case c.not_finite:\n t = \"Number must be finite\";\n break;\n default:\n t = e.defaultError, x.assertNever(s);\n }\n return { message: t };\n};\nlet pt = K;\nfunction jt(s) {\n pt = s;\n}\nfunction me() {\n return pt;\n}\nconst ye = (s) => {\n const { data: e, path: t, errorMaps: r, issueData: n } = s, a = [...t, ...n.path || []], i = {\n ...n,\n path: a\n };\n let o = \"\";\n const h = r.filter((d) => !!d).slice().reverse();\n for (const d of h)\n o = d(i, { data: e, defaultError: o }).message;\n return {\n ...n,\n path: a,\n message: n.message || o\n };\n}, It = [];\nfunction u(s, e) {\n const t = ye({\n issueData: e,\n data: s.data,\n path: s.path,\n errorMaps: [\n s.common.contextualErrorMap,\n s.schemaErrorMap,\n me(),\n K\n // then global default map\n ].filter((r) => !!r)\n });\n s.common.issues.push(t);\n}\nclass S {\n constructor() {\n this.value = \"valid\";\n }\n dirty() {\n this.value === \"valid\" && (this.value = \"dirty\");\n }\n abort() {\n this.value !== \"aborted\" && (this.value = \"aborted\");\n }\n static mergeArray(e, t) {\n const r = [];\n for (const n of t) {\n if (n.status === \"aborted\")\n return m;\n n.status === \"dirty\" && e.dirty(), r.push(n.value);\n }\n return { status: e.value, value: r };\n }\n static async mergeObjectAsync(e, t) {\n const r = [];\n for (const n of t)\n r.push({\n key: await n.key,\n value: await n.value\n });\n return S.mergeObjectSync(e, r);\n }\n static mergeObjectSync(e, t) {\n const r = {};\n for (const n of t) {\n const { key: a, value: i } = n;\n if (a.status === \"aborted\" || i.status === \"aborted\")\n return m;\n a.status === \"dirty\" && e.dirty(), i.status === \"dirty\" && e.dirty(), a.value !== \"__proto__\" && (typeof i.value < \"u\" || n.alwaysSet) && (r[a.value] = i.value);\n }\n return { status: e.value, value: r };\n }\n}\nconst m = Object.freeze({\n status: \"aborted\"\n}), mt = (s) => ({ status: \"dirty\", value: s }), N = (s) => ({ status: \"valid\", value: s }), Ee = (s) => s.status === \"aborted\", je = (s) => s.status === \"dirty\", F = (s) => s.status === \"valid\", ge = (s) => typeof Promise < \"u\" && s instanceof Promise;\nvar f;\n(function(s) {\n s.errToObj = (e) => typeof e == \"string\" ? { message: e } : e || {}, s.toString = (e) => typeof e == \"string\" ? e : e == null ? void 0 : e.message;\n})(f || (f = {}));\nclass I {\n constructor(e, t, r, n) {\n this._cachedPath = [], this.parent = e, this.data = t, this._path = r, this._key = n;\n }\n get path() {\n return this._cachedPath.length || (this._key instanceof Array ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;\n }\n}\nconst lt = (s, e) => {\n if (F(e))\n return { success: !0, data: e.value };\n if (!s.common.issues.length)\n throw new Error(\"Validation failed but no issues detected.\");\n return {\n success: !1,\n get error() {\n if (this._error)\n return this._error;\n const t = new C(s.common.issues);\n return this._error = t, this._error;\n }\n };\n};\nfunction y(s) {\n if (!s)\n return {};\n const { errorMap: e, invalid_type_error: t, required_error: r, description: n } = s;\n if (e && (t || r))\n throw new Error(`Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.`);\n return e ? { errorMap: e, description: n } : { errorMap: (i, o) => i.code !== \"invalid_type\" ? { message: o.defaultError } : typeof o.data > \"u\" ? { message: r ?? o.defaultError } : { message: t ?? o.defaultError }, description: n };\n}\nclass g {\n constructor(e) {\n this.spa = this.safeParseAsync, this._def = e, this.parse = this.parse.bind(this), this.safeParse = this.safeParse.bind(this), this.parseAsync = this.parseAsync.bind(this), this.safeParseAsync = this.safeParseAsync.bind(this), this.spa = this.spa.bind(this), this.refine = this.refine.bind(this), this.refinement = this.refinement.bind(this), this.superRefine = this.superRefine.bind(this), this.optional = this.optional.bind(this), this.nullable = this.nullable.bind(this), this.nullish = this.nullish.bind(this), this.array = this.array.bind(this), this.promise = this.promise.bind(this), this.or = this.or.bind(this), this.and = this.and.bind(this), this.transform = this.transform.bind(this), this.brand = this.brand.bind(this), this.default = this.default.bind(this), this.catch = this.catch.bind(this), this.describe = this.describe.bind(this), this.pipe = this.pipe.bind(this), this.readonly = this.readonly.bind(this), this.isNullable = this.isNullable.bind(this), this.isOptional = this.isOptional.bind(this);\n }\n get description() {\n return this._def.description;\n }\n _getType(e) {\n return P(e.data);\n }\n _getOrReturnCtx(e, t) {\n return t || {\n common: e.parent.common,\n data: e.data,\n parsedType: P(e.data),\n schemaErrorMap: this._def.errorMap,\n path: e.path,\n parent: e.parent\n };\n }\n _processInputParams(e) {\n return {\n status: new S(),\n ctx: {\n common: e.parent.common,\n data: e.data,\n parsedType: P(e.data),\n schemaErrorMap: this._def.errorMap,\n path: e.path,\n parent: e.parent\n }\n };\n }\n _parseSync(e) {\n const t = this._parse(e);\n if (ge(t))\n throw new Error(\"Synchronous parse encountered promise.\");\n return t;\n }\n _parseAsync(e) {\n const t = this._parse(e);\n return Promise.resolve(t);\n }\n parse(e, t) {\n const r = this.safeParse(e, t);\n if (r.success)\n return r.data;\n throw r.error;\n }\n safeParse(e, t) {\n var r;\n const n = {\n common: {\n issues: [],\n async: (r = t == null ? void 0 : t.async) !== null && r !== void 0 ? r : !1,\n contextualErrorMap: t == null ? void 0 : t.errorMap\n },\n path: (t == null ? void 0 : t.path) || [],\n schemaErrorMap: this._def.errorMap,\n parent: null,\n data: e,\n parsedType: P(e)\n }, a = this._parseSync({ data: e, path: n.path, parent: n });\n return lt(n, a);\n }\n async parseAsync(e, t) {\n const r = await this.safeParseAsync(e, t);\n if (r.success)\n return r.data;\n throw r.error;\n }\n async safeParseAsync(e, t) {\n const r = {\n common: {\n issues: [],\n contextualErrorMap: t == null ? void 0 : t.errorMap,\n async: !0\n },\n path: (t == null ? void 0 : t.path) || [],\n schemaErrorMap: this._def.errorMap,\n parent: null,\n data: e,\n parsedType: P(e)\n }, n = this._parse({ data: e, path: r.path, parent: r }), a = await (ge(n) ? n : Promise.resolve(n));\n return lt(r, a);\n }\n refine(e, t) {\n const r = (n) => typeof t == \"string\" || typeof t > \"u\" ? { message: t } : typeof t == \"function\" ? t(n) : t;\n return this._refinement((n, a) => {\n const i = e(n), o = () => a.addIssue({\n code: c.custom,\n ...r(n)\n });\n return typeof Promise < \"u\" && i instanceof Promise ? i.then((h) => h ? !0 : (o(), !1)) : i ? !0 : (o(), !1);\n });\n }\n refinement(e, t) {\n return this._refinement((r, n) => e(r) ? !0 : (n.addIssue(typeof t == \"function\" ? t(r, n) : t), !1));\n }\n _refinement(e) {\n return new j({\n schema: this,\n typeName: p.ZodEffects,\n effect: { type: \"refinement\", refinement: e }\n });\n }\n superRefine(e) {\n return this._refinement(e);\n }\n optional() {\n return A.create(this, this._def);\n }\n nullable() {\n return B.create(this, this._def);\n }\n nullish() {\n return this.nullable().optional();\n }\n array() {\n return E.create(this, this._def);\n }\n promise() {\n return H.create(this, this._def);\n }\n or(e) {\n return re.create([this, e], this._def);\n }\n and(e) {\n return ne.create(this, e, this._def);\n }\n transform(e) {\n return new j({\n ...y(this._def),\n schema: this,\n typeName: p.ZodEffects,\n effect: { type: \"transform\", transform: e }\n });\n }\n default(e) {\n const t = typeof e == \"function\" ? e : () => e;\n return new de({\n ...y(this._def),\n innerType: this,\n defaultValue: t,\n typeName: p.ZodDefault\n });\n }\n brand() {\n return new gt({\n typeName: p.ZodBranded,\n type: this,\n ...y(this._def)\n });\n }\n catch(e) {\n const t = typeof e == \"function\" ? e : () => e;\n return new xe({\n ...y(this._def),\n innerType: this,\n catchValue: t,\n typeName: p.ZodCatch\n });\n }\n describe(e) {\n const t = this.constructor;\n return new t({\n ...this._def,\n description: e\n });\n }\n pipe(e) {\n return ue.create(this, e);\n }\n readonly() {\n return we.create(this);\n }\n isOptional() {\n return this.safeParse(void 0).success;\n }\n isNullable() {\n return this.safeParse(null).success;\n }\n}\nconst Rt = /^c[^\\s-]{8,}$/i, At = /^[a-z][a-z0-9]*$/, Mt = /^[0-9A-HJKMNP-TV-Z]{26}$/, Pt = /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/i, Dt = /^(?!\\.)(?!.*\\.\\.)([A-Z0-9_+-\\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\\-]*\\.)+[A-Z]{2,}$/i, $t = \"^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$\";\nlet Oe;\nconst Vt = /^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/, Lt = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/, Ut = (s) => s.precision ? s.offset ? new RegExp(`^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}\\\\.\\\\d{${s.precision}}(([+-]\\\\d{2}(:?\\\\d{2})?)|Z)$`) : new RegExp(`^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}\\\\.\\\\d{${s.precision}}Z$`) : s.precision === 0 ? s.offset ? new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(([+-]\\\\d{2}(:?\\\\d{2})?)|Z)$\") : new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}Z$\") : s.offset ? new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(\\\\.\\\\d+)?(([+-]\\\\d{2}(:?\\\\d{2})?)|Z)$\") : new RegExp(\"^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}:\\\\d{2}:\\\\d{2}(\\\\.\\\\d+)?Z$\");\nfunction zt(s, e) {\n return !!((e === \"v4\" || !e) && Vt.test(s) || (e === \"v6\" || !e) && Lt.test(s));\n}\nclass O extends g {\n _parse(e) {\n if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== l.string) {\n const a = this._getOrReturnCtx(e);\n return u(\n a,\n {\n code: c.invalid_type,\n expected: l.string,\n received: a.parsedType\n }\n //\n ), m;\n }\n const r = new S();\n let n;\n for (const a of this._def.checks)\n if (a.kind === \"min\")\n e.data.length < a.value && (n = this._getOrReturnCtx(e, n), u(n, {\n code: c.too_small,\n minimum: a.value,\n type: \"string\",\n inclusive: !0,\n exact: !1,\n message: a.message\n }), r.dirty());\n else if (a.kind === \"max\")\n e.data.length > a.value && (n = this._getOrReturnCtx(e, n), u(n, {\n code: c.too_big,\n maximum: a.value,\n type: \"string\",\n inclusive: !0,\n exact: !1,\n message: a.message\n }), r.dirty());\n else if (a.kind === \"length\") {\n const i = e.data.length > a.value, o = e.data.length < a.value;\n (i || o) && (n = this._getOrReturnCtx(e, n), i ? u(n, {\n code: c.too_big,\n maximum: a.value,\n type: \"string\",\n inclusive: !0,\n exact: !0,\n message: a.message\n }) : o && u(n, {\n code: c.too_small,\n minimum: a.value,\n type: \"string\",\n inclusive: !0,\n exact: !0,\n message: a.message\n }), r.dirty());\n } else if (a.kind === \"email\")\n Dt.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {\n validation: \"email\",\n code: c.invalid_string,\n message: a.message\n }), r.dirty());\n else if (a.kind === \"emoji\")\n Oe || (Oe = new RegExp($t, \"u\")), Oe.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {\n validation: \"emoji\",\n code: c.invalid_string,\n message: a.message\n }), r.dirty());\n else if (a.kind === \"uuid\")\n Pt.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {\n validation: \"uuid\",\n code: c.invalid_string,\n message: a.message\n }), r.dirty());\n else if (a.kind === \"cuid\")\n Rt.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {\n validation: \"cuid\",\n code: c.invalid_string,\n message: a.message\n }), r.dirty());\n else if (a.kind === \"cuid2\")\n At.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {\n validation: \"cuid2\",\n code: c.invalid_string,\n message: a.message\n }), r.dirty());\n else if (a.kind === \"ulid\")\n Mt.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {\n validation: \"ulid\",\n code: c.invalid_string,\n message: a.message\n }), r.dirty());\n else if (a.kind === \"url\")\n try {\n new URL(e.data);\n } catch {\n n = this._getOrReturnCtx(e, n), u(n, {\n validation: \"url\",\n code: c.invalid_string,\n message: a.message\n }), r.dirty();\n }\n else\n a.kind === \"regex\" ? (a.regex.lastIndex = 0, a.regex.test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {\n validation: \"regex\",\n code: c.invalid_string,\n message: a.message\n }), r.dirty())) : a.kind === \"trim\" ? e.data = e.data.trim() : a.kind === \"includes\" ? e.data.includes(a.value, a.position) || (n = this._getOrReturnCtx(e, n), u(n, {\n code: c.invalid_string,\n validation: { includes: a.value, position: a.position },\n message: a.message\n }), r.dirty()) : a.kind === \"toLowerCase\" ? e.data = e.data.toLowerCase() : a.kind === \"toUpperCase\" ? e.data = e.data.toUpperCase() : a.kind === \"startsWith\" ? e.data.startsWith(a.value) || (n = this._getOrReturnCtx(e, n), u(n, {\n code: c.invalid_string,\n validation: { startsWith: a.value },\n message: a.message\n }), r.dirty()) : a.kind === \"endsWith\" ? e.data.endsWith(a.value) || (n = this._getOrReturnCtx(e, n), u(n, {\n code: c.invalid_string,\n validation: { endsWith: a.value },\n message: a.message\n }), r.dirty()) : a.kind === \"datetime\" ? Ut(a).test(e.data) || (n = this._getOrReturnCtx(e, n), u(n, {\n code: c.invalid_string,\n validation: \"datetime\",\n message: a.message\n }), r.dirty()) : a.kind === \"ip\" ? zt(e.data, a.version) || (n = this._getOrReturnCtx(e, n), u(n, {\n validation: \"ip\",\n code: c.invalid_string,\n message: a.message\n }), r.dirty()) : x.assertNever(a);\n return { status: r.value, value: e.data };\n }\n _regex(e, t, r) {\n return this.refinement((n) => e.test(n), {\n validation: t,\n code: c.invalid_string,\n ...f.errToObj(r)\n });\n }\n _addCheck(e) {\n return new O({\n ...this._def,\n checks: [...this._def.checks, e]\n });\n }\n email(e) {\n return this._addCheck({ kind: \"email\", ...f.errToObj(e) });\n }\n url(e) {\n return this._addCheck({ kind: \"url\", ...f.errToObj(e) });\n }\n emoji(e) {\n return this._addCheck({ kind: \"emoji\", ...f.errToObj(e) });\n }\n uuid(e) {\n return this._addCheck({ kind: \"uuid\", ...f.errToObj(e) });\n }\n cuid(e) {\n return this._addCheck({ kind: \"cuid\", ...f.errToObj(e) });\n }\n cuid2(e) {\n return this._addCheck({ kind: \"cuid2\", ...f.errToObj(e) });\n }\n ulid(e) {\n return this._addCheck({ kind: \"ulid\", ...f.errToObj(e) });\n }\n ip(e) {\n return this._addCheck({ kind: \"ip\", ...f.errToObj(e) });\n }\n datetime(e) {\n var t;\n return typeof e == \"string\" ? this._addCheck({\n kind: \"datetime\",\n precision: null,\n offset: !1,\n message: e\n }) : this._addCheck({\n kind: \"datetime\",\n precision: typeof (e == null ? void 0 : e.precision) > \"u\" ? null : e == null ? void 0 : e.precision,\n offset: (t = e == null ? void 0 : e.offset) !== null && t !== void 0 ? t : !1,\n ...f.errToObj(e == null ? void 0 : e.message)\n });\n }\n regex(e, t) {\n return this._addCheck({\n kind: \"regex\",\n regex: e,\n ...f.errToObj(t)\n });\n }\n includes(e, t) {\n return this._addCheck({\n kind: \"includes\",\n value: e,\n position: t == null ? void 0 : t.position,\n ...f.errToObj(t == null ? void 0 : t.message)\n });\n }\n startsWith(e, t) {\n return this._addCheck({\n kind: \"startsWith\",\n value: e,\n ...f.errToObj(t)\n });\n }\n endsWith(e, t) {\n return this._addCheck({\n kind: \"endsWith\",\n value: e,\n ...f.errToObj(t)\n });\n }\n min(e, t) {\n return this._addCheck({\n kind: \"min\",\n value: e,\n ...f.errToObj(t)\n });\n }\n max(e, t) {\n return this._addCheck({\n kind: \"max\",\n value: e,\n ...f.errToObj(t)\n });\n }\n length(e, t) {\n return this._addCheck({\n kind: \"length\",\n value: e,\n ...f.errToObj(t)\n });\n }\n /**\n * @deprecated Use z.string().min(1) instead.\n * @see {@link ZodString.min}\n */\n nonempty(e) {\n return this.min(1, f.errToObj(e));\n }\n trim() {\n return new O({\n ...this._def,\n checks: [...this._def.checks, { kind: \"trim\" }]\n });\n }\n toLowerCase() {\n return new O({\n ...this._def,\n checks: [...this._def.checks, { kind: \"toLowerCase\" }]\n });\n }\n toUpperCase() {\n return new O({\n ...this._def,\n checks: [...this._def.checks, { kind: \"toUpperCase\" }]\n });\n }\n get isDatetime() {\n return !!this._def.checks.find((e) => e.kind === \"datetime\");\n }\n get isEmail() {\n return !!this._def.checks.find((e) => e.kind === \"email\");\n }\n get isURL() {\n return !!this._def.checks.find((e) => e.kind === \"url\");\n }\n get isEmoji() {\n return !!this._def.checks.find((e) => e.kind === \"emoji\");\n }\n get isUUID() {\n return !!this._def.checks.find((e) => e.kind === \"uuid\");\n }\n get isCUID() {\n return !!this._def.checks.find((e) => e.kind === \"cuid\");\n }\n get isCUID2() {\n return !!this._def.checks.find((e) => e.kind === \"cuid2\");\n }\n get isULID() {\n return !!this._def.checks.find((e) => e.kind === \"ulid\");\n }\n get isIP() {\n return !!this._def.checks.find((e) => e.kind === \"ip\");\n }\n get minLength() {\n let e = null;\n for (const t of this._def.checks)\n t.kind === \"min\" && (e === null || t.value > e) && (e = t.value);\n return e;\n }\n get maxLength() {\n let e = null;\n for (const t of this._def.checks)\n t.kind === \"max\" && (e === null || t.value < e) && (e = t.value);\n return e;\n }\n}\nO.create = (s) => {\n var e;\n return new O({\n checks: [],\n typeName: p.ZodString,\n coerce: (e = s == null ? void 0 : s.coerce) !== null && e !== void 0 ? e : !1,\n ...y(s)\n });\n};\nfunction Bt(s, e) {\n const t = (s.toString().split(\".\")[1] || \"\").length, r = (e.toString().split(\".\")[1] || \"\").length, n = t > r ? t : r, a = parseInt(s.toFixed(n).replace(\".\", \"\")), i = parseInt(e.toFixed(n).replace(\".\", \"\"));\n return a % i / Math.pow(10, n);\n}\nclass D extends g {\n constructor() {\n super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;\n }\n _parse(e) {\n if (this._def.coerce && (e.data = Number(e.data)), this._getType(e) !== l.number) {\n const a = this._getOrReturnCtx(e);\n return u(a, {\n code: c.invalid_type,\n expected: l.number,\n received: a.parsedType\n }), m;\n }\n let r;\n const n = new S();\n for (const a of this._def.checks)\n a.kind === \"int\" ? x.isInteger(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {\n code: c.invalid_type,\n expected: \"integer\",\n received: \"float\",\n message: a.message\n }), n.dirty()) : a.kind === \"min\" ? (a.inclusive ? e.data < a.value : e.data <= a.value) && (r = this._getOrReturnCtx(e, r), u(r, {\n code: c.too_small,\n minimum: a.value,\n type: \"number\",\n inclusive: a.inclusive,\n exact: !1,\n message: a.message\n }), n.dirty()) : a.kind === \"max\" ? (a.inclusive ? e.data > a.value : e.data >= a.value) && (r = this._getOrReturnCtx(e, r), u(r, {\n code: c.too_big,\n maximum: a.value,\n type: \"number\",\n inclusive: a.inclusive,\n exact: !1,\n message: a.message\n }), n.dirty()) : a.kind === \"multipleOf\" ? Bt(e.data, a.value) !== 0 && (r = this._getOrReturnCtx(e, r), u(r, {\n code: c.not_multiple_of,\n multipleOf: a.value,\n message: a.message\n }), n.dirty()) : a.kind === \"finite\" ? Number.isFinite(e.data) || (r = this._getOrReturnCtx(e, r), u(r, {\n code: c.not_finite,\n message: a.message\n }), n.dirty()) : x.assertNever(a);\n return { status: n.value, value: e.data };\n }\n gte(e, t) {\n return this.setLimit(\"min\", e, !0, f.toString(t));\n }\n gt(e, t) {\n return this.setLimit(\"min\", e, !1, f.toString(t));\n }\n lte(e, t) {\n return this.setLimit(\"max\", e, !0, f.toString(t));\n }\n lt(e, t) {\n return this.setLimit(\"max\", e, !1, f.toString(t));\n }\n setLimit(e, t, r, n) {\n return new D({\n ...this._def,\n checks: [\n ...this._def.checks,\n {\n kind: e,\n value: t,\n inclusive: r,\n message: f.toString(n)\n }\n ]\n });\n }\n _addCheck(e) {\n return new D({\n ...this._def,\n checks: [...this._def.checks, e]\n });\n }\n int(e) {\n return this._addCheck({\n kind: \"int\",\n message: f.toString(e)\n });\n }\n positive(e) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: !1,\n message: f.toString(e)\n });\n }\n negative(e) {\n return this._addCheck({\n kind: \"max\",\n value: 0,\n inclusive: !1,\n message: f.toString(e)\n });\n }\n nonpositive(e) {\n return this._addCheck({\n kind: \"max\",\n value: 0,\n inclusive: !0,\n message: f.toString(e)\n });\n }\n nonnegative(e) {\n return this._addCheck({\n kind: \"min\",\n value: 0,\n inclusive: !0,\n message: f.toString(e)\n });\n }\n multipleOf(e, t) {\n return this._addCheck({\n kind: \"multipleOf\",\n value: e,\n message: f.toString(t)\n });\n }\n finite(e) {\n return this._addCheck({\n kind: \"finite\",\n message: f.toString(e)\n });\n }\n safe(e) {\n return this._addCheck({\n kind: \"min\",\n inclusive: !0,\n value: Number.MIN_SAFE_INTEGER,\n message: f.toString(e)\n })._addCheck({\n kind: \"max\",\n inclusive: !0,\n value: Number.MAX_SAFE_INTEGER,\n message: f.toString(e)\n });\n }\n get minValue() {\n let e = null;\n for (const t of this._def.checks)\n t.kind === \"min\" && (e === null || t.value > e) && (e = t.value);\n return e;\n }\n get maxValue() {\n let e = null;\n for (const t of this._def.checks)\n t.kind === \"max\" && (e === null || t.value < e) && (e = t.value);\n return e;\n }\n get isInt() {\n return !!this._def.checks.find((e) => e.kind === \"int\" || e.kind === \"multipleOf\" && x.isInteger(e.value));\n }\n get isFinite() {\n let e = null, t = null;\n for (const r of this._def.checks) {\n if (r.kind === \"finite\" || r.kind === \"int\" || r.kind === \"multipleOf\")\n return !0;\n r.kind === \"min\" ? (t === null || r.value > t) && (t = r.value) : r.kind === \"max\" && (e === null || r.value < e) && (e = r.value);\n }\n return Number.isFinite(t) && Number.isFinite(e);\n }\n}\nD.create = (s) => new D({\n checks: [],\n typeName: p.ZodNumber,\n coerce: (s == null ? void 0 : s.coerce) || !1,\n ...y(s)\n});\nclass $ extends g {\n constructor() {\n super(...arguments), this.min = this.gte, this.max = this.lte;\n }\n _parse(e) {\n if (this._def.coerce && (e.data = BigInt(e.data)), this._getType(e) !== l.bigint) {\n const a = this._getOrReturnCtx(e);\n return u(a, {\n code: c.invalid_type,\n expected: l.bigint,\n received: a.parsedType\n }), m;\n }\n let r;\n const n = new S();\n for (const a of this._def.checks)\n a.kind === \"min\" ? (a.inclusive ? e.data < a.value : e.data <= a.value) && (r = this._getOrReturnCtx(e, r), u(r, {\n code: c.too_small,\n type: \"bigint\",\n minimum: a.value,\n inclusive: a.inclusive,\n message: a.message\n }), n.dirty()) : a.kind === \"max\" ? (a.inclusive ? e.data > a.value : e.data >= a.value) && (r = this._getOrReturnCtx(e, r), u(r, {\n code: c.too_big,\n type: \"bigint\",\n maximum: a.value,\n inclusive: a.inclusive,\n message: a.message\n }), n.dirty()) : a.kind === \"multipleOf\" ? e.data % a.value !== BigInt(0) && (r = this._getOrReturnCtx(e, r), u(r, {\n code: c.not_multiple_of,\n multipleOf: a.value,\n message: a.message\n }), n.dirty()) : x.assertNever(a);\n return { status: n.value, value: e.data };\n }\n gte(e, t) {\n return this.setLimit(\"min\", e, !0, f.toString(t));\n }\n gt(e, t) {\n return this.setLimit(\"min\", e, !1, f.toString(t));\n }\n lte(e, t) {\n return this.setLimit(\"max\", e, !0, f.toString(t));\n }\n lt(e, t) {\n return this.setLimit(\"max\", e, !1, f.toString(t));\n }\n setLimit(e, t, r, n) {\n return new $({\n ...this._def,\n checks: [\n ...this._def.checks,\n {\n kind: e,\n value: t,\n inclusive: r,\n message: f.toString(n)\n }\n ]\n });\n }\n _addCheck(e) {\n return new $({\n ...this._def,\n checks: [...this._def.checks, e]\n });\n }\n positive(e) {\n return this._addCheck({\n kind: \"min\",\n value: BigInt(0),\n inclusive: !1,\n message: f.toString(e)\n });\n }\n negative(e) {\n return this._addCheck({\n kind: \"max\",\n value: BigInt(0),\n inclusive: !1,\n message: f.toString(e)\n });\n }\n nonpositive(e) {\n return this._addCheck({\n kind: \"max\",\n value: BigInt(0),\n inclusive: !0,\n message: f.toString(e)\n });\n }\n nonnegative(e) {\n return this._addCheck({\n kind: \"min\",\n value: BigInt(0),\n inclusive: !0,\n message: f.toString(e)\n });\n }\n multipleOf(e, t) {\n return this._addCheck({\n kind: \"multipleOf\",\n value: e,\n message: f.toString(t)\n });\n }\n get minValue() {\n let e = null;\n for (const t of this._def.checks)\n t.kind === \"min\" && (e === null || t.value > e) && (e = t.value);\n return e;\n }\n get maxValue() {\n let e = null;\n for (const t of this._def.checks)\n t.kind === \"max\" && (e === null || t.value < e) && (e = t.value);\n return e;\n }\n}\n$.create = (s) => {\n var e;\n return new $({\n checks: [],\n typeName: p.ZodBigInt,\n coerce: (e = s == null ? void 0 : s.coerce) !== null && e !== void 0 ? e : !1,\n ...y(s)\n });\n};\nclass ee extends g {\n _parse(e) {\n if (this._def.coerce && (e.data = !!e.data), this._getType(e) !== l.boolean) {\n const r = this._getOrReturnCtx(e);\n return u(r, {\n code: c.invalid_type,\n expected: l.boolean,\n received: r.parsedType\n }), m;\n }\n return N(e.data);\n }\n}\nee.create = (s) => new ee({\n typeName: p.ZodBoolean,\n coerce: (s == null ? void 0 : s.coerce) || !1,\n ...y(s)\n});\nclass U extends g {\n _parse(e) {\n if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== l.date) {\n const a = this._getOrReturnCtx(e);\n return u(a, {\n code: c.invalid_type,\n expected: l.date,\n received: a.parsedType\n }), m;\n }\n if (isNaN(e.data.getTime())) {\n const a = this._getOrReturnCtx(e);\n return u(a, {\n code: c.invalid_date\n }), m;\n }\n const r = new S();\n let n;\n for (const a of this._def.checks)\n a.kind === \"min\" ? e.data.getTime() < a.value && (n = this._getOrReturnCtx(e, n), u(n, {\n code: c.too_small,\n message: a.message,\n inclusive: !0,\n exact: !1,\n minimum: a.value,\n type: \"date\"\n }), r.dirty()) : a.kind === \"max\" ? e.data.getTime() > a.value && (n = this._getOrReturnCtx(e, n), u(n, {\n code: c.too_big,\n message: a.message,\n inclusive: !0,\n exact: !1,\n maximum: a.value,\n type: \"date\"\n }), r.dirty()) : x.assertNever(a);\n return {\n status: r.value,\n value: new Date(e.data.getTime())\n };\n }\n _addCheck(e) {\n return new U({\n ...this._def,\n checks: [...this._def.checks, e]\n });\n }\n min(e, t) {\n return this._addCheck({\n kind: \"min\",\n value: e.getTime(),\n message: f.toString(t)\n });\n }\n max(e, t) {\n return this._addCheck({\n kind: \"max\",\n value: e.getTime(),\n message: f.toString(t)\n });\n }\n get minDate() {\n let e = null;\n for (const t of this._def.checks)\n t.kind === \"min\" && (e === null || t.value > e) && (e = t.value);\n return e != null ? new Date(e) : null;\n }\n get maxDate() {\n let e = null;\n for (const t of this._def.checks)\n t.kind === \"max\" && (e === null || t.value < e) && (e = t.value);\n return e != null ? new Date(e) : null;\n }\n}\nU.create = (s) => new U({\n checks: [],\n coerce: (s == null ? void 0 : s.coerce) || !1,\n typeName: p.ZodDate,\n ...y(s)\n});\nclass _e extends g {\n _parse(e) {\n if (this._getType(e) !== l.symbol) {\n const r = this._getOrReturnCtx(e);\n return u(r, {\n code: c.invalid_type,\n expected: l.symbol,\n received: r.parsedType\n }), m;\n }\n return N(e.data);\n }\n}\n_e.create = (s) => new _e({\n typeName: p.ZodSymbol,\n ...y(s)\n});\nclass te extends g {\n _parse(e) {\n if (this._getType(e) !== l.undefined) {\n const r = this._getOrReturnCtx(e);\n return u(r, {\n code: c.invalid_type,\n expected: l.undefined,\n received: r.parsedType\n }), m;\n }\n return N(e.data);\n }\n}\nte.create = (s) => new te({\n typeName: p.ZodUndefined,\n ...y(s)\n});\nclass se extends g {\n _parse(e) {\n if (this._getType(e) !== l.null) {\n const r = this._getOrReturnCtx(e);\n return u(r, {\n code: c.invalid_type,\n expected: l.null,\n received: r.parsedType\n }), m;\n }\n return N(e.data);\n }\n}\nse.create = (s) => new se({\n typeName: p.ZodNull,\n ...y(s)\n});\nclass G extends g {\n constructor() {\n super(...arguments), this._any = !0;\n }\n _parse(e) {\n return N(e.data);\n }\n}\nG.create = (s) => new G({\n typeName: p.ZodAny,\n ...y(s)\n});\nclass L extends g {\n constructor() {\n super(...arguments), this._unknown = !0;\n }\n _parse(e) {\n return N(e.data);\n }\n}\nL.create = (s) => new L({\n typeName: p.ZodUnknown,\n ...y(s)\n});\nclass M extends g {\n _parse(e) {\n const t = this._getOrReturnCtx(e);\n return u(t, {\n code: c.invalid_type,\n expected: l.never,\n received: t.parsedType\n }), m;\n }\n}\nM.create = (s) => new M({\n typeName: p.ZodNever,\n ...y(s)\n});\nclass ve extends g {\n _parse(e) {\n if (this._getType(e) !== l.undefined) {\n const r = this._getOrReturnCtx(e);\n return u(r, {\n code: c.invalid_type,\n expected: l.void,\n received: r.parsedType\n }), m;\n }\n return N(e.data);\n }\n}\nve.create = (s) => new ve({\n typeName: p.ZodVoid,\n ...y(s)\n});\nclass E extends g {\n _parse(e) {\n const { ctx: t, status: r } = this._processInputParams(e), n = this._def;\n if (t.parsedType !== l.array)\n return u(t, {\n code: c.invalid_type,\n expected: l.array,\n received: t.parsedType\n }), m;\n if (n.exactLength !== null) {\n const i = t.data.length > n.exactLength.value, o = t.data.length < n.exactLength.value;\n (i || o) && (u(t, {\n code: i ? c.too_big : c.too_small,\n minimum: o ? n.exactLength.value : void 0,\n maximum: i ? n.exactLength.value : void 0,\n type: \"array\",\n inclusive: !0,\n exact: !0,\n message: n.exactLength.message\n }), r.dirty());\n }\n if (n.minLength !== null && t.data.length < n.minLength.value && (u(t, {\n code: c.too_small,\n minimum: n.minLength.value,\n type: \"array\",\n inclusive: !0,\n exact: !1,\n message: n.minLength.message\n }), r.dirty()), n.maxLength !== null && t.data.length > n.maxLength.value && (u(t, {\n code: c.too_big,\n maximum: n.maxLength.value,\n type: \"array\",\n inclusive: !0,\n exact: !1,\n message: n.maxLength.message\n }), r.dirty()), t.common.async)\n return Promise.all([...t.data].map((i, o) => n.type._parseAsync(new I(t, i, t.path, o)))).then((i) => S.mergeArray(r, i));\n const a = [...t.data].map((i, o) => n.type._parseSync(new I(t, i, t.path, o)));\n return S.mergeArray(r, a);\n }\n get element() {\n return this._def.type;\n }\n min(e, t) {\n return new E({\n ...this._def,\n minLength: { value: e, message: f.toString(t) }\n });\n }\n max(e, t) {\n return new E({\n ...this._def,\n maxLength: { value: e, message: f.toString(t) }\n });\n }\n length(e, t) {\n return new E({\n ...this._def,\n exactLength: { value: e, message: f.toString(t) }\n });\n }\n nonempty(e) {\n return this.min(1, e);\n }\n}\nE.create = (s, e) => new E({\n type: s,\n minLength: null,\n maxLength: null,\n exactLength: null,\n typeName: p.ZodArray,\n ...y(e)\n});\nfunction W(s) {\n if (s instanceof w) {\n const e = {};\n for (const t in s.shape) {\n const r = s.shape[t];\n e[t] = A.create(W(r));\n }\n return new w({\n ...s._def,\n shape: () => e\n });\n } else\n return s instanceof E ? new E({\n ...s._def,\n type: W(s.element)\n }) : s instanceof A ? A.create(W(s.unwrap())) : s instanceof B ? B.create(W(s.unwrap())) : s instanceof R ? R.create(s.items.map((e) => W(e))) : s;\n}\nclass w extends g {\n constructor() {\n super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = this.extend;\n }\n _getCached() {\n if (this._cached !== null)\n return this._cached;\n const e = this._def.shape(), t = x.objectKeys(e);\n return this._cached = { shape: e, keys: t };\n }\n _parse(e) {\n if (this._getType(e) !== l.object) {\n const d = this._getOrReturnCtx(e);\n return u(d, {\n code: c.invalid_type,\n expected: l.object,\n received: d.parsedType\n }), m;\n }\n const { status: r, ctx: n } = this._processInputParams(e), { shape: a, keys: i } = this._getCached(), o = [];\n if (!(this._def.catchall instanceof M && this._def.unknownKeys === \"strip\"))\n for (const d in n.data)\n i.includes(d) || o.push(d);\n const h = [];\n for (const d of i) {\n const _ = a[d], Z = n.data[d];\n h.push({\n key: { status: \"valid\", value: d },\n value: _._parse(new I(n, Z, n.path, d)),\n alwaysSet: d in n.data\n });\n }\n if (this._def.catchall instanceof M) {\n const d = this._def.unknownKeys;\n if (d === \"passthrough\")\n for (const _ of o)\n h.push({\n key: { status: \"valid\", value: _ },\n value: { status: \"valid\", value: n.data[_] }\n });\n else if (d === \"strict\")\n o.length > 0 && (u(n, {\n code: c.unrecognized_keys,\n keys: o\n }), r.dirty());\n else if (d !== \"strip\")\n throw new Error(\"Internal ZodObject error: invalid unknownKeys value.\");\n } else {\n const d = this._def.catchall;\n for (const _ of o) {\n const Z = n.data[_];\n h.push({\n key: { status: \"valid\", value: _ },\n value: d._parse(\n new I(n, Z, n.path, _)\n //, ctx.child(key), value, getParsedType(value)\n ),\n alwaysSet: _ in n.data\n });\n }\n }\n return n.common.async ? Promise.resolve().then(async () => {\n const d = [];\n for (const _ of h) {\n const Z = await _.key;\n d.push({\n key: Z,\n value: await _.value,\n alwaysSet: _.alwaysSet\n });\n }\n return d;\n }).then((d) => S.mergeObjectSync(r, d)) : S.mergeObjectSync(r, h);\n }\n get shape() {\n return this._def.shape();\n }\n strict(e) {\n return f.errToObj, new w({\n ...this._def,\n unknownKeys: \"strict\",\n ...e !== void 0 ? {\n errorMap: (t, r) => {\n var n, a, i, o;\n const h = (i = (a = (n = this._def).errorMap) === null || a === void 0 ? void 0 : a.call(n, t, r).message) !== null && i !== void 0 ? i : r.defaultError;\n return t.code === \"unrecognized_keys\" ? {\n message: (o = f.errToObj(e).message) !== null && o !== void 0 ? o : h\n } : {\n message: h\n };\n }\n } : {}\n });\n }\n strip() {\n return new w({\n ...this._def,\n unknownKeys: \"strip\"\n });\n }\n passthrough() {\n return new w({\n ...this._def,\n unknownKeys: \"passthrough\"\n });\n }\n // const AugmentFactory =\n // (def: Def) =>\n // (\n // augmentation: Augmentation\n // ): ZodObject<\n // extendShape, Augmentation>,\n // Def[\"unknownKeys\"],\n // Def[\"catchall\"]\n // > => {\n // return new ZodObject({\n // ...def,\n // shape: () => ({\n // ...def.shape(),\n // ...augmentation,\n // }),\n // }) as any;\n // };\n extend(e) {\n return new w({\n ...this._def,\n shape: () => ({\n ...this._def.shape(),\n ...e\n })\n });\n }\n /**\n * Prior to zod@1.0.12 there was a bug in the\n * inferred type of merged objects. Please\n * upgrade if you are experiencing issues.\n */\n merge(e) {\n return new w({\n unknownKeys: e._def.unknownKeys,\n catchall: e._def.catchall,\n shape: () => ({\n ...this._def.shape(),\n ...e._def.shape()\n }),\n typeName: p.ZodObject\n });\n }\n // merge<\n // Incoming extends AnyZodObject,\n // Augmentation extends Incoming[\"shape\"],\n // NewOutput extends {\n // [k in keyof Augmentation | keyof Output]: k extends keyof Augmentation\n // ? Augmentation[k][\"_output\"]\n // : k extends keyof Output\n // ? Output[k]\n // : never;\n // },\n // NewInput extends {\n // [k in keyof Augmentation | keyof Input]: k extends keyof Augmentation\n // ? Augmentation[k][\"_input\"]\n // : k extends keyof Input\n // ? Input[k]\n // : never;\n // }\n // >(\n // merging: Incoming\n // ): ZodObject<\n // extendShape>,\n // Incoming[\"_def\"][\"unknownKeys\"],\n // Incoming[\"_def\"][\"catchall\"],\n // NewOutput,\n // NewInput\n // > {\n // const merged: any = new ZodObject({\n // unknownKeys: merging._def.unknownKeys,\n // catchall: merging._def.catchall,\n // shape: () =>\n // objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),\n // typeName: ZodFirstPartyTypeKind.ZodObject,\n // }) as any;\n // return merged;\n // }\n setKey(e, t) {\n return this.augment({ [e]: t });\n }\n // merge(\n // merging: Incoming\n // ): //ZodObject = (merging) => {\n // ZodObject<\n // extendShape>,\n // Incoming[\"_def\"][\"unknownKeys\"],\n // Incoming[\"_def\"][\"catchall\"]\n // > {\n // // const mergedShape = objectUtil.mergeShapes(\n // // this._def.shape(),\n // // merging._def.shape()\n // // );\n // const merged: any = new ZodObject({\n // unknownKeys: merging._def.unknownKeys,\n // catchall: merging._def.catchall,\n // shape: () =>\n // objectUtil.mergeShapes(this._def.shape(), merging._def.shape()),\n // typeName: ZodFirstPartyTypeKind.ZodObject,\n // }) as any;\n // return merged;\n // }\n catchall(e) {\n return new w({\n ...this._def,\n catchall: e\n });\n }\n pick(e) {\n const t = {};\n return x.objectKeys(e).forEach((r) => {\n e[r] && this.shape[r] && (t[r] = this.shape[r]);\n }), new w({\n ...this._def,\n shape: () => t\n });\n }\n omit(e) {\n const t = {};\n return x.objectKeys(this.shape).forEach((r) => {\n e[r] || (t[r] = this.shape[r]);\n }), new w({\n ...this._def,\n shape: () => t\n });\n }\n /**\n * @deprecated\n */\n deepPartial() {\n return W(this);\n }\n partial(e) {\n const t = {};\n return x.objectKeys(this.shape).forEach((r) => {\n const n = this.shape[r];\n e && !e[r] ? t[r] = n : t[r] = n.optional();\n }), new w({\n ...this._def,\n shape: () => t\n });\n }\n required(e) {\n const t = {};\n return x.objectKeys(this.shape).forEach((r) => {\n if (e && !e[r])\n t[r] = this.shape[r];\n else {\n let a = this.shape[r];\n for (; a instanceof A; )\n a = a._def.innerType;\n t[r] = a;\n }\n }), new w({\n ...this._def,\n shape: () => t\n });\n }\n keyof() {\n return yt(x.objectKeys(this.shape));\n }\n}\nw.create = (s, e) => new w({\n shape: () => s,\n unknownKeys: \"strip\",\n catchall: M.create(),\n typeName: p.ZodObject,\n ...y(e)\n});\nw.strictCreate = (s, e) => new w({\n shape: () => s,\n unknownKeys: \"strict\",\n catchall: M.create(),\n typeName: p.ZodObject,\n ...y(e)\n});\nw.lazycreate = (s, e) => new w({\n shape: s,\n unknownKeys: \"strip\",\n catchall: M.create(),\n typeName: p.ZodObject,\n ...y(e)\n});\nclass re extends g {\n _parse(e) {\n const { ctx: t } = this._processInputParams(e), r = this._def.options;\n function n(a) {\n for (const o of a)\n if (o.result.status === \"valid\")\n return o.result;\n for (const o of a)\n if (o.result.status === \"dirty\")\n return t.common.issues.push(...o.ctx.common.issues), o.result;\n const i = a.map((o) => new C(o.ctx.common.issues));\n return u(t, {\n code: c.invalid_union,\n unionErrors: i\n }), m;\n }\n if (t.common.async)\n return Promise.all(r.map(async (a) => {\n const i = {\n ...t,\n common: {\n ...t.common,\n issues: []\n },\n parent: null\n };\n return {\n result: await a._parseAsync({\n data: t.data,\n path: t.path,\n parent: i\n }),\n ctx: i\n };\n })).then(n);\n {\n let a;\n const i = [];\n for (const h of r) {\n const d = {\n ...t,\n common: {\n ...t.common,\n issues: []\n },\n parent: null\n }, _ = h._parseSync({\n data: t.data,\n path: t.path,\n parent: d\n });\n if (_.status === \"valid\")\n return _;\n _.status === \"dirty\" && !a && (a = { result: _, ctx: d }), d.common.issues.length && i.push(d.common.issues);\n }\n if (a)\n return t.common.issues.push(...a.ctx.common.issues), a.result;\n const o = i.map((h) => new C(h));\n return u(t, {\n code: c.invalid_union,\n unionErrors: o\n }), m;\n }\n }\n get options() {\n return this._def.options;\n }\n}\nre.create = (s, e) => new re({\n options: s,\n typeName: p.ZodUnion,\n ...y(e)\n});\nconst fe = (s) => s instanceof ie ? fe(s.schema) : s instanceof j ? fe(s.innerType()) : s instanceof oe ? [s.value] : s instanceof V ? s.options : s instanceof ce ? Object.keys(s.enum) : s instanceof de ? fe(s._def.innerType) : s instanceof te ? [void 0] : s instanceof se ? [null] : null;\nclass Te extends g {\n _parse(e) {\n const { ctx: t } = this._processInputParams(e);\n if (t.parsedType !== l.object)\n return u(t, {\n code: c.invalid_type,\n expected: l.object,\n received: t.parsedType\n }), m;\n const r = this.discriminator, n = t.data[r], a = this.optionsMap.get(n);\n return a ? t.common.async ? a._parseAsync({\n data: t.data,\n path: t.path,\n parent: t\n }) : a._parseSync({\n data: t.data,\n path: t.path,\n parent: t\n }) : (u(t, {\n code: c.invalid_union_discriminator,\n options: Array.from(this.optionsMap.keys()),\n path: [r]\n }), m);\n }\n get discriminator() {\n return this._def.discriminator;\n }\n get options() {\n return this._def.options;\n }\n get optionsMap() {\n return this._def.optionsMap;\n }\n /**\n * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.\n * However, it only allows a union of objects, all of which need to share a discriminator property. This property must\n * have a different value for each object in the union.\n * @param discriminator the name of the discriminator property\n * @param types an array of object schemas\n * @param params\n */\n static create(e, t, r) {\n const n = /* @__PURE__ */ new Map();\n for (const a of t) {\n const i = fe(a.shape[e]);\n if (!i)\n throw new Error(`A discriminator value for key \\`${e}\\` could not be extracted from all schema options`);\n for (const o of i) {\n if (n.has(o))\n throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);\n n.set(o, a);\n }\n }\n return new Te({\n typeName: p.ZodDiscriminatedUnion,\n discriminator: e,\n options: t,\n optionsMap: n,\n ...y(r)\n });\n }\n}\nfunction Ie(s, e) {\n const t = P(s), r = P(e);\n if (s === e)\n return { valid: !0, data: s };\n if (t === l.object && r === l.object) {\n const n = x.objectKeys(e), a = x.objectKeys(s).filter((o) => n.indexOf(o) !== -1), i = { ...s, ...e };\n for (const o of a) {\n const h = Ie(s[o], e[o]);\n if (!h.valid)\n return { valid: !1 };\n i[o] = h.data;\n }\n return { valid: !0, data: i };\n } else if (t === l.array && r === l.array) {\n if (s.length !== e.length)\n return { valid: !1 };\n const n = [];\n for (let a = 0; a < s.length; a++) {\n const i = s[a], o = e[a], h = Ie(i, o);\n if (!h.valid)\n return { valid: !1 };\n n.push(h.data);\n }\n return { valid: !0, data: n };\n } else\n return t === l.date && r === l.date && +s == +e ? { valid: !0, data: s } : { valid: !1 };\n}\nclass ne extends g {\n _parse(e) {\n const { status: t, ctx: r } = this._processInputParams(e), n = (a, i) => {\n if (Ee(a) || Ee(i))\n return m;\n const o = Ie(a.value, i.value);\n return o.valid ? ((je(a) || je(i)) && t.dirty(), { status: t.value, value: o.data }) : (u(r, {\n code: c.invalid_intersection_types\n }), m);\n };\n return r.common.async ? Promise.all([\n this._def.left._parseAsync({\n data: r.data,\n path: r.path,\n parent: r\n }),\n this._def.right._parseAsync({\n data: r.data,\n path: r.path,\n parent: r\n })\n ]).then(([a, i]) => n(a, i)) : n(this._def.left._parseSync({\n data: r.data,\n path: r.path,\n parent: r\n }), this._def.right._parseSync({\n data: r.data,\n path: r.path,\n parent: r\n }));\n }\n}\nne.create = (s, e, t) => new ne({\n left: s,\n right: e,\n typeName: p.ZodIntersection,\n ...y(t)\n});\nclass R extends g {\n _parse(e) {\n const { status: t, ctx: r } = this._processInputParams(e);\n if (r.parsedType !== l.array)\n return u(r, {\n code: c.invalid_type,\n expected: l.array,\n received: r.parsedType\n }), m;\n if (r.data.length < this._def.items.length)\n return u(r, {\n code: c.too_small,\n minimum: this._def.items.length,\n inclusive: !0,\n exact: !1,\n type: \"array\"\n }), m;\n !this._def.rest && r.data.length > this._def.items.length && (u(r, {\n code: c.too_big,\n maximum: this._def.items.length,\n inclusive: !0,\n exact: !1,\n type: \"array\"\n }), t.dirty());\n const a = [...r.data].map((i, o) => {\n const h = this._def.items[o] || this._def.rest;\n return h ? h._parse(new I(r, i, r.path, o)) : null;\n }).filter((i) => !!i);\n return r.common.async ? Promise.all(a).then((i) => S.mergeArray(t, i)) : S.mergeArray(t, a);\n }\n get items() {\n return this._def.items;\n }\n rest(e) {\n return new R({\n ...this._def,\n rest: e\n });\n }\n}\nR.create = (s, e) => {\n if (!Array.isArray(s))\n throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\");\n return new R({\n items: s,\n typeName: p.ZodTuple,\n rest: null,\n ...y(e)\n });\n};\nclass ae extends g {\n get keySchema() {\n return this._def.keyType;\n }\n get valueSchema() {\n return this._def.valueType;\n }\n _parse(e) {\n const { status: t, ctx: r } = this._processInputParams(e);\n if (r.parsedType !== l.object)\n return u(r, {\n code: c.invalid_type,\n expected: l.object,\n received: r.parsedType\n }), m;\n const n = [], a = this._def.keyType, i = this._def.valueType;\n for (const o in r.data)\n n.push({\n key: a._parse(new I(r, o, r.path, o)),\n value: i._parse(new I(r, r.data[o], r.path, o))\n });\n return r.common.async ? S.mergeObjectAsync(t, n) : S.mergeObjectSync(t, n);\n }\n get element() {\n return this._def.valueType;\n }\n static create(e, t, r) {\n return t instanceof g ? new ae({\n keyType: e,\n valueType: t,\n typeName: p.ZodRecord,\n ...y(r)\n }) : new ae({\n keyType: O.create(),\n valueType: e,\n typeName: p.ZodRecord,\n ...y(t)\n });\n }\n}\nclass be extends g {\n get keySchema() {\n return this._def.keyType;\n }\n get valueSchema() {\n return this._def.valueType;\n }\n _parse(e) {\n const { status: t, ctx: r } = this._processInputParams(e);\n if (r.parsedType !== l.map)\n return u(r, {\n code: c.invalid_type,\n expected: l.map,\n received: r.parsedType\n }), m;\n const n = this._def.keyType, a = this._def.valueType, i = [...r.data.entries()].map(([o, h], d) => ({\n key: n._parse(new I(r, o, r.path, [d, \"key\"])),\n value: a._parse(new I(r, h, r.path, [d, \"value\"]))\n }));\n if (r.common.async) {\n const o = /* @__PURE__ */ new Map();\n return Promise.resolve().then(async () => {\n for (const h of i) {\n const d = await h.key, _ = await h.value;\n if (d.status === \"aborted\" || _.status === \"aborted\")\n return m;\n (d.status === \"dirty\" || _.status === \"dirty\") && t.dirty(), o.set(d.value, _.value);\n }\n return { status: t.value, value: o };\n });\n } else {\n const o = /* @__PURE__ */ new Map();\n for (const h of i) {\n const d = h.key, _ = h.value;\n if (d.status === \"aborted\" || _.status === \"aborted\")\n return m;\n (d.status === \"dirty\" || _.status === \"dirty\") && t.dirty(), o.set(d.value, _.value);\n }\n return { status: t.value, value: o };\n }\n }\n}\nbe.create = (s, e, t) => new be({\n valueType: e,\n keyType: s,\n typeName: p.ZodMap,\n ...y(t)\n});\nclass z extends g {\n _parse(e) {\n const { status: t, ctx: r } = this._processInputParams(e);\n if (r.parsedType !== l.set)\n return u(r, {\n code: c.invalid_type,\n expected: l.set,\n received: r.parsedType\n }), m;\n const n = this._def;\n n.minSize !== null && r.data.size < n.minSize.value && (u(r, {\n code: c.too_small,\n minimum: n.minSize.value,\n type: \"set\",\n inclusive: !0,\n exact: !1,\n message: n.minSize.message\n }), t.dirty()), n.maxSize !== null && r.data.size > n.maxSize.value && (u(r, {\n code: c.too_big,\n maximum: n.maxSize.value,\n type: \"set\",\n inclusive: !0,\n exact: !1,\n message: n.maxSize.message\n }), t.dirty());\n const a = this._def.valueType;\n function i(h) {\n const d = /* @__PURE__ */ new Set();\n for (const _ of h) {\n if (_.status === \"aborted\")\n return m;\n _.status === \"dirty\" && t.dirty(), d.add(_.value);\n }\n return { status: t.value, value: d };\n }\n const o = [...r.data.values()].map((h, d) => a._parse(new I(r, h, r.path, d)));\n return r.common.async ? Promise.all(o).then((h) => i(h)) : i(o);\n }\n min(e, t) {\n return new z({\n ...this._def,\n minSize: { value: e, message: f.toString(t) }\n });\n }\n max(e, t) {\n return new z({\n ...this._def,\n maxSize: { value: e, message: f.toString(t) }\n });\n }\n size(e, t) {\n return this.min(e, t).max(e, t);\n }\n nonempty(e) {\n return this.min(1, e);\n }\n}\nz.create = (s, e) => new z({\n valueType: s,\n minSize: null,\n maxSize: null,\n typeName: p.ZodSet,\n ...y(e)\n});\nclass Q extends g {\n constructor() {\n super(...arguments), this.validate = this.implement;\n }\n _parse(e) {\n const { ctx: t } = this._processInputParams(e);\n if (t.parsedType !== l.function)\n return u(t, {\n code: c.invalid_type,\n expected: l.function,\n received: t.parsedType\n }), m;\n function r(o, h) {\n return ye({\n data: o,\n path: t.path,\n errorMaps: [\n t.common.contextualErrorMap,\n t.schemaErrorMap,\n me(),\n K\n ].filter((d) => !!d),\n issueData: {\n code: c.invalid_arguments,\n argumentsError: h\n }\n });\n }\n function n(o, h) {\n return ye({\n data: o,\n path: t.path,\n errorMaps: [\n t.common.contextualErrorMap,\n t.schemaErrorMap,\n me(),\n K\n ].filter((d) => !!d),\n issueData: {\n code: c.invalid_return_type,\n returnTypeError: h\n }\n });\n }\n const a = { errorMap: t.common.contextualErrorMap }, i = t.data;\n if (this._def.returns instanceof H) {\n const o = this;\n return N(async function(...h) {\n const d = new C([]), _ = await o._def.args.parseAsync(h, a).catch((q) => {\n throw d.addIssue(r(h, q)), d;\n }), Z = await Reflect.apply(i, this, _);\n return await o._def.returns._def.type.parseAsync(Z, a).catch((q) => {\n throw d.addIssue(n(Z, q)), d;\n });\n });\n } else {\n const o = this;\n return N(function(...h) {\n const d = o._def.args.safeParse(h, a);\n if (!d.success)\n throw new C([r(h, d.error)]);\n const _ = Reflect.apply(i, this, d.data), Z = o._def.returns.safeParse(_, a);\n if (!Z.success)\n throw new C([n(_, Z.error)]);\n return Z.data;\n });\n }\n }\n parameters() {\n return this._def.args;\n }\n returnType() {\n return this._def.returns;\n }\n args(...e) {\n return new Q({\n ...this._def,\n args: R.create(e).rest(L.create())\n });\n }\n returns(e) {\n return new Q({\n ...this._def,\n returns: e\n });\n }\n implement(e) {\n return this.parse(e);\n }\n strictImplement(e) {\n return this.parse(e);\n }\n static create(e, t, r) {\n return new Q({\n args: e || R.create([]).rest(L.create()),\n returns: t || L.create(),\n typeName: p.ZodFunction,\n ...y(r)\n });\n }\n}\nclass ie extends g {\n get schema() {\n return this._def.getter();\n }\n _parse(e) {\n const { ctx: t } = this._processInputParams(e);\n return this._def.getter()._parse({ data: t.data, path: t.path, parent: t });\n }\n}\nie.create = (s, e) => new ie({\n getter: s,\n typeName: p.ZodLazy,\n ...y(e)\n});\nclass oe extends g {\n _parse(e) {\n if (e.data !== this._def.value) {\n const t = this._getOrReturnCtx(e);\n return u(t, {\n received: t.data,\n code: c.invalid_literal,\n expected: this._def.value\n }), m;\n }\n return { status: \"valid\", value: e.data };\n }\n get value() {\n return this._def.value;\n }\n}\noe.create = (s, e) => new oe({\n value: s,\n typeName: p.ZodLiteral,\n ...y(e)\n});\nfunction yt(s, e) {\n return new V({\n values: s,\n typeName: p.ZodEnum,\n ...y(e)\n });\n}\nclass V extends g {\n _parse(e) {\n if (typeof e.data != \"string\") {\n const t = this._getOrReturnCtx(e), r = this._def.values;\n return u(t, {\n expected: x.joinValues(r),\n received: t.parsedType,\n code: c.invalid_type\n }), m;\n }\n if (this._def.values.indexOf(e.data) === -1) {\n const t = this._getOrReturnCtx(e), r = this._def.values;\n return u(t, {\n received: t.data,\n code: c.invalid_enum_value,\n options: r\n }), m;\n }\n return N(e.data);\n }\n get options() {\n return this._def.values;\n }\n get enum() {\n const e = {};\n for (const t of this._def.values)\n e[t] = t;\n return e;\n }\n get Values() {\n const e = {};\n for (const t of this._def.values)\n e[t] = t;\n return e;\n }\n get Enum() {\n const e = {};\n for (const t of this._def.values)\n e[t] = t;\n return e;\n }\n extract(e) {\n return V.create(e);\n }\n exclude(e) {\n return V.create(this.options.filter((t) => !e.includes(t)));\n }\n}\nV.create = yt;\nclass ce extends g {\n _parse(e) {\n const t = x.getValidEnumValues(this._def.values), r = this._getOrReturnCtx(e);\n if (r.parsedType !== l.string && r.parsedType !== l.number) {\n const n = x.objectValues(t);\n return u(r, {\n expected: x.joinValues(n),\n received: r.parsedType,\n code: c.invalid_type\n }), m;\n }\n if (t.indexOf(e.data) === -1) {\n const n = x.objectValues(t);\n return u(r, {\n received: r.data,\n code: c.invalid_enum_value,\n options: n\n }), m;\n }\n return N(e.data);\n }\n get enum() {\n return this._def.values;\n }\n}\nce.create = (s, e) => new ce({\n values: s,\n typeName: p.ZodNativeEnum,\n ...y(e)\n});\nclass H extends g {\n unwrap() {\n return this._def.type;\n }\n _parse(e) {\n const { ctx: t } = this._processInputParams(e);\n if (t.parsedType !== l.promise && t.common.async === !1)\n return u(t, {\n code: c.invalid_type,\n expected: l.promise,\n received: t.parsedType\n }), m;\n const r = t.parsedType === l.promise ? t.data : Promise.resolve(t.data);\n return N(r.then((n) => this._def.type.parseAsync(n, {\n path: t.path,\n errorMap: t.common.contextualErrorMap\n })));\n }\n}\nH.create = (s, e) => new H({\n type: s,\n typeName: p.ZodPromise,\n ...y(e)\n});\nclass j extends g {\n innerType() {\n return this._def.schema;\n }\n sourceType() {\n return this._def.schema._def.typeName === p.ZodEffects ? this._def.schema.sourceType() : this._def.schema;\n }\n _parse(e) {\n const { status: t, ctx: r } = this._processInputParams(e), n = this._def.effect || null, a = {\n addIssue: (i) => {\n u(r, i), i.fatal ? t.abort() : t.dirty();\n },\n get path() {\n return r.path;\n }\n };\n if (a.addIssue = a.addIssue.bind(a), n.type === \"preprocess\") {\n const i = n.transform(r.data, a);\n return r.common.issues.length ? {\n status: \"dirty\",\n value: r.data\n } : r.common.async ? Promise.resolve(i).then((o) => this._def.schema._parseAsync({\n data: o,\n path: r.path,\n parent: r\n })) : this._def.schema._parseSync({\n data: i,\n path: r.path,\n parent: r\n });\n }\n if (n.type === \"refinement\") {\n const i = (o) => {\n const h = n.refinement(o, a);\n if (r.common.async)\n return Promise.resolve(h);\n if (h instanceof Promise)\n throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\");\n return o;\n };\n if (r.common.async === !1) {\n const o = this._def.schema._parseSync({\n data: r.data,\n path: r.path,\n parent: r\n });\n return o.status === \"aborted\" ? m : (o.status === \"dirty\" && t.dirty(), i(o.value), { status: t.value, value: o.value });\n } else\n return this._def.schema._parseAsync({ data: r.data, path: r.path, parent: r }).then((o) => o.status === \"aborted\" ? m : (o.status === \"dirty\" && t.dirty(), i(o.value).then(() => ({ status: t.value, value: o.value }))));\n }\n if (n.type === \"transform\")\n if (r.common.async === !1) {\n const i = this._def.schema._parseSync({\n data: r.data,\n path: r.path,\n parent: r\n });\n if (!F(i))\n return i;\n const o = n.transform(i.value, a);\n if (o instanceof Promise)\n throw new Error(\"Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.\");\n return { status: t.value, value: o };\n } else\n return this._def.schema._parseAsync({ data: r.data, path: r.path, parent: r }).then((i) => F(i) ? Promise.resolve(n.transform(i.value, a)).then((o) => ({ status: t.value, value: o })) : i);\n x.assertNever(n);\n }\n}\nj.create = (s, e, t) => new j({\n schema: s,\n typeName: p.ZodEffects,\n effect: e,\n ...y(t)\n});\nj.createWithPreprocess = (s, e, t) => new j({\n schema: e,\n effect: { type: \"preprocess\", transform: s },\n typeName: p.ZodEffects,\n ...y(t)\n});\nclass A extends g {\n _parse(e) {\n return this._getType(e) === l.undefined ? N(void 0) : this._def.innerType._parse(e);\n }\n unwrap() {\n return this._def.innerType;\n }\n}\nA.create = (s, e) => new A({\n innerType: s,\n typeName: p.ZodOptional,\n ...y(e)\n});\nclass B extends g {\n _parse(e) {\n return this._getType(e) === l.null ? N(null) : this._def.innerType._parse(e);\n }\n unwrap() {\n return this._def.innerType;\n }\n}\nB.create = (s, e) => new B({\n innerType: s,\n typeName: p.ZodNullable,\n ...y(e)\n});\nclass de extends g {\n _parse(e) {\n const { ctx: t } = this._processInputParams(e);\n let r = t.data;\n return t.parsedType === l.undefined && (r = this._def.defaultValue()), this._def.innerType._parse({\n data: r,\n path: t.path,\n parent: t\n });\n }\n removeDefault() {\n return this._def.innerType;\n }\n}\nde.create = (s, e) => new de({\n innerType: s,\n typeName: p.ZodDefault,\n defaultValue: typeof e.default == \"function\" ? e.default : () => e.default,\n ...y(e)\n});\nclass xe extends g {\n _parse(e) {\n const { ctx: t } = this._processInputParams(e), r = {\n ...t,\n common: {\n ...t.common,\n issues: []\n }\n }, n = this._def.innerType._parse({\n data: r.data,\n path: r.path,\n parent: {\n ...r\n }\n });\n return ge(n) ? n.then((a) => ({\n status: \"valid\",\n value: a.status === \"valid\" ? a.value : this._def.catchValue({\n get error() {\n return new C(r.common.issues);\n },\n input: r.data\n })\n })) : {\n status: \"valid\",\n value: n.status === \"valid\" ? n.value : this._def.catchValue({\n get error() {\n return new C(r.common.issues);\n },\n input: r.data\n })\n };\n }\n removeCatch() {\n return this._def.innerType;\n }\n}\nxe.create = (s, e) => new xe({\n innerType: s,\n typeName: p.ZodCatch,\n catchValue: typeof e.catch == \"function\" ? e.catch : () => e.catch,\n ...y(e)\n});\nclass ke extends g {\n _parse(e) {\n if (this._getType(e) !== l.nan) {\n const r = this._getOrReturnCtx(e);\n return u(r, {\n code: c.invalid_type,\n expected: l.nan,\n received: r.parsedType\n }), m;\n }\n return { status: \"valid\", value: e.data };\n }\n}\nke.create = (s) => new ke({\n typeName: p.ZodNaN,\n ...y(s)\n});\nconst qt = Symbol(\"zod_brand\");\nclass gt extends g {\n _parse(e) {\n const { ctx: t } = this._processInputParams(e), r = t.data;\n return this._def.type._parse({\n data: r,\n path: t.path,\n parent: t\n });\n }\n unwrap() {\n return this._def.type;\n }\n}\nclass ue extends g {\n _parse(e) {\n const { status: t, ctx: r } = this._processInputParams(e);\n if (r.common.async)\n return (async () => {\n const a = await this._def.in._parseAsync({\n data: r.data,\n path: r.path,\n parent: r\n });\n return a.status === \"aborted\" ? m : a.status === \"dirty\" ? (t.dirty(), mt(a.value)) : this._def.out._parseAsync({\n data: a.value,\n path: r.path,\n parent: r\n });\n })();\n {\n const n = this._def.in._parseSync({\n data: r.data,\n path: r.path,\n parent: r\n });\n return n.status === \"aborted\" ? m : n.status === \"dirty\" ? (t.dirty(), {\n status: \"dirty\",\n value: n.value\n }) : this._def.out._parseSync({\n data: n.value,\n path: r.path,\n parent: r\n });\n }\n }\n static create(e, t) {\n return new ue({\n in: e,\n out: t,\n typeName: p.ZodPipeline\n });\n }\n}\nclass we extends g {\n _parse(e) {\n const t = this._def.innerType._parse(e);\n return F(t) && (t.value = Object.freeze(t.value)), t;\n }\n}\nwe.create = (s, e) => new we({\n innerType: s,\n typeName: p.ZodReadonly,\n ...y(e)\n});\nconst _t = (s, e = {}, t) => s ? G.create().superRefine((r, n) => {\n var a, i;\n if (!s(r)) {\n const o = typeof e == \"function\" ? e(r) : typeof e == \"string\" ? { message: e } : e, h = (i = (a = o.fatal) !== null && a !== void 0 ? a : t) !== null && i !== void 0 ? i : !0, d = typeof o == \"string\" ? { message: o } : o;\n n.addIssue({ code: \"custom\", ...d, fatal: h });\n }\n}) : G.create(), Wt = {\n object: w.lazycreate\n};\nvar p;\n(function(s) {\n s.ZodString = \"ZodString\", s.ZodNumber = \"ZodNumber\", s.ZodNaN = \"ZodNaN\", s.ZodBigInt = \"ZodBigInt\", s.ZodBoolean = \"ZodBoolean\", s.ZodDate = \"ZodDate\", s.ZodSymbol = \"ZodSymbol\", s.ZodUndefined = \"ZodUndefined\", s.ZodNull = \"ZodNull\", s.ZodAny = \"ZodAny\", s.ZodUnknown = \"ZodUnknown\", s.ZodNever = \"ZodNever\", s.ZodVoid = \"ZodVoid\", s.ZodArray = \"ZodArray\", s.ZodObject = \"ZodObject\", s.ZodUnion = \"ZodUnion\", s.ZodDiscriminatedUnion = \"ZodDiscriminatedUnion\", s.ZodIntersection = \"ZodIntersection\", s.ZodTuple = \"ZodTuple\", s.ZodRecord = \"ZodRecord\", s.ZodMap = \"ZodMap\", s.ZodSet = \"ZodSet\", s.ZodFunction = \"ZodFunction\", s.ZodLazy = \"ZodLazy\", s.ZodLiteral = \"ZodLiteral\", s.ZodEnum = \"ZodEnum\", s.ZodEffects = \"ZodEffects\", s.ZodNativeEnum = \"ZodNativeEnum\", s.ZodOptional = \"ZodOptional\", s.ZodNullable = \"ZodNullable\", s.ZodDefault = \"ZodDefault\", s.ZodCatch = \"ZodCatch\", s.ZodPromise = \"ZodPromise\", s.ZodBranded = \"ZodBranded\", s.ZodPipeline = \"ZodPipeline\", s.ZodReadonly = \"ZodReadonly\";\n})(p || (p = {}));\nconst Jt = (s, e = {\n message: `Input not instance of ${s.name}`\n}) => _t((t) => t instanceof s, e), vt = O.create, bt = D.create, Qt = ke.create, Yt = $.create, xt = ee.create, Gt = U.create, Ht = _e.create, Xt = te.create, Kt = se.create, Ft = G.create, es = L.create, ts = M.create, ss = ve.create, rs = E.create, ns = w.create, as = w.strictCreate, is = re.create, os = Te.create, cs = ne.create, ds = R.create, ls = ae.create, us = be.create, hs = z.create, fs = Q.create, ps = ie.create, ms = oe.create, ys = V.create, gs = ce.create, _s = H.create, ut = j.create, vs = A.create, bs = B.create, xs = j.createWithPreprocess, ks = ue.create, ws = () => vt().optional(), Ts = () => bt().optional(), Ss = () => xt().optional(), Zs = {\n string: (s) => O.create({ ...s, coerce: !0 }),\n number: (s) => D.create({ ...s, coerce: !0 }),\n boolean: (s) => ee.create({\n ...s,\n coerce: !0\n }),\n bigint: (s) => $.create({ ...s, coerce: !0 }),\n date: (s) => U.create({ ...s, coerce: !0 })\n}, Ns = m;\nvar T = /* @__PURE__ */ Object.freeze({\n __proto__: null,\n defaultErrorMap: K,\n setErrorMap: jt,\n getErrorMap: me,\n makeIssue: ye,\n EMPTY_PATH: It,\n addIssueToContext: u,\n ParseStatus: S,\n INVALID: m,\n DIRTY: mt,\n OK: N,\n isAborted: Ee,\n isDirty: je,\n isValid: F,\n isAsync: ge,\n get util() {\n return x;\n },\n get objectUtil() {\n return Ce;\n },\n ZodParsedType: l,\n getParsedType: P,\n ZodType: g,\n ZodString: O,\n ZodNumber: D,\n ZodBigInt: $,\n ZodBoolean: ee,\n ZodDate: U,\n ZodSymbol: _e,\n ZodUndefined: te,\n ZodNull: se,\n ZodAny: G,\n ZodUnknown: L,\n ZodNever: M,\n ZodVoid: ve,\n ZodArray: E,\n ZodObject: w,\n ZodUnion: re,\n ZodDiscriminatedUnion: Te,\n ZodIntersection: ne,\n ZodTuple: R,\n ZodRecord: ae,\n ZodMap: be,\n ZodSet: z,\n ZodFunction: Q,\n ZodLazy: ie,\n ZodLiteral: oe,\n ZodEnum: V,\n ZodNativeEnum: ce,\n ZodPromise: H,\n ZodEffects: j,\n ZodTransformer: j,\n ZodOptional: A,\n ZodNullable: B,\n ZodDefault: de,\n ZodCatch: xe,\n ZodNaN: ke,\n BRAND: qt,\n ZodBranded: gt,\n ZodPipeline: ue,\n ZodReadonly: we,\n custom: _t,\n Schema: g,\n ZodSchema: g,\n late: Wt,\n get ZodFirstPartyTypeKind() {\n return p;\n },\n coerce: Zs,\n any: Ft,\n array: rs,\n bigint: Yt,\n boolean: xt,\n date: Gt,\n discriminatedUnion: os,\n effect: ut,\n enum: ys,\n function: fs,\n instanceof: Jt,\n intersection: cs,\n lazy: ps,\n literal: ms,\n map: us,\n nan: Qt,\n nativeEnum: gs,\n never: ts,\n null: Kt,\n nullable: bs,\n number: bt,\n object: ns,\n oboolean: Ss,\n onumber: Ts,\n optional: vs,\n ostring: ws,\n pipeline: ks,\n preprocess: xs,\n promise: _s,\n record: ls,\n set: hs,\n strictObject: as,\n string: vt,\n symbol: Ht,\n transformer: ut,\n tuple: ds,\n undefined: Xt,\n union: is,\n unknown: es,\n void: ss,\n NEVER: Ns,\n ZodIssueCode: c,\n quotelessJson: Et,\n ZodError: C\n});\nconst v = (s, e = {}) => s.describe(J.toString(e, s.description)), k = {\n number: T.preprocess((s) => Number(s), T.number()).describe(\n J.toString({\n label: \"Номер\",\n type: \"number\",\n component: \"ui-field-number\"\n })\n ),\n string: T.string().trim().describe(\n J.toString({\n label: \"Строка\",\n type: \"string\",\n component: \"ui-field-text\"\n })\n ),\n date: T.preprocess((s) => new Date(String(s)), T.date()).describe(\n J.toString({\n label: \"Дата\",\n type: \"date\",\n component: \"ui-field-date\"\n })\n ),\n boolean: T.preprocess((s) => String(s) === \"true\", T.boolean()).describe(\n J.toString({\n label: \"Логическое значение\",\n type: \"boolean\",\n component: \"ui-field-checkbox\"\n })\n )\n}, X = T.object({\n ...k,\n _id: v(k.string.regex(Ot, \"Не валидный ID\"), {\n label: \"ID\"\n }),\n dateCreate: v(k.date, {\n label: \"Дата создания\"\n }),\n dateUpdate: v(k.date, {\n label: \"Дата изменения\"\n }),\n name: v(k.string, {\n label: \"Название\"\n }),\n title: v(k.string, {\n label: \"Заголовок\"\n }),\n comment: v(T.string().trim().min(2).max(1e3), {\n label: \"Комментарий\",\n component: \"ui-field-text-area\"\n }),\n description: v(T.string().trim().min(2).max(1e3), {\n label: \"Описание\",\n component: \"ui-field-text-area\"\n }),\n text: v(T.string().trim().min(2).max(3e3), {\n label: \"Текст\",\n component: \"ui-field-text-area\"\n }),\n login: v(k.string, {\n label: \"Логин\"\n }),\n email: v(k.string.email(), {\n label: \"Email\"\n }),\n password: v(k.string.min(6), {\n label: \"Пароль\",\n component: \"ui-field-password\"\n }),\n price: v(\n T.preprocess((s) => Number(s), T.number().nonnegative()),\n { label: \"Стоимость\" }\n ),\n alias: v(\n k.string.toLowerCase().regex(/^[a-z-]+$/, 'Только латиница и тире \"-\"'),\n { label: \"Псевдоним\" }\n ),\n published: v(k.boolean, {\n label: \"Опубликован(а)\"\n }),\n active: v(k.boolean, {\n label: \"Активный(ная)\"\n }),\n enabled: v(k.boolean, {\n label: \"Включен(а)\"\n }),\n disabled: v(k.boolean, {\n label: \"Отключен(а)\"\n }),\n open: v(k.boolean, {\n label: \"Открыт(а)\"\n }),\n close: v(k.boolean, {\n label: \"Закрыто\"\n }),\n closed: v(k.boolean, {\n label: \"Закрыт(а)\"\n }),\n online: v(k.boolean, {\n label: \"Онлайн\"\n }),\n firstName: v(\n k.string.regex(Ne, \"Только кириллица\"),\n { label: \"Имя\" }\n ),\n middleName: v(\n k.string.regex(Ne, \"Только кириллица\"),\n { label: \"Отчество\" }\n ),\n lastName: v(\n k.string.regex(Ne, \"Только кириллица\"),\n { label: \"Фамилия\" }\n ),\n birthday: v(k.date, {\n label: \"Дата рождения\"\n }),\n phone: v(\n T.preprocess((s) => ft(s) || 0, k.number).refine((s) => Ct(s), {\n message: \"Не вервый формат номера телефона\"\n }),\n {\n label: \"Телефон\",\n component: \"ui-field-phone\"\n }\n ),\n gender: v(T.enum([pe.man, pe.woman]), {\n label: \"Пол\",\n component: \"ui-field-select-gender\"\n }),\n year: v(k.number, {\n label: \"Год\"\n }),\n days: v(k.number.array(), {\n label: \"Дни недели\",\n component: \"ui-picker-days\"\n }),\n q: v(\n T.preprocess(\n (s) => String(s).replace(Nt, \"\"),\n k.string\n ),\n {\n label: \"Поиск\",\n component: \"ui-field-search\"\n }\n ),\n page: v(\n T.preprocess((s) => Math.abs(Number(s)), k.number),\n { label: \"Страница\" }\n ),\n limit: v(\n T.preprocess((s) => Math.abs(Number(s)), k.number),\n { label: \"Лимит\" }\n )\n});\nclass $s {\n constructor(e = {}, t) {\n b(this, \"_id\");\n b(this, \"dateCreate\");\n b(this, \"dateUpdate\");\n b(this, \"title\");\n b(this, \"obj\");\n b(this, \"schema\");\n b(this, \"ctrls\", []);\n b(this, \"_errors\", {});\n if (this._id = e._id || \"create\", delete e._id, e.dateCreate)\n try {\n this.dateCreate = new Date(e.dateCreate), delete e.dateCreate;\n } catch {\n }\n if (e.dateUpdate)\n try {\n this.dateUpdate = new Date(e.dateUpdate), delete e.dateUpdate;\n } catch {\n }\n this.obj = e, this.schema = t;\n for (const r in this.schema.shape)\n this.ctrls.push(new J({ key: r }, this.schema.shape[r]));\n this.schema.description && (this.title = this.schema.description);\n }\n get errors() {\n let e = [];\n for (const t in this._errors) {\n const r = this._errors[t];\n r && e.push({ code: t, text: r });\n }\n return e;\n }\n isValid() {\n this._errors = {};\n try {\n return this.obj = this.schema.parse(this.obj), !0;\n } catch (e) {\n const t = e;\n for (const r of t.issues)\n this.setValidError(r.path.toString(), r.message);\n return !1;\n }\n }\n setValidError(e, t) {\n let r = {};\n r[e] = e + \" - \" + t, this._errors = Object.assign(this._errors, r);\n }\n mergeObj(e) {\n this.obj = Object.assign(this.obj, e);\n }\n updateCtrl(e, t) {\n const r = this.ctrls.findIndex((n) => n.key === e);\n this.ctrls[r] = Object.assign(this.ctrls[r], t);\n }\n}\nconst Os = X.pick({\n page: !0,\n limit: !0\n}).extend({\n total: v(X.shape.number, {\n label: \"Общее кол-во\"\n }),\n skip: v(X.shape.number, {\n label: \"Пропустить\"\n }),\n pages: v(X.shape.number, {\n label: \"Кол-во всех страниц\"\n })\n}).describe(\"Данные пагинации\"), Cs = Os.pick({\n page: !0,\n limit: !0\n}).partial().describe(\"Параметры разбиения на страницы\"), he = { page: 1, limit: 10, maxLimit: 100 };\nvar Y;\nconst Re = class Re {\n constructor(e = {}, t) {\n /**\n * Максимальный лимит элементов.\n */\n ct(this, Y, void 0);\n b(this, \"page\", he.page);\n b(this, \"limit\", he.limit);\n b(this, \"skip\", 0);\n b(this, \"total\", 0);\n b(this, \"pages\", 0);\n dt(this, Y, this.parseArg(t, he.maxLimit)), this.set(e);\n }\n static parseArg(e, t) {\n return Math.abs(\n typeof e == \"string\" ? Number.parseInt(e) || t : e || t\n );\n }\n parseArg(e, t) {\n return Re.parseArg(e, t);\n }\n set(e = {}) {\n let t = !1;\n if (e.page && e.page !== this.page && (this.page = this.parseArg(e.page, he.page), t = !0), e.limit && e.limit !== this.limit && (this.limit = this.parseArg(e.limit, this.limit), t = !0), this.limit > Ze(this, Y) && (this.limit = Ze(this, Y)), e.total && e.total !== this.total && (this.total = Math.abs(e.total), this.pages = Math.ceil(this.total / this.limit)), t) {\n let r = 0;\n try {\n r = (this.page - 1) * this.limit;\n } catch {\n }\n this.skip = r > 0 ? r : 0;\n }\n return this;\n }\n toObject() {\n return {\n page: this.page,\n limit: this.limit,\n total: this.total,\n skip: this.skip,\n pages: this.pages\n };\n }\n getQuery() {\n return { page: this.page, limit: this.limit };\n }\n};\nY = new WeakMap();\nlet le = Re;\nclass Vs {\n constructor(e = {}) {\n b(this, \"status\", 200);\n b(this, \"message\", \"Ok\");\n b(this, \"data\");\n b(this, \"info\", { type: \"undefined\", length: 0 });\n b(this, \"errors\", []);\n this.data = e, this.setData();\n }\n setData(e = null, t) {\n if (e !== null && (this.data = e), this.data)\n if (Array.isArray(this.data)) {\n if (this.info.type = \"array\", this.info.length = [...this.data].length, t)\n this.info.pagination = t;\n else {\n const r = new le(\n { page: 1, limit: this.info.length, total: this.info.length },\n this.info.length\n );\n this.info.pagination = r.toObject();\n }\n this.info.pagination.total < this.info.length && (this.info.pagination.total = this.info.length);\n } else\n this.info.type = \"object\", this.info.length = 1;\n }\n}\nconst Ls = X.pick({ q: !0 }).extend(Cs.shape).extend({\n sort: v(k.string.min(1).max(64), {\n label: \"Сортировка\"\n })\n}).partial().describe(\"Параметры базового запроса\");\nclass kt {\n constructor(e) {\n b(this, \"obj\");\n b(this, \"pagination\");\n b(this, \"sort\");\n let t = Object.assign({}, e);\n if (this.pagination = new le(t).getQuery(), this.pagination) {\n const r = Object.keys(this.pagination);\n for (const n of r)\n t[n] && delete t[n];\n }\n t.sort && (this.sort = t.sort, delete t.sort), this.obj = t;\n }\n static getQuery(e) {\n return Object.assign(\n { ...e.obj, ...e.pagination },\n { sort: e.sort }\n );\n }\n static parse(e) {\n return new kt(this.getQuery(e));\n }\n /**\n * @deprecated.\n */\n setPagination(e) {\n this.pagination = new le(e).getQuery();\n }\n toObject() {\n return {\n obj: this.obj,\n pagination: this.pagination,\n sort: this.sort\n };\n }\n toString(e) {\n var n;\n let t = ((n = e == null ? void 0 : e.base) == null ? void 0 : n.replace(/[?]$/, \"\")) || \"\";\n const r = [];\n for (const [a, i] of Object.entries({\n ...this.obj,\n ...this.pagination\n }))\n if (i) {\n const o = encodeURIComponent(a), h = encodeURIComponent(i);\n r.push(o + \"=\" + h);\n }\n if (this.sort)\n try {\n r.push(\"sort=\" + encodeURIComponent(this.sort));\n } catch {\n }\n return r.length && (t += r.join(\"&\")), t;\n }\n isEqual(e) {\n return ht([this, ...e]);\n }\n}\nexport {\n $s as BaseFormModel,\n Vs as DataResultEntity,\n kt as FindFilter,\n J as FormSchemaCtrl,\n St as GENDERS,\n pe as GenderEnum,\n Is as NotificationItem,\n le as Pagination,\n k as bFieldsSchema,\n X as cFieldsSchema,\n Ms as capitalize,\n v as fieldSchema,\n Ds as getDateCommonFormat,\n As as getPhoneNumberFormat,\n ft as getPhoneNumberValue,\n ht as isEqual,\n Rs as isGender,\n Ps as isId,\n Cs as paginationQuerySchema,\n Os as paginationSchema,\n Ls as querySchema,\n Ne as regexFIO,\n Ot as regexId,\n Zt as regexPhone,\n Nt as regexSearch,\n Ct as validPhoneNumber\n};\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n","\n\n\n\n\n","export enum ColorEnum {\n\tprimary = 'primary',\n\taccent = 'accent',\n\tinfo = 'info',\n\tsuccess = 'success',\n\twarning = 'warning',\n\terror = 'error',\n\tdark = 'dark',\n\tlight = 'light'\n}\n\nexport type TColor = keyof typeof ColorEnum\n\nexport const colors = Object.keys(ColorEnum)\n","\n\n\n\n\n","\n\n\n\n\n"],"names":["icons","icon","computed","props","clickHandler","e","emit","cssClass","obj","dialogState","ref","closeDialog","clickWrapperHandler","watch","val","inputHandler","value","wt","Tt","s","b","ot","Ze","ct","dt","r","pe","Ne","Zt","Nt","Ot","ft","Ct","As","n","t","a","Ds","J","i","o","h","_","Z","Se","q","Ae","Me","Pe","De","$e","Ve","Le","Ue","ze","Be","qe","We","Je","Qe","Ye","Ge","He","Xe","Ke","Fe","et","tt","st","rt","nt","at","it","x","Ce","l","P","Et","C","d","K","pt","jt","me","ye","It","u","S","m","mt","N","Ee","je","F","ge","I","lt","y","j","p","A","B","E","H","re","ne","de","gt","xe","ue","we","Rt","At","Mt","Pt","Dt","$t","Oe","Vt","Lt","Ut","zt","O","Bt","D","$","ee","U","_e","te","se","G","L","M","ve","W","w","R","yt","fe","ie","oe","V","ce","Te","Ie","ae","be","z","Q","ke","qt","_t","Wt","Jt","vt","bt","Qt","Yt","xt","Gt","Ht","Xt","Kt","Ft","es","ts","ss","rs","ns","as","is","os","cs","ds","ls","us","hs","fs","ps","ms","ys","gs","_s","ut","vs","bs","xs","ks","ws","Ts","Ss","Zs","Ns","T","v","k","X","Os","Cs","he","Y","Re","le","valueStr","getPhoneNumberFormat","getPhoneNumberValue","cFieldsSchema","getDateCommonFormat","options","GenderEnum","days","index","number","result","ColorEnum","colors","ctrls","title","_a","load","messages","submitHandler","dR","err","ex","getColorMessage","item","page","pages","length","updateHandler","pagination","Pagination","isShowFirst","isShowLast"],"mappings":"iMAAO,MAAMA,GAAQ,CACpB,QAAS;AAAA;AAAA;AAAA,IAIT,IAAK;AAAA;AAAA,IAGL,GAAI;AAAA;AAAA,IAGJ,QAAS;AAAA;AAAA;AAAA,IAIT,MAAO;AAAA;AAAA;AAAA,IAIP,OAAQ;AAAA;AAAA,IAGR,KAAM;AAAA;AAAA;AAAA;AAAA;AAAA,IAMN,MAAO;AAAA;AAAA;AAAA,IAIP,aAAc;AAAA;AAAA;AAAA,IAId,IAAK;AAAA;AAAA;AAAA;AAAA;AAAA,IAML,OAAQ;AAAA;AAAA,IAGR,MAAO;AAAA;AAAA,IAGP,OAAQ;AAAA;AAAA,IAGR,KAAM;AAAA;AAAA,IAGN,UAAW;AAAA;AAAA;AAAA;AAAA,IAKX,KAAM;AAAA;AAAA,IAGN,IAAK;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAWL,KAAM;AAAA;AAAA,GAGN,WAAY;AAAA;AAAA;AAAA,GAIZ,eAAgB;AAAA;AAAA,EAGjB,0HClEMC,EAAOC,EAAS,IAAMF,GAAMG,EAAM,IAAI,CAAC,k6CCcvCC,EAAgBC,GAAoBC,EAAK,QAASD,CAAC,EAGnDE,EAAWL,EAAS,IAAM,CAC/B,IAAIM,EAAW,CACd,SAAU,GACV,cAAeL,EAAM,IAAA,EAGtB,OAAIA,EAAM,QAAWK,EAAA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EAC3B,GAAIvB,EAAQ,EAAG,MACfqN,EAAM,KAAK,CAAE,MAAArN,CAAA,CAAO,CACrB,CAEAqN,EAAQA,EAAM,UAGdA,EAAM,KAAK,CAAE,MAAOD,EAAK,MAAO,OAAQ,GAAM,EAG9C,QAAS7L,EAAI,EAAGA,GAAK+L,EAAQ/L,IAAK,CAC3B,MAAAvB,EAAQoN,EAAK,MAAQ7L,EACvB,GAAAvB,GAASb,EAAM,WAAW,OAAS,GAAI,MAC3CkO,EAAM,KAAK,CAAE,MAAArN,CAAA,CAAO,CACrB,CAEOqN,OAAAA,CAAA,CACP,EAGKE,EAAiBH,GAAiB,CACjC,MAAAI,EAAa,IAAIC,GAAW,CAAE,GAAGtO,EAAM,WAAY,KAAAiO,CAAAA,CAAM,EAC1D9N,EAAA,qBAAsBkO,EAAW,SAAU,CAAA,CAAA,EAI3CE,EAAcxO,EAAS,IAAMkO,EAAK,MAAQjO,EAAM,OAAS,CAAC,EAC1DwO,EAAazO,EAClB,IACCC,EAAM,WAAW,OACjBiO,EAAK,MAAQjO,EAAM,OAASA,EAAM,WAAW,KAAA;;;;;;;;;","x_google_ignoreList":[6]} \ No newline at end of file diff --git a/docs/assets/Button.stories-e613ac02.css b/docs/assets/Button.stories-e613ac02.css new file mode 100644 index 0000000..c23fa35 --- /dev/null +++ b/docs/assets/Button.stories-e613ac02.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.mb-2{margin-bottom:.5rem}.mr-4{margin-right:1rem}.mt-2{margin-top:.5rem}.flex{display:flex}.table{display:table}.hidden{display:none}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.text-error{--tw-text-opacity: 1;color:rgb(240 0 0 / var(--tw-text-opacity))}.text-success{--tw-text-opacity: 1;color:rgb(45 214 51 / var(--tw-text-opacity))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.layout{display:flex;height:100%;flex-direction:column;min-width:320px;min-height:100vh;overflow:hidden}.layout *{font-size:1rem;line-height:1}.layout main{display:flex;flex:1 1 0%;flex-direction:column}.layout h1{font-size:1.8rem;line-height:1;font-weight:700}@media (min-width: 768px){.layout h1{font-size:2.2rem;line-height:1}}.layout h2{font-size:1.3rem;line-height:1;font-weight:700}@media (min-width: 768px){.layout h2{font-size:1.8rem;line-height:1}}.layout h3{font-size:1rem;line-height:1;font-weight:700}@media (min-width: 768px){.layout h3{font-size:1.3rem;line-height:1}}.layout h4{font-size:.8rem;line-height:1;font-weight:700}@media (min-width: 768px){.layout h4{font-size:1rem;line-height:1}}.layout p:not(:last-child){margin-bottom:1rem}.layout .title{margin-bottom:1rem}.ui-btn{height:38px;font-size:1rem;line-height:1;display:flex;align-items:center;justify-content:center;border-width:1px;padding-left:.5rem;padding-right:.5rem}.ui-btn>*:not(:last-child){margin-right:.5rem}.ui-btn .label{font-size:1rem;line-height:1;font-weight:400}.ui-field-wrap .label{margin-bottom:.25rem}.ui-field-wrap .input{height:38px;font-size:1rem;line-height:1;display:block;width:100%;border-width:1px}.ui-field-wrap .input>*{height:100%;width:100%;padding:.5rem;outline:2px solid transparent;outline-offset:2px}.ui-field .description,.ui-field .message{margin-top:.25rem;width:100%;padding-left:.25rem;font-size:.8rem;line-height:1}.ui-field-checkbox{margin-bottom:1rem}.ui-field-checkbox .ui-field-wrap{display:flex;align-items:center;justify-content:flex-start}.ui-field-checkbox .ui-field-wrap .label{margin-bottom:0}.ui-field-checkbox .ui-field-wrap .input{order:-9999;margin-right:.5rem;width:max-content;height:24px;min-height:24px;width:24px;min-width:24px;border-radius:.25rem;border-width:1px}.ui-field-textarea .input{height:auto}.ui-field-textarea .input>*{min-height:94px;line-height:1.25rem}.ui-alert{position:relative;border-width:1px}.ui-alert:not(:last-child){margin-bottom:.5rem}.ui-alert-close{position:absolute;top:0;right:0;padding:.5rem}.ui-alert-close .ui-icon{cursor:pointer}.ui-alert-content{padding:.75rem}.ui-icon{display:block;width:24px}.ui-card{display:flex;flex-direction:column;border-width:1px;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.ui-card-head{padding-left:.75rem;padding-right:.75rem;padding-top:.75rem}.ui-card-body{padding:.75rem;flex:1 1 0%}.ui-card-actions{padding-left:.75rem;padding-right:.75rem;padding-bottom:.75rem;display:flex;gap:.5rem}.ui-form-header,.ui-form-messages{padding-bottom:1rem}.ui-form-messages>*:not(:last-child){margin-bottom:.5rem}.ui-form-body>*:not(:last-child){margin-bottom:1rem}.ui-form-actions{display:flex;align-items:center;padding-top:1rem}.ui-form-actions>*:not(:last-child){margin-right:.5rem}.ui-table{width:100%}.ui-table thead tr th{padding:.5rem .75rem;text-align:left;font-size:.8rem;line-height:1}.ui-table tbody tr:hover{--tw-bg-opacity: 1;background-color:rgb(241 241 241 / var(--tw-bg-opacity))}.ui-table tbody tr:not(:first-child){border-top-width:1px}.ui-table tbody tr td{padding:.5rem}.ui-dialog{background-color:#3636364d;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:50;position:fixed;width:100%;height:100%;top:0;left:0}.ui-dialog:not([open]){display:none}.ui-dialog-window{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(54 54 54 / var(--tw-text-opacity))}.ui-dialog-window-header{display:flex;align-items:center;justify-content:space-between;padding:.5rem .75rem}.ui-dialog-window-header>.title{font-size:1.3rem;line-height:1;font-weight:400}.ui-dialog-window-header .ui-icon-close{height:30px;width:30px;cursor:pointer;border-width:0px;padding:0}.ui-dialog-window-header .ui-icon-close:hover{--tw-text-opacity: 1;color:rgb(54 54 54 / var(--tw-text-opacity))}.ui-dialog-window-content{padding:.75rem}.ui-toggle-theme .ui-icon{cursor:pointer}.ui-pagination .pages{display:flex}.ui-pagination .pages-first,.ui-pagination .pages-numbers,.ui-pagination .pages-last{display:flex;align-items:flex-end}.ui-pagination .pages .page-item{height:38px;width:38px}.ui-pagination .pages .page-separator{margin-left:.5rem;margin-right:.5rem;display:block}.ui-pagination .pages-numbers .page-item:not(:last-child){margin-right:.5rem}.layout{background-color:#f1f1f11a;--tw-text-opacity: 1;color:rgb(54 54 54 / var(--tw-text-opacity))}:is(.dark .layout){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(241 241 241 / var(--tw-text-opacity))}.layout *{--tw-border-opacity: 1;border-color:rgb(241 241 241 / var(--tw-border-opacity))}:is(.dark .layout *){border-color:#f1f1f166}.layout a{--tw-text-opacity: 1;color:rgb(109 107 255 / var(--tw-text-opacity))}.ui-btn,.ui-alert{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.ui-btn.primary,.ui-alert.primary{--tw-border-opacity: 1;border-color:rgb(109 107 255 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(109 107 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ui-btn.accent,.ui-alert.accent{--tw-border-opacity: 1;border-color:rgb(171 109 253 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(171 109 253 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ui-btn.info,.ui-alert.info{--tw-border-opacity: 1;border-color:rgb(0 184 255 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 184 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ui-btn.success,.ui-alert.success{--tw-border-opacity: 1;border-color:rgb(45 214 51 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(45 214 51 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ui-btn.warning,.ui-alert.warning{--tw-border-opacity: 1;border-color:rgb(255 152 0 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 152 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ui-btn.error,.ui-alert.error{--tw-border-opacity: 1;border-color:rgb(240 0 0 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(240 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ui-btn.dark,.ui-alert.dark{--tw-border-opacity: 1;border-color:rgb(54 54 54 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(54 54 54 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ui-btn.light,.ui-alert.light{--tw-bg-opacity: 1;background-color:rgb(241 241 241 / var(--tw-bg-opacity))}.ui-btn:disabled,.ui-alert:disabled{--tw-border-opacity: 1;border-color:rgb(241 241 241 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(241 241 241 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ui-field .input>*{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(54 54 54 / var(--tw-text-opacity))}:is(.dark .ui-field .input>*){background-color:#ffffff1a;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.ui-field .description{color:#36363680}.ui-field.error .label,.ui-field.error .input,.ui-field.error .message{--tw-border-opacity: 1;border-color:rgb(240 0 0 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(240 0 0 / var(--tw-text-opacity))}.ui-field.disabled{color:#3636364d}.ui-field.disabled .input>*{--tw-bg-opacity: 1;background-color:rgb(241 241 241 / var(--tw-bg-opacity));color:#3636364d}.ui-btn{outline:2px solid transparent;outline-offset:2px}.ui-btn:hover:not(:active){--tw-bg-opacity: .8 }.ui-btn,.ui-alert,.ui-field .input,.ui-field .input>*,.ui-card{border-radius:.25rem}.ui-pagination .pages .active{--tw-bg-opacity: 1;background-color:rgb(109 107 255 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))} diff --git a/docs/assets/Color-6VNJS4EI-a765f4c9.js b/docs/assets/Color-6VNJS4EI-a765f4c9.js new file mode 100644 index 0000000..96b61fa --- /dev/null +++ b/docs/assets/Color-6VNJS4EI-a765f4c9.js @@ -0,0 +1,2 @@ +import{R as h,r as b,n as M,e as ue,T as Me,F as Ce,I as $e,g as Ne}from"./index-4d70ff75.js";import{g as fe}from"./_commonjsHelpers-725317a4.js";import{_ as Oe,i as J,f as Ie}from"./index-f073aaf1.js";import"./iframe-f8443767.js";import"../sb-preview/runtime.js";import"./index-d37d4223.js";import"./index-356e4a49.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=0/0,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{icon:"markup",onClick:k}):null)},un=tn;export{tn as ColorControl,un as default}; +//# sourceMappingURL=Color-6VNJS4EI-a765f4c9.js.map diff --git a/docs/assets/Color-6VNJS4EI-a765f4c9.js.map b/docs/assets/Color-6VNJS4EI-a765f4c9.js.map new file mode 100644 index 0000000..38283b9 --- /dev/null +++ b/docs/assets/Color-6VNJS4EI-a765f4c9.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Color-6VNJS4EI-a765f4c9.js","sources":["../../node_modules/react-colorful/dist/index.mjs","../../node_modules/color-name/index.js","../../node_modules/color-convert/conversions.js","../../node_modules/color-convert/route.js","../../node_modules/color-convert/index.js","../../node_modules/lodash/now.js","../../node_modules/lodash/_trimmedEndIndex.js","../../node_modules/lodash/_baseTrim.js","../../node_modules/lodash/toNumber.js","../../node_modules/lodash/debounce.js","../../node_modules/lodash/throttle.js","../../node_modules/@storybook/blocks/dist/Color-6VNJS4EI.mjs"],"sourcesContent":["import e,{useRef as r,useMemo as t,useEffect as n,useState as o,useCallback as a,useLayoutEffect as l}from\"react\";function u(){return(u=Object.assign||function(e){for(var r=1;r=0||(o[t]=e[t]);return o}function i(e){var t=r(e),n=r(function(e){t.current&&t.current(e)});return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?\"touchmove\":\"mousemove\",e),a(n?\"touchend\":\"mouseup\",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]},[p,g]),C=x[0],E=x[1],H=x[2];return n(function(){return H},[H]),e.createElement(\"div\",u({},s,{onTouchStart:C,onMouseDown:C,className:\"react-colorful__interactive\",ref:m,onKeyDown:E,tabIndex:0,role:\"slider\"}))}),g=function(e){return e.filter(Boolean).join(\" \")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g([\"react-colorful__pointer\",r.className]);return e.createElement(\"div\",{className:l,style:{top:100*a+\"%\",left:100*n+\"%\"}},e.createElement(\"div\",{className:\"react-colorful__pointer-fill\",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function(e){return L(C(e))},C=function(e){return\"#\"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?b(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?b(parseInt(e.substring(6,8),16)/255,2):1}},E=function(e,r){return void 0===r&&(r=\"deg\"),Number(e)*(_[r]||1)},H=function(e){var r=/hsla?\\(?\\s*(-?\\d*\\.?\\d+)(deg|rad|grad|turn)?[,\\s]+(-?\\d*\\.?\\d+)%?[,\\s]+(-?\\d*\\.?\\d+)%?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i.exec(e);return r?N({h:E(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},M=H,N=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},w=function(e){return K(I(e))},y=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},q=function(e){var r=y(e);return\"hsl(\"+r.h+\", \"+r.s+\"%, \"+r.l+\"%)\"},k=function(e){var r=y(e);return\"hsla(\"+r.h+\", \"+r.s+\"%, \"+r.l+\"%, \"+r.a+\")\"},I=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},O=function(e){var r=/hsva?\\(?\\s*(-?\\d*\\.?\\d+)(deg|rad|grad|turn)?[,\\s]+(-?\\d*\\.?\\d+)%?[,\\s]+(-?\\d*\\.?\\d+)%?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i.exec(e);return r?A({h:E(r[1],r[2]),s:Number(r[3]),v:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},j=O,z=function(e){var r=/rgba?\\(?\\s*(-?\\d*\\.?\\d+)(%)?[,\\s]+(-?\\d*\\.?\\d+)(%)?[,\\s]+(-?\\d*\\.?\\d+)(%)?,?\\s*[/\\s]*(-?\\d*\\.?\\d+)?(%)?\\s*\\)?/i.exec(e);return r?L({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},B=z,D=function(e){var r=e.toString(16);return r.length<2?\"0\"+r:r},K=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=o<1?D(b(255*o)):\"\";return\"#\"+D(r)+D(t)+D(n)+a},L=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},A=function(e){return{h:b(e.h),s:b(e.s),v:b(e.v),a:b(e.a,2)}},S=e.memo(function(r){var t=r.hue,n=r.onChange,o=g([\"react-colorful__hue\",r.className]);return e.createElement(\"div\",{className:o},e.createElement(m,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:s(t+360*e.left,0,360)})},\"aria-label\":\"Hue\",\"aria-valuenow\":b(t),\"aria-valuemax\":\"360\",\"aria-valuemin\":\"0\"},e.createElement(p,{className:\"react-colorful__hue-pointer\",left:t/360,color:q({h:t,s:100,v:100,a:1})})))}),T=e.memo(function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:q({h:t.h,s:100,v:100,a:1})};return e.createElement(\"div\",{className:\"react-colorful__saturation\",style:o},e.createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},\"aria-label\":\"Color\",\"aria-valuetext\":\"Saturation \"+b(t.s)+\"%, Brightness \"+b(t.v)+\"%\"},e.createElement(p,{className:\"react-colorful__saturation-pointer\",top:1-t.v/100,left:t.s/100,color:q(t)})))}),F=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},P=function(e,r){return e.replace(/\\s/g,\"\")===r.replace(/\\s/g,\"\")},X=function(e,r){return e.toLowerCase()===r.toLowerCase()||F(C(e),C(r))};function Y(e,t,l){var u=i(l),c=o(function(){return e.toHsva(t)}),s=c[0],f=c[1],v=r({color:t,hsva:s});n(function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}},[t,e]),n(function(){var r;F(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))},[s,e,u]);var d=a(function(e){f(function(r){return Object.assign({},r,e)})},[]);return[s,d]}var R,V=\"undefined\"!=typeof window?l:n,$=function(){return R||(\"undefined\"!=typeof __webpack_nonce__?__webpack_nonce__:void 0)},G=function(e){R=e},J=new Map,Q=function(e){V(function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!J.has(r)){var t=r.createElement(\"style\");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:\"\";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\\'data:image/svg+xml;charset=utf-8,\\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',J.set(r,t);var n=$();n&&t.setAttribute(\"nonce\",n),r.head.appendChild(t)}},[])},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,[\"className\",\"colorModel\",\"color\",\"onChange\"]),f=r(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g([\"react-colorful\",n]);return e.createElement(\"div\",u({},s,{ref:f,className:m}),e.createElement(T,{hsva:d,onChange:h}),e.createElement(S,{hue:d.h,onChange:h,className:\"react-colorful__last-control\"}))},W={defaultColor:\"000\",toHsva:x,fromHsva:function(e){return w({h:e.h,s:e.s,v:e.v,a:1})},equal:X},Z=function(r){return e.createElement(U,u({},r,{colorModel:W}))},ee=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:\"linear-gradient(90deg, \"+k(Object.assign({},n,{a:0}))+\", \"+k(Object.assign({},n,{a:1}))+\")\"},l=g([\"react-colorful__alpha\",t]),u=b(100*n.a);return e.createElement(\"div\",{className:l},e.createElement(\"div\",{className:\"react-colorful__alpha-gradient\",style:a}),e.createElement(m,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:s(n.a+e.left)})},\"aria-label\":\"Alpha\",\"aria-valuetext\":u+\"%\",\"aria-valuenow\":u,\"aria-valuemin\":\"0\",\"aria-valuemax\":\"100\"},e.createElement(p,{className:\"react-colorful__alpha-pointer\",left:n.a,color:k(n)})))},re=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,[\"className\",\"colorModel\",\"color\",\"onChange\"]),f=r(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g([\"react-colorful\",n]);return e.createElement(\"div\",u({},s,{ref:f,className:m}),e.createElement(T,{hsva:d,onChange:h}),e.createElement(S,{hue:d.h,onChange:h}),e.createElement(ee,{hsva:d,onChange:h,className:\"react-colorful__last-control\"}))},te={defaultColor:\"0001\",toHsva:x,fromHsva:w,equal:X},ne=function(r){return e.createElement(re,u({},r,{colorModel:te}))},oe={defaultColor:{h:0,s:0,l:0,a:1},toHsva:N,fromHsva:y,equal:F},ae=function(r){return e.createElement(re,u({},r,{colorModel:oe}))},le={defaultColor:\"hsla(0, 0%, 0%, 1)\",toHsva:H,fromHsva:k,equal:P},ue=function(r){return e.createElement(re,u({},r,{colorModel:le}))},ce={defaultColor:{h:0,s:0,l:0},toHsva:function(e){return N({h:e.h,s:e.s,l:e.l,a:1})},fromHsva:function(e){return{h:(r=y(e)).h,s:r.s,l:r.l};var r},equal:F},ie=function(r){return e.createElement(U,u({},r,{colorModel:ce}))},se={defaultColor:\"hsl(0, 0%, 0%)\",toHsva:M,fromHsva:q,equal:P},fe=function(r){return e.createElement(U,u({},r,{colorModel:se}))},ve={defaultColor:{h:0,s:0,v:0,a:1},toHsva:function(e){return e},fromHsva:A,equal:F},de=function(r){return e.createElement(re,u({},r,{colorModel:ve}))},he={defaultColor:\"hsva(0, 0%, 0%, 1)\",toHsva:O,fromHsva:function(e){var r=A(e);return\"hsva(\"+r.h+\", \"+r.s+\"%, \"+r.v+\"%, \"+r.a+\")\"},equal:P},me=function(r){return e.createElement(re,u({},r,{colorModel:he}))},ge={defaultColor:{h:0,s:0,v:0},toHsva:function(e){return{h:e.h,s:e.s,v:e.v,a:1}},fromHsva:function(e){var r=A(e);return{h:r.h,s:r.s,v:r.v}},equal:F},pe=function(r){return e.createElement(U,u({},r,{colorModel:ge}))},be={defaultColor:\"hsv(0, 0%, 0%)\",toHsva:j,fromHsva:function(e){var r=A(e);return\"hsv(\"+r.h+\", \"+r.s+\"%, \"+r.v+\"%)\"},equal:P},_e=function(r){return e.createElement(U,u({},r,{colorModel:be}))},xe={defaultColor:{r:0,g:0,b:0,a:1},toHsva:L,fromHsva:I,equal:F},Ce=function(r){return e.createElement(re,u({},r,{colorModel:xe}))},Ee={defaultColor:\"rgba(0, 0, 0, 1)\",toHsva:z,fromHsva:function(e){var r=I(e);return\"rgba(\"+r.r+\", \"+r.g+\", \"+r.b+\", \"+r.a+\")\"},equal:P},He=function(r){return e.createElement(re,u({},r,{colorModel:Ee}))},Me={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return L({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(r=I(e)).r,g:r.g,b:r.b};var r},equal:F},Ne=function(r){return e.createElement(U,u({},r,{colorModel:Me}))},we={defaultColor:\"rgb(0, 0, 0)\",toHsva:B,fromHsva:function(e){var r=I(e);return\"rgb(\"+r.r+\", \"+r.g+\", \"+r.b+\")\"},equal:P},ye=function(r){return e.createElement(U,u({},r,{colorModel:we}))},qe=/^#?([0-9A-F]{3,8})$/i,ke=function(r){var t=r.color,l=void 0===t?\"\":t,s=r.onChange,f=r.onBlur,v=r.escape,d=r.validate,h=r.format,m=r.process,g=c(r,[\"color\",\"onChange\",\"onBlur\",\"escape\",\"validate\",\"format\",\"process\"]),p=o(function(){return v(l)}),b=p[0],_=p[1],x=i(s),C=i(f),E=a(function(e){var r=v(e.target.value);_(r),d(r)&&x(m?m(r):r)},[v,m,d,x]),H=a(function(e){d(e.target.value)||_(v(l)),C(e)},[l,v,d,C]);return n(function(){_(v(l))},[l,v]),e.createElement(\"input\",u({},g,{value:h?h(b):b,spellCheck:\"false\",onChange:E,onBlur:H}))},Ie=function(e){return\"#\"+e},Oe=function(r){var t=r.prefixed,n=r.alpha,o=c(r,[\"prefixed\",\"alpha\"]),l=a(function(e){return e.replace(/([^0-9A-F]+)/gi,\"\").substring(0,n?8:6)},[n]),i=a(function(e){return function(e,r){var t=qe.exec(e),n=t?t[1].length:0;return 3===n||6===n||!!r&&4===n||!!r&&8===n}(e,n)},[n]);return e.createElement(ke,u({},o,{escape:l,format:t?Ie:void 0,process:Ie,validate:i}))};export{ne as HexAlphaColorPicker,Oe as HexColorInput,Z as HexColorPicker,ie as HslColorPicker,fe as HslStringColorPicker,ae as HslaColorPicker,ue as HslaStringColorPicker,pe as HsvColorPicker,_e as HsvStringColorPicker,de as HsvaColorPicker,me as HsvaStringColorPicker,Ne as RgbColorPicker,ye as RgbStringColorPicker,Ce as RgbaColorPicker,He as RgbaStringColorPicker,G as setNonce};\n//# sourceMappingURL=index.module.js.map\n","'use strict'\r\n\r\nmodule.exports = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\r\n","/* MIT license */\n/* eslint-disable no-mixed-operators */\nconst cssKeywords = require('color-name');\n\n// NOTE: conversions should only return primitive values (i.e. arrays, or\n// values that give correct `typeof` results).\n// do not use box values types (i.e. Number(), String(), etc.)\n\nconst reverseKeywords = {};\nfor (const key of Object.keys(cssKeywords)) {\n\treverseKeywords[cssKeywords[key]] = key;\n}\n\nconst convert = {\n\trgb: {channels: 3, labels: 'rgb'},\n\thsl: {channels: 3, labels: 'hsl'},\n\thsv: {channels: 3, labels: 'hsv'},\n\thwb: {channels: 3, labels: 'hwb'},\n\tcmyk: {channels: 4, labels: 'cmyk'},\n\txyz: {channels: 3, labels: 'xyz'},\n\tlab: {channels: 3, labels: 'lab'},\n\tlch: {channels: 3, labels: 'lch'},\n\thex: {channels: 1, labels: ['hex']},\n\tkeyword: {channels: 1, labels: ['keyword']},\n\tansi16: {channels: 1, labels: ['ansi16']},\n\tansi256: {channels: 1, labels: ['ansi256']},\n\thcg: {channels: 3, labels: ['h', 'c', 'g']},\n\tapple: {channels: 3, labels: ['r16', 'g16', 'b16']},\n\tgray: {channels: 1, labels: ['gray']}\n};\n\nmodule.exports = convert;\n\n// Hide .channels and .labels properties\nfor (const model of Object.keys(convert)) {\n\tif (!('channels' in convert[model])) {\n\t\tthrow new Error('missing channels property: ' + model);\n\t}\n\n\tif (!('labels' in convert[model])) {\n\t\tthrow new Error('missing channel labels property: ' + model);\n\t}\n\n\tif (convert[model].labels.length !== convert[model].channels) {\n\t\tthrow new Error('channel and label counts mismatch: ' + model);\n\t}\n\n\tconst {channels, labels} = convert[model];\n\tdelete convert[model].channels;\n\tdelete convert[model].labels;\n\tObject.defineProperty(convert[model], 'channels', {value: channels});\n\tObject.defineProperty(convert[model], 'labels', {value: labels});\n}\n\nconvert.rgb.hsl = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst min = Math.min(r, g, b);\n\tconst max = Math.max(r, g, b);\n\tconst delta = max - min;\n\tlet h;\n\tlet s;\n\n\tif (max === min) {\n\t\th = 0;\n\t} else if (r === max) {\n\t\th = (g - b) / delta;\n\t} else if (g === max) {\n\t\th = 2 + (b - r) / delta;\n\t} else if (b === max) {\n\t\th = 4 + (r - g) / delta;\n\t}\n\n\th = Math.min(h * 60, 360);\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tconst l = (min + max) / 2;\n\n\tif (max === min) {\n\t\ts = 0;\n\t} else if (l <= 0.5) {\n\t\ts = delta / (max + min);\n\t} else {\n\t\ts = delta / (2 - max - min);\n\t}\n\n\treturn [h, s * 100, l * 100];\n};\n\nconvert.rgb.hsv = function (rgb) {\n\tlet rdif;\n\tlet gdif;\n\tlet bdif;\n\tlet h;\n\tlet s;\n\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst v = Math.max(r, g, b);\n\tconst diff = v - Math.min(r, g, b);\n\tconst diffc = function (c) {\n\t\treturn (v - c) / 6 / diff + 1 / 2;\n\t};\n\n\tif (diff === 0) {\n\t\th = 0;\n\t\ts = 0;\n\t} else {\n\t\ts = diff / v;\n\t\trdif = diffc(r);\n\t\tgdif = diffc(g);\n\t\tbdif = diffc(b);\n\n\t\tif (r === v) {\n\t\t\th = bdif - gdif;\n\t\t} else if (g === v) {\n\t\t\th = (1 / 3) + rdif - bdif;\n\t\t} else if (b === v) {\n\t\t\th = (2 / 3) + gdif - rdif;\n\t\t}\n\n\t\tif (h < 0) {\n\t\t\th += 1;\n\t\t} else if (h > 1) {\n\t\t\th -= 1;\n\t\t}\n\t}\n\n\treturn [\n\t\th * 360,\n\t\ts * 100,\n\t\tv * 100\n\t];\n};\n\nconvert.rgb.hwb = function (rgb) {\n\tconst r = rgb[0];\n\tconst g = rgb[1];\n\tlet b = rgb[2];\n\tconst h = convert.rgb.hsl(rgb)[0];\n\tconst w = 1 / 255 * Math.min(r, Math.min(g, b));\n\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\n\treturn [h, w * 100, b * 100];\n};\n\nconvert.rgb.cmyk = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\n\tconst k = Math.min(1 - r, 1 - g, 1 - b);\n\tconst c = (1 - r - k) / (1 - k) || 0;\n\tconst m = (1 - g - k) / (1 - k) || 0;\n\tconst y = (1 - b - k) / (1 - k) || 0;\n\n\treturn [c * 100, m * 100, y * 100, k * 100];\n};\n\nfunction comparativeDistance(x, y) {\n\t/*\n\t\tSee https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance\n\t*/\n\treturn (\n\t\t((x[0] - y[0]) ** 2) +\n\t\t((x[1] - y[1]) ** 2) +\n\t\t((x[2] - y[2]) ** 2)\n\t);\n}\n\nconvert.rgb.keyword = function (rgb) {\n\tconst reversed = reverseKeywords[rgb];\n\tif (reversed) {\n\t\treturn reversed;\n\t}\n\n\tlet currentClosestDistance = Infinity;\n\tlet currentClosestKeyword;\n\n\tfor (const keyword of Object.keys(cssKeywords)) {\n\t\tconst value = cssKeywords[keyword];\n\n\t\t// Compute comparative distance\n\t\tconst distance = comparativeDistance(rgb, value);\n\n\t\t// Check if its less, if so set as closest\n\t\tif (distance < currentClosestDistance) {\n\t\t\tcurrentClosestDistance = distance;\n\t\t\tcurrentClosestKeyword = keyword;\n\t\t}\n\t}\n\n\treturn currentClosestKeyword;\n};\n\nconvert.keyword.rgb = function (keyword) {\n\treturn cssKeywords[keyword];\n};\n\nconvert.rgb.xyz = function (rgb) {\n\tlet r = rgb[0] / 255;\n\tlet g = rgb[1] / 255;\n\tlet b = rgb[2] / 255;\n\n\t// Assume sRGB\n\tr = r > 0.04045 ? (((r + 0.055) / 1.055) ** 2.4) : (r / 12.92);\n\tg = g > 0.04045 ? (((g + 0.055) / 1.055) ** 2.4) : (g / 12.92);\n\tb = b > 0.04045 ? (((b + 0.055) / 1.055) ** 2.4) : (b / 12.92);\n\n\tconst x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n\tconst y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n\tconst z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n\treturn [x * 100, y * 100, z * 100];\n};\n\nconvert.rgb.lab = function (rgb) {\n\tconst xyz = convert.rgb.xyz(rgb);\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);\n\n\tconst l = (116 * y) - 16;\n\tconst a = 500 * (x - y);\n\tconst b = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.hsl.rgb = function (hsl) {\n\tconst h = hsl[0] / 360;\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\tlet t2;\n\tlet t3;\n\tlet val;\n\n\tif (s === 0) {\n\t\tval = l * 255;\n\t\treturn [val, val, val];\n\t}\n\n\tif (l < 0.5) {\n\t\tt2 = l * (1 + s);\n\t} else {\n\t\tt2 = l + s - l * s;\n\t}\n\n\tconst t1 = 2 * l - t2;\n\n\tconst rgb = [0, 0, 0];\n\tfor (let i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) {\n\t\t\tt3++;\n\t\t}\n\n\t\tif (t3 > 1) {\n\t\t\tt3--;\n\t\t}\n\n\t\tif (6 * t3 < 1) {\n\t\t\tval = t1 + (t2 - t1) * 6 * t3;\n\t\t} else if (2 * t3 < 1) {\n\t\t\tval = t2;\n\t\t} else if (3 * t3 < 2) {\n\t\t\tval = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\t} else {\n\t\t\tval = t1;\n\t\t}\n\n\t\trgb[i] = val * 255;\n\t}\n\n\treturn rgb;\n};\n\nconvert.hsl.hsv = function (hsl) {\n\tconst h = hsl[0];\n\tlet s = hsl[1] / 100;\n\tlet l = hsl[2] / 100;\n\tlet smin = s;\n\tconst lmin = Math.max(l, 0.01);\n\n\tl *= 2;\n\ts *= (l <= 1) ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tconst v = (l + s) / 2;\n\tconst sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);\n\n\treturn [h, sv * 100, v * 100];\n};\n\nconvert.hsv.rgb = function (hsv) {\n\tconst h = hsv[0] / 60;\n\tconst s = hsv[1] / 100;\n\tlet v = hsv[2] / 100;\n\tconst hi = Math.floor(h) % 6;\n\n\tconst f = h - Math.floor(h);\n\tconst p = 255 * v * (1 - s);\n\tconst q = 255 * v * (1 - (s * f));\n\tconst t = 255 * v * (1 - (s * (1 - f)));\n\tv *= 255;\n\n\tswitch (hi) {\n\t\tcase 0:\n\t\t\treturn [v, t, p];\n\t\tcase 1:\n\t\t\treturn [q, v, p];\n\t\tcase 2:\n\t\t\treturn [p, v, t];\n\t\tcase 3:\n\t\t\treturn [p, q, v];\n\t\tcase 4:\n\t\t\treturn [t, p, v];\n\t\tcase 5:\n\t\t\treturn [v, p, q];\n\t}\n};\n\nconvert.hsv.hsl = function (hsv) {\n\tconst h = hsv[0];\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\tconst vmin = Math.max(v, 0.01);\n\tlet sl;\n\tlet l;\n\n\tl = (2 - s) * v;\n\tconst lmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= (lmin <= 1) ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\n\treturn [h, sl * 100, l * 100];\n};\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nconvert.hwb.rgb = function (hwb) {\n\tconst h = hwb[0] / 360;\n\tlet wh = hwb[1] / 100;\n\tlet bl = hwb[2] / 100;\n\tconst ratio = wh + bl;\n\tlet f;\n\n\t// Wh + bl cant be > 1\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\n\tconst i = Math.floor(6 * h);\n\tconst v = 1 - bl;\n\tf = 6 * h - i;\n\n\tif ((i & 0x01) !== 0) {\n\t\tf = 1 - f;\n\t}\n\n\tconst n = wh + f * (v - wh); // Linear interpolation\n\n\tlet r;\n\tlet g;\n\tlet b;\n\t/* eslint-disable max-statements-per-line,no-multi-spaces */\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0: r = v; g = n; b = wh; break;\n\t\tcase 1: r = n; g = v; b = wh; break;\n\t\tcase 2: r = wh; g = v; b = n; break;\n\t\tcase 3: r = wh; g = n; b = v; break;\n\t\tcase 4: r = n; g = wh; b = v; break;\n\t\tcase 5: r = v; g = wh; b = n; break;\n\t}\n\t/* eslint-enable max-statements-per-line,no-multi-spaces */\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.cmyk.rgb = function (cmyk) {\n\tconst c = cmyk[0] / 100;\n\tconst m = cmyk[1] / 100;\n\tconst y = cmyk[2] / 100;\n\tconst k = cmyk[3] / 100;\n\n\tconst r = 1 - Math.min(1, c * (1 - k) + k);\n\tconst g = 1 - Math.min(1, m * (1 - k) + k);\n\tconst b = 1 - Math.min(1, y * (1 - k) + k);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.rgb = function (xyz) {\n\tconst x = xyz[0] / 100;\n\tconst y = xyz[1] / 100;\n\tconst z = xyz[2] / 100;\n\tlet r;\n\tlet g;\n\tlet b;\n\n\tr = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n\tg = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n\tb = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n\t// Assume sRGB\n\tr = r > 0.0031308\n\t\t? ((1.055 * (r ** (1.0 / 2.4))) - 0.055)\n\t\t: r * 12.92;\n\n\tg = g > 0.0031308\n\t\t? ((1.055 * (g ** (1.0 / 2.4))) - 0.055)\n\t\t: g * 12.92;\n\n\tb = b > 0.0031308\n\t\t? ((1.055 * (b ** (1.0 / 2.4))) - 0.055)\n\t\t: b * 12.92;\n\n\tr = Math.min(Math.max(0, r), 1);\n\tg = Math.min(Math.max(0, g), 1);\n\tb = Math.min(Math.max(0, b), 1);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.lab = function (xyz) {\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);\n\n\tconst l = (116 * y) - 16;\n\tconst a = 500 * (x - y);\n\tconst b = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.lab.xyz = function (lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet x;\n\tlet y;\n\tlet z;\n\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\n\tconst y2 = y ** 3;\n\tconst x2 = x ** 3;\n\tconst z2 = z ** 3;\n\ty = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\n\treturn [x, y, z];\n};\n\nconvert.lab.lch = function (lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet h;\n\n\tconst hr = Math.atan2(b, a);\n\th = hr * 360 / 2 / Math.PI;\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tconst c = Math.sqrt(a * a + b * b);\n\n\treturn [l, c, h];\n};\n\nconvert.lch.lab = function (lch) {\n\tconst l = lch[0];\n\tconst c = lch[1];\n\tconst h = lch[2];\n\n\tconst hr = h / 360 * 2 * Math.PI;\n\tconst a = c * Math.cos(hr);\n\tconst b = c * Math.sin(hr);\n\n\treturn [l, a, b];\n};\n\nconvert.rgb.ansi16 = function (args, saturation = null) {\n\tconst [r, g, b] = args;\n\tlet value = saturation === null ? convert.rgb.hsv(args)[2] : saturation; // Hsv -> ansi16 optimization\n\n\tvalue = Math.round(value / 50);\n\n\tif (value === 0) {\n\t\treturn 30;\n\t}\n\n\tlet ansi = 30\n\t\t+ ((Math.round(b / 255) << 2)\n\t\t| (Math.round(g / 255) << 1)\n\t\t| Math.round(r / 255));\n\n\tif (value === 2) {\n\t\tansi += 60;\n\t}\n\n\treturn ansi;\n};\n\nconvert.hsv.ansi16 = function (args) {\n\t// Optimization here; we already know the value and don't need to get\n\t// it converted for us.\n\treturn convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n};\n\nconvert.rgb.ansi256 = function (args) {\n\tconst r = args[0];\n\tconst g = args[1];\n\tconst b = args[2];\n\n\t// We use the extended greyscale palette here, with the exception of\n\t// black and white. normal palette only has 4 greyscale shades.\n\tif (r === g && g === b) {\n\t\tif (r < 8) {\n\t\t\treturn 16;\n\t\t}\n\n\t\tif (r > 248) {\n\t\t\treturn 231;\n\t\t}\n\n\t\treturn Math.round(((r - 8) / 247) * 24) + 232;\n\t}\n\n\tconst ansi = 16\n\t\t+ (36 * Math.round(r / 255 * 5))\n\t\t+ (6 * Math.round(g / 255 * 5))\n\t\t+ Math.round(b / 255 * 5);\n\n\treturn ansi;\n};\n\nconvert.ansi16.rgb = function (args) {\n\tlet color = args % 10;\n\n\t// Handle greyscale\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) {\n\t\t\tcolor += 3.5;\n\t\t}\n\n\t\tcolor = color / 10.5 * 255;\n\n\t\treturn [color, color, color];\n\t}\n\n\tconst mult = (~~(args > 50) + 1) * 0.5;\n\tconst r = ((color & 1) * mult) * 255;\n\tconst g = (((color >> 1) & 1) * mult) * 255;\n\tconst b = (((color >> 2) & 1) * mult) * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.ansi256.rgb = function (args) {\n\t// Handle greyscale\n\tif (args >= 232) {\n\t\tconst c = (args - 232) * 10 + 8;\n\t\treturn [c, c, c];\n\t}\n\n\targs -= 16;\n\n\tlet rem;\n\tconst r = Math.floor(args / 36) / 5 * 255;\n\tconst g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n\tconst b = (rem % 6) / 5 * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hex = function (args) {\n\tconst integer = ((Math.round(args[0]) & 0xFF) << 16)\n\t\t+ ((Math.round(args[1]) & 0xFF) << 8)\n\t\t+ (Math.round(args[2]) & 0xFF);\n\n\tconst string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.hex.rgb = function (args) {\n\tconst match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);\n\tif (!match) {\n\t\treturn [0, 0, 0];\n\t}\n\n\tlet colorString = match[0];\n\n\tif (match[0].length === 3) {\n\t\tcolorString = colorString.split('').map(char => {\n\t\t\treturn char + char;\n\t\t}).join('');\n\t}\n\n\tconst integer = parseInt(colorString, 16);\n\tconst r = (integer >> 16) & 0xFF;\n\tconst g = (integer >> 8) & 0xFF;\n\tconst b = integer & 0xFF;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hcg = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst max = Math.max(Math.max(r, g), b);\n\tconst min = Math.min(Math.min(r, g), b);\n\tconst chroma = (max - min);\n\tlet grayscale;\n\tlet hue;\n\n\tif (chroma < 1) {\n\t\tgrayscale = min / (1 - chroma);\n\t} else {\n\t\tgrayscale = 0;\n\t}\n\n\tif (chroma <= 0) {\n\t\thue = 0;\n\t} else\n\tif (max === r) {\n\t\thue = ((g - b) / chroma) % 6;\n\t} else\n\tif (max === g) {\n\t\thue = 2 + (b - r) / chroma;\n\t} else {\n\t\thue = 4 + (r - g) / chroma;\n\t}\n\n\thue /= 6;\n\thue %= 1;\n\n\treturn [hue * 360, chroma * 100, grayscale * 100];\n};\n\nconvert.hsl.hcg = function (hsl) {\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\n\tconst c = l < 0.5 ? (2.0 * s * l) : (2.0 * s * (1.0 - l));\n\n\tlet f = 0;\n\tif (c < 1.0) {\n\t\tf = (l - 0.5 * c) / (1.0 - c);\n\t}\n\n\treturn [hsl[0], c * 100, f * 100];\n};\n\nconvert.hsv.hcg = function (hsv) {\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\n\tconst c = s * v;\n\tlet f = 0;\n\n\tif (c < 1.0) {\n\t\tf = (v - c) / (1 - c);\n\t}\n\n\treturn [hsv[0], c * 100, f * 100];\n};\n\nconvert.hcg.rgb = function (hcg) {\n\tconst h = hcg[0] / 360;\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tif (c === 0.0) {\n\t\treturn [g * 255, g * 255, g * 255];\n\t}\n\n\tconst pure = [0, 0, 0];\n\tconst hi = (h % 1) * 6;\n\tconst v = hi % 1;\n\tconst w = 1 - v;\n\tlet mg = 0;\n\n\t/* eslint-disable max-statements-per-line */\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1; pure[1] = v; pure[2] = 0; break;\n\t\tcase 1:\n\t\t\tpure[0] = w; pure[1] = 1; pure[2] = 0; break;\n\t\tcase 2:\n\t\t\tpure[0] = 0; pure[1] = 1; pure[2] = v; break;\n\t\tcase 3:\n\t\t\tpure[0] = 0; pure[1] = w; pure[2] = 1; break;\n\t\tcase 4:\n\t\t\tpure[0] = v; pure[1] = 0; pure[2] = 1; break;\n\t\tdefault:\n\t\t\tpure[0] = 1; pure[1] = 0; pure[2] = w;\n\t}\n\t/* eslint-enable max-statements-per-line */\n\n\tmg = (1.0 - c) * g;\n\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\n\nconvert.hcg.hsv = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tconst v = c + g * (1.0 - c);\n\tlet f = 0;\n\n\tif (v > 0.0) {\n\t\tf = c / v;\n\t}\n\n\treturn [hcg[0], f * 100, v * 100];\n};\n\nconvert.hcg.hsl = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tconst l = g * (1.0 - c) + 0.5 * c;\n\tlet s = 0;\n\n\tif (l > 0.0 && l < 0.5) {\n\t\ts = c / (2 * l);\n\t} else\n\tif (l >= 0.5 && l < 1.0) {\n\t\ts = c / (2 * (1 - l));\n\t}\n\n\treturn [hcg[0], s * 100, l * 100];\n};\n\nconvert.hcg.hwb = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\tconst v = c + g * (1.0 - c);\n\treturn [hcg[0], (v - c) * 100, (1 - v) * 100];\n};\n\nconvert.hwb.hcg = function (hwb) {\n\tconst w = hwb[1] / 100;\n\tconst b = hwb[2] / 100;\n\tconst v = 1 - b;\n\tconst c = v - w;\n\tlet g = 0;\n\n\tif (c < 1) {\n\t\tg = (v - c) / (1 - c);\n\t}\n\n\treturn [hwb[0], c * 100, g * 100];\n};\n\nconvert.apple.rgb = function (apple) {\n\treturn [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];\n};\n\nconvert.rgb.apple = function (rgb) {\n\treturn [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];\n};\n\nconvert.gray.rgb = function (args) {\n\treturn [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n};\n\nconvert.gray.hsl = function (args) {\n\treturn [0, 0, args[0]];\n};\n\nconvert.gray.hsv = convert.gray.hsl;\n\nconvert.gray.hwb = function (gray) {\n\treturn [0, 100, gray[0]];\n};\n\nconvert.gray.cmyk = function (gray) {\n\treturn [0, 0, 0, gray[0]];\n};\n\nconvert.gray.lab = function (gray) {\n\treturn [gray[0], 0, 0];\n};\n\nconvert.gray.hex = function (gray) {\n\tconst val = Math.round(gray[0] / 100 * 255) & 0xFF;\n\tconst integer = (val << 16) + (val << 8) + val;\n\n\tconst string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.rgb.gray = function (rgb) {\n\tconst val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n\treturn [val / 255 * 100];\n};\n","const conversions = require('./conversions');\n\n/*\n\tThis function routes a model to all other models.\n\n\tall functions that are routed have a property `.conversion` attached\n\tto the returned synthetic function. This property is an array\n\tof strings, each with the steps in between the 'from' and 'to'\n\tcolor models (inclusive).\n\n\tconversions that are not possible simply are not included.\n*/\n\nfunction buildGraph() {\n\tconst graph = {};\n\t// https://jsperf.com/object-keys-vs-for-in-with-closure/3\n\tconst models = Object.keys(conversions);\n\n\tfor (let len = models.length, i = 0; i < len; i++) {\n\t\tgraph[models[i]] = {\n\t\t\t// http://jsperf.com/1-vs-infinity\n\t\t\t// micro-opt, but this is simple.\n\t\t\tdistance: -1,\n\t\t\tparent: null\n\t\t};\n\t}\n\n\treturn graph;\n}\n\n// https://en.wikipedia.org/wiki/Breadth-first_search\nfunction deriveBFS(fromModel) {\n\tconst graph = buildGraph();\n\tconst queue = [fromModel]; // Unshift -> queue -> pop\n\n\tgraph[fromModel].distance = 0;\n\n\twhile (queue.length) {\n\t\tconst current = queue.pop();\n\t\tconst adjacents = Object.keys(conversions[current]);\n\n\t\tfor (let len = adjacents.length, i = 0; i < len; i++) {\n\t\t\tconst adjacent = adjacents[i];\n\t\t\tconst node = graph[adjacent];\n\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn graph;\n}\n\nfunction link(from, to) {\n\treturn function (args) {\n\t\treturn to(from(args));\n\t};\n}\n\nfunction wrapConversion(toModel, graph) {\n\tconst path = [graph[toModel].parent, toModel];\n\tlet fn = conversions[graph[toModel].parent][toModel];\n\n\tlet cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\n\tfn.conversion = path;\n\treturn fn;\n}\n\nmodule.exports = function (fromModel) {\n\tconst graph = deriveBFS(fromModel);\n\tconst conversion = {};\n\n\tconst models = Object.keys(graph);\n\tfor (let len = models.length, i = 0; i < len; i++) {\n\t\tconst toModel = models[i];\n\t\tconst node = graph[toModel];\n\n\t\tif (node.parent === null) {\n\t\t\t// No possible conversion, or this node is the source model.\n\t\t\tcontinue;\n\t\t}\n\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\n\treturn conversion;\n};\n\n","const conversions = require('./conversions');\nconst route = require('./route');\n\nconst convert = {};\n\nconst models = Object.keys(conversions);\n\nfunction wrapRaw(fn) {\n\tconst wrappedFn = function (...args) {\n\t\tconst arg0 = args[0];\n\t\tif (arg0 === undefined || arg0 === null) {\n\t\t\treturn arg0;\n\t\t}\n\n\t\tif (arg0.length > 1) {\n\t\t\targs = arg0;\n\t\t}\n\n\t\treturn fn(args);\n\t};\n\n\t// Preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nfunction wrapRounded(fn) {\n\tconst wrappedFn = function (...args) {\n\t\tconst arg0 = args[0];\n\n\t\tif (arg0 === undefined || arg0 === null) {\n\t\t\treturn arg0;\n\t\t}\n\n\t\tif (arg0.length > 1) {\n\t\t\targs = arg0;\n\t\t}\n\n\t\tconst result = fn(args);\n\n\t\t// We're assuming the result is an array here.\n\t\t// see notice in conversions.js; don't use box types\n\t\t// in conversion functions.\n\t\tif (typeof result === 'object') {\n\t\t\tfor (let len = result.length, i = 0; i < len; i++) {\n\t\t\t\tresult[i] = Math.round(result[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t};\n\n\t// Preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nmodels.forEach(fromModel => {\n\tconvert[fromModel] = {};\n\n\tObject.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});\n\tObject.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});\n\n\tconst routes = route(fromModel);\n\tconst routeModels = Object.keys(routes);\n\n\trouteModels.forEach(toModel => {\n\t\tconst fn = routes[toModel];\n\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t});\n});\n\nmodule.exports = convert;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n","import { getControlId } from './chunk-GWAJ4KRU.mjs';\nimport React, { useCallback, useState, useEffect, useMemo } from 'react';\nimport { HexColorPicker, RgbaStringColorPicker, HslaStringColorPicker } from 'react-colorful';\nimport convert from 'color-convert';\nimport throttle from 'lodash/throttle.js';\nimport { styled } from '@storybook/theming';\nimport { WithTooltip, TooltipNote, Form, Icons } from '@storybook/components';\n\nvar Wrapper=styled.div({position:\"relative\",maxWidth:250}),PickerTooltip=styled(WithTooltip)({position:\"absolute\",zIndex:1,top:4,left:4}),TooltipContent=styled.div({width:200,margin:5,\".react-colorful__saturation\":{borderRadius:\"4px 4px 0 0\"},\".react-colorful__hue\":{boxShadow:\"inset 0 0 0 1px rgb(0 0 0 / 5%)\"},\".react-colorful__last-control\":{borderRadius:\"0 0 4px 4px\"}}),Note=styled(TooltipNote)(({theme})=>({fontFamily:theme.typography.fonts.base})),Swatches=styled.div({display:\"grid\",gridTemplateColumns:\"repeat(9, 16px)\",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=styled.div(({theme,active})=>({width:16,height:16,boxShadow:active?`${theme.appBorderColor} 0 0 0 1px inset, ${theme.textMutedColor}50 0 0 0 4px`:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:theme.appBorderRadius})),swatchBackground=`url('data:image/svg+xml;charset=utf-8,')`,Swatch=({value,active,onClick,style,...props})=>{let backgroundImage=`linear-gradient(${value}, ${value}), ${swatchBackground}, linear-gradient(#fff, #fff)`;return React.createElement(SwatchColor,{...props,active,onClick,style:{...style,backgroundImage}})},Input=styled(Form.Input)(({theme})=>({width:\"100%\",paddingLeft:30,paddingRight:30,boxSizing:\"border-box\",fontFamily:theme.typography.fonts.base})),ToggleIcon=styled(Icons)(({theme})=>({position:\"absolute\",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:\"border-box\",cursor:\"pointer\",color:theme.input.color})),ColorSpace=(ColorSpace2=>(ColorSpace2.RGB=\"rgb\",ColorSpace2.HSL=\"hsl\",ColorSpace2.HEX=\"hex\",ColorSpace2))(ColorSpace||{}),COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\\(([0-9]+),\\s*([0-9]+)%?,\\s*([0-9]+)%?,?\\s*([0-9.]+)?\\)/,RGB_REGEXP=/^\\s*rgba?\\(([0-9]+),\\s*([0-9]+),\\s*([0-9]+),?\\s*([0-9.]+)?\\)\\s*$/i,HSL_REGEXP=/^\\s*hsla?\\(([0-9]+),\\s*([0-9]+)%,\\s*([0-9]+)%,?\\s*([0-9.]+)?\\)\\s*$/i,HEX_REGEXP=/^\\s*#?([0-9a-f]{3}|[0-9a-f]{6})\\s*$/i,SHORTHEX_REGEXP=/^\\s*#?([0-9a-f]{3})\\s*$/i,ColorPicker={hex:HexColorPicker,rgb:RgbaStringColorPicker,hsl:HslaStringColorPicker},fallbackColor={hex:\"transparent\",rgb:\"rgba(0, 0, 0, 0)\",hsl:\"hsla(0, 0%, 0%, 0)\"},stringToArgs=value=>{let match=value?.match(COLOR_REGEXP);if(!match)return [0,0,0,1];let[,x,y,z,a=1]=match;return [x,y,z,a].map(Number)},parseValue=value=>{if(!value)return;let valid=!0;if(RGB_REGEXP.test(value)){let[r,g,b,a]=stringToArgs(value),[h,s,l]=convert.rgb.hsl([r,g,b])||[0,0,0];return {valid,value,keyword:convert.rgb.keyword([r,g,b]),colorSpace:\"rgb\",rgb:value,hsl:`hsla(${h}, ${s}%, ${l}%, ${a})`,hex:`#${convert.rgb.hex([r,g,b]).toLowerCase()}`}}if(HSL_REGEXP.test(value)){let[h,s,l,a]=stringToArgs(value),[r,g,b]=convert.hsl.rgb([h,s,l])||[0,0,0];return {valid,value,keyword:convert.hsl.keyword([h,s,l]),colorSpace:\"hsl\",rgb:`rgba(${r}, ${g}, ${b}, ${a})`,hsl:value,hex:`#${convert.hsl.hex([h,s,l]).toLowerCase()}`}}let plain=value.replace(\"#\",\"\"),rgb=convert.keyword.rgb(plain)||convert.hex.rgb(plain),hsl=convert.rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped=`#${plain}`),mapped.startsWith(\"#\"))valid=HEX_REGEXP.test(mapped);else try{convert.keyword.hex(mapped);}catch{valid=!1;}return {valid,value:mapped,keyword:convert.rgb.keyword(rgb),colorSpace:\"hex\",rgb:`rgba(${rgb[0]}, ${rgb[1]}, ${rgb[2]}, 1)`,hsl:`hsla(${hsl[0]}, ${hsl[1]}%, ${hsl[2]}%, 1)`,hex:mapped}},getRealValue=(value,color,colorSpace)=>{if(!value||!color?.valid)return fallbackColor[colorSpace];if(colorSpace!==\"hex\")return color?.[colorSpace]||fallbackColor[colorSpace];if(!color.hex.startsWith(\"#\"))try{return `#${convert.keyword.hex(color.hex)}`}catch{return fallbackColor.hex}let short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;let[r,g,b]=short[1].split(\"\");return `#${r}${r}${g}${g}${b}${b}`},useColorInput=(initialValue,onChange)=>{let[value,setValue]=useState(initialValue||\"\"),[color,setColor]=useState(()=>parseValue(value)),[colorSpace,setColorSpace]=useState(color?.colorSpace||\"hex\");useEffect(()=>{let nextValue=initialValue||\"\",nextColor=parseValue(nextValue);setValue(nextValue),setColor(nextColor),setColorSpace(nextColor?.colorSpace||\"hex\");},[initialValue]);let realValue=useMemo(()=>getRealValue(value,color,colorSpace).toLowerCase(),[value,color,colorSpace]),updateValue=useCallback(update=>{let parsed=parseValue(update),v=parsed?.value||update||\"\";setValue(v),v===\"\"&&(setColor(void 0),onChange(void 0)),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value));},[onChange]),cycleColorSpace=useCallback(()=>{let next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);let update=color?.[COLOR_SPACES[next]]||\"\";setValue(update),onChange(update);},[color,colorSpace,onChange]);return {value,realValue,updateValue,color,colorSpace,cycleColorSpace}},id=value=>value.replace(/\\s*/,\"\").toLowerCase(),usePresets=(presetColors,currentColor,colorSpace)=>{let[selectedColors,setSelectedColors]=useState(currentColor?.valid?[currentColor]:[]);useEffect(()=>{currentColor===void 0&&setSelectedColors([]);},[currentColor]);let presets=useMemo(()=>(presetColors||[]).map(preset=>typeof preset==\"string\"?parseValue(preset):preset.title?{...parseValue(preset.color),keyword:preset.title}:parseValue(preset.color)).concat(selectedColors).filter(Boolean).slice(-27),[presetColors,selectedColors]),addPreset=useCallback(color=>{color?.valid&&(presets.some(preset=>id(preset[colorSpace])===id(color[colorSpace]))||setSelectedColors(arr=>arr.concat(color)));},[colorSpace,presets]);return {presets,addPreset}},ColorControl=({name,value:initialValue,onChange,onFocus,onBlur,presetColors,startOpen=!1})=>{let throttledOnChange=useCallback(throttle(onChange,200),[onChange]),{value,realValue,updateValue,color,colorSpace,cycleColorSpace}=useColorInput(initialValue,throttledOnChange),{presets,addPreset}=usePresets(presetColors,color,colorSpace),Picker=ColorPicker[colorSpace];return React.createElement(Wrapper,null,React.createElement(PickerTooltip,{startOpen,closeOnOutsideClick:!0,onVisibleChange:()=>addPreset(color),tooltip:React.createElement(TooltipContent,null,React.createElement(Picker,{color:realValue===\"transparent\"?\"#000000\":realValue,onChange:updateValue,onFocus,onBlur}),presets.length>0&&React.createElement(Swatches,null,presets.map((preset,index)=>React.createElement(WithTooltip,{key:`${preset.value}-${index}`,hasChrome:!1,tooltip:React.createElement(Note,{note:preset.keyword||preset.value})},React.createElement(Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:()=>updateValue(preset.value)})))))},React.createElement(Swatch,{value:realValue,style:{margin:4}})),React.createElement(Input,{id:getControlId(name),value,onChange:e=>updateValue(e.target.value),onFocus:e=>e.target.select(),placeholder:\"Choose color...\"}),value?React.createElement(ToggleIcon,{icon:\"markup\",onClick:cycleColorSpace}):null)},Color_default=ColorControl;\n\nexport { ColorControl, Color_default as default };\n"],"names":["u","r","t","n","c","i","e","s","f","v","d","h","m","o","a","l","g","p","b","_","x","C","E","H","L","N","w","K","I","y","q","k","z","D","S","T","F","P","X","Y","V","$","J","Q","U","W","Z","ee","re","le","ue","Ee","He","colorName","cssKeywords","require$$0","reverseKeywords","key","convert","conversions","model","channels","labels","rgb","min","max","delta","rdif","gdif","bdif","diff","diffc","comparativeDistance","reversed","currentClosestDistance","currentClosestKeyword","keyword","value","distance","xyz","hsl","t2","t3","val","t1","smin","lmin","sv","hsv","hi","vmin","sl","hwb","wh","bl","ratio","cmyk","lab","y2","x2","z2","lch","hr","args","saturation","ansi","color","mult","rem","string","match","colorString","char","integer","chroma","grayscale","hue","hcg","pure","mg","apple","gray","buildGraph","graph","models","len","deriveBFS","fromModel","queue","current","adjacents","adjacent","node","link","from","to","wrapConversion","toModel","path","fn","cur","route","conversion","require$$1","wrapRaw","wrappedFn","arg0","wrapRounded","result","routes","colorConvert","root","now","now_1","reWhitespace","trimmedEndIndex","index","_trimmedEndIndex","reTrimStart","baseTrim","_baseTrim","isObject","isSymbol","require$$2","NAN","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","toNumber","other","isBinary","toNumber_1","FUNC_ERROR_TEXT","nativeMax","nativeMin","debounce","func","wait","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","time","thisArg","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","timeWaiting","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","debounce_1","throttle","throttle_1","Wrapper","styled","PickerTooltip","WithTooltip","TooltipContent","Note","TooltipNote","theme","Swatches","SwatchColor","active","swatchBackground","Swatch","onClick","style","props","backgroundImage","React","Input","Form","ToggleIcon","Icons","ColorSpace","ColorSpace2","COLOR_SPACES","COLOR_REGEXP","RGB_REGEXP","HSL_REGEXP","HEX_REGEXP","SHORTHEX_REGEXP","ColorPicker","HexColorPicker","RgbaStringColorPicker","HslaStringColorPicker","fallbackColor","stringToArgs","parseValue","valid","plain","mapped","getRealValue","colorSpace","short","useColorInput","initialValue","onChange","setValue","useState","setColor","setColorSpace","useEffect","nextValue","nextColor","realValue","useMemo","updateValue","useCallback","update","parsed","cycleColorSpace","next","id","usePresets","presetColors","currentColor","selectedColors","setSelectedColors","presets","preset","addPreset","arr","ColorControl","name","onFocus","onBlur","startOpen","throttledOnChange","Picker","getControlId","Color_default"],"mappings":"gUAAkH,SAASA,GAAG,CAAC,OAAOA,EAAE,OAAO,QAAQ,SAAS,EAAE,CAAC,QAAQC,EAAE,EAAEA,EAAE,UAAU,OAAOA,IAAI,CAAC,IAAIC,EAAE,UAAUD,CAAC,EAAE,QAAQE,KAAKD,EAAE,OAAO,UAAU,eAAe,KAAKA,EAAEC,CAAC,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CAAU,CAAC,EAAE,QAAQ,IAAIc,EAAYa,EAAO,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAEnD,EAAM,cAAcL,GAAO,CAAC,MAAMyC,EAAU,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAEpC,EAAM,cAAcC,GAAM,CAAC,GAAG4D,GAAaN,CAAI,EAAE,MAAA1M,EAAM,SAASvE,GAAGgQ,EAAYhQ,EAAE,OAAO,KAAK,EAAE,QAAQA,GAAGA,EAAE,OAAO,OAAQ,EAAC,YAAY,iBAAiB,CAAC,EAAEuE,EAAMmJ,EAAM,cAAcG,GAAW,CAAC,KAAK,SAAS,QAAQuC,CAAe,CAAC,EAAE,IAAI,CAAC,EAAEoB,GAAcR","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11]} \ No newline at end of file diff --git a/docs/assets/Configure-374bf6a7.js b/docs/assets/Configure-374bf6a7.js new file mode 100644 index 0000000..dacbca9 --- /dev/null +++ b/docs/assets/Configure-374bf6a7.js @@ -0,0 +1,174 @@ +import{r as p,M as b}from"./index-4d70ff75.js";import{u as c}from"./index-8353ddb5.js";import"./iframe-f8443767.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-d37d4223.js";import"./index-f073aaf1.js";import"./index-356e4a49.js";var m={exports:{}},a={};/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var x=p,u=Symbol.for("react.element"),j=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,R=x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y={key:!0,ref:!0,__self:!0,__source:!0};function h(t,s,d){var o,r={},n=null,l=null;d!==void 0&&(n=""+d),s.key!==void 0&&(n=""+s.key),s.ref!==void 0&&(l=s.ref);for(o in s)f.call(s,o)&&!y.hasOwnProperty(o)&&(r[o]=s[o]);if(t&&t.defaultProps)for(o in s=t.defaultProps,s)r[o]===void 0&&(r[o]=s[o]);return{$$typeof:u,type:t,key:n,ref:l,props:r,_owner:R.current}}a.Fragment=j;a.jsx=h;a.jsxs=h;m.exports=a;var e=m.exports;const w=""+new URL("github-cdfc3270.svg",import.meta.url).href,v=""+new URL("discord-f7d1b78c.svg",import.meta.url).href,E=""+new URL("youtube-9f26eb0b.svg",import.meta.url).href,k=""+new URL("tutorials-adff6365.svg",import.meta.url).href,I=""+new URL("styling-c83082e0.png",import.meta.url).href,A=""+new URL("context-c612d889.png",import.meta.url).href,N="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkQAAAEECAMAAAD+jtuZAAAA1VBMVEUAAAC97a687K687K697K697a687a697K+87K6/76+87K7///831dPd9ddmvzyc24PE7riR1XWH0GdxxUru+utxxEr3/fXl+OHN9fTA7bNQ2tn7/vrm+vri99xE19Z8yllp396n4ZG07++o7ezz/Pz9/v2O6ObN8cKb6umC5eTf9tnZ9NHq+ebV883y/O/s+unJ8L7y/fzR8sex56Da9/dd3dtE2NZ24+GM027B8vFrwkO36qeW2HxrwkSm4ZGBzWB3yFHC7bTe9tas5Jih3orA8vJc3dy6weW4AAAACnRSTlMA3694YO/PkFAQwrWpKAAADgtJREFUeNrs2d1qg0AQQGGTNH+zCF4siixeBqHGIL5B3v+lGrbU3rQ0uhsGt+d7hsMww2TeebfdCDDLYfuWfTvtBVhgM2V0FGChXebtBFjsmD28CRDg9IiIjRpB9mcGEcLXoq0AQbbZQYAgm0yAQEQEIoI+IgIRQR8RgYigj4hARNBHRCAi6CMiEBH0ERGICPqICEQEfUQEIoI+IgIRQR8RgYigj4hARNBHRCCiZ9R9c7XWNmMhiO4fRFSPTWkmFRlFl3pEbW6NR0avk3JERWed+UFJRXGlGlHdV878xg2CiFKMqG6bm5kwi14uuYja3DrzJyuIJ6mIiu7qzHN6QTTJRFT3TWmeVwqiSSIivwTN1ApiWX9ErT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AQ9IgIRQY+IQETQIyIQEfSICEQEPSICEUGPiEBE0CMiFLPGgSJHax0o0lrnQJHeLgcHCjRmdnagQG+/Tg5k62zDLEK+k/3p+c5HlsPZ/vXt0YFdmra72OYHk2xFNYF+8mMAAAAASUVORK5CYII=",C=""+new URL("docs-5b0c7100.png",import.meta.url).href,B=""+new URL("share-b59d6c77.png",import.meta.url).href,U=""+new URL("figma-plugin-b0a5ad2d.png",import.meta.url).href,F=""+new URL("testing-6a59f681.png",import.meta.url).href,S=""+new URL("accessibility-cd6d60f7.png",import.meta.url).href,Q=""+new URL("theming-b6e819c3.png",import.meta.url).href,L=""+new URL("addon-library-bc7ba705.png",import.meta.url).href,i=()=>{const t=Object.assign({svg:"svg",path:"path"},c());return e.jsx(t.svg,{viewBox:"0 0 14 14",width:"8px",height:"14px",style:{marginLeft:"4px",display:"inline-block",shapeRendering:"inherit",verticalAlign:"middle",fill:"currentColor","path fill":"currentColor"},children:e.jsx(t.path,{d:"m11.1 7.35-5.5 5.5a.5.5 0 0 1-.7-.7L10.04 7 4.9 1.85a.5.5 0 1 1 .7-.7l5.5 5.5c.2.2.2.5 0 .7Z"})})};function g(t){const s=Object.assign({h1:"h1",p:"p",code:"code"},c(),t.components);return e.jsxs(e.Fragment,{children:[e.jsx(b,{title:"Configure your project"}),` +`,e.jsxs("div",{className:"sb-container",children:[e.jsxs("div",{className:"sb-section-title",children:[e.jsx(s.h1,{id:"configure-your-project",children:"Configure your project"}),e.jsx(s.p,{children:"Because Storybook works separately from your app, you'll need to configure it for your specific stack and setup. Below, explore guides for configuring Storybook with popular frameworks and tools. If you get stuck, learn how you can ask for help from our community."})]}),e.jsxs("div",{className:"sb-section",children:[e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:I,alt:"A wall of logos representing different styling technologies"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Add styling and CSS"}),e.jsx("p",{className:"sb-section-item-paragraph",children:"Like with web applications, there are many ways to include CSS within Storybook. Learn more about setting up styling within Storybook."}),e.jsxs("a",{href:"https://storybook.js.org/docs/vue/configure/styling-and-css",target:"_blank",children:["Learn more",e.jsx(i,{})]})]}),e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:A,alt:"An abstraction representing the composition of data for a component"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Provide context and mocking"}),e.jsx("p",{className:"sb-section-item-paragraph",children:"Often when a story doesn't render, it's because your component is expecting a specific environment or context (like a theme provider) to be available."}),e.jsxs("a",{href:"https://storybook.js.org/docs/vue/writing-stories/decorators#context-for-mocking",target:"_blank",children:["Learn more",e.jsx(i,{})]})]}),e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:N,alt:"A representation of typography and image assets"}),e.jsxs("div",{children:[e.jsx("h4",{className:"sb-section-item-heading",children:"Load assets and resources"}),e.jsxs("p",{className:"sb-section-item-paragraph",children:[`To link static files (like fonts) to your projects and stories, use the +`,e.jsx(s.code,{children:"staticDirs"}),` configuration option to specify folders to load when +starting Storybook.`]}),e.jsxs("a",{href:"https://storybook.js.org/docs/vue/configure/images-and-assets",target:"_blank",children:["Learn more",e.jsx(i,{})]})]})]})]})]}),` +`,e.jsxs("div",{className:"sb-container",children:[e.jsxs("div",{className:"sb-section-title",children:[e.jsx(s.h1,{id:"do-more-with-storybook",children:"Do more with Storybook"}),e.jsx(s.p,{children:"Now that you know the basics, let's explore other parts of Storybook that will improve your experience. This list is just to get you started. You can customise Storybook in many ways to fit your needs."})]}),e.jsx("div",{className:"sb-section",children:e.jsxs("div",{className:"sb-features-grid",children:[e.jsxs("div",{className:"sb-grid-item",children:[e.jsx("img",{src:C,alt:"A screenshot showing the autodocs tag being set, pointing a docs page being generated"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Autodocs"}),e.jsx("p",{className:"sb-section-item-paragraph",children:`Auto-generate living, +interactive reference documentation from your components and stories.`}),e.jsxs("a",{href:"https://storybook.js.org/docs/vue/writing-docs/autodocs",target:"_blank",children:["Learn more",e.jsx(i,{})]})]}),e.jsxs("div",{className:"sb-grid-item",children:[e.jsx("img",{src:B,alt:"A browser window showing a Storybook being published to a chromatic.com URL"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Publish to Chromatic"}),e.jsx("p",{className:"sb-section-item-paragraph",children:"Publish your Storybook to review and collaborate with your entire team."}),e.jsxs("a",{href:"https://storybook.js.org/docs/vue/sharing/publish-storybook#publish-storybook-with-chromatic",target:"_blank",children:["Learn more",e.jsx(i,{})]})]}),e.jsxs("div",{className:"sb-grid-item",children:[e.jsx("img",{src:U,alt:"Windows showing the Storybook plugin in Figma"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Figma Plugin"}),e.jsx("p",{className:"sb-section-item-paragraph",children:`Embed your stories into Figma to cross-reference the design and live +implementation in one place.`}),e.jsxs("a",{href:"https://storybook.js.org/docs/vue/sharing/design-integrations#embed-storybook-in-figma-with-the-plugin",target:"_blank",children:["Learn more",e.jsx(i,{})]})]}),e.jsxs("div",{className:"sb-grid-item",children:[e.jsx("img",{src:F,alt:"Screenshot of tests passing and failing"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Testing"}),e.jsx("p",{className:"sb-section-item-paragraph",children:`Use stories to test a component in all its variations, no matter how +complex.`}),e.jsxs("a",{href:"https://storybook.js.org/docs/vue/writing-tests/introduction",target:"_blank",children:["Learn more",e.jsx(i,{})]})]}),e.jsxs("div",{className:"sb-grid-item",children:[e.jsx("img",{src:S,alt:"Screenshot of accessibility tests passing and failing"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Accessibility"}),e.jsx("p",{className:"sb-section-item-paragraph",children:"Automatically test your components for a11y issues as you develop."}),e.jsxs("a",{href:"https://storybook.js.org/docs/vue/writing-tests/accessibility-testing",target:"_blank",children:["Learn more",e.jsx(i,{})]})]}),e.jsxs("div",{className:"sb-grid-item",children:[e.jsx("img",{src:Q,alt:"Screenshot of Storybook in light and dark mode"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Theming"}),e.jsx("p",{className:"sb-section-item-paragraph",children:"Theme Storybook's UI to personalize it to your project."}),e.jsxs("a",{href:"https://storybook.js.org/docs/vue/configure/theming",target:"_blank",children:["Learn more",e.jsx(i,{})]})]})]})})]}),` +`,e.jsxs("div",{className:"sb-addon",children:[e.jsxs("div",{className:"sb-addon-text",children:[e.jsx("h4",{children:"Addons"}),e.jsx("p",{className:"sb-section-item-paragraph",children:"Integrate your tools with Storybook to connect workflows."}),e.jsxs("a",{href:"https://storybook.js.org/integrations/",target:"_blank",children:["Discover all addons",e.jsx(i,{})]})]}),e.jsx("div",{className:"sb-addon-img",children:e.jsx("img",{src:L,alt:"Integrate your tools with Storybook to connect workflows."})})]}),` +`,e.jsxs("div",{className:"sb-section sb-socials",children:[e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:w,alt:"Github logo",className:"sb-explore-image"}),e.jsx(s.p,{children:"Join our contributors building the future of UI development."}),e.jsxs("a",{href:"https://github.com/storybookjs/storybook",target:"_blank",children:["Star on GitHub",e.jsx(i,{})]})]}),e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:v,alt:"Discord logo",className:"sb-explore-image"}),e.jsxs("div",{children:[e.jsx(s.p,{children:"Get support and chat with frontend developers."}),e.jsxs("a",{href:"https://discord.gg/storybook",target:"_blank",children:["Join Discord server",e.jsx(i,{})]})]})]}),e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:E,alt:"Youtube logo",className:"sb-explore-image"}),e.jsxs("div",{children:[e.jsx(s.p,{children:"Watch tutorials, feature previews and interviews."}),e.jsxs("a",{href:"https://www.youtube.com/@chromaticui",target:"_blank",children:["Watch on YouTube",e.jsx(i,{})]})]})]}),e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:k,alt:"A book",className:"sb-explore-image"}),e.jsx("p",{children:"Follow guided walkthroughs on for key workflows."}),e.jsxs("a",{href:"https://storybook.js.org/tutorials/",target:"_blank",children:["Discover tutorials",e.jsx(i,{})]})]})]}),` +`,e.jsx("style",{children:` + .sb-container { + margin-bottom: 48px; + } + + .sb-section { + width: 100%; + display: flex; + flex-direction: row; + gap: 20px; + } + + img { + object-fit: cover; + } + + .sb-section-title { + margin-bottom: 32px; + } + + .sb-section a:not(h1 a, h2 a, h3 a) { + font-size: 14px; + } + + .sb-section-item, .sb-grid-item { + flex: 1; + display: flex; + flex-direction: column; + } + + .sb-section-item-heading { + padding-top: 20px !important; + padding-bottom: 5px !important; + margin: 0 !important; + } + .sb-section-item-paragraph { + margin: 0; + padding-bottom: 10px; + } + + .sb-chevron { + margin-left: 5px; + } + + .sb-features-grid { + display: grid; + grid-template-columns: repeat(2, 1fr); + grid-gap: 32px 20px; + } + + .sb-socials { + display: grid; + grid-template-columns: repeat(4, 1fr); + } + + .sb-socials p { + margin-bottom: 10px; + } + + .sb-explore-image { + max-height: 32px; + align-self: flex-start; + } + + .sb-addon { + width: 100%; + display: flex; + align-items: center; + position: relative; + background-color: #EEF3F8; + border-radius: 5px; + border: 1px solid rgba(0, 0, 0, 0.05); + background: #EEF3F8; + height: 180px; + margin-bottom: 48px; + overflow: hidden; + } + + .sb-addon-text { + padding-left: 48px; + max-width: 240px; + } + + .sb-addon-text h4 { + padding-top: 0px; + } + + .sb-addon-img { + position: absolute; + left: 345px; + top: 0; + height: 100%; + width: 200%; + overflow: hidden; + } + + .sb-addon-img img { + width: 650px; + transform: rotate(-15deg); + margin-left: 40px; + margin-top: -72px; + box-shadow: 0 0 1px rgba(255, 255, 255, 0); + backface-visibility: hidden; + } + + @media screen and (max-width: 800px) { + .sb-addon-img { + left: 300px; + } + } + + @media screen and (max-width: 600px) { + .sb-section { + flex-direction: column; + } + + .sb-features-grid { + grid-template-columns: repeat(1, 1fr); + } + + .sb-socials { + grid-template-columns: repeat(2, 1fr); + } + + .sb-addon { + height: 280px; + align-items: flex-start; + padding-top: 32px; + overflow: hidden; + } + + .sb-addon-text { + padding-left: 24px; + } + + .sb-addon-img { + right: 0; + left: 0; + top: 130px; + bottom: 0; + overflow: hidden; + height: auto; + width: 124%; + } + + .sb-addon-img img { + width: 1200px; + transform: rotate(-12deg); + margin-left: 0; + margin-top: 48px; + margin-bottom: -40px; + margin-left: -24px; + } + } + `})]})}function X(t={}){const{wrapper:s}=Object.assign({},c(),t.components);return s?e.jsx(s,Object.assign({},t,{children:e.jsx(g,t)})):g(t)}export{i as RightArrow,X as default}; +//# sourceMappingURL=Configure-374bf6a7.js.map diff --git a/docs/assets/Configure-374bf6a7.js.map b/docs/assets/Configure-374bf6a7.js.map new file mode 100644 index 0000000..845e04d --- /dev/null +++ b/docs/assets/Configure-374bf6a7.js.map @@ -0,0 +1 @@ +{"version":3,"file":"Configure-374bf6a7.js","sources":["../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../node_modules/react/jsx-runtime.js","../../src/stories/assets/github.svg","../../src/stories/assets/discord.svg","../../src/stories/assets/youtube.svg","../../src/stories/assets/tutorials.svg","../../src/stories/assets/styling.png","../../src/stories/assets/context.png","../../src/stories/assets/assets.png","../../src/stories/assets/docs.png","../../src/stories/assets/share.png","../../src/stories/assets/figma-plugin.png","../../src/stories/assets/testing.png","../../src/stories/assets/accessibility.png","../../src/stories/assets/theming.png","../../src/stories/assets/addon-library.png","../../src/stories/Configure.mdx"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","export default \"__VITE_ASSET__4e6ad5ae__\"","export default \"__VITE_ASSET__e6525a77__\"","export default \"__VITE_ASSET__c1c8684c__\"","export default \"__VITE_ASSET__fe14f8de__\"","export default \"__VITE_ASSET__aac3aabd__\"","export default \"__VITE_ASSET__ccbc4436__\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkQAAAEECAMAAAD+jtuZAAAA1VBMVEUAAAC97a687K687K697K697a687a697K+87K6/76+87K7///831dPd9ddmvzyc24PE7riR1XWH0GdxxUru+utxxEr3/fXl+OHN9fTA7bNQ2tn7/vrm+vri99xE19Z8yllp396n4ZG07++o7ezz/Pz9/v2O6ObN8cKb6umC5eTf9tnZ9NHq+ebV883y/O/s+unJ8L7y/fzR8sex56Da9/dd3dtE2NZ24+GM027B8vFrwkO36qeW2HxrwkSm4ZGBzWB3yFHC7bTe9tas5Jih3orA8vJc3dy6weW4AAAACnRSTlMA3694YO/PkFAQwrWpKAAADgtJREFUeNrs2d1qg0AQQGGTNH+zCF4siixeBqHGIL5B3v+lGrbU3rQ0uhsGt+d7hsMww2TeebfdCDDLYfuWfTvtBVhgM2V0FGChXebtBFjsmD28CRDg9IiIjRpB9mcGEcLXoq0AQbbZQYAgm0yAQEQEIoI+IgIRQR8RgYigj4hARNBHRCAi6CMiEBH0ERGICPqICEQEfUQEIoI+IgIRQR8RgYigj4hARNBHRCCiZ9R9c7XWNmMhiO4fRFSPTWkmFRlFl3pEbW6NR0avk3JERWed+UFJRXGlGlHdV878xg2CiFKMqG6bm5kwi14uuYja3DrzJyuIJ6mIiu7qzHN6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iEBH0iAhEBD0iAhFBj4hARNAjIhAR9IgIRAQ9IgIRQY+IQETQIyIQEfSICEQEPSICEUGPiEBE0CMiFLPGgSJHax0o0lrnQJHeLgcHCjRmdnagQG+/Tg5k62zDLEK+k/3p+c5HlsPZ/vXt0YFdmra72OYHk2xFNYF+8mMAAAAASUVORK5CYII=\"","export default \"__VITE_ASSET__516f25b1__\"","export default \"__VITE_ASSET__0df59c06__\"","export default \"__VITE_ASSET__07514f73__\"","export default \"__VITE_ASSET__5a382c41__\"","export default \"__VITE_ASSET__f781c067__\"","export default \"__VITE_ASSET__94fe3c6a__\"","export default \"__VITE_ASSET__caf1a230__\"","import { Meta } from \"@storybook/blocks\";\n\nimport Github from \"./assets/github.svg\";\nimport Discord from \"./assets/discord.svg\";\nimport Youtube from \"./assets/youtube.svg\";\nimport Tutorials from \"./assets/tutorials.svg\";\nimport Styling from \"./assets/styling.png\";\nimport Context from \"./assets/context.png\";\nimport Assets from \"./assets/assets.png\";\nimport Docs from \"./assets/docs.png\";\nimport Share from \"./assets/share.png\";\nimport FigmaPlugin from \"./assets/figma-plugin.png\";\nimport Testing from \"./assets/testing.png\";\nimport Accessibility from \"./assets/accessibility.png\";\nimport Theming from \"./assets/theming.png\";\nimport AddonLibrary from \"./assets/addon-library.png\";\n\nexport const RightArrow = () => \n \n\n\n\n\n
\n
\n # Configure your project\n\n Because Storybook works separately from your app, you'll need to configure it for your specific stack and setup. Below, explore guides for configuring Storybook with popular frameworks and tools. If you get stuck, learn how you can ask for help from our community.\n
\n
\n
\n \n

Add styling and CSS

\n

Like with web applications, there are many ways to include CSS within Storybook. Learn more about setting up styling within Storybook.

\n Learn more\n
\n
\n \n

Provide context and mocking

\n

Often when a story doesn't render, it's because your component is expecting a specific environment or context (like a theme provider) to be available.

\n Learn more\n
\n
\n \"A\n
\n

Load assets and resources

\n

To link static files (like fonts) to your projects and stories, use the\n `staticDirs` configuration option to specify folders to load when\n starting Storybook.

\n Learn more\n
\n
\n
\n
\n
\n
\n # Do more with Storybook\n\n Now that you know the basics, let's explore other parts of Storybook that will improve your experience. This list is just to get you started. You can customise Storybook in many ways to fit your needs.\n
\n\n
\n
\n
\n \"A\n

Autodocs

\n

Auto-generate living,\n interactive reference documentation from your components and stories.

\n Learn more\n
\n
\n \"A\n

Publish to Chromatic

\n

Publish your Storybook to review and collaborate with your entire team.

\n Learn more\n
\n
\n \"Windows\n

Figma Plugin

\n

Embed your stories into Figma to cross-reference the design and live\n implementation in one place.

\n Learn more\n
\n
\n \"Screenshot\n

Testing

\n

Use stories to test a component in all its variations, no matter how\n complex.

\n Learn more\n
\n
\n \"Screenshot\n

Accessibility

\n

Automatically test your components for a11y issues as you develop.

\n Learn more\n
\n
\n \"Screenshot\n

Theming

\n

Theme Storybook's UI to personalize it to your project.

\n Learn more\n
\n
\n
\n
\n
\n
\n

Addons

\n

Integrate your tools with Storybook to connect workflows.

\n Discover all addons\n
\n
\n \"Integrate\n
\n
\n\n
\n
\n \"Github\n Join our contributors building the future of UI development.\n\n Star on GitHub\n
\n
\n \"Discord\n
\n Get support and chat with frontend developers.\n\n Join Discord server\n
\n
\n
\n \"Youtube\n
\n Watch tutorials, feature previews and interviews.\n\n Watch on YouTube\n
\n
\n
\n \"A\n

Follow guided walkthroughs on for key workflows.

\n\n Discover tutorials\n
\n
\n\n\n"],"names":["f","require$$0","k","l","m","n","p","q","c","a","g","b","d","e","h","reactJsxRuntime_production_min","jsxRuntimeModule","Github","Discord","Youtube","Tutorials","Styling","Context","Assets","Docs","Share","FigmaPlugin","Testing","Accessibility","Theming","AddonLibrary","RightArrow","_components","_provideComponents","_jsx","_createMdxContent","props","_jsxs","_Fragment","Meta","MDXContent","MDXLayout"],"mappings":";;;;;;;;GASa,IAAIA,EAAEC,EAAiBC,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,UAAU,eAAeC,EAAEL,EAAE,mDAAmD,kBAAkBM,EAAE,CAAC,IAAI,G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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GA2JhB,CAAK,CAAC,CACN,CAAG,CACH,CACA,SAASM,EAAWJ,EAAQ,GAAI,CAC9B,KAAM,CAAC,QAASK,CAAS,EAAI,OAAO,OAAO,CAAE,EAAER,EAAoB,EAAEG,EAAM,UAAU,EACrF,OAAOK,EAAYP,EAAAA,IAAKO,EAAW,OAAO,OAAO,CAAE,EAAEL,EAAO,CAC1D,SAAUF,EAAAA,IAAKC,EAAmBC,CAAK,CAC3C,CAAG,CAAC,EAAID,EAAkBC,CAAK,CAC/B","x_google_ignoreList":[0,1]} \ No newline at end of file diff --git a/docs/assets/DocsRenderer-3PUGWF3O-58709fe7.js b/docs/assets/DocsRenderer-3PUGWF3O-58709fe7.js new file mode 100644 index 0000000..20055e5 --- /dev/null +++ b/docs/assets/DocsRenderer-3PUGWF3O-58709fe7.js @@ -0,0 +1,2 @@ +import{_ as h}from"./iframe-f8443767.js";import{d as l,R as o,r as a,C as E,A as R,H as x,D as y}from"./index-4d70ff75.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-d37d4223.js";import"./index-f073aaf1.js";import"./index-356e4a49.js";var c={},i=l;c.createRoot=i.createRoot,c.hydrateRoot=i.hydrateRoot;var n=new Map,D=({callback:t,children:e})=>{let r=a.useRef();return a.useLayoutEffect(()=>{r.current!==t&&(r.current=t,t())},[t]),e},_=async(t,e)=>{let r=await w(e);return new Promise(s=>{r.render(o.createElement(D,{callback:()=>s(null)},t))})},v=(t,e)=>{let r=n.get(t);r&&(r.unmount(),n.delete(t))},w=async t=>{let e=n.get(t);return e||(e=c.createRoot(t),n.set(t,e)),e},f={code:E,a:R,...x},C=class extends a.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:e}=this.props;e(t)}render(){let{hasError:t}=this.state,{children:e}=this.props;return t?null:e}},T=class{constructor(){this.render=async(t,e,r)=>{let s={...f,...e==null?void 0:e.components},u=y;return new Promise((m,p)=>{h(()=>import("./index-fb09b146.js"),["./index-fb09b146.js","./index-8353ddb5.js","./index-4d70ff75.js","./iframe-f8443767.js","./_commonjsHelpers-725317a4.js","./index-d37d4223.js","./index-f073aaf1.js","./index-356e4a49.js"],import.meta.url).then(({MDXProvider:d})=>_(o.createElement(C,{showException:p,key:Math.random()},o.createElement(d,{components:s},o.createElement(u,{context:t,docsParameter:e}))),r)).then(()=>m())})},this.unmount=t=>{v(t)}}};export{T as DocsRenderer,f as defaultComponents}; +//# sourceMappingURL=DocsRenderer-3PUGWF3O-58709fe7.js.map diff --git a/docs/assets/DocsRenderer-3PUGWF3O-58709fe7.js.map b/docs/assets/DocsRenderer-3PUGWF3O-58709fe7.js.map new file mode 100644 index 0000000..e86522f --- /dev/null +++ b/docs/assets/DocsRenderer-3PUGWF3O-58709fe7.js.map @@ -0,0 +1 @@ +{"version":3,"mappings":"gSAEIA,EAAIC,EAEYC,EAAA,WAAGF,EAAE,WACJE,EAAA,YAAGF,EAAE,YCF1B,IAAIG,EAAM,IAAI,IAAIC,EAAa,CAAC,CAAC,SAAAC,EAAS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C,EAAW,CAAC,GAAGb,EAAkB,GAAGW,GAAA,YAAAA,EAAe,UAAU,EAAEG,EAAMC,EAAK,OAAO,IAAI,QAAQ,CAACpB,EAAQqB,IAAS,CAACC,EAAA,WAAO,qBAAe,EAAC,+MAAC,KAAK,CAAC,CAAC,YAAAC,CAAW,IAAI5B,EAAcM,EAAM,cAAcQ,EAAc,CAAC,cAAcY,EAAO,IAAI,KAAK,OAAM,CAAE,EAAEpB,EAAM,cAAcsB,EAAY,CAAC,WAAAL,CAAU,EAAEjB,EAAM,cAAckB,EAAM,CAAC,QAAAJ,EAAQ,cAAAC,CAAa,CAAC,CAAC,CAAC,EAAEC,CAAO,CAAC,EAAE,KAAK,IAAIjB,EAAO,CAAE,CAAE,CAAC,CAAC,EAAE,KAAK,QAAQiB,GAAS,CAACf,EAAee,CAAO,CAAE,CAAE,CAAC","names":["m","require$$0","client","nodes","WithCallback","callback","children","once","useRef","useLayoutEffect","renderElement","node","el","root","getReactRoot","resolve","React","unmountElement","shouldUseNewRootApi","ReactDOM","defaultComponents","CodeOrSourceMdx","AnchorMdx","HeadersMdx","ErrorBoundary","Component","err","showException","hasError","DocsRenderer","context","docsParameter","element","components","TDocs","Docs","reject","__vitePreload","MDXProvider"],"sources":["../../node_modules/react-dom/client.js","../../node_modules/@storybook/react-dom-shim/dist/react-18.mjs","../../node_modules/@storybook/addon-docs/dist/chunk-S4VUQJ4A.mjs"],"sourcesContent":["'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n","import React, { useRef, useLayoutEffect } from 'react';\nimport ReactDOM from 'react-dom/client';\n\nvar nodes=new Map,WithCallback=({callback,children})=>{let once=useRef();return useLayoutEffect(()=>{once.current!==callback&&(once.current=callback,callback());},[callback]),children},renderElement=async(node,el)=>{let root=await getReactRoot(el);return new Promise(resolve=>{root.render(React.createElement(WithCallback,{callback:()=>resolve(null)},node));})},unmountElement=(el,shouldUseNewRootApi)=>{let root=nodes.get(el);root&&(root.unmount(),nodes.delete(el));},getReactRoot=async el=>{let root=nodes.get(el);return root||(root=ReactDOM.createRoot(el),nodes.set(el,root)),root};\n\nexport { renderElement, unmountElement };\n","import React, { Component } from 'react';\nimport { renderElement, unmountElement } from '@storybook/react-dom-shim';\nimport { CodeOrSourceMdx, AnchorMdx, HeadersMdx, Docs } from '@storybook/blocks';\n\nvar defaultComponents={code:CodeOrSourceMdx,a:AnchorMdx,...HeadersMdx},ErrorBoundary=class extends Component{constructor(){super(...arguments);this.state={hasError:!1};}static getDerivedStateFromError(){return {hasError:!0}}componentDidCatch(err){let{showException}=this.props;showException(err);}render(){let{hasError}=this.state,{children}=this.props;return hasError?null:children}},DocsRenderer=class{constructor(){this.render=async(context,docsParameter,element)=>{let components={...defaultComponents,...docsParameter?.components},TDocs=Docs;return new Promise((resolve,reject)=>{import('@mdx-js/react').then(({MDXProvider})=>renderElement(React.createElement(ErrorBoundary,{showException:reject,key:Math.random()},React.createElement(MDXProvider,{components},React.createElement(TDocs,{context,docsParameter}))),element)).then(()=>resolve());})},this.unmount=element=>{unmountElement(element);};}};\n\nexport { DocsRenderer, defaultComponents };\n"],"file":"assets/DocsRenderer-3PUGWF3O-58709fe7.js"} \ No newline at end of file diff --git a/docs/assets/GlobalScrollAreaStyles-UY5SB7EJ-0ade710d.js b/docs/assets/GlobalScrollAreaStyles-UY5SB7EJ-0ade710d.js new file mode 100644 index 0000000..026611c --- /dev/null +++ b/docs/assets/GlobalScrollAreaStyles-UY5SB7EJ-0ade710d.js @@ -0,0 +1,8 @@ +import{R as o,G as s}from"./index-4d70ff75.js";import"./iframe-f8443767.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-d37d4223.js";import"./index-f073aaf1.js";import"./index-356e4a49.js";var a=r=>({".os-size-observer,\n.os-size-observer-listener":{direction:"inherit",pointerEvents:"none",overflow:"hidden",visibility:"hidden",boxSizing:"border-box"},".os-size-observer,\n.os-size-observer-listener,\n.os-size-observer-listener-item,\n.os-size-observer-listener-item-final":{writingMode:"horizontal-tb",position:"absolute",left:"0",top:"0"},".os-size-observer":{zIndex:-1,contain:"strict",display:"flex",flexDirection:"row",flexWrap:"nowrap",padding:"inherit",border:"inherit",boxSizing:"inherit",margin:"-133px",top:"0",right:"0",bottom:"0",left:"0",transform:"scale(0.1)"},".os-size-observer::before":{content:'""',flex:"none",boxSizing:"inherit",padding:"10px",width:"10px",height:"10px"},".os-size-observer-appear":{animation:"os-size-observer-appear-animation 1ms forwards"},".os-size-observer-listener":{boxSizing:"border-box",position:"relative",flex:"auto",padding:"inherit",border:"inherit",margin:"-133px",transform:"scale(10)"},".os-size-observer-listener.ltr":{marginRight:"-266px",marginLeft:"0"},".os-size-observer-listener.rtl":{marginLeft:"-266px",marginRight:"0"},".os-size-observer-listener:empty::before":{content:'""',width:"100%",height:"100%"},".os-size-observer-listener:empty::before, .os-size-observer-listener > .os-size-observer-listener-item":{display:"block",position:"relative",padding:"inherit",border:"inherit",boxSizing:"content-box",flex:"auto"},".os-size-observer-listener-scroll":{boxSizing:"border-box",display:"flex"},".os-size-observer-listener-item":{right:"0",bottom:"0",overflow:"hidden",direction:"ltr",flex:"none"},".os-size-observer-listener-item-final":{transition:"none"},"@keyframes os-size-observer-appear-animation":{from:{cursor:"auto"},to:{cursor:"none"}},".os-trinsic-observer":{flex:"none",boxSizing:"border-box",position:"relative",maxWidth:"0px",maxHeight:"1px",padding:"0",margin:"0",border:"none",overflow:"hidden",zIndex:-1,height:"0",top:"calc(100% + 1px)",contain:"strict"},".os-trinsic-observer:not(:empty)":{height:"calc(100% + 1px)",top:"-1px"},".os-trinsic-observer:not(:empty) > .os-size-observer":{width:"1000%",height:"1000%",minHeight:"1px",minWidth:"1px"},".os-environment":{"--os-custom-prop":"-1",position:"fixed",opacity:0,visibility:"hidden",overflow:"scroll",height:"200px",width:"200px",zIndex:"var(--os-custom-prop)"},".os-environment div":{width:"200%",height:"200%",margin:"10px 0"},".os-environment.os-environment-flexbox-glue":{display:"flex",flexDirection:"row",flexWrap:"nowrap",height:"auto",width:"auto",minHeight:"200px",minWidth:"200px"},".os-environment.os-environment-flexbox-glue div":{flex:"auto",width:"auto",height:"auto",maxHeight:"100%",maxWidth:"100%",margin:"0"},".os-environment.os-environment-flexbox-glue-max":{maxHeight:"200px"},".os-environment.os-environment-flexbox-glue-max div":{overflow:"visible"},".os-environment.os-environment-flexbox-glue-max div::before":{content:'""',display:"block",height:"999px",width:"999px"},".os-environment,\n[data-overlayscrollbars-viewport]":{msOverflowStyle:"scrollbar !important"},"[data-overlayscrollbars-initialize],\n[data-overlayscrollbars~=scrollbarHidden],\n[data-overlayscrollbars-viewport~=scrollbarHidden],\n.os-scrollbar-hidden.os-environment":{scrollbarWidth:"none !important"},"[data-overlayscrollbars-initialize]::-webkit-scrollbar,\n[data-overlayscrollbars-initialize]::-webkit-scrollbar-corner,\n[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar,\n[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar-corner,\n[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,\n[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner,\n.os-scrollbar-hidden.os-environment::-webkit-scrollbar,\n.os-scrollbar-hidden.os-environment::-webkit-scrollbar-corner":{WebkitAppearance:"none !important",appearance:"none !important",display:"none !important",width:"0 !important",height:"0 !important"},"[data-overlayscrollbars-initialize]":{overflow:"auto"},"html[data-overlayscrollbars],\nhtml.os-scrollbar-hidden,\nhtml.os-scrollbar-hidden > body":{boxSizing:"border-box",margin:"0",width:"100%",height:"100%"},"html[data-overlayscrollbars] > body":{overflow:"visible"},"[data-overlayscrollbars~=host]":{position:"relative"},"[data-overlayscrollbars~=host],\n[data-overlayscrollbars-padding]":{display:"flex",flexDirection:"row !important",flexWrap:"nowrap !important"},"[data-overlayscrollbars-padding],\n[data-overlayscrollbars-viewport]":{boxSizing:"inherit",position:"relative",flex:"auto !important",height:"auto",width:"100%",padding:"0",margin:"0",border:"none",zIndex:0,overflow:"hidden"},"[data-overlayscrollbars-viewport]":{"--os-vaw":"0","--os-vah":"0"},"[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]::before":{content:'""',position:"absolute",pointerEvents:"none",zIndex:-1,minWidth:"1px",minHeight:"1px",width:"var(--os-vaw)",height:"var(--os-vah)"},"[data-overlayscrollbars~=host],\n[data-overlayscrollbars~=viewport]":{overflow:"hidden"},"[data-overlayscrollbars~=overflowVisible],\n[data-overlayscrollbars-padding~=overflowVisible],\n[data-overlayscrollbars-viewport~=overflowVisible]":{overflow:"visible"},"[data-overlayscrollbars-overflow-x=hidden]":{overflowX:"hidden",overflowY:"hidden"},"[data-overlayscrollbars-overflow-x=scroll]":{overflowX:"scroll"},"[data-overlayscrollbars-overflow-y=scroll]":{overflowY:"scroll"},"[data-overlayscrollbars~=scrollbarPressed],\n[data-overlayscrollbars~=scrollbarPressed] [data-overlayscrollbars-viewport]":{scrollBehavior:"auto !important"},"[data-overlayscrollbars-content]":{boxSizing:"inherit"},"[data-overlayscrollbars-grid],\n[data-overlayscrollbars-grid] [data-overlayscrollbars-padding]":{display:"grid",gridTemplate:"1fr/1fr"},"[data-overlayscrollbars-grid] > [data-overlayscrollbars-padding],\n[data-overlayscrollbars-grid] > [data-overlayscrollbars-viewport],\n[data-overlayscrollbars-grid] > [data-overlayscrollbars-padding] > [data-overlayscrollbars-viewport]":{height:"auto !important",width:"auto !important"},".os-scrollbar":{contain:["size layout","size layout style"],transition:"opacity 0.15s, visibility 0.15s, top 0.15s, right 0.15s, bottom 0.15s, left 0.15s",pointerEvents:"none",position:"absolute",opacity:0,visibility:"hidden","--os-size":"0","--os-padding-perpendicular":"0","--os-padding-axis":"0","--os-track-border-radius":"0","--os-track-bg":"none","--os-track-bg-hover":"none","--os-track-bg-active":"none","--os-track-border":"none","--os-track-border-hover":"none","--os-track-border-active":"none","--os-handle-border-radius":"0","--os-handle-bg":"none","--os-handle-bg-hover":"none","--os-handle-bg-active":"none","--os-handle-border":"none","--os-handle-border-hover":"none","--os-handle-border-active":"none","--os-handle-min-size":"33px","--os-handle-max-size":"none","--os-handle-perpendicular-size":"100%","--os-handle-perpendicular-size-hover":"100%","--os-handle-perpendicular-size-active":"100%","--os-handle-interactive-area-offset":"0"},"body > .os-scrollbar":{position:"fixed",zIndex:99999},".os-scrollbar-transitionless":{transition:"none"},".os-scrollbar-track":{position:"relative",direction:"ltr !important",padding:"0 !important",border:"none !important"},".os-scrollbar-handle":{position:"absolute"},".os-scrollbar-track,\n.os-scrollbar-handle":{pointerEvents:"none",width:"100%",height:"100%"},".os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,\n.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle":{pointerEvents:"auto",touchAction:"none"},".os-scrollbar-horizontal":{bottom:"0",left:"0",padding:"var(--os-padding-perpendicular) var(--os-padding-axis)",right:"var(--os-size)",height:"var(--os-size)"},".os-scrollbar-vertical":{top:"0",right:"0",padding:"var(--os-padding-axis) var(--os-padding-perpendicular)",bottom:"var(--os-size)",width:"var(--os-size)"},".os-scrollbar-rtl.os-scrollbar-horizontal":{right:"0"},".os-scrollbar-rtl.os-scrollbar-vertical":{right:"auto",left:"0"},".os-scrollbar-visible,\n.os-scrollbar-interaction.os-scrollbar-visible":{opacity:1,visibility:"visible"},".os-scrollbar-auto-hidden":{opacity:0,visibility:"hidden"},".os-scrollbar-unusable,\n.os-scrollbar-unusable *,\n.os-scrollbar-wheel,\n.os-scrollbar-wheel *":{pointerEvents:"none !important"},".os-scrollbar-unusable .os-scrollbar-handle":{opacity:"0 !important"},".os-scrollbar-horizontal .os-scrollbar-handle":{bottom:"0",minWidth:"var(--os-handle-min-size)",maxWidth:"var(--os-handle-max-size)",height:"var(--os-handle-perpendicular-size)",transition:"opacity 0.15s, background-color 0.15s, border-color 0.15s, height 0.15s"},".os-scrollbar-vertical .os-scrollbar-handle":{right:"0",minHeight:"var(--os-handle-min-size)",maxHeight:"var(--os-handle-max-size)",width:"var(--os-handle-perpendicular-size)",transition:"opacity 0.15s, background-color 0.15s, border-color 0.15s, width 0.15s"},".os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle":{right:"auto",left:"0"},".os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,\n.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl":{left:"0",right:"0"},".os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,\n.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl":{top:"0",bottom:"0"},".os-scrollbar .os-scrollbar-track":{border:"var(--os-track-border)",borderRadius:"var(--os-track-border-radius)",background:"var(--os-track-bg)",transition:"opacity 0.15s, background-color 0.15s, border-color 0.15s"},".os-scrollbar .os-scrollbar-track:hover":{border:"var(--os-track-border-hover)",background:"var(--os-track-bg-hover)"},".os-scrollbar .os-scrollbar-track:active":{border:"var(--os-track-border-active)",background:"var(--os-track-bg-active)"},".os-scrollbar .os-scrollbar-handle":{border:"var(--os-handle-border)",borderRadius:"var(--os-handle-border-radius)",background:r.textMutedColor,opacity:.5},".os-scrollbar .os-scrollbar-handle:before":{content:'""',position:"absolute",left:"0",right:"0",top:"0",bottom:"0",display:"block"},".os-scrollbar .os-scrollbar-handle:hover":{border:"var(--os-handle-border-hover)",opacity:.6},".os-scrollbar .os-scrollbar-handle:active":{border:"var(--os-handle-border-active)",background:"var(--os-handle-bg-active)"},".os-scrollbar-horizontal.os-scrollbar-rtl":{left:"var(--os-size)",right:"0"},".os-scrollbar-horizontal .os-scrollbar-handle:before":{top:"calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1)",bottom:"calc(var(--os-padding-perpendicular) * -1)"},".os-scrollbar-horizontal:hover .os-scrollbar-handle":{height:"var(--os-handle-perpendicular-size-hover)"},".os-scrollbar-horizontal:active .os-scrollbar-handle":{height:"var(--os-handle-perpendicular-size-active)"},".os-scrollbar-vertical .os-scrollbar-handle:before":{left:"calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1)",right:"calc(var(--os-padding-perpendicular) * -1)"},".os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before":{right:"calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1)",left:"calc(var(--os-padding-perpendicular) * -1)"},".os-scrollbar-vertical:hover .os-scrollbar-handle":{width:"var(--os-handle-perpendicular-size-hover)"},".os-scrollbar-vertical:active .os-scrollbar-handle":{width:"var(--os-handle-perpendicular-size-active)"},"[data-overlayscrollbars~=updating] > .os-scrollbar,\n.os-theme-none.os-scrollbar":{display:"none !important"},".os-theme-dark,\n.os-theme-light":{boxSizing:"border-box","--os-size":"10px","--os-padding-perpendicular":"2px","--os-padding-axis":"2px","--os-track-border-radius":"10px","--os-handle-interactive-area-offset":"4px","--os-handle-border-radius":"10px"},".os-theme-dark":{"--os-handle-bg":"rgba(0, 0, 0, 0.44)","--os-handle-bg-hover":"rgba(0, 0, 0, 0.55)","--os-handle-bg-active":"rgba(0, 0, 0, 0.66)"},".os-theme-light":{"--os-handle-bg":"rgba(255, 255, 255, 0.44)","--os-handle-bg-hover":"rgba(255, 255, 255, 0.55)","--os-handle-bg-active":"rgba(255, 255, 255, 0.66)"},".os-no-css-vars.os-theme-dark.os-scrollbar .os-scrollbar-handle, .os-no-css-vars.os-theme-light.os-scrollbar .os-scrollbar-handle":{borderRadius:"10px"},".os-no-css-vars.os-theme-dark.os-scrollbar .os-scrollbar-track, .os-no-css-vars.os-theme-light.os-scrollbar .os-scrollbar-track":{borderRadius:"10px"},".os-no-css-vars.os-theme-dark.os-scrollbar-horizontal, .os-no-css-vars.os-theme-light.os-scrollbar-horizontal":{padding:"2px 2px",right:"10px",height:"10px"},".os-no-css-vars.os-theme-dark.os-scrollbar-horizontal.os-scrollbar-rtl, .os-no-css-vars.os-theme-light.os-scrollbar-horizontal.os-scrollbar-rtl":{left:"10px",right:"0"},".os-no-css-vars.os-theme-dark.os-scrollbar-horizontal .os-scrollbar-handle, .os-no-css-vars.os-theme-light.os-scrollbar-horizontal .os-scrollbar-handle":{minWidth:"33px",maxWidth:"none"},".os-no-css-vars.os-theme-dark.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-no-css-vars.os-theme-light.os-scrollbar-horizontal .os-scrollbar-handle:before":{top:`calc(( + 2px + 4px + ) * -1)`,bottom:"calc(2px * -1)"},".os-no-css-vars.os-theme-dark.os-scrollbar-vertical, .os-no-css-vars.os-theme-light.os-scrollbar-vertical":{padding:"2px 2px",bottom:"10px",width:"10px"},".os-no-css-vars.os-theme-dark.os-scrollbar-vertical .os-scrollbar-handle, .os-no-css-vars.os-theme-light.os-scrollbar-vertical .os-scrollbar-handle":{minHeight:"33px",maxHeight:"none"},".os-no-css-vars.os-theme-dark.os-scrollbar-vertical .os-scrollbar-handle:before, .os-no-css-vars.os-theme-light.os-scrollbar-vertical .os-scrollbar-handle:before":{left:`calc(( + 2px + 4px + ) * -1)`,right:"calc(2px * -1)"},".os-no-css-vars.os-theme-dark.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before, .os-no-css-vars.os-theme-light.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before":{right:`calc(( + 2px + 4px + ) * -1)`,left:"calc(2px * -1)"},".os-no-css-vars.os-theme-dark .os-scrollbar-handle":{background:"rgba(0, 0, 0, 0.44)"},".os-no-css-vars.os-theme-dark:hover .os-scrollbar-handle":{background:"rgba(0, 0, 0, 0.55)"},".os-no-css-vars.os-theme-dark:active .os-scrollbar-handle":{background:"rgba(0, 0, 0, 0.66)"},".os-no-css-vars.os-theme-light .os-scrollbar-handle":{background:"rgba(255, 255, 255, 0.44)"},".os-no-css-vars.os-theme-light:hover .os-scrollbar-handle":{background:"rgba(255, 255, 255, 0.55)"},".os-no-css-vars.os-theme-light:active .os-scrollbar-handle":{background:"rgba(255, 255, 255, 0.66)"}}),e=()=>o.createElement(s,{styles:a}),h=e;export{h as default,a as getScrollAreaStyles}; +//# sourceMappingURL=GlobalScrollAreaStyles-UY5SB7EJ-0ade710d.js.map diff --git a/docs/assets/GlobalScrollAreaStyles-UY5SB7EJ-0ade710d.js.map b/docs/assets/GlobalScrollAreaStyles-UY5SB7EJ-0ade710d.js.map new file mode 100644 index 0000000..8bc1c9d --- /dev/null +++ b/docs/assets/GlobalScrollAreaStyles-UY5SB7EJ-0ade710d.js.map @@ -0,0 +1 @@ +{"version":3,"file":"GlobalScrollAreaStyles-UY5SB7EJ-0ade710d.js","sources":["../../node_modules/@storybook/components/dist/GlobalScrollAreaStyles-UY5SB7EJ.mjs"],"sourcesContent":["import './chunk-JRLSWQMA.mjs';\nimport React from 'react';\nimport { Global } from '@storybook/theming';\n\nvar getScrollAreaStyles=theme=>({\".os-size-observer,\\n.os-size-observer-listener\":{direction:\"inherit\",pointerEvents:\"none\",overflow:\"hidden\",visibility:\"hidden\",boxSizing:\"border-box\"},\".os-size-observer,\\n.os-size-observer-listener,\\n.os-size-observer-listener-item,\\n.os-size-observer-listener-item-final\":{writingMode:\"horizontal-tb\",position:\"absolute\",left:\"0\",top:\"0\"},\".os-size-observer\":{zIndex:-1,contain:\"strict\",display:\"flex\",flexDirection:\"row\",flexWrap:\"nowrap\",padding:\"inherit\",border:\"inherit\",boxSizing:\"inherit\",margin:\"-133px\",top:\"0\",right:\"0\",bottom:\"0\",left:\"0\",transform:\"scale(0.1)\"},\".os-size-observer::before\":{content:'\"\"',flex:\"none\",boxSizing:\"inherit\",padding:\"10px\",width:\"10px\",height:\"10px\"},\".os-size-observer-appear\":{animation:\"os-size-observer-appear-animation 1ms forwards\"},\".os-size-observer-listener\":{boxSizing:\"border-box\",position:\"relative\",flex:\"auto\",padding:\"inherit\",border:\"inherit\",margin:\"-133px\",transform:\"scale(10)\"},\".os-size-observer-listener.ltr\":{marginRight:\"-266px\",marginLeft:\"0\"},\".os-size-observer-listener.rtl\":{marginLeft:\"-266px\",marginRight:\"0\"},\".os-size-observer-listener:empty::before\":{content:'\"\"',width:\"100%\",height:\"100%\"},\".os-size-observer-listener:empty::before, .os-size-observer-listener > .os-size-observer-listener-item\":{display:\"block\",position:\"relative\",padding:\"inherit\",border:\"inherit\",boxSizing:\"content-box\",flex:\"auto\"},\".os-size-observer-listener-scroll\":{boxSizing:\"border-box\",display:\"flex\"},\".os-size-observer-listener-item\":{right:\"0\",bottom:\"0\",overflow:\"hidden\",direction:\"ltr\",flex:\"none\"},\".os-size-observer-listener-item-final\":{transition:\"none\"},\"@keyframes os-size-observer-appear-animation\":{from:{cursor:\"auto\"},to:{cursor:\"none\"}},\".os-trinsic-observer\":{flex:\"none\",boxSizing:\"border-box\",position:\"relative\",maxWidth:\"0px\",maxHeight:\"1px\",padding:\"0\",margin:\"0\",border:\"none\",overflow:\"hidden\",zIndex:-1,height:\"0\",top:\"calc(100% + 1px)\",contain:\"strict\"},\".os-trinsic-observer:not(:empty)\":{height:\"calc(100% + 1px)\",top:\"-1px\"},\".os-trinsic-observer:not(:empty) > .os-size-observer\":{width:\"1000%\",height:\"1000%\",minHeight:\"1px\",minWidth:\"1px\"},\".os-environment\":{\"--os-custom-prop\":\"-1\",position:\"fixed\",opacity:0,visibility:\"hidden\",overflow:\"scroll\",height:\"200px\",width:\"200px\",zIndex:\"var(--os-custom-prop)\"},\".os-environment div\":{width:\"200%\",height:\"200%\",margin:\"10px 0\"},\".os-environment.os-environment-flexbox-glue\":{display:\"flex\",flexDirection:\"row\",flexWrap:\"nowrap\",height:\"auto\",width:\"auto\",minHeight:\"200px\",minWidth:\"200px\"},\".os-environment.os-environment-flexbox-glue div\":{flex:\"auto\",width:\"auto\",height:\"auto\",maxHeight:\"100%\",maxWidth:\"100%\",margin:\"0\"},\".os-environment.os-environment-flexbox-glue-max\":{maxHeight:\"200px\"},\".os-environment.os-environment-flexbox-glue-max div\":{overflow:\"visible\"},\".os-environment.os-environment-flexbox-glue-max div::before\":{content:'\"\"',display:\"block\",height:\"999px\",width:\"999px\"},\".os-environment,\\n[data-overlayscrollbars-viewport]\":{msOverflowStyle:\"scrollbar !important\"},\"[data-overlayscrollbars-initialize],\\n[data-overlayscrollbars~=scrollbarHidden],\\n[data-overlayscrollbars-viewport~=scrollbarHidden],\\n.os-scrollbar-hidden.os-environment\":{scrollbarWidth:\"none !important\"},\"[data-overlayscrollbars-initialize]::-webkit-scrollbar,\\n[data-overlayscrollbars-initialize]::-webkit-scrollbar-corner,\\n[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar,\\n[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar-corner,\\n[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,\\n[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner,\\n.os-scrollbar-hidden.os-environment::-webkit-scrollbar,\\n.os-scrollbar-hidden.os-environment::-webkit-scrollbar-corner\":{WebkitAppearance:\"none !important\",appearance:\"none !important\",display:\"none !important\",width:\"0 !important\",height:\"0 !important\"},\"[data-overlayscrollbars-initialize]\":{overflow:\"auto\"},\"html[data-overlayscrollbars],\\nhtml.os-scrollbar-hidden,\\nhtml.os-scrollbar-hidden > body\":{boxSizing:\"border-box\",margin:\"0\",width:\"100%\",height:\"100%\"},\"html[data-overlayscrollbars] > body\":{overflow:\"visible\"},\"[data-overlayscrollbars~=host]\":{position:\"relative\"},\"[data-overlayscrollbars~=host],\\n[data-overlayscrollbars-padding]\":{display:\"flex\",flexDirection:\"row !important\",flexWrap:\"nowrap !important\"},\"[data-overlayscrollbars-padding],\\n[data-overlayscrollbars-viewport]\":{boxSizing:\"inherit\",position:\"relative\",flex:\"auto !important\",height:\"auto\",width:\"100%\",padding:\"0\",margin:\"0\",border:\"none\",zIndex:0,overflow:\"hidden\"},\"[data-overlayscrollbars-viewport]\":{\"--os-vaw\":\"0\",\"--os-vah\":\"0\"},\"[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]::before\":{content:'\"\"',position:\"absolute\",pointerEvents:\"none\",zIndex:-1,minWidth:\"1px\",minHeight:\"1px\",width:\"var(--os-vaw)\",height:\"var(--os-vah)\"},\"[data-overlayscrollbars~=host],\\n[data-overlayscrollbars~=viewport]\":{overflow:\"hidden\"},\"[data-overlayscrollbars~=overflowVisible],\\n[data-overlayscrollbars-padding~=overflowVisible],\\n[data-overlayscrollbars-viewport~=overflowVisible]\":{overflow:\"visible\"},\"[data-overlayscrollbars-overflow-x=hidden]\":{overflowX:\"hidden\",overflowY:\"hidden\"},\"[data-overlayscrollbars-overflow-x=scroll]\":{overflowX:\"scroll\"},\"[data-overlayscrollbars-overflow-y=scroll]\":{overflowY:\"scroll\"},\"[data-overlayscrollbars~=scrollbarPressed],\\n[data-overlayscrollbars~=scrollbarPressed] [data-overlayscrollbars-viewport]\":{scrollBehavior:\"auto !important\"},\"[data-overlayscrollbars-content]\":{boxSizing:\"inherit\"},\"[data-overlayscrollbars-grid],\\n[data-overlayscrollbars-grid] [data-overlayscrollbars-padding]\":{display:\"grid\",gridTemplate:\"1fr/1fr\"},\"[data-overlayscrollbars-grid] > [data-overlayscrollbars-padding],\\n[data-overlayscrollbars-grid] > [data-overlayscrollbars-viewport],\\n[data-overlayscrollbars-grid] > [data-overlayscrollbars-padding] > [data-overlayscrollbars-viewport]\":{height:\"auto !important\",width:\"auto !important\"},\".os-scrollbar\":{contain:[\"size layout\",\"size layout style\"],transition:\"opacity 0.15s, visibility 0.15s, top 0.15s, right 0.15s, bottom 0.15s, left 0.15s\",pointerEvents:\"none\",position:\"absolute\",opacity:0,visibility:\"hidden\",\"--os-size\":\"0\",\"--os-padding-perpendicular\":\"0\",\"--os-padding-axis\":\"0\",\"--os-track-border-radius\":\"0\",\"--os-track-bg\":\"none\",\"--os-track-bg-hover\":\"none\",\"--os-track-bg-active\":\"none\",\"--os-track-border\":\"none\",\"--os-track-border-hover\":\"none\",\"--os-track-border-active\":\"none\",\"--os-handle-border-radius\":\"0\",\"--os-handle-bg\":\"none\",\"--os-handle-bg-hover\":\"none\",\"--os-handle-bg-active\":\"none\",\"--os-handle-border\":\"none\",\"--os-handle-border-hover\":\"none\",\"--os-handle-border-active\":\"none\",\"--os-handle-min-size\":\"33px\",\"--os-handle-max-size\":\"none\",\"--os-handle-perpendicular-size\":\"100%\",\"--os-handle-perpendicular-size-hover\":\"100%\",\"--os-handle-perpendicular-size-active\":\"100%\",\"--os-handle-interactive-area-offset\":\"0\"},\"body > .os-scrollbar\":{position:\"fixed\",zIndex:99999},\".os-scrollbar-transitionless\":{transition:\"none\"},\".os-scrollbar-track\":{position:\"relative\",direction:\"ltr !important\",padding:\"0 !important\",border:\"none !important\"},\".os-scrollbar-handle\":{position:\"absolute\"},\".os-scrollbar-track,\\n.os-scrollbar-handle\":{pointerEvents:\"none\",width:\"100%\",height:\"100%\"},\".os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,\\n.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle\":{pointerEvents:\"auto\",touchAction:\"none\"},\".os-scrollbar-horizontal\":{bottom:\"0\",left:\"0\",padding:\"var(--os-padding-perpendicular) var(--os-padding-axis)\",right:\"var(--os-size)\",height:\"var(--os-size)\"},\".os-scrollbar-vertical\":{top:\"0\",right:\"0\",padding:\"var(--os-padding-axis) var(--os-padding-perpendicular)\",bottom:\"var(--os-size)\",width:\"var(--os-size)\"},\".os-scrollbar-rtl.os-scrollbar-horizontal\":{right:\"0\"},\".os-scrollbar-rtl.os-scrollbar-vertical\":{right:\"auto\",left:\"0\"},\".os-scrollbar-visible,\\n.os-scrollbar-interaction.os-scrollbar-visible\":{opacity:1,visibility:\"visible\"},\".os-scrollbar-auto-hidden\":{opacity:0,visibility:\"hidden\"},\".os-scrollbar-unusable,\\n.os-scrollbar-unusable *,\\n.os-scrollbar-wheel,\\n.os-scrollbar-wheel *\":{pointerEvents:\"none !important\"},\".os-scrollbar-unusable .os-scrollbar-handle\":{opacity:\"0 !important\"},\".os-scrollbar-horizontal .os-scrollbar-handle\":{bottom:\"0\",minWidth:\"var(--os-handle-min-size)\",maxWidth:\"var(--os-handle-max-size)\",height:\"var(--os-handle-perpendicular-size)\",transition:\"opacity 0.15s, background-color 0.15s, border-color 0.15s, height 0.15s\"},\".os-scrollbar-vertical .os-scrollbar-handle\":{right:\"0\",minHeight:\"var(--os-handle-min-size)\",maxHeight:\"var(--os-handle-max-size)\",width:\"var(--os-handle-perpendicular-size)\",transition:\"opacity 0.15s, background-color 0.15s, border-color 0.15s, width 0.15s\"},\".os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle\":{right:\"auto\",left:\"0\"},\".os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,\\n.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl\":{left:\"0\",right:\"0\"},\".os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,\\n.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl\":{top:\"0\",bottom:\"0\"},\".os-scrollbar .os-scrollbar-track\":{border:\"var(--os-track-border)\",borderRadius:\"var(--os-track-border-radius)\",background:\"var(--os-track-bg)\",transition:\"opacity 0.15s, background-color 0.15s, border-color 0.15s\"},\".os-scrollbar .os-scrollbar-track:hover\":{border:\"var(--os-track-border-hover)\",background:\"var(--os-track-bg-hover)\"},\".os-scrollbar .os-scrollbar-track:active\":{border:\"var(--os-track-border-active)\",background:\"var(--os-track-bg-active)\"},\".os-scrollbar .os-scrollbar-handle\":{border:\"var(--os-handle-border)\",borderRadius:\"var(--os-handle-border-radius)\",background:theme.textMutedColor,opacity:.5},\".os-scrollbar .os-scrollbar-handle:before\":{content:'\"\"',position:\"absolute\",left:\"0\",right:\"0\",top:\"0\",bottom:\"0\",display:\"block\"},\".os-scrollbar .os-scrollbar-handle:hover\":{border:\"var(--os-handle-border-hover)\",opacity:.6},\".os-scrollbar .os-scrollbar-handle:active\":{border:\"var(--os-handle-border-active)\",background:\"var(--os-handle-bg-active)\"},\".os-scrollbar-horizontal.os-scrollbar-rtl\":{left:\"var(--os-size)\",right:\"0\"},\".os-scrollbar-horizontal .os-scrollbar-handle:before\":{top:\"calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1)\",bottom:\"calc(var(--os-padding-perpendicular) * -1)\"},\".os-scrollbar-horizontal:hover .os-scrollbar-handle\":{height:\"var(--os-handle-perpendicular-size-hover)\"},\".os-scrollbar-horizontal:active .os-scrollbar-handle\":{height:\"var(--os-handle-perpendicular-size-active)\"},\".os-scrollbar-vertical .os-scrollbar-handle:before\":{left:\"calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1)\",right:\"calc(var(--os-padding-perpendicular) * -1)\"},\".os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before\":{right:\"calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1)\",left:\"calc(var(--os-padding-perpendicular) * -1)\"},\".os-scrollbar-vertical:hover .os-scrollbar-handle\":{width:\"var(--os-handle-perpendicular-size-hover)\"},\".os-scrollbar-vertical:active .os-scrollbar-handle\":{width:\"var(--os-handle-perpendicular-size-active)\"},\"[data-overlayscrollbars~=updating] > .os-scrollbar,\\n.os-theme-none.os-scrollbar\":{display:\"none !important\"},\".os-theme-dark,\\n.os-theme-light\":{boxSizing:\"border-box\",\"--os-size\":\"10px\",\"--os-padding-perpendicular\":\"2px\",\"--os-padding-axis\":\"2px\",\"--os-track-border-radius\":\"10px\",\"--os-handle-interactive-area-offset\":\"4px\",\"--os-handle-border-radius\":\"10px\"},\".os-theme-dark\":{\"--os-handle-bg\":\"rgba(0, 0, 0, 0.44)\",\"--os-handle-bg-hover\":\"rgba(0, 0, 0, 0.55)\",\"--os-handle-bg-active\":\"rgba(0, 0, 0, 0.66)\"},\".os-theme-light\":{\"--os-handle-bg\":\"rgba(255, 255, 255, 0.44)\",\"--os-handle-bg-hover\":\"rgba(255, 255, 255, 0.55)\",\"--os-handle-bg-active\":\"rgba(255, 255, 255, 0.66)\"},\".os-no-css-vars.os-theme-dark.os-scrollbar .os-scrollbar-handle, .os-no-css-vars.os-theme-light.os-scrollbar .os-scrollbar-handle\":{borderRadius:\"10px\"},\".os-no-css-vars.os-theme-dark.os-scrollbar .os-scrollbar-track, .os-no-css-vars.os-theme-light.os-scrollbar .os-scrollbar-track\":{borderRadius:\"10px\"},\".os-no-css-vars.os-theme-dark.os-scrollbar-horizontal, .os-no-css-vars.os-theme-light.os-scrollbar-horizontal\":{padding:\"2px 2px\",right:\"10px\",height:\"10px\"},\".os-no-css-vars.os-theme-dark.os-scrollbar-horizontal.os-scrollbar-rtl, .os-no-css-vars.os-theme-light.os-scrollbar-horizontal.os-scrollbar-rtl\":{left:\"10px\",right:\"0\"},\".os-no-css-vars.os-theme-dark.os-scrollbar-horizontal .os-scrollbar-handle, .os-no-css-vars.os-theme-light.os-scrollbar-horizontal .os-scrollbar-handle\":{minWidth:\"33px\",maxWidth:\"none\"},\".os-no-css-vars.os-theme-dark.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-no-css-vars.os-theme-light.os-scrollbar-horizontal .os-scrollbar-handle:before\":{top:`calc((\n 2px + 4px\n ) * -1)`,bottom:\"calc(2px * -1)\"},\".os-no-css-vars.os-theme-dark.os-scrollbar-vertical, .os-no-css-vars.os-theme-light.os-scrollbar-vertical\":{padding:\"2px 2px\",bottom:\"10px\",width:\"10px\"},\".os-no-css-vars.os-theme-dark.os-scrollbar-vertical .os-scrollbar-handle, .os-no-css-vars.os-theme-light.os-scrollbar-vertical .os-scrollbar-handle\":{minHeight:\"33px\",maxHeight:\"none\"},\".os-no-css-vars.os-theme-dark.os-scrollbar-vertical .os-scrollbar-handle:before, .os-no-css-vars.os-theme-light.os-scrollbar-vertical .os-scrollbar-handle:before\":{left:`calc((\n 2px + 4px\n ) * -1)`,right:\"calc(2px * -1)\"},\".os-no-css-vars.os-theme-dark.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before, .os-no-css-vars.os-theme-light.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before\":{right:`calc((\n 2px + 4px\n ) * -1)`,left:\"calc(2px * -1)\"},\".os-no-css-vars.os-theme-dark .os-scrollbar-handle\":{background:\"rgba(0, 0, 0, 0.44)\"},\".os-no-css-vars.os-theme-dark:hover .os-scrollbar-handle\":{background:\"rgba(0, 0, 0, 0.55)\"},\".os-no-css-vars.os-theme-dark:active .os-scrollbar-handle\":{background:\"rgba(0, 0, 0, 0.66)\"},\".os-no-css-vars.os-theme-light .os-scrollbar-handle\":{background:\"rgba(255, 255, 255, 0.44)\"},\".os-no-css-vars.os-theme-light:hover .os-scrollbar-handle\":{background:\"rgba(255, 255, 255, 0.55)\"},\".os-no-css-vars.os-theme-light:active .os-scrollbar-handle\":{background:\"rgba(255, 255, 255, 0.66)\"}}),GlobalScrollAreaStyles=()=>React.createElement(Global,{styles:getScrollAreaStyles}),GlobalScrollAreaStyles_default=GlobalScrollAreaStyles;\n\nexport { GlobalScrollAreaStyles_default as default, getScrollAreaStyles };\n"],"names":["getScrollAreaStyles","theme","GlobalScrollAreaStyles","React","Global","GlobalScrollAreaStyles_default"],"mappings":"wOAIG,IAACA,EAAoBC,IAAQ,CAAC,iDAAiD,CAAC,UAAU,UAAU,cAAc,OAAO,SAAS,SAAS,WAAW,SAAS,UAAU,YAAY,EAAE,2HAA2H,CAAC,YAAY,gBAAgB,SAAS,WAAW,KAAK,IAAI,IAAI,GAAG,EAAE,oBAAoB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a/docs/assets/OverlayScrollbars-GZGLA7DL-1612b709.js b/docs/assets/OverlayScrollbars-GZGLA7DL-1612b709.js new file mode 100644 index 0000000..0793962 --- /dev/null +++ b/docs/assets/OverlayScrollbars-GZGLA7DL-1612b709.js @@ -0,0 +1,2 @@ +import{r as oe,R as vr}from"./index-4d70ff75.js";import"./iframe-f8443767.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-d37d4223.js";import"./index-f073aaf1.js";import"./index-356e4a49.js";function D(e,t){if(xt(e))for(let r=0;rt(e[r],r,e));return e}function re(e,t){let r=_e(t);if(ye(t)||r){let l=r?"":{};if(e){let n=window.getComputedStyle(e,null);l=r?wr(e,n,t):t.reduce((o,i)=>(o[i]=wr(e,n,i),o),l)}return l}e&&D(pe(t),l=>kl(e,l,t[l]))}var he=(e,t)=>{let{o:r,u:l,_:n}=e,o=r,i,s=(a,c)=>{let d=o,p=a,f=c||(l?!l(d,p):d!==p);return(f||n)&&(o=p,i=d),[o,f,i]};return[t?a=>s(t(o,i),a):s,a=>[o,!!a,i]]},lt=()=>typeof window<"u",Fr=lt()&&Node.ELEMENT_NODE,{toString:wl,hasOwnProperty:Mt}=Object.prototype,Ie=e=>e===void 0,St=e=>e===null,yl=e=>Ie(e)||St(e)?`${e}`:wl.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),Te=e=>typeof e=="number",_e=e=>typeof e=="string",Qt=e=>typeof e=="boolean",we=e=>typeof e=="function",ye=e=>Array.isArray(e),et=e=>typeof e=="object"&&!ye(e)&&!St(e),xt=e=>{let t=!!e&&e.length,r=Te(t)&&t>-1&&t%1==0;return ye(e)||!we(e)&&r?t>0&&et(e)?t-1 in e:!0:!1},Xt=e=>{if(!e||!et(e)||yl(e)!=="object")return!1;let t,r="constructor",l=e[r],n=l&&l.prototype,o=Mt.call(e,r),i=n&&Mt.call(n,"isPrototypeOf");if(l&&!o&&!i)return!1;for(t in e);return Ie(t)||Mt.call(e,t)},vt=e=>{let t=HTMLElement;return e?t?e instanceof t:e.nodeType===Fr:!1},Ot=e=>{let t=Element;return e?t?e instanceof t:e.nodeType===Fr:!1},er=(e,t,r)=>e.indexOf(t,r),W=(e,t,r)=>(!r&&!_e(t)&&xt(t)?Array.prototype.push.apply(e,t):e.push(t),e),Fe=e=>{let t=Array.from,r=[];return t&&e?t(e):(e instanceof Set?e.forEach(l=>{W(r,l)}):D(e,l=>{W(r,l)}),r)},tr=e=>!!e&&e.length===0,Ce=(e,t,r)=>{D(e,l=>l&&l.apply(void 0,t||[])),!r&&(e.length=0)},Ct=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),pe=e=>e?Object.keys(e):[],K=(e,t,r,l,n,o,i)=>{let s=[t,r,l,n,o,i];return(typeof e!="object"||St(e))&&!we(e)&&(e={}),D(s,a=>{D(pe(a),c=>{let d=a[c];if(e===d)return!0;let p=ye(d);if(d&&(Xt(d)||p)){let f=e[c],u=f;p&&!ye(f)?u=[]:!p&&!Xt(f)&&(u={}),e[c]=K(u,d)}else e[c]=d})}),e},rr=e=>{for(let t in e)return!1;return!0},jr=(e,t,r,l)=>{if(Ie(l))return r?r[e]:t;r&&(_e(l)||Te(l))&&(r[e]=l)},te=(e,t,r)=>{if(Ie(r))return e?e.getAttribute(t):null;e&&e.setAttribute(t,r)},se=(e,t)=>{e&&e.removeAttribute(t)},Ne=(e,t,r,l)=>{if(r){let n=te(e,t)||"",o=new Set(n.split(" "));o[l?"add":"delete"](r);let i=Fe(o).join(" ").trim();te(e,t,i)}},Sl=(e,t,r)=>{let l=te(e,t)||"";return new Set(l.split(" ")).has(r)},me=(e,t)=>jr("scrollLeft",0,e,t),Le=(e,t)=>jr("scrollTop",0,e,t),Wt=lt()&&Element.prototype,qr=(e,t)=>{let r=[],l=t?Ot(t)?t:null:document;return l?W(r,l.querySelectorAll(e)):r},xl=(e,t)=>{let r=t?Ot(t)?t:null:document;return r?r.querySelector(e):null},ht=(e,t)=>Ot(e)?(Wt.matches||Wt.msMatchesSelector).call(e,t):!1,lr=e=>e?Fe(e.childNodes):[],Pe=e=>e?e.parentElement:null,Je=(e,t)=>{if(Ot(e)){let r=Wt.closest;if(r)return r.call(e,t);do{if(ht(e,t))return e;e=Pe(e)}while(e)}return null},Ol=(e,t,r)=>{let l=e&&Je(e,t),n=e&&xl(r,l),o=Je(n,t)===l;return l&&n?l===e||n===e||o&&Je(Je(e,r),t)!==l:!1},nr=(e,t,r)=>{if(r&&e){let l=t,n;xt(r)?(n=document.createDocumentFragment(),D(r,o=>{o===l&&(l=o.previousSibling),n.appendChild(o)})):n=r,t&&(l?l!==t&&(l=l.nextSibling):l=e.firstChild),e.insertBefore(n,l||null)}},ve=(e,t)=>{nr(e,null,t)},Cl=(e,t)=>{nr(Pe(e),e,t)},hr=(e,t)=>{nr(Pe(e),e&&e.nextSibling,t)},Oe=e=>{if(xt(e))D(Fe(e),t=>Oe(t));else if(e){let t=Pe(e);t&&t.removeChild(e)}},Ve=e=>{let t=document.createElement("div");return e&&te(t,"class",e),t},Xr=e=>{let t=Ve();return t.innerHTML=e.trim(),D(lr(t),r=>Oe(r))},Ut=e=>e.charAt(0).toUpperCase()+e.slice(1),El=()=>Ve().style,$l=["-webkit-","-moz-","-o-","-ms-"],Al=["WebKit","Moz","O","MS","webkit","moz","o","ms"],Tt={},_t={},Ll=e=>{let t=_t[e];if(Ct(_t,e))return t;let r=Ut(e),l=El();return D($l,n=>{let o=n.replace(/-/g,"");return!(t=[e,n+e,o+r,Ut(o)+r].find(i=>l[i]!==void 0))}),_t[e]=t||""},nt=e=>{if(lt()){let t=Tt[e]||window[e];return Ct(Tt,e)||(D(Al,r=>(t=t||window[r+Ut(e)],!t)),Tt[e]=t),t}},Hl=nt("MutationObserver"),gr=nt("IntersectionObserver"),Ke=nt("ResizeObserver"),Wr=nt("cancelAnimationFrame"),Ur=nt("requestAnimationFrame"),gt=lt()&&window.setTimeout,Jt=lt()&&window.clearTimeout,Pl=/[^\x20\t\r\n\f]+/g,Jr=(e,t,r)=>{let l=e&&e.classList,n,o=0,i=!1;if(l&&t&&_e(t)){let s=t.match(Pl)||[];for(i=s.length>0;n=s[o++];)i=!!r(l,n)&&i}return i},ir=(e,t)=>{Jr(e,t,(r,l)=>r.remove(l))},He=(e,t)=>(Jr(e,t,(r,l)=>r.add(l)),ir.bind(0,e,t)),Et=(e,t,r,l)=>{if(e&&t){let n=!0;return D(r,o=>{let i=l?l(e[o]):e[o],s=l?l(t[o]):t[o];i!==s&&(n=!1)}),n}return!1},Kr=(e,t)=>Et(e,t,["w","h"]),Yr=(e,t)=>Et(e,t,["x","y"]),Il=(e,t)=>Et(e,t,["t","r","b","l"]),mr=(e,t,r)=>Et(e,t,["width","height"],r&&(l=>Math.round(l))),be=()=>{},Ue=e=>{let t,r=e?gt:Ur,l=e?Jt:Wr;return[n=>{l(t),t=r(n,we(e)?e():e)},()=>l(t)]},or=(e,t)=>{let r,l,n,o=be,{v:i,g:s,p:a}=t||{},c=function(u){o(),Jt(r),r=l=void 0,o=be,e.apply(this,u)},d=u=>a&&l?a(l,u):u,p=()=>{o!==be&&c(d(n)||n)},f=function(){let u=Fe(arguments),v=we(i)?i():i;if(Te(v)&&v>=0){let C=we(s)?s():s,H=Te(C)&&C>=0,$=v>0?gt:Ur,g=v>0?Jt:Wr,y=d(u)||u,L=c.bind(0,y);o();let P=$(L,v);o=()=>g(P),H&&!r&&(r=gt(p,C)),l=n=y}else c(u)};return f.m=p,f},Rl={opacity:1,zindex:1},ot=(e,t)=>{let r=t?parseFloat(e):parseInt(e,10);return r===r?r:0},zl=(e,t)=>!Rl[e.toLowerCase()]&&Te(t)?`${t}px`:t,wr=(e,t,r)=>t!=null?t[r]||t.getPropertyValue(r):e.style[r],kl=(e,t,r)=>{try{let{style:l}=e;Ie(l[t])?l.setProperty(t,r):l[t]=zl(t,r)}catch{}},tt=e=>re(e,"direction")==="rtl",yr=(e,t,r)=>{let l=t?`${t}-`:"",n=r?`-${r}`:"",o=`${l}top${n}`,i=`${l}right${n}`,s=`${l}bottom${n}`,a=`${l}left${n}`,c=re(e,[o,i,s,a]);return{t:ot(c[o],!0),r:ot(c[i],!0),b:ot(c[s],!0),l:ot(c[a],!0)}},{round:Sr}=Math,ar={w:0,h:0},rt=e=>e?{w:e.offsetWidth,h:e.offsetHeight}:ar,bt=e=>e?{w:e.clientWidth,h:e.clientHeight}:ar,mt=e=>e?{w:e.scrollWidth,h:e.scrollHeight}:ar,wt=e=>{let t=parseFloat(re(e,"height"))||0,r=parseFloat(re(e,"width"))||0;return{w:r-Sr(r),h:t-Sr(t)}},xe=e=>e.getBoundingClientRect(),at,Ml=()=>{if(Ie(at)){at=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){at=!0}}))}catch{}}return at},Zr=e=>e.split(" "),Tl=(e,t,r,l)=>{D(Zr(t),n=>{e.removeEventListener(n,r,l)})},Q=(e,t,r,l)=>{var n;let o=Ml(),i=(n=o&&l&&l.S)!=null?n:o,s=l&&l.$||!1,a=l&&l.C||!1,c=[],d=o?{passive:i,capture:s}:s;return D(Zr(t),p=>{let f=a?u=>{e.removeEventListener(p,f,s),r&&r(u)}:r;W(c,Tl.bind(null,e,p,f,s)),e.addEventListener(p,f,d)}),Ce.bind(0,c)},Gr=e=>e.stopPropagation(),Qr=e=>e.preventDefault(),_l={x:0,y:0},Bt=e=>{let t=e?xe(e):0;return t?{x:t.left+window.pageYOffset,y:t.top+window.pageXOffset}:_l},xr=(e,t)=>{D(ye(t)?t:[t],e)},sr=e=>{let t=new Map,r=(o,i)=>{if(o){let s=t.get(o);xr(a=>{s&&s[a?"delete":"clear"](a)},i)}else t.forEach(s=>{s.clear()}),t.clear()},l=(o,i)=>{if(_e(o)){let c=t.get(o)||new Set;return t.set(o,c),xr(d=>{we(d)&&c.add(d)},i),r.bind(0,o,i)}Qt(i)&&i&&r();let s=pe(o),a=[];return D(s,c=>{let d=o[c];d&&W(a,l(c,d))}),Ce.bind(0,a)},n=(o,i)=>{let s=t.get(o);D(Fe(s),a=>{i&&!tr(i)?a.apply(0,i):a()})};return l(e||{}),[l,r,n]},Or=e=>JSON.stringify(e,(t,r)=>{if(we(r))throw new Error;return r}),Bl={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},el=(e,t)=>{let r={},l=pe(t).concat(pe(e));return D(l,n=>{let o=e[n],i=t[n];if(et(o)&&et(i))K(r[n]={},el(o,i)),rr(r[n])&&delete r[n];else if(Ct(t,n)&&i!==o){let s=!0;if(ye(o)||ye(i))try{Or(o)===Or(i)&&(s=!1)}catch{}s&&(r[n]=i)}}),r},tl="os-environment",rl=`${tl}-flexbox-glue`,Dl=`${rl}-max`,ll="os-scrollbar-hidden",Dt="data-overlayscrollbars-initialize",ge="data-overlayscrollbars",nl=`${ge}-overflow-x`,il=`${ge}-overflow-y`,Ye="overflowVisible",Nl="scrollbarHidden",Cr="scrollbarPressed",yt="updating",ze="data-overlayscrollbars-viewport",Nt="arrange",ol="scrollbarHidden",Ze=Ye,Kt="data-overlayscrollbars-padding",Vl=Ze,Er="data-overlayscrollbars-content",cr="os-size-observer",Fl=`${cr}-appear`,jl=`${cr}-listener`,ql="os-trinsic-observer",Xl="os-no-css-vars",Wl="os-theme-none",ce="os-scrollbar",Ul=`${ce}-rtl`,Jl=`${ce}-horizontal`,Kl=`${ce}-vertical`,al=`${ce}-track`,dr=`${ce}-handle`,Yl=`${ce}-visible`,Zl=`${ce}-cornerless`,$r=`${ce}-transitionless`,Ar=`${ce}-interaction`,Lr=`${ce}-unusable`,Hr=`${ce}-auto-hidden`,Pr=`${ce}-wheel`,Gl=`${al}-interactive`,Ql=`${dr}-interactive`,sl={},je=()=>sl,en=e=>{let t=[];return D(ye(e)?e:[e],r=>{let l=pe(r);D(l,n=>{W(t,sl[n]=r[n])})}),t},tn="__osOptionsValidationPlugin",rn="__osSizeObserverPlugin",ur="__osScrollbarsHidingPlugin",ln="__osClickScrollPlugin",Vt,Ir=(e,t,r,l)=>{ve(e,t);let n=bt(t),o=rt(t),i=wt(r);return l&&Oe(t),{x:o.h-n.h+i.h,y:o.w-n.w+i.w}},nn=e=>{let t=!1,r=He(e,ll);try{t=re(e,Ll("scrollbar-width"))==="none"||window.getComputedStyle(e,"::-webkit-scrollbar").getPropertyValue("display")==="none"}catch{}return r(),t},on=(e,t)=>{let r="hidden";re(e,{overflowX:r,overflowY:r,direction:"rtl"}),me(e,0);let l=Bt(e),n=Bt(t);me(e,-999);let o=Bt(t);return{i:l.x===n.x,n:n.x!==o.x}},an=(e,t)=>{let r=He(e,rl),l=xe(e),n=xe(t),o=mr(n,l,!0),i=He(e,Dl),s=xe(e),a=xe(t),c=mr(a,s,!0);return r(),i(),o&&c},sn=()=>{let{body:e}=document,t=Xr(`
`)[0],r=t.firstChild,[l,,n]=sr(),[o,i]=he({o:Ir(e,t,r),u:Yr},Ir.bind(0,e,t,r,!0)),[s]=i(),a=nn(t),c={x:s.x===0,y:s.y===0},d={elements:{host:null,padding:!a,viewport:$=>a&&$===$.ownerDocument.body&&$,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},p=K({},Bl),f=K.bind(0,{},p),u=K.bind(0,{},d),v={k:s,A:c,I:a,L:re(t,"zIndex")==="-1",B:on(t,r),V:an(t,r),Y:l.bind(0,"z"),j:l.bind(0,"r"),N:u,q:$=>K(d,$)&&u(),F:f,G:$=>K(p,$)&&f(),X:K({},d),U:K({},p)},C=window.addEventListener,H=or($=>n($?"z":"r"),{v:33,g:99});if(se(t,"style"),Oe(t),C("resize",H.bind(0,!1)),!a&&(!c.x||!c.y)){let $;C("resize",()=>{let g=je()[ur];$=$||g&&g.R(),$&&$(v,o,H.bind(0,!0))})}return v},de=()=>(Vt||(Vt=sn()),Vt),pr=(e,t)=>we(t)?t.apply(0,e):t,cn=(e,t,r,l)=>{let n=Ie(l)?r:l;return pr(e,n)||t.apply(0,e)},cl=(e,t,r,l)=>{let n=Ie(l)?r:l,o=pr(e,n);return!!o&&(vt(o)?o:t.apply(0,e))},dn=(e,t,r)=>{let{nativeScrollbarsOverlaid:l,body:n}=r||{},{A:o,I:i}=de(),{nativeScrollbarsOverlaid:s,body:a}=t,c=l??s,d=Ie(n)?a:n,p=(o.x||o.y)&&c,f=e&&(St(d)?!i:d);return!!p||!!f},fr=new WeakMap,un=(e,t)=>{fr.set(e,t)},pn=e=>{fr.delete(e)},dl=e=>fr.get(e),Rr=(e,t)=>e?t.split(".").reduce((r,l)=>r&&Ct(r,l)?r[l]:void 0,e):void 0,Yt=(e,t,r)=>l=>[Rr(e,l),r||Rr(t,l)!==void 0],ul=e=>{let t=e;return[()=>t,r=>{t=K({},t,r)}]},st="tabindex",ct=Ve.bind(0,""),Ft=e=>{ve(Pe(e),lr(e)),Oe(e)},fn=e=>{let t=de(),{N:r,I:l}=t,n=je()[ur],o=n&&n.T,{elements:i}=r(),{host:s,padding:a,viewport:c,content:d}=i,p=vt(e),f=p?{}:e,{elements:u}=f,{host:v,padding:C,viewport:H,content:$}=u||{},g=p?e:f.target,y=ht(g,"textarea"),L=g.ownerDocument,P=L.documentElement,_=g===L.body,z=L.defaultView,I=cn.bind(0,[g]),F=cl.bind(0,[g]),Z=pr.bind(0,[g]),j=I.bind(0,ct,c),R=F.bind(0,ct,d),w=j(H),b=w===g,x=b&&_,h=!b&&R($),m=!b&&vt(w)&&w===h,E=m&&!!Z(d),S=E?j():w,O=E?h:R(),A=x?P:m?S:w,N=y?I(ct,s,v):g,k=x?A:N,T=m?O:h,q=L.activeElement,X=!b&&z.top===z&&q===g,M={W:g,Z:k,J:A,K:!b&&F(ct,a,C),tt:T,nt:!b&&!l&&o&&o(t),ot:x?P:A,st:x?L:A,et:z,ct:L,rt:y,it:_,lt:p,ut:b,dt:m,ft:(ee,ue)=>Sl(A,b?ge:ze,b?ue:ee),_t:(ee,ue,ie)=>Ne(A,b?ge:ze,b?ue:ee,ie)},V=pe(M).reduce((ee,ue)=>{let ie=M[ue];return W(ee,ie&&!Pe(ie)?ie:!1)},[]),U=ee=>ee?er(V,ee)>-1:null,{W:J,Z:Y,K:le,J:B,tt:G,nt:ne}=M,ae=[()=>{se(Y,ge),se(Y,Dt),se(J,Dt),_&&(se(P,ge),se(P,Dt))}],Be=y&&U(Y),Re=y?J:lr([G,B,le,Y,J].find(ee=>U(ee)===!1)),qe=x?J:G||B;return[M,()=>{te(Y,ge,b?"viewport":"host"),te(le,Kt,""),te(G,Er,""),b||te(B,ze,"");let ee=_&&!b?He(Pe(g),ll):be;if(Be&&(hr(J,Y),W(ae,()=>{hr(Y,J),Oe(Y)})),ve(qe,Re),ve(Y,le),ve(le||Y,!b&&B),ve(B,G),W(ae,()=>{ee(),se(le,Kt),se(G,Er),se(B,nl),se(B,il),se(B,ze),U(G)&&Ft(G),U(B)&&Ft(B),U(le)&&Ft(le)}),l&&!b&&(Ne(B,ze,ol,!0),W(ae,se.bind(0,B,ze))),ne&&(Cl(B,ne),W(ae,Oe.bind(0,ne))),X){let ue=te(B,st);te(B,st,"-1"),B.focus();let ie=()=>ue?te(B,st,ue):se(B,st),De=Q(L,"pointerdown keydown",()=>{ie(),De()});W(ae,[ie,De])}else q&&q.focus&&q.focus();Re=0},Ce.bind(0,ae)]},bn=(e,t)=>{let{tt:r}=e,[l]=t;return n=>{let{V:o}=de(),{ht:i}=l(),{vt:s}=n,a=(r||!o)&&s;return a&&re(r,{height:i?"":"100%"}),{gt:a,wt:a}}},vn=(e,t)=>{let[r,l]=t,{Z:n,K:o,J:i,ut:s}=e,[a,c]=he({u:Il,o:yr()},yr.bind(0,n,"padding",""));return(d,p,f)=>{let[u,v]=c(f),{I:C,V:H}=de(),{bt:$}=r(),{gt:g,wt:y,yt:L}=d,[P,_]=p("paddingAbsolute");(g||v||!H&&y)&&([u,v]=a(f));let z=!s&&(_||L||v);if(z){let I=!P||!o&&!C,F=u.r+u.l,Z=u.t+u.b,j={marginRight:I&&!$?-F:0,marginBottom:I?-Z:0,marginLeft:I&&$?-F:0,top:I?-u.t:0,right:I?$?-u.r:"auto":0,left:I?$?"auto":-u.l:0,width:I?`calc(100% + ${F}px)`:""},R={paddingTop:I?u.t:0,paddingRight:I?u.r:0,paddingBottom:I?u.b:0,paddingLeft:I?u.l:0};re(o||i,j),re(i,R),l({K:u,St:!I,P:o?R:K({},j,R)})}return{xt:z}}},{max:Zt}=Math,ke=Zt.bind(0,0),pl="visible",zr="hidden",hn=42,dt={u:Kr,o:{w:0,h:0}},gn={u:Yr,o:{x:zr,y:zr}},mn=(e,t)=>{let r=window.devicePixelRatio%1!==0?1:0,l={w:ke(e.w-t.w),h:ke(e.h-t.h)};return{w:l.w>r?l.w:0,h:l.h>r?l.h:0}},ut=e=>e.indexOf(pl)===0,wn=(e,t)=>{let[r,l]=t,{Z:n,K:o,J:i,nt:s,ut:a,_t:c,it:d,et:p}=e,{k:f,V:u,I:v,A:C}=de(),H=je()[ur],$=!a&&!v&&(C.x||C.y),g=d&&a,[y,L]=he(dt,wt.bind(0,i)),[P,_]=he(dt,mt.bind(0,i)),[z,I]=he(dt),[F,Z]=he(dt),[j]=he(gn),R=(E,S)=>{if(re(i,{height:""}),S){let{St:O,K:A}=r(),{$t:N,D:k}=E,T=wt(n),q=bt(n),X=re(i,"boxSizing")==="content-box",M=O||X?A.b+A.t:0,V=!(C.x&&X);re(i,{height:q.h+T.h+(N.x&&V?k.x:0)-M})}},w=(E,S)=>{let O=!v&&!E?hn:0,A=(J,Y,le)=>{let B=re(i,J),G=(S?S[J]:B)==="scroll";return[B,G,G&&!v?Y?O:le:0,Y&&!!O]},[N,k,T,q]=A("overflowX",C.x,f.x),[X,M,V,U]=A("overflowY",C.y,f.y);return{Ct:{x:N,y:X},$t:{x:k,y:M},D:{x:T,y:V},M:{x:q,y:U}}},b=(E,S,O,A)=>{let N=(M,V)=>{let U=ut(M),J=V&&U&&M.replace(`${pl}-`,"")||"";return[V&&!U?M:"",ut(J)?"hidden":J]},[k,T]=N(O.x,S.x),[q,X]=N(O.y,S.y);return A.overflowX=T&&q?T:k,A.overflowY=X&&k?X:q,w(E,A)},x=(E,S,O,A)=>{let{D:N,M:k}=E,{x:T,y:q}=k,{x:X,y:M}=N,{P:V}=r(),U=S?"marginLeft":"marginRight",J=S?"paddingLeft":"paddingRight",Y=V[U],le=V.marginBottom,B=V[J],G=V.paddingBottom;A.width=`calc(100% + ${M+-1*Y}px)`,A[U]=-M+Y,A.marginBottom=-X+le,O&&(A[J]=B+(q?M:0),A.paddingBottom=G+(T?X:0))},[h,m]=H?H.H($,u,i,s,r,w,x):[()=>$,()=>[be]];return(E,S,O)=>{let{gt:A,Ot:N,wt:k,xt:T,vt:q,yt:X}=E,{ht:M,bt:V}=r(),[U,J]=S("showNativeOverlaidScrollbars"),[Y,le]=S("overflow"),B=U&&C.x&&C.y,G=!a&&!u&&(A||k||N||J||q),ne=ut(Y.x),ae=ut(Y.y),Be=ne||ae,Re=L(O),qe=_(O),ee=I(O),ue=Z(O),ie;if(J&&v&&c(ol,Nl,!B),G&&(ie=w(B),R(ie,M)),A||T||k||X||J){Be&&c(Ze,Ye,!1);let[Ee,$e]=m(B,V,ie),[fe,Qe]=Re=y(O),[Ae,gl]=qe=P(O),Rt=bt(i),zt=Ae,kt=Rt;Ee(),(gl||Qe||J)&&$e&&!B&&h($e,Ae,fe,V)&&(kt=bt(i),zt=mt(i));let ml={w:ke(Zt(Ae.w,zt.w)+fe.w),h:ke(Zt(Ae.h,zt.h)+fe.h)},br={w:ke((g?p.innerWidth:kt.w+ke(Rt.w-Ae.w))+fe.w),h:ke((g?p.innerHeight+fe.h:kt.h+ke(Rt.h-Ae.h))+fe.h)};ue=F(br),ee=z(mn(ml,br),O)}let[De,Ge]=ue,[Xe,We]=ee,[$t,At]=qe,[Lt,Ht]=Re,Se={x:Xe.w>0,y:Xe.h>0},it=ne&&ae&&(Se.x||Se.y)||ne&&Se.x&&!Se.y||ae&&Se.y&&!Se.x;if(T||X||Ht||At||Ge||We||le||J||G){let Ee={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},$e=b(B,Se,Y,Ee),fe=h($e,$t,Lt,V);a||x($e,V,fe,Ee),G&&R($e,M),a?(te(n,nl,Ee.overflowX),te(n,il,Ee.overflowY)):re(i,Ee)}Ne(n,ge,Ye,it),Ne(o,Kt,Vl,it),a||Ne(i,ze,Ze,Be);let[Pt,It]=j(w(B).Ct);return l({Ct:Pt,zt:{x:De.w,y:De.h},Tt:{x:Xe.w,y:Xe.h},Et:Se}),{It,At:Ge,Lt:We}}},kr=(e,t,r)=>{let l={},n=t||{},o=pe(e).concat(pe(n));return D(o,i=>{let s=e[i],a=n[i];l[i]=!!(r||s||a)}),l},yn=(e,t)=>{let{W:r,J:l,_t:n,ut:o}=e,{I:i,A:s,V:a}=de(),c=!i&&(s.x||s.y),d=[bn(e,t),vn(e,t),wn(e,t)];return(p,f,u)=>{let v=kr(K({gt:!1,xt:!1,yt:!1,vt:!1,At:!1,Lt:!1,It:!1,Ot:!1,wt:!1},f),{},u),C=c||!a,H=C&&me(l),$=C&&Le(l);n("",yt,!0);let g=v;return D(d,y=>{g=kr(g,y(g,p,!!u)||{},u)}),me(l,H),Le(l,$),n("",yt),o||(me(r,0),Le(r,0)),g}},Sn=(e,t,r)=>{let l,n=!1,o=()=>{n=!0},i=s=>{if(r){let a=r.reduce((c,d)=>{if(d){let[p,f]=d,u=f&&p&&(s?s(p):qr(p,e));u&&u.length&&f&&_e(f)&&W(c,[u,f.trim()],!0)}return c},[]);D(a,c=>D(c[0],d=>{let p=c[1],f=l.get(d)||[];if(e.contains(d)){let u=Q(d,p,v=>{n?(u(),l.delete(d)):t(v)});l.set(d,W(f,u))}else Ce(f),l.delete(d)}))}};return r&&(l=new WeakMap,i()),[o,i]},Mr=(e,t,r,l)=>{let n=!1,{Ht:o,Pt:i,Dt:s,Mt:a,Rt:c,kt:d}=l||{},p=or(()=>{n&&r(!0)},{v:33,g:99}),[f,u]=Sn(e,p,s),v=o||[],C=i||[],H=v.concat(C),$=(y,L)=>{let P=c||be,_=d||be,z=new Set,I=new Set,F=!1,Z=!1;if(D(y,j=>{let{attributeName:R,target:w,type:b,oldValue:x,addedNodes:h,removedNodes:m}=j,E=b==="attributes",S=b==="childList",O=e===w,A=E&&_e(R)?te(w,R):0,N=A!==0&&x!==A,k=er(C,R)>-1&&N;if(t&&(S||!O)){let T=!E,q=E&&N,X=q&&a&&ht(w,a),M=(X?!P(w,R,x,A):T||q)&&!_(j,!!X,e,l);D(h,V=>z.add(V)),D(m,V=>z.add(V)),Z=Z||M}!t&&O&&N&&!P(w,R,x,A)&&(I.add(R),F=F||k)}),z.size>0&&u(j=>Fe(z).reduce((R,w)=>(W(R,qr(j,w)),ht(w,j)?W(R,w):R),[])),t)return!L&&Z&&r(!1),[!1];if(I.size>0||F){let j=[Fe(I),F];return!L&&r.apply(0,j),j}},g=new Hl(y=>$(y));return g.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:H,subtree:t,childList:t,characterData:t}),n=!0,[()=>{n&&(f(),g.disconnect(),n=!1)},()=>{if(n){p.m();let y=g.takeRecords();return!tr(y)&&$(y,!0)}}]},pt=3333333,ft=e=>e&&(e.height||e.width),fl=(e,t,r)=>{let{Bt:l=!1,Vt:n=!1}=r||{},o=je()[rn],{B:i}=de(),s=Xr(`
`)[0],a=s.firstChild,c=tt.bind(0,e),[d]=he({o:void 0,_:!0,u:(v,C)=>!(!v||!ft(v)&&ft(C))}),p=v=>{let C=ye(v)&&v.length>0&&et(v[0]),H=!C&&Qt(v[0]),$=!1,g=!1,y=!0;if(C){let[L,,P]=d(v.pop().contentRect),_=ft(L),z=ft(P);$=!P||!_,g=!z&&_,y=!$}else H?[,y]=v:g=v===!0;if(l&&y){let L=H?v[0]:tt(s);me(s,L?i.n?-pt:i.i?0:pt:pt),Le(s,pt)}$||t({gt:!H,Yt:H?v:void 0,Vt:!!g})},f=[],u=n?p:!1;return[()=>{Ce(f),Oe(s)},()=>{if(Ke){let v=new Ke(p);v.observe(a),W(f,()=>{v.disconnect()})}else if(o){let[v,C]=o.O(a,p,n);u=v,W(f,C)}if(l){let[v]=he({o:void 0},c);W(f,Q(s,"scroll",C=>{let H=v(),[$,g,y]=H;g&&(ir(a,"ltr rtl"),$?He(a,"rtl"):He(a,"ltr"),p([!!$,g,y])),Gr(C)}))}u&&(He(s,Fl),W(f,Q(s,"animationstart",u,{C:!!Ke}))),(Ke||o)&&ve(e,s)}]},xn=e=>e.h===0||e.isIntersecting||e.intersectionRatio>0,On=(e,t)=>{let r,l=Ve(ql),n=[],[o]=he({o:!1}),i=(a,c)=>{if(a){let d=o(xn(a)),[,p]=d;if(p)return!c&&t(d),[d]}},s=(a,c)=>{if(a&&a.length>0)return i(a.pop(),c)};return[()=>{Ce(n),Oe(l)},()=>{if(gr)r=new gr(a=>s(a),{root:e}),r.observe(l),W(n,()=>{r.disconnect()});else{let a=()=>{let p=rt(l);i(p)},[c,d]=fl(l,a);W(n,c),d(),a()}ve(e,l)},()=>{if(r)return s(r.takeRecords(),!0)}]},Tr=`[${ge}]`,Cn=`[${ze}]`,jt=["tabindex"],_r=["wrap","cols","rows"],qt=["id","class","style","open"],En=(e,t,r)=>{let l,n,o,{Z:i,J:s,tt:a,rt:c,ut:d,ft:p,_t:f}=e,{V:u}=de(),[v]=he({u:Kr,o:{w:0,h:0}},()=>{let b=p(Ze,Ye),x=p(Nt,""),h=x&&me(s),m=x&&Le(s);f(Ze,Ye),f(Nt,""),f("",yt,!0);let E=mt(a),S=mt(s),O=wt(s);return f(Ze,Ye,b),f(Nt,"",x),f("",yt),me(s,h),Le(s,m),{w:S.w+E.w+O.w,h:S.h+E.h+O.h}}),C=c?_r:qt.concat(_r),H=or(r,{v:()=>l,g:()=>n,p(b,x){let[h]=b,[m]=x;return[pe(h).concat(pe(m)).reduce((E,S)=>(E[S]=h[S]||m[S],E),{})]}}),$=b=>{D(b||jt,x=>{if(er(jt,x)>-1){let h=te(i,x);_e(h)?te(s,x,h):se(s,x)}})},g=(b,x)=>{let[h,m]=b,E={vt:m};return t({ht:h}),!x&&r(E),E},y=({gt:b,Yt:x,Vt:h})=>{let m=!b||h?r:H,E=!1;if(x){let[S,O]=x;E=O,t({bt:S})}m({gt:b,yt:E})},L=(b,x)=>{let[,h]=v(),m={wt:h};return h&&!x&&(b?r:H)(m),m},P=(b,x,h)=>{let m={Ot:x};return x?!h&&H(m):d||$(b),m},[_,z,I]=a||!u?On(i,g):[be,be,be],[F,Z]=d?[be,be]:fl(i,y,{Vt:!0,Bt:!0}),[j,R]=Mr(i,!1,P,{Pt:qt,Ht:qt.concat(jt)}),w=d&&Ke&&new Ke(y.bind(0,{gt:!0}));return w&&w.observe(i),$(),[()=>{_(),F(),o&&o[0](),w&&w.disconnect(),j()},()=>{Z(),z()},()=>{let b={},x=R(),h=I(),m=o&&o[1]();return x&&K(b,P.apply(0,W(x,!0))),h&&K(b,g.apply(0,W(h,!0))),m&&K(b,L.apply(0,W(m,!0))),b},b=>{let[x]=b("update.ignoreMutation"),[h,m]=b("update.attributes"),[E,S]=b("update.elementEvents"),[O,A]=b("update.debounce"),N=S||m,k=T=>we(x)&&x(T);if(N&&(o&&(o[1](),o[0]()),o=Mr(a||s,!0,L,{Ht:C.concat(h||[]),Dt:E,Mt:Tr,kt:(T,q)=>{let{target:X,attributeName:M}=T;return(!q&&M&&!d?Ol(X,Tr,Cn):!1)||!!Je(X,`.${ce}`)||!!k(T)}})),A)if(H.m(),ye(O)){let T=O[0],q=O[1];l=Te(T)&&T,n=Te(q)&&q}else Te(O)?(l=O,n=!1):(l=!1,n=!1)}]},Br={x:0,y:0},$n=e=>({K:{t:0,r:0,b:0,l:0},St:!1,P:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:Br,Tt:Br,Ct:{x:"hidden",y:"hidden"},Et:{x:!1,y:!1},ht:!1,bt:tt(e.Z)}),An=(e,t)=>{let r=Yt(t,{}),[l,n,o]=sr(),[i,s,a]=fn(e),c=ul($n(i)),[d,p]=c,f=yn(i,c),u=(y,L,P)=>{let _=pe(y).some(z=>y[z])||!rr(L)||P;return _&&o("u",[y,L,P]),_},[v,C,H,$]=En(i,p,y=>u(f(r,y),{},!1)),g=d.bind(0);return g.jt=y=>l("u",y),g.Nt=()=>{let{W:y,J:L}=i,P=me(y),_=Le(y);C(),s(),me(L,P),Le(L,_)},g.qt=i,[(y,L)=>{let P=Yt(t,y,L);return $(P),u(f(P,H(),L),y,!!L)},g,()=>{n(),v(),a()}]},{round:Dr}=Math,Ln=e=>{let{width:t,height:r}=xe(e),{w:l,h:n}=rt(e);return{x:Dr(t)/l||1,y:Dr(r)/n||1}},Hn=(e,t,r)=>{let l=t.scrollbars,{button:n,isPrimary:o,pointerType:i}=e,{pointers:s}=l;return n===0&&o&&l[r?"dragScroll":"clickScroll"]&&(s||[]).includes(i)},Pn=(e,t)=>Q(e,"mousedown",Q.bind(0,t,"click",Gr,{C:!0,$:!0}),{$:!0}),Nr="pointerup pointerleave pointercancel lostpointercapture",In=(e,t,r,l,n,o,i)=>{let{B:s}=de(),{Ft:a,Gt:c,Xt:d}=l,p=`scroll${i?"Left":"Top"}`,f=`client${i?"X":"Y"}`,u=i?"width":"height",v=i?"left":"top",C=i?"w":"h",H=i?"x":"y",$=(g,y)=>L=>{let{Tt:P}=o(),_=rt(c)[C]-rt(a)[C],z=y*L/_*P[H],I=tt(d)&&i?s.n||s.i?1:-1:1;n[p]=g+z*I};return Q(c,"pointerdown",g=>{let y=Je(g.target,`.${dr}`)===a,L=y?a:c;if(Ne(t,ge,Cr,!0),Hn(g,e,y)){let P=!y&&g.shiftKey,_=()=>xe(a),z=()=>xe(c),I=(S,O)=>(S||_())[v]-(O||z())[v],F=$(n[p]||0,1/Ln(n)[H]),Z=g[f],j=_(),R=z(),w=j[u],b=I(j,R)+w/2,x=Z-R[v],h=y?0:x-b,m=S=>{Ce(E),L.releasePointerCapture(S.pointerId)},E=[Ne.bind(0,t,ge,Cr),Q(r,Nr,m),Q(r,"selectstart",S=>Qr(S),{S:!1}),Q(c,Nr,m),Q(c,"pointermove",S=>{let O=S[f]-Z;(y||P)&&F(h+O)})];if(P)F(h);else if(!y){let S=je()[ln];S&&W(E,S.O(F,I,h,w,x))}L.setPointerCapture(g.pointerId)}})},Rn=(e,t)=>(r,l,n,o,i,s)=>{let{Xt:a}=r,[c,d]=Ue(333),p=!!i.scrollBy,f=!0;return Ce.bind(0,[Q(a,"pointerenter",()=>{l(Ar,!0)}),Q(a,"pointerleave pointercancel",()=>{l(Ar)}),Q(a,"wheel",u=>{let{deltaX:v,deltaY:C,deltaMode:H}=u;p&&f&&H===0&&Pe(a)===o&&i.scrollBy({left:v,top:C,behavior:"smooth"}),f=!1,l(Pr,!0),c(()=>{f=!0,l(Pr)}),Qr(u)},{S:!1,$:!0}),Pn(a,n),In(e,o,n,r,i,t,s),d])},{min:Gt,max:Vr,abs:zn,round:kn}=Math,bl=(e,t,r,l)=>{if(l){let s=r?"x":"y",{Tt:a,zt:c}=l,d=c[s],p=a[s];return Vr(0,Gt(1,d/(d+p)))}let n=r?"width":"height",o=xe(e)[n],i=xe(t)[n];return Vr(0,Gt(1,o/i))},Mn=(e,t,r,l,n,o)=>{let{B:i}=de(),s=o?"x":"y",a=o?"Left":"Top",{Tt:c}=l,d=kn(c[s]),p=zn(r[`scroll${a}`]),f=o&&n,u=i.i?p:d-p,v=Gt(1,(f?u:p)/d),C=bl(e,t,o);return 1/C*(1-C)*v},Tn=(e,t,r)=>{let{N:l,L:n}=de(),{scrollbars:o}=l(),{slot:i}=o,{ct:s,W:a,Z:c,J:d,lt:p,ot:f,it:u,ut:v}=t,{scrollbars:C}=p?{}:e,{slot:H}=C||{},$=cl([a,c,d],()=>v&&u?a:c,i,H),g=(h,m,E)=>{let S=E?He:ir;D(h,O=>{S(O.Xt,m)})},y=(h,m)=>{D(h,E=>{let[S,O]=m(E);re(S,O)})},L=(h,m,E)=>{y(h,S=>{let{Ft:O,Gt:A}=S;return[O,{[E?"width":"height"]:`${(100*bl(O,A,E,m)).toFixed(3)}%`}]})},P=(h,m,E)=>{let S=E?"X":"Y";y(h,O=>{let{Ft:A,Gt:N,Xt:k}=O,T=Mn(A,N,f,m,tt(k),E);return[A,{transform:T===T?`translate${S}(${(100*T).toFixed(3)}%)`:""}]})},_=[],z=[],I=[],F=(h,m,E)=>{let S=Qt(E),O=S?E:!0,A=S?!E:!0;O&&g(z,h,m),A&&g(I,h,m)},Z=h=>{L(z,h,!0),L(I,h)},j=h=>{P(z,h,!0),P(I,h)},R=h=>{let m=h?Jl:Kl,E=h?z:I,S=tr(E)?$r:"",O=Ve(`${ce} ${m} ${S}`),A=Ve(al),N=Ve(dr),k={Xt:O,Gt:A,Ft:N};return n||He(O,Xl),ve(O,A),ve(A,N),W(E,k),W(_,[Oe.bind(0,O),r(k,F,s,c,f,h)]),k},w=R.bind(0,!0),b=R.bind(0,!1),x=()=>{ve($,z[0].Xt),ve($,I[0].Xt),gt(()=>{F($r)},300)};return w(),b(),[{Ut:Z,Wt:j,Zt:F,Jt:{Kt:z,Qt:w,tn:y.bind(0,z)},nn:{Kt:I,Qt:b,tn:y.bind(0,I)}},x,Ce.bind(0,_)]},_n=(e,t,r,l)=>{let n,o,i,s,a,c=0,d=ul({}),[p]=d,[f,u]=Ue(),[v,C]=Ue(),[H,$]=Ue(100),[g,y]=Ue(100),[L,P]=Ue(()=>c),[_,z,I]=Tn(e,r.qt,Rn(t,r)),{Z:F,J:Z,ot:j,st:R,ut:w,it:b}=r.qt,{Jt:x,nn:h,Zt:m,Ut:E,Wt:S}=_,{tn:O}=x,{tn:A}=h,N=M=>{let{Xt:V}=M,U=w&&!b&&Pe(V)===Z&&V;return[U,{transform:U?`translate(${me(j)}px, ${Le(j)}px)`:""}]},k=(M,V)=>{if(P(),M)m(Hr);else{let U=()=>m(Hr,!0);c>0&&!V?L(U):U()}},T=()=>{s=o,s&&k(!0)},q=[$,P,y,C,u,I,Q(F,"pointerover",T,{C:!0}),Q(F,"pointerenter",T),Q(F,"pointerleave",()=>{s=!1,o&&k(!1)}),Q(F,"pointermove",()=>{n&&f(()=>{$(),k(!0),g(()=>{n&&k(!1)})})}),Q(R,"scroll",M=>{v(()=>{S(r()),i&&k(!0),H(()=>{i&&!s&&k(!1)})}),l(M),w&&O(N),w&&A(N)})],X=p.bind(0);return X.qt=_,X.Nt=z,[(M,V,U)=>{let{At:J,Lt:Y,It:le,yt:B}=U,{A:G}=de(),ne=Yt(t,M,V),ae=r(),{Tt:Be,Ct:Re,bt:qe}=ae,[ee,ue]=ne("showNativeOverlaidScrollbars"),[ie,De]=ne("scrollbars.theme"),[Ge,Xe]=ne("scrollbars.visibility"),[We,$t]=ne("scrollbars.autoHide"),[At]=ne("scrollbars.autoHideDelay"),[Lt,Ht]=ne("scrollbars.dragScroll"),[Se,it]=ne("scrollbars.clickScroll"),Pt=J||Y||B,It=le||Xe,Ee=ee&&G.x&&G.y,$e=(fe,Qe)=>{let Ae=Ge==="visible"||Ge==="auto"&&fe==="scroll";return m(Yl,Ae,Qe),Ae};if(c=At,ue&&m(Wl,Ee),De&&(m(a),m(ie,!0),a=ie),$t&&(n=We==="move",o=We==="leave",i=We!=="never",k(!i,!0)),Ht&&m(Ql,Lt),it&&m(Gl,Se),It){let fe=$e(Re.x,!0),Qe=$e(Re.y,!1);m(Zl,!(fe&&Qe))}Pt&&(E(ae),S(ae),m(Lr,!Be.x,!0),m(Lr,!Be.y,!1),m(Ul,qe&&!b))},X,Ce.bind(0,q)]},vl=(e,t,r)=>{we(e)&&e(t||void 0,r||void 0)},Me=(e,t,r)=>{let{F:l,N:n,Y:o,j:i}=de(),s=je(),a=vt(e),c=a?e:e.target,d=dl(c);if(t&&!d){let p=!1,f=w=>{let b=je()[tn],x=b&&b.O;return x?x(w,!0):w},u=K({},l(),f(t)),[v,C,H]=sr(r),[$,g,y]=An(e,u),[L,P,_]=_n(e,u,g,w=>H("scroll",[R,w])),z=(w,b)=>$(w,!!b),I=z.bind(0,{},!0),F=o(I),Z=i(I),j=w=>{pn(c),F(),Z(),_(),y(),p=!0,H("destroyed",[R,!!w]),C()},R={options(w,b){if(w){let x=b?l():{},h=el(u,K(x,f(w)));rr(h)||(K(u,h),z(h))}return K({},u)},on:v,off:(w,b)=>{w&&b&&C(w,b)},state(){let{zt:w,Tt:b,Ct:x,Et:h,K:m,St:E,bt:S}=g();return K({},{overflowEdge:w,overflowAmount:b,overflowStyle:x,hasOverflow:h,padding:m,paddingAbsolute:E,directionRTL:S,destroyed:p})},elements(){let{W:w,Z:b,K:x,J:h,tt:m,ot:E,st:S}=g.qt,{Jt:O,nn:A}=P.qt,N=T=>{let{Ft:q,Gt:X,Xt:M}=T;return{scrollbar:M,track:X,handle:q}},k=T=>{let{Kt:q,Qt:X}=T,M=N(q[0]);return K({},M,{clone:()=>{let V=N(X());return L({},!0,{}),V}})};return K({},{target:w,host:b,padding:x||h,viewport:h,content:m||h,scrollOffsetElement:E,scrollEventElement:S,scrollbarHorizontal:k(O),scrollbarVertical:k(A)})},update:w=>z({},w),destroy:j.bind(0)};return g.jt((w,b,x)=>{L(b,x,w)}),un(c,R),D(pe(s),w=>vl(s[w],0,R)),dn(g.qt.it,n().cancel,!a&&e.cancel)?(j(!0),R):(g.Nt(),P.Nt(),H("initialized",[R]),g.jt((w,b,x)=>{let{gt:h,yt:m,vt:E,At:S,Lt:O,It:A,wt:N,Ot:k}=w;H("updated",[R,{updateHints:{sizeChanged:h,directionChanged:m,heightIntrinsicChanged:E,overflowEdgeChanged:S,overflowAmountChanged:O,overflowStyleChanged:A,contentMutation:N,hostMutation:k},changedOptions:b,force:x}])}),R.update(!0),R)}return d};Me.plugin=e=>{D(en(e),t=>vl(t,Me))};Me.valid=e=>{let t=e&&e.elements,r=we(t)&&t();return Xt(r)&&!!dl(r.target)};Me.env=()=>{let{k:e,A:t,I:r,B:l,V:n,L:o,X:i,U:s,N:a,q:c,F:d,G:p}=de();return K({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:r,rtlScrollBehavior:l,flexboxGlue:n,cssCustomProperties:o,staticDefaultInitialization:i,staticDefaultOptions:s,getDefaultInitialization:a,setDefaultInitialization:c,getDefaultOptions:d,setDefaultOptions:p})};var Bn=()=>{if(typeof window>"u"){let c=()=>{};return[c,c]}let e,t,r=window,l=typeof r.requestIdleCallback=="function",n=r.requestAnimationFrame,o=r.cancelAnimationFrame,i=l?r.requestIdleCallback:n,s=l?r.cancelIdleCallback:o,a=()=>{s(e),o(t)};return[(c,d)=>{a(),e=i(l?()=>{a(),t=n(c)}:c,typeof d=="object"?d:{timeout:2233})},a]},Dn=e=>{let{options:t,events:r,defer:l}=e||{},[n,o]=oe.useMemo(Bn,[]),i=oe.useRef(null),s=oe.useRef(l),a=oe.useRef(t),c=oe.useRef(r);return oe.useEffect(()=>{s.current=l},[l]),oe.useEffect(()=>{let{current:d}=i;a.current=t,Me.valid(d)&&d.options(t||{},!0)},[t]),oe.useEffect(()=>{let{current:d}=i;c.current=r,Me.valid(d)&&d.on(r||{},!0)},[r]),oe.useEffect(()=>()=>{var d;o(),(d=i.current)==null||d.destroy()},[]),oe.useMemo(()=>[d=>{let p=i.current;if(Me.valid(p))return;let f=s.current,u=a.current||{},v=c.current||{},C=()=>i.current=Me(d,u,v);f?n(C,f):C()},()=>i.current],[])},Nn=(e,t)=>{let{element:r="div",options:l,events:n,defer:o,children:i,...s}=e,a=r,c=oe.useRef(null),d=oe.useRef(null),[p,f]=Dn({options:l,events:n,defer:o});return oe.useEffect(()=>{let{current:u}=c,{current:v}=d;return u&&v&&p({target:u,elements:{viewport:v,content:v}}),()=>{var C;return(C=f())==null?void 0:C.destroy()}},[p,r]),oe.useImperativeHandle(t,()=>({osInstance:f,getElement:()=>c.current}),[]),vr.createElement(a,{"data-overlayscrollbars-initialize":"",ref:c,...s},vr.createElement("div",{ref:d},i))},hl=oe.forwardRef(Nn),Jn=hl,Kn=hl;export{Jn as OverlayScrollbars,Kn as default}; +//# sourceMappingURL=OverlayScrollbars-GZGLA7DL-1612b709.js.map diff --git a/docs/assets/OverlayScrollbars-GZGLA7DL-1612b709.js.map b/docs/assets/OverlayScrollbars-GZGLA7DL-1612b709.js.map new file mode 100644 index 0000000..bd6d591 --- /dev/null +++ b/docs/assets/OverlayScrollbars-GZGLA7DL-1612b709.js.map @@ -0,0 +1 @@ +{"version":3,"file":"OverlayScrollbars-GZGLA7DL-1612b709.js","sources":["../../node_modules/@storybook/components/dist/OverlayScrollbars-GZGLA7DL.mjs"],"sourcesContent":["import './chunk-JRLSWQMA.mjs';\nimport b2, { forwardRef, useRef, useEffect, useImperativeHandle, useMemo } from 'react';\n\nfunction each(t2,n2){if(isArrayLike(t2))for(let o2=0;o2n2(t2[o2],o2,t2));return t2}function style(t2,n2){let o2=isString(n2);if(isArray(n2)||o2){let s3=o2?\"\":{};if(t2){let e2=window.getComputedStyle(t2,null);s3=o2?getCSSVal(t2,e2,n2):n2.reduce((n3,o3)=>(n3[o3]=getCSSVal(t2,e2,o3),n3),s3);}return s3}t2&&each(keys(n2),o3=>setCSSVal(t2,o3,n2[o3]));}var createCache=(t2,n2)=>{let{o:o2,u:s2,_:e2}=t2,c2=o2,r2,cacheUpdateContextual=(t3,n3)=>{let o3=c2,i2=t3,l2=n3||(s2?!s2(o3,i2):o3!==i2);return (l2||e2)&&(c2=i2,r2=o3),[c2,l2,r2]};return [n2?t3=>cacheUpdateContextual(n2(c2,r2),t3):cacheUpdateContextual,t3=>[c2,!!t3,r2]]},isClient=()=>typeof window<\"u\",t=isClient()&&Node.ELEMENT_NODE,{toString:n,hasOwnProperty:o}=Object.prototype,isUndefined=t2=>t2===void 0,isNull=t2=>t2===null,type=t2=>isUndefined(t2)||isNull(t2)?`${t2}`:n.call(t2).replace(/^\\[object (.+)\\]$/,\"$1\").toLowerCase(),isNumber=t2=>typeof t2==\"number\",isString=t2=>typeof t2==\"string\",isBoolean=t2=>typeof t2==\"boolean\",isFunction=t2=>typeof t2==\"function\",isArray=t2=>Array.isArray(t2),isObject=t2=>typeof t2==\"object\"&&!isArray(t2)&&!isNull(t2),isArrayLike=t2=>{let n2=!!t2&&t2.length,o2=isNumber(n2)&&n2>-1&&n2%1==0;return isArray(t2)||!isFunction(t2)&&o2?n2>0&&isObject(t2)?n2-1 in t2:!0:!1},isPlainObject=t2=>{if(!t2||!isObject(t2)||type(t2)!==\"object\")return !1;let n2,s2=\"constructor\",e2=t2[s2],c2=e2&&e2.prototype,r2=o.call(t2,s2),i2=c2&&o.call(c2,\"isPrototypeOf\");if(e2&&!r2&&!i2)return !1;for(n2 in t2);return isUndefined(n2)||o.call(t2,n2)},isHTMLElement=n2=>{let o2=HTMLElement;return n2?o2?n2 instanceof o2:n2.nodeType===t:!1},isElement=n2=>{let o2=Element;return n2?o2?n2 instanceof o2:n2.nodeType===t:!1},indexOf=(t2,n2,o2)=>t2.indexOf(n2,o2),push=(t2,n2,o2)=>(!o2&&!isString(n2)&&isArrayLike(n2)?Array.prototype.push.apply(t2,n2):t2.push(n2),t2),from=t2=>{let n2=Array.from,o2=[];return n2&&t2?n2(t2):(t2 instanceof Set?t2.forEach(t3=>{push(o2,t3);}):each(t2,t3=>{push(o2,t3);}),o2)},isEmptyArray=t2=>!!t2&&t2.length===0,runEachAndClear=(t2,n2,o2)=>{each(t2,t3=>t3&&t3.apply(void 0,n2||[])),!o2&&(t2.length=0);},hasOwnProperty=(t2,n2)=>Object.prototype.hasOwnProperty.call(t2,n2),keys=t2=>t2?Object.keys(t2):[],assignDeep=(t2,n2,o2,s2,e2,c2,r2)=>{let i2=[n2,o2,s2,e2,c2,r2];return (typeof t2!=\"object\"||isNull(t2))&&!isFunction(t2)&&(t2={}),each(i2,n3=>{each(keys(n3),o3=>{let s3=n3[o3];if(t2===s3)return !0;let e3=isArray(s3);if(s3&&(isPlainObject(s3)||e3)){let n4=t2[o3],c3=n4;e3&&!isArray(n4)?c3=[]:!e3&&!isPlainObject(n4)&&(c3={}),t2[o3]=assignDeep(c3,s3);}else t2[o3]=s3;});}),t2},isEmptyObject=t2=>{for(let n2 in t2)return !1;return !0},getSetProp=(t2,n2,o2,s2)=>{if(isUndefined(s2))return o2?o2[t2]:n2;o2&&(isString(s2)||isNumber(s2))&&(o2[t2]=s2);},attr=(t2,n2,o2)=>{if(isUndefined(o2))return t2?t2.getAttribute(n2):null;t2&&t2.setAttribute(n2,o2);},removeAttr=(t2,n2)=>{t2&&t2.removeAttribute(n2);},attrClass=(t2,n2,o2,s2)=>{if(o2){let e2=attr(t2,n2)||\"\",c2=new Set(e2.split(\" \"));c2[s2?\"add\":\"delete\"](o2);let r2=from(c2).join(\" \").trim();attr(t2,n2,r2);}},hasAttrClass=(t2,n2,o2)=>{let s2=attr(t2,n2)||\"\";return new Set(s2.split(\" \")).has(o2)},scrollLeft=(t2,n2)=>getSetProp(\"scrollLeft\",0,t2,n2),scrollTop=(t2,n2)=>getSetProp(\"scrollTop\",0,t2,n2),s=isClient()&&Element.prototype,find=(t2,n2)=>{let o2=[],s2=n2?isElement(n2)?n2:null:document;return s2?push(o2,s2.querySelectorAll(t2)):o2},findFirst=(t2,n2)=>{let o2=n2?isElement(n2)?n2:null:document;return o2?o2.querySelector(t2):null},is=(t2,n2)=>isElement(t2)?(s.matches||s.msMatchesSelector).call(t2,n2):!1,contents=t2=>t2?from(t2.childNodes):[],parent=t2=>t2?t2.parentElement:null,closest=(t2,n2)=>{if(isElement(t2)){let o2=s.closest;if(o2)return o2.call(t2,n2);do{if(is(t2,n2))return t2;t2=parent(t2);}while(t2)}return null},liesBetween=(t2,n2,o2)=>{let s2=t2&&closest(t2,n2),e2=t2&&findFirst(o2,s2),c2=closest(e2,n2)===s2;return s2&&e2?s2===t2||e2===t2||c2&&closest(closest(t2,o2),n2)!==s2:!1},before=(t2,n2,o2)=>{if(o2&&t2){let s2=n2,e2;isArrayLike(o2)?(e2=document.createDocumentFragment(),each(o2,t3=>{t3===s2&&(s2=t3.previousSibling),e2.appendChild(t3);})):e2=o2,n2&&(s2?s2!==n2&&(s2=s2.nextSibling):s2=t2.firstChild),t2.insertBefore(e2,s2||null);}},appendChildren=(t2,n2)=>{before(t2,null,n2);},insertBefore=(t2,n2)=>{before(parent(t2),t2,n2);},insertAfter=(t2,n2)=>{before(parent(t2),t2&&t2.nextSibling,n2);},removeElements=t2=>{if(isArrayLike(t2))each(from(t2),t3=>removeElements(t3));else if(t2){let n2=parent(t2);n2&&n2.removeChild(t2);}},createDiv=t2=>{let n2=document.createElement(\"div\");return t2&&attr(n2,\"class\",t2),n2},createDOM=t2=>{let n2=createDiv();return n2.innerHTML=t2.trim(),each(contents(n2),t3=>removeElements(t3))},firstLetterToUpper=t2=>t2.charAt(0).toUpperCase()+t2.slice(1),getDummyStyle=()=>createDiv().style,e=[\"-webkit-\",\"-moz-\",\"-o-\",\"-ms-\"],c=[\"WebKit\",\"Moz\",\"O\",\"MS\",\"webkit\",\"moz\",\"o\",\"ms\"],r={},i={},cssProperty=t2=>{let n2=i[t2];if(hasOwnProperty(i,t2))return n2;let o2=firstLetterToUpper(t2),s2=getDummyStyle();return each(e,e2=>{let c2=e2.replace(/-/g,\"\");return !(n2=[t2,e2+t2,c2+o2,firstLetterToUpper(c2)+o2].find(t3=>s2[t3]!==void 0))}),i[t2]=n2||\"\"},jsAPI=t2=>{if(isClient()){let n2=r[t2]||window[t2];return hasOwnProperty(r,t2)||(each(c,o2=>(n2=n2||window[o2+firstLetterToUpper(t2)],!n2)),r[t2]=n2),n2}},l=jsAPI(\"MutationObserver\"),a=jsAPI(\"IntersectionObserver\"),u=jsAPI(\"ResizeObserver\"),d=jsAPI(\"cancelAnimationFrame\"),f=jsAPI(\"requestAnimationFrame\"),_=isClient()&&window.setTimeout,h=isClient()&&window.clearTimeout,v=/[^\\x20\\t\\r\\n\\f]+/g,classListAction=(t2,n2,o2)=>{let s2=t2&&t2.classList,e2,c2=0,r2=!1;if(s2&&n2&&isString(n2)){let t3=n2.match(v)||[];for(r2=t3.length>0;e2=t3[c2++];)r2=!!o2(s2,e2)&&r2;}return r2},removeClass=(t2,n2)=>{classListAction(t2,n2,(t3,n3)=>t3.remove(n3));},addClass=(t2,n2)=>(classListAction(t2,n2,(t3,n3)=>t3.add(n3)),removeClass.bind(0,t2,n2));var equal=(t2,n2,o2,s2)=>{if(t2&&n2){let e2=!0;return each(o2,o3=>{let c2=s2?s2(t2[o3]):t2[o3],r2=s2?s2(n2[o3]):n2[o3];c2!==r2&&(e2=!1);}),e2}return !1},equalWH=(t2,n2)=>equal(t2,n2,[\"w\",\"h\"]),equalXY=(t2,n2)=>equal(t2,n2,[\"x\",\"y\"]),equalTRBL=(t2,n2)=>equal(t2,n2,[\"t\",\"r\",\"b\",\"l\"]),equalBCRWH=(t2,n2,o2)=>equal(t2,n2,[\"width\",\"height\"],o2&&(t3=>Math.round(t3))),noop=()=>{},selfClearTimeout=t2=>{let n2,o2=t2?_:f,s2=t2?h:d;return [e2=>{s2(n2),n2=o2(e2,isFunction(t2)?t2():t2);},()=>s2(n2)]},debounce=(t2,n2)=>{let o2,s2,e2,c2=noop,{v:r2,g:i2,p:l2}=n2||{},a2=function(n3){c2(),h(o2),o2=s2=void 0,c2=noop,t2.apply(this,n3);},mergeParms=t3=>l2&&s2?l2(s2,t3):t3,flush=()=>{c2!==noop&&a2(mergeParms(e2)||e2);},u2=function(){let t3=from(arguments),n3=isFunction(r2)?r2():r2;if(isNumber(n3)&&n3>=0){let r3=isFunction(i2)?i2():i2,l4=isNumber(r3)&&r3>=0,u3=n3>0?_:f,v3=n3>0?h:d,w3=mergeParms(t3)||t3,p2=a2.bind(0,w3);c2();let b3=u3(p2,n3);c2=()=>v3(b3),l4&&!o2&&(o2=_(flush,r3)),s2=e2=w3;}else a2(t3);};return u2.m=flush,u2},w={opacity:1,zindex:1},parseToZeroOrNumber=(t2,n2)=>{let o2=n2?parseFloat(t2):parseInt(t2,10);return o2===o2?o2:0},adaptCSSVal=(t2,n2)=>!w[t2.toLowerCase()]&&isNumber(n2)?`${n2}px`:n2,getCSSVal=(t2,n2,o2)=>n2!=null?n2[o2]||n2.getPropertyValue(o2):t2.style[o2],setCSSVal=(t2,n2,o2)=>{try{let{style:s2}=t2;isUndefined(s2[n2])?s2.setProperty(n2,o2):s2[n2]=adaptCSSVal(n2,o2);}catch{}},directionIsRTL=t2=>style(t2,\"direction\")===\"rtl\",topRightBottomLeft=(t2,n2,o2)=>{let s2=n2?`${n2}-`:\"\",e2=o2?`-${o2}`:\"\",c2=`${s2}top${e2}`,r2=`${s2}right${e2}`,i2=`${s2}bottom${e2}`,l2=`${s2}left${e2}`,a2=style(t2,[c2,r2,i2,l2]);return {t:parseToZeroOrNumber(a2[c2],!0),r:parseToZeroOrNumber(a2[r2],!0),b:parseToZeroOrNumber(a2[i2],!0),l:parseToZeroOrNumber(a2[l2],!0)}},{round:p}=Math,b={w:0,h:0};var offsetSize=t2=>t2?{w:t2.offsetWidth,h:t2.offsetHeight}:b,clientSize=t2=>t2?{w:t2.clientWidth,h:t2.clientHeight}:b,scrollSize=t2=>t2?{w:t2.scrollWidth,h:t2.scrollHeight}:b,fractionalSize=t2=>{let n2=parseFloat(style(t2,\"height\"))||0,o2=parseFloat(style(t2,\"width\"))||0;return {w:o2-p(o2),h:n2-p(n2)}},getBoundingClientRect=t2=>t2.getBoundingClientRect(),m,supportPassiveEvents=()=>{if(isUndefined(m)){m=!1;try{window.addEventListener(\"test\",null,Object.defineProperty({},\"passive\",{get(){m=!0;}}));}catch{}}return m},splitEventNames=t2=>t2.split(\" \"),off=(t2,n2,o2,s2)=>{each(splitEventNames(n2),n3=>{t2.removeEventListener(n3,o2,s2);});},on=(t2,n2,o2,s2)=>{var e2;let c2=supportPassiveEvents(),r2=(e2=c2&&s2&&s2.S)!=null?e2:c2,i2=s2&&s2.$||!1,l2=s2&&s2.C||!1,a2=[],u2=c2?{passive:r2,capture:i2}:i2;return each(splitEventNames(n2),n3=>{let s3=l2?e3=>{t2.removeEventListener(n3,s3,i2),o2&&o2(e3);}:o2;push(a2,off.bind(null,t2,n3,s3,i2)),t2.addEventListener(n3,s3,u2);}),runEachAndClear.bind(0,a2)},stopPropagation=t2=>t2.stopPropagation(),preventDefault=t2=>t2.preventDefault(),y={x:0,y:0},absoluteCoordinates=t2=>{let n2=t2?getBoundingClientRect(t2):0;return n2?{x:n2.left+window.pageYOffset,y:n2.top+window.pageXOffset}:y},manageListener=(t2,n2)=>{each(isArray(n2)?n2:[n2],t2);},createEventListenerHub=t2=>{let n2=new Map,removeEvent=(t3,o2)=>{if(t3){let s2=n2.get(t3);manageListener(t4=>{s2&&s2[t4?\"delete\":\"clear\"](t4);},o2);}else n2.forEach(t4=>{t4.clear();}),n2.clear();},addEvent=(t3,o2)=>{if(isString(t3)){let s3=n2.get(t3)||new Set;return n2.set(t3,s3),manageListener(t4=>{isFunction(t4)&&s3.add(t4);},o2),removeEvent.bind(0,t3,o2)}isBoolean(o2)&&o2&&removeEvent();let s2=keys(t3),e2=[];return each(s2,n3=>{let o3=t3[n3];o3&&push(e2,addEvent(n3,o3));}),runEachAndClear.bind(0,e2)},triggerEvent=(t3,o2)=>{let s2=n2.get(t3);each(from(s2),t4=>{o2&&!isEmptyArray(o2)?t4.apply(0,o2):t4();});};return addEvent(t2||{}),[addEvent,removeEvent,triggerEvent]},opsStringify=t2=>JSON.stringify(t2,(t3,n2)=>{if(isFunction(n2))throw new Error;return n2}),S={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[[\"img\",\"load\"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:\"scroll\",y:\"scroll\"},scrollbars:{theme:\"os-theme-dark\",visibility:\"auto\",autoHide:\"never\",autoHideDelay:1300,dragScroll:!0,clickScroll:!1,pointers:[\"mouse\",\"touch\",\"pen\"]}},getOptionsDiff=(t2,n2)=>{let o2={},s2=keys(n2).concat(keys(t2));return each(s2,s3=>{let e2=t2[s3],c2=n2[s3];if(isObject(e2)&&isObject(c2))assignDeep(o2[s3]={},getOptionsDiff(e2,c2)),isEmptyObject(o2[s3])&&delete o2[s3];else if(hasOwnProperty(n2,s3)&&c2!==e2){let t3=!0;if(isArray(e2)||isArray(c2))try{opsStringify(e2)===opsStringify(c2)&&(t3=!1);}catch{}t3&&(o2[s3]=c2);}}),o2},x=\"os-environment\",$=`${x}-flexbox-glue`,C=`${$}-max`,O=\"os-scrollbar-hidden\",z=\"data-overlayscrollbars-initialize\",T=\"data-overlayscrollbars\",E=`${T}-overflow-x`,I=`${T}-overflow-y`,A=\"overflowVisible\",L=\"scrollbarHidden\",H=\"scrollbarPressed\",P=\"updating\",D=\"data-overlayscrollbars-viewport\",M=\"arrange\",R=\"scrollbarHidden\",k=A,B=\"data-overlayscrollbars-padding\",V=k,Y=\"data-overlayscrollbars-content\",j=\"os-size-observer\",N=`${j}-appear`,q=`${j}-listener`,U=\"os-trinsic-observer\",W=\"os-no-css-vars\",Z=\"os-theme-none\",J=\"os-scrollbar\",K=`${J}-rtl`,Q=`${J}-horizontal`,tt=`${J}-vertical`,nt=`${J}-track`,ot=`${J}-handle`,st=`${J}-visible`,et=`${J}-cornerless`,ct=`${J}-transitionless`,rt=`${J}-interaction`,it=`${J}-unusable`,lt=`${J}-auto-hidden`,at=`${J}-wheel`,ut=`${nt}-interactive`,dt=`${ot}-interactive`,ft={},getPlugins=()=>ft,addPlugin=t2=>{let n2=[];return each(isArray(t2)?t2:[t2],t3=>{let o2=keys(t3);each(o2,o3=>{push(n2,ft[o3]=t3[o3]);});}),n2};var mt=\"__osOptionsValidationPlugin\";var xt=\"__osSizeObserverPlugin\";var Tt=\"__osScrollbarsHidingPlugin\";var It=\"__osClickScrollPlugin\";var Lt,getNativeScrollbarSize=(t2,n2,o2,s2)=>{appendChildren(t2,n2);let e2=clientSize(n2),c2=offsetSize(n2),r2=fractionalSize(o2);return s2&&removeElements(n2),{x:c2.h-e2.h+r2.h,y:c2.w-e2.w+r2.w}},getNativeScrollbarsHiding=t2=>{let n2=!1,o2=addClass(t2,O);try{n2=style(t2,cssProperty(\"scrollbar-width\"))===\"none\"||window.getComputedStyle(t2,\"::-webkit-scrollbar\").getPropertyValue(\"display\")===\"none\";}catch{}return o2(),n2},getRtlScrollBehavior=(t2,n2)=>{let o2=\"hidden\";style(t2,{overflowX:o2,overflowY:o2,direction:\"rtl\"}),scrollLeft(t2,0);let s2=absoluteCoordinates(t2),e2=absoluteCoordinates(n2);scrollLeft(t2,-999);let c2=absoluteCoordinates(n2);return {i:s2.x===e2.x,n:e2.x!==c2.x}},getFlexboxGlue=(t2,n2)=>{let o2=addClass(t2,$),s2=getBoundingClientRect(t2),e2=getBoundingClientRect(n2),c2=equalBCRWH(e2,s2,!0),r2=addClass(t2,C),i2=getBoundingClientRect(t2),l2=getBoundingClientRect(n2),a2=equalBCRWH(l2,i2,!0);return o2(),r2(),c2&&a2},createEnvironment=()=>{let{body:t2}=document,o2=createDOM(`
`)[0],s2=o2.firstChild,[e2,,c2]=createEventListenerHub(),[r2,i2]=createCache({o:getNativeScrollbarSize(t2,o2,s2),u:equalXY},getNativeScrollbarSize.bind(0,t2,o2,s2,!0)),[l2]=i2(),a2=getNativeScrollbarsHiding(o2),u2={x:l2.x===0,y:l2.y===0},d2={elements:{host:null,padding:!a2,viewport:t3=>a2&&t3===t3.ownerDocument.body&&t3,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},f3=assignDeep({},S),_2=assignDeep.bind(0,{},f3),h2=assignDeep.bind(0,{},d2),v3={k:l2,A:u2,I:a2,L:style(o2,\"zIndex\")===\"-1\",B:getRtlScrollBehavior(o2,s2),V:getFlexboxGlue(o2,s2),Y:e2.bind(0,\"z\"),j:e2.bind(0,\"r\"),N:h2,q:t3=>assignDeep(d2,t3)&&h2(),F:_2,G:t3=>assignDeep(f3,t3)&&_2(),X:assignDeep({},d2),U:assignDeep({},f3)},g2=window.addEventListener,w3=debounce(t3=>c2(t3?\"z\":\"r\"),{v:33,g:99});if(removeAttr(o2,\"style\"),removeElements(o2),g2(\"resize\",w3.bind(0,!1)),!a2&&(!u2.x||!u2.y)){let t3;g2(\"resize\",()=>{let n3=getPlugins()[Tt];t3=t3||n3&&n3.R(),t3&&t3(v3,r2,w3.bind(0,!0));});}return v3},getEnvironment=()=>(Lt||(Lt=createEnvironment()),Lt),resolveInitialization=(t2,n2)=>isFunction(n2)?n2.apply(0,t2):n2,staticInitializationElement=(t2,n2,o2,s2)=>{let e2=isUndefined(s2)?o2:s2;return resolveInitialization(t2,e2)||n2.apply(0,t2)},dynamicInitializationElement=(t2,n2,o2,s2)=>{let e2=isUndefined(s2)?o2:s2,c2=resolveInitialization(t2,e2);return !!c2&&(isHTMLElement(c2)?c2:n2.apply(0,t2))},cancelInitialization=(t2,n2,o2)=>{let{nativeScrollbarsOverlaid:s2,body:e2}=o2||{},{A:c2,I:r2}=getEnvironment(),{nativeScrollbarsOverlaid:i2,body:l2}=n2,a2=s2??i2,u2=isUndefined(e2)?l2:e2,d2=(c2.x||c2.y)&&a2,f3=t2&&(isNull(u2)?!r2:u2);return !!d2||!!f3},Ht=new WeakMap,addInstance=(t2,n2)=>{Ht.set(t2,n2);},removeInstance=t2=>{Ht.delete(t2);},getInstance=t2=>Ht.get(t2),getPropByPath=(t2,n2)=>t2?n2.split(\".\").reduce((t3,n3)=>t3&&hasOwnProperty(t3,n3)?t3[n3]:void 0,t2):void 0,createOptionCheck=(t2,n2,o2)=>s2=>[getPropByPath(t2,s2),o2||getPropByPath(n2,s2)!==void 0],createState=t2=>{let n2=t2;return [()=>n2,t3=>{n2=assignDeep({},n2,t3);}]},Pt=\"tabindex\",Dt=createDiv.bind(0,\"\"),unwrap=t2=>{appendChildren(parent(t2),contents(t2)),removeElements(t2);},createStructureSetupElements=t2=>{let n2=getEnvironment(),{N:o2,I:s2}=n2,e2=getPlugins()[Tt],c2=e2&&e2.T,{elements:r2}=o2(),{host:i2,padding:l2,viewport:a2,content:u2}=r2,d2=isHTMLElement(t2),f3=d2?{}:t2,{elements:_2}=f3,{host:h2,padding:v3,viewport:g2,content:w3}=_2||{},p2=d2?t2:f3.target,b3=is(p2,\"textarea\"),m2=p2.ownerDocument,y2=m2.documentElement,S3=p2===m2.body,x2=m2.defaultView,$2=staticInitializationElement.bind(0,[p2]),C3=dynamicInitializationElement.bind(0,[p2]),A3=resolveInitialization.bind(0,[p2]),L2=$2.bind(0,Dt,a2),H2=C3.bind(0,Dt,u2),P2=L2(g2),M2=P2===p2,k2=M2&&S3,V2=!M2&&H2(w3),j2=!M2&&isHTMLElement(P2)&&P2===V2,N2=j2&&!!A3(u2),q2=N2?L2():P2,F3=N2?V2:H2(),X2=k2?y2:j2?q2:P2,U2=b3?$2(Dt,i2,h2):p2,W2=k2?X2:U2,Z2=j2?F3:V2,J2=m2.activeElement,K2=!M2&&x2.top===x2&&J2===p2,Q2={W:p2,Z:W2,J:X2,K:!M2&&C3(Dt,l2,v3),tt:Z2,nt:!M2&&!s2&&c2&&c2(n2),ot:k2?y2:X2,st:k2?m2:X2,et:x2,ct:m2,rt:b3,it:S3,lt:d2,ut:M2,dt:j2,ft:(t3,n3)=>hasAttrClass(X2,M2?T:D,M2?n3:t3),_t:(t3,n3,o3)=>attrClass(X2,M2?T:D,M2?n3:t3,o3)},tt2=keys(Q2).reduce((t3,n3)=>{let o3=Q2[n3];return push(t3,o3&&!parent(o3)?o3:!1)},[]),elementIsGenerated=t3=>t3?indexOf(tt2,t3)>-1:null,{W:nt2,Z:ot2,K:st2,J:et2,tt:ct2,nt:rt2}=Q2,it2=[()=>{removeAttr(ot2,T),removeAttr(ot2,z),removeAttr(nt2,z),S3&&(removeAttr(y2,T),removeAttr(y2,z));}],lt2=b3&&elementIsGenerated(ot2),at2=b3?nt2:contents([ct2,et2,st2,ot2,nt2].find(t3=>elementIsGenerated(t3)===!1)),ut2=k2?nt2:ct2||et2;return [Q2,()=>{attr(ot2,T,M2?\"viewport\":\"host\"),attr(st2,B,\"\"),attr(ct2,Y,\"\"),M2||attr(et2,D,\"\");let t3=S3&&!M2?addClass(parent(p2),O):noop;if(lt2&&(insertAfter(nt2,ot2),push(it2,()=>{insertAfter(ot2,nt2),removeElements(ot2);})),appendChildren(ut2,at2),appendChildren(ot2,st2),appendChildren(st2||ot2,!M2&&et2),appendChildren(et2,ct2),push(it2,()=>{t3(),removeAttr(st2,B),removeAttr(ct2,Y),removeAttr(et2,E),removeAttr(et2,I),removeAttr(et2,D),elementIsGenerated(ct2)&&unwrap(ct2),elementIsGenerated(et2)&&unwrap(et2),elementIsGenerated(st2)&&unwrap(st2);}),s2&&!M2&&(attrClass(et2,D,R,!0),push(it2,removeAttr.bind(0,et2,D))),rt2&&(insertBefore(et2,rt2),push(it2,removeElements.bind(0,rt2))),K2){let t4=attr(et2,Pt);attr(et2,Pt,\"-1\"),et2.focus();let revertViewportTabIndex=()=>t4?attr(et2,Pt,t4):removeAttr(et2,Pt),n3=on(m2,\"pointerdown keydown\",()=>{revertViewportTabIndex(),n3();});push(it2,[revertViewportTabIndex,n3]);}else J2&&J2.focus&&J2.focus();at2=0;},runEachAndClear.bind(0,it2)]},createTrinsicUpdateSegment=(t2,n2)=>{let{tt:o2}=t2,[s2]=n2;return t3=>{let{V:n3}=getEnvironment(),{ht:e2}=s2(),{vt:c2}=t3,r2=(o2||!n3)&&c2;return r2&&style(o2,{height:e2?\"\":\"100%\"}),{gt:r2,wt:r2}}},createPaddingUpdateSegment=(t2,n2)=>{let[o2,s2]=n2,{Z:e2,K:c2,J:r2,ut:i2}=t2,[l2,a2]=createCache({u:equalTRBL,o:topRightBottomLeft()},topRightBottomLeft.bind(0,e2,\"padding\",\"\"));return (t3,n3,e3)=>{let[u2,d2]=a2(e3),{I:f3,V:_2}=getEnvironment(),{bt:h2}=o2(),{gt:v3,wt:g2,yt:w3}=t3,[p2,b3]=n3(\"paddingAbsolute\");(v3||d2||!_2&&g2)&&([u2,d2]=l2(e3));let y2=!i2&&(b3||w3||d2);if(y2){let t4=!p2||!c2&&!f3,n4=u2.r+u2.l,o3=u2.t+u2.b,e4={marginRight:t4&&!h2?-n4:0,marginBottom:t4?-o3:0,marginLeft:t4&&h2?-n4:0,top:t4?-u2.t:0,right:t4?h2?-u2.r:\"auto\":0,left:t4?h2?\"auto\":-u2.l:0,width:t4?`calc(100% + ${n4}px)`:\"\"},i3={paddingTop:t4?u2.t:0,paddingRight:t4?u2.r:0,paddingBottom:t4?u2.b:0,paddingLeft:t4?u2.l:0};style(c2||r2,e4),style(r2,i3),s2({K:u2,St:!t4,P:c2?i3:assignDeep({},e4,i3)});}return {xt:y2}}},{max:Mt}=Math,Rt=Mt.bind(0,0),kt=\"visible\",Bt=\"hidden\",Vt=42,Yt={u:equalWH,o:{w:0,h:0}},jt={u:equalXY,o:{x:Bt,y:Bt}},getOverflowAmount=(t2,n2)=>{let o2=window.devicePixelRatio%1!==0?1:0,s2={w:Rt(t2.w-n2.w),h:Rt(t2.h-n2.h)};return {w:s2.w>o2?s2.w:0,h:s2.h>o2?s2.h:0}},overflowIsVisible=t2=>t2.indexOf(kt)===0,createOverflowUpdateSegment=(t2,n2)=>{let[o2,s2]=n2,{Z:e2,K:c2,J:r2,nt:i2,ut:l2,_t:a2,it:u2,et:d2}=t2,{k:f3,V:_2,I:h2,A:v3}=getEnvironment(),g2=getPlugins()[Tt],w3=!l2&&!h2&&(v3.x||v3.y),p2=u2&&l2,[b3,m2]=createCache(Yt,fractionalSize.bind(0,r2)),[y2,S3]=createCache(Yt,scrollSize.bind(0,r2)),[x2,$2]=createCache(Yt),[C3,O3]=createCache(Yt),[z2]=createCache(jt),fixFlexboxGlue=(t3,n3)=>{if(style(r2,{height:\"\"}),n3){let{St:n4,K:s3}=o2(),{$t:c3,D:i3}=t3,l3=fractionalSize(e2),a3=clientSize(e2),u3=style(r2,\"boxSizing\")===\"content-box\",d3=n4||u3?s3.b+s3.t:0,f4=!(v3.x&&u3);style(r2,{height:a3.h+l3.h+(c3.x&&f4?i3.x:0)-d3});}},getViewportOverflowState=(t3,n3)=>{let o3=!h2&&!t3?Vt:0,getStatePerAxis=(t4,s4,e4)=>{let c4=style(r2,t4),l4=(n3?n3[t4]:c4)===\"scroll\";return [c4,l4,l4&&!h2?s4?o3:e4:0,s4&&!!o3]},[s3,e3,c3,i3]=getStatePerAxis(\"overflowX\",v3.x,f3.x),[l3,a3,u3,d3]=getStatePerAxis(\"overflowY\",v3.y,f3.y);return {Ct:{x:s3,y:l3},$t:{x:e3,y:a3},D:{x:c3,y:u3},M:{x:i3,y:d3}}},setViewportOverflowState=(t3,n3,o3,s3)=>{let setAxisOverflowStyle=(t4,n4)=>{let o4=overflowIsVisible(t4),s4=n4&&o4&&t4.replace(`${kt}-`,\"\")||\"\";return [n4&&!o4?t4:\"\",overflowIsVisible(s4)?\"hidden\":s4]},[e3,c3]=setAxisOverflowStyle(o3.x,n3.x),[r3,i3]=setAxisOverflowStyle(o3.y,n3.y);return s3.overflowX=c3&&r3?c3:e3,s3.overflowY=i3&&e3?i3:r3,getViewportOverflowState(t3,s3)},hideNativeScrollbars=(t3,n3,s3,e3)=>{let{D:c3,M:r3}=t3,{x:i3,y:l3}=r3,{x:a3,y:u3}=c3,{P:d3}=o2(),f4=n3?\"marginLeft\":\"marginRight\",_3=n3?\"paddingLeft\":\"paddingRight\",h3=d3[f4],v4=d3.marginBottom,g3=d3[_3],w4=d3.paddingBottom;e3.width=`calc(100% + ${u3+-1*h3}px)`,e3[f4]=-u3+h3,e3.marginBottom=-a3+v4,s3&&(e3[_3]=g3+(l3?u3:0),e3.paddingBottom=w4+(i3?a3:0));},[H2,P2]=g2?g2.H(w3,_2,r2,i2,o2,getViewportOverflowState,hideNativeScrollbars):[()=>w3,()=>[noop]];return (t3,n3,i3)=>{let{gt:u3,Ot:f4,wt:g3,xt:w4,vt:M2,yt:Y2}=t3,{ht:j2,bt:N2}=o2(),[q2,F3]=n3(\"showNativeOverlaidScrollbars\"),[G2,X2]=n3(\"overflow\"),U2=q2&&v3.x&&v3.y,W2=!l2&&!_2&&(u3||g3||f4||F3||M2),Z2=overflowIsVisible(G2.x),J2=overflowIsVisible(G2.y),K2=Z2||J2,Q2=m2(i3),tt2=S3(i3),nt2=$2(i3),ot2=O3(i3),st2;if(F3&&h2&&a2(R,L,!U2),W2&&(st2=getViewportOverflowState(U2),fixFlexboxGlue(st2,j2)),u3||w4||g3||Y2||F3){K2&&a2(k,A,!1);let[t4,n4]=P2(U2,N2,st2),[o3,s3]=Q2=b3(i3),[e3,c3]=tt2=y2(i3),l3=clientSize(r2),u4=e3,f5=l3;t4(),(c3||s3||F3)&&n4&&!U2&&H2(n4,e3,o3,N2)&&(f5=clientSize(r2),u4=scrollSize(r2));let _3={w:Rt(Mt(e3.w,u4.w)+o3.w),h:Rt(Mt(e3.h,u4.h)+o3.h)},h3={w:Rt((p2?d2.innerWidth:f5.w+Rt(l3.w-e3.w))+o3.w),h:Rt((p2?d2.innerHeight+o3.h:f5.h+Rt(l3.h-e3.h))+o3.h)};ot2=C3(h3),nt2=x2(getOverflowAmount(_3,h3),i3);}let[et2,ct2]=ot2,[rt2,it2]=nt2,[lt2,at2]=tt2,[ut2,dt2]=Q2,ft2={x:rt2.w>0,y:rt2.h>0},_t2=Z2&&J2&&(ft2.x||ft2.y)||Z2&&ft2.x&&!ft2.y||J2&&ft2.y&&!ft2.x;if(w4||Y2||dt2||at2||ct2||it2||X2||F3||W2){let t4={marginRight:0,marginBottom:0,marginLeft:0,width:\"\",overflowY:\"\",overflowX:\"\"},n4=setViewportOverflowState(U2,ft2,G2,t4),o3=H2(n4,lt2,ut2,N2);l2||hideNativeScrollbars(n4,N2,o3,t4),W2&&fixFlexboxGlue(n4,j2),l2?(attr(e2,E,t4.overflowX),attr(e2,I,t4.overflowY)):style(r2,t4);}attrClass(e2,T,A,_t2),attrClass(c2,B,V,_t2),l2||attrClass(r2,D,k,K2);let[ht2,vt2]=z2(getViewportOverflowState(U2).Ct);return s2({Ct:ht2,zt:{x:et2.w,y:et2.h},Tt:{x:rt2.w,y:rt2.h},Et:ft2}),{It:vt2,At:ct2,Lt:it2}}},prepareUpdateHints=(t2,n2,o2)=>{let s2={},e2=n2||{},c2=keys(t2).concat(keys(e2));return each(c2,n3=>{let c3=t2[n3],r2=e2[n3];s2[n3]=!!(o2||c3||r2);}),s2},createStructureSetupUpdate=(t2,n2)=>{let{W:o2,J:s2,_t:e2,ut:c2}=t2,{I:r2,A:i2,V:l2}=getEnvironment(),a2=!r2&&(i2.x||i2.y),u2=[createTrinsicUpdateSegment(t2,n2),createPaddingUpdateSegment(t2,n2),createOverflowUpdateSegment(t2,n2)];return (t3,n3,r3)=>{let i3=prepareUpdateHints(assignDeep({gt:!1,xt:!1,yt:!1,vt:!1,At:!1,Lt:!1,It:!1,Ot:!1,wt:!1},n3),{},r3),d2=a2||!l2,f3=d2&&scrollLeft(s2),_2=d2&&scrollTop(s2);e2(\"\",P,!0);let h2=i3;return each(u2,n4=>{h2=prepareUpdateHints(h2,n4(h2,t3,!!r3)||{},r3);}),scrollLeft(s2,f3),scrollTop(s2,_2),e2(\"\",P),c2||(scrollLeft(o2,0),scrollTop(o2,0)),h2}},createEventContentChange=(t2,n2,o2)=>{let s2,e2=!1,destroy=()=>{e2=!0;},updateElements=c2=>{if(o2){let r2=o2.reduce((n3,o3)=>{if(o3){let[s3,e3]=o3,r3=e3&&s3&&(c2?c2(s3):find(s3,t2));r3&&r3.length&&e3&&isString(e3)&&push(n3,[r3,e3.trim()],!0);}return n3},[]);each(r2,o3=>each(o3[0],c3=>{let r3=o3[1],i2=s2.get(c3)||[];if(t2.contains(c3)){let t3=on(c3,r3,o4=>{e2?(t3(),s2.delete(c3)):n2(o4);});s2.set(c3,push(i2,t3));}else runEachAndClear(i2),s2.delete(c3);}));}};return o2&&(s2=new WeakMap,updateElements()),[destroy,updateElements]},createDOMObserver=(t2,n2,o2,s2)=>{let e2=!1,{Ht:c2,Pt:r2,Dt:i2,Mt:a2,Rt:u2,kt:d2}=s2||{},f3=debounce(()=>{e2&&o2(!0);},{v:33,g:99}),[_2,h2]=createEventContentChange(t2,f3,i2),v3=c2||[],g2=r2||[],w3=v3.concat(g2),observerCallback=(e3,c3)=>{let r3=u2||noop,i3=d2||noop,l2=new Set,f4=new Set,_3=!1,v4=!1;if(each(e3,o3=>{let{attributeName:e4,target:c4,type:u3,oldValue:d3,addedNodes:h3,removedNodes:w4}=o3,p3=u3===\"attributes\",b3=u3===\"childList\",m2=t2===c4,y2=p3&&isString(e4)?attr(c4,e4):0,S3=y2!==0&&d3!==y2,x2=indexOf(g2,e4)>-1&&S3;if(n2&&(b3||!m2)){let n3=!p3,u4=p3&&S3,f5=u4&&a2&&is(c4,a2),g3=(f5?!r3(c4,e4,d3,y2):n3||u4)&&!i3(o3,!!f5,t2,s2);each(h3,t3=>l2.add(t3)),each(w4,t3=>l2.add(t3)),v4=v4||g3;}!n2&&m2&&S3&&!r3(c4,e4,d3,y2)&&(f4.add(e4),_3=_3||x2);}),l2.size>0&&h2(t3=>from(l2).reduce((n3,o3)=>(push(n3,find(t3,o3)),is(o3,t3)?push(n3,o3):n3),[])),n2)return !c3&&v4&&o2(!1),[!1];if(f4.size>0||_3){let t3=[from(f4),_3];return !c3&&o2.apply(0,t3),t3}},p2=new l(t3=>observerCallback(t3));return p2.observe(t2,{attributes:!0,attributeOldValue:!0,attributeFilter:w3,subtree:n2,childList:n2,characterData:n2}),e2=!0,[()=>{e2&&(_2(),p2.disconnect(),e2=!1);},()=>{if(e2){f3.m();let t3=p2.takeRecords();return !isEmptyArray(t3)&&observerCallback(t3,!0)}}]},Nt=3333333,domRectHasDimensions=t2=>t2&&(t2.height||t2.width),createSizeObserver=(t2,n2,o2)=>{let{Bt:s2=!1,Vt:e2=!1}=o2||{},c2=getPlugins()[xt],{B:r2}=getEnvironment(),l2=createDOM(`
`)[0],a2=l2.firstChild,d2=directionIsRTL.bind(0,t2),[f3]=createCache({o:void 0,_:!0,u:(t3,n3)=>!(!t3||!domRectHasDimensions(t3)&&domRectHasDimensions(n3))}),onSizeChangedCallbackProxy=t3=>{let o3=isArray(t3)&&t3.length>0&&isObject(t3[0]),e3=!o3&&isBoolean(t3[0]),c3=!1,i3=!1,a3=!0;if(o3){let[n3,,o4]=f3(t3.pop().contentRect),s3=domRectHasDimensions(n3),e4=domRectHasDimensions(o4);c3=!o4||!s3,i3=!e4&&s3,a3=!c3;}else e3?[,a3]=t3:i3=t3===!0;if(s2&&a3){let n3=e3?t3[0]:directionIsRTL(l2);scrollLeft(l2,n3?r2.n?-Nt:r2.i?0:Nt:Nt),scrollTop(l2,Nt);}c3||n2({gt:!e3,Yt:e3?t3:void 0,Vt:!!i3});},_2=[],h2=e2?onSizeChangedCallbackProxy:!1;return [()=>{runEachAndClear(_2),removeElements(l2);},()=>{if(u){let t3=new u(onSizeChangedCallbackProxy);t3.observe(a2),push(_2,()=>{t3.disconnect();});}else if(c2){let[t3,n3]=c2.O(a2,onSizeChangedCallbackProxy,e2);h2=t3,push(_2,n3);}if(s2){let[t3]=createCache({o:void 0},d2);push(_2,on(l2,\"scroll\",n3=>{let o3=t3(),[s3,e3,c3]=o3;e3&&(removeClass(a2,\"ltr rtl\"),s3?addClass(a2,\"rtl\"):addClass(a2,\"ltr\"),onSizeChangedCallbackProxy([!!s3,e3,c3])),stopPropagation(n3);}));}h2&&(addClass(l2,N),push(_2,on(l2,\"animationstart\",h2,{C:!!u}))),(u||c2)&&appendChildren(t2,l2);}]},isHeightIntrinsic=t2=>t2.h===0||t2.isIntersecting||t2.intersectionRatio>0,createTrinsicObserver=(t2,n2)=>{let o2,s2=createDiv(U),e2=[],[c2]=createCache({o:!1}),triggerOnTrinsicChangedCallback=(t3,o3)=>{if(t3){let s3=c2(isHeightIntrinsic(t3)),[,e3]=s3;if(e3)return !o3&&n2(s3),[s3]}},intersectionObserverCallback=(t3,n3)=>{if(t3&&t3.length>0)return triggerOnTrinsicChangedCallback(t3.pop(),n3)};return [()=>{runEachAndClear(e2),removeElements(s2);},()=>{if(a)o2=new a(t3=>intersectionObserverCallback(t3),{root:t2}),o2.observe(s2),push(e2,()=>{o2.disconnect();});else {let onSizeChanged=()=>{let t4=offsetSize(s2);triggerOnTrinsicChangedCallback(t4);},[t3,n3]=createSizeObserver(s2,onSizeChanged);push(e2,t3),n3(),onSizeChanged();}appendChildren(t2,s2);},()=>{if(o2)return intersectionObserverCallback(o2.takeRecords(),!0)}]},qt=`[${T}]`,Ft=`[${D}]`,Gt=[\"tabindex\"],Xt=[\"wrap\",\"cols\",\"rows\"],Ut=[\"id\",\"class\",\"style\",\"open\"],createStructureSetupObservers=(t2,n2,o2)=>{let s2,e2,c2,{Z:r2,J:i2,tt:l2,rt:a2,ut:d2,ft:f3,_t:_2}=t2,{V:h2}=getEnvironment(),[v3]=createCache({u:equalWH,o:{w:0,h:0}},()=>{let t3=f3(k,A),n3=f3(M,\"\"),o3=n3&&scrollLeft(i2),s3=n3&&scrollTop(i2);_2(k,A),_2(M,\"\"),_2(\"\",P,!0);let e3=scrollSize(l2),c3=scrollSize(i2),r3=fractionalSize(i2);return _2(k,A,t3),_2(M,\"\",n3),_2(\"\",P),scrollLeft(i2,o3),scrollTop(i2,s3),{w:c3.w+e3.w+r3.w,h:c3.h+e3.h+r3.h}}),g2=a2?Xt:Ut.concat(Xt),w3=debounce(o2,{v:()=>s2,g:()=>e2,p(t3,n3){let[o3]=t3,[s3]=n3;return [keys(o3).concat(keys(s3)).reduce((t4,n4)=>(t4[n4]=o3[n4]||s3[n4],t4),{})]}}),updateViewportAttrsFromHost=t3=>{each(t3||Gt,t4=>{if(indexOf(Gt,t4)>-1){let n3=attr(r2,t4);isString(n3)?attr(i2,t4,n3):removeAttr(i2,t4);}});},onTrinsicChanged=(t3,s3)=>{let[e3,c3]=t3,r3={vt:c3};return n2({ht:e3}),!s3&&o2(r3),r3},onSizeChanged=({gt:t3,Yt:s3,Vt:e3})=>{let c3=!t3||e3?o2:w3,r3=!1;if(s3){let[t4,o3]=s3;r3=o3,n2({bt:t4});}c3({gt:t3,yt:r3});},onContentMutation=(t3,n3)=>{let[,s3]=v3(),e3={wt:s3};return s3&&!n3&&(t3?o2:w3)(e3),e3},onHostMutation=(t3,n3,o3)=>{let s3={Ot:n3};return n3?!o3&&w3(s3):d2||updateViewportAttrsFromHost(t3),s3},[p2,b3,m2]=l2||!h2?createTrinsicObserver(r2,onTrinsicChanged):[noop,noop,noop],[y2,S3]=d2?[noop,noop]:createSizeObserver(r2,onSizeChanged,{Vt:!0,Bt:!0}),[x2,$2]=createDOMObserver(r2,!1,onHostMutation,{Pt:Ut,Ht:Ut.concat(Gt)}),C3=d2&&u&&new u(onSizeChanged.bind(0,{gt:!0}));return C3&&C3.observe(r2),updateViewportAttrsFromHost(),[()=>{p2(),y2(),c2&&c2[0](),C3&&C3.disconnect(),x2();},()=>{S3(),b3();},()=>{let t3={},n3=$2(),o3=m2(),s3=c2&&c2[1]();return n3&&assignDeep(t3,onHostMutation.apply(0,push(n3,!0))),o3&&assignDeep(t3,onTrinsicChanged.apply(0,push(o3,!0))),s3&&assignDeep(t3,onContentMutation.apply(0,push(s3,!0))),t3},t3=>{let[n3]=t3(\"update.ignoreMutation\"),[o3,r3]=t3(\"update.attributes\"),[a3,u2]=t3(\"update.elementEvents\"),[f4,_3]=t3(\"update.debounce\"),h3=u2||r3,ignoreMutationFromOptions=t4=>isFunction(n3)&&n3(t4);if(h3&&(c2&&(c2[1](),c2[0]()),c2=createDOMObserver(l2||i2,!0,onContentMutation,{Ht:g2.concat(o3||[]),Dt:a3,Mt:qt,kt:(t4,n4)=>{let{target:o4,attributeName:s3}=t4;return (!n4&&s3&&!d2?liesBetween(o4,qt,Ft):!1)||!!closest(o4,`.${J}`)||!!ignoreMutationFromOptions(t4)}})),_3)if(w3.m(),isArray(f4)){let t4=f4[0],n4=f4[1];s2=isNumber(t4)&&t4,e2=isNumber(n4)&&n4;}else isNumber(f4)?(s2=f4,e2=!1):(s2=!1,e2=!1);}]},Wt={x:0,y:0},createInitialStructureSetupUpdateState=t2=>({K:{t:0,r:0,b:0,l:0},St:!1,P:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:Wt,Tt:Wt,Ct:{x:\"hidden\",y:\"hidden\"},Et:{x:!1,y:!1},ht:!1,bt:directionIsRTL(t2.Z)}),createStructureSetup=(t2,n2)=>{let o2=createOptionCheck(n2,{}),[s2,e2,c2]=createEventListenerHub(),[r2,i2,l2]=createStructureSetupElements(t2),a2=createState(createInitialStructureSetupUpdateState(r2)),[u2,d2]=a2,f3=createStructureSetupUpdate(r2,a2),triggerUpdateEvent=(t3,n3,o3)=>{let e3=keys(t3).some(n4=>t3[n4])||!isEmptyObject(n3)||o3;return e3&&c2(\"u\",[t3,n3,o3]),e3},[_2,h2,v3,g2]=createStructureSetupObservers(r2,d2,t3=>triggerUpdateEvent(f3(o2,t3),{},!1)),w3=u2.bind(0);return w3.jt=t3=>s2(\"u\",t3),w3.Nt=()=>{let{W:t3,J:n3}=r2,o3=scrollLeft(t3),s3=scrollTop(t3);h2(),i2(),scrollLeft(n3,o3),scrollTop(n3,s3);},w3.qt=r2,[(t3,o3)=>{let s3=createOptionCheck(n2,t3,o3);return g2(s3),triggerUpdateEvent(f3(s3,v3(),o3),t3,!!o3)},w3,()=>{e2(),_2(),l2();}]},{round:Zt}=Math,getScale=t2=>{let{width:n2,height:o2}=getBoundingClientRect(t2),{w:s2,h:e2}=offsetSize(t2);return {x:Zt(n2)/s2||1,y:Zt(o2)/e2||1}},continuePointerDown=(t2,n2,o2)=>{let s2=n2.scrollbars,{button:e2,isPrimary:c2,pointerType:r2}=t2,{pointers:i2}=s2;return e2===0&&c2&&s2[o2?\"dragScroll\":\"clickScroll\"]&&(i2||[]).includes(r2)},createRootClickStopPropagationEvents=(t2,n2)=>on(t2,\"mousedown\",on.bind(0,n2,\"click\",stopPropagation,{C:!0,$:!0}),{$:!0}),Jt=\"pointerup pointerleave pointercancel lostpointercapture\",createInteractiveScrollEvents=(t2,n2,o2,s2,e2,c2,r2)=>{let{B:i2}=getEnvironment(),{Ft:l2,Gt:a2,Xt:u2}=s2,d2=`scroll${r2?\"Left\":\"Top\"}`,f3=`client${r2?\"X\":\"Y\"}`,_2=r2?\"width\":\"height\",h2=r2?\"left\":\"top\",v3=r2?\"w\":\"h\",g2=r2?\"x\":\"y\",createRelativeHandleMove=(t3,n3)=>o3=>{let{Tt:s3}=c2(),f4=offsetSize(a2)[v3]-offsetSize(l2)[v3],h3=n3*o3/f4*s3[g2],p2=directionIsRTL(u2)&&r2?i2.n||i2.i?1:-1:1;e2[d2]=t3+h3*p2;};return on(a2,\"pointerdown\",s3=>{let c3=closest(s3.target,`.${ot}`)===l2,r3=c3?l2:a2;if(attrClass(n2,T,H,!0),continuePointerDown(s3,t2,c3)){let t3=!c3&&s3.shiftKey,getHandleRect=()=>getBoundingClientRect(l2),getTrackRect=()=>getBoundingClientRect(a2),getHandleOffset=(t4,n3)=>(t4||getHandleRect())[h2]-(n3||getTrackRect())[h2],i3=createRelativeHandleMove(e2[d2]||0,1/getScale(e2)[g2]),u3=s3[f3],v4=getHandleRect(),w3=getTrackRect(),p2=v4[_2],b3=getHandleOffset(v4,w3)+p2/2,m2=u3-w3[h2],y2=c3?0:m2-b3,releasePointerCapture=t4=>{runEachAndClear(S3),r3.releasePointerCapture(t4.pointerId);},S3=[attrClass.bind(0,n2,T,H),on(o2,Jt,releasePointerCapture),on(o2,\"selectstart\",t4=>preventDefault(t4),{S:!1}),on(a2,Jt,releasePointerCapture),on(a2,\"pointermove\",n3=>{let o3=n3[f3]-u3;(c3||t3)&&i3(y2+o3);})];if(t3)i3(y2);else if(!c3){let t4=getPlugins()[It];t4&&push(S3,t4.O(i3,getHandleOffset,y2,p2,m2));}r3.setPointerCapture(s3.pointerId);}})},createScrollbarsSetupEvents=(t2,n2)=>(o2,s2,e2,c2,r2,i2)=>{let{Xt:l2}=o2,[a2,u2]=selfClearTimeout(333),d2=!!r2.scrollBy,f3=!0;return runEachAndClear.bind(0,[on(l2,\"pointerenter\",()=>{s2(rt,!0);}),on(l2,\"pointerleave pointercancel\",()=>{s2(rt);}),on(l2,\"wheel\",t3=>{let{deltaX:n3,deltaY:o3,deltaMode:e3}=t3;d2&&f3&&e3===0&&parent(l2)===c2&&r2.scrollBy({left:n3,top:o3,behavior:\"smooth\"}),f3=!1,s2(at,!0),a2(()=>{f3=!0,s2(at);}),preventDefault(t3);},{S:!1,$:!0}),createRootClickStopPropagationEvents(l2,e2),createInteractiveScrollEvents(t2,c2,e2,o2,r2,n2,i2),u2])},{min:Kt,max:Qt,abs:tn,round:nn}=Math,getScrollbarHandleLengthRatio=(t2,n2,o2,s2)=>{if(s2){let t3=o2?\"x\":\"y\",{Tt:n3,zt:e3}=s2,c3=e3[t3],r3=n3[t3];return Qt(0,Kt(1,c3/(c3+r3)))}let e2=o2?\"width\":\"height\",c2=getBoundingClientRect(t2)[e2],r2=getBoundingClientRect(n2)[e2];return Qt(0,Kt(1,c2/r2))},getScrollbarHandleOffsetRatio=(t2,n2,o2,s2,e2,c2)=>{let{B:r2}=getEnvironment(),i2=c2?\"x\":\"y\",l2=c2?\"Left\":\"Top\",{Tt:a2}=s2,u2=nn(a2[i2]),d2=tn(o2[`scroll${l2}`]),f3=c2&&e2,_2=r2.i?d2:u2-d2,v3=Kt(1,(f3?_2:d2)/u2),g2=getScrollbarHandleLengthRatio(t2,n2,c2);return 1/g2*(1-g2)*v3},createScrollbarsSetupElements=(t2,n2,o2)=>{let{N:s2,L:e2}=getEnvironment(),{scrollbars:c2}=s2(),{slot:r2}=c2,{ct:i2,W:l2,Z:a2,J:u2,lt:d2,ot:f3,it:h2,ut:v3}=n2,{scrollbars:g2}=d2?{}:t2,{slot:w3}=g2||{},p2=dynamicInitializationElement([l2,a2,u2],()=>v3&&h2?l2:a2,r2,w3),scrollbarStructureAddRemoveClass=(t3,n3,o3)=>{let s3=o3?addClass:removeClass;each(t3,t4=>{s3(t4.Xt,n3);});},scrollbarsHandleStyle=(t3,n3)=>{each(t3,t4=>{let[o3,s3]=n3(t4);style(o3,s3);});},scrollbarStructureRefreshHandleLength=(t3,n3,o3)=>{scrollbarsHandleStyle(t3,t4=>{let{Ft:s3,Gt:e3}=t4;return [s3,{[o3?\"width\":\"height\"]:`${(100*getScrollbarHandleLengthRatio(s3,e3,o3,n3)).toFixed(3)}%`}]});},scrollbarStructureRefreshHandleOffset=(t3,n3,o3)=>{let s3=o3?\"X\":\"Y\";scrollbarsHandleStyle(t3,t4=>{let{Ft:e3,Gt:c3,Xt:r3}=t4,i3=getScrollbarHandleOffsetRatio(e3,c3,f3,n3,directionIsRTL(r3),o3);return [e3,{transform:i3===i3?`translate${s3}(${(100*i3).toFixed(3)}%)`:\"\"}]});},b3=[],m2=[],y2=[],scrollbarsAddRemoveClass=(t3,n3,o3)=>{let s3=isBoolean(o3),e3=s3?o3:!0,c3=s3?!o3:!0;e3&&scrollbarStructureAddRemoveClass(m2,t3,n3),c3&&scrollbarStructureAddRemoveClass(y2,t3,n3);},refreshScrollbarsHandleLength=t3=>{scrollbarStructureRefreshHandleLength(m2,t3,!0),scrollbarStructureRefreshHandleLength(y2,t3);},refreshScrollbarsHandleOffset=t3=>{scrollbarStructureRefreshHandleOffset(m2,t3,!0),scrollbarStructureRefreshHandleOffset(y2,t3);},generateScrollbarDOM=t3=>{let n3=t3?Q:tt,s3=t3?m2:y2,c3=isEmptyArray(s3)?ct:\"\",r3=createDiv(`${J} ${n3} ${c3}`),l3=createDiv(nt),u3=createDiv(ot),d3={Xt:r3,Gt:l3,Ft:u3};return e2||addClass(r3,W),appendChildren(r3,l3),appendChildren(l3,u3),push(s3,d3),push(b3,[removeElements.bind(0,r3),o2(d3,scrollbarsAddRemoveClass,i2,a2,f3,t3)]),d3},S3=generateScrollbarDOM.bind(0,!0),x2=generateScrollbarDOM.bind(0,!1),appendElements=()=>{appendChildren(p2,m2[0].Xt),appendChildren(p2,y2[0].Xt),_(()=>{scrollbarsAddRemoveClass(ct);},300);};return S3(),x2(),[{Ut:refreshScrollbarsHandleLength,Wt:refreshScrollbarsHandleOffset,Zt:scrollbarsAddRemoveClass,Jt:{Kt:m2,Qt:S3,tn:scrollbarsHandleStyle.bind(0,m2)},nn:{Kt:y2,Qt:x2,tn:scrollbarsHandleStyle.bind(0,y2)}},appendElements,runEachAndClear.bind(0,b3)]},createScrollbarsSetup=(t2,n2,o2,s2)=>{let e2,c2,r2,i2,l2,a2=0,u2=createState({}),[d2]=u2,[f3,_2]=selfClearTimeout(),[h2,v3]=selfClearTimeout(),[g2,w3]=selfClearTimeout(100),[p2,b3]=selfClearTimeout(100),[m2,y2]=selfClearTimeout(()=>a2),[S3,x2,$2]=createScrollbarsSetupElements(t2,o2.qt,createScrollbarsSetupEvents(n2,o2)),{Z:C3,J:O3,ot:z2,st:T2,ut:E3,it:I2}=o2.qt,{Jt:A3,nn:L2,Zt:H2,Ut:P2,Wt:D2}=S3,{tn:M2}=A3,{tn:R2}=L2,styleScrollbarPosition=t3=>{let{Xt:n3}=t3,o3=E3&&!I2&&parent(n3)===O3&&n3;return [o3,{transform:o3?`translate(${scrollLeft(z2)}px, ${scrollTop(z2)}px)`:\"\"}]},manageScrollbarsAutoHide=(t3,n3)=>{if(y2(),t3)H2(lt);else {let hide=()=>H2(lt,!0);a2>0&&!n3?m2(hide):hide();}},onHostMouseEnter=()=>{i2=c2,i2&&manageScrollbarsAutoHide(!0);},k2=[w3,y2,b3,v3,_2,$2,on(C3,\"pointerover\",onHostMouseEnter,{C:!0}),on(C3,\"pointerenter\",onHostMouseEnter),on(C3,\"pointerleave\",()=>{i2=!1,c2&&manageScrollbarsAutoHide(!1);}),on(C3,\"pointermove\",()=>{e2&&f3(()=>{w3(),manageScrollbarsAutoHide(!0),p2(()=>{e2&&manageScrollbarsAutoHide(!1);});});}),on(T2,\"scroll\",t3=>{h2(()=>{D2(o2()),r2&&manageScrollbarsAutoHide(!0),g2(()=>{r2&&!i2&&manageScrollbarsAutoHide(!1);});}),s2(t3),E3&&M2(styleScrollbarPosition),E3&&R2(styleScrollbarPosition);})],B2=d2.bind(0);return B2.qt=S3,B2.Nt=x2,[(t3,s3,i3)=>{let{At:u3,Lt:d3,It:f4,yt:_3}=i3,{A:h3}=getEnvironment(),v4=createOptionCheck(n2,t3,s3),g3=o2(),{Tt:w4,Ct:p3,bt:b4}=g3,[m3,y3]=v4(\"showNativeOverlaidScrollbars\"),[S4,x3]=v4(\"scrollbars.theme\"),[$3,C4]=v4(\"scrollbars.visibility\"),[O4,z3]=v4(\"scrollbars.autoHide\"),[T3]=v4(\"scrollbars.autoHideDelay\"),[E4,A4]=v4(\"scrollbars.dragScroll\"),[L3,M3]=v4(\"scrollbars.clickScroll\"),R3=u3||d3||_3,k3=f4||C4,B3=m3&&h3.x&&h3.y,setScrollbarVisibility=(t4,n3)=>{let o3=$3===\"visible\"||$3===\"auto\"&&t4===\"scroll\";return H2(st,o3,n3),o3};if(a2=T3,y3&&H2(Z,B3),x3&&(H2(l2),H2(S4,!0),l2=S4),z3&&(e2=O4===\"move\",c2=O4===\"leave\",r2=O4!==\"never\",manageScrollbarsAutoHide(!r2,!0)),A4&&H2(dt,E4),M3&&H2(ut,L3),k3){let t4=setScrollbarVisibility(p3.x,!0),n3=setScrollbarVisibility(p3.y,!1);H2(et,!(t4&&n3));}R3&&(P2(g3),D2(g3),H2(it,!w4.x,!0),H2(it,!w4.y,!1),H2(K,b4&&!I2));},B2,runEachAndClear.bind(0,k2)]},invokePluginInstance=(t2,n2,o2)=>{isFunction(t2)&&t2(n2||void 0,o2||void 0);},OverlayScrollbars=(t2,n2,o2)=>{let{F:s2,N:e2,Y:c2,j:r2}=getEnvironment(),i2=getPlugins(),l2=isHTMLElement(t2),a2=l2?t2:t2.target,u2=getInstance(a2);if(n2&&!u2){let u3=!1,validateOptions=t3=>{let n3=getPlugins()[mt],o3=n3&&n3.O;return o3?o3(t3,!0):t3},d2=assignDeep({},s2(),validateOptions(n2)),[f3,_2,h2]=createEventListenerHub(o2),[v3,g2,w3]=createStructureSetup(t2,d2),[p2,b3,m2]=createScrollbarsSetup(t2,d2,g2,t3=>h2(\"scroll\",[$2,t3])),update=(t3,n3)=>v3(t3,!!n3),y2=update.bind(0,{},!0),S3=c2(y2),x2=r2(y2),destroy=t3=>{removeInstance(a2),S3(),x2(),m2(),w3(),u3=!0,h2(\"destroyed\",[$2,!!t3]),_2();},$2={options(t3,n3){if(t3){let o3=n3?s2():{},e3=getOptionsDiff(d2,assignDeep(o3,validateOptions(t3)));isEmptyObject(e3)||(assignDeep(d2,e3),update(e3));}return assignDeep({},d2)},on:f3,off:(t3,n3)=>{t3&&n3&&_2(t3,n3);},state(){let{zt:t3,Tt:n3,Ct:o3,Et:s3,K:e3,St:c3,bt:r3}=g2();return assignDeep({},{overflowEdge:t3,overflowAmount:n3,overflowStyle:o3,hasOverflow:s3,padding:e3,paddingAbsolute:c3,directionRTL:r3,destroyed:u3})},elements(){let{W:t3,Z:n3,K:o3,J:s3,tt:e3,ot:c3,st:r3}=g2.qt,{Jt:i3,nn:l3}=b3.qt,translateScrollbarStructure=t4=>{let{Ft:n4,Gt:o4,Xt:s4}=t4;return {scrollbar:s4,track:o4,handle:n4}},translateScrollbarsSetupElement=t4=>{let{Kt:n4,Qt:o4}=t4,s4=translateScrollbarStructure(n4[0]);return assignDeep({},s4,{clone:()=>{let t5=translateScrollbarStructure(o4());return p2({},!0,{}),t5}})};return assignDeep({},{target:t3,host:n3,padding:o3||s3,viewport:s3,content:e3||s3,scrollOffsetElement:c3,scrollEventElement:r3,scrollbarHorizontal:translateScrollbarsSetupElement(i3),scrollbarVertical:translateScrollbarsSetupElement(l3)})},update:t3=>update({},t3),destroy:destroy.bind(0)};return g2.jt((t3,n3,o3)=>{p2(n3,o3,t3);}),addInstance(a2,$2),each(keys(i2),t3=>invokePluginInstance(i2[t3],0,$2)),cancelInitialization(g2.qt.it,e2().cancel,!l2&&t2.cancel)?(destroy(!0),$2):(g2.Nt(),b3.Nt(),h2(\"initialized\",[$2]),g2.jt((t3,n3,o3)=>{let{gt:s3,yt:e3,vt:c3,At:r3,Lt:i3,It:l3,wt:a3,Ot:u4}=t3;h2(\"updated\",[$2,{updateHints:{sizeChanged:s3,directionChanged:e3,heightIntrinsicChanged:c3,overflowEdgeChanged:r3,overflowAmountChanged:i3,overflowStyleChanged:l3,contentMutation:a3,hostMutation:u4},changedOptions:n3,force:o3}]);}),$2.update(!0),$2)}return u2};OverlayScrollbars.plugin=t2=>{each(addPlugin(t2),t3=>invokePluginInstance(t3,OverlayScrollbars));};OverlayScrollbars.valid=t2=>{let n2=t2&&t2.elements,o2=isFunction(n2)&&n2();return isPlainObject(o2)&&!!getInstance(o2.target)};OverlayScrollbars.env=()=>{let{k:t2,A:n2,I:o2,B:s2,V:e2,L:c2,X:r2,U:i2,N:l2,q:a2,F:u2,G:d2}=getEnvironment();return assignDeep({},{scrollbarsSize:t2,scrollbarsOverlaid:n2,scrollbarsHiding:o2,rtlScrollBehavior:s2,flexboxGlue:e2,cssCustomProperties:c2,staticDefaultInitialization:r2,staticDefaultOptions:i2,getDefaultInitialization:l2,setDefaultInitialization:a2,getDefaultOptions:u2,setDefaultOptions:d2})};var O2=()=>{if(typeof window>\"u\"){let n2=()=>{};return [n2,n2]}let l2,c2,t2=window,o2=typeof t2.requestIdleCallback==\"function\",a2=t2.requestAnimationFrame,i2=t2.cancelAnimationFrame,r2=o2?t2.requestIdleCallback:a2,u2=o2?t2.cancelIdleCallback:i2,s2=()=>{u2(l2),i2(c2);};return [(n2,e2)=>{s2(),l2=r2(o2?()=>{s2(),c2=a2(n2);}:n2,typeof e2==\"object\"?e2:{timeout:2233});},s2]},S2=l2=>{let{options:c2,events:t2,defer:o2}=l2||{},[a2,i2]=useMemo(O2,[]),r2=useRef(null),u2=useRef(o2),s2=useRef(c2),n2=useRef(t2);return useEffect(()=>{u2.current=o2;},[o2]),useEffect(()=>{let{current:e2}=r2;s2.current=c2,OverlayScrollbars.valid(e2)&&e2.options(c2||{},!0);},[c2]),useEffect(()=>{let{current:e2}=r2;n2.current=t2,OverlayScrollbars.valid(e2)&&e2.on(t2||{},!0);},[t2]),useEffect(()=>()=>{var e2;i2(),(e2=r2.current)==null||e2.destroy();},[]),useMemo(()=>[e2=>{let y2=r2.current;if(OverlayScrollbars.valid(y2))return;let d2=u2.current,I2=s2.current||{},m2=n2.current||{},p2=()=>r2.current=OverlayScrollbars(e2,I2,m2);d2?a2(p2,d2):p2();},()=>r2.current],[])},F2=(l2,c2)=>{let{element:t2=\"div\",options:o2,events:a2,defer:i2,children:r2,...u2}=l2,s2=t2,n2=useRef(null),e2=useRef(null),[y2,d2]=S2({options:o2,events:a2,defer:i2});return useEffect(()=>{let{current:I2}=n2,{current:m2}=e2;return I2&&m2&&y2({target:I2,elements:{viewport:m2,content:m2}}),()=>{var p2;return (p2=d2())==null?void 0:p2.destroy()}},[y2,t2]),useImperativeHandle(c2,()=>({osInstance:d2,getElement:()=>n2.current}),[]),b2.createElement(s2,{\"data-overlayscrollbars-initialize\":\"\",ref:n2,...u2},b2.createElement(\"div\",{ref:e2},r2))},A2=forwardRef(F2);var OverlayScrollbars2=A2,OverlayScrollbars_default=A2;\n\nexport { OverlayScrollbars2 as OverlayScrollbars, OverlayScrollbars_default as default };\n"],"names":["each","t2","n2","isArrayLike","o2","style","isString","isArray","s3","e2","getCSSVal","n3","o3","keys","setCSSVal","createCache","s2","c2","r2","cacheUpdateContextual","t3","i2","l2","isClient","t","n","o","isUndefined","isNull","type","isNumber","isBoolean","isFunction","isObject","isPlainObject","isHTMLElement","isElement","indexOf","push","from","isEmptyArray","runEachAndClear","hasOwnProperty","assignDeep","e3","n4","c3","isEmptyObject","getSetProp","attr","removeAttr","attrClass","hasAttrClass","scrollLeft","scrollTop","s","find","findFirst","is","contents","parent","closest","liesBetween","before","appendChildren","insertBefore","insertAfter","removeElements","createDiv","createDOM","firstLetterToUpper","getDummyStyle","e","c","r","i","cssProperty","jsAPI","l","a","u","d","f","_","h","v","classListAction","removeClass","addClass","equal","equalWH","equalXY","equalTRBL","equalBCRWH","noop","selfClearTimeout","debounce","a2","mergeParms","flush","u2","r3","l4","u3","v3","w3","p2","b3","w","parseToZeroOrNumber","adaptCSSVal","directionIsRTL","topRightBottomLeft","p","b","offsetSize","clientSize","scrollSize","fractionalSize","getBoundingClientRect","m","supportPassiveEvents","splitEventNames","off","on","stopPropagation","preventDefault","y","absoluteCoordinates","manageListener","createEventListenerHub","removeEvent","t4","addEvent","triggerEvent","opsStringify","S","getOptionsDiff","x","$","C","O","z","T","E","I","A","L","H","P","D","M","R","k","B","V","Y","j","N","q","U","W","Z","J","K","Q","tt","nt","ot","st","et","ct","rt","it","lt","at","ut","dt","ft","getPlugins","addPlugin","mt","xt","Tt","It","Lt","getNativeScrollbarSize","getNativeScrollbarsHiding","getRtlScrollBehavior","getFlexboxGlue","createEnvironment","d2","f3","_2","h2","g2","getEnvironment","resolveInitialization","staticInitializationElement","dynamicInitializationElement","cancelInitialization","Ht","addInstance","removeInstance","getInstance","getPropByPath","createOptionCheck","createState","Pt","Dt","unwrap","createStructureSetupElements","m2","y2","S3","x2","$2","C3","A3","L2","H2","P2","M2","k2","V2","j2","N2","q2","F3","X2","U2","W2","Z2","J2","K2","Q2","tt2","elementIsGenerated","nt2","ot2","st2","et2","ct2","rt2","it2","lt2","at2","ut2","revertViewportTabIndex","createTrinsicUpdateSegment","createPaddingUpdateSegment","e4","i3","Mt","Rt","kt","Bt","Vt","Yt","jt","getOverflowAmount","overflowIsVisible","createOverflowUpdateSegment","O3","z2","fixFlexboxGlue","l3","a3","d3","f4","getViewportOverflowState","getStatePerAxis","s4","c4","setViewportOverflowState","setAxisOverflowStyle","o4","hideNativeScrollbars","_3","h3","v4","g3","w4","Y2","G2","u4","f5","dt2","ft2","_t2","ht2","vt2","prepareUpdateHints","createStructureSetupUpdate","createEventContentChange","destroy","updateElements","createDOMObserver","observerCallback","p3","Nt","domRectHasDimensions","createSizeObserver","onSizeChangedCallbackProxy","isHeightIntrinsic","createTrinsicObserver","triggerOnTrinsicChangedCallback","intersectionObserverCallback","onSizeChanged","qt","Ft","Gt","Xt","Ut","createStructureSetupObservers","updateViewportAttrsFromHost","onTrinsicChanged","onContentMutation","onHostMutation","ignoreMutationFromOptions","Wt","createInitialStructureSetupUpdateState","createStructureSetup","triggerUpdateEvent","Zt","getScale","continuePointerDown","createRootClickStopPropagationEvents","Jt","createInteractiveScrollEvents","createRelativeHandleMove","getHandleRect","getTrackRect","getHandleOffset","releasePointerCapture","createScrollbarsSetupEvents","Kt","Qt","tn","nn","getScrollbarHandleLengthRatio","getScrollbarHandleOffsetRatio","createScrollbarsSetupElements","scrollbarStructureAddRemoveClass","scrollbarsHandleStyle","scrollbarStructureRefreshHandleLength","scrollbarStructureRefreshHandleOffset","scrollbarsAddRemoveClass","refreshScrollbarsHandleLength","refreshScrollbarsHandleOffset","generateScrollbarDOM","appendElements","createScrollbarsSetup","T2","E3","I2","D2","R2","styleScrollbarPosition","manageScrollbarsAutoHide","hide","onHostMouseEnter","B2","b4","m3","y3","S4","x3","$3","C4","O4","z3","T3","E4","A4","L3","M3","R3","k3","B3","setScrollbarVisibility","invokePluginInstance","OverlayScrollbars","validateOptions","update","translateScrollbarStructure","translateScrollbarsSetupElement","t5","O2","S2","useMemo","useRef","useEffect","F2","useImperativeHandle","b2","A2","forwardRef","OverlayScrollbars2","OverlayScrollbars_default"],"mappings":"0OAGA,SAASA,EAAKC,EAAGC,EAAG,CAAC,GAAGC,GAAYF,CAAE,EAAE,QAAQG,EAAG,EAAEA,EAAGH,EAAG,QAAQC,EAAGD,EAAGG,CAAE,EAAEA,EAAGH,CAAE,IAAI,GAAGG,IAAK,MAAMH,GAAID,EAAK,OAAO,KAAKC,CAAE,EAAEG,GAAIF,EAAGD,EAAGG,CAAE,EAAEA,EAAGH,CAAE,CAAC,EAAE,OAAOA,CAAE,CAAC,SAASI,GAAMJ,EAAGC,EAAG,CAAC,IAAIE,EAAGE,GAASJ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,OAAOmX,aAAU,IAAI,CAAC,GAAG,CAAC,QAAQrC,CAAE,EAAEjW,EAAG,CAAC,QAAQkN,CAAE,EAAE3M,EAAG,OAAO0V,GAAI/I,GAAIC,EAAG,CAAC,OAAO8I,EAAG,SAAS,CAAC,SAAS/I,EAAG,QAAQA,CAAE,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI1G,EAAG,OAAQA,EAAGqF,EAAE,IAAK,KAAK,OAAOrF,EAAG,QAAS,CAAA,CAAC,EAAE,CAAC2G,EAAGpN,CAAE,CAAC,EAAEyY,uBAAoBzX,EAAG,KAAK,CAAC,WAAW8K,EAAG,WAAW,IAAI7L,EAAG,OAAO,GAAG,CAAA,CAAE,EAAEyY,GAAG,cAAc3X,EAAG,CAAC,oCAAoC,GAAG,IAAId,EAAG,GAAGkG,CAAE,EAAEuS,GAAG,cAAc,MAAM,CAAC,IAAIlY,CAAE,EAAES,CAAE,CAAC,CAAC,EAAE0X,GAAGC,GAAAA,WAAWJ,EAAE,EAAMK,GAAmBF,GAAGG,GAA0BH","x_google_ignoreList":[0]} \ No newline at end of file diff --git a/docs/assets/WithTooltip-J57HCPYA-7b62c06c.js b/docs/assets/WithTooltip-J57HCPYA-7b62c06c.js new file mode 100644 index 0000000..1362b34 --- /dev/null +++ b/docs/assets/WithTooltip-J57HCPYA-7b62c06c.js @@ -0,0 +1,2 @@ +import{W as T,W as e,a as h}from"./index-4d70ff75.js";import"./iframe-f8443767.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-d37d4223.js";import"./index-f073aaf1.js";import"./index-356e4a49.js";export{T as WithToolTipState,e as WithTooltip,h as WithTooltipPure}; +//# sourceMappingURL=WithTooltip-J57HCPYA-7b62c06c.js.map diff --git a/docs/assets/WithTooltip-J57HCPYA-7b62c06c.js.map b/docs/assets/WithTooltip-J57HCPYA-7b62c06c.js.map new file mode 100644 index 0000000..b093de6 --- /dev/null +++ b/docs/assets/WithTooltip-J57HCPYA-7b62c06c.js.map @@ -0,0 +1 @@ +{"version":3,"file":"WithTooltip-J57HCPYA-7b62c06c.js","sources":[],"sourcesContent":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/docs/assets/_commonjsHelpers-725317a4.js b/docs/assets/_commonjsHelpers-725317a4.js new file mode 100644 index 0000000..af4fbcb --- /dev/null +++ b/docs/assets/_commonjsHelpers-725317a4.js @@ -0,0 +1,2 @@ +var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{o as c,l as g}; +//# sourceMappingURL=_commonjsHelpers-725317a4.js.map diff --git a/docs/assets/_commonjsHelpers-725317a4.js.map b/docs/assets/_commonjsHelpers-725317a4.js.map new file mode 100644 index 0000000..f414471 --- /dev/null +++ b/docs/assets/_commonjsHelpers-725317a4.js.map @@ -0,0 +1 @@ +{"version":3,"file":"_commonjsHelpers-725317a4.js","sources":[],"sourcesContent":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/docs/assets/accessibility-cd6d60f7.png b/docs/assets/accessibility-cd6d60f7.png new file mode 100644 index 0000000..6ffe6fe Binary files /dev/null and b/docs/assets/accessibility-cd6d60f7.png differ diff --git a/docs/assets/addon-library-bc7ba705.png b/docs/assets/addon-library-bc7ba705.png new file mode 100644 index 0000000..95deb38 Binary files /dev/null and b/docs/assets/addon-library-bc7ba705.png differ diff --git a/docs/assets/config-01f88b40.js b/docs/assets/config-01f88b40.js new file mode 100644 index 0000000..2f875b6 --- /dev/null +++ b/docs/assets/config-01f88b40.js @@ -0,0 +1,32 @@ +import{h,c as createApp,i as isVNode,a as isReactive,r as reactive,w as watch,b as baseParse}from"./vue.esm-bundler-16b759a1.js";import{e as enhanceArgTypes,a as extractComponentDescription,h as hasDocgen,b as extractComponentProps,c as convert4,S as SourceType,d as SNIPPET_RENDERED}from"./index-f073aaf1.js";import{c as commonjsGlobal}from"./_commonjsHelpers-725317a4.js";const{sanitizeStoryContextUpdate}=__STORYBOOK_MODULE_PREVIEW_API__;function normalizeFunctionalComponent(_){return typeof _=="function"?{render:_,name:_.name}:_}function prepare(_,m){let o=_;return o===null?null:typeof o=="function"?o:m?{...normalizeFunctionalComponent(o),components:{...o.components||{},story:m}}:{render(){return h(o)}}}function decorateStory(_,m){return m.reduce((o,C)=>S=>{let R,I=C(H=>{let Y=sanitizeStoryContextUpdate(H);return H&&(Y.args=Object.assign(S.args,Y.args)),R=o({...S,...Y}),R},S);return R||(R=o(S)),I===R?R:prepare(I,()=>h(R))},o=>prepare(_(o)))}var render=(_,m)=>{let{id:o,component:C}=m;if(!C)throw new Error(`Unable to render story ${o} as the component annotation is missing from the default export`);return()=>h(C,_,getSlots(_,m))},runSetupFunctions=async(_,m)=>{globalThis&&globalThis.PLUGINS_SETUP_FUNCTIONS&&await Promise.all([...globalThis.PLUGINS_SETUP_FUNCTIONS].map(o=>o(_,m)))},map=new Map;async function renderToCanvas({storyFn:_,forceRemount:m,showMain:o,showException:C,storyContext:S,id:R},I){let H=map.get(I);if(H&&!m){let nn=_(),V=getArgs(nn,S);return updateArgs(H.reactiveArgs,V),()=>{teardown(H.vueApp,I)}}H&&m&&teardown(H.vueApp,I);let Y=createApp({setup(){S.args=reactive(S.args);let nn=_(),V=getArgs(nn,S),en={vueApp:Y,reactiveArgs:reactive(V)};return map.set(I,en),()=>h(nn)}});return Y.config.errorHandler=nn=>C(nn),await runSetupFunctions(Y,S),Y.mount(I),o(),()=>{teardown(Y,I)}}function getSlots(_,m){let{argTypes:o}=m,C=Object.entries(_).filter(([S])=>{var R,I;return((I=(R=o[S])==null?void 0:R.table)==null?void 0:I.category)==="slots"}).map(([S,R])=>[S,typeof R=="function"?R:()=>R]);return Object.fromEntries(C)}function getArgs(_,m){return _.props&&isVNode(_)?_.props:m.args}function updateArgs(_,m){if(Object.keys(m).length===0)return;let o=isReactive(_)?_:reactive(_);Object.keys(o).forEach(C=>{C in m||delete o[C]}),Object.assign(o,m)}function teardown(_,m){_==null||_.unmount(),map.has(m)&&map.delete(m)}var lodash={exports:{}};/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */lodash.exports;(function(_,m){(function(){var o,C="4.17.21",S=200,R="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",I="Expected a function",H="Invalid `variable` option passed into `_.template`",Y="__lodash_hash_undefined__",nn=500,V="__lodash_placeholder__",en=1,Kn=2,qn=4,sn=1,te=2,Sn=1,pe=2,Oi=4,Fn=8,Ee=16,Mn=32,Te=64,zn=128,He=256,ir=512,fo=30,oo="...",so=800,lo=16,Ri=1,ao=2,co=3,ge=1/0,re=9007199254740991,ho=17976931348623157e292,ct=0/0,Bn=4294967295,po=Bn-1,go=Bn>>>1,_o=[["ary",zn],["bind",Sn],["bindKey",pe],["curry",Fn],["curryRight",Ee],["flip",ir],["partial",Mn],["partialRight",Te],["rearg",He]],Oe="[object Arguments]",ht="[object Array]",vo="[object AsyncFunction]",Ke="[object Boolean]",qe="[object Date]",wo="[object DOMException]",pt="[object Error]",gt="[object Function]",Ii="[object GeneratorFunction]",bn="[object Map]",ze="[object Number]",mo="[object Null]",Yn="[object Object]",Ci="[object Promise]",Ao="[object Proxy]",Ye="[object RegExp]",Wn="[object Set]",Ze="[object String]",_t="[object Symbol]",xo="[object Undefined]",Xe="[object WeakMap]",So="[object WeakSet]",Je="[object ArrayBuffer]",Re="[object DataView]",ur="[object Float32Array]",fr="[object Float64Array]",or="[object Int8Array]",sr="[object Int16Array]",lr="[object Int32Array]",ar="[object Uint8Array]",cr="[object Uint8ClampedArray]",hr="[object Uint16Array]",pr="[object Uint32Array]",yo=/\b__p \+= '';/g,Eo=/\b(__p \+=) '' \+/g,To=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Li=/&(?:amp|lt|gt|quot|#39);/g,bi=/[&<>"']/g,Oo=RegExp(Li.source),Ro=RegExp(bi.source),Io=/<%-([\s\S]+?)%>/g,Co=/<%([\s\S]+?)%>/g,Wi=/<%=([\s\S]+?)%>/g,Lo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bo=/^\w*$/,Wo=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gr=/[\\^$.*+?()[\]{}|]/g,Po=RegExp(gr.source),_r=/^\s+/,No=/\s/,Do=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Uo=/\{\n\/\* \[wrapped with (.+)\] \*/,Fo=/,? & /,Mo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Bo=/[()=,{}\[\]\/\s]/,$o=/\\(\\)?/g,Go=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Pi=/\w*$/,Ho=/^[-+]0x[0-9a-f]+$/i,Ko=/^0b[01]+$/i,qo=/^\[object .+?Constructor\]$/,zo=/^0o[0-7]+$/i,Yo=/^(?:0|[1-9]\d*)$/,Zo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,dt=/($^)/,Xo=/['\n\r\u2028\u2029\\]/g,vt="\\ud800-\\udfff",Jo="\\u0300-\\u036f",Qo="\\ufe20-\\ufe2f",Vo="\\u20d0-\\u20ff",Ni=Jo+Qo+Vo,Di="\\u2700-\\u27bf",Ui="a-z\\xdf-\\xf6\\xf8-\\xff",ko="\\xac\\xb1\\xd7\\xf7",jo="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ns="\\u2000-\\u206f",es=" \\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",Fi="A-Z\\xc0-\\xd6\\xd8-\\xde",Mi="\\ufe0e\\ufe0f",Bi=ko+jo+ns+es,dr="['’]",ts="["+vt+"]",$i="["+Bi+"]",wt="["+Ni+"]",Gi="\\d+",rs="["+Di+"]",Hi="["+Ui+"]",Ki="[^"+vt+Bi+Gi+Di+Ui+Fi+"]",vr="\\ud83c[\\udffb-\\udfff]",is="(?:"+wt+"|"+vr+")",qi="[^"+vt+"]",wr="(?:\\ud83c[\\udde6-\\uddff]){2}",mr="[\\ud800-\\udbff][\\udc00-\\udfff]",Ie="["+Fi+"]",zi="\\u200d",Yi="(?:"+Hi+"|"+Ki+")",us="(?:"+Ie+"|"+Ki+")",Zi="(?:"+dr+"(?:d|ll|m|re|s|t|ve))?",Xi="(?:"+dr+"(?:D|LL|M|RE|S|T|VE))?",Ji=is+"?",Qi="["+Mi+"]?",fs="(?:"+zi+"(?:"+[qi,wr,mr].join("|")+")"+Qi+Ji+")*",os="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ss="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Vi=Qi+Ji+fs,ls="(?:"+[rs,wr,mr].join("|")+")"+Vi,as="(?:"+[qi+wt+"?",wt,wr,mr,ts].join("|")+")",cs=RegExp(dr,"g"),hs=RegExp(wt,"g"),Ar=RegExp(vr+"(?="+vr+")|"+as+Vi,"g"),ps=RegExp([Ie+"?"+Hi+"+"+Zi+"(?="+[$i,Ie,"$"].join("|")+")",us+"+"+Xi+"(?="+[$i,Ie+Yi,"$"].join("|")+")",Ie+"?"+Yi+"+"+Zi,Ie+"+"+Xi,ss,os,Gi,ls].join("|"),"g"),gs=RegExp("["+zi+vt+Ni+Mi+"]"),_s=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ds=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],vs=-1,q={};q[ur]=q[fr]=q[or]=q[sr]=q[lr]=q[ar]=q[cr]=q[hr]=q[pr]=!0,q[Oe]=q[ht]=q[Je]=q[Ke]=q[Re]=q[qe]=q[pt]=q[gt]=q[bn]=q[ze]=q[Yn]=q[Ye]=q[Wn]=q[Ze]=q[Xe]=!1;var K={};K[Oe]=K[ht]=K[Je]=K[Re]=K[Ke]=K[qe]=K[ur]=K[fr]=K[or]=K[sr]=K[lr]=K[bn]=K[ze]=K[Yn]=K[Ye]=K[Wn]=K[Ze]=K[_t]=K[ar]=K[cr]=K[hr]=K[pr]=!0,K[pt]=K[gt]=K[Xe]=!1;var ws={À:"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"},ms={"&":"&","<":"<",">":">",'"':""","'":"'"},As={"&":"&","<":"<",">":">",""":'"',"'":"'"},xs={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ss=parseFloat,ys=parseInt,ki=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,Es=typeof self=="object"&&self&&self.Object===Object&&self,rn=ki||Es||Function("return this")(),xr=m&&!m.nodeType&&m,_e=xr&&!0&&_&&!_.nodeType&&_,ji=_e&&_e.exports===xr,Sr=ji&&ki.process,yn=function(){try{var a=_e&&_e.require&&_e.require("util").types;return a||Sr&&Sr.binding&&Sr.binding("util")}catch{}}(),nu=yn&&yn.isArrayBuffer,eu=yn&&yn.isDate,tu=yn&&yn.isMap,ru=yn&&yn.isRegExp,iu=yn&&yn.isSet,uu=yn&&yn.isTypedArray;function dn(a,g,p){switch(p.length){case 0:return a.call(g);case 1:return a.call(g,p[0]);case 2:return a.call(g,p[0],p[1]);case 3:return a.call(g,p[0],p[1],p[2])}return a.apply(g,p)}function Ts(a,g,p,x){for(var L=-1,M=a==null?0:a.length;++L-1}function yr(a,g,p){for(var x=-1,L=a==null?0:a.length;++x-1;);return p}function pu(a,g){for(var p=a.length;p--&&Ce(g,a[p],0)>-1;);return p}function Ns(a,g){for(var p=a.length,x=0;p--;)a[p]===g&&++x;return x}var Ds=Rr(ws),Us=Rr(ms);function Fs(a){return"\\"+xs[a]}function Ms(a,g){return a==null?o:a[g]}function Le(a){return gs.test(a)}function Bs(a){return _s.test(a)}function $s(a){for(var g,p=[];!(g=a.next()).done;)p.push(g.value);return p}function br(a){var g=-1,p=Array(a.size);return a.forEach(function(x,L){p[++g]=[L,x]}),p}function gu(a,g){return function(p){return a(g(p))}}function fe(a,g){for(var p=-1,x=a.length,L=0,M=[];++p-1}function Rl(n,e){var t=this.__data__,r=Ut(t,n);return r<0?(++this.size,t.push([n,e])):t[r][1]=e,this}Zn.prototype.clear=yl,Zn.prototype.delete=El,Zn.prototype.get=Tl,Zn.prototype.has=Ol,Zn.prototype.set=Rl;function Xn(n){var e=-1,t=n==null?0:n.length;for(this.clear();++e=e?n:e)),n}function Rn(n,e,t,r,i,f){var s,l=e&en,c=e&Kn,d=e&qn;if(t&&(s=i?t(n,r,i,f):t(n)),s!==o)return s;if(!Z(n))return n;var v=b(n);if(v){if(s=ba(n),!l)return hn(n,s)}else{var w=on(n),A=w==gt||w==Ii;if(he(n))return Qu(n,l);if(w==Yn||w==Oe||A&&!i){if(s=c||A?{}:df(n),!l)return c?Aa(n,Kl(s,n)):ma(n,Ou(s,n))}else{if(!K[w])return i?n:{};s=Wa(n,w,l)}}f||(f=new Nn);var y=f.get(n);if(y)return y;f.set(n,s),zf(n)?n.forEach(function(O){s.add(Rn(O,e,t,O,n,f))}):Kf(n)&&n.forEach(function(O,D){s.set(D,Rn(O,e,t,D,n,f))});var T=d?c?ri:ti:c?gn:tn,P=v?o:T(n);return En(P||n,function(O,D){P&&(D=O,O=n[D]),tt(s,D,Rn(O,e,t,D,n,f))}),s}function ql(n){var e=tn(n);return function(t){return Ru(t,n,e)}}function Ru(n,e,t){var r=t.length;if(n==null)return!r;for(n=G(n);r--;){var i=t[r],f=e[i],s=n[i];if(s===o&&!(i in n)||!f(s))return!1}return!0}function Iu(n,e,t){if(typeof n!="function")throw new Tn(I);return lt(function(){n.apply(o,t)},e)}function rt(n,e,t,r){var i=-1,f=mt,s=!0,l=n.length,c=[],d=e.length;if(!l)return c;t&&(e=z(e,vn(t))),r?(f=yr,s=!1):e.length>=S&&(f=Qe,s=!1,e=new we(e));n:for(;++ii?0:i+t),r=r===o||r>i?i:W(r),r<0&&(r+=i),r=t>r?0:Zf(r);t0&&t(l)?e>1?un(l,e-1,t,r,i):ue(i,l):r||(i[i.length]=l)}return i}var Mr=tf(),bu=tf(!0);function $n(n,e){return n&&Mr(n,e,tn)}function Br(n,e){return n&&bu(n,e,tn)}function Mt(n,e){return ie(e,function(t){return jn(n[t])})}function Ae(n,e){e=ae(e,n);for(var t=0,r=e.length;n!=null&&te}function Zl(n,e){return n!=null&&$.call(n,e)}function Xl(n,e){return n!=null&&e in G(n)}function Jl(n,e,t){return n>=fn(e,t)&&n=120&&v.length>=120)?new we(s&&v):o}v=n[0];var w=-1,A=l[0];n:for(;++w-1;)l!==n&&Ct.call(l,c,1),Ct.call(n,c,1);return n}function Hu(n,e){for(var t=n?e.length:0,r=t-1;t--;){var i=e[t];if(t==r||i!==f){var f=i;kn(i)?Ct.call(n,i,1):Jr(n,i)}}return n}function Yr(n,e){return n+Wt(Su()*(e-n+1))}function sa(n,e,t,r){for(var i=-1,f=j(bt((e-n)/(t||1)),0),s=p(f);f--;)s[r?f:++i]=n,n+=t;return s}function Zr(n,e){var t="";if(!n||e<1||e>re)return t;do e%2&&(t+=n),e=Wt(e/2),e&&(n+=n);while(e);return t}function N(n,e){return ai(mf(n,e,_n),n+"")}function la(n){return Tu(Ge(n))}function aa(n,e){var t=Ge(n);return Jt(t,me(e,0,t.length))}function ft(n,e,t,r){if(!Z(n))return n;e=ae(e,n);for(var i=-1,f=e.length,s=f-1,l=n;l!=null&&++ii?0:i+e),t=t>i?i:t,t<0&&(t+=i),i=e>t?0:t-e>>>0,e>>>=0;for(var f=p(i);++r>>1,s=n[f];s!==null&&!mn(s)&&(t?s<=e:s=S){var d=e?null:Ea(n);if(d)return xt(d);s=!1,i=Qe,c=new we}else c=e?[]:l;n:for(;++r=r?n:In(n,e,t)}var Ju=el||function(n){return rn.clearTimeout(n)};function Qu(n,e){if(e)return n.slice();var t=n.length,r=vu?vu(t):new n.constructor(t);return n.copy(r),r}function jr(n){var e=new n.constructor(n.byteLength);return new Rt(e).set(new Rt(n)),e}function _a(n,e){var t=e?jr(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.byteLength)}function da(n){var e=new n.constructor(n.source,Pi.exec(n));return e.lastIndex=n.lastIndex,e}function va(n){return et?G(et.call(n)):{}}function Vu(n,e){var t=e?jr(n.buffer):n.buffer;return new n.constructor(t,n.byteOffset,n.length)}function ku(n,e){if(n!==e){var t=n!==o,r=n===null,i=n===n,f=mn(n),s=e!==o,l=e===null,c=e===e,d=mn(e);if(!l&&!d&&!f&&n>e||f&&s&&c&&!l&&!d||r&&s&&c||!t&&c||!i)return 1;if(!r&&!f&&!d&&n=l)return c;var d=t[r];return c*(d=="desc"?-1:1)}}return n.index-e.index}function ju(n,e,t,r){for(var i=-1,f=n.length,s=t.length,l=-1,c=e.length,d=j(f-s,0),v=p(c+d),w=!r;++l1?t[i-1]:o,s=i>2?t[2]:o;for(f=n.length>3&&typeof f=="function"?(i--,f):o,s&&an(t[0],t[1],s)&&(f=i<3?o:f,i=1),e=G(e);++r-1?i[f?e[s]:s]:o}}function ff(n){return Vn(function(e){var t=e.length,r=t,i=On.prototype.thru;for(n&&e.reverse();r--;){var f=e[r];if(typeof f!="function")throw new Tn(I);if(i&&!s&&Zt(f)=="wrapper")var s=new On([],!0)}for(r=s?r:t;++r1&&F.reverse(),v&&cl))return!1;var d=f.get(n),v=f.get(e);if(d&&v)return d==e&&v==n;var w=-1,A=!0,y=t&te?new we:o;for(f.set(n,e),f.set(e,n);++w1?"& ":"")+e[r],e=e.join(t>2?", ":" "),n.replace(Do,`{ +/* [wrapped with `+e+`] */ +`)}function Na(n){return b(n)||ye(n)||!!(Au&&n&&n[Au])}function kn(n,e){var t=typeof n;return e=e??re,!!e&&(t=="number"||t!="symbol"&&Yo.test(n))&&n>-1&&n%1==0&&n0){if(++e>=so)return arguments[0]}else e=0;return n.apply(o,arguments)}}function Jt(n,e){var t=-1,r=n.length,i=r-1;for(e=e===o?r:e;++t1?n[e-1]:o;return t=typeof t=="function"?(n.pop(),t):o,bf(n,t)});function Wf(n){var e=u(n);return e.__chain__=!0,e}function zc(n,e){return e(n),n}function Qt(n,e){return e(n)}var Yc=Vn(function(n){var e=n.length,t=e?n[0]:0,r=this.__wrapped__,i=function(f){return Fr(f,n)};return e>1||this.__actions__.length||!(r instanceof U)||!kn(t)?this.thru(i):(r=r.slice(t,+t+(e?1:0)),r.__actions__.push({func:Qt,args:[i],thisArg:o}),new On(r,this.__chain__).thru(function(f){return e&&!f.length&&f.push(o),f}))});function Zc(){return Wf(this)}function Xc(){return new On(this.value(),this.__chain__)}function Jc(){this.__values__===o&&(this.__values__=Yf(this.value()));var n=this.__index__>=this.__values__.length,e=n?o:this.__values__[this.__index__++];return{done:n,value:e}}function Qc(){return this}function Vc(n){for(var e,t=this;t instanceof Dt;){var r=Tf(t);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;t=t.__wrapped__}return i.__wrapped__=n,e}function kc(){var n=this.__wrapped__;if(n instanceof U){var e=n;return this.__actions__.length&&(e=new U(this)),e=e.reverse(),e.__actions__.push({func:Qt,args:[ci],thisArg:o}),new On(e,this.__chain__)}return this.thru(ci)}function jc(){return Zu(this.__wrapped__,this.__actions__)}var nh=Ht(function(n,e,t){$.call(n,t)?++n[t]:Jn(n,t,1)});function eh(n,e,t){var r=b(n)?fu:zl;return t&&an(n,e,t)&&(e=o),r(n,E(e,3))}function th(n,e){var t=b(n)?ie:Lu;return t(n,E(e,3))}var rh=uf(Of),ih=uf(Rf);function uh(n,e){return un(Vt(n,e),1)}function fh(n,e){return un(Vt(n,e),ge)}function oh(n,e,t){return t=t===o?1:W(t),un(Vt(n,e),t)}function Pf(n,e){var t=b(n)?En:se;return t(n,E(e,3))}function Nf(n,e){var t=b(n)?Os:Cu;return t(n,E(e,3))}var sh=Ht(function(n,e,t){$.call(n,t)?n[t].push(e):Jn(n,t,[e])});function lh(n,e,t,r){n=pn(n)?n:Ge(n),t=t&&!r?W(t):0;var i=n.length;return t<0&&(t=j(i+t,0)),tr(n)?t<=i&&n.indexOf(e,t)>-1:!!i&&Ce(n,e,t)>-1}var ah=N(function(n,e,t){var r=-1,i=typeof e=="function",f=pn(n)?p(n.length):[];return se(n,function(s){f[++r]=i?dn(e,s,t):it(s,e,t)}),f}),ch=Ht(function(n,e,t){Jn(n,t,e)});function Vt(n,e){var t=b(n)?z:Uu;return t(n,E(e,3))}function hh(n,e,t,r){return n==null?[]:(b(e)||(e=e==null?[]:[e]),t=r?o:t,b(t)||(t=t==null?[]:[t]),$u(n,e,t))}var ph=Ht(function(n,e,t){n[t?0:1].push(e)},function(){return[[],[]]});function gh(n,e,t){var r=b(n)?Er:au,i=arguments.length<3;return r(n,E(e,4),t,i,se)}function _h(n,e,t){var r=b(n)?Rs:au,i=arguments.length<3;return r(n,E(e,4),t,i,Cu)}function dh(n,e){var t=b(n)?ie:Lu;return t(n,nr(E(e,3)))}function vh(n){var e=b(n)?Tu:la;return e(n)}function wh(n,e,t){(t?an(n,e,t):e===o)?e=1:e=W(e);var r=b(n)?$l:aa;return r(n,e)}function mh(n){var e=b(n)?Gl:ha;return e(n)}function Ah(n){if(n==null)return 0;if(pn(n))return tr(n)?be(n):n.length;var e=on(n);return e==bn||e==Wn?n.size:Kr(n).length}function xh(n,e,t){var r=b(n)?Tr:pa;return t&&an(n,e,t)&&(e=o),r(n,E(e,3))}var Sh=N(function(n,e){if(n==null)return[];var t=e.length;return t>1&&an(n,e[0],e[1])?e=[]:t>2&&an(e[0],e[1],e[2])&&(e=[e[0]]),$u(n,un(e,1),[])}),kt=tl||function(){return rn.Date.now()};function yh(n,e){if(typeof e!="function")throw new Tn(I);return n=W(n),function(){if(--n<1)return e.apply(this,arguments)}}function Df(n,e,t){return e=t?o:e,e=n&&e==null?n.length:e,Qn(n,zn,o,o,o,o,e)}function Uf(n,e){var t;if(typeof e!="function")throw new Tn(I);return n=W(n),function(){return--n>0&&(t=e.apply(this,arguments)),n<=1&&(e=o),t}}var pi=N(function(n,e,t){var r=Sn;if(t.length){var i=fe(t,Be(pi));r|=Mn}return Qn(n,r,e,t,i)}),Ff=N(function(n,e,t){var r=Sn|pe;if(t.length){var i=fe(t,Be(Ff));r|=Mn}return Qn(e,r,n,t,i)});function Mf(n,e,t){e=t?o:e;var r=Qn(n,Fn,o,o,o,o,o,e);return r.placeholder=Mf.placeholder,r}function Bf(n,e,t){e=t?o:e;var r=Qn(n,Ee,o,o,o,o,o,e);return r.placeholder=Bf.placeholder,r}function $f(n,e,t){var r,i,f,s,l,c,d=0,v=!1,w=!1,A=!0;if(typeof n!="function")throw new Tn(I);e=Ln(e)||0,Z(t)&&(v=!!t.leading,w="maxWait"in t,f=w?j(Ln(t.maxWait)||0,e):f,A="trailing"in t?!!t.trailing:A);function y(Q){var Un=r,ee=i;return r=i=o,d=Q,s=n.apply(ee,Un),s}function T(Q){return d=Q,l=lt(D,e),v?y(Q):s}function P(Q){var Un=Q-c,ee=Q-d,uo=e-Un;return w?fn(uo,f-ee):uo}function O(Q){var Un=Q-c,ee=Q-d;return c===o||Un>=e||Un<0||w&&ee>=f}function D(){var Q=kt();if(O(Q))return F(Q);l=lt(D,P(Q))}function F(Q){return l=o,A&&r?y(Q):(r=i=o,s)}function An(){l!==o&&Ju(l),d=0,r=c=i=l=o}function cn(){return l===o?s:F(kt())}function xn(){var Q=kt(),Un=O(Q);if(r=arguments,i=this,c=Q,Un){if(l===o)return T(c);if(w)return Ju(l),l=lt(D,e),y(c)}return l===o&&(l=lt(D,e)),s}return xn.cancel=An,xn.flush=cn,xn}var Eh=N(function(n,e){return Iu(n,1,e)}),Th=N(function(n,e,t){return Iu(n,Ln(e)||0,t)});function Oh(n){return Qn(n,ir)}function jt(n,e){if(typeof n!="function"||e!=null&&typeof e!="function")throw new Tn(I);var t=function(){var r=arguments,i=e?e.apply(this,r):r[0],f=t.cache;if(f.has(i))return f.get(i);var s=n.apply(this,r);return t.cache=f.set(i,s)||f,s};return t.cache=new(jt.Cache||Xn),t}jt.Cache=Xn;function nr(n){if(typeof n!="function")throw new Tn(I);return function(){var e=arguments;switch(e.length){case 0:return!n.call(this);case 1:return!n.call(this,e[0]);case 2:return!n.call(this,e[0],e[1]);case 3:return!n.call(this,e[0],e[1],e[2])}return!n.apply(this,e)}}function Rh(n){return Uf(2,n)}var Ih=ga(function(n,e){e=e.length==1&&b(e[0])?z(e[0],vn(E())):z(un(e,1),vn(E()));var t=e.length;return N(function(r){for(var i=-1,f=fn(r.length,t);++i=e}),ye=Pu(function(){return arguments}())?Pu:function(n){return X(n)&&$.call(n,"callee")&&!mu.call(n,"callee")},b=p.isArray,Kh=nu?vn(nu):Vl;function pn(n){return n!=null&&er(n.length)&&!jn(n)}function J(n){return X(n)&&pn(n)}function qh(n){return n===!0||n===!1||X(n)&&ln(n)==Ke}var he=il||Ti,zh=eu?vn(eu):kl;function Yh(n){return X(n)&&n.nodeType===1&&!at(n)}function Zh(n){if(n==null)return!0;if(pn(n)&&(b(n)||typeof n=="string"||typeof n.splice=="function"||he(n)||$e(n)||ye(n)))return!n.length;var e=on(n);if(e==bn||e==Wn)return!n.size;if(st(n))return!Kr(n).length;for(var t in n)if($.call(n,t))return!1;return!0}function Xh(n,e){return ut(n,e)}function Jh(n,e,t){t=typeof t=="function"?t:o;var r=t?t(n,e):o;return r===o?ut(n,e,o,t):!!r}function _i(n){if(!X(n))return!1;var e=ln(n);return e==pt||e==wo||typeof n.message=="string"&&typeof n.name=="string"&&!at(n)}function Qh(n){return typeof n=="number"&&xu(n)}function jn(n){if(!Z(n))return!1;var e=ln(n);return e==gt||e==Ii||e==vo||e==Ao}function Hf(n){return typeof n=="number"&&n==W(n)}function er(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=re}function Z(n){var e=typeof n;return n!=null&&(e=="object"||e=="function")}function X(n){return n!=null&&typeof n=="object"}var Kf=tu?vn(tu):na;function Vh(n,e){return n===e||Hr(n,e,ui(e))}function kh(n,e,t){return t=typeof t=="function"?t:o,Hr(n,e,ui(e),t)}function jh(n){return qf(n)&&n!=+n}function np(n){if(Fa(n))throw new L(R);return Nu(n)}function ep(n){return n===null}function tp(n){return n==null}function qf(n){return typeof n=="number"||X(n)&&ln(n)==ze}function at(n){if(!X(n)||ln(n)!=Yn)return!1;var e=It(n);if(e===null)return!0;var t=$.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&Et.call(t)==ks}var di=ru?vn(ru):ea;function rp(n){return Hf(n)&&n>=-re&&n<=re}var zf=iu?vn(iu):ta;function tr(n){return typeof n=="string"||!b(n)&&X(n)&&ln(n)==Ze}function mn(n){return typeof n=="symbol"||X(n)&&ln(n)==_t}var $e=uu?vn(uu):ra;function ip(n){return n===o}function up(n){return X(n)&&on(n)==Xe}function fp(n){return X(n)&&ln(n)==So}var op=Yt(qr),sp=Yt(function(n,e){return n<=e});function Yf(n){if(!n)return[];if(pn(n))return tr(n)?Pn(n):hn(n);if(Ve&&n[Ve])return $s(n[Ve]());var e=on(n),t=e==bn?br:e==Wn?xt:Ge;return t(n)}function ne(n){if(!n)return n===0?n:0;if(n=Ln(n),n===ge||n===-ge){var e=n<0?-1:1;return e*ho}return n===n?n:0}function W(n){var e=ne(n),t=e%1;return e===e?t?e-t:e:0}function Zf(n){return n?me(W(n),0,Bn):0}function Ln(n){if(typeof n=="number")return n;if(mn(n))return ct;if(Z(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=Z(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=cu(n);var t=Ko.test(n);return t||zo.test(n)?ys(n.slice(2),t?2:8):Ho.test(n)?ct:+n}function Xf(n){return Gn(n,gn(n))}function lp(n){return n?me(W(n),-re,re):n===0?n:0}function B(n){return n==null?"":wn(n)}var ap=Fe(function(n,e){if(st(e)||pn(e)){Gn(e,tn(e),n);return}for(var t in e)$.call(e,t)&&tt(n,t,e[t])}),Jf=Fe(function(n,e){Gn(e,gn(e),n)}),rr=Fe(function(n,e,t,r){Gn(e,gn(e),n,r)}),cp=Fe(function(n,e,t,r){Gn(e,tn(e),n,r)}),hp=Vn(Fr);function pp(n,e){var t=Ue(n);return e==null?t:Ou(t,e)}var gp=N(function(n,e){n=G(n);var t=-1,r=e.length,i=r>2?e[2]:o;for(i&&an(e[0],e[1],i)&&(r=1);++t1),f}),Gn(n,ri(n),t),r&&(t=Rn(t,en|Kn|qn,Ta));for(var i=e.length;i--;)Jr(t,e[i]);return t});function Wp(n,e){return Vf(n,nr(E(e)))}var Pp=Vn(function(n,e){return n==null?{}:fa(n,e)});function Vf(n,e){if(n==null)return{};var t=z(ri(n),function(r){return[r]});return e=E(e),Gu(n,t,function(r,i){return e(r,i[0])})}function Np(n,e,t){e=ae(e,n);var r=-1,i=e.length;for(i||(i=1,n=o);++re){var r=n;n=e,e=r}if(t||n%1||e%1){var i=Su();return fn(n+i*(e-n+Ss("1e-"+((i+"").length-1))),e)}return Yr(n,e)}var zp=Me(function(n,e,t){return e=e.toLowerCase(),n+(t?no(e):e)});function no(n){return mi(B(n).toLowerCase())}function eo(n){return n=B(n),n&&n.replace(Zo,Ds).replace(hs,"")}function Yp(n,e,t){n=B(n),e=wn(e);var r=n.length;t=t===o?r:me(W(t),0,r);var i=t;return t-=e.length,t>=0&&n.slice(t,i)==e}function Zp(n){return n=B(n),n&&Ro.test(n)?n.replace(bi,Us):n}function Xp(n){return n=B(n),n&&Po.test(n)?n.replace(gr,"\\$&"):n}var Jp=Me(function(n,e,t){return n+(t?"-":"")+e.toLowerCase()}),Qp=Me(function(n,e,t){return n+(t?" ":"")+e.toLowerCase()}),Vp=rf("toLowerCase");function kp(n,e,t){n=B(n),e=W(e);var r=e?be(n):0;if(!e||r>=e)return n;var i=(e-r)/2;return zt(Wt(i),t)+n+zt(bt(i),t)}function jp(n,e,t){n=B(n),e=W(e);var r=e?be(n):0;return e&&r>>0,t?(n=B(n),n&&(typeof e=="string"||e!=null&&!di(e))&&(e=wn(e),!e&&Le(n))?ce(Pn(n),0,t):n.split(e,t)):[]}var fg=Me(function(n,e,t){return n+(t?" ":"")+mi(e)});function og(n,e,t){return n=B(n),t=t==null?0:me(W(t),0,n.length),e=wn(e),n.slice(t,t+e.length)==e}function sg(n,e,t){var r=u.templateSettings;t&&an(n,e,t)&&(e=o),n=B(n),e=rr({},e,r,cf);var i=rr({},e.imports,r.imports,cf),f=tn(i),s=Lr(i,f),l,c,d=0,v=e.interpolate||dt,w="__p += '",A=Wr((e.escape||dt).source+"|"+v.source+"|"+(v===Wi?Go:dt).source+"|"+(e.evaluate||dt).source+"|$","g"),y="//# sourceURL="+($.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++vs+"]")+` +`;n.replace(A,function(O,D,F,An,cn,xn){return F||(F=An),w+=n.slice(d,xn).replace(Xo,Fs),D&&(l=!0,w+=`' + +__e(`+D+`) + +'`),cn&&(c=!0,w+=`'; +`+cn+`; +__p += '`),F&&(w+=`' + +((__t = (`+F+`)) == null ? '' : __t) + +'`),d=xn+O.length,O}),w+=`'; +`;var T=$.call(e,"variable")&&e.variable;if(!T)w=`with (obj) { +`+w+` +} +`;else if(Bo.test(T))throw new L(H);w=(c?w.replace(yo,""):w).replace(Eo,"$1").replace(To,"$1;"),w="function("+(T||"obj")+`) { +`+(T?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(l?", __e = _.escape":"")+(c?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+w+`return __p +}`;var P=ro(function(){return M(f,y+"return "+w).apply(o,s)});if(P.source=w,_i(P))throw P;return P}function lg(n){return B(n).toLowerCase()}function ag(n){return B(n).toUpperCase()}function cg(n,e,t){if(n=B(n),n&&(t||e===o))return cu(n);if(!n||!(e=wn(e)))return n;var r=Pn(n),i=Pn(e),f=hu(r,i),s=pu(r,i)+1;return ce(r,f,s).join("")}function hg(n,e,t){if(n=B(n),n&&(t||e===o))return n.slice(0,_u(n)+1);if(!n||!(e=wn(e)))return n;var r=Pn(n),i=pu(r,Pn(e))+1;return ce(r,0,i).join("")}function pg(n,e,t){if(n=B(n),n&&(t||e===o))return n.replace(_r,"");if(!n||!(e=wn(e)))return n;var r=Pn(n),i=hu(r,Pn(e));return ce(r,i).join("")}function gg(n,e){var t=fo,r=oo;if(Z(e)){var i="separator"in e?e.separator:i;t="length"in e?W(e.length):t,r="omission"in e?wn(e.omission):r}n=B(n);var f=n.length;if(Le(n)){var s=Pn(n);f=s.length}if(t>=f)return n;var l=t-be(r);if(l<1)return r;var c=s?ce(s,0,l).join(""):n.slice(0,l);if(i===o)return c+r;if(s&&(l+=c.length-l),di(i)){if(n.slice(l).search(i)){var d,v=c;for(i.global||(i=Wr(i.source,B(Pi.exec(i))+"g")),i.lastIndex=0;d=i.exec(v);)var w=d.index;c=c.slice(0,w===o?l:w)}}else if(n.indexOf(wn(i),l)!=l){var A=c.lastIndexOf(i);A>-1&&(c=c.slice(0,A))}return c+r}function _g(n){return n=B(n),n&&Oo.test(n)?n.replace(Li,qs):n}var dg=Me(function(n,e,t){return n+(t?" ":"")+e.toUpperCase()}),mi=rf("toUpperCase");function to(n,e,t){return n=B(n),e=t?o:e,e===o?Bs(n)?Zs(n):Ls(n):n.match(e)||[]}var ro=N(function(n,e){try{return dn(n,o,e)}catch(t){return _i(t)?t:new L(t)}}),vg=Vn(function(n,e){return En(e,function(t){t=Hn(t),Jn(n,t,pi(n[t],n))}),n});function wg(n){var e=n==null?0:n.length,t=E();return n=e?z(n,function(r){if(typeof r[1]!="function")throw new Tn(I);return[t(r[0]),r[1]]}):[],N(function(r){for(var i=-1;++ire)return[];var t=Bn,r=fn(n,Bn);e=E(e),n-=Bn;for(var i=Cr(r,e);++t0||e<0)?new U(t):(n<0?t=t.takeRight(-n):n&&(t=t.drop(n)),e!==o&&(e=W(e),t=e<0?t.dropRight(-e):t.take(e-n)),t)},U.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},U.prototype.toArray=function(){return this.take(Bn)},$n(U.prototype,function(n,e){var t=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=u[r?"take"+(e=="last"?"Right":""):e],f=r||/^find/.test(e);i&&(u.prototype[e]=function(){var s=this.__wrapped__,l=r?[1]:arguments,c=s instanceof U,d=l[0],v=c||b(s),w=function(D){var F=i.apply(u,ue([D],l));return r&&A?F[0]:F};v&&t&&typeof d=="function"&&d.length!=1&&(c=v=!1);var A=this.__chain__,y=!!this.__actions__.length,T=f&&!A,P=c&&!y;if(!f&&v){s=P?s:new U(this);var O=n.apply(s,l);return O.__actions__.push({func:Qt,args:[w],thisArg:o}),new On(O,A)}return T&&P?n.apply(this,l):(O=this.thru(w),T?r?O.value()[0]:O.value():O)})}),En(["pop","push","shift","sort","splice","unshift"],function(n){var e=St[n],t=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",r=/^(?:pop|shift)$/.test(n);u.prototype[n]=function(){var i=arguments;if(r&&!this.__chain__){var f=this.value();return e.apply(b(f)?f:[],i)}return this[t](function(s){return e.apply(b(s)?s:[],i)})}}),$n(U.prototype,function(n,e){var t=u[e];if(t){var r=t.name+"";$.call(De,r)||(De[r]=[]),De[r].push({name:e,func:t})}}),De[Kt(o,pe).name]=[{name:"wrapper",func:o}],U.prototype.clone=_l,U.prototype.reverse=dl,U.prototype.value=vl,u.prototype.at=Yc,u.prototype.chain=Zc,u.prototype.commit=Xc,u.prototype.next=Jc,u.prototype.plant=Vc,u.prototype.reverse=kc,u.prototype.toJSON=u.prototype.valueOf=u.prototype.value=jc,u.prototype.first=u.prototype.head,Ve&&(u.prototype[Ve]=Qc),u},We=Xs();_e?((_e.exports=We)._=We,xr._=We):rn._=We}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const{addons}=__STORYBOOK_MODULE_PREVIEW_API__;var SECTIONS=["props","events","slots","methods"],extractArgTypes=_=>{if(!hasDocgen(_))return null;let m={};return SECTIONS.forEach(o=>{extractComponentProps(_,o).forEach(({propDef:C,docgenInfo:S,jsDocTags:R})=>{let{name:I,type:H,description:Y,defaultValue:nn,required:V}=C,en=o==="props"?convert4(S):{name:"void"};m[I]={name:I,description:Y,type:{required:V,...en},table:{type:H,jsDocTags:R,defaultValue:nn,category:o}}})}),m},omitEvent=_=>_?Object.fromEntries(Object.entries(_).filter(([m,o])=>!m.startsWith("on"))):{},displayObject=_=>_&&typeof _=="object"?`{${Object.keys(_).map(m=>`${m}:${displayObject(_[m])}`).join(",")}}`:typeof _=="string"?`'${_}'`:_==null?void 0:_.toString(),htmlEventAttributeToVueEventAttribute=_=>/^on[A-Za-z]/.test(_)?_.replace(/^on/,"v-on:").toLowerCase():_,directiveSource=(_,m)=>_.includes("on")?`${htmlEventAttributeToVueEventAttribute(_)}='()=>({})'`:`${_}="${m}"`,attributeSource=(_,m,o)=>["boolean","number","object"].includes(typeof m)||o&&["style","class"].includes(_)?`:${_}="${displayObject(m)}"`:directiveSource(_,m),evalExp=(_,m)=>{let o=_;return o&&/v-bind="(\w+)"/.test(o)?o.replace(/"(\w+)"/g,`"${displayObject(m)}"`):(Object.keys(m).forEach(C=>{let S=new RegExp(`(\\w+)\\.${C}`,"g"),R=new RegExp(`(\\w+)\\.${C}`,"g");S.test(o)&&(o=o.replace(R,displayObject(m[C])))}),o)},replaceValueWithRef=(_,m,o)=>{let C=o?m[o]:"args",S=()=>{let I=Object.fromEntries(Object.entries(m).map(([H])=>[H,H]));return displayObject(I).replace(/'/g,"")},R=new RegExp(`="${C}"`,"g");return _.replace(R,`="${o??S()}"`)};function generateExpression(_){let m=_.toString().split("=>")[1].trim().replace("return","").trim();return m.startsWith("{")&&m.endsWith("}")&&(m=m.substring(1,m.length-1).trim()),`{{${m}}}`}var skipSourceRender=_=>{var S;let m=(S=_==null?void 0:_.parameters.docs)==null?void 0:S.source,o=_==null?void 0:_.parameters.__isArgsStory,C=(_==null?void 0:_.viewMode)==="docs";return(m==null?void 0:m.type)===SourceType.DYNAMIC?!1:!C||!o||(m==null?void 0:m.code)||(m==null?void 0:m.type)===SourceType.CODE};function generateAttributesSource(_,m,o,C){return Object.keys(_).map(S=>{var H;let R=_[S].loc.source.replace(/\$props/g,"args"),I=(H=_[S].arg)==null?void 0:H.loc.source;return C&&I?replaceValueWithRef(R,m,I):evalExp(R,omitEvent(m))}).join(" ")}function mapAttributesAndDirectives(_){let m=o=>o.startsWith("on")?o:lodashExports.kebabCase(o);return Object.keys(_).map(o=>({name:"bind",type:["v-","@","v-on"].includes(o)?7:6,arg:{content:m(o),loc:{source:m(o)}},loc:{source:attributeSource(m(o),_[o])},exp:{isStatic:!1,loc:{source:_[o]}},modifiers:[""]}))}function mapSlots(_,m,o){return Object.keys(_).map(C=>{var Y,nn;let S=_[C],R="",I=(nn=(Y=o.find(V=>V.name===C&&V.scoped))==null?void 0:Y.bindings)==null?void 0:nn.map(V=>V.name).join(",");typeof S=="string"?R=S:typeof S=="function"?R=generateExpression(S):isVNode(S)?R=m(S):typeof S=="object"&&!isVNode(S)&&(R=JSON.stringify(S));let H=I?`="{${I}}"`:"";return R=S?``:"",{type:2,content:R,loc:{source:R,start:{offset:0,line:1,column:0},end:{offset:0,line:1,column:0}}}})}function generateScriptSetup(_,m,o){let C=Object.keys(_).map(S=>`const ${S} = ${typeof _[S]=="function"?"()=>{}":`ref(${JSON.stringify(_[S])});`}`);return C.unshift('import { ref } from "vue";'),` + + + + + + + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

No Preview

+

Sorry, but you either have no stories or none are selected somehow.

+
    +
  • Please check the Storybook config.
  • +
  • Try reloading the page.
  • +
+

+ If the problem persists, check the browser console, or the terminal you've run Storybook from. +

+
+
+ +
+

+  
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/docs/index.d.ts b/docs/index.d.ts new file mode 100644 index 0000000..a0ca33e --- /dev/null +++ b/docs/index.d.ts @@ -0,0 +1,4 @@ +export * from './components'; +export * from './icons'; +export * from './colors'; +export * from './hooks'; diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..d9d866d --- /dev/null +++ b/docs/index.html @@ -0,0 +1,126 @@ + + + + + + @storybook/cli - Storybook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + diff --git a/docs/index.json b/docs/index.json new file mode 100644 index 0000000..72cffb3 --- /dev/null +++ b/docs/index.json @@ -0,0 +1 @@ +{"v":4,"entries":{"configure-your-project--docs":{"id":"configure-your-project--docs","title":"Configure your project","name":"Docs","importPath":"./src/stories/Configure.mdx","storiesImports":[],"type":"docs","tags":["unattached-mdx","docs"]},"example-button--docs":{"id":"example-button--docs","title":"Example/Button","name":"Docs","importPath":"./src/stories/Button.stories.ts","type":"docs","tags":["autodocs","docs"],"storiesImports":[]},"example-button--default":{"type":"story","id":"example-button--default","name":"Default","title":"Example/Button","importPath":"./src/stories/Button.stories.ts","tags":["autodocs","story"]},"example-button--accent":{"type":"story","id":"example-button--accent","name":"Accent","title":"Example/Button","importPath":"./src/stories/Button.stories.ts","tags":["autodocs","story"]}}} diff --git a/docs/project.json b/docs/project.json new file mode 100644 index 0000000..9372b9c --- /dev/null +++ b/docs/project.json @@ -0,0 +1 @@ +{"generatedAt":1697009357959,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"packageManager":{"type":"npm","version":"9.8.0"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/vue3-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/vue3","storybookVersion":"7.4.6","storybookVersionSpecifier":"^7.4.6","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"7.4.6"},"@storybook/testing-library":{"version":"0.2.2"},"@storybook/vue3":{"version":"7.4.6"},"@storybook/vue3-vite":{"version":"7.4.6"},"storybook":{"version":"7.4.6"}},"addons":{"@storybook/addon-links":{"version":"7.4.6"},"@storybook/addon-essentials":{"version":"7.4.6"},"@storybook/addon-interactions":{"version":"7.4.6"}}} diff --git a/docs/sb-addons/essentials-actions-2/manager-bundle.js b/docs/sb-addons/essentials-actions-2/manager-bundle.js new file mode 100644 index 0000000..efcf484 --- /dev/null +++ b/docs/sb-addons/essentials-actions-2/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +var Se="actions",L="storybook/actions",Ce=`${L}/panel`,V=`${L}/action-event`,te=`${L}/action-clear`;var a=__REACT__,{Children:we,Component:xe,Fragment:Ne,Profiler:qr,PureComponent:Xr,StrictMode:Zr,Suspense:Kr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Qr,cloneElement:en,createContext:$,createElement:tn,createFactory:rn,createRef:nn,forwardRef:an,isValidElement:on,lazy:sn,memo:H,useCallback:S,useContext:Y,useDebugValue:ln,useEffect:un,useImperativeHandle:cn,useLayoutEffect:Le,useMemo:Ie,useReducer:pn,useRef:fn,useState:I,version:dn}=__REACT__;var En=__STORYBOOKAPI__,{ActiveTabs:yn,Consumer:On,ManagerContext:vn,Provider:Tn,addons:re,combineParameters:_n,controlOrMetaKey:Rn,controlOrMetaSymbol:An,eventMatchesShortcut:Sn,eventToShortcut:Cn,isMacLike:wn,isShortcutTaken:xn,keyToSymbol:Nn,merge:Ln,mockChannel:In,optionOrAltSymbol:Dn,shortcutMatchesShortcut:Mn,shortcutToHumanString:Pn,types:De,useAddonState:Me,useArgTypes:Bn,useArgs:Fn,useChannel:Pe,useGlobalTypes:zn,useGlobals:Hn,useParameter:jn,useSharedState:Un,useStoryPrepared:kn,useStorybookApi:Gn,useStorybookState:Wn}=__STORYBOOKAPI__;var qn=__STORYBOOKCOREEVENTS__,{CHANNEL_CREATED:Xn,CONFIG_ERROR:Zn,CURRENT_STORY_WAS_SET:Kn,DOCS_PREPARED:Qn,DOCS_RENDERED:ea,FORCE_REMOUNT:ta,FORCE_RE_RENDER:ra,GLOBALS_UPDATED:na,IGNORED_EXCEPTION:aa,NAVIGATE_URL:oa,PLAY_FUNCTION_THREW_EXCEPTION:ia,PRELOAD_ENTRIES:sa,PREVIEW_BUILDER_PROGRESS:la,PREVIEW_KEYDOWN:ua,REGISTER_SUBSCRIPTION:ca,REQUEST_WHATS_NEW_DATA:pa,RESET_STORY_ARGS:fa,RESULT_WHATS_NEW_DATA:da,SELECT_STORY:ma,SET_CONFIG:ba,SET_CURRENT_STORY:ga,SET_GLOBALS:ha,SET_INDEX:Ea,SET_STORIES:ya,SET_WHATS_NEW_CACHE:Oa,SHARED_STATE_CHANGED:va,SHARED_STATE_SET:Ta,STORIES_COLLAPSE_ALL:_a,STORIES_EXPAND_ALL:Ra,STORY_ARGS_UPDATED:Aa,STORY_CHANGED:J,STORY_ERRORED:Sa,STORY_INDEX_INVALIDATED:Ca,STORY_MISSING:wa,STORY_PREPARED:xa,STORY_RENDERED:Na,STORY_RENDER_PHASE_CHANGED:La,STORY_SPECIFIED:Ia,STORY_THREW_EXCEPTION:Da,STORY_UNCHANGED:Ma,TELEMETRY_ERROR:Pa,TOGGLE_WHATS_NEW_NOTIFICATIONS:Ba,UPDATE_GLOBALS:Fa,UPDATE_QUERY_PARAMS:za,UPDATE_STORY_ARGS:Ha}=__STORYBOOKCOREEVENTS__;var Wa=__STORYBOOKCOMPONENTS__,{A:Va,ActionBar:Be,AddonPanel:$a,Badge:Fe,Bar:Ya,Blockquote:Ja,Button:qa,ClipboardCode:Xa,Code:Za,DL:Ka,Div:Qa,DocumentWrapper:eo,ErrorFormatter:to,FlexBar:ro,Form:no,H1:ao,H2:oo,H3:io,H4:so,H5:lo,H6:uo,HR:co,IconButton:po,IconButtonSkeleton:fo,Icons:mo,Img:bo,LI:go,Link:ho,ListItem:Eo,Loader:yo,OL:Oo,P:vo,Placeholder:To,Pre:_o,ResetWrapper:Ro,ScrollArea:ze,Separator:Ao,Spaced:He,Span:So,StorybookIcon:Co,StorybookLogo:wo,Symbols:xo,SyntaxHighlighter:No,TT:Lo,TabBar:Io,TabButton:Do,TabWrapper:Mo,Table:Po,Tabs:Bo,TabsState:Fo,TooltipLinkList:zo,TooltipMessage:Ho,TooltipNote:jo,UL:Uo,WithTooltip:ko,WithTooltipPure:Go,Zoom:Wo,codeCommon:Vo,components:$o,createCopyToClipboardFunction:Yo,getStoryHref:Jo,icons:qo,interleaveSeparators:Xo,nameSpaceClassNames:Zo,resetComponents:Ko,withReset:Qo}=__STORYBOOKCOMPONENTS__;var je=Object.prototype.hasOwnProperty;function Ue(e,t,r){for(r of e.keys())if(D(r,t))return r}function D(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&D(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=Ue(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=Ue(t,o),!o)||!D(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(je.call(e,r)&&++n&&!je.call(t,r)||!(r in t)||!D(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var li=__STORYBOOKTHEMING__,{CacheProvider:ui,ClassNames:ci,Global:pi,ThemeProvider:fi,background:di,color:mi,convert:bi,create:gi,createCache:hi,createGlobal:Ei,createReset:yi,css:Oi,darken:vi,ensure:Ti,ignoreSsrWarning:_i,isPropValid:Ri,jsx:Ai,keyframes:Si,lighten:Ci,styled:j,themes:wi,typography:xi,useTheme:Ni,withTheme:ke}=__STORYBOOKTHEMING__;var ct=Object.create,se=Object.defineProperty,pt=Object.getOwnPropertyDescriptor,Ye=Object.getOwnPropertyNames,ft=Object.getPrototypeOf,dt=Object.prototype.hasOwnProperty,le=(e,t)=>function(){return t||(0,e[Ye(e)[0]])((t={exports:{}}).exports,t),t.exports},mt=(e,t)=>{for(var r in t)se(e,r,{get:t[r],enumerable:!0})},bt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ye(t))!dt.call(e,o)&&o!==r&&se(e,o,{get:()=>t[o],enumerable:!(n=pt(t,o))||n.enumerable});return e},gt=(e,t,r)=>(r=e!=null?ct(ft(e)):{},bt(t||!e||!e.__esModule?se(r,"default",{value:e,enumerable:!0}):r,e)),ht=le({"node_modules/is-object/index.js"(e,t){"use strict";t.exports=function(n){return typeof n=="object"&&n!==null}}}),Et=le({"node_modules/is-window/index.js"(e,t){"use strict";t.exports=function(r){if(r==null)return!1;var n=Object(r);return n===n.window}}}),yt=le({"node_modules/is-dom/index.js"(e,t){var r=ht(),n=Et();function o(i){return!r(i)||!n(window)||typeof window.Node!="function"?!1:typeof i.nodeType=="number"&&typeof i.nodeName=="string"}t.exports=o}}),Z={};mt(Z,{chromeDark:()=>Ot,chromeLight:()=>vt});var Ot={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},vt={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},Je=$([{},()=>{}]),ne={WebkitTouchCallout:"none",WebkitUserSelect:"none",KhtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",OUserSelect:"none",userSelect:"none"},q=e=>({DOMNodePreview:{htmlOpenTag:{base:{color:e.HTML_TAG_COLOR},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM},htmlAttributeName:{color:e.HTML_ATTRIBUTE_NAME_COLOR},htmlAttributeValue:{color:e.HTML_ATTRIBUTE_VALUE_COLOR}},htmlCloseTag:{base:{color:e.HTML_TAG_COLOR},offsetLeft:{marginLeft:-e.TREENODE_PADDING_LEFT},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM}},htmlComment:{color:e.HTML_COMMENT_COLOR},htmlDoctype:{color:e.HTML_DOCTYPE_COLOR}},ObjectPreview:{objectDescription:{fontStyle:"italic"},preview:{fontStyle:"italic"},arrayMaxProperties:e.OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES,objectMaxProperties:e.OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES},ObjectName:{base:{color:e.OBJECT_NAME_COLOR},dimmed:{opacity:.6}},ObjectValue:{objectValueNull:{color:e.OBJECT_VALUE_NULL_COLOR},objectValueUndefined:{color:e.OBJECT_VALUE_UNDEFINED_COLOR},objectValueRegExp:{color:e.OBJECT_VALUE_REGEXP_COLOR},objectValueString:{color:e.OBJECT_VALUE_STRING_COLOR},objectValueSymbol:{color:e.OBJECT_VALUE_SYMBOL_COLOR},objectValueNumber:{color:e.OBJECT_VALUE_NUMBER_COLOR},objectValueBoolean:{color:e.OBJECT_VALUE_BOOLEAN_COLOR},objectValueFunctionPrefix:{color:e.OBJECT_VALUE_FUNCTION_PREFIX_COLOR,fontStyle:"italic"},objectValueFunctionName:{fontStyle:"italic"}},TreeView:{treeViewOutline:{padding:0,margin:0,listStyleType:"none"}},TreeNode:{treeNodeBase:{color:e.BASE_COLOR,backgroundColor:e.BASE_BACKGROUND_COLOR,lineHeight:e.TREENODE_LINE_HEIGHT,cursor:"default",boxSizing:"border-box",listStyle:"none",fontFamily:e.TREENODE_FONT_FAMILY,fontSize:e.TREENODE_FONT_SIZE},treeNodePreviewContainer:{},treeNodePlaceholder:{whiteSpace:"pre",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...ne},treeNodeArrow:{base:{color:e.ARROW_COLOR,display:"inline-block",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...parseFloat(e.ARROW_ANIMATION_DURATION)>0?{transition:`transform ${e.ARROW_ANIMATION_DURATION} ease 0s`}:{},...ne},expanded:{WebkitTransform:"rotateZ(90deg)",MozTransform:"rotateZ(90deg)",transform:"rotateZ(90deg)"},collapsed:{WebkitTransform:"rotateZ(0deg)",MozTransform:"rotateZ(0deg)",transform:"rotateZ(0deg)"}},treeNodeChildNodesContainer:{margin:0,paddingLeft:e.TREENODE_PADDING_LEFT}},TableInspector:{base:{color:e.BASE_COLOR,position:"relative",border:`1px solid ${e.TABLE_BORDER_COLOR}`,fontFamily:e.BASE_FONT_FAMILY,fontSize:e.BASE_FONT_SIZE,lineHeight:"120%",boxSizing:"border-box",cursor:"default"}},TableInspectorHeaderContainer:{base:{top:0,height:"17px",left:0,right:0,overflowX:"hidden"},table:{tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",height:"100%",width:"100%",margin:0}},TableInspectorDataContainer:{tr:{display:"table-row"},td:{boxSizing:"border-box",border:"none",height:"16px",verticalAlign:"top",padding:"1px 4px",WebkitUserSelect:"text",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px"},div:{position:"static",top:"17px",bottom:0,overflowY:"overlay",transform:"translateZ(0)",left:0,right:0,overflowX:"hidden"},table:{positon:"static",left:0,top:0,right:0,bottom:0,borderTop:"0 none transparent",margin:0,backgroundImage:e.TABLE_DATA_BACKGROUND_IMAGE,backgroundSize:e.TABLE_DATA_BACKGROUND_SIZE,tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",width:"100%",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorTH:{base:{position:"relative",height:"auto",textAlign:"left",backgroundColor:e.TABLE_TH_BACKGROUND_COLOR,borderBottom:`1px solid ${e.TABLE_BORDER_COLOR}`,fontWeight:"normal",verticalAlign:"middle",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px",":hover":{backgroundColor:e.TABLE_TH_HOVER_COLOR}},div:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorLeftBorder:{none:{borderLeft:"none"},solid:{borderLeft:`1px solid ${e.TABLE_BORDER_COLOR}`}},TableInspectorSortIcon:{display:"block",marginRight:3,width:8,height:7,marginTop:-7,color:e.TABLE_SORT_ICON_COLOR,fontSize:12,...ne}}),ae="chromeLight",qe=$(q(Z[ae])),_=e=>Y(qe)[e],ue=e=>({theme:r=ae,...n})=>{let o=Ie(()=>{switch(Object.prototype.toString.call(r)){case"[object String]":return q(Z[r]);case"[object Object]":return q(r);default:return q(Z[ae])}},[r]);return a.createElement(qe.Provider,{value:o},a.createElement(e,{...n}))},Tt=({expanded:e,styles:t})=>a.createElement("span",{style:{...t.base,...e?t.expanded:t.collapsed}},"\u25B6"),_t=H(e=>{e={expanded:!0,nodeRenderer:({name:p})=>a.createElement("span",null,p),onClick:()=>{},shouldShowArrow:!1,shouldShowPlaceholder:!0,...e};let{expanded:t,onClick:r,children:n,nodeRenderer:o,title:i,shouldShowArrow:u,shouldShowPlaceholder:s}=e,l=_("TreeNode"),c=o;return a.createElement("li",{"aria-expanded":t,role:"treeitem",style:l.treeNodeBase,title:i},a.createElement("div",{style:l.treeNodePreviewContainer,onClick:r},u||we.count(n)>0?a.createElement(Tt,{expanded:t,styles:l.treeNodeArrow}):s&&a.createElement("span",{style:l.treeNodePlaceholder},"\xA0"),a.createElement(c,{...e})),a.createElement("ol",{role:"group",style:l.treeNodeChildNodesContainer},t?n:void 0))}),K="$",Ge="*";function X(e,t){return!t(e).next().done}var Rt=e=>Array.from({length:e},(t,r)=>[K].concat(Array.from({length:r},()=>"*")).join(".")),At=(e,t,r,n,o)=>{let i=[].concat(Rt(n)).concat(r).filter(s=>typeof s=="string"),u=[];return i.forEach(s=>{let l=s.split("."),c=(p,d,f)=>{if(f===l.length){u.push(d);return}let E=l[f];if(f===0)X(p,t)&&(E===K||E===Ge)&&c(p,K,f+1);else if(E===Ge)for(let{name:h,data:y}of t(p))X(y,t)&&c(y,`${d}.${h}`,f+1);else{let h=p[E];X(h,t)&&c(h,`${d}.${E}`,f+1)}};c(e,"",0)}),u.reduce((s,l)=>(s[l]=!0,s),{...o})},Xe=H(e=>{let{data:t,dataIterator:r,path:n,depth:o,nodeRenderer:i}=e,[u,s]=Y(Je),l=X(t,r),c=!!u[n],p=S(()=>l&&s(d=>({...d,[n]:!c})),[l,s,n,c]);return a.createElement(_t,{expanded:c,onClick:p,shouldShowArrow:l,shouldShowPlaceholder:o>0,nodeRenderer:i,...e},c?[...r(t)].map(({name:d,data:f,...E})=>a.createElement(Xe,{name:d,data:f,depth:o+1,path:`${n}.${d}`,key:d,dataIterator:r,nodeRenderer:i,...E})):null)}),Ze=H(({name:e,data:t,dataIterator:r,nodeRenderer:n,expandPaths:o,expandLevel:i})=>{let u=_("TreeView"),s=I({}),[,l]=s;return Le(()=>l(c=>At(t,r,o,i,c)),[t,r,o,i]),a.createElement(Je.Provider,{value:s},a.createElement("ol",{role:"tree",style:u.treeViewOutline},a.createElement(Xe,{name:e,data:t,dataIterator:r,depth:0,path:K,nodeRenderer:n})))}),ce=({name:e,dimmed:t=!1,styles:r={}})=>{let n=_("ObjectName"),o={...n.base,...t?n.dimmed:{},...r};return a.createElement("span",{style:o},e)},U=({object:e,styles:t})=>{let r=_("ObjectValue"),n=o=>({...r[o],...t});switch(typeof e){case"bigint":return a.createElement("span",{style:n("objectValueNumber")},String(e),"n");case"number":return a.createElement("span",{style:n("objectValueNumber")},String(e));case"string":return a.createElement("span",{style:n("objectValueString")},'"',e,'"');case"boolean":return a.createElement("span",{style:n("objectValueBoolean")},String(e));case"undefined":return a.createElement("span",{style:n("objectValueUndefined")},"undefined");case"object":return e===null?a.createElement("span",{style:n("objectValueNull")},"null"):e instanceof Date?a.createElement("span",null,e.toString()):e instanceof RegExp?a.createElement("span",{style:n("objectValueRegExp")},e.toString()):Array.isArray(e)?a.createElement("span",null,`Array(${e.length})`):e.constructor?typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)?a.createElement("span",null,`Buffer[${e.length}]`):a.createElement("span",null,e.constructor.name):a.createElement("span",null,"Object");case"function":return a.createElement("span",null,a.createElement("span",{style:n("objectValueFunctionPrefix")},"\u0192\xA0"),a.createElement("span",{style:n("objectValueFunctionName")},e.name,"()"));case"symbol":return a.createElement("span",{style:n("objectValueSymbol")},e.toString());default:return a.createElement("span",null)}},Ke=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable;function oe(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r.get)try{return r.get()}catch{return r.get}return e[t]}function We(e,t){return e.length===0?[]:e.slice(1).reduce((r,n)=>r.concat([t,n]),[e[0]])}var ie=({data:e})=>{let t=_("ObjectPreview"),r=e;if(typeof r!="object"||r===null||r instanceof Date||r instanceof RegExp)return a.createElement(U,{object:r});if(Array.isArray(r)){let n=t.arrayMaxProperties,o=r.slice(0,n).map((u,s)=>a.createElement(U,{key:s,object:u}));r.length>n&&o.push(a.createElement("span",{key:"ellipsis"},"\u2026"));let i=r.length;return a.createElement(a.Fragment,null,a.createElement("span",{style:t.objectDescription},i===0?"":`(${i})\xA0`),a.createElement("span",{style:t.preview},"[",We(o,", "),"]"))}else{let n=t.objectMaxProperties,o=[];for(let u in r)if(Ke.call(r,u)){let s;o.length===n-1&&Object.keys(r).length>n&&(s=a.createElement("span",{key:"ellipsis"},"\u2026"));let l=oe(r,u);if(o.push(a.createElement("span",{key:u},a.createElement(ce,{name:u||'""'}),":\xA0",a.createElement(U,{object:l}),s)),s)break}let i=r.constructor?r.constructor.name:"Object";return a.createElement(a.Fragment,null,a.createElement("span",{style:t.objectDescription},i==="Object"?"":`${i} `),a.createElement("span",{style:t.preview},"{",We(o,", "),"}"))}},Ct=({name:e,data:t})=>typeof e=="string"?a.createElement("span",null,a.createElement(ce,{name:e}),a.createElement("span",null,": "),a.createElement(ie,{data:t})):a.createElement(ie,{data:t}),wt=({name:e,data:t,isNonenumerable:r=!1})=>{let n=t;return a.createElement("span",null,typeof e=="string"?a.createElement(ce,{name:e,dimmed:r}):a.createElement(ie,{data:e}),a.createElement("span",null,": "),a.createElement(U,{object:n}))},xt=(e,t)=>function*(n){if(!(typeof n=="object"&&n!==null||typeof n=="function"))return;let i=Array.isArray(n);if(!i&&n[Symbol.iterator]){let u=0;for(let s of n){if(Array.isArray(s)&&s.length===2){let[l,c]=s;yield{name:l,data:c}}else yield{name:u.toString(),data:s};u++}}else{let u=Object.getOwnPropertyNames(n);t===!0&&!i?u.sort():typeof t=="function"&&u.sort(t);for(let s of u)if(St.call(n,s)){let l=oe(n,s);yield{name:s||'""',data:l}}else if(e){let l;try{l=oe(n,s)}catch{}l!==void 0&&(yield{name:s,data:l,isNonenumerable:!0})}e&&n!==Object.prototype&&(yield{name:"__proto__",data:Object.getPrototypeOf(n),isNonenumerable:!0})}},Nt=({depth:e,name:t,data:r,isNonenumerable:n})=>e===0?a.createElement(Ct,{name:t,data:r}):a.createElement(wt,{name:t,data:r,isNonenumerable:n}),Lt=({showNonenumerable:e=!1,sortObjectKeys:t,nodeRenderer:r,...n})=>{let o=xt(e,t),i=r||Nt;return a.createElement(Ze,{nodeRenderer:i,dataIterator:o,...n})},It=ue(Lt);function Dt(e){if(typeof e=="object"){let t=[];if(Array.isArray(e)){let n=e.length;t=[...Array(n).keys()]}else e!==null&&(t=Object.keys(e));let r=t.reduce((n,o)=>{let i=e[o];return typeof i=="object"&&i!==null&&Object.keys(i).reduce((s,l)=>(s.includes(l)||s.push(l),s),n),n},[]);return{rowHeaders:t,colHeaders:r}}}var Mt=({rows:e,columns:t,rowsData:r})=>{let n=_("TableInspectorDataContainer"),o=_("TableInspectorLeftBorder");return a.createElement("div",{style:n.div},a.createElement("table",{style:n.table},a.createElement("colgroup",null),a.createElement("tbody",null,e.map((i,u)=>a.createElement("tr",{key:i,style:n.tr},a.createElement("td",{style:{...n.td,...o.none}},i),t.map(s=>{let l=r[u];return typeof l=="object"&&l!==null&&Ke.call(l,s)?a.createElement("td",{key:s,style:{...n.td,...o.solid}},a.createElement(U,{object:l[s]})):a.createElement("td",{key:s,style:{...n.td,...o.solid}})}))))))},Pt=e=>a.createElement("div",{style:{position:"absolute",top:1,right:0,bottom:1,display:"flex",alignItems:"center"}},e.children),Bt=({sortAscending:e})=>{let t=_("TableInspectorSortIcon"),r=e?"\u25B2":"\u25BC";return a.createElement("div",{style:t},r)},Ve=({sortAscending:e=!1,sorted:t=!1,onClick:r=void 0,borderStyle:n={},children:o,...i})=>{let u=_("TableInspectorTH"),[s,l]=I(!1),c=S(()=>l(!0),[]),p=S(()=>l(!1),[]);return a.createElement("th",{...i,style:{...u.base,...n,...s?u.base[":hover"]:{}},onMouseEnter:c,onMouseLeave:p,onClick:r},a.createElement("div",{style:u.div},o),t&&a.createElement(Pt,null,a.createElement(Bt,{sortAscending:e})))},Ft=({indexColumnText:e="(index)",columns:t=[],sorted:r,sortIndexColumn:n,sortColumn:o,sortAscending:i,onTHClick:u,onIndexTHClick:s})=>{let l=_("TableInspectorHeaderContainer"),c=_("TableInspectorLeftBorder");return a.createElement("div",{style:l.base},a.createElement("table",{style:l.table},a.createElement("tbody",null,a.createElement("tr",null,a.createElement(Ve,{borderStyle:c.none,sorted:r&&n,sortAscending:i,onClick:s},e),t.map(p=>a.createElement(Ve,{borderStyle:c.solid,key:p,sorted:r&&o===p,sortAscending:i,onClick:u.bind(null,p)},p))))))},zt=({data:e,columns:t})=>{let r=_("TableInspector"),[{sorted:n,sortIndexColumn:o,sortColumn:i,sortAscending:u},s]=I({sorted:!1,sortIndexColumn:!1,sortColumn:void 0,sortAscending:!1}),l=S(()=>{s(({sortIndexColumn:h,sortAscending:y})=>({sorted:!0,sortIndexColumn:!0,sortColumn:void 0,sortAscending:h?!y:!0}))},[]),c=S(h=>{s(({sortColumn:y,sortAscending:O})=>({sorted:!0,sortIndexColumn:!1,sortColumn:h,sortAscending:h===y?!O:!0}))},[]);if(typeof e!="object"||e===null)return a.createElement("div",null);let{rowHeaders:p,colHeaders:d}=Dt(e);t!==void 0&&(d=t);let f=p.map(h=>e[h]),E;if(i!==void 0?E=f.map((h,y)=>typeof h=="object"&&h!==null?[h[i],y]:[void 0,y]):o&&(E=p.map((h,y)=>[p[y],y])),E!==void 0){let h=(O,N)=>(lt,ut)=>{let Oe=O(lt),ve=O(ut),Te=typeof Oe,_e=typeof ve,Re=(z,Ae)=>zAe?1:0,F;if(Te===_e)F=Re(Oe,ve);else{let z={string:0,number:1,object:2,symbol:3,boolean:4,undefined:5,function:6};F=Re(z[Te],z[_e])}return N||(F=-F),F},y=E.sort(h(O=>O[0],u)).map(O=>O[1]);p=y.map(O=>p[O]),f=y.map(O=>f[O])}return a.createElement("div",{style:r.base},a.createElement(Ft,{columns:d,sorted:n,sortIndexColumn:o,sortColumn:i,sortAscending:u,onTHClick:c,onIndexTHClick:l}),a.createElement(Mt,{rows:p,columns:d,rowsData:f}))},Ht=ue(zt),jt=80,Qe=e=>e.childNodes.length===0||e.childNodes.length===1&&e.childNodes[0].nodeType===Node.TEXT_NODE&&e.textContent.lengtha.createElement("span",{style:r.base},"<",a.createElement("span",{style:r.tagName},e),(()=>{if(t){let n=[];for(let o=0;o"),$e=({tagName:e,isChildNode:t=!1,styles:r})=>a.createElement("span",{style:Object.assign({},r.base,t&&r.offsetLeft)},""),kt={1:"ELEMENT_NODE",3:"TEXT_NODE",7:"PROCESSING_INSTRUCTION_NODE",8:"COMMENT_NODE",9:"DOCUMENT_NODE",10:"DOCUMENT_TYPE_NODE",11:"DOCUMENT_FRAGMENT_NODE"},Gt=({isCloseTag:e,data:t,expanded:r})=>{let n=_("DOMNodePreview");if(e)return a.createElement($e,{styles:n.htmlCloseTag,isChildNode:!0,tagName:t.tagName});switch(t.nodeType){case Node.ELEMENT_NODE:return a.createElement("span",null,a.createElement(Ut,{tagName:t.tagName,attributes:t.attributes,styles:n.htmlOpenTag}),Qe(t)?t.textContent:!r&&"\u2026",!r&&a.createElement($e,{tagName:t.tagName,styles:n.htmlCloseTag}));case Node.TEXT_NODE:return a.createElement("span",null,t.textContent);case Node.CDATA_SECTION_NODE:return a.createElement("span",null,"");case Node.COMMENT_NODE:return a.createElement("span",{style:n.htmlComment},"");case Node.PROCESSING_INSTRUCTION_NODE:return a.createElement("span",null,t.nodeName);case Node.DOCUMENT_TYPE_NODE:return a.createElement("span",{style:n.htmlDoctype},"");case Node.DOCUMENT_NODE:return a.createElement("span",null,t.nodeName);case Node.DOCUMENT_FRAGMENT_NODE:return a.createElement("span",null,t.nodeName);default:return a.createElement("span",null,kt[t.nodeType])}},Wt=function*(e){if(e&&e.childNodes){if(Qe(e))return;for(let r=0;ra.createElement(Ze,{nodeRenderer:Gt,dataIterator:Wt,...e}),$t=ue(Vt),Yt=gt(yt()),et=({table:e=!1,data:t,...r})=>e?a.createElement(Ht,{data:t,...r}):(0,Yt.default)(t)?a.createElement($t,{data:t,...r}):a.createElement(It,{data:t,...r});function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function M(e,t,r){return me()?M=Reflect.construct.bind():M=function(o,i,u){var s=[null];s.push.apply(s,i);var l=Function.bind.apply(o,s),c=new l;return u&&A(c,u.prototype),c},M.apply(null,arguments)}function G(e){var t=typeof Map=="function"?new Map:void 0;return G=function(n){if(n===null||!de(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return M(n,arguments,k(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),A(o,n)},G(e)}var T=function(e){fe(t,e);function t(r){var n;if(!0)n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this;else for(var o,i,u;u=0&&o<1?(s=i,l=u):o>=1&&o<2?(s=u,l=i):o>=2&&o<3?(l=i,c=u):o>=3&&o<4?(l=u,c=i):o>=4&&o<5?(s=u,c=i):o>=5&&o<6&&(s=i,c=u);var p=r-i/2,d=s+p,f=l+p,E=c+p;return n(d,f,E)}var nt={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Zt(e){if(typeof e!="string")return e;var t=e.toLowerCase();return nt[t]?"#"+nt[t]:e}var Kt=/^#[a-fA-F0-9]{6}$/,Qt=/^#[a-fA-F0-9]{8}$/,er=/^#[a-fA-F0-9]{3}$/,tr=/^#[a-fA-F0-9]{4}$/,ge=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rr=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,nr=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,ar=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function P(e){if(typeof e!="string")throw new T(3);var t=Zt(e);if(t.match(Kt))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Qt)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(er))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(tr)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=ge.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=rr.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var u=nr.exec(t);if(u){var s=parseInt(""+u[1],10),l=parseInt(""+u[2],10)/100,c=parseInt(""+u[3],10)/100,p="rgb("+W(s,l,c)+")",d=ge.exec(p);if(!d)throw new T(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var f=ar.exec(t.substring(0,50));if(f){var E=parseInt(""+f[1],10),h=parseInt(""+f[2],10)/100,y=parseInt(""+f[3],10)/100,O="rgb("+W(E,h,y)+")",N=ge.exec(O);if(!N)throw new T(4,t,O);return{red:parseInt(""+N[1],10),green:parseInt(""+N[2],10),blue:parseInt(""+N[3],10),alpha:parseFloat(""+f[4])>1?parseFloat(""+f[4])/100:parseFloat(""+f[4])}}throw new T(5)}function or(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),i=Math.min(t,r,n),u=(o+i)/2;if(o===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:u,alpha:e.alpha}:{hue:0,saturation:0,lightness:u};var s,l=o-i,c=u>.5?l/(2-o-i):l/(o+i);switch(o){case t:s=(r-n)/l+(r=1?Q(e,t,r):"rgba("+W(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Q(e.hue,e.saturation,e.lightness):"rgba("+W(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new T(2)}function ye(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Ee("#"+x(e)+x(t)+x(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Ee("#"+x(e.red)+x(e.green)+x(e.blue));throw new T(6)}function ee(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=P(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?ye(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ye(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new T(7)}var cr=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},pr=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},fr=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},dr=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function w(e){if(typeof e!="object")throw new T(8);if(pr(e))return ee(e);if(cr(e))return ye(e);if(dr(e))return ur(e);if(fr(e))return lr(e);throw new T(8)}function ot(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):ot(e,t,o)}}function R(e){return ot(e,e.length,[])}function mr(e,t){if(t==="transparent")return t;var r=C(t);return w(v({},r,{hue:r.hue+parseFloat(e)}))}var nl=R(mr);function B(e,t,r){return Math.max(e,Math.min(t,r))}function br(e,t){if(t==="transparent")return t;var r=C(t);return w(v({},r,{lightness:B(0,1,r.lightness-parseFloat(e))}))}var al=R(br);function gr(e,t){if(t==="transparent")return t;var r=C(t);return w(v({},r,{saturation:B(0,1,r.saturation-parseFloat(e))}))}var ol=R(gr);function hr(e,t){if(t==="transparent")return t;var r=C(t);return w(v({},r,{lightness:B(0,1,r.lightness+parseFloat(e))}))}var il=R(hr);function Er(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=P(t),o=v({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),i=P(r),u=v({},i,{alpha:typeof i.alpha=="number"?i.alpha:1}),s=o.alpha-u.alpha,l=parseFloat(e)*2-1,c=l*s===-1?l:l+s,p=1+l*s,d=(c/p+1)/2,f=1-d,E={red:Math.floor(o.red*d+u.red*f),green:Math.floor(o.green*d+u.green*f),blue:Math.floor(o.blue*d+u.blue*f),alpha:o.alpha*parseFloat(e)+u.alpha*(1-parseFloat(e))};return ee(E)}var yr=R(Er),it=yr;function Or(e,t){if(t==="transparent")return t;var r=P(t),n=typeof r.alpha=="number"?r.alpha:1,o=v({},r,{alpha:B(0,1,(n*100+parseFloat(e)*100)/100)});return ee(o)}var vr=R(Or),st=vr;function Tr(e,t){if(t==="transparent")return t;var r=C(t);return w(v({},r,{saturation:B(0,1,r.saturation+parseFloat(e))}))}var sl=R(Tr);function _r(e,t){return t==="transparent"?t:w(v({},C(t),{hue:parseFloat(e)}))}var ll=R(_r);function Rr(e,t){return t==="transparent"?t:w(v({},C(t),{lightness:parseFloat(e)}))}var ul=R(Rr);function Ar(e,t){return t==="transparent"?t:w(v({},C(t),{saturation:parseFloat(e)}))}var cl=R(Ar);function Sr(e,t){return t==="transparent"?t:it(parseFloat(e),"rgb(0, 0, 0)",t)}var pl=R(Sr);function Cr(e,t){return t==="transparent"?t:it(parseFloat(e),"rgb(255, 255, 255)",t)}var fl=R(Cr);function wr(e,t){if(t==="transparent")return t;var r=P(t),n=typeof r.alpha=="number"?r.alpha:1,o=v({},r,{alpha:B(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return ee(o)}var dl=R(wr);var xr=j.div({display:"flex",padding:0,borderLeft:"5px solid transparent",borderBottom:"1px solid transparent",transition:"all 0.1s",alignItems:"flex-start",whiteSpace:"pre"}),Nr=j.div(({theme:e})=>({backgroundColor:st(.5,e.appBorderColor),color:e.color.inverseText,fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:1,padding:"1px 5px",borderRadius:20,margin:"2px 0px"})),Lr=j.div({flex:1,padding:"0 0 0 5px"}),Ir=({children:e,className:t})=>a.createElement(ze,{horizontal:!0,vertical:!0,className:t},e),Dr=j(Ir)({margin:0,padding:"10px 5px 20px"}),Mr=ke(({theme:e,...t})=>a.createElement(et,{theme:e.addonActionsTheme||"chromeLight",table:!1,...t})),Pr=({actions:e,onClear:t})=>a.createElement(Ne,null,a.createElement(Dr,null,e.map(r=>a.createElement(xr,{key:r.id},r.count>1&&a.createElement(Nr,null,r.count),a.createElement(Lr,null,a.createElement(Mr,{sortObjectKeys:!0,showNonenumerable:!1,name:r.data.name,data:r.data.args||r.data}))))),a.createElement(Be,{actionItems:[{title:"Clear",onClick:t}]})),Br=(e,t)=>{try{return D(e,t)}catch{return!1}},Fr=class extends xe{constructor(e){super(e),this.handleStoryChange=()=>{let{actions:t}=this.state;t.length>0&&t[0].options.clearOnStoryChange&&this.clearActions()},this.addAction=t=>{this.setState(r=>{let n=[...r.actions],o=n.length&&n[0];return o&&Br(o.data,t.data)?o.count++:(t.count=1,n.unshift(t)),{actions:n.slice(0,t.options.limit)}})},this.clearActions=()=>{let{api:t}=this.props;t.emit(te),this.setState({actions:[]})},this.mounted=!1,this.state={actions:[]}}componentDidMount(){this.mounted=!0;let{api:e}=this.props;e.on(V,this.addAction),e.on(J,this.handleStoryChange)}componentWillUnmount(){this.mounted=!1;let{api:e}=this.props;e.off(J,this.handleStoryChange),e.off(V,this.addAction)}render(){let{actions:e=[]}=this.state,{active:t}=this.props,r={actions:e,onClear:this.clearActions};return t?a.createElement(Pr,{...r}):null}};function zr(){let[{count:e},t]=Me(L,{count:0});return Pe({[V]:()=>{t(r=>({...r,count:r.count+1}))},[J]:()=>{t(r=>({...r,count:0}))},[te]:()=>{t(r=>({...r,count:0}))}}),a.createElement("div",null,a.createElement(He,{col:1},a.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Actions"),e===0?"":a.createElement(Fe,{status:"neutral"},e)))}re.register(L,e=>{re.add(Ce,{title:zr,type:De.PANEL,render:({active:t})=>a.createElement(Fr,{api:e,active:!!t}),paramKey:Se})}); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt b/docs/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/docs/sb-addons/essentials-backgrounds-3/manager-bundle.js b/docs/sb-addons/essentials-backgrounds-3/manager-bundle.js new file mode 100644 index 0000000..378d054 --- /dev/null +++ b/docs/sb-addons/essentials-backgrounds-3/manager-bundle.js @@ -0,0 +1,12 @@ +try{ +var ne=Object.create;var F=Object.defineProperty;var oe=Object.getOwnPropertyDescriptor;var ie=Object.getOwnPropertyNames;var ae=Object.getPrototypeOf,se=Object.prototype.hasOwnProperty;var x=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,s)=>(typeof require<"u"?require:t)[s]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var L=(e,t)=>()=>(e&&(t=e(e=0)),t);var le=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ue=(e,t,s,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ie(t))!se.call(e,i)&&i!==s&&F(e,i,{get:()=>t[i],enumerable:!(o=oe(t,i))||o.enumerable});return e};var de=(e,t,s)=>(s=e!=null?ne(ae(e)):{},ue(t||!e||!e.__esModule?F(s,"default",{value:e,enumerable:!0}):s,e));var c=L(()=>{});var f=L(()=>{});var m=L(()=>{});var Q=le((J,D)=>{c();f();m();(function(e){if(typeof J=="object"&&typeof D<"u")D.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,s;return function o(i,g,l){function n(a,h){if(!g[a]){if(!i[a]){var d=typeof x=="function"&&x;if(!h&&d)return d(a,!0);if(r)return r(a,!0);var b=new Error("Cannot find module '"+a+"'");throw b.code="MODULE_NOT_FOUND",b}var p=g[a]={exports:{}};i[a][0].call(p.exports,function(y){var S=i[a][1][y];return n(S||y)},p,p.exports,o,i,g,l)}return g[a].exports}for(var r=typeof x=="function"&&x,u=0;u=0)return this.lastItem=this.list[r],this.list[r].val},l.prototype.set=function(n,r){var u;return this.lastItem&&this.isEqual(this.lastItem.key,n)?(this.lastItem.val=r,this):(u=this.indexOf(n),u>=0?(this.lastItem=this.list[u],this.list[u].val=r,this):(this.lastItem={key:n,val:r},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(n){var r;if(this.lastItem&&this.isEqual(this.lastItem.key,n)&&(this.lastItem=void 0),r=this.indexOf(n),r>=0)return this.size--,this.list.splice(r,1)[0]},l.prototype.has=function(n){var r;return this.lastItem&&this.isEqual(this.lastItem.key,n)?!0:(r=this.indexOf(n),r>=0?(this.lastItem=this.list[r],!0):!1)},l.prototype.forEach=function(n,r){var u;for(u=0;u0&&(B[O]={cacheItem:y,arg:arguments[O]},C?n(d,B):d.push(B),d.length>a&&r(d.shift())),p.wasMemoized=C,p.numArgs=O+1,A};return p.limit=a,p.wasMemoized=!1,p.cache=h,p.lru=d,p}};function n(a,h){var d=a.length,b=h.length,p,y,S;for(y=0;y=0&&(d=a[p],b=d.cacheItem.get(d.arg),!b||!b.size);p--)d.cacheItem.delete(d.arg)}function u(a,h){return a===h||a!==a&&h!==h}},{"map-or-similar":1}]},{},[3])(3)})});c();f();m();c();f();m();c();f();m();c();f();m();c();f();m();var Y=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();c();f();m();function W(e){for(var t=[],s=1;s{if(e==="transparent")return"transparent";if(t.find(i=>i.value===e))return e;let o=t.find(i=>i.name===s);if(o)return o.value;if(s){let i=t.map(g=>g.name).join(", ");M.warn(W` + Backgrounds Addon: could not find the default color "${s}". + These are the available colors for your story based on your configuration: + ${i}. + `)}return"transparent"};c();f();m();var T=__REACT__,{Children:je,Component:Ve,Fragment:w,Profiler:Ze,PureComponent:Je,StrictMode:Qe,Suspense:Xe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:et,cloneElement:tt,createContext:rt,createElement:nt,createFactory:ot,createRef:it,forwardRef:at,isValidElement:st,lazy:lt,memo:P,useCallback:U,useContext:ut,useDebugValue:dt,useEffect:ct,useImperativeHandle:ft,useLayoutEffect:mt,useMemo:j,useReducer:pt,useRef:ht,useState:V,version:gt}=__REACT__;c();f();m();var _t=__STORYBOOKAPI__,{ActiveTabs:Et,Consumer:vt,ManagerContext:Ot,Provider:It,addons:N,combineParameters:kt,controlOrMetaKey:Ct,controlOrMetaSymbol:xt,eventMatchesShortcut:At,eventToShortcut:Bt,isMacLike:Mt,isShortcutTaken:Lt,keyToSymbol:Rt,merge:wt,mockChannel:Pt,optionOrAltSymbol:Nt,shortcutMatchesShortcut:Gt,shortcutToHumanString:Ht,types:Z,useAddonState:Dt,useArgTypes:zt,useArgs:qt,useChannel:Kt,useGlobalTypes:Ft,useGlobals:G,useParameter:H,useSharedState:Yt,useStoryPrepared:Wt,useStorybookApi:$t,useStorybookState:Ut}=__STORYBOOKAPI__;var K=de(Q(),1);c();f();m();var rr=__STORYBOOKCOMPONENTS__,{A:nr,ActionBar:or,AddonPanel:ir,Badge:ar,Bar:sr,Blockquote:lr,Button:ur,ClipboardCode:dr,Code:cr,DL:fr,Div:mr,DocumentWrapper:pr,ErrorFormatter:hr,FlexBar:gr,Form:yr,H1:br,H2:Sr,H3:Tr,H4:_r,H5:Er,H6:vr,HR:Or,IconButton:z,IconButtonSkeleton:Ir,Icons:q,Img:kr,LI:Cr,Link:xr,ListItem:Ar,Loader:Br,OL:Mr,P:Lr,Placeholder:Rr,Pre:wr,ResetWrapper:Pr,ScrollArea:Nr,Separator:Gr,Spaced:Hr,Span:Dr,StorybookIcon:zr,StorybookLogo:qr,Symbols:Kr,SyntaxHighlighter:Fr,TT:Yr,TabBar:Wr,TabButton:$r,TabWrapper:Ur,Table:jr,Tabs:Vr,TabsState:Zr,TooltipLinkList:X,TooltipMessage:Jr,TooltipNote:Qr,UL:Xr,WithTooltip:ee,WithTooltipPure:en,Zoom:tn,codeCommon:rn,components:nn,createCopyToClipboardFunction:on,getStoryHref:an,icons:sn,interleaveSeparators:ln,nameSpaceClassNames:un,resetComponents:dn,withReset:cn}=__STORYBOOKCOMPONENTS__;c();f();m();var gn=__STORYBOOKTHEMING__,{CacheProvider:yn,ClassNames:bn,Global:Sn,ThemeProvider:Tn,background:_n,color:En,convert:vn,create:On,createCache:In,createGlobal:kn,createReset:Cn,css:xn,darken:An,ensure:Bn,ignoreSsrWarning:Mn,isPropValid:Ln,jsx:Rn,keyframes:wn,lighten:Pn,styled:te,themes:Nn,typography:Gn,useTheme:Hn,withTheme:Dn}=__STORYBOOKTHEMING__;var ce=te.span(({background:e})=>({borderRadius:"1rem",display:"block",height:"1rem",width:"1rem",background:e}),({theme:e})=>({boxShadow:`${e.appBorderColor} 0 0 0 1px inset`})),re=(0,K.default)(1e3)((e,t,s,o,i,g)=>({id:e||t,title:t,onClick:()=>{i({selected:s,name:t})},value:s,right:o?T.createElement(ce,{background:s}):void 0,active:g})),fe=(0,K.default)(10)((e,t,s)=>{let o=e.map(({name:i,value:g})=>re(null,i,g,!0,s,g===t));return t!=="transparent"?[re("reset","Clear background","transparent",null,s,!1),...o]:o}),me={default:null,disable:!0,values:[]},pe=P(function(){let e=H(I,me),[t,s]=V(!1),[o,i]=G(),g=o[I]?.value,l=j(()=>$(g,e.values,e.default),[e,g]);Array.isArray(e)&&M.warn("Addon Backgrounds api has changed in Storybook 6.0. Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md");let n=U(r=>{i({[I]:{...o[I],value:r}})},[e,o,i]);return e.disable?null:T.createElement(w,null,T.createElement(ee,{placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:r})=>T.createElement(X,{links:fe(e.values,l,({selected:u})=>{l!==u&&n(u),r()})}),onVisibleChange:s},T.createElement(z,{key:"background",title:"Change the background of the preview",active:l!=="transparent"||t},T.createElement(q,{icon:"photo"}))))}),he=P(function(){let[e,t]=G(),{grid:s}=H(I,{grid:{disable:!1}});if(s?.disable)return null;let o=e[I]?.grid||!1;return T.createElement(z,{key:"background",active:o,title:"Apply a grid to the preview",onClick:()=>t({[I]:{...e[I],grid:!o}})},T.createElement(q,{icon:"grid"}))});N.register(R,()=>{N.add(R,{title:"Backgrounds",type:Z.TOOL,match:({viewMode:e})=>!!(e&&e.match(/^(story|docs)$/)),render:()=>T.createElement(w,null,T.createElement(pe,null),T.createElement(he,null))})}); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt b/docs/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/docs/sb-addons/essentials-controls-1/manager-bundle.js b/docs/sb-addons/essentials-controls-1/manager-bundle.js new file mode 100644 index 0000000..1c55567 --- /dev/null +++ b/docs/sb-addons/essentials-controls-1/manager-bundle.js @@ -0,0 +1,114 @@ +try{ +var Hy=Object.create;var ya=Object.defineProperty;var zy=Object.getOwnPropertyDescriptor;var Wy=Object.getOwnPropertyNames;var Gy=Object.getPrototypeOf,Vy=Object.prototype.hasOwnProperty;var dr=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Ze=(e,t)=>()=>(e&&(t=e(e=0)),t);var S=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),mu=(e,t)=>{for(var r in t)ya(e,r,{get:t[r],enumerable:!0})},Ky=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Wy(t))!Vy.call(e,a)&&a!==r&&ya(e,a,{get:()=>t[a],enumerable:!(n=zy(t,a))||n.enumerable});return e};var fe=(e,t,r)=>(r=e!=null?Hy(Gy(e)):{},Ky(t||!e||!e.__esModule?ya(r,"default",{value:e,enumerable:!0}):r,e));var l=Ze(()=>{});var c=Ze(()=>{});var d=Ze(()=>{});var h,Jr,et,gu,FI,SI,wI,yu,BI,me,pr,Aa,TI,_I,OI,RI,Eu,PI,ge,qe,II,he,kI,bu,ot,NI,Fe,ne,MI,Ot=Ze(()=>{l();c();d();h=__REACT__,{Children:Jr,Component:et,Fragment:gu,Profiler:FI,PureComponent:SI,StrictMode:wI,Suspense:yu,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:BI,cloneElement:me,createContext:pr,createElement:Aa,createFactory:TI,createRef:_I,forwardRef:OI,isValidElement:RI,lazy:Eu,memo:PI,useCallback:ge,useContext:qe,useDebugValue:II,useEffect:he,useImperativeHandle:kI,useLayoutEffect:bu,useMemo:ot,useReducer:NI,useRef:Fe,useState:ne,version:MI}=__REACT__});var Fu={};mu(Fu,{A:()=>Jy,ActionBar:()=>Ca,AddonPanel:()=>xa,Badge:()=>Fa,Bar:()=>Qy,Blockquote:()=>Zy,Button:()=>e2,ClipboardCode:()=>t2,Code:()=>Sa,DL:()=>r2,Div:()=>n2,DocumentWrapper:()=>a2,ErrorFormatter:()=>wa,FlexBar:()=>Ba,Form:()=>Re,H1:()=>o2,H2:()=>Ta,H3:()=>_a,H4:()=>i2,H5:()=>u2,H6:()=>s2,HR:()=>l2,IconButton:()=>yt,IconButtonSkeleton:()=>Oa,Icons:()=>Oe,Img:()=>c2,LI:()=>d2,Link:()=>Et,ListItem:()=>p2,Loader:()=>Ra,OL:()=>f2,P:()=>h2,Placeholder:()=>m2,Pre:()=>g2,ResetWrapper:()=>Pa,ScrollArea:()=>y2,Separator:()=>E2,Spaced:()=>Ia,Span:()=>b2,StorybookIcon:()=>A2,StorybookLogo:()=>v2,Symbols:()=>D2,SyntaxHighlighter:()=>Qr,TT:()=>C2,TabBar:()=>x2,TabButton:()=>F2,TabWrapper:()=>S2,Table:()=>w2,Tabs:()=>B2,TabsState:()=>ka,TooltipLinkList:()=>T2,TooltipMessage:()=>_2,TooltipNote:()=>Na,UL:()=>O2,WithTooltip:()=>Zr,WithTooltipPure:()=>Ma,Zoom:()=>La,codeCommon:()=>Rt,components:()=>ja,createCopyToClipboardFunction:()=>R2,default:()=>Xy,getStoryHref:()=>qa,icons:()=>P2,interleaveSeparators:()=>I2,nameSpaceClassNames:()=>$a,resetComponents:()=>k2,withReset:()=>Pt});var Xy,Jy,Ca,xa,Fa,Qy,Zy,e2,t2,Sa,r2,n2,a2,wa,Ba,Re,o2,Ta,_a,i2,u2,s2,l2,yt,Oa,Oe,c2,d2,Et,p2,Ra,f2,h2,m2,g2,Pa,y2,E2,Ia,b2,A2,v2,D2,Qr,C2,x2,F2,S2,w2,B2,ka,T2,_2,Na,O2,Zr,Ma,La,Rt,ja,R2,qa,P2,I2,$a,k2,Pt,fr=Ze(()=>{l();c();d();Xy=__STORYBOOKCOMPONENTS__,{A:Jy,ActionBar:Ca,AddonPanel:xa,Badge:Fa,Bar:Qy,Blockquote:Zy,Button:e2,ClipboardCode:t2,Code:Sa,DL:r2,Div:n2,DocumentWrapper:a2,ErrorFormatter:wa,FlexBar:Ba,Form:Re,H1:o2,H2:Ta,H3:_a,H4:i2,H5:u2,H6:s2,HR:l2,IconButton:yt,IconButtonSkeleton:Oa,Icons:Oe,Img:c2,LI:d2,Link:Et,ListItem:p2,Loader:Ra,OL:f2,P:h2,Placeholder:m2,Pre:g2,ResetWrapper:Pa,ScrollArea:y2,Separator:E2,Spaced:Ia,Span:b2,StorybookIcon:A2,StorybookLogo:v2,Symbols:D2,SyntaxHighlighter:Qr,TT:C2,TabBar:x2,TabButton:F2,TabWrapper:S2,Table:w2,Tabs:B2,TabsState:ka,TooltipLinkList:T2,TooltipMessage:_2,TooltipNote:Na,UL:O2,WithTooltip:Zr,WithTooltipPure:Ma,Zoom:La,codeCommon:Rt,components:ja,createCopyToClipboardFunction:R2,getStoryHref:qa,icons:P2,interleaveSeparators:I2,nameSpaceClassNames:$a,resetComponents:k2,withReset:Pt}=__STORYBOOKCOMPONENTS__});var Pe,hr,Ua=Ze(()=>{l();c();d();Pe=e=>`control-${e.replace(/\s+/g,"-")}`,hr=e=>`set-${e.replace(/\s+/g,"-")}`});var Dk,Ck,xk,Fk,Su,Sk,wk,wu,Bk,Tk,_k,Ok,Rk,Pk,N2,Bu,Ik,kk,Nk,Mk,j,Ha,Lk,Tu,jk,za=Ze(()=>{l();c();d();Dk=__STORYBOOKTHEMING__,{CacheProvider:Ck,ClassNames:xk,Global:Fk,ThemeProvider:Su,background:Sk,color:wk,convert:wu,create:Bk,createCache:Tk,createGlobal:_k,createReset:Ok,css:Rk,darken:Pk,ensure:N2,ignoreSsrWarning:Bu,isPropValid:Ik,jsx:kk,keyframes:Nk,lighten:Mk,styled:j,themes:Ha,typography:Lk,useTheme:Tu,withTheme:jk}=__STORYBOOKTHEMING__});var eo=S((uN,Nu)=>{l();c();d();function v1(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r{l();c();d();function D1(){this.__data__=[],this.size=0}Mu.exports=D1});var tn=S((mN,ju)=>{l();c();d();function C1(e,t){return e===t||e!==e&&t!==t}ju.exports=C1});var br=S((bN,qu)=>{l();c();d();var x1=tn();function F1(e,t){for(var r=e.length;r--;)if(x1(e[r][0],t))return r;return-1}qu.exports=F1});var Uu=S((CN,$u)=>{l();c();d();var S1=br(),w1=Array.prototype,B1=w1.splice;function T1(e){var t=this.__data__,r=S1(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():B1.call(t,r,1),--this.size,!0}$u.exports=T1});var zu=S((wN,Hu)=>{l();c();d();var _1=br();function O1(e){var t=this.__data__,r=_1(t,e);return r<0?void 0:t[r][1]}Hu.exports=O1});var Gu=S((ON,Wu)=>{l();c();d();var R1=br();function P1(e){return R1(this.__data__,e)>-1}Wu.exports=P1});var Ku=S((kN,Vu)=>{l();c();d();var I1=br();function k1(e,t){var r=this.__data__,n=I1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}Vu.exports=k1});var Ar=S((jN,Yu)=>{l();c();d();var N1=Lu(),M1=Uu(),L1=zu(),j1=Gu(),q1=Ku();function Mt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{l();c();d();var $1=Ar();function U1(){this.__data__=new $1,this.size=0}Xu.exports=U1});var Zu=S((VN,Qu)=>{l();c();d();function H1(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}Qu.exports=H1});var ts=S((JN,es)=>{l();c();d();function z1(e){return this.__data__.get(e)}es.exports=z1});var ns=S((tM,rs)=>{l();c();d();function W1(e){return this.__data__.has(e)}rs.exports=W1});var to=S((oM,as)=>{l();c();d();var G1=typeof window=="object"&&window&&window.Object===Object&&window;as.exports=G1});var $e=S((lM,os)=>{l();c();d();var V1=to(),K1=typeof self=="object"&&self&&self.Object===Object&&self,Y1=V1||K1||Function("return this")();os.exports=Y1});var At=S((fM,is)=>{l();c();d();var X1=$e(),J1=X1.Symbol;is.exports=J1});var cs=S((yM,ls)=>{l();c();d();var us=At(),ss=Object.prototype,Q1=ss.hasOwnProperty,Z1=ss.toString,vr=us?us.toStringTag:void 0;function eE(e){var t=Q1.call(e,vr),r=e[vr];try{e[vr]=void 0;var n=!0}catch{}var a=Z1.call(e);return n&&(t?e[vr]=r:delete e[vr]),a}ls.exports=eE});var ps=S((vM,ds)=>{l();c();d();var tE=Object.prototype,rE=tE.toString;function nE(e){return rE.call(e)}ds.exports=nE});var vt=S((FM,ms)=>{l();c();d();var fs=At(),aE=cs(),oE=ps(),iE="[object Null]",uE="[object Undefined]",hs=fs?fs.toStringTag:void 0;function sE(e){return e==null?e===void 0?uE:iE:hs&&hs in Object(e)?aE(e):oE(e)}ms.exports=sE});var We=S((TM,gs)=>{l();c();d();function lE(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}gs.exports=lE});var ro=S((PM,ys)=>{l();c();d();var cE=vt(),dE=We(),pE="[object AsyncFunction]",fE="[object Function]",hE="[object GeneratorFunction]",mE="[object Proxy]";function gE(e){if(!dE(e))return!1;var t=cE(e);return t==fE||t==hE||t==pE||t==mE}ys.exports=gE});var bs=S((MM,Es)=>{l();c();d();var yE=$e(),EE=yE["__core-js_shared__"];Es.exports=EE});var Ds=S(($M,vs)=>{l();c();d();var no=bs(),As=function(){var e=/[^.]+$/.exec(no&&no.keys&&no.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function bE(e){return!!As&&As in e}vs.exports=bE});var ao=S((WM,Cs)=>{l();c();d();var AE=Function.prototype,vE=AE.toString;function DE(e){if(e!=null){try{return vE.call(e)}catch{}try{return e+""}catch{}}return""}Cs.exports=DE});var Fs=S((YM,xs)=>{l();c();d();var CE=ro(),xE=Ds(),FE=We(),SE=ao(),wE=/[\\^$.*+?()[\]{}|]/g,BE=/^\[object .+?Constructor\]$/,TE=Function.prototype,_E=Object.prototype,OE=TE.toString,RE=_E.hasOwnProperty,PE=RegExp("^"+OE.call(RE).replace(wE,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function IE(e){if(!FE(e)||xE(e))return!1;var t=CE(e)?PE:BE;return t.test(SE(e))}xs.exports=IE});var ws=S((ZM,Ss)=>{l();c();d();function kE(e,t){return e?.[t]}Ss.exports=kE});var lt=S((nL,Bs)=>{l();c();d();var NE=Fs(),ME=ws();function LE(e,t){var r=ME(e,t);return NE(r)?r:void 0}Bs.exports=LE});var rn=S((uL,Ts)=>{l();c();d();var jE=lt(),qE=$e(),$E=jE(qE,"Map");Ts.exports=$E});var Dr=S((dL,_s)=>{l();c();d();var UE=lt(),HE=UE(Object,"create");_s.exports=HE});var Ps=S((mL,Rs)=>{l();c();d();var Os=Dr();function zE(){this.__data__=Os?Os(null):{},this.size=0}Rs.exports=zE});var ks=S((bL,Is)=>{l();c();d();function WE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Is.exports=WE});var Ms=S((CL,Ns)=>{l();c();d();var GE=Dr(),VE="__lodash_hash_undefined__",KE=Object.prototype,YE=KE.hasOwnProperty;function XE(e){var t=this.__data__;if(GE){var r=t[e];return r===VE?void 0:r}return YE.call(t,e)?t[e]:void 0}Ns.exports=XE});var js=S((wL,Ls)=>{l();c();d();var JE=Dr(),QE=Object.prototype,ZE=QE.hasOwnProperty;function eb(e){var t=this.__data__;return JE?t[e]!==void 0:ZE.call(t,e)}Ls.exports=eb});var $s=S((OL,qs)=>{l();c();d();var tb=Dr(),rb="__lodash_hash_undefined__";function nb(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=tb&&t===void 0?rb:t,this}qs.exports=nb});var Hs=S((kL,Us)=>{l();c();d();var ab=Ps(),ob=ks(),ib=Ms(),ub=js(),sb=$s();function Lt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{l();c();d();var zs=Hs(),lb=Ar(),cb=rn();function db(){this.size=0,this.__data__={hash:new zs,map:new(cb||lb),string:new zs}}Ws.exports=db});var Ks=S((HL,Vs)=>{l();c();d();function pb(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}Vs.exports=pb});var Cr=S((VL,Ys)=>{l();c();d();var fb=Ks();function hb(e,t){var r=e.__data__;return fb(t)?r[typeof t=="string"?"string":"hash"]:r.map}Ys.exports=hb});var Js=S((JL,Xs)=>{l();c();d();var mb=Cr();function gb(e){var t=mb(this,e).delete(e);return this.size-=t?1:0,t}Xs.exports=gb});var Zs=S((tj,Qs)=>{l();c();d();var yb=Cr();function Eb(e){return yb(this,e).get(e)}Qs.exports=Eb});var tl=S((oj,el)=>{l();c();d();var bb=Cr();function Ab(e){return bb(this,e).has(e)}el.exports=Ab});var nl=S((lj,rl)=>{l();c();d();var vb=Cr();function Db(e,t){var r=vb(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}rl.exports=Db});var nn=S((fj,al)=>{l();c();d();var Cb=Gs(),xb=Js(),Fb=Zs(),Sb=tl(),wb=nl();function jt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{l();c();d();var Bb=Ar(),Tb=rn(),_b=nn(),Ob=200;function Rb(e,t){var r=this.__data__;if(r instanceof Bb){var n=r.__data__;if(!Tb||n.length{l();c();d();var Pb=Ar(),Ib=Ju(),kb=Zu(),Nb=ts(),Mb=ns(),Lb=il();function qt(e){var t=this.__data__=new Pb(e);this.size=t.size}qt.prototype.clear=Ib;qt.prototype.delete=kb;qt.prototype.get=Nb;qt.prototype.has=Mb;qt.prototype.set=Lb;ul.exports=qt});var ll=S((Fj,sl)=>{l();c();d();var jb="__lodash_hash_undefined__";function qb(e){return this.__data__.set(e,jb),this}sl.exports=qb});var dl=S((Tj,cl)=>{l();c();d();function $b(e){return this.__data__.has(e)}cl.exports=$b});var oo=S((Pj,pl)=>{l();c();d();var Ub=nn(),Hb=ll(),zb=dl();function on(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Ub;++t{l();c();d();function Wb(e,t){for(var r=-1,n=e==null?0:e.length;++r{l();c();d();function Gb(e,t){return e.has(t)}ml.exports=Gb});var uo=S((Wj,gl)=>{l();c();d();var Vb=oo(),Kb=hl(),Yb=io(),Xb=1,Jb=2;function Qb(e,t,r,n,a,o){var i=r&Xb,u=e.length,s=t.length;if(u!=s&&!(i&&s>u))return!1;var p=o.get(e),y=o.get(t);if(p&&y)return p==t&&y==e;var b=-1,m=!0,g=r&Jb?new Vb:void 0;for(o.set(e,t),o.set(t,e);++b{l();c();d();var Zb=$e(),eA=Zb.Uint8Array;yl.exports=eA});var bl=S((Zj,El)=>{l();c();d();function tA(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}El.exports=tA});var un=S((nq,Al)=>{l();c();d();function rA(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}Al.exports=rA});var Fl=S((uq,xl)=>{l();c();d();var vl=At(),Dl=so(),nA=tn(),aA=uo(),oA=bl(),iA=un(),uA=1,sA=2,lA="[object Boolean]",cA="[object Date]",dA="[object Error]",pA="[object Map]",fA="[object Number]",hA="[object RegExp]",mA="[object Set]",gA="[object String]",yA="[object Symbol]",EA="[object ArrayBuffer]",bA="[object DataView]",Cl=vl?vl.prototype:void 0,lo=Cl?Cl.valueOf:void 0;function AA(e,t,r,n,a,o,i){switch(r){case bA:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case EA:return!(e.byteLength!=t.byteLength||!o(new Dl(e),new Dl(t)));case lA:case cA:case fA:return nA(+e,+t);case dA:return e.name==t.name&&e.message==t.message;case hA:case gA:return e==t+"";case pA:var u=oA;case mA:var s=n&uA;if(u||(u=iA),e.size!=t.size&&!s)return!1;var p=i.get(e);if(p)return p==t;n|=sA,i.set(e,t);var y=aA(u(e),u(t),n,a,o,i);return i.delete(e),y;case yA:if(lo)return lo.call(e)==lo.call(t)}return!1}xl.exports=AA});var sn=S((dq,Sl)=>{l();c();d();function vA(e,t){for(var r=-1,n=t.length,a=e.length;++r{l();c();d();var DA=Array.isArray;wl.exports=DA});var co=S((bq,Bl)=>{l();c();d();var CA=sn(),xA=Ge();function FA(e,t,r){var n=t(e);return xA(e)?n:CA(n,r(e))}Bl.exports=FA});var _l=S((Cq,Tl)=>{l();c();d();function SA(e,t){for(var r=-1,n=e==null?0:e.length,a=0,o=[];++r{l();c();d();function wA(){return[]}Ol.exports=wA});var ln=S((Oq,Pl)=>{l();c();d();var BA=_l(),TA=po(),_A=Object.prototype,OA=_A.propertyIsEnumerable,Rl=Object.getOwnPropertySymbols,RA=Rl?function(e){return e==null?[]:(e=Object(e),BA(Rl(e),function(t){return OA.call(e,t)}))}:TA;Pl.exports=RA});var kl=S((kq,Il)=>{l();c();d();function PA(e,t){for(var r=-1,n=Array(e);++r{l();c();d();function IA(e){return e!=null&&typeof e=="object"}Nl.exports=IA});var Ll=S((Hq,Ml)=>{l();c();d();var kA=vt(),NA=rt(),MA="[object Arguments]";function LA(e){return NA(e)&&kA(e)==MA}Ml.exports=LA});var cn=S((Vq,$l)=>{l();c();d();var jl=Ll(),jA=rt(),ql=Object.prototype,qA=ql.hasOwnProperty,$A=ql.propertyIsEnumerable,UA=jl(function(){return arguments}())?jl:function(e){return jA(e)&&qA.call(e,"callee")&&!$A.call(e,"callee")};$l.exports=UA});var Hl=S((Jq,Ul)=>{l();c();d();function HA(){return!1}Ul.exports=HA});var dn=S((xr,$t)=>{l();c();d();var zA=$e(),WA=Hl(),Gl=typeof xr=="object"&&xr&&!xr.nodeType&&xr,zl=Gl&&typeof $t=="object"&&$t&&!$t.nodeType&&$t,GA=zl&&zl.exports===Gl,Wl=GA?zA.Buffer:void 0,VA=Wl?Wl.isBuffer:void 0,KA=VA||WA;$t.exports=KA});var pn=S((a$,Vl)=>{l();c();d();var YA=9007199254740991,XA=/^(?:0|[1-9]\d*)$/;function JA(e,t){var r=typeof e;return t=t??YA,!!t&&(r=="number"||r!="symbol"&&XA.test(e))&&e>-1&&e%1==0&&e{l();c();d();var QA=9007199254740991;function ZA(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=QA}Kl.exports=ZA});var Xl=S((p$,Yl)=>{l();c();d();var ev=vt(),tv=fn(),rv=rt(),nv="[object Arguments]",av="[object Array]",ov="[object Boolean]",iv="[object Date]",uv="[object Error]",sv="[object Function]",lv="[object Map]",cv="[object Number]",dv="[object Object]",pv="[object RegExp]",fv="[object Set]",hv="[object String]",mv="[object WeakMap]",gv="[object ArrayBuffer]",yv="[object DataView]",Ev="[object Float32Array]",bv="[object Float64Array]",Av="[object Int8Array]",vv="[object Int16Array]",Dv="[object Int32Array]",Cv="[object Uint8Array]",xv="[object Uint8ClampedArray]",Fv="[object Uint16Array]",Sv="[object Uint32Array]",ce={};ce[Ev]=ce[bv]=ce[Av]=ce[vv]=ce[Dv]=ce[Cv]=ce[xv]=ce[Fv]=ce[Sv]=!0;ce[nv]=ce[av]=ce[gv]=ce[ov]=ce[yv]=ce[iv]=ce[uv]=ce[sv]=ce[lv]=ce[cv]=ce[dv]=ce[pv]=ce[fv]=ce[hv]=ce[mv]=!1;function wv(e){return rv(e)&&tv(e.length)&&!!ce[ev(e)]}Yl.exports=wv});var hn=S((g$,Jl)=>{l();c();d();function Bv(e){return function(t){return e(t)}}Jl.exports=Bv});var mn=S((Fr,Ut)=>{l();c();d();var Tv=to(),Ql=typeof Fr=="object"&&Fr&&!Fr.nodeType&&Fr,Sr=Ql&&typeof Ut=="object"&&Ut&&!Ut.nodeType&&Ut,_v=Sr&&Sr.exports===Ql,fo=_v&&Tv.process,Ov=function(){try{var e=Sr&&Sr.require&&Sr.require("util").types;return e||fo&&fo.binding&&fo.binding("util")}catch{}}();Ut.exports=Ov});var ho=S((C$,tc)=>{l();c();d();var Rv=Xl(),Pv=hn(),Zl=mn(),ec=Zl&&Zl.isTypedArray,Iv=ec?Pv(ec):Rv;tc.exports=Iv});var mo=S((w$,rc)=>{l();c();d();var kv=kl(),Nv=cn(),Mv=Ge(),Lv=dn(),jv=pn(),qv=ho(),$v=Object.prototype,Uv=$v.hasOwnProperty;function Hv(e,t){var r=Mv(e),n=!r&&Nv(e),a=!r&&!n&&Lv(e),o=!r&&!n&&!a&&qv(e),i=r||n||a||o,u=i?kv(e.length,String):[],s=u.length;for(var p in e)(t||Uv.call(e,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||o&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||jv(p,s)))&&u.push(p);return u}rc.exports=Hv});var gn=S((O$,nc)=>{l();c();d();var zv=Object.prototype;function Wv(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||zv;return e===r}nc.exports=Wv});var go=S((k$,ac)=>{l();c();d();function Gv(e,t){return function(r){return e(t(r))}}ac.exports=Gv});var ic=S((j$,oc)=>{l();c();d();var Vv=go(),Kv=Vv(Object.keys,Object);oc.exports=Kv});var sc=S((H$,uc)=>{l();c();d();var Yv=gn(),Xv=ic(),Jv=Object.prototype,Qv=Jv.hasOwnProperty;function Zv(e){if(!Yv(e))return Xv(e);var t=[];for(var r in Object(e))Qv.call(e,r)&&r!="constructor"&&t.push(r);return t}uc.exports=Zv});var yo=S((V$,lc)=>{l();c();d();var eD=ro(),tD=fn();function rD(e){return e!=null&&tD(e.length)&&!eD(e)}lc.exports=rD});var Ht=S((J$,cc)=>{l();c();d();var nD=mo(),aD=sc(),oD=yo();function iD(e){return oD(e)?nD(e):aD(e)}cc.exports=iD});var Eo=S((tU,dc)=>{l();c();d();var uD=co(),sD=ln(),lD=Ht();function cD(e){return uD(e,lD,sD)}dc.exports=cD});var hc=S((oU,fc)=>{l();c();d();var pc=Eo(),dD=1,pD=Object.prototype,fD=pD.hasOwnProperty;function hD(e,t,r,n,a,o){var i=r&dD,u=pc(e),s=u.length,p=pc(t),y=p.length;if(s!=y&&!i)return!1;for(var b=s;b--;){var m=u[b];if(!(i?m in t:fD.call(t,m)))return!1}var g=o.get(e),A=o.get(t);if(g&&A)return g==t&&A==e;var E=!0;o.set(e,t),o.set(t,e);for(var x=i;++b{l();c();d();var mD=lt(),gD=$e(),yD=mD(gD,"DataView");mc.exports=yD});var Ec=S((fU,yc)=>{l();c();d();var ED=lt(),bD=$e(),AD=ED(bD,"Promise");yc.exports=AD});var bo=S((yU,bc)=>{l();c();d();var vD=lt(),DD=$e(),CD=vD(DD,"Set");bc.exports=CD});var vc=S((vU,Ac)=>{l();c();d();var xD=lt(),FD=$e(),SD=xD(FD,"WeakMap");Ac.exports=SD});var wr=S((FU,Bc)=>{l();c();d();var Ao=gc(),vo=rn(),Do=Ec(),Co=bo(),xo=vc(),wc=vt(),zt=ao(),Dc="[object Map]",wD="[object Object]",Cc="[object Promise]",xc="[object Set]",Fc="[object WeakMap]",Sc="[object DataView]",BD=zt(Ao),TD=zt(vo),_D=zt(Do),OD=zt(Co),RD=zt(xo),Dt=wc;(Ao&&Dt(new Ao(new ArrayBuffer(1)))!=Sc||vo&&Dt(new vo)!=Dc||Do&&Dt(Do.resolve())!=Cc||Co&&Dt(new Co)!=xc||xo&&Dt(new xo)!=Fc)&&(Dt=function(e){var t=wc(e),r=t==wD?e.constructor:void 0,n=r?zt(r):"";if(n)switch(n){case BD:return Sc;case TD:return Dc;case _D:return Cc;case OD:return xc;case RD:return Fc}return t});Bc.exports=Dt});var Nc=S((TU,kc)=>{l();c();d();var Fo=an(),PD=uo(),ID=Fl(),kD=hc(),Tc=wr(),_c=Ge(),Oc=dn(),ND=ho(),MD=1,Rc="[object Arguments]",Pc="[object Array]",yn="[object Object]",LD=Object.prototype,Ic=LD.hasOwnProperty;function jD(e,t,r,n,a,o){var i=_c(e),u=_c(t),s=i?Pc:Tc(e),p=u?Pc:Tc(t);s=s==Rc?yn:s,p=p==Rc?yn:p;var y=s==yn,b=p==yn,m=s==p;if(m&&Oc(e)){if(!Oc(t))return!1;i=!0,y=!1}if(m&&!y)return o||(o=new Fo),i||ND(e)?PD(e,t,r,n,a,o):ID(e,t,s,r,n,a,o);if(!(r&MD)){var g=y&&Ic.call(e,"__wrapped__"),A=b&&Ic.call(t,"__wrapped__");if(g||A){var E=g?e.value():e,x=A?t.value():t;return o||(o=new Fo),a(E,x,r,n,o)}}return m?(o||(o=new Fo),kD(e,t,r,n,a,o)):!1}kc.exports=jD});var So=S((PU,jc)=>{l();c();d();var qD=Nc(),Mc=rt();function Lc(e,t,r,n,a){return e===t?!0:e==null||t==null||!Mc(e)&&!Mc(t)?e!==e&&t!==t:qD(e,t,r,n,Lc,a)}jc.exports=Lc});var $c=S((MU,qc)=>{l();c();d();var $D=an(),UD=So(),HD=1,zD=2;function WD(e,t,r,n){var a=r.length,o=a,i=!n;if(e==null)return!o;for(e=Object(e);a--;){var u=r[a];if(i&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a{l();c();d();var GD=We();function VD(e){return e===e&&!GD(e)}Uc.exports=VD});var zc=S((WU,Hc)=>{l();c();d();var KD=wo(),YD=Ht();function XD(e){for(var t=YD(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,KD(a)]}return t}Hc.exports=XD});var Bo=S((YU,Wc)=>{l();c();d();function JD(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}Wc.exports=JD});var Vc=S((ZU,Gc)=>{l();c();d();var QD=$c(),ZD=zc(),eC=Bo();function tC(e){var t=ZD(e);return t.length==1&&t[0][2]?eC(t[0][0],t[0][1]):function(r){return r===e||QD(r,e,t)}}Gc.exports=tC});var Br=S((nH,Kc)=>{l();c();d();var rC=vt(),nC=rt(),aC="[object Symbol]";function oC(e){return typeof e=="symbol"||nC(e)&&rC(e)==aC}Kc.exports=oC});var En=S((uH,Yc)=>{l();c();d();var iC=Ge(),uC=Br(),sC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lC=/^\w*$/;function cC(e,t){if(iC(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||uC(e)?!0:lC.test(e)||!sC.test(e)||t!=null&&e in Object(t)}Yc.exports=cC});var Qc=S((dH,Jc)=>{l();c();d();var Xc=nn(),dC="Expected a function";function To(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(dC);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i)||o,i};return r.cache=new(To.Cache||Xc),r}To.Cache=Xc;Jc.exports=To});var ed=S((mH,Zc)=>{l();c();d();var pC=Qc(),fC=500;function hC(e){var t=pC(e,function(n){return r.size===fC&&r.clear(),n}),r=t.cache;return t}Zc.exports=hC});var rd=S((bH,td)=>{l();c();d();var mC=ed(),gC=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yC=/\\(\\)?/g,EC=mC(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(gC,function(r,n,a,o){t.push(a?o.replace(yC,"$1"):n||r)}),t});td.exports=EC});var sd=S((CH,ud)=>{l();c();d();var nd=At(),bC=eo(),AC=Ge(),vC=Br(),DC=1/0,ad=nd?nd.prototype:void 0,od=ad?ad.toString:void 0;function id(e){if(typeof e=="string")return e;if(AC(e))return bC(e,id)+"";if(vC(e))return od?od.call(e):"";var t=e+"";return t=="0"&&1/e==-DC?"-0":t}ud.exports=id});var cd=S((wH,ld)=>{l();c();d();var CC=sd();function xC(e){return e==null?"":CC(e)}ld.exports=xC});var Tr=S((OH,dd)=>{l();c();d();var FC=Ge(),SC=En(),wC=rd(),BC=cd();function TC(e,t){return FC(e)?e:SC(e,t)?[e]:wC(BC(e))}dd.exports=TC});var Wt=S((kH,pd)=>{l();c();d();var _C=Br(),OC=1/0;function RC(e){if(typeof e=="string"||_C(e))return e;var t=e+"";return t=="0"&&1/e==-OC?"-0":t}pd.exports=RC});var bn=S((jH,fd)=>{l();c();d();var PC=Tr(),IC=Wt();function kC(e,t){t=PC(t,e);for(var r=0,n=t.length;e!=null&&r{l();c();d();var NC=bn();function MC(e,t,r){var n=e==null?void 0:NC(e,t);return n===void 0?r:n}hd.exports=MC});var yd=S((VH,gd)=>{l();c();d();function LC(e,t){return e!=null&&t in Object(e)}gd.exports=LC});var bd=S((JH,Ed)=>{l();c();d();var jC=Tr(),qC=cn(),$C=Ge(),UC=pn(),HC=fn(),zC=Wt();function WC(e,t,r){t=jC(t,e);for(var n=-1,a=t.length,o=!1;++n{l();c();d();var GC=yd(),VC=bd();function KC(e,t){return e!=null&&VC(e,t,GC)}Ad.exports=KC});var Dd=S((oz,vd)=>{l();c();d();var YC=So(),XC=md(),JC=_o(),QC=En(),ZC=wo(),ex=Bo(),tx=Wt(),rx=1,nx=2;function ax(e,t){return QC(e)&&ZC(t)?ex(tx(e),t):function(r){var n=XC(r,e);return n===void 0&&n===t?JC(r,e):YC(t,n,rx|nx)}}vd.exports=ax});var Oo=S((lz,Cd)=>{l();c();d();function ox(e){return e}Cd.exports=ox});var Fd=S((fz,xd)=>{l();c();d();function ix(e){return function(t){return t?.[e]}}xd.exports=ix});var wd=S((yz,Sd)=>{l();c();d();var ux=bn();function sx(e){return function(t){return ux(t,e)}}Sd.exports=sx});var Td=S((vz,Bd)=>{l();c();d();var lx=Fd(),cx=wd(),dx=En(),px=Wt();function fx(e){return dx(e)?lx(px(e)):cx(e)}Bd.exports=fx});var Ro=S((Fz,_d)=>{l();c();d();var hx=Vc(),mx=Dd(),gx=Oo(),yx=Ge(),Ex=Td();function bx(e){return typeof e=="function"?e:e==null?gx:typeof e=="object"?yx(e)?mx(e[0],e[1]):hx(e):Ex(e)}_d.exports=bx});var Po=S((Tz,Od)=>{l();c();d();var Ax=lt(),vx=function(){try{var e=Ax(Object,"defineProperty");return e({},"",{}),e}catch{}}();Od.exports=vx});var An=S((Pz,Pd)=>{l();c();d();var Rd=Po();function Dx(e,t,r){t=="__proto__"&&Rd?Rd(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}Pd.exports=Dx});var vn=S((Mz,Id)=>{l();c();d();var Cx=An(),xx=tn(),Fx=Object.prototype,Sx=Fx.hasOwnProperty;function wx(e,t,r){var n=e[t];(!(Sx.call(e,t)&&xx(n,r))||r===void 0&&!(t in e))&&Cx(e,t,r)}Id.exports=wx});var Md=S(($z,Nd)=>{l();c();d();var Bx=vn(),Tx=Tr(),_x=pn(),kd=We(),Ox=Wt();function Rx(e,t,r,n){if(!kd(e))return e;t=Tx(t,e);for(var a=-1,o=t.length,i=o-1,u=e;u!=null&&++a{l();c();d();var Px=bn(),Ix=Md(),kx=Tr();function Nx(e,t,r){for(var n=-1,a=t.length,o={};++n{l();c();d();var Mx=go(),Lx=Mx(Object.getPrototypeOf,Object);jd.exports=Lx});var ko=S((Zz,qd)=>{l();c();d();var jx=sn(),qx=Dn(),$x=ln(),Ux=po(),Hx=Object.getOwnPropertySymbols,zx=Hx?function(e){for(var t=[];e;)jx(t,$x(e)),e=qx(e);return t}:Ux;qd.exports=zx});var Ud=S((nW,$d)=>{l();c();d();function Wx(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}$d.exports=Wx});var zd=S((uW,Hd)=>{l();c();d();var Gx=We(),Vx=gn(),Kx=Ud(),Yx=Object.prototype,Xx=Yx.hasOwnProperty;function Jx(e){if(!Gx(e))return Kx(e);var t=Vx(e),r=[];for(var n in e)n=="constructor"&&(t||!Xx.call(e,n))||r.push(n);return r}Hd.exports=Jx});var Cn=S((dW,Wd)=>{l();c();d();var Qx=mo(),Zx=zd(),eF=yo();function tF(e){return eF(e)?Qx(e,!0):Zx(e)}Wd.exports=tF});var No=S((mW,Gd)=>{l();c();d();var rF=co(),nF=ko(),aF=Cn();function oF(e){return rF(e,aF,nF)}Gd.exports=oF});var Mo=S((bW,Vd)=>{l();c();d();var iF=eo(),uF=Ro(),sF=Io(),lF=No();function cF(e,t){if(e==null)return{};var r=iF(lF(e),function(n){return[n]});return t=uF(t),sF(e,r,function(n,a){return t(n,a[0])})}Vd.exports=cF});var Sn=S((Cp,Ko)=>{l();c();d();(function(e){if(typeof Cp=="object"&&typeof Ko<"u")Ko.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,r;return function n(a,o,i){function u(y,b){if(!o[y]){if(!a[y]){var m=typeof dr=="function"&&dr;if(!b&&m)return m(y,!0);if(s)return s(y,!0);var g=new Error("Cannot find module '"+y+"'");throw g.code="MODULE_NOT_FOUND",g}var A=o[y]={exports:{}};a[y][0].call(A.exports,function(E){var x=a[y][1][E];return u(x||E)},A,A.exports,n,a,o,i)}return o[y].exports}for(var s=typeof dr=="function"&&dr,p=0;p=0)return this.lastItem=this.list[s],this.list[s].val},i.prototype.set=function(u,s){var p;return this.lastItem&&this.isEqual(this.lastItem.key,u)?(this.lastItem.val=s,this):(p=this.indexOf(u),p>=0?(this.lastItem=this.list[p],this.list[p].val=s,this):(this.lastItem={key:u,val:s},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(u){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,u)&&(this.lastItem=void 0),s=this.indexOf(u),s>=0)return this.size--,this.list.splice(s,1)[0]},i.prototype.has=function(u){var s;return this.lastItem&&this.isEqual(this.lastItem.key,u)?!0:(s=this.indexOf(u),s>=0?(this.lastItem=this.list[s],!0):!1)},i.prototype.forEach=function(u,s){var p;for(p=0;p0&&(I[B]={cacheItem:E,arg:arguments[B]},L?u(m,I):m.push(I),m.length>y&&s(m.shift())),A.wasMemoized=L,A.numArgs=B+1,F};return A.limit=y,A.wasMemoized=!1,A.cache=b,A.lru=m,A}};function u(y,b){var m=y.length,g=b.length,A,E,x;for(E=0;E=0&&(m=y[A],g=m.cacheItem.get(m.arg),!g||!g.size);A--)m.cacheItem.delete(m.arg)}function p(y,b){return y===b||y!==y&&b!==b}},{"map-or-similar":1}]},{},[3])(3)})});var Fp=S(($W,xp)=>{l();c();d();function xS(e,t,r,n){for(var a=e.length,o=r+(n?1:-1);n?o--:++o{l();c();d();function FS(e){return e!==e}Sp.exports=FS});var Tp=S((YW,Bp)=>{l();c();d();function SS(e,t,r){for(var n=r-1,a=e.length;++n{l();c();d();var wS=Fp(),BS=wp(),TS=Tp();function _S(e,t,r){return t===t?TS(e,t,r):wS(e,BS,r)}_p.exports=_S});var Pp=S((nG,Rp)=>{l();c();d();var OS=Op();function RS(e,t){var r=e==null?0:e.length;return!!r&&OS(e,t,0)>-1}Rp.exports=RS});var kp=S((uG,Ip)=>{l();c();d();function PS(e,t,r){for(var n=-1,a=e==null?0:e.length;++n{l();c();d();function IS(){}Np.exports=IS});var jp=S((mG,Lp)=>{l();c();d();var Yo=bo(),kS=Mp(),NS=un(),MS=1/0,LS=Yo&&1/NS(new Yo([,-0]))[1]==MS?function(e){return new Yo(e)}:kS;Lp.exports=LS});var $p=S((bG,qp)=>{l();c();d();var jS=oo(),qS=Pp(),$S=kp(),US=io(),HS=jp(),zS=un(),WS=200;function GS(e,t,r){var n=-1,a=qS,o=e.length,i=!0,u=[],s=u;if(r)i=!1,a=$S;else if(o>=WS){var p=t?null:HS(e);if(p)return zS(p);i=!1,a=US,s=new jS}else s=t?[]:u;e:for(;++n{l();c();d();var VS=$p();function KS(e){return e&&e.length?VS(e):[]}Up.exports=KS});var Wp=S((wG,zp)=>{l();c();d();function YS(e,t){for(var r=-1,n=e==null?0:e.length;++r{l();c();d();var XS=vn(),JS=An();function QS(e,t,r,n){var a=!r;r||(r={});for(var o=-1,i=t.length;++o{l();c();d();var ZS=Or(),ew=Ht();function tw(e,t){return e&&ZS(t,ew(t),e)}Vp.exports=tw});var Xp=S((jG,Yp)=>{l();c();d();var rw=Or(),nw=Cn();function aw(e,t){return e&&rw(t,nw(t),e)}Yp.exports=aw});var tf=S((Rr,Vt)=>{l();c();d();var ow=$e(),ef=typeof Rr=="object"&&Rr&&!Rr.nodeType&&Rr,Jp=ef&&typeof Vt=="object"&&Vt&&!Vt.nodeType&&Vt,iw=Jp&&Jp.exports===ef,Qp=iw?ow.Buffer:void 0,Zp=Qp?Qp.allocUnsafe:void 0;function uw(e,t){if(t)return e.slice();var r=e.length,n=Zp?Zp(r):new e.constructor(r);return e.copy(n),n}Vt.exports=uw});var nf=S((GG,rf)=>{l();c();d();function sw(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r{l();c();d();var lw=Or(),cw=ln();function dw(e,t){return lw(e,cw(e),t)}af.exports=dw});var sf=S((eV,uf)=>{l();c();d();var pw=Or(),fw=ko();function hw(e,t){return pw(e,fw(e),t)}uf.exports=hw});var cf=S((aV,lf)=>{l();c();d();var mw=Object.prototype,gw=mw.hasOwnProperty;function yw(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&gw.call(e,"index")&&(r.index=e.index,r.input=e.input),r}lf.exports=yw});var wn=S((sV,pf)=>{l();c();d();var df=so();function Ew(e){var t=new e.constructor(e.byteLength);return new df(t).set(new df(e)),t}pf.exports=Ew});var hf=S((pV,ff)=>{l();c();d();var bw=wn();function Aw(e,t){var r=t?bw(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}ff.exports=Aw});var gf=S((gV,mf)=>{l();c();d();var vw=/\w*$/;function Dw(e){var t=new e.constructor(e.source,vw.exec(e));return t.lastIndex=e.lastIndex,t}mf.exports=Dw});var vf=S((AV,Af)=>{l();c();d();var yf=At(),Ef=yf?yf.prototype:void 0,bf=Ef?Ef.valueOf:void 0;function Cw(e){return bf?Object(bf.call(e)):{}}Af.exports=Cw});var Cf=S((xV,Df)=>{l();c();d();var xw=wn();function Fw(e,t){var r=t?xw(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}Df.exports=Fw});var Ff=S((BV,xf)=>{l();c();d();var Sw=wn(),ww=hf(),Bw=gf(),Tw=vf(),_w=Cf(),Ow="[object Boolean]",Rw="[object Date]",Pw="[object Map]",Iw="[object Number]",kw="[object RegExp]",Nw="[object Set]",Mw="[object String]",Lw="[object Symbol]",jw="[object ArrayBuffer]",qw="[object DataView]",$w="[object Float32Array]",Uw="[object Float64Array]",Hw="[object Int8Array]",zw="[object Int16Array]",Ww="[object Int32Array]",Gw="[object Uint8Array]",Vw="[object Uint8ClampedArray]",Kw="[object Uint16Array]",Yw="[object Uint32Array]";function Xw(e,t,r){var n=e.constructor;switch(t){case jw:return Sw(e);case Ow:case Rw:return new n(+e);case qw:return ww(e,r);case $w:case Uw:case Hw:case zw:case Ww:case Gw:case Vw:case Kw:case Yw:return _w(e,r);case Pw:return new n;case Iw:case Mw:return new n(e);case kw:return Bw(e);case Nw:return new n;case Lw:return Tw(e)}}xf.exports=Xw});var Bf=S((RV,wf)=>{l();c();d();var Jw=We(),Sf=Object.create,Qw=function(){function e(){}return function(t){if(!Jw(t))return{};if(Sf)return Sf(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();wf.exports=Qw});var _f=S((NV,Tf)=>{l();c();d();var Zw=Bf(),e5=Dn(),t5=gn();function r5(e){return typeof e.constructor=="function"&&!t5(e)?Zw(e5(e)):{}}Tf.exports=r5});var Rf=S((qV,Of)=>{l();c();d();var n5=wr(),a5=rt(),o5="[object Map]";function i5(e){return a5(e)&&n5(e)==o5}Of.exports=i5});var Nf=S((zV,kf)=>{l();c();d();var u5=Rf(),s5=hn(),Pf=mn(),If=Pf&&Pf.isMap,l5=If?s5(If):u5;kf.exports=l5});var Lf=S((KV,Mf)=>{l();c();d();var c5=wr(),d5=rt(),p5="[object Set]";function f5(e){return d5(e)&&c5(e)==p5}Mf.exports=f5});var Uf=S((QV,$f)=>{l();c();d();var h5=Lf(),m5=hn(),jf=mn(),qf=jf&&jf.isSet,g5=qf?m5(qf):h5;$f.exports=g5});var Vf=S((rK,Gf)=>{l();c();d();var y5=an(),E5=Wp(),b5=vn(),A5=Kp(),v5=Xp(),D5=tf(),C5=nf(),x5=of(),F5=sf(),S5=Eo(),w5=No(),B5=wr(),T5=cf(),_5=Ff(),O5=_f(),R5=Ge(),P5=dn(),I5=Nf(),k5=We(),N5=Uf(),M5=Ht(),L5=Cn(),j5=1,q5=2,$5=4,Hf="[object Arguments]",U5="[object Array]",H5="[object Boolean]",z5="[object Date]",W5="[object Error]",zf="[object Function]",G5="[object GeneratorFunction]",V5="[object Map]",K5="[object Number]",Wf="[object Object]",Y5="[object RegExp]",X5="[object Set]",J5="[object String]",Q5="[object Symbol]",Z5="[object WeakMap]",e3="[object ArrayBuffer]",t3="[object DataView]",r3="[object Float32Array]",n3="[object Float64Array]",a3="[object Int8Array]",o3="[object Int16Array]",i3="[object Int32Array]",u3="[object Uint8Array]",s3="[object Uint8ClampedArray]",l3="[object Uint16Array]",c3="[object Uint32Array]",le={};le[Hf]=le[U5]=le[e3]=le[t3]=le[H5]=le[z5]=le[r3]=le[n3]=le[a3]=le[o3]=le[i3]=le[V5]=le[K5]=le[Wf]=le[Y5]=le[X5]=le[J5]=le[Q5]=le[u3]=le[s3]=le[l3]=le[c3]=!0;le[W5]=le[zf]=le[Z5]=!1;function Bn(e,t,r,n,a,o){var i,u=t&j5,s=t&q5,p=t&$5;if(r&&(i=a?r(e,n,a,o):r(e)),i!==void 0)return i;if(!k5(e))return e;var y=R5(e);if(y){if(i=T5(e),!u)return C5(e,i)}else{var b=B5(e),m=b==zf||b==G5;if(P5(e))return D5(e,u);if(b==Wf||b==Hf||m&&!a){if(i=s||m?{}:O5(e),!u)return s?F5(e,v5(i,e)):x5(e,A5(i,e))}else{if(!le[b])return a?e:{};i=_5(e,b,u)}}o||(o=new y5);var g=o.get(e);if(g)return g;o.set(e,i),N5(e)?e.forEach(function(x){i.add(Bn(x,t,r,x,e,o))}):I5(e)&&e.forEach(function(x,F){i.set(F,Bn(x,t,r,F,e,o))});var A=p?s?w5:S5:s?L5:M5,E=y?void 0:A(e);return E5(E||e,function(x,F){E&&(F=x,x=e[F]),b5(i,F,Bn(x,t,r,F,e,o))}),i}Gf.exports=Bn});var Yf=S((iK,Kf)=>{l();c();d();var d3=Vf(),p3=1,f3=4;function h3(e){return d3(e,p3|f3)}Kf.exports=h3});var a0=S((VK,n0)=>{l();c();d();function G3(e){return function(t,r,n){for(var a=-1,o=Object(t),i=n(t),u=i.length;u--;){var s=i[e?u:++a];if(r(o[s],s,o)===!1)break}return t}}n0.exports=G3});var i0=S((JK,o0)=>{l();c();d();var V3=a0(),K3=V3();o0.exports=K3});var s0=S((tY,u0)=>{l();c();d();var Y3=i0(),X3=Ht();function J3(e,t){return e&&Y3(e,t,X3)}u0.exports=J3});var In=S((oY,l0)=>{l();c();d();var Q3=An(),Z3=s0(),eB=Ro();function tB(e,t){var r={};return t=eB(t,3),Z3(e,function(n,a,o){Q3(r,a,t(n,a,o))}),r}l0.exports=tB});var d0=S((lY,c0)=>{l();c();d();var rB=Io(),nB=_o();function aB(e,t){return rB(e,t,function(r,n){return nB(e,n)})}c0.exports=aB});var m0=S((fY,h0)=>{l();c();d();var p0=At(),oB=cn(),iB=Ge(),f0=p0?p0.isConcatSpreadable:void 0;function uB(e){return iB(e)||oB(e)||!!(f0&&e&&e[f0])}h0.exports=uB});var E0=S((yY,y0)=>{l();c();d();var sB=sn(),lB=m0();function g0(e,t,r,n,a){var o=-1,i=e.length;for(r||(r=lB),a||(a=[]);++o0&&r(u)?t>1?g0(u,t-1,r,n,a):sB(a,u):n||(a[a.length]=u)}return a}y0.exports=g0});var A0=S((vY,b0)=>{l();c();d();var cB=E0();function dB(e){var t=e==null?0:e.length;return t?cB(e,1):[]}b0.exports=dB});var D0=S((FY,v0)=>{l();c();d();function pB(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}v0.exports=pB});var F0=S((TY,x0)=>{l();c();d();var fB=D0(),C0=Math.max;function hB(e,t,r){return t=C0(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,o=C0(n.length-t,0),i=Array(o);++a{l();c();d();function mB(e){return function(){return e}}S0.exports=mB});var _0=S((MY,T0)=>{l();c();d();var gB=w0(),B0=Po(),yB=Oo(),EB=B0?function(e,t){return B0(e,"toString",{configurable:!0,enumerable:!1,value:gB(t),writable:!0})}:yB;T0.exports=EB});var R0=S(($Y,O0)=>{l();c();d();var bB=800,AB=16,vB=Date.now;function DB(e){var t=0,r=0;return function(){var n=vB(),a=AB-(n-r);if(r=n,a>0){if(++t>=bB)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}O0.exports=DB});var I0=S((WY,P0)=>{l();c();d();var CB=_0(),xB=R0(),FB=xB(CB);P0.exports=FB});var N0=S((YY,k0)=>{l();c();d();var SB=A0(),wB=F0(),BB=I0();function TB(e){return BB(wB(e,void 0,SB),e+"")}k0.exports=TB});var L0=S((ZY,M0)=>{l();c();d();var _B=d0(),OB=N0(),RB=OB(function(e,t){return e==null?{}:_B(e,t)});M0.exports=RB});var Nn=S((nX,z0)=>{"use strict";l();c();d();function kn(e){return Array.prototype.slice.apply(e)}var U0="pending",j0="resolved",q0="rejected";function ae(e){this.status=U0,this._continuations=[],this._parent=null,this._paused=!1,e&&e.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function Pr(e){return e&&typeof e.then=="function"}function PB(e){return e}ae.prototype={then:function(e,t){var r=ae.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:r,nextFn:e,catchFn:t}),r;if(t)try{var n=t(this._error);return Pr(n)?(this._chainPromiseData(n,r),r):ae.resolve(n)._setParent(this)}catch(a){return ae.reject(a)._setParent(this)}return ae.reject(this._error)._setParent(this)}return this._continuations.push({promise:r,nextFn:e,catchFn:t}),this._runResolutions(),r},catch:function(e){if(this._isResolved())return ae.resolve(this._data)._setParent(this);var t=ae.unresolved()._setParent(this);return this._continuations.push({promise:t,catchFn:e}),this._runRejections(),t},finally:function(e){var t=!1;function r(n,a){if(!t){t=!0,e||(e=PB);var o=e(n);return Pr(o)?o.then(function(){if(a)throw a;return n}):n}}return this.then(function(n){return r(n)}).catch(function(n){return r(null,n)})},pause:function(){return this._paused=!0,this},resume:function(){var e=this._findFirstPaused();return e&&(e._paused=!1,e._runResolutions(),e._runRejections()),this},_findAncestry:function(){return this._continuations.reduce(function(e,t){if(t.promise){var r={promise:t.promise,children:t.promise._findAncestry()};e.push(r)}return e},[])},_setParent:function(e){if(this._parent)throw new Error("parent already set");return this._parent=e,this},_continueWith:function(e){var t=this._findFirstPending();t&&(t._data=e,t._setResolved())},_findFirstPending:function(){return this._findFirstAncestor(function(e){return e._isPending&&e._isPending()})},_findFirstPaused:function(){return this._findFirstAncestor(function(e){return e._paused})},_findFirstAncestor:function(e){for(var t=this,r;t;)e(t)&&(r=t),t=t._parent;return r},_failWith:function(e){var t=this._findFirstPending();t&&(t._error=e,t._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!(this._paused||!this._isRejected())){var e=this._error,t=this._takeContinuations(),r=this;t.forEach(function(n){if(n.catchFn)try{var a=n.catchFn(e);r._handleUserFunctionResult(a,n.promise)}catch(o){n.promise.reject(o)}else n.promise.reject(e)})}},_runResolutions:function(){if(!(this._paused||!this._isResolved()||this._isPending())){var e=this._takeContinuations(),t=this._data,r=this;if(e.forEach(function(n){if(n.nextFn)try{var a=n.nextFn(t);r._handleUserFunctionResult(a,n.promise)}catch(o){r._handleResolutionError(o,n)}else n.promise&&n.promise.resolve(t)}),Pr(this._data))return this._handleWhenResolvedDataIsPromise(this._data)}},_handleResolutionError:function(e,t){if(this._setRejected(),t.catchFn)try{t.catchFn(e);return}catch(r){e=r}t.promise&&t.promise.reject(e)},_handleWhenResolvedDataIsPromise:function(e){var t=this;return e.then(function(r){t._data=r,t._runResolutions()}).catch(function(r){t._error=r,t._setRejected(),t._runRejections()})},_handleUserFunctionResult:function(e,t){Pr(e)?this._chainPromiseData(e,t):t.resolve(e)},_chainPromiseData:function(e,t){e.then(function(r){t.resolve(r)}).catch(function(r){t.reject(r)})},_setResolved:function(){this.status=j0,this._paused||this._runResolutions()},_setRejected:function(){this.status=q0,this._paused||this._runRejections()},_isPending:function(){return this.status===U0},_isResolved:function(){return this.status===j0},_isRejected:function(){return this.status===q0}};ae.resolve=function(e){return new ae(function(t,r){Pr(e)?e.then(function(n){t(n)}).catch(function(n){r(n)}):t(e)})};ae.reject=function(e){return new ae(function(t,r){r(e)})};ae.unresolved=function(){return new ae(function(e,t){this.resolve=e,this.reject=t})};ae.all=function(){var e=kn(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new ae(function(t,r){var n=[],a=0,o=function(){a===e.length&&t(n)},i=!1,u=function(s){i||(i=!0,r(s))};e.forEach(function(s,p){ae.resolve(s).then(function(y){n[p]=y,a+=1,o()}).catch(function(y){u(y)})})}):ae.resolve([])};function $0(e){return typeof window<"u"&&"AggregateError"in window?new window.AggregateError(e):{errors:e}}ae.any=function(){var e=kn(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new ae(function(t,r){var n=[],a=0,o=function(){a===e.length&&r($0(n))},i=!1,u=function(s){i||(i=!0,t(s))};e.forEach(function(s,p){ae.resolve(s).then(function(y){u(y)}).catch(function(y){n[p]=y,a+=1,o()})})}):ae.reject($0([]))};ae.allSettled=function(){var e=kn(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new ae(function(t){var r=[],n=0,a=function(){n+=1,n===e.length&&t(r)};e.forEach(function(o,i){ae.resolve(o).then(function(u){r[i]={status:"fulfilled",value:u},a()}).catch(function(u){r[i]={status:"rejected",reason:u},a()})})}):ae.resolve([])};if(Promise===ae)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var H0=Promise;ae.installGlobally=function(e){if(Promise===ae)return e;var t=IB(e);return Promise=ae,t};ae.uninstallGlobally=function(){Promise===ae&&(Promise=H0)};function IB(e){if(typeof e>"u"||e.__patched)return e;var t=e;return e=function(){var r=H0;t.apply(this,kn(arguments))},e.__patched=!0,e}z0.exports={SynchronousPromise:ae}});var Zo=S((SX,G0)=>{l();c();d();var NB=vt(),MB=Dn(),LB=rt(),jB="[object Object]",qB=Function.prototype,$B=Object.prototype,W0=qB.toString,UB=$B.hasOwnProperty,HB=W0.call(Object);function zB(e){if(!LB(e)||NB(e)!=jB)return!1;var t=MB(e);if(t===null)return!0;var r=UB.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&W0.call(r)==HB}G0.exports=zB});var K0=S((_X,V0)=>{l();c();d();V0.exports=WB;function WB(e,t){if(ei("noDeprecation"))return e;var r=!1;function n(){if(!r){if(ei("throwDeprecation"))throw new Error(t);ei("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return n}function ei(e){try{if(!window.localStorage)return!1}catch{return!1}var t=window.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}});var th=S((ZX,eh)=>{"use strict";l();c();d();eh.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(t,r);if(i.value!==a||i.enumerable!==!0)return!1}return!0}});var ah=S((nJ,nh)=>{"use strict";l();c();d();var rh=typeof Symbol<"u"&&Symbol,uT=th();nh.exports=function(){return typeof rh!="function"||typeof Symbol!="function"||typeof rh("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:uT()}});var uh=S((uJ,ih)=>{"use strict";l();c();d();var oh={foo:{}},sT=Object;ih.exports=function(){return{__proto__:oh}.foo===oh.foo&&!({__proto__:null}instanceof sT)}});var lh=S((dJ,sh)=>{"use strict";l();c();d();var lT="Function.prototype.bind called on incompatible ",ai=Array.prototype.slice,cT=Object.prototype.toString,dT="[object Function]";sh.exports=function(t){var r=this;if(typeof r!="function"||cT.call(r)!==dT)throw new TypeError(lT+r);for(var n=ai.call(arguments,1),a,o=function(){if(this instanceof a){var y=r.apply(this,n.concat(ai.call(arguments)));return Object(y)===y?y:this}else return r.apply(t,n.concat(ai.call(arguments)))},i=Math.max(0,r.length-n.length),u=[],s=0;s{"use strict";l();c();d();var pT=lh();ch.exports=Function.prototype.bind||pT});var ph=S((bJ,dh)=>{"use strict";l();c();d();var fT=$n();dh.exports=fT.call(Function.call,Object.prototype.hasOwnProperty)});var zn=S((CJ,yh)=>{"use strict";l();c();d();var te,Qt=SyntaxError,gh=Function,Jt=TypeError,oi=function(e){try{return gh('"use strict"; return ('+e+").constructor;")()}catch{}},Ft=Object.getOwnPropertyDescriptor;if(Ft)try{Ft({},"")}catch{Ft=null}var ii=function(){throw new Jt},hT=Ft?function(){try{return arguments.callee,ii}catch{try{return Ft(arguments,"callee").get}catch{return ii}}}():ii,Yt=ah()(),mT=uh()(),De=Object.getPrototypeOf||(mT?function(e){return e.__proto__}:null),Xt={},gT=typeof Uint8Array>"u"||!De?te:De(Uint8Array),St={"%AggregateError%":typeof AggregateError>"u"?te:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?te:ArrayBuffer,"%ArrayIteratorPrototype%":Yt&&De?De([][Symbol.iterator]()):te,"%AsyncFromSyncIteratorPrototype%":te,"%AsyncFunction%":Xt,"%AsyncGenerator%":Xt,"%AsyncGeneratorFunction%":Xt,"%AsyncIteratorPrototype%":Xt,"%Atomics%":typeof Atomics>"u"?te:Atomics,"%BigInt%":typeof BigInt>"u"?te:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?te:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?te:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?te:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?te:Float32Array,"%Float64Array%":typeof Float64Array>"u"?te:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?te:FinalizationRegistry,"%Function%":gh,"%GeneratorFunction%":Xt,"%Int8Array%":typeof Int8Array>"u"?te:Int8Array,"%Int16Array%":typeof Int16Array>"u"?te:Int16Array,"%Int32Array%":typeof Int32Array>"u"?te:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Yt&&De?De(De([][Symbol.iterator]())):te,"%JSON%":typeof JSON=="object"?JSON:te,"%Map%":typeof Map>"u"?te:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Yt||!De?te:De(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?te:Promise,"%Proxy%":typeof Proxy>"u"?te:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?te:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?te:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Yt||!De?te:De(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?te:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Yt&&De?De(""[Symbol.iterator]()):te,"%Symbol%":Yt?Symbol:te,"%SyntaxError%":Qt,"%ThrowTypeError%":hT,"%TypedArray%":gT,"%TypeError%":Jt,"%Uint8Array%":typeof Uint8Array>"u"?te:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?te:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?te:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?te:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?te:WeakMap,"%WeakRef%":typeof WeakRef>"u"?te:WeakRef,"%WeakSet%":typeof WeakSet>"u"?te:WeakSet};if(De)try{null.error}catch(e){fh=De(De(e)),St["%Error.prototype%"]=fh}var fh,yT=function e(t){var r;if(t==="%AsyncFunction%")r=oi("async function () {}");else if(t==="%GeneratorFunction%")r=oi("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=oi("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&De&&(r=De(a.prototype))}return St[t]=r,r},hh={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Mr=$n(),Un=ph(),ET=Mr.call(Function.call,Array.prototype.concat),bT=Mr.call(Function.apply,Array.prototype.splice),mh=Mr.call(Function.call,String.prototype.replace),Hn=Mr.call(Function.call,String.prototype.slice),AT=Mr.call(Function.call,RegExp.prototype.exec),vT=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,DT=/\\(\\)?/g,CT=function(t){var r=Hn(t,0,1),n=Hn(t,-1);if(r==="%"&&n!=="%")throw new Qt("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Qt("invalid intrinsic syntax, expected opening `%`");var a=[];return mh(t,vT,function(o,i,u,s){a[a.length]=u?mh(s,DT,"$1"):i||o}),a},xT=function(t,r){var n=t,a;if(Un(hh,n)&&(a=hh[n],n="%"+a[0]+"%"),Un(St,n)){var o=St[n];if(o===Xt&&(o=yT(n)),typeof o>"u"&&!r)throw new Jt("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new Qt("intrinsic "+t+" does not exist!")};yh.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new Jt("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Jt('"allowMissing" argument must be a boolean');if(AT(/^%?[^%]*%?$/,t)===null)throw new Qt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=CT(t),a=n.length>0?n[0]:"",o=xT("%"+a+"%",r),i=o.name,u=o.value,s=!1,p=o.alias;p&&(a=p[0],bT(n,ET([0,1],p)));for(var y=1,b=!0;y=n.length){var E=Ft(u,m);b=!!E,b&&"get"in E&&!("originalValue"in E.get)?u=E.get:u=u[m]}else b=Un(u,m),u=u[m];b&&!s&&(St[i]=u)}}return u}});var Ch=S((wJ,Wn)=>{"use strict";l();c();d();var ui=$n(),Zt=zn(),Ah=Zt("%Function.prototype.apply%"),vh=Zt("%Function.prototype.call%"),Dh=Zt("%Reflect.apply%",!0)||ui.call(vh,Ah),Eh=Zt("%Object.getOwnPropertyDescriptor%",!0),wt=Zt("%Object.defineProperty%",!0),FT=Zt("%Math.max%");if(wt)try{wt({},"a",{value:1})}catch{wt=null}Wn.exports=function(t){var r=Dh(ui,vh,arguments);if(Eh&&wt){var n=Eh(r,"length");n.configurable&&wt(r,"length",{value:1+FT(0,t.length-(arguments.length-1))})}return r};var bh=function(){return Dh(ui,Ah,arguments)};wt?wt(Wn.exports,"apply",{value:bh}):Wn.exports.apply=bh});var wh=S((OJ,Sh)=>{"use strict";l();c();d();var xh=zn(),Fh=Ch(),ST=Fh(xh("String.prototype.indexOf"));Sh.exports=function(t,r){var n=xh(t,!!r);return typeof n=="function"&&ST(t,".prototype.")>-1?Fh(n):n}});var Bh=S(()=>{l();c();d()});var Kh=S((qJ,Vh)=>{l();c();d();var yi=typeof Map=="function"&&Map.prototype,si=Object.getOwnPropertyDescriptor&&yi?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Vn=yi&&si&&typeof si.get=="function"?si.get:null,Th=yi&&Map.prototype.forEach,Ei=typeof Set=="function"&&Set.prototype,li=Object.getOwnPropertyDescriptor&&Ei?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Kn=Ei&&li&&typeof li.get=="function"?li.get:null,_h=Ei&&Set.prototype.forEach,wT=typeof WeakMap=="function"&&WeakMap.prototype,jr=wT?WeakMap.prototype.has:null,BT=typeof WeakSet=="function"&&WeakSet.prototype,qr=BT?WeakSet.prototype.has:null,TT=typeof WeakRef=="function"&&WeakRef.prototype,Oh=TT?WeakRef.prototype.deref:null,_T=Boolean.prototype.valueOf,OT=Object.prototype.toString,RT=Function.prototype.toString,PT=String.prototype.match,bi=String.prototype.slice,ft=String.prototype.replace,IT=String.prototype.toUpperCase,Rh=String.prototype.toLowerCase,$h=RegExp.prototype.test,Ph=Array.prototype.concat,Ye=Array.prototype.join,kT=Array.prototype.slice,Ih=Math.floor,pi=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ci=Object.getOwnPropertySymbols,fi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,er=typeof Symbol=="function"&&typeof Symbol.iterator=="object",we=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===er||"symbol")?Symbol.toStringTag:null,Uh=Object.prototype.propertyIsEnumerable,kh=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Nh(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||$h.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-Ih(-e):Ih(e);if(n!==e){var a=String(n),o=bi.call(t,a.length+1);return ft.call(a,r,"$&_")+"."+ft.call(ft.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ft.call(t,r,"$&_")}var hi=Bh(),Mh=hi.custom,Lh=zh(Mh)?Mh:null;Vh.exports=function e(t,r,n,a){var o=r||{};if(pt(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(pt(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=pt(o,"customInspect")?o.customInspect:!0;if(typeof i!="boolean"&&i!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(pt(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(pt(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Gh(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return u?Nh(t,s):s}if(typeof t=="bigint"){var p=String(t)+"n";return u?Nh(t,p):p}var y=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=y&&y>0&&typeof t=="object")return mi(t)?"[Array]":"[Object]";var b=ZT(o,n);if(typeof a>"u")a=[];else if(Wh(a,t)>=0)return"[Circular]";function m(Y,R,_){if(R&&(a=kT.call(a),a.push(R)),_){var q={depth:o.depth};return pt(o,"quoteStyle")&&(q.quoteStyle=o.quoteStyle),e(Y,q,n+1,a)}return e(Y,o,n+1,a)}if(typeof t=="function"&&!jh(t)){var g=zT(t),A=Gn(t,m);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(A.length>0?" { "+Ye.call(A,", ")+" }":"")}if(zh(t)){var E=er?ft.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):fi.call(t);return typeof t=="object"&&!er?Lr(E):E}if(XT(t)){for(var x="<"+Rh.call(String(t.nodeName)),F=t.attributes||[],B=0;B",x}if(mi(t)){if(t.length===0)return"[]";var I=Gn(t,m);return b&&!QT(I)?"["+gi(I,b)+"]":"[ "+Ye.call(I,", ")+" ]"}if(LT(t)){var L=Gn(t,m);return!("cause"in Error.prototype)&&"cause"in t&&!Uh.call(t,"cause")?"{ ["+String(t)+"] "+Ye.call(Ph.call("[cause]: "+m(t.cause),L),", ")+" }":L.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Ye.call(L,", ")+" }"}if(typeof t=="object"&&i){if(Lh&&typeof t[Lh]=="function"&&hi)return hi(t,{depth:y-n});if(i!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(WT(t)){var w=[];return Th&&Th.call(t,function(Y,R){w.push(m(R,t,!0)+" => "+m(Y,t))}),qh("Map",Vn.call(t),w,b)}if(KT(t)){var k=[];return _h&&_h.call(t,function(Y){k.push(m(Y,t))}),qh("Set",Kn.call(t),k,b)}if(GT(t))return di("WeakMap");if(YT(t))return di("WeakSet");if(VT(t))return di("WeakRef");if(qT(t))return Lr(m(Number(t)));if(UT(t))return Lr(m(pi.call(t)));if($T(t))return Lr(_T.call(t));if(jT(t))return Lr(m(String(t)));if(!MT(t)&&!jh(t)){var N=Gn(t,m),U=kh?kh(t)===Object.prototype:t instanceof Object||t.constructor===Object,V=t instanceof Object?"":"null prototype",H=!U&&we&&Object(t)===t&&we in t?bi.call(ht(t),8,-1):V?"Object":"",ee=U||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",Q=ee+(H||V?"["+Ye.call(Ph.call([],H||[],V||[]),": ")+"] ":"");return N.length===0?Q+"{}":b?Q+"{"+gi(N,b)+"}":Q+"{ "+Ye.call(N,", ")+" }"}return String(t)};function Hh(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function NT(e){return ft.call(String(e),/"/g,""")}function mi(e){return ht(e)==="[object Array]"&&(!we||!(typeof e=="object"&&we in e))}function MT(e){return ht(e)==="[object Date]"&&(!we||!(typeof e=="object"&&we in e))}function jh(e){return ht(e)==="[object RegExp]"&&(!we||!(typeof e=="object"&&we in e))}function LT(e){return ht(e)==="[object Error]"&&(!we||!(typeof e=="object"&&we in e))}function jT(e){return ht(e)==="[object String]"&&(!we||!(typeof e=="object"&&we in e))}function qT(e){return ht(e)==="[object Number]"&&(!we||!(typeof e=="object"&&we in e))}function $T(e){return ht(e)==="[object Boolean]"&&(!we||!(typeof e=="object"&&we in e))}function zh(e){if(er)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!fi)return!1;try{return fi.call(e),!0}catch{}return!1}function UT(e){if(!e||typeof e!="object"||!pi)return!1;try{return pi.call(e),!0}catch{}return!1}var HT=Object.prototype.hasOwnProperty||function(e){return e in this};function pt(e,t){return HT.call(e,t)}function ht(e){return OT.call(e)}function zT(e){if(e.name)return e.name;var t=PT.call(RT.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Wh(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Gh(bi.call(e,0,t.maxStringLength),t)+n}var a=ft.call(ft.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,JT);return Hh(a,"single",t)}function JT(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+IT.call(t.toString(16))}function Lr(e){return"Object("+e+")"}function di(e){return e+" { ? }"}function qh(e,t,r,n){var a=n?gi(r,n):Ye.call(r,", ");return e+" ("+t+") {"+a+"}"}function QT(e){for(var t=0;t=0)return!1;return!0}function ZT(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Ye.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Ye.call(Array(t+1),r)}}function gi(e,t){if(e.length===0)return"";var r=` +`+t.prev+t.base;return r+Ye.call(e,","+r)+` +`+t.prev}function Gn(e,t){var r=mi(e),n=[];if(r){n.length=e.length;for(var a=0;a{"use strict";l();c();d();var Ai=zn(),tr=wh(),e_=Kh(),t_=Ai("%TypeError%"),Yn=Ai("%WeakMap%",!0),Xn=Ai("%Map%",!0),r_=tr("WeakMap.prototype.get",!0),n_=tr("WeakMap.prototype.set",!0),a_=tr("WeakMap.prototype.has",!0),o_=tr("Map.prototype.get",!0),i_=tr("Map.prototype.set",!0),u_=tr("Map.prototype.has",!0),vi=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},s_=function(e,t){var r=vi(e,t);return r&&r.value},l_=function(e,t,r){var n=vi(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},c_=function(e,t){return!!vi(e,t)};Yh.exports=function(){var t,r,n,a={assert:function(o){if(!a.has(o))throw new t_("Side channel does not contain "+e_(o))},get:function(o){if(Yn&&o&&(typeof o=="object"||typeof o=="function")){if(t)return r_(t,o)}else if(Xn){if(r)return o_(r,o)}else if(n)return s_(n,o)},has:function(o){if(Yn&&o&&(typeof o=="object"||typeof o=="function")){if(t)return a_(t,o)}else if(Xn){if(r)return u_(r,o)}else if(n)return c_(n,o);return!1},set:function(o,i){Yn&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new Yn),n_(t,o,i)):Xn?(r||(r=new Xn),i_(r,o,i)):(n||(n={key:{},next:null}),l_(n,o,i))}};return a}});var Jn=S((KJ,Jh)=>{"use strict";l();c();d();var d_=String.prototype.replace,p_=/%20/g,Di={RFC1738:"RFC1738",RFC3986:"RFC3986"};Jh.exports={default:Di.RFC3986,formatters:{RFC1738:function(e){return d_.call(e,p_,"+")},RFC3986:function(e){return String(e)}},RFC1738:Di.RFC1738,RFC3986:Di.RFC3986}});var xi=S((QJ,Zh)=>{"use strict";l();c();d();var f_=Jn(),Ci=Object.prototype.hasOwnProperty,Bt=Array.isArray,Xe=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),h_=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(Bt(n)){for(var a=[],o=0;o=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===f_.RFC1738&&(p===40||p===41)){u+=i.charAt(s);continue}if(p<128){u=u+Xe[p];continue}if(p<2048){u=u+(Xe[192|p>>6]+Xe[128|p&63]);continue}if(p<55296||p>=57344){u=u+(Xe[224|p>>12]+Xe[128|p>>6&63]+Xe[128|p&63]);continue}s+=1,p=65536+((p&1023)<<10|i.charCodeAt(s)&1023),u+=Xe[240|p>>18]+Xe[128|p>>12&63]+Xe[128|p>>6&63]+Xe[128|p&63]}return u},b_=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],a=0;a{"use strict";l();c();d();var rm=Xh(),Qn=xi(),$r=Jn(),x_=Object.prototype.hasOwnProperty,em={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},at=Array.isArray,F_=Array.prototype.push,nm=function(e,t){F_.apply(e,at(t)?t:[t])},S_=Date.prototype.toISOString,tm=$r.default,Be={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Qn.encode,encodeValuesOnly:!1,format:tm,formatter:$r.formatters[tm],indices:!1,serializeDate:function(t){return S_.call(t)},skipNulls:!1,strictNullHandling:!1},w_=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Fi={},B_=function e(t,r,n,a,o,i,u,s,p,y,b,m,g,A,E,x){for(var F=t,B=x,I=0,L=!1;(B=B.get(Fi))!==void 0&&!L;){var w=B.get(t);if(I+=1,typeof w<"u"){if(w===I)throw new RangeError("Cyclic object value");L=!0}typeof B.get(Fi)>"u"&&(I=0)}if(typeof s=="function"?F=s(r,F):F instanceof Date?F=b(F):n==="comma"&&at(F)&&(F=Qn.maybeMap(F,function(q){return q instanceof Date?b(q):q})),F===null){if(o)return u&&!A?u(r,Be.encoder,E,"key",m):r;F=""}if(w_(F)||Qn.isBuffer(F)){if(u){var k=A?r:u(r,Be.encoder,E,"key",m);return[g(k)+"="+g(u(F,Be.encoder,E,"value",m))]}return[g(r)+"="+g(String(F))]}var N=[];if(typeof F>"u")return N;var U;if(n==="comma"&&at(F))A&&u&&(F=Qn.maybeMap(F,u)),U=[{value:F.length>0?F.join(",")||null:void 0}];else if(at(s))U=s;else{var V=Object.keys(F);U=p?V.sort(p):V}for(var H=a&&at(F)&&F.length===1?r+"[]":r,ee=0;ee"u"?Be.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Be.charsetSentinel,delimiter:typeof t.delimiter>"u"?Be.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:Be.encode,encoder:typeof t.encoder=="function"?t.encoder:Be.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Be.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Be.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Be.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Be.strictNullHandling}};am.exports=function(e,t){var r=e,n=T_(t),a,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):at(n.filter)&&(o=n.filter,a=o);var i=[];if(typeof r!="object"||r===null)return"";var u;t&&t.arrayFormat in em?u=t.arrayFormat:t&&"indices"in t?u=t.indices?"indices":"repeat":u="indices";var s=em[u];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var p=s==="comma"&&t&&t.commaRoundTrip;a||(a=Object.keys(r)),n.sort&&a.sort(n.sort);for(var y=rm(),b=0;b0?A+g:""}});var sm=S((iQ,um)=>{"use strict";l();c();d();var rr=xi(),Si=Object.prototype.hasOwnProperty,__=Array.isArray,Ce={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:rr.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},O_=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},im=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},R_="utf8=%26%2310003%3B",P_="utf8=%E2%9C%93",I_=function(t,r){var n={__proto__:null},a=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=r.parameterLimit===1/0?void 0:r.parameterLimit,i=a.split(r.delimiter,o),u=-1,s,p=r.charset;if(r.charsetSentinel)for(s=0;s-1&&(A=__(A)?[A]:A),Si.call(n,g)?n[g]=rr.combine(n[g],A):n[g]=A}return n},k_=function(e,t,r,n){for(var a=n?t:im(t,r),o=e.length-1;o>=0;--o){var i,u=e[o];if(u==="[]"&&r.parseArrays)i=[].concat(a);else{i=r.plainObjects?Object.create(null):{};var s=u.charAt(0)==="["&&u.charAt(u.length-1)==="]"?u.slice(1,-1):u,p=parseInt(s,10);!r.parseArrays&&s===""?i={0:a}:!isNaN(p)&&u!==s&&String(p)===s&&p>=0&&r.parseArrays&&p<=r.arrayLimit?(i=[],i[p]=a):s!=="__proto__"&&(i[s]=a)}a=i}return a},N_=function(t,r,n,a){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,i=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,s=n.depth>0&&i.exec(o),p=s?o.slice(0,s.index):o,y=[];if(p){if(!n.plainObjects&&Si.call(Object.prototype,p)&&!n.allowPrototypes)return;y.push(p)}for(var b=0;n.depth>0&&(s=u.exec(o))!==null&&b"u"?Ce.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?Ce.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:Ce.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:Ce.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:Ce.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Ce.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:Ce.comma,decoder:typeof t.decoder=="function"?t.decoder:Ce.decoder,delimiter:typeof t.delimiter=="string"||rr.isRegExp(t.delimiter)?t.delimiter:Ce.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:Ce.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:Ce.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:Ce.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:Ce.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Ce.strictNullHandling}};um.exports=function(e,t){var r=M_(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?I_(e,r):e,a=r.plainObjects?Object.create(null):{},o=Object.keys(n),i=0;i{"use strict";l();c();d();var L_=om(),j_=sm(),q_=Jn();lm.exports={formats:q_,parse:j_,stringify:L_}});var mm=S((YZ,hm)=>{l();c();d();(function(){"use strict";function e(i){if(i==null)return!1;switch(i.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(i){if(i==null)return!1;switch(i.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(i){if(i==null)return!1;switch(i.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(i){return r(i)||i!=null&&i.type==="FunctionDeclaration"}function a(i){switch(i.type){case"IfStatement":return i.alternate!=null?i.alternate:i.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return i.body}return null}function o(i){var u;if(i.type!=="IfStatement"||i.alternate==null)return!1;u=i.consequent;do{if(u.type==="IfStatement"&&u.alternate==null)return!0;u=a(u)}while(u);return!1}hm.exports={isExpression:e,isStatement:r,isIterationStatement:t,isSourceElement:n,isProblematicIfStatement:o,trailingStatement:a}})()});var Bi=S((ZZ,gm)=>{l();c();d();(function(){"use strict";var e,t,r,n,a,o;t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\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\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\u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\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\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uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function i(x){return 48<=x&&x<=57}function u(x){return 48<=x&&x<=57||97<=x&&x<=102||65<=x&&x<=70}function s(x){return x>=48&&x<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function p(x){return x===32||x===9||x===11||x===12||x===160||x>=5760&&r.indexOf(x)>=0}function y(x){return x===10||x===13||x===8232||x===8233}function b(x){if(x<=65535)return String.fromCharCode(x);var F=String.fromCharCode(Math.floor((x-65536)/1024)+55296),B=String.fromCharCode((x-65536)%1024+56320);return F+B}for(n=new Array(128),o=0;o<128;++o)n[o]=o>=97&&o<=122||o>=65&&o<=90||o===36||o===95;for(a=new Array(128),o=0;o<128;++o)a[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===36||o===95;function m(x){return x<128?n[x]:t.NonAsciiIdentifierStart.test(b(x))}function g(x){return x<128?a[x]:t.NonAsciiIdentifierPart.test(b(x))}function A(x){return x<128?n[x]:e.NonAsciiIdentifierStart.test(b(x))}function E(x){return x<128?a[x]:e.NonAsciiIdentifierPart.test(b(x))}gm.exports={isDecimalDigit:i,isHexDigit:u,isOctalDigit:s,isWhiteSpace:p,isLineTerminator:y,isIdentifierStartES5:m,isIdentifierPartES5:g,isIdentifierStartES6:A,isIdentifierPartES6:E}})()});var Em=S((nee,ym)=>{l();c();d();(function(){"use strict";var e=Bi();function t(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(m,g){return!g&&m==="yield"?!1:n(m,g)}function n(m,g){if(g&&t(m))return!0;switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}}function a(m,g){return m==="null"||m==="true"||m==="false"||r(m,g)}function o(m,g){return m==="null"||m==="true"||m==="false"||n(m,g)}function i(m){return m==="eval"||m==="arguments"}function u(m){var g,A,E;if(m.length===0||(E=m.charCodeAt(0),!e.isIdentifierStartES5(E)))return!1;for(g=1,A=m.length;g=A||(x=m.charCodeAt(g),!(56320<=x&&x<=57343)))return!1;E=s(E,x)}if(!F(E))return!1;F=e.isIdentifierPartES6}return!0}function y(m,g){return u(m)&&!a(m,g)}function b(m,g){return p(m)&&!o(m,g)}ym.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:a,isReservedWordES6:o,isRestrictedWord:i,isIdentifierNameES5:u,isIdentifierNameES6:p,isIdentifierES5:y,isIdentifierES6:b}})()});var Ti=S(Zn=>{l();c();d();(function(){"use strict";Zn.ast=mm(),Zn.code=Bi(),Zn.keyword=Em()})()});var bm=S((dee,o8)=>{o8.exports={name:"doctrine",description:"JSDoc parser",homepage:"https://github.com/eslint/doctrine",main:"lib/doctrine.js",version:"3.0.0",engines:{node:">=6.0.0"},directories:{lib:"./lib"},files:["lib"],maintainers:[{name:"Nicholas C. Zakas",email:"nicholas+npm@nczconsulting.com",web:"https://www.nczonline.net"},{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"https://github.com/Constellation"}],repository:"eslint/doctrine",devDependencies:{coveralls:"^3.0.1",dateformat:"^1.0.11",eslint:"^1.10.3","eslint-release":"^1.0.0",linefix:"^0.1.1",mocha:"^3.4.2","npm-license":"^0.3.1",nyc:"^10.3.2",semver:"^5.0.3",shelljs:"^0.5.3","shelljs-nodecli":"^0.1.1",should:"^5.0.1"},license:"Apache-2.0",scripts:{pretest:"npm run lint",test:"nyc mocha",coveralls:"nyc report --reporter=text-lcov | coveralls",lint:"eslint lib/","generate-release":"eslint-generate-release","generate-alpharelease":"eslint-generate-prerelease alpha","generate-betarelease":"eslint-generate-prerelease beta","generate-rcrelease":"eslint-generate-prerelease rc","publish-release":"eslint-publish-release"},dependencies:{esutils:"^2.0.2"}}});var vm=S((pee,Am)=>{l();c();d();function i8(e,t){if(!e)throw new Error(t||"unknown assertion error")}Am.exports=i8});var _i=S(Ur=>{l();c();d();(function(){"use strict";var e;e=bm().version,Ur.VERSION=e;function t(n){this.name="DoctrineError",this.message=n}t.prototype=function(){var n=function(){};return n.prototype=Error.prototype,new n}(),t.prototype.constructor=t,Ur.DoctrineError=t;function r(n){throw new t(n)}Ur.throwError=r,Ur.assert=vm()})()});var Dm=S(Hr=>{l();c();d();(function(){"use strict";var e,t,r,n,a,o,i,u,s,p,y,b;s=Ti(),p=_i(),e={NullableLiteral:"NullableLiteral",AllLiteral:"AllLiteral",NullLiteral:"NullLiteral",UndefinedLiteral:"UndefinedLiteral",VoidLiteral:"VoidLiteral",UnionType:"UnionType",ArrayType:"ArrayType",RecordType:"RecordType",FieldType:"FieldType",FunctionType:"FunctionType",ParameterType:"ParameterType",RestType:"RestType",NonNullableType:"NonNullableType",OptionalType:"OptionalType",NullableType:"NullableType",NameExpression:"NameExpression",TypeApplication:"TypeApplication",StringLiteralType:"StringLiteralType",NumericLiteralType:"NumericLiteralType",BooleanLiteralType:"BooleanLiteralType"},t={ILLEGAL:0,DOT_LT:1,REST:2,LT:3,GT:4,LPAREN:5,RPAREN:6,LBRACE:7,RBRACE:8,LBRACK:9,RBRACK:10,COMMA:11,COLON:12,STAR:13,PIPE:14,QUESTION:15,BANG:16,EQUAL:17,NAME:18,STRING:19,NUMBER:20,EOF:21};function m(T){return"><(){}[],:*|?!=".indexOf(String.fromCharCode(T))===-1&&!s.code.isWhiteSpace(T)&&!s.code.isLineTerminator(T)}function g(T,P,M,O){this._previous=T,this._index=P,this._token=M,this._value=O}g.prototype.restore=function(){o=this._previous,a=this._index,i=this._token,u=this._value},g.save=function(){return new g(o,a,i,u)};function A(T,P){return b&&(T.range=[P[0]+y,P[1]+y]),T}function E(){var T=r.charAt(a);return a+=1,T}function x(T){var P,M,O,$=0;for(M=T==="u"?4:2,P=0;P=0&&a=n)return t.ILLEGAL;if(P=r.charCodeAt(a+1),P===60)break}u+=E()}return t.NAME}function L(){var T;for(o=a;a=n)return i=t.EOF,i;switch(T=r.charCodeAt(a),T){case 39:case 34:return i=F(),i;case 58:return E(),i=t.COLON,i;case 44:return E(),i=t.COMMA,i;case 40:return E(),i=t.LPAREN,i;case 41:return E(),i=t.RPAREN,i;case 91:return E(),i=t.LBRACK,i;case 93:return E(),i=t.RBRACK,i;case 123:return E(),i=t.LBRACE,i;case 125:return E(),i=t.RBRACE,i;case 46:if(a+1{l();c();d();(function(){"use strict";var e,t,r,n,a;n=Ti(),e=Dm(),t=_i();function o(w,k,N){return w.slice(k,N)}a=function(){var w=Object.prototype.hasOwnProperty;return function(N,U){return w.call(N,U)}}();function i(w){var k={},N;for(N in w)w.hasOwnProperty(N)&&(k[N]=w[N]);return k}function u(w){return w>=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57}function s(w){return w==="param"||w==="argument"||w==="arg"}function p(w){return w==="return"||w==="returns"}function y(w){return w==="property"||w==="prop"}function b(w){return s(w)||y(w)||w==="alias"||w==="this"||w==="mixes"||w==="requires"}function m(w){return b(w)||w==="const"||w==="constant"}function g(w){return y(w)||s(w)}function A(w){return y(w)||s(w)}function E(w){return s(w)||p(w)||w==="define"||w==="enum"||w==="implements"||w==="this"||w==="type"||w==="typedef"||y(w)}function x(w){return E(w)||w==="throws"||w==="const"||w==="constant"||w==="namespace"||w==="member"||w==="var"||w==="module"||w==="constructor"||w==="class"||w==="extends"||w==="augments"||w==="public"||w==="private"||w==="protected"}var F="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",B="("+F+"*(?:\\*"+F+`?)?)(.+|[\r +\u2028\u2029])`;function I(w){return w.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(B,"g"),"$2").replace(/\s*$/,"")}function L(w,k){for(var N=w.replace(/^\/\*\*?/,""),U=0,V=new RegExp(B,"g"),H;H=V.exec(N);)if(U+=H[1].length,H.index+H[0].length>k+U)return k+U+w.length-N.length;return w.replace(/\*\/$/,"").replace(/\s*$/,"").length}(function(w){var k,N,U,V,H,ee,Q,Y,R;function _(){var M=H.charCodeAt(N);return N+=1,n.code.isLineTerminator(M)&&!(M===13&&H.charCodeAt(N)===10)&&(U+=1),String.fromCharCode(M)}function q(){var M="";for(_();N=M)return null;if(H.charCodeAt(N)===91)if(O)pe=!0,z=_();else return null;if(z+=K(M),$)for(H.charCodeAt(N)===58&&(z==="module"||z==="external"||z==="event")&&(z+=_(),z+=K(M)),H.charCodeAt(N)===91&&H.charCodeAt(N+1)===93&&(z+=_(),z+=_());H.charCodeAt(N)===46||H.charCodeAt(N)===47||H.charCodeAt(N)===35||H.charCodeAt(N)===45||H.charCodeAt(N)===126;)z+=_(),z+=K(M);if(pe){if(Z(M),H.charCodeAt(N)===61){z+=_(),Z(M);for(var ie,Ae=1;N=M||H.charCodeAt(N)!==93)return null;z+=_()}return z}function ke(){for(;N=V?!1:(t.assert(H.charCodeAt(N)===64),!0)}function Ne(M){return H===ee?M:L(ee,M)}function J(M,O){this._options=M,this._title=O.toLowerCase(),this._tag={title:O,description:null},this._options.lineNumbers&&(this._tag.lineNumber=U),this._first=N-O.length-1,this._last=0,this._extra={}}J.prototype.addError=function(O){var $=Array.prototype.slice.call(arguments,1),z=O.replace(/%(\d)/g,function(pe,oe){return t.assert(oe<$.length,"Message reference must be in range"),$[oe]});return this._tag.errors||(this._tag.errors=[]),R&&t.throwError(z),this._tag.errors.push(z),Q},J.prototype.parseType=function(){if(E(this._title))try{if(this._tag.type=X(this._title,this._last,this._options.range),!this._tag.type&&!s(this._title)&&!p(this._title)&&!this.addError("Missing or invalid tag type"))return!1}catch(M){if(this._tag.type=null,!this.addError(M.message))return!1}else if(x(this._title))try{this._tag.type=X(this._title,this._last,this._options.range)}catch{}return!0},J.prototype._parseNamePath=function(M){var O;return O=se(this._last,Y&&A(this._title),!0),!O&&!M&&!this.addError("Missing or invalid tag name")?!1:(this._tag.name=O,!0)},J.prototype.parseNamePath=function(){return this._parseNamePath(!1)},J.prototype.parseNamePathOptional=function(){return this._parseNamePath(!0)},J.prototype.parseName=function(){var M,O;if(m(this._title))if(this._tag.name=se(this._last,Y&&A(this._title),g(this._title)),this._tag.name)O=this._tag.name,O.charAt(0)==="["&&O.charAt(O.length-1)==="]"&&(M=O.substring(1,O.length-1).split("="),M.length>1&&(this._tag.default=M.slice(1).join("=")),this._tag.name=M[0],this._tag.type&&this._tag.type.type!=="OptionalType"&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!b(this._title))return!0;if(s(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},J.prototype.parseDescription=function(){var O=o(H,N,this._last).trim();return O&&(/^-\s+/.test(O)&&(O=O.substring(2)),this._tag.description=O),!0},J.prototype.parseCaption=function(){var O=o(H,N,this._last).trim(),$="",z="",pe=O.indexOf($),oe=O.indexOf(z);return pe>=0&&oe>=0?(this._tag.caption=O.substring(pe+$.length,oe).trim(),this._tag.description=O.substring(oe+z.length).trim()):this._tag.description=O,!0},J.prototype.parseKind=function(){var O,$;return $={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},O=o(H,N,this._last).trim(),this._tag.kind=O,!(!a($,O)&&!this.addError("Invalid kind name '%0'",O))},J.prototype.parseAccess=function(){var O;return O=o(H,N,this._last).trim(),this._tag.access=O,!(O!=="private"&&O!=="protected"&&O!=="public"&&!this.addError("Invalid access name '%0'",O))},J.prototype.parseThis=function(){var O=o(H,N,this._last).trim();if(O&&O.charAt(0)==="{"){var $=this.parseType();return $&&this._tag.type.type==="NameExpression"||this._tag.type.type==="UnionType"?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this")}else return this.parseNamePath()},J.prototype.parseVariation=function(){var O,$;return $=o(H,N,this._last).trim(),O=parseFloat($,10),this._tag.variation=O,!(isNaN(O)&&!this.addError("Invalid variation '%0'",$))},J.prototype.ensureEnd=function(){var M=o(H,N,this._last).trim();return!(M&&!this.addError("Unknown content '%0'",M))},J.prototype.epilogue=function(){var O;return O=this._tag.description,!(A(this._title)&&!this._tag.type&&O&&O.charAt(0)==="["&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!Y&&!this.addError("Missing or invalid tag name")))},k={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},J.prototype.parse=function(){var O,$,z,pe;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=W(this._title),this._options.range&&(this._tag.range=[this._first,H.slice(0,this._last).replace(/\s*$/,"").length].map(Ne)),a(k,this._title)?z=k[this._title]:z=["parseType","parseName","parseDescription","epilogue"],O=0,$=z.length;O<$;++O)if(pe=z[O],!this[pe]())return null;return this._tag};function Ue(M){var O,$,z;if(!ke())return null;for(O=q(),$=new J(M,O),z=$.parse();N<$._last;)_();return z}function T(M){var O="",$,z;for(z=!0;N{l();c();d();Gm.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}});var Ym=S((Kee,Km)=>{l();c();d();Km.exports=function(e){var t=[].forEach,r=[].some,n=document.body,a,o=!0,i=" ";function u(F,B){var I=B.appendChild(p(F));if(F.children.length){var L=y(F.isCollapsed);F.children.forEach(function(w){u(w,L)}),I.appendChild(L)}}function s(F,B){var I=!1,L=y(I);if(B.forEach(function(w){u(w,L)}),a=F||a,a!==null)return a.firstChild&&a.removeChild(a.firstChild),B.length===0?a:a.appendChild(L)}function p(F){var B=document.createElement("li"),I=document.createElement("a");return e.listItemClass&&B.setAttribute("class",e.listItemClass),e.onClick&&(I.onclick=e.onClick),e.includeTitleTags&&I.setAttribute("title",F.textContent),e.includeHtml&&F.childNodes.length?t.call(F.childNodes,function(L){I.appendChild(L.cloneNode(!0))}):I.textContent=F.textContent,I.setAttribute("href",e.basePath+"#"+F.id),I.setAttribute("class",e.linkClass+i+"node-name--"+F.nodeName+i+e.extraLinkClasses),B.appendChild(I),B}function y(F){var B=e.orderedList?"ol":"ul",I=document.createElement(B),L=e.listClass+i+e.extraListClasses;return F&&(L=L+i+e.collapsibleClass,L=L+i+e.isCollapsedClass),I.setAttribute("class",L),I}function b(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var F;F=document.querySelector(e.scrollContainer).scrollTop}else F=document.documentElement.scrollTop||n.scrollTop;var B=document.querySelector(e.positionFixedSelector);e.fixedSidebarOffset==="auto"&&(e.fixedSidebarOffset=a.offsetTop),F>e.fixedSidebarOffset?B.className.indexOf(e.positionFixedClass)===-1&&(B.className+=i+e.positionFixedClass):B.className=B.className.split(i+e.positionFixedClass).join("")}function m(F){var B=0;return F!==null&&(B=F.offsetTop,e.hasInnerContainers&&(B+=m(F.offsetParent))),B}function g(F){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var B;B=document.querySelector(e.scrollContainer).scrollTop}else B=document.documentElement.scrollTop||n.scrollTop;e.positionFixedSelector&&b();var I=F,L;if(o&&a!==null&&I.length>0){r.call(I,function(ee,Q){if(m(ee)>B+e.headingsOffset+10){var Y=Q===0?Q:Q-1;return L=I[Y],!0}else if(Q===I.length-1)return L=I[I.length-1],!0});var w=a.querySelector("."+e.activeLinkClass),k=a.querySelector("."+e.linkClass+".node-name--"+L.nodeName+'[href="'+e.basePath+"#"+L.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(w===k)return;var N=a.querySelectorAll("."+e.linkClass);t.call(N,function(ee){ee.className=ee.className.split(i+e.activeLinkClass).join("")});var U=a.querySelectorAll("."+e.listItemClass);t.call(U,function(ee){ee.className=ee.className.split(i+e.activeListItemClass).join("")}),k&&k.className.indexOf(e.activeLinkClass)===-1&&(k.className+=i+e.activeLinkClass);var V=k&&k.parentNode;V&&V.className.indexOf(e.activeListItemClass)===-1&&(V.className+=i+e.activeListItemClass);var H=a.querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(H,function(ee){ee.className.indexOf(e.isCollapsedClass)===-1&&(ee.className+=i+e.isCollapsedClass)}),k&&k.nextSibling&&k.nextSibling.className.indexOf(e.isCollapsedClass)!==-1&&(k.nextSibling.className=k.nextSibling.className.split(i+e.isCollapsedClass).join("")),A(k&&k.parentNode.parentNode)}}function A(F){return F&&F.className.indexOf(e.collapsibleClass)!==-1&&F.className.indexOf(e.isCollapsedClass)!==-1?(F.className=F.className.split(i+e.isCollapsedClass).join(""),A(F.parentNode.parentNode)):F}function E(F){var B=F.target||F.srcElement;typeof B.className!="string"||B.className.indexOf(e.linkClass)===-1||(o=!1)}function x(){o=!0}return{enableTocAnimation:x,disableTocAnimation:E,render:s,updateToc:g}}});var Jm=S((Qee,Xm)=>{l();c();d();Xm.exports=function(t){var r=[].reduce;function n(y){return y[y.length-1]}function a(y){return+y.nodeName.toUpperCase().replace("H","")}function o(y){try{return y instanceof window.HTMLElement||y instanceof window.parent.HTMLElement}catch{return y instanceof window.HTMLElement}}function i(y){if(!o(y))return y;if(t.ignoreHiddenElements&&(!y.offsetHeight||!y.offsetParent))return null;let b=y.getAttribute("data-heading-label")||(t.headingLabelCallback?String(t.headingLabelCallback(y.textContent)):y.textContent.trim());var m={id:y.id,children:[],nodeName:y.nodeName,headingLevel:a(y),textContent:b};return t.includeHtml&&(m.childNodes=y.childNodes),t.headingObjectCallback?t.headingObjectCallback(m,y):m}function u(y,b){for(var m=i(y),g=m.headingLevel,A=b,E=n(A),x=E?E.headingLevel:0,F=g-x;F>0&&(E=n(A),!(E&&g===E.headingLevel));)E&&E.children!==void 0&&(A=E.children),F--;return g>=t.collapseDepth&&(m.isCollapsed=!0),A.push(m),A}function s(y,b){var m=b;t.ignoreSelector&&(m=b.split(",").map(function(A){return A.trim()+":not("+t.ignoreSelector+")"}));try{return y.querySelectorAll(m)}catch{return console.warn("Headers not found with selector: "+m),null}}function p(y){return r.call(y,function(m,g){var A=i(g);return A&&u(A,m.nest),m},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:s}}});var Zm=S((rte,Qm)=>{l();c();d();Qm.exports=function(t){var r=t.tocElement||document.querySelector(t.tocSelector);if(r&&r.scrollHeight>r.clientHeight){var n=r.querySelector("."+t.activeListItemClass);n&&(r.scrollTop=n.offsetTop-t.tocScrollOffset)}}});var tg=S(eg=>{l();c();d();eg.initSmoothScrolling=Z6;function Z6(e){var t=e.duration,r=e.offset,n=location.hash?i(location.href):location.href;a();function a(){document.body.addEventListener("click",s,!1);function s(p){!o(p.target)||p.target.className.indexOf("no-smooth-scroll")>-1||p.target.href.charAt(p.target.href.length-2)==="#"&&p.target.href.charAt(p.target.href.length-1)==="!"||p.target.className.indexOf(e.linkClass)===-1||eR(p.target.hash,{duration:t,offset:r,callback:function(){u(p.target.hash)}})}}function o(s){return s.tagName.toLowerCase()==="a"&&(s.hash.length>0||s.href.charAt(s.href.length-1)==="#")&&(i(s.href)===n||i(s.href)+"#"===n)}function i(s){return s.slice(0,s.lastIndexOf("#"))}function u(s){var p=document.getElementById(s.substring(1));p&&(/^(?:a|select|input|button|textarea)$/i.test(p.tagName)||(p.tabIndex=-1),p.focus())}}function eR(e,t){var r=window.pageYOffset,n={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||b},a=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]')||document.querySelector('[id="'+e.split("#").join("")+'"]'),o=typeof e=="string"?n.offset+(e?a&&a.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e,i=typeof n.duration=="function"?n.duration(o):n.duration,u,s;requestAnimationFrame(function(m){u=m,p(m)});function p(m){s=m-u,window.scrollTo(0,n.easing(s,r,o,i)),s{l();c();d();(function(e,t){typeof define=="function"&&define.amd?define([],t(e)):typeof rg=="object"?ng.exports=t(e):e.tocbot=t(e)})(typeof window<"u"?window:window||window,function(e){"use strict";var t=Vm(),r={},n={},a=Ym(),o=Jm(),i=Zm(),u,s,p=!!e&&!!e.document&&!!e.document.querySelector&&!!e.addEventListener;if(typeof window>"u"&&!p)return;var y,b=Object.prototype.hasOwnProperty;function m(){for(var x={},F=0;F=0||(a[r]=e[r]);return a}function Mi(e){var t=Fe(e),r=Fe(function(n){t.current&&t.current(n)});return t.current=e,r.current}function mg(e,t,r){var n=Mi(r),a=ne(function(){return e.toHsva(t)}),o=a[0],i=a[1],u=Fe({color:t,hsva:o});he(function(){if(!e.equal(t,u.current.color)){var p=e.toHsva(t);u.current={hsva:p,color:t},i(p)}},[t,e]),he(function(){var p;fg(o,u.current.hsva)||e.equal(p=e.fromHsva(o),u.current.color)||(u.current={hsva:o,color:p},n(p))},[o,e,n]);var s=ge(function(p){i(function(y){return Object.assign({},y,p)})},[]);return[o,s]}var ur,Vr,Li,og,ig,Ui,Kr,Hi,xe,tR,rR,ji,nR,aR,oR,iR,sg,qi,ia,lg,uR,oa,sR,cg,dg,pg,fg,hg,lR,cR,dR,pR,ug,gg,fR,hR,yg,mR,Eg,gR,bg,yR,Ag,vg=Ze(()=>{l();c();d();Ot();ur=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e0:x.buttons>0)&&a.current?o(og(a.current,x,u.current)):E(!1)},A=function(){return E(!1)};function E(x){var F=s.current,B=Li(a.current),I=x?B.addEventListener:B.removeEventListener;I(F?"touchmove":"mousemove",g),I(F?"touchend":"mouseup",A)}return[function(x){var F=x.nativeEvent,B=a.current;if(B&&(ig(F),!function(L,w){return w&&!Vr(L)}(F,s.current)&&B)){if(Vr(F)){s.current=!0;var I=F.changedTouches||[];I.length&&(u.current=I[0].identifier)}B.focus(),o(og(B,F,u.current)),E(!0)}},function(x){var F=x.which||x.keyCode;F<37||F>40||(x.preventDefault(),i({left:F===39?.05:F===37?-.05:0,top:F===40?.05:F===38?-.05:0}))},E]},[i,o]),y=p[0],b=p[1],m=p[2];return he(function(){return m},[m]),h.createElement("div",Tt({},n,{onTouchStart:y,onMouseDown:y,className:"react-colorful__interactive",ref:a,onKeyDown:b,tabIndex:0,role:"slider"}))}),Kr=function(e){return e.filter(Boolean).join(" ")},Hi=function(e){var t=e.color,r=e.left,n=e.top,a=n===void 0?.5:n,o=Kr(["react-colorful__pointer",e.className]);return h.createElement("div",{className:o,style:{top:100*a+"%",left:100*r+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},xe=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r},tR={grad:.9,turn:360,rad:360/(2*Math.PI)},rR=function(e){return cg(ji(e))},ji=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?xe(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?xe(parseInt(e.substring(6,8),16)/255,2):1}},nR=function(e,t){return t===void 0&&(t="deg"),Number(e)*(tR[t]||1)},aR=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?oR({h:nR(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},oR=function(e){var t=e.s,r=e.l;return{h:e.h,s:(t*=(r<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}},iR=function(e){return sR(lg(e))},sg=function(e){var t=e.s,r=e.v,n=e.a,a=(200-t)*r/100;return{h:xe(e.h),s:xe(a>0&&a<200?t*r/100/(a<=100?a:200-a)*100:0),l:xe(a/2),a:xe(n,2)}},qi=function(e){var t=sg(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},ia=function(e){var t=sg(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},lg=function(e){var t=e.h,r=e.s,n=e.v,a=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),i=n*(1-r),u=n*(1-(t-o)*r),s=n*(1-(1-t+o)*r),p=o%6;return{r:xe(255*[n,u,i,i,s,n][p]),g:xe(255*[s,n,n,u,i,i][p]),b:xe(255*[i,i,s,n,n,u][p]),a:xe(a,2)}},uR=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?cg({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},oa=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},sR=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=a<1?oa(xe(255*a)):"";return"#"+oa(t)+oa(r)+oa(n)+o},cg=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=Math.max(t,r,n),i=o-Math.min(t,r,n),u=i?o===t?(r-n)/i:o===r?2+(n-t)/i:4+(t-r)/i:0;return{h:xe(60*(u<0?u+6:u)),s:xe(o?i/o*100:0),v:xe(o/255*100),a}},dg=h.memo(function(e){var t=e.hue,r=e.onChange,n=Kr(["react-colorful__hue",e.className]);return h.createElement("div",{className:n},h.createElement(Ui,{onMove:function(a){r({h:360*a.left})},onKey:function(a){r({h:ur(t+360*a.left,0,360)})},"aria-label":"Hue","aria-valuenow":xe(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Hi,{className:"react-colorful__hue-pointer",left:t/360,color:qi({h:t,s:100,v:100,a:1})})))}),pg=h.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:qi({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:n},h.createElement(Ui,{onMove:function(a){r({s:100*a.left,v:100-100*a.top})},onKey:function(a){r({s:ur(t.s+100*a.left,0,100),v:ur(t.v-100*a.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+xe(t.s)+"%, Brightness "+xe(t.v)+"%"},h.createElement(Hi,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:qi(t)})))}),fg=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},hg=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},lR=function(e,t){return e.toLowerCase()===t.toLowerCase()||fg(ji(e),ji(t))};dR=typeof window<"u"?bu:he,pR=function(){return cR||(typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0)},ug=new Map,gg=function(e){dR(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!ug.has(t)){var r=t.createElement("style");r.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,ug.set(t,r);var n=pR();n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},fR=function(e){var t=e.className,r=e.colorModel,n=e.color,a=n===void 0?r.defaultColor:n,o=e.onChange,i=$i(e,["className","colorModel","color","onChange"]),u=Fe(null);gg(u);var s=mg(r,a,o),p=s[0],y=s[1],b=Kr(["react-colorful",t]);return h.createElement("div",Tt({},i,{ref:u,className:b}),h.createElement(pg,{hsva:p,onChange:y}),h.createElement(dg,{hue:p.h,onChange:y,className:"react-colorful__last-control"}))},hR={defaultColor:"000",toHsva:rR,fromHsva:function(e){return iR({h:e.h,s:e.s,v:e.v,a:1})},equal:lR},yg=function(e){return h.createElement(fR,Tt({},e,{colorModel:hR}))},mR=function(e){var t=e.className,r=e.hsva,n=e.onChange,a={backgroundImage:"linear-gradient(90deg, "+ia(Object.assign({},r,{a:0}))+", "+ia(Object.assign({},r,{a:1}))+")"},o=Kr(["react-colorful__alpha",t]),i=xe(100*r.a);return h.createElement("div",{className:o},h.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),h.createElement(Ui,{onMove:function(u){n({a:u.left})},onKey:function(u){n({a:ur(r.a+u.left)})},"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Hi,{className:"react-colorful__alpha-pointer",left:r.a,color:ia(r)})))},Eg=function(e){var t=e.className,r=e.colorModel,n=e.color,a=n===void 0?r.defaultColor:n,o=e.onChange,i=$i(e,["className","colorModel","color","onChange"]),u=Fe(null);gg(u);var s=mg(r,a,o),p=s[0],y=s[1],b=Kr(["react-colorful",t]);return h.createElement("div",Tt({},i,{ref:u,className:b}),h.createElement(pg,{hsva:p,onChange:y}),h.createElement(dg,{hue:p.h,onChange:y}),h.createElement(mR,{hsva:p,onChange:y,className:"react-colorful__last-control"}))},gR={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:aR,fromHsva:ia,equal:hg},bg=function(e){return h.createElement(Eg,Tt({},e,{colorModel:gR}))},yR={defaultColor:"rgba(0, 0, 0, 1)",toHsva:uR,fromHsva:function(e){var t=lg(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:hg},Ag=function(e){return h.createElement(Eg,Tt({},e,{colorModel:yR}))}});var Cg=S((Ete,Dg)=>{"use strict";l();c();d();Dg.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var zi=S((Dte,Fg)=>{l();c();d();var Yr=Cg(),xg={};for(let e of Object.keys(Yr))xg[Yr[e]]=e;var G={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};Fg.exports=G;for(let e of Object.keys(G)){if(!("channels"in G[e]))throw new Error("missing channels property: "+e);if(!("labels"in G[e]))throw new Error("missing channel labels property: "+e);if(G[e].labels.length!==G[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=G[e];delete G[e].channels,delete G[e].labels,Object.defineProperty(G[e],"channels",{value:t}),Object.defineProperty(G[e],"labels",{value:r})}G.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(t,r,n),o=Math.max(t,r,n),i=o-a,u,s;o===a?u=0:t===o?u=(r-n)/i:r===o?u=2+(n-t)/i:n===o&&(u=4+(t-r)/i),u=Math.min(u*60,360),u<0&&(u+=360);let p=(a+o)/2;return o===a?s=0:p<=.5?s=i/(o+a):s=i/(2-o-a),[u,s*100,p*100]};G.rgb.hsv=function(e){let t,r,n,a,o,i=e[0]/255,u=e[1]/255,s=e[2]/255,p=Math.max(i,u,s),y=p-Math.min(i,u,s),b=function(m){return(p-m)/6/y+1/2};return y===0?(a=0,o=0):(o=y/p,t=b(i),r=b(u),n=b(s),i===p?a=n-r:u===p?a=1/3+t-n:s===p&&(a=2/3+r-t),a<0?a+=1:a>1&&(a-=1)),[a*360,o*100,p*100]};G.rgb.hwb=function(e){let t=e[0],r=e[1],n=e[2],a=G.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[a,o*100,n*100]};G.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(1-t,1-r,1-n),o=(1-t-a)/(1-a)||0,i=(1-r-a)/(1-a)||0,u=(1-n-a)/(1-a)||0;return[o*100,i*100,u*100,a*100]};function ER(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}G.rgb.keyword=function(e){let t=xg[e];if(t)return t;let r=1/0,n;for(let a of Object.keys(Yr)){let o=Yr[a],i=ER(e,o);i.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let a=t*.4124+r*.3576+n*.1805,o=t*.2126+r*.7152+n*.0722,i=t*.0193+r*.1192+n*.9505;return[a*100,o*100,i*100]};G.rgb.lab=function(e){let t=G.rgb.xyz(e),r=t[0],n=t[1],a=t[2];r/=95.047,n/=100,a/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*n-16,i=500*(r-n),u=200*(n-a);return[o,i,u]};G.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,a,o,i;if(r===0)return i=n*255,[i,i,i];n<.5?a=n*(1+r):a=n+r-n*r;let u=2*n-a,s=[0,0,0];for(let p=0;p<3;p++)o=t+1/3*-(p-1),o<0&&o++,o>1&&o--,6*o<1?i=u+(a-u)*6*o:2*o<1?i=a:3*o<2?i=u+(a-u)*(2/3-o)*6:i=u,s[p]=i*255;return s};G.hsl.hsv=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,a=r,o=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,a*=o<=1?o:2-o;let i=(n+r)/2,u=n===0?2*a/(o+a):2*r/(n+r);return[t,u*100,i*100]};G.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,o=t-Math.floor(t),i=255*n*(1-r),u=255*n*(1-r*o),s=255*n*(1-r*(1-o));switch(n*=255,a){case 0:return[n,s,i];case 1:return[u,n,i];case 2:return[i,n,s];case 3:return[i,u,n];case 4:return[s,i,n];case 5:return[n,i,u]}};G.hsv.hsl=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,a=Math.max(n,.01),o,i;i=(2-r)*n;let u=(2-r)*a;return o=r*a,o/=u<=1?u:2-u,o=o||0,i/=2,[t,o*100,i*100]};G.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,a=r+n,o;a>1&&(r/=a,n/=a);let i=Math.floor(6*t),u=1-n;o=6*t-i,i&1&&(o=1-o);let s=r+o*(u-r),p,y,b;switch(i){default:case 6:case 0:p=u,y=s,b=r;break;case 1:p=s,y=u,b=r;break;case 2:p=r,y=u,b=s;break;case 3:p=r,y=s,b=u;break;case 4:p=s,y=r,b=u;break;case 5:p=u,y=r,b=s;break}return[p*255,y*255,b*255]};G.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100,o=1-Math.min(1,t*(1-a)+a),i=1-Math.min(1,r*(1-a)+a),u=1-Math.min(1,n*(1-a)+a);return[o*255,i*255,u*255]};G.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,a,o,i;return a=t*3.2406+r*-1.5372+n*-.4986,o=t*-.9689+r*1.8758+n*.0415,i=t*.0557+r*-.204+n*1.057,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),[a*255,o*255,i*255]};G.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let a=116*r-16,o=500*(t-r),i=200*(r-n);return[a,o,i]};G.lab.xyz=function(e){let t=e[0],r=e[1],n=e[2],a,o,i;o=(t+16)/116,a=r/500+o,i=o-n/200;let u=o**3,s=a**3,p=i**3;return o=u>.008856?u:(o-16/116)/7.787,a=s>.008856?s:(a-16/116)/7.787,i=p>.008856?p:(i-16/116)/7.787,a*=95.047,o*=100,i*=108.883,[a,o,i]};G.lab.lch=function(e){let t=e[0],r=e[1],n=e[2],a;a=Math.atan2(n,r)*360/2/Math.PI,a<0&&(a+=360);let i=Math.sqrt(r*r+n*n);return[t,i,a]};G.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]};G.rgb.ansi16=function(e,t=null){let[r,n,a]=e,o=t===null?G.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),o===0)return 30;let i=30+(Math.round(a/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return o===2&&(i+=60),i};G.hsv.ansi16=function(e){return G.rgb.ansi16(G.hsv.rgb(e),e[2])};G.rgb.ansi256=function(e){let t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};G.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,n=(t&1)*r*255,a=(t>>1&1)*r*255,o=(t>>2&1)*r*255;return[n,a,o]};G.ansi256.rgb=function(e){if(e>=232){let o=(e-232)*10+8;return[o,o,o]}e-=16;let t,r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,a=t%6/5*255;return[r,n,a]};G.rgb.hex=function(e){let r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};G.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(u=>u+u).join(""));let n=parseInt(r,16),a=n>>16&255,o=n>>8&255,i=n&255;return[a,o,i]};G.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.max(Math.max(t,r),n),o=Math.min(Math.min(t,r),n),i=a-o,u,s;return i<1?u=o/(1-i):u=0,i<=0?s=0:a===t?s=(r-n)/i%6:a===r?s=2+(n-t)/i:s=4+(t-r)/i,s/=6,s%=1,[s*360,i*100,u*100]};G.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r),a=0;return n<1&&(a=(r-.5*n)/(1-n)),[e[0],n*100,a*100]};G.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=t*r,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],n*100,a*100]};G.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];let a=[0,0,0],o=t%1*6,i=o%1,u=1-i,s=0;switch(Math.floor(o)){case 0:a[0]=1,a[1]=i,a[2]=0;break;case 1:a[0]=u,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=i;break;case 3:a[0]=0,a[1]=u,a[2]=1;break;case 4:a[0]=i,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=u}return s=(1-r)*n,[(r*a[0]+s)*255,(r*a[1]+s)*255,(r*a[2]+s)*255]};G.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t),a=0;return n>0&&(a=t/n),[e[0],a*100,n*100]};G.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,a=0;return n>0&&n<.5?a=t/(2*n):n>=.5&&n<1&&(a=t/(2*(1-n))),[e[0],a*100,n*100]};G.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};G.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,a=n-t,o=0;return a<1&&(o=(n-a)/(1-a)),[e[0],a*100,o*100]};G.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};G.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};G.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};G.gray.hsl=function(e){return[0,0,e[0]]};G.gray.hsv=G.gray.hsl;G.gray.hwb=function(e){return[0,100,e[0]]};G.gray.cmyk=function(e){return[0,0,0,e[0]]};G.gray.lab=function(e){return[e[0],0,0]};G.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n};G.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var wg=S((Ste,Sg)=>{l();c();d();var ua=zi();function bR(){let e={},t=Object.keys(ua);for(let r=t.length,n=0;n{l();c();d();var Wi=zi(),CR=wg(),sr={},xR=Object.keys(Wi);function FR(e){let t=function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function SR(e){let t=function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let a=e(r);if(typeof a=="object")for(let o=a.length,i=0;i{sr[e]={},Object.defineProperty(sr[e],"channels",{value:Wi[e].channels}),Object.defineProperty(sr[e],"labels",{value:Wi[e].labels});let t=CR(e);Object.keys(t).forEach(n=>{let a=t[n];sr[e][n]=SR(a),sr[e][n].raw=FR(a)})});Bg.exports=sr});var Og=S((Ite,_g)=>{l();c();d();var wR=$e(),BR=function(){return wR.Date.now()};_g.exports=BR});var Pg=S((Lte,Rg)=>{l();c();d();var TR=/\s/;function _R(e){for(var t=e.length;t--&&TR.test(e.charAt(t)););return t}Rg.exports=_R});var kg=S((Ute,Ig)=>{l();c();d();var OR=Pg(),RR=/^\s+/;function PR(e){return e&&e.slice(0,OR(e)+1).replace(RR,"")}Ig.exports=PR});var jg=S((Gte,Lg)=>{l();c();d();var IR=kg(),Ng=We(),kR=Br(),Mg=0/0,NR=/^[-+]0x[0-9a-f]+$/i,MR=/^0b[01]+$/i,LR=/^0o[0-7]+$/i,jR=parseInt;function qR(e){if(typeof e=="number")return e;if(kR(e))return Mg;if(Ng(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ng(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=IR(e);var r=MR.test(e);return r||LR.test(e)?jR(e.slice(2),r?2:8):NR.test(e)?Mg:+e}Lg.exports=qR});var Ug=S((Xte,$g)=>{l();c();d();var $R=We(),Gi=Og(),qg=jg(),UR="Expected a function",HR=Math.max,zR=Math.min;function WR(e,t,r){var n,a,o,i,u,s,p=0,y=!1,b=!1,m=!0;if(typeof e!="function")throw new TypeError(UR);t=qg(t)||0,$R(r)&&(y=!!r.leading,b="maxWait"in r,o=b?HR(qg(r.maxWait)||0,t):o,m="trailing"in r?!!r.trailing:m);function g(k){var N=n,U=a;return n=a=void 0,p=k,i=e.apply(U,N),i}function A(k){return p=k,u=setTimeout(F,t),y?g(k):i}function E(k){var N=k-s,U=k-p,V=t-N;return b?zR(V,o-U):V}function x(k){var N=k-s,U=k-p;return s===void 0||N>=t||N<0||b&&U>=o}function F(){var k=Gi();if(x(k))return B(k);u=setTimeout(F,E(k))}function B(k){return u=void 0,m&&n?g(k):(n=a=void 0,i)}function I(){u!==void 0&&clearTimeout(u),p=0,n=s=a=u=void 0}function L(){return u===void 0?i:B(Gi())}function w(){var k=Gi(),N=x(k);if(n=arguments,a=this,s=k,N){if(u===void 0)return A(s);if(b)return clearTimeout(u),u=setTimeout(F,t),g(s)}return u===void 0&&(u=setTimeout(F,t)),i}return w.cancel=I,w.flush=L,w}$g.exports=WR});var zg=S((ere,Hg)=>{l();c();d();var GR=Ug(),VR=We(),KR="Expected a function";function YR(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(KR);return VR(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),GR(e,t,{leading:n,maxWait:t,trailing:a})}Hg.exports=YR});var Xg={};mu(Xg,{ColorControl:()=>Yg,default:()=>f4});var je,Vg,XR,JR,QR,ZR,e4,t4,r4,Wg,n4,a4,Kg,sa,o4,i4,u4,Vi,s4,l4,la,Gg,lr,c4,d4,ca,p4,Yg,f4,Jg=Ze(()=>{l();c();d();Ua();Ot();vg();je=fe(Tg(),1),Vg=fe(zg(),1);za();fr();XR=j.div({position:"relative",maxWidth:250}),JR=j(Zr)({position:"absolute",zIndex:1,top:4,left:4}),QR=j.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),ZR=j(Na)(({theme:e})=>({fontFamily:e.typography.fonts.base})),e4=j.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),t4=j.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),r4=`url('data:image/svg+xml;charset=utf-8,')`,Wg=({value:e,active:t,onClick:r,style:n,...a})=>{let o=`linear-gradient(${e}, ${e}), ${r4}, linear-gradient(#fff, #fff)`;return h.createElement(t4,{...a,active:t,onClick:r,style:{...n,backgroundImage:o}})},n4=j(Re.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),a4=j(Oe)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Kg=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Kg||{}),sa=Object.values(Kg),o4=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,i4=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,u4=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Vi=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,s4=/^\s*#?([0-9a-f]{3})\s*$/i,l4={hex:yg,rgb:Ag,hsl:bg},la={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Gg=e=>{let t=e?.match(o4);if(!t)return[0,0,0,1];let[,r,n,a,o=1]=t;return[r,n,a,o].map(Number)},lr=e=>{if(!e)return;let t=!0;if(i4.test(e)){let[i,u,s,p]=Gg(e),[y,b,m]=je.default.rgb.hsl([i,u,s])||[0,0,0];return{valid:t,value:e,keyword:je.default.rgb.keyword([i,u,s]),colorSpace:"rgb",rgb:e,hsl:`hsla(${y}, ${b}%, ${m}%, ${p})`,hex:`#${je.default.rgb.hex([i,u,s]).toLowerCase()}`}}if(u4.test(e)){let[i,u,s,p]=Gg(e),[y,b,m]=je.default.hsl.rgb([i,u,s])||[0,0,0];return{valid:t,value:e,keyword:je.default.hsl.keyword([i,u,s]),colorSpace:"hsl",rgb:`rgba(${y}, ${b}, ${m}, ${p})`,hsl:e,hex:`#${je.default.hsl.hex([i,u,s]).toLowerCase()}`}}let r=e.replace("#",""),n=je.default.keyword.rgb(r)||je.default.hex.rgb(r),a=je.default.rgb.hsl(n),o=e;if(/[^#a-f0-9]/i.test(e)?o=r:Vi.test(e)&&(o=`#${r}`),o.startsWith("#"))t=Vi.test(o);else try{je.default.keyword.hex(o)}catch{t=!1}return{valid:t,value:o,keyword:je.default.rgb.keyword(n),colorSpace:"hex",rgb:`rgba(${n[0]}, ${n[1]}, ${n[2]}, 1)`,hsl:`hsla(${a[0]}, ${a[1]}%, ${a[2]}%, 1)`,hex:o}},c4=(e,t,r)=>{if(!e||!t?.valid)return la[r];if(r!=="hex")return t?.[r]||la[r];if(!t.hex.startsWith("#"))try{return`#${je.default.keyword.hex(t.hex)}`}catch{return la.hex}let n=t.hex.match(s4);if(!n)return Vi.test(t.hex)?t.hex:la.hex;let[a,o,i]=n[1].split("");return`#${a}${a}${o}${o}${i}${i}`},d4=(e,t)=>{let[r,n]=ne(e||""),[a,o]=ne(()=>lr(r)),[i,u]=ne(a?.colorSpace||"hex");he(()=>{let b=e||"",m=lr(b);n(b),o(m),u(m?.colorSpace||"hex")},[e]);let s=ot(()=>c4(r,a,i).toLowerCase(),[r,a,i]),p=ge(b=>{let m=lr(b),g=m?.value||b||"";n(g),g===""&&(o(void 0),t(void 0)),m&&(o(m),u(m.colorSpace),t(m.value))},[t]),y=ge(()=>{let b=sa.indexOf(i)+1;b>=sa.length&&(b=0),u(sa[b]);let m=a?.[sa[b]]||"";n(m),t(m)},[a,i,t]);return{value:r,realValue:s,updateValue:p,color:a,colorSpace:i,cycleColorSpace:y}},ca=e=>e.replace(/\s*/,"").toLowerCase(),p4=(e,t,r)=>{let[n,a]=ne(t?.valid?[t]:[]);he(()=>{t===void 0&&a([])},[t]);let o=ot(()=>(e||[]).map(u=>typeof u=="string"?lr(u):u.title?{...lr(u.color),keyword:u.title}:lr(u.color)).concat(n).filter(Boolean).slice(-27),[e,n]),i=ge(u=>{u?.valid&&(o.some(s=>ca(s[r])===ca(u[r]))||a(s=>s.concat(u)))},[r,o]);return{presets:o,addPreset:i}},Yg=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,presetColors:o,startOpen:i=!1})=>{let u=ge((0,Vg.default)(r,200),[r]),{value:s,realValue:p,updateValue:y,color:b,colorSpace:m,cycleColorSpace:g}=d4(t,u),{presets:A,addPreset:E}=p4(o,b,m),x=l4[m];return h.createElement(XR,null,h.createElement(JR,{startOpen:i,closeOnOutsideClick:!0,onVisibleChange:()=>E(b),tooltip:h.createElement(QR,null,h.createElement(x,{color:p==="transparent"?"#000000":p,onChange:y,onFocus:n,onBlur:a}),A.length>0&&h.createElement(e4,null,A.map((F,B)=>h.createElement(Zr,{key:`${F.value}-${B}`,hasChrome:!1,tooltip:h.createElement(ZR,{note:F.keyword||F.value})},h.createElement(Wg,{value:F[m],active:b&&ca(F[m])===ca(b[m]),onClick:()=>y(F.value)})))))},h.createElement(Wg,{value:p,style:{margin:4}})),h.createElement(n4,{id:Pe(e),value:s,onChange:F=>y(F.target.value),onFocus:F=>F.target.select(),placeholder:"Choose color..."}),s?h.createElement(a4,{icon:"markup",onClick:g}):null)},f4=Yg});l();c();d();l();c();d();l();c();d();l();c();d();var Ea="addon-controls",ba="controls";Ot();l();c();d();var $I=__STORYBOOKAPI__,{ActiveTabs:UI,Consumer:HI,ManagerContext:zI,Provider:WI,addons:va,combineParameters:GI,controlOrMetaKey:VI,controlOrMetaSymbol:KI,eventMatchesShortcut:YI,eventToShortcut:XI,isMacLike:JI,isShortcutTaken:QI,keyToSymbol:ZI,merge:ek,mockChannel:tk,optionOrAltSymbol:rk,shortcutMatchesShortcut:nk,shortcutToHumanString:ak,types:Au,useAddonState:ok,useArgTypes:Da,useArgs:vu,useChannel:ik,useGlobalTypes:uk,useGlobals:Du,useParameter:Cu,useSharedState:sk,useStoryPrepared:lk,useStorybookApi:ck,useStorybookState:xu}=__STORYBOOKAPI__;fr();l();c();d();Ua();za();Ot();fr();l();c();d();l();c();d();function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function It(e,t,r){return Ka()?It=Reflect.construct.bind():It=function(a,o,i){var u=[null];u.push.apply(u,o);var s=Function.bind.apply(a,u),p=new s;return i&&tt(p,i.prototype),p},It.apply(null,arguments)}function gr(e){var t=typeof Map=="function"?new Map:void 0;return gr=function(n){if(n===null||!Va(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return It(n,arguments,mr(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),tt(a,n)},gr(e)}l();c();d();var Ie=function(e){Ga(t,e);function t(r){var n;if(!0)n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this;else for(var a,o,i;i=0&&a<1?(u=o,s=i):a>=1&&a<2?(u=i,s=o):a>=2&&a<3?(s=o,p=i):a>=3&&a<4?(s=i,p=o):a>=4&&a<5?(u=i,p=o):a>=5&&a<6&&(u=o,p=i);var y=r-o/2,b=u+y,m=s+y,g=p+y;return n(b,m,g)}var Ru={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function q2(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Ru[t]?"#"+Ru[t]:e}var $2=/^#[a-fA-F0-9]{6}$/,U2=/^#[a-fA-F0-9]{8}$/,H2=/^#[a-fA-F0-9]{3}$/,z2=/^#[a-fA-F0-9]{4}$/,Xa=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,W2=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,G2=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,V2=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function kt(e){if(typeof e!="string")throw new Ie(3);var t=q2(e);if(t.match($2))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(U2)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(H2))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(z2)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Xa.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=W2.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=G2.exec(t);if(i){var u=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,p=parseInt(""+i[3],10)/100,y="rgb("+yr(u,s,p)+")",b=Xa.exec(y);if(!b)throw new Ie(4,t,y);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10)}}var m=V2.exec(t.substring(0,50));if(m){var g=parseInt(""+m[1],10),A=parseInt(""+m[2],10)/100,E=parseInt(""+m[3],10)/100,x="rgb("+yr(g,A,E)+")",F=Xa.exec(x);if(!F)throw new Ie(4,t,x);return{red:parseInt(""+F[1],10),green:parseInt(""+F[2],10),blue:parseInt(""+F[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Ie(5)}function K2(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var u,s=a-o,p=i>.5?s/(2-a-o):s/(a+o);switch(a){case t:u=(r-n)/s+(r=1?en(e,t,r):"rgba("+yr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?en(e.hue,e.saturation,e.lightness):"rgba("+yr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ie(2)}function Za(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Qa("#"+bt(e)+bt(t)+bt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Qa("#"+bt(e.red)+bt(e.green)+bt(e.blue));throw new Ie(6)}function He(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=kt(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Za(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Za(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ie(7)}var Z2=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},e1=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},t1=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},r1=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function ut(e){if(typeof e!="object")throw new Ie(8);if(e1(e))return He(e);if(Z2(e))return Za(e);if(r1(e))return Q2(e);if(t1(e))return J2(e);throw new Ie(8)}function Iu(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Iu(e,t,a)}}function Me(e){return Iu(e,e.length,[])}function n1(e,t){if(t==="transparent")return t;var r=it(t);return ut(Se({},r,{hue:r.hue+parseFloat(e)}))}var W7=Me(n1);function Nt(e,t,r){return Math.max(e,Math.min(t,r))}function a1(e,t){if(t==="transparent")return t;var r=it(t);return ut(Se({},r,{lightness:Nt(0,1,r.lightness-parseFloat(e))}))}var o1=Me(a1),ze=o1;function i1(e,t){if(t==="transparent")return t;var r=it(t);return ut(Se({},r,{saturation:Nt(0,1,r.saturation-parseFloat(e))}))}var G7=Me(i1);function u1(e,t){if(t==="transparent")return t;var r=it(t);return ut(Se({},r,{lightness:Nt(0,1,r.lightness+parseFloat(e))}))}var s1=Me(u1),st=s1;function l1(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=kt(t),a=Se({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),o=kt(r),i=Se({},o,{alpha:typeof o.alpha=="number"?o.alpha:1}),u=a.alpha-i.alpha,s=parseFloat(e)*2-1,p=s*u===-1?s:s+u,y=1+s*u,b=(p/y+1)/2,m=1-b,g={red:Math.floor(a.red*b+i.red*m),green:Math.floor(a.green*b+i.green*m),blue:Math.floor(a.blue*b+i.blue*m),alpha:a.alpha*parseFloat(e)+i.alpha*(1-parseFloat(e))};return He(g)}var c1=Me(l1),ku=c1;function d1(e,t){if(t==="transparent")return t;var r=kt(t),n=typeof r.alpha=="number"?r.alpha:1,a=Se({},r,{alpha:Nt(0,1,(n*100+parseFloat(e)*100)/100)});return He(a)}var p1=Me(d1),Er=p1;function f1(e,t){if(t==="transparent")return t;var r=it(t);return ut(Se({},r,{saturation:Nt(0,1,r.saturation+parseFloat(e))}))}var V7=Me(f1);function h1(e,t){return t==="transparent"?t:ut(Se({},it(t),{hue:parseFloat(e)}))}var K7=Me(h1);function m1(e,t){return t==="transparent"?t:ut(Se({},it(t),{lightness:parseFloat(e)}))}var Y7=Me(m1);function g1(e,t){return t==="transparent"?t:ut(Se({},it(t),{saturation:parseFloat(e)}))}var X7=Me(g1);function y1(e,t){return t==="transparent"?t:ku(parseFloat(e),"rgb(0, 0, 0)",t)}var J7=Me(y1);function E1(e,t){return t==="transparent"?t:ku(parseFloat(e),"rgb(255, 255, 255)",t)}var Q7=Me(E1);function b1(e,t){if(t==="transparent")return t;var r=kt(t),n=typeof r.alpha=="number"?r.alpha:1,a=Se({},r,{alpha:Nt(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return He(a)}var A1=Me(b1),de=A1;l();c();d();var ue=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();var py=fe(Mo(),1);l();c();d();var dF=Object.create,Yd=Object.defineProperty,pF=Object.getOwnPropertyDescriptor,fF=Object.getOwnPropertyNames,hF=Object.getPrototypeOf,mF=Object.prototype.hasOwnProperty,gF=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),yF=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of fF(t))!mF.call(e,a)&&a!==r&&Yd(e,a,{get:()=>t[a],enumerable:!(n=pF(t,a))||n.enumerable});return e},EF=(e,t,r)=>(r=e!=null?dF(hF(e)):{},yF(t||!e||!e.__esModule?Yd(r,"default",{value:e,enumerable:!0}):r,e)),bF=gF(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,o){return function i(u,s,p){var y,b,m,g=t.call(u),A=t.call(s);if(u===s)return!0;if(u==null||s==null)return!1;if(p.indexOf(u)>-1&&p.indexOf(s)>-1)return!0;if(p.push(u,s),g!=A||(y=n(u),b=n(s),y.length!=b.length||y.some(function(E){return!i(u[E],s[E],p)})))return!1;switch(g.slice(8,-1)){case"Symbol":return u.valueOf()==s.valueOf();case"Date":case"Number":return+u==+s||+u!=+u&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return""+u==""+s;case"Set":case"Map":y=u.entries(),b=s.entries();do if(!i((m=y.next()).value,b.next().value,p))return!1;while(!m.done);return!0;case"ArrayBuffer":u=new Uint8Array(u),s=new Uint8Array(s);case"DataView":u=new Uint8Array(u.buffer),s=new Uint8Array(s.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(u.length!=s.length)return!1;for(m=0;me.map(t=>typeof t<"u").filter(Boolean).length,AF=(e,t)=>{let{exists:r,eq:n,neq:a,truthy:o}=e;if(Xd([r,n,a,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:a})}`);if(typeof n<"u")return(0,Kd.isEqual)(t,n);if(typeof a<"u")return!(0,Kd.isEqual)(t,a);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof o>"u"||o?!!t:!t},Lo=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:a}=e.if;if(Xd([n,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let o=n?t[n]:r[a];return AF(e.if,o)};l();c();d();var wW=__STORYBOOKCLIENTLOGGER__,{deprecate:ye,logger:Ve,once:xn,pretty:BW}=__STORYBOOKCLIENTLOGGER__;l();c();d();Ot();function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),Qd={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xA0",quot:"\u201C"},DF=["style","script"],CF=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,xF=/mailto:/i,FF=/\n{2,}$/,ap=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,SF=/^ *> ?/gm,wF=/^ {2,}\n/,BF=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,op=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,ip=/^(?: {4}[^\n]+\n*)+(?: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<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,rS=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,nS=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,aS=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,oS=/^\\([^0-9A-Za-z\s])/,iS=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,uS=/^\n+/,sS=/^([ \t]*)/,lS=/\\([^\\])/g,Zd=/ *\n+$/,cS=/(?:^|\n)( *)$/,Wo="(?:\\d+\\.)",Go="(?:[*+-])";function pp(e){return"( *)("+(e===1?Wo:Go)+") +"}var fp=pp(1),hp=pp(2);function mp(e){return new RegExp("^"+(e===1?fp:hp))}var dS=mp(1),pS=mp(2);function gp(e){return new RegExp("^"+(e===1?fp:hp)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Wo:Go)+" )[^\\n]*)*(\\n|$)","gm")}var yp=gp(1),Ep=gp(2);function bp(e){let t=e===1?Wo:Go;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var Ap=bp(1),vp=bp(2);function ep(e,t){let r=t===1,n=r?Ap:vp,a=r?yp:Ep,o=r?dS:pS;return{t(i,u,s){let p=cS.exec(s);return p&&(u.o||!u._&&!u.u)?n.exec(i=p[1]+i):null},i:re.HIGH,l(i,u,s){let p=r?+i[2]:void 0,y=i[0].replace(FF,` +`).match(a),b=!1;return{p:y.map(function(m,g){let A=o.exec(m)[0].length,E=new RegExp("^ {1,"+A+"}","gm"),x=m.replace(E,"").replace(o,""),F=g===y.length-1,B=x.indexOf(` + +`)!==-1||F&&b;b=B;let I=s._,L=s.o,w;s.o=!0,B?(s._=!1,w=x.replace(Zd,` + +`)):(s._=!0,w=x.replace(Zd,""));let k=u(w,s);return s._=I,s.o=L,k}),m:r,g:p}},h:(i,u,s)=>e(i.m?"ol":"ul",{key:s.k,start:i.g},i.p.map(function(p,y){return e("li",{key:y},u(p,s))}))}}var fS=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,hS=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Dp=[ap,op,ip,up,lp,sp,cp,dp,yp,Ap,Ep,vp],mS=[...Dp,/^[^\n]+(?: \n|\n{2,})/,Ho,zo];function gS(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function yS(e){return eS.test(e)?"right":QF.test(e)?"center":ZF.test(e)?"left":null}function tp(e,t,r){let n=r.$;r.$=!0;let a=t(e.trim(),r);r.$=n;let o=[[]];return a.forEach(function(i,u){i.type==="tableSeparator"?u!==0&&u!==a.length-1&&o.push([]):(i.type!=="text"||a[u+1]!=null&&a[u+1].type!=="tableSeparator"||(i.v=i.v.replace(JF,"")),o[o.length-1].push(i))}),o}function ES(e,t,r){r._=!0;let n=tp(e[1],t,r),a=e[2].replace(XF,"").split("|").map(yS),o=function(i,u,s){return i.trim().split(` +`).map(function(p){return tp(p,u,s)})}(e[3],t,r);return r._=!1,{S:a,A:o,L:n,type:"table"}}function rp(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function ct(e){return function(t,r){return r._?e.exec(t):null}}function dt(e){return function(t,r){return r._||r.u?e.exec(t):null}}function nt(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function _r(e){return function(t){return e.exec(t)}}function bS(e,t,r){if(t._||t.u||r&&!r.endsWith(` +`))return null;let n="";e.split(` +`).every(o=>!Dp.some(i=>i.test(o))&&(n+=o+` +`,o.trim()));let a=n.trimEnd();return a==""?null:[n,a]}function Gt(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function np(e){return e.replace(lS,"$1")}function Fn(e,t,r){let n=r._||!1,a=r.u||!1;r._=!0,r.u=!0;let o=e(t,r);return r._=n,r.u=a,o}function AS(e,t,r){let n=r._||!1,a=r.u||!1;r._=!1,r.u=!0;let o=e(t,r);return r._=n,r.u=a,o}function vS(e,t,r){return r._=!1,e(t,r)}var jo=(e,t,r)=>({v:Fn(t,e[1],r)});function qo(){return{}}function $o(){return null}function DS(...e){return e.filter(Boolean).join(" ")}function Uo(e,t,r){let n=e,a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}var re;function CS(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||gS,t.namedCodesToUnicode=t.namedCodesToUnicode?Ct({},Qd,t.namedCodesToUnicode):Qd;let r=t.createElement||Aa;function n(g,A,...E){let x=Uo(t.overrides,`${g}.props`,{});return r(function(F,B){let I=Uo(B,F);return I?typeof I=="function"||typeof I=="object"&&"render"in I?I:Uo(B,`${F}.component`,F):F}(g,t.overrides),Ct({},A,x,{className:DS(A?.className,x.className)||void 0}),...E)}function a(g){let A=!1;t.forceInline?A=!0:t.forceBlock||(A=VF.test(g)===!1);let E=y(p(A?g:`${g.trimEnd().replace(uS,"")} + +`,{_:A}));for(;typeof E[E.length-1]=="string"&&!E[E.length-1].trim();)E.pop();if(t.wrapper===null)return E;let x=t.wrapper||(A?"span":"div"),F;if(E.length>1||t.forceWrapper)F=E;else{if(E.length===1)return F=E[0],typeof F=="string"?n("span",{key:"outer"},F):F;F=null}return Aa(x,{key:"outer"},F)}function o(g){let A=g.match(CF);return A?A.reduce(function(E,x,F){let B=x.indexOf("=");if(B!==-1){let I=function(N){return N.indexOf("-")!==-1&&N.match(MF)===null&&(N=N.replace(UF,function(U,V){return V.toUpperCase()})),N}(x.slice(0,B)).trim(),L=function(N){let U=N[0];return(U==='"'||U==="'")&&N.length>=2&&N[N.length-1]===U?N.slice(1,-1):N}(x.slice(B+1).trim()),w=Jd[I]||I,k=E[w]=function(N,U){return N==="style"?U.split(/;\s?/).reduce(function(V,H){let ee=H.slice(0,H.indexOf(":"));return V[ee.replace(/(-[a-z])/g,Q=>Q[1].toUpperCase())]=H.slice(ee.length+1).trim(),V},{}):N==="href"?Gt(U):(U.match(LF)&&(U=U.slice(1,U.length-1)),U==="true"||U!=="false"&&U)}(I,L);typeof k=="string"&&(Ho.test(k)||zo.test(k))&&(E[w]=me(a(k.trim()),{key:F}))}else x!=="style"&&(E[Jd[x]||x]=!0);return E},{}):null}let i=[],u={},s={blockQuote:{t:nt(ap),i:re.HIGH,l:(g,A,E)=>({v:A(g[0].replace(SF,""),E)}),h:(g,A,E)=>n("blockquote",{key:E.k},A(g.v,E))},breakLine:{t:_r(wF),i:re.HIGH,l:qo,h:(g,A,E)=>n("br",{key:E.k})},breakThematic:{t:nt(BF),i:re.HIGH,l:qo,h:(g,A,E)=>n("hr",{key:E.k})},codeBlock:{t:nt(ip),i:re.MAX,l:g=>({v:g[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(g,A,E)=>n("pre",{key:E.k},n("code",Ct({},g.O,{className:g.M?`lang-${g.M}`:""}),g.v))},codeFenced:{t:nt(op),i:re.MAX,l:g=>({O:o(g[3]||""),v:g[4],M:g[2]||void 0,type:"codeBlock"})},codeInline:{t:dt(TF),i:re.LOW,l:g=>({v:g[2]}),h:(g,A,E)=>n("code",{key:E.k},g.v)},footnote:{t:nt(RF),i:re.MAX,l:g=>(i.push({I:g[2],j:g[1]}),{}),h:$o},footnoteReference:{t:ct(PF),i:re.HIGH,l:g=>({v:g[1],B:`#${t.slugify(g[1])}`}),h:(g,A,E)=>n("a",{key:E.k,href:Gt(g.B)},n("sup",{key:E.k},g.v))},gfmTask:{t:ct(kF),i:re.HIGH,l:g=>({R:g[1].toLowerCase()==="x"}),h:(g,A,E)=>n("input",{checked:g.R,key:E.k,readOnly:!0,type:"checkbox"})},heading:{t:nt(t.enforceAtxHeadings?sp:up),i:re.HIGH,l:(g,A,E)=>({v:Fn(A,g[2],E),T:t.slugify(g[2]),C:g[1].length}),h:(g,A,E)=>n(`h${g.C}`,{id:g.T,key:E.k},A(g.v,E))},headingSetext:{t:nt(lp),i:re.MAX,l:(g,A,E)=>({v:Fn(A,g[1],E),C:g[2]==="="?1:2,type:"heading"})},htmlComment:{t:_r(cp),i:re.HIGH,l:()=>({}),h:$o},image:{t:dt(hS),i:re.HIGH,l:g=>({D:g[1],B:np(g[2]),F:g[3]}),h:(g,A,E)=>n("img",{key:E.k,alt:g.D||void 0,title:g.F||void 0,src:Gt(g.B)})},link:{t:ct(fS),i:re.LOW,l:(g,A,E)=>({v:AS(A,g[1],E),B:np(g[2]),F:g[3]}),h:(g,A,E)=>n("a",{key:E.k,href:Gt(g.B),title:g.F},A(g.v,E))},linkAngleBraceStyleDetector:{t:ct($F),i:re.MAX,l:g=>({v:[{v:g[1],type:"text"}],B:g[1],type:"link"})},linkBareUrlDetector:{t:(g,A)=>A.N?null:ct(jF)(g,A),i:re.MAX,l:g=>({v:[{v:g[1],type:"text"}],B:g[1],F:void 0,type:"link"})},linkMailtoDetector:{t:ct(qF),i:re.MAX,l(g){let A=g[1],E=g[1];return xF.test(E)||(E="mailto:"+E),{v:[{v:A.replace("mailto:",""),type:"text"}],B:E,type:"link"}}},orderedList:ep(n,1),unorderedList:ep(n,2),newlineCoalescer:{t:nt(_F),i:re.LOW,l:qo,h:()=>` +`},paragraph:{t:bS,i:re.LOW,l:jo,h:(g,A,E)=>n("p",{key:E.k},A(g.v,E))},ref:{t:ct(HF),i:re.MAX,l:g=>(u[g[1]]={B:g[2],F:g[4]},{}),h:$o},refImage:{t:dt(zF),i:re.MAX,l:g=>({D:g[1]||void 0,P:g[2]}),h:(g,A,E)=>n("img",{key:E.k,alt:g.D,src:Gt(u[g.P].B),title:u[g.P].F})},refLink:{t:ct(WF),i:re.MAX,l:(g,A,E)=>({v:A(g[1],E),Z:A(g[0].replace(GF,"\\$1"),E),P:g[2]}),h:(g,A,E)=>u[g.P]?n("a",{key:E.k,href:Gt(u[g.P].B),title:u[g.P].F},A(g.v,E)):n("span",{key:E.k},A(g.Z,E))},table:{t:nt(dp),i:re.HIGH,l:ES,h:(g,A,E)=>n("table",{key:E.k},n("thead",null,n("tr",null,g.L.map(function(x,F){return n("th",{key:F,style:rp(g,F)},A(x,E))}))),n("tbody",null,g.A.map(function(x,F){return n("tr",{key:F},x.map(function(B,I){return n("td",{key:I,style:rp(g,I)},A(B,E))}))})))},tableSeparator:{t:function(g,A){return A.$?(A._=!0,YF.exec(g)):null},i:re.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:_r(iS),i:re.MIN,l:g=>({v:g[0].replace(NF,(A,E)=>t.namedCodesToUnicode[E]?t.namedCodesToUnicode[E]:A)}),h:g=>g.v},textBolded:{t:dt(tS),i:re.MED,l:(g,A,E)=>({v:A(g[2],E)}),h:(g,A,E)=>n("strong",{key:E.k},A(g.v,E))},textEmphasized:{t:dt(rS),i:re.LOW,l:(g,A,E)=>({v:A(g[2],E)}),h:(g,A,E)=>n("em",{key:E.k},A(g.v,E))},textEscaped:{t:dt(oS),i:re.HIGH,l:g=>({v:g[1],type:"text"})},textMarked:{t:dt(nS),i:re.LOW,l:jo,h:(g,A,E)=>n("mark",{key:E.k},A(g.v,E))},textStrikethroughed:{t:dt(aS),i:re.LOW,l:jo,h:(g,A,E)=>n("del",{key:E.k},A(g.v,E))}};t.disableParsingRawHTML!==!0&&(s.htmlBlock={t:_r(Ho),i:re.HIGH,l(g,A,E){let[,x]=g[3].match(sS),F=new RegExp(`^${x}`,"gm"),B=g[3].replace(F,""),I=(L=B,mS.some(U=>U.test(L))?vS:Fn);var L;let w=g[1].toLowerCase(),k=DF.indexOf(w)!==-1;E.N=E.N||w==="a";let N=k?g[3]:I(A,B,E);return E.N=!1,{O:o(g[2]),v:N,G:k,H:k?w:g[1]}},h:(g,A,E)=>n(g.H,Ct({key:E.k},g.O),g.G?g.v:A(g.v,E))},s.htmlSelfClosing={t:_r(zo),i:re.HIGH,l:g=>({O:o(g[2]||""),H:g[1]}),h:(g,A,E)=>n(g.H,Ct({},g.O,{key:E.k}))});let p=function(g){let A=Object.keys(g);function E(x,F){let B=[],I="";for(;x;){let L=0;for(;L{let{children:t,options:r}=e,n=function(a,o){if(a==null)return{};var i,u,s={},p=Object.keys(a);for(u=0;u=0||(s[i]=a[i]);return s}(e,vF);return me(CS(t,r),n)};var fy=fe(Sn(),1),hy=fe(Hp(),1),my=fe(Yf(),1);l();c();d();l();c();d();l();c();d();l();c();d();l();c();d();l();c();d();var cK=__STORYBOOKCHANNELS__,{Channel:Xo,PostMessageTransport:dK,WebsocketTransport:pK,createBrowserChannel:m3,createPostMessageChannel:fK,createWebSocketChannel:hK}=__STORYBOOKCHANNELS__;l();c();d();var bK=__STORYBOOKCOREEVENTS__,{CHANNEL_CREATED:AK,CONFIG_ERROR:g3,CURRENT_STORY_WAS_SET:y3,DOCS_PREPARED:E3,DOCS_RENDERED:b3,FORCE_REMOUNT:A3,FORCE_RE_RENDER:Jo,GLOBALS_UPDATED:Tn,IGNORED_EXCEPTION:vK,NAVIGATE_URL:Xf,PLAY_FUNCTION_THREW_EXCEPTION:v3,PRELOAD_ENTRIES:D3,PREVIEW_BUILDER_PROGRESS:DK,PREVIEW_KEYDOWN:C3,REGISTER_SUBSCRIPTION:CK,REQUEST_WHATS_NEW_DATA:xK,RESET_STORY_ARGS:_n,RESULT_WHATS_NEW_DATA:FK,SELECT_STORY:SK,SET_CONFIG:wK,SET_CURRENT_STORY:x3,SET_GLOBALS:F3,SET_INDEX:S3,SET_STORIES:BK,SET_WHATS_NEW_CACHE:TK,SHARED_STATE_CHANGED:w3,SHARED_STATE_SET:B3,STORIES_COLLAPSE_ALL:_K,STORIES_EXPAND_ALL:OK,STORY_ARGS_UPDATED:On,STORY_CHANGED:T3,STORY_ERRORED:_3,STORY_INDEX_INVALIDATED:O3,STORY_MISSING:R3,STORY_PREPARED:P3,STORY_RENDERED:Jf,STORY_RENDER_PHASE_CHANGED:I3,STORY_SPECIFIED:k3,STORY_THREW_EXCEPTION:N3,STORY_UNCHANGED:M3,TELEMETRY_ERROR:RK,TOGGLE_WHATS_NEW_NOTIFICATIONS:PK,UPDATE_GLOBALS:Qf,UPDATE_QUERY_PARAMS:L3,UPDATE_STORY_ARGS:Rn}=__STORYBOOKCOREEVENTS__;var j3=Object.create,Zf=Object.defineProperty,q3=Object.getOwnPropertyDescriptor,e0=Object.getOwnPropertyNames,$3=Object.getPrototypeOf,U3=Object.prototype.hasOwnProperty,Ke=(e,t)=>function(){return t||(0,e[e0(e)[0]])((t={exports:{}}).exports,t),t.exports},H3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of e0(t))!U3.call(e,a)&&a!==r&&Zf(e,a,{get:()=>t[a],enumerable:!(n=q3(t,a))||n.enumerable});return e},t0=(e,t,r)=>(r=e!=null?j3($3(e)):{},H3(t||!e||!e.__esModule?Zf(r,"default",{value:e,enumerable:!0}):r,e));function r0(){let e={setHandler:()=>{},send:()=>{}};return new Xo({transport:e})}var z3=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=r0();return this.setChannel(e),e}return this.channel},this.getServerChannel=()=>{if(!this.serverChannel)throw new Error("Accessing non-existent serverChannel");return this.serverChannel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.hasServerChannel=()=>!!this.serverChannel,this.setChannel=e=>{this.channel=e,this.resolve()},this.setServerChannel=e=>{this.serverChannel=e},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},Qo="__STORYBOOK_ADDONS_PREVIEW";function W3(){return ue[Qo]||(ue[Qo]=new z3),ue[Qo]}var Pn=W3();var X0=fe(Sn(),1),Ir=fe(In(),1),rT=fe(L0(),1),nT=fe(Nn(),1);l();c();d();l();c();d();l();c();d();function Kt(e){for(var t=[],r=1;r(e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.FRAMEWORK_ANGULAR="FRAMEWORK_ANGULAR",e.FRAMEWORK_EMBER="FRAMEWORK_EMBER",e.FRAMEWORK_HTML_VITE="FRAMEWORK_HTML-VITE",e.FRAMEWORK_HTML_WEBPACK5="FRAMEWORK_HTML-WEBPACK5",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.FRAMEWORK_PREACT_VITE="FRAMEWORK_PREACT-VITE",e.FRAMEWORK_PREACT_WEBPACK5="FRAMEWORK_PREACT-WEBPACK5",e.FRAMEWORK_REACT_VITE="FRAMEWORK_REACT-VITE",e.FRAMEWORK_REACT_WEBPACK5="FRAMEWORK_REACT-WEBPACK5",e.FRAMEWORK_SERVER_WEBPACK5="FRAMEWORK_SERVER-WEBPACK5",e.FRAMEWORK_SVELTE_VITE="FRAMEWORK_SVELTE-VITE",e.FRAMEWORK_SVELTE_WEBPACK5="FRAMEWORK_SVELTE-WEBPACK5",e.FRAMEWORK_SVELTEKIT="FRAMEWORK_SVELTEKIT",e.FRAMEWORK_VUE_VITE="FRAMEWORK_VUE-VITE",e.FRAMEWORK_VUE_WEBPACK5="FRAMEWORK_VUE-WEBPACK5",e.FRAMEWORK_VUE3_VITE="FRAMEWORK_VUE3-VITE",e.FRAMEWORK_VUE3_WEBPACK5="FRAMEWORK_VUE3-WEBPACK5",e.FRAMEWORK_WEB_COMPONENTS_VITE="FRAMEWORK_WEB-COMPONENTS-VITE",e.FRAMEWORK_WEB_COMPONENTS_WEBPACK5="FRAMEWORK_WEB-COMPONENTS-WEBPACK5",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e))(kB||{});l();c();d();var qn=fe(Zo(),1);var J0=fe(K0(),1);var Q0=fe(Mo(),1);var zX=(0,X0.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{}));var WX=Symbol("incompatible");var GX=Symbol("Deeply equal");var aT=Kt` +CSF .story annotations deprecated; annotate story functions directly: +- StoryFn.story.name => StoryFn.storyName +- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) +See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. +`,VX=(0,J0.default)(()=>{},aT);var xt=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((a,o)=>(Object.entries(o).forEach(([i,u])=>{let s=a[i];Array.isArray(u)||typeof s>"u"?a[i]=u:(0,qn.default)(u)&&(0,qn.default)(s)?t[i]=!0:typeof u<"u"&&(a[i]=u)}),a),{});return Object.keys(t).forEach(a=>{let o=r.filter(Boolean).map(i=>i[a]).filter(i=>typeof i<"u");o.every(i=>(0,qn.default)(i))?n[a]=xt(...o):n[a]=o[o.length-1]}),n};var ti=(e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(Ve.warn(Kt` + We've detected a cycle in arg '${t}'. Args should be JSON-serializable. + + Consider using the mapping feature or fully custom args: + - Mapping: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values + - Custom args: https://storybook.js.org/docs/react/essentials/controls#fully-custom-args + `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?ti(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:(0,Ir.default)(e,a=>ti(a,t,new Set(r)))}):{name:"object",value:{}}},oT=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,a=(0,Ir.default)(n,(i,u)=>({name:u,type:ti(i,`${t}.${u}`,new Set)})),o=(0,Ir.default)(r,(i,u)=>({name:u}));return xt(a,o,r)};oT.secondPass=!0;var Y0=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),Nr=(e,t,r)=>!t&&!r?e:e&&(0,Q0.default)(e,(n,a)=>{let o=n.name||a;return(!t||Y0(o,t))&&(!r||!Y0(o,r))}),iT=(e,t,r)=>{let{type:n,options:a}=e;if(n){if(r.color&&r.color.test(t)){let o=n.name;if(o==="string")return{control:{type:"color"}};o!=="enum"&&Ve.warn(`Addon controls: Control of type color only supports string, received "${o}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:o}=n;return{control:{type:o?.length<=5?"radio":"select"},options:o}}case"function":case"symbol":return null;default:return{control:{type:a?"select":"object"}}}}},Z0=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:a=null,matchers:o={}}={}}}=e;if(!r)return t;let i=Nr(t,n,a),u=(0,Ir.default)(i,(s,p)=>s?.type&&iT(s,p,o));return xt(u,i)};Z0.secondPass=!0;function ri(e){return async(t,r,n)=>{await e.reduceRight((a,o)=>async()=>o(t,a,n),async()=>r(n))()}}function kr(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}function Mn(e,t,r={}){return kr(e,t).reduce((n,a)=>r.reverseFileOrder?[...a,...n]:[...n,...a],[])}function Ln(e,t){return Object.assign({},...kr(e,t))}function jn(e,t){return kr(e,t).pop()}function ni(e){let t=Mn(e,"argTypesEnhancers"),r=kr(e,"runStep");return{parameters:xt(...kr(e,"parameters")),decorators:Mn(e,"decorators",{reverseFileOrder:!(ue.FEATURES?.legacyDecoratorFileOrder??!1)}),args:Ln(e,"args"),argsEnhancers:Mn(e,"argsEnhancers"),argTypes:Ln(e,"argTypes"),argTypesEnhancers:[...t.filter(n=>!n.secondPass),...t.filter(n=>n.secondPass)],globals:Ln(e,"globals"),globalTypes:Ln(e,"globalTypes"),loaders:Mn(e,"loaders"),render:jn(e,"render"),renderToCanvas:jn(e,"renderToCanvas"),renderToDOM:jn(e,"renderToDOM"),applyDecorators:jn(e,"applyDecorators"),runStep:ri(r)}}var KX=ni([]);var U_=fe(Nn(),1),H_=fe(wi(),1);l();c();d();var W_=fe(Nn(),1);var G_=fe(wi(),1),V_=fe(Zo(),1),pm=Ke({"../../node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` +`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}}),K_=Ke({"../../node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}}),fm=Ke({"../../node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),Y_=Ke({"../../node_modules/entities/lib/maps/decode.json"(e,t){t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}}),X_=Ke({"../../node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(Y_()),n=String.fromCodePoint||function(o){var i="";return o>65535&&(o-=65536,i+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),i+=String.fromCharCode(o),i};function a(o){return o>=55296&&o<=57343||o>1114111?"\uFFFD":(o in r.default&&(o=r.default[o]),n(o))}e.default=a}}),cm=Ke({"../../node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(pm()),n=t(K_()),a=t(fm()),o=t(X_()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=u(a.default),e.decodeHTMLStrict=u(r.default);function u(y){var b=p(y);return function(m){return String(m).replace(i,b)}}var s=function(y,b){return y1?b(B):B.charCodeAt(0)).toString(16).toUpperCase()+";"}function g(B,I){return function(L){return L.replace(I,function(w){return B[w]}).replace(y,m)}}var A=new RegExp(a.source+"|"+y.source,"g");function E(B){return B.replace(A,m)}e.escape=E;function x(B){return B.replace(a,m)}e.escapeUTF8=x;function F(B){return function(I){return I.replace(A,function(L){return B[L]||m(L)})}}}}),J_=Ke({"../../node_modules/entities/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=cm(),r=dm();function n(s,p){return(!p||p<=0?t.decodeXML:t.decodeHTML)(s)}e.decode=n;function a(s,p){return(!p||p<=0?t.decodeXML:t.decodeHTMLStrict)(s)}e.decodeStrict=a;function o(s,p){return(!p||p<=0?r.encodeXML:r.encodeHTML)(s)}e.encode=o;var i=dm();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var u=cm();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return u.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return u.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return u.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return u.decodeXML}})}}),Q_=Ke({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(R,_){if(!(R instanceof _))throw new TypeError("Cannot call a class as a function")}function n(R,_){for(var q=0;q<_.length;q++){var W=_[q];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(R,W.key,W)}}function a(R,_,q){return _&&n(R.prototype,_),q&&n(R,q),R}function o(R){if(typeof Symbol>"u"||R[Symbol.iterator]==null){if(Array.isArray(R)||(R=i(R))){var _=0,q=function(){};return{s:q,n:function(){return _>=R.length?{done:!0}:{done:!1,value:R[_++]}},e:function(se){throw se},f:q}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var W,X=!0,K=!1,Z;return{s:function(){W=R[Symbol.iterator]()},n:function(){var se=W.next();return X=se.done,se},e:function(se){K=!0,Z=se},f:function(){try{!X&&W.return!=null&&W.return()}finally{if(K)throw Z}}}}function i(R,_){if(R){if(typeof R=="string")return u(R,_);var q=Object.prototype.toString.call(R).slice(8,-1);if(q==="Object"&&R.constructor&&(q=R.constructor.name),q==="Map"||q==="Set")return Array.from(q);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return u(R,_)}}function u(R,_){(_==null||_>R.length)&&(_=R.length);for(var q=0,W=new Array(_);q<_;q++)W[q]=R[q];return W}var s=J_(),p={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:y()};function y(){var R={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return B(0,5).forEach(function(_){B(0,5).forEach(function(q){B(0,5).forEach(function(W){return b(_,q,W,R)})})}),B(0,23).forEach(function(_){var q=_+232,W=m(_*10+8);R[q]="#"+W+W+W}),R}function b(R,_,q,W){var X=16+R*36+_*6+q,K=R>0?R*40+55:0,Z=_>0?_*40+55:0,se=q>0?q*40+55:0;W[X]=g([K,Z,se])}function m(R){for(var _=R.toString(16);_.length<2;)_="0"+_;return _}function g(R){var _=[],q=o(R),W;try{for(q.s();!(W=q.n()).done;){var X=W.value;_.push(m(X))}}catch(K){q.e(K)}finally{q.f()}return"#"+_.join("")}function A(R,_,q,W){var X;return _==="text"?X=w(q,W):_==="display"?X=x(R,q,W):_==="xterm256"?X=U(R,W.colors[q]):_==="rgb"&&(X=E(R,q)),X}function E(R,_){_=_.substring(2).slice(0,-1);var q=+_.substr(0,2),W=_.substring(5).split(";"),X=W.map(function(K){return("0"+Number(K).toString(16)).substr(-2)}).join("");return N(R,(q===38?"color:#":"background-color:#")+X)}function x(R,_,q){_=parseInt(_,10);var W={"-1":function(){return"
"},0:function(){return R.length&&F(R)},1:function(){return k(R,"b")},3:function(){return k(R,"i")},4:function(){return k(R,"u")},8:function(){return N(R,"display:none")},9:function(){return k(R,"strike")},22:function(){return N(R,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return H(R,"i")},24:function(){return H(R,"u")},39:function(){return U(R,q.fg)},49:function(){return V(R,q.bg)},53:function(){return N(R,"text-decoration:overline")}},X;return W[_]?X=W[_]():4<_&&_<7?X=k(R,"blink"):29<_&&_<38?X=U(R,q.colors[_-30]):39<_&&_<48?X=V(R,q.colors[_-40]):89<_&&_<98?X=U(R,q.colors[8+(_-90)]):99<_&&_<108&&(X=V(R,q.colors[8+(_-100)])),X}function F(R){var _=R.slice(0);return R.length=0,_.reverse().map(function(q){return""}).join("")}function B(R,_){for(var q=[],W=R;W<=_;W++)q.push(W);return q}function I(R){return function(_){return(R===null||_.category!==R)&&R!=="all"}}function L(R){R=parseInt(R,10);var _=null;return R===0?_="all":R===1?_="bold":2")}function N(R,_){return k(R,"span",_)}function U(R,_){return k(R,"span","color:"+_)}function V(R,_){return k(R,"span","background-color:"+_)}function H(R,_){var q;if(R.slice(-1)[0]===_&&(q=R.pop()),q)return""}function ee(R,_,q){var W=!1,X=3;function K(){return""}function Z(ie,Ae){return q("xterm256",Ae),""}function se(ie){return _.newline?q("display",-1):q("text",ie),""}function ke(ie,Ae){W=!0,Ae.trim().length===0&&(Ae="0"),Ae=Ae.trimRight(";").split(";");var Xr=o(Ae),hu;try{for(Xr.s();!(hu=Xr.n()).done;){var $y=hu.value;q("display",$y)}}catch(Uy){Xr.e(Uy)}finally{Xr.f()}return""}function Ne(ie){return q("text",ie),""}function J(ie){return q("rgb",ie),""}var Ue=[{pattern:/^\x08+/,sub:K},{pattern:/^\x1b\[[012]?K/,sub:K},{pattern:/^\x1b\[\(B/,sub:K},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:J},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Z},{pattern:/^\n/,sub:se},{pattern:/^\r+\n/,sub:se},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:ke},{pattern:/^\x1b\[\d?J/,sub:K},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:K},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:K},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Ne}];function T(ie,Ae){Ae>X&&W||(W=!1,R=R.replace(ie.pattern,ie.sub))}var P=[],M=R,O=M.length;e:for(;O>0;){for(var $=0,z=0,pe=Ue.length;z(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(e8||{});var MQ=new Z_.default({escapeXML:!0});var{document:LQ}=ue;var{FEATURES:XQ}=ue;l();c();d();var gy=fe(In(),1);l();c();d();var u8=fe(In(),1),s8=fe(Cm(),1);var l8=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(l8||{});var ea=e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)};var xm="storybook/docs",Tee=`${xm}/panel`;var c8=`${xm}/snippet-rendered`,zr=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(zr||{});l();c();d();l();c();d();var d8=Object.create,Fm=Object.defineProperty,p8=Object.getOwnPropertyDescriptor,Sm=Object.getOwnPropertyNames,f8=Object.getPrototypeOf,h8=Object.prototype.hasOwnProperty,Le=(e,t)=>function(){return t||(0,e[Sm(e)[0]])((t={exports:{}}).exports,t),t.exports},m8=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Sm(t))!h8.call(e,a)&&a!==r&&Fm(e,a,{get:()=>t[a],enumerable:!(n=p8(t,a))||n.enumerable});return e},ta=(e,t,r)=>(r=e!=null?d8(f8(e)):{},m8(t||!e||!e.__esModule?Fm(r,"default",{value:e,enumerable:!0}):r,e)),g8=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],y8=["detail"];function wm(e){let t=g8.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&y8.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var Um=fe(Sn(),1),Pm=Le({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},a=Symbol("test"),o=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;n[a]=i;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var u=Object.getOwnPropertySymbols(n);if(u.length!==1||u[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(n,a);if(s.value!==i||s.enumerable!==!0)return!1}return!0}}}),Im=Le({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,n=Pm();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),E8=Le({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(u){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var p=n.call(arguments,1),y,b=function(){if(this instanceof y){var x=s.apply(this,p.concat(n.call(arguments)));return Object(x)===x?x:this}else return s.apply(u,p.concat(n.call(arguments)))},m=Math.max(0,s.length-p.length),g=[],A=0;A"u"?r:b(Uint8Array),A={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":y?b([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":m,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":y?b(b([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!y?r:b(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!y?r:b(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":y?b(""[Symbol.iterator]()):r,"%Symbol%":y?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":p,"%TypedArray%":g,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},E=function Q(Y){var R;if(Y==="%AsyncFunction%")R=i("async function () {}");else if(Y==="%GeneratorFunction%")R=i("function* () {}");else if(Y==="%AsyncGeneratorFunction%")R=i("async function* () {}");else if(Y==="%AsyncGenerator%"){var _=Q("%AsyncGeneratorFunction%");_&&(R=_.prototype)}else if(Y==="%AsyncIteratorPrototype%"){var q=Q("%AsyncGenerator%");q&&(R=b(q.prototype))}return A[Y]=R,R},x={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},F=Ri(),B=b8(),I=F.call(Function.call,Array.prototype.concat),L=F.call(Function.apply,Array.prototype.splice),w=F.call(Function.call,String.prototype.replace),k=F.call(Function.call,String.prototype.slice),N=F.call(Function.call,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,H=function(Y){var R=k(Y,0,1),_=k(Y,-1);if(R==="%"&&_!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(_==="%"&&R!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var q=[];return w(Y,U,function(W,X,K,Z){q[q.length]=K?w(Z,V,"$1"):X||W}),q},ee=function(Y,R){var _=Y,q;if(B(x,_)&&(q=x[_],_="%"+q[0]+"%"),B(A,_)){var W=A[_];if(W===m&&(W=E(_)),typeof W>"u"&&!R)throw new o("intrinsic "+Y+" exists, but is not available. Please file an issue!");return{alias:q,name:_,value:W}}throw new n("intrinsic "+Y+" does not exist!")};t.exports=function(Y,R){if(typeof Y!="string"||Y.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof R!="boolean")throw new o('"allowMissing" argument must be a boolean');if(N(/^%?[^%]*%?$/,Y)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var _=H(Y),q=_.length>0?_[0]:"",W=ee("%"+q+"%",R),X=W.name,K=W.value,Z=!1,se=W.alias;se&&(q=se[0],L(_,I([0,1],se)));for(var ke=1,Ne=!0;ke<_.length;ke+=1){var J=_[ke],Ue=k(J,0,1),T=k(J,-1);if((Ue==='"'||Ue==="'"||Ue==="`"||T==='"'||T==="'"||T==="`")&&Ue!==T)throw new n("property names with quotes must have matching quotes");if((J==="constructor"||!Ne)&&(Z=!0),q+="."+J,X="%"+q+"%",B(A,X))K=A[X];else if(K!=null){if(!(J in K)){if(!R)throw new o("base intrinsic for "+Y+" exists, but the property is not available.");return}if(u&&ke+1>=_.length){var P=u(K,J);Ne=!!P,Ne&&"get"in P&&!("originalValue"in P.get)?K=P.get:K=K[J]}else Ne=B(K,J),K=K[J];Ne&&!Z&&(A[X]=K)}}return K}}}),A8=Le({"node_modules/call-bind/index.js"(e,t){"use strict";var r=Ri(),n=km(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),u=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),p=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}t.exports=function(m){var g=i(r,o,arguments);if(u&&s){var A=u(g,"length");A.configurable&&s(g,"length",{value:1+p(0,m.length-(arguments.length-1))})}return g};var y=function(){return i(r,a,arguments)};s?s(t.exports,"apply",{value:y}):t.exports.apply=y}}),v8=Le({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=km(),n=A8(),a=n(r("String.prototype.indexOf"));t.exports=function(i,u){var s=r(i,!!u);return typeof s=="function"&&a(i,".prototype.")>-1?n(s):s}}}),D8=Le({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=Pm();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),C8=Le({"node_modules/is-regex/index.js"(e,t){"use strict";var r=v8(),n=D8()(),a,o,i,u;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},s=function(){throw i},u={toString:s,valueOf:s},typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=s));var s,p=r("Object.prototype.toString"),y=Object.getOwnPropertyDescriptor,b="[object RegExp]";t.exports=n?function(g){if(!g||typeof g!="object")return!1;var A=y(g,"lastIndex"),E=A&&a(A,"value");if(!E)return!1;try{o(g,u)}catch(x){return x===i}}:function(g){return!g||typeof g!="object"&&typeof g!="function"?!1:p(g)===b}}}),x8=Le({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),F8=Le({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,n=Im()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),S8=ta(C8()),w8=ta(x8()),B8=ta(F8());function T8(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var _8=typeof window=="object"&&window&&window.Object===Object&&window,O8=_8,R8=typeof self=="object"&&self&&self.Object===Object&&self,P8=O8||R8||Function("return this")(),Pi=P8,I8=Pi.Symbol,nr=I8,Nm=Object.prototype,k8=Nm.hasOwnProperty,N8=Nm.toString,Wr=nr?nr.toStringTag:void 0;function M8(e){var t=k8.call(e,Wr),r=e[Wr];try{e[Wr]=void 0;var n=!0}catch{}var a=N8.call(e);return n&&(t?e[Wr]=r:delete e[Wr]),a}var L8=M8,j8=Object.prototype,q8=j8.toString;function $8(e){return q8.call(e)}var U8=$8,H8="[object Null]",z8="[object Undefined]",Bm=nr?nr.toStringTag:void 0;function W8(e){return e==null?e===void 0?z8:H8:Bm&&Bm in Object(e)?L8(e):U8(e)}var Mm=W8;function G8(e){return e!=null&&typeof e=="object"}var V8=G8,K8="[object Symbol]";function Y8(e){return typeof e=="symbol"||V8(e)&&Mm(e)==K8}var Ii=Y8;function X8(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r-1}var i6=o6;function u6(e,t){var r=this.__data__,n=na(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var s6=u6;function or(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iW6(e).replace(/\n\s*/g,"").trim()),V6=function(t,r){let n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let o=n;return o=o.replace(t,"function"),o+a},K6=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Y6=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function Hm(e){if(!ra(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=wm(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var X6=function(t){let r,n,a,o;return function(u,s){try{if(u==="")return o=[],r=new Map([[s,"[]"]]),n=new Map,a=[],s;let p=n.get(this)||this;for(;a.length&&p!==a[0];)a.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return t.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return K6.test(s)?t.allowDate?`_date_${s}`:void 0:s;if((0,S8.default)(s))return t.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,w8.default)(s)){if(!t.allowFunction)return;let{name:b}=s,m=s.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${b}|${(()=>{}).toString()}`:`_function_${b}|${G6(V6(u,m))}`}if((0,B8.default)(s)){if(!t.allowSymbol)return;let b=Symbol.keyFor(s);return b!==void 0?`_gsymbol_${b}`:`_symbol_${s.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!t.allowClass)return;let y=r.get(s);if(!y){let b=Array.isArray(s)?s:Hm(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&t.allowClass)try{Object.assign(b,{"_constructor-name_":s.constructor.name})}catch{}return o.push(u),a.unshift(b),r.set(s,JSON.stringify(o)),s!==b&&n.set(s,b),b}return`_duplicate_${y}`}catch{return}}},J6=function reviver(options){let refs=[],root;return function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let n=Y6(r)?JSON.parse(r):r.split(".");n.length===0?t[e]=root:t[e]=z6(root,n)})),key==="_constructor-name_")return value;if(ra(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(ra(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=(...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)};return Object.defineProperty(result,"toString",{value:()=>sourceSanitized}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value}},zm={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},Wm=(e,t={})=>{let r={...zm,...t};return JSON.stringify(Hm(e),X6(r),t.space)},Q6=()=>{let e=new Map;return function t(r){ra(r)&&Object.entries(r).forEach(([n,a])=>{a==="_undefined_"?r[n]=void 0:e.get(a)||(e.set(a,!0),t(a))}),Array.isArray(r)&&r.forEach((n,a)=>{n==="_undefined_"?(e.set(n,!0),r[a]=void 0):e.get(n)||(e.set(n,!0),t(n))})}},jee=(e,t={})=>{let r={...zm,...t},n=JSON.parse(e,J6(r));return Q6()(n),n};var yy=fe(ag(),1);var h4=j.div(Pt,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:de(.3,e.color.defaultText),fontSize:e.typography.size.s2})),Ey=e=>h.createElement(h4,{...e,className:"docblock-emptyblock sb-unstyled"}),m4=j(Qr)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),g4=j.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),da=j.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Bu}`]:{margin:0}})),y4=()=>h.createElement(g4,null,h.createElement(da,null),h.createElement(da,{style:{width:"80%"}}),h.createElement(da,{style:{width:"30%"}}),h.createElement(da,{style:{width:"80%"}})),au=({isLoading:e,error:t,language:r,code:n,dark:a,format:o,...i})=>{if(e)return h.createElement(y4,null);if(t)return h.createElement(Ey,null,t);let u=h.createElement(m4,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return u;let s=a?Ha.dark:Ha.light;return h.createElement(Su,{theme:wu(s)},u)};au.defaultProps={format:!1};var Ee=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,ou=600,wre=j.h1(Pt,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${ou}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),Bre=j.h2(Pt,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${ou}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:de(.25,e.color.defaultText)})),Tre=j.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?de(.1,e.color.defaultText):de(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[Ee("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[Ee("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[Ee("div")]:t,[Ee("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[Ee("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[Ee("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[Ee("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[Ee("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[Ee("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[Ee("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[Ee("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[Ee("img")]:{maxWidth:"100%"},[Ee("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[Ee("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[Ee("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[Ee("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[Ee("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[Ee("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[Ee("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),_re=j.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${ou}px)`]:{}}));var ma=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),E4=({zoom:e,resetZoom:t})=>h.createElement(h.Fragment,null,h.createElement(yt,{key:"zoomin",onClick:r=>{r.preventDefault(),e(.8)},title:"Zoom in"},h.createElement(Oe,{icon:"zoom"})),h.createElement(yt,{key:"zoomout",onClick:r=>{r.preventDefault(),e(1.25)},title:"Zoom out"},h.createElement(Oe,{icon:"zoomout"})),h.createElement(yt,{key:"zoomreset",onClick:r=>{r.preventDefault(),t()},title:"Reset zoom"},h.createElement(Oe,{icon:"zoomreset"}))),b4=j(Ba)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),A4=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>h.createElement(b4,{...o},h.createElement(gu,{key:"left"},e?[1,2,3].map(i=>h.createElement(Oa,{key:i})):h.createElement(E4,{zoom:n,resetZoom:a}))),by=pr({scale:1}),{window:v4}=ue,D4=class extends et{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=v4.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return h.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},{PREVIEW_URL:C4}=ue,x4=C4||"iframe.html",Ji=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,F4=e=>{let t=Fe(),[r,n]=ne(!0),[a,o]=ne(),{story:i,height:u,autoplay:s,forceInitialArgs:p,renderStoryToElement:y}=e;return he(()=>{if(!(i&&t.current))return()=>{};let b=t.current,m=y(i,b,{showMain:()=>{},showError:({title:g,description:A})=>o(new Error(`${g} - ${A}`)),showException:g=>o(g)},{autoplay:s,forceInitialArgs:p});return n(!1),()=>{Promise.resolve().then(()=>m())}},[s,y,i]),a?h.createElement("pre",null,h.createElement(wa,{error:a})):h.createElement(h.Fragment,null,u?h.createElement("style",null,`#${Ji(e)} { min-height: ${u}; transform: translateZ(0); overflow: auto }`):null,r&&h.createElement(iu,null),h.createElement("div",{ref:t,id:`${Ji(e)}-inner`,"data-name":i.name}))},S4=({story:e,height:t="500px"})=>h.createElement("div",{style:{width:"100%",height:t}},h.createElement(by.Consumer,null,({scale:r})=>h.createElement(D4,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:qa(x4,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),w4=e=>{let{inline:t}=e;return h.createElement("div",{id:Ji(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?h.createElement(F4,{...e}):h.createElement(S4,{...e}))},iu=()=>h.createElement(Ra,null),B4=j.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px",margin:-10,"& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),Qg=j(au)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":ze(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":ze(.05,e.background.content)}})),T4=j.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...ma(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),_4=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:h.createElement(Qg,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:h.createElement(Qg,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function O4(e){if(Jr.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var R4=j(A4)({position:"absolute",top:0,left:0,right:0,height:40}),P4=j.div({overflow:"hidden",position:"relative"}),Qi=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:u,className:s,layout:p="padded",...y})=>{let[b,m]=ne(i),{source:g,actionItem:A}=_4(a,b,m),[E,x]=ne(1),F=[s].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),B=a?[A]:[],[I,L]=ne(u?[...u]:[]),w=[...B,...I],{window:k}=ue,N=ge(async V=>{let{createCopyToClipboardFunction:H}=await Promise.resolve().then(()=>(fr(),Fu));H()},[]),U=V=>{let H=k.getSelection();H&&H.type==="Range"||(V.preventDefault(),I.filter(ee=>ee.title==="Copied").length===0&&N(g.props.code).then(()=>{L([...I,{title:"Copied",onClick:()=>{}}]),k.setTimeout(()=>L(I.filter(ee=>ee.title!=="Copied")),1500)}))};return h.createElement(T4,{withSource:a,withToolbar:o,...y,className:F.join(" ")},o&&h.createElement(R4,{isLoading:e,border:!0,zoom:V=>x(E*V),resetZoom:()=>x(1),storyId:O4(n),baseUrl:"./iframe.html"}),h.createElement(by.Provider,{value:{scale:E}},h.createElement(P4,{className:"docs-story",onCopyCapture:a&&U},h.createElement(B4,{isColumn:t||!Array.isArray(n),columns:r,layout:p},h.createElement(La.Element,{scale:E},Array.isArray(n)?n.map((V,H)=>h.createElement("div",{key:H},V)):h.createElement("div",null,n))),h.createElement(Ca,{actionItems:w}))),a&&b&&g)},I4=j(Qi)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}})),k4=()=>h.createElement(I4,{isLoading:!0,withToolbar:!0},h.createElement(iu,null)),N4=j.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Rt({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),M4=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:h.createElement(h.Fragment,null,h.createElement(N4,null,h.createElement("tbody",null,n&&h.createElement("tr",{key:"deprecated"},h.createElement("td",{colSpan:2},h.createElement("strong",null,"Deprecated"),": ",e.deprecated)),r&&t.map(o=>h.createElement("tr",{key:o.name},h.createElement("td",null,h.createElement("code",null,o.name)),h.createElement("td",null,o.description))),a&&h.createElement("tr",{key:"returns"},h.createElement("td",null,h.createElement("code",null,"Returns")),h.createElement("td",null,e.returns.description)))))},Zi=8,Zg=j.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),L4=j.span(Rt,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),j4=j.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),q4=j.div(Rt,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),$4=j.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),U4=j(Oe)({height:10,width:10,minWidth:10,marginLeft:4}),H4=()=>h.createElement("span",null,"-"),Ay=({text:e,simple:t})=>h.createElement(L4,{simple:t},e),z4=(0,fy.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),W4=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return(0,hy.default)(t)},ey=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Zi)),r.map(n=>h.createElement(Ay,{key:n,text:n===""?'""':n}))},G4=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=ne(!1),[i,u]=ne(t||!1);if(r==null)return null;let s=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(s))return h.createElement(Ay,{text:s});let p=W4(s),y=p.length;return y>Zi?h.createElement(Zg,{isExpanded:i},ey(p,i),h.createElement(j4,{onClick:()=>u(!i)},i?"Show less...":`Show ${y-Zi} more...`)):h.createElement(Zg,null,ey(p))}return h.createElement(Ma,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:p=>{o(p)},tooltip:h.createElement($4,{width:z4(n)},h.createElement(Qr,{language:"jsx",format:!1},n))},h.createElement(q4,{className:"sbdocs-expandable"},h.createElement("span",null,s),h.createElement(U4,{icon:a?"arrowup":"arrowdown"})))},Ki=({value:e,initialExpandedArgs:t})=>e==null?h.createElement(H4,null):h.createElement(G4,{value:e,initialExpandedArgs:t}),V4=j.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:de(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Er(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Er(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Er(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Er(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),K4=e=>e==="true",Y4=({name:e,value:t,onChange:r,onBlur:n,onFocus:a})=>{let o=ge(()=>r(!1),[r]);if(t===void 0)return h.createElement(Re.Button,{id:hr(e),onClick:o},"Set boolean");let i=Pe(e),u=typeof t=="string"?K4(t):t;return h.createElement(V4,{htmlFor:i,title:u?"Change to false":"Change to true"},h.createElement("input",{id:i,type:"checkbox",onChange:s=>r(s.target.checked),checked:u,name:e,onBlur:n,onFocus:a}),h.createElement("span",null,"False"),h.createElement("span",null,"True"))},X4=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},J4=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},Q4=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},Z4=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},e9=j.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),t9=({name:e,value:t,onChange:r,onFocus:n,onBlur:a})=>{let[o,i]=ne(!0),u=Fe(),s=Fe();he(()=>{o!==!1&&(u&&u.current&&(u.current.value=Q4(t)),s&&s.current&&(s.current.value=Z4(t)))},[t]);let p=m=>{let g=X4(m.target.value),A=new Date(t);A.setFullYear(g.getFullYear(),g.getMonth(),g.getDate());let E=A.getTime();E&&r(E),i(!!E)},y=m=>{let g=J4(m.target.value),A=new Date(t);A.setHours(g.getHours()),A.setMinutes(g.getMinutes());let E=A.getTime();E&&r(E),i(!!E)},b=Pe(e);return h.createElement(e9,null,h.createElement(Re.Input,{type:"date",max:"9999-12-31",ref:u,id:`${b}-date`,name:`${b}-date`,onChange:p,onFocus:n,onBlur:a}),h.createElement(Re.Input,{type:"time",id:`${b}-time`,name:`${b}-time`,ref:s,onChange:y,onFocus:n,onBlur:a}),o?null:h.createElement("div",null,"invalid"))},r9=j.label({display:"flex"}),n9=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t};var a9=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:u})=>{let[s,p]=ne(typeof t=="number"?t:""),[y,b]=ne(!1),[m,g]=ne(null),A=ge(F=>{p(F.target.value);let B=parseFloat(F.target.value);Number.isNaN(B)?g(new Error(`'${F.target.value}' is not a number`)):(r(B),g(null))},[r,g]),E=ge(()=>{p("0"),r(0),b(!0)},[b]),x=Fe(null);return he(()=>{y&&x.current&&x.current.select()},[y]),he(()=>{s!==(typeof t=="number"?t:"")&&p(t)},[t]),!y&&t===void 0?h.createElement(Re.Button,{id:hr(e),onClick:E},"Set number"):h.createElement(r9,null,h.createElement(Re.Input,{ref:x,id:Pe(e),type:"number",onChange:A,size:"flex",placeholder:"Edit number...",value:s,valid:m?"error":null,autoFocus:y,name:e,min:n,max:a,step:o,onFocus:u,onBlur:i}))},vy=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},eu=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],Dy=(e,t)=>e&&t&&e.map(r=>t[r]),o9=j.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),i9=j.span({}),u9=j.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),ty=({name:e,options:t,value:r,onChange:n,isInline:a})=>{if(!t)return Ve.warn(`Checkbox with no options: ${e}`),h.createElement(h.Fragment,null,"-");let o=eu(r,t),[i,u]=ne(o),s=y=>{let b=y.target.value,m=[...i];m.includes(b)?m.splice(m.indexOf(b),1):m.push(b),n(Dy(m,t)),u(m)};he(()=>{u(eu(r,t))},[r]);let p=Pe(e);return h.createElement(o9,{isInline:a},Object.keys(t).map((y,b)=>{let m=`${p}-${b}`;return h.createElement(u9,{key:m,htmlFor:m},h.createElement("input",{type:"checkbox",id:m,name:m,value:y,onChange:s,checked:i?.includes(y)}),h.createElement(i9,null,y))}))},s9=j.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),l9=j.span({}),c9=j.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),ry=({name:e,options:t,value:r,onChange:n,isInline:a})=>{if(!t)return Ve.warn(`Radio with no options: ${e}`),h.createElement(h.Fragment,null,"-");let o=vy(r,t),i=Pe(e);return h.createElement(s9,{isInline:a},Object.keys(t).map((u,s)=>{let p=`${i}-${s}`;return h.createElement(c9,{key:p,htmlFor:p},h.createElement("input",{type:"radio",id:p,name:p,value:u,onChange:y=>n(t[y.currentTarget.value]),checked:u===o}),h.createElement(l9,null,u))}))},d9={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Cy=j.select(({theme:e})=>({...d9,boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),xy=j.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),ny="Choose option...",p9=({name:e,value:t,options:r,onChange:n})=>{let a=u=>{n(r[u.currentTarget.value])},o=vy(t,r)||ny,i=Pe(e);return h.createElement(xy,null,h.createElement(Oe,{icon:"arrowdown"}),h.createElement(Cy,{id:i,value:o,onChange:a},h.createElement("option",{key:"no-selection",disabled:!0},ny),Object.keys(r).map(u=>h.createElement("option",{key:u},u))))},f9=({name:e,value:t,options:r,onChange:n})=>{let a=u=>{let s=Array.from(u.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(Dy(s,r))},o=eu(t,r),i=Pe(e);return h.createElement(xy,null,h.createElement(Cy,{id:i,multiple:!0,value:o,onChange:a},Object.keys(r).map(u=>h.createElement("option",{key:u},u))))},ay=e=>{let{name:t,options:r}=e;return r?e.isMulti?h.createElement(f9,{...e}):h.createElement(p9,{...e}):(Ve.warn(`Select with no options: ${t}`),h.createElement(h.Fragment,null,"-"))},h9=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[t?.[n]||String(n)]=n,r),{}):e,m9={check:ty,"inline-check":ty,radio:ry,"inline-radio":ry,select:ay,"multi-select":ay},cr=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,options:n?h9(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=m9[t];if(o)return h.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},uu="value",g9="key",y9="Error",E9="Object",b9="Array",A9="String",v9="Number",D9="Boolean",C9="Date",x9="Null",F9="Undefined",S9="Function",w9="Symbol",Fy="ADD_DELTA_TYPE",Sy="REMOVE_DELTA_TYPE",wy="UPDATE_DELTA_TYPE";function gt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function By(e,t){let r=gt(e),n=gt(t);return(r==="Function"||n==="Function")&&n!==r}var su=class extends et{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,u={};if(!t){if(!o.value)return;u.key=o.value}u.newValue=r(!1,n,a,u.key,i.value),e(u)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,u=me(r,{onClick:this.onSubmit}),s=me(n,{onClick:e}),p=a(uu,o,i),y=me(p,{placeholder:"Value",ref:this.refInputValue}),b=null;if(!t){let m=a(g9,o,i);b=me(m,{placeholder:"Key",ref:this.refInputKey})}return h.createElement("span",{className:"rejt-add-value-node"},b,y,s,u)}};su.defaultProps={onlyValue:!1,addButtonElement:h.createElement("button",null,"+"),cancelButtonElement:h.createElement("button",null,"c")};var Ty=class extends et{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let u={keyPath:a,deep:o,key:e,oldValue:i,type:Sy};n.splice(e,1),this.setState({data:n});let{onUpdate:s,onDeltaUpdate:p}=this.props;s(a[a.length-1],n),p(u)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:s}=this.props;u(r[r.length-1],i),s({type:Fy,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:u}=this.state,s=o[e];a(e,i,u,s,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:p,onDeltaUpdate:y}=this.props;p(i[i.length-1],o),y({type:wy,keyPath:i,deep:u,key:e,newValue:t,oldValue:s}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:u,minusMenuElement:s}=this.props,{minus:p,collapsed:y}=i(e,t,r,n,u),b=o(e,t,r,n,u),m=me(s,{onClick:a,className:"rejt-minus-menu",style:p});return h.createElement("span",{className:"rejt-collapsed"},h.createElement("span",{className:"rejt-collapsed-text",style:y,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!b&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:u,onDeltaUpdate:s,readOnly:p,getStyle:y,dataType:b,addButtonElement:m,cancelButtonElement:g,editButtonElement:A,inputElementGenerator:E,textareaElementGenerator:x,minusMenuElement:F,plusMenuElement:B,beforeRemoveAction:I,beforeAddAction:L,beforeUpdateAction:w,logger:k,onSubmitValueParser:N}=this.props,{minus:U,plus:V,delimiter:H,ul:ee,addForm:Q}=y(e,t,r,n,b),Y=p(e,t,r,n,b),R=me(B,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:V}),_=me(F,{onClick:u,className:"rejt-minus-menu",style:U}),q=!0,W="[",X="]";return h.createElement("span",{className:"rejt-not-collapsed"},h.createElement("span",{className:"rejt-not-collapsed-delimiter",style:H},W),!a&&R,h.createElement("ul",{className:"rejt-not-collapsed-list",style:ee},t.map((K,Z)=>h.createElement(ga,{key:Z,name:Z.toString(),data:K,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(Z),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:p,getStyle:y,addButtonElement:m,cancelButtonElement:g,editButtonElement:A,inputElementGenerator:E,textareaElementGenerator:x,minusMenuElement:F,plusMenuElement:B,beforeRemoveAction:I,beforeAddAction:L,beforeUpdateAction:w,logger:k,onSubmitValueParser:N}))),!Y&&a&&h.createElement("div",{className:"rejt-add-form",style:Q},h.createElement(su,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:q,addButtonElement:m,cancelButtonElement:g,inputElementGenerator:E,keyPath:r,deep:n,onSubmitValueParser:N})),h.createElement("span",{className:"rejt-not-collapsed-delimiter",style:H},X),!Y&&_)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),s=i(e,r,n,a,o);return h.createElement("div",{className:"rejt-array-node"},h.createElement("span",{onClick:this.handleCollapseMode},h.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),u)}};Ty.defaultProps={keyPath:[],deep:0,minusMenuElement:h.createElement("span",null," - "),plusMenuElement:h.createElement("span",null," + ")};var _y=class extends et{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:u}=this.props,s=i(r,n,a,o,u);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:u}=this.state;if(!o)return;let s=n(!0,a,u,i,o.value);e({value:s,key:i}).then(()=>{By(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:u,dataType:s,getStyle:p,editButtonElement:y,cancelButtonElement:b,textareaElementGenerator:m,minusMenuElement:g,keyPath:A}=this.props,E=p(e,i,n,a,s),x=null,F=null,B=u(e,i,n,a,s);if(r&&!B){let I=m(uu,A,a,e,i,s),L=me(y,{onClick:this.handleEdit}),w=me(b,{onClick:this.handleCancelEdit}),k=me(I,{ref:this.refInput,defaultValue:i});x=h.createElement("span",{className:"rejt-edit-form",style:E.editForm},k," ",w,L),F=null}else{x=h.createElement("span",{className:"rejt-value",style:E.value,onClick:B?null:this.handleEditMode},t);let I=me(g,{onClick:o,className:"rejt-minus-menu",style:E.minus});F=B?null:I}return h.createElement("li",{className:"rejt-function-value-node",style:E.li},h.createElement("span",{className:"rejt-name",style:E.name},e," :"," "),x,F)}};_y.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:h.createElement("button",null,"e"),cancelButtonElement:h.createElement("button",null,"c"),minusMenuElement:h.createElement("span",null," - ")};var ga=class extends et{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:u,onDeltaUpdate:s,readOnly:p,getStyle:y,addButtonElement:b,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:F,beforeRemoveAction:B,beforeAddAction:I,beforeUpdateAction:L,logger:w,onSubmitValueParser:k}=this.props,N=()=>!0,U=gt(e);switch(U){case y9:return h.createElement(tu,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:s,readOnly:N,dataType:U,getStyle:y,addButtonElement:b,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:F,beforeRemoveAction:B,beforeAddAction:I,beforeUpdateAction:L,logger:w,onSubmitValueParser:k});case E9:return h.createElement(tu,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:s,readOnly:p,dataType:U,getStyle:y,addButtonElement:b,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:F,beforeRemoveAction:B,beforeAddAction:I,beforeUpdateAction:L,logger:w,onSubmitValueParser:k});case b9:return h.createElement(Ty,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:s,readOnly:p,dataType:U,getStyle:y,addButtonElement:b,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:F,beforeRemoveAction:B,beforeAddAction:I,beforeUpdateAction:L,logger:w,onSubmitValueParser:k});case A9:return h.createElement(mt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});case v9:return h.createElement(mt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});case D9:return h.createElement(mt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});case C9:return h.createElement(mt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:N,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});case x9:return h.createElement(mt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});case F9:return h.createElement(mt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});case S9:return h.createElement(_y,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,textareaElementGenerator:E,minusMenuElement:x,logger:w,onSubmitValueParser:k});case w9:return h.createElement(mt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:N,dataType:U,getStyle:y,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:A,minusMenuElement:x,logger:w,onSubmitValueParser:k});default:return null}}};ga.defaultProps={keyPath:[],deep:0};var tu=class extends et{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:s}=this.props;u(n[n.length-1],r),s({type:Fy,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let u={keyPath:a,deep:o,key:e,oldValue:i,type:Sy};delete n[e],this.setState({data:n});let{onUpdate:s,onDeltaUpdate:p}=this.props;s(a[a.length-1],n),p(u)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:u}=this.state,s=o[e];a(e,i,u,s,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:p,onDeltaUpdate:y}=this.props;p(i[i.length-1],o),y({type:wy,keyPath:i,deep:u,key:e,newValue:t,oldValue:s}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:u,minusMenuElement:s}=this.props,{minus:p,collapsed:y}=u(e,n,t,r,i),b=Object.getOwnPropertyNames(n),m=o(e,n,t,r,i),g=me(s,{onClick:a,className:"rejt-minus-menu",style:p});return h.createElement("span",{className:"rejt-collapsed"},h.createElement("span",{className:"rejt-collapsed-text",style:y,onClick:this.handleCollapseMode},"{...}"," ",b.length," ",b.length===1?"key":"keys"),!m&&g)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:u,onDeltaUpdate:s,readOnly:p,getStyle:y,dataType:b,addButtonElement:m,cancelButtonElement:g,editButtonElement:A,inputElementGenerator:E,textareaElementGenerator:x,minusMenuElement:F,plusMenuElement:B,beforeRemoveAction:I,beforeAddAction:L,beforeUpdateAction:w,logger:k,onSubmitValueParser:N}=this.props,{minus:U,plus:V,addForm:H,ul:ee,delimiter:Q}=y(e,t,r,n,b),Y=Object.getOwnPropertyNames(t),R=p(e,t,r,n,b),_=me(B,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:V}),q=me(F,{onClick:u,className:"rejt-minus-menu",style:U}),W=Y.map(Z=>h.createElement(ga,{key:Z,name:Z,data:t[Z],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(Z),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:p,getStyle:y,addButtonElement:m,cancelButtonElement:g,editButtonElement:A,inputElementGenerator:E,textareaElementGenerator:x,minusMenuElement:F,plusMenuElement:B,beforeRemoveAction:I,beforeAddAction:L,beforeUpdateAction:w,logger:k,onSubmitValueParser:N})),X="{",K="}";return h.createElement("span",{className:"rejt-not-collapsed"},h.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Q},X),!R&&_,h.createElement("ul",{className:"rejt-not-collapsed-list",style:ee},W),!R&&o&&h.createElement("div",{className:"rejt-add-form",style:H},h.createElement(su,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:m,cancelButtonElement:g,inputElementGenerator:E,keyPath:r,deep:n,onSubmitValueParser:N})),h.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Q},K),!R&&q)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),s=o(e,r,n,a,i);return h.createElement("div",{className:"rejt-object-node"},h.createElement("span",{onClick:this.handleCollapseMode},h.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),u)}};tu.defaultProps={keyPath:[],deep:0,minusMenuElement:h.createElement("span",null," - "),plusMenuElement:h.createElement("span",null," + ")};var mt=class extends et{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:u}=this.props,s=i(r,n,a,o,u);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:u}=this.state;if(!o)return;let s=n(!0,a,u,i,o.value);e({value:s,key:i}).then(()=>{By(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:u,dataType:s,getStyle:p,editButtonElement:y,cancelButtonElement:b,inputElementGenerator:m,minusMenuElement:g,keyPath:A}=this.props,E=p(e,i,n,a,s),x=u(e,i,n,a,s),F=r&&!x,B=m(uu,A,a,e,i,s),I=me(y,{onClick:this.handleEdit}),L=me(b,{onClick:this.handleCancelEdit}),w=me(B,{ref:this.refInput,defaultValue:JSON.stringify(i)}),k=me(g,{onClick:o,className:"rejt-minus-menu",style:E.minus});return h.createElement("li",{className:"rejt-value-node",style:E.li},h.createElement("span",{className:"rejt-name",style:E.name},e," : "),F?h.createElement("span",{className:"rejt-edit-form",style:E.editForm},w," ",L,I):h.createElement("span",{className:"rejt-value",style:E.value,onClick:x?null:this.handleEditMode},String(t)),!x&&!F&&k)}};mt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:h.createElement("button",null,"e"),cancelButtonElement:h.createElement("button",null,"c"),minusMenuElement:h.createElement("span",null," - ")};var B9={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},T9={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},_9={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function O9(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var Oy=class extends et{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:u,editButtonElement:s,inputElement:p,textareaElement:y,minusMenuElement:b,plusMenuElement:m,beforeRemoveAction:g,beforeAddAction:A,beforeUpdateAction:E,logger:x,onSubmitValueParser:F,fallback:B=null}=this.props,I=gt(e),L=a;gt(a)==="Boolean"&&(L=()=>a);let w=p;p&>(p)!=="Function"&&(w=()=>p);let k=y;return y&>(y)!=="Function"&&(k=()=>y),I==="Object"||I==="Array"?h.createElement("div",{className:"rejt-tree"},h.createElement(ga,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:L,getStyle:o,addButtonElement:i,cancelButtonElement:u,editButtonElement:s,inputElementGenerator:w,textareaElementGenerator:k,minusMenuElement:b,plusMenuElement:m,handleRemove:this.removeRoot,beforeRemoveAction:g,beforeAddAction:A,beforeUpdateAction:E,logger:x,onSubmitValueParser:F})):B}};Oy.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return B9;case"Array":return T9;default:return _9}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>O9(a),inputElement:()=>h.createElement("input",null),textareaElement:()=>h.createElement("textarea",null),fallback:null};var{window:R9}=ue,P9=j.div(({theme:e})=>({position:"relative",display:"flex",".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Yi=j.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),oy=j(Oe)(({theme:e,icon:t,disabled:r})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:r?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":r?{}:{color:t==="subtract"?e.color.negative:e.color.ancillary},"svg + &":{marginLeft:0}})),iy=j.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),I9=j(yt)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),k9=j(Re.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),N9={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},M9=e=>{e.currentTarget.dispatchEvent(new R9.KeyboardEvent("keydown",N9))},L9=e=>{e.currentTarget.select()},j9=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),uy=({name:e,value:t,onChange:r})=>{let n=Tu(),a=ot(()=>t&&(0,my.default)(t),[t]),o=a!=null,[i,u]=ne(!o),[s,p]=ne(null),y=ge(x=>{try{x&&r(JSON.parse(x)),p(void 0)}catch(F){p(F)}},[r]),[b,m]=ne(!1),g=ge(()=>{r({}),m(!0)},[m]),A=Fe(null);if(he(()=>{b&&A.current&&A.current.select()},[b]),!o)return h.createElement(Re.Button,{id:hr(e),onClick:g},"Set object");let E=h.createElement(k9,{ref:A,id:Pe(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:x=>y(x.target.value),placeholder:"Edit JSON string...",autoFocus:b,valid:s?"error":null});return h.createElement(P9,null,["Object","Array"].includes(gt(a))&&h.createElement(I9,{href:"#",onClick:x=>{x.preventDefault(),u(F=>!F)}},h.createElement(Oe,{icon:i?"eyeclose":"eye"}),h.createElement("span",null,"RAW")),i?E:h.createElement(Oy,{data:a,rootName:e,onFullyUpdate:r,getStyle:j9(n),cancelButtonElement:h.createElement(Yi,{type:"button"},"Cancel"),editButtonElement:h.createElement(Yi,{type:"submit"},"Save"),addButtonElement:h.createElement(Yi,{type:"submit",primary:!0},"Save"),plusMenuElement:h.createElement(oy,{icon:"add"}),minusMenuElement:h.createElement(oy,{icon:"subtract"}),inputElement:(x,F,B,I)=>I?h.createElement(iy,{onFocus:L9,onBlur:M9}):h.createElement(iy,null),fallback:E}))},q9=j.input(({theme:e,min:t,max:r,value:n})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${ze(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${ze(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${st(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${st(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${He(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${He(e.appBorderColor,.2)}`,cursor:"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${ze(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:He(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${ze(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${ze(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${st(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${st(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${He(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${He(e.appBorderColor,.2)}`,cursor:"grab",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${ze(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${ze(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${ze(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${st(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${st(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${He(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Ry=j.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),$9=j(Ry)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),U9=j.div({display:"flex",alignItems:"center",width:"100%"});function H9(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var z9=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:u})=>{let s=b=>{r(n9(b.target.value))},p=t!==void 0,y=ot(()=>H9(o),[o]);return h.createElement(U9,null,h.createElement(Ry,null,n),h.createElement(q9,{id:Pe(e),type:"range",onChange:s,name:e,value:t,min:n,max:a,step:o,onFocus:u,onBlur:i}),h.createElement($9,{numberOFDecimalsPlaces:y,max:a},p?t.toFixed(y):"--"," / ",a))},W9=j.label({display:"flex"}),G9=j.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),V9=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o})=>{let i=b=>{r(b.target.value)},[u,s]=ne(!1),p=ge(()=>{r(""),s(!0)},[s]);if(t===void 0)return h.createElement(Re.Button,{id:hr(e),onClick:p},"Set string");let y=typeof t=="string";return h.createElement(W9,null,h.createElement(Re.Textarea,{id:Pe(e),maxLength:o,onChange:i,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:y?null:"error",name:e,value:y?t:"",onFocus:n,onBlur:a}),o&&h.createElement(G9,{isMaxed:t?.length===o},t?.length??0," / ",o))},K9=j(Re.Input)({padding:10});function Y9(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var X9=({onChange:e,name:t,accept:r="image/*",value:n})=>{let a=Fe(null);function o(i){if(!i.target.files)return;let u=Array.from(i.target.files).map(s=>URL.createObjectURL(s));e(u),Y9(n)}return he(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),h.createElement(K9,{ref:a,id:Pe(t),type:"file",name:t,multiple:!0,onChange:o,accept:r,size:"flex"})},J9=Eu(()=>Promise.resolve().then(()=>(Jg(),Xg))),Q9=e=>h.createElement(yu,{fallback:h.createElement("div",null)},h.createElement(J9,{...e})),Z9={array:uy,object:uy,boolean:Y4,color:Q9,date:t9,number:a9,check:cr,"inline-check":cr,radio:cr,"inline-radio":cr,select:cr,"multi-select":cr,range:z9,text:V9,file:X9},sy=()=>h.createElement(h.Fragment,null,"-"),eP=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:a,control:o}=e,[i,u]=ne(!1),[s,p]=ne({value:t});he(()=>{i||p({value:t})},[i,t]);let y=ge(E=>(p({value:E}),r({[a]:E}),E),[r,a]),b=ge(()=>u(!1),[]),m=ge(()=>u(!0),[]);if(!o||o.disable)return n?h.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):h.createElement(sy,null);let g={name:a,argType:e,value:s.value,onChange:y,onBlur:b,onFocus:m},A=Z9[o.type]||sy;return h.createElement(A,{...g,...o,controlType:o.type})},tP=j.span({fontWeight:"bold"}),rP=j.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),nP=j.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Rt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),aP=j.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?de(.1,e.color.defaultText):de(.2,e.color.defaultText),marginTop:t?4:0})),oP=j.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?de(.1,e.color.defaultText):de(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),iP=j.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),pa=e=>{let[t,r]=ne(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:u}=e,{name:s,description:p}=n,y=n.table||{},b=y.type||n.type,m=y.defaultValue||n.defaultValue,g=n.type?.required,A=p!=null&&p!=="";return h.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},h.createElement(iP,{expandable:i},h.createElement(tP,null,s),g?h.createElement(rP,{title:"Required"},"*"):null),o?null:h.createElement("td",null,A&&h.createElement(nP,null,h.createElement(Vo,null,p)),y.jsDocTags!=null?h.createElement(h.Fragment,null,h.createElement(oP,{hasDescription:A},h.createElement(Ki,{value:b,initialExpandedArgs:u})),h.createElement(M4,{tags:y.jsDocTags})):h.createElement(aP,{hasDescription:A},h.createElement(Ki,{value:b,initialExpandedArgs:u}))),o?null:h.createElement("td",null,h.createElement(Ki,{value:m,initialExpandedArgs:u})),a?h.createElement("td",null,h.createElement(eP,{...e,isHovered:t})):null)},uP=j(Oe)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?de(.25,e.color.defaultText):de(.3,e.color.defaultText),border:"none",display:"inline-block"})),sP=j.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),lP=j.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),cP=j.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),dP=j.td(()=>({position:"relative"})),pP=j.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${st(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),ly=j.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Xi=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=ne(n),u=e==="subsection"?cP:lP,s=r?.length||0,p=e==="subsection"?`${s} item${s!==1?"s":""}`:"",y=o?"arrowdown":"arrowright",b=`${o?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return h.createElement(h.Fragment,null,h.createElement(pP,{title:b},h.createElement(u,{colSpan:1},h.createElement(ly,{onClick:m=>i(!o),tabIndex:0},b),h.createElement(sP,null,h.createElement(uP,{icon:y}),t)),h.createElement(dP,{colSpan:a-1},h.createElement(ly,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},b),o?null:p)),o?r:null)},fa=j.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Te=j.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),be=j.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),_e=[2,4,2,2],fP=()=>h.createElement(h.Fragment,null,h.createElement(fa,null,h.createElement(Te,{numColumn:_e[0]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[1]},h.createElement(be,{width:"30%"})),h.createElement(Te,{numColumn:_e[2]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[3]},h.createElement(be,{width:"60%"}))),h.createElement(fa,null,h.createElement(Te,{numColumn:_e[0]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[1]},h.createElement(be,{width:"80%"}),h.createElement(be,{width:"30%"})),h.createElement(Te,{numColumn:_e[2]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[3]},h.createElement(be,{width:"60%"}))),h.createElement(fa,null,h.createElement(Te,{numColumn:_e[0]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[1]},h.createElement(be,{width:"80%"}),h.createElement(be,{width:"30%"})),h.createElement(Te,{numColumn:_e[2]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[3]},h.createElement(be,{width:"60%"}))),h.createElement(fa,null,h.createElement(Te,{numColumn:_e[0]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[1]},h.createElement(be,{width:"80%"}),h.createElement(be,{width:"30%"})),h.createElement(Te,{numColumn:_e[2]},h.createElement(be,{width:"60%"})),h.createElement(Te,{numColumn:_e[3]},h.createElement(be,{width:"60%"})))),hP=j.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),mP=j.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),gP=j.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),yP=j.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),EP=j.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),bP=j.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),AP=({inAddonPanel:e})=>{let[t,r]=ne(!0);return he(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:h.createElement(hP,{inAddonPanel:e},h.createElement(mP,null,h.createElement(gP,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),h.createElement(yP,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically.")),h.createElement(EP,null,e&&h.createElement(h.Fragment,null,h.createElement(Et,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},h.createElement(Oe,{icon:"video"})," Watch 5m video"),h.createElement(bP,null),h.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Read docs")),!e&&h.createElement(Et,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Learn how to set that up")))},vP=j.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?de(.25,e.color.defaultText):de(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),DP=j(yt)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),CP=j.span({display:"flex",justifyContent:"space-between"}),xP={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>+!!t.type?.required-+!!e.type?.required||e.name.localeCompare(t.name),none:void 0},FP=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:u,subcategory:s}=i?.table||{};if(u){let p=r.sections[u]||{ungrouped:[],subsections:{}};if(!s)p.ungrouped.push({key:o,...i});else{let y=p.subsections[s]||[];y.push({key:o,...i}),p.subsections[s]=y}r.sections[u]=p}else if(s){let p=r.ungroupedSubsections[s]||[];p.push({key:o,...i}),r.ungroupedSubsections[s]=p}else r.ungrouped.push({key:o,...i})});let n=xP[t],a=o=>n?Object.keys(o).reduce((i,u)=>({...i,[u]:o[u].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},SP=(e,t,r)=>{try{return Lo(e,t,r)}catch(n){return xn.warn(n.message),!1}},_t=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:u}=e;if("error"in e){let{error:B}=e;return h.createElement(Ey,null,B,"\xA0",h.createElement(Et,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"))}if(u)return h.createElement(fP,null);let{rows:s,args:p,globals:y}="rows"in e&&e,b=FP((0,py.default)(s,B=>!B?.table?.disable&&SP(B,p||{},y||{})),i),m=b.ungrouped.length===0,g=Object.entries(b.sections).length===0,A=Object.entries(b.ungroupedSubsections).length===0;if(m&&g&&A)return h.createElement(AP,{inAddonPanel:a});let E=1;t&&(E+=1),n||(E+=2);let x=Object.keys(b.sections).length>0,F={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return h.createElement(Pa,null,h.createElement(vP,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},h.createElement("thead",{className:"docblock-argstable-head"},h.createElement("tr",null,h.createElement("th",null,h.createElement("span",null,"Name")),n?null:h.createElement("th",null,h.createElement("span",null,"Description")),n?null:h.createElement("th",null,h.createElement("span",null,"Default")),t?h.createElement("th",null,h.createElement(CP,null,"Control"," ",!u&&r&&h.createElement(DP,{onClick:()=>r(),title:"Reset controls"},h.createElement(Oe,{icon:"undo","aria-hidden":!0})))):null)),h.createElement("tbody",{className:"docblock-argstable-body"},b.ungrouped.map(B=>h.createElement(pa,{key:B.key,row:B,arg:p&&p[B.key],...F})),Object.entries(b.ungroupedSubsections).map(([B,I])=>h.createElement(Xi,{key:B,label:B,level:"subsection",colSpan:E},I.map(L=>h.createElement(pa,{key:L.key,row:L,arg:p&&p[L.key],expandable:x,...F})))),Object.entries(b.sections).map(([B,I])=>h.createElement(Xi,{key:B,label:B,level:"section",colSpan:E},I.ungrouped.map(L=>h.createElement(pa,{key:L.key,row:L,arg:p&&p[L.key],...F})),Object.entries(I.subsections).map(([L,w])=>h.createElement(Xi,{key:L,label:L,level:"subsection",colSpan:E},w.map(k=>h.createElement(pa,{key:k.key,row:k,arg:p&&p[k.key],expandable:x,...F})))))))))},Py=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?h.createElement(_t,{...r[0][1],...t}):h.createElement(ka,null,r.map(n=>{let[a,o]=n,i=`prop_table_div_${a}`;return h.createElement("div",{key:i,id:i,title:a},({active:u})=>u?h.createElement(_t,{key:`prop_table_${a}`,...o,...t}):null)}))},Ore=j.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText)})),Rre=j.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),Pre=j.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),Ire=j.div(Pt,({theme:e})=>({...ma(e),margin:"25px 0 40px",padding:"30px 20px"}));var kre=j.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),Nre=j.div(({theme:e})=>({color:e.base==="light"?de(.2,e.color.defaultText):de(.6,e.color.defaultText)})),Mre=j.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),Lre=j.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),jre=j.div({display:"flex",flexDirection:"row"}),qre=j.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),$re=j.div(({theme:e})=>({...ma(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),Ure=j.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),Hre=j.div({flex:1,display:"flex",flexDirection:"row"}),zre=j.div({display:"flex",alignItems:"flex-start"}),Wre=j.div({flex:"0 0 30%"}),Gre=j.div({flex:1}),Vre=j.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?de(.4,e.color.defaultText):de(.6,e.color.defaultText)})),Kre=j.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var Yre=j.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),Xre=j.div(({theme:e})=>({...ma(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),Jre=j.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Qre=j.div({display:"flex",flexFlow:"row wrap"});var wP=e=>`anchor--${e}`,BP=({storyId:e,children:t})=>h.createElement("div",{id:wP(e),className:"sb-anchor"},t);ue&&ue.__DOCS_CONTEXT__===void 0&&(ue.__DOCS_CONTEXT__=pr(null),ue.__DOCS_CONTEXT__.displayName="DocsContext");var Qe=ue?ue.__DOCS_CONTEXT__:pr(null),lu=(e,t)=>qe(Qe).resolveOf(e,t);var cu="^",TP=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),Iy=e=>{if(e)return typeof e=="string"?e.includes("-")?TP(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function ky(e,t){let r=du([e],t);return r&&r[0]}function du(e,t){let[r,n]=ne({});return he(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var _P=(e,t)=>{let r=t.getStoryContext(t.storyById()),[n,a]=ne(r.args);he(()=>{let u=s=>{s.storyId===e&&a(s.args)};return t.channel.on(On,u),()=>t.channel.off(On,u)},[e]);let o=ge(u=>t.channel.emit(Rn,{storyId:e,updatedArgs:u}),[e]),i=ge(u=>t.channel.emit(_n,{storyId:e,argNames:u}),[e]);return[n,o,i]},OP=e=>{let t=e.getStoryContext(e.storyById()),[r,n]=ne(t.globals);return he(()=>{let a=o=>{n(o.globals)};return e.channel.on(Tn,a),()=>e.channel.off(Tn,a)},[]),[r]},Ny=(e,t,r,n)=>{let{extractArgTypes:a}=t.docs||{};if(!a)throw new Error("Args unsupported. See Args documentation for your framework.");let o=a(e);return o=Nr(o,r,n),o},cy=e=>e&&[cu].includes(e),RP=(e={},t)=>{let{of:r}=e,{story:n}=e;if(cy(r)||cy(n))return t||null;if(!r)throw new Error("No component found.");return r},ru=(e,t,r,n,a,o)=>({...e,...(0,gy.default)(t,i=>({rows:Ny(i,r,n,a),sort:o}))}),PP=e=>{let t=qe(Qe),{story:r,component:n,subcomponents:a,showComponent:o,include:i,exclude:u,sort:s}=e;try{let p;switch(r){case cu:{p=t.storyById().id;break}default:p=t.storyIdByName(r)}let y=ky(p,t),[b,m,g]=_P(p,t),[A]=OP(t);if(!y)return h.createElement(_t,{isLoading:!0,updateArgs:m,resetArgs:g});let E=Nr(y.argTypes,i,u),x=Iy(n)||"Story",F={[x]:{rows:E,args:b,globals:A,updateArgs:m,resetArgs:g}},B=E&&Object.values(E).find(I=>!!I?.control);if(B||(m=null,g=null,F={}),n&&(!B||o)&&(F=ru(F,{[x]:n},y.parameters,i,u)),a){if(Array.isArray(a))throw new Error("Unexpected subcomponents array. Expected an object whose keys are tab labels and whose values are components.");F=ru(F,a,y.parameters,i,u)}return h.createElement(Py,{tabs:F,sort:s})}catch(p){return h.createElement(_t,{error:p.message})}},dy=e=>{let{components:t,include:r,exclude:n,sort:a,parameters:o}=e,i=ru({},t,o,r,n);return h.createElement(Py,{tabs:i,sort:a})},IP=e=>{ye(ve`The ArgsTable doc block is deprecated. Instead use the ArgTypes doc block for static tables or the Controls doc block for tables with controls. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#argstable-block + `);let t=qe(Qe),r,n,a;try{({parameters:r,component:n,subcomponents:a}=t.storyById())}catch{let{of:g}=e;if("of"in e&&g===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");({projectAnnotations:{parameters:r}}=t.resolveOf(g,["component"]))}let{include:o,exclude:i,components:u,sort:s}=e,{story:p}=e,y=s||r.controls?.sort,b=RP(e,n);if(p)return h.createElement(PP,{...e,component:b,subcomponents:a,sort:y});if(!u&&!a){let g;try{g={rows:Ny(b,r,o,i)}}catch(A){g={error:A.message}}return h.createElement(_t,{...g,sort:y})}if(u)return h.createElement(dy,{...e,components:u,sort:y,parameters:r});let m=Iy(b);return h.createElement(dy,{...e,components:{[m]:b,...a},sort:y,parameters:r})};IP.defaultProps={of:cu};function kP(e){return Wm(e)}var NP=pr({sources:{}}),MP="--unknown--";var LP=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(LP||{}),jP=e=>{let t=e.map(r=>r.parameters.docs?.source?.state).filter(Boolean);return t.length===0?"closed":t[0]},qP=(e,t,r)=>{let{sources:n}=r,a=n?.[e];return a?.[kP(t)]||a?.[MP]||{code:""}},$P=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{let{__isArgsStory:a}=t.parameters,o=t.parameters.docs?.source||{},i=r||o.type||zr.AUTO;if(o.code!==void 0)return o.code;let u=i===zr.DYNAMIC||i===zr.AUTO&&e&&a?e:o.originalSource||"";return o.transformSource&&ye(ve`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block + `),t.parameters.docs?.transformSource&&ye(ve`The \`transformSource\` parameter at \`parameters.docs.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block + `),t.parameters.jsx?.transformSource&&ye(ve`The \`transformSource\` parameter at \`parameters.jsx.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block + `),(n??o.transform??o.transformSource??t.parameters.docs?.transformSource??t.parameters.jsx?.transformSource)?.(u,t)||u},My=(e,t,r)=>{let n=e.ids||(e.id?[e.id]:[]),a=du(n,t),o=a,{of:i}=e;if("of"in e&&i===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(i)o=[t.resolveOf(i,["story"]).story];else if(o.length===0)try{o=[t.storyById()]}catch{}if(!a.every(Boolean))return{error:"Oh no! The source is not available.",state:"none"};let u=o[0]?.parameters?.docs?.source||{},{code:s}=e,p=e.format??u.format,y=e.language??u.language??"jsx",b=e.dark??u.dark??!1;s||(s=o.map((g,A)=>{if(!g)return"";let E=t.getStoryContext(g),x=e.__forceInitialArgs?E.initialArgs:E.unmappedArgs,F=qP(g.id,x,r);return A===0&&(p=F.format??g.parameters.docs?.source?.format??!1),$P({snippet:F.code,storyContext:{...E,args:x},typeFromProps:e.type,transformFromProps:e.transform})}).join(` + +`));let m=jP(o);return s?{code:s,format:p,language:y,dark:b,state:m}:{error:"Oh no! The source is not available.",state:m}};var Ly=(e,t)=>{let{id:r,of:n,meta:a,story:o}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(r)return ye(ve`Referencing stories by \`id\` is deprecated, please use \`of\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),r;let{name:i}=e;return i?(ye(ve`Referencing stories by \`name\` is deprecated, please use \`of\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),t.storyIdByName(i)):(o&&ye(ve`The \`story\` prop is deprecated, please export your stories from CSF files and reference them with \`of={}\`. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),a&&t.referenceMeta(a,!1),t.resolveOf(n||o||"story",["story"]).story.id)},UP=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;let{inlineStories:i,iframeHeight:u}=a;typeof i<"u"&&ye(ve`The \`docs.inlineStories\` parameter is deprecated, use \`docs.story.inline\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes' + `);let s=e.inline??o.inline??i??!1;if(typeof u<"u"&&ye(ve`The \`docs.iframeHeight\` parameter is deprecated, use \`docs.story.iframeHeight\` instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes' + `),s){let y=e.height??o.height,b=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:y,autoplay:b,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let p=e.height??o.height??o.iframeHeight??u??"100px";return{story:t,inline:!1,height:p,primary:!!e.__primary}},HP=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=qe(Qe),r=Ly(e,t),n=ky(r,t);if(!n)return h.createElement(iu,null);let a=UP(e,n,t);return a?h.createElement(w4,{...a}):null},zP=({withSource:e,mdxSource:t,children:r,layout:n,...a},o,i)=>{let u=Jr.toArray(r).filter(m=>m.props&&(m.props.id||m.props.name||m.props.of)).map(m=>Ly(m.props,o)),s=du(u,o),p=s.some(m=>!m),y=My({...t?{code:decodeURI(t)}:{ids:u},...a.of&&{of:a.of}},o,i);if(e==="none")return{isLoading:p,previewProps:a};let b=n;return Jr.forEach(r,m=>{b||(b=m?.props?.parameters?.layout)}),s.forEach(m=>{b||!m||(b=m?.parameters.layout??m.parameters.docs?.canvas?.layout)}),{isLoading:p,previewProps:{...a,layout:b??"padded",withSource:y,isExpanded:(e||y.state)==="open"}}},WP=e=>{let t=qe(Qe),r=qe(NP),{children:n,of:a,source:o}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{isLoading:i,previewProps:u}=zP(e,t,r),s,p,y;try{({story:s}=lu(a||"story",["story"]))}catch(x){n||(y=x)}try{p=My({...o,...a&&{of:a}},t,r)}catch(x){n||(y=x)}if(y)throw y;if(e.withSource&&ye(ve`Setting source state with \`withSource\` is deprecated, please use \`sourceState\` with 'hidden', 'shown' or 'none' instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block + `),e.mdxSource&&ye(ve`Setting source code with \`mdxSource\` is deprecated, please use source={{code: '...'}} instead. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block + `),(e.isColumn!==void 0||e.columns!==void 0)&&ye(ve`\`isColumn\` and \`columns\` props are deprecated as the Canvas block now only supports showing a single story. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block + `),n)return ye(ve`Passing children to Canvas is deprecated, please use the \`of\` prop instead to reference a story. + + Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block + `),i?h.createElement(k4,null):h.createElement(Qi,{...u},n);let b=e.layout??s.parameters.layout??s.parameters.docs?.canvas?.layout??"padded",m=e.withToolbar??s.parameters.docs?.canvas?.withToolbar??!1,g=e.additionalActions??s.parameters.docs?.canvas?.additionalActions,A=e.sourceState??s.parameters.docs?.canvas?.sourceState??"hidden",E=e.className??s.parameters.docs?.canvas?.className;return h.createElement(Qi,{withSource:A==="none"?void 0:p,isExpanded:A==="shown",withToolbar:m,additionalActions:g,className:E,layout:b},h.createElement(HP,{of:a||s.moduleExport,meta:e.meta,...e.story}))};var{document:jy}=ue;var GP=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return h.createElement(Sa,null,t);let n=e&&e.split("-");return h.createElement(au,{language:n&&n[1]||"plaintext",format:!1,code:t,...r})};function pu(e,t){e.channel.emit(Xf,t)}var nu=ja.a,VP=({hash:e,children:t})=>{let r=qe(Qe);return h.createElement(nu,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);jy.getElementById(a)&&pu(r,e)}},t)},KP=e=>{let{href:t,target:r,children:n,...a}=e,o=qe(Qe);if(t){if(t.startsWith("#"))return h.createElement(VP,{hash:t},n);if(r!=="_blank"&&!t.startsWith("https://"))return h.createElement(nu,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),pu(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)}return h.createElement(nu,{...e})},qy=["h1","h2","h3","h4","h5","h6"],YP=qy.reduce((e,t)=>({...e,[t]:j(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),XP=j.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),JP=({as:e,id:t,children:r,...n})=>{let a=qe(Qe),o=YP[e],i=`#${t}`;return h.createElement(o,{id:t,...n},h.createElement(XP,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:u=>{jy.getElementById(t)&&pu(a,i)}},h.createElement(Oe,{icon:"link"})),r)},fu=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return h.createElement(JP,{as:t,id:r,...a},n);let o=t,{as:i,...u}=e;return h.createElement(o,{...$a(u,t)})},QP=qy.reduce((e,t)=>({...e,[t]:r=>h.createElement(fu,{as:t,...r})}),{}),ZP=e=>{if(!e.children)return null;if(typeof e.children!="string")throw new Error(ve`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' + This is often caused by not wrapping the child in a template string. + + This is invalid: + + # Some heading + A paragraph + + + Instead do: + + {\` + # Some heading + A paragraph + \`} + + `);return h.createElement(Vo,{...e,options:{forceBlock:!0,overrides:{code:GP,a:KP,...QP,...e?.options?.overrides},...e?.options}})},eI=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(eI||{}),ha="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#description-block-parametersnotes-and-parametersinfo",tI=e=>e&&(typeof e=="string"?e:ea(e.markdown)||ea(e.text)),rI=e=>e&&(typeof e=="string"?e:ea(e.text)),nI=e=>null,aI=e=>{switch(e.type){case"story":return e.story.parameters.docs?.description?.story||null;case"meta":{let{parameters:t,component:r}=e.preparedMeta;return t.docs?.description?.component||t.docs?.extractComponentDescription?.(r,{component:r,parameters:t})||null}case"component":{let{component:t,projectAnnotations:{parameters:r}}=e;return r.docs?.extractComponentDescription?.(t,{component:t,parameters:r})||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},oI=({type:e,markdown:t,children:r},{storyById:n})=>{let{component:a,parameters:o}=n();if(r||t)return r||t;let{notes:i,info:u,docs:s}=o;(i||u)&&ye(`Using 'parameters.notes' or 'parameters.info' properties to describe stories is deprecated. See ${ha}`);let{extractComponentDescription:p=nI,description:y}=s||{},b=y?.component;if(b)return b;switch(e){case"info":return rI(u);case"notes":return tI(i);case"docgen":case"auto":default:return p(a,{component:a,...o})}},iI=e=>{let{of:t,type:r,markdown:n,children:a}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let o=qe(Qe),i=lu(t||"meta"),u;return r||n||a?u=oI(e,o):u=aI(i),r&&ye(`Manually specifying description type is deprecated. See ${ha}`),n&&ye(`The 'markdown' prop on the Description block is deprecated. See ${ha}`),a&&ye(`The 'children' prop on the Description block is deprecated. See ${ha}`),u?h.createElement(ZP,null,u):null},Zre=j.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),ene=j.div(({theme:e})=>({position:"fixed",top:0,width:"10rem",paddingTop:"4rem",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),tne=j.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var{document:rne,window:nne}=ue;var uI=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return h.createElement(_a,null,e);let r=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return h.createElement(fu,{as:"h3",id:r},e)},sI=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{let{story:o}=lu(e||"story",["story"]),i=o.parameters.docs?.canvas?.withToolbar??r;return h.createElement(BP,{storyId:o.id},t&&h.createElement(h.Fragment,null,h.createElement(uI,null,o.name),h.createElement(iI,{of:e})),h.createElement(WP,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))};var lI=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return h.createElement(Ta,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return h.createElement(fu,{as:"h2",id:n,...r},e)},cI=j(lI)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),dI=({title:e,includePrimary:t=!0})=>{let{componentStories:r}=qe(Qe),n=r().filter(a=>!a.parameters?.docs?.disable);return t||(n=n.slice(1)),!n||n.length===0?null:h.createElement(h.Fragment,null,h.createElement(cI,null,e),n.map(a=>a&&h.createElement(sI,{key:a.id,of:a.moduleExport,expanded:!0,__forceInitialArgs:!0})))};dI.defaultProps={title:"Stories"};var pI=()=>{let[e,t]=ne(!0),[r,n,a]=vu(),[o]=Du(),i=Da(),{expanded:u,sort:s,presetColors:p}=Cu(ba,{}),{path:y,previewInitialized:b}=xu();he(()=>{b&&t(!1)},[b]);let m=Object.values(i).some(A=>A?.control),g=Object.entries(i).reduce((A,[E,x])=>(x?.control?.type!=="color"||x?.control?.presetColors?A[E]=x:A[E]={...x,control:{...x.control,presetColors:p}},A),{});return h.createElement(_t,{key:y,compact:!u&&m,rows:g,args:r,globals:o,updateArgs:n,resetArgs:a,inAddonPanel:!0,sort:s,isLoading:e})};function fI(){let e=Da(),t=Object.values(e).filter(r=>r?.control&&!r?.table?.disable).length;return h.createElement("div",null,h.createElement(Ia,{col:1},h.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Controls"),t===0?"":h.createElement(Fa,{status:"neutral"},t)))}va.register(Ea,e=>{va.add(Ea,{title:fI,type:Au.PANEL,paramKey:ba,render:({active:t})=>!t||!e.getCurrentStoryData()?null:h.createElement(xa,{active:t},h.createElement(pI,null))})}); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt b/docs/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..cfea3e7 --- /dev/null +++ b/docs/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt @@ -0,0 +1,18 @@ +Bundled license information: + +telejson/dist/index.mjs: + /*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */ + /** + * @license + * Lodash (Custom Build) + * Build: `lodash modularize exports="es" -o ./` + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */ diff --git a/docs/sb-addons/essentials-measure-6/manager-bundle.js b/docs/sb-addons/essentials-measure-6/manager-bundle.js new file mode 100644 index 0000000..5fae879 --- /dev/null +++ b/docs/sb-addons/essentials-measure-6/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +var r="storybook/measure-addon",u=`${r}/tool`;var a=__REACT__,{Children:M,Component:B,Fragment:P,Profiler:D,PureComponent:x,StrictMode:N,Suspense:v,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:H,cloneElement:F,createContext:K,createElement:W,createFactory:Y,createRef:G,forwardRef:w,isValidElement:U,lazy:V,memo:q,useCallback:p,useContext:z,useDebugValue:Z,useEffect:S,useImperativeHandle:$,useLayoutEffect:j,useMemo:J,useReducer:Q,useRef:X,useState:ee,version:oe}=__REACT__;var se=__STORYBOOKAPI__,{ActiveTabs:le,Consumer:ue,ManagerContext:ce,Provider:me,addons:c,combineParameters:ie,controlOrMetaKey:pe,controlOrMetaSymbol:Se,eventMatchesShortcut:de,eventToShortcut:_e,isMacLike:Te,isShortcutTaken:be,keyToSymbol:Oe,merge:ye,mockChannel:Ce,optionOrAltSymbol:Ee,shortcutMatchesShortcut:he,shortcutToHumanString:fe,types:d,useAddonState:Ae,useArgTypes:ge,useArgs:Ie,useChannel:Re,useGlobalTypes:ke,useGlobals:_,useParameter:Le,useSharedState:Me,useStoryPrepared:Be,useStorybookApi:T,useStorybookState:Pe}=__STORYBOOKAPI__;var He=__STORYBOOKCOMPONENTS__,{A:Fe,ActionBar:Ke,AddonPanel:We,Badge:Ye,Bar:Ge,Blockquote:we,Button:Ue,ClipboardCode:Ve,Code:qe,DL:ze,Div:Ze,DocumentWrapper:$e,ErrorFormatter:je,FlexBar:Je,Form:Qe,H1:Xe,H2:eo,H3:oo,H4:to,H5:ro,H6:ao,HR:no,IconButton:b,IconButtonSkeleton:so,Icons:O,Img:lo,LI:uo,Link:co,ListItem:mo,Loader:io,OL:po,P:So,Placeholder:_o,Pre:To,ResetWrapper:bo,ScrollArea:Oo,Separator:yo,Spaced:Co,Span:Eo,StorybookIcon:ho,StorybookLogo:fo,Symbols:Ao,SyntaxHighlighter:go,TT:Io,TabBar:Ro,TabButton:ko,TabWrapper:Lo,Table:Mo,Tabs:Bo,TabsState:Po,TooltipLinkList:Do,TooltipMessage:xo,TooltipNote:No,UL:vo,WithTooltip:Ho,WithTooltipPure:Fo,Zoom:Ko,codeCommon:Wo,components:Yo,createCopyToClipboardFunction:Go,getStoryHref:wo,icons:Uo,interleaveSeparators:Vo,nameSpaceClassNames:qo,resetComponents:zo,withReset:Zo}=__STORYBOOKCOMPONENTS__;var y=()=>{let[n,m]=_(),{measureEnabled:s}=n,i=T(),l=p(()=>m({measureEnabled:!s}),[m,s]);return S(()=>{i.setAddonShortcut(r,{label:"Toggle Measure [M]",defaultShortcut:["M"],actionName:"measure",showInMenu:!1,action:l})},[l,i]),a.createElement(b,{key:u,active:s,title:"Enable measure",onClick:l},a.createElement(O,{icon:"ruler"}))};c.register(r,()=>{c.add(u,{type:d.TOOL,title:"Measure",match:({viewMode:n})=>n==="story",render:()=>a.createElement(y,null)})}); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt b/docs/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/docs/sb-addons/essentials-outline-7/manager-bundle.js b/docs/sb-addons/essentials-outline-7/manager-bundle.js new file mode 100644 index 0000000..1a949c3 --- /dev/null +++ b/docs/sb-addons/essentials-outline-7/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +var a="storybook/outline",u="outline";var n=__REACT__,{Children:L,Component:x,Fragment:M,Profiler:v,PureComponent:D,StrictMode:N,Suspense:H,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:F,cloneElement:K,createContext:Y,createElement:W,createFactory:G,createRef:w,forwardRef:U,isValidElement:V,lazy:q,memo:p,useCallback:m,useContext:z,useDebugValue:Z,useEffect:S,useImperativeHandle:$,useLayoutEffect:j,useMemo:J,useReducer:Q,useRef:X,useState:ee,version:te}=__REACT__;var le=__STORYBOOKAPI__,{ActiveTabs:se,Consumer:ue,ManagerContext:ce,Provider:ie,addons:c,combineParameters:pe,controlOrMetaKey:me,controlOrMetaSymbol:Se,eventMatchesShortcut:_e,eventToShortcut:de,isMacLike:Oe,isShortcutTaken:Te,keyToSymbol:be,merge:ye,mockChannel:Ae,optionOrAltSymbol:Ce,shortcutMatchesShortcut:he,shortcutToHumanString:fe,types:_,useAddonState:Ee,useArgTypes:ge,useArgs:Re,useChannel:ke,useGlobalTypes:Ie,useGlobals:d,useParameter:Pe,useSharedState:Be,useStoryPrepared:Le,useStorybookApi:O,useStorybookState:xe}=__STORYBOOKAPI__;var He=__STORYBOOKCOMPONENTS__,{A:Fe,ActionBar:Ke,AddonPanel:Ye,Badge:We,Bar:Ge,Blockquote:we,Button:Ue,ClipboardCode:Ve,Code:qe,DL:ze,Div:Ze,DocumentWrapper:$e,ErrorFormatter:je,FlexBar:Je,Form:Qe,H1:Xe,H2:et,H3:tt,H4:ot,H5:rt,H6:at,HR:nt,IconButton:T,IconButtonSkeleton:lt,Icons:b,Img:st,LI:ut,Link:ct,ListItem:it,Loader:pt,OL:mt,P:St,Placeholder:_t,Pre:dt,ResetWrapper:Ot,ScrollArea:Tt,Separator:bt,Spaced:yt,Span:At,StorybookIcon:Ct,StorybookLogo:ht,Symbols:ft,SyntaxHighlighter:Et,TT:gt,TabBar:Rt,TabButton:kt,TabWrapper:It,Table:Pt,Tabs:Bt,TabsState:Lt,TooltipLinkList:xt,TooltipMessage:Mt,TooltipNote:vt,UL:Dt,WithTooltip:Nt,WithTooltipPure:Ht,Zoom:Ft,codeCommon:Kt,components:Yt,createCopyToClipboardFunction:Wt,getStoryHref:Gt,icons:wt,interleaveSeparators:Ut,nameSpaceClassNames:Vt,resetComponents:qt,withReset:zt}=__STORYBOOKCOMPONENTS__;var A=p(function(){let[r,y]=d(),i=O(),l=[!0,"true"].includes(r[u]),s=m(()=>y({[u]:!l}),[l]);return S(()=>{i.setAddonShortcut(a,{label:"Toggle Outline [O]",defaultShortcut:["O"],actionName:"outline",showInMenu:!1,action:s})},[s,i]),n.createElement(T,{key:"outline",active:l,title:"Apply outlines to the preview",onClick:s},n.createElement(b,{icon:"outline"}))});c.register(a,()=>{c.add(a,{title:"Outline",type:_.TOOL,match:({viewMode:r})=>!!(r&&r.match(/^(story|docs)$/)),render:()=>n.createElement(A,null)})}); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt b/docs/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/docs/sb-addons/essentials-toolbars-5/manager-bundle.js b/docs/sb-addons/essentials-toolbars-5/manager-bundle.js new file mode 100644 index 0000000..f9f160f --- /dev/null +++ b/docs/sb-addons/essentials-toolbars-5/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +var l=__REACT__,{Children:le,Component:ne,Fragment:ie,Profiler:se,PureComponent:ce,StrictMode:ue,Suspense:me,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:pe,cloneElement:de,createContext:be,createElement:Se,createFactory:Te,createRef:ye,forwardRef:fe,isValidElement:Ce,lazy:ve,memo:_e,useCallback:_,useContext:Ie,useDebugValue:Oe,useEffect:E,useImperativeHandle:xe,useLayoutEffect:Ee,useMemo:ge,useReducer:he,useRef:L,useState:R,version:ke}=__REACT__;var Pe=__STORYBOOKAPI__,{ActiveTabs:Me,Consumer:Ne,ManagerContext:we,Provider:He,addons:g,combineParameters:Ve,controlOrMetaKey:De,controlOrMetaSymbol:Fe,eventMatchesShortcut:Ge,eventToShortcut:We,isMacLike:Ke,isShortcutTaken:Ye,keyToSymbol:$e,merge:ze,mockChannel:Ue,optionOrAltSymbol:je,shortcutMatchesShortcut:qe,shortcutToHumanString:Ze,types:B,useAddonState:Je,useArgTypes:Qe,useArgs:Xe,useChannel:et,useGlobalTypes:P,useGlobals:h,useParameter:tt,useSharedState:ot,useStoryPrepared:rt,useStorybookApi:M,useStorybookState:at}=__STORYBOOKAPI__;var ct=__STORYBOOKCOMPONENTS__,{A:ut,ActionBar:mt,AddonPanel:pt,Badge:dt,Bar:bt,Blockquote:St,Button:Tt,ClipboardCode:yt,Code:ft,DL:Ct,Div:vt,DocumentWrapper:_t,ErrorFormatter:It,FlexBar:Ot,Form:xt,H1:Et,H2:gt,H3:ht,H4:kt,H5:At,H6:Lt,HR:Rt,IconButton:N,IconButtonSkeleton:Bt,Icons:k,Img:Pt,LI:Mt,Link:Nt,ListItem:wt,Loader:Ht,OL:Vt,P:Dt,Placeholder:Ft,Pre:Gt,ResetWrapper:Wt,ScrollArea:Kt,Separator:w,Spaced:Yt,Span:$t,StorybookIcon:zt,StorybookLogo:Ut,Symbols:jt,SyntaxHighlighter:qt,TT:Zt,TabBar:Jt,TabButton:Qt,TabWrapper:Xt,Table:eo,Tabs:to,TabsState:oo,TooltipLinkList:H,TooltipMessage:ro,TooltipNote:ao,UL:lo,WithTooltip:V,WithTooltipPure:no,Zoom:io,codeCommon:so,components:co,createCopyToClipboardFunction:uo,getStoryHref:mo,icons:po,interleaveSeparators:bo,nameSpaceClassNames:So,resetComponents:To,withReset:yo}=__STORYBOOKCOMPONENTS__;var G=({active:o,title:t,icon:e,description:r,onClick:a})=>l.createElement(N,{active:o,title:r,onClick:a},e&&l.createElement(k,{icon:e}),t?`\xA0${t}`:null),W=["reset"],K=o=>o.filter(t=>!W.includes(t.type)).map(t=>t.value),b="addon-toolbars",Y=async(o,t,e)=>{e&&e.next&&await o.setAddonShortcut(b,{label:e.next.label,defaultShortcut:e.next.keys,actionName:`${t}:next`,action:e.next.action}),e&&e.previous&&await o.setAddonShortcut(b,{label:e.previous.label,defaultShortcut:e.previous.keys,actionName:`${t}:previous`,action:e.previous.action}),e&&e.reset&&await o.setAddonShortcut(b,{label:e.reset.label,defaultShortcut:e.reset.keys,actionName:`${t}:reset`,action:e.reset.action})},$=o=>t=>{let{id:e,toolbar:{items:r,shortcuts:a}}=t,d=M(),[S,i]=h(),n=L([]),s=S[e],I=_(()=>{i({[e]:""})},[i]),O=_(()=>{let p=n.current,c=p.indexOf(s),m=c===p.length-1?0:c+1,T=n.current[m];i({[e]:T})},[n,s,i]),u=_(()=>{let p=n.current,c=p.indexOf(s),m=c>-1?c:0,T=m===0?p.length-1:m-1,y=n.current[T];i({[e]:y})},[n,s,i]);return E(()=>{a&&Y(d,e,{next:{...a.next,action:O},previous:{...a.previous,action:u},reset:{...a.reset,action:I}})},[d,e,a,O,u,I]),E(()=>{n.current=K(r)},[]),l.createElement(o,{cycleValues:n.current,...t})},D=({currentValue:o,items:t})=>o!=null&&t.find(e=>e.value===o&&e.type!=="reset"),z=({currentValue:o,items:t})=>{let e=D({currentValue:o,items:t});if(e)return e.icon},U=({currentValue:o,items:t})=>{let e=D({currentValue:o,items:t});if(e)return e.title},j=({left:o,right:t,title:e,value:r,icon:a,hideIcon:d,onClick:S,currentValue:i})=>{let n=a&&l.createElement(k,{style:{opacity:1},icon:a}),s={id:r??"_reset",active:i===r,right:t,title:e,left:o,onClick:S};return a&&!d&&(s.left=n),s},q=$(({id:o,name:t,description:e,toolbar:{icon:r,items:a,title:d,preventDynamicIcon:S,dynamicTitle:i}})=>{let[n,s]=h(),[I,O]=R(!1),u=n[o],p=!!u,c=r,m=d;S||(c=z({currentValue:u,items:a})||c),i&&(m=U({currentValue:u,items:a})||m),!m&&!c&&console.warn(`Toolbar '${t}' has no title or icon`);let T=_(y=>{s({[o]:y})},[u,s]);return l.createElement(V,{placement:"top",tooltip:({onHide:y})=>{let F=a.filter(({type:x})=>{let A=!0;return x==="reset"&&!u&&(A=!1),A}).map(x=>j({...x,currentValue:u,onClick:()=>{T(x.value),y()}}));return l.createElement(H,{links:F})},closeOnOutsideClick:!0,onVisibleChange:O},l.createElement(G,{active:I||p,description:e||"",icon:c,title:m||""}))}),Z={type:"item",value:""},J=(o,t)=>({...t,name:t.name||o,description:t.description||o,toolbar:{...t.toolbar,items:t.toolbar.items.map(e=>{let r=typeof e=="string"?{value:e,title:e}:e;return r.type==="reset"&&t.toolbar.icon&&(r.icon=t.toolbar.icon,r.hideIcon=!0),{...Z,...r}})}}),Q=()=>{let o=P(),t=Object.keys(o).filter(e=>!!o[e].toolbar);return t.length?l.createElement(l.Fragment,null,l.createElement(w,null),t.map(e=>{let r=J(e,o[e]);return l.createElement(q,{key:e,id:e,...r})})):null};g.register(b,()=>g.add(b,{title:b,type:B.TOOL,match:()=>!0,render:()=>l.createElement(Q,null)})); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt b/docs/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/docs/sb-addons/essentials-viewport-4/manager-bundle.js b/docs/sb-addons/essentials-viewport-4/manager-bundle.js new file mode 100644 index 0000000..b884529 --- /dev/null +++ b/docs/sb-addons/essentials-viewport-4/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +var ae=Object.create;var H=Object.defineProperty;var le=Object.getOwnPropertyDescriptor;var pe=Object.getOwnPropertyNames;var he=Object.getPrototypeOf,ue=Object.prototype.hasOwnProperty;var R=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,o)=>(typeof require<"u"?require:t)[o]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var M=(e,t)=>()=>(e&&(t=e(e=0)),t);var de=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var me=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let p of pe(t))!ue.call(e,p)&&p!==o&&H(e,p,{get:()=>t[p],enumerable:!(n=le(t,p))||n.enumerable});return e};var ce=(e,t,o)=>(o=e!=null?ae(he(e)):{},me(t||!e||!e.__esModule?H(o,"default",{value:e,enumerable:!0}):o,e));var c=M(()=>{});var f=M(()=>{});var g=M(()=>{});var te=de((ee,V)=>{c();f();g();(function(e){if(typeof ee=="object"&&typeof V<"u")V.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,o;return function n(p,m,h){function r(s,y){if(!m[s]){if(!p[s]){var u=typeof R=="function"&&R;if(!y&&u)return u(s,!0);if(i)return i(s,!0);var b=new Error("Cannot find module '"+s+"'");throw b.code="MODULE_NOT_FOUND",b}var l=m[s]={exports:{}};p[s][0].call(l.exports,function(a){var d=p[s][1][a];return r(d||a)},l,l.exports,n,p,m,h)}return m[s].exports}for(var i=typeof R=="function"&&R,x=0;x=0)return this.lastItem=this.list[i],this.list[i].val},h.prototype.set=function(r,i){var x;return this.lastItem&&this.isEqual(this.lastItem.key,r)?(this.lastItem.val=i,this):(x=this.indexOf(r),x>=0?(this.lastItem=this.list[x],this.list[x].val=i,this):(this.lastItem={key:r,val:i},this.list.push(this.lastItem),this.size++,this))},h.prototype.delete=function(r){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,r)&&(this.lastItem=void 0),i=this.indexOf(r),i>=0)return this.size--,this.list.splice(i,1)[0]},h.prototype.has=function(r){var i;return this.lastItem&&this.isEqual(this.lastItem.key,r)?!0:(i=this.indexOf(r),i>=0?(this.lastItem=this.list[i],!0):!1)},h.prototype.forEach=function(r,i){var x;for(x=0;x0&&(k[I]={cacheItem:a,arg:arguments[I]},E?r(u,k):u.push(k),u.length>s&&i(u.shift())),l.wasMemoized=E,l.numArgs=I+1,A};return l.limit=s,l.wasMemoized=!1,l.cache=y,l.lru=u,l}};function r(s,y){var u=s.length,b=y.length,l,a,d;for(a=0;a=0&&(u=s[l],b=u.cacheItem.get(u.arg),!b||!b.size);l--)u.cacheItem.delete(u.arg)}function x(s,y){return s===y||s!==s&&y!==y}},{"map-or-similar":1}]},{},[3])(3)})});c();f();g();c();f();g();c();f();g();c();f();g();var w="storybook/viewport",q="viewport",Ne=`${w}/update`,Ve=`${w}/configure`,Be=`${w}/setStoryDefaultViewport`,ze=`${w}/viewportChanged`,W=(e,t)=>e.indexOf(t),fe=(e,t)=>{let o=W(e,t);return o===e.length-1?e[0]:e[o+1]},ge=(e,t)=>{let o=W(e,t);return o<1?e[e.length-1]:e[o-1]},F=async(e,t,o)=>{await e.setAddonShortcut(w,{label:"Previous viewport",defaultShortcut:["shift","V"],actionName:"previous",action:()=>{let{selected:n,isRotated:p}=e.getAddonState(w);t({selected:ge(o,n),isRotated:p})}}),await e.setAddonShortcut(w,{label:"Next viewport",defaultShortcut:["V"],actionName:"next",action:()=>{let{selected:n,isRotated:p}=e.getAddonState(w);t({selected:fe(o,n),isRotated:p})}}),await e.setAddonShortcut(w,{label:"Reset viewport",defaultShortcut:["alt","V"],actionName:"reset",action:()=>{let{isRotated:n}=e.getAddonState(w);t({selected:"reset",isRotated:n})}})};c();f();g();var G={mobile1:{name:"Small mobile",styles:{height:"568px",width:"320px"},type:"mobile"},mobile2:{name:"Large mobile",styles:{height:"896px",width:"414px"},type:"mobile"},tablet:{name:"Tablet",styles:{height:"1112px",width:"834px"},type:"tablet"}};c();f();g();var S=__REACT__,{Children:$e,Component:je,Fragment:Y,Profiler:Xe,PureComponent:Ke,StrictMode:Ze,Suspense:Je,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Qe,cloneElement:et,createContext:tt,createElement:U,createFactory:it,createRef:rt,forwardRef:ot,isValidElement:nt,lazy:st,memo:$,useCallback:at,useContext:lt,useDebugValue:pt,useEffect:L,useImperativeHandle:ht,useLayoutEffect:ut,useMemo:dt,useReducer:mt,useRef:j,useState:X,version:ct}=__REACT__;c();f();g();var yt=__STORYBOOKAPI__,{ActiveTabs:bt,Consumer:wt,ManagerContext:St,Provider:It,addons:N,combineParameters:Tt,controlOrMetaKey:_t,controlOrMetaSymbol:vt,eventMatchesShortcut:Ot,eventToShortcut:Et,isMacLike:Pt,isShortcutTaken:Rt,keyToSymbol:Ct,merge:At,mockChannel:kt,optionOrAltSymbol:Lt,shortcutMatchesShortcut:Mt,shortcutToHumanString:Nt,types:K,useAddonState:Z,useArgTypes:Vt,useArgs:Bt,useChannel:zt,useGlobalTypes:Dt,useGlobals:Ht,useParameter:J,useSharedState:qt,useStoryPrepared:Wt,useStorybookApi:Q,useStorybookState:Ft}=__STORYBOOKAPI__;var D=ce(te(),1);c();f();g();var Jt=__STORYBOOKTHEMING__,{CacheProvider:Qt,ClassNames:ei,Global:ie,ThemeProvider:ti,background:ii,color:ri,convert:oi,create:ni,createCache:si,createGlobal:ai,createReset:li,css:pi,darken:hi,ensure:ui,ignoreSsrWarning:di,isPropValid:mi,jsx:ci,keyframes:fi,lighten:gi,styled:C,themes:xi,typography:yi,useTheme:bi,withTheme:re}=__STORYBOOKTHEMING__;c();f();g();var _i=__STORYBOOKCOMPONENTS__,{A:vi,ActionBar:Oi,AddonPanel:Ei,Badge:Pi,Bar:Ri,Blockquote:Ci,Button:Ai,ClipboardCode:ki,Code:Li,DL:Mi,Div:Ni,DocumentWrapper:Vi,ErrorFormatter:Bi,FlexBar:zi,Form:Di,H1:Hi,H2:qi,H3:Wi,H4:Fi,H5:Gi,H6:Yi,HR:Ui,IconButton:B,IconButtonSkeleton:$i,Icons:z,Img:ji,LI:Xi,Link:Ki,ListItem:Zi,Loader:Ji,OL:Qi,P:er,Placeholder:tr,Pre:ir,ResetWrapper:rr,ScrollArea:or,Separator:nr,Spaced:sr,Span:ar,StorybookIcon:lr,StorybookLogo:pr,Symbols:hr,SyntaxHighlighter:ur,TT:dr,TabBar:mr,TabButton:cr,TabWrapper:fr,Table:gr,Tabs:xr,TabsState:yr,TooltipLinkList:oe,TooltipMessage:br,TooltipNote:wr,UL:Sr,WithTooltip:ne,WithTooltipPure:Ir,Zoom:Tr,codeCommon:_r,components:vr,createCopyToClipboardFunction:Or,getStoryHref:Er,icons:Pr,interleaveSeparators:Rr,nameSpaceClassNames:Cr,resetComponents:Ar,withReset:kr}=__STORYBOOKCOMPONENTS__;var ye=(0,D.default)(50)(e=>[...be,...Object.entries(e).map(([t,{name:o,...n}])=>({...n,id:t,title:o}))]),P={id:"reset",title:"Reset viewport",styles:null,type:"other"},be=[P],we=(0,D.default)(50)((e,t,o,n,p)=>e.filter(m=>m.id!==P.id||t.id!==m.id).map(m=>({...m,onClick:()=>{o({...n,selected:m.id}),p()}}))),Se="storybook-preview-wrapper",Ie=({width:e,height:t,...o})=>({...o,height:e,width:t}),Te=C.div(()=>({display:"inline-flex"})),se=C.div(({theme:e})=>({display:"inline-block",textDecoration:"none",padding:10,fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,lineHeight:"1",height:40,border:"none",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",background:"transparent"})),_e=C(B)(()=>({display:"inline-flex",alignItems:"center"})),ve=C.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),Oe=(e,t,o)=>{if(t===null)return;let n=typeof t=="function"?t(e):t;return o?Ie(n):n},Ee=$(re(({theme:e})=>{let{viewports:t=G,defaultOrientation:o="portrait",defaultViewport:n=P.id,disable:p}=J(q,{}),[m,h]=Z(w,{selected:n,isRotated:o==="landscape"}),r=ye(t),i=Q(),[x,s]=X(!1);r.find(d=>d.id===n)||console.warn(`Cannot find "defaultViewport" of "${n}" in addon-viewport configs, please check the "viewports" setting in the configuration.`),L(()=>{F(i,h,Object.keys(t))},[t]),L(()=>{h({selected:n||(m.selected&&t[m.selected]?m.selected:P.id),isRotated:o==="landscape"})},[o,n]);let{selected:y,isRotated:u}=m,b=r.find(d=>d.id===y)||r.find(d=>d.id===n)||r.find(d=>d.default)||P,l=j(),a=Oe(l.current,b.styles,u);return L(()=>{l.current=a},[b]),p||Object.entries(t).length===0?null:S.createElement(Y,null,S.createElement(ne,{placement:"top",tooltip:({onHide:d})=>S.createElement(oe,{links:we(r,b,h,m,d)}),closeOnOutsideClick:!0,onVisibleChange:s},S.createElement(_e,{key:"viewport",title:"Change the size of the preview",active:x||!!a,onDoubleClick:()=>{h({...m,selected:P.id})}},S.createElement(z,{icon:"grow"}),a?S.createElement(ve,null,u?`${b.title} (L)`:`${b.title} (P)`):null)),a?S.createElement(Te,null,S.createElement(ie,{styles:{'iframe[data-is-storybook="true"]':{margin:"auto",transition:"none",position:"relative",border:"1px solid black",boxShadow:"0 0 100px 100vw rgba(0,0,0,0.5)",...a},[`#${Se}`]:{padding:e.layoutMargin,alignContent:"center",alignItems:"center",justifyContent:"center",justifyItems:"center",overflow:"auto",display:"grid",gridTemplateColumns:"100%",gridTemplateRows:"100%"}}}),S.createElement(se,{title:"Viewport width"},a.width.replace("px","")),S.createElement(B,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{h({...m,isRotated:!u})}},S.createElement(z,{icon:"transfer"})),S.createElement(se,{title:"Viewport height"},a.height.replace("px",""))):null)}));N.register(w,()=>{N.add(w,{title:"viewport / media-queries",type:K.TOOL,match:({viewMode:e})=>e==="story",render:()=>U(Ee,null)})}); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt b/docs/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/docs/sb-addons/interactions-8/manager-bundle.js b/docs/sb-addons/interactions-8/manager-bundle.js new file mode 100644 index 0000000..4e9b21e --- /dev/null +++ b/docs/sb-addons/interactions-8/manager-bundle.js @@ -0,0 +1,27 @@ +try{ +var xf=Object.create;var Fo=Object.defineProperty;var _f=Object.getOwnPropertyDescriptor;var Of=Object.getOwnPropertyNames;var Cf=Object.getPrototypeOf,Rf=Object.prototype.hasOwnProperty;var Et=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var jr=(e,t)=>()=>(e&&(t=e(e=0)),t);var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Tf=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Of(t))!Rf.call(e,o)&&o!==r&&Fo(e,o,{get:()=>t[o],enumerable:!(n=_f(t,o))||n.enumerable});return e};var pe=(e,t,r)=>(r=e!=null?xf(Cf(e)):{},Tf(t||!e||!e.__esModule?Fo(r,"default",{value:e,enumerable:!0}):r,e));var i=jr(()=>{});var s=jr(()=>{});var u=jr(()=>{});var sa=b((ia,Kr)=>{i();s();u();(function(e){if(typeof ia=="object"&&typeof Kr<"u")Kr.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,r;return function n(o,a,c){function l(g,E){if(!a[g]){if(!o[g]){var v=typeof Et=="function"&&Et;if(!E&&v)return v(g,!0);if(p)return p(g,!0);var w=new Error("Cannot find module '"+g+"'");throw w.code="MODULE_NOT_FOUND",w}var x=a[g]={exports:{}};o[g][0].call(x.exports,function(T){var I=o[g][1][T];return l(I||T)},x,x.exports,n,o,a,c)}return a[g].exports}for(var p=typeof Et=="function"&&Et,f=0;f=0)return this.lastItem=this.list[p],this.list[p].val},c.prototype.set=function(l,p){var f;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=p,this):(f=this.indexOf(l),f>=0?(this.lastItem=this.list[f],this.list[f].val=p,this):(this.lastItem={key:l,val:p},this.list.push(this.lastItem),this.size++,this))},c.prototype.delete=function(l){var p;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),p=this.indexOf(l),p>=0)return this.size--,this.list.splice(p,1)[0]},c.prototype.has=function(l){var p;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(p=this.indexOf(l),p>=0?(this.lastItem=this.list[p],!0):!1)},c.prototype.forEach=function(l,p){var f;for(f=0;f0&&(q[R]={cacheItem:T,arg:arguments[R]},j?l(v,q):v.push(q),v.length>g&&p(v.shift())),x.wasMemoized=j,x.numArgs=R+1,O};return x.limit=g,x.wasMemoized=!1,x.cache=E,x.lru=v,x}};function l(g,E){var v=g.length,w=E.length,x,T,I;for(T=0;T=0&&(v=g[x],w=v.cacheItem.get(v.arg),!w||!w.size);x--)v.cacheItem.delete(v.arg)}function f(g,E){return g===E||g!==g&&E!==E}},{"map-or-similar":1}]},{},[3])(3)})});var Yr=b((XO,ua)=>{i();s();u();var cd=typeof window=="object"&&window&&window.Object===Object&&window;ua.exports=cd});var ge=b((eC,la)=>{i();s();u();var pd=Yr(),fd=typeof self=="object"&&self&&self.Object===Object&&self,dd=pd||fd||Function("return this")();la.exports=dd});var Ve=b((oC,ca)=>{i();s();u();var hd=ge(),md=hd.Symbol;ca.exports=md});var ha=b((uC,da)=>{i();s();u();var pa=Ve(),fa=Object.prototype,yd=fa.hasOwnProperty,gd=fa.toString,At=pa?pa.toStringTag:void 0;function bd(e){var t=yd.call(e,At),r=e[At];try{e[At]=void 0;var n=!0}catch{}var o=gd.call(e);return n&&(t?e[At]=r:delete e[At]),o}da.exports=bd});var ya=b((fC,ma)=>{i();s();u();var Ed=Object.prototype,vd=Ed.toString;function Ad(e){return vd.call(e)}ma.exports=Ad});var Le=b((yC,Ea)=>{i();s();u();var ga=Ve(),Sd=ha(),wd=ya(),xd="[object Null]",_d="[object Undefined]",ba=ga?ga.toStringTag:void 0;function Od(e){return e==null?e===void 0?_d:xd:ba&&ba in Object(e)?Sd(e):wd(e)}Ea.exports=Od});var Ke=b((vC,va)=>{i();s();u();function Cd(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}va.exports=Cd});var Xr=b((xC,Aa)=>{i();s();u();var Rd=Le(),Td=Ke(),Dd="[object AsyncFunction]",Fd="[object Function]",Pd="[object GeneratorFunction]",Id="[object Proxy]";function Bd(e){if(!Td(e))return!1;var t=Rd(e);return t==Fd||t==Pd||t==Dd||t==Id}Aa.exports=Bd});var wa=b((RC,Sa)=>{i();s();u();var qd=ge(),Nd=qd["__core-js_shared__"];Sa.exports=Nd});var Oa=b((PC,_a)=>{i();s();u();var Jr=wa(),xa=function(){var e=/[^.]+$/.exec(Jr&&Jr.keys&&Jr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function jd(e){return!!xa&&xa in e}_a.exports=jd});var Qr=b((NC,Ca)=>{i();s();u();var Ld=Function.prototype,Md=Ld.toString;function kd(e){if(e!=null){try{return Md.call(e)}catch{}try{return e+""}catch{}}return""}Ca.exports=kd});var Ta=b((kC,Ra)=>{i();s();u();var $d=Xr(),zd=Oa(),Hd=Ke(),Ud=Qr(),Wd=/[\\^$.*+?()[\]{}|]/g,Gd=/^\[object .+?Constructor\]$/,Vd=Function.prototype,Kd=Object.prototype,Yd=Vd.toString,Xd=Kd.hasOwnProperty,Jd=RegExp("^"+Yd.call(Xd).replace(Wd,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Qd(e){if(!Hd(e)||zd(e))return!1;var t=$d(e)?Jd:Gd;return t.test(Ud(e))}Ra.exports=Qd});var Fa=b((UC,Da)=>{i();s();u();function Zd(e,t){return e?.[t]}Da.exports=Zd});var Te=b((KC,Pa)=>{i();s();u();var eh=Ta(),th=Fa();function rh(e,t){var r=th(e,t);return eh(r)?r:void 0}Pa.exports=rh});var Zr=b((QC,Ia)=>{i();s();u();var nh=Te(),oh=function(){try{var e=nh(Object,"defineProperty");return e({},"",{}),e}catch{}}();Ia.exports=oh});var en=b((rR,qa)=>{i();s();u();var Ba=Zr();function ah(e,t,r){t=="__proto__"&&Ba?Ba(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}qa.exports=ah});var ja=b((iR,Na)=>{i();s();u();function ih(e){return function(t,r,n){for(var o=-1,a=Object(t),c=n(t),l=c.length;l--;){var p=c[e?l:++o];if(r(a[p],p,a)===!1)break}return t}}Na.exports=ih});var Ma=b((cR,La)=>{i();s();u();var sh=ja(),uh=sh();La.exports=uh});var $a=b((hR,ka)=>{i();s();u();function lh(e,t){for(var r=-1,n=Array(e);++r{i();s();u();function ch(e){return e!=null&&typeof e=="object"}za.exports=ch});var Ua=b((SR,Ha)=>{i();s();u();var ph=Le(),fh=Me(),dh="[object Arguments]";function hh(e){return fh(e)&&ph(e)==dh}Ha.exports=hh});var Qt=b((OR,Va)=>{i();s();u();var Wa=Ua(),mh=Me(),Ga=Object.prototype,yh=Ga.hasOwnProperty,gh=Ga.propertyIsEnumerable,bh=Wa(function(){return arguments}())?Wa:function(e){return mh(e)&&yh.call(e,"callee")&&!gh.call(e,"callee")};Va.exports=bh});var be=b((DR,Ka)=>{i();s();u();var Eh=Array.isArray;Ka.exports=Eh});var Xa=b((BR,Ya)=>{i();s();u();function vh(){return!1}Ya.exports=vh});var tn=b((St,Ye)=>{i();s();u();var Ah=ge(),Sh=Xa(),Za=typeof St=="object"&&St&&!St.nodeType&&St,Ja=Za&&typeof Ye=="object"&&Ye&&!Ye.nodeType&&Ye,wh=Ja&&Ja.exports===Za,Qa=wh?Ah.Buffer:void 0,xh=Qa?Qa.isBuffer:void 0,_h=xh||Sh;Ye.exports=_h});var Zt=b(($R,ei)=>{i();s();u();var Oh=9007199254740991,Ch=/^(?:0|[1-9]\d*)$/;function Rh(e,t){var r=typeof e;return t=t??Oh,!!t&&(r=="number"||r!="symbol"&&Ch.test(e))&&e>-1&&e%1==0&&e{i();s();u();var Th=9007199254740991;function Dh(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Th}ti.exports=Dh});var ni=b((YR,ri)=>{i();s();u();var Fh=Le(),Ph=er(),Ih=Me(),Bh="[object Arguments]",qh="[object Array]",Nh="[object Boolean]",jh="[object Date]",Lh="[object Error]",Mh="[object Function]",kh="[object Map]",$h="[object Number]",zh="[object Object]",Hh="[object RegExp]",Uh="[object Set]",Wh="[object String]",Gh="[object WeakMap]",Vh="[object ArrayBuffer]",Kh="[object DataView]",Yh="[object Float32Array]",Xh="[object Float64Array]",Jh="[object Int8Array]",Qh="[object Int16Array]",Zh="[object Int32Array]",em="[object Uint8Array]",tm="[object Uint8ClampedArray]",rm="[object Uint16Array]",nm="[object Uint32Array]",G={};G[Yh]=G[Xh]=G[Jh]=G[Qh]=G[Zh]=G[em]=G[tm]=G[rm]=G[nm]=!0;G[Bh]=G[qh]=G[Vh]=G[Nh]=G[Kh]=G[jh]=G[Lh]=G[Mh]=G[kh]=G[$h]=G[zh]=G[Hh]=G[Uh]=G[Wh]=G[Gh]=!1;function om(e){return Ih(e)&&Ph(e.length)&&!!G[Fh(e)]}ri.exports=om});var ai=b((ZR,oi)=>{i();s();u();function am(e){return function(t){return e(t)}}oi.exports=am});var si=b((wt,Xe)=>{i();s();u();var im=Yr(),ii=typeof wt=="object"&&wt&&!wt.nodeType&&wt,xt=ii&&typeof Xe=="object"&&Xe&&!Xe.nodeType&&Xe,sm=xt&&xt.exports===ii,rn=sm&&im.process,um=function(){try{var e=xt&&xt.require&&xt.require("util").types;return e||rn&&rn.binding&&rn.binding("util")}catch{}}();Xe.exports=um});var nn=b((iT,ci)=>{i();s();u();var lm=ni(),cm=ai(),ui=si(),li=ui&&ui.isTypedArray,pm=li?cm(li):lm;ci.exports=pm});var on=b((cT,pi)=>{i();s();u();var fm=$a(),dm=Qt(),hm=be(),mm=tn(),ym=Zt(),gm=nn(),bm=Object.prototype,Em=bm.hasOwnProperty;function vm(e,t){var r=hm(e),n=!r&&dm(e),o=!r&&!n&&mm(e),a=!r&&!n&&!o&&gm(e),c=r||n||o||a,l=c?fm(e.length,String):[],p=l.length;for(var f in e)(t||Em.call(e,f))&&!(c&&(f=="length"||o&&(f=="offset"||f=="parent")||a&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||ym(f,p)))&&l.push(f);return l}pi.exports=vm});var an=b((hT,fi)=>{i();s();u();var Am=Object.prototype;function Sm(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Am;return e===r}fi.exports=Sm});var sn=b((bT,di)=>{i();s();u();function wm(e,t){return function(r){return e(t(r))}}di.exports=wm});var mi=b((ST,hi)=>{i();s();u();var xm=sn(),_m=xm(Object.keys,Object);hi.exports=_m});var gi=b((OT,yi)=>{i();s();u();var Om=an(),Cm=mi(),Rm=Object.prototype,Tm=Rm.hasOwnProperty;function Dm(e){if(!Om(e))return Cm(e);var t=[];for(var r in Object(e))Tm.call(e,r)&&r!="constructor"&&t.push(r);return t}yi.exports=Dm});var un=b((DT,bi)=>{i();s();u();var Fm=Xr(),Pm=er();function Im(e){return e!=null&&Pm(e.length)&&!Fm(e)}bi.exports=Im});var tr=b((BT,Ei)=>{i();s();u();var Bm=on(),qm=gi(),Nm=un();function jm(e){return Nm(e)?Bm(e):qm(e)}Ei.exports=jm});var Ai=b((LT,vi)=>{i();s();u();var Lm=Ma(),Mm=tr();function km(e,t){return e&&Lm(e,t,Mm)}vi.exports=km});var wi=b((zT,Si)=>{i();s();u();function $m(){this.__data__=[],this.size=0}Si.exports=$m});var rr=b((GT,xi)=>{i();s();u();function zm(e,t){return e===t||e!==e&&t!==t}xi.exports=zm});var _t=b((XT,_i)=>{i();s();u();var Hm=rr();function Um(e,t){for(var r=e.length;r--;)if(Hm(e[r][0],t))return r;return-1}_i.exports=Um});var Ci=b((eD,Oi)=>{i();s();u();var Wm=_t(),Gm=Array.prototype,Vm=Gm.splice;function Km(e){var t=this.__data__,r=Wm(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Vm.call(t,r,1),--this.size,!0}Oi.exports=Km});var Ti=b((oD,Ri)=>{i();s();u();var Ym=_t();function Xm(e){var t=this.__data__,r=Ym(t,e);return r<0?void 0:t[r][1]}Ri.exports=Xm});var Fi=b((uD,Di)=>{i();s();u();var Jm=_t();function Qm(e){return Jm(this.__data__,e)>-1}Di.exports=Qm});var Ii=b((fD,Pi)=>{i();s();u();var Zm=_t();function ey(e,t){var r=this.__data__,n=Zm(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}Pi.exports=ey});var Ot=b((yD,Bi)=>{i();s();u();var ty=wi(),ry=Ci(),ny=Ti(),oy=Fi(),ay=Ii();function Je(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{i();s();u();var iy=Ot();function sy(){this.__data__=new iy,this.size=0}qi.exports=sy});var Li=b((xD,ji)=>{i();s();u();function uy(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}ji.exports=uy});var ki=b((RD,Mi)=>{i();s();u();function ly(e){return this.__data__.get(e)}Mi.exports=ly});var zi=b((PD,$i)=>{i();s();u();function cy(e){return this.__data__.has(e)}$i.exports=cy});var nr=b((ND,Hi)=>{i();s();u();var py=Te(),fy=ge(),dy=py(fy,"Map");Hi.exports=dy});var Ct=b((kD,Ui)=>{i();s();u();var hy=Te(),my=hy(Object,"create");Ui.exports=my});var Vi=b((UD,Gi)=>{i();s();u();var Wi=Ct();function yy(){this.__data__=Wi?Wi(null):{},this.size=0}Gi.exports=yy});var Yi=b((KD,Ki)=>{i();s();u();function gy(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Ki.exports=gy});var Ji=b((QD,Xi)=>{i();s();u();var by=Ct(),Ey="__lodash_hash_undefined__",vy=Object.prototype,Ay=vy.hasOwnProperty;function Sy(e){var t=this.__data__;if(by){var r=t[e];return r===Ey?void 0:r}return Ay.call(t,e)?t[e]:void 0}Xi.exports=Sy});var Zi=b((rF,Qi)=>{i();s();u();var wy=Ct(),xy=Object.prototype,_y=xy.hasOwnProperty;function Oy(e){var t=this.__data__;return wy?t[e]!==void 0:_y.call(t,e)}Qi.exports=Oy});var ts=b((iF,es)=>{i();s();u();var Cy=Ct(),Ry="__lodash_hash_undefined__";function Ty(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Cy&&t===void 0?Ry:t,this}es.exports=Ty});var ns=b((cF,rs)=>{i();s();u();var Dy=Vi(),Fy=Yi(),Py=Ji(),Iy=Zi(),By=ts();function Qe(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{i();s();u();var os=ns(),qy=Ot(),Ny=nr();function jy(){this.size=0,this.__data__={hash:new os,map:new(Ny||qy),string:new os}}as.exports=jy});var us=b((bF,ss)=>{i();s();u();function Ly(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}ss.exports=Ly});var Rt=b((SF,ls)=>{i();s();u();var My=us();function ky(e,t){var r=e.__data__;return My(t)?r[typeof t=="string"?"string":"hash"]:r.map}ls.exports=ky});var ps=b((OF,cs)=>{i();s();u();var $y=Rt();function zy(e){var t=$y(this,e).delete(e);return this.size-=t?1:0,t}cs.exports=zy});var ds=b((DF,fs)=>{i();s();u();var Hy=Rt();function Uy(e){return Hy(this,e).get(e)}fs.exports=Uy});var ms=b((BF,hs)=>{i();s();u();var Wy=Rt();function Gy(e){return Wy(this,e).has(e)}hs.exports=Gy});var gs=b((LF,ys)=>{i();s();u();var Vy=Rt();function Ky(e,t){var r=Vy(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}ys.exports=Ky});var or=b((zF,bs)=>{i();s();u();var Yy=is(),Xy=ps(),Jy=ds(),Qy=ms(),Zy=gs();function Ze(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{i();s();u();var eg=Ot(),tg=nr(),rg=or(),ng=200;function og(e,t){var r=this.__data__;if(r instanceof eg){var n=r.__data__;if(!tg||n.length{i();s();u();var ag=Ot(),ig=Ni(),sg=Li(),ug=ki(),lg=zi(),cg=vs();function et(e){var t=this.__data__=new ag(e);this.size=t.size}et.prototype.clear=ig;et.prototype.delete=sg;et.prototype.get=ug;et.prototype.has=lg;et.prototype.set=cg;As.exports=et});var ws=b((e5,Ss)=>{i();s();u();var pg="__lodash_hash_undefined__";function fg(e){return this.__data__.set(e,pg),this}Ss.exports=fg});var _s=b((o5,xs)=>{i();s();u();function dg(e){return this.__data__.has(e)}xs.exports=dg});var Cs=b((u5,Os)=>{i();s();u();var hg=or(),mg=ws(),yg=_s();function ar(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new hg;++t{i();s();u();function gg(e,t){for(var r=-1,n=e==null?0:e.length;++r{i();s();u();function bg(e,t){return e.has(t)}Ds.exports=bg});var cn=b((v5,Ps)=>{i();s();u();var Eg=Cs(),vg=Ts(),Ag=Fs(),Sg=1,wg=2;function xg(e,t,r,n,o,a){var c=r&Sg,l=e.length,p=t.length;if(l!=p&&!(c&&p>l))return!1;var f=a.get(e),g=a.get(t);if(f&&g)return f==t&&g==e;var E=-1,v=!0,w=r&wg?new Eg:void 0;for(a.set(e,t),a.set(t,e);++E{i();s();u();var _g=ge(),Og=_g.Uint8Array;Is.exports=Og});var Ns=b((R5,qs)=>{i();s();u();function Cg(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}qs.exports=Cg});var Ls=b((P5,js)=>{i();s();u();function Rg(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}js.exports=Rg});var Hs=b((N5,zs)=>{i();s();u();var Ms=Ve(),ks=Bs(),Tg=rr(),Dg=cn(),Fg=Ns(),Pg=Ls(),Ig=1,Bg=2,qg="[object Boolean]",Ng="[object Date]",jg="[object Error]",Lg="[object Map]",Mg="[object Number]",kg="[object RegExp]",$g="[object Set]",zg="[object String]",Hg="[object Symbol]",Ug="[object ArrayBuffer]",Wg="[object DataView]",$s=Ms?Ms.prototype:void 0,pn=$s?$s.valueOf:void 0;function Gg(e,t,r,n,o,a,c){switch(r){case Wg:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Ug:return!(e.byteLength!=t.byteLength||!a(new ks(e),new ks(t)));case qg:case Ng:case Mg:return Tg(+e,+t);case jg:return e.name==t.name&&e.message==t.message;case kg:case zg:return e==t+"";case Lg:var l=Fg;case $g:var p=n&Ig;if(l||(l=Pg),e.size!=t.size&&!p)return!1;var f=c.get(e);if(f)return f==t;n|=Bg,c.set(e,t);var g=Dg(l(e),l(t),n,o,a,c);return c.delete(e),g;case Hg:if(pn)return pn.call(e)==pn.call(t)}return!1}zs.exports=Gg});var ir=b((k5,Us)=>{i();s();u();function Vg(e,t){for(var r=-1,n=t.length,o=e.length;++r{i();s();u();var Kg=ir(),Yg=be();function Xg(e,t,r){var n=t(e);return Yg(e)?n:Kg(n,r(e))}Ws.exports=Xg});var Vs=b((K5,Gs)=>{i();s();u();function Jg(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r{i();s();u();function Qg(){return[]}Ks.exports=Qg});var hn=b((rP,Xs)=>{i();s();u();var Zg=Vs(),e2=dn(),t2=Object.prototype,r2=t2.propertyIsEnumerable,Ys=Object.getOwnPropertySymbols,n2=Ys?function(e){return e==null?[]:(e=Object(e),Zg(Ys(e),function(t){return r2.call(e,t)}))}:e2;Xs.exports=n2});var Qs=b((iP,Js)=>{i();s();u();var o2=fn(),a2=hn(),i2=tr();function s2(e){return o2(e,i2,a2)}Js.exports=s2});var tu=b((cP,eu)=>{i();s();u();var Zs=Qs(),u2=1,l2=Object.prototype,c2=l2.hasOwnProperty;function p2(e,t,r,n,o,a){var c=r&u2,l=Zs(e),p=l.length,f=Zs(t),g=f.length;if(p!=g&&!c)return!1;for(var E=p;E--;){var v=l[E];if(!(c?v in t:c2.call(t,v)))return!1}var w=a.get(e),x=a.get(t);if(w&&x)return w==t&&x==e;var T=!0;a.set(e,t),a.set(t,e);for(var I=c;++E{i();s();u();var f2=Te(),d2=ge(),h2=f2(d2,"DataView");ru.exports=h2});var au=b((bP,ou)=>{i();s();u();var m2=Te(),y2=ge(),g2=m2(y2,"Promise");ou.exports=g2});var su=b((SP,iu)=>{i();s();u();var b2=Te(),E2=ge(),v2=b2(E2,"Set");iu.exports=v2});var lu=b((OP,uu)=>{i();s();u();var A2=Te(),S2=ge(),w2=A2(S2,"WeakMap");uu.exports=w2});var gu=b((DP,yu)=>{i();s();u();var mn=nu(),yn=nr(),gn=au(),bn=su(),En=lu(),mu=Le(),tt=Qr(),cu="[object Map]",x2="[object Object]",pu="[object Promise]",fu="[object Set]",du="[object WeakMap]",hu="[object DataView]",_2=tt(mn),O2=tt(yn),C2=tt(gn),R2=tt(bn),T2=tt(En),ke=mu;(mn&&ke(new mn(new ArrayBuffer(1)))!=hu||yn&&ke(new yn)!=cu||gn&&ke(gn.resolve())!=pu||bn&&ke(new bn)!=fu||En&&ke(new En)!=du)&&(ke=function(e){var t=mu(e),r=t==x2?e.constructor:void 0,n=r?tt(r):"";if(n)switch(n){case _2:return hu;case O2:return cu;case C2:return pu;case R2:return fu;case T2:return du}return t});yu.exports=ke});var _u=b((BP,xu)=>{i();s();u();var vn=ln(),D2=cn(),F2=Hs(),P2=tu(),bu=gu(),Eu=be(),vu=tn(),I2=nn(),B2=1,Au="[object Arguments]",Su="[object Array]",sr="[object Object]",q2=Object.prototype,wu=q2.hasOwnProperty;function N2(e,t,r,n,o,a){var c=Eu(e),l=Eu(t),p=c?Su:bu(e),f=l?Su:bu(t);p=p==Au?sr:p,f=f==Au?sr:f;var g=p==sr,E=f==sr,v=p==f;if(v&&vu(e)){if(!vu(t))return!1;c=!0,g=!1}if(v&&!g)return a||(a=new vn),c||I2(e)?D2(e,t,r,n,o,a):F2(e,t,p,r,n,o,a);if(!(r&B2)){var w=g&&wu.call(e,"__wrapped__"),x=E&&wu.call(t,"__wrapped__");if(w||x){var T=w?e.value():e,I=x?t.value():t;return a||(a=new vn),o(T,I,r,n,a)}}return v?(a||(a=new vn),P2(e,t,r,n,o,a)):!1}xu.exports=N2});var An=b((LP,Ru)=>{i();s();u();var j2=_u(),Ou=Me();function Cu(e,t,r,n,o){return e===t?!0:e==null||t==null||!Ou(e)&&!Ou(t)?e!==e&&t!==t:j2(e,t,r,n,Cu,o)}Ru.exports=Cu});var Du=b((zP,Tu)=>{i();s();u();var L2=ln(),M2=An(),k2=1,$2=2;function z2(e,t,r,n){var o=r.length,a=o,c=!n;if(e==null)return!a;for(e=Object(e);o--;){var l=r[o];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o{i();s();u();var H2=Ke();function U2(e){return e===e&&!H2(e)}Fu.exports=U2});var Iu=b((XP,Pu)=>{i();s();u();var W2=Sn(),G2=tr();function V2(e){for(var t=G2(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,W2(o)]}return t}Pu.exports=V2});var wn=b((e3,Bu)=>{i();s();u();function K2(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}Bu.exports=K2});var Nu=b((o3,qu)=>{i();s();u();var Y2=Du(),X2=Iu(),J2=wn();function Q2(e){var t=X2(e);return t.length==1&&t[0][2]?J2(t[0][0],t[0][1]):function(r){return r===e||Y2(r,e,t)}}qu.exports=Q2});var ur=b((u3,ju)=>{i();s();u();var Z2=Le(),e0=Me(),t0="[object Symbol]";function r0(e){return typeof e=="symbol"||e0(e)&&Z2(e)==t0}ju.exports=r0});var lr=b((f3,Lu)=>{i();s();u();var n0=be(),o0=ur(),a0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i0=/^\w*$/;function s0(e,t){if(n0(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||o0(e)?!0:i0.test(e)||!a0.test(e)||t!=null&&e in Object(t)}Lu.exports=s0});var $u=b((y3,ku)=>{i();s();u();var Mu=or(),u0="Expected a function";function xn(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(u0);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var c=e.apply(this,n);return r.cache=a.set(o,c)||a,c};return r.cache=new(xn.Cache||Mu),r}xn.Cache=Mu;ku.exports=xn});var Hu=b((v3,zu)=>{i();s();u();var l0=$u(),c0=500;function p0(e){var t=l0(e,function(n){return r.size===c0&&r.clear(),n}),r=t.cache;return t}zu.exports=p0});var Wu=b((x3,Uu)=>{i();s();u();var f0=Hu(),d0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h0=/\\(\\)?/g,m0=f0(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(d0,function(r,n,o,a){t.push(o?a.replace(h0,"$1"):n||r)}),t});Uu.exports=m0});var _n=b((R3,Gu)=>{i();s();u();function y0(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r{i();s();u();var Vu=Ve(),g0=_n(),b0=be(),E0=ur(),v0=1/0,Ku=Vu?Vu.prototype:void 0,Yu=Ku?Ku.toString:void 0;function Xu(e){if(typeof e=="string")return e;if(b0(e))return g0(e,Xu)+"";if(E0(e))return Yu?Yu.call(e):"";var t=e+"";return t=="0"&&1/e==-v0?"-0":t}Ju.exports=Xu});var el=b((N3,Zu)=>{i();s();u();var A0=Qu();function S0(e){return e==null?"":A0(e)}Zu.exports=S0});var Tt=b((k3,tl)=>{i();s();u();var w0=be(),x0=lr(),_0=Wu(),O0=el();function C0(e,t){return w0(e)?e:x0(e,t)?[e]:_0(O0(e))}tl.exports=C0});var rt=b((U3,rl)=>{i();s();u();var R0=ur(),T0=1/0;function D0(e){if(typeof e=="string"||R0(e))return e;var t=e+"";return t=="0"&&1/e==-T0?"-0":t}rl.exports=D0});var cr=b((K3,nl)=>{i();s();u();var F0=Tt(),P0=rt();function I0(e,t){t=F0(t,e);for(var r=0,n=t.length;e!=null&&r{i();s();u();var B0=cr();function q0(e,t,r){var n=e==null?void 0:B0(e,t);return n===void 0?r:n}ol.exports=q0});var sl=b((rI,il)=>{i();s();u();function N0(e,t){return e!=null&&t in Object(e)}il.exports=N0});var ll=b((iI,ul)=>{i();s();u();var j0=Tt(),L0=Qt(),M0=be(),k0=Zt(),$0=er(),z0=rt();function H0(e,t,r){t=j0(t,e);for(var n=-1,o=t.length,a=!1;++n{i();s();u();var U0=sl(),W0=ll();function G0(e,t){return e!=null&&W0(e,t,U0)}cl.exports=G0});var fl=b((hI,pl)=>{i();s();u();var V0=An(),K0=al(),Y0=On(),X0=lr(),J0=Sn(),Q0=wn(),Z0=rt(),eb=1,tb=2;function rb(e,t){return X0(e)&&J0(t)?Q0(Z0(e),t):function(r){var n=K0(r,e);return n===void 0&&n===t?Y0(r,e):V0(t,n,eb|tb)}}pl.exports=rb});var Cn=b((bI,dl)=>{i();s();u();function nb(e){return e}dl.exports=nb});var ml=b((SI,hl)=>{i();s();u();function ob(e){return function(t){return t?.[e]}}hl.exports=ob});var gl=b((OI,yl)=>{i();s();u();var ab=cr();function ib(e){return function(t){return ab(t,e)}}yl.exports=ib});var El=b((DI,bl)=>{i();s();u();var sb=ml(),ub=gl(),lb=lr(),cb=rt();function pb(e){return lb(e)?sb(cb(e)):ub(e)}bl.exports=pb});var Rn=b((BI,vl)=>{i();s();u();var fb=Nu(),db=fl(),hb=Cn(),mb=be(),yb=El();function gb(e){return typeof e=="function"?e:e==null?hb:typeof e=="object"?mb(e)?db(e[0],e[1]):fb(e):yb(e)}vl.exports=gb});var Sl=b((LI,Al)=>{i();s();u();var bb=en(),Eb=Ai(),vb=Rn();function Ab(e,t){var r={};return t=vb(t,3),Eb(e,function(n,o,a){bb(r,o,t(n,o,a))}),r}Al.exports=Ab});var xl=b((zI,wl)=>{i();s();u();var Sb=en(),wb=rr(),xb=Object.prototype,_b=xb.hasOwnProperty;function Ob(e,t,r){var n=e[t];(!(_b.call(e,t)&&wb(n,r))||r===void 0&&!(t in e))&&Sb(e,t,r)}wl.exports=Ob});var Cl=b((GI,Ol)=>{i();s();u();var Cb=xl(),Rb=Tt(),Tb=Zt(),_l=Ke(),Db=rt();function Fb(e,t,r,n){if(!_l(e))return e;t=Rb(t,e);for(var o=-1,a=t.length,c=a-1,l=e;l!=null&&++o{i();s();u();var Pb=cr(),Ib=Cl(),Bb=Tt();function qb(e,t,r){for(var n=-1,o=t.length,a={};++n{i();s();u();var Nb=Tn(),jb=On();function Lb(e,t){return Nb(e,t,function(r,n){return jb(e,n)})}Tl.exports=Lb});var Bl=b((oB,Il)=>{i();s();u();var Fl=Ve(),Mb=Qt(),kb=be(),Pl=Fl?Fl.isConcatSpreadable:void 0;function $b(e){return kb(e)||Mb(e)||!!(Pl&&e&&e[Pl])}Il.exports=$b});var jl=b((uB,Nl)=>{i();s();u();var zb=ir(),Hb=Bl();function ql(e,t,r,n,o){var a=-1,c=e.length;for(r||(r=Hb),o||(o=[]);++a0&&r(l)?t>1?ql(l,t-1,r,n,o):zb(o,l):n||(o[o.length]=l)}return o}Nl.exports=ql});var Ml=b((fB,Ll)=>{i();s();u();var Ub=jl();function Wb(e){var t=e==null?0:e.length;return t?Ub(e,1):[]}Ll.exports=Wb});var $l=b((yB,kl)=>{i();s();u();function Gb(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}kl.exports=Gb});var Ul=b((vB,Hl)=>{i();s();u();var Vb=$l(),zl=Math.max;function Kb(e,t,r){return t=zl(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=zl(n.length-t,0),c=Array(a);++o{i();s();u();function Yb(e){return function(){return e}}Wl.exports=Yb});var Yl=b((RB,Kl)=>{i();s();u();var Xb=Gl(),Vl=Zr(),Jb=Cn(),Qb=Vl?function(e,t){return Vl(e,"toString",{configurable:!0,enumerable:!1,value:Xb(t),writable:!0})}:Jb;Kl.exports=Qb});var Jl=b((PB,Xl)=>{i();s();u();var Zb=800,eE=16,tE=Date.now;function rE(e){var t=0,r=0;return function(){var n=tE(),o=eE-(n-r);if(r=n,o>0){if(++t>=Zb)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}Xl.exports=rE});var Zl=b((NB,Ql)=>{i();s();u();var nE=Yl(),oE=Jl(),aE=oE(nE);Ql.exports=aE});var tc=b((kB,ec)=>{i();s();u();var iE=Ml(),sE=Ul(),uE=Zl();function lE(e){return uE(sE(e,void 0,iE),e+"")}ec.exports=lE});var nc=b((UB,rc)=>{i();s();u();var cE=Dl(),pE=tc(),fE=pE(function(e,t){return e==null?{}:cE(e,t)});rc.exports=fE});var fr=b((KB,lc)=>{"use strict";i();s();u();function pr(e){return Array.prototype.slice.apply(e)}var sc="pending",oc="resolved",ac="rejected";function z(e){this.status=sc,this._continuations=[],this._parent=null,this._paused=!1,e&&e.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function Dt(e){return e&&typeof e.then=="function"}function dE(e){return e}z.prototype={then:function(e,t){var r=z.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:r,nextFn:e,catchFn:t}),r;if(t)try{var n=t(this._error);return Dt(n)?(this._chainPromiseData(n,r),r):z.resolve(n)._setParent(this)}catch(o){return z.reject(o)._setParent(this)}return z.reject(this._error)._setParent(this)}return this._continuations.push({promise:r,nextFn:e,catchFn:t}),this._runResolutions(),r},catch:function(e){if(this._isResolved())return z.resolve(this._data)._setParent(this);var t=z.unresolved()._setParent(this);return this._continuations.push({promise:t,catchFn:e}),this._runRejections(),t},finally:function(e){var t=!1;function r(n,o){if(!t){t=!0,e||(e=dE);var a=e(n);return Dt(a)?a.then(function(){if(o)throw o;return n}):n}}return this.then(function(n){return r(n)}).catch(function(n){return r(null,n)})},pause:function(){return this._paused=!0,this},resume:function(){var e=this._findFirstPaused();return e&&(e._paused=!1,e._runResolutions(),e._runRejections()),this},_findAncestry:function(){return this._continuations.reduce(function(e,t){if(t.promise){var r={promise:t.promise,children:t.promise._findAncestry()};e.push(r)}return e},[])},_setParent:function(e){if(this._parent)throw new Error("parent already set");return this._parent=e,this},_continueWith:function(e){var t=this._findFirstPending();t&&(t._data=e,t._setResolved())},_findFirstPending:function(){return this._findFirstAncestor(function(e){return e._isPending&&e._isPending()})},_findFirstPaused:function(){return this._findFirstAncestor(function(e){return e._paused})},_findFirstAncestor:function(e){for(var t=this,r;t;)e(t)&&(r=t),t=t._parent;return r},_failWith:function(e){var t=this._findFirstPending();t&&(t._error=e,t._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!(this._paused||!this._isRejected())){var e=this._error,t=this._takeContinuations(),r=this;t.forEach(function(n){if(n.catchFn)try{var o=n.catchFn(e);r._handleUserFunctionResult(o,n.promise)}catch(a){n.promise.reject(a)}else n.promise.reject(e)})}},_runResolutions:function(){if(!(this._paused||!this._isResolved()||this._isPending())){var e=this._takeContinuations(),t=this._data,r=this;if(e.forEach(function(n){if(n.nextFn)try{var o=n.nextFn(t);r._handleUserFunctionResult(o,n.promise)}catch(a){r._handleResolutionError(a,n)}else n.promise&&n.promise.resolve(t)}),Dt(this._data))return this._handleWhenResolvedDataIsPromise(this._data)}},_handleResolutionError:function(e,t){if(this._setRejected(),t.catchFn)try{t.catchFn(e);return}catch(r){e=r}t.promise&&t.promise.reject(e)},_handleWhenResolvedDataIsPromise:function(e){var t=this;return e.then(function(r){t._data=r,t._runResolutions()}).catch(function(r){t._error=r,t._setRejected(),t._runRejections()})},_handleUserFunctionResult:function(e,t){Dt(e)?this._chainPromiseData(e,t):t.resolve(e)},_chainPromiseData:function(e,t){e.then(function(r){t.resolve(r)}).catch(function(r){t.reject(r)})},_setResolved:function(){this.status=oc,this._paused||this._runResolutions()},_setRejected:function(){this.status=ac,this._paused||this._runRejections()},_isPending:function(){return this.status===sc},_isResolved:function(){return this.status===oc},_isRejected:function(){return this.status===ac}};z.resolve=function(e){return new z(function(t,r){Dt(e)?e.then(function(n){t(n)}).catch(function(n){r(n)}):t(e)})};z.reject=function(e){return new z(function(t,r){r(e)})};z.unresolved=function(){return new z(function(e,t){this.resolve=e,this.reject=t})};z.all=function(){var e=pr(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new z(function(t,r){var n=[],o=0,a=function(){o===e.length&&t(n)},c=!1,l=function(p){c||(c=!0,r(p))};e.forEach(function(p,f){z.resolve(p).then(function(g){n[f]=g,o+=1,a()}).catch(function(g){l(g)})})}):z.resolve([])};function ic(e){return typeof window<"u"&&"AggregateError"in window?new window.AggregateError(e):{errors:e}}z.any=function(){var e=pr(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new z(function(t,r){var n=[],o=0,a=function(){o===e.length&&r(ic(n))},c=!1,l=function(p){c||(c=!0,t(p))};e.forEach(function(p,f){z.resolve(p).then(function(g){l(g)}).catch(function(g){n[f]=g,o+=1,a()})})}):z.reject(ic([]))};z.allSettled=function(){var e=pr(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new z(function(t){var r=[],n=0,o=function(){n+=1,n===e.length&&t(r)};e.forEach(function(a,c){z.resolve(a).then(function(l){r[c]={status:"fulfilled",value:l},o()}).catch(function(l){r[c]={status:"rejected",reason:l},o()})})}):z.resolve([])};if(Promise===z)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var uc=Promise;z.installGlobally=function(e){if(Promise===z)return e;var t=hE(e);return Promise=z,t};z.uninstallGlobally=function(){Promise===z&&(Promise=uc)};function hE(e){if(typeof e>"u"||e.__patched)return e;var t=e;return e=function(){var r=uc;t.apply(this,pr(arguments))},e.__patched=!0,e}lc.exports={SynchronousPromise:z}});var Dn=b((g4,pc)=>{i();s();u();var yE=sn(),gE=yE(Object.getPrototypeOf,Object);pc.exports=gE});var Fn=b((A4,dc)=>{i();s();u();var bE=Le(),EE=Dn(),vE=Me(),AE="[object Object]",SE=Function.prototype,wE=Object.prototype,fc=SE.toString,xE=wE.hasOwnProperty,_E=fc.call(Object);function OE(e){if(!vE(e)||bE(e)!=AE)return!1;var t=EE(e);if(t===null)return!0;var r=xE.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&fc.call(r)==_E}dc.exports=OE});var yc=b((D4,mc)=>{i();s();u();mc.exports=NE;function NE(e,t){if(Pn("noDeprecation"))return e;var r=!1;function n(){if(!r){if(Pn("throwDeprecation"))throw new Error(t);Pn("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return n}function Pn(e){try{if(!window.localStorage)return!1}catch{return!1}var t=window.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}});var bc=b((B4,gc)=>{i();s();u();var jE=ir(),LE=Dn(),ME=hn(),kE=dn(),$E=Object.getOwnPropertySymbols,zE=$E?function(e){for(var t=[];e;)jE(t,ME(e)),e=LE(e);return t}:kE;gc.exports=zE});var vc=b((L4,Ec)=>{i();s();u();function HE(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}Ec.exports=HE});var Sc=b((z4,Ac)=>{i();s();u();var UE=Ke(),WE=an(),GE=vc(),VE=Object.prototype,KE=VE.hasOwnProperty;function YE(e){if(!UE(e))return GE(e);var t=WE(e),r=[];for(var n in e)n=="constructor"&&(t||!KE.call(e,n))||r.push(n);return r}Ac.exports=YE});var xc=b((G4,wc)=>{i();s();u();var XE=on(),JE=Sc(),QE=un();function ZE(e){return QE(e)?XE(e,!0):JE(e)}wc.exports=ZE});var Oc=b((X4,_c)=>{i();s();u();var ev=fn(),tv=bc(),rv=xc();function nv(e){return ev(e,rv,tv)}_c.exports=nv});var Rc=b((e9,Cc)=>{i();s();u();var ov=_n(),av=Rn(),iv=Tn(),sv=Oc();function uv(e,t){if(e==null)return{};var r=ov(sv(e),function(n){return[n]});return t=av(t),iv(e,r,function(n,o){return t(n,o[0])})}Cc.exports=uv});var jc=b((x9,Nc)=>{"use strict";i();s();u();Nc.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var c=Object.getOwnPropertyDescriptor(t,r);if(c.value!==o||c.enumerable!==!0)return!1}return!0}});var kc=b((R9,Mc)=>{"use strict";i();s();u();var Lc=typeof Symbol<"u"&&Symbol,xv=jc();Mc.exports=function(){return typeof Lc!="function"||typeof Symbol!="function"||typeof Lc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:xv()}});var Hc=b((P9,zc)=>{"use strict";i();s();u();var $c={foo:{}},_v=Object;zc.exports=function(){return{__proto__:$c}.foo===$c.foo&&!({__proto__:null}instanceof _v)}});var Wc=b((N9,Uc)=>{"use strict";i();s();u();var Ov="Function.prototype.bind called on incompatible ",qn=Array.prototype.slice,Cv=Object.prototype.toString,Rv="[object Function]";Uc.exports=function(t){var r=this;if(typeof r!="function"||Cv.call(r)!==Rv)throw new TypeError(Ov+r);for(var n=qn.call(arguments,1),o,a=function(){if(this instanceof o){var g=r.apply(this,n.concat(qn.call(arguments)));return Object(g)===g?g:this}else return r.apply(t,n.concat(qn.call(arguments)))},c=Math.max(0,r.length-n.length),l=[],p=0;p{"use strict";i();s();u();var Tv=Wc();Gc.exports=Function.prototype.bind||Tv});var Kc=b((U9,Vc)=>{"use strict";i();s();u();var Dv=gr();Vc.exports=Dv.call(Function.call,Object.prototype.hasOwnProperty)});var vr=b((K9,Zc)=>{"use strict";i();s();u();var L,st=SyntaxError,Qc=Function,it=TypeError,Nn=function(e){try{return Qc('"use strict"; return ('+e+").constructor;")()}catch{}},$e=Object.getOwnPropertyDescriptor;if($e)try{$e({},"")}catch{$e=null}var jn=function(){throw new it},Fv=$e?function(){try{return arguments.callee,jn}catch{try{return $e(arguments,"callee").get}catch{return jn}}}():jn,ot=kc()(),Pv=Hc()(),X=Object.getPrototypeOf||(Pv?function(e){return e.__proto__}:null),at={},Iv=typeof Uint8Array>"u"||!X?L:X(Uint8Array),ze={"%AggregateError%":typeof AggregateError>"u"?L:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?L:ArrayBuffer,"%ArrayIteratorPrototype%":ot&&X?X([][Symbol.iterator]()):L,"%AsyncFromSyncIteratorPrototype%":L,"%AsyncFunction%":at,"%AsyncGenerator%":at,"%AsyncGeneratorFunction%":at,"%AsyncIteratorPrototype%":at,"%Atomics%":typeof Atomics>"u"?L:Atomics,"%BigInt%":typeof BigInt>"u"?L:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?L:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?L:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?L:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?L:Float32Array,"%Float64Array%":typeof Float64Array>"u"?L:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?L:FinalizationRegistry,"%Function%":Qc,"%GeneratorFunction%":at,"%Int8Array%":typeof Int8Array>"u"?L:Int8Array,"%Int16Array%":typeof Int16Array>"u"?L:Int16Array,"%Int32Array%":typeof Int32Array>"u"?L:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ot&&X?X(X([][Symbol.iterator]())):L,"%JSON%":typeof JSON=="object"?JSON:L,"%Map%":typeof Map>"u"?L:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ot||!X?L:X(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?L:Promise,"%Proxy%":typeof Proxy>"u"?L:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?L:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?L:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ot||!X?L:X(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?L:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ot&&X?X(""[Symbol.iterator]()):L,"%Symbol%":ot?Symbol:L,"%SyntaxError%":st,"%ThrowTypeError%":Fv,"%TypedArray%":Iv,"%TypeError%":it,"%Uint8Array%":typeof Uint8Array>"u"?L:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?L:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?L:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?L:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?L:WeakMap,"%WeakRef%":typeof WeakRef>"u"?L:WeakRef,"%WeakSet%":typeof WeakSet>"u"?L:WeakSet};if(X)try{null.error}catch(e){Yc=X(X(e)),ze["%Error.prototype%"]=Yc}var Yc,Bv=function e(t){var r;if(t==="%AsyncFunction%")r=Nn("async function () {}");else if(t==="%GeneratorFunction%")r=Nn("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Nn("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&X&&(r=X(o.prototype))}return ze[t]=r,r},Xc={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Bt=gr(),br=Kc(),qv=Bt.call(Function.call,Array.prototype.concat),Nv=Bt.call(Function.apply,Array.prototype.splice),Jc=Bt.call(Function.call,String.prototype.replace),Er=Bt.call(Function.call,String.prototype.slice),jv=Bt.call(Function.call,RegExp.prototype.exec),Lv=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Mv=/\\(\\)?/g,kv=function(t){var r=Er(t,0,1),n=Er(t,-1);if(r==="%"&&n!=="%")throw new st("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new st("invalid intrinsic syntax, expected opening `%`");var o=[];return Jc(t,Lv,function(a,c,l,p){o[o.length]=l?Jc(p,Mv,"$1"):c||a}),o},$v=function(t,r){var n=t,o;if(br(Xc,n)&&(o=Xc[n],n="%"+o[0]+"%"),br(ze,n)){var a=ze[n];if(a===at&&(a=Bv(n)),typeof a>"u"&&!r)throw new it("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:a}}throw new st("intrinsic "+t+" does not exist!")};Zc.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new it("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new it('"allowMissing" argument must be a boolean');if(jv(/^%?[^%]*%?$/,t)===null)throw new st("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=kv(t),o=n.length>0?n[0]:"",a=$v("%"+o+"%",r),c=a.name,l=a.value,p=!1,f=a.alias;f&&(o=f[0],Nv(n,qv([0,1],f)));for(var g=1,E=!0;g=n.length){var T=$e(l,v);E=!!T,E&&"get"in T&&!("originalValue"in T.get)?l=T.get:l=l[v]}else E=br(l,v),l=l[v];E&&!p&&(ze[c]=l)}}return l}});var ap=b((Q9,Ar)=>{"use strict";i();s();u();var Ln=gr(),ut=vr(),rp=ut("%Function.prototype.apply%"),np=ut("%Function.prototype.call%"),op=ut("%Reflect.apply%",!0)||Ln.call(np,rp),ep=ut("%Object.getOwnPropertyDescriptor%",!0),He=ut("%Object.defineProperty%",!0),zv=ut("%Math.max%");if(He)try{He({},"a",{value:1})}catch{He=null}Ar.exports=function(t){var r=op(Ln,np,arguments);if(ep&&He){var n=ep(r,"length");n.configurable&&He(r,"length",{value:1+zv(0,t.length-(arguments.length-1))})}return r};var tp=function(){return op(Ln,rp,arguments)};He?He(Ar.exports,"apply",{value:tp}):Ar.exports.apply=tp});var lp=b((rq,up)=>{"use strict";i();s();u();var ip=vr(),sp=ap(),Hv=sp(ip("String.prototype.indexOf"));up.exports=function(t,r){var n=ip(t,!!r);return typeof n=="function"&&Hv(t,".prototype.")>-1?sp(n):n}});var cp=b(()=>{i();s();u()});var Dp=b((pq,Tp)=>{i();s();u();var Kn=typeof Map=="function"&&Map.prototype,Mn=Object.getOwnPropertyDescriptor&&Kn?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,wr=Kn&&Mn&&typeof Mn.get=="function"?Mn.get:null,pp=Kn&&Map.prototype.forEach,Yn=typeof Set=="function"&&Set.prototype,kn=Object.getOwnPropertyDescriptor&&Yn?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,xr=Yn&&kn&&typeof kn.get=="function"?kn.get:null,fp=Yn&&Set.prototype.forEach,Uv=typeof WeakMap=="function"&&WeakMap.prototype,Nt=Uv?WeakMap.prototype.has:null,Wv=typeof WeakSet=="function"&&WeakSet.prototype,jt=Wv?WeakSet.prototype.has:null,Gv=typeof WeakRef=="function"&&WeakRef.prototype,dp=Gv?WeakRef.prototype.deref:null,Vv=Boolean.prototype.valueOf,Kv=Object.prototype.toString,Yv=Function.prototype.toString,Xv=String.prototype.match,Xn=String.prototype.slice,Fe=String.prototype.replace,Jv=String.prototype.toUpperCase,hp=String.prototype.toLowerCase,wp=RegExp.prototype.test,mp=Array.prototype.concat,Ee=Array.prototype.join,Qv=Array.prototype.slice,yp=Math.floor,Hn=typeof BigInt=="function"?BigInt.prototype.valueOf:null,$n=Object.getOwnPropertySymbols,Un=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,lt=typeof Symbol=="function"&&typeof Symbol.iterator=="object",te=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===lt||"symbol")?Symbol.toStringTag:null,xp=Object.prototype.propertyIsEnumerable,gp=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function bp(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||wp.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-yp(-e):yp(e);if(n!==e){var o=String(n),a=Xn.call(t,o.length+1);return Fe.call(o,r,"$&_")+"."+Fe.call(Fe.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Fe.call(t,r,"$&_")}var Wn=cp(),Ep=Wn.custom,vp=Op(Ep)?Ep:null;Tp.exports=function e(t,r,n,o){var a=r||{};if(De(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(De(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=De(a,"customInspect")?a.customInspect:!0;if(typeof c!="boolean"&&c!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(De(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(De(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Rp(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var p=String(t);return l?bp(t,p):p}if(typeof t=="bigint"){var f=String(t)+"n";return l?bp(t,f):f}var g=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=g&&g>0&&typeof t=="object")return Gn(t)?"[Array]":"[Object]";var E=y1(a,n);if(typeof o>"u")o=[];else if(Cp(o,t)>=0)return"[Circular]";function v(oe,A,S){if(A&&(o=Qv.call(o),o.push(A)),S){var _={depth:a.depth};return De(a,"quoteStyle")&&(_.quoteStyle=a.quoteStyle),e(oe,_,n+1,o)}return e(oe,a,n+1,o)}if(typeof t=="function"&&!Ap(t)){var w=s1(t),x=Sr(t,v);return"[Function"+(w?": "+w:" (anonymous)")+"]"+(x.length>0?" { "+Ee.call(x,", ")+" }":"")}if(Op(t)){var T=lt?Fe.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Un.call(t);return typeof t=="object"&&!lt?qt(T):T}if(d1(t)){for(var I="<"+hp.call(String(t.nodeName)),O=t.attributes||[],R=0;R",I}if(Gn(t)){if(t.length===0)return"[]";var q=Sr(t,v);return E&&!m1(q)?"["+Vn(q,E)+"]":"[ "+Ee.call(q,", ")+" ]"}if(t1(t)){var j=Sr(t,v);return!("cause"in Error.prototype)&&"cause"in t&&!xp.call(t,"cause")?"{ ["+String(t)+"] "+Ee.call(mp.call("[cause]: "+v(t.cause),j),", ")+" }":j.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Ee.call(j,", ")+" }"}if(typeof t=="object"&&c){if(vp&&typeof t[vp]=="function"&&Wn)return Wn(t,{depth:g-n});if(c!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(u1(t)){var $=[];return pp&&pp.call(t,function(oe,A){$.push(v(A,t,!0)+" => "+v(oe,t))}),Sp("Map",wr.call(t),$,E)}if(p1(t)){var K=[];return fp&&fp.call(t,function(oe){K.push(v(oe,t))}),Sp("Set",xr.call(t),K,E)}if(l1(t))return zn("WeakMap");if(f1(t))return zn("WeakSet");if(c1(t))return zn("WeakRef");if(n1(t))return qt(v(Number(t)));if(a1(t))return qt(v(Hn.call(t)));if(o1(t))return qt(Vv.call(t));if(r1(t))return qt(v(String(t)));if(!e1(t)&&!Ap(t)){var B=Sr(t,v),N=gp?gp(t)===Object.prototype:t instanceof Object||t.constructor===Object,V=t instanceof Object?"":"null prototype",Z=!N&&te&&Object(t)===t&&te in t?Xn.call(Pe(t),8,-1):V?"Object":"",de=N||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",ee=de+(Z||V?"["+Ee.call(mp.call([],Z||[],V||[]),": ")+"] ":"");return B.length===0?ee+"{}":E?ee+"{"+Vn(B,E)+"}":ee+"{ "+Ee.call(B,", ")+" }"}return String(t)};function _p(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function Zv(e){return Fe.call(String(e),/"/g,""")}function Gn(e){return Pe(e)==="[object Array]"&&(!te||!(typeof e=="object"&&te in e))}function e1(e){return Pe(e)==="[object Date]"&&(!te||!(typeof e=="object"&&te in e))}function Ap(e){return Pe(e)==="[object RegExp]"&&(!te||!(typeof e=="object"&&te in e))}function t1(e){return Pe(e)==="[object Error]"&&(!te||!(typeof e=="object"&&te in e))}function r1(e){return Pe(e)==="[object String]"&&(!te||!(typeof e=="object"&&te in e))}function n1(e){return Pe(e)==="[object Number]"&&(!te||!(typeof e=="object"&&te in e))}function o1(e){return Pe(e)==="[object Boolean]"&&(!te||!(typeof e=="object"&&te in e))}function Op(e){if(lt)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Un)return!1;try{return Un.call(e),!0}catch{}return!1}function a1(e){if(!e||typeof e!="object"||!Hn)return!1;try{return Hn.call(e),!0}catch{}return!1}var i1=Object.prototype.hasOwnProperty||function(e){return e in this};function De(e,t){return i1.call(e,t)}function Pe(e){return Kv.call(e)}function s1(e){if(e.name)return e.name;var t=Xv.call(Yv.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Cp(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Rp(Xn.call(e,0,t.maxStringLength),t)+n}var o=Fe.call(Fe.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,h1);return _p(o,"single",t)}function h1(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+Jv.call(t.toString(16))}function qt(e){return"Object("+e+")"}function zn(e){return e+" { ? }"}function Sp(e,t,r,n){var o=n?Vn(r,n):Ee.call(r,", ");return e+" ("+t+") {"+o+"}"}function m1(e){for(var t=0;t=0)return!1;return!0}function y1(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Ee.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Ee.call(Array(t+1),r)}}function Vn(e,t){if(e.length===0)return"";var r=` +`+t.prev+t.base;return r+Ee.call(e,","+r)+` +`+t.prev}function Sr(e,t){var r=Gn(e),n=[];if(r){n.length=e.length;for(var o=0;o{"use strict";i();s();u();var Jn=vr(),ct=lp(),g1=Dp(),b1=Jn("%TypeError%"),_r=Jn("%WeakMap%",!0),Or=Jn("%Map%",!0),E1=ct("WeakMap.prototype.get",!0),v1=ct("WeakMap.prototype.set",!0),A1=ct("WeakMap.prototype.has",!0),S1=ct("Map.prototype.get",!0),w1=ct("Map.prototype.set",!0),x1=ct("Map.prototype.has",!0),Qn=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},_1=function(e,t){var r=Qn(e,t);return r&&r.value},O1=function(e,t,r){var n=Qn(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},C1=function(e,t){return!!Qn(e,t)};Fp.exports=function(){var t,r,n,o={assert:function(a){if(!o.has(a))throw new b1("Side channel does not contain "+g1(a))},get:function(a){if(_r&&a&&(typeof a=="object"||typeof a=="function")){if(t)return E1(t,a)}else if(Or){if(r)return S1(r,a)}else if(n)return _1(n,a)},has:function(a){if(_r&&a&&(typeof a=="object"||typeof a=="function")){if(t)return A1(t,a)}else if(Or){if(r)return x1(r,a)}else if(n)return C1(n,a);return!1},set:function(a,c){_r&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new _r),v1(t,a,c)):Or?(r||(r=new Or),w1(r,a,c)):(n||(n={key:{},next:null}),O1(n,a,c))}};return o}});var Cr=b((Eq,Ip)=>{"use strict";i();s();u();var R1=String.prototype.replace,T1=/%20/g,Zn={RFC1738:"RFC1738",RFC3986:"RFC3986"};Ip.exports={default:Zn.RFC3986,formatters:{RFC1738:function(e){return R1.call(e,T1,"+")},RFC3986:function(e){return String(e)}},RFC1738:Zn.RFC1738,RFC3986:Zn.RFC3986}});var to=b((wq,qp)=>{"use strict";i();s();u();var D1=Cr(),eo=Object.prototype.hasOwnProperty,Ue=Array.isArray,ve=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),F1=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(Ue(n)){for(var o=[],a=0;a=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||a===D1.RFC1738&&(f===40||f===41)){l+=c.charAt(p);continue}if(f<128){l=l+ve[f];continue}if(f<2048){l=l+(ve[192|f>>6]+ve[128|f&63]);continue}if(f<55296||f>=57344){l=l+(ve[224|f>>12]+ve[128|f>>6&63]+ve[128|f&63]);continue}p+=1,f=65536+((f&1023)<<10|c.charCodeAt(p)&1023),l+=ve[240|f>>18]+ve[128|f>>12&63]+ve[128|f>>6&63]+ve[128|f&63]}return l},N1=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],o=0;o{"use strict";i();s();u();var Lp=Pp(),Rr=to(),Lt=Cr(),$1=Object.prototype.hasOwnProperty,Np={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},xe=Array.isArray,z1=Array.prototype.push,Mp=function(e,t){z1.apply(e,xe(t)?t:[t])},H1=Date.prototype.toISOString,jp=Lt.default,re={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Rr.encode,encodeValuesOnly:!1,format:jp,formatter:Lt.formatters[jp],indices:!1,serializeDate:function(t){return H1.call(t)},skipNulls:!1,strictNullHandling:!1},U1=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},ro={},W1=function e(t,r,n,o,a,c,l,p,f,g,E,v,w,x,T,I){for(var O=t,R=I,q=0,j=!1;(R=R.get(ro))!==void 0&&!j;){var $=R.get(t);if(q+=1,typeof $<"u"){if($===q)throw new RangeError("Cyclic object value");j=!0}typeof R.get(ro)>"u"&&(q=0)}if(typeof p=="function"?O=p(r,O):O instanceof Date?O=E(O):n==="comma"&&xe(O)&&(O=Rr.maybeMap(O,function(_){return _ instanceof Date?E(_):_})),O===null){if(a)return l&&!x?l(r,re.encoder,T,"key",v):r;O=""}if(U1(O)||Rr.isBuffer(O)){if(l){var K=x?r:l(r,re.encoder,T,"key",v);return[w(K)+"="+w(l(O,re.encoder,T,"value",v))]}return[w(r)+"="+w(String(O))]}var B=[];if(typeof O>"u")return B;var N;if(n==="comma"&&xe(O))x&&l&&(O=Rr.maybeMap(O,l)),N=[{value:O.length>0?O.join(",")||null:void 0}];else if(xe(p))N=p;else{var V=Object.keys(O);N=f?V.sort(f):V}for(var Z=o&&xe(O)&&O.length===1?r+"[]":r,de=0;de"u"?re.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:re.charsetSentinel,delimiter:typeof t.delimiter>"u"?re.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:re.encode,encoder:typeof t.encoder=="function"?t.encoder:re.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:re.encodeValuesOnly,filter:a,format:n,formatter:o,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:re.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:re.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:re.strictNullHandling}};kp.exports=function(e,t){var r=e,n=G1(t),o,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):xe(n.filter)&&(a=n.filter,o=a);var c=[];if(typeof r!="object"||r===null)return"";var l;t&&t.arrayFormat in Np?l=t.arrayFormat:t&&"indices"in t?l=t.indices?"indices":"repeat":l="indices";var p=Np[l];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=p==="comma"&&t&&t.commaRoundTrip;o||(o=Object.keys(r)),n.sort&&o.sort(n.sort);for(var g=Lp(),E=0;E0?x+w:""}});var Up=b((Fq,Hp)=>{"use strict";i();s();u();var pt=to(),no=Object.prototype.hasOwnProperty,V1=Array.isArray,J={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:pt.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},K1=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},zp=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},Y1="utf8=%26%2310003%3B",X1="utf8=%E2%9C%93",J1=function(t,r){var n={__proto__:null},o=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=r.parameterLimit===1/0?void 0:r.parameterLimit,c=o.split(r.delimiter,a),l=-1,p,f=r.charset;if(r.charsetSentinel)for(p=0;p-1&&(x=V1(x)?[x]:x),no.call(n,w)?n[w]=pt.combine(n[w],x):n[w]=x}return n},Q1=function(e,t,r,n){for(var o=n?t:zp(t,r),a=e.length-1;a>=0;--a){var c,l=e[a];if(l==="[]"&&r.parseArrays)c=[].concat(o);else{c=r.plainObjects?Object.create(null):{};var p=l.charAt(0)==="["&&l.charAt(l.length-1)==="]"?l.slice(1,-1):l,f=parseInt(p,10);!r.parseArrays&&p===""?c={0:o}:!isNaN(f)&&l!==p&&String(f)===p&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(c=[],c[f]=o):p!=="__proto__"&&(c[p]=o)}o=c}return o},Z1=function(t,r,n,o){if(t){var a=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,c=/(\[[^[\]]*])/,l=/(\[[^[\]]*])/g,p=n.depth>0&&c.exec(a),f=p?a.slice(0,p.index):a,g=[];if(f){if(!n.plainObjects&&no.call(Object.prototype,f)&&!n.allowPrototypes)return;g.push(f)}for(var E=0;n.depth>0&&(p=l.exec(a))!==null&&E"u"?J.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?J.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:J.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:J.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:J.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:J.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:J.comma,decoder:typeof t.decoder=="function"?t.decoder:J.decoder,delimiter:typeof t.delimiter=="string"||pt.isRegExp(t.delimiter)?t.delimiter:J.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:J.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:J.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:J.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:J.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:J.strictNullHandling}};Hp.exports=function(e,t){var r=eA(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?J1(e,r):e,o=r.plainObjects?Object.create(null):{},a=Object.keys(n),c=0;c{"use strict";i();s();u();var tA=$p(),rA=Up(),nA=Cr();Wp.exports={formats:nA,parse:rA,stringify:tA}});i();s();u();i();s();u();i();s();u();var Df=Object.create,Po=Object.defineProperty,Ff=Object.getOwnPropertyDescriptor,Io=Object.getOwnPropertyNames,Pf=Object.getPrototypeOf,If=Object.prototype.hasOwnProperty,le=(e,t)=>function(){return t||(0,e[Io(e)[0]])((t={exports:{}}).exports,t),t.exports},Bf=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Io(t))!If.call(e,o)&&o!==r&&Po(e,o,{get:()=>t[o],enumerable:!(n=Ff(t,o))||n.enumerable});return e},fe=(e,t,r)=>(r=e!=null?Df(Pf(e)):{},Bf(t||!e||!e.__esModule?Po(r,"default",{value:e,enumerable:!0}):r,e));i();s();u();var d=__REACT__,{Children:Jw,Component:Qw,Fragment:Vt,Profiler:Zw,PureComponent:ex,StrictMode:tx,Suspense:rx,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:nx,cloneElement:ox,createContext:ax,createElement:U,createFactory:ix,createRef:sx,forwardRef:ux,isValidElement:lx,lazy:cx,memo:Kt,useCallback:Bo,useContext:px,useDebugValue:fx,useEffect:Ne,useImperativeHandle:dx,useLayoutEffect:hx,useMemo:qo,useReducer:mx,useRef:Yt,useState:me,version:yx}=__REACT__;i();s();u();var vx=__STORYBOOKAPI__,{ActiveTabs:Ax,Consumer:No,ManagerContext:Sx,Provider:wx,addons:Lr,combineParameters:xx,controlOrMetaKey:_x,controlOrMetaSymbol:Ox,eventMatchesShortcut:Cx,eventToShortcut:Rx,isMacLike:Tx,isShortcutTaken:Dx,keyToSymbol:Fx,merge:Px,mockChannel:Ix,optionOrAltSymbol:Bx,shortcutMatchesShortcut:qx,shortcutToHumanString:Nx,types:jo,useAddonState:Mr,useArgTypes:jx,useArgs:Lx,useChannel:Lo,useGlobalTypes:Mx,useGlobals:kx,useParameter:Mo,useSharedState:$x,useStoryPrepared:zx,useStorybookApi:Hx,useStorybookState:Ux}=__STORYBOOKAPI__;i();s();u();var Yx=__STORYBOOKCOMPONENTS__,{A:Xx,ActionBar:Jx,AddonPanel:ko,Badge:$o,Bar:zo,Blockquote:Qx,Button:Ho,ClipboardCode:Zx,Code:e_,DL:t_,Div:r_,DocumentWrapper:n_,ErrorFormatter:o_,FlexBar:a_,Form:i_,H1:s_,H2:u_,H3:l_,H4:c_,H5:p_,H6:f_,HR:d_,IconButton:kr,IconButtonSkeleton:h_,Icons:Ce,Img:m_,LI:y_,Link:Uo,ListItem:g_,Loader:b_,OL:E_,P:Wo,Placeholder:Go,Pre:v_,ResetWrapper:A_,ScrollArea:S_,Separator:Vo,Spaced:Ko,Span:w_,StorybookIcon:x_,StorybookLogo:__,Symbols:O_,SyntaxHighlighter:C_,TT:R_,TabBar:T_,TabButton:D_,TabWrapper:F_,Table:P_,Tabs:I_,TabsState:B_,TooltipLinkList:q_,TooltipMessage:N_,TooltipNote:$r,UL:j_,WithTooltip:je,WithTooltipPure:L_,Zoom:M_,codeCommon:k_,components:$_,createCopyToClipboardFunction:z_,getStoryHref:H_,icons:U_,interleaveSeparators:W_,nameSpaceClassNames:G_,resetComponents:V_,withReset:K_}=__STORYBOOKCOMPONENTS__;i();s();u();i();s();u();i();s();u();i();s();u();i();s();u();i();s();u();i();s();u();var Z_=__STORYBOOKCHANNELS__,{Channel:Yo,PostMessageTransport:eO,WebsocketTransport:tO,createBrowserChannel:Nf,createPostMessageChannel:rO,createWebSocketChannel:nO}=__STORYBOOKCHANNELS__;i();s();u();var Y=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();i();s();u();var fO=__STORYBOOKCLIENTLOGGER__,{deprecate:Xo,logger:Re,once:zr,pretty:dO}=__STORYBOOKCLIENTLOGGER__;i();s();u();var bO=__STORYBOOKCOREEVENTS__,{CHANNEL_CREATED:EO,CONFIG_ERROR:jf,CURRENT_STORY_WAS_SET:Lf,DOCS_PREPARED:Mf,DOCS_RENDERED:kf,FORCE_REMOUNT:Xt,FORCE_RE_RENDER:Hr,GLOBALS_UPDATED:$f,IGNORED_EXCEPTION:Ur,NAVIGATE_URL:vO,PLAY_FUNCTION_THREW_EXCEPTION:Wr,PRELOAD_ENTRIES:zf,PREVIEW_BUILDER_PROGRESS:AO,PREVIEW_KEYDOWN:Hf,REGISTER_SUBSCRIPTION:SO,REQUEST_WHATS_NEW_DATA:wO,RESET_STORY_ARGS:Jo,RESULT_WHATS_NEW_DATA:xO,SELECT_STORY:_O,SET_CONFIG:OO,SET_CURRENT_STORY:Qo,SET_GLOBALS:Uf,SET_INDEX:Wf,SET_STORIES:CO,SET_WHATS_NEW_CACHE:RO,SHARED_STATE_CHANGED:Gf,SHARED_STATE_SET:Vf,STORIES_COLLAPSE_ALL:TO,STORIES_EXPAND_ALL:DO,STORY_ARGS_UPDATED:Kf,STORY_CHANGED:Yf,STORY_ERRORED:Xf,STORY_INDEX_INVALIDATED:Jf,STORY_MISSING:Qf,STORY_PREPARED:Zf,STORY_RENDERED:Zo,STORY_RENDER_PHASE_CHANGED:Jt,STORY_SPECIFIED:ed,STORY_THREW_EXCEPTION:Gr,STORY_UNCHANGED:td,TELEMETRY_ERROR:FO,TOGGLE_WHATS_NEW_NOTIFICATIONS:PO,UPDATE_GLOBALS:ea,UPDATE_QUERY_PARAMS:rd,UPDATE_STORY_ARGS:ta}=__STORYBOOKCOREEVENTS__;var nd=Object.create,ra=Object.defineProperty,od=Object.getOwnPropertyDescriptor,na=Object.getOwnPropertyNames,ad=Object.getPrototypeOf,id=Object.prototype.hasOwnProperty,ye=(e,t)=>function(){return t||(0,e[na(e)[0]])((t={exports:{}}).exports,t),t.exports},sd=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of na(t))!id.call(e,o)&&o!==r&&ra(e,o,{get:()=>t[o],enumerable:!(n=od(t,o))||n.enumerable});return e},oa=(e,t,r)=>(r=e!=null?nd(ad(e)):{},sd(t||!e||!e.__esModule?ra(r,"default",{value:e,enumerable:!0}):r,e));function aa(){let e={setHandler:()=>{},send:()=>{}};return new Yo({transport:e})}var ud=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=aa();return this.setChannel(e),e}return this.channel},this.getServerChannel=()=>{if(!this.serverChannel)throw new Error("Accessing non-existent serverChannel");return this.serverChannel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.hasServerChannel=()=>!!this.serverChannel,this.setChannel=e=>{this.channel=e,this.resolve()},this.setServerChannel=e=>{this.serverChannel=e},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},Vr="__STORYBOOK_ADDONS_PREVIEW";function ld(){return Y[Vr]||(Y[Vr]=new ud),Y[Vr]}var vt=ld();var Dc=pe(sa(),1),Pt=pe(Sl(),1),Ev=pe(nc(),1),vv=pe(fr(),1);i();s();u();i();s();u();i();s();u();function Ft(e){for(var t=[],r=1;r(e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.FRAMEWORK_ANGULAR="FRAMEWORK_ANGULAR",e.FRAMEWORK_EMBER="FRAMEWORK_EMBER",e.FRAMEWORK_HTML_VITE="FRAMEWORK_HTML-VITE",e.FRAMEWORK_HTML_WEBPACK5="FRAMEWORK_HTML-WEBPACK5",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.FRAMEWORK_PREACT_VITE="FRAMEWORK_PREACT-VITE",e.FRAMEWORK_PREACT_WEBPACK5="FRAMEWORK_PREACT-WEBPACK5",e.FRAMEWORK_REACT_VITE="FRAMEWORK_REACT-VITE",e.FRAMEWORK_REACT_WEBPACK5="FRAMEWORK_REACT-WEBPACK5",e.FRAMEWORK_SERVER_WEBPACK5="FRAMEWORK_SERVER-WEBPACK5",e.FRAMEWORK_SVELTE_VITE="FRAMEWORK_SVELTE-VITE",e.FRAMEWORK_SVELTE_WEBPACK5="FRAMEWORK_SVELTE-WEBPACK5",e.FRAMEWORK_SVELTEKIT="FRAMEWORK_SVELTEKIT",e.FRAMEWORK_VUE_VITE="FRAMEWORK_VUE-VITE",e.FRAMEWORK_VUE_WEBPACK5="FRAMEWORK_VUE-WEBPACK5",e.FRAMEWORK_VUE3_VITE="FRAMEWORK_VUE3-VITE",e.FRAMEWORK_VUE3_WEBPACK5="FRAMEWORK_VUE3-WEBPACK5",e.FRAMEWORK_WEB_COMPONENTS_VITE="FRAMEWORK_WEB-COMPONENTS-VITE",e.FRAMEWORK_WEB_COMPONENTS_WEBPACK5="FRAMEWORK_WEB-COMPONENTS-WEBPACK5",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e))(mE||{});i();s();u();var yr=pe(Fn(),1);i();s();u();var CE=Object.create,hc=Object.defineProperty,RE=Object.getOwnPropertyDescriptor,TE=Object.getOwnPropertyNames,DE=Object.getPrototypeOf,FE=Object.prototype.hasOwnProperty,PE=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),IE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of TE(t))!FE.call(e,o)&&o!==r&&hc(e,o,{get:()=>t[o],enumerable:!(n=RE(t,o))||n.enumerable});return e},BE=(e,t,r)=>(r=e!=null?CE(DE(e)):{},IE(t||!e||!e.__esModule?hc(r,"default",{value:e,enumerable:!0}):r,e)),qE=PE(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,a){return function c(l,p,f){var g,E,v,w=t.call(l),x=t.call(p);if(l===p)return!0;if(l==null||p==null)return!1;if(f.indexOf(l)>-1&&f.indexOf(p)>-1)return!0;if(f.push(l,p),w!=x||(g=n(l),E=n(p),g.length!=E.length||g.some(function(T){return!c(l[T],p[T],f)})))return!1;switch(w.slice(8,-1)){case"Symbol":return l.valueOf()==p.valueOf();case"Date":case"Number":return+l==+p||+l!=+l&&+p!=+p;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+p;case"Set":case"Map":g=l.entries(),E=p.entries();do if(!c((v=g.next()).value,E.next().value,f))return!1;while(!v.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),p=new Uint8Array(p);case"DataView":l=new Uint8Array(l.buffer),p=new Uint8Array(p.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=p.length)return!1;for(v=0;vObject.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{}));var y9=Symbol("incompatible");var g9=Symbol("Deeply equal");var Av=Ft` +CSF .story annotations deprecated; annotate story functions directly: +- StoryFn.story.name => StoryFn.storyName +- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) +See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. +`,b9=(0,Fc.default)(()=>{},Av);var nt=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,a)=>(Object.entries(a).forEach(([c,l])=>{let p=o[c];Array.isArray(l)||typeof p>"u"?o[c]=l:(0,yr.default)(l)&&(0,yr.default)(p)?t[c]=!0:typeof l<"u"&&(o[c]=l)}),o),{});return Object.keys(t).forEach(o=>{let a=r.filter(Boolean).map(c=>c[o]).filter(c=>typeof c<"u");a.every(c=>(0,yr.default)(c))?n[o]=nt(...a):n[o]=a[a.length-1]}),n};var In=(e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(Re.warn(Ft` + We've detected a cycle in arg '${t}'. Args should be JSON-serializable. + + Consider using the mapping feature or fully custom args: + - Mapping: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values + - Custom args: https://storybook.js.org/docs/react/essentials/controls#fully-custom-args + `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?In(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:(0,Pt.default)(e,o=>In(o,t,new Set(r)))}):{name:"object",value:{}}},Sv=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=(0,Pt.default)(n,(c,l)=>({name:l,type:In(c,`${t}.${l}`,new Set)})),a=(0,Pt.default)(r,(c,l)=>({name:l}));return nt(o,a,r)};Sv.secondPass=!0;var Tc=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),Ic=(e,t,r)=>!t&&!r?e:e&&(0,Pc.default)(e,(n,o)=>{let a=n.name||o;return(!t||Tc(a,t))&&(!r||!Tc(a,r))}),wv=(e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&Re.warn(`Addon controls: Control of type color only supports string, received "${a}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:a}=n;return{control:{type:a?.length<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},Bc=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let c=Ic(t,n,o),l=(0,Pt.default)(c,(p,f)=>p?.type&&wv(p,f,a));return nt(l,c)};Bc.secondPass=!0;function Bn(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}function It(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}function dr(e,t,r={}){return It(e,t).reduce((n,o)=>r.reverseFileOrder?[...o,...n]:[...n,...o],[])}function hr(e,t){return Object.assign({},...It(e,t))}function mr(e,t){return It(e,t).pop()}function qc(e){let t=dr(e,"argTypesEnhancers"),r=It(e,"runStep");return{parameters:nt(...It(e,"parameters")),decorators:dr(e,"decorators",{reverseFileOrder:!(Y.FEATURES?.legacyDecoratorFileOrder??!1)}),args:hr(e,"args"),argsEnhancers:dr(e,"argsEnhancers"),argTypes:hr(e,"argTypes"),argTypesEnhancers:[...t.filter(n=>!n.secondPass),...t.filter(n=>n.secondPass)],globals:hr(e,"globals"),globalTypes:hr(e,"globalTypes"),loaders:dr(e,"loaders"),render:mr(e,"render"),renderToCanvas:mr(e,"renderToCanvas"),renderToDOM:mr(e,"renderToDOM"),applyDecorators:mr(e,"applyDecorators"),runStep:Bn(r)}}var E9=qc([]);var aA=pe(fr(),1),iA=pe(oo(),1);i();s();u();var uA=pe(fr(),1);var lA=pe(oo(),1),cA=pe(Fn(),1),Kp=ye({"../../node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` +`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}}),pA=ye({"../../node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}}),Yp=ye({"../../node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),fA=ye({"../../node_modules/entities/lib/maps/decode.json"(e,t){t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}}),dA=ye({"../../node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(fA()),n=String.fromCodePoint||function(a){var c="";return a>65535&&(a-=65536,c+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),c+=String.fromCharCode(a),c};function o(a){return a>=55296&&a<=57343||a>1114111?"\uFFFD":(a in r.default&&(a=r.default[a]),n(a))}e.default=o}}),Gp=ye({"../../node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Kp()),n=t(pA()),o=t(Yp()),a=t(dA()),c=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(o.default),e.decodeHTMLStrict=l(r.default);function l(g){var E=f(g);return function(v){return String(v).replace(c,E)}}var p=function(g,E){return g1?E(R):R.charCodeAt(0)).toString(16).toUpperCase()+";"}function w(R,q){return function(j){return j.replace(q,function($){return R[$]}).replace(g,v)}}var x=new RegExp(o.source+"|"+g.source,"g");function T(R){return R.replace(x,v)}e.escape=T;function I(R){return R.replace(o,v)}e.escapeUTF8=I;function O(R){return function(q){return q.replace(x,function(j){return R[j]||v(j)})}}}}),hA=ye({"../../node_modules/entities/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=Gp(),r=Vp();function n(p,f){return(!f||f<=0?t.decodeXML:t.decodeHTML)(p)}e.decode=n;function o(p,f){return(!f||f<=0?t.decodeXML:t.decodeHTMLStrict)(p)}e.decodeStrict=o;function a(p,f){return(!f||f<=0?r.encodeXML:r.encodeHTML)(p)}e.encode=a;var c=Vp();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return c.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return c.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return c.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return c.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return c.encodeHTML}});var l=Gp();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return l.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return l.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return l.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return l.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return l.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return l.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return l.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return l.decodeXML}})}}),mA=ye({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(A,S){if(!(A instanceof S))throw new TypeError("Cannot call a class as a function")}function n(A,S){for(var _=0;_"u"||A[Symbol.iterator]==null){if(Array.isArray(A)||(A=c(A))){var S=0,_=function(){};return{s:_,n:function(){return S>=A.length?{done:!0}:{done:!1,value:A[S++]}},e:function(k){throw k},f:_}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var P,C=!0,D=!1,F;return{s:function(){P=A[Symbol.iterator]()},n:function(){var k=P.next();return C=k.done,k},e:function(k){D=!0,F=k},f:function(){try{!C&&P.return!=null&&P.return()}finally{if(D)throw F}}}}function c(A,S){if(A){if(typeof A=="string")return l(A,S);var _=Object.prototype.toString.call(A).slice(8,-1);if(_==="Object"&&A.constructor&&(_=A.constructor.name),_==="Map"||_==="Set")return Array.from(_);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return l(A,S)}}function l(A,S){(S==null||S>A.length)&&(S=A.length);for(var _=0,P=new Array(S);_0?A*40+55:0,F=S>0?S*40+55:0,k=_>0?_*40+55:0;P[C]=w([D,F,k])}function v(A){for(var S=A.toString(16);S.length<2;)S="0"+S;return S}function w(A){var S=[],_=a(A),P;try{for(_.s();!(P=_.n()).done;){var C=P.value;S.push(v(C))}}catch(D){_.e(D)}finally{_.f()}return"#"+S.join("")}function x(A,S,_,P){var C;return S==="text"?C=$(_,P):S==="display"?C=I(A,_,P):S==="xterm256"?C=N(A,P.colors[_]):S==="rgb"&&(C=T(A,_)),C}function T(A,S){S=S.substring(2).slice(0,-1);var _=+S.substr(0,2),P=S.substring(5).split(";"),C=P.map(function(D){return("0"+Number(D).toString(16)).substr(-2)}).join("");return B(A,(_===38?"color:#":"background-color:#")+C)}function I(A,S,_){S=parseInt(S,10);var P={"-1":function(){return"
"},0:function(){return A.length&&O(A)},1:function(){return K(A,"b")},3:function(){return K(A,"i")},4:function(){return K(A,"u")},8:function(){return B(A,"display:none")},9:function(){return K(A,"strike")},22:function(){return B(A,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return Z(A,"i")},24:function(){return Z(A,"u")},39:function(){return N(A,_.fg)},49:function(){return V(A,_.bg)},53:function(){return B(A,"text-decoration:overline")}},C;return P[S]?C=P[S]():4"}).join("")}function R(A,S){for(var _=[],P=A;P<=S;P++)_.push(P);return _}function q(A){return function(S){return(A===null||S.category!==A)&&A!=="all"}}function j(A){A=parseInt(A,10);var S=null;return A===0?S="all":A===1?S="bold":2")}function B(A,S){return K(A,"span",S)}function N(A,S){return K(A,"span","color:"+S)}function V(A,S){return K(A,"span","background-color:"+S)}function Z(A,S){var _;if(A.slice(-1)[0]===S&&(_=A.pop()),_)return""}function de(A,S,_){var P=!1,C=3;function D(){return""}function F(he,we){return _("xterm256",we),""}function k(he){return S.newline?_("display",-1):_("text",he),""}function ue(he,we){P=!0,we.trim().length===0&&(we="0"),we=we.trimRight(";").split(";");var Gt=a(we),Do;try{for(Gt.s();!(Do=Gt.n()).done;){var Sf=Do.value;_("display",Sf)}}catch(wf){Gt.e(wf)}finally{Gt.f()}return""}function Wt(he){return _("text",he),""}function yt(he){return _("rgb",he),""}var gt=[{pattern:/^\x08+/,sub:D},{pattern:/^\x1b\[[012]?K/,sub:D},{pattern:/^\x1b\[\(B/,sub:D},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:yt},{pattern:/^\x1b\[38;5;(\d+)m/,sub:F},{pattern:/^\n/,sub:k},{pattern:/^\r+\n/,sub:k},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:ue},{pattern:/^\x1b\[\d?J/,sub:D},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:D},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:D},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Wt}];function bf(he,we){we>C&&P||(P=!1,A=A.replace(he.pattern,he.sub))}var Ro=[],Ef=A,bt=Ef.length;e:for(;bt>0;){for(var Nr=0,To=0,vf=gt.length;To(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(gA||{});var u6=new yA.default({escapeXML:!0});var{document:l6}=Y;var{FEATURES:A6}=Y;i();s();u();var M=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(M||{}),Ie={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"};var ON=new Error("This function ran after the play function completed. Did you forget to `await` it?");i();s();u();var FN=__STORYBOOKTHEMING__,{CacheProvider:PN,ClassNames:IN,Global:BN,ThemeProvider:qN,background:NN,color:jN,convert:LN,create:MN,createCache:kN,createGlobal:$N,createReset:zN,css:HN,darken:UN,ensure:WN,ignoreSsrWarning:GN,isPropValid:VN,jsx:KN,keyframes:YN,lighten:XN,styled:H,themes:JN,typography:_e,useTheme:Tr,withTheme:QN}=__STORYBOOKTHEMING__;i();s();u();i();s();u();function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ft(e,t,r){return uo()?ft=Reflect.construct.bind():ft=function(o,a,c){var l=[null];l.push.apply(l,a);var p=Function.bind.apply(o,l),f=new p;return c&&Oe(f,c.prototype),f},ft.apply(null,arguments)}function kt(e){var t=typeof Map=="function"?new Map:void 0;return kt=function(n){if(n===null||!so(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return ft(n,arguments,Mt(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Oe(o,n)},kt(e)}i();s();u();var ae=function(e){io(t,e);function t(r){var n;if(!0)n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this;else for(var o,a,c;c=0&&o<1?(l=a,p=c):o>=1&&o<2?(l=c,p=a):o>=2&&o<3?(p=a,f=c):o>=3&&o<4?(p=c,f=a):o>=4&&o<5?(l=c,f=a):o>=5&&o<6&&(l=a,f=c);var g=r-a/2,E=l+g,v=p+g,w=f+g;return n(E,v,w)}var Qp={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function wA(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Qp[t]?"#"+Qp[t]:e}var xA=/^#[a-fA-F0-9]{6}$/,_A=/^#[a-fA-F0-9]{8}$/,OA=/^#[a-fA-F0-9]{3}$/,CA=/^#[a-fA-F0-9]{4}$/,co=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,RA=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,TA=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,DA=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function dt(e){if(typeof e!="string")throw new ae(3);var t=wA(e);if(t.match(xA))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(_A)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(OA))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(CA)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=co.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=RA.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var c=TA.exec(t);if(c){var l=parseInt(""+c[1],10),p=parseInt(""+c[2],10)/100,f=parseInt(""+c[3],10)/100,g="rgb("+$t(l,p,f)+")",E=co.exec(g);if(!E)throw new ae(4,t,g);return{red:parseInt(""+E[1],10),green:parseInt(""+E[2],10),blue:parseInt(""+E[3],10)}}var v=DA.exec(t.substring(0,50));if(v){var w=parseInt(""+v[1],10),x=parseInt(""+v[2],10)/100,T=parseInt(""+v[3],10)/100,I="rgb("+$t(w,x,T)+")",O=co.exec(I);if(!O)throw new ae(4,t,I);return{red:parseInt(""+O[1],10),green:parseInt(""+O[2],10),blue:parseInt(""+O[3],10),alpha:parseFloat(""+v[4])>1?parseFloat(""+v[4])/100:parseFloat(""+v[4])}}throw new ae(5)}function FA(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),c=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:c,alpha:e.alpha}:{hue:0,saturation:0,lightness:c};var l,p=o-a,f=c>.5?p/(2-o-a):p/(o+a);switch(o){case t:l=(r-n)/p+(r=1?Dr(e,t,r):"rgba("+$t(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Dr(e.hue,e.saturation,e.lightness):"rgba("+$t(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new ae(2)}function ho(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return fo("#"+We(e)+We(t)+We(r));if(typeof e=="object"&&t===void 0&&r===void 0)return fo("#"+We(e.red)+We(e.green)+We(e.blue));throw new ae(6)}function Fr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=dt(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?ho(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ho(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new ae(7)}var NA=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},jA=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},LA=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},MA=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function qe(e){if(typeof e!="object")throw new ae(8);if(jA(e))return Fr(e);if(NA(e))return ho(e);if(MA(e))return qA(e);if(LA(e))return BA(e);throw new ae(8)}function ef(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):ef(e,t,o)}}function ce(e){return ef(e,e.length,[])}function kA(e,t){if(t==="transparent")return t;var r=Be(t);return qe(ne({},r,{hue:r.hue+parseFloat(e)}))}var oj=ce(kA);function ht(e,t,r){return Math.max(e,Math.min(t,r))}function $A(e,t){if(t==="transparent")return t;var r=Be(t);return qe(ne({},r,{lightness:ht(0,1,r.lightness-parseFloat(e))}))}var aj=ce($A);function zA(e,t){if(t==="transparent")return t;var r=Be(t);return qe(ne({},r,{saturation:ht(0,1,r.saturation-parseFloat(e))}))}var ij=ce(zA);function HA(e,t){if(t==="transparent")return t;var r=Be(t);return qe(ne({},r,{lightness:ht(0,1,r.lightness+parseFloat(e))}))}var sj=ce(HA);function UA(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=dt(t),o=ne({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),a=dt(r),c=ne({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),l=o.alpha-c.alpha,p=parseFloat(e)*2-1,f=p*l===-1?p:p+l,g=1+p*l,E=(f/g+1)/2,v=1-E,w={red:Math.floor(o.red*E+c.red*v),green:Math.floor(o.green*E+c.green*v),blue:Math.floor(o.blue*E+c.blue*v),alpha:o.alpha*parseFloat(e)+c.alpha*(1-parseFloat(e))};return Fr(w)}var WA=ce(UA),tf=WA;function GA(e,t){if(t==="transparent")return t;var r=dt(t),n=typeof r.alpha=="number"?r.alpha:1,o=ne({},r,{alpha:ht(0,1,(n*100+parseFloat(e)*100)/100)});return Fr(o)}var uj=ce(GA);function VA(e,t){if(t==="transparent")return t;var r=Be(t);return qe(ne({},r,{saturation:ht(0,1,r.saturation+parseFloat(e))}))}var lj=ce(VA);function KA(e,t){return t==="transparent"?t:qe(ne({},Be(t),{hue:parseFloat(e)}))}var cj=ce(KA);function YA(e,t){return t==="transparent"?t:qe(ne({},Be(t),{lightness:parseFloat(e)}))}var pj=ce(YA);function XA(e,t){return t==="transparent"?t:qe(ne({},Be(t),{saturation:parseFloat(e)}))}var fj=ce(XA);function JA(e,t){return t==="transparent"?t:tf(parseFloat(e),"rgb(0, 0, 0)",t)}var dj=ce(JA);function QA(e,t){return t==="transparent"?t:tf(parseFloat(e),"rgb(255, 255, 255)",t)}var hj=ce(QA);function ZA(e,t){if(t==="transparent")return t;var r=dt(t),n=typeof r.alpha=="number"?r.alpha:1,o=ne({},r,{alpha:ht(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Fr(o)}var eS=ce(ZA),Pr=eS;var wo=le({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/extends.js"(e,t){function r(){return t.exports=r=Object.assign||function(n){for(var o=1;o=0)&&(a[l]=n[l]);return a}t.exports=r}}),xo=le({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(e,t){var r=tS();function n(o,a){if(o==null)return{};var c=r(o,a),l,p;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(o);for(p=0;p=0)&&Object.prototype.propertyIsEnumerable.call(o,l)&&(c[l]=o[l])}return c}t.exports=n}}),rS=le({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/defineProperty.js"(e,t){function r(n,o,a){return o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,n}t.exports=r}}),nS=le({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectSpread2.js"(e,t){var r=rS();function n(a,c){var l=Object.keys(a);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(a);c&&(p=p.filter(function(f){return Object.getOwnPropertyDescriptor(a,f).enumerable})),l.push.apply(l,p)}return l}function o(a){for(var c=1;c=0)&&(a[l]=n[l]);return a}t.exports=r}}),aS=le({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(e,t){var r=oS();function n(o,a){if(o==null)return{};var c=r(o,a),l,p;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(o);for(p=0;p=0)&&Object.prototype.propertyIsEnumerable.call(o,l)&&(c[l]=o[l])}return c}t.exports=n}}),iS=le({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/defineProperty.js"(e,t){function r(n,o,a){return o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,n}t.exports=r}}),sS=le({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectSpread2.js"(e,t){var r=iS();function n(a,c){var l=Object.keys(a);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(a);c&&(p=p.filter(function(f){return Object.getOwnPropertyDescriptor(a,f).enumerable})),l.push.apply(l,p)}return l}function o(a){for(var c=1;c=0)&&(a[l]=n[l]);return a}t.exports=r}}),cS=le({"../../node_modules/@devtools-ds/tree/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(e,t){var r=lS();function n(o,a){if(o==null)return{};var c=r(o,a),l,p;if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(o);for(p=0;p=0)&&Object.prototype.propertyIsEnumerable.call(o,l)&&(c[l]=o[l])}return c}t.exports=n}}),Br="storybook/interactions",pS=`${Br}/panel`,fS=H.div(({theme:e,status:t})=>({padding:"4px 6px 4px 8px;",borderRadius:"4px",backgroundColor:{[M.DONE]:e.color.positive,[M.ERROR]:e.color.negative,[M.ACTIVE]:e.color.warning,[M.WAITING]:e.color.warning}[t],color:"white",fontFamily:_e.fonts.base,textTransform:"uppercase",fontSize:_e.size.s1,letterSpacing:3,fontWeight:_e.weight.bold,width:65,textAlign:"center"})),dS=({status:e})=>{let t={[M.DONE]:"Pass",[M.ERROR]:"Fail",[M.ACTIVE]:"Runs",[M.WAITING]:"Runs"}[e];return d.createElement(fS,{"aria-label":"Status of the test run",status:e},t)},hS=H.div(({theme:e})=>({background:e.background.app,borderBottom:`1px solid ${e.appBorderColor}`,position:"sticky",top:0,zIndex:1})),mS=H.nav(({theme:e})=>({height:40,display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:15})),yS=H(Ho)(({theme:e})=>({borderRadius:4,padding:6,color:e.textMutedColor,"&:not(:disabled)":{"&:hover,&:focus-visible":{color:e.color.secondary}}})),zt=H($r)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Ht=H(kr)(({theme:e})=>({color:e.textMutedColor,margin:"0 3px"})),gS=H(Vo)({marginTop:0}),bS=H(Wo)(({theme:e})=>({color:e.textMutedColor,justifyContent:"flex-end",textAlign:"right",whiteSpace:"nowrap",marginTop:"auto",marginBottom:1,paddingRight:15,fontSize:13})),rf=H.div({display:"flex",alignItems:"center"}),ES=H(Ht)({marginLeft:9}),vS=H(yS)({marginLeft:9,marginRight:9,marginBottom:1,lineHeight:"12px"}),AS=H(Ht)(({theme:e,animating:t,disabled:r})=>({opacity:r?.5:1,svg:{animation:t&&`${e.animation.rotate360} 200ms ease-out`}})),SS=({controls:e,controlStates:t,status:r,storyFileName:n,onScrollToEnd:o})=>{let a=r===M.ERROR?"Scroll to error":"Scroll to end";return d.createElement(hS,null,d.createElement(zo,null,d.createElement(mS,null,d.createElement(rf,null,d.createElement(dS,{status:r}),d.createElement(vS,{onClick:o,disabled:!o},a),d.createElement(gS,null),d.createElement(je,{trigger:"hover",hasChrome:!1,tooltip:d.createElement(zt,{note:"Go to start"})},d.createElement(ES,{"aria-label":"Go to start",containsIcon:!0,onClick:e.start,disabled:!t.start},d.createElement(Ce,{icon:"rewind"}))),d.createElement(je,{trigger:"hover",hasChrome:!1,tooltip:d.createElement(zt,{note:"Go back"})},d.createElement(Ht,{"aria-label":"Go back",containsIcon:!0,onClick:e.back,disabled:!t.back},d.createElement(Ce,{icon:"playback"}))),d.createElement(je,{trigger:"hover",hasChrome:!1,tooltip:d.createElement(zt,{note:"Go forward"})},d.createElement(Ht,{"aria-label":"Go forward",containsIcon:!0,onClick:e.next,disabled:!t.next},d.createElement(Ce,{icon:"playnext"}))),d.createElement(je,{trigger:"hover",hasChrome:!1,tooltip:d.createElement(zt,{note:"Go to end"})},d.createElement(Ht,{"aria-label":"Go to end",containsIcon:!0,onClick:e.end,disabled:!t.end},d.createElement(Ce,{icon:"fastforward"}))),d.createElement(je,{trigger:"hover",hasChrome:!1,tooltip:d.createElement(zt,{note:"Rerun"})},d.createElement(AS,{"aria-label":"Rerun",containsIcon:!0,onClick:e.rerun},d.createElement(Ce,{icon:"sync"})))),n&&d.createElement(rf,null,d.createElement(bS,null,n)))))},wS=fe(wo()),xS=fe(xo());function Ao(e){var t,r,n="";if(e)if(typeof e=="object")if(Array.isArray(e))for(t=0;tArray.isArray(e)||ArrayBuffer.isView(e)&&!(e instanceof DataView),lf=e=>e!==null&&typeof e=="object"&&!_o(e)&&!(e instanceof Date)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof WeakMap)&&!(e instanceof WeakSet),_S=e=>lf(e)||_o(e)||typeof e=="function"||e instanceof Promise,cf=e=>{let t=/unique/;return Promise.race([e,t]).then(r=>r===t?["pending"]:["fulfilled",r],r=>["rejected",r])},Ae=async(e,t,r,n,o,a)=>{let c={key:e,depth:r,value:t,type:"value",parent:void 0};if(t&&_S(t)&&r<100){let l=[],p="object";if(_o(t)){for(let f=0;f{let g=await Ae(f.toString(),t[f],r+1,n);return g.parent=c,g});p="array"}else{let f=Object.getOwnPropertyNames(t);n&&f.sort();for(let g=0;g{let v=await Ae(f[g],E,r+1,n);return v.parent=c,v})}if(typeof t=="function"&&(p="function"),t instanceof Promise){let[g,E]=await cf(t);l.push(async()=>{let v=await Ae("",g,r+1,n);return v.parent=c,v}),g!=="pending"&&l.push(async()=>{let v=await Ae("",E,r+1,n);return v.parent=c,v}),p="promise"}if(t instanceof Map){let g=Array.from(t.entries()).map(E=>{let[v,w]=E;return{"":v,"":w}});l.push(async()=>{let E=await Ae("",g,r+1,n);return E.parent=c,E}),l.push(async()=>{let E=await Ae("size",t.size,r+1,n);return E.parent=c,E}),p="map"}if(t instanceof Set){let g=Array.from(t.entries()).map(E=>E[1]);l.push(async()=>{let E=await Ae("",g,r+1,n);return E.parent=c,E}),l.push(async()=>{let E=await Ae("size",t.size,r+1,n);return E.parent=c,E}),p="set"}}t!==Object.prototype&&a&&l.push(async()=>{let f=await Ae("",Object.getPrototypeOf(t),r+1,n,!0);return f.parent=c,f}),c.type=p,c.children=l,c.isPrototype=o}return c},OS=(e,t,r)=>Ae("root",e,0,t===!1?t:!0,void 0,r===!1?r:!0),nf=fe(nS()),CS=fe(aS()),RS=["children"],So=d.createContext({theme:"chrome",colorScheme:"light"}),TS=e=>{let{children:t}=e,r=(0,CS.default)(e,RS),n=d.useContext(So);return d.createElement(So.Provider,{value:(0,nf.default)((0,nf.default)({},n),r)},t)},qr=(e,t={})=>{let r=d.useContext(So),n=e.theme||r.theme||"chrome",o=e.colorScheme||r.colorScheme||"light",a=Se(t[n],t[o]);return{currentColorScheme:o,currentTheme:n,themeClass:a}},of=fe(sS()),mo=fe(uS()),DS=fe(cS()),FS=d.createContext({isChild:!1,depth:0,hasHover:!0}),yo=FS,ie={tree:"Tree-tree-fbbbe38",item:"Tree-item-353d6f3",group:"Tree-group-d3c3d8a",label:"Tree-label-d819155",focusWhite:"Tree-focusWhite-f1e00c2",arrow:"Tree-arrow-03ab2e7",hover:"Tree-hover-3cc4e5d",open:"Tree-open-3f1a336",dark:"Tree-dark-1b4aa00",chrome:"Tree-chrome-bcbcac6",light:"Tree-light-09174ee"},PS=["theme","hover","colorScheme","children","label","className","onUpdate","onSelect","open"],Ir=e=>{let{theme:t,hover:r,colorScheme:n,children:o,label:a,className:c,onUpdate:l,onSelect:p,open:f}=e,g=(0,DS.default)(e,PS),{themeClass:E,currentTheme:v}=qr({theme:t,colorScheme:n},ie),[w,x]=me(f);Ne(()=>{x(f)},[f]);let T=C=>{x(C),l&&l(C)},I=d.Children.count(o)>0,O=(C,D)=>{if(C.isSameNode(D||null))return;C.querySelector('[tabindex="-1"]')?.focus(),C.setAttribute("aria-selected","true"),D?.removeAttribute("aria-selected")},R=(C,D)=>{let F=C;for(;F&&F.parentElement;){if(F.getAttribute("role")===D)return F;F=F.parentElement}return null},q=C=>{let D=R(C,"tree");return D?Array.from(D.querySelectorAll("li")):[]},j=C=>{let D=R(C,"group"),F=D?.previousElementSibling;if(F&&F.getAttribute("tabindex")==="-1"){let k=F.parentElement,ue=C.parentElement;O(k,ue)}},$=(C,D)=>{let F=q(C);F.forEach(k=>{k.removeAttribute("aria-selected")}),D==="start"&&F[0]&&O(F[0]),D==="end"&&F[F.length-1]&&O(F[F.length-1])},K=(C,D)=>{let F=q(C)||[];for(let k=0;k{let F=C.target;(C.key==="Enter"||C.key===" ")&&T(!w),C.key==="ArrowRight"&&w&&!D?K(F,"down"):C.key==="ArrowRight"&&T(!0),C.key==="ArrowLeft"&&(!w||D)?j(F):C.key==="ArrowLeft"&&T(!1),C.key==="ArrowDown"&&K(F,"down"),C.key==="ArrowUp"&&K(F,"up"),C.key==="Home"&&$(F,"start"),C.key==="End"&&$(F,"end")},N=(C,D)=>{let F=C.target,k=R(F,"treeitem"),ue=q(F)||[],Wt=!1;for(let yt=0;yt{let D=C.currentTarget;!D.contains(document.activeElement)&&D.getAttribute("role")==="tree"&&D.setAttribute("tabindex","0")},Z=C=>{let D=C.target;if(D.getAttribute("role")==="tree"){let F=D.querySelector('[aria-selected="true"]');F?O(F):K(D,"down"),D.setAttribute("tabindex","-1")}},de=()=>{p?.()},ee=C=>{let D=C*.9+.3;return{paddingLeft:`${D}em`,width:`calc(100% - ${D}em)`}},{isChild:oe,depth:A,hasHover:S}=d.useContext(yo),_=S?r:!1;if(!oe)return d.createElement("ul",(0,mo.default)({role:"tree",tabIndex:0,className:Se(ie.tree,ie.group,E,c),onFocus:Z,onBlur:V},g),d.createElement(yo.Provider,{value:{isChild:!0,depth:0,hasHover:_}},d.createElement(Ir,e)));if(!I)return d.createElement("li",(0,mo.default)({role:"treeitem",className:ie.item},g),d.createElement("div",{role:"button",className:Se(ie.label,{[ie.hover]:_,[ie.focusWhite]:v==="firefox"}),tabIndex:-1,style:ee(A),onKeyDown:C=>{B(C,oe)},onClick:C=>N(C,!0),onFocus:de},d.createElement("span",null,a)));let P=Se(ie.arrow,{[ie.open]:w});return d.createElement("li",{role:"treeitem","aria-expanded":w,className:ie.item},d.createElement("div",{role:"button",tabIndex:-1,className:Se(ie.label,{[ie.hover]:_,[ie.focusWhite]:v==="firefox"}),style:ee(A),onClick:C=>N(C),onKeyDown:C=>B(C),onFocus:de},d.createElement("span",null,d.createElement("span",{"aria-hidden":!0,className:P}),d.createElement("span",null,a))),d.createElement("ul",(0,mo.default)({role:"group",className:Se(c,ie.group)},g),w&&d.Children.map(o,C=>d.createElement(yo.Provider,{value:{isChild:!0,depth:A+1,hasHover:_}},C))))};Ir.defaultProps={open:!1,hover:!0};var IS=fe(wo()),BS=fe(xo()),W={"object-inspector":"ObjectInspector-object-inspector-0c33e82",objectInspector:"ObjectInspector-object-inspector-0c33e82","object-label":"ObjectInspector-object-label-b81482b",objectLabel:"ObjectInspector-object-label-b81482b",text:"ObjectInspector-text-25f57f3",key:"ObjectInspector-key-4f712bb",value:"ObjectInspector-value-f7ec2e5",string:"ObjectInspector-string-c496000",regex:"ObjectInspector-regex-59d45a3",error:"ObjectInspector-error-b818698",boolean:"ObjectInspector-boolean-2dd1642",number:"ObjectInspector-number-a6daabb",undefined:"ObjectInspector-undefined-3a68263",null:"ObjectInspector-null-74acb50",function:"ObjectInspector-function-07bbdcd","function-decorator":"ObjectInspector-function-decorator-3d22c24",functionDecorator:"ObjectInspector-function-decorator-3d22c24",prototype:"ObjectInspector-prototype-f2449ee",dark:"ObjectInspector-dark-0c96c97",chrome:"ObjectInspector-chrome-2f3ca98",light:"ObjectInspector-light-78bef54"},qS=["ast","theme","showKey","colorScheme","className"],se=(e,t,r,n,o)=>{let a=e.includes("-")?`"${e}"`:e,c=o<=0;return d.createElement("span",{className:W.text},!c&&n&&d.createElement(d.Fragment,null,d.createElement("span",{className:W.key},a),d.createElement("span",null,":\xA0")),d.createElement("span",{className:r},t))},pf=e=>{let{ast:t,theme:r,showKey:n,colorScheme:o,className:a}=e,c=(0,BS.default)(e,qS),{themeClass:l}=qr({theme:r,colorScheme:o},W),[p,f]=me(d.createElement("span",null)),g=d.createElement("span",null);return Ne(()=>{t.value instanceof Promise&&(async E=>{f(se(t.key,`Promise { "${await cf(E)}" }`,W.key,n,t.depth))})(t.value)},[t,n]),typeof t.value=="number"||typeof t.value=="bigint"?g=se(t.key,String(t.value),W.number,n,t.depth):typeof t.value=="boolean"?g=se(t.key,String(t.value),W.boolean,n,t.depth):typeof t.value=="string"?g=se(t.key,`"${t.value}"`,W.string,n,t.depth):typeof t.value>"u"?g=se(t.key,"undefined",W.undefined,n,t.depth):typeof t.value=="symbol"?g=se(t.key,t.value.toString(),W.string,n,t.depth):typeof t.value=="function"?g=se(t.key,`${t.value.name}()`,W.key,n,t.depth):typeof t.value=="object"&&(t.value===null?g=se(t.key,"null",W.null,n,t.depth):Array.isArray(t.value)?g=se(t.key,`Array(${t.value.length})`,W.key,n,t.depth):t.value instanceof Date?g=se(t.key,`Date ${t.value.toString()}`,W.value,n,t.depth):t.value instanceof RegExp?g=se(t.key,t.value.toString(),W.regex,n,t.depth):t.value instanceof Error?g=se(t.key,t.value.toString(),W.error,n,t.depth):lf(t.value)?g=se(t.key,"{\u2026}",W.key,n,t.depth):g=se(t.key,t.value.constructor.name,W.key,n,t.depth)),d.createElement("span",(0,IS.default)({className:Se(l,a)},c),p,g)};pf.defaultProps={showKey:!0};var ff=pf,mt=fe(wo()),NS=fe(xo()),jS=["ast","theme","previewMax","open","colorScheme","className"],Ut=(e,t,r)=>{let n=[];for(let o=0;ot){n.push("\u2026 ");break}}return n},LS=(e,t,r,n)=>{let o=e.value.length;return t?d.createElement("span",null,"Array(",o,")"):d.createElement(d.Fragment,null,d.createElement("span",null,`${n==="firefox"?"Array":""}(${o}) [ `),Ut(e.children,r,!1),d.createElement("span",null,"]"))},MS=(e,t,r,n)=>e.isPrototype?d.createElement("span",null,`Object ${n==="firefox"?"{ \u2026 }":""}`):t?d.createElement("span",null,"{\u2026}"):d.createElement(d.Fragment,null,d.createElement("span",null,`${n==="firefox"?"Object ":""}{ `),Ut(e.children,r,!0),d.createElement("span",null,"}")),kS=(e,t,r)=>t?d.createElement("span",null,`Promise { "${String(e.children[0].value)}" }`):d.createElement(d.Fragment,null,d.createElement("span",null,"Promise { "),Ut(e.children,r,!0),d.createElement("span",null,"}")),$S=(e,t,r,n)=>{let{size:o}=e.value;return t?d.createElement("span",null,`Map(${o})`):d.createElement(d.Fragment,null,d.createElement("span",null,`Map${n==="chrome"?`(${o})`:""} { `),Ut(e.children,r,!0),d.createElement("span",null,"}"))},zS=(e,t,r)=>{let{size:n}=e.value;return t?d.createElement("span",null,"Set(",n,")"):d.createElement(d.Fragment,null,d.createElement("span",null,`Set(${e.value.size}) {`),Ut(e.children,r,!0),d.createElement("span",null,"}"))},df=e=>{let{ast:t,theme:r,previewMax:n,open:o,colorScheme:a,className:c}=e,l=(0,NS.default)(e,jS),{themeClass:p,currentTheme:f}=qr({theme:r,colorScheme:a},W),g=t.isPrototype||!1,E=Se(W.objectLabel,p,c,{[W.prototype]:g}),v=t.depth<=0,w=()=>d.createElement("span",{className:g?W.prototype:W.key},v?"":`${t.key}: `);return t.type==="array"?d.createElement("span",(0,mt.default)({className:E},l),d.createElement(w,null),LS(t,o,n,f)):t.type==="function"?d.createElement("span",(0,mt.default)({className:E},l),d.createElement(w,null),f==="chrome"&&d.createElement("span",{className:W.functionDecorator},"\u0192 "),d.createElement("span",{className:Se({[W.function]:!g})},`${t.value.name}()`)):t.type==="promise"?d.createElement("span",(0,mt.default)({className:E},l),d.createElement(w,null),kS(t,o,n)):t.type==="map"?d.createElement("span",(0,mt.default)({className:E},l),d.createElement(w,null),$S(t,o,n,f)):t.type==="set"?d.createElement("span",(0,mt.default)({className:E},l),d.createElement(w,null),zS(t,o,n)):d.createElement("span",(0,mt.default)({className:E},l),d.createElement(w,null),MS(t,o,n,f))};df.defaultProps={previewMax:8,open:!1};var HS=df,Oo=e=>{let{ast:t,expandLevel:r,depth:n}=e,[o,a]=me(),[c,l]=me(n{(async()=>{if(t.type!=="value"){let p=t.children.map(E=>E()),f=await Promise.all(p),g=(0,of.default)((0,of.default)({},t),{},{children:f});a(g)}})()},[t]),o?d.createElement(Ir,{hover:!1,open:c,label:d.createElement(HS,{open:c,ast:o}),onSelect:()=>{var p;(p=e.onSelect)===null||p===void 0||p.call(e,t)},onUpdate:p=>{l(p)}},o.children.map(p=>d.createElement(Oo,{key:p.key,ast:p,depth:n+1,expandLevel:r,onSelect:e.onSelect}))):d.createElement(Ir,{hover:!1,label:d.createElement(ff,{ast:t}),onSelect:()=>{var p;(p=e.onSelect)===null||p===void 0||p.call(e,t)}})};Oo.defaultProps={expandLevel:0,depth:0};var US=Oo,WS=["data","expandLevel","sortKeys","includePrototypes","className","theme","colorScheme","onSelect"],hf=e=>{let{data:t,expandLevel:r,sortKeys:n,includePrototypes:o,className:a,theme:c,colorScheme:l,onSelect:p}=e,f=(0,xS.default)(e,WS),[g,E]=me(void 0),{themeClass:v,currentTheme:w,currentColorScheme:x}=qr({theme:c,colorScheme:l},W);return Ne(()=>{(async()=>E(await OS(t,n,o)))()},[t,n,o]),d.createElement("div",(0,wS.default)({className:Se(W.objectInspector,a,v)},f),g&&d.createElement(TS,{theme:w,colorScheme:x},d.createElement(US,{ast:g,expandLevel:r,onSelect:p})))};hf.defaultProps={expandLevel:0,sortKeys:!0,includePrototypes:!0};var GS={base:"#444",nullish:"#7D99AA",string:"#16B242",number:"#5D40D0",boolean:"#f41840",objectkey:"#698394",instance:"#A15C20",function:"#EA7509",muted:"#7D99AA",tag:{name:"#6F2CAC",suffix:"#1F99E5"},date:"#459D9C",error:{name:"#D43900",message:"#444"},regex:{source:"#A15C20",flags:"#EA7509"},meta:"#EA7509",method:"#0271B6"},VS={base:"#eee",nullish:"#aaa",string:"#5FE584",number:"#6ba5ff",boolean:"#ff4191",objectkey:"#accfe6",instance:"#E3B551",function:"#E3B551",muted:"#aaa",tag:{name:"#f57bff",suffix:"#8EB5FF"},date:"#70D4D3",error:{name:"#f40",message:"#eee"},regex:{source:"#FAD483",flags:"#E3B551"},meta:"#FAD483",method:"#5EC1FF"},Q=()=>{let{base:e}=Tr();return e==="dark"?VS:GS},KS=/[^A-Z0-9]/i,af=/[\s.,…]+$/gm,mf=(e,t)=>{if(e.length<=t)return e;for(let r=t-1;r>=0;r-=1)if(KS.test(e[r])&&r>10)return`${e.slice(0,r).replace(af,"")}\u2026`;return`${e.slice(0,t).replace(af,"")}\u2026`},YS=e=>{try{return JSON.stringify(e,null,1)}catch{return String(e)}},yf=(e,t)=>e.flatMap((r,n)=>n===e.length-1?[r]:[r,d.cloneElement(t,{key:`sep${n}`})]),Ge=({value:e,nested:t,showObjectInspector:r,callsById:n,...o})=>{switch(!0){case e===null:return d.createElement(XS,{...o});case e===void 0:return d.createElement(JS,{...o});case Array.isArray(e):return d.createElement(tw,{...o,value:e,callsById:n});case typeof e=="string":return d.createElement(QS,{...o,value:e});case typeof e=="number":return d.createElement(ZS,{...o,value:e});case typeof e=="boolean":return d.createElement(ew,{...o,value:e});case Object.prototype.hasOwnProperty.call(e,"__date__"):return d.createElement(iw,{...o,...e.__date__});case Object.prototype.hasOwnProperty.call(e,"__error__"):return d.createElement(sw,{...o,...e.__error__});case Object.prototype.hasOwnProperty.call(e,"__regexp__"):return d.createElement(uw,{...o,...e.__regexp__});case Object.prototype.hasOwnProperty.call(e,"__function__"):return d.createElement(ow,{...o,...e.__function__});case Object.prototype.hasOwnProperty.call(e,"__symbol__"):return d.createElement(lw,{...o,...e.__symbol__});case Object.prototype.hasOwnProperty.call(e,"__element__"):return d.createElement(aw,{...o,...e.__element__});case Object.prototype.hasOwnProperty.call(e,"__class__"):return d.createElement(nw,{...o,...e.__class__});case Object.prototype.hasOwnProperty.call(e,"__callId__"):return d.createElement(Co,{call:n.get(e.__callId__),callsById:n});case Object.prototype.toString.call(e)==="[object Object]":return d.createElement(rw,{value:e,showInspector:r,callsById:n,...o});default:return d.createElement(cw,{value:e,...o})}},XS=e=>{let t=Q();return d.createElement("span",{style:{color:t.nullish},...e},"null")},JS=e=>{let t=Q();return d.createElement("span",{style:{color:t.nullish},...e},"undefined")},QS=({value:e,...t})=>{let r=Q();return d.createElement("span",{style:{color:r.string},...t},JSON.stringify(mf(e,50)))},ZS=({value:e,...t})=>{let r=Q();return d.createElement("span",{style:{color:r.number},...t},e)},ew=({value:e,...t})=>{let r=Q();return d.createElement("span",{style:{color:r.boolean},...t},String(e))},tw=({value:e,nested:t=!1,callsById:r})=>{let n=Q();if(t)return d.createElement("span",{style:{color:n.base}},"[\u2026]");let o=e.slice(0,3).map(c=>d.createElement(Ge,{key:JSON.stringify(c),value:c,nested:!0,callsById:r})),a=yf(o,d.createElement("span",null,", "));return e.length<=3?d.createElement("span",{style:{color:n.base}},"[",a,"]"):d.createElement("span",{style:{color:n.base}},"(",e.length,") [",a,", \u2026]")},rw=({showInspector:e,value:t,callsById:r,nested:n=!1})=>{let o=Tr().base==="dark",a=Q();if(e)return d.createElement(d.Fragment,null,d.createElement(hf,{id:"interactions-object-inspector",data:t,includePrototypes:!1,colorScheme:o?"dark":"light"}));if(n)return d.createElement("span",{style:{color:a.base}},"{\u2026}");let c=yf(Object.entries(t).slice(0,2).map(([l,p])=>d.createElement(Vt,{key:l},d.createElement("span",{style:{color:a.objectkey}},l,": "),d.createElement(Ge,{value:p,callsById:r,nested:!0}))),d.createElement("span",null,", "));return Object.keys(t).length<=2?d.createElement("span",{style:{color:a.base}},"{ ",c," }"):d.createElement("span",{style:{color:a.base}},"(",Object.keys(t).length,") ","{ ",c,", \u2026 }")},nw=({name:e})=>{let t=Q();return d.createElement("span",{style:{color:t.instance}},e)},ow=({name:e})=>{let t=Q();return e?d.createElement("span",{style:{color:t.function}},e):d.createElement("span",{style:{color:t.nullish,fontStyle:"italic"}},"anonymous")},aw=({prefix:e,localName:t,id:r,classNames:n=[],innerText:o})=>{let a=e?`${e}:${t}`:t,c=Q();return d.createElement("span",{style:{wordBreak:"keep-all"}},d.createElement("span",{key:`${a}_lt`,style:{color:c.muted}},"<"),d.createElement("span",{key:`${a}_tag`,style:{color:c.tag.name}},a),d.createElement("span",{key:`${a}_suffix`,style:{color:c.tag.suffix}},r?`#${r}`:n.reduce((l,p)=>`${l}.${p}`,"")),d.createElement("span",{key:`${a}_gt`,style:{color:c.muted}},">"),!r&&n.length===0&&o&&d.createElement(d.Fragment,null,d.createElement("span",{key:`${a}_text`},o),d.createElement("span",{key:`${a}_close_lt`,style:{color:c.muted}},"<"),d.createElement("span",{key:`${a}_close_tag`,style:{color:c.tag.name}},"/",a),d.createElement("span",{key:`${a}_close_gt`,style:{color:c.muted}},">")))},iw=({value:e})=>{let[t,r,n]=e.split(/[T.Z]/),o=Q();return d.createElement("span",{style:{whiteSpace:"nowrap",color:o.date}},t,d.createElement("span",{style:{opacity:.7}},"T"),r==="00:00:00"?d.createElement("span",{style:{opacity:.7}},r):r,n==="000"?d.createElement("span",{style:{opacity:.7}},".",n):`.${n}`,d.createElement("span",{style:{opacity:.7}},"Z"))},sw=({name:e,message:t})=>{let r=Q();return d.createElement("span",{style:{color:r.error.name}},e,t&&": ",t&&d.createElement("span",{style:{color:r.error.message},title:t.length>50?t:""},mf(t,50)))},uw=({flags:e,source:t})=>{let r=Q();return d.createElement("span",{style:{whiteSpace:"nowrap",color:r.regex.flags}},"/",d.createElement("span",{style:{color:r.regex.source}},t),"/",e)},lw=({description:e})=>{let t=Q();return d.createElement("span",{style:{whiteSpace:"nowrap",color:t.instance}},"Symbol(",e&&d.createElement("span",{style:{color:t.meta}},'"',e,'"'),")")},cw=({value:e})=>{let t=Q();return d.createElement("span",{style:{color:t.meta}},YS(e))},pw=({label:e})=>{let t=Q(),{typography:r}=Tr();return d.createElement("span",{style:{color:t.base,fontFamily:r.fonts.base,fontSize:r.size.s2-1}},e)},Co=({call:e,callsById:t})=>{if(!e)return null;if(e.method==="step"&&e.path.length===0)return d.createElement(pw,{label:e.args[0]});let r=e.path.flatMap((a,c)=>{let l=a.__callId__;return[l?d.createElement(Co,{key:`elem${c}`,call:t.get(l),callsById:t}):d.createElement("span",{key:`elem${c}`},a),d.createElement("wbr",{key:`wbr${c}`}),d.createElement("span",{key:`dot${c}`},".")]}),n=e.args.flatMap((a,c,l)=>{let p=d.createElement(Ge,{key:`node${c}`,value:a,callsById:t});return c{for(let r=t,n=1;r{try{return e==="undefined"?void 0:JSON.parse(e)}catch{return e}},fw=H.span(({theme:e})=>({color:e.base==="light"?e.color.positiveText:e.color.positive})),dw=H.span(({theme:e})=>({color:e.base==="light"?e.color.negativeText:e.color.negative})),bo=({value:e,parsed:t})=>t?d.createElement(Ge,{showObjectInspector:!0,value:e,style:{color:"#D43900"}}):d.createElement(dw,null,e),Eo=({value:e,parsed:t})=>t?typeof e=="string"&&e.startsWith("called with")?d.createElement(d.Fragment,null,e):d.createElement(Ge,{showObjectInspector:!0,value:e,style:{color:"#16B242"}}):d.createElement(fw,null,e),hw=({message:e})=>{let t=e.split(` +`);return d.createElement("pre",{style:{margin:0,padding:"8px 10px 8px 36px",fontSize:_e.size.s1}},t.flatMap((r,n)=>{if(r.startsWith("expect(")){let f=sf(r,7),g=f&&7+f.length,E=f&&r.slice(g).match(/\.(to|last|nth)[A-Z]\w+\(/);if(E){let v=g+E.index+E[0].length,w=sf(r,v);if(w)return["expect(",d.createElement(bo,{key:`received_${f}`,value:f}),r.slice(g,v),d.createElement(Eo,{key:`expected_${w}`,value:w}),r.slice(v+w.length),d.createElement("br",{key:`br${n}`})]}}if(r.match(/^\s*- /))return[d.createElement(Eo,{key:r+n,value:r}),d.createElement("br",{key:`br${n}`})];if(r.match(/^\s*\+ /))return[d.createElement(bo,{key:r+n,value:r}),d.createElement("br",{key:`br${n}`})];let[,o,a]=r.match(/^(Expected|Received): (.*)$/)||[];if(o&&a)return o==="Expected"?["Expected: ",d.createElement(Eo,{key:r+n,value:go(a),parsed:!0}),d.createElement("br",{key:`br${n}`})]:["Received: ",d.createElement(bo,{key:r+n,value:go(a),parsed:!0}),d.createElement("br",{key:`br${n}`})];let[,c,l]=r.match(/(Expected number|Received number|Number) of calls: (\d+)$/i)||[];if(c&&l)return[`${c} of calls: `,d.createElement(Ge,{key:r+n,value:Number(l)}),d.createElement("br",{key:`br${n}`})];let[,p]=r.match(/^Received has value: (.+)$/)||[];return p?["Received has value: ",d.createElement(Ge,{key:r+n,value:go(p)}),d.createElement("br",{key:`br${n}`})]:[d.createElement("span",{key:r+n},r),d.createElement("br",{key:`br${n}`})]}))},mw={pure:{gray:{500:"#CCCCCC"}}},yw={colors:mw},gw=yw,{colors:{pure:{gray:bw}}}=gw,Ew=H(Ce)(({theme:e,status:t})=>{let r={[M.DONE]:e.color.positive,[M.ERROR]:e.color.negative,[M.ACTIVE]:e.color.secondary,[M.WAITING]:Pr(.5,bw[500])}[t];return{width:t===M.WAITING?6:12,height:t===M.WAITING?6:12,color:r,justifySelf:"center"}}),gf=({status:e,className:t})=>{let r={[M.DONE]:"check",[M.ERROR]:"stopalt",[M.ACTIVE]:"play",[M.WAITING]:"circle"}[e];return d.createElement(Ew,{"data-testid":`icon-${e}`,status:e,icon:r,className:t})},vw=H.div(()=>({fontFamily:_e.fonts.mono,fontSize:_e.size.s1,overflowWrap:"break-word",inlineSize:"calc( 100% - 40px )"})),Aw=H("div",{shouldForwardProp:e=>!["call","pausedAt"].includes(e.toString())})(({theme:e,call:t})=>({position:"relative",display:"flex",flexDirection:"column",borderBottom:`1px solid ${e.appBorderColor}`,fontFamily:_e.fonts.base,fontSize:13,...t.status===M.ERROR&&{backgroundColor:e.base==="dark"?Pr(.93,e.color.negative):e.background.warning},paddingLeft:t.ancestors.length*20}),({theme:e,call:t,pausedAt:r})=>r===t.id&&{"&::before":{content:'""',position:"absolute",top:-5,zIndex:1,borderTop:"4.5px solid transparent",borderLeft:`7px solid ${e.color.warning}`,borderBottom:"4.5px solid transparent"},"&::after":{content:'""',position:"absolute",top:-1,zIndex:1,width:"100%",borderTop:`1.5px solid ${e.color.warning}`}}),Sw=H.div(({theme:e,isInteractive:t})=>({display:"flex","&:hover":t?{}:{background:e.background.hoverable}})),ww=H("button",{shouldForwardProp:e=>!["call"].includes(e.toString())})(({theme:e,disabled:t,call:r})=>({flex:1,display:"grid",background:"none",border:0,gridTemplateColumns:"15px 1fr",alignItems:"center",minHeight:40,margin:0,padding:"8px 15px",textAlign:"start",cursor:t||r.status===M.ERROR?"default":"pointer","&:focus-visible":{outline:0,boxShadow:`inset 3px 0 0 0 ${r.status===M.ERROR?e.color.warning:e.color.secondary}`,background:r.status===M.ERROR?"transparent":e.background.hoverable},"& > div":{opacity:r.status===M.WAITING?.5:1}})),xw=H.div({padding:6}),_w=H(kr)(({theme:e})=>({color:e.textMutedColor,margin:"0 3px"})),Ow=H($r)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Cw=H("div")(({theme:e})=>({padding:"8px 10px 8px 36px",fontSize:_e.size.s1,color:e.color.defaultText,pre:{margin:0,padding:0}})),Rw=({exception:e})=>{if(e.message.startsWith("expect("))return U(hw,{...e});let t=e.message.split(` + +`),r=t.length>1;return U(Cw,null,U("pre",null,t[0]),r&&U("p",null,"See the full stack trace in the browser console."))},Tw=({call:e,callsById:t,controls:r,controlStates:n,childCallIds:o,isHidden:a,isCollapsed:c,toggleCollapsed:l,pausedAt:p})=>{let[f,g]=me(!1),E=!n.goto||!e.interceptable||!!e.ancestors.length;return a?null:U(Aw,{call:e,pausedAt:p},U(Sw,{isInteractive:E},U(ww,{"aria-label":"Interaction step",call:e,onClick:()=>r.goto(e.id),disabled:E,onMouseEnter:()=>n.goto&&g(!0),onMouseLeave:()=>n.goto&&g(!1)},U(gf,{status:f?M.ACTIVE:e.status}),U(vw,{style:{marginLeft:6,marginBottom:1}},U(Co,{call:e,callsById:t}))),U(xw,null,o?.length>0&&U(je,{hasChrome:!1,tooltip:U(Ow,{note:`${c?"Show":"Hide"} interactions`})},U(_w,{containsIcon:!0,onClick:l},U(Ce,{icon:"listunordered"}))))),e.status===M.ERROR&&e.exception?.callId===e.id&&U(Rw,{exception:e.exception}))},Dw=H.div(({theme:e,withException:t})=>({minHeight:"100%",background:e.background.content,...t&&{backgroundColor:e.base==="dark"?Pr(.93,e.color.negative):e.background.warning}})),Fw=H.div(({theme:e})=>({padding:15,fontSize:e.typography.size.s2-1,lineHeight:"19px"})),Pw=H.code(({theme:e})=>({margin:"0 1px",padding:3,fontSize:e.typography.size.s1-1,lineHeight:1,verticalAlign:"top",background:"rgba(0, 0, 0, 0.05)",border:`1px solid ${e.appBorderColor}`,borderRadius:3})),Iw=H.div({paddingBottom:4,fontWeight:"bold"}),Bw=H.p({margin:0,padding:"0 0 20px"}),qw=H.pre(({theme:e})=>({margin:0,padding:0,fontSize:e.typography.size.s1-1})),Nw=Kt(function({calls:e,controls:t,controlStates:r,interactions:n,fileName:o,hasException:a,caughtException:c,isPlaying:l,pausedAt:p,onScrollToEnd:f,endRef:g}){return U(Dw,{withException:!!c},(n.length>0||a)&&U(SS,{controls:t,controlStates:r,status:l?M.ACTIVE:a?M.ERROR:M.DONE,storyFileName:o,onScrollToEnd:f}),U("div",{"aria-label":"Interactions list"},n.map(E=>U(Tw,{key:E.id,call:E,callsById:e,controls:t,controlStates:r,childCallIds:E.childCallIds,isHidden:E.isHidden,isCollapsed:E.isCollapsed,toggleCollapsed:E.toggleCollapsed,pausedAt:p}))),c&&!c.message?.startsWith("ignoredException")&&U(Fw,null,U(Iw,null,"Caught exception in ",U(Pw,null,"play")," function"),U(Bw,null,"This story threw an error after it finished rendering which means your interactions couldn' t be run.Go to this story' s play function in ",o," to fix."),U(qw,{"data-chromatic":"ignore"},c.stack||`${c.name}: ${c.message}`)),U("div",{ref:g}),!l&&!c&&n.length===0&&U(Go,null,"No interactions found",U(Uo,{href:"https://storybook.js.org/docs/react/writing-stories/play-function",target:"_blank",withArrow:!0},"Learn how to add interactions to your story")))}),vo={start:!1,back:!1,goto:!1,next:!1,end:!1},uf=({log:e,calls:t,collapsed:r,setCollapsed:n})=>{let o=new Map,a=new Map;return e.map(({callId:c,ancestors:l,status:p})=>{let f=!1;return l.forEach(g=>{r.has(g)&&(f=!0),a.set(g,(a.get(g)||[]).concat(c))}),{...t.get(c),status:p,isHidden:f}}).map(c=>{let l=c.status===M.ERROR&&o.get(c.ancestors.slice(-1)[0])?.status===M.ACTIVE?M.ACTIVE:c.status;return o.set(c.id,{...c,status:l}),{...c,status:l,childCallIds:a.get(c.id),isCollapsed:r.has(c.id),toggleCollapsed:()=>n(p=>(p.has(c.id)?p.delete(c.id):p.add(c.id),new Set(p)))}})},jw=Kt(function({storyId:e}){let[t,r]=Mr(Br,{controlStates:vo,isErrored:!1,pausedAt:void 0,interactions:[],isPlaying:!1,hasException:!1,caughtException:void 0,interactionsCount:0}),[n,o]=me(void 0),[a,c]=me(new Set),{controlStates:l=vo,isErrored:p=!1,pausedAt:f=void 0,interactions:g=[],isPlaying:E=!1,caughtException:v=void 0}=t,w=Yt([]),x=Yt(new Map),T=({status:B,...N})=>x.current.set(N.id,N),I=Yt();Ne(()=>{let B;return Y.IntersectionObserver&&(B=new Y.IntersectionObserver(([N])=>o(N.isIntersecting?void 0:N.target),{root:Y.document.querySelector("#panel-tab-content")}),I.current&&B.observe(I.current)),()=>B?.disconnect()},[]);let O=Lo({[Ie.CALL]:T,[Ie.SYNC]:B=>{r(N=>{let V=uf({log:B.logItems,calls:x.current,collapsed:a,setCollapsed:c});return{...N,controlStates:B.controlStates,pausedAt:B.pausedAt,interactions:V,interactionsCount:V.filter(({method:Z})=>Z!=="step").length}}),w.current=B.logItems},[Jt]:B=>{if(B.newPhase==="preparing"){r(N=>({controlStates:vo,isErrored:!1,pausedAt:void 0,interactions:[],isPlaying:!1,isRerunAnimating:!1,scrollTarget:n,collapsed:new Set,hasException:!1,caughtException:void 0,interactionsCount:0}));return}r(N=>({...N,isPlaying:B.newPhase==="playing",pausedAt:void 0,...B.newPhase==="rendering"?{isErrored:!1,caughtException:void 0}:{}}))},[Gr]:()=>{r(B=>({...B,isErrored:!0}))},[Wr]:B=>{B?.message!==Ur.message?r(N=>({...N,caughtException:B})):r(N=>({...N,caughtException:void 0}))}},[a]);Ne(()=>{r(B=>{let N=uf({log:w.current,calls:x.current,collapsed:a,setCollapsed:c});return{...B,interactions:N,interactionsCount:N.filter(({method:V})=>V!=="step").length}})},[a]);let R=qo(()=>({start:()=>O(Ie.START,{storyId:e}),back:()=>O(Ie.BACK,{storyId:e}),goto:B=>O(Ie.GOTO,{storyId:e,callId:B}),next:()=>O(Ie.NEXT,{storyId:e}),end:()=>O(Ie.END,{storyId:e}),rerun:()=>{O(Xt,{storyId:e})}}),[e]),q=Mo("fileName",""),[j]=q.toString().split("/").slice(-1),$=()=>n?.scrollIntoView({behavior:"smooth",block:"end"}),K=!!v||g.some(B=>B.status===M.ERROR);return p?d.createElement(Vt,{key:"interactions"}):d.createElement(Vt,{key:"interactions"},d.createElement(Nw,{calls:x.current,controls:R,controlStates:l,interactions:g,fileName:j,hasException:K,caughtException:v,isPlaying:E,pausedAt:f,endRef:I,onScrollToEnd:n&&$}))}),Lw=H(gf)({marginLeft:5});function Mw(){let[e={}]=Mr(Br),{hasException:t,interactionsCount:r}=e;return d.createElement("div",null,d.createElement(Ko,{col:1},d.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Interactions"),r&&!t?d.createElement($o,{status:"neutral"},r):null,t?d.createElement(Lw,{status:M.ERROR}):null))}Lr.register(Br,e=>{Lr.add(pS,{type:jo.PANEL,title:Mw,match:({viewMode:t})=>t==="story",render:({active:t})=>{let r=Bo(({state:n})=>({storyId:n.storyId}),[]);return d.createElement(ko,{active:t},d.createElement(No,{filter:r},({storyId:n})=>d.createElement(jw,{storyId:n})))}})}); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt b/docs/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/docs/sb-addons/links-0/manager-bundle.js b/docs/sb-addons/links-0/manager-bundle.js new file mode 100644 index 0000000..f1f7689 --- /dev/null +++ b/docs/sb-addons/links-0/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +var e="storybook/links";var a={NAVIGATE:`${e}/navigate`,REQUEST:`${e}/request`,RECEIVE:`${e}/receive`};var O=__STORYBOOKAPI__,{ActiveTabs:b,Consumer:p,ManagerContext:k,Provider:I,addons:n,combineParameters:g,controlOrMetaKey:v,controlOrMetaSymbol:M,eventMatchesShortcut:P,eventToShortcut:R,isMacLike:C,isShortcutTaken:D,keyToSymbol:f,merge:x,mockChannel:K,optionOrAltSymbol:G,shortcutMatchesShortcut:N,shortcutToHumanString:V,types:Y,useAddonState:$,useArgTypes:B,useArgs:Q,useChannel:U,useGlobalTypes:q,useGlobals:H,useParameter:L,useSharedState:j,useStoryPrepared:w,useStorybookApi:z,useStorybookState:F}=__STORYBOOKAPI__;n.register(e,t=>{t.on(a.REQUEST,({kind:u,name:S})=>{let c=t.storyId(u,S);t.emit(a.RECEIVE,c)})}); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/sb-addons/links-0/manager-bundle.js.LEGAL.txt b/docs/sb-addons/links-0/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/docs/sb-common-assets/fonts.css b/docs/sb-common-assets/fonts.css new file mode 100644 index 0000000..90050cc --- /dev/null +++ b/docs/sb-common-assets/fonts.css @@ -0,0 +1,31 @@ +@font-face { + font-family: 'Nunito Sans'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url('./nunito-sans-regular.woff2') format('woff2'); +} + +@font-face { + font-family: 'Nunito Sans'; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url('./nunito-sans-italic.woff2') format('woff2'); +} + +@font-face { + font-family: 'Nunito Sans'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url('./nunito-sans-bold.woff2') format('woff2'); +} + +@font-face { + font-family: 'Nunito Sans'; + font-style: italic; + font-weight: 700; + font-display: swap; + src: url('./nunito-sans-bold-italic.woff2') format('woff2'); +} diff --git a/docs/sb-common-assets/nunito-sans-bold-italic.woff2 b/docs/sb-common-assets/nunito-sans-bold-italic.woff2 new file mode 100644 index 0000000..33563d8 Binary files /dev/null and b/docs/sb-common-assets/nunito-sans-bold-italic.woff2 differ diff --git a/docs/sb-common-assets/nunito-sans-bold.woff2 b/docs/sb-common-assets/nunito-sans-bold.woff2 new file mode 100644 index 0000000..19fcc94 Binary files /dev/null and b/docs/sb-common-assets/nunito-sans-bold.woff2 differ diff --git a/docs/sb-common-assets/nunito-sans-italic.woff2 b/docs/sb-common-assets/nunito-sans-italic.woff2 new file mode 100644 index 0000000..827096d Binary files /dev/null and b/docs/sb-common-assets/nunito-sans-italic.woff2 differ diff --git a/docs/sb-common-assets/nunito-sans-regular.woff2 b/docs/sb-common-assets/nunito-sans-regular.woff2 new file mode 100644 index 0000000..c527ba4 Binary files /dev/null and b/docs/sb-common-assets/nunito-sans-regular.woff2 differ diff --git a/docs/sb-manager/GlobalScrollAreaStyles-UY5SB7EJ-BKTFUTA6.js b/docs/sb-manager/GlobalScrollAreaStyles-UY5SB7EJ-BKTFUTA6.js new file mode 100644 index 0000000..9258d4a --- /dev/null +++ b/docs/sb-manager/GlobalScrollAreaStyles-UY5SB7EJ-BKTFUTA6.js @@ -0,0 +1,7 @@ +import{Global}from"./chunk-SPUAGIB2.js";import{require_react}from"./chunk-QMHPSTMR.js";import"./chunk-3J6GS6FI.js";import{__toESM}from"./chunk-RKFFWI2D.js";var import_react=__toESM(require_react(),1);var getScrollAreaStyles=theme=>({".os-size-observer,\n.os-size-observer-listener":{direction:"inherit",pointerEvents:"none",overflow:"hidden",visibility:"hidden",boxSizing:"border-box"},".os-size-observer,\n.os-size-observer-listener,\n.os-size-observer-listener-item,\n.os-size-observer-listener-item-final":{writingMode:"horizontal-tb",position:"absolute",left:"0",top:"0"},".os-size-observer":{zIndex:-1,contain:"strict",display:"flex",flexDirection:"row",flexWrap:"nowrap",padding:"inherit",border:"inherit",boxSizing:"inherit",margin:"-133px",top:"0",right:"0",bottom:"0",left:"0",transform:"scale(0.1)"},".os-size-observer::before":{content:'""',flex:"none",boxSizing:"inherit",padding:"10px",width:"10px",height:"10px"},".os-size-observer-appear":{animation:"os-size-observer-appear-animation 1ms forwards"},".os-size-observer-listener":{boxSizing:"border-box",position:"relative",flex:"auto",padding:"inherit",border:"inherit",margin:"-133px",transform:"scale(10)"},".os-size-observer-listener.ltr":{marginRight:"-266px",marginLeft:"0"},".os-size-observer-listener.rtl":{marginLeft:"-266px",marginRight:"0"},".os-size-observer-listener:empty::before":{content:'""',width:"100%",height:"100%"},".os-size-observer-listener:empty::before, .os-size-observer-listener > .os-size-observer-listener-item":{display:"block",position:"relative",padding:"inherit",border:"inherit",boxSizing:"content-box",flex:"auto"},".os-size-observer-listener-scroll":{boxSizing:"border-box",display:"flex"},".os-size-observer-listener-item":{right:"0",bottom:"0",overflow:"hidden",direction:"ltr",flex:"none"},".os-size-observer-listener-item-final":{transition:"none"},"@keyframes os-size-observer-appear-animation":{from:{cursor:"auto"},to:{cursor:"none"}},".os-trinsic-observer":{flex:"none",boxSizing:"border-box",position:"relative",maxWidth:"0px",maxHeight:"1px",padding:"0",margin:"0",border:"none",overflow:"hidden",zIndex:-1,height:"0",top:"calc(100% + 1px)",contain:"strict"},".os-trinsic-observer:not(:empty)":{height:"calc(100% + 1px)",top:"-1px"},".os-trinsic-observer:not(:empty) > .os-size-observer":{width:"1000%",height:"1000%",minHeight:"1px",minWidth:"1px"},".os-environment":{"--os-custom-prop":"-1",position:"fixed",opacity:0,visibility:"hidden",overflow:"scroll",height:"200px",width:"200px",zIndex:"var(--os-custom-prop)"},".os-environment div":{width:"200%",height:"200%",margin:"10px 0"},".os-environment.os-environment-flexbox-glue":{display:"flex",flexDirection:"row",flexWrap:"nowrap",height:"auto",width:"auto",minHeight:"200px",minWidth:"200px"},".os-environment.os-environment-flexbox-glue div":{flex:"auto",width:"auto",height:"auto",maxHeight:"100%",maxWidth:"100%",margin:"0"},".os-environment.os-environment-flexbox-glue-max":{maxHeight:"200px"},".os-environment.os-environment-flexbox-glue-max div":{overflow:"visible"},".os-environment.os-environment-flexbox-glue-max div::before":{content:'""',display:"block",height:"999px",width:"999px"},".os-environment,\n[data-overlayscrollbars-viewport]":{msOverflowStyle:"scrollbar !important"},"[data-overlayscrollbars-initialize],\n[data-overlayscrollbars~=scrollbarHidden],\n[data-overlayscrollbars-viewport~=scrollbarHidden],\n.os-scrollbar-hidden.os-environment":{scrollbarWidth:"none !important"},"[data-overlayscrollbars-initialize]::-webkit-scrollbar,\n[data-overlayscrollbars-initialize]::-webkit-scrollbar-corner,\n[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar,\n[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar-corner,\n[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,\n[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner,\n.os-scrollbar-hidden.os-environment::-webkit-scrollbar,\n.os-scrollbar-hidden.os-environment::-webkit-scrollbar-corner":{WebkitAppearance:"none !important",appearance:"none !important",display:"none !important",width:"0 !important",height:"0 !important"},"[data-overlayscrollbars-initialize]":{overflow:"auto"},"html[data-overlayscrollbars],\nhtml.os-scrollbar-hidden,\nhtml.os-scrollbar-hidden > body":{boxSizing:"border-box",margin:"0",width:"100%",height:"100%"},"html[data-overlayscrollbars] > body":{overflow:"visible"},"[data-overlayscrollbars~=host]":{position:"relative"},"[data-overlayscrollbars~=host],\n[data-overlayscrollbars-padding]":{display:"flex",flexDirection:"row !important",flexWrap:"nowrap !important"},"[data-overlayscrollbars-padding],\n[data-overlayscrollbars-viewport]":{boxSizing:"inherit",position:"relative",flex:"auto !important",height:"auto",width:"100%",padding:"0",margin:"0",border:"none",zIndex:0,overflow:"hidden"},"[data-overlayscrollbars-viewport]":{"--os-vaw":"0","--os-vah":"0"},"[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]::before":{content:'""',position:"absolute",pointerEvents:"none",zIndex:-1,minWidth:"1px",minHeight:"1px",width:"var(--os-vaw)",height:"var(--os-vah)"},"[data-overlayscrollbars~=host],\n[data-overlayscrollbars~=viewport]":{overflow:"hidden"},"[data-overlayscrollbars~=overflowVisible],\n[data-overlayscrollbars-padding~=overflowVisible],\n[data-overlayscrollbars-viewport~=overflowVisible]":{overflow:"visible"},"[data-overlayscrollbars-overflow-x=hidden]":{overflowX:"hidden",overflowY:"hidden"},"[data-overlayscrollbars-overflow-x=scroll]":{overflowX:"scroll"},"[data-overlayscrollbars-overflow-y=scroll]":{overflowY:"scroll"},"[data-overlayscrollbars~=scrollbarPressed],\n[data-overlayscrollbars~=scrollbarPressed] [data-overlayscrollbars-viewport]":{scrollBehavior:"auto !important"},"[data-overlayscrollbars-content]":{boxSizing:"inherit"},"[data-overlayscrollbars-grid],\n[data-overlayscrollbars-grid] [data-overlayscrollbars-padding]":{display:"grid",gridTemplate:"1fr/1fr"},"[data-overlayscrollbars-grid] > [data-overlayscrollbars-padding],\n[data-overlayscrollbars-grid] > [data-overlayscrollbars-viewport],\n[data-overlayscrollbars-grid] > [data-overlayscrollbars-padding] > [data-overlayscrollbars-viewport]":{height:"auto !important",width:"auto !important"},".os-scrollbar":{contain:["size layout","size layout style"],transition:"opacity 0.15s, visibility 0.15s, top 0.15s, right 0.15s, bottom 0.15s, left 0.15s",pointerEvents:"none",position:"absolute",opacity:0,visibility:"hidden","--os-size":"0","--os-padding-perpendicular":"0","--os-padding-axis":"0","--os-track-border-radius":"0","--os-track-bg":"none","--os-track-bg-hover":"none","--os-track-bg-active":"none","--os-track-border":"none","--os-track-border-hover":"none","--os-track-border-active":"none","--os-handle-border-radius":"0","--os-handle-bg":"none","--os-handle-bg-hover":"none","--os-handle-bg-active":"none","--os-handle-border":"none","--os-handle-border-hover":"none","--os-handle-border-active":"none","--os-handle-min-size":"33px","--os-handle-max-size":"none","--os-handle-perpendicular-size":"100%","--os-handle-perpendicular-size-hover":"100%","--os-handle-perpendicular-size-active":"100%","--os-handle-interactive-area-offset":"0"},"body > .os-scrollbar":{position:"fixed",zIndex:99999},".os-scrollbar-transitionless":{transition:"none"},".os-scrollbar-track":{position:"relative",direction:"ltr !important",padding:"0 !important",border:"none !important"},".os-scrollbar-handle":{position:"absolute"},".os-scrollbar-track,\n.os-scrollbar-handle":{pointerEvents:"none",width:"100%",height:"100%"},".os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,\n.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle":{pointerEvents:"auto",touchAction:"none"},".os-scrollbar-horizontal":{bottom:"0",left:"0",padding:"var(--os-padding-perpendicular) var(--os-padding-axis)",right:"var(--os-size)",height:"var(--os-size)"},".os-scrollbar-vertical":{top:"0",right:"0",padding:"var(--os-padding-axis) var(--os-padding-perpendicular)",bottom:"var(--os-size)",width:"var(--os-size)"},".os-scrollbar-rtl.os-scrollbar-horizontal":{right:"0"},".os-scrollbar-rtl.os-scrollbar-vertical":{right:"auto",left:"0"},".os-scrollbar-visible,\n.os-scrollbar-interaction.os-scrollbar-visible":{opacity:1,visibility:"visible"},".os-scrollbar-auto-hidden":{opacity:0,visibility:"hidden"},".os-scrollbar-unusable,\n.os-scrollbar-unusable *,\n.os-scrollbar-wheel,\n.os-scrollbar-wheel *":{pointerEvents:"none !important"},".os-scrollbar-unusable .os-scrollbar-handle":{opacity:"0 !important"},".os-scrollbar-horizontal .os-scrollbar-handle":{bottom:"0",minWidth:"var(--os-handle-min-size)",maxWidth:"var(--os-handle-max-size)",height:"var(--os-handle-perpendicular-size)",transition:"opacity 0.15s, background-color 0.15s, border-color 0.15s, height 0.15s"},".os-scrollbar-vertical .os-scrollbar-handle":{right:"0",minHeight:"var(--os-handle-min-size)",maxHeight:"var(--os-handle-max-size)",width:"var(--os-handle-perpendicular-size)",transition:"opacity 0.15s, background-color 0.15s, border-color 0.15s, width 0.15s"},".os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle":{right:"auto",left:"0"},".os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,\n.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl":{left:"0",right:"0"},".os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,\n.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl":{top:"0",bottom:"0"},".os-scrollbar .os-scrollbar-track":{border:"var(--os-track-border)",borderRadius:"var(--os-track-border-radius)",background:"var(--os-track-bg)",transition:"opacity 0.15s, background-color 0.15s, border-color 0.15s"},".os-scrollbar .os-scrollbar-track:hover":{border:"var(--os-track-border-hover)",background:"var(--os-track-bg-hover)"},".os-scrollbar .os-scrollbar-track:active":{border:"var(--os-track-border-active)",background:"var(--os-track-bg-active)"},".os-scrollbar .os-scrollbar-handle":{border:"var(--os-handle-border)",borderRadius:"var(--os-handle-border-radius)",background:theme.textMutedColor,opacity:.5},".os-scrollbar .os-scrollbar-handle:before":{content:'""',position:"absolute",left:"0",right:"0",top:"0",bottom:"0",display:"block"},".os-scrollbar .os-scrollbar-handle:hover":{border:"var(--os-handle-border-hover)",opacity:.6},".os-scrollbar .os-scrollbar-handle:active":{border:"var(--os-handle-border-active)",background:"var(--os-handle-bg-active)"},".os-scrollbar-horizontal.os-scrollbar-rtl":{left:"var(--os-size)",right:"0"},".os-scrollbar-horizontal .os-scrollbar-handle:before":{top:"calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1)",bottom:"calc(var(--os-padding-perpendicular) * -1)"},".os-scrollbar-horizontal:hover .os-scrollbar-handle":{height:"var(--os-handle-perpendicular-size-hover)"},".os-scrollbar-horizontal:active .os-scrollbar-handle":{height:"var(--os-handle-perpendicular-size-active)"},".os-scrollbar-vertical .os-scrollbar-handle:before":{left:"calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1)",right:"calc(var(--os-padding-perpendicular) * -1)"},".os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before":{right:"calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1)",left:"calc(var(--os-padding-perpendicular) * -1)"},".os-scrollbar-vertical:hover .os-scrollbar-handle":{width:"var(--os-handle-perpendicular-size-hover)"},".os-scrollbar-vertical:active .os-scrollbar-handle":{width:"var(--os-handle-perpendicular-size-active)"},"[data-overlayscrollbars~=updating] > .os-scrollbar,\n.os-theme-none.os-scrollbar":{display:"none !important"},".os-theme-dark,\n.os-theme-light":{boxSizing:"border-box","--os-size":"10px","--os-padding-perpendicular":"2px","--os-padding-axis":"2px","--os-track-border-radius":"10px","--os-handle-interactive-area-offset":"4px","--os-handle-border-radius":"10px"},".os-theme-dark":{"--os-handle-bg":"rgba(0, 0, 0, 0.44)","--os-handle-bg-hover":"rgba(0, 0, 0, 0.55)","--os-handle-bg-active":"rgba(0, 0, 0, 0.66)"},".os-theme-light":{"--os-handle-bg":"rgba(255, 255, 255, 0.44)","--os-handle-bg-hover":"rgba(255, 255, 255, 0.55)","--os-handle-bg-active":"rgba(255, 255, 255, 0.66)"},".os-no-css-vars.os-theme-dark.os-scrollbar .os-scrollbar-handle, .os-no-css-vars.os-theme-light.os-scrollbar .os-scrollbar-handle":{borderRadius:"10px"},".os-no-css-vars.os-theme-dark.os-scrollbar .os-scrollbar-track, .os-no-css-vars.os-theme-light.os-scrollbar .os-scrollbar-track":{borderRadius:"10px"},".os-no-css-vars.os-theme-dark.os-scrollbar-horizontal, .os-no-css-vars.os-theme-light.os-scrollbar-horizontal":{padding:"2px 2px",right:"10px",height:"10px"},".os-no-css-vars.os-theme-dark.os-scrollbar-horizontal.os-scrollbar-rtl, .os-no-css-vars.os-theme-light.os-scrollbar-horizontal.os-scrollbar-rtl":{left:"10px",right:"0"},".os-no-css-vars.os-theme-dark.os-scrollbar-horizontal .os-scrollbar-handle, .os-no-css-vars.os-theme-light.os-scrollbar-horizontal .os-scrollbar-handle":{minWidth:"33px",maxWidth:"none"},".os-no-css-vars.os-theme-dark.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-no-css-vars.os-theme-light.os-scrollbar-horizontal .os-scrollbar-handle:before":{top:`calc(( + 2px + 4px + ) * -1)`,bottom:"calc(2px * -1)"},".os-no-css-vars.os-theme-dark.os-scrollbar-vertical, .os-no-css-vars.os-theme-light.os-scrollbar-vertical":{padding:"2px 2px",bottom:"10px",width:"10px"},".os-no-css-vars.os-theme-dark.os-scrollbar-vertical .os-scrollbar-handle, .os-no-css-vars.os-theme-light.os-scrollbar-vertical .os-scrollbar-handle":{minHeight:"33px",maxHeight:"none"},".os-no-css-vars.os-theme-dark.os-scrollbar-vertical .os-scrollbar-handle:before, .os-no-css-vars.os-theme-light.os-scrollbar-vertical .os-scrollbar-handle:before":{left:`calc(( + 2px + 4px + ) * -1)`,right:"calc(2px * -1)"},".os-no-css-vars.os-theme-dark.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before, .os-no-css-vars.os-theme-light.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before":{right:`calc(( + 2px + 4px + ) * -1)`,left:"calc(2px * -1)"},".os-no-css-vars.os-theme-dark .os-scrollbar-handle":{background:"rgba(0, 0, 0, 0.44)"},".os-no-css-vars.os-theme-dark:hover .os-scrollbar-handle":{background:"rgba(0, 0, 0, 0.55)"},".os-no-css-vars.os-theme-dark:active .os-scrollbar-handle":{background:"rgba(0, 0, 0, 0.66)"},".os-no-css-vars.os-theme-light .os-scrollbar-handle":{background:"rgba(255, 255, 255, 0.44)"},".os-no-css-vars.os-theme-light:hover .os-scrollbar-handle":{background:"rgba(255, 255, 255, 0.55)"},".os-no-css-vars.os-theme-light:active .os-scrollbar-handle":{background:"rgba(255, 255, 255, 0.66)"}}),GlobalScrollAreaStyles=()=>import_react.default.createElement(Global,{styles:getScrollAreaStyles}),GlobalScrollAreaStyles_default=GlobalScrollAreaStyles;export{GlobalScrollAreaStyles_default as default,getScrollAreaStyles}; diff --git a/docs/sb-manager/OverlayScrollbars-GZGLA7DL-YJ2Z3IBE.js b/docs/sb-manager/OverlayScrollbars-GZGLA7DL-YJ2Z3IBE.js new file mode 100644 index 0000000..835dee2 --- /dev/null +++ b/docs/sb-manager/OverlayScrollbars-GZGLA7DL-YJ2Z3IBE.js @@ -0,0 +1 @@ +import{require_react}from"./chunk-QMHPSTMR.js";import{__toESM}from"./chunk-RKFFWI2D.js";var import_react=__toESM(require_react(),1);function each(t2,n2){if(isArrayLike(t2))for(let o2=0;o2n2(t2[o2],o2,t2));return t2}function style(t2,n2){let o2=isString(n2);if(isArray(n2)||o2){let s3=o2?"":{};if(t2){let e2=window.getComputedStyle(t2,null);s3=o2?getCSSVal(t2,e2,n2):n2.reduce((n3,o3)=>(n3[o3]=getCSSVal(t2,e2,o3),n3),s3)}return s3}t2&&each(keys(n2),o3=>setCSSVal(t2,o3,n2[o3]))}var createCache=(t2,n2)=>{let{o:o2,u:s2,_:e2}=t2,c2=o2,r2,cacheUpdateContextual=(t3,n3)=>{let o3=c2,i2=t3,l2=n3||(s2?!s2(o3,i2):o3!==i2);return(l2||e2)&&(c2=i2,r2=o3),[c2,l2,r2]};return[n2?t3=>cacheUpdateContextual(n2(c2,r2),t3):cacheUpdateContextual,t3=>[c2,!!t3,r2]]},isClient=()=>typeof window<"u",t=isClient()&&Node.ELEMENT_NODE,{toString:n,hasOwnProperty:o}=Object.prototype,isUndefined=t2=>t2===void 0,isNull=t2=>t2===null,type=t2=>isUndefined(t2)||isNull(t2)?`${t2}`:n.call(t2).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),isNumber=t2=>typeof t2=="number",isString=t2=>typeof t2=="string",isBoolean=t2=>typeof t2=="boolean",isFunction=t2=>typeof t2=="function",isArray=t2=>Array.isArray(t2),isObject=t2=>typeof t2=="object"&&!isArray(t2)&&!isNull(t2),isArrayLike=t2=>{let n2=!!t2&&t2.length,o2=isNumber(n2)&&n2>-1&&n2%1==0;return isArray(t2)||!isFunction(t2)&&o2?n2>0&&isObject(t2)?n2-1 in t2:!0:!1},isPlainObject=t2=>{if(!t2||!isObject(t2)||type(t2)!=="object")return!1;let n2,s2="constructor",e2=t2[s2],c2=e2&&e2.prototype,r2=o.call(t2,s2),i2=c2&&o.call(c2,"isPrototypeOf");if(e2&&!r2&&!i2)return!1;for(n2 in t2);return isUndefined(n2)||o.call(t2,n2)},isHTMLElement=n2=>{let o2=HTMLElement;return n2?o2?n2 instanceof o2:n2.nodeType===t:!1},isElement=n2=>{let o2=Element;return n2?o2?n2 instanceof o2:n2.nodeType===t:!1},indexOf=(t2,n2,o2)=>t2.indexOf(n2,o2),push=(t2,n2,o2)=>(!o2&&!isString(n2)&&isArrayLike(n2)?Array.prototype.push.apply(t2,n2):t2.push(n2),t2),from=t2=>{let n2=Array.from,o2=[];return n2&&t2?n2(t2):(t2 instanceof Set?t2.forEach(t3=>{push(o2,t3)}):each(t2,t3=>{push(o2,t3)}),o2)},isEmptyArray=t2=>!!t2&&t2.length===0,runEachAndClear=(t2,n2,o2)=>{each(t2,t3=>t3&&t3.apply(void 0,n2||[])),!o2&&(t2.length=0)},hasOwnProperty=(t2,n2)=>Object.prototype.hasOwnProperty.call(t2,n2),keys=t2=>t2?Object.keys(t2):[],assignDeep=(t2,n2,o2,s2,e2,c2,r2)=>{let i2=[n2,o2,s2,e2,c2,r2];return(typeof t2!="object"||isNull(t2))&&!isFunction(t2)&&(t2={}),each(i2,n3=>{each(keys(n3),o3=>{let s3=n3[o3];if(t2===s3)return!0;let e3=isArray(s3);if(s3&&(isPlainObject(s3)||e3)){let n4=t2[o3],c3=n4;e3&&!isArray(n4)?c3=[]:!e3&&!isPlainObject(n4)&&(c3={}),t2[o3]=assignDeep(c3,s3)}else t2[o3]=s3})}),t2},isEmptyObject=t2=>{for(let n2 in t2)return!1;return!0},getSetProp=(t2,n2,o2,s2)=>{if(isUndefined(s2))return o2?o2[t2]:n2;o2&&(isString(s2)||isNumber(s2))&&(o2[t2]=s2)},attr=(t2,n2,o2)=>{if(isUndefined(o2))return t2?t2.getAttribute(n2):null;t2&&t2.setAttribute(n2,o2)},removeAttr=(t2,n2)=>{t2&&t2.removeAttribute(n2)},attrClass=(t2,n2,o2,s2)=>{if(o2){let e2=attr(t2,n2)||"",c2=new Set(e2.split(" "));c2[s2?"add":"delete"](o2);let r2=from(c2).join(" ").trim();attr(t2,n2,r2)}},hasAttrClass=(t2,n2,o2)=>{let s2=attr(t2,n2)||"";return new Set(s2.split(" ")).has(o2)},scrollLeft=(t2,n2)=>getSetProp("scrollLeft",0,t2,n2),scrollTop=(t2,n2)=>getSetProp("scrollTop",0,t2,n2),s=isClient()&&Element.prototype,find=(t2,n2)=>{let o2=[],s2=n2?isElement(n2)?n2:null:document;return s2?push(o2,s2.querySelectorAll(t2)):o2},findFirst=(t2,n2)=>{let o2=n2?isElement(n2)?n2:null:document;return o2?o2.querySelector(t2):null},is=(t2,n2)=>isElement(t2)?(s.matches||s.msMatchesSelector).call(t2,n2):!1,contents=t2=>t2?from(t2.childNodes):[],parent=t2=>t2?t2.parentElement:null,closest=(t2,n2)=>{if(isElement(t2)){let o2=s.closest;if(o2)return o2.call(t2,n2);do{if(is(t2,n2))return t2;t2=parent(t2)}while(t2)}return null},liesBetween=(t2,n2,o2)=>{let s2=t2&&closest(t2,n2),e2=t2&&findFirst(o2,s2),c2=closest(e2,n2)===s2;return s2&&e2?s2===t2||e2===t2||c2&&closest(closest(t2,o2),n2)!==s2:!1},before=(t2,n2,o2)=>{if(o2&&t2){let s2=n2,e2;isArrayLike(o2)?(e2=document.createDocumentFragment(),each(o2,t3=>{t3===s2&&(s2=t3.previousSibling),e2.appendChild(t3)})):e2=o2,n2&&(s2?s2!==n2&&(s2=s2.nextSibling):s2=t2.firstChild),t2.insertBefore(e2,s2||null)}},appendChildren=(t2,n2)=>{before(t2,null,n2)},insertBefore=(t2,n2)=>{before(parent(t2),t2,n2)},insertAfter=(t2,n2)=>{before(parent(t2),t2&&t2.nextSibling,n2)},removeElements=t2=>{if(isArrayLike(t2))each(from(t2),t3=>removeElements(t3));else if(t2){let n2=parent(t2);n2&&n2.removeChild(t2)}},createDiv=t2=>{let n2=document.createElement("div");return t2&&attr(n2,"class",t2),n2},createDOM=t2=>{let n2=createDiv();return n2.innerHTML=t2.trim(),each(contents(n2),t3=>removeElements(t3))},firstLetterToUpper=t2=>t2.charAt(0).toUpperCase()+t2.slice(1),getDummyStyle=()=>createDiv().style,e=["-webkit-","-moz-","-o-","-ms-"],c=["WebKit","Moz","O","MS","webkit","moz","o","ms"],r={},i={},cssProperty=t2=>{let n2=i[t2];if(hasOwnProperty(i,t2))return n2;let o2=firstLetterToUpper(t2),s2=getDummyStyle();return each(e,e2=>{let c2=e2.replace(/-/g,"");return!(n2=[t2,e2+t2,c2+o2,firstLetterToUpper(c2)+o2].find(t3=>s2[t3]!==void 0))}),i[t2]=n2||""},jsAPI=t2=>{if(isClient()){let n2=r[t2]||window[t2];return hasOwnProperty(r,t2)||(each(c,o2=>(n2=n2||window[o2+firstLetterToUpper(t2)],!n2)),r[t2]=n2),n2}},l=jsAPI("MutationObserver"),a=jsAPI("IntersectionObserver"),u=jsAPI("ResizeObserver"),d=jsAPI("cancelAnimationFrame"),f=jsAPI("requestAnimationFrame"),_=isClient()&&window.setTimeout,h=isClient()&&window.clearTimeout,v=/[^\x20\t\r\n\f]+/g,classListAction=(t2,n2,o2)=>{let s2=t2&&t2.classList,e2,c2=0,r2=!1;if(s2&&n2&&isString(n2)){let t3=n2.match(v)||[];for(r2=t3.length>0;e2=t3[c2++];)r2=!!o2(s2,e2)&&r2}return r2},removeClass=(t2,n2)=>{classListAction(t2,n2,(t3,n3)=>t3.remove(n3))},addClass=(t2,n2)=>(classListAction(t2,n2,(t3,n3)=>t3.add(n3)),removeClass.bind(0,t2,n2)),equal=(t2,n2,o2,s2)=>{if(t2&&n2){let e2=!0;return each(o2,o3=>{let c2=s2?s2(t2[o3]):t2[o3],r2=s2?s2(n2[o3]):n2[o3];c2!==r2&&(e2=!1)}),e2}return!1},equalWH=(t2,n2)=>equal(t2,n2,["w","h"]),equalXY=(t2,n2)=>equal(t2,n2,["x","y"]),equalTRBL=(t2,n2)=>equal(t2,n2,["t","r","b","l"]),equalBCRWH=(t2,n2,o2)=>equal(t2,n2,["width","height"],o2&&(t3=>Math.round(t3))),noop=()=>{},selfClearTimeout=t2=>{let n2,o2=t2?_:f,s2=t2?h:d;return[e2=>{s2(n2),n2=o2(e2,isFunction(t2)?t2():t2)},()=>s2(n2)]},debounce=(t2,n2)=>{let o2,s2,e2,c2=noop,{v:r2,g:i2,p:l2}=n2||{},a2=function(n3){c2(),h(o2),o2=s2=void 0,c2=noop,t2.apply(this,n3)},mergeParms=t3=>l2&&s2?l2(s2,t3):t3,flush=()=>{c2!==noop&&a2(mergeParms(e2)||e2)},u2=function(){let t3=from(arguments),n3=isFunction(r2)?r2():r2;if(isNumber(n3)&&n3>=0){let r3=isFunction(i2)?i2():i2,l4=isNumber(r3)&&r3>=0,u3=n3>0?_:f,v3=n3>0?h:d,w3=mergeParms(t3)||t3,p2=a2.bind(0,w3);c2();let b3=u3(p2,n3);c2=()=>v3(b3),l4&&!o2&&(o2=_(flush,r3)),s2=e2=w3}else a2(t3)};return u2.m=flush,u2},w={opacity:1,zindex:1},parseToZeroOrNumber=(t2,n2)=>{let o2=n2?parseFloat(t2):parseInt(t2,10);return o2===o2?o2:0},adaptCSSVal=(t2,n2)=>!w[t2.toLowerCase()]&&isNumber(n2)?`${n2}px`:n2,getCSSVal=(t2,n2,o2)=>n2!=null?n2[o2]||n2.getPropertyValue(o2):t2.style[o2],setCSSVal=(t2,n2,o2)=>{try{let{style:s2}=t2;isUndefined(s2[n2])?s2.setProperty(n2,o2):s2[n2]=adaptCSSVal(n2,o2)}catch{}},directionIsRTL=t2=>style(t2,"direction")==="rtl",topRightBottomLeft=(t2,n2,o2)=>{let s2=n2?`${n2}-`:"",e2=o2?`-${o2}`:"",c2=`${s2}top${e2}`,r2=`${s2}right${e2}`,i2=`${s2}bottom${e2}`,l2=`${s2}left${e2}`,a2=style(t2,[c2,r2,i2,l2]);return{t:parseToZeroOrNumber(a2[c2],!0),r:parseToZeroOrNumber(a2[r2],!0),b:parseToZeroOrNumber(a2[i2],!0),l:parseToZeroOrNumber(a2[l2],!0)}},{round:p}=Math,b={w:0,h:0},offsetSize=t2=>t2?{w:t2.offsetWidth,h:t2.offsetHeight}:b,clientSize=t2=>t2?{w:t2.clientWidth,h:t2.clientHeight}:b,scrollSize=t2=>t2?{w:t2.scrollWidth,h:t2.scrollHeight}:b,fractionalSize=t2=>{let n2=parseFloat(style(t2,"height"))||0,o2=parseFloat(style(t2,"width"))||0;return{w:o2-p(o2),h:n2-p(n2)}},getBoundingClientRect=t2=>t2.getBoundingClientRect(),m,supportPassiveEvents=()=>{if(isUndefined(m)){m=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){m=!0}}))}catch{}}return m},splitEventNames=t2=>t2.split(" "),off=(t2,n2,o2,s2)=>{each(splitEventNames(n2),n3=>{t2.removeEventListener(n3,o2,s2)})},on=(t2,n2,o2,s2)=>{var e2;let c2=supportPassiveEvents(),r2=(e2=c2&&s2&&s2.S)!=null?e2:c2,i2=s2&&s2.$||!1,l2=s2&&s2.C||!1,a2=[],u2=c2?{passive:r2,capture:i2}:i2;return each(splitEventNames(n2),n3=>{let s3=l2?e3=>{t2.removeEventListener(n3,s3,i2),o2&&o2(e3)}:o2;push(a2,off.bind(null,t2,n3,s3,i2)),t2.addEventListener(n3,s3,u2)}),runEachAndClear.bind(0,a2)},stopPropagation=t2=>t2.stopPropagation(),preventDefault=t2=>t2.preventDefault(),y={x:0,y:0},absoluteCoordinates=t2=>{let n2=t2?getBoundingClientRect(t2):0;return n2?{x:n2.left+window.pageYOffset,y:n2.top+window.pageXOffset}:y},manageListener=(t2,n2)=>{each(isArray(n2)?n2:[n2],t2)},createEventListenerHub=t2=>{let n2=new Map,removeEvent=(t3,o2)=>{if(t3){let s2=n2.get(t3);manageListener(t4=>{s2&&s2[t4?"delete":"clear"](t4)},o2)}else n2.forEach(t4=>{t4.clear()}),n2.clear()},addEvent=(t3,o2)=>{if(isString(t3)){let s3=n2.get(t3)||new Set;return n2.set(t3,s3),manageListener(t4=>{isFunction(t4)&&s3.add(t4)},o2),removeEvent.bind(0,t3,o2)}isBoolean(o2)&&o2&&removeEvent();let s2=keys(t3),e2=[];return each(s2,n3=>{let o3=t3[n3];o3&&push(e2,addEvent(n3,o3))}),runEachAndClear.bind(0,e2)},triggerEvent=(t3,o2)=>{let s2=n2.get(t3);each(from(s2),t4=>{o2&&!isEmptyArray(o2)?t4.apply(0,o2):t4()})};return addEvent(t2||{}),[addEvent,removeEvent,triggerEvent]},opsStringify=t2=>JSON.stringify(t2,(t3,n2)=>{if(isFunction(n2))throw new Error;return n2}),S={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},getOptionsDiff=(t2,n2)=>{let o2={},s2=keys(n2).concat(keys(t2));return each(s2,s3=>{let e2=t2[s3],c2=n2[s3];if(isObject(e2)&&isObject(c2))assignDeep(o2[s3]={},getOptionsDiff(e2,c2)),isEmptyObject(o2[s3])&&delete o2[s3];else if(hasOwnProperty(n2,s3)&&c2!==e2){let t3=!0;if(isArray(e2)||isArray(c2))try{opsStringify(e2)===opsStringify(c2)&&(t3=!1)}catch{}t3&&(o2[s3]=c2)}}),o2},x="os-environment",$=`${x}-flexbox-glue`,C=`${$}-max`,O="os-scrollbar-hidden",z="data-overlayscrollbars-initialize",T="data-overlayscrollbars",E=`${T}-overflow-x`,I=`${T}-overflow-y`,A="overflowVisible",L="scrollbarHidden",H="scrollbarPressed",P="updating",D="data-overlayscrollbars-viewport",M="arrange",R="scrollbarHidden",k=A,B="data-overlayscrollbars-padding",V=k,Y="data-overlayscrollbars-content",j="os-size-observer",N=`${j}-appear`,q=`${j}-listener`,U="os-trinsic-observer",W="os-no-css-vars",Z="os-theme-none",J="os-scrollbar",K=`${J}-rtl`,Q=`${J}-horizontal`,tt=`${J}-vertical`,nt=`${J}-track`,ot=`${J}-handle`,st=`${J}-visible`,et=`${J}-cornerless`,ct=`${J}-transitionless`,rt=`${J}-interaction`,it=`${J}-unusable`,lt=`${J}-auto-hidden`,at=`${J}-wheel`,ut=`${nt}-interactive`,dt=`${ot}-interactive`,ft={},getPlugins=()=>ft,addPlugin=t2=>{let n2=[];return each(isArray(t2)?t2:[t2],t3=>{let o2=keys(t3);each(o2,o3=>{push(n2,ft[o3]=t3[o3])})}),n2},mt="__osOptionsValidationPlugin",xt="__osSizeObserverPlugin",Tt="__osScrollbarsHidingPlugin",It="__osClickScrollPlugin",Lt,getNativeScrollbarSize=(t2,n2,o2,s2)=>{appendChildren(t2,n2);let e2=clientSize(n2),c2=offsetSize(n2),r2=fractionalSize(o2);return s2&&removeElements(n2),{x:c2.h-e2.h+r2.h,y:c2.w-e2.w+r2.w}},getNativeScrollbarsHiding=t2=>{let n2=!1,o2=addClass(t2,O);try{n2=style(t2,cssProperty("scrollbar-width"))==="none"||window.getComputedStyle(t2,"::-webkit-scrollbar").getPropertyValue("display")==="none"}catch{}return o2(),n2},getRtlScrollBehavior=(t2,n2)=>{let o2="hidden";style(t2,{overflowX:o2,overflowY:o2,direction:"rtl"}),scrollLeft(t2,0);let s2=absoluteCoordinates(t2),e2=absoluteCoordinates(n2);scrollLeft(t2,-999);let c2=absoluteCoordinates(n2);return{i:s2.x===e2.x,n:e2.x!==c2.x}},getFlexboxGlue=(t2,n2)=>{let o2=addClass(t2,$),s2=getBoundingClientRect(t2),e2=getBoundingClientRect(n2),c2=equalBCRWH(e2,s2,!0),r2=addClass(t2,C),i2=getBoundingClientRect(t2),l2=getBoundingClientRect(n2),a2=equalBCRWH(l2,i2,!0);return o2(),r2(),c2&&a2},createEnvironment=()=>{let{body:t2}=document,o2=createDOM(`
`)[0],s2=o2.firstChild,[e2,,c2]=createEventListenerHub(),[r2,i2]=createCache({o:getNativeScrollbarSize(t2,o2,s2),u:equalXY},getNativeScrollbarSize.bind(0,t2,o2,s2,!0)),[l2]=i2(),a2=getNativeScrollbarsHiding(o2),u2={x:l2.x===0,y:l2.y===0},d2={elements:{host:null,padding:!a2,viewport:t3=>a2&&t3===t3.ownerDocument.body&&t3,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},f3=assignDeep({},S),_2=assignDeep.bind(0,{},f3),h2=assignDeep.bind(0,{},d2),v3={k:l2,A:u2,I:a2,L:style(o2,"zIndex")==="-1",B:getRtlScrollBehavior(o2,s2),V:getFlexboxGlue(o2,s2),Y:e2.bind(0,"z"),j:e2.bind(0,"r"),N:h2,q:t3=>assignDeep(d2,t3)&&h2(),F:_2,G:t3=>assignDeep(f3,t3)&&_2(),X:assignDeep({},d2),U:assignDeep({},f3)},g2=window.addEventListener,w3=debounce(t3=>c2(t3?"z":"r"),{v:33,g:99});if(removeAttr(o2,"style"),removeElements(o2),g2("resize",w3.bind(0,!1)),!a2&&(!u2.x||!u2.y)){let t3;g2("resize",()=>{let n3=getPlugins()[Tt];t3=t3||n3&&n3.R(),t3&&t3(v3,r2,w3.bind(0,!0))})}return v3},getEnvironment=()=>(Lt||(Lt=createEnvironment()),Lt),resolveInitialization=(t2,n2)=>isFunction(n2)?n2.apply(0,t2):n2,staticInitializationElement=(t2,n2,o2,s2)=>{let e2=isUndefined(s2)?o2:s2;return resolveInitialization(t2,e2)||n2.apply(0,t2)},dynamicInitializationElement=(t2,n2,o2,s2)=>{let e2=isUndefined(s2)?o2:s2,c2=resolveInitialization(t2,e2);return!!c2&&(isHTMLElement(c2)?c2:n2.apply(0,t2))},cancelInitialization=(t2,n2,o2)=>{let{nativeScrollbarsOverlaid:s2,body:e2}=o2||{},{A:c2,I:r2}=getEnvironment(),{nativeScrollbarsOverlaid:i2,body:l2}=n2,a2=s2??i2,u2=isUndefined(e2)?l2:e2,d2=(c2.x||c2.y)&&a2,f3=t2&&(isNull(u2)?!r2:u2);return!!d2||!!f3},Ht=new WeakMap,addInstance=(t2,n2)=>{Ht.set(t2,n2)},removeInstance=t2=>{Ht.delete(t2)},getInstance=t2=>Ht.get(t2),getPropByPath=(t2,n2)=>t2?n2.split(".").reduce((t3,n3)=>t3&&hasOwnProperty(t3,n3)?t3[n3]:void 0,t2):void 0,createOptionCheck=(t2,n2,o2)=>s2=>[getPropByPath(t2,s2),o2||getPropByPath(n2,s2)!==void 0],createState=t2=>{let n2=t2;return[()=>n2,t3=>{n2=assignDeep({},n2,t3)}]},Pt="tabindex",Dt=createDiv.bind(0,""),unwrap=t2=>{appendChildren(parent(t2),contents(t2)),removeElements(t2)},createStructureSetupElements=t2=>{let n2=getEnvironment(),{N:o2,I:s2}=n2,e2=getPlugins()[Tt],c2=e2&&e2.T,{elements:r2}=o2(),{host:i2,padding:l2,viewport:a2,content:u2}=r2,d2=isHTMLElement(t2),f3=d2?{}:t2,{elements:_2}=f3,{host:h2,padding:v3,viewport:g2,content:w3}=_2||{},p2=d2?t2:f3.target,b3=is(p2,"textarea"),m2=p2.ownerDocument,y2=m2.documentElement,S3=p2===m2.body,x2=m2.defaultView,$2=staticInitializationElement.bind(0,[p2]),C3=dynamicInitializationElement.bind(0,[p2]),A3=resolveInitialization.bind(0,[p2]),L2=$2.bind(0,Dt,a2),H2=C3.bind(0,Dt,u2),P2=L2(g2),M2=P2===p2,k2=M2&&S3,V2=!M2&&H2(w3),j2=!M2&&isHTMLElement(P2)&&P2===V2,N2=j2&&!!A3(u2),q2=N2?L2():P2,F3=N2?V2:H2(),X2=k2?y2:j2?q2:P2,U2=b3?$2(Dt,i2,h2):p2,W2=k2?X2:U2,Z2=j2?F3:V2,J2=m2.activeElement,K2=!M2&&x2.top===x2&&J2===p2,Q2={W:p2,Z:W2,J:X2,K:!M2&&C3(Dt,l2,v3),tt:Z2,nt:!M2&&!s2&&c2&&c2(n2),ot:k2?y2:X2,st:k2?m2:X2,et:x2,ct:m2,rt:b3,it:S3,lt:d2,ut:M2,dt:j2,ft:(t3,n3)=>hasAttrClass(X2,M2?T:D,M2?n3:t3),_t:(t3,n3,o3)=>attrClass(X2,M2?T:D,M2?n3:t3,o3)},tt2=keys(Q2).reduce((t3,n3)=>{let o3=Q2[n3];return push(t3,o3&&!parent(o3)?o3:!1)},[]),elementIsGenerated=t3=>t3?indexOf(tt2,t3)>-1:null,{W:nt2,Z:ot2,K:st2,J:et2,tt:ct2,nt:rt2}=Q2,it2=[()=>{removeAttr(ot2,T),removeAttr(ot2,z),removeAttr(nt2,z),S3&&(removeAttr(y2,T),removeAttr(y2,z))}],lt2=b3&&elementIsGenerated(ot2),at2=b3?nt2:contents([ct2,et2,st2,ot2,nt2].find(t3=>elementIsGenerated(t3)===!1)),ut2=k2?nt2:ct2||et2;return[Q2,()=>{attr(ot2,T,M2?"viewport":"host"),attr(st2,B,""),attr(ct2,Y,""),M2||attr(et2,D,"");let t3=S3&&!M2?addClass(parent(p2),O):noop;if(lt2&&(insertAfter(nt2,ot2),push(it2,()=>{insertAfter(ot2,nt2),removeElements(ot2)})),appendChildren(ut2,at2),appendChildren(ot2,st2),appendChildren(st2||ot2,!M2&&et2),appendChildren(et2,ct2),push(it2,()=>{t3(),removeAttr(st2,B),removeAttr(ct2,Y),removeAttr(et2,E),removeAttr(et2,I),removeAttr(et2,D),elementIsGenerated(ct2)&&unwrap(ct2),elementIsGenerated(et2)&&unwrap(et2),elementIsGenerated(st2)&&unwrap(st2)}),s2&&!M2&&(attrClass(et2,D,R,!0),push(it2,removeAttr.bind(0,et2,D))),rt2&&(insertBefore(et2,rt2),push(it2,removeElements.bind(0,rt2))),K2){let t4=attr(et2,Pt);attr(et2,Pt,"-1"),et2.focus();let revertViewportTabIndex=()=>t4?attr(et2,Pt,t4):removeAttr(et2,Pt),n3=on(m2,"pointerdown keydown",()=>{revertViewportTabIndex(),n3()});push(it2,[revertViewportTabIndex,n3])}else J2&&J2.focus&&J2.focus();at2=0},runEachAndClear.bind(0,it2)]},createTrinsicUpdateSegment=(t2,n2)=>{let{tt:o2}=t2,[s2]=n2;return t3=>{let{V:n3}=getEnvironment(),{ht:e2}=s2(),{vt:c2}=t3,r2=(o2||!n3)&&c2;return r2&&style(o2,{height:e2?"":"100%"}),{gt:r2,wt:r2}}},createPaddingUpdateSegment=(t2,n2)=>{let[o2,s2]=n2,{Z:e2,K:c2,J:r2,ut:i2}=t2,[l2,a2]=createCache({u:equalTRBL,o:topRightBottomLeft()},topRightBottomLeft.bind(0,e2,"padding",""));return(t3,n3,e3)=>{let[u2,d2]=a2(e3),{I:f3,V:_2}=getEnvironment(),{bt:h2}=o2(),{gt:v3,wt:g2,yt:w3}=t3,[p2,b3]=n3("paddingAbsolute");(v3||d2||!_2&&g2)&&([u2,d2]=l2(e3));let y2=!i2&&(b3||w3||d2);if(y2){let t4=!p2||!c2&&!f3,n4=u2.r+u2.l,o3=u2.t+u2.b,e4={marginRight:t4&&!h2?-n4:0,marginBottom:t4?-o3:0,marginLeft:t4&&h2?-n4:0,top:t4?-u2.t:0,right:t4?h2?-u2.r:"auto":0,left:t4?h2?"auto":-u2.l:0,width:t4?`calc(100% + ${n4}px)`:""},i3={paddingTop:t4?u2.t:0,paddingRight:t4?u2.r:0,paddingBottom:t4?u2.b:0,paddingLeft:t4?u2.l:0};style(c2||r2,e4),style(r2,i3),s2({K:u2,St:!t4,P:c2?i3:assignDeep({},e4,i3)})}return{xt:y2}}},{max:Mt}=Math,Rt=Mt.bind(0,0),kt="visible",Bt="hidden",Vt=42,Yt={u:equalWH,o:{w:0,h:0}},jt={u:equalXY,o:{x:Bt,y:Bt}},getOverflowAmount=(t2,n2)=>{let o2=window.devicePixelRatio%1!==0?1:0,s2={w:Rt(t2.w-n2.w),h:Rt(t2.h-n2.h)};return{w:s2.w>o2?s2.w:0,h:s2.h>o2?s2.h:0}},overflowIsVisible=t2=>t2.indexOf(kt)===0,createOverflowUpdateSegment=(t2,n2)=>{let[o2,s2]=n2,{Z:e2,K:c2,J:r2,nt:i2,ut:l2,_t:a2,it:u2,et:d2}=t2,{k:f3,V:_2,I:h2,A:v3}=getEnvironment(),g2=getPlugins()[Tt],w3=!l2&&!h2&&(v3.x||v3.y),p2=u2&&l2,[b3,m2]=createCache(Yt,fractionalSize.bind(0,r2)),[y2,S3]=createCache(Yt,scrollSize.bind(0,r2)),[x2,$2]=createCache(Yt),[C3,O3]=createCache(Yt),[z2]=createCache(jt),fixFlexboxGlue=(t3,n3)=>{if(style(r2,{height:""}),n3){let{St:n4,K:s3}=o2(),{$t:c3,D:i3}=t3,l3=fractionalSize(e2),a3=clientSize(e2),u3=style(r2,"boxSizing")==="content-box",d3=n4||u3?s3.b+s3.t:0,f4=!(v3.x&&u3);style(r2,{height:a3.h+l3.h+(c3.x&&f4?i3.x:0)-d3})}},getViewportOverflowState=(t3,n3)=>{let o3=!h2&&!t3?Vt:0,getStatePerAxis=(t4,s4,e4)=>{let c4=style(r2,t4),l4=(n3?n3[t4]:c4)==="scroll";return[c4,l4,l4&&!h2?s4?o3:e4:0,s4&&!!o3]},[s3,e3,c3,i3]=getStatePerAxis("overflowX",v3.x,f3.x),[l3,a3,u3,d3]=getStatePerAxis("overflowY",v3.y,f3.y);return{Ct:{x:s3,y:l3},$t:{x:e3,y:a3},D:{x:c3,y:u3},M:{x:i3,y:d3}}},setViewportOverflowState=(t3,n3,o3,s3)=>{let setAxisOverflowStyle=(t4,n4)=>{let o4=overflowIsVisible(t4),s4=n4&&o4&&t4.replace(`${kt}-`,"")||"";return[n4&&!o4?t4:"",overflowIsVisible(s4)?"hidden":s4]},[e3,c3]=setAxisOverflowStyle(o3.x,n3.x),[r3,i3]=setAxisOverflowStyle(o3.y,n3.y);return s3.overflowX=c3&&r3?c3:e3,s3.overflowY=i3&&e3?i3:r3,getViewportOverflowState(t3,s3)},hideNativeScrollbars=(t3,n3,s3,e3)=>{let{D:c3,M:r3}=t3,{x:i3,y:l3}=r3,{x:a3,y:u3}=c3,{P:d3}=o2(),f4=n3?"marginLeft":"marginRight",_3=n3?"paddingLeft":"paddingRight",h3=d3[f4],v4=d3.marginBottom,g3=d3[_3],w4=d3.paddingBottom;e3.width=`calc(100% + ${u3+-1*h3}px)`,e3[f4]=-u3+h3,e3.marginBottom=-a3+v4,s3&&(e3[_3]=g3+(l3?u3:0),e3.paddingBottom=w4+(i3?a3:0))},[H2,P2]=g2?g2.H(w3,_2,r2,i2,o2,getViewportOverflowState,hideNativeScrollbars):[()=>w3,()=>[noop]];return(t3,n3,i3)=>{let{gt:u3,Ot:f4,wt:g3,xt:w4,vt:M2,yt:Y2}=t3,{ht:j2,bt:N2}=o2(),[q2,F3]=n3("showNativeOverlaidScrollbars"),[G2,X2]=n3("overflow"),U2=q2&&v3.x&&v3.y,W2=!l2&&!_2&&(u3||g3||f4||F3||M2),Z2=overflowIsVisible(G2.x),J2=overflowIsVisible(G2.y),K2=Z2||J2,Q2=m2(i3),tt2=S3(i3),nt2=$2(i3),ot2=O3(i3),st2;if(F3&&h2&&a2(R,L,!U2),W2&&(st2=getViewportOverflowState(U2),fixFlexboxGlue(st2,j2)),u3||w4||g3||Y2||F3){K2&&a2(k,A,!1);let[t4,n4]=P2(U2,N2,st2),[o3,s3]=Q2=b3(i3),[e3,c3]=tt2=y2(i3),l3=clientSize(r2),u4=e3,f5=l3;t4(),(c3||s3||F3)&&n4&&!U2&&H2(n4,e3,o3,N2)&&(f5=clientSize(r2),u4=scrollSize(r2));let _3={w:Rt(Mt(e3.w,u4.w)+o3.w),h:Rt(Mt(e3.h,u4.h)+o3.h)},h3={w:Rt((p2?d2.innerWidth:f5.w+Rt(l3.w-e3.w))+o3.w),h:Rt((p2?d2.innerHeight+o3.h:f5.h+Rt(l3.h-e3.h))+o3.h)};ot2=C3(h3),nt2=x2(getOverflowAmount(_3,h3),i3)}let[et2,ct2]=ot2,[rt2,it2]=nt2,[lt2,at2]=tt2,[ut2,dt2]=Q2,ft2={x:rt2.w>0,y:rt2.h>0},_t2=Z2&&J2&&(ft2.x||ft2.y)||Z2&&ft2.x&&!ft2.y||J2&&ft2.y&&!ft2.x;if(w4||Y2||dt2||at2||ct2||it2||X2||F3||W2){let t4={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},n4=setViewportOverflowState(U2,ft2,G2,t4),o3=H2(n4,lt2,ut2,N2);l2||hideNativeScrollbars(n4,N2,o3,t4),W2&&fixFlexboxGlue(n4,j2),l2?(attr(e2,E,t4.overflowX),attr(e2,I,t4.overflowY)):style(r2,t4)}attrClass(e2,T,A,_t2),attrClass(c2,B,V,_t2),l2||attrClass(r2,D,k,K2);let[ht2,vt2]=z2(getViewportOverflowState(U2).Ct);return s2({Ct:ht2,zt:{x:et2.w,y:et2.h},Tt:{x:rt2.w,y:rt2.h},Et:ft2}),{It:vt2,At:ct2,Lt:it2}}},prepareUpdateHints=(t2,n2,o2)=>{let s2={},e2=n2||{},c2=keys(t2).concat(keys(e2));return each(c2,n3=>{let c3=t2[n3],r2=e2[n3];s2[n3]=!!(o2||c3||r2)}),s2},createStructureSetupUpdate=(t2,n2)=>{let{W:o2,J:s2,_t:e2,ut:c2}=t2,{I:r2,A:i2,V:l2}=getEnvironment(),a2=!r2&&(i2.x||i2.y),u2=[createTrinsicUpdateSegment(t2,n2),createPaddingUpdateSegment(t2,n2),createOverflowUpdateSegment(t2,n2)];return(t3,n3,r3)=>{let i3=prepareUpdateHints(assignDeep({gt:!1,xt:!1,yt:!1,vt:!1,At:!1,Lt:!1,It:!1,Ot:!1,wt:!1},n3),{},r3),d2=a2||!l2,f3=d2&&scrollLeft(s2),_2=d2&&scrollTop(s2);e2("",P,!0);let h2=i3;return each(u2,n4=>{h2=prepareUpdateHints(h2,n4(h2,t3,!!r3)||{},r3)}),scrollLeft(s2,f3),scrollTop(s2,_2),e2("",P),c2||(scrollLeft(o2,0),scrollTop(o2,0)),h2}},createEventContentChange=(t2,n2,o2)=>{let s2,e2=!1,destroy=()=>{e2=!0},updateElements=c2=>{if(o2){let r2=o2.reduce((n3,o3)=>{if(o3){let[s3,e3]=o3,r3=e3&&s3&&(c2?c2(s3):find(s3,t2));r3&&r3.length&&e3&&isString(e3)&&push(n3,[r3,e3.trim()],!0)}return n3},[]);each(r2,o3=>each(o3[0],c3=>{let r3=o3[1],i2=s2.get(c3)||[];if(t2.contains(c3)){let t3=on(c3,r3,o4=>{e2?(t3(),s2.delete(c3)):n2(o4)});s2.set(c3,push(i2,t3))}else runEachAndClear(i2),s2.delete(c3)}))}};return o2&&(s2=new WeakMap,updateElements()),[destroy,updateElements]},createDOMObserver=(t2,n2,o2,s2)=>{let e2=!1,{Ht:c2,Pt:r2,Dt:i2,Mt:a2,Rt:u2,kt:d2}=s2||{},f3=debounce(()=>{e2&&o2(!0)},{v:33,g:99}),[_2,h2]=createEventContentChange(t2,f3,i2),v3=c2||[],g2=r2||[],w3=v3.concat(g2),observerCallback=(e3,c3)=>{let r3=u2||noop,i3=d2||noop,l2=new Set,f4=new Set,_3=!1,v4=!1;if(each(e3,o3=>{let{attributeName:e4,target:c4,type:u3,oldValue:d3,addedNodes:h3,removedNodes:w4}=o3,p3=u3==="attributes",b3=u3==="childList",m2=t2===c4,y2=p3&&isString(e4)?attr(c4,e4):0,S3=y2!==0&&d3!==y2,x2=indexOf(g2,e4)>-1&&S3;if(n2&&(b3||!m2)){let n3=!p3,u4=p3&&S3,f5=u4&&a2&&is(c4,a2),g3=(f5?!r3(c4,e4,d3,y2):n3||u4)&&!i3(o3,!!f5,t2,s2);each(h3,t3=>l2.add(t3)),each(w4,t3=>l2.add(t3)),v4=v4||g3}!n2&&m2&&S3&&!r3(c4,e4,d3,y2)&&(f4.add(e4),_3=_3||x2)}),l2.size>0&&h2(t3=>from(l2).reduce((n3,o3)=>(push(n3,find(t3,o3)),is(o3,t3)?push(n3,o3):n3),[])),n2)return!c3&&v4&&o2(!1),[!1];if(f4.size>0||_3){let t3=[from(f4),_3];return!c3&&o2.apply(0,t3),t3}},p2=new l(t3=>observerCallback(t3));return p2.observe(t2,{attributes:!0,attributeOldValue:!0,attributeFilter:w3,subtree:n2,childList:n2,characterData:n2}),e2=!0,[()=>{e2&&(_2(),p2.disconnect(),e2=!1)},()=>{if(e2){f3.m();let t3=p2.takeRecords();return!isEmptyArray(t3)&&observerCallback(t3,!0)}}]},Nt=3333333,domRectHasDimensions=t2=>t2&&(t2.height||t2.width),createSizeObserver=(t2,n2,o2)=>{let{Bt:s2=!1,Vt:e2=!1}=o2||{},c2=getPlugins()[xt],{B:r2}=getEnvironment(),l2=createDOM(`
`)[0],a2=l2.firstChild,d2=directionIsRTL.bind(0,t2),[f3]=createCache({o:void 0,_:!0,u:(t3,n3)=>!(!t3||!domRectHasDimensions(t3)&&domRectHasDimensions(n3))}),onSizeChangedCallbackProxy=t3=>{let o3=isArray(t3)&&t3.length>0&&isObject(t3[0]),e3=!o3&&isBoolean(t3[0]),c3=!1,i3=!1,a3=!0;if(o3){let[n3,,o4]=f3(t3.pop().contentRect),s3=domRectHasDimensions(n3),e4=domRectHasDimensions(o4);c3=!o4||!s3,i3=!e4&&s3,a3=!c3}else e3?[,a3]=t3:i3=t3===!0;if(s2&&a3){let n3=e3?t3[0]:directionIsRTL(l2);scrollLeft(l2,n3?r2.n?-Nt:r2.i?0:Nt:Nt),scrollTop(l2,Nt)}c3||n2({gt:!e3,Yt:e3?t3:void 0,Vt:!!i3})},_2=[],h2=e2?onSizeChangedCallbackProxy:!1;return[()=>{runEachAndClear(_2),removeElements(l2)},()=>{if(u){let t3=new u(onSizeChangedCallbackProxy);t3.observe(a2),push(_2,()=>{t3.disconnect()})}else if(c2){let[t3,n3]=c2.O(a2,onSizeChangedCallbackProxy,e2);h2=t3,push(_2,n3)}if(s2){let[t3]=createCache({o:void 0},d2);push(_2,on(l2,"scroll",n3=>{let o3=t3(),[s3,e3,c3]=o3;e3&&(removeClass(a2,"ltr rtl"),s3?addClass(a2,"rtl"):addClass(a2,"ltr"),onSizeChangedCallbackProxy([!!s3,e3,c3])),stopPropagation(n3)}))}h2&&(addClass(l2,N),push(_2,on(l2,"animationstart",h2,{C:!!u}))),(u||c2)&&appendChildren(t2,l2)}]},isHeightIntrinsic=t2=>t2.h===0||t2.isIntersecting||t2.intersectionRatio>0,createTrinsicObserver=(t2,n2)=>{let o2,s2=createDiv(U),e2=[],[c2]=createCache({o:!1}),triggerOnTrinsicChangedCallback=(t3,o3)=>{if(t3){let s3=c2(isHeightIntrinsic(t3)),[,e3]=s3;if(e3)return!o3&&n2(s3),[s3]}},intersectionObserverCallback=(t3,n3)=>{if(t3&&t3.length>0)return triggerOnTrinsicChangedCallback(t3.pop(),n3)};return[()=>{runEachAndClear(e2),removeElements(s2)},()=>{if(a)o2=new a(t3=>intersectionObserverCallback(t3),{root:t2}),o2.observe(s2),push(e2,()=>{o2.disconnect()});else{let onSizeChanged=()=>{let t4=offsetSize(s2);triggerOnTrinsicChangedCallback(t4)},[t3,n3]=createSizeObserver(s2,onSizeChanged);push(e2,t3),n3(),onSizeChanged()}appendChildren(t2,s2)},()=>{if(o2)return intersectionObserverCallback(o2.takeRecords(),!0)}]},qt=`[${T}]`,Ft=`[${D}]`,Gt=["tabindex"],Xt=["wrap","cols","rows"],Ut=["id","class","style","open"],createStructureSetupObservers=(t2,n2,o2)=>{let s2,e2,c2,{Z:r2,J:i2,tt:l2,rt:a2,ut:d2,ft:f3,_t:_2}=t2,{V:h2}=getEnvironment(),[v3]=createCache({u:equalWH,o:{w:0,h:0}},()=>{let t3=f3(k,A),n3=f3(M,""),o3=n3&&scrollLeft(i2),s3=n3&&scrollTop(i2);_2(k,A),_2(M,""),_2("",P,!0);let e3=scrollSize(l2),c3=scrollSize(i2),r3=fractionalSize(i2);return _2(k,A,t3),_2(M,"",n3),_2("",P),scrollLeft(i2,o3),scrollTop(i2,s3),{w:c3.w+e3.w+r3.w,h:c3.h+e3.h+r3.h}}),g2=a2?Xt:Ut.concat(Xt),w3=debounce(o2,{v:()=>s2,g:()=>e2,p(t3,n3){let[o3]=t3,[s3]=n3;return[keys(o3).concat(keys(s3)).reduce((t4,n4)=>(t4[n4]=o3[n4]||s3[n4],t4),{})]}}),updateViewportAttrsFromHost=t3=>{each(t3||Gt,t4=>{if(indexOf(Gt,t4)>-1){let n3=attr(r2,t4);isString(n3)?attr(i2,t4,n3):removeAttr(i2,t4)}})},onTrinsicChanged=(t3,s3)=>{let[e3,c3]=t3,r3={vt:c3};return n2({ht:e3}),!s3&&o2(r3),r3},onSizeChanged=({gt:t3,Yt:s3,Vt:e3})=>{let c3=!t3||e3?o2:w3,r3=!1;if(s3){let[t4,o3]=s3;r3=o3,n2({bt:t4})}c3({gt:t3,yt:r3})},onContentMutation=(t3,n3)=>{let[,s3]=v3(),e3={wt:s3};return s3&&!n3&&(t3?o2:w3)(e3),e3},onHostMutation=(t3,n3,o3)=>{let s3={Ot:n3};return n3?!o3&&w3(s3):d2||updateViewportAttrsFromHost(t3),s3},[p2,b3,m2]=l2||!h2?createTrinsicObserver(r2,onTrinsicChanged):[noop,noop,noop],[y2,S3]=d2?[noop,noop]:createSizeObserver(r2,onSizeChanged,{Vt:!0,Bt:!0}),[x2,$2]=createDOMObserver(r2,!1,onHostMutation,{Pt:Ut,Ht:Ut.concat(Gt)}),C3=d2&&u&&new u(onSizeChanged.bind(0,{gt:!0}));return C3&&C3.observe(r2),updateViewportAttrsFromHost(),[()=>{p2(),y2(),c2&&c2[0](),C3&&C3.disconnect(),x2()},()=>{S3(),b3()},()=>{let t3={},n3=$2(),o3=m2(),s3=c2&&c2[1]();return n3&&assignDeep(t3,onHostMutation.apply(0,push(n3,!0))),o3&&assignDeep(t3,onTrinsicChanged.apply(0,push(o3,!0))),s3&&assignDeep(t3,onContentMutation.apply(0,push(s3,!0))),t3},t3=>{let[n3]=t3("update.ignoreMutation"),[o3,r3]=t3("update.attributes"),[a3,u2]=t3("update.elementEvents"),[f4,_3]=t3("update.debounce"),h3=u2||r3,ignoreMutationFromOptions=t4=>isFunction(n3)&&n3(t4);if(h3&&(c2&&(c2[1](),c2[0]()),c2=createDOMObserver(l2||i2,!0,onContentMutation,{Ht:g2.concat(o3||[]),Dt:a3,Mt:qt,kt:(t4,n4)=>{let{target:o4,attributeName:s3}=t4;return(!n4&&s3&&!d2?liesBetween(o4,qt,Ft):!1)||!!closest(o4,`.${J}`)||!!ignoreMutationFromOptions(t4)}})),_3)if(w3.m(),isArray(f4)){let t4=f4[0],n4=f4[1];s2=isNumber(t4)&&t4,e2=isNumber(n4)&&n4}else isNumber(f4)?(s2=f4,e2=!1):(s2=!1,e2=!1)}]},Wt={x:0,y:0},createInitialStructureSetupUpdateState=t2=>({K:{t:0,r:0,b:0,l:0},St:!1,P:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:Wt,Tt:Wt,Ct:{x:"hidden",y:"hidden"},Et:{x:!1,y:!1},ht:!1,bt:directionIsRTL(t2.Z)}),createStructureSetup=(t2,n2)=>{let o2=createOptionCheck(n2,{}),[s2,e2,c2]=createEventListenerHub(),[r2,i2,l2]=createStructureSetupElements(t2),a2=createState(createInitialStructureSetupUpdateState(r2)),[u2,d2]=a2,f3=createStructureSetupUpdate(r2,a2),triggerUpdateEvent=(t3,n3,o3)=>{let e3=keys(t3).some(n4=>t3[n4])||!isEmptyObject(n3)||o3;return e3&&c2("u",[t3,n3,o3]),e3},[_2,h2,v3,g2]=createStructureSetupObservers(r2,d2,t3=>triggerUpdateEvent(f3(o2,t3),{},!1)),w3=u2.bind(0);return w3.jt=t3=>s2("u",t3),w3.Nt=()=>{let{W:t3,J:n3}=r2,o3=scrollLeft(t3),s3=scrollTop(t3);h2(),i2(),scrollLeft(n3,o3),scrollTop(n3,s3)},w3.qt=r2,[(t3,o3)=>{let s3=createOptionCheck(n2,t3,o3);return g2(s3),triggerUpdateEvent(f3(s3,v3(),o3),t3,!!o3)},w3,()=>{e2(),_2(),l2()}]},{round:Zt}=Math,getScale=t2=>{let{width:n2,height:o2}=getBoundingClientRect(t2),{w:s2,h:e2}=offsetSize(t2);return{x:Zt(n2)/s2||1,y:Zt(o2)/e2||1}},continuePointerDown=(t2,n2,o2)=>{let s2=n2.scrollbars,{button:e2,isPrimary:c2,pointerType:r2}=t2,{pointers:i2}=s2;return e2===0&&c2&&s2[o2?"dragScroll":"clickScroll"]&&(i2||[]).includes(r2)},createRootClickStopPropagationEvents=(t2,n2)=>on(t2,"mousedown",on.bind(0,n2,"click",stopPropagation,{C:!0,$:!0}),{$:!0}),Jt="pointerup pointerleave pointercancel lostpointercapture",createInteractiveScrollEvents=(t2,n2,o2,s2,e2,c2,r2)=>{let{B:i2}=getEnvironment(),{Ft:l2,Gt:a2,Xt:u2}=s2,d2=`scroll${r2?"Left":"Top"}`,f3=`client${r2?"X":"Y"}`,_2=r2?"width":"height",h2=r2?"left":"top",v3=r2?"w":"h",g2=r2?"x":"y",createRelativeHandleMove=(t3,n3)=>o3=>{let{Tt:s3}=c2(),f4=offsetSize(a2)[v3]-offsetSize(l2)[v3],h3=n3*o3/f4*s3[g2],p2=directionIsRTL(u2)&&r2?i2.n||i2.i?1:-1:1;e2[d2]=t3+h3*p2};return on(a2,"pointerdown",s3=>{let c3=closest(s3.target,`.${ot}`)===l2,r3=c3?l2:a2;if(attrClass(n2,T,H,!0),continuePointerDown(s3,t2,c3)){let t3=!c3&&s3.shiftKey,getHandleRect=()=>getBoundingClientRect(l2),getTrackRect=()=>getBoundingClientRect(a2),getHandleOffset=(t4,n3)=>(t4||getHandleRect())[h2]-(n3||getTrackRect())[h2],i3=createRelativeHandleMove(e2[d2]||0,1/getScale(e2)[g2]),u3=s3[f3],v4=getHandleRect(),w3=getTrackRect(),p2=v4[_2],b3=getHandleOffset(v4,w3)+p2/2,m2=u3-w3[h2],y2=c3?0:m2-b3,releasePointerCapture=t4=>{runEachAndClear(S3),r3.releasePointerCapture(t4.pointerId)},S3=[attrClass.bind(0,n2,T,H),on(o2,Jt,releasePointerCapture),on(o2,"selectstart",t4=>preventDefault(t4),{S:!1}),on(a2,Jt,releasePointerCapture),on(a2,"pointermove",n3=>{let o3=n3[f3]-u3;(c3||t3)&&i3(y2+o3)})];if(t3)i3(y2);else if(!c3){let t4=getPlugins()[It];t4&&push(S3,t4.O(i3,getHandleOffset,y2,p2,m2))}r3.setPointerCapture(s3.pointerId)}})},createScrollbarsSetupEvents=(t2,n2)=>(o2,s2,e2,c2,r2,i2)=>{let{Xt:l2}=o2,[a2,u2]=selfClearTimeout(333),d2=!!r2.scrollBy,f3=!0;return runEachAndClear.bind(0,[on(l2,"pointerenter",()=>{s2(rt,!0)}),on(l2,"pointerleave pointercancel",()=>{s2(rt)}),on(l2,"wheel",t3=>{let{deltaX:n3,deltaY:o3,deltaMode:e3}=t3;d2&&f3&&e3===0&&parent(l2)===c2&&r2.scrollBy({left:n3,top:o3,behavior:"smooth"}),f3=!1,s2(at,!0),a2(()=>{f3=!0,s2(at)}),preventDefault(t3)},{S:!1,$:!0}),createRootClickStopPropagationEvents(l2,e2),createInteractiveScrollEvents(t2,c2,e2,o2,r2,n2,i2),u2])},{min:Kt,max:Qt,abs:tn,round:nn}=Math,getScrollbarHandleLengthRatio=(t2,n2,o2,s2)=>{if(s2){let t3=o2?"x":"y",{Tt:n3,zt:e3}=s2,c3=e3[t3],r3=n3[t3];return Qt(0,Kt(1,c3/(c3+r3)))}let e2=o2?"width":"height",c2=getBoundingClientRect(t2)[e2],r2=getBoundingClientRect(n2)[e2];return Qt(0,Kt(1,c2/r2))},getScrollbarHandleOffsetRatio=(t2,n2,o2,s2,e2,c2)=>{let{B:r2}=getEnvironment(),i2=c2?"x":"y",l2=c2?"Left":"Top",{Tt:a2}=s2,u2=nn(a2[i2]),d2=tn(o2[`scroll${l2}`]),f3=c2&&e2,_2=r2.i?d2:u2-d2,v3=Kt(1,(f3?_2:d2)/u2),g2=getScrollbarHandleLengthRatio(t2,n2,c2);return 1/g2*(1-g2)*v3},createScrollbarsSetupElements=(t2,n2,o2)=>{let{N:s2,L:e2}=getEnvironment(),{scrollbars:c2}=s2(),{slot:r2}=c2,{ct:i2,W:l2,Z:a2,J:u2,lt:d2,ot:f3,it:h2,ut:v3}=n2,{scrollbars:g2}=d2?{}:t2,{slot:w3}=g2||{},p2=dynamicInitializationElement([l2,a2,u2],()=>v3&&h2?l2:a2,r2,w3),scrollbarStructureAddRemoveClass=(t3,n3,o3)=>{let s3=o3?addClass:removeClass;each(t3,t4=>{s3(t4.Xt,n3)})},scrollbarsHandleStyle=(t3,n3)=>{each(t3,t4=>{let[o3,s3]=n3(t4);style(o3,s3)})},scrollbarStructureRefreshHandleLength=(t3,n3,o3)=>{scrollbarsHandleStyle(t3,t4=>{let{Ft:s3,Gt:e3}=t4;return[s3,{[o3?"width":"height"]:`${(100*getScrollbarHandleLengthRatio(s3,e3,o3,n3)).toFixed(3)}%`}]})},scrollbarStructureRefreshHandleOffset=(t3,n3,o3)=>{let s3=o3?"X":"Y";scrollbarsHandleStyle(t3,t4=>{let{Ft:e3,Gt:c3,Xt:r3}=t4,i3=getScrollbarHandleOffsetRatio(e3,c3,f3,n3,directionIsRTL(r3),o3);return[e3,{transform:i3===i3?`translate${s3}(${(100*i3).toFixed(3)}%)`:""}]})},b3=[],m2=[],y2=[],scrollbarsAddRemoveClass=(t3,n3,o3)=>{let s3=isBoolean(o3),e3=s3?o3:!0,c3=s3?!o3:!0;e3&&scrollbarStructureAddRemoveClass(m2,t3,n3),c3&&scrollbarStructureAddRemoveClass(y2,t3,n3)},refreshScrollbarsHandleLength=t3=>{scrollbarStructureRefreshHandleLength(m2,t3,!0),scrollbarStructureRefreshHandleLength(y2,t3)},refreshScrollbarsHandleOffset=t3=>{scrollbarStructureRefreshHandleOffset(m2,t3,!0),scrollbarStructureRefreshHandleOffset(y2,t3)},generateScrollbarDOM=t3=>{let n3=t3?Q:tt,s3=t3?m2:y2,c3=isEmptyArray(s3)?ct:"",r3=createDiv(`${J} ${n3} ${c3}`),l3=createDiv(nt),u3=createDiv(ot),d3={Xt:r3,Gt:l3,Ft:u3};return e2||addClass(r3,W),appendChildren(r3,l3),appendChildren(l3,u3),push(s3,d3),push(b3,[removeElements.bind(0,r3),o2(d3,scrollbarsAddRemoveClass,i2,a2,f3,t3)]),d3},S3=generateScrollbarDOM.bind(0,!0),x2=generateScrollbarDOM.bind(0,!1),appendElements=()=>{appendChildren(p2,m2[0].Xt),appendChildren(p2,y2[0].Xt),_(()=>{scrollbarsAddRemoveClass(ct)},300)};return S3(),x2(),[{Ut:refreshScrollbarsHandleLength,Wt:refreshScrollbarsHandleOffset,Zt:scrollbarsAddRemoveClass,Jt:{Kt:m2,Qt:S3,tn:scrollbarsHandleStyle.bind(0,m2)},nn:{Kt:y2,Qt:x2,tn:scrollbarsHandleStyle.bind(0,y2)}},appendElements,runEachAndClear.bind(0,b3)]},createScrollbarsSetup=(t2,n2,o2,s2)=>{let e2,c2,r2,i2,l2,a2=0,u2=createState({}),[d2]=u2,[f3,_2]=selfClearTimeout(),[h2,v3]=selfClearTimeout(),[g2,w3]=selfClearTimeout(100),[p2,b3]=selfClearTimeout(100),[m2,y2]=selfClearTimeout(()=>a2),[S3,x2,$2]=createScrollbarsSetupElements(t2,o2.qt,createScrollbarsSetupEvents(n2,o2)),{Z:C3,J:O3,ot:z2,st:T2,ut:E3,it:I2}=o2.qt,{Jt:A3,nn:L2,Zt:H2,Ut:P2,Wt:D2}=S3,{tn:M2}=A3,{tn:R2}=L2,styleScrollbarPosition=t3=>{let{Xt:n3}=t3,o3=E3&&!I2&&parent(n3)===O3&&n3;return[o3,{transform:o3?`translate(${scrollLeft(z2)}px, ${scrollTop(z2)}px)`:""}]},manageScrollbarsAutoHide=(t3,n3)=>{if(y2(),t3)H2(lt);else{let hide=()=>H2(lt,!0);a2>0&&!n3?m2(hide):hide()}},onHostMouseEnter=()=>{i2=c2,i2&&manageScrollbarsAutoHide(!0)},k2=[w3,y2,b3,v3,_2,$2,on(C3,"pointerover",onHostMouseEnter,{C:!0}),on(C3,"pointerenter",onHostMouseEnter),on(C3,"pointerleave",()=>{i2=!1,c2&&manageScrollbarsAutoHide(!1)}),on(C3,"pointermove",()=>{e2&&f3(()=>{w3(),manageScrollbarsAutoHide(!0),p2(()=>{e2&&manageScrollbarsAutoHide(!1)})})}),on(T2,"scroll",t3=>{h2(()=>{D2(o2()),r2&&manageScrollbarsAutoHide(!0),g2(()=>{r2&&!i2&&manageScrollbarsAutoHide(!1)})}),s2(t3),E3&&M2(styleScrollbarPosition),E3&&R2(styleScrollbarPosition)})],B2=d2.bind(0);return B2.qt=S3,B2.Nt=x2,[(t3,s3,i3)=>{let{At:u3,Lt:d3,It:f4,yt:_3}=i3,{A:h3}=getEnvironment(),v4=createOptionCheck(n2,t3,s3),g3=o2(),{Tt:w4,Ct:p3,bt:b4}=g3,[m3,y3]=v4("showNativeOverlaidScrollbars"),[S4,x3]=v4("scrollbars.theme"),[$3,C4]=v4("scrollbars.visibility"),[O4,z3]=v4("scrollbars.autoHide"),[T3]=v4("scrollbars.autoHideDelay"),[E4,A4]=v4("scrollbars.dragScroll"),[L3,M3]=v4("scrollbars.clickScroll"),R3=u3||d3||_3,k3=f4||C4,B3=m3&&h3.x&&h3.y,setScrollbarVisibility=(t4,n3)=>{let o3=$3==="visible"||$3==="auto"&&t4==="scroll";return H2(st,o3,n3),o3};if(a2=T3,y3&&H2(Z,B3),x3&&(H2(l2),H2(S4,!0),l2=S4),z3&&(e2=O4==="move",c2=O4==="leave",r2=O4!=="never",manageScrollbarsAutoHide(!r2,!0)),A4&&H2(dt,E4),M3&&H2(ut,L3),k3){let t4=setScrollbarVisibility(p3.x,!0),n3=setScrollbarVisibility(p3.y,!1);H2(et,!(t4&&n3))}R3&&(P2(g3),D2(g3),H2(it,!w4.x,!0),H2(it,!w4.y,!1),H2(K,b4&&!I2))},B2,runEachAndClear.bind(0,k2)]},invokePluginInstance=(t2,n2,o2)=>{isFunction(t2)&&t2(n2||void 0,o2||void 0)},OverlayScrollbars=(t2,n2,o2)=>{let{F:s2,N:e2,Y:c2,j:r2}=getEnvironment(),i2=getPlugins(),l2=isHTMLElement(t2),a2=l2?t2:t2.target,u2=getInstance(a2);if(n2&&!u2){let u3=!1,validateOptions=t3=>{let n3=getPlugins()[mt],o3=n3&&n3.O;return o3?o3(t3,!0):t3},d2=assignDeep({},s2(),validateOptions(n2)),[f3,_2,h2]=createEventListenerHub(o2),[v3,g2,w3]=createStructureSetup(t2,d2),[p2,b3,m2]=createScrollbarsSetup(t2,d2,g2,t3=>h2("scroll",[$2,t3])),update=(t3,n3)=>v3(t3,!!n3),y2=update.bind(0,{},!0),S3=c2(y2),x2=r2(y2),destroy=t3=>{removeInstance(a2),S3(),x2(),m2(),w3(),u3=!0,h2("destroyed",[$2,!!t3]),_2()},$2={options(t3,n3){if(t3){let o3=n3?s2():{},e3=getOptionsDiff(d2,assignDeep(o3,validateOptions(t3)));isEmptyObject(e3)||(assignDeep(d2,e3),update(e3))}return assignDeep({},d2)},on:f3,off:(t3,n3)=>{t3&&n3&&_2(t3,n3)},state(){let{zt:t3,Tt:n3,Ct:o3,Et:s3,K:e3,St:c3,bt:r3}=g2();return assignDeep({},{overflowEdge:t3,overflowAmount:n3,overflowStyle:o3,hasOverflow:s3,padding:e3,paddingAbsolute:c3,directionRTL:r3,destroyed:u3})},elements(){let{W:t3,Z:n3,K:o3,J:s3,tt:e3,ot:c3,st:r3}=g2.qt,{Jt:i3,nn:l3}=b3.qt,translateScrollbarStructure=t4=>{let{Ft:n4,Gt:o4,Xt:s4}=t4;return{scrollbar:s4,track:o4,handle:n4}},translateScrollbarsSetupElement=t4=>{let{Kt:n4,Qt:o4}=t4,s4=translateScrollbarStructure(n4[0]);return assignDeep({},s4,{clone:()=>{let t5=translateScrollbarStructure(o4());return p2({},!0,{}),t5}})};return assignDeep({},{target:t3,host:n3,padding:o3||s3,viewport:s3,content:e3||s3,scrollOffsetElement:c3,scrollEventElement:r3,scrollbarHorizontal:translateScrollbarsSetupElement(i3),scrollbarVertical:translateScrollbarsSetupElement(l3)})},update:t3=>update({},t3),destroy:destroy.bind(0)};return g2.jt((t3,n3,o3)=>{p2(n3,o3,t3)}),addInstance(a2,$2),each(keys(i2),t3=>invokePluginInstance(i2[t3],0,$2)),cancelInitialization(g2.qt.it,e2().cancel,!l2&&t2.cancel)?(destroy(!0),$2):(g2.Nt(),b3.Nt(),h2("initialized",[$2]),g2.jt((t3,n3,o3)=>{let{gt:s3,yt:e3,vt:c3,At:r3,Lt:i3,It:l3,wt:a3,Ot:u4}=t3;h2("updated",[$2,{updateHints:{sizeChanged:s3,directionChanged:e3,heightIntrinsicChanged:c3,overflowEdgeChanged:r3,overflowAmountChanged:i3,overflowStyleChanged:l3,contentMutation:a3,hostMutation:u4},changedOptions:n3,force:o3}])}),$2.update(!0),$2)}return u2};OverlayScrollbars.plugin=t2=>{each(addPlugin(t2),t3=>invokePluginInstance(t3,OverlayScrollbars))};OverlayScrollbars.valid=t2=>{let n2=t2&&t2.elements,o2=isFunction(n2)&&n2();return isPlainObject(o2)&&!!getInstance(o2.target)};OverlayScrollbars.env=()=>{let{k:t2,A:n2,I:o2,B:s2,V:e2,L:c2,X:r2,U:i2,N:l2,q:a2,F:u2,G:d2}=getEnvironment();return assignDeep({},{scrollbarsSize:t2,scrollbarsOverlaid:n2,scrollbarsHiding:o2,rtlScrollBehavior:s2,flexboxGlue:e2,cssCustomProperties:c2,staticDefaultInitialization:r2,staticDefaultOptions:i2,getDefaultInitialization:l2,setDefaultInitialization:a2,getDefaultOptions:u2,setDefaultOptions:d2})};var O2=()=>{if(typeof window>"u"){let n2=()=>{};return[n2,n2]}let l2,c2,t2=window,o2=typeof t2.requestIdleCallback=="function",a2=t2.requestAnimationFrame,i2=t2.cancelAnimationFrame,r2=o2?t2.requestIdleCallback:a2,u2=o2?t2.cancelIdleCallback:i2,s2=()=>{u2(l2),i2(c2)};return[(n2,e2)=>{s2(),l2=r2(o2?()=>{s2(),c2=a2(n2)}:n2,typeof e2=="object"?e2:{timeout:2233})},s2]},S2=l2=>{let{options:c2,events:t2,defer:o2}=l2||{},[a2,i2]=(0,import_react.useMemo)(O2,[]),r2=(0,import_react.useRef)(null),u2=(0,import_react.useRef)(o2),s2=(0,import_react.useRef)(c2),n2=(0,import_react.useRef)(t2);return(0,import_react.useEffect)(()=>{u2.current=o2},[o2]),(0,import_react.useEffect)(()=>{let{current:e2}=r2;s2.current=c2,OverlayScrollbars.valid(e2)&&e2.options(c2||{},!0)},[c2]),(0,import_react.useEffect)(()=>{let{current:e2}=r2;n2.current=t2,OverlayScrollbars.valid(e2)&&e2.on(t2||{},!0)},[t2]),(0,import_react.useEffect)(()=>()=>{var e2;i2(),(e2=r2.current)==null||e2.destroy()},[]),(0,import_react.useMemo)(()=>[e2=>{let y2=r2.current;if(OverlayScrollbars.valid(y2))return;let d2=u2.current,I2=s2.current||{},m2=n2.current||{},p2=()=>r2.current=OverlayScrollbars(e2,I2,m2);d2?a2(p2,d2):p2()},()=>r2.current],[])},F2=(l2,c2)=>{let{element:t2="div",options:o2,events:a2,defer:i2,children:r2,...u2}=l2,s2=t2,n2=(0,import_react.useRef)(null),e2=(0,import_react.useRef)(null),[y2,d2]=S2({options:o2,events:a2,defer:i2});return(0,import_react.useEffect)(()=>{let{current:I2}=n2,{current:m2}=e2;return I2&&m2&&y2({target:I2,elements:{viewport:m2,content:m2}}),()=>{var p2;return(p2=d2())==null?void 0:p2.destroy()}},[y2,t2]),(0,import_react.useImperativeHandle)(c2,()=>({osInstance:d2,getElement:()=>n2.current}),[]),import_react.default.createElement(s2,{"data-overlayscrollbars-initialize":"",ref:n2,...u2},import_react.default.createElement("div",{ref:e2},r2))},A2=(0,import_react.forwardRef)(F2),OverlayScrollbars2=A2,OverlayScrollbars_default=A2;export{OverlayScrollbars2 as OverlayScrollbars,OverlayScrollbars_default as default}; diff --git a/docs/sb-manager/WithTooltip-J57HCPYA-3VOMFVVS.js b/docs/sb-manager/WithTooltip-J57HCPYA-3VOMFVVS.js new file mode 100644 index 0000000..6c14973 --- /dev/null +++ b/docs/sb-manager/WithTooltip-J57HCPYA-3VOMFVVS.js @@ -0,0 +1 @@ +import{WithToolTipState,WithTooltipPure}from"./chunk-NBCGHFLK.js";import"./chunk-QPL63VNK.js";import"./chunk-SPUAGIB2.js";import"./chunk-QMHPSTMR.js";import"./chunk-3J6GS6FI.js";import"./chunk-RKFFWI2D.js";export{WithToolTipState,WithToolTipState as WithTooltip,WithTooltipPure}; diff --git a/docs/sb-manager/chunk-3J6GS6FI.js b/docs/sb-manager/chunk-3J6GS6FI.js new file mode 100644 index 0000000..ac21a2c --- /dev/null +++ b/docs/sb-manager/chunk-3J6GS6FI.js @@ -0,0 +1 @@ +import{__commonJS,__require}from"./chunk-RKFFWI2D.js";var require_memoizerific=__commonJS({"../../node_modules/memoizerific/memoizerific.js"(exports,module){(function(f){if(typeof exports=="object"&&typeof module<"u")module.exports=f();else if(typeof define=="function"&&define.amd)define([],f);else{var g;typeof window<"u"?g=window:typeof global<"u"?g=global:typeof self<"u"?g=self:g=this,g.memoizerific=f()}})(function(){var define2,module2,exports2;return function e(t,n,r){function s(o2,u){if(!n[o2]){if(!t[o2]){var a=typeof __require=="function"&&__require;if(!u&&a)return a(o2,!0);if(i)return i(o2,!0);var f=new Error("Cannot find module '"+o2+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o2]={exports:{}};t[o2][0].call(l.exports,function(e2){var n2=t[o2][1][e2];return s(n2||e2)},l,l.exports,e,t,n,r)}return n[o2].exports}for(var i=typeof __require=="function"&&__require,o=0;o=0)return this.lastItem=this.list[index],this.list[index].val},Similar.prototype.set=function(key,val){var index;return this.lastItem&&this.isEqual(this.lastItem.key,key)?(this.lastItem.val=val,this):(index=this.indexOf(key),index>=0?(this.lastItem=this.list[index],this.list[index].val=val,this):(this.lastItem={key,val},this.list.push(this.lastItem),this.size++,this))},Similar.prototype.delete=function(key){var index;if(this.lastItem&&this.isEqual(this.lastItem.key,key)&&(this.lastItem=void 0),index=this.indexOf(key),index>=0)return this.size--,this.list.splice(index,1)[0]},Similar.prototype.has=function(key){var index;return this.lastItem&&this.isEqual(this.lastItem.key,key)?!0:(index=this.indexOf(key),index>=0?(this.lastItem=this.list[index],!0):!1)},Similar.prototype.forEach=function(callback,thisArg){var i;for(i=0;i0&&(lruPath[argsLengthMinusOne]={cacheItem:currentCache,arg:arguments[argsLengthMinusOne]},isMemoized?moveToMostRecentLru(lru,lruPath):lru.push(lruPath),lru.length>limit&&removeCachedResult(lru.shift())),memoizerific.wasMemoized=isMemoized,memoizerific.numArgs=argsLengthMinusOne+1,fnResult};return memoizerific.limit=limit,memoizerific.wasMemoized=!1,memoizerific.cache=cache,memoizerific.lru=lru,memoizerific}};function moveToMostRecentLru(lru,lruPath){var lruLen=lru.length,lruPathLen=lruPath.length,isMatch,i,ii;for(i=0;i=0&&(currentLru=removedLru[i],tmp=currentLru.cacheItem.get(currentLru.arg),!tmp||!tmp.size);i--)currentLru.cacheItem.delete(currentLru.arg)}function isEqual(val1,val2){return val1===val2||val1!==val1&&val2!==val2}},{"map-or-similar":1}]},{},[3])(3)})}});export{require_memoizerific}; diff --git a/docs/sb-manager/chunk-IZBYDH3T.js b/docs/sb-manager/chunk-IZBYDH3T.js new file mode 100644 index 0000000..eda5f2f --- /dev/null +++ b/docs/sb-manager/chunk-IZBYDH3T.js @@ -0,0 +1,408 @@ +import{ActionBar,ScrollArea,SyntaxHighlighter2,createCopyToClipboardFunction}from"./chunk-O2ZUMB77.js";import{WithToolTipState,auto,require_react_dom}from"./chunk-NBCGHFLK.js";import{_extends,_objectWithoutPropertiesLoose}from"./chunk-QPL63VNK.js";import{Global,ThemeProvider,color,create,createGlobal,deprecate,ensure,ignoreSsrWarning,isPropValid,keyframes,logger,newStyled,once,pretty,scope,typography,useTheme,withTheme}from"./chunk-SPUAGIB2.js";import{require_ReactPropTypesSecret,require_checkPropTypes,require_has,require_object_assign,require_react}from"./chunk-QMHPSTMR.js";import{require_memoizerific}from"./chunk-3J6GS6FI.js";import{__commonJS,__esm,__export,__toCommonJS,__toESM}from"./chunk-RKFFWI2D.js";var require_shams=__commonJS({"../../node_modules/has-symbols/shams.js"(exports,module){"use strict";module.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var obj={},sym=Symbol("test"),symObj=Object(sym);if(typeof sym=="string"||Object.prototype.toString.call(sym)!=="[object Symbol]"||Object.prototype.toString.call(symObj)!=="[object Symbol]")return!1;var symVal=42;obj[sym]=symVal;for(sym in obj)return!1;if(typeof Object.keys=="function"&&Object.keys(obj).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(obj).length!==0)return!1;var syms=Object.getOwnPropertySymbols(obj);if(syms.length!==1||syms[0]!==sym||!Object.prototype.propertyIsEnumerable.call(obj,sym))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(descriptor.value!==symVal||descriptor.enumerable!==!0)return!1}return!0}}});var require_has_symbols=__commonJS({"../../node_modules/has-symbols/index.js"(exports,module){"use strict";var origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=require_shams();module.exports=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()}}});var require_has_proto=__commonJS({"../../node_modules/has-proto/index.js"(exports,module){"use strict";var test={foo:{}},$Object=Object;module.exports=function(){return{__proto__:test}.foo===test.foo&&!({__proto__:null}instanceof $Object)}}});var require_implementation=__commonJS({"../../node_modules/function-bind/implementation.js"(exports,module){"use strict";var ERROR_MESSAGE="Function.prototype.bind called on incompatible ",slice=Array.prototype.slice,toStr=Object.prototype.toString,funcType="[object Function]";module.exports=function(that){var target=this;if(typeof target!="function"||toStr.call(target)!==funcType)throw new TypeError(ERROR_MESSAGE+target);for(var args2=slice.call(arguments,1),bound,binder=function(){if(this instanceof bound){var result2=target.apply(this,args2.concat(slice.call(arguments)));return Object(result2)===result2?result2:this}else return target.apply(that,args2.concat(slice.call(arguments)))},boundLength=Math.max(0,target.length-args2.length),boundArgs=[],i3=0;i3"u"||!getProto?undefined2:getProto(Uint8Array),INTRINSICS={"%AggregateError%":typeof AggregateError>"u"?undefined2:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined2:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined2,"%AsyncFromSyncIteratorPrototype%":undefined2,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined2:Atomics,"%BigInt%":typeof BigInt>"u"?undefined2:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined2:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined2:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined2:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined2:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined2:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined2:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined2:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined2:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined2:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined2,"%JSON%":typeof JSON=="object"?JSON:undefined2,"%Map%":typeof Map>"u"?undefined2:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto?undefined2:getProto(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined2:Promise,"%Proxy%":typeof Proxy>"u"?undefined2:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined2:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined2:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto?undefined2:getProto(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined2:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined2,"%Symbol%":hasSymbols?Symbol:undefined2,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":typeof Uint8Array>"u"?undefined2:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined2:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined2:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined2:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?undefined2:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined2:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined2:WeakSet};if(getProto)try{null.error}catch(e3){errorProto=getProto(getProto(e3)),INTRINSICS["%Error.prototype%"]=errorProto}var errorProto,doEval=function doEval2(name2){var value2;if(name2==="%AsyncFunction%")value2=getEvalledConstructor("async function () {}");else if(name2==="%GeneratorFunction%")value2=getEvalledConstructor("function* () {}");else if(name2==="%AsyncGeneratorFunction%")value2=getEvalledConstructor("async function* () {}");else if(name2==="%AsyncGenerator%"){var fn=doEval2("%AsyncGeneratorFunction%");fn&&(value2=fn.prototype)}else if(name2==="%AsyncIteratorPrototype%"){var gen=doEval2("%AsyncGenerator%");gen&&getProto&&(value2=getProto(gen.prototype))}return INTRINSICS[name2]=value2,value2},LEGACY_ALIASES={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=require_function_bind(),hasOwn=require_src(),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName2=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar2=/\\(\\)?/g,stringToPath2=function(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if(first==="%"&&last!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if(last==="%"&&first!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result2=[];return $replace(string,rePropName2,function(match,number,quote,subString){result2[result2.length]=quote?$replace(subString,reEscapeChar2,"$1"):number||match}),result2},getBaseIntrinsic=function(name2,allowMissing){var intrinsicName=name2,alias;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(alias=LEGACY_ALIASES[intrinsicName],intrinsicName="%"+alias[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value2=INTRINSICS[intrinsicName];if(value2===needsEval&&(value2=doEval(intrinsicName)),typeof value2>"u"&&!allowMissing)throw new $TypeError("intrinsic "+name2+" exists, but is not available. Please file an issue!");return{alias,name:intrinsicName,value:value2}}throw new $SyntaxError("intrinsic "+name2+" does not exist!")};module.exports=function(name2,allowMissing){if(typeof name2!="string"||name2.length===0)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof allowMissing!="boolean")throw new $TypeError('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,name2)===null)throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=stringToPath2(name2),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value2=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i3=1,isOwn=!0;i3=parts.length){var desc=$gOPD(value2,part);isOwn=!!desc,isOwn&&"get"in desc&&!("originalValue"in desc.get)?value2=desc.get:value2=value2[part]}else isOwn=hasOwn(value2,part),value2=value2[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value2)}}return value2}}});var require_call_bind=__commonJS({"../../node_modules/call-bind/index.js"(exports,module){"use strict";var bind=require_function_bind(),GetIntrinsic=require_get_intrinsic(),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$gOPD=GetIntrinsic("%Object.getOwnPropertyDescriptor%",!0),$defineProperty=GetIntrinsic("%Object.defineProperty%",!0),$max=GetIntrinsic("%Math.max%");if($defineProperty)try{$defineProperty({},"a",{value:1})}catch{$defineProperty=null}module.exports=function(originalFunction){var func=$reflectApply(bind,$call,arguments);if($gOPD&&$defineProperty){var desc=$gOPD(func,"length");desc.configurable&&$defineProperty(func,"length",{value:1+$max(0,originalFunction.length-(arguments.length-1))})}return func};var applyBind=function(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module.exports,"apply",{value:applyBind}):module.exports.apply=applyBind}});var require_callBound=__commonJS({"../../node_modules/call-bind/callBound.js"(exports,module){"use strict";var GetIntrinsic=require_get_intrinsic(),callBind=require_call_bind(),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function(name2,allowMissing){var intrinsic=GetIntrinsic(name2,!!allowMissing);return typeof intrinsic=="function"&&$indexOf(name2,".prototype.")>-1?callBind(intrinsic):intrinsic}}});var require_util=__commonJS({"(disabled):../../node_modules/object-inspect/util.inspect"(){}});var require_object_inspect=__commonJS({"../../node_modules/object-inspect/index.js"(exports,module){var hasMap=typeof Map=="function"&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&typeof mapSizeDescriptor.get=="function"?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet=typeof Set=="function"&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&typeof setSizeDescriptor.get=="function"?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap=typeof WeakMap=="function"&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet=typeof WeakSet=="function"&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef=typeof WeakRef=="function"&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString3=Object.prototype.toString,functionToString=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf=typeof BigInt=="function"?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,hasShammedSymbols=typeof Symbol=="function"&&typeof Symbol.iterator=="object",toStringTag=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols||"symbol")?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O2){return O2.__proto__}:null);function addNumericSeparator(num,str){if(num===1/0||num===-1/0||num!==num||num&&num>-1e3&&num<1e3||$test.call(/e/,str))return str;var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof num=="number"){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int),dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,"$&_")+"."+$replace.call($replace.call(dec,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(str,sepRegex,"$&_")}var utilInspect=require_util(),inspectCustom=utilInspect.custom,inspectSymbol=isSymbol3(inspectCustom)?inspectCustom:null;module.exports=function inspect_(obj,options3,depth,seen){var opts=options3||{};if(has3(opts,"quoteStyle")&&opts.quoteStyle!=="single"&&opts.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has3(opts,"maxStringLength")&&(typeof opts.maxStringLength=="number"?opts.maxStringLength<0&&opts.maxStringLength!==1/0:opts.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var customInspect=has3(opts,"customInspect")?opts.customInspect:!0;if(typeof customInspect!="boolean"&&customInspect!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has3(opts,"indent")&&opts.indent!==null&&opts.indent!==" "&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has3(opts,"numericSeparator")&&typeof opts.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var numericSeparator=opts.numericSeparator;if(typeof obj>"u")return"undefined";if(obj===null)return"null";if(typeof obj=="boolean")return obj?"true":"false";if(typeof obj=="string")return inspectString(obj,opts);if(typeof obj=="number"){if(obj===0)return 1/0/obj>0?"0":"-0";var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if(typeof obj=="bigint"){var bigIntStr=String(obj)+"n";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=typeof opts.depth>"u"?5:opts.depth;if(typeof depth>"u"&&(depth=0),depth>=maxDepth&&maxDepth>0&&typeof obj=="object")return isArray2(obj)?"[Array]":"[Object]";var indent=getIndent(opts,depth);if(typeof seen>"u")seen=[];else if(indexOf(seen,obj)>=0)return"[Circular]";function inspect(value2,from,noIndent){if(from&&(seen=$arrSlice.call(seen),seen.push(from)),noIndent){var newOpts={depth:opts.depth};return has3(opts,"quoteStyle")&&(newOpts.quoteStyle=opts.quoteStyle),inspect_(value2,newOpts,depth+1,seen)}return inspect_(value2,opts,depth+1,seen)}if(typeof obj=="function"&&!isRegExp(obj)){var name2=nameOf(obj),keys2=arrObjKeys(obj,inspect);return"[Function"+(name2?": "+name2:" (anonymous)")+"]"+(keys2.length>0?" { "+$join.call(keys2,", ")+" }":"")}if(isSymbol3(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(obj);return typeof obj=="object"&&!hasShammedSymbols?markBoxed(symString):symString}if(isElement(obj)){for(var s2="<"+$toLowerCase.call(String(obj.nodeName)),attrs=obj.attributes||[],i3=0;i3",s2}if(isArray2(obj)){if(obj.length===0)return"[]";var xs=arrObjKeys(obj,inspect);return indent&&!singleLineValues(xs)?"["+indentedJoin(xs,indent)+"]":"[ "+$join.call(xs,", ")+" ]"}if(isError(obj)){var parts=arrObjKeys(obj,inspect);return!("cause"in Error.prototype)&&"cause"in obj&&!isEnumerable.call(obj,"cause")?"{ ["+String(obj)+"] "+$join.call($concat.call("[cause]: "+inspect(obj.cause),parts),", ")+" }":parts.length===0?"["+String(obj)+"]":"{ ["+String(obj)+"] "+$join.call(parts,", ")+" }"}if(typeof obj=="object"&&customInspect){if(inspectSymbol&&typeof obj[inspectSymbol]=="function"&&utilInspect)return utilInspect(obj,{depth:maxDepth-depth});if(customInspect!=="symbol"&&typeof obj.inspect=="function")return obj.inspect()}if(isMap(obj)){var mapParts=[];return mapForEach&&mapForEach.call(obj,function(value2,key2){mapParts.push(inspect(key2,obj,!0)+" => "+inspect(value2,obj))}),collectionOf("Map",mapSize.call(obj),mapParts,indent)}if(isSet(obj)){var setParts=[];return setForEach&&setForEach.call(obj,function(value2){setParts.push(inspect(value2,obj))}),collectionOf("Set",setSize.call(obj),setParts,indent)}if(isWeakMap(obj))return weakCollectionOf("WeakMap");if(isWeakSet(obj))return weakCollectionOf("WeakSet");if(isWeakRef(obj))return weakCollectionOf("WeakRef");if(isNumber(obj))return markBoxed(inspect(Number(obj)));if(isBigInt(obj))return markBoxed(inspect(bigIntValueOf.call(obj)));if(isBoolean(obj))return markBoxed(booleanValueOf.call(obj));if(isString(obj))return markBoxed(inspect(String(obj)));if(!isDate(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect),isPlainObject2=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object,protoTag=obj instanceof Object?"":"null prototype",stringTag=!isPlainObject2&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr(obj),8,-1):protoTag?"Object":"",constructorTag=isPlainObject2||typeof obj.constructor!="function"?"":obj.constructor.name?obj.constructor.name+" ":"",tag=constructorTag+(stringTag||protoTag?"["+$join.call($concat.call([],stringTag||[],protoTag||[]),": ")+"] ":"");return ys.length===0?tag+"{}":indent?tag+"{"+indentedJoin(ys,indent)+"}":tag+"{ "+$join.call(ys,", ")+" }"}return String(obj)};function wrapQuotes(s2,defaultStyle,opts){var quoteChar=(opts.quoteStyle||defaultStyle)==="double"?'"':"'";return quoteChar+s2+quoteChar}function quote(s2){return $replace.call(String(s2),/"/g,""")}function isArray2(obj){return toStr(obj)==="[object Array]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isDate(obj){return toStr(obj)==="[object Date]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isRegExp(obj){return toStr(obj)==="[object RegExp]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isError(obj){return toStr(obj)==="[object Error]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isString(obj){return toStr(obj)==="[object String]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isNumber(obj){return toStr(obj)==="[object Number]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isBoolean(obj){return toStr(obj)==="[object Boolean]"&&(!toStringTag||!(typeof obj=="object"&&toStringTag in obj))}function isSymbol3(obj){if(hasShammedSymbols)return obj&&typeof obj=="object"&&obj instanceof Symbol;if(typeof obj=="symbol")return!0;if(!obj||typeof obj!="object"||!symToString)return!1;try{return symToString.call(obj),!0}catch{}return!1}function isBigInt(obj){if(!obj||typeof obj!="object"||!bigIntValueOf)return!1;try{return bigIntValueOf.call(obj),!0}catch{}return!1}var hasOwn=Object.prototype.hasOwnProperty||function(key2){return key2 in this};function has3(obj,key2){return hasOwn.call(obj,key2)}function toStr(obj){return objectToString3.call(obj)}function nameOf(f3){if(f3.name)return f3.name;var m3=$match.call(functionToString.call(f3),/^function\s*([\w$]+)/);return m3?m3[1]:null}function indexOf(xs,x3){if(xs.indexOf)return xs.indexOf(x3);for(var i3=0,l2=xs.length;i3opts.maxStringLength){var remaining=str.length-opts.maxStringLength,trailer="... "+remaining+" more character"+(remaining>1?"s":"");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}var s2=$replace.call($replace.call(str,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte);return wrapQuotes(s2,"single",opts)}function lowbyte(c3){var n3=c3.charCodeAt(0),x3={8:"b",9:"t",10:"n",12:"f",13:"r"}[n3];return x3?"\\"+x3:"\\x"+(n3<16?"0":"")+$toUpperCase.call(n3.toString(16))}function markBoxed(str){return"Object("+str+")"}function weakCollectionOf(type){return type+" { ? }"}function collectionOf(type,size,entries,indent){var joinedEntries=indent?indentedJoin(entries,indent):$join.call(entries,", ");return type+" ("+size+") {"+joinedEntries+"}"}function singleLineValues(xs){for(var i3=0;i3=0)return!1;return!0}function getIndent(opts,depth){var baseIndent;if(opts.indent===" ")baseIndent=" ";else if(typeof opts.indent=="number"&&opts.indent>0)baseIndent=$join.call(Array(opts.indent+1)," ");else return null;return{base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}function indentedJoin(xs,indent){if(xs.length===0)return"";var lineJoiner=` +`+indent.prev+indent.base;return lineJoiner+$join.call(xs,","+lineJoiner)+` +`+indent.prev}function arrObjKeys(obj,inspect){var isArr=isArray2(obj),xs=[];if(isArr){xs.length=obj.length;for(var i3=0;i31;){var item=queue.pop(),obj=item.obj[item.prop];if(isArray2(obj)){for(var compacted=[],j2=0;j2=48&&c3<=57||c3>=65&&c3<=90||c3>=97&&c3<=122||format3===formats.RFC1738&&(c3===40||c3===41)){out+=string.charAt(i3);continue}if(c3<128){out=out+hexTable[c3];continue}if(c3<2048){out=out+(hexTable[192|c3>>6]+hexTable[128|c3&63]);continue}if(c3<55296||c3>=57344){out=out+(hexTable[224|c3>>12]+hexTable[128|c3>>6&63]+hexTable[128|c3&63]);continue}i3+=1,c3=65536+((c3&1023)<<10|string.charCodeAt(i3)&1023),out+=hexTable[240|c3>>18]+hexTable[128|c3>>12&63]+hexTable[128|c3>>6&63]+hexTable[128|c3&63]}return out},compact=function(value2){for(var queue=[{obj:{o:value2},prop:"o"}],refs2=[],i3=0;i3"u"&&(step=0)}if(typeof filter=="function"?obj=filter(prefix2,obj):obj instanceof Date?obj=serializeDate(obj):generateArrayPrefix==="comma"&&isArray2(obj)&&(obj=utils.maybeMap(obj,function(value3){return value3 instanceof Date?serializeDate(value3):value3})),obj===null){if(strictNullHandling)return encoder&&!encodeValuesOnly?encoder(prefix2,defaults.encoder,charset,"key",format3):prefix2;obj=""}if(isNonNullishPrimitive(obj)||utils.isBuffer(obj)){if(encoder){var keyValue=encodeValuesOnly?prefix2:encoder(prefix2,defaults.encoder,charset,"key",format3);return[formatter(keyValue)+"="+formatter(encoder(obj,defaults.encoder,charset,"value",format3))]}return[formatter(prefix2)+"="+formatter(String(obj))]}var values=[];if(typeof obj>"u")return values;var objKeys;if(generateArrayPrefix==="comma"&&isArray2(obj))encodeValuesOnly&&encoder&&(obj=utils.maybeMap(obj,encoder)),objKeys=[{value:obj.length>0?obj.join(",")||null:void 0}];else if(isArray2(filter))objKeys=filter;else{var keys2=Object.keys(obj);objKeys=sort?keys2.sort(sort):keys2}for(var adjustedPrefix=commaRoundTrip&&isArray2(obj)&&obj.length===1?prefix2+"[]":prefix2,j2=0;j2"u"?defaults.allowDots:!!opts.allowDots,charset,charsetSentinel:typeof opts.charsetSentinel=="boolean"?opts.charsetSentinel:defaults.charsetSentinel,delimiter:typeof opts.delimiter>"u"?defaults.delimiter:opts.delimiter,encode:typeof opts.encode=="boolean"?opts.encode:defaults.encode,encoder:typeof opts.encoder=="function"?opts.encoder:defaults.encoder,encodeValuesOnly:typeof opts.encodeValuesOnly=="boolean"?opts.encodeValuesOnly:defaults.encodeValuesOnly,filter,format:format3,formatter,serializeDate:typeof opts.serializeDate=="function"?opts.serializeDate:defaults.serializeDate,skipNulls:typeof opts.skipNulls=="boolean"?opts.skipNulls:defaults.skipNulls,sort:typeof opts.sort=="function"?opts.sort:null,strictNullHandling:typeof opts.strictNullHandling=="boolean"?opts.strictNullHandling:defaults.strictNullHandling}};module.exports=function(object,opts){var obj=object,options3=normalizeStringifyOptions(opts),objKeys,filter;typeof options3.filter=="function"?(filter=options3.filter,obj=filter("",obj)):isArray2(options3.filter)&&(filter=options3.filter,objKeys=filter);var keys2=[];if(typeof obj!="object"||obj===null)return"";var arrayFormat;opts&&opts.arrayFormat in arrayPrefixGenerators?arrayFormat=opts.arrayFormat:opts&&"indices"in opts?arrayFormat=opts.indices?"indices":"repeat":arrayFormat="indices";var generateArrayPrefix=arrayPrefixGenerators[arrayFormat];if(opts&&"commaRoundTrip"in opts&&typeof opts.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var commaRoundTrip=generateArrayPrefix==="comma"&&opts&&opts.commaRoundTrip;objKeys||(objKeys=Object.keys(obj)),options3.sort&&objKeys.sort(options3.sort);for(var sideChannel=getSideChannel(),i3=0;i30?prefix2+joined:""}}});var require_parse=__commonJS({"../../node_modules/qs/lib/parse.js"(exports,module){"use strict";var utils=require_utils(),has3=Object.prototype.hasOwnProperty,isArray2=Array.isArray,defaults={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:utils.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},interpretNumericEntities=function(str){return str.replace(/&#(\d+);/g,function($0,numberStr){return String.fromCharCode(parseInt(numberStr,10))})},parseArrayValue=function(val,options3){return val&&typeof val=="string"&&options3.comma&&val.indexOf(",")>-1?val.split(","):val},isoSentinel="utf8=%26%2310003%3B",charsetSentinel="utf8=%E2%9C%93",parseValues=function(str,options3){var obj={__proto__:null},cleanStr=options3.ignoreQueryPrefix?str.replace(/^\?/,""):str,limit=options3.parameterLimit===1/0?void 0:options3.parameterLimit,parts=cleanStr.split(options3.delimiter,limit),skipIndex=-1,i3,charset=options3.charset;if(options3.charsetSentinel)for(i3=0;i3-1&&(val=isArray2(val)?[val]:val),has3.call(obj,key2)?obj[key2]=utils.combine(obj[key2],val):obj[key2]=val}return obj},parseObject=function(chain,val,options3,valuesParsed){for(var leaf=valuesParsed?val:parseArrayValue(val,options3),i3=chain.length-1;i3>=0;--i3){var obj,root4=chain[i3];if(root4==="[]"&&options3.parseArrays)obj=[].concat(leaf);else{obj=options3.plainObjects?Object.create(null):{};var cleanRoot=root4.charAt(0)==="["&&root4.charAt(root4.length-1)==="]"?root4.slice(1,-1):root4,index2=parseInt(cleanRoot,10);!options3.parseArrays&&cleanRoot===""?obj={0:leaf}:!isNaN(index2)&&root4!==cleanRoot&&String(index2)===cleanRoot&&index2>=0&&options3.parseArrays&&index2<=options3.arrayLimit?(obj=[],obj[index2]=leaf):cleanRoot!=="__proto__"&&(obj[cleanRoot]=leaf)}leaf=obj}return leaf},parseKeys=function(givenKey,val,options3,valuesParsed){if(givenKey){var key2=options3.allowDots?givenKey.replace(/\.([^.[]+)/g,"[$1]"):givenKey,brackets=/(\[[^[\]]*])/,child=/(\[[^[\]]*])/g,segment=options3.depth>0&&brackets.exec(key2),parent=segment?key2.slice(0,segment.index):key2,keys2=[];if(parent){if(!options3.plainObjects&&has3.call(Object.prototype,parent)&&!options3.allowPrototypes)return;keys2.push(parent)}for(var i3=0;options3.depth>0&&(segment=child.exec(key2))!==null&&i3"u"?defaults.charset:opts.charset;return{allowDots:typeof opts.allowDots>"u"?defaults.allowDots:!!opts.allowDots,allowPrototypes:typeof opts.allowPrototypes=="boolean"?opts.allowPrototypes:defaults.allowPrototypes,allowSparse:typeof opts.allowSparse=="boolean"?opts.allowSparse:defaults.allowSparse,arrayLimit:typeof opts.arrayLimit=="number"?opts.arrayLimit:defaults.arrayLimit,charset,charsetSentinel:typeof opts.charsetSentinel=="boolean"?opts.charsetSentinel:defaults.charsetSentinel,comma:typeof opts.comma=="boolean"?opts.comma:defaults.comma,decoder:typeof opts.decoder=="function"?opts.decoder:defaults.decoder,delimiter:typeof opts.delimiter=="string"||utils.isRegExp(opts.delimiter)?opts.delimiter:defaults.delimiter,depth:typeof opts.depth=="number"||opts.depth===!1?+opts.depth:defaults.depth,ignoreQueryPrefix:opts.ignoreQueryPrefix===!0,interpretNumericEntities:typeof opts.interpretNumericEntities=="boolean"?opts.interpretNumericEntities:defaults.interpretNumericEntities,parameterLimit:typeof opts.parameterLimit=="number"?opts.parameterLimit:defaults.parameterLimit,parseArrays:opts.parseArrays!==!1,plainObjects:typeof opts.plainObjects=="boolean"?opts.plainObjects:defaults.plainObjects,strictNullHandling:typeof opts.strictNullHandling=="boolean"?opts.strictNullHandling:defaults.strictNullHandling}};module.exports=function(str,opts){var options3=normalizeParseOptions(opts);if(str===""||str===null||typeof str>"u")return options3.plainObjects?Object.create(null):{};for(var tempObj=typeof str=="string"?parseValues(str,options3):str,obj=options3.plainObjects?Object.create(null):{},keys2=Object.keys(tempObj),i3=0;i3-1}module.exports=listCacheHas2}});var require_listCacheSet=__commonJS({"../../node_modules/lodash/_listCacheSet.js"(exports,module){var assocIndexOf2=require_assocIndexOf();function listCacheSet2(key2,value2){var data=this.__data__,index2=assocIndexOf2(data,key2);return index2<0?(++this.size,data.push([key2,value2])):data[index2][1]=value2,this}module.exports=listCacheSet2}});var require_ListCache=__commonJS({"../../node_modules/lodash/_ListCache.js"(exports,module){var listCacheClear2=require_listCacheClear(),listCacheDelete2=require_listCacheDelete(),listCacheGet2=require_listCacheGet(),listCacheHas2=require_listCacheHas(),listCacheSet2=require_listCacheSet();function ListCache2(entries){var index2=-1,length=entries==null?0:entries.length;for(this.clear();++index2-1&&value2%1==0&&value2<=MAX_SAFE_INTEGER}module.exports=isLength}});var require_isArrayLike=__commonJS({"../../node_modules/lodash/isArrayLike.js"(exports,module){var isFunction3=require_isFunction(),isLength=require_isLength();function isArrayLike(value2){return value2!=null&&isLength(value2.length)&&!isFunction3(value2)}module.exports=isArrayLike}});var require_isArrayLikeObject=__commonJS({"../../node_modules/lodash/isArrayLikeObject.js"(exports,module){var isArrayLike=require_isArrayLike(),isObjectLike3=require_isObjectLike2();function isArrayLikeObject(value2){return isObjectLike3(value2)&&isArrayLike(value2)}module.exports=isArrayLikeObject}});var require_stubFalse=__commonJS({"../../node_modules/lodash/stubFalse.js"(exports,module){function stubFalse(){return!1}module.exports=stubFalse}});var require_isBuffer=__commonJS({"../../node_modules/lodash/isBuffer.js"(exports,module){var root4=require_root2(),stubFalse=require_stubFalse(),freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,Buffer=moduleExports?root4.Buffer:void 0,nativeIsBuffer=Buffer?Buffer.isBuffer:void 0,isBuffer=nativeIsBuffer||stubFalse;module.exports=isBuffer}});var require_isPlainObject2=__commonJS({"../../node_modules/lodash/isPlainObject.js"(exports,module){var baseGetTag3=require_baseGetTag2(),getPrototype=require_getPrototype2(),isObjectLike3=require_isObjectLike2(),objectTag="[object Object]",funcProto3=Function.prototype,objectProto7=Object.prototype,funcToString3=funcProto3.toString,hasOwnProperty6=objectProto7.hasOwnProperty,objectCtorString=funcToString3.call(Object);function isPlainObject2(value2){if(!isObjectLike3(value2)||baseGetTag3(value2)!=objectTag)return!1;var proto=getPrototype(value2);if(proto===null)return!0;var Ctor=hasOwnProperty6.call(proto,"constructor")&&proto.constructor;return typeof Ctor=="function"&&Ctor instanceof Ctor&&funcToString3.call(Ctor)==objectCtorString}module.exports=isPlainObject2}});var require_baseIsTypedArray=__commonJS({"../../node_modules/lodash/_baseIsTypedArray.js"(exports,module){var baseGetTag3=require_baseGetTag2(),isLength=require_isLength(),isObjectLike3=require_isObjectLike2(),argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag2="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag2]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;function baseIsTypedArray(value2){return isObjectLike3(value2)&&isLength(value2.length)&&!!typedArrayTags[baseGetTag3(value2)]}module.exports=baseIsTypedArray}});var require_baseUnary=__commonJS({"../../node_modules/lodash/_baseUnary.js"(exports,module){function baseUnary(func){return function(value2){return func(value2)}}module.exports=baseUnary}});var require_nodeUtil=__commonJS({"../../node_modules/lodash/_nodeUtil.js"(exports,module){var freeGlobal3=require_freeGlobal2(),freeExports=typeof exports=="object"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module=="object"&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal3.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}();module.exports=nodeUtil}});var require_isTypedArray=__commonJS({"../../node_modules/lodash/isTypedArray.js"(exports,module){var baseIsTypedArray=require_baseIsTypedArray(),baseUnary=require_baseUnary(),nodeUtil=require_nodeUtil(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray}});var require_safeGet=__commonJS({"../../node_modules/lodash/_safeGet.js"(exports,module){function safeGet(object,key2){if(!(key2==="constructor"&&typeof object[key2]=="function")&&key2!="__proto__")return object[key2]}module.exports=safeGet}});var require_assignValue=__commonJS({"../../node_modules/lodash/_assignValue.js"(exports,module){var baseAssignValue=require_baseAssignValue(),eq2=require_eq(),objectProto7=Object.prototype,hasOwnProperty6=objectProto7.hasOwnProperty;function assignValue(object,key2,value2){var objValue=object[key2];(!(hasOwnProperty6.call(object,key2)&&eq2(objValue,value2))||value2===void 0&&!(key2 in object))&&baseAssignValue(object,key2,value2)}module.exports=assignValue}});var require_copyObject=__commonJS({"../../node_modules/lodash/_copyObject.js"(exports,module){var assignValue=require_assignValue(),baseAssignValue=require_baseAssignValue();function copyObject(source2,props,object,customizer){var isNew=!object;object||(object={});for(var index2=-1,length=props.length;++index2-1&&value2%1==0&&value20){if(++count>=HOT_COUNT)return arguments[0]}else count=0;return func.apply(void 0,arguments)}}module.exports=shortOut}});var require_setToString=__commonJS({"../../node_modules/lodash/_setToString.js"(exports,module){var baseSetToString=require_baseSetToString(),shortOut=require_shortOut(),setToString=shortOut(baseSetToString);module.exports=setToString}});var require_baseRest=__commonJS({"../../node_modules/lodash/_baseRest.js"(exports,module){var identity=require_identity(),overRest=require_overRest(),setToString=require_setToString();function baseRest(func,start){return setToString(overRest(func,start,identity),func+"")}module.exports=baseRest}});var require_isIterateeCall=__commonJS({"../../node_modules/lodash/_isIterateeCall.js"(exports,module){var eq2=require_eq(),isArrayLike=require_isArrayLike(),isIndex=require_isIndex(),isObject5=require_isObject();function isIterateeCall(value2,index2,object){if(!isObject5(object))return!1;var type=typeof index2;return(type=="number"?isArrayLike(object)&&isIndex(index2,object.length):type=="string"&&index2 in object)?eq2(object[index2],value2):!1}module.exports=isIterateeCall}});var require_createAssigner=__commonJS({"../../node_modules/lodash/_createAssigner.js"(exports,module){var baseRest=require_baseRest(),isIterateeCall=require_isIterateeCall();function createAssigner(assigner){return baseRest(function(object,sources){var index2=-1,length=sources.length,customizer=length>1?sources[length-1]:void 0,guard3=length>2?sources[2]:void 0;for(customizer=assigner.length>3&&typeof customizer=="function"?(length--,customizer):void 0,guard3&&isIterateeCall(sources[0],sources[1],guard3)&&(customizer=length<3?void 0:customizer,length=1),object=Object(object);++index2_2.length(this._area)&&(m3--,i3--)}return fill||this},keys:function(fillList){return this.each(function(k2,v2,list){list.push(k2)},fillList||[])},get:function(key2,alt){var s2=_2.get(this._area,this._in(key2)),fn;return typeof alt=="function"&&(fn=alt,alt=null),s2!==null?_2.parse(s2,fn):alt??s2},getAll:function(fillObj){return this.each(function(k2,v2,all){all[k2]=v2},fillObj||{})},transact:function(key2,fn,alt){var val=this.get(key2,alt),ret=fn(val);return this.set(key2,ret===void 0?val:ret),this},set:function(key2,data,overwrite){var d2=this.get(key2),replacer3;return d2!=null&&overwrite===!1?data:(typeof overwrite=="function"&&(replacer3=overwrite,overwrite=void 0),_2.set(this._area,this._in(key2),_2.stringify(data,replacer3),overwrite)||d2)},setAll:function(data,overwrite){var changed,val;for(var key2 in data)val=data[key2],this.set(key2,val,overwrite)!==val&&(changed=!0);return changed},add:function(key2,data,replacer3){var d2=this.get(key2);if(d2 instanceof Array)data=d2.concat(data);else if(d2!==null){var type=typeof d2;if(type===typeof data&&type==="object"){for(var k2 in data)d2[k2]=data[k2];data=d2}else data=d2+data}return _2.set(this._area,this._in(key2),_2.stringify(data,replacer3)),data},remove:function(key2,alt){var d2=this.get(key2,alt);return _2.remove(this._area,this._in(key2)),d2},clear:function(){return this._ns?this.each(function(k2){_2.remove(this._area,this._in(k2))},1):_2.clear(this._area),this},clearAll:function(){var area=this._area;for(var id in _2.areas)_2.areas.hasOwnProperty(id)&&(this._area=_2.areas[id],this.clear());return this._area=area,this},_in:function(k2){return typeof k2!="string"&&(k2=_2.stringify(k2)),this._ns?this._ns+k2:k2},_out:function(k2){return this._ns?k2&&k2.indexOf(this._ns)===0?k2.substring(this._ns.length):void 0:k2}},storage:function(name2){return _2.inherit(_2.storageAPI,{items:{},name:name2})},storageAPI:{length:0,has:function(k2){return this.items.hasOwnProperty(k2)},key:function(i3){var c3=0;for(var k2 in this.items)if(this.has(k2)&&i3===c3++)return k2},setItem:function(k2,v2){this.has(k2)||this.length++,this.items[k2]=v2},removeItem:function(k2){this.has(k2)&&(delete this.items[k2],this.length--)},getItem:function(k2){return this.has(k2)?this.items[k2]:null},clear:function(){for(var k2 in this.items)this.removeItem(k2)}}},store4=_2.Store("local",function(){try{return localStorage}catch{}}());store4.local=store4,store4._=_2,store4.area("session",function(){try{return sessionStorage}catch{}}()),store4.area("page",_2.storage("page")),typeof define2=="function"&&define2.amd!==void 0?define2("store2",[],function(){return store4}):typeof module<"u"&&module.exports?module.exports=store4:(window2.store&&(_2.conflict=window2.store),window2.store=store4)})(exports,exports&&exports.define)}});var require_setCacheAdd=__commonJS({"../../node_modules/lodash/_setCacheAdd.js"(exports,module){var HASH_UNDEFINED3="__lodash_hash_undefined__";function setCacheAdd(value2){return this.__data__.set(value2,HASH_UNDEFINED3),this}module.exports=setCacheAdd}});var require_setCacheHas=__commonJS({"../../node_modules/lodash/_setCacheHas.js"(exports,module){function setCacheHas(value2){return this.__data__.has(value2)}module.exports=setCacheHas}});var require_SetCache=__commonJS({"../../node_modules/lodash/_SetCache.js"(exports,module){var MapCache2=require_MapCache(),setCacheAdd=require_setCacheAdd(),setCacheHas=require_setCacheHas();function SetCache(values){var index2=-1,length=values==null?0:values.length;for(this.__data__=new MapCache2;++index2arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index2=-1,result2=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index20&&predicate(value2)?depth>1?baseFlatten(value2,depth-1,predicate,isStrict,result2):arrayPush(result2,value2):isStrict||(result2[result2.length]=value2)}return result2}module.exports=baseFlatten}});var require_flatten=__commonJS({"../../node_modules/lodash/flatten.js"(exports,module){var baseFlatten=require_baseFlatten();function flatten(array){var length=array==null?0:array.length;return length?baseFlatten(array,1):[]}module.exports=flatten}});var require_flatRest=__commonJS({"../../node_modules/lodash/_flatRest.js"(exports,module){var flatten=require_flatten(),overRest=require_overRest(),setToString=require_setToString();function flatRest(func){return setToString(overRest(func,void 0,flatten),func+"")}module.exports=flatRest}});var require_pick=__commonJS({"../../node_modules/lodash/pick.js"(exports,module){var basePick=require_basePick(),flatRest=require_flatRest(),pick2=flatRest(function(object,paths){return object==null?{}:basePick(object,paths)});module.exports=pick2}});var require_constants=__commonJS({"../../node_modules/semver/internal/constants.js"(exports,module){var SEMVER_SPEC_VERSION="2.0.0",MAX_SAFE_INTEGER=Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH=16,MAX_SAFE_BUILD_LENGTH=256-6,RELEASE_TYPES=["major","premajor","minor","preminor","patch","prepatch","prerelease"];module.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_BUILD_LENGTH,MAX_SAFE_INTEGER,RELEASE_TYPES,SEMVER_SPEC_VERSION,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}});var require_debug=__commonJS({"../../node_modules/semver/internal/debug.js"(exports,module){var debug=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...args2)=>console.error("SEMVER",...args2):()=>{};module.exports=debug}});var require_re=__commonJS({"../../node_modules/semver/internal/re.js"(exports,module){var{MAX_SAFE_COMPONENT_LENGTH,MAX_SAFE_BUILD_LENGTH,MAX_LENGTH}=require_constants(),debug=require_debug();exports=module.exports={};var re=exports.re=[],safeRe=exports.safeRe=[],src=exports.src=[],t3=exports.t={},R3=0,LETTERDASHNUMBER="[a-zA-Z0-9-]",safeRegexReplacements=[["\\s",1],["\\d",MAX_LENGTH],[LETTERDASHNUMBER,MAX_SAFE_BUILD_LENGTH]],makeSafeRegex=value2=>{for(let[token,max]of safeRegexReplacements)value2=value2.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);return value2},createToken=(name2,value2,isGlobal)=>{let safe=makeSafeRegex(value2),index2=R3++;debug(name2,index2,value2),t3[name2]=index2,src[index2]=value2,re[index2]=new RegExp(value2,isGlobal?"g":void 0),safeRe[index2]=new RegExp(safe,isGlobal?"g":void 0)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);createToken("MAINVERSION",`(${src[t3.NUMERICIDENTIFIER]})\\.(${src[t3.NUMERICIDENTIFIER]})\\.(${src[t3.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${src[t3.NUMERICIDENTIFIERLOOSE]})\\.(${src[t3.NUMERICIDENTIFIERLOOSE]})\\.(${src[t3.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${src[t3.NUMERICIDENTIFIER]}|${src[t3.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${src[t3.NUMERICIDENTIFIERLOOSE]}|${src[t3.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${src[t3.PRERELEASEIDENTIFIER]}(?:\\.${src[t3.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${src[t3.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t3.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${LETTERDASHNUMBER}+`);createToken("BUILD",`(?:\\+(${src[t3.BUILDIDENTIFIER]}(?:\\.${src[t3.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${src[t3.MAINVERSION]}${src[t3.PRERELEASE]}?${src[t3.BUILD]}?`);createToken("FULL",`^${src[t3.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${src[t3.MAINVERSIONLOOSE]}${src[t3.PRERELEASELOOSE]}?${src[t3.BUILD]}?`);createToken("LOOSE",`^${src[t3.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${src[t3.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${src[t3.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${src[t3.XRANGEIDENTIFIER]})(?:\\.(${src[t3.XRANGEIDENTIFIER]})(?:\\.(${src[t3.XRANGEIDENTIFIER]})(?:${src[t3.PRERELEASE]})?${src[t3.BUILD]}?)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${src[t3.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t3.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t3.XRANGEIDENTIFIERLOOSE]})(?:${src[t3.PRERELEASELOOSE]})?${src[t3.BUILD]}?)?)?`);createToken("XRANGE",`^${src[t3.GTLT]}\\s*${src[t3.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${src[t3.GTLT]}\\s*${src[t3.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:$|[^\\d])`);createToken("COERCERTL",src[t3.COERCE],!0);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${src[t3.LONETILDE]}\\s+`,!0);exports.tildeTrimReplace="$1~";createToken("TILDE",`^${src[t3.LONETILDE]}${src[t3.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${src[t3.LONETILDE]}${src[t3.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${src[t3.LONECARET]}\\s+`,!0);exports.caretTrimReplace="$1^";createToken("CARET",`^${src[t3.LONECARET]}${src[t3.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${src[t3.LONECARET]}${src[t3.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${src[t3.GTLT]}\\s*(${src[t3.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${src[t3.GTLT]}\\s*(${src[t3.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${src[t3.GTLT]}\\s*(${src[t3.LOOSEPLAIN]}|${src[t3.XRANGEPLAIN]})`,!0);exports.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${src[t3.XRANGEPLAIN]})\\s+-\\s+(${src[t3.XRANGEPLAIN]})\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${src[t3.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t3.XRANGEPLAINLOOSE]})\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}});var require_parse_options=__commonJS({"../../node_modules/semver/internal/parse-options.js"(exports,module){var looseOption=Object.freeze({loose:!0}),emptyOpts=Object.freeze({}),parseOptions=options3=>options3?typeof options3!="object"?looseOption:options3:emptyOpts;module.exports=parseOptions}});var require_identifiers=__commonJS({"../../node_modules/semver/internal/identifiers.js"(exports,module){var numeric=/^[0-9]+$/,compareIdentifiers=(a2,b3)=>{let anum=numeric.test(a2),bnum=numeric.test(b3);return anum&&bnum&&(a2=+a2,b3=+b3),a2===b3?0:anum&&!bnum?-1:bnum&&!anum?1:a2compareIdentifiers(b3,a2);module.exports={compareIdentifiers,rcompareIdentifiers}}});var require_semver=__commonJS({"../../node_modules/semver/classes/semver.js"(exports,module){var debug=require_debug(),{MAX_LENGTH,MAX_SAFE_INTEGER}=require_constants(),{safeRe:re,t:t3}=require_re(),parseOptions=require_parse_options(),{compareIdentifiers}=require_identifiers(),SemVer=class _SemVer{constructor(version2,options3){if(options3=parseOptions(options3),version2 instanceof _SemVer){if(version2.loose===!!options3.loose&&version2.includePrerelease===!!options3.includePrerelease)return version2;version2=version2.version}else if(typeof version2!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version2}".`);if(version2.length>MAX_LENGTH)throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);debug("SemVer",version2,options3),this.options=options3,this.loose=!!options3.loose,this.includePrerelease=!!options3.includePrerelease;let m3=version2.trim().match(options3.loose?re[t3.LOOSE]:re[t3.FULL]);if(!m3)throw new TypeError(`Invalid Version: ${version2}`);if(this.raw=version2,this.major=+m3[1],this.minor=+m3[2],this.patch=+m3[3],this.major>MAX_SAFE_INTEGER||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MAX_SAFE_INTEGER||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MAX_SAFE_INTEGER||this.patch<0)throw new TypeError("Invalid patch version");m3[4]?this.prerelease=m3[4].split(".").map(id=>{if(/^[0-9]+$/.test(id)){let num=+id;if(num>=0&&num=0;)typeof this.prerelease[i3]=="number"&&(this.prerelease[i3]++,i3=-2);if(i3===-1){if(identifier===this.prerelease.join(".")&&identifierBase===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(base)}}if(identifier){let prerelease=[identifier,base];identifierBase===!1&&(prerelease=[identifier]),compareIdentifiers(this.prerelease[0],identifier)===0?isNaN(this.prerelease[1])&&(this.prerelease=prerelease):this.prerelease=prerelease}break}default:throw new Error(`invalid increment argument: ${release}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};module.exports=SemVer}});var require_parse2=__commonJS({"../../node_modules/semver/functions/parse.js"(exports,module){var SemVer=require_semver(),parse2=(version2,options3,throwErrors=!1)=>{if(version2 instanceof SemVer)return version2;try{return new SemVer(version2,options3)}catch(er){if(!throwErrors)return null;throw er}};module.exports=parse2}});var require_valid=__commonJS({"../../node_modules/semver/functions/valid.js"(exports,module){var parse2=require_parse2(),valid=(version2,options3)=>{let v2=parse2(version2,options3);return v2?v2.version:null};module.exports=valid}});var require_clean=__commonJS({"../../node_modules/semver/functions/clean.js"(exports,module){var parse2=require_parse2(),clean=(version2,options3)=>{let s2=parse2(version2.trim().replace(/^[=v]+/,""),options3);return s2?s2.version:null};module.exports=clean}});var require_inc=__commonJS({"../../node_modules/semver/functions/inc.js"(exports,module){var SemVer=require_semver(),inc=(version2,release,options3,identifier,identifierBase)=>{typeof options3=="string"&&(identifierBase=identifier,identifier=options3,options3=void 0);try{return new SemVer(version2 instanceof SemVer?version2.version:version2,options3).inc(release,identifier,identifierBase).version}catch{return null}};module.exports=inc}});var require_diff=__commonJS({"../../node_modules/semver/functions/diff.js"(exports,module){var parse2=require_parse2(),diff=(version1,version2)=>{let v1=parse2(version1,null,!0),v2=parse2(version2,null,!0),comparison=v1.compare(v2);if(comparison===0)return null;let v1Higher=comparison>0,highVersion=v1Higher?v1:v2,lowVersion=v1Higher?v2:v1,highHasPre=!!highVersion.prerelease.length;if(!!lowVersion.prerelease.length&&!highHasPre)return!lowVersion.patch&&!lowVersion.minor?"major":highVersion.patch?"patch":highVersion.minor?"minor":"major";let prefix2=highHasPre?"pre":"";return v1.major!==v2.major?prefix2+"major":v1.minor!==v2.minor?prefix2+"minor":v1.patch!==v2.patch?prefix2+"patch":"prerelease"};module.exports=diff}});var require_major=__commonJS({"../../node_modules/semver/functions/major.js"(exports,module){var SemVer=require_semver(),major=(a2,loose)=>new SemVer(a2,loose).major;module.exports=major}});var require_minor=__commonJS({"../../node_modules/semver/functions/minor.js"(exports,module){var SemVer=require_semver(),minor=(a2,loose)=>new SemVer(a2,loose).minor;module.exports=minor}});var require_patch=__commonJS({"../../node_modules/semver/functions/patch.js"(exports,module){var SemVer=require_semver(),patch=(a2,loose)=>new SemVer(a2,loose).patch;module.exports=patch}});var require_prerelease=__commonJS({"../../node_modules/semver/functions/prerelease.js"(exports,module){var parse2=require_parse2(),prerelease=(version2,options3)=>{let parsed=parse2(version2,options3);return parsed&&parsed.prerelease.length?parsed.prerelease:null};module.exports=prerelease}});var require_compare=__commonJS({"../../node_modules/semver/functions/compare.js"(exports,module){var SemVer=require_semver(),compare=(a2,b3,loose)=>new SemVer(a2,loose).compare(new SemVer(b3,loose));module.exports=compare}});var require_rcompare=__commonJS({"../../node_modules/semver/functions/rcompare.js"(exports,module){var compare=require_compare(),rcompare=(a2,b3,loose)=>compare(b3,a2,loose);module.exports=rcompare}});var require_compare_loose=__commonJS({"../../node_modules/semver/functions/compare-loose.js"(exports,module){var compare=require_compare(),compareLoose=(a2,b3)=>compare(a2,b3,!0);module.exports=compareLoose}});var require_compare_build=__commonJS({"../../node_modules/semver/functions/compare-build.js"(exports,module){var SemVer=require_semver(),compareBuild=(a2,b3,loose)=>{let versionA=new SemVer(a2,loose),versionB=new SemVer(b3,loose);return versionA.compare(versionB)||versionA.compareBuild(versionB)};module.exports=compareBuild}});var require_sort=__commonJS({"../../node_modules/semver/functions/sort.js"(exports,module){var compareBuild=require_compare_build(),sort=(list,loose)=>list.sort((a2,b3)=>compareBuild(a2,b3,loose));module.exports=sort}});var require_rsort=__commonJS({"../../node_modules/semver/functions/rsort.js"(exports,module){var compareBuild=require_compare_build(),rsort=(list,loose)=>list.sort((a2,b3)=>compareBuild(b3,a2,loose));module.exports=rsort}});var require_gt=__commonJS({"../../node_modules/semver/functions/gt.js"(exports,module){var compare=require_compare(),gt=(a2,b3,loose)=>compare(a2,b3,loose)>0;module.exports=gt}});var require_lt=__commonJS({"../../node_modules/semver/functions/lt.js"(exports,module){var compare=require_compare(),lt=(a2,b3,loose)=>compare(a2,b3,loose)<0;module.exports=lt}});var require_eq2=__commonJS({"../../node_modules/semver/functions/eq.js"(exports,module){var compare=require_compare(),eq2=(a2,b3,loose)=>compare(a2,b3,loose)===0;module.exports=eq2}});var require_neq=__commonJS({"../../node_modules/semver/functions/neq.js"(exports,module){var compare=require_compare(),neq=(a2,b3,loose)=>compare(a2,b3,loose)!==0;module.exports=neq}});var require_gte=__commonJS({"../../node_modules/semver/functions/gte.js"(exports,module){var compare=require_compare(),gte=(a2,b3,loose)=>compare(a2,b3,loose)>=0;module.exports=gte}});var require_lte=__commonJS({"../../node_modules/semver/functions/lte.js"(exports,module){var compare=require_compare(),lte=(a2,b3,loose)=>compare(a2,b3,loose)<=0;module.exports=lte}});var require_cmp=__commonJS({"../../node_modules/semver/functions/cmp.js"(exports,module){var eq2=require_eq2(),neq=require_neq(),gt=require_gt(),gte=require_gte(),lt=require_lt(),lte=require_lte(),cmp=(a2,op,b3,loose)=>{switch(op){case"===":return typeof a2=="object"&&(a2=a2.version),typeof b3=="object"&&(b3=b3.version),a2===b3;case"!==":return typeof a2=="object"&&(a2=a2.version),typeof b3=="object"&&(b3=b3.version),a2!==b3;case"":case"=":case"==":return eq2(a2,b3,loose);case"!=":return neq(a2,b3,loose);case">":return gt(a2,b3,loose);case">=":return gte(a2,b3,loose);case"<":return lt(a2,b3,loose);case"<=":return lte(a2,b3,loose);default:throw new TypeError(`Invalid operator: ${op}`)}};module.exports=cmp}});var require_coerce=__commonJS({"../../node_modules/semver/functions/coerce.js"(exports,module){var SemVer=require_semver(),parse2=require_parse2(),{safeRe:re,t:t3}=require_re(),coerce=(version2,options3)=>{if(version2 instanceof SemVer)return version2;if(typeof version2=="number"&&(version2=String(version2)),typeof version2!="string")return null;options3=options3||{};let match=null;if(!options3.rtl)match=version2.match(re[t3.COERCE]);else{let next;for(;(next=re[t3.COERCERTL].exec(version2))&&(!match||match.index+match[0].length!==version2.length);)(!match||next.index+next[0].length!==match.index+match[0].length)&&(match=next),re[t3.COERCERTL].lastIndex=next.index+next[1].length+next[2].length;re[t3.COERCERTL].lastIndex=-1}return match===null?null:parse2(`${match[2]}.${match[3]||"0"}.${match[4]||"0"}`,options3)};module.exports=coerce}});var require_iterator=__commonJS({"../../node_modules/yallist/iterator.js"(exports,module){"use strict";module.exports=function(Yallist){Yallist.prototype[Symbol.iterator]=function*(){for(let walker=this.head;walker;walker=walker.next)yield walker.value}}}});var require_yallist=__commonJS({"../../node_modules/yallist/yallist.js"(exports,module){"use strict";module.exports=Yallist;Yallist.Node=Node3;Yallist.create=Yallist;function Yallist(list){var self2=this;if(self2 instanceof Yallist||(self2=new Yallist),self2.tail=null,self2.head=null,self2.length=0,list&&typeof list.forEach=="function")list.forEach(function(item){self2.push(item)});else if(arguments.length>0)for(var i3=0,l2=arguments.length;i31)acc=initial;else if(this.head)walker=this.head.next,acc=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i3=0;walker!==null;i3++)acc=fn(acc,walker.value,i3),walker=walker.next;return acc};Yallist.prototype.reduceReverse=function(fn,initial){var acc,walker=this.tail;if(arguments.length>1)acc=initial;else if(this.tail)walker=this.tail.prev,acc=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i3=this.length-1;walker!==null;i3--)acc=fn(acc,walker.value,i3),walker=walker.prev;return acc};Yallist.prototype.toArray=function(){for(var arr=new Array(this.length),i3=0,walker=this.head;walker!==null;i3++)arr[i3]=walker.value,walker=walker.next;return arr};Yallist.prototype.toArrayReverse=function(){for(var arr=new Array(this.length),i3=0,walker=this.tail;walker!==null;i3++)arr[i3]=walker.value,walker=walker.prev;return arr};Yallist.prototype.slice=function(from,to){to=to||this.length,to<0&&(to+=this.length),from=from||0,from<0&&(from+=this.length);var ret=new Yallist;if(tothis.length&&(to=this.length);for(var i3=0,walker=this.head;walker!==null&&i3this.length&&(to=this.length);for(var i3=this.length,walker=this.tail;walker!==null&&i3>to;i3--)walker=walker.prev;for(;walker!==null&&i3>from;i3--,walker=walker.prev)ret.push(walker.value);return ret};Yallist.prototype.splice=function(start,deleteCount,...nodes){start>this.length&&(start=this.length-1),start<0&&(start=this.length+start);for(var i3=0,walker=this.head;walker!==null&&i31,LRUCache=class{constructor(options3){if(typeof options3=="number"&&(options3={max:options3}),options3||(options3={}),options3.max&&(typeof options3.max!="number"||options3.max<0))throw new TypeError("max must be a non-negative number");let max=this[MAX]=options3.max||1/0,lc=options3.length||naiveLength;if(this[LENGTH_CALCULATOR]=typeof lc!="function"?naiveLength:lc,this[ALLOW_STALE]=options3.stale||!1,options3.maxAge&&typeof options3.maxAge!="number")throw new TypeError("maxAge must be a number");this[MAX_AGE]=options3.maxAge||0,this[DISPOSE]=options3.dispose,this[NO_DISPOSE_ON_SET]=options3.noDisposeOnSet||!1,this[UPDATE_AGE_ON_GET]=options3.updateAgeOnGet||!1,this.reset()}set max(mL){if(typeof mL!="number"||mL<0)throw new TypeError("max must be a non-negative number");this[MAX]=mL||1/0,trim(this)}get max(){return this[MAX]}set allowStale(allowStale){this[ALLOW_STALE]=!!allowStale}get allowStale(){return this[ALLOW_STALE]}set maxAge(mA){if(typeof mA!="number")throw new TypeError("maxAge must be a non-negative number");this[MAX_AGE]=mA,trim(this)}get maxAge(){return this[MAX_AGE]}set lengthCalculator(lC){typeof lC!="function"&&(lC=naiveLength),lC!==this[LENGTH_CALCULATOR]&&(this[LENGTH_CALCULATOR]=lC,this[LENGTH]=0,this[LRU_LIST].forEach(hit=>{hit.length=this[LENGTH_CALCULATOR](hit.value,hit.key),this[LENGTH]+=hit.length})),trim(this)}get lengthCalculator(){return this[LENGTH_CALCULATOR]}get length(){return this[LENGTH]}get itemCount(){return this[LRU_LIST].length}rforEach(fn,thisp){thisp=thisp||this;for(let walker=this[LRU_LIST].tail;walker!==null;){let prev=walker.prev;forEachStep(this,fn,walker,thisp),walker=prev}}forEach(fn,thisp){thisp=thisp||this;for(let walker=this[LRU_LIST].head;walker!==null;){let next=walker.next;forEachStep(this,fn,walker,thisp),walker=next}}keys(){return this[LRU_LIST].toArray().map(k2=>k2.key)}values(){return this[LRU_LIST].toArray().map(k2=>k2.value)}reset(){this[DISPOSE]&&this[LRU_LIST]&&this[LRU_LIST].length&&this[LRU_LIST].forEach(hit=>this[DISPOSE](hit.key,hit.value)),this[CACHE]=new Map,this[LRU_LIST]=new Yallist,this[LENGTH]=0}dump(){return this[LRU_LIST].map(hit=>isStale(this,hit)?!1:{k:hit.key,v:hit.value,e:hit.now+(hit.maxAge||0)}).toArray().filter(h3=>h3)}dumpLru(){return this[LRU_LIST]}set(key2,value2,maxAge){if(maxAge=maxAge||this[MAX_AGE],maxAge&&typeof maxAge!="number")throw new TypeError("maxAge must be a number");let now2=maxAge?Date.now():0,len=this[LENGTH_CALCULATOR](value2,key2);if(this[CACHE].has(key2)){if(len>this[MAX])return del(this,this[CACHE].get(key2)),!1;let item=this[CACHE].get(key2).value;return this[DISPOSE]&&(this[NO_DISPOSE_ON_SET]||this[DISPOSE](key2,item.value)),item.now=now2,item.maxAge=maxAge,item.value=value2,this[LENGTH]+=len-item.length,item.length=len,this.get(key2),trim(this),!0}let hit=new Entry(key2,value2,len,now2,maxAge);return hit.length>this[MAX]?(this[DISPOSE]&&this[DISPOSE](key2,value2),!1):(this[LENGTH]+=hit.length,this[LRU_LIST].unshift(hit),this[CACHE].set(key2,this[LRU_LIST].head),trim(this),!0)}has(key2){if(!this[CACHE].has(key2))return!1;let hit=this[CACHE].get(key2).value;return!isStale(this,hit)}get(key2){return get5(this,key2,!0)}peek(key2){return get5(this,key2,!1)}pop(){let node=this[LRU_LIST].tail;return node?(del(this,node),node.value):null}del(key2){del(this,this[CACHE].get(key2))}load(arr){this.reset();let now2=Date.now();for(let l2=arr.length-1;l2>=0;l2--){let hit=arr[l2],expiresAt=hit.e||0;if(expiresAt===0)this.set(hit.k,hit.v);else{let maxAge=expiresAt-now2;maxAge>0&&this.set(hit.k,hit.v,maxAge)}}}prune(){this[CACHE].forEach((value2,key2)=>get5(this,key2,!1))}},get5=(self2,key2,doUse)=>{let node=self2[CACHE].get(key2);if(node){let hit=node.value;if(isStale(self2,hit)){if(del(self2,node),!self2[ALLOW_STALE])return}else doUse&&(self2[UPDATE_AGE_ON_GET]&&(node.value.now=Date.now()),self2[LRU_LIST].unshiftNode(node));return hit.value}},isStale=(self2,hit)=>{if(!hit||!hit.maxAge&&!self2[MAX_AGE])return!1;let diff=Date.now()-hit.now;return hit.maxAge?diff>hit.maxAge:self2[MAX_AGE]&&diff>self2[MAX_AGE]},trim=self2=>{if(self2[LENGTH]>self2[MAX])for(let walker=self2[LRU_LIST].tail;self2[LENGTH]>self2[MAX]&&walker!==null;){let prev=walker.prev;del(self2,walker),walker=prev}},del=(self2,node)=>{if(node){let hit=node.value;self2[DISPOSE]&&self2[DISPOSE](hit.key,hit.value),self2[LENGTH]-=hit.length,self2[CACHE].delete(hit.key),self2[LRU_LIST].removeNode(node)}},Entry=class{constructor(key2,value2,length,now2,maxAge){this.key=key2,this.value=value2,this.length=length,this.now=now2,this.maxAge=maxAge||0}},forEachStep=(self2,fn,node,thisp)=>{let hit=node.value;isStale(self2,hit)&&(del(self2,node),self2[ALLOW_STALE]||(hit=void 0)),hit&&fn.call(thisp,hit.value,hit.key,self2)};module.exports=LRUCache}});var require_range=__commonJS({"../../node_modules/semver/classes/range.js"(exports,module){var Range=class _Range{constructor(range,options3){if(options3=parseOptions(options3),range instanceof _Range)return range.loose===!!options3.loose&&range.includePrerelease===!!options3.includePrerelease?range:new _Range(range.raw,options3);if(range instanceof Comparator)return this.raw=range.value,this.set=[[range]],this.format(),this;if(this.options=options3,this.loose=!!options3.loose,this.includePrerelease=!!options3.includePrerelease,this.raw=range.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(r4=>this.parseRange(r4.trim())).filter(c3=>c3.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let first=this.set[0];if(this.set=this.set.filter(c3=>!isNullSet(c3[0])),this.set.length===0)this.set=[first];else if(this.set.length>1){for(let c3 of this.set)if(c3.length===1&&isAny(c3[0])){this.set=[c3];break}}}this.format()}format(){return this.range=this.set.map(comps=>comps.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(range){let memoKey=((this.options.includePrerelease&&FLAG_INCLUDE_PRERELEASE)|(this.options.loose&&FLAG_LOOSE))+":"+range,cached=cache.get(memoKey);if(cached)return cached;let loose=this.options.loose,hr=loose?re[t3.HYPHENRANGELOOSE]:re[t3.HYPHENRANGE];range=range.replace(hr,hyphenReplace(this.options.includePrerelease)),debug("hyphen replace",range),range=range.replace(re[t3.COMPARATORTRIM],comparatorTrimReplace),debug("comparator trim",range),range=range.replace(re[t3.TILDETRIM],tildeTrimReplace),debug("tilde trim",range),range=range.replace(re[t3.CARETTRIM],caretTrimReplace),debug("caret trim",range);let rangeList=range.split(" ").map(comp=>parseComparator(comp,this.options)).join(" ").split(/\s+/).map(comp=>replaceGTE0(comp,this.options));loose&&(rangeList=rangeList.filter(comp=>(debug("loose invalid filter",comp,this.options),!!comp.match(re[t3.COMPARATORLOOSE])))),debug("range list",rangeList);let rangeMap=new Map,comparators=rangeList.map(comp=>new Comparator(comp,this.options));for(let comp of comparators){if(isNullSet(comp))return[comp];rangeMap.set(comp.value,comp)}rangeMap.size>1&&rangeMap.has("")&&rangeMap.delete("");let result2=[...rangeMap.values()];return cache.set(memoKey,result2),result2}intersects(range,options3){if(!(range instanceof _Range))throw new TypeError("a Range is required");return this.set.some(thisComparators=>isSatisfiable(thisComparators,options3)&&range.set.some(rangeComparators=>isSatisfiable(rangeComparators,options3)&&thisComparators.every(thisComparator=>rangeComparators.every(rangeComparator=>thisComparator.intersects(rangeComparator,options3)))))}test(version2){if(!version2)return!1;if(typeof version2=="string")try{version2=new SemVer(version2,this.options)}catch{return!1}for(let i3=0;i3c3.value==="<0.0.0-0",isAny=c3=>c3.value==="",isSatisfiable=(comparators,options3)=>{let result2=!0,remainingComparators=comparators.slice(),testComparator=remainingComparators.pop();for(;result2&&remainingComparators.length;)result2=remainingComparators.every(otherComparator=>testComparator.intersects(otherComparator,options3)),testComparator=remainingComparators.pop();return result2},parseComparator=(comp,options3)=>(debug("comp",comp,options3),comp=replaceCarets(comp,options3),debug("caret",comp),comp=replaceTildes(comp,options3),debug("tildes",comp),comp=replaceXRanges(comp,options3),debug("xrange",comp),comp=replaceStars(comp,options3),debug("stars",comp),comp),isX=id=>!id||id.toLowerCase()==="x"||id==="*",replaceTildes=(comp,options3)=>comp.trim().split(/\s+/).map(c3=>replaceTilde(c3,options3)).join(" "),replaceTilde=(comp,options3)=>{let r4=options3.loose?re[t3.TILDELOOSE]:re[t3.TILDE];return comp.replace(r4,(_2,M2,m3,p2,pr)=>{debug("tilde",comp,_2,M2,m3,p2,pr);let ret;return isX(M2)?ret="":isX(m3)?ret=`>=${M2}.0.0 <${+M2+1}.0.0-0`:isX(p2)?ret=`>=${M2}.${m3}.0 <${M2}.${+m3+1}.0-0`:pr?(debug("replaceTilde pr",pr),ret=`>=${M2}.${m3}.${p2}-${pr} <${M2}.${+m3+1}.0-0`):ret=`>=${M2}.${m3}.${p2} <${M2}.${+m3+1}.0-0`,debug("tilde return",ret),ret})},replaceCarets=(comp,options3)=>comp.trim().split(/\s+/).map(c3=>replaceCaret(c3,options3)).join(" "),replaceCaret=(comp,options3)=>{debug("caret",comp,options3);let r4=options3.loose?re[t3.CARETLOOSE]:re[t3.CARET],z2=options3.includePrerelease?"-0":"";return comp.replace(r4,(_2,M2,m3,p2,pr)=>{debug("caret",comp,_2,M2,m3,p2,pr);let ret;return isX(M2)?ret="":isX(m3)?ret=`>=${M2}.0.0${z2} <${+M2+1}.0.0-0`:isX(p2)?M2==="0"?ret=`>=${M2}.${m3}.0${z2} <${M2}.${+m3+1}.0-0`:ret=`>=${M2}.${m3}.0${z2} <${+M2+1}.0.0-0`:pr?(debug("replaceCaret pr",pr),M2==="0"?m3==="0"?ret=`>=${M2}.${m3}.${p2}-${pr} <${M2}.${m3}.${+p2+1}-0`:ret=`>=${M2}.${m3}.${p2}-${pr} <${M2}.${+m3+1}.0-0`:ret=`>=${M2}.${m3}.${p2}-${pr} <${+M2+1}.0.0-0`):(debug("no pr"),M2==="0"?m3==="0"?ret=`>=${M2}.${m3}.${p2}${z2} <${M2}.${m3}.${+p2+1}-0`:ret=`>=${M2}.${m3}.${p2}${z2} <${M2}.${+m3+1}.0-0`:ret=`>=${M2}.${m3}.${p2} <${+M2+1}.0.0-0`),debug("caret return",ret),ret})},replaceXRanges=(comp,options3)=>(debug("replaceXRanges",comp,options3),comp.split(/\s+/).map(c3=>replaceXRange(c3,options3)).join(" ")),replaceXRange=(comp,options3)=>{comp=comp.trim();let r4=options3.loose?re[t3.XRANGELOOSE]:re[t3.XRANGE];return comp.replace(r4,(ret,gtlt,M2,m3,p2,pr)=>{debug("xRange",comp,ret,gtlt,M2,m3,p2,pr);let xM=isX(M2),xm=xM||isX(m3),xp=xm||isX(p2),anyX=xp;return gtlt==="="&&anyX&&(gtlt=""),pr=options3.includePrerelease?"-0":"",xM?gtlt===">"||gtlt==="<"?ret="<0.0.0-0":ret="*":gtlt&&anyX?(xm&&(m3=0),p2=0,gtlt===">"?(gtlt=">=",xm?(M2=+M2+1,m3=0,p2=0):(m3=+m3+1,p2=0)):gtlt==="<="&&(gtlt="<",xm?M2=+M2+1:m3=+m3+1),gtlt==="<"&&(pr="-0"),ret=`${gtlt+M2}.${m3}.${p2}${pr}`):xm?ret=`>=${M2}.0.0${pr} <${+M2+1}.0.0-0`:xp&&(ret=`>=${M2}.${m3}.0${pr} <${M2}.${+m3+1}.0-0`),debug("xRange return",ret),ret})},replaceStars=(comp,options3)=>(debug("replaceStars",comp,options3),comp.trim().replace(re[t3.STAR],"")),replaceGTE0=(comp,options3)=>(debug("replaceGTE0",comp,options3),comp.trim().replace(re[options3.includePrerelease?t3.GTE0PRE:t3.GTE0],"")),hyphenReplace=incPr=>($0,from,fM,fm,fp,fpr,fb,to,tM,tm,tp,tpr,tb)=>(isX(fM)?from="":isX(fm)?from=`>=${fM}.0.0${incPr?"-0":""}`:isX(fp)?from=`>=${fM}.${fm}.0${incPr?"-0":""}`:fpr?from=`>=${from}`:from=`>=${from}${incPr?"-0":""}`,isX(tM)?to="":isX(tm)?to=`<${+tM+1}.0.0-0`:isX(tp)?to=`<${tM}.${+tm+1}.0-0`:tpr?to=`<=${tM}.${tm}.${tp}-${tpr}`:incPr?to=`<${tM}.${tm}.${+tp+1}-0`:to=`<=${to}`,`${from} ${to}`.trim()),testSet=(set3,version2,options3)=>{for(let i3=0;i30){let allowed=set3[i3].semver;if(allowed.major===version2.major&&allowed.minor===version2.minor&&allowed.patch===version2.patch)return!0}return!1}return!0}}});var require_comparator=__commonJS({"../../node_modules/semver/classes/comparator.js"(exports,module){var ANY=Symbol("SemVer ANY"),Comparator=class _Comparator{static get ANY(){return ANY}constructor(comp,options3){if(options3=parseOptions(options3),comp instanceof _Comparator){if(comp.loose===!!options3.loose)return comp;comp=comp.value}comp=comp.trim().split(/\s+/).join(" "),debug("comparator",comp,options3),this.options=options3,this.loose=!!options3.loose,this.parse(comp),this.semver===ANY?this.value="":this.value=this.operator+this.semver.version,debug("comp",this)}parse(comp){let r4=this.options.loose?re[t3.COMPARATORLOOSE]:re[t3.COMPARATOR],m3=comp.match(r4);if(!m3)throw new TypeError(`Invalid comparator: ${comp}`);this.operator=m3[1]!==void 0?m3[1]:"",this.operator==="="&&(this.operator=""),m3[2]?this.semver=new SemVer(m3[2],this.options.loose):this.semver=ANY}toString(){return this.value}test(version2){if(debug("Comparator.test",version2,this.options.loose),this.semver===ANY||version2===ANY)return!0;if(typeof version2=="string")try{version2=new SemVer(version2,this.options)}catch{return!1}return cmp(version2,this.operator,this.semver,this.options)}intersects(comp,options3){if(!(comp instanceof _Comparator))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new Range(comp.value,options3).test(this.value):comp.operator===""?comp.value===""?!0:new Range(this.value,options3).test(comp.semver):(options3=parseOptions(options3),options3.includePrerelease&&(this.value==="<0.0.0-0"||comp.value==="<0.0.0-0")||!options3.includePrerelease&&(this.value.startsWith("<0.0.0")||comp.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&comp.operator.startsWith(">")||this.operator.startsWith("<")&&comp.operator.startsWith("<")||this.semver.version===comp.semver.version&&this.operator.includes("=")&&comp.operator.includes("=")||cmp(this.semver,"<",comp.semver,options3)&&this.operator.startsWith(">")&&comp.operator.startsWith("<")||cmp(this.semver,">",comp.semver,options3)&&this.operator.startsWith("<")&&comp.operator.startsWith(">")))}};module.exports=Comparator;var parseOptions=require_parse_options(),{safeRe:re,t:t3}=require_re(),cmp=require_cmp(),debug=require_debug(),SemVer=require_semver(),Range=require_range()}});var require_satisfies=__commonJS({"../../node_modules/semver/functions/satisfies.js"(exports,module){var Range=require_range(),satisfies=(version2,range,options3)=>{try{range=new Range(range,options3)}catch{return!1}return range.test(version2)};module.exports=satisfies}});var require_to_comparators=__commonJS({"../../node_modules/semver/ranges/to-comparators.js"(exports,module){var Range=require_range(),toComparators=(range,options3)=>new Range(range,options3).set.map(comp=>comp.map(c3=>c3.value).join(" ").trim().split(" "));module.exports=toComparators}});var require_max_satisfying=__commonJS({"../../node_modules/semver/ranges/max-satisfying.js"(exports,module){var SemVer=require_semver(),Range=require_range(),maxSatisfying=(versions,range,options3)=>{let max=null,maxSV=null,rangeObj=null;try{rangeObj=new Range(range,options3)}catch{return null}return versions.forEach(v2=>{rangeObj.test(v2)&&(!max||maxSV.compare(v2)===-1)&&(max=v2,maxSV=new SemVer(max,options3))}),max};module.exports=maxSatisfying}});var require_min_satisfying=__commonJS({"../../node_modules/semver/ranges/min-satisfying.js"(exports,module){var SemVer=require_semver(),Range=require_range(),minSatisfying=(versions,range,options3)=>{let min=null,minSV=null,rangeObj=null;try{rangeObj=new Range(range,options3)}catch{return null}return versions.forEach(v2=>{rangeObj.test(v2)&&(!min||minSV.compare(v2)===1)&&(min=v2,minSV=new SemVer(min,options3))}),min};module.exports=minSatisfying}});var require_min_version=__commonJS({"../../node_modules/semver/ranges/min-version.js"(exports,module){var SemVer=require_semver(),Range=require_range(),gt=require_gt(),minVersion=(range,loose)=>{range=new Range(range,loose);let minver=new SemVer("0.0.0");if(range.test(minver)||(minver=new SemVer("0.0.0-0"),range.test(minver)))return minver;minver=null;for(let i3=0;i3{let compver=new SemVer(comparator.semver.version);switch(comparator.operator){case">":compver.prerelease.length===0?compver.patch++:compver.prerelease.push(0),compver.raw=compver.format();case"":case">=":(!setMin||gt(compver,setMin))&&(setMin=compver);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${comparator.operator}`)}}),setMin&&(!minver||gt(minver,setMin))&&(minver=setMin)}return minver&&range.test(minver)?minver:null};module.exports=minVersion}});var require_valid2=__commonJS({"../../node_modules/semver/ranges/valid.js"(exports,module){var Range=require_range(),validRange=(range,options3)=>{try{return new Range(range,options3).range||"*"}catch{return null}};module.exports=validRange}});var require_outside=__commonJS({"../../node_modules/semver/ranges/outside.js"(exports,module){var SemVer=require_semver(),Comparator=require_comparator(),{ANY}=Comparator,Range=require_range(),satisfies=require_satisfies(),gt=require_gt(),lt=require_lt(),lte=require_lte(),gte=require_gte(),outside=(version2,range,hilo,options3)=>{version2=new SemVer(version2,options3),range=new Range(range,options3);let gtfn,ltefn,ltfn,comp,ecomp;switch(hilo){case">":gtfn=gt,ltefn=lte,ltfn=lt,comp=">",ecomp=">=";break;case"<":gtfn=lt,ltefn=gte,ltfn=gt,comp="<",ecomp="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(version2,range,options3))return!1;for(let i3=0;i3{comparator.semver===ANY&&(comparator=new Comparator(">=0.0.0")),high=high||comparator,low=low||comparator,gtfn(comparator.semver,high.semver,options3)?high=comparator:ltfn(comparator.semver,low.semver,options3)&&(low=comparator)}),high.operator===comp||high.operator===ecomp||(!low.operator||low.operator===comp)&<efn(version2,low.semver))return!1;if(low.operator===ecomp&<fn(version2,low.semver))return!1}return!0};module.exports=outside}});var require_gtr=__commonJS({"../../node_modules/semver/ranges/gtr.js"(exports,module){var outside=require_outside(),gtr=(version2,range,options3)=>outside(version2,range,">",options3);module.exports=gtr}});var require_ltr=__commonJS({"../../node_modules/semver/ranges/ltr.js"(exports,module){var outside=require_outside(),ltr=(version2,range,options3)=>outside(version2,range,"<",options3);module.exports=ltr}});var require_intersects=__commonJS({"../../node_modules/semver/ranges/intersects.js"(exports,module){var Range=require_range(),intersects=(r1,r22,options3)=>(r1=new Range(r1,options3),r22=new Range(r22,options3),r1.intersects(r22,options3));module.exports=intersects}});var require_simplify=__commonJS({"../../node_modules/semver/ranges/simplify.js"(exports,module){var satisfies=require_satisfies(),compare=require_compare();module.exports=(versions,range,options3)=>{let set3=[],first=null,prev=null,v2=versions.sort((a2,b3)=>compare(a2,b3,options3));for(let version2 of v2)satisfies(version2,range,options3)?(prev=version2,first||(first=version2)):(prev&&set3.push([first,prev]),prev=null,first=null);first&&set3.push([first,null]);let ranges=[];for(let[min,max]of set3)min===max?ranges.push(min):!max&&min===v2[0]?ranges.push("*"):max?min===v2[0]?ranges.push(`<=${max}`):ranges.push(`${min} - ${max}`):ranges.push(`>=${min}`);let simplified=ranges.join(" || "),original=typeof range.raw=="string"?range.raw:String(range);return simplified.length{if(sub===dom)return!0;sub=new Range(sub,options3),dom=new Range(dom,options3);let sawNonNull=!1;OUTER:for(let simpleSub of sub.set){for(let simpleDom of dom.set){let isSub=simpleSubset(simpleSub,simpleDom,options3);if(sawNonNull=sawNonNull||isSub!==null,isSub)continue OUTER}if(sawNonNull)return!1}return!0},minimumVersionWithPreRelease=[new Comparator(">=0.0.0-0")],minimumVersion=[new Comparator(">=0.0.0")],simpleSubset=(sub,dom,options3)=>{if(sub===dom)return!0;if(sub.length===1&&sub[0].semver===ANY){if(dom.length===1&&dom[0].semver===ANY)return!0;options3.includePrerelease?sub=minimumVersionWithPreRelease:sub=minimumVersion}if(dom.length===1&&dom[0].semver===ANY){if(options3.includePrerelease)return!0;dom=minimumVersion}let eqSet=new Set,gt,lt;for(let c3 of sub)c3.operator===">"||c3.operator===">="?gt=higherGT(gt,c3,options3):c3.operator==="<"||c3.operator==="<="?lt=lowerLT(lt,c3,options3):eqSet.add(c3.semver);if(eqSet.size>1)return null;let gtltComp;if(gt&<){if(gtltComp=compare(gt.semver,lt.semver,options3),gtltComp>0)return null;if(gtltComp===0&&(gt.operator!==">="||lt.operator!=="<="))return null}for(let eq2 of eqSet){if(gt&&!satisfies(eq2,String(gt),options3)||lt&&!satisfies(eq2,String(lt),options3))return null;for(let c3 of dom)if(!satisfies(eq2,String(c3),options3))return!1;return!0}let higher,lower,hasDomLT,hasDomGT,needDomLTPre=lt&&!options3.includePrerelease&<.semver.prerelease.length?lt.semver:!1,needDomGTPre=gt&&!options3.includePrerelease&>.semver.prerelease.length?gt.semver:!1;needDomLTPre&&needDomLTPre.prerelease.length===1&<.operator==="<"&&needDomLTPre.prerelease[0]===0&&(needDomLTPre=!1);for(let c3 of dom){if(hasDomGT=hasDomGT||c3.operator===">"||c3.operator===">=",hasDomLT=hasDomLT||c3.operator==="<"||c3.operator==="<=",gt){if(needDomGTPre&&c3.semver.prerelease&&c3.semver.prerelease.length&&c3.semver.major===needDomGTPre.major&&c3.semver.minor===needDomGTPre.minor&&c3.semver.patch===needDomGTPre.patch&&(needDomGTPre=!1),c3.operator===">"||c3.operator===">="){if(higher=higherGT(gt,c3,options3),higher===c3&&higher!==gt)return!1}else if(gt.operator===">="&&!satisfies(gt.semver,String(c3),options3))return!1}if(lt){if(needDomLTPre&&c3.semver.prerelease&&c3.semver.prerelease.length&&c3.semver.major===needDomLTPre.major&&c3.semver.minor===needDomLTPre.minor&&c3.semver.patch===needDomLTPre.patch&&(needDomLTPre=!1),c3.operator==="<"||c3.operator==="<="){if(lower=lowerLT(lt,c3,options3),lower===c3&&lower!==lt)return!1}else if(lt.operator==="<="&&!satisfies(lt.semver,String(c3),options3))return!1}if(!c3.operator&&(lt||gt)&>ltComp!==0)return!1}return!(gt&&hasDomLT&&!lt&>ltComp!==0||lt&&hasDomGT&&!gt&>ltComp!==0||needDomGTPre||needDomLTPre)},higherGT=(a2,b3,options3)=>{if(!a2)return b3;let comp=compare(a2.semver,b3.semver,options3);return comp>0?a2:comp<0||b3.operator===">"&&a2.operator===">="?b3:a2},lowerLT=(a2,b3,options3)=>{if(!a2)return b3;let comp=compare(a2.semver,b3.semver,options3);return comp<0?a2:comp>0||b3.operator==="<"&&a2.operator==="<="?b3:a2};module.exports=subset}});var require_semver2=__commonJS({"../../node_modules/semver/index.js"(exports,module){var internalRe=require_re(),constants=require_constants(),SemVer=require_semver(),identifiers=require_identifiers(),parse2=require_parse2(),valid=require_valid(),clean=require_clean(),inc=require_inc(),diff=require_diff(),major=require_major(),minor=require_minor(),patch=require_patch(),prerelease=require_prerelease(),compare=require_compare(),rcompare=require_rcompare(),compareLoose=require_compare_loose(),compareBuild=require_compare_build(),sort=require_sort(),rsort=require_rsort(),gt=require_gt(),lt=require_lt(),eq2=require_eq2(),neq=require_neq(),gte=require_gte(),lte=require_lte(),cmp=require_cmp(),coerce=require_coerce(),Comparator=require_comparator(),Range=require_range(),satisfies=require_satisfies(),toComparators=require_to_comparators(),maxSatisfying=require_max_satisfying(),minSatisfying=require_min_satisfying(),minVersion=require_min_version(),validRange=require_valid2(),outside=require_outside(),gtr=require_gtr(),ltr=require_ltr(),intersects=require_intersects(),simplifyRange=require_simplify(),subset=require_subset();module.exports={parse:parse2,valid,clean,inc,diff,major,minor,patch,prerelease,compare,rcompare,compareLoose,compareBuild,sort,rsort,gt,lt,eq:eq2,neq,gte,lte,cmp,coerce,Comparator,Range,satisfies,toComparators,maxSatisfying,minSatisfying,minVersion,validRange,outside,gtr,ltr,intersects,simplifyRange,subset,SemVer,re:internalRe.re,src:internalRe.src,tokens:internalRe.t,SEMVER_SPEC_VERSION:constants.SEMVER_SPEC_VERSION,RELEASE_TYPES:constants.RELEASE_TYPES,compareIdentifiers:identifiers.compareIdentifiers,rcompareIdentifiers:identifiers.rcompareIdentifiers}}});var require_react_is_development=__commonJS({"../../node_modules/react-is/cjs/react-is.development.js"(exports){"use strict";(function(){"use strict";var hasSymbol=typeof Symbol=="function"&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,REACT_STRICT_MODE_TYPE=hasSymbol?Symbol.for("react.strict_mode"):60108,REACT_PROFILER_TYPE=hasSymbol?Symbol.for("react.profiler"):60114,REACT_PROVIDER_TYPE=hasSymbol?Symbol.for("react.provider"):60109,REACT_CONTEXT_TYPE=hasSymbol?Symbol.for("react.context"):60110,REACT_ASYNC_MODE_TYPE=hasSymbol?Symbol.for("react.async_mode"):60111,REACT_CONCURRENT_MODE_TYPE=hasSymbol?Symbol.for("react.concurrent_mode"):60111,REACT_FORWARD_REF_TYPE=hasSymbol?Symbol.for("react.forward_ref"):60112,REACT_SUSPENSE_TYPE=hasSymbol?Symbol.for("react.suspense"):60113,REACT_SUSPENSE_LIST_TYPE=hasSymbol?Symbol.for("react.suspense_list"):60120,REACT_MEMO_TYPE=hasSymbol?Symbol.for("react.memo"):60115,REACT_LAZY_TYPE=hasSymbol?Symbol.for("react.lazy"):60116,REACT_BLOCK_TYPE=hasSymbol?Symbol.for("react.block"):60121,REACT_FUNDAMENTAL_TYPE=hasSymbol?Symbol.for("react.fundamental"):60117,REACT_RESPONDER_TYPE=hasSymbol?Symbol.for("react.responder"):60118,REACT_SCOPE_TYPE=hasSymbol?Symbol.for("react.scope"):60119;function isValidElementType(type){return typeof type=="string"||typeof type=="function"||type===REACT_FRAGMENT_TYPE||type===REACT_CONCURRENT_MODE_TYPE||type===REACT_PROFILER_TYPE||type===REACT_STRICT_MODE_TYPE||type===REACT_SUSPENSE_TYPE||type===REACT_SUSPENSE_LIST_TYPE||typeof type=="object"&&type!==null&&(type.$$typeof===REACT_LAZY_TYPE||type.$$typeof===REACT_MEMO_TYPE||type.$$typeof===REACT_PROVIDER_TYPE||type.$$typeof===REACT_CONTEXT_TYPE||type.$$typeof===REACT_FORWARD_REF_TYPE||type.$$typeof===REACT_FUNDAMENTAL_TYPE||type.$$typeof===REACT_RESPONDER_TYPE||type.$$typeof===REACT_SCOPE_TYPE||type.$$typeof===REACT_BLOCK_TYPE)}function typeOf(object){if(typeof object=="object"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type=object.type;switch(type){case REACT_ASYNC_MODE_TYPE:case REACT_CONCURRENT_MODE_TYPE:case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:return type;default:var $$typeofType=type&&type.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var AsyncMode=REACT_ASYNC_MODE_TYPE,ConcurrentMode=REACT_CONCURRENT_MODE_TYPE,ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment15=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense2=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),isConcurrentMode(object)||typeOf(object)===REACT_ASYNC_MODE_TYPE}function isConcurrentMode(object){return typeOf(object)===REACT_CONCURRENT_MODE_TYPE}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement(object){return typeof object=="object"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef2(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}exports.AsyncMode=AsyncMode,exports.ConcurrentMode=ConcurrentMode,exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment15,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense2,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement,exports.isForwardRef=isForwardRef2,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf})()}});var require_react_is=__commonJS({"../../node_modules/react-is/index.js"(exports,module){"use strict";module.exports=require_react_is_development()}});var require_factoryWithTypeCheckers=__commonJS({"../../node_modules/prop-types/factoryWithTypeCheckers.js"(exports,module){"use strict";var ReactIs=require_react_is(),assign=require_object_assign(),ReactPropTypesSecret=require_ReactPropTypesSecret(),has3=require_has(),checkPropTypes=require_checkPropTypes(),printWarning=function(){};printWarning=function(text){var message="Warning: "+text;typeof console<"u"&&console.error(message);try{throw new Error(message)}catch{}};function emptyFunctionThatReturnsNull(){return null}module.exports=function(isValidElement2,throwOnDirectAccess){var ITERATOR_SYMBOL=typeof Symbol=="function"&&Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){var iteratorFn=maybeIterable&&(ITERATOR_SYMBOL&&maybeIterable[ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL]);if(typeof iteratorFn=="function")return iteratorFn}var ANONYMOUS="<>",ReactPropTypes={array:createPrimitiveTypeChecker("array"),bigint:createPrimitiveTypeChecker("bigint"),bool:createPrimitiveTypeChecker("boolean"),func:createPrimitiveTypeChecker("function"),number:createPrimitiveTypeChecker("number"),object:createPrimitiveTypeChecker("object"),string:createPrimitiveTypeChecker("string"),symbol:createPrimitiveTypeChecker("symbol"),any:createAnyTypeChecker(),arrayOf:createArrayOfTypeChecker,element:createElementTypeChecker(),elementType:createElementTypeTypeChecker(),instanceOf:createInstanceTypeChecker,node:createNodeChecker(),objectOf:createObjectOfTypeChecker,oneOf:createEnumTypeChecker,oneOfType:createUnionTypeChecker,shape:createShapeTypeChecker,exact:createStrictShapeTypeChecker};function is(x3,y2){return x3===y2?x3!==0||1/x3===1/y2:x3!==x3&&y2!==y2}function PropTypeError(message,data){this.message=message,this.data=data&&typeof data=="object"?data:{},this.stack=""}PropTypeError.prototype=Error.prototype;function createChainableTypeChecker(validate){var manualPropTypeCallCache={},manualPropTypeWarningCount=0;function checkType(isRequired,props,propName,componentName,location3,propFullName,secret){if(componentName=componentName||ANONYMOUS,propFullName=propFullName||propName,secret!==ReactPropTypesSecret){if(throwOnDirectAccess){var err=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw err.name="Invariant Violation",err}else if(typeof console<"u"){var cacheKey=componentName+":"+propName;!manualPropTypeCallCache[cacheKey]&&manualPropTypeWarningCount<3&&(printWarning("You are manually calling a React.PropTypes validation function for the `"+propFullName+"` prop on `"+componentName+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),manualPropTypeCallCache[cacheKey]=!0,manualPropTypeWarningCount++)}}return props[propName]==null?isRequired?props[propName]===null?new PropTypeError("The "+location3+" `"+propFullName+"` is marked as required "+("in `"+componentName+"`, but its value is `null`.")):new PropTypeError("The "+location3+" `"+propFullName+"` is marked as required in "+("`"+componentName+"`, but its value is `undefined`.")):null:validate(props,propName,componentName,location3,propFullName)}var chainedCheckType=checkType.bind(null,!1);return chainedCheckType.isRequired=checkType.bind(null,!0),chainedCheckType}function createPrimitiveTypeChecker(expectedType){function validate(props,propName,componentName,location3,propFullName,secret){var propValue=props[propName],propType=getPropType(propValue);if(propType!==expectedType){var preciseType=getPreciseType(propValue);return new PropTypeError("Invalid "+location3+" `"+propFullName+"` of type "+("`"+preciseType+"` supplied to `"+componentName+"`, expected ")+("`"+expectedType+"`."),{expectedType})}return null}return createChainableTypeChecker(validate)}function createAnyTypeChecker(){return createChainableTypeChecker(emptyFunctionThatReturnsNull)}function createArrayOfTypeChecker(typeChecker){function validate(props,propName,componentName,location3,propFullName){if(typeof typeChecker!="function")return new PropTypeError("Property `"+propFullName+"` of component `"+componentName+"` has invalid PropType notation inside arrayOf.");var propValue=props[propName];if(!Array.isArray(propValue)){var propType=getPropType(propValue);return new PropTypeError("Invalid "+location3+" `"+propFullName+"` of type "+("`"+propType+"` supplied to `"+componentName+"`, expected an array."))}for(var i3=0;i31?printWarning("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):printWarning("Invalid argument supplied to oneOf, expected an array."),emptyFunctionThatReturnsNull;function validate(props,propName,componentName,location3,propFullName){for(var propValue=props[propName],i3=0;i30?", expected one of type ["+expectedTypes.join(", ")+"]":"";return new PropTypeError("Invalid "+location3+" `"+propFullName+"` supplied to "+("`"+componentName+"`"+expectedTypesMessage+"."))}return createChainableTypeChecker(validate)}function createNodeChecker(){function validate(props,propName,componentName,location3,propFullName){return isNode(props[propName])?null:new PropTypeError("Invalid "+location3+" `"+propFullName+"` supplied to "+("`"+componentName+"`, expected a ReactNode."))}return createChainableTypeChecker(validate)}function invalidValidatorError(componentName,location3,propFullName,key2,type){return new PropTypeError((componentName||"React class")+": "+location3+" type `"+propFullName+"."+key2+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+type+"`.")}function createShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location3,propFullName){var propValue=props[propName],propType=getPropType(propValue);if(propType!=="object")return new PropTypeError("Invalid "+location3+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."));for(var key2 in shapeTypes){var checker=shapeTypes[key2];if(typeof checker!="function")return invalidValidatorError(componentName,location3,propFullName,key2,getPreciseType(checker));var error=checker(propValue,key2,componentName,location3,propFullName+"."+key2,ReactPropTypesSecret);if(error)return error}return null}return createChainableTypeChecker(validate)}function createStrictShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location3,propFullName){var propValue=props[propName],propType=getPropType(propValue);if(propType!=="object")return new PropTypeError("Invalid "+location3+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."));var allKeys=assign({},props[propName],shapeTypes);for(var key2 in allKeys){var checker=shapeTypes[key2];if(has3(shapeTypes,key2)&&typeof checker!="function")return invalidValidatorError(componentName,location3,propFullName,key2,getPreciseType(checker));if(!checker)return new PropTypeError("Invalid "+location3+" `"+propFullName+"` key `"+key2+"` supplied to `"+componentName+"`.\nBad object: "+JSON.stringify(props[propName],null," ")+` +Valid keys: `+JSON.stringify(Object.keys(shapeTypes),null," "));var error=checker(propValue,key2,componentName,location3,propFullName+"."+key2,ReactPropTypesSecret);if(error)return error}return null}return createChainableTypeChecker(validate)}function isNode(propValue){switch(typeof propValue){case"number":case"string":case"undefined":return!0;case"boolean":return!propValue;case"object":if(Array.isArray(propValue))return propValue.every(isNode);if(propValue===null||isValidElement2(propValue))return!0;var iteratorFn=getIteratorFn(propValue);if(iteratorFn){var iterator=iteratorFn.call(propValue),step;if(iteratorFn!==propValue.entries){for(;!(step=iterator.next()).done;)if(!isNode(step.value))return!1}else for(;!(step=iterator.next()).done;){var entry=step.value;if(entry&&!isNode(entry[1]))return!1}}else return!1;return!0;default:return!1}}function isSymbol3(propType,propValue){return propType==="symbol"?!0:propValue?propValue["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&propValue instanceof Symbol:!1}function getPropType(propValue){var propType=typeof propValue;return Array.isArray(propValue)?"array":propValue instanceof RegExp?"object":isSymbol3(propType,propValue)?"symbol":propType}function getPreciseType(propValue){if(typeof propValue>"u"||propValue===null)return""+propValue;var propType=getPropType(propValue);if(propType==="object"){if(propValue instanceof Date)return"date";if(propValue instanceof RegExp)return"regexp"}return propType}function getPostfixForTypeWarning(value2){var type=getPreciseType(value2);switch(type){case"array":case"object":return"an "+type;case"boolean":case"date":case"regexp":return"a "+type;default:return type}}function getClassName(propValue){return!propValue.constructor||!propValue.constructor.name?ANONYMOUS:propValue.constructor.name}return ReactPropTypes.checkPropTypes=checkPropTypes,ReactPropTypes.resetWarningCache=checkPropTypes.resetWarningCache,ReactPropTypes.PropTypes=ReactPropTypes,ReactPropTypes}}});var require_prop_types=__commonJS({"../../node_modules/prop-types/index.js"(exports,module){ReactIs=require_react_is(),throwOnDirectAccess=!0,module.exports=require_factoryWithTypeCheckers()(ReactIs.isElement,throwOnDirectAccess);var ReactIs,throwOnDirectAccess}});var require_react_fast_compare=__commonJS({"../../node_modules/react-fast-compare/index.js"(exports,module){var hasElementType=typeof Element<"u",hasMap=typeof Map=="function",hasSet=typeof Set=="function",hasArrayBuffer=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function equal(a2,b3){if(a2===b3)return!0;if(a2&&b3&&typeof a2=="object"&&typeof b3=="object"){if(a2.constructor!==b3.constructor)return!1;var length,i3,keys2;if(Array.isArray(a2)){if(length=a2.length,length!=b3.length)return!1;for(i3=length;i3--!==0;)if(!equal(a2[i3],b3[i3]))return!1;return!0}var it;if(hasMap&&a2 instanceof Map&&b3 instanceof Map){if(a2.size!==b3.size)return!1;for(it=a2.entries();!(i3=it.next()).done;)if(!b3.has(i3.value[0]))return!1;for(it=a2.entries();!(i3=it.next()).done;)if(!equal(i3.value[1],b3.get(i3.value[0])))return!1;return!0}if(hasSet&&a2 instanceof Set&&b3 instanceof Set){if(a2.size!==b3.size)return!1;for(it=a2.entries();!(i3=it.next()).done;)if(!b3.has(i3.value[0]))return!1;return!0}if(hasArrayBuffer&&ArrayBuffer.isView(a2)&&ArrayBuffer.isView(b3)){if(length=a2.length,length!=b3.length)return!1;for(i3=length;i3--!==0;)if(a2[i3]!==b3[i3])return!1;return!0}if(a2.constructor===RegExp)return a2.source===b3.source&&a2.flags===b3.flags;if(a2.valueOf!==Object.prototype.valueOf&&typeof a2.valueOf=="function"&&typeof b3.valueOf=="function")return a2.valueOf()===b3.valueOf();if(a2.toString!==Object.prototype.toString&&typeof a2.toString=="function"&&typeof b3.toString=="function")return a2.toString()===b3.toString();if(keys2=Object.keys(a2),length=keys2.length,length!==Object.keys(b3).length)return!1;for(i3=length;i3--!==0;)if(!Object.prototype.hasOwnProperty.call(b3,keys2[i3]))return!1;if(hasElementType&&a2 instanceof Element)return!1;for(i3=length;i3--!==0;)if(!((keys2[i3]==="_owner"||keys2[i3]==="__v"||keys2[i3]==="__o")&&a2.$$typeof)&&!equal(a2[keys2[i3]],b3[keys2[i3]]))return!1;return!0}return a2!==a2&&b3!==b3}module.exports=function(a2,b3){try{return equal(a2,b3)}catch(error){if((error.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw error}}}});var require_browser=__commonJS({"../../node_modules/invariant/browser.js"(exports,module){"use strict";var invariant3=function(condition,format3,a2,b3,c3,d2,e3,f3){if(format3===void 0)throw new Error("invariant requires an error message argument");if(!condition){var error;if(format3===void 0)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args2=[a2,b3,c3,d2,e3,f3],argIndex=0;error=new Error(format3.replace(/%s/g,function(){return args2[argIndex++]})),error.name="Invariant Violation"}throw error.framesToPop=1,error}};module.exports=invariant3}});var require_shallowequal=__commonJS({"../../node_modules/shallowequal/index.js"(exports,module){module.exports=function(objA,objB,compare,compareContext){var ret=compare?compare.call(compareContext,objA,objB):void 0;if(ret!==void 0)return!!ret;if(objA===objB)return!0;if(typeof objA!="object"||!objA||typeof objB!="object"||!objB)return!1;var keysA=Object.keys(objA),keysB=Object.keys(objB);if(keysA.length!==keysB.length)return!1;for(var bHasOwnProperty=Object.prototype.hasOwnProperty.bind(objB),idx=0;idx=wait||timeSinceLastCall<0||maxing&&timeSinceLastInvoke>=maxWait}function timerExpired(){var time=now2();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,remainingWait(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result2)}function cancel(){timerId!==void 0&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0}function flush(){return timerId===void 0?result2:trailingEdge(now2())}function debounced(){var time=now2(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(timerId===void 0)return leadingEdge(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return timerId===void 0&&(timerId=setTimeout(timerExpired,wait)),result2}return debounced.cancel=cancel,debounced.flush=flush,debounced}module.exports=debounce5}});var clsx_m_exports={};__export(clsx_m_exports,{clsx:()=>clsx,default:()=>clsx_m_default});function r2(e3){var t3,f3,n3="";if(typeof e3=="string"||typeof e3=="number")n3+=e3;else if(typeof e3=="object")if(Array.isArray(e3))for(t3=0;t30&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window>"u")return"";var style=(_window$document=window.document)===null||_window$document===void 0||(_window$document$docu=_window$document.documentElement)===null||_window$document$docu===void 0?void 0:_window$document$docu.style;if(!style||prop in style)return"";for(var i3=0;i3: Unmounted during event!");return node}}});var require_log=__commonJS({"../../node_modules/react-draggable/build/cjs/utils/log.js"(exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=log;function log(){var _console}}});var require_DraggableCore=__commonJS({"../../node_modules/react-draggable/build/cjs/DraggableCore.js"(exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(obj2){return typeof obj2}:function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;var React52=_interopRequireWildcard(require_react()),_propTypes=_interopRequireDefault(require_prop_types()),_reactDom=_interopRequireDefault(require_react_dom()),_domFns=require_domFns(),_positionFns=require_positionFns(),_shims=require_shims(),_log=_interopRequireDefault(require_log());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!="function")return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(obj===null||_typeof(obj)!=="object"&&typeof obj!="function")return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key2 in obj)if(key2!=="default"&&Object.prototype.hasOwnProperty.call(obj,key2)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key2):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key2,desc):newObj[key2]=obj[key2]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}function _slicedToArray(arr,i3){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i3)||_unsupportedIterableToArray(arr,i3)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray(o2,minLen){if(o2){if(typeof o2=="string")return _arrayLikeToArray(o2,minLen);var n3=Object.prototype.toString.call(o2).slice(8,-1);if(n3==="Object"&&o2.constructor&&(n3=o2.constructor.name),n3==="Map"||n3==="Set")return Array.from(o2);if(n3==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n3))return _arrayLikeToArray(o2,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i3=0,arr2=new Array(len);i3"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _getPrototypeOf3(o2){return _getPrototypeOf3=Object.setPrototypeOf?Object.getPrototypeOf:function(o3){return o3.__proto__||Object.getPrototypeOf(o3)},_getPrototypeOf3(o2)}function _defineProperty(obj,key2,value2){return key2 in obj?Object.defineProperty(obj,key2,{value:value2,enumerable:!0,configurable:!0,writable:!0}):obj[key2]=value2,obj}var eventsFor={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},dragEventFor=eventsFor.mouse,DraggableCore=function(_React$Component){_inherits(DraggableCore2,_React$Component);var _super=_createSuper(DraggableCore2);function DraggableCore2(){var _this;_classCallCheck(this,DraggableCore2);for(var _len=arguments.length,args2=new Array(_len),_key=0;_key<_len;_key++)args2[_key]=arguments[_key];return _this=_super.call.apply(_super,[this].concat(args2)),_defineProperty(_assertThisInitialized3(_this),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),_defineProperty(_assertThisInitialized3(_this),"mounted",!1),_defineProperty(_assertThisInitialized3(_this),"handleDragStart",function(e3){if(_this.props.onMouseDown(e3),!_this.props.allowAnyClick&&typeof e3.button=="number"&&e3.button!==0)return!1;var thisNode=_this.findDOMNode();if(!thisNode||!thisNode.ownerDocument||!thisNode.ownerDocument.body)throw new Error(" not mounted on DragStart!");var ownerDocument=thisNode.ownerDocument;if(!(_this.props.disabled||!(e3.target instanceof ownerDocument.defaultView.Node)||_this.props.handle&&!(0,_domFns.matchesSelectorAndParentsTo)(e3.target,_this.props.handle,thisNode)||_this.props.cancel&&(0,_domFns.matchesSelectorAndParentsTo)(e3.target,_this.props.cancel,thisNode))){e3.type==="touchstart"&&e3.preventDefault();var touchIdentifier=(0,_domFns.getTouchIdentifier)(e3);_this.setState({touchIdentifier});var position=(0,_positionFns.getControlPosition)(e3,touchIdentifier,_assertThisInitialized3(_this));if(position!=null){var x3=position.x,y2=position.y,coreEvent=(0,_positionFns.createCoreData)(_assertThisInitialized3(_this),x3,y2);(0,_log.default)("DraggableCore: handleDragStart: %j",coreEvent),(0,_log.default)("calling",_this.props.onStart);var shouldUpdate=_this.props.onStart(e3,coreEvent);shouldUpdate===!1||_this.mounted===!1||(_this.props.enableUserSelectHack&&(0,_domFns.addUserSelectStyles)(ownerDocument),_this.setState({dragging:!0,lastX:x3,lastY:y2}),(0,_domFns.addEvent)(ownerDocument,dragEventFor.move,_this.handleDrag),(0,_domFns.addEvent)(ownerDocument,dragEventFor.stop,_this.handleDragStop))}}}),_defineProperty(_assertThisInitialized3(_this),"handleDrag",function(e3){var position=(0,_positionFns.getControlPosition)(e3,_this.state.touchIdentifier,_assertThisInitialized3(_this));if(position!=null){var x3=position.x,y2=position.y;if(Array.isArray(_this.props.grid)){var deltaX=x3-_this.state.lastX,deltaY=y2-_this.state.lastY,_snapToGrid=(0,_positionFns.snapToGrid)(_this.props.grid,deltaX,deltaY),_snapToGrid2=_slicedToArray(_snapToGrid,2);if(deltaX=_snapToGrid2[0],deltaY=_snapToGrid2[1],!deltaX&&!deltaY)return;x3=_this.state.lastX+deltaX,y2=_this.state.lastY+deltaY}var coreEvent=(0,_positionFns.createCoreData)(_assertThisInitialized3(_this),x3,y2);(0,_log.default)("DraggableCore: handleDrag: %j",coreEvent);var shouldUpdate=_this.props.onDrag(e3,coreEvent);if(shouldUpdate===!1||_this.mounted===!1){try{_this.handleDragStop(new MouseEvent("mouseup"))}catch{var event=document.createEvent("MouseEvents");event.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),_this.handleDragStop(event)}return}_this.setState({lastX:x3,lastY:y2})}}),_defineProperty(_assertThisInitialized3(_this),"handleDragStop",function(e3){if(_this.state.dragging){var position=(0,_positionFns.getControlPosition)(e3,_this.state.touchIdentifier,_assertThisInitialized3(_this));if(position!=null){var x3=position.x,y2=position.y;if(Array.isArray(_this.props.grid)){var deltaX=x3-_this.state.lastX||0,deltaY=y2-_this.state.lastY||0,_snapToGrid3=(0,_positionFns.snapToGrid)(_this.props.grid,deltaX,deltaY),_snapToGrid4=_slicedToArray(_snapToGrid3,2);deltaX=_snapToGrid4[0],deltaY=_snapToGrid4[1],x3=_this.state.lastX+deltaX,y2=_this.state.lastY+deltaY}var coreEvent=(0,_positionFns.createCoreData)(_assertThisInitialized3(_this),x3,y2),shouldContinue=_this.props.onStop(e3,coreEvent);if(shouldContinue===!1||_this.mounted===!1)return!1;var thisNode=_this.findDOMNode();thisNode&&_this.props.enableUserSelectHack&&(0,_domFns.removeUserSelectStyles)(thisNode.ownerDocument),(0,_log.default)("DraggableCore: handleDragStop: %j",coreEvent),_this.setState({dragging:!1,lastX:NaN,lastY:NaN}),thisNode&&((0,_log.default)("DraggableCore: Removing handlers"),(0,_domFns.removeEvent)(thisNode.ownerDocument,dragEventFor.move,_this.handleDrag),(0,_domFns.removeEvent)(thisNode.ownerDocument,dragEventFor.stop,_this.handleDragStop))}}}),_defineProperty(_assertThisInitialized3(_this),"onMouseDown",function(e3){return dragEventFor=eventsFor.mouse,_this.handleDragStart(e3)}),_defineProperty(_assertThisInitialized3(_this),"onMouseUp",function(e3){return dragEventFor=eventsFor.mouse,_this.handleDragStop(e3)}),_defineProperty(_assertThisInitialized3(_this),"onTouchStart",function(e3){return dragEventFor=eventsFor.touch,_this.handleDragStart(e3)}),_defineProperty(_assertThisInitialized3(_this),"onTouchEnd",function(e3){return dragEventFor=eventsFor.touch,_this.handleDragStop(e3)}),_this}return _createClass(DraggableCore2,[{key:"componentDidMount",value:function(){this.mounted=!0;var thisNode=this.findDOMNode();thisNode&&(0,_domFns.addEvent)(thisNode,eventsFor.touch.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var thisNode=this.findDOMNode();if(thisNode){var ownerDocument=thisNode.ownerDocument;(0,_domFns.removeEvent)(ownerDocument,eventsFor.mouse.move,this.handleDrag),(0,_domFns.removeEvent)(ownerDocument,eventsFor.touch.move,this.handleDrag),(0,_domFns.removeEvent)(ownerDocument,eventsFor.mouse.stop,this.handleDragStop),(0,_domFns.removeEvent)(ownerDocument,eventsFor.touch.stop,this.handleDragStop),(0,_domFns.removeEvent)(thisNode,eventsFor.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,_domFns.removeUserSelectStyles)(ownerDocument)}}},{key:"findDOMNode",value:function(){var _this$props,_this$props2,_this$props2$nodeRef;return(_this$props=this.props)!==null&&_this$props!==void 0&&_this$props.nodeRef?(_this$props2=this.props)===null||_this$props2===void 0||(_this$props2$nodeRef=_this$props2.nodeRef)===null||_this$props2$nodeRef===void 0?void 0:_this$props2$nodeRef.current:_reactDom.default.findDOMNode(this)}},{key:"render",value:function(){return React52.cloneElement(React52.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),DraggableCore2}(React52.Component);exports.default=DraggableCore;_defineProperty(DraggableCore,"displayName","DraggableCore");_defineProperty(DraggableCore,"propTypes",{allowAnyClick:_propTypes.default.bool,disabled:_propTypes.default.bool,enableUserSelectHack:_propTypes.default.bool,offsetParent:function(props,propName){if(props[propName]&&props[propName].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:_propTypes.default.arrayOf(_propTypes.default.number),handle:_propTypes.default.string,cancel:_propTypes.default.string,nodeRef:_propTypes.default.object,onStart:_propTypes.default.func,onDrag:_propTypes.default.func,onStop:_propTypes.default.func,onMouseDown:_propTypes.default.func,scale:_propTypes.default.number,className:_shims.dontSetMe,style:_shims.dontSetMe,transform:_shims.dontSetMe});_defineProperty(DraggableCore,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})}});var require_Draggable=__commonJS({"../../node_modules/react-draggable/build/cjs/Draggable.js"(exports){"use strict";function _typeof(obj){"@babel/helpers - typeof";return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(obj2){return typeof obj2}:function(obj2){return obj2&&typeof Symbol=="function"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2},_typeof(obj)}Object.defineProperty(exports,"__esModule",{value:!0});Object.defineProperty(exports,"DraggableCore",{enumerable:!0,get:function(){return _DraggableCore.default}});exports.default=void 0;var React52=_interopRequireWildcard(require_react()),_propTypes=_interopRequireDefault(require_prop_types()),_reactDom=_interopRequireDefault(require_react_dom()),_clsx2=_interopRequireDefault((init_clsx_m(),__toCommonJS(clsx_m_exports))),_domFns=require_domFns(),_positionFns=require_positionFns(),_shims=require_shims(),_DraggableCore=_interopRequireDefault(require_DraggableCore()),_log=_interopRequireDefault(require_log()),_excluded4=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!="function")return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(obj===null||_typeof(obj)!=="object"&&typeof obj!="function")return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key2 in obj)if(key2!=="default"&&Object.prototype.hasOwnProperty.call(obj,key2)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key2):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key2,desc):newObj[key2]=obj[key2]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}function _extends4(){return _extends4=Object.assign||function(target){for(var i3=1;i3=0)&&Object.prototype.propertyIsEnumerable.call(source2,key2)&&(target[key2]=source2[key2])}return target}function _objectWithoutPropertiesLoose3(source2,excluded){if(source2==null)return{};var target={},sourceKeys=Object.keys(source2),key2,i3;for(i3=0;i3=0)&&(target[key2]=source2[key2]);return target}function ownKeys(object,enumerableOnly){var keys2=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys2.push.apply(keys2,symbols)}return keys2}function _objectSpread(target){for(var i3=1;i3arr.length)&&(len=arr.length);for(var i3=0,arr2=new Array(len);i3"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _getPrototypeOf3(o2){return _getPrototypeOf3=Object.setPrototypeOf?Object.getPrototypeOf:function(o3){return o3.__proto__||Object.getPrototypeOf(o3)},_getPrototypeOf3(o2)}function _defineProperty(obj,key2,value2){return key2 in obj?Object.defineProperty(obj,key2,{value:value2,enumerable:!0,configurable:!0,writable:!0}):obj[key2]=value2,obj}var Draggable2=function(_React$Component){_inherits(Draggable3,_React$Component);var _super=_createSuper(Draggable3);function Draggable3(props){var _this;return _classCallCheck(this,Draggable3),_this=_super.call(this,props),_defineProperty(_assertThisInitialized3(_this),"onDragStart",function(e3,coreData){(0,_log.default)("Draggable: onDragStart: %j",coreData);var shouldStart=_this.props.onStart(e3,(0,_positionFns.createDraggableData)(_assertThisInitialized3(_this),coreData));if(shouldStart===!1)return!1;_this.setState({dragging:!0,dragged:!0})}),_defineProperty(_assertThisInitialized3(_this),"onDrag",function(e3,coreData){if(!_this.state.dragging)return!1;(0,_log.default)("Draggable: onDrag: %j",coreData);var uiData=(0,_positionFns.createDraggableData)(_assertThisInitialized3(_this),coreData),newState={x:uiData.x,y:uiData.y};if(_this.props.bounds){var x3=newState.x,y2=newState.y;newState.x+=_this.state.slackX,newState.y+=_this.state.slackY;var _getBoundPosition=(0,_positionFns.getBoundPosition)(_assertThisInitialized3(_this),newState.x,newState.y),_getBoundPosition2=_slicedToArray(_getBoundPosition,2),newStateX=_getBoundPosition2[0],newStateY=_getBoundPosition2[1];newState.x=newStateX,newState.y=newStateY,newState.slackX=_this.state.slackX+(x3-newState.x),newState.slackY=_this.state.slackY+(y2-newState.y),uiData.x=newState.x,uiData.y=newState.y,uiData.deltaX=newState.x-_this.state.x,uiData.deltaY=newState.y-_this.state.y}var shouldUpdate=_this.props.onDrag(e3,uiData);if(shouldUpdate===!1)return!1;_this.setState(newState)}),_defineProperty(_assertThisInitialized3(_this),"onDragStop",function(e3,coreData){if(!_this.state.dragging)return!1;var shouldContinue=_this.props.onStop(e3,(0,_positionFns.createDraggableData)(_assertThisInitialized3(_this),coreData));if(shouldContinue===!1)return!1;(0,_log.default)("Draggable: onDragStop: %j",coreData);var newState={dragging:!1,slackX:0,slackY:0},controlled=!!_this.props.position;if(controlled){var _this$props$position=_this.props.position,x3=_this$props$position.x,y2=_this$props$position.y;newState.x=x3,newState.y=y2}_this.setState(newState)}),_this.state={dragging:!1,dragged:!1,x:props.position?props.position.x:props.defaultPosition.x,y:props.position?props.position.y:props.defaultPosition.y,prevPropsPosition:_objectSpread({},props.position),slackX:0,slackY:0,isElementSVG:!1},props.position&&!(props.onDrag||props.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),_this}return _createClass(Draggable3,[{key:"componentDidMount",value:function(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function(){var _this$props$nodeRef$c,_this$props,_this$props$nodeRef;return(_this$props$nodeRef$c=(_this$props=this.props)===null||_this$props===void 0||(_this$props$nodeRef=_this$props.nodeRef)===null||_this$props$nodeRef===void 0?void 0:_this$props$nodeRef.current)!==null&&_this$props$nodeRef$c!==void 0?_this$props$nodeRef$c:_reactDom.default.findDOMNode(this)}},{key:"render",value:function(){var _clsx,_this$props2=this.props,axis=_this$props2.axis,bounds=_this$props2.bounds,children=_this$props2.children,defaultPosition=_this$props2.defaultPosition,defaultClassName=_this$props2.defaultClassName,defaultClassNameDragging=_this$props2.defaultClassNameDragging,defaultClassNameDragged=_this$props2.defaultClassNameDragged,position=_this$props2.position,positionOffset=_this$props2.positionOffset,scale=_this$props2.scale,draggableCoreProps=_objectWithoutProperties(_this$props2,_excluded4),style={},svgTransform=null,controlled=!!position,draggable=!controlled||this.state.dragging,validPosition=position||defaultPosition,transformOpts={x:(0,_positionFns.canDragX)(this)&&draggable?this.state.x:validPosition.x,y:(0,_positionFns.canDragY)(this)&&draggable?this.state.y:validPosition.y};this.state.isElementSVG?svgTransform=(0,_domFns.createSVGTransform)(transformOpts,positionOffset):style=(0,_domFns.createCSSTransform)(transformOpts,positionOffset);var className=(0,_clsx2.default)(children.props.className||"",defaultClassName,(_clsx={},_defineProperty(_clsx,defaultClassNameDragging,this.state.dragging),_defineProperty(_clsx,defaultClassNameDragged,this.state.dragged),_clsx));return React52.createElement(_DraggableCore.default,_extends4({},draggableCoreProps,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),React52.cloneElement(React52.Children.only(children),{className,style:_objectSpread(_objectSpread({},children.props.style),style),transform:svgTransform}))}}],[{key:"getDerivedStateFromProps",value:function(_ref,_ref2){var position=_ref.position,prevPropsPosition=_ref2.prevPropsPosition;return position&&(!prevPropsPosition||position.x!==prevPropsPosition.x||position.y!==prevPropsPosition.y)?((0,_log.default)("Draggable: getDerivedStateFromProps %j",{position,prevPropsPosition}),{x:position.x,y:position.y,prevPropsPosition:_objectSpread({},position)}):null}}]),Draggable3}(React52.Component);exports.default=Draggable2;_defineProperty(Draggable2,"displayName","Draggable");_defineProperty(Draggable2,"propTypes",_objectSpread(_objectSpread({},_DraggableCore.default.propTypes),{},{axis:_propTypes.default.oneOf(["both","x","y","none"]),bounds:_propTypes.default.oneOfType([_propTypes.default.shape({left:_propTypes.default.number,right:_propTypes.default.number,top:_propTypes.default.number,bottom:_propTypes.default.number}),_propTypes.default.string,_propTypes.default.oneOf([!1])]),defaultClassName:_propTypes.default.string,defaultClassNameDragging:_propTypes.default.string,defaultClassNameDragged:_propTypes.default.string,defaultPosition:_propTypes.default.shape({x:_propTypes.default.number,y:_propTypes.default.number}),positionOffset:_propTypes.default.shape({x:_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.string]),y:_propTypes.default.oneOfType([_propTypes.default.number,_propTypes.default.string])}),position:_propTypes.default.shape({x:_propTypes.default.number,y:_propTypes.default.number}),className:_shims.dontSetMe,style:_shims.dontSetMe,transform:_shims.dontSetMe}));_defineProperty(Draggable2,"defaultProps",_objectSpread(_objectSpread({},_DraggableCore.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))}});var require_cjs=__commonJS({"../../node_modules/react-draggable/build/cjs/cjs.js"(exports,module){"use strict";var _require=require_Draggable(),Draggable2=_require.default,DraggableCore=_require.DraggableCore;module.exports=Draggable2;module.exports.default=Draggable2;module.exports.DraggableCore=DraggableCore}});var require_throttle=__commonJS({"../../node_modules/lodash/throttle.js"(exports,module){var debounce5=require_debounce(),isObject5=require_isObject(),FUNC_ERROR_TEXT3="Expected a function";function throttle3(func,wait,options3){var leading=!0,trailing=!0;if(typeof func!="function")throw new TypeError(FUNC_ERROR_TEXT3);return isObject5(options3)&&(leading="leading"in options3?!!options3.leading:leading,trailing="trailing"in options3?!!options3.trailing:trailing),debounce5(func,wait,{leading,maxWait:wait,trailing})}module.exports=throttle3}});var require_react_is_development2=__commonJS({"../../node_modules/downshift/node_modules/react-is/cjs/react-is.development.js"(exports){"use strict";(function(){"use strict";var REACT_ELEMENT_TYPE=60103,REACT_PORTAL_TYPE=60106,REACT_FRAGMENT_TYPE=60107,REACT_STRICT_MODE_TYPE=60108,REACT_PROFILER_TYPE=60114,REACT_PROVIDER_TYPE=60109,REACT_CONTEXT_TYPE=60110,REACT_FORWARD_REF_TYPE=60112,REACT_SUSPENSE_TYPE=60113,REACT_SUSPENSE_LIST_TYPE=60120,REACT_MEMO_TYPE=60115,REACT_LAZY_TYPE=60116,REACT_BLOCK_TYPE=60121,REACT_SERVER_BLOCK_TYPE=60122,REACT_FUNDAMENTAL_TYPE=60117,REACT_SCOPE_TYPE=60119,REACT_OPAQUE_ID_TYPE=60128,REACT_DEBUG_TRACING_MODE_TYPE=60129,REACT_OFFSCREEN_TYPE=60130,REACT_LEGACY_HIDDEN_TYPE=60131;if(typeof Symbol=="function"&&Symbol.for){var symbolFor=Symbol.for;REACT_ELEMENT_TYPE=symbolFor("react.element"),REACT_PORTAL_TYPE=symbolFor("react.portal"),REACT_FRAGMENT_TYPE=symbolFor("react.fragment"),REACT_STRICT_MODE_TYPE=symbolFor("react.strict_mode"),REACT_PROFILER_TYPE=symbolFor("react.profiler"),REACT_PROVIDER_TYPE=symbolFor("react.provider"),REACT_CONTEXT_TYPE=symbolFor("react.context"),REACT_FORWARD_REF_TYPE=symbolFor("react.forward_ref"),REACT_SUSPENSE_TYPE=symbolFor("react.suspense"),REACT_SUSPENSE_LIST_TYPE=symbolFor("react.suspense_list"),REACT_MEMO_TYPE=symbolFor("react.memo"),REACT_LAZY_TYPE=symbolFor("react.lazy"),REACT_BLOCK_TYPE=symbolFor("react.block"),REACT_SERVER_BLOCK_TYPE=symbolFor("react.server.block"),REACT_FUNDAMENTAL_TYPE=symbolFor("react.fundamental"),REACT_SCOPE_TYPE=symbolFor("react.scope"),REACT_OPAQUE_ID_TYPE=symbolFor("react.opaque.id"),REACT_DEBUG_TRACING_MODE_TYPE=symbolFor("react.debug_trace_mode"),REACT_OFFSCREEN_TYPE=symbolFor("react.offscreen"),REACT_LEGACY_HIDDEN_TYPE=symbolFor("react.legacy_hidden")}var enableScopeAPI=!1;function isValidElementType(type){return!!(typeof type=="string"||typeof type=="function"||type===REACT_FRAGMENT_TYPE||type===REACT_PROFILER_TYPE||type===REACT_DEBUG_TRACING_MODE_TYPE||type===REACT_STRICT_MODE_TYPE||type===REACT_SUSPENSE_TYPE||type===REACT_SUSPENSE_LIST_TYPE||type===REACT_LEGACY_HIDDEN_TYPE||enableScopeAPI||typeof type=="object"&&type!==null&&(type.$$typeof===REACT_LAZY_TYPE||type.$$typeof===REACT_MEMO_TYPE||type.$$typeof===REACT_PROVIDER_TYPE||type.$$typeof===REACT_CONTEXT_TYPE||type.$$typeof===REACT_FORWARD_REF_TYPE||type.$$typeof===REACT_FUNDAMENTAL_TYPE||type.$$typeof===REACT_BLOCK_TYPE||type[0]===REACT_SERVER_BLOCK_TYPE))}function typeOf(object){if(typeof object=="object"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type=object.type;switch(type){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type;default:var $$typeofType=type&&type.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment15=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense2=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement(object){return typeof object=="object"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef2(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment15,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense2,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement,exports.isForwardRef=isForwardRef2,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf})()}});var require_react_is2=__commonJS({"../../node_modules/downshift/node_modules/react-is/index.js"(exports,module){"use strict";module.exports=require_react_is_development2()}});var require_fuse=__commonJS({"../../node_modules/fuse.js/dist/fuse.js"(exports,module){(function(e3,t3){typeof exports=="object"&&typeof module=="object"?module.exports=t3():typeof define=="function"&&define.amd?define("Fuse",[],t3):typeof exports=="object"?exports.Fuse=t3():e3.Fuse=t3()})(exports,function(){return function(e3){var t3={};function r4(n3){if(t3[n3])return t3[n3].exports;var o2=t3[n3]={i:n3,l:!1,exports:{}};return e3[n3].call(o2.exports,o2,o2.exports,r4),o2.l=!0,o2.exports}return r4.m=e3,r4.c=t3,r4.d=function(e4,t4,n3){r4.o(e4,t4)||Object.defineProperty(e4,t4,{enumerable:!0,get:n3})},r4.r=function(e4){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e4,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e4,"__esModule",{value:!0})},r4.t=function(e4,t4){if(1&t4&&(e4=r4(e4)),8&t4||4&t4&&typeof e4=="object"&&e4&&e4.__esModule)return e4;var n3=Object.create(null);if(r4.r(n3),Object.defineProperty(n3,"default",{enumerable:!0,value:e4}),2&t4&&typeof e4!="string")for(var o2 in e4)r4.d(n3,o2,(function(t5){return e4[t5]}).bind(null,o2));return n3},r4.n=function(e4){var t4=e4&&e4.__esModule?function(){return e4.default}:function(){return e4};return r4.d(t4,"a",t4),t4},r4.o=function(e4,t4){return Object.prototype.hasOwnProperty.call(e4,t4)},r4.p="",r4(r4.s=0)}([function(e3,t3,r4){function n3(e4){return(n3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e5){return typeof e5}:function(e5){return e5&&typeof Symbol=="function"&&e5.constructor===Symbol&&e5!==Symbol.prototype?"symbol":typeof e5})(e4)}function o2(e4,t4){for(var r5=0;r51)throw new Error('"weight" property in key must bein the range of [0, 1)');i4=i4==null?u2:Math.max(i4,u2),o3=o3==null?u2:Math.min(o3,u2),this._keyWeights[l2]=u2,a4+=u2}if(a4>1)throw new Error("Total of weights cannot exceed 1")}}},{key:"search",value:function(e5){var t5=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{limit:!1};this._log(`--------- +Search pattern: "`.concat(e5,'"'));var r6=this._prepareSearchers(e5),n4=r6.tokenSearchers,o3=r6.fullSearcher,i4=this._search(n4,o3);return this._computeScore(i4),this.options.shouldSort&&this._sort(i4),t5.limit&&typeof t5.limit=="number"&&(i4=i4.slice(0,t5.limit)),this._format(i4)}},{key:"_prepareSearchers",value:function(){var e5=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t5=[];if(this.options.tokenize)for(var r6=e5.split(this.options.tokenSeparator),n4=0,o3=r6.length;n40&&arguments[0]!==void 0?arguments[0]:[],t5=arguments.length>1?arguments[1]:void 0,r6=this.list,n4={},o3=[];if(typeof r6[0]=="string"){for(var i4=0,a4=r6.length;i4-1&&(C3=(C3+h5)/2),r6._log("Score average:",C3);var j2=!r6.options.tokenize||!r6.options.matchAllTokens||l3>=u2.length;if(r6._log(` +Check Matches: `.concat(j2)),(s4||v3.isMatch)&&j2){var P4={key:n4,arrayIndex:t6,value:o4,score:C3};r6.options.includeMatches&&(P4.matchedIndices=v3.matchedIndices);var I3=p2[a5];I3?I3.output.push(P4):(p2[a5]={item:i5,output:[P4]},g2.push(p2[a5]))}}else if(c3(o4))for(var F2=0,T2=o4.length;F20?Number.EPSILON:l2.score;c4*=Math.pow(v2,f3)}i4.score=c4,this._log(i4)}}},{key:"_sort",value:function(e5){this._log(` + +Sorting....`),e5.sort(this.options.sortFn)}},{key:"_format",value:function(e5){var t5=[];if(this.options.verbose){var r6=[];this._log(` + +Output: + +`,JSON.stringify(e5,function(e6,t6){if(n3(t6)==="object"&&t6!==null){if(r6.indexOf(t6)!==-1)return;r6.push(t6)}return t6},2)),r6=null}var o3=[];this.options.includeMatches&&o3.push(function(e6,t6){var r7=e6.output;t6.matches=[];for(var n4=0,o4=r7.length;n4-1&&(a5.arrayIndex=i5.arrayIndex),t6.matches.push(a5)}}}),this.options.includeScore&&o3.push(function(e6,t6){t6.score=e6.score});for(var i4=0,a4=e5.length;i4c3)return o2(e5,this.pattern,h3);var l2=this.options,u2=l2.location,f3=l2.distance,v2=l2.threshold,p2=l2.findAllMatches,d2=l2.minMatchCharLength;return i3(e5,this.pattern,this.patternAlphabet,{location:u2,distance:f3,threshold:v2,findAllMatches:p2,minMatchCharLength:d2,includeMatches:n4})}}])&&n3(t4.prototype,r5),s3&&n3(t4,s3),e4}();e3.exports=s2},function(e3,t3){var r4=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;e3.exports=function(e4,t4){var n3=arguments.length>2&&arguments[2]!==void 0?arguments[2]:/ +/g,o2=new RegExp(t4.replace(r4,"\\$&").replace(n3,"|")),i3=e4.match(o2),a2=!!i3,s2=[];if(a2)for(var c3=0,h3=i3.length;c3=T2;E3-=1){var W2=E3-1,K2=r5[e4.charAt(W2)];if(K2&&(M2[W2]=1),z2[E3]=(z2[E3+1]<<1|1)&K2,P4!==0&&(z2[E3]|=(A3[E3+1]|A3[E3])<<1|1|A3[E3+1]),z2[E3]&j2&&(O2=n3(t4,{errors:P4,currentLocation:W2,expectedLocation:m3,distance:h3}))<=b3){if(b3=O2,(S2=W2)<=m3)break;T2=Math.max(1,2*m3-S2)}}if(n3(t4,{errors:P4+1,currentLocation:m3,expectedLocation:m3,distance:h3})>b3)break;A3=z2}var $={isMatch:S2>=0,score:O2===0?.001:O2};return y2&&($.matchedIndices=o2(M2,d2)),$}},function(e3,t3){e3.exports=function(e4,t4){var r4=t4.errors,n3=r4===void 0?0:r4,o2=t4.currentLocation,i3=o2===void 0?0:o2,a2=t4.expectedLocation,s2=a2===void 0?0:a2,c3=t4.distance,h3=c3===void 0?100:c3,l2=n3/e4.length,u2=Math.abs(s2-i3);return h3?l2+u2/h3:u2?1:l2}},function(e3,t3){e3.exports=function(){for(var e4=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t4=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r4=[],n3=-1,o2=-1,i3=0,a2=e4.length;i3=t4&&r4.push([n3,o2]),n3=-1)}return e4[i3-1]&&i3-n3>=t4&&r4.push([n3,i3-1]),r4}},function(e3,t3){e3.exports=function(e4){for(var t4={},r4=e4.length,n3=0;n3"u"){debug&&console.warn("unable to use e.clipboardData"),debug&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var format4=clipboardToIE11Formatting[options3.format]||clipboardToIE11Formatting.default;window.clipboardData.setData(format4,text)}else e3.clipboardData.clearData(),e3.clipboardData.setData(options3.format,text);options3.onCopy&&(e3.preventDefault(),options3.onCopy(e3.clipboardData))}),document.body.appendChild(mark),range.selectNodeContents(mark),selection.addRange(range);var successful=document.execCommand("copy");if(!successful)throw new Error("copy command was unsuccessful");success=!0}catch(err){debug&&console.error("unable to copy using execCommand: ",err),debug&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(options3.format||"text",text),options3.onCopy&&options3.onCopy(window.clipboardData),success=!0}catch(err2){debug&&console.error("unable to copy using clipboardData: ",err2),debug&&console.error("falling back to prompt"),message=format3("message"in options3?options3.message:defaultMessage),window.prompt(message,text)}}finally{selection&&(typeof selection.removeRange=="function"?selection.removeRange(range):selection.removeAllRanges()),mark&&document.body.removeChild(mark),reselectPrevious()}return success}module.exports=copy2}});var import_react58=__toESM(require_react()),import_react_dom2=__toESM(require_react_dom());var dist_exports={};__export(dist_exports,{BaseLocationProvider:()=>BaseLocationProvider,DEEPLY_EQUAL:()=>DEEPLY_EQUAL,Link:()=>Link2,Location:()=>Location,LocationProvider:()=>LocationProvider,Match:()=>Match,Route:()=>Route2,buildArgsParam:()=>buildArgsParam,deepDiff:()=>deepDiff,getMatch:()=>getMatch,parsePath:()=>parsePath,queryFromLocation:()=>queryFromLocation,queryFromString:()=>queryFromString,stringifyQuery:()=>stringifyQuery,useNavigate:()=>useNavigate2});var import_memoizerific=__toESM(require_memoizerific(),1),import_qs=__toESM(require_lib(),1),__create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJS2=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__copyProps=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key2 of __getOwnPropNames(from))!__hasOwnProp.call(to,key2)&&key2!==except&&__defProp(to,key2,{get:()=>from[key2],enumerable:!(desc=__getOwnPropDesc(from,key2))||desc.enumerable});return to},__toESM2=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:!0}):target,mod)),require_freeGlobal=__commonJS2({"../../node_modules/lodash/_freeGlobal.js"(exports,module){var freeGlobal3=typeof global=="object"&&global&&global.Object===Object&&global;module.exports=freeGlobal3}}),require_root=__commonJS2({"../../node_modules/lodash/_root.js"(exports,module){var freeGlobal3=require_freeGlobal(),freeSelf3=typeof self=="object"&&self&&self.Object===Object&&self,root4=freeGlobal3||freeSelf3||Function("return this")();module.exports=root4}}),require_Symbol=__commonJS2({"../../node_modules/lodash/_Symbol.js"(exports,module){var root4=require_root(),Symbol22=root4.Symbol;module.exports=Symbol22}}),require_getRawTag=__commonJS2({"../../node_modules/lodash/_getRawTag.js"(exports,module){var Symbol22=require_Symbol(),objectProto7=Object.prototype,hasOwnProperty6=objectProto7.hasOwnProperty,nativeObjectToString4=objectProto7.toString,symToStringTag4=Symbol22?Symbol22.toStringTag:void 0;function getRawTag3(value2){var isOwn=hasOwnProperty6.call(value2,symToStringTag4),tag=value2[symToStringTag4];try{value2[symToStringTag4]=void 0;var unmasked=!0}catch{}var result2=nativeObjectToString4.call(value2);return unmasked&&(isOwn?value2[symToStringTag4]=tag:delete value2[symToStringTag4]),result2}module.exports=getRawTag3}}),require_objectToString=__commonJS2({"../../node_modules/lodash/_objectToString.js"(exports,module){var objectProto7=Object.prototype,nativeObjectToString4=objectProto7.toString;function objectToString3(value2){return nativeObjectToString4.call(value2)}module.exports=objectToString3}}),require_baseGetTag=__commonJS2({"../../node_modules/lodash/_baseGetTag.js"(exports,module){var Symbol22=require_Symbol(),getRawTag3=require_getRawTag(),objectToString3=require_objectToString(),nullTag3="[object Null]",undefinedTag3="[object Undefined]",symToStringTag4=Symbol22?Symbol22.toStringTag:void 0;function baseGetTag3(value2){return value2==null?value2===void 0?undefinedTag3:nullTag3:symToStringTag4&&symToStringTag4 in Object(value2)?getRawTag3(value2):objectToString3(value2)}module.exports=baseGetTag3}}),require_overArg=__commonJS2({"../../node_modules/lodash/_overArg.js"(exports,module){function overArg(func,transform){return function(arg){return func(transform(arg))}}module.exports=overArg}}),require_getPrototype=__commonJS2({"../../node_modules/lodash/_getPrototype.js"(exports,module){var overArg=require_overArg(),getPrototype=overArg(Object.getPrototypeOf,Object);module.exports=getPrototype}}),require_isObjectLike=__commonJS2({"../../node_modules/lodash/isObjectLike.js"(exports,module){function isObjectLike3(value2){return value2!=null&&typeof value2=="object"}module.exports=isObjectLike3}}),require_isPlainObject=__commonJS2({"../../node_modules/lodash/isPlainObject.js"(exports,module){var baseGetTag3=require_baseGetTag(),getPrototype=require_getPrototype(),isObjectLike3=require_isObjectLike(),objectTag="[object Object]",funcProto3=Function.prototype,objectProto7=Object.prototype,funcToString3=funcProto3.toString,hasOwnProperty6=objectProto7.hasOwnProperty,objectCtorString=funcToString3.call(Object);function isPlainObject2(value2){if(!isObjectLike3(value2)||baseGetTag3(value2)!=objectTag)return!1;var proto=getPrototype(value2);if(proto===null)return!0;var Ctor=hasOwnProperty6.call(proto,"constructor")&&proto.constructor;return typeof Ctor=="function"&&Ctor instanceof Ctor&&funcToString3.call(Ctor)==objectCtorString}module.exports=isPlainObject2}}),has=Object.prototype.hasOwnProperty;function find(iter,tar,key2){for(key2 of iter.keys())if(dequal(key2,tar))return key2}function dequal(foo,bar){var ctor,len,tmp;if(foo===bar)return!0;if(foo&&bar&&(ctor=foo.constructor)===bar.constructor){if(ctor===Date)return foo.getTime()===bar.getTime();if(ctor===RegExp)return foo.toString()===bar.toString();if(ctor===Array){if((len=foo.length)===bar.length)for(;len--&&dequal(foo[len],bar[len]););return len===-1}if(ctor===Set){if(foo.size!==bar.size)return!1;for(len of foo)if(tmp=len,tmp&&typeof tmp=="object"&&(tmp=find(bar,tmp),!tmp)||!bar.has(tmp))return!1;return!0}if(ctor===Map){if(foo.size!==bar.size)return!1;for(len of foo)if(tmp=len[0],tmp&&typeof tmp=="object"&&(tmp=find(bar,tmp),!tmp)||!dequal(len[1],bar.get(tmp)))return!1;return!0}if(ctor===ArrayBuffer)foo=new Uint8Array(foo),bar=new Uint8Array(bar);else if(ctor===DataView){if((len=foo.byteLength)===bar.byteLength)for(;len--&&foo.getInt8(len)===bar.getInt8(len););return len===-1}if(ArrayBuffer.isView(foo)){if((len=foo.byteLength)===bar.byteLength)for(;len--&&foo[len]===bar[len];);return len===-1}if(!ctor||typeof foo=="object"){len=0;for(ctor in foo)if(has.call(foo,ctor)&&++len&&!has.call(bar,ctor)||!(ctor in bar)||!dequal(foo[ctor],bar[ctor]))return!1;return Object.keys(bar).length===len}}return foo!==foo&&bar!==bar}var import_isPlainObject=__toESM2(require_isPlainObject());function dedent(templ){for(var values=[],_i=1;_i{let result2={viewMode:void 0,storyId:void 0,refId:void 0};if(path){let[,viewMode,refId,storyId]=path.toLowerCase().match(splitPathRegex)||[];viewMode&&Object.assign(result2,{viewMode,storyId,refId})}return result2}),DEEPLY_EQUAL=Symbol("Deeply equal"),deepDiff=(value2,update2)=>{if(typeof value2!=typeof update2)return update2;if(dequal(value2,update2))return DEEPLY_EQUAL;if(Array.isArray(value2)&&Array.isArray(update2)){let res=update2.reduce((acc,upd,index2)=>{let diff=deepDiff(value2[index2],upd);return diff!==DEEPLY_EQUAL&&(acc[index2]=diff),acc},new Array(update2.length));return update2.length>=value2.length?res:res.concat(new Array(value2.length-update2.length).fill(void 0))}return(0,import_isPlainObject.default)(value2)&&(0,import_isPlainObject.default)(update2)?Object.keys({...value2,...update2}).reduce((acc,key2)=>{let diff=deepDiff(value2?.[key2],update2?.[key2]);return diff===DEEPLY_EQUAL?acc:Object.assign(acc,{[key2]:diff})},{}):update2},VALIDATION_REGEXP=/^[a-zA-Z0-9 _-]*$/,NUMBER_REGEXP=/^-?[0-9]+(\.[0-9]+)?$/,HEX_REGEXP=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,COLOR_REGEXP=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,validateArgs=(key2="",value2)=>key2===null||key2===""||!VALIDATION_REGEXP.test(key2)?!1:value2==null||value2 instanceof Date||typeof value2=="number"||typeof value2=="boolean"?!0:typeof value2=="string"?VALIDATION_REGEXP.test(value2)||NUMBER_REGEXP.test(value2)||HEX_REGEXP.test(value2)||COLOR_REGEXP.test(value2):Array.isArray(value2)?value2.every(v2=>validateArgs(key2,v2)):(0,import_isPlainObject.default)(value2)?Object.entries(value2).every(([k2,v2])=>validateArgs(k2,v2)):!1,encodeSpecialValues=value2=>value2===void 0?"!undefined":value2===null?"!null":typeof value2=="string"?HEX_REGEXP.test(value2)?`!hex(${value2.slice(1)})`:COLOR_REGEXP.test(value2)?`!${value2.replace(/[\s%]/g,"")}`:value2:typeof value2=="boolean"?`!${value2}`:Array.isArray(value2)?value2.map(encodeSpecialValues):(0,import_isPlainObject.default)(value2)?Object.entries(value2).reduce((acc,[key2,val])=>Object.assign(acc,{[key2]:encodeSpecialValues(val)}),{}):value2,QS_OPTIONS={encode:!1,delimiter:";",allowDots:!0,format:"RFC1738",serializeDate:date=>`!date(${date.toISOString()})`},buildArgsParam=(initialArgs,args2)=>{let update2=deepDiff(initialArgs,args2);if(!update2||update2===DEEPLY_EQUAL)return"";let object=Object.entries(update2).reduce((acc,[key2,value2])=>validateArgs(key2,value2)?Object.assign(acc,{[key2]:value2}):(once.warn(dedent` + Omitted potentially unsafe URL args. + + More info: https://storybook.js.org/docs/react/writing-stories/args#setting-args-through-the-url + `),acc),{});return import_qs.default.stringify(encodeSpecialValues(object),QS_OPTIONS).replace(/ /g,"+").split(";").map(part=>part.replace("=",":")).join(";")},queryFromString=(0,import_memoizerific.default)(1e3)(s2=>s2!==void 0?import_qs.default.parse(s2,{ignoreQueryPrefix:!0}):{}),queryFromLocation=location3=>queryFromString(location3.search),stringifyQuery=query=>import_qs.default.stringify(query,{addQueryPrefix:!0,encode:!1}),getMatch=(0,import_memoizerific.default)(1e3)((current,target,startsWith=!0)=>{if(startsWith){if(typeof target!="string")throw new Error("startsWith only works with string targets");return current&¤t.startsWith(target)?{path:current}:null}let currentIsTarget=typeof target=="string"&¤t===target,matchTarget=current&&target&¤t.match(target);return currentIsTarget||matchTarget?{path:current}:null});var import_react=__toESM(require_react(),1),scope2=(()=>{let win;return typeof window<"u"?win=window:typeof globalThis<"u"?win=globalThis:typeof global<"u"?win=global:typeof self<"u"?win=self:win={},win})();function _extends2(){return _extends2=Object.assign?Object.assign.bind():function(target){for(var i3=1;i3=0&&(parsedPath.hash=path.substr(hashIndex),path=path.substr(0,hashIndex));var searchIndex=path.indexOf("?");searchIndex>=0&&(parsedPath.search=path.substr(searchIndex),path=path.substr(0,searchIndex)),path&&(parsedPath.pathname=path)}return parsedPath}function invariant(cond,message){if(!cond)throw new Error(message)}function warning2(cond,message){if(!cond){typeof console<"u"&&console.warn(message);try{throw new Error(message)}catch{}}}var NavigationContext=(0,import_react.createContext)(null);NavigationContext.displayName="Navigation";var LocationContext=(0,import_react.createContext)(null);LocationContext.displayName="Location";var RouteContext=(0,import_react.createContext)({outlet:null,matches:[]});RouteContext.displayName="Route";function Router(_ref3){let{basename:basenameProp="/",children=null,location:locationProp,navigationType=Action.Pop,navigator:navigator3,static:staticProp=!1}=_ref3;useInRouterContext()&&invariant(!1,"You cannot render a inside another . You should never have more than one in your app.");let basename=normalizePathname(basenameProp),navigationContext=(0,import_react.useMemo)(()=>({basename,navigator:navigator3,static:staticProp}),[basename,navigator3,staticProp]);typeof locationProp=="string"&&(locationProp=parsePath2(locationProp));let{pathname="/",search="",hash="",state=null,key:key2="default"}=locationProp,location3=(0,import_react.useMemo)(()=>{let trailingPathname=stripBasename(pathname,basename);return trailingPathname==null?null:{pathname:trailingPathname,search,hash,state,key:key2}},[basename,pathname,search,hash,state,key2]);return warning2(location3!=null,' is not able to match the URL '+('"'+pathname+search+hash+'" because it does not start with the ')+"basename, so the won't render anything."),location3==null?null:(0,import_react.createElement)(NavigationContext.Provider,{value:navigationContext},(0,import_react.createElement)(LocationContext.Provider,{children,value:{location:location3,navigationType}}))}function useHref(to){useInRouterContext()||invariant(!1,"useHref() may be used only in the context of a component.");let{basename,navigator:navigator3}=(0,import_react.useContext)(NavigationContext),{hash,pathname,search}=useResolvedPath(to),joinedPathname=pathname;if(basename!=="/"){let toPathname=getToPathname(to),endsWithSlash=toPathname!=null&&toPathname.endsWith("/");joinedPathname=pathname==="/"?basename+(endsWithSlash?"/":""):joinPaths([basename,pathname])}return navigator3.createHref({pathname:joinedPathname,search,hash})}function useInRouterContext(){return(0,import_react.useContext)(LocationContext)!=null}function useLocation(){return useInRouterContext()||invariant(!1,"useLocation() may be used only in the context of a component."),(0,import_react.useContext)(LocationContext).location}function useNavigate(){useInRouterContext()||invariant(!1,"useNavigate() may be used only in the context of a component.");let{basename,navigator:navigator3}=(0,import_react.useContext)(NavigationContext),{matches}=(0,import_react.useContext)(RouteContext),{pathname:locationPathname}=useLocation(),routePathnamesJson=JSON.stringify(matches.map(match=>match.pathnameBase)),activeRef=(0,import_react.useRef)(!1);return(0,import_react.useEffect)(()=>{activeRef.current=!0}),(0,import_react.useCallback)(function(to,options3){if(options3===void 0&&(options3={}),warning2(activeRef.current,"You should call navigate() in a React.useEffect(), not when your component is first rendered."),!activeRef.current)return;if(typeof to=="number"){navigator3.go(to);return}let path=resolveTo(to,JSON.parse(routePathnamesJson),locationPathname);basename!=="/"&&(path.pathname=joinPaths([basename,path.pathname])),(options3.replace?navigator3.replace:navigator3.push)(path,options3.state)},[basename,navigator3,routePathnamesJson,locationPathname])}function useResolvedPath(to){let{matches}=(0,import_react.useContext)(RouteContext),{pathname:locationPathname}=useLocation(),routePathnamesJson=JSON.stringify(matches.map(match=>match.pathnameBase));return(0,import_react.useMemo)(()=>resolveTo(to,JSON.parse(routePathnamesJson),locationPathname),[to,routePathnamesJson,locationPathname])}function resolvePath(to,fromPathname){fromPathname===void 0&&(fromPathname="/");let{pathname:toPathname,search="",hash=""}=typeof to=="string"?parsePath2(to):to;return{pathname:toPathname?toPathname.startsWith("/")?toPathname:resolvePathname(toPathname,fromPathname):fromPathname,search:normalizeSearch(search),hash:normalizeHash(hash)}}function resolvePathname(relativePath,fromPathname){let segments=fromPathname.replace(/\/+$/,"").split("/");return relativePath.split("/").forEach(segment=>{segment===".."?segments.length>1&&segments.pop():segment!=="."&&segments.push(segment)}),segments.length>1?segments.join("/"):"/"}function resolveTo(toArg,routePathnames,locationPathname){let to=typeof toArg=="string"?parsePath2(toArg):toArg,toPathname=toArg===""||to.pathname===""?"/":to.pathname,from;if(toPathname==null)from=locationPathname;else{let routePathnameIndex=routePathnames.length-1;if(toPathname.startsWith("..")){let toSegments=toPathname.split("/");for(;toSegments[0]==="..";)toSegments.shift(),routePathnameIndex-=1;to.pathname=toSegments.join("/")}from=routePathnameIndex>=0?routePathnames[routePathnameIndex]:"/"}let path=resolvePath(to,from);return toPathname&&toPathname!=="/"&&toPathname.endsWith("/")&&!path.pathname.endsWith("/")&&(path.pathname+="/"),path}function getToPathname(to){return to===""||to.pathname===""?"/":typeof to=="string"?parsePath2(to).pathname:to.pathname}function stripBasename(pathname,basename){if(basename==="/")return pathname;if(!pathname.toLowerCase().startsWith(basename.toLowerCase()))return null;let nextChar=pathname.charAt(basename.length);return nextChar&&nextChar!=="/"?null:pathname.slice(basename.length)||"/"}var joinPaths=paths=>paths.join("/").replace(/\/\/+/g,"/"),normalizePathname=pathname=>pathname.replace(/\/+$/,"").replace(/^\/*/,"/"),normalizeSearch=search=>!search||search==="?"?"":search.startsWith("?")?search:"?"+search,normalizeHash=hash=>!hash||hash==="#"?"":hash.startsWith("#")?hash:"#"+hash;function _extends22(){return _extends22=Object.assign||function(target){for(var i3=1;i3=0)&&(target[key2]=source2[key2]);return target}var _excluded=["onClick","reloadDocument","replace","state","target","to"],_excluded2=["aria-current","caseSensitive","className","end","style","to"];function BrowserRouter(_ref){let{basename,children,window:window2}=_ref,historyRef=(0,import_react.useRef)();historyRef.current==null&&(historyRef.current=createBrowserHistory({window:window2}));let history=historyRef.current,[state,setState]=(0,import_react.useState)({action:history.action,location:history.location});return(0,import_react.useLayoutEffect)(()=>history.listen(setState),[history]),(0,import_react.createElement)(Router,{basename,children,location:state.location,navigationType:state.action,navigator:history})}function isModifiedEvent(event){return!!(event.metaKey||event.altKey||event.ctrlKey||event.shiftKey)}var Link=(0,import_react.forwardRef)(function(_ref3,ref){let{onClick,reloadDocument,replace=!1,state,target,to}=_ref3,rest=_objectWithoutPropertiesLoose2(_ref3,_excluded),href=useHref(to),internalOnClick=useLinkClickHandler(to,{replace,state,target});function handleClick(event){onClick&&onClick(event),!event.defaultPrevented&&!reloadDocument&&internalOnClick(event)}return(0,import_react.createElement)("a",_extends22({},rest,{href,onClick:handleClick,ref,target}))});Link.displayName="Link";var NavLink=(0,import_react.forwardRef)(function(_ref4,ref){let{"aria-current":ariaCurrentProp="page",caseSensitive=!1,className:classNameProp="",end=!1,style:styleProp,to}=_ref4,rest=_objectWithoutPropertiesLoose2(_ref4,_excluded2),location3=useLocation(),path=useResolvedPath(to),locationPathname=location3.pathname,toPathname=path.pathname;caseSensitive||(locationPathname=locationPathname.toLowerCase(),toPathname=toPathname.toLowerCase());let isActive=locationPathname===toPathname||!end&&locationPathname.startsWith(toPathname)&&locationPathname.charAt(toPathname.length)==="/",ariaCurrent=isActive?ariaCurrentProp:void 0,className;typeof classNameProp=="function"?className=classNameProp({isActive}):className=[classNameProp,isActive?"active":null].filter(Boolean).join(" ");let style=typeof styleProp=="function"?styleProp({isActive}):styleProp;return(0,import_react.createElement)(Link,_extends22({},rest,{"aria-current":ariaCurrent,className,ref,style,to}))});NavLink.displayName="NavLink";function useLinkClickHandler(to,_temp){let{target,replace:replaceProp,state}=_temp===void 0?{}:_temp,navigate=useNavigate(),location3=useLocation(),path=useResolvedPath(to);return(0,import_react.useCallback)(event=>{if(event.button===0&&(!target||target==="_self")&&!isModifiedEvent(event)){event.preventDefault();let replace=!!replaceProp||createPath(location3)===createPath(path);navigate(to,{replace,state})}},[location3,navigate,path,replaceProp,state,target,to])}var ToggleVisibility=({hidden,children})=>import_react.default.createElement("div",{hidden},children),{document:document2}=scope2,getBase=()=>`${document2.location.pathname}?`,useNavigate2=()=>{let navigate=useNavigate();return(0,import_react.useCallback)((to,{plain,...options3}={})=>{if(typeof to=="string"&&to.startsWith("#")){document2.location.hash=to;return}if(typeof to=="string"){let target=plain?to:`?path=${to}`;return navigate(target,options3)}if(typeof to=="number")return navigate(to)},[])},Link2=({to,children,...rest})=>import_react.default.createElement(Link,{to:`${getBase()}path=${to}`,...rest},children);Link2.displayName="QueryLink";var Location=({children})=>{let location3=useLocation(),{path,singleStory}=queryFromString(location3.search),{viewMode,storyId,refId}=parsePath(path);return import_react.default.createElement(import_react.default.Fragment,null,children({path:path||"/",location:location3,viewMode,storyId,refId,singleStory:singleStory==="true"}))};Location.displayName="QueryLocation";function Match({children,path:targetPath,startsWith=!1}){return import_react.default.createElement(Location,null,({path:urlPath,...rest})=>children({match:getMatch(urlPath,targetPath,startsWith),...rest}))}Match.displayName="QueryMatch";function Route2(input){let{children,hideOnly,...rest}=input;return rest.startsWith===void 0&&(rest.startsWith=!1),import_react.default.createElement(Match,{...rest},({match})=>hideOnly?import_react.default.createElement(ToggleVisibility,{hidden:!match},children):match?children:null)}Route2.displayName="Route";var LocationProvider=(...args2)=>BrowserRouter(...args2),BaseLocationProvider=(...args2)=>Router(...args2);var dist_exports4={};__export(dist_exports4,{ActiveTabs:()=>ActiveTabs2,Consumer:()=>ManagerConsumer,ManagerContext:()=>ManagerContext,Provider:()=>ManagerProvider,addons:()=>addons,combineParameters:()=>combineParameters,controlOrMetaKey:()=>controlOrMetaKey,controlOrMetaSymbol:()=>controlOrMetaSymbol,eventMatchesShortcut:()=>eventMatchesShortcut,eventToShortcut:()=>eventToShortcut,isMacLike:()=>isMacLike,isShortcutTaken:()=>isShortcutTaken,keyToSymbol:()=>keyToSymbol,merge:()=>merge_default,mockChannel:()=>mockChannel,optionOrAltSymbol:()=>optionOrAltSymbol,shortcutMatchesShortcut:()=>shortcutMatchesShortcut,shortcutToHumanString:()=>shortcutToHumanString,types:()=>Addon_TypesEnum,useAddonState:()=>useAddonState,useArgTypes:()=>useArgTypes,useArgs:()=>useArgs,useChannel:()=>useChannel,useGlobalTypes:()=>useGlobalTypes,useGlobals:()=>useGlobals,useParameter:()=>useParameter,useSharedState:()=>useSharedState,useStoryPrepared:()=>useStoryPrepared,useStorybookApi:()=>useStorybookApi,useStorybookState:()=>useStorybookState});var import_react2=__toESM(require_react(),1),import_mergeWith=__toESM(require_mergeWith(),1);var dist_exports2={};__export(dist_exports2,{CHANNEL_CREATED:()=>CHANNEL_CREATED,CONFIG_ERROR:()=>CONFIG_ERROR,CURRENT_STORY_WAS_SET:()=>CURRENT_STORY_WAS_SET,DOCS_PREPARED:()=>DOCS_PREPARED,DOCS_RENDERED:()=>DOCS_RENDERED,FORCE_REMOUNT:()=>FORCE_REMOUNT,FORCE_RE_RENDER:()=>FORCE_RE_RENDER,GLOBALS_UPDATED:()=>GLOBALS_UPDATED,IGNORED_EXCEPTION:()=>IGNORED_EXCEPTION,NAVIGATE_URL:()=>NAVIGATE_URL,PLAY_FUNCTION_THREW_EXCEPTION:()=>PLAY_FUNCTION_THREW_EXCEPTION,PRELOAD_ENTRIES:()=>PRELOAD_ENTRIES,PREVIEW_BUILDER_PROGRESS:()=>PREVIEW_BUILDER_PROGRESS,PREVIEW_KEYDOWN:()=>PREVIEW_KEYDOWN,REGISTER_SUBSCRIPTION:()=>REGISTER_SUBSCRIPTION,REQUEST_WHATS_NEW_DATA:()=>REQUEST_WHATS_NEW_DATA,RESET_STORY_ARGS:()=>RESET_STORY_ARGS,RESULT_WHATS_NEW_DATA:()=>RESULT_WHATS_NEW_DATA,SELECT_STORY:()=>SELECT_STORY,SET_CONFIG:()=>SET_CONFIG,SET_CURRENT_STORY:()=>SET_CURRENT_STORY,SET_GLOBALS:()=>SET_GLOBALS,SET_INDEX:()=>SET_INDEX,SET_STORIES:()=>SET_STORIES,SET_WHATS_NEW_CACHE:()=>SET_WHATS_NEW_CACHE,SHARED_STATE_CHANGED:()=>SHARED_STATE_CHANGED,SHARED_STATE_SET:()=>SHARED_STATE_SET,STORIES_COLLAPSE_ALL:()=>STORIES_COLLAPSE_ALL,STORIES_EXPAND_ALL:()=>STORIES_EXPAND_ALL,STORY_ARGS_UPDATED:()=>STORY_ARGS_UPDATED,STORY_CHANGED:()=>STORY_CHANGED,STORY_ERRORED:()=>STORY_ERRORED,STORY_INDEX_INVALIDATED:()=>STORY_INDEX_INVALIDATED,STORY_MISSING:()=>STORY_MISSING,STORY_PREPARED:()=>STORY_PREPARED,STORY_RENDERED:()=>STORY_RENDERED,STORY_RENDER_PHASE_CHANGED:()=>STORY_RENDER_PHASE_CHANGED,STORY_SPECIFIED:()=>STORY_SPECIFIED,STORY_THREW_EXCEPTION:()=>STORY_THREW_EXCEPTION,STORY_UNCHANGED:()=>STORY_UNCHANGED,TELEMETRY_ERROR:()=>TELEMETRY_ERROR,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>TOGGLE_WHATS_NEW_NOTIFICATIONS,UPDATE_GLOBALS:()=>UPDATE_GLOBALS,UPDATE_QUERY_PARAMS:()=>UPDATE_QUERY_PARAMS,UPDATE_STORY_ARGS:()=>UPDATE_STORY_ARGS,default:()=>src_default});var events=(events2=>(events2.CHANNEL_CREATED="channelCreated",events2.CONFIG_ERROR="configError",events2.STORY_INDEX_INVALIDATED="storyIndexInvalidated",events2.STORY_SPECIFIED="storySpecified",events2.SET_CONFIG="setConfig",events2.SET_STORIES="setStories",events2.SET_INDEX="setIndex",events2.SET_CURRENT_STORY="setCurrentStory",events2.CURRENT_STORY_WAS_SET="currentStoryWasSet",events2.FORCE_RE_RENDER="forceReRender",events2.FORCE_REMOUNT="forceRemount",events2.PRELOAD_ENTRIES="preloadStories",events2.STORY_PREPARED="storyPrepared",events2.DOCS_PREPARED="docsPrepared",events2.STORY_CHANGED="storyChanged",events2.STORY_UNCHANGED="storyUnchanged",events2.STORY_RENDERED="storyRendered",events2.STORY_MISSING="storyMissing",events2.STORY_ERRORED="storyErrored",events2.STORY_THREW_EXCEPTION="storyThrewException",events2.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",events2.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",events2.UPDATE_STORY_ARGS="updateStoryArgs",events2.STORY_ARGS_UPDATED="storyArgsUpdated",events2.RESET_STORY_ARGS="resetStoryArgs",events2.SET_GLOBALS="setGlobals",events2.UPDATE_GLOBALS="updateGlobals",events2.GLOBALS_UPDATED="globalsUpdated",events2.REGISTER_SUBSCRIPTION="registerSubscription",events2.PREVIEW_KEYDOWN="previewKeydown",events2.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",events2.SELECT_STORY="selectStory",events2.STORIES_COLLAPSE_ALL="storiesCollapseAll",events2.STORIES_EXPAND_ALL="storiesExpandAll",events2.DOCS_RENDERED="docsRendered",events2.SHARED_STATE_CHANGED="sharedStateChanged",events2.SHARED_STATE_SET="sharedStateSet",events2.NAVIGATE_URL="navigateUrl",events2.UPDATE_QUERY_PARAMS="updateQueryParams",events2.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",events2.RESULT_WHATS_NEW_DATA="resultWhatsNewData",events2.SET_WHATS_NEW_CACHE="setWhatsNewCache",events2.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",events2.TELEMETRY_ERROR="telemetryError",events2))(events||{}),src_default=events,{CHANNEL_CREATED,CONFIG_ERROR,CURRENT_STORY_WAS_SET,DOCS_PREPARED,DOCS_RENDERED,FORCE_RE_RENDER,FORCE_REMOUNT,GLOBALS_UPDATED,NAVIGATE_URL,PLAY_FUNCTION_THREW_EXCEPTION,PRELOAD_ENTRIES,PREVIEW_BUILDER_PROGRESS,PREVIEW_KEYDOWN,REGISTER_SUBSCRIPTION,RESET_STORY_ARGS,SELECT_STORY,SET_CONFIG,SET_CURRENT_STORY,SET_GLOBALS,SET_INDEX,SET_STORIES,SHARED_STATE_CHANGED,SHARED_STATE_SET,STORIES_COLLAPSE_ALL,STORIES_EXPAND_ALL,STORY_ARGS_UPDATED,STORY_CHANGED,STORY_ERRORED,STORY_INDEX_INVALIDATED,STORY_MISSING,STORY_PREPARED,STORY_RENDER_PHASE_CHANGED,STORY_RENDERED,STORY_SPECIFIED,STORY_THREW_EXCEPTION,STORY_UNCHANGED,UPDATE_GLOBALS,UPDATE_QUERY_PARAMS,UPDATE_STORY_ARGS,REQUEST_WHATS_NEW_DATA,RESULT_WHATS_NEW_DATA,SET_WHATS_NEW_CACHE,TOGGLE_WHATS_NEW_NOTIFICATIONS,TELEMETRY_ERROR}=events,IGNORED_EXCEPTION=new Error("ignoredException");var import_store2=__toESM(require_store2(),1);var __create2=Object.create,__defProp2=Object.defineProperty,__getOwnPropDesc2=Object.getOwnPropertyDescriptor,__getOwnPropNames2=Object.getOwnPropertyNames,__getProtoOf2=Object.getPrototypeOf,__hasOwnProp2=Object.prototype.hasOwnProperty,__commonJS3=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames2(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__copyProps2=(to,from,except,desc)=>{if(from&&typeof from=="object"||typeof from=="function")for(let key2 of __getOwnPropNames2(from))!__hasOwnProp2.call(to,key2)&&key2!==except&&__defProp2(to,key2,{get:()=>from[key2],enumerable:!(desc=__getOwnPropDesc2(from,key2))||desc.enumerable});return to},__toESM3=(mod,isNodeMode,target)=>(target=mod!=null?__create2(__getProtoOf2(mod)):{},__copyProps2(isNodeMode||!mod||!mod.__esModule?__defProp2(target,"default",{value:mod,enumerable:!0}):target,mod)),eventProperties=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],customEventSpecificProperties=["detail"];function extractEventHiddenProperties(event){let rebuildEvent=eventProperties.filter(value2=>event[value2]!==void 0).reduce((acc,value2)=>({...acc,[value2]:event[value2]}),{});return event instanceof CustomEvent&&customEventSpecificProperties.filter(value2=>event[value2]!==void 0).forEach(value2=>{rebuildEvent[value2]=event[value2]}),rebuildEvent}var import_memoizerific2=__toESM(require_memoizerific(),1),require_shams2=__commonJS3({"node_modules/has-symbols/shams.js"(exports,module){"use strict";module.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var obj={},sym=Symbol("test"),symObj=Object(sym);if(typeof sym=="string"||Object.prototype.toString.call(sym)!=="[object Symbol]"||Object.prototype.toString.call(symObj)!=="[object Symbol]")return!1;var symVal=42;obj[sym]=symVal;for(sym in obj)return!1;if(typeof Object.keys=="function"&&Object.keys(obj).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(obj).length!==0)return!1;var syms=Object.getOwnPropertySymbols(obj);if(syms.length!==1||syms[0]!==sym||!Object.prototype.propertyIsEnumerable.call(obj,sym))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(descriptor.value!==symVal||descriptor.enumerable!==!0)return!1}return!0}}}),require_has_symbols2=__commonJS3({"node_modules/has-symbols/index.js"(exports,module){"use strict";var origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=require_shams2();module.exports=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()}}}),require_implementation2=__commonJS3({"node_modules/function-bind/implementation.js"(exports,module){"use strict";var ERROR_MESSAGE="Function.prototype.bind called on incompatible ",slice=Array.prototype.slice,toStr=Object.prototype.toString,funcType="[object Function]";module.exports=function(that){var target=this;if(typeof target!="function"||toStr.call(target)!==funcType)throw new TypeError(ERROR_MESSAGE+target);for(var args2=slice.call(arguments,1),bound,binder=function(){if(this instanceof bound){var result2=target.apply(this,args2.concat(slice.call(arguments)));return Object(result2)===result2?result2:this}else return target.apply(that,args2.concat(slice.call(arguments)))},boundLength=Math.max(0,target.length-args2.length),boundArgs=[],i3=0;i3"u"?undefined2:getProto(Uint8Array),INTRINSICS={"%AggregateError%":typeof AggregateError>"u"?undefined2:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined2:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols?getProto([][Symbol.iterator]()):undefined2,"%AsyncFromSyncIteratorPrototype%":undefined2,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined2:Atomics,"%BigInt%":typeof BigInt>"u"?undefined2:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined2:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined2:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined2:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined2:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined2:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined2:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined2:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols?getProto(getProto([][Symbol.iterator]())):undefined2,"%JSON%":typeof JSON=="object"?JSON:undefined2,"%Map%":typeof Map>"u"?undefined2:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols?undefined2:getProto(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined2:Promise,"%Proxy%":typeof Proxy>"u"?undefined2:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined2:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined2:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols?undefined2:getProto(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined2:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols?getProto(""[Symbol.iterator]()):undefined2,"%Symbol%":hasSymbols?Symbol:undefined2,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":typeof Uint8Array>"u"?undefined2:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined2:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined2:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined2:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?undefined2:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined2:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined2:WeakSet},doEval=function doEval2(name2){var value2;if(name2==="%AsyncFunction%")value2=getEvalledConstructor("async function () {}");else if(name2==="%GeneratorFunction%")value2=getEvalledConstructor("function* () {}");else if(name2==="%AsyncGeneratorFunction%")value2=getEvalledConstructor("async function* () {}");else if(name2==="%AsyncGenerator%"){var fn=doEval2("%AsyncGeneratorFunction%");fn&&(value2=fn.prototype)}else if(name2==="%AsyncIteratorPrototype%"){var gen=doEval2("%AsyncGenerator%");gen&&(value2=getProto(gen.prototype))}return INTRINSICS[name2]=value2,value2},LEGACY_ALIASES={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=require_function_bind2(),hasOwn=require_src2(),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName2=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar2=/\\(\\)?/g,stringToPath2=function(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if(first==="%"&&last!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if(last==="%"&&first!=="%")throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result2=[];return $replace(string,rePropName2,function(match,number,quote,subString){result2[result2.length]=quote?$replace(subString,reEscapeChar2,"$1"):number||match}),result2},getBaseIntrinsic=function(name2,allowMissing){var intrinsicName=name2,alias;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(alias=LEGACY_ALIASES[intrinsicName],intrinsicName="%"+alias[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value2=INTRINSICS[intrinsicName];if(value2===needsEval&&(value2=doEval(intrinsicName)),typeof value2>"u"&&!allowMissing)throw new $TypeError("intrinsic "+name2+" exists, but is not available. Please file an issue!");return{alias,name:intrinsicName,value:value2}}throw new $SyntaxError("intrinsic "+name2+" does not exist!")};module.exports=function(name2,allowMissing){if(typeof name2!="string"||name2.length===0)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof allowMissing!="boolean")throw new $TypeError('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,name2)===null)throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=stringToPath2(name2),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value2=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i3=1,isOwn=!0;i3=parts.length){var desc=$gOPD(value2,part);isOwn=!!desc,isOwn&&"get"in desc&&!("originalValue"in desc.get)?value2=desc.get:value2=value2[part]}else isOwn=hasOwn(value2,part),value2=value2[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value2)}}return value2}}}),require_call_bind2=__commonJS3({"node_modules/call-bind/index.js"(exports,module){"use strict";var bind=require_function_bind2(),GetIntrinsic=require_get_intrinsic2(),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$gOPD=GetIntrinsic("%Object.getOwnPropertyDescriptor%",!0),$defineProperty=GetIntrinsic("%Object.defineProperty%",!0),$max=GetIntrinsic("%Math.max%");if($defineProperty)try{$defineProperty({},"a",{value:1})}catch{$defineProperty=null}module.exports=function(originalFunction){var func=$reflectApply(bind,$call,arguments);if($gOPD&&$defineProperty){var desc=$gOPD(func,"length");desc.configurable&&$defineProperty(func,"length",{value:1+$max(0,originalFunction.length-(arguments.length-1))})}return func};var applyBind=function(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module.exports,"apply",{value:applyBind}):module.exports.apply=applyBind}}),require_callBound2=__commonJS3({"node_modules/call-bind/callBound.js"(exports,module){"use strict";var GetIntrinsic=require_get_intrinsic2(),callBind=require_call_bind2(),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function(name2,allowMissing){var intrinsic=GetIntrinsic(name2,!!allowMissing);return typeof intrinsic=="function"&&$indexOf(name2,".prototype.")>-1?callBind(intrinsic):intrinsic}}}),require_shams22=__commonJS3({"node_modules/has-tostringtag/shams.js"(exports,module){"use strict";var hasSymbols=require_shams2();module.exports=function(){return hasSymbols()&&!!Symbol.toStringTag}}}),require_is_regex=__commonJS3({"node_modules/is-regex/index.js"(exports,module){"use strict";var callBound=require_callBound2(),hasToStringTag=require_shams22()(),has3,$exec,isRegexMarker,badStringifier;hasToStringTag&&(has3=callBound("Object.prototype.hasOwnProperty"),$exec=callBound("RegExp.prototype.exec"),isRegexMarker={},throwRegexMarker=function(){throw isRegexMarker},badStringifier={toString:throwRegexMarker,valueOf:throwRegexMarker},typeof Symbol.toPrimitive=="symbol"&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker));var throwRegexMarker,$toString=callBound("Object.prototype.toString"),gOPD=Object.getOwnPropertyDescriptor,regexClass="[object RegExp]";module.exports=hasToStringTag?function(value2){if(!value2||typeof value2!="object")return!1;var descriptor=gOPD(value2,"lastIndex"),hasLastIndexDataProperty=descriptor&&has3(descriptor,"value");if(!hasLastIndexDataProperty)return!1;try{$exec(value2,badStringifier)}catch(e3){return e3===isRegexMarker}}:function(value2){return!value2||typeof value2!="object"&&typeof value2!="function"?!1:$toString(value2)===regexClass}}}),require_is_function=__commonJS3({"node_modules/is-function/index.js"(exports,module){module.exports=isFunction3;var toString2=Object.prototype.toString;function isFunction3(fn){if(!fn)return!1;var string=toString2.call(fn);return string==="[object Function]"||typeof fn=="function"&&string!=="[object RegExp]"||typeof window<"u"&&(fn===window.setTimeout||fn===window.alert||fn===window.confirm||fn===window.prompt)}}}),require_is_symbol=__commonJS3({"node_modules/is-symbol/index.js"(exports,module){"use strict";var toStr=Object.prototype.toString,hasSymbols=require_has_symbols2()();hasSymbols?(symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/,isSymbolObject=function(value2){return typeof value2.valueOf()!="symbol"?!1:symStringRegex.test(symToStr.call(value2))},module.exports=function(value2){if(typeof value2=="symbol")return!0;if(toStr.call(value2)!=="[object Symbol]")return!1;try{return isSymbolObject(value2)}catch{return!1}}):module.exports=function(value2){return!1};var symToStr,symStringRegex,isSymbolObject}}),import_is_regex=__toESM3(require_is_regex()),import_is_function=__toESM3(require_is_function()),import_is_symbol=__toESM3(require_is_symbol());function isObject(val){return val!=null&&typeof val=="object"&&Array.isArray(val)===!1}var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal_default=freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root2=freeGlobal_default||freeSelf||Function("return this")(),root_default=root2,Symbol2=root_default.Symbol,Symbol_default=Symbol2,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(value2){var isOwn=hasOwnProperty.call(value2,symToStringTag),tag=value2[symToStringTag];try{value2[symToStringTag]=void 0;var unmasked=!0}catch{}var result2=nativeObjectToString.call(value2);return unmasked&&(isOwn?value2[symToStringTag]=tag:delete value2[symToStringTag]),result2}var getRawTag_default=getRawTag,objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(value2){return nativeObjectToString2.call(value2)}var objectToString_default=objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(value2){return value2==null?value2===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(value2)?getRawTag_default(value2):objectToString_default(value2)}var baseGetTag_default=baseGetTag;function isObjectLike(value2){return value2!=null&&typeof value2=="object"}var isObjectLike_default=isObjectLike,symbolTag="[object Symbol]";function isSymbol(value2){return typeof value2=="symbol"||isObjectLike_default(value2)&&baseGetTag_default(value2)==symbolTag}var isSymbol_default=isSymbol;function arrayMap(array,iteratee){for(var index2=-1,length=array==null?0:array.length,result2=Array(length);++index2-1}var listCacheHas_default=listCacheHas;function listCacheSet(key2,value2){var data=this.__data__,index2=assocIndexOf_default(data,key2);return index2<0?(++this.size,data.push([key2,value2])):data[index2][1]=value2,this}var listCacheSet_default=listCacheSet;function ListCache(entries){var index2=-1,length=entries==null?0:entries.length;for(this.clear();++index2{let inQuoteChar=null,inBlockComment=!1,inLineComment=!1,inRegexLiteral=!1,newCode="";if(code.indexOf("//")>=0||code.indexOf("/*")>=0)for(let i3=0;i3removeCodeComments(code).replace(/\n\s*/g,"").trim()),convertShorthandMethods=function(key2,stringified){let fnHead=stringified.slice(0,stringified.indexOf("{")),fnBody=stringified.slice(stringified.indexOf("{"));if(fnHead.includes("=>")||fnHead.includes("function"))return stringified;let modifiedHead=fnHead;return modifiedHead=modifiedHead.replace(key2,"function"),modifiedHead+fnBody},dateFormat=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,isJSON=input=>input.match(/^[\[\{\"\}].*[\]\}\"]$/);function convertUnconventionalData(data){if(!isObject3(data))return data;let result2=data,wasMutated=!1;return typeof Event<"u"&&data instanceof Event&&(result2=extractEventHiddenProperties(result2),wasMutated=!0),result2=Object.keys(result2).reduce((acc,key2)=>{try{result2[key2]&&result2[key2].toJSON,acc[key2]=result2[key2]}catch{wasMutated=!0}return acc},{}),wasMutated?result2:data}var replacer=function(options22){let objects,map2,stack,keys2;return function(key2,value2){try{if(key2==="")return keys2=[],objects=new Map([[value2,"[]"]]),map2=new Map,stack=[],value2;let origin=map2.get(this)||this;for(;stack.length&&origin!==stack[0];)stack.shift(),keys2.pop();if(typeof value2=="boolean")return value2;if(value2===void 0)return options22.allowUndefined?"_undefined_":void 0;if(value2===null)return null;if(typeof value2=="number")return value2===-1/0?"_-Infinity_":value2===1/0?"_Infinity_":Number.isNaN(value2)?"_NaN_":value2;if(typeof value2=="bigint")return`_bigint_${value2.toString()}`;if(typeof value2=="string")return dateFormat.test(value2)?options22.allowDate?`_date_${value2}`:void 0:value2;if((0,import_is_regex.default)(value2))return options22.allowRegExp?`_regexp_${value2.flags}|${value2.source}`:void 0;if((0,import_is_function.default)(value2)){if(!options22.allowFunction)return;let{name:name2}=value2,stringified=value2.toString();return stringified.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${name2}|${(()=>{}).toString()}`:`_function_${name2}|${cleanCode(convertShorthandMethods(key2,stringified))}`}if((0,import_is_symbol.default)(value2)){if(!options22.allowSymbol)return;let globalRegistryKey=Symbol.keyFor(value2);return globalRegistryKey!==void 0?`_gsymbol_${globalRegistryKey}`:`_symbol_${value2.toString().slice(7,-1)}`}if(stack.length>=options22.maxDepth)return Array.isArray(value2)?`[Array(${value2.length})]`:"[Object]";if(value2===this)return`_duplicate_${JSON.stringify(keys2)}`;if(value2 instanceof Error&&options22.allowError)return{__isConvertedError__:!0,errorProperties:{...value2.cause?{cause:value2.cause}:{},...value2,name:value2.name,message:value2.message,stack:value2.stack,"_constructor-name_":value2.constructor.name}};if(value2.constructor&&value2.constructor.name&&value2.constructor.name!=="Object"&&!Array.isArray(value2)&&!options22.allowClass)return;let found=objects.get(value2);if(!found){let converted=Array.isArray(value2)?value2:convertUnconventionalData(value2);if(value2.constructor&&value2.constructor.name&&value2.constructor.name!=="Object"&&!Array.isArray(value2)&&options22.allowClass)try{Object.assign(converted,{"_constructor-name_":value2.constructor.name})}catch{}return keys2.push(key2),stack.unshift(converted),objects.set(value2,JSON.stringify(keys2)),value2!==converted&&map2.set(value2,converted),converted}return`_duplicate_${found}`}catch{return}}},reviver2=function reviver(options){let refs=[],root;return function revive(key,value){if(key===""&&(root=value,refs.forEach(({target,container,replacement})=>{let replacementArr=isJSON(replacement)?JSON.parse(replacement):replacement.split(".");replacementArr.length===0?container[target]=root:container[target]=get_default(root,replacementArr)})),key==="_constructor-name_")return value;if(isObject3(value)&&value.__isConvertedError__){let{message,...properties}=value.errorProperties,error=new Error(message);return Object.assign(error,properties),error}if(isObject3(value)&&value["_constructor-name_"]&&options.allowFunction){let name2=value["_constructor-name_"];if(name2!=="Object"){let Fn=new Function(`return function ${name2.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new Fn)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=(...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)};return Object.defineProperty(result,"toString",{value:()=>sourceSanitized}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,flags,source2]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(source2,flags)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value}},defaultOptions={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},stringify=(data,options22={})=>{let mergedOptions={...defaultOptions,...options22};return JSON.stringify(convertUnconventionalData(data),replacer(mergedOptions),options22.space)},mutator=()=>{let mutated=new Map;return function mutateUndefined(value2){isObject3(value2)&&Object.entries(value2).forEach(([k2,v2])=>{v2==="_undefined_"?value2[k2]=void 0:mutated.get(v2)||(mutated.set(v2,!0),mutateUndefined(v2))}),Array.isArray(value2)&&value2.forEach((v2,index2)=>{v2==="_undefined_"?(mutated.set(v2,!0),value2[index2]=void 0):mutated.get(v2)||(mutated.set(v2,!0),mutateUndefined(v2))})}},parse=(data,options22={})=>{let mergedOptions={...defaultOptions,...options22},result2=JSON.parse(data,reviver2(mergedOptions));return mutator()(result2),result2};var import_isEqual=__toESM(require_isEqual(),1);var Addon_TypesEnum=(Addon_TypesEnum2=>(Addon_TypesEnum2.TAB="tab",Addon_TypesEnum2.PANEL="panel",Addon_TypesEnum2.TOOL="tool",Addon_TypesEnum2.TOOLEXTRA="toolextra",Addon_TypesEnum2.PREVIEW="preview",Addon_TypesEnum2.experimental_PAGE="page",Addon_TypesEnum2.experimental_SIDEBAR_BOTTOM="sidebar-bottom",Addon_TypesEnum2.experimental_SIDEBAR_TOP="sidebar-top",Addon_TypesEnum2.NOTES_ELEMENT="notes-element",Addon_TypesEnum2))(Addon_TypesEnum||{});var B=Object.create,R=Object.defineProperty,b=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyNames,h=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,I=(r4,e3)=>()=>(e3||r4((e3={exports:{}}).exports,e3),e3.exports),E=(r4,e3,t3,n3)=>{if(e3&&typeof e3=="object"||typeof e3=="function")for(let a2 of C(e3))!w.call(r4,a2)&&a2!==t3&&R(r4,a2,{get:()=>e3[a2],enumerable:!(n3=b(e3,a2))||n3.enumerable});return r4},P=(r4,e3,t3)=>(t3=r4!=null?B(h(r4)):{},E(e3||!r4||!r4.__esModule?R(t3,"default",{value:r4,enumerable:!0}):t3,r4)),x=I(T2=>{Object.defineProperty(T2,"__esModule",{value:!0}),T2.isEqual=function(){var r4=Object.prototype.toString,e3=Object.getPrototypeOf,t3=Object.getOwnPropertySymbols?function(n3){return Object.keys(n3).concat(Object.getOwnPropertySymbols(n3))}:Object.keys;return function(n3,a2){return function i3(o2,s2,d2){var y2,g2,p2,A3=r4.call(o2),F2=r4.call(s2);if(o2===s2)return!0;if(o2==null||s2==null)return!1;if(d2.indexOf(o2)>-1&&d2.indexOf(s2)>-1)return!0;if(d2.push(o2,s2),A3!=F2||(y2=t3(o2),g2=t3(s2),y2.length!=g2.length||y2.some(function(l2){return!i3(o2[l2],s2[l2],d2)})))return!1;switch(A3.slice(8,-1)){case"Symbol":return o2.valueOf()==s2.valueOf();case"Date":case"Number":return+o2==+s2||+o2!=+o2&&+s2!=+s2;case"RegExp":case"Function":case"String":case"Boolean":return""+o2==""+s2;case"Set":case"Map":y2=o2.entries(),g2=s2.entries();do if(!i3((p2=y2.next()).value,g2.next().value,d2))return!1;while(!p2.done);return!0;case"ArrayBuffer":o2=new Uint8Array(o2),s2=new Uint8Array(s2);case"DataView":o2=new Uint8Array(o2.buffer),s2=new Uint8Array(s2.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(o2.length!=s2.length)return!1;for(p2=0;p2r4.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),m=(r4,e3)=>{let t3=L(r4);if(t3==="")throw new Error(`Invalid ${e3} '${r4}', must include alphanumeric characters`);return t3},N=(r4,e3)=>`${m(r4,"kind")}${e3?`--${m(e3,"name")}`:""}`;function dedent2(templ){for(var values=[],_i=1;_iChannel,PostMessageTransport:()=>PostMessageTransport,WebsocketTransport:()=>WebsocketTransport,createBrowserChannel:()=>createBrowserChannel,createPostMessageChannel:()=>createChannel,createWebSocketChannel:()=>createChannel2,default:()=>src_default2});var isMulti=args2=>args2.transports!==void 0,generateRandomId=()=>Math.random().toString(16).slice(2),Channel=class{constructor(input={}){this.sender=generateRandomId(),this.events={},this.data={},this.transports=[],this.isAsync=input.async||!1,isMulti(input)?(this.transports=input.transports||[],this.transports.forEach(t3=>{t3.setHandler(event=>this.handleEvent(event))})):this.transports=input.transport?[input.transport]:[],this.transports.forEach(t3=>{t3.setHandler(event=>this.handleEvent(event))})}get hasTransport(){return this.transports.length>0}addListener(eventName,listener){this.events[eventName]=this.events[eventName]||[],this.events[eventName].push(listener)}emit(eventName,...args2){let event={type:eventName,args:args2,from:this.sender},options3={};args2.length>=1&&args2[0]&&args2[0].options&&(options3=args2[0].options);let handler=()=>{this.transports.forEach(t3=>{t3.send(event,options3)}),this.handleEvent(event)};this.isAsync?setImmediate(handler):handler()}last(eventName){return this.data[eventName]}eventNames(){return Object.keys(this.events)}listenerCount(eventName){let listeners=this.listeners(eventName);return listeners?listeners.length:0}listeners(eventName){return this.events[eventName]||void 0}once(eventName,listener){let onceListener=this.onceListener(eventName,listener);this.addListener(eventName,onceListener)}removeAllListeners(eventName){eventName?this.events[eventName]&&delete this.events[eventName]:this.events={}}removeListener(eventName,listener){let listeners=this.listeners(eventName);listeners&&(this.events[eventName]=listeners.filter(l2=>l2!==listener))}on(eventName,listener){this.addListener(eventName,listener)}off(eventName,listener){this.removeListener(eventName,listener)}handleEvent(event){let listeners=this.listeners(event.type);listeners&&listeners.length&&listeners.forEach(fn=>{fn.apply(event,event.args)}),this.data[event.type]=event.args}onceListener(eventName,listener){let onceListener=(...args2)=>(this.removeListener(eventName,onceListener),listener(...args2));return onceListener}};var import_qs2=__toESM(require_lib(),1);var isProduction=!1,prefix="Invariant failed";function invariant2(condition,message){if(!condition){if(isProduction)throw new Error(prefix);var provided=typeof message=="function"?message():message,value2=provided?"".concat(prefix,": ").concat(provided):prefix;throw new Error(value2)}}var getEventSourceUrl=event=>{let frames=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[frame,...remainder]=frames.filter(element=>{try{return element.contentWindow===event.source}catch{}let src2=element.getAttribute("src"),origin;try{if(!src2)return!1;({origin}=new URL(src2,document.location.toString()))}catch{return!1}return origin===event.origin}),src=frame?.getAttribute("src");if(src&&remainder.length===0){let{protocol,host,pathname}=new URL(src,document.location.toString());return`${protocol}//${host}${pathname}`}return remainder.length>0&&logger.error("found multiple candidates for event source"),null},{document:document22,location}=scope,KEY="storybook-channel",defaultEventOptions={allowFunction:!0,maxDepth:25},PostMessageTransport=class{constructor(config){if(this.config=config,this.connected=!1,this.buffer=[],typeof scope?.addEventListener=="function"&&scope.addEventListener("message",this.handleEvent.bind(this),!1),config.page!=="manager"&&config.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${config.page}"`)}setHandler(handler){this.handler=(...args2)=>{handler.apply(this,args2),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(event,options3){let{target,allowRegExp,allowFunction,allowSymbol,allowDate,allowError,allowUndefined,allowClass,maxDepth,space,lazyEval}=options3||{},eventOptions=Object.fromEntries(Object.entries({allowRegExp,allowFunction,allowSymbol,allowDate,allowError,allowUndefined,allowClass,maxDepth,space,lazyEval}).filter(([k2,v2])=>typeof v2<"u")),stringifyOptions={...defaultEventOptions,...scope.CHANNEL_OPTIONS||{},...eventOptions},frames=this.getFrames(target),query=import_qs2.default.parse(location.search,{ignoreQueryPrefix:!0}),data=stringify({key:KEY,event,refId:query.refId},stringifyOptions);return frames.length?(this.buffer.length&&this.flush(),frames.forEach(f3=>{try{f3.postMessage(data,"*")}catch{logger.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((resolve,reject)=>{this.buffer.push({event,resolve,reject})})}flush(){let{buffer}=this;this.buffer=[],buffer.forEach(item=>{this.send(item.event).then(item.resolve).catch(item.reject)})}getFrames(target){if(this.config.page==="manager"){let list=Array.from(document22.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(e3=>{try{return e3.contentWindow&&e3.dataset.isStorybook!==void 0&&e3.id===target?[e3.contentWindow]:[]}catch{return[]}});return list?.length?list:this.getCurrentFrames()}return scope&&scope.parent&&scope.parent!==scope.self?[scope.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(document22.querySelectorAll('[data-is-storybook="true"]')).flatMap(e3=>e3.contentWindow?[e3.contentWindow]:[]):scope&&scope.parent?[scope.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(document22.querySelectorAll("#storybook-preview-iframe")).flatMap(e3=>e3.contentWindow?[e3.contentWindow]:[]):scope&&scope.parent?[scope.parent]:[]}handleEvent(rawEvent){try{let{data}=rawEvent,{key:key2,event,refId}=typeof data=="string"&&isJSON(data)?parse(data,scope.CHANNEL_OPTIONS||{}):data;if(key2===KEY){let pageString=this.config.page==="manager"?' manager ':' preview ',eventString=Object.values(dist_exports2).includes(event.type)?`${event.type}`:`${event.type}`;if(refId&&(event.refId=refId),event.source=this.config.page==="preview"?rawEvent.origin:getEventSourceUrl(rawEvent),!event.source){pretty.error(`${pageString} received ${eventString} but was unable to determine the source of the event`);return}let message=`${pageString} received ${eventString} (${data.length})`;pretty.debug(location.origin!==event.source?message:`${message} (on ${location.origin} from ${event.source})`,...event.args),invariant2(this.handler,"ChannelHandler should be set"),this.handler(event)}}catch(error){logger.error(error)}}},PostmsgTransport=PostMessageTransport;function createChannel({page}){let transport=new PostmsgTransport({page});return new Channel({transport})}var{WebSocket}=scope,WebsocketTransport=class{constructor({url,onError}){this.buffer=[],this.isReady=!1,this.socket=new WebSocket(url),this.socket.onopen=()=>{this.isReady=!0,this.flush()},this.socket.onmessage=({data})=>{let event=typeof data=="string"&&isJSON(data)?parse(data):data;invariant2(this.handler,"WebsocketTransport handler should be set"),this.handler(event)},this.socket.onerror=e3=>{onError&&onError(e3)}}setHandler(handler){this.handler=handler}send(event){this.isReady?this.sendNow(event):this.sendLater(event)}sendLater(event){this.buffer.push(event)}sendNow(event){let data=stringify(event,{maxDepth:15,allowFunction:!0});this.socket.send(data)}flush(){let{buffer}=this;this.buffer=[],buffer.forEach(event=>this.send(event))}};function createChannel2({url,async=!1,onError=err=>logger.warn(err)}){let channelUrl=url;if(!channelUrl){let protocol=window.location.protocol==="http:"?"ws":"wss",{hostname,port}=window.location;channelUrl=`${protocol}://${hostname}:${port}/storybook-server-channel`}let transport=new WebsocketTransport({url:channelUrl,onError});return new Channel({transport,async})}var{CONFIG_TYPE}=scope,src_default2=Channel;function createBrowserChannel({page,extraTransports=[]}){let transports=[new PostMessageTransport({page}),...extraTransports];if(CONFIG_TYPE==="DEVELOPMENT"){let protocol=window.location.protocol==="http:"?"ws":"wss",{hostname,port}=window.location,channelUrl=`${protocol}://${hostname}:${port}/storybook-server-channel`;transports.push(new WebsocketTransport({url:channelUrl,onError:()=>{}}))}return new Channel({transports})}var __defProp3=Object.defineProperty,__export2=(target,all)=>{for(var name2 in all)__defProp3(target,name2,{get:all[name2],enumerable:!0})},createContext2=({api,state})=>(0,import_react2.createContext)({api,state}),store_setup_default=_2=>{_2.fn("set",function(key2,data){return _2.set(this._area,this._in(key2),stringify(data,{maxDepth:50}))}),_2.fn("get",function(key2,alt){let value2=_2.get(this._area,this._in(key2));return value2!==null?parse(value2):alt||value2})};store_setup_default(import_store2.default._);var STORAGE_KEY="@storybook/manager/store";function get2(storage){return storage.get(STORAGE_KEY)||{}}function set(storage,value2){return storage.set(STORAGE_KEY,value2)}function update(storage,patch){let previous=get2(storage);return set(storage,{...previous,...patch})}var Store=class{constructor({setState,getState:getState2}){this.upstreamSetState=setState,this.upstreamGetState=getState2}getInitialState(base){return{...base,...get2(import_store2.default.local),...get2(import_store2.default.session)}}getState(){return this.upstreamGetState()}async setState(inputPatch,cbOrOptions,inputOptions){let callback,options3;typeof cbOrOptions=="function"?(callback=cbOrOptions,options3=inputOptions):options3=cbOrOptions;let{persistence="none"}=options3||{},patch={},delta={};typeof inputPatch=="function"?patch=state=>(delta=inputPatch(state),delta):(patch=inputPatch,delta=patch);let newState=await new Promise(resolve=>{this.upstreamSetState(patch,resolve)});if(persistence!=="none"){let storage=persistence==="session"?import_store2.default.session:import_store2.default.local;await update(storage,delta)}return callback&&callback(newState),newState}},merge_default=(a2,b3)=>(0,import_mergeWith.default)({},a2,b3,(objValue,srcValue)=>{if(Array.isArray(srcValue)&&Array.isArray(objValue))return srcValue.forEach(s2=>{objValue.find(o2=>o2===s2||(0,import_isEqual.default)(o2,s2))||objValue.push(s2)}),objValue;if(Array.isArray(objValue))return logger.log(["the types mismatch, picking",objValue]),objValue}),main=(...additions)=>additions.reduce((acc,item)=>merge_default(acc,item),{}),initial_state_default=main,provider_exports={};__export2(provider_exports,{init:()=>init});var init=({provider,fullAPI})=>({api:provider.renderPreview?{renderPreview:provider.renderPreview}:{},state:{},init:()=>{provider.handleAPI(fullAPI)}}),addons_exports={};__export2(addons_exports,{ensurePanel:()=>ensurePanel,init:()=>init2});function ensurePanel(panels,selectedPanel,currentPanel){let keys2=Object.keys(panels);return keys2.indexOf(selectedPanel)>=0?selectedPanel:keys2.length?keys2[0]:currentPanel}var init2=({provider,store:store22,fullAPI})=>{let api={getElements:type=>provider.getElements(type),getPanels:()=>api.getElements(Addon_TypesEnum.PANEL),getStoryPanels:()=>{let allPanels=api.getElements(Addon_TypesEnum.PANEL),{storyId}=store22.getState(),story=fullAPI.getData(storyId);if(!allPanels||!story||story.type!=="story")return allPanels;let{parameters}=story,filteredPanels={};return Object.entries(allPanels).forEach(([id,panel])=>{let{paramKey}=panel;paramKey&¶meters&¶meters[paramKey]&¶meters[paramKey].disable||(filteredPanels[id]=panel)}),filteredPanels},getSelectedPanel:()=>{let{selectedPanel}=store22.getState();return ensurePanel(api.getElements(Addon_TypesEnum.PANEL),selectedPanel,selectedPanel)},setSelectedPanel:panelName=>{store22.setState({selectedPanel:panelName},{persistence:"session"})},setAddonState(addonId,newStateOrMerger,options3){let nextState,{addons:existing}=store22.getState();return typeof newStateOrMerger=="function"?nextState=newStateOrMerger(api.getAddonState(addonId)):nextState=newStateOrMerger,store22.setState({addons:{...existing,[addonId]:nextState}},options3).then(()=>api.getAddonState(addonId))},getAddonState:addonId=>store22.getState().addons[addonId]||globalThis?.STORYBOOK_ADDON_STATE[addonId]};return{api,state:{selectedPanel:ensurePanel(api.getElements(Addon_TypesEnum.PANEL),store22.getState().selectedPanel),addons:{}}}},channel_exports={};__export2(channel_exports,{init:()=>init3});var init3=({provider})=>{let api={getChannel:()=>provider.channel,on:(type,handler)=>(provider.channel.on(type,handler),()=>provider.channel.off(type,handler)),off:(type,handler)=>provider.channel.off(type,handler),once:(type,handler)=>provider.channel.once(type,handler),emit:(type,data,...args2)=>{data?.options?.target&&data.options.target!=="storybook-preview-iframe"&&!data.options.target.startsWith("storybook-ref-")&&(data.options.target=data.options.target!=="storybook_internal"?`storybook-ref-${data.options.target}`:"storybook-preview-iframe"),provider.channel.emit(type,data,...args2)},collapseAll:()=>{api.emit(STORIES_COLLAPSE_ALL,{})},expandAll:()=>{api.emit(STORIES_EXPAND_ALL)}};return{api,state:{}}},notifications_exports={};__export2(notifications_exports,{init:()=>init4});var init4=({store:store22})=>{let api={addNotification:notification=>{api.clearNotification(notification.id);let{notifications}=store22.getState();store22.setState({notifications:[...notifications,notification]})},clearNotification:id=>{let{notifications}=store22.getState();store22.setState({notifications:notifications.filter(n3=>n3.id!==id)});let notification=notifications.find(n3=>n3.id===id);notification&¬ification.onClear&¬ification.onClear({dismissed:!1})}};return{api,state:{notifications:[]}}},settings_exports={};__export2(settings_exports,{init:()=>init5});var init5=({store:store22,navigate,fullAPI})=>{let isSettingsScreenActive=()=>{let{path}=fullAPI.getUrlState();return!!(path||"").match(/^\/settings/)};return{state:{settings:{lastTrackedStoryId:null}},api:{closeSettings:()=>{let{settings:{lastTrackedStoryId}}=store22.getState();lastTrackedStoryId?fullAPI.selectStory(lastTrackedStoryId):fullAPI.selectFirstStory()},changeSettingsTab:path=>{navigate(`/settings/${path}`)},isSettingsScreenActive,navigateToSettingsPage:async path=>{if(!isSettingsScreenActive()){let{settings,storyId}=store22.getState();await store22.setState({settings:{...settings,lastTrackedStoryId:storyId}})}navigate(path)},retrieveSelection(){let{settings}=store22.getState();return settings.lastTrackedStoryId},storeSelection:async()=>{let{storyId,settings}=store22.getState();await store22.setState({settings:{...settings,lastTrackedStoryId:storyId}})}}}},stories_exports={};__export2(stories_exports,{init:()=>init7});var refs_exports={};__export2(refs_exports,{defaultStoryMapper:()=>defaultStoryMapper,getSourceType:()=>getSourceType,init:()=>init6});var TITLE_PATH_SEPARATOR=/\s*\/\s*/,denormalizeStoryParameters=({globalParameters,kindParameters,stories})=>(0,import_mapValues.default)(stories,storyData=>({...storyData,parameters:combineParameters(globalParameters,kindParameters[storyData.kind],storyData.parameters)})),transformSetStoriesStoryDataToStoriesHash=(data,options3)=>transformStoryIndexToStoriesHash(transformSetStoriesStoryDataToPreparedStoryIndex(data),options3),transformSetStoriesStoryDataToPreparedStoryIndex=stories=>({v:4,entries:Object.entries(stories).reduce((acc,[id,story])=>{if(!story)return acc;let{docsOnly,fileName,...parameters}=story.parameters,base={title:story.kind,id,name:story.name,importPath:fileName};if(docsOnly)acc[id]={type:"docs",tags:["stories-mdx"],storiesImports:[],...base};else{let{argTypes,args:args2,initialArgs}=story;acc[id]={type:"story",...base,parameters,argTypes,args:args2,initialArgs}}return acc},{})}),transformStoryIndexV2toV3=index2=>({v:3,stories:Object.values(index2.stories).reduce((acc,entry)=>(acc[entry.id]={...entry,title:entry.kind,name:entry.name||entry.story,importPath:entry.parameters.fileName||""},acc),{})}),transformStoryIndexV3toV4=index2=>{let countByTitle=(0,import_countBy.default)(Object.values(index2.stories),"title");return{v:4,entries:Object.values(index2.stories).reduce((acc,entry)=>{let type="story";return(entry.parameters?.docsOnly||entry.name==="Page"&&countByTitle[entry.title]===1)&&(type="docs"),acc[entry.id]={type,...type==="docs"&&{tags:["stories-mdx"],storiesImports:[]},...entry},delete acc[entry.id].story,delete acc[entry.id].kind,acc},{})}},transformStoryIndexToStoriesHash=(input,{provider,docsOptions,filters,status})=>{if(!input.v)throw new Error("Composition: Missing stories.json version");let index2=input;index2=index2.v===2?transformStoryIndexV2toV3(index2):index2,index2=index2.v===3?transformStoryIndexV3toV4(index2):index2,index2=index2;let entryValues=Object.values(index2.entries).filter(entry=>{let result2=!0;return Object.values(filters).forEach(filter=>{result2!==!1&&(result2=filter({...entry,status:status[entry.id]}))}),result2}),{sidebar={}}=provider.getConfig(),{showRoots,collapsedRoots=[],renderLabel}=sidebar,setShowRoots=typeof showRoots<"u",storiesHashOutOfOrder=entryValues.reduce((acc,item)=>{if(docsOptions.docsMode&&item.type!=="docs")return acc;let{title}=item,groups=title.trim().split(TITLE_PATH_SEPARATOR),root4=(!setShowRoots||showRoots)&&groups.length>1?[groups.shift()]:[],names=[...root4,...groups],paths=names.reduce((list,name2,idx)=>{let parent=idx>0&&list[idx-1],id=L(parent?`${parent}-${name2}`:name2);if(parent===id)throw new Error(dedent2` + Invalid part '${name2}', leading to id === parentId ('${id}'), inside title '${title}' + + Did you create a path that uses the separator char accidentally, such as 'Vue ' where '/' is a separator char? See https://github.com/storybookjs/storybook/issues/6128 + `);return list.push(id),list},[]);return paths.forEach((id,idx)=>{let childId=paths[idx+1]||item.id;root4.length&&idx===0?acc[id]=merge_default(acc[id]||{},{type:"root",id,name:names[idx],depth:idx,renderLabel,startCollapsed:collapsedRoots.includes(id),children:[childId],isRoot:!0,isComponent:!1,isLeaf:!1}):(!acc[id]||acc[id].type==="component")&&idx===paths.length-1?acc[id]=merge_default(acc[id]||{},{type:"component",id,name:names[idx],parent:paths[idx-1],depth:idx,renderLabel,...childId&&{children:[childId]},isRoot:!1,isComponent:!0,isLeaf:!1}):acc[id]=merge_default(acc[id]||{},{type:"group",id,name:names[idx],parent:paths[idx-1],depth:idx,renderLabel,...childId&&{children:[childId]},isRoot:!1,isComponent:!1,isLeaf:!1})}),acc[item.id]={type:"story",...item,depth:paths.length,parent:paths[paths.length-1],renderLabel,prepared:!!item.parameters,kind:item.title,isRoot:!1,isComponent:!1,isLeaf:!0},acc},{});function addItem(acc,item){return acc[item.id]||(acc[item.id]=item,(item.type==="root"||item.type==="group"||item.type==="component")&&item.children.forEach(childId=>addItem(acc,storiesHashOutOfOrder[childId]))),acc}let orphanHash=Object.values(storiesHashOutOfOrder).filter(i3=>i3.type!=="root"&&!i3.parent).reduce(addItem,{});return Object.values(storiesHashOutOfOrder).filter(i3=>i3.type==="root").reduce(addItem,orphanHash)},addPreparedStories=(newHash,oldHash)=>oldHash?Object.fromEntries(Object.entries(newHash).map(([id,newEntry])=>{let oldEntry=oldHash[id];return newEntry.type==="story"&&oldEntry?.type==="story"&&oldEntry.prepared?[id,{...oldEntry,...newEntry,prepared:!0}]:[id,newEntry]})):newHash,getComponentLookupList=(0,import_memoizerific3.default)(1)(hash=>Object.entries(hash).reduce((acc,i3)=>{let value2=i3[1];return value2.type==="component"&&acc.push([...value2.children]),acc},[])),getStoriesLookupList=(0,import_memoizerific3.default)(1)(hash=>Object.keys(hash).filter(k2=>["story","docs"].includes(hash[k2].type))),{location:location2,fetch}=scope,findFilename=/(\/((?:[^\/]+?)\.[^\/]+?)|\/)$/,getSourceType=(source2,refId)=>{let{origin:localOrigin,pathname:localPathname}=location2,{origin:sourceOrigin,pathname:sourcePathname}=new URL(source2),localFull=`${localOrigin+localPathname}`.replace(findFilename,""),sourceFull=`${sourceOrigin+sourcePathname}`.replace(findFilename,"");return localFull===sourceFull?["local",sourceFull]:refId||source2?["external",sourceFull]:[null,null]},defaultStoryMapper=(b3,a2)=>({...a2,kind:a2.kind.replace("|","/")}),addRefIds=(input,ref)=>Object.entries(input).reduce((acc,[id,item])=>({...acc,[id]:{...item,refId:ref.id}}),{});async function handleRequest(request){if(!request)return{};try{let response=await request;if(response===!1||response===!0)throw new Error("Unexpected boolean response");if(!response.ok)throw new Error(`Unexpected response not OK: ${response.statusText}`);let json=await response.json();return json.entries||json.stories?{storyIndex:json}:json}catch(err){return{indexError:err}}}var parseUrl=url=>{let credentialsRegex=/https?:\/\/(.+:.+)@/,cleanUrl=url,authorization,[,credentials]=url.match(credentialsRegex)||[];return credentials&&(cleanUrl=url.replace(`${credentials}@`,""),authorization=btoa(`${credentials}`)),{url:cleanUrl,authorization}},map=(input,ref,options3)=>{let{storyMapper}=options3;return storyMapper?Object.entries(input).reduce((acc,[id,item])=>({...acc,[id]:storyMapper(ref,item)}),{}):input},init6=({store:store22,provider,singleStory,docsOptions={}},{runCheck=!0}={})=>{let api={findRef:source2=>{let refs22=api.getRefs();return Object.values(refs22).find(({url})=>url.match(source2))},changeRefVersion:(id,url)=>{let{versions,title}=api.getRefs()[id],ref={id,url,versions,title,index:{},expanded:!0};api.setRef(id,{...ref,type:"unknown"},!1),api.checkRef(ref)},changeRefState:(id,previewInitialized)=>{let{[id]:ref,...updated}=api.getRefs();updated[id]={...ref,previewInitialized},store22.setState({refs:updated})},checkRef:async ref=>{let{id,url,version:version2,type}=ref,isPublic=type==="server-checked",loadedData={},query=version2?`?version=${version2}`:"",credentials=isPublic?"omit":"include",urlParseResult=parseUrl(url),headers={Accept:"application/json"};urlParseResult.authorization&&Object.assign(headers,{Authorization:`Basic ${urlParseResult.authorization}`});let[indexResult,storiesResult]=await Promise.all(["index.json","stories.json"].map(async file=>handleRequest(fetch(`${urlParseResult.url}/${file}${query}`,{headers,credentials}))));if(!indexResult.indexError||!storiesResult.indexError){let metadata=await handleRequest(fetch(`${urlParseResult.url}/metadata.json${query}`,{headers,credentials,cache:"no-cache"}).catch(()=>!1));Object.assign(loadedData,{...indexResult.indexError?storiesResult:indexResult,...!metadata.indexError&&metadata})}else isPublic||(loadedData.indexError={message:dedent2` + Error: Loading of ref failed + at fetch (lib/api/src/modules/refs.ts) + + URL: ${urlParseResult.url} + + We weren't able to load the above URL, + it's possible a CORS error happened. + + Please check your dev-tools network tab. + `});let versions=ref.versions&&Object.keys(ref.versions).length?ref.versions:loadedData.versions;await api.setRef(id,{id,url:urlParseResult.url,...loadedData,...versions?{versions}:{},type:loadedData.storyIndex?"lazy":"auto-inject"})},getRefs:()=>{let{refs:refs22={}}=store22.getState();return refs22},setRef:(id,{storyIndex,setStoriesData,...rest},ready=!1)=>{if(singleStory)return;let{storyMapper=defaultStoryMapper}=provider.getConfig(),ref=api.getRefs()[id],index2;setStoriesData?index2=transformSetStoriesStoryDataToStoriesHash(map(setStoriesData,ref,{storyMapper}),{provider,docsOptions,filters:{},status:{}}):storyIndex&&(index2=transformStoryIndexToStoriesHash(storyIndex,{provider,docsOptions,filters:{},status:{}})),index2&&(index2=addRefIds(index2,ref)),api.updateRef(id,{index:index2,...rest})},updateRef:(id,data)=>{let{[id]:ref,...updated}=api.getRefs();updated[id]={...ref,...data};let ordered=Object.keys(initialState).reduce((obj,key2)=>(obj[key2]=updated[key2],obj),{});store22.setState({refs:ordered})}},refs2=!singleStory&&scope.REFS||{},initialState=refs2;return runCheck&&Object.entries(refs2).forEach(([id,ref])=>{api.checkRef({...ref,stories:{}})}),{api,state:{refs:initialState}}},getEventMetadata=(context,fullAPI)=>{let{source:source2,refId,type}=context,[sourceType,sourceLocation]=getSourceType(source2,refId),ref=refId&&fullAPI.getRefs()[refId]?fullAPI.getRefs()[refId]:fullAPI.findRef(sourceLocation),meta={source:source2,sourceType,sourceLocation,refId,ref,type};switch(!0){case typeof refId=="string":case sourceType==="local":case sourceType==="external":return meta;default:return logger.warn(`Received a ${type} frame that was not configured as a ref`),null}},{FEATURES,fetch:fetch2}=scope,STORY_INDEX_PATH="./index.json",removedOptions=["enableShortcuts","theme","showRoots"];function removeRemovedOptions(options3){if(!options3||typeof options3=="string")return options3;let result2={...options3};return removedOptions.forEach(option=>{option in result2&&delete result2[option]}),result2}var init7=({fullAPI,store:store22,navigate,provider,storyId:initialStoryId,viewMode:initialViewMode,docsOptions={}})=>{let api={storyId:N,getData:(storyId,refId)=>{let result2=api.resolveStory(storyId,refId);if(result2?.type==="story"||result2?.type==="docs")return result2},isPrepared:(storyId,refId)=>{let data=api.getData(storyId,refId);return data.type==="story"?data.prepared:!0},resolveStory:(storyId,refId)=>{let{refs:refs2,index:index2}=store22.getState();return refId&&!refs2[refId]?null:refId?refs2[refId].index?refs2[refId].index[storyId]:void 0:index2?index2[storyId]:void 0},getCurrentStoryData:()=>{let{storyId,refId}=store22.getState();return api.getData(storyId,refId)},getParameters:(storyIdOrCombo,parameterName)=>{let{storyId,refId}=typeof storyIdOrCombo=="string"?{storyId:storyIdOrCombo,refId:void 0}:storyIdOrCombo,data=api.getData(storyId,refId);if(["story","docs"].includes(data?.type)){let{parameters}=data;if(parameters)return parameterName?parameters[parameterName]:parameters}return null},getCurrentParameter:parameterName=>{let{storyId,refId}=store22.getState();return api.getParameters({storyId,refId},parameterName)||void 0},jumpToComponent:direction=>{let{index:index2,storyId,refs:refs2,refId}=store22.getState();if(!api.getData(storyId,refId))return;let hash=refId?refs2[refId].index||{}:index2,result2=api.findSiblingStoryId(storyId,hash,direction,!0);result2&&api.selectStory(result2,void 0,{ref:refId})},jumpToStory:direction=>{let{index:index2,storyId,refs:refs2,refId}=store22.getState(),story=api.getData(storyId,refId);if(!story)return;let hash=story.refId?refs2[story.refId].index:index2,result2=api.findSiblingStoryId(storyId,hash,direction,!1);result2&&api.selectStory(result2,void 0,{ref:refId})},selectFirstStory:()=>{let{index:index2}=store22.getState(),firstStory=Object.keys(index2).find(id=>index2[id].type==="story");if(firstStory){api.selectStory(firstStory);return}navigate("/")},selectStory:(titleOrId=void 0,name2=void 0,options3={})=>{let{ref}=options3,{storyId,index:index2,refs:refs2}=store22.getState(),hash=ref?refs2[ref].index:index2,kindSlug=storyId?.split("--",2)[0];if(name2)if(titleOrId){let id=ref?`${ref}_${N(titleOrId,name2)}`:N(titleOrId,name2);if(hash[id])api.selectStory(id,void 0,options3);else{let entry=hash[L(titleOrId)];if(entry?.type==="component"){let foundId=entry.children.find(childId=>hash[childId].name===name2);foundId&&api.selectStory(foundId,void 0,options3)}}}else{let id=N(kindSlug,name2);api.selectStory(id,void 0,options3)}else{let entry=titleOrId?hash[titleOrId]||hash[L(titleOrId)]:hash[kindSlug];if(!entry)throw new Error(`Unknown id or title: '${titleOrId}'`);let leafEntry=api.findLeafEntry(hash,entry.id),fullId=leafEntry.refId?`${leafEntry.refId}_${leafEntry.id}`:leafEntry.id;navigate(`/${leafEntry.type}/${fullId}`)}},findLeafEntry(index2,storyId){let entry=index2[storyId];if(entry.type==="docs"||entry.type==="story")return entry;let childStoryId=entry.children[0];return api.findLeafEntry(index2,childStoryId)},findLeafStoryId(index2,storyId){return api.findLeafEntry(index2,storyId)?.id},findSiblingStoryId(storyId,index2,direction,toSiblingGroup){if(toSiblingGroup){let lookupList2=getComponentLookupList(index2),position2=lookupList2.findIndex(i3=>i3.includes(storyId));return position2===lookupList2.length-1&&direction>0||position2===0&&direction<0?void 0:lookupList2[position2+direction]?lookupList2[position2+direction][0]:void 0}let lookupList=getStoriesLookupList(index2),position=lookupList.indexOf(storyId);if(!(position===lookupList.length-1&&direction>0)&&!(position===0&&direction<0))return lookupList[position+direction]},updateStoryArgs:(story,updatedArgs)=>{let{id:storyId,refId}=story;provider.channel.emit(UPDATE_STORY_ARGS,{storyId,updatedArgs,options:{target:refId}})},resetStoryArgs:(story,argNames)=>{let{id:storyId,refId}=story;provider.channel.emit(RESET_STORY_ARGS,{storyId,argNames,options:{target:refId}})},fetchIndex:async()=>{try{let result2=await fetch2(STORY_INDEX_PATH);if(result2.status!==200)throw new Error(await result2.text());let storyIndex=await result2.json();if(storyIndex.v<3){logger.warn(`Skipping story index with version v${storyIndex.v}, awaiting SET_STORIES.`);return}await api.setIndex(storyIndex)}catch(err){await store22.setState({indexError:err})}},setIndex:async input=>{let{index:oldHash,status,filters}=store22.getState(),newHash=transformStoryIndexToStoriesHash(input,{provider,docsOptions,status,filters}),output=addPreparedStories(newHash,oldHash);await store22.setState({internal_index:input,index:output,indexError:void 0})},updateStory:async(storyId,update2,ref)=>{if(ref){let{id:refId,index:index2}=ref;index2[storyId]={...index2[storyId],...update2},await fullAPI.updateRef(refId,{index:index2})}else{let{index:index2}=store22.getState();index2[storyId]={...index2[storyId],...update2},await store22.setState({index:index2})}},updateDocs:async(docsId,update2,ref)=>{if(ref){let{id:refId,index:index2}=ref;index2[docsId]={...index2[docsId],...update2},await fullAPI.updateRef(refId,{index:index2})}else{let{index:index2}=store22.getState();index2[docsId]={...index2[docsId],...update2},await store22.setState({index:index2})}},setPreviewInitialized:async ref=>{ref?fullAPI.updateRef(ref.id,{previewInitialized:!0}):store22.setState({previewInitialized:!0})},experimental_updateStatus:async(id,input)=>{let{status,internal_index:index2}=store22.getState(),newStatus={...status},update2=typeof input=="function"?input(status):input;Object.keys(update2).length!==0&&(Object.entries(update2).forEach(([storyId,value2])=>{newStatus[storyId]={...newStatus[storyId]||{}},value2===null?delete newStatus[storyId][id]:newStatus[storyId][id]=value2,Object.keys(newStatus[storyId]).length===0&&delete newStatus[storyId]}),await store22.setState({status:newStatus},{persistence:"session"}),await api.setIndex(index2))},experimental_setFilter:async(id,filterFunction)=>{let{internal_index:index2}=store22.getState();await store22.setState({filters:{...store22.getState().filters,[id]:filterFunction}}),await api.setIndex(index2)}};provider.channel.on(STORY_SPECIFIED,function({storyId,viewMode}){let{sourceType}=getEventMetadata(this,fullAPI);if(sourceType==="local"){let state=store22.getState(),isCanvasRoute=state.path==="/"||state.viewMode==="story"||state.viewMode==="docs",stateHasSelection=state.viewMode&&state.storyId,stateSelectionDifferent=state.viewMode!==viewMode||state.storyId!==storyId;isCanvasRoute&&(stateHasSelection&&stateSelectionDifferent?provider.channel.emit(SET_CURRENT_STORY,{storyId:state.storyId,viewMode:state.viewMode}):stateSelectionDifferent&&navigate(`/${viewMode}/${storyId}`))}}),provider.channel.on(CURRENT_STORY_WAS_SET,function(){let{ref}=getEventMetadata(this,fullAPI);api.setPreviewInitialized(ref)}),provider.channel.on(STORY_CHANGED,function(){let{sourceType}=getEventMetadata(this,fullAPI);if(sourceType==="local"){let options3=api.getCurrentParameter("options");options3&&fullAPI.setOptions(removeRemovedOptions(options3))}}),provider.channel.on(STORY_PREPARED,function({id,...update2}){let{ref,sourceType}=getEventMetadata(this,fullAPI);if(api.updateStory(id,{...update2,prepared:!0},ref),!ref&&!store22.getState().hasCalledSetOptions){let{options:options3}=update2.parameters;fullAPI.setOptions(removeRemovedOptions(options3)),store22.setState({hasCalledSetOptions:!0})}if(sourceType==="local"){let{storyId,index:index2,refId}=store22.getState(),toBePreloaded=Array.from(new Set([api.findSiblingStoryId(storyId,index2,1,!0),api.findSiblingStoryId(storyId,index2,-1,!0)])).filter(Boolean);provider.channel.emit(PRELOAD_ENTRIES,{ids:toBePreloaded,options:{target:refId}})}}),provider.channel.on(DOCS_PREPARED,function({id,...update2}){let{ref}=getEventMetadata(this,fullAPI);api.updateStory(id,{...update2,prepared:!0},ref)}),provider.channel.on(SET_INDEX,function(index2){let{ref}=getEventMetadata(this,fullAPI);if(ref)fullAPI.setRef(ref.id,{...ref,storyIndex:index2},!0);else{api.setIndex(index2);let options3=api.getCurrentParameter("options");fullAPI.setOptions(removeRemovedOptions(options3))}}),provider.channel.on(SET_STORIES,function(data){let{ref}=getEventMetadata(this,fullAPI),setStoriesData=data.v?denormalizeStoryParameters(data):data.stories;if(ref)fullAPI.setRef(ref.id,{...ref,setStoriesData},!0);else throw new Error("Cannot call SET_STORIES for local frame")}),provider.channel.on(SELECT_STORY,function({kind,title=kind,story,name:name2=story,storyId,...rest}){let{ref}=getEventMetadata(this,fullAPI);ref?fullAPI.selectStory(storyId||title,name2,{...rest,ref:ref.id}):fullAPI.selectStory(storyId||title,name2,rest)}),provider.channel.on(STORY_ARGS_UPDATED,function({storyId,args:args2}){let{ref}=getEventMetadata(this,fullAPI);api.updateStory(storyId,{args:args2},ref)}),provider.channel.on(CONFIG_ERROR,function(err){let{ref}=getEventMetadata(this,fullAPI);api.setPreviewInitialized(ref)}),provider.channel.on(STORY_MISSING,function(err){let{ref}=getEventMetadata(this,fullAPI);api.setPreviewInitialized(ref)}),provider.channel.on(SET_CONFIG,()=>{let config2=provider.getConfig();config2?.sidebar?.filters&&store22.setState({filters:{...store22.getState().filters,...config2?.sidebar?.filters}})});let config=provider.getConfig();return{api,state:{storyId:initialStoryId,viewMode:initialViewMode,hasCalledSetOptions:!1,previewInitialized:!1,status:{},filters:config?.sidebar?.filters||{}},init:async()=>{FEATURES?.storyStoreV7&&(provider.channel.on(STORY_INDEX_INVALIDATED,()=>api.fetchIndex()),await api.fetchIndex())}}},layout_exports={};__export2(layout_exports,{ActiveTabs:()=>ActiveTabs,focusableUIElements:()=>focusableUIElements,init:()=>init8});var{document:document3}=scope,ActiveTabs={SIDEBAR:"sidebar",CANVAS:"canvas",ADDONS:"addons"},defaultState={ui:{enableShortcuts:!0},layout:{initialActive:ActiveTabs.CANVAS,showToolbar:!0,isFullscreen:!1,showPanel:!0,showNav:!0,panelPosition:"bottom",showTabs:!0},selectedPanel:void 0,theme:create()},focusableUIElements={storySearchField:"storybook-explorer-searchfield",storyListMenu:"storybook-explorer-menu",storyPanelRoot:"storybook-panel-root"},init8=({store:store22,provider,singleStory,fullAPI})=>{let api={toggleFullscreen(toggled){return store22.setState(state=>{let{showNav}=state.layout,value2=typeof toggled=="boolean"?toggled:!state.layout.isFullscreen,shouldShowNav=showNav===!1&&value2===!1;return{layout:{...state.layout,isFullscreen:value2,showNav:!singleStory&&shouldShowNav?!0:showNav}}},{persistence:"session"})},togglePanel(toggled){return store22.setState(state=>{let{showNav,isFullscreen}=state.layout,value2=typeof toggled<"u"?toggled:!state.layout.showPanel,shouldToggleFullScreen=showNav===!1&&value2===!1;return{layout:{...state.layout,showPanel:value2,isFullscreen:shouldToggleFullScreen?!0:isFullscreen}}},{persistence:"session"})},togglePanelPosition(position){return typeof position<"u"?store22.setState(state=>({layout:{...state.layout,panelPosition:position}}),{persistence:"permanent"}):store22.setState(state=>({layout:{...state.layout,panelPosition:state.layout.panelPosition==="right"?"bottom":"right"}}),{persistence:"permanent"})},toggleNav(toggled){return store22.setState(state=>{if(singleStory)return{layout:state.layout};let{showPanel,isFullscreen}=state.layout,showNav=typeof toggled<"u"?toggled:!state.layout.showNav,shouldToggleFullScreen=showPanel===!1&&showNav===!1;return{layout:{...state.layout,showNav,isFullscreen:shouldToggleFullScreen?!0:!showNav&&isFullscreen}}},{persistence:"session"})},toggleToolbar(toggled){return store22.setState(state=>{let value2=typeof toggled<"u"?toggled:!state.layout.showToolbar;return{layout:{...state.layout,showToolbar:value2}}},{persistence:"session"})},resetLayout(){return store22.setState(state=>({layout:{...state.layout,showNav:!1,showPanel:!1,isFullscreen:!1}}),{persistence:"session"})},focusOnUIElement(elementId,select){if(!elementId)return;let element=document3.getElementById(elementId);element&&(element.focus(),select&&element.select())},getInitialOptions(){let{theme,selectedPanel,...options3}=provider.getConfig();return{...defaultState,layout:{...defaultState.layout,...(0,import_pick.default)(options3,Object.keys(defaultState.layout)),...singleStory&&{showNav:!1}},ui:{...defaultState.ui,...(0,import_pick.default)(options3,Object.keys(defaultState.ui))},selectedPanel:selectedPanel||defaultState.selectedPanel,theme:theme||defaultState.theme}},setOptions:options3=>{let{layout,ui,selectedPanel,theme}=store22.getState();if(options3){let updatedLayout={...layout,...options3.layout,...(0,import_pick.default)(options3,Object.keys(layout)),...singleStory&&{showNav:!1}},updatedUi={...ui,...options3.ui,...(0,import_pick.default)(options3,Object.keys(ui))},updatedTheme={...theme,...options3.theme},modification={};dequal2(ui,updatedUi)||(modification.ui=updatedUi),dequal2(layout,updatedLayout)||(modification.layout=updatedLayout),options3.selectedPanel&&!dequal2(selectedPanel,options3.selectedPanel)&&(modification.selectedPanel=options3.selectedPanel),Object.keys(modification).length&&store22.setState(modification,{persistence:"permanent"}),dequal2(theme,updatedTheme)||store22.setState({theme:updatedTheme})}}},persisted=(0,import_pick.default)(store22.getState(),"layout","selectedPanel");return{api,state:merge_default(api.getInitialOptions(),persisted),init:()=>{api.setOptions(merge_default(api.getInitialOptions(),persisted)),provider.channel.on(SET_CONFIG,()=>{api.setOptions(merge_default(api.getInitialOptions(),persisted))})}}},shortcuts_exports={};__export2(shortcuts_exports,{controlOrMetaKey:()=>controlOrMetaKey2,defaultShortcuts:()=>defaultShortcuts,init:()=>init9,isMacLike:()=>isMacLike2,keys:()=>keys});var{navigator:navigator2}=scope,isMacLike=()=>navigator2&&navigator2.platform?!!navigator2.platform.match(/(Mac|iPhone|iPod|iPad)/i):!1,controlOrMetaSymbol=()=>isMacLike()?"\u2318":"ctrl",controlOrMetaKey=()=>isMacLike()?"meta":"control",optionOrAltSymbol=()=>isMacLike()?"\u2325":"alt",isShortcutTaken=(arr1,arr2)=>JSON.stringify(arr1)===JSON.stringify(arr2),eventToShortcut=e3=>{if(["Meta","Alt","Control","Shift"].includes(e3.key))return null;let keys2=[];if(e3.altKey&&keys2.push("alt"),e3.ctrlKey&&keys2.push("control"),e3.metaKey&&keys2.push("meta"),e3.shiftKey&&keys2.push("shift"),e3.key&&e3.key.length===1&&e3.key!==" "){let key2=e3.key.toUpperCase(),code=e3.code?.toUpperCase().replace("KEY","").replace("DIGIT","");code&&code.length===1&&code!==key2?keys2.push([key2,code]):keys2.push(key2)}return e3.key===" "&&keys2.push("space"),e3.key==="Escape"&&keys2.push("escape"),e3.key==="ArrowRight"&&keys2.push("ArrowRight"),e3.key==="ArrowDown"&&keys2.push("ArrowDown"),e3.key==="ArrowUp"&&keys2.push("ArrowUp"),e3.key==="ArrowLeft"&&keys2.push("ArrowLeft"),keys2.length>0?keys2:null},shortcutMatchesShortcut=(inputShortcut,shortcut)=>!inputShortcut||!shortcut||(inputShortcut.join("").startsWith("shift/")&&inputShortcut.shift(),inputShortcut.length!==shortcut.length)?!1:!inputShortcut.find((input,i3)=>Array.isArray(input)?!input.includes(shortcut[i3]):input!==shortcut[i3]),eventMatchesShortcut=(e3,shortcut)=>shortcutMatchesShortcut(eventToShortcut(e3),shortcut),keyToSymbol=key2=>key2==="alt"?optionOrAltSymbol():key2==="control"?"\u2303":key2==="meta"?"\u2318":key2==="shift"?"\u21E7\u200B":key2==="Enter"||key2==="Backspace"||key2==="Esc"||key2==="escape"?"":key2===" "?"SPACE":key2==="ArrowUp"?"\u2191":key2==="ArrowDown"?"\u2193":key2==="ArrowLeft"?"\u2190":key2==="ArrowRight"?"\u2192":key2.toUpperCase(),shortcutToHumanString=shortcut=>shortcut.map(keyToSymbol).join(" "),{navigator:navigator22,document:document23}=scope,isMacLike2=()=>navigator22&&navigator22.platform?!!navigator22.platform.match(/(Mac|iPhone|iPod|iPad)/i):!1,controlOrMetaKey2=()=>isMacLike2()?"meta":"control";function keys(o2){return Object.keys(o2)}var defaultShortcuts=Object.freeze({fullScreen:["F"],togglePanel:["A"],panelPosition:["D"],toggleNav:["S"],toolbar:["T"],search:["/"],focusNav:["1"],focusIframe:["2"],focusPanel:["3"],prevComponent:["alt","ArrowUp"],nextComponent:["alt","ArrowDown"],prevStory:["alt","ArrowLeft"],nextStory:["alt","ArrowRight"],shortcutsPage:[controlOrMetaKey2(),"shift",","],aboutPage:[","],escape:["escape"],collapseAll:[controlOrMetaKey2(),"shift","ArrowUp"],expandAll:[controlOrMetaKey2(),"shift","ArrowDown"],remount:["alt","R"]}),addonsShortcuts={};function focusInInput(event){let target=event.target;return/input|textarea/i.test(target.tagName)||target.getAttribute("contenteditable")!==null}var init9=({store:store22,fullAPI,provider})=>{let api={getShortcutKeys(){return store22.getState().shortcuts},getDefaultShortcuts(){return{...defaultShortcuts,...api.getAddonsShortcutDefaults()}},getAddonsShortcuts(){return addonsShortcuts},getAddonsShortcutLabels(){let labels={};return Object.entries(api.getAddonsShortcuts()).forEach(([actionName,{label}])=>{labels[actionName]=label}),labels},getAddonsShortcutDefaults(){let defaults={};return Object.entries(api.getAddonsShortcuts()).forEach(([actionName,{defaultShortcut}])=>{defaults[actionName]=defaultShortcut}),defaults},async setShortcuts(shortcuts){return await store22.setState({shortcuts},{persistence:"permanent"}),shortcuts},async restoreAllDefaultShortcuts(){return api.setShortcuts(api.getDefaultShortcuts())},async setShortcut(action,value2){let shortcuts=api.getShortcutKeys();return await api.setShortcuts({...shortcuts,[action]:value2}),value2},async setAddonShortcut(addon,shortcut){let shortcuts=api.getShortcutKeys();return await api.setShortcuts({...shortcuts,[`${addon}-${shortcut.actionName}`]:shortcut.defaultShortcut}),addonsShortcuts[`${addon}-${shortcut.actionName}`]=shortcut,shortcut},async restoreDefaultShortcut(action){let defaultShortcut=api.getDefaultShortcuts()[action];return api.setShortcut(action,defaultShortcut)},handleKeydownEvent(event){let shortcut=eventToShortcut(event),shortcuts=api.getShortcutKeys(),matchedFeature=keys(shortcuts).find(feature=>shortcutMatchesShortcut(shortcut,shortcuts[feature]));matchedFeature&&api.handleShortcutFeature(matchedFeature,event)},handleShortcutFeature(feature,event){let{layout:{isFullscreen,showNav,showPanel},ui:{enableShortcuts},storyId}=store22.getState();if(enableShortcuts)switch(event?.preventDefault&&event.preventDefault(),feature){case"escape":{isFullscreen?fullAPI.toggleFullscreen():showNav||fullAPI.toggleNav();break}case"focusNav":{isFullscreen&&fullAPI.toggleFullscreen(),showNav||fullAPI.toggleNav(),fullAPI.focusOnUIElement(focusableUIElements.storyListMenu);break}case"search":{isFullscreen&&fullAPI.toggleFullscreen(),showNav||fullAPI.toggleNav(),setTimeout(()=>{fullAPI.focusOnUIElement(focusableUIElements.storySearchField,!0)},0);break}case"focusIframe":{let element=document23.getElementById("storybook-preview-iframe");if(element)try{element.contentWindow.focus()}catch{}break}case"focusPanel":{isFullscreen&&fullAPI.toggleFullscreen(),showPanel||fullAPI.togglePanel(),fullAPI.focusOnUIElement(focusableUIElements.storyPanelRoot);break}case"nextStory":{fullAPI.jumpToStory(1);break}case"prevStory":{fullAPI.jumpToStory(-1);break}case"nextComponent":{fullAPI.jumpToComponent(1);break}case"prevComponent":{fullAPI.jumpToComponent(-1);break}case"fullScreen":{fullAPI.toggleFullscreen();break}case"togglePanel":{isFullscreen&&(fullAPI.toggleFullscreen(),fullAPI.resetLayout()),fullAPI.togglePanel();break}case"toggleNav":{isFullscreen&&(fullAPI.toggleFullscreen(),fullAPI.resetLayout()),fullAPI.toggleNav();break}case"toolbar":{fullAPI.toggleToolbar();break}case"panelPosition":{isFullscreen&&fullAPI.toggleFullscreen(),showPanel||fullAPI.togglePanel(),fullAPI.togglePanelPosition();break}case"aboutPage":{fullAPI.navigate("/settings/about");break}case"shortcutsPage":{fullAPI.navigate("/settings/shortcuts");break}case"collapseAll":{fullAPI.collapseAll();break}case"expandAll":{fullAPI.expandAll();break}case"remount":{fullAPI.emit(FORCE_REMOUNT,{storyId});break}default:addonsShortcuts[feature].action();break}}},{shortcuts:persistedShortcuts=defaultShortcuts}=store22.getState(),state={shortcuts:keys(defaultShortcuts).reduce((acc,key2)=>({...acc,[key2]:persistedShortcuts[key2]||defaultShortcuts[key2]}),defaultShortcuts)};return{api,state,init:()=>{document23.addEventListener("keydown",event=>{focusInInput(event)||api.handleKeydownEvent(event)}),provider.channel.on(PREVIEW_KEYDOWN,data=>{api.handleKeydownEvent(data.event)})}}},url_exports={};__export2(url_exports,{init:()=>init10});var{window:globalWindow}=scope,parseBoolean=value2=>{if(value2==="true"||value2==="1")return!0;if(value2==="false"||value2==="0")return!1},prevParams,initialUrlSupport=({state:{location:location22,path,viewMode,storyId:storyIdFromUrl},singleStory})=>{let{full,panel,nav,shortcuts,addonPanel,tabs,path:queryPath,...otherParams}=queryFromLocation(location22),layout={isFullscreen:parseBoolean(full),showNav:!singleStory&&parseBoolean(nav),showPanel:parseBoolean(panel),panelPosition:["right","bottom"].includes(panel)?panel:void 0,showTabs:parseBoolean(tabs)},ui={enableShortcuts:parseBoolean(shortcuts)},selectedPanel=addonPanel||void 0,storyId=storyIdFromUrl,customQueryParams=dequal2(prevParams,otherParams)?prevParams:otherParams;return prevParams=customQueryParams,{viewMode,layout,ui,selectedPanel,location:location22,path,customQueryParams,storyId}},init10=moduleArgs=>{let{store:store22,navigate,provider,fullAPI}=moduleArgs,navigateTo=(path,queryParams={},options3={})=>{let params=Object.entries(queryParams).filter(([,v2])=>v2).sort(([a2],[b3])=>a2`${k2}=${v2}`),to=[path,...params].join("&");return navigate(to,options3)},api={getQueryParam(key2){let{customQueryParams}=store22.getState();return customQueryParams?customQueryParams[key2]:void 0},getUrlState(){let{path,customQueryParams,storyId,url,viewMode}=store22.getState();return{path,queryParams:customQueryParams,storyId,url,viewMode}},setQueryParams(input){let{customQueryParams}=store22.getState(),queryParams={},update2={...customQueryParams,...Object.entries(input).reduce((acc,[key2,value2])=>(value2!==null&&(acc[key2]=value2),acc),queryParams)};dequal2(customQueryParams,update2)||(store22.setState({customQueryParams:update2}),provider.channel.emit(UPDATE_QUERY_PARAMS,update2))},navigateUrl(url,options3){navigate(url,{plain:!0,...options3})}},updateArgsParam=()=>{let{path,queryParams,viewMode}=api.getUrlState();if(viewMode!=="story")return;let currentStory=fullAPI.getCurrentStoryData();if(currentStory?.type!=="story")return;let{args:args2,initialArgs}=currentStory,argsString=buildArgsParam(initialArgs,args2);navigateTo(path,{...queryParams,args:argsString},{replace:!0}),api.setQueryParams({args:argsString})};provider.channel.on(SET_CURRENT_STORY,()=>updateArgsParam());let handleOrId;return provider.channel.on(STORY_ARGS_UPDATED,()=>{"requestIdleCallback"in globalWindow?(handleOrId&&globalWindow.cancelIdleCallback(handleOrId),handleOrId=globalWindow.requestIdleCallback(updateArgsParam,{timeout:1e3})):(handleOrId&&clearTimeout(handleOrId),setTimeout(updateArgsParam,100))}),provider.channel.on(GLOBALS_UPDATED,({globals,initialGlobals})=>{let{path,queryParams}=api.getUrlState(),globalsString=buildArgsParam(initialGlobals,globals);navigateTo(path,{...queryParams,globals:globalsString},{replace:!0}),api.setQueryParams({globals:globalsString})}),provider.channel.on(NAVIGATE_URL,(url,options3)=>{api.navigateUrl(url,options3)}),{api,state:initialUrlSupport(moduleArgs)}},versions_exports={};__export2(versions_exports,{init:()=>init11});var version="7.4.6",{VERSIONCHECK}=scope,getVersionCheckData=(0,import_memoizerific3.default)(1)(()=>{try{return{...JSON.parse(VERSIONCHECK).data||{}}}catch{return{}}}),init11=({store:store22})=>{let{dismissedVersionNotification}=store22.getState(),state={versions:{current:{version},...getVersionCheckData()},dismissedVersionNotification},api={getCurrentVersion:()=>{let{versions:{current}}=store22.getState();return current},getLatestVersion:()=>{let{versions:{latest,next,current}}=store22.getState();return current&&import_semver.default.prerelease(current.version)&&next?latest&&import_semver.default.gt(latest.version,next.version)?latest:next:latest},versionUpdateAvailable:()=>{let latest=api.getLatestVersion(),current=api.getCurrentVersion();if(latest){if(!latest.version||!current.version)return!0;let actualCurrent=import_semver.default.prerelease(current.version)?`${import_semver.default.major(current.version)}.${import_semver.default.minor(current.version)}.${import_semver.default.patch(current.version)}`:current.version,diff=import_semver.default.diff(actualCurrent,latest.version);return import_semver.default.gt(latest.version,actualCurrent)&&diff!=="patch"&&!diff.includes("pre")}return!1}};return{init:async()=>{let{versions={}}=store22.getState(),{latest,next}=getVersionCheckData();await store22.setState({versions:{...versions,latest,next}})},state,api}},whatsnew_exports={};__export2(whatsnew_exports,{init:()=>init12});var WHATS_NEW_NOTIFICATION_ID="whats-new",init12=({fullAPI,store:store22,provider})=>{let state={whatsNewData:void 0};function setWhatsNewState(newState){store22.setState({whatsNewData:newState}),state.whatsNewData=newState}let api={isWhatsNewUnread(){return state.whatsNewData?.status==="SUCCESS"&&!state.whatsNewData.postIsRead},whatsNewHasBeenRead(){state.whatsNewData?.status==="SUCCESS"&&(setWhatsNewCache({lastReadPost:state.whatsNewData.url}),setWhatsNewState({...state.whatsNewData,postIsRead:!0}),fullAPI.clearNotification(WHATS_NEW_NOTIFICATION_ID))},toggleWhatsNewNotifications(){state.whatsNewData?.status==="SUCCESS"&&(setWhatsNewState({...state.whatsNewData,disableWhatsNewNotifications:!state.whatsNewData.disableWhatsNewNotifications}),provider.channel.emit(TOGGLE_WHATS_NEW_NOTIFICATIONS,{disableWhatsNewNotifications:state.whatsNewData.disableWhatsNewNotifications}))}};function getLatestWhatsNewPost(){return provider.channel.emit(REQUEST_WHATS_NEW_DATA),new Promise(resolve=>provider.channel.once(RESULT_WHATS_NEW_DATA,({data})=>resolve(data)))}function setWhatsNewCache(cache){provider.channel.emit(SET_WHATS_NEW_CACHE,cache)}return{init:async()=>{if(scope.CONFIG_TYPE!=="DEVELOPMENT")return;let whatsNewData=await getLatestWhatsNewPost();setWhatsNewState(whatsNewData);let urlState=fullAPI.getUrlState();!(urlState?.path==="/onboarding"||urlState.queryParams?.onboarding==="true")&&whatsNewData.status==="SUCCESS"&&!whatsNewData.disableWhatsNewNotifications&&whatsNewData.showNotification&&fullAPI.addNotification({id:WHATS_NEW_NOTIFICATION_ID,link:"/settings/whats-new",content:{headline:whatsNewData.excerpt,subHeadline:"Click to learn what's new in Storybook"},icon:{name:"hearthollow"},onClear({dismissed}){dismissed&&setWhatsNewCache({lastDismissedPost:whatsNewData.url})}})},state,api}},globals_exports={};__export2(globals_exports,{init:()=>init13});var init13=({store:store22,fullAPI,provider})=>{let api={getGlobals(){return store22.getState().globals},getGlobalTypes(){return store22.getState().globalTypes},updateGlobals(newGlobals){provider.channel.emit(UPDATE_GLOBALS,{globals:newGlobals,options:{target:"storybook-preview-iframe"}})}},state={globals:{},globalTypes:{}},updateGlobals=globals=>{let currentGlobals=store22.getState()?.globals;dequal2(globals,currentGlobals)||store22.setState({globals})};return provider.channel.on(GLOBALS_UPDATED,function({globals}){let{ref}=getEventMetadata(this,fullAPI);ref?logger.warn("received a GLOBALS_UPDATED from a non-local ref. This is not currently supported."):updateGlobals(globals)}),provider.channel.on(SET_GLOBALS,function({globals,globalTypes}){let{ref}=getEventMetadata(this,fullAPI),currentGlobals=store22.getState()?.globals;ref?Object.keys(globals).length>0&&logger.warn("received globals from a non-local ref. This is not currently supported."):store22.setState({globals,globalTypes}),currentGlobals&&Object.keys(currentGlobals).length!==0&&!dequal2(globals,currentGlobals)&&api.updateGlobals(currentGlobals)}),{api,state}};function mockChannel(){let transport={setHandler:()=>{},send:()=>{}};return new Channel({transport})}var AddonStore=class{constructor(){this.loaders={},this.elements={},this.config={},this.getChannel=()=>(this.channel||this.setChannel(mockChannel()),this.channel),this.getServerChannel=()=>{if(!this.serverChannel)throw new Error("Accessing non-existent serverChannel");return this.serverChannel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.hasServerChannel=()=>!!this.serverChannel,this.setChannel=channel=>{this.channel=channel,this.resolve()},this.setServerChannel=channel=>{this.serverChannel=channel},this.addPanel=(id,options3)=>{this.add(id,{type:Addon_TypesEnum.PANEL,...options3})},this.setConfig=value2=>{Object.assign(this.config,value2),this.hasChannel()?this.getChannel().emit(SET_CONFIG,this.config):this.ready().then(channel=>{channel.emit(SET_CONFIG,this.config)})},this.getConfig=()=>this.config,this.register=(id,callback)=>{this.loaders[id]&&logger.warn(`${id} was loaded twice, this could have bad side-effects`),this.loaders[id]=callback},this.loadAddons=api=>{Object.values(this.loaders).forEach(value2=>value2(api))},this.promise=new Promise(res=>{this.resolve=()=>res(this.getChannel())})}getElements(type){return this.elements[type]||(this.elements[type]={}),this.elements[type]}add(id,addon){let{type}=addon,collection=this.getElements(type);collection[id]={id,...addon}}},KEY2="__STORYBOOK_ADDONS_MANAGER";function getAddonsStore(){return scope[KEY2]||(scope[KEY2]=new AddonStore),scope[KEY2]}var addons=getAddonsStore(),{ActiveTabs:ActiveTabs2}=layout_exports,ManagerContext=createContext2({api:void 0,state:initial_state_default({})}),combineParameters=(...parameterSets)=>(0,import_mergeWith.default)({},...parameterSets,(objValue,srcValue)=>{if(Array.isArray(srcValue))return srcValue}),ManagerProvider=class extends import_react2.Component{constructor(props){super(props),this.api={},this.initModules=()=>{this.modules.forEach(module=>{"init"in module&&module.init()})};let{location:location22,path,refId,viewMode=props.docsOptions.docsMode?"docs":props.viewMode,singleStory,storyId,docsOptions,navigate}=props,store22=new Store({getState:()=>this.state,setState:(stateChange,callback)=>this.setState(stateChange,callback)}),routeData={location:location22,path,viewMode,singleStory,storyId,refId},optionsData={docsOptions};this.state=store22.getInitialState(initial_state_default({...routeData,...optionsData}));let apiData={navigate,store:store22,provider:props.provider};this.modules=[provider_exports,channel_exports,addons_exports,layout_exports,notifications_exports,settings_exports,shortcuts_exports,stories_exports,refs_exports,globals_exports,url_exports,versions_exports,whatsnew_exports].map(m3=>m3.init({...routeData,...optionsData,...apiData,state:this.state,fullAPI:this.api}));let state=initial_state_default(this.state,...this.modules.map(m3=>m3.state)),api=Object.assign(this.api,{navigate},...this.modules.map(m3=>m3.api));this.state=state,this.api=api}static getDerivedStateFromProps(props,state){return state.path!==props.path?{...state,location:props.location,path:props.path,refId:props.refId,viewMode:props.viewMode,storyId:props.storyId}:null}shouldComponentUpdate(nextProps,nextState){let prevState=this.state,prevProps=this.props;return prevState!==nextState||prevProps.path!==nextProps.path}render(){let{children}=this.props,value2={state:this.state,api:this.api};return import_react2.default.createElement(EffectOnMount,{effect:this.initModules},import_react2.default.createElement(ManagerContext.Provider,{value:value2},import_react2.default.createElement(ManagerConsumer,null,children)))}};ManagerProvider.displayName="Manager";var EffectOnMount=({children,effect})=>(import_react2.default.useEffect(effect,[]),children),defaultFilter=c3=>c3;function ManagerConsumer({filter=defaultFilter,children}){let c3=(0,import_react2.useContext)(ManagerContext),renderer=(0,import_react2.useRef)(children),filterer=(0,import_react2.useRef)(filter);if(typeof renderer.current!="function")return import_react2.default.createElement(import_react2.Fragment,null,renderer.current);let data=filterer.current(c3),l2=(0,import_react2.useMemo)(()=>[...Object.entries(data).reduce((acc,keyval)=>acc.concat(keyval),[])],[c3.state]);return(0,import_react2.useMemo)(()=>{let Child=renderer.current;return import_react2.default.createElement(Child,{...data})},l2)}function useStorybookState(){let{state}=(0,import_react2.useContext)(ManagerContext);return{...state,get storiesHash(){return deprecate("state.storiesHash is deprecated, please use state.index"),this.index||{}},get storiesConfigured(){return deprecate("state.storiesConfigured is deprecated, please use state.previewInitialized"),this.previewInitialized},get storiesFailed(){return deprecate("state.storiesFailed is deprecated, please use state.indexError"),this.indexError}}}function useStorybookApi(){let{api}=(0,import_react2.useContext)(ManagerContext);return api}function orDefault(fromStore,defaultState2){return typeof fromStore>"u"?defaultState2:fromStore}var useChannel=(eventMap,deps=[])=>{let api=useStorybookApi();return(0,import_react2.useEffect)(()=>(Object.entries(eventMap).forEach(([type,listener])=>api.on(type,listener)),()=>{Object.entries(eventMap).forEach(([type,listener])=>api.off(type,listener))}),deps),api.emit};function useStoryPrepared(storyId){return useStorybookApi().isPrepared(storyId)}function useParameter(parameterKey,defaultValue){let result2=useStorybookApi().getCurrentParameter(parameterKey);return orDefault(result2,defaultValue)}globalThis.STORYBOOK_ADDON_STATE={};var{STORYBOOK_ADDON_STATE}=globalThis;function useSharedState(stateId,defaultState2){let api=useStorybookApi(),existingState=api.getAddonState(stateId)||STORYBOOK_ADDON_STATE[stateId],state=orDefault(existingState,STORYBOOK_ADDON_STATE[stateId]?STORYBOOK_ADDON_STATE[stateId]:defaultState2),quicksync=!1;state===defaultState2&&defaultState2!==void 0&&(STORYBOOK_ADDON_STATE[stateId]=defaultState2,quicksync=!0),(0,import_react2.useEffect)(()=>{quicksync&&api.setAddonState(stateId,defaultState2)},[quicksync]);let setState=async(s2,options3)=>{let result2=await api.setAddonState(stateId,s2,options3);return STORYBOOK_ADDON_STATE[stateId]=result2,result2},allListeners=(0,import_react2.useMemo)(()=>{let stateChangeHandlers={[`${SHARED_STATE_CHANGED}-client-${stateId}`]:setState,[`${SHARED_STATE_SET}-client-${stateId}`]:setState},stateInitializationHandlers={[SET_STORIES]:async()=>{let currentState=api.getAddonState(stateId);currentState?(STORYBOOK_ADDON_STATE[stateId]=currentState,api.emit(`${SHARED_STATE_SET}-manager-${stateId}`,currentState)):STORYBOOK_ADDON_STATE[stateId]?(await setState(STORYBOOK_ADDON_STATE[stateId]),api.emit(`${SHARED_STATE_SET}-manager-${stateId}`,STORYBOOK_ADDON_STATE[stateId])):defaultState2!==void 0&&(await setState(defaultState2),STORYBOOK_ADDON_STATE[stateId]=defaultState2,api.emit(`${SHARED_STATE_SET}-manager-${stateId}`,defaultState2))},[STORY_CHANGED]:()=>{let currentState=api.getAddonState(stateId);currentState!==void 0&&api.emit(`${SHARED_STATE_SET}-manager-${stateId}`,currentState)}};return{...stateChangeHandlers,...stateInitializationHandlers}},[stateId]),emit=useChannel(allListeners);return[state,async(newStateOrMerger,options3)=>{let result2=await setState(newStateOrMerger,options3);emit(`${SHARED_STATE_CHANGED}-manager-${stateId}`,result2)}]}function useAddonState(addonId,defaultState2){return useSharedState(addonId,defaultState2)}function useArgs(){let{getCurrentStoryData,updateStoryArgs,resetStoryArgs}=useStorybookApi(),data=getCurrentStoryData(),args2=data?.type==="story"?data.args:{},updateArgs=(0,import_react2.useCallback)(newArgs=>updateStoryArgs(data,newArgs),[data,updateStoryArgs]),resetArgs=(0,import_react2.useCallback)(argNames=>resetStoryArgs(data,argNames),[data,resetStoryArgs]);return[args2,updateArgs,resetArgs]}function useGlobals(){let api=useStorybookApi();return[api.getGlobals(),api.updateGlobals]}function useGlobalTypes(){return useStorybookApi().getGlobalTypes()}function useCurrentStory(){let{getCurrentStoryData}=useStorybookApi();return getCurrentStoryData()}function useArgTypes(){let current=useCurrentStory();return current?.type==="story"&¤t.argTypes||{}}var StorybookError=class extends Error{constructor(){super(...arguments),this.data={},this.documentation=!1,this.fromStorybook=!0}get name(){let paddedCode=String(this.code).padStart(4,"0");return`SB_${this.category}_${paddedCode}`}get message(){let page;return this.documentation===!0?page=`https://storybook.js.org/error/${this.name}`:typeof this.documentation=="string"?page=this.documentation:Array.isArray(this.documentation)&&(page=` +${this.documentation.map(doc=>` - ${doc}`).join(` +`)}`),this.template()+(page!=null?` + +More info: ${page} +`:"")}};var Category=(Category2=>(Category2.MANAGER_UNCAUGHT="MANAGER_UNCAUGHT",Category2.MANAGER_UI="MANAGER_UI",Category2.MANAGER_API="MANAGER_API",Category2.MANAGER_CLIENT_LOGGER="MANAGER_CLIENT-LOGGER",Category2.MANAGER_CHANNELS="MANAGER_CHANNELS",Category2.MANAGER_CORE_EVENTS="MANAGER_CORE-EVENTS",Category2.MANAGER_ROUTER="MANAGER_ROUTER",Category2.MANAGER_THEMING="MANAGER_THEMING",Category2))(Category||{}),ProviderDoesNotExtendBaseProviderError=class extends StorybookError{constructor(){super(...arguments),this.category="MANAGER_UI",this.code=1}template(){return"The Provider passed into Storybook's UI is not extended from the base Provider. Please check your Provider implementation."}},UncaughtManagerError=class extends StorybookError{constructor(error){super(error.message),this.error=error,this.category="MANAGER_UNCAUGHT",this.code=1,this.stack=error.stack}template(){return this.message}};var import_react3=__toESM(require_react()),import_prop_types=__toESM(require_prop_types()),import_react_fast_compare=__toESM(require_react_fast_compare()),import_invariant=__toESM(require_browser()),import_shallowequal=__toESM(require_shallowequal());function a(){return a=Object.assign||function(t3){for(var e3=1;e3=0||(i3[r4]=t3[r4]);return i3}var l={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},p={rel:["amphtml","canonical","alternate"]},f2={type:["application/ld+json"]},d={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},h2=Object.keys(l).map(function(t3){return l[t3]}),m2={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},y=Object.keys(m2).reduce(function(t3,e3){return t3[m2[e3]]=e3,t3},{}),T=function(t3,e3){for(var r4=t3.length-1;r4>=0;r4-=1){var n3=t3[r4];if(Object.prototype.hasOwnProperty.call(n3,e3))return n3[e3]}return null},g=function(t3){var e3=T(t3,l.TITLE),r4=T(t3,"titleTemplate");if(Array.isArray(e3)&&(e3=e3.join("")),r4&&e3)return r4.replace(/%s/g,function(){return e3});var n3=T(t3,"defaultTitle");return e3||n3||void 0},b2=function(t3){return T(t3,"onChangeClientState")||function(){}},v=function(t3,e3){return e3.filter(function(e4){return e4[t3]!==void 0}).map(function(e4){return e4[t3]}).reduce(function(t4,e4){return a({},t4,e4)},{})},A=function(t3,e3){return e3.filter(function(t4){return t4[l.BASE]!==void 0}).map(function(t4){return t4[l.BASE]}).reverse().reduce(function(e4,r4){if(!e4.length)for(var n3=Object.keys(r4),i3=0;i3/g,">").replace(/"/g,""").replace(/'/g,"'")},x2=function(t3){return Object.keys(t3).reduce(function(e3,r4){var n3=t3[r4]!==void 0?r4+'="'+t3[r4]+'"':""+r4;return e3?e3+" "+n3:n3},"")},L2=function(t3,e3){return e3===void 0&&(e3={}),Object.keys(t3).reduce(function(e4,r4){return e4[m2[r4]||r4]=t3[r4],e4},e3)},j=function(e3,r4){return r4.map(function(r5,n3){var i3,o2=((i3={key:n3})["data-rh"]=!0,i3);return Object.keys(r5).forEach(function(t3){var e4=m2[t3]||t3;e4==="innerHTML"||e4==="cssText"?o2.dangerouslySetInnerHTML={__html:r5.innerHTML||r5.cssText}:o2[e4]=r5[t3]}),import_react3.default.createElement(e3,o2)})},M=function(e3,r4,n3){switch(e3){case l.TITLE:return{toComponent:function(){return n4=r4.titleAttributes,(i3={key:e4=r4.title})["data-rh"]=!0,o2=L2(n4,i3),[import_react3.default.createElement(l.TITLE,o2,e4)];var e4,n4,i3,o2},toString:function(){return function(t3,e4,r5,n4){var i3=x2(r5),o2=S(e4);return i3?"<"+t3+' data-rh="true" '+i3+">"+w2(o2,n4)+"":"<"+t3+' data-rh="true">'+w2(o2,n4)+""}(e3,r4.title,r4.titleAttributes,n3)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return L2(r4)},toString:function(){return x2(r4)}};default:return{toComponent:function(){return j(e3,r4)},toString:function(){return function(t3,e4,r5){return e4.reduce(function(e5,n4){var i3=Object.keys(n4).filter(function(t4){return!(t4==="innerHTML"||t4==="cssText")}).reduce(function(t4,e6){var i4=n4[e6]===void 0?e6:e6+'="'+w2(n4[e6],r5)+'"';return t4?t4+" "+i4:i4},""),o2=n4.innerHTML||n4.cssText||"",a2=P2.indexOf(t3)===-1;return e5+"<"+t3+' data-rh="true" '+i3+(a2?"/>":">"+o2+"")},"")}(e3,r4,n3)}}}},k=function(t3){var e3=t3.baseTag,r4=t3.bodyAttributes,n3=t3.encode,i3=t3.htmlAttributes,o2=t3.noscriptTags,a2=t3.styleTags,s2=t3.title,c3=s2===void 0?"":s2,u2=t3.titleAttributes,h3=t3.linkTags,m3=t3.metaTags,y2=t3.scriptTags,T2={toComponent:function(){},toString:function(){return""}};if(t3.prioritizeSeoTags){var g2=function(t4){var e4=t4.linkTags,r5=t4.scriptTags,n4=t4.encode,i4=E2(t4.metaTags,d),o3=E2(e4,p),a3=E2(r5,f2);return{priorityMethods:{toComponent:function(){return[].concat(j(l.META,i4.priority),j(l.LINK,o3.priority),j(l.SCRIPT,a3.priority))},toString:function(){return M(l.META,i4.priority,n4)+" "+M(l.LINK,o3.priority,n4)+" "+M(l.SCRIPT,a3.priority,n4)}},metaTags:i4.default,linkTags:o3.default,scriptTags:a3.default}}(t3);T2=g2.priorityMethods,h3=g2.linkTags,m3=g2.metaTags,y2=g2.scriptTags}return{priority:T2,base:M(l.BASE,e3,n3),bodyAttributes:M("bodyAttributes",r4,n3),htmlAttributes:M("htmlAttributes",i3,n3),link:M(l.LINK,h3,n3),meta:M(l.META,m3,n3),noscript:M(l.NOSCRIPT,o2,n3),script:M(l.SCRIPT,y2,n3),style:M(l.STYLE,a2,n3),title:M(l.TITLE,{title:c3,titleAttributes:u2},n3)}},H=[],N2=function(t3,e3){var r4=this;e3===void 0&&(e3=typeof document<"u"),this.instances=[],this.value={setHelmet:function(t4){r4.context.helmet=t4},helmetInstances:{get:function(){return r4.canUseDOM?H:r4.instances},add:function(t4){(r4.canUseDOM?H:r4.instances).push(t4)},remove:function(t4){var e4=(r4.canUseDOM?H:r4.instances).indexOf(t4);(r4.canUseDOM?H:r4.instances).splice(e4,1)}}},this.context=t3,this.canUseDOM=e3,e3||(t3.helmet=k({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},R2=import_react3.default.createContext({}),D=import_prop_types.default.shape({setHelmet:import_prop_types.default.func,helmetInstances:import_prop_types.default.shape({get:import_prop_types.default.func,add:import_prop_types.default.func,remove:import_prop_types.default.func})}),U=typeof document<"u",q=function(e3){function r4(t3){var n3;return(n3=e3.call(this,t3)||this).helmetData=new N2(n3.props.context,r4.canUseDOM),n3}return s(r4,e3),r4.prototype.render=function(){return import_react3.default.createElement(R2.Provider,{value:this.helmetData.value},this.props.children)},r4}(import_react3.Component);q.canUseDOM=U,q.propTypes={context:import_prop_types.default.shape({helmet:import_prop_types.default.shape()}),children:import_prop_types.default.node.isRequired},q.defaultProps={context:{}},q.displayName="HelmetProvider";var Y=function(t3,e3){var r4,n3=document.head||document.querySelector(l.HEAD),i3=n3.querySelectorAll(t3+"[data-rh]"),o2=[].slice.call(i3),a2=[];return e3&&e3.length&&e3.forEach(function(e4){var n4=document.createElement(t3);for(var i4 in e4)Object.prototype.hasOwnProperty.call(e4,i4)&&(i4==="innerHTML"?n4.innerHTML=e4.innerHTML:i4==="cssText"?n4.styleSheet?n4.styleSheet.cssText=e4.cssText:n4.appendChild(document.createTextNode(e4.cssText)):n4.setAttribute(i4,e4[i4]===void 0?"":e4[i4]));n4.setAttribute("data-rh","true"),o2.some(function(t4,e5){return r4=e5,n4.isEqualNode(t4)})?o2.splice(r4,1):a2.push(n4)}),o2.forEach(function(t4){return t4.parentNode.removeChild(t4)}),a2.forEach(function(t4){return n3.appendChild(t4)}),{oldTags:o2,newTags:a2}},B2=function(t3,e3){var r4=document.getElementsByTagName(t3)[0];if(r4){for(var n3=r4.getAttribute("data-rh"),i3=n3?n3.split(","):[],o2=[].concat(i3),a2=Object.keys(e3),s2=0;s2=0;p2-=1)r4.removeAttribute(o2[p2]);i3.length===o2.length?r4.removeAttribute("data-rh"):r4.getAttribute("data-rh")!==a2.join(",")&&r4.setAttribute("data-rh",a2.join(","))}},K=function(t3,e3){var r4=t3.baseTag,n3=t3.htmlAttributes,i3=t3.linkTags,o2=t3.metaTags,a2=t3.noscriptTags,s2=t3.onChangeClientState,c3=t3.scriptTags,u2=t3.styleTags,p2=t3.title,f3=t3.titleAttributes;B2(l.BODY,t3.bodyAttributes),B2(l.HTML,n3),function(t4,e4){t4!==void 0&&document.title!==t4&&(document.title=S(t4)),B2(l.TITLE,e4)}(p2,f3);var d2={baseTag:Y(l.BASE,r4),linkTags:Y(l.LINK,i3),metaTags:Y(l.META,o2),noscriptTags:Y(l.NOSCRIPT,a2),scriptTags:Y(l.SCRIPT,c3),styleTags:Y(l.STYLE,u2)},h3={},m3={};Object.keys(d2).forEach(function(t4){var e4=d2[t4],r5=e4.newTags,n4=e4.oldTags;r5.length&&(h3[t4]=r5),n4.length&&(m3[t4]=d2[t4].oldTags)}),e3&&e3(),s2(t3,h3,m3)},_=null,z=function(t3){function e3(){for(var e4,r5=arguments.length,n3=new Array(r5),i3=0;i3 elements are self-closing and can not contain children. Refer to our API for more information.")}},o2.flattenArrayTypeChildren=function(t3){var e4,r5=t3.child,n3=t3.arrayTypeChildren;return a({},n3,((e4={})[r5.type]=[].concat(n3[r5.type]||[],[a({},t3.newChildProps,this.mapNestedChildrenToProps(r5,t3.nestedChildren))]),e4))},o2.mapObjectTypeChildren=function(t3){var e4,r5,n3=t3.child,i3=t3.newProps,o3=t3.newChildProps,s2=t3.nestedChildren;switch(n3.type){case l.TITLE:return a({},i3,((e4={})[n3.type]=s2,e4.titleAttributes=a({},o3),e4));case l.BODY:return a({},i3,{bodyAttributes:a({},o3)});case l.HTML:return a({},i3,{htmlAttributes:a({},o3)});default:return a({},i3,((r5={})[n3.type]=a({},o3),r5))}},o2.mapArrayTypeChildrenToProps=function(t3,e4){var r5=a({},e4);return Object.keys(t3).forEach(function(e5){var n3;r5=a({},r5,((n3={})[e5]=t3[e5],n3))}),r5},o2.warnOnInvalidChildren=function(t3,e4){return(0,import_invariant.default)(h2.some(function(e5){return t3.type===e5}),typeof t3.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+h2.join(", ")+" are allowed. Helmet does not support rendering <"+t3.type+"> elements. Refer to our API for more information."),(0,import_invariant.default)(!e4||typeof e4=="string"||Array.isArray(e4)&&!e4.some(function(t4){return typeof t4!="string"}),"Helmet expects a string as a child of <"+t3.type+">. Did you forget to wrap your children in braces? ( <"+t3.type+">{``} ) Refer to our API for more information."),!0},o2.mapChildrenToProps=function(e4,r5){var n3=this,i3={};return import_react3.default.Children.forEach(e4,function(t3){if(t3&&t3.props){var e5=t3.props,o3=e5.children,a2=u(e5,F),s2=Object.keys(a2).reduce(function(t4,e6){return t4[y[e6]||e6]=a2[e6],t4},{}),c3=t3.type;switch(typeof c3=="symbol"?c3=c3.toString():n3.warnOnInvalidChildren(t3,o3),c3){case l.FRAGMENT:r5=n3.mapChildrenToProps(o3,r5);break;case l.LINK:case l.META:case l.NOSCRIPT:case l.SCRIPT:case l.STYLE:i3=n3.flattenArrayTypeChildren({child:t3,arrayTypeChildren:i3,newChildProps:s2,nestedChildren:o3});break;default:r5=n3.mapObjectTypeChildren({child:t3,newProps:r5,newChildProps:s2,nestedChildren:o3})}}}),this.mapArrayTypeChildrenToProps(i3,r5)},o2.render=function(){var e4=this.props,r5=e4.children,n3=u(e4,G),i3=a({},n3),o3=n3.helmetData;return r5&&(i3=this.mapChildrenToProps(r5,i3)),!o3||o3 instanceof N2||(o3=new N2(o3.context,o3.instances)),o3?import_react3.default.createElement(z,a({},i3,{context:o3.value,helmetData:void 0})):import_react3.default.createElement(R2.Consumer,null,function(e5){return import_react3.default.createElement(z,a({},i3,{context:e5}))})},r4}(import_react3.Component);W.propTypes={base:import_prop_types.default.object,bodyAttributes:import_prop_types.default.object,children:import_prop_types.default.oneOfType([import_prop_types.default.arrayOf(import_prop_types.default.node),import_prop_types.default.node]),defaultTitle:import_prop_types.default.string,defer:import_prop_types.default.bool,encodeSpecialCharacters:import_prop_types.default.bool,htmlAttributes:import_prop_types.default.object,link:import_prop_types.default.arrayOf(import_prop_types.default.object),meta:import_prop_types.default.arrayOf(import_prop_types.default.object),noscript:import_prop_types.default.arrayOf(import_prop_types.default.object),onChangeClientState:import_prop_types.default.func,script:import_prop_types.default.arrayOf(import_prop_types.default.object),style:import_prop_types.default.arrayOf(import_prop_types.default.object),title:import_prop_types.default.string,titleAttributes:import_prop_types.default.object,titleTemplate:import_prop_types.default.string,prioritizeSeoTags:import_prop_types.default.bool,helmetData:import_prop_types.default.object},W.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},W.displayName="Helmet";var import_react49=__toESM(require_react());var React3=__toESM(require_react()),import_react4=__toESM(require_react()),import_react_dom=__toESM(require_react_dom()),extendStatics=function(d2,b3){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d3,b4){d3.__proto__=b4}||function(d3,b4){for(var p2 in b4)Object.prototype.hasOwnProperty.call(b4,p2)&&(d3[p2]=b4[p2])},extendStatics(d2,b3)};function __extends(d2,b3){if(typeof b3!="function"&&b3!==null)throw new TypeError("Class extends value "+String(b3)+" is not a constructor or null");extendStatics(d2,b3);function __(){this.constructor=d2}d2.prototype=b3===null?Object.create(b3):(__.prototype=b3.prototype,new __)}var __assign=function(){return __assign=Object.assign||function(t3){for(var s2,i3=1,n3=arguments.length;i3=wait||timeSinceLastCall<0||maxing&&timeSinceLastInvoke>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,remainingWait(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result2)}function cancel(){timerId!==void 0&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0}function flush(){return timerId===void 0?result2:trailingEdge(now())}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(timerId===void 0)return leadingEdge(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return timerId===void 0&&(timerId=setTimeout(timerExpired,wait)),result2}return debounced.cancel=cancel,debounced.flush=flush,debounced}var debounce_1=debounce$1,debounce=debounce_1,isObject4=isObject_1,FUNC_ERROR_TEXT2="Expected a function";function throttle(func,wait,options3){var leading=!0,trailing=!0;if(typeof func!="function")throw new TypeError(FUNC_ERROR_TEXT2);return isObject4(options3)&&(leading="leading"in options3?!!options3.leading:leading,trailing="trailing"in options3?!!options3.trailing:trailing),debounce(func,wait,{leading,maxWait:wait,trailing})}var throttle_1=throttle,patchResizeHandler=function(resizeCallback,refreshMode,refreshRate,refreshOptions){switch(refreshMode){case"debounce":return debounce_1(resizeCallback,refreshRate,refreshOptions);case"throttle":return throttle_1(resizeCallback,refreshRate,refreshOptions);default:return resizeCallback}},isFunction2=function(fn){return typeof fn=="function"},isSSR=function(){return typeof window>"u"},isDOMElement=function(element){return element instanceof Element||element instanceof HTMLDocument},createNotifier=function(onResize,setSize,handleWidth,handleHeight){return function(_a){var width=_a.width,height=_a.height;setSize(function(prev){return prev.width===width&&prev.height===height||prev.width===width&&!handleHeight||prev.height===height&&!handleWidth?prev:(onResize&&isFunction2(onResize)&&onResize(width,height),{width,height})})}},ResizeDetector=function(_super){__extends(ResizeDetector2,_super);function ResizeDetector2(props){var _this=_super.call(this,props)||this;_this.cancelHandler=function(){_this.resizeHandler&&_this.resizeHandler.cancel&&(_this.resizeHandler.cancel(),_this.resizeHandler=null)},_this.attachObserver=function(){var _a2=_this.props,targetRef=_a2.targetRef,observerOptions=_a2.observerOptions;if(!isSSR()){targetRef&&targetRef.current&&(_this.targetRef.current=targetRef.current);var element=_this.getElement();element&&(_this.observableElement&&_this.observableElement===element||(_this.observableElement=element,_this.resizeObserver.observe(element,observerOptions)))}},_this.getElement=function(){var _a2=_this.props,querySelector=_a2.querySelector,targetDomEl=_a2.targetDomEl;if(isSSR())return null;if(querySelector)return document.querySelector(querySelector);if(targetDomEl&&isDOMElement(targetDomEl))return targetDomEl;if(_this.targetRef&&isDOMElement(_this.targetRef.current))return _this.targetRef.current;var currentElement=(0,import_react_dom.findDOMNode)(_this);if(!currentElement)return null;var renderType=_this.getRenderType();switch(renderType){case"renderProp":return currentElement;case"childFunction":return currentElement;case"child":return currentElement;case"childArray":return currentElement;default:return currentElement.parentElement}},_this.createResizeHandler=function(entries){var _a2=_this.props,_b=_a2.handleWidth,handleWidth=_b===void 0?!0:_b,_c=_a2.handleHeight,handleHeight=_c===void 0?!0:_c,onResize=_a2.onResize;if(!(!handleWidth&&!handleHeight)){var notifyResize=createNotifier(onResize,_this.setState.bind(_this),handleWidth,handleHeight);entries.forEach(function(entry){var _a3=entry&&entry.contentRect||{},width=_a3.width,height=_a3.height,shouldSetSize=!_this.skipOnMount&&!isSSR();shouldSetSize&¬ifyResize({width,height}),_this.skipOnMount=!1})}},_this.getRenderType=function(){var _a2=_this.props,render=_a2.render,children=_a2.children;return isFunction2(render)?"renderProp":isFunction2(children)?"childFunction":(0,import_react4.isValidElement)(children)?"child":Array.isArray(children)?"childArray":"parent"};var skipOnMount=props.skipOnMount,refreshMode=props.refreshMode,_a=props.refreshRate,refreshRate=_a===void 0?1e3:_a,refreshOptions=props.refreshOptions;return _this.state={width:void 0,height:void 0},_this.skipOnMount=skipOnMount,_this.targetRef=(0,import_react4.createRef)(),_this.observableElement=null,isSSR()||(_this.resizeHandler=patchResizeHandler(_this.createResizeHandler,refreshMode,refreshRate,refreshOptions),_this.resizeObserver=new window.ResizeObserver(_this.resizeHandler)),_this}return ResizeDetector2.prototype.componentDidMount=function(){this.attachObserver()},ResizeDetector2.prototype.componentDidUpdate=function(){this.attachObserver()},ResizeDetector2.prototype.componentWillUnmount=function(){isSSR()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},ResizeDetector2.prototype.render=function(){var _a=this.props,render=_a.render,children=_a.children,_b=_a.nodeType,WrapperTag=_b===void 0?"div":_b,_c=this.state,width=_c.width,height=_c.height,childProps={width,height,targetRef:this.targetRef},renderType=this.getRenderType(),typedChildren;switch(renderType){case"renderProp":return render&&render(childProps);case"childFunction":return typedChildren=children,typedChildren(childProps);case"child":if(typedChildren=children,typedChildren.type&&typeof typedChildren.type=="string"){childProps.targetRef;var nativeProps=__rest(childProps,["targetRef"]);return(0,import_react4.cloneElement)(typedChildren,nativeProps)}return(0,import_react4.cloneElement)(typedChildren,childProps);case"childArray":return typedChildren=children,typedChildren.map(function(el){return!!el&&(0,import_react4.cloneElement)(el,childProps)});default:return React3.createElement(WrapperTag,null)}},ResizeDetector2}(import_react4.PureComponent);var useEnhancedEffect=isSSR()?import_react4.useEffect:import_react4.useLayoutEffect;function useResizeDetector(props){props===void 0&&(props={});var _a=props.skipOnMount,skipOnMount=_a===void 0?!1:_a,refreshMode=props.refreshMode,_b=props.refreshRate,refreshRate=_b===void 0?1e3:_b,refreshOptions=props.refreshOptions,_c=props.handleWidth,handleWidth=_c===void 0?!0:_c,_d=props.handleHeight,handleHeight=_d===void 0?!0:_d,targetRef=props.targetRef,observerOptions=props.observerOptions,onResize=props.onResize,skipResize=(0,import_react4.useRef)(skipOnMount),localRef=(0,import_react4.useRef)(null),ref=targetRef??localRef,resizeHandler=(0,import_react4.useRef)(),_e=(0,import_react4.useState)({width:void 0,height:void 0}),size=_e[0],setSize=_e[1];return useEnhancedEffect(function(){if(!isSSR()){var notifyResize=createNotifier(onResize,setSize,handleWidth,handleHeight),resizeCallback=function(entries){!handleWidth&&!handleHeight||entries.forEach(function(entry){var _a2=entry&&entry.contentRect||{},width=_a2.width,height=_a2.height,shouldSetSize=!skipResize.current&&!isSSR();shouldSetSize&¬ifyResize({width,height}),skipResize.current=!1})};resizeHandler.current=patchResizeHandler(resizeCallback,refreshMode,refreshRate,refreshOptions);var resizeObserver=new window.ResizeObserver(resizeHandler.current);return ref.current&&resizeObserver.observe(ref.current,observerOptions),function(){resizeObserver.disconnect();var patchedResizeHandler=resizeHandler.current;patchedResizeHandler&&patchedResizeHandler.cancel&&patchedResizeHandler.cancel()}}},[refreshMode,refreshRate,refreshOptions,handleWidth,handleHeight,onResize,observerOptions,ref.current]),__assign({ref},size)}var dist_exports5={};__export(dist_exports5,{A:()=>A2,ActionBar:()=>ActionBar,AddonPanel:()=>AddonPanel,Badge:()=>Badge,Bar:()=>Bar,Blockquote:()=>Blockquote,Button:()=>Button,ClipboardCode:()=>ClipboardCode,Code:()=>Code,DL:()=>DL,Div:()=>Div,DocumentWrapper:()=>DocumentWrapper,ErrorFormatter:()=>ErrorFormatter,FlexBar:()=>FlexBar,Form:()=>Form,H1:()=>H1,H2:()=>H2,H3:()=>H3,H4:()=>H4,H5:()=>H5,H6:()=>H6,HR:()=>HR,IconButton:()=>IconButton,IconButtonSkeleton:()=>IconButtonSkeleton,Icons:()=>Icons,Img:()=>Img,LI:()=>LI,Link:()=>Link22,ListItem:()=>ListItem_default,Loader:()=>Loader,OL:()=>OL,P:()=>P3,Placeholder:()=>Placeholder,Pre:()=>Pre,ResetWrapper:()=>ResetWrapper,ScrollArea:()=>ScrollArea,Separator:()=>Separator,Spaced:()=>Spaced,Span:()=>Span,StorybookIcon:()=>StorybookIcon,StorybookLogo:()=>StorybookLogo,Symbols:()=>Symbols,SyntaxHighlighter:()=>SyntaxHighlighter22,TT:()=>TT,TabBar:()=>TabBar,TabButton:()=>TabButton,TabWrapper:()=>TabWrapper,Table:()=>Table,Tabs:()=>Tabs,TabsState:()=>TabsState,TooltipLinkList:()=>TooltipLinkList,TooltipMessage:()=>TooltipMessage,TooltipNote:()=>TooltipNote,UL:()=>UL,WithTooltip:()=>WithTooltip,WithTooltipPure:()=>WithTooltipPure,Zoom:()=>Zoom,codeCommon:()=>codeCommon,components:()=>components2,createCopyToClipboardFunction:()=>createCopyToClipboardFunction,getStoryHref:()=>getStoryHref,icons:()=>icons,interleaveSeparators:()=>interleaveSeparators,nameSpaceClassNames:()=>nameSpaceClassNames,resetComponents:()=>resetComponents,withReset:()=>withReset});var React5=__toESM(require_react(),1),import_react6=__toESM(require_react(),1);var import_react5=__toESM(require_react());function useResolvedElement(subscriber,refOrElement){var lastReportRef=(0,import_react5.useRef)(null),refOrElementRef=(0,import_react5.useRef)(null);refOrElementRef.current=refOrElement;var cbElementRef=(0,import_react5.useRef)(null);(0,import_react5.useEffect)(function(){evaluateSubscription()});var evaluateSubscription=(0,import_react5.useCallback)(function(){var cbElement=cbElementRef.current,refOrElement2=refOrElementRef.current,element=cbElement||(refOrElement2?refOrElement2 instanceof Element?refOrElement2:refOrElement2.current:null);lastReportRef.current&&lastReportRef.current.element===element&&lastReportRef.current.subscriber===subscriber||(lastReportRef.current&&lastReportRef.current.cleanup&&lastReportRef.current.cleanup(),lastReportRef.current={element,subscriber,cleanup:element?subscriber(element):void 0})},[subscriber]);return(0,import_react5.useEffect)(function(){return function(){lastReportRef.current&&lastReportRef.current.cleanup&&(lastReportRef.current.cleanup(),lastReportRef.current=null)}},[]),(0,import_react5.useCallback)(function(element){cbElementRef.current=element,evaluateSubscription()},[evaluateSubscription])}function extractSize(entry,boxProp,sizeType){return entry[boxProp]?entry[boxProp][0]?entry[boxProp][0][sizeType]:entry[boxProp][sizeType]:boxProp==="contentBoxSize"?entry.contentRect[sizeType==="inlineSize"?"width":"height"]:void 0}function useResizeObserver(opts){opts===void 0&&(opts={});var onResize=opts.onResize,onResizeRef=(0,import_react5.useRef)(void 0);onResizeRef.current=onResize;var round=opts.round||Math.round,resizeObserverRef=(0,import_react5.useRef)(),_useState=(0,import_react5.useState)({width:void 0,height:void 0}),size=_useState[0],setSize=_useState[1],didUnmount=(0,import_react5.useRef)(!1);(0,import_react5.useEffect)(function(){return didUnmount.current=!1,function(){didUnmount.current=!0}},[]);var previous=(0,import_react5.useRef)({width:void 0,height:void 0}),refCallback=useResolvedElement((0,import_react5.useCallback)(function(element){return(!resizeObserverRef.current||resizeObserverRef.current.box!==opts.box||resizeObserverRef.current.round!==round)&&(resizeObserverRef.current={box:opts.box,round,instance:new ResizeObserver(function(entries){var entry=entries[0],boxProp=opts.box==="border-box"?"borderBoxSize":opts.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",reportedWidth=extractSize(entry,boxProp,"inlineSize"),reportedHeight=extractSize(entry,boxProp,"blockSize"),newWidth=reportedWidth?round(reportedWidth):void 0,newHeight=reportedHeight?round(reportedHeight):void 0;if(previous.current.width!==newWidth||previous.current.height!==newHeight){var newSize={width:newWidth,height:newHeight};previous.current.width=newWidth,previous.current.height=newHeight,onResizeRef.current?onResizeRef.current(newSize):didUnmount.current||setSize(newSize)}})}),resizeObserverRef.current.instance.observe(element,{box:opts.box}),function(){resizeObserverRef.current&&resizeObserverRef.current.instance.unobserve(element)}},[opts.box,round]),opts.ref);return(0,import_react5.useMemo)(function(){return{ref:refCallback,width:size.width,height:size.height}},[refCallback,size.width,size.height])}var import_memoizerific4=__toESM(require_memoizerific(),1);var nameSpaceClassNames=({...props},key2)=>{let classes=[props.class,props.className];return delete props.class,props.className=["sbdocs",`sbdocs-${key2}`,...classes].filter(Boolean).join(" "),props};function _assertThisInitialized(self2){if(self2===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self2}function _setPrototypeOf(o2,p2){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o22,p22){return o22.__proto__=p22,o22},_setPrototypeOf(o2,p2)}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,_setPrototypeOf(subClass,superClass)}function _getPrototypeOf(o2){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o22){return o22.__proto__||Object.getPrototypeOf(o22)},_getPrototypeOf(o2)}function _isNativeFunction(fn){return Function.toString.call(fn).indexOf("[native code]")!==-1}function _isNativeReflectConstruct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(Parent,args2,Class){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(Parent2,args22,Class2){var a2=[null];a2.push.apply(a2,args22);var Constructor=Function.bind.apply(Parent2,a2),instance=new Constructor;return Class2&&_setPrototypeOf(instance,Class2.prototype),instance},_construct.apply(null,arguments)}function _wrapNativeSuper(Class){var _cache=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(Class2){if(Class2===null||!_isNativeFunction(Class2))return Class2;if(typeof Class2!="function")throw new TypeError("Super expression must either be null or a function");if(typeof _cache<"u"){if(_cache.has(Class2))return _cache.get(Class2);_cache.set(Class2,Wrapper32)}function Wrapper32(){return _construct(Class2,arguments,_getPrototypeOf(this).constructor)}return Wrapper32.prototype=Object.create(Class2.prototype,{constructor:{value:Wrapper32,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper32,Class2)},_wrapNativeSuper(Class)}var ERRORS={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). + +`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). + +`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. + +`,4:`Couldn't generate valid rgb string from %s, it returned %s. + +`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. + +`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). + +`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). + +`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. + +`,9:`Please provide a number of steps to the modularScale helper. + +`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" + +`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. + +`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. + +`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. + +`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. + +`,16:`You must provide a template to this method. + +`,17:`You passed an unsupported selector state to this method. + +`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,19:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. + +`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,25:`fontFace expects localFonts to be an array. + +`,26:`fontFace expects fileFormats to be an array. + +`,27:`radialGradient requries at least 2 color-stops to properly render. + +`,28:`Please supply a filename to retinaImage() as the first argument. + +`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation + +`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) +To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') + +`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation + +`,34:`borderRadius expects a radius value as a string or number as the second argument. + +`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,36:`Property must be a string value. + +`,37:`Syntax Error at %s. + +`,38:`Formula contains a function that needs parentheses at %s. + +`,39:`Formula is missing closing parenthesis at %s. + +`,40:`Formula has too many closing parentheses at %s. + +`,41:`All values in a formula must have the same unit or be unitless. + +`,42:`Please provide a number of steps to the modularScale helper. + +`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. + +`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. + +`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. + +`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,48:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. + +`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. + +`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,53:`fontFace expects localFonts to be an array. + +`,54:`fontFace expects fileFormats to be an array. + +`,55:`fontFace expects a name of a font-family. + +`,56:`linearGradient requries at least 2 color-stops to properly render. + +`,57:`radialGradient requries at least 2 color-stops to properly render. + +`,58:`Please supply a filename to retinaImage() as the first argument. + +`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. + +`,62:`borderRadius expects a radius value as a string or number as the second argument. + +`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. + +`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). + +`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. + +`,67:`You must provide a template to this method. + +`,68:`You passed an unsupported selector state to this method. + +`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. + +`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. + +`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. + +`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. + +`,73:`Please provide a valid CSS variable. + +`,74:`CSS variable not found and no default was provided. + +`,75:`important requires a valid style object, got a %s instead. + +`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. + +`,77:`remToPx expects a value in "rem" but you provided it in "%s". + +`,78:`base must be set in "px" or "%" but you set it in "%s". +`};function format(){for(var _len=arguments.length,args2=new Array(_len),_key=0;_key<_len;_key++)args2[_key]=arguments[_key];var a2=args2[0],b3=[],c3;for(c3=1;c31?_len2-1:0),_key2=1;_key2<_len2;_key2++)args2[_key2-1]=arguments[_key2];return _this=_Error.call(this,format.apply(void 0,[ERRORS[code]].concat(args2)))||this,_assertThisInitialized(_this)}return PolishedError22}(_wrapNativeSuper(Error));function colorToInt(color2){return Math.round(color2*255)}function convertToInt(red,green,blue){return colorToInt(red)+","+colorToInt(green)+","+colorToInt(blue)}function hslToRgb(hue,saturation,lightness,convert){if(convert===void 0&&(convert=convertToInt),saturation===0)return convert(lightness,lightness,lightness);var huePrime=(hue%360+360)%360/60,chroma=(1-Math.abs(2*lightness-1))*saturation,secondComponent=chroma*(1-Math.abs(huePrime%2-1)),red=0,green=0,blue=0;huePrime>=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2,finalRed=red+lightnessModification,finalGreen=green+lightnessModification,finalBlue=blue+lightnessModification;return convert(finalRed,finalGreen,finalBlue)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function nameToHex(color2){if(typeof color2!="string")return color2;var normalizedColorName=color2.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color2}var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb(color2){if(typeof color2!="string")throw new PolishedError(3);var normalizedColor=nameToHex(color2);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])>1?parseFloat(""+rgbaMatched[4])/100:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var hue=parseInt(""+hslMatched[1],10),saturation=parseInt(""+hslMatched[2],10)/100,lightness=parseInt(""+hslMatched[3],10)/100,rgbColorString="rgb("+hslToRgb(hue,saturation,lightness)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _hue=parseInt(""+hslaMatched[1],10),_saturation=parseInt(""+hslaMatched[2],10)/100,_lightness=parseInt(""+hslaMatched[3],10)/100,_rgbColorString="rgb("+hslToRgb(_hue,_saturation,_lightness)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])>1?parseFloat(""+hslaMatched[4])/100:parseFloat(""+hslaMatched[4])}}throw new PolishedError(5)}function rgbToHsl(color2){var red=color2.red/255,green=color2.green/255,blue=color2.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return color2.alpha!==void 0?{hue:0,saturation:0,lightness,alpha:color2.alpha}:{hue:0,saturation:0,lightness};var hue,delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?hslToHex(value2,saturation,lightness):"rgba("+hslToRgb(value2,saturation,lightness)+","+alpha+")";if(typeof value2=="object"&&saturation===void 0&&lightness===void 0&&alpha===void 0)return value2.alpha>=1?hslToHex(value2.hue,value2.saturation,value2.lightness):"rgba("+hslToRgb(value2.hue,value2.saturation,value2.lightness)+","+value2.alpha+")";throw new PolishedError(2)}function rgb(value2,green,blue){if(typeof value2=="number"&&typeof green=="number"&&typeof blue=="number")return reduceHexValue$1("#"+numberToHex(value2)+numberToHex(green)+numberToHex(blue));if(typeof value2=="object"&&green===void 0&&blue===void 0)return reduceHexValue$1("#"+numberToHex(value2.red)+numberToHex(value2.green)+numberToHex(value2.blue));throw new PolishedError(6)}function rgba(firstValue,secondValue,thirdValue,fourthValue){if(typeof firstValue=="string"&&typeof secondValue=="number"){var rgbValue=parseToRgb(firstValue);return"rgba("+rgbValue.red+","+rgbValue.green+","+rgbValue.blue+","+secondValue+")"}else{if(typeof firstValue=="number"&&typeof secondValue=="number"&&typeof thirdValue=="number"&&typeof fourthValue=="number")return fourthValue>=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if(typeof firstValue=="object"&&secondValue===void 0&&thirdValue===void 0&&fourthValue===void 0)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")"}throw new PolishedError(7)}var isRgb=function(color2){return typeof color2.red=="number"&&typeof color2.green=="number"&&typeof color2.blue=="number"&&(typeof color2.alpha!="number"||typeof color2.alpha>"u")},isRgba=function(color2){return typeof color2.red=="number"&&typeof color2.green=="number"&&typeof color2.blue=="number"&&typeof color2.alpha=="number"},isHsl=function(color2){return typeof color2.hue=="number"&&typeof color2.saturation=="number"&&typeof color2.lightness=="number"&&(typeof color2.alpha!="number"||typeof color2.alpha>"u")},isHsla=function(color2){return typeof color2.hue=="number"&&typeof color2.saturation=="number"&&typeof color2.lightness=="number"&&typeof color2.alpha=="number"};function toColorString(color2){if(typeof color2!="object")throw new PolishedError(8);if(isRgba(color2))return rgba(color2);if(isRgb(color2))return rgb(color2);if(isHsla(color2))return hsla(color2);if(isHsl(color2))return hsl(color2);throw new PolishedError(8)}function curried(f3,length,acc){return function(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f3.apply(this,combined):curried(f3,length,combined)}}function curry(f3){return curried(f3,f3.length,[])}function guard(lowerBoundary,upperBoundary,value2){return Math.max(lowerBoundary,Math.min(upperBoundary,value2))}function darken(amount,color2){if(color2==="transparent")return color2;var hslColor=parseToHsl(color2);return toColorString(_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}var curriedDarken=curry(darken),curriedDarken$1=curriedDarken;function lighten(amount,color2){if(color2==="transparent")return color2;var hslColor=parseToHsl(color2);return toColorString(_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}var curriedLighten=curry(lighten),curriedLighten$1=curriedLighten;function transparentize(amount,color2){if(color2==="transparent")return color2;var parsedColor=parseToRgb(color2),alpha=typeof parsedColor.alpha=="number"?parsedColor.alpha:1,colorWithAlpha=_extends({},parsedColor,{alpha:guard(0,1,+(alpha*100-parseFloat(amount)*100).toFixed(2)/100)});return rgba(colorWithAlpha)}var curriedTransparentize=curry(transparentize),curriedTransparentize$1=curriedTransparentize,headerCommon=({theme})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:theme.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),codeCommon=({theme})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:theme.typography.size.s2-1,border:theme.base==="light"?`1px solid ${theme.color.mediumlight}`:`1px solid ${theme.color.darker}`,color:theme.base==="light"?curriedTransparentize$1(.1,theme.color.defaultText):curriedTransparentize$1(.3,theme.color.defaultText),backgroundColor:theme.base==="light"?theme.color.lighter:theme.color.border}),withReset=({theme})=>({fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),withMargin={margin:"16px 0"},Link3=({href:input,children,...props})=>{let isStorybookPath=/^\//.test(input),isAnchorUrl=/^#.*/.test(input),href=isStorybookPath?`./?path=${input}`:input;return import_react6.default.createElement("a",{href,target:isAnchorUrl?"_self":"_top",...props},children)},A2=newStyled(Link3)(withReset,({theme})=>({fontSize:"inherit",lineHeight:"24px",color:theme.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),Blockquote=newStyled.blockquote(withReset,withMargin,({theme})=>({borderLeft:`4px solid ${theme.color.medium}`,padding:"0 15px",color:theme.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),isReactChildString=child=>typeof child=="string",isInlineCodeRegex=/[\n\r]/g,DefaultCodeBlock=newStyled.code(({theme})=>({fontFamily:theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),codeCommon),StyledSyntaxHighlighter=newStyled(SyntaxHighlighter2)(({theme})=>({fontFamily:theme.typography.fonts.mono,fontSize:`${theme.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:theme.appBorderRadius,boxShadow:theme.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),Code=({className,children,...props})=>{let language=(className||"").match(/lang-(\S+)/),childrenArray=import_react6.Children.toArray(children);return childrenArray.filter(isReactChildString).some(child=>child.match(isInlineCodeRegex))?import_react6.default.createElement(StyledSyntaxHighlighter,{bordered:!0,copyable:!0,language:language?.[1]??"plaintext",format:!1,...props},children):import_react6.default.createElement(DefaultCodeBlock,{...props,className},childrenArray)},Div=newStyled.div(withReset),DL=newStyled.dl(withReset,{...withMargin,padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),H1=newStyled.h1(withReset,headerCommon,({theme})=>({fontSize:`${theme.typography.size.l1}px`,fontWeight:theme.typography.weight.bold})),H2=newStyled.h2(withReset,headerCommon,({theme})=>({fontSize:`${theme.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${theme.appBorderColor}`})),H3=newStyled.h3(withReset,headerCommon,({theme})=>({fontSize:`${theme.typography.size.m1}px`})),H4=newStyled.h4(withReset,headerCommon,({theme})=>({fontSize:`${theme.typography.size.s3}px`})),H5=newStyled.h5(withReset,headerCommon,({theme})=>({fontSize:`${theme.typography.size.s2}px`})),H6=newStyled.h6(withReset,headerCommon,({theme})=>({fontSize:`${theme.typography.size.s2}px`,color:theme.color.dark})),HR=newStyled.hr(({theme})=>({border:"0 none",borderTop:`1px solid ${theme.appBorderColor}`,height:4,padding:0})),Img=newStyled.img({maxWidth:"100%"}),LI=newStyled.li(withReset,({theme})=>({fontSize:theme.typography.size.s2,color:theme.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":codeCommon({theme})})),listCommon={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},OL=newStyled.ol(withReset,withMargin,{...listCommon,listStyle:"decimal"}),P3=newStyled.p(withReset,withMargin,({theme})=>({fontSize:theme.typography.size.s2,lineHeight:"24px",color:theme.color.defaultText,"& code":codeCommon({theme})})),Pre=newStyled.pre(withReset,withMargin,({theme})=>({fontFamily:theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),Span=newStyled.span(withReset,({theme})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${theme.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:theme.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),Table=newStyled.table(withReset,withMargin,({theme})=>({fontSize:theme.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${theme.appBorderColor}`,backgroundColor:theme.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:theme.base==="dark"?theme.color.darker:theme.color.lighter},"& tr th":{fontWeight:"bold",color:theme.color.defaultText,border:`1px solid ${theme.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${theme.appBorderColor}`,color:theme.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),TT=newStyled.title(codeCommon),listCommon2={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},UL=newStyled.ul(withReset,withMargin,{...listCommon2,listStyle:"disc"}),ResetWrapper=newStyled.div(withReset),components={h1:props=>import_react6.default.createElement(H1,{...nameSpaceClassNames(props,"h1")}),h2:props=>import_react6.default.createElement(H2,{...nameSpaceClassNames(props,"h2")}),h3:props=>import_react6.default.createElement(H3,{...nameSpaceClassNames(props,"h3")}),h4:props=>import_react6.default.createElement(H4,{...nameSpaceClassNames(props,"h4")}),h5:props=>import_react6.default.createElement(H5,{...nameSpaceClassNames(props,"h5")}),h6:props=>import_react6.default.createElement(H6,{...nameSpaceClassNames(props,"h6")}),pre:props=>import_react6.default.createElement(Pre,{...nameSpaceClassNames(props,"pre")}),a:props=>import_react6.default.createElement(A2,{...nameSpaceClassNames(props,"a")}),hr:props=>import_react6.default.createElement(HR,{...nameSpaceClassNames(props,"hr")}),dl:props=>import_react6.default.createElement(DL,{...nameSpaceClassNames(props,"dl")}),blockquote:props=>import_react6.default.createElement(Blockquote,{...nameSpaceClassNames(props,"blockquote")}),table:props=>import_react6.default.createElement(Table,{...nameSpaceClassNames(props,"table")}),img:props=>import_react6.default.createElement(Img,{...nameSpaceClassNames(props,"img")}),div:props=>import_react6.default.createElement(Div,{...nameSpaceClassNames(props,"div")}),span:props=>import_react6.default.createElement(Span,{...nameSpaceClassNames(props,"span")}),li:props=>import_react6.default.createElement(LI,{...nameSpaceClassNames(props,"li")}),ul:props=>import_react6.default.createElement(UL,{...nameSpaceClassNames(props,"ul")}),ol:props=>import_react6.default.createElement(OL,{...nameSpaceClassNames(props,"ol")}),p:props=>import_react6.default.createElement(P3,{...nameSpaceClassNames(props,"p")}),code:props=>import_react6.default.createElement(Code,{...nameSpaceClassNames(props,"code")}),tt:props=>import_react6.default.createElement(TT,{...nameSpaceClassNames(props,"tt")}),resetwrapper:props=>import_react6.default.createElement(ResetWrapper,{...nameSpaceClassNames(props,"resetwrapper")})},BadgeWrapper=newStyled.div(({theme})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:theme.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme,status})=>{switch(status){case"critical":return{color:theme.color.critical,background:theme.background.critical};case"negative":return{color:theme.color.negativeText,background:theme.background.negative,boxShadow:theme.base==="light"?`inset 0 0 0 1px ${curriedTransparentize$1(.9,theme.color.negativeText)}`:"none"};case"warning":return{color:theme.color.warningText,background:theme.background.warning,boxShadow:theme.base==="light"?`inset 0 0 0 1px ${curriedTransparentize$1(.9,theme.color.warningText)}`:"none"};case"neutral":return{color:theme.color.dark,background:theme.color.mediumlight,boxShadow:theme.base==="light"?`inset 0 0 0 1px ${curriedTransparentize$1(.9,theme.color.dark)}`:"none"};case"positive":return{color:theme.color.positiveText,background:theme.background.positive,boxShadow:theme.base==="light"?`inset 0 0 0 1px ${curriedTransparentize$1(.9,theme.color.positiveText)}`:"none"};default:return{}}}),Badge=({...props})=>import_react6.default.createElement(BadgeWrapper,{...props}),icons={user:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0ZM2.67 11.15c.7-1 2.6-1.81 3.2-1.9.22-.04.23-.66.23-.66s-.67-.66-.81-1.55c-.4 0-.63-.94-.24-1.27l-.02-.13c-.06-.6-.28-2.6 1.97-2.6s2.03 2 1.97 2.6l-.02.13c.4.33.15 1.27-.24 1.27-.14.89-.8 1.55-.8 1.55s0 .62.22.66c.6.09 2.5.9 3.2 1.9a6 6 0 1 0-8.66 0Z"})),useralt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.27 13.16a11.39 11.39 0 0 0 5.18-1.23v-.25c0-1.57-3.24-3-4.1-3.13-.27-.05-.28-.79-.28-.79s.8-.78.96-1.83c.47 0 .75-1.12.29-1.52.02-.41.6-3.25-2.32-3.25S4.65 4 4.67 4.41c-.46.4-.17 1.52.29 1.52.17 1.05.96 1.83.96 1.83s0 .74-.27.79c-.86.13-4.04 1.53-4.1 3.08a11.44 11.44 0 0 0 5.72 1.53Z"})),useradd:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1.18 11.9c-.4-.17-.8-.36-1.18-.58.06-1.44 3.02-2.74 3.82-2.87.25-.04.26-.73.26-.73s-.74-.73-.9-1.7c-.43 0-.7-1.05-.27-1.42l-.01-.14c-.07-.67-.31-2.88 2.18-2.88 2.48 0 2.24 2.2 2.17 2.88l-.01.14c.43.37.16 1.41-.27 1.41-.16.98-.9 1.71-.9 1.71s.01.69.26.73c.8.13 3.82 1.46 3.82 2.91v.24a10.63 10.63 0 0 1-8.97.3ZM11.5 2.16c.28 0 .5.22.5.5v1.5h1.5a.5.5 0 0 1 0 1H12v1.5a.5.5 0 0 1-1 0v-1.5H9.5a.5.5 0 1 1 0-1H11v-1.5c0-.28.22-.5.5-.5Z"})),users:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M9.21 11.62A10.59 10.59 0 0 1 0 11.07c.06-1.35 2.93-2.58 3.7-2.7.25-.03.26-.68.26-.68s-.72-.69-.87-1.6c-.42 0-.68-.99-.26-1.33 0-.03 0-.08-.02-.14-.07-.63-.3-2.71 2.12-2.71 2.41 0 2.18 2.08 2.11 2.71l-.01.14c.42.34.16 1.32-.26 1.32-.16.92-.87 1.6-.87 1.6s0 .66.25.7c.78.11 3.7 1.36 3.7 2.73v.22l-.64.3Z"}),import_react6.default.createElement("path",{d:"M8.81 8.42a9.64 9.64 0 0 0-.74-.4 5.2 5.2 0 0 1 1.7-.76c.17-.02.17-.47.17-.47s-.49-.47-.6-1.1c-.28 0-.46-.68-.17-.91l-.01-.1c-.05-.43-.2-1.86 1.45-1.86 1.66 0 1.5 1.43 1.45 1.86v.1c.28.23.1.9-.18.9-.11.64-.6 1.11-.6 1.11s0 .45.17.47c.54.08 2.55.94 2.55 1.89v.62a10.6 10.6 0 0 1-3.3.56 2.97 2.97 0 0 0-.58-.88c-.37-.41-.85-.76-1.31-1.03Z"})),profile:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M9.1 7.35a5.06 5.06 0 0 1-4.52-.28C4.6 6.4 6.02 5.77 6.4 5.7c.12-.02.12-.35.12-.35s-.35-.34-.43-.81c-.2 0-.33-.5-.12-.67l-.01-.07C5.93 3.48 5.81 2.42 7 2.42S8.07 3.48 8.04 3.8v.07c.2.17.07.67-.13.67-.08.47-.43.81-.43.81s0 .33.12.35c.38.06 1.82.7 1.82 1.4v.1c-.1.06-.2.1-.31.15Zm-5.35 3.9c0-.14.11-.25.25-.25h6a.25.25 0 1 1 0 .5H4a.25.25 0 0 1-.25-.25ZM4 9a.25.25 0 0 0 0 .5h6a.25.25 0 1 0 0-.5H4Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1 .5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v13a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V.5ZM2 13V1h10v12H2Z"})),facehappy:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M3.97 8.75a.5.5 0 0 0-.87.5 4.5 4.5 0 0 0 7.8 0 .5.5 0 1 0-.87-.5 3.5 3.5 0 0 1-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),faceneutral:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M4.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),facesad:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M3.97 10.25a.5.5 0 0 1-.87-.5 4.5 4.5 0 0 1 7.8 0 .5.5 0 1 1-.87.5 3.5 3.5 0 0 0-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),accessibility:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z"}),import_react6.default.createElement("path",{d:"M7 4.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),accessibilityalt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM8 3.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z"})),arrowup:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"m7.35 2.9 5.5 5.5a.5.5 0 0 1-.7.7L7 3.96 1.85 9.1a.5.5 0 1 1-.7-.7l5.5-5.5c.2-.2.5-.2.7 0Z"})),arrowdown:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"m1.15 5.6 5.5 5.5c.2.2.5.2.7 0l5.5-5.5a.5.5 0 0 0-.7-.7L7 10.04 1.85 4.9a.5.5 0 1 0-.7.7Z"})),arrowleft:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M2.76 7.1c.02.09.06.18.14.25l5.5 5.5a.5.5 0 0 0 .7-.7L3.96 7 9.1 1.85a.5.5 0 1 0-.7-.7l-5.5 5.5a.5.5 0 0 0-.14.45Z"})),arrowright:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"m11.1 7.35-5.5 5.5a.5.5 0 0 1-.7-.7L10.04 7 4.9 1.85a.5.5 0 1 1 .7-.7l5.5 5.5c.2.2.2.5 0 .7Z"})),arrowupalt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M11.85 4.65 7.35.15a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 1 0 .7.7L6.5 1.71V13.5a.5.5 0 0 0 1 0V1.7l3.65 3.65a.5.5 0 0 0 .7-.7Z"})),arrowdownalt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v11.8L2.85 8.64a.5.5 0 1 0-.7.7l4.5 4.5A.5.5 0 0 0 7 14a.5.5 0 0 0 .35-.15l4.5-4.5a.5.5 0 0 0-.7-.7L7.5 12.29V.5Z"})),arrowleftalt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5.35 2.15c.2.2.2.5 0 .7L1.71 6.5H13.5a.5.5 0 0 1 0 1H1.7l3.65 3.65a.5.5 0 0 1-.7.7l-4.5-4.5a.5.5 0 0 1 0-.7l4.5-4.5c.2-.2.5-.2.7 0Z"})),arrowrightalt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M8.65 2.15c.2-.2.5-.2.7 0l4.5 4.5c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7-.7l3.64-3.65H.5a.5.5 0 0 1 0-1h11.8L8.64 2.85a.5.5 0 0 1 0-.7Z"})),expandalt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"m7.35.15 4 4a.5.5 0 0 1-.7.7L7 1.21 3.35 4.85a.5.5 0 1 1-.7-.7l4-4c.2-.2.5-.2.7 0ZM11.35 9.15c.2.2.2.5 0 .7l-4 4a.5.5 0 0 1-.7 0l-4-4a.5.5 0 1 1 .7-.7L7 12.79l3.65-3.64c.2-.2.5-.2.7 0Z"})),collapse:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M3.354.146a.5.5 0 1 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0-.708-.708L7 3.793 3.354.146Zm3.292 9a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1-.708.708L7 10.207l-3.646 3.647a.5.5 0 0 1-.708-.708l4-4Z"})),expand:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1.5 1h2a.5.5 0 0 1 0 1h-.8l3.15 3.15a.5.5 0 1 1-.7.7L2 2.71v.79a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 1.5c0-.28.22-.5.5-.5h2c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-.8L8.85 5.86a.5.5 0 1 1-.7-.7L11.29 2h-.79a.5.5 0 0 1-.5-.5ZM12.5 10c.28 0 .5.22.5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h.8L8.14 8.85a.5.5 0 1 1 .7-.7L12 11.29v-.79c0-.28.22-.5.5-.5ZM2 11.3v-.8a.5.5 0 0 0-1 0v2c0 .28.22.5.5.5h2a.5.5 0 0 0 0-1h-.8l3.15-3.15a.5.5 0 1 0-.7-.7L2 11.29Z"})),unfold:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"m6.65.15-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64V5a.5.5 0 0 0 1 0V1.7l.65.65a.5.5 0 1 0 .7-.7L7.35.15a.5.5 0 0 0-.7 0Z"}),import_react6.default.createElement("path",{d:"M1.3 4.04a.5.5 0 0 0-.16.82L3.3 7 1.15 9.15a.5.5 0 0 0 .35.85h3a.5.5 0 0 0 0-1H2.7l1.5-1.5h5.6l2.35 2.35a.5.5 0 0 0 .7-.7L10.71 7l2.14-2.15.11-.54-.1.54A.5.5 0 0 0 13 4.5a.5.5 0 0 0-.14-.35.5.5 0 0 0-.36-.15h-3a.5.5 0 0 0 0 1h1.8L9.8 6.5H4.2L2.7 5h1.8a.5.5 0 0 0 0-1h-3a.5.5 0 0 0-.2.04Z"}),import_react6.default.createElement("path",{d:"M7 8.5c.28 0 .5.22.5.5v3.3l.65-.65a.5.5 0 0 1 .7.7l-1.5 1.5a.5.5 0 0 1-.7 0l-1.5-1.5a.5.5 0 0 1 .7-.7l.65.64V9c0-.28.22-.5.5-.5ZM9 9.5c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Z"})),transfer:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M10.65 2.65c.2-.2.5-.2.7 0l1.5 1.5c.2.2.2.5 0 .7l-1.5 1.5a.5.5 0 0 1-.7-.7l.64-.65H1.5a.5.5 0 0 1 0-1h9.8l-.65-.65a.5.5 0 0 1 0-.7ZM3.35 8.35 2.71 9h9.79a.5.5 0 0 1 0 1H2.7l.65.65a.5.5 0 0 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7Z"})),redirect:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1.5 1c.28 0 .5.22.5.5V10a2 2 0 0 0 4 0V4a3 3 0 0 1 6 0v7.8l1.15-1.15a.5.5 0 0 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 0 1 .7-.7L11 11.79V4a2 2 0 1 0-4 0v6a3 3 0 0 1-6 0V1.5c0-.28.22-.5.5-.5Z"})),undo:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1.15 3.85a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7L2.71 3H9a4 4 0 0 1 0 8H3a.5.5 0 0 1 0-1h6a3 3 0 1 0 0-6H2.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2Z"})),reply:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M4.35 2.15c.2.2.2.5 0 .7L1.71 5.5H9.5A4.5 4.5 0 0 1 14 10v1.5a.5.5 0 0 1-1 0V10a3.5 3.5 0 0 0-3.5-3.5H1.7l2.65 2.65a.5.5 0 1 1-.7.7l-3.5-3.5a.5.5 0 0 1 0-.7l3.5-3.5c.2-.2.5-.2.7 0Z"})),sync:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5.5 1A.5.5 0 0 0 5 .5H2a.5.5 0 0 0 0 1h1.53a6.5 6.5 0 0 0 2.39 11.91.5.5 0 1 0 .16-.99A5.5 5.5 0 0 1 4.5 2.1V4a.5.5 0 0 0 1 0V1ZM7.5 1a.5.5 0 0 1 .58-.41 6.5 6.5 0 0 1 2.39 11.91H12a.5.5 0 0 1 0 1H9a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 1 0v1.9A5.5 5.5 0 0 0 7.92 1.58.5.5 0 0 1 7.5 1Z"})),upload:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M8.65 5.85 7.5 4.71v5.79a.5.5 0 0 1-1 0V4.7L5.35 5.86a.5.5 0 1 1-.7-.7l2-2c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),download:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5.35 8.15 6.5 9.29V3.5a.5.5 0 0 1 1 0v5.8l1.15-1.15a.5.5 0 1 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 1 1 .7-.7Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm1 0a6 6 0 1 1 12 0A6 6 0 0 1 1 7Z"})),back:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5.85 5.35 4.71 6.5h5.79a.5.5 0 0 1 0 1H4.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7 0a7 7 0 1 1 0 14A7 7 0 0 1 7 0Zm0 1a6 6 0 1 1 0 12A6 6 0 0 1 7 1Z"})),proceed:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M3.5 6.5h5.8L8.14 5.35a.5.5 0 1 1 .7-.7l2 2c.2.2.2.5 0 .7l-2 2a.5.5 0 1 1-.7-.7L9.29 7.5H3.5a.5.5 0 0 1 0-1Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 1 7 0a7 7 0 0 1 0 14Zm0-1A6 6 0 1 1 7 1a6 6 0 0 1 0 12Z"})),refresh:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.1.5H7a6.5 6.5 0 1 0 6.41 7.58.5.5 0 1 0-.99-.16A5.47 5.47 0 0 1 7 12.5a5.5 5.5 0 0 1 0-11 5.5 5.5 0 0 1 4.9 3H10a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-1 0v1.53A6.5 6.5 0 0 0 7.1.5Z"})),globe:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 0 0 7a7 7 0 0 0 14 0Zm-6.53 5.74c-.24.23-.4.26-.47.26-.08 0-.23-.03-.47-.26-.23-.24-.5-.62-.73-1.18A11.57 11.57 0 0 1 5 7.5h4a11.57 11.57 0 0 1-.8 4.06c-.24.56-.5.94-.73 1.18ZM8.99 6.5H5.01c.05-1.62.35-3.04.79-4.06.24-.56.5-.94.73-1.18.24-.23.4-.26.47-.26.08 0 .23.03.47.26.23.24.5.62.73 1.18.44 1.02.74 2.44.8 4.06Zm1 1c-.06 2.18-.56 4.08-1.28 5.25a6 6 0 0 0 4.27-5.25H9.99Zm2.99-1H9.99c-.06-2.18-.56-4.08-1.28-5.25a6 6 0 0 1 4.27 5.25ZM4 6.5c.06-2.18.56-4.08 1.28-5.25A6 6 0 0 0 1.02 6.5h2.99Zm-2.99 1a6 6 0 0 0 4.27 5.25c-.72-1.17-1.22-3.07-1.28-5.25H1.02Z"})),compass:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M10.09 3.4 5.95 5.8a.37.37 0 0 0-.11.09.38.38 0 0 0-.04.05l-2.4 4.15a.37.37 0 0 0 0 .38c.1.18.33.24.5.14l4.15-2.4a.37.37 0 0 0 .15-.15l2.4-4.15a.37.37 0 0 0-.03-.44.37.37 0 0 0-.48-.07ZM4.75 9.25 7.6 7.6 6.4 6.4 4.75 9.25Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),location:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm6.5 3.5v2.48A6 6 0 0 1 1.02 7.5H3.5a.5.5 0 0 0 0-1H1.02A6 6 0 0 1 6.5 1.02V3.5a.5.5 0 0 0 1 0V1.02a6 6 0 0 1 5.48 5.48H10.5a.5.5 0 0 0 0 1h2.48a6 6 0 0 1-5.48 5.48V10.5a.5.5 0 0 0-1 0Z"})),pin:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M9 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M12 5A5 5 0 0 0 2 5c0 2.63 2.27 6.15 4.65 8.64.2.2.5.2.7 0C9.73 11.15 12 7.64 12 5ZM7 1a4 4 0 0 1 4 4c0 1.06-.47 2.42-1.3 3.88A21.23 21.23 0 0 1 7 12.55c-1-1.1-1.97-2.39-2.7-3.67A8.46 8.46 0 0 1 3 5a4 4 0 0 1 4-4Z"})),time:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7 2c.28 0 .5.22.5.5v4H10a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5V2.5c0-.28.22-.5.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),dashboard:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M9.8 4.1a.5.5 0 0 1 .1.7L7.92 7.58A1 1 0 1 1 7.1 7l2-2.8a.5.5 0 0 1 .7-.12Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M2.07 12.97a7 7 0 1 1 9.86 0 12.96 12.96 0 0 0-9.86 0Zm9.58-1.18a6 6 0 1 0-9.3 0 13.98 13.98 0 0 1 9.3 0Z"})),timer:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.5 4.5a.5.5 0 0 0-1 0v2.63a1 1 0 1 0 1 0V4.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M5.5.5c0-.28.22-.5.5-.5h2a.5.5 0 0 1 0 1h-.5v1.02c1.28.1 2.45.61 3.37 1.4l.78-.77a.5.5 0 0 1 .7.7l-.77.78a6 6 0 1 1-5.08-2.1V1H6a.5.5 0 0 1-.5-.5ZM7 3a5 5 0 1 0 0 10A5 5 0 0 0 7 3Z"})),home:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"m7.35 1.15 5.5 5.5a.5.5 0 0 1-.7.7L12 7.21v5.29a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V9H6v3.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V7.2l-.15.15a.5.5 0 1 1-.7-.7l1-1 4.5-4.5c.2-.2.5-.2.7 0ZM3 6.2V12h2V8.5c0-.28.22-.5.5-.5h3c.28 0 .5.22.5.5V12h2V6.2l-4-4-4 4Z"})),admin:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1.21 4.1a.5.5 0 0 1 .06-.04l5.48-3a.5.5 0 0 1 .5 0l5.48 3a.5.5 0 0 1 .27.39.5.5 0 0 1-.51.55H1.51a.5.5 0 0 1-.3-.9ZM3.46 4h7.08L7 2.07 3.46 4Z"}),import_react6.default.createElement("path",{d:"M4 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM11 6a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V6ZM5.75 5.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM8.75 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM1.5 12.5c0-.27.22-.5.5-.5h10a.5.5 0 0 1 0 1H2a.5.5 0 0 1-.5-.5Z"})),info:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7 5.5c.28 0 .5.22.5.5v4a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM7 4.5A.75.75 0 1 0 7 3a.75.75 0 0 0 0 1.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),question:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 1 1 7 7a.5.5 0 0 0-.5.5V9a.5.5 0 0 0 1 0V7.95a2.75 2.75 0 1 0-3.25-2.7.5.5 0 0 0 1 0ZM7 11.5A.75.75 0 1 0 7 10a.75.75 0 0 0 0 1.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),support:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-3.52 4.9a5.97 5.97 0 0 1-6.96 0l1.45-1.45a3.98 3.98 0 0 0 4.06 0l1.45 1.44Zm-.03-2.87 1.44 1.45a5.97 5.97 0 0 0 0-6.96l-1.44 1.45a3.98 3.98 0 0 1 0 4.06ZM9.03 3.55l1.45-1.44a5.97 5.97 0 0 0-6.96 0l1.45 1.44a3.98 3.98 0 0 1 4.06 0ZM3.55 4.97 2.11 3.52a5.97 5.97 0 0 0 0 6.96l1.44-1.45a3.98 3.98 0 0 1 0-4.06ZM10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})),alert:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7 4.5c.28 0 .5.22.5.5v3.5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM7.75 10.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7.2 1.04a.5.5 0 0 1 .24.21l6.49 11a.5.5 0 0 1-.44.75H.51a.5.5 0 0 1-.5-.45.5.5 0 0 1 .06-.31l6.5-10.99a.5.5 0 0 1 .64-.2ZM7 2.48 1.38 12h11.24L7 2.48Z"})),email:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M0 2.5c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-9Zm1 1.02V11h12V3.52L7.31 7.89a.5.5 0 0 1-.52.07.5.5 0 0 1-.1-.07L1 3.52ZM12.03 3H1.97L7 6.87 12.03 3Z"})),phone:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"m7.76 8.13-.05.05a.2.2 0 0 1-.28.03A6.76 6.76 0 0 1 5.8 6.56a.21.21 0 0 1 .04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 0 0-.51.13A3.23 3.23 0 0 0 .9 3.42c-.13 1.1.26 2.37 1.17 3.78a16.68 16.68 0 0 0 4.55 4.6 6.57 6.57 0 0 0 3.53 1.32A3.2 3.2 0 0 0 13 11.46c.14-.24.24-.64-.07-1.18a7.8 7.8 0 0 0-1.73-1.8c-.64-.5-1.52-1.12-2.13-1.12a.97.97 0 0 0-.34.06c-.47.17-.74.46-.95.69l-.02.02Zm4.32 2.68a6.8 6.8 0 0 0-1.48-1.54h-.02c-.3-.25-.64-.49-.95-.67a2.7 2.7 0 0 0-.56-.24h-.01c-.23.09-.34.21-.56.45l-.02.02-.04.04a1.2 1.2 0 0 1-1.6.15 7.76 7.76 0 0 1-1.86-1.89l-.01-.01-.02-.02a1.21 1.21 0 0 1 .2-1.53l.06-.06.02-.02c.22-.2.35-.31.43-.53v-.02c0-.02 0-.06-.03-.14a3.7 3.7 0 0 0-.5-.88h-.01V3.9c-.23-.33-.65-.87-1.1-1.32H4c-.31-.32-.55-.5-.72-.6a.6.6 0 0 0-.22-.1h-.03a2.23 2.23 0 0 0-1.15 1.66c-.09.78.18 1.8 1.02 3.1a15.68 15.68 0 0 0 4.27 4.33l.02.01.02.02a5.57 5.57 0 0 0 2.97 1.11 2.2 2.2 0 0 0 1.93-1.14h.01v-.05a.57.57 0 0 0-.05-.12Z"})),link:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M11.84 2.16a2.25 2.25 0 0 0-3.18 0l-2.5 2.5c-.88.88-.88 2.3 0 3.18a.5.5 0 0 1-.7.7 3.25 3.25 0 0 1 0-4.59l2.5-2.5a3.25 3.25 0 0 1 4.59 4.6L10.48 8.1c.04-.44.01-.89-.09-1.32l1.45-1.45c.88-.88.88-2.3 0-3.18Z"}),import_react6.default.createElement("path",{d:"M3.6 7.2c-.1-.42-.12-.87-.08-1.31L1.45 7.95a3.25 3.25 0 1 0 4.6 4.6l2.5-2.5a3.25 3.25 0 0 0 0-4.6.5.5 0 0 0-.7.7c.87.89.87 2.31 0 3.2l-2.5 2.5a2.25 2.25 0 1 1-3.2-3.2l1.46-1.44Z"})),unlink:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"m1.45 7.95 1.3-1.3.71.7-1.3 1.3a2.25 2.25 0 1 0 3.18 3.2l1.3-1.31.71.7-1.3 1.3a3.25 3.25 0 0 1-4.6-4.59ZM12.55 6.05l-1.3 1.3-.71-.7 1.3-1.3a2.25 2.25 0 1 0-3.18-3.2l-1.3 1.31-.71-.7 1.3-1.3a3.25 3.25 0 0 1 4.6 4.59ZM1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),bell:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M8 1.11a1 1 0 1 0-1.99 0A4.5 4.5 0 0 0 2.5 5.5v3.88l-.94 1.89a.5.5 0 0 0-.06.3.5.5 0 0 0 .51.43h3.58a1.5 1.5 0 1 0 2.82 0H12a.5.5 0 0 0 .45-.73l-.94-1.89V5.5A4.5 4.5 0 0 0 8 1.11ZM2.8 11h8.4l-.5-1H3.3l-.5 1Zm7.7-2V5.5a3.5 3.5 0 1 0-7 0V9h7Zm-4 3.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Z"})),rss:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1.5.5c0-.28.22-.5.5-.5a12 12 0 0 1 12 12 .5.5 0 0 1-1 0A11 11 0 0 0 2 1a.5.5 0 0 1-.5-.5Z"}),import_react6.default.createElement("path",{d:"M1.5 4.5c0-.28.22-.5.5-.5a8 8 0 0 1 8 8 .5.5 0 0 1-1 0 7 7 0 0 0-7-7 .5.5 0 0 1-.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M5 11a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-1 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"})),sharealt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7.5a.5.5 0 0 0-1 0V12H2V2h4.5a.5.5 0 0 0 0-1H2Z"}),import_react6.default.createElement("path",{d:"M7.35 7.36 12 2.7v1.8a.5.5 0 0 0 1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 1 0 0 1h1.8L6.64 6.64a.5.5 0 1 0 .7.7Z"})),share:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M6.65.15c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7L7.5 1.72v6.8a.5.5 0 0 1-1 0V1.7L5.35 2.86a.5.5 0 1 1-.7-.71l2-2Z"}),import_react6.default.createElement("path",{d:"M2 4a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H9.5a.5.5 0 1 0 0 1H12v7H2V5h2.5a.5.5 0 0 0 0-1H2Z"})),circlehollow:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7 13A6 6 0 1 0 7 1a6 6 0 0 0 0 12Zm0 1A7 7 0 1 0 7 0a7 7 0 0 0 0 14Z"})),circle:import_react6.default.createElement("path",{d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Z"}),bookmarkhollow:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5ZM4 12.41l2.66-2.28a.45.45 0 0 1 .38-.13c.1.01.2.05.29.12l2.67 2.3V1H4v11.41Z"})),bookmark:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5Z"})),hearthollow:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59ZM1.2 3.53A2.2 2.2 0 0 1 2.57 2.2M1.2 3.53c-.13.33-.2.72-.2 1.18 0 .22.03.45.1.68a3.97 3.97 0 0 0 .79 1.46c.19.23.38.45.59.65l4.51 4.36 4.52-4.35c.2-.2.4-.4.59-.65.18-.23.34-.47.49-.73.13-.23.23-.48.3-.73.08-.23.11-.46.11-.7 0-.45-.07-.84-.2-1.18-.12-.33-.3-.6-.51-.8v-.01c-.22-.2-.5-.38-.85-.51-.34-.13-.75-.2-1.24-.2-.2 0-.4.03-.6.09a4.95 4.95 0 0 0-1.9 1.22l-.68.67-.7-.65a9.97 9.97 0 0 0-.62-.53c-.2-.16-.42-.3-.63-.42h-.01c-.21-.12-.43-.22-.66-.29C4.2 2.03 4 2 3.77 2c-.48 0-.88.07-1.21.2"})),heart:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59Z"})),starhollow:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M6.32.78a.75.75 0 0 1 1.36 0l1.63 3.54 3.87.46c.63.07.89.86.42 1.3l-2.86 2.64.76 3.81a.75.75 0 0 1-1.1.8L7 11.43l-3.4 1.9a.75.75 0 0 1-1.1-.8l.76-3.81L.4 6.07a.75.75 0 0 1 .42-1.3l3.87-.45L6.32.78ZM7 1.7 5.54 4.86c-.11.24-.34.4-.6.43l-3.46.42 2.56 2.37c.2.17.28.44.23.7l-.68 3.42 3.04-1.7c.23-.14.5-.14.74 0l3.04 1.7-.68-3.43a.75.75 0 0 1 .23-.7l2.56-2.36-3.47-.42a.75.75 0 0 1-.59-.43L7 1.7Z"})),star:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.68.78a.75.75 0 0 0-1.36 0L4.69 4.32l-3.87.46a.75.75 0 0 0-.42 1.3l2.86 2.64-.76 3.81a.75.75 0 0 0 1.1.8l3.4-1.9 3.4 1.9a.75.75 0 0 0 1.1-.8l-.76-3.81 2.86-2.65a.75.75 0 0 0-.42-1.3L9.3 4.33 7.68.78Z"})),certificate:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M10 7.85A4.49 4.49 0 0 0 7 0a4.5 4.5 0 0 0-3 7.85V13a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.15L7 11.21l2.15 2.14A.5.5 0 0 0 10 13V7.85ZM7 8a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm-.35 2.15c.2-.2.5-.2.7 0L9 11.79V8.53a4.48 4.48 0 0 1-4 0v3.26l1.65-1.64Z"})),verified:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M6.56 13.12a1 1 0 0 1 .88 0l.98.49a1 1 0 0 0 1.31-.43l.52-.97a1 1 0 0 1 .7-.51l1.08-.2a1 1 0 0 0 .81-1.1l-.15-1.1a1 1 0 0 1 .27-.82l.76-.8a1 1 0 0 0 0-1.37l-.76-.79a1 1 0 0 1-.27-.83l.15-1.08a1 1 0 0 0-.8-1.12l-1.09-.19a1 1 0 0 1-.7-.5L9.73.81A1 1 0 0 0 8.43.4l-1 .49a1 1 0 0 1-.87 0L5.58.39a1 1 0 0 0-1.31.43l-.52.97a1 1 0 0 1-.7.51l-1.08.2a1 1 0 0 0-.81 1.1l.15 1.1a1 1 0 0 1-.27.82l-.76.8a1 1 0 0 0 0 1.37l.76.79a1 1 0 0 1 .27.83l-.15 1.08a1 1 0 0 0 .8 1.12l1.09.19a1 1 0 0 1 .7.5l.52.98a1 1 0 0 0 1.3.43l1-.49Zm4.3-8.47c.19.2.19.5 0 .7l-4.5 4.5a.5.5 0 0 1-.71 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z"})),thumbsup:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.5 5.5 0 0 1-1.3-.16c-.42-.1-.91-.25-1.47-.45-.3-.12-.63-.21-.95-.27H2.88a.84.84 0 0 1-.62-.26.84.84 0 0 1-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 0 1 .62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 0 1 .62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7a2.94 2.94 0 0 1 .21 1.58 3 3 0 0 1-.3 1h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98.07.54-.07 1.08-.4 1.51a1.9 1.9 0 0 1-.57 1.5Zm.47-5.33a.96.96 0 0 0 .03-.25.74.74 0 0 0-.23-.51.68.68 0 0 0-.52-.23H7.93l.73-1.45a2 2 0 0 0 .21-.87c0-.44-.07-.7-.13-.82a.53.53 0 0 0-.24-.24 1.3 1.3 0 0 0-.54-.12.99.99 0 0 0-.14.28c-.08.27-.13.52-.18.76-.06.38-.2.77-.48 1.07v.01l-.02.01c-.2.2-.4.46-.67.8l-.61.76c-.15.17-.35.38-.54.51l-.26.18H5v4.13h.02c.38.08.76.18 1.12.32.53.2.98.33 1.35.42.36.09.71.13 1.07.13h.88c.43 0 .68-.11.87-.29a.9.9 0 0 0 .26-.7l-.02-.37.22-.3c.17-.23.25-.5.2-.78l-.04-.33.17-.3a.97.97 0 0 0 .13-.48c0-.09 0-.13-.02-.15l-.15-.46.26-.4c.1-.15.13-.25.15-.33ZM3.5 10.8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),shield:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M11.76 2.08a.5.5 0 0 1 .24.42v6a.5.5 0 0 1-.17.38l-4.5 3.99a.5.5 0 0 1-.67 0l-4.49-4A.5.5 0 0 1 2 8.5V2.5c0-.18.1-.34.24-.42l.01-.02a2.5 2.5 0 0 1 .3-.16c.22-.1.52-.24.92-.37C4.27 1.26 5.44 1 7 1c1.56 0 2.73.26 3.53.53a6.97 6.97 0 0 1 1.22.53l.01.02ZM3 2.79v5.49l1.07.94 6.59-6.58-.44-.17C9.52 2.24 8.44 2 7 2c-1.44 0-2.52.24-3.22.47-.35.12-.6.24-.78.32Zm4 9.04L4.82 9.9 11 3.71v4.57l-4 3.55Z"})),basket:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M10.35 2.85a.5.5 0 1 0-.7-.7l-3 3a.5.5 0 1 0 .7.7l3-3Z"}),import_react6.default.createElement("path",{d:"M2.09 6H4.5a.5.5 0 0 0 0-1H1.8a.75.75 0 0 0-.74.87l.8 4.88A1.5 1.5 0 0 0 3.36 12h7.3a1.5 1.5 0 0 0 1.48-1.25l.81-4.88A.75.75 0 0 0 12.2 5H10a.5.5 0 0 0 0 1h1.91l-.76 4.58a.5.5 0 0 1-.5.42h-7.3a.5.5 0 0 1-.5-.42L2.1 6Z"}),import_react6.default.createElement("path",{d:"M4.5 7c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 7.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2ZM6.5 9.5v-2a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0Z"})),beaker:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M4.5 2h.75v3.87l-3.03 5.26c-.48.83.12 1.87 1.08 1.87h7.4c.96 0 1.57-1.04 1.08-1.87L8.75 5.87V2h.75a.5.5 0 0 0 0-1h-5a.5.5 0 0 0 0 1Zm1.75 4V2h1.5v4.13l.07.12 1 1.75H5.18l1.01-1.75.07-.12V6ZM4.6 9l-1.52 2.63c-.1.16.03.37.22.37h7.4c.2 0 .31-.2.22-.37L9.4 9H4.6Z"})),hourglass:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.5 10.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3.5 1a.5.5 0 0 0-.5.5c0 1.06.14 1.9.68 2.97.34.7.86 1.5 1.6 2.53a16.53 16.53 0 0 0-1.8 2.96A6 6 0 0 0 3 12.49v.01a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5 6 6 0 0 0-.48-2.54c-.34-.8-.9-1.71-1.8-2.96a19.78 19.78 0 0 0 1.6-2.53c.54-1.08.68-1.9.68-2.97a.5.5 0 0 0-.5-.5h-7Zm6.49 11a4.68 4.68 0 0 0-.39-1.65c-.27-.65-.73-1.4-1.5-2.5a133 133 0 0 1-.75 1 .5.5 0 0 1-.56.1.5.5 0 0 1-.2-.16l-.7-.94a14.36 14.36 0 0 0-1.5 2.5A4.68 4.68 0 0 0 4.02 12H10ZM6.3 6.72l.7.94a90.06 90.06 0 0 0 .7-.96c.49-.67.87-1.22 1.17-1.7H5.13A32.67 32.67 0 0 0 6.3 6.72ZM4.56 4h4.88c.36-.73.5-1.31.55-2H4c.04.69.19 1.27.55 2Z"})),flag:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M11.5 1h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 1 0V8h8.5a.5.5 0 0 0 .35-.85L9.21 4.5l2.64-2.65A.5.5 0 0 0 11.5 1ZM8.15 4.15 10.29 2H3v5h7.3L8.14 4.85a.5.5 0 0 1 0-.7Z"})),cloudhollow:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M10 7V6a3 3 0 0 0-5.9-.74l-.18.68-.7.07A2.5 2.5 0 0 0 3.5 11h3.19l.07-.01h.08L7 11h4a2 2 0 1 0 0-4h-1ZM3.12 5.02A3.5 3.5 0 0 0 3.5 12H11a3 3 0 1 0 0-6 4 4 0 0 0-7.88-.98Z"})),cloud:import_react6.default.createElement("path",{d:"M7 2a4 4 0 0 1 4 4 3 3 0 1 1 0 6H3.5a3.5 3.5 0 0 1-.38-6.98A4 4 0 0 1 7 2Z"}),edit:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"m13.85 2.15-2-2a.5.5 0 0 0-.7 0l-1.5 1.5-9 9a.5.5 0 0 0-.14.26L0 13.39a.5.5 0 0 0 .14.46.5.5 0 0 0 .46.14l2.48-.5a.5.5 0 0 0 .27-.14l9-9 1.5-1.5a.5.5 0 0 0 0-.7ZM12 3.29l.8-.79-1.3-1.3-.8.8L12 3.3Zm-2-.58L1.7 11 3 12.3 11.3 4 10 2.7ZM1.14 12.86l.17-.85.68.68-.85.17Z"})),cog:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5.59 5.59a2 2 0 0 1 3.27 2.14.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 1 0-.36-.94A2 2 0 0 1 5.6 5.6Z",fill:"#333"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M.94 6.53c.13.12.19.3.18.46 0 .17-.05.34-.18.47L0 8.39c.19.94.55 1.81 1.07 2.58h1.32c.18 0 .34.07.46.2.12.11.2.27.2.45v1.32c.76.51 1.62.88 2.55 1.06l.94-.94a.63.63 0 0 1 .45-.19h.03c.16 0 .33.07.45.19l.94.94a7.1 7.1 0 0 0 2.55-1.06v-1.33c0-.18.07-.35.2-.46.11-.12.27-.2.45-.2h1.33A7.1 7.1 0 0 0 14 8.4l-.95-.94a.64.64 0 0 1-.18-.47c0-.17.06-.34.18-.46l.95-.95a7.1 7.1 0 0 0-1.05-2.52h-1.34a.63.63 0 0 1-.46-.2.64.64 0 0 1-.2-.46V1.06A7.1 7.1 0 0 0 8.42 0l-.94.94a.63.63 0 0 1-.45.19H7a.63.63 0 0 1-.45-.19L5.6 0a7.1 7.1 0 0 0-2.56 1.06v1.33c0 .18-.07.34-.2.46a.63.63 0 0 1-.45.2H1.06A7.1 7.1 0 0 0 0 5.59l.94.94Zm.7 1.63c.33-.32.49-.75.48-1.17 0-.42-.15-.85-.47-1.17l-.54-.54c.12-.43.3-.85.51-1.23h.77c.46 0 .87-.2 1.17-.5.3-.29.48-.7.48-1.16v-.77c.4-.22.81-.39 1.25-.52l.54.55c.33.32.75.48 1.16.48h.03c.42 0 .84-.16 1.16-.48l.54-.54c.44.12.85.3 1.24.5v.8c0 .45.19.87.49 1.16.3.3.7.5 1.16.5h.78c.2.37.38.78.5 1.2l-.54.55c-.33.32-.49.75-.48 1.17 0 .42.15.85.48 1.17l.55.55c-.13.44-.3.85-.52 1.24h-.77c-.45 0-.87.2-1.16.5-.3.29-.5.7-.5 1.16v.77c-.38.21-.8.39-1.23.51l-.54-.54a1.64 1.64 0 0 0-1.16-.48H7c-.41 0-.83.16-1.16.48l-.54.55a6.1 6.1 0 0 1-1.25-.52v-.76c0-.45-.19-.87-.48-1.16-.3-.3-.71-.5-1.17-.5h-.76a6.1 6.1 0 0 1-.53-1.25l.55-.55Z"})),nut:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5.59 8.41a2 2 0 1 1 3.27-.68.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 0 0-.36-.94 2 2 0 0 1-2.14-.45Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M6.5.29a1 1 0 0 1 1 0l5.06 2.92c.31.18.5.51.5.87v5.84a1 1 0 0 1-.5.87L7.5 13.7a1 1 0 0 1-1 0L1.44 10.8a1 1 0 0 1-.5-.87V4.08a1 1 0 0 1 .5-.87L6.5.3Zm.5.86 5.06 2.93v5.84L7 12.85 1.94 9.92V4.08L7 1.15Z"})),wrench:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M10.5 1c.44 0 .56.52.25.83l-.8.81c-.2.2-.2.52 0 .72l.69.7c.2.2.52.2.72 0l.8-.81c.32-.31.84-.2.84.25a2.5 2.5 0 0 1-3.41 2.33L2.7 12.7a1 1 0 0 1-1.42-1.42l6.88-6.88A2.5 2.5 0 0 1 10.5 1ZM2 12.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),ellipsis:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M4 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM13 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM7 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"})),check:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M13.85 3.35a.5.5 0 0 0-.7-.7L5 10.79.85 6.65a.5.5 0 1 0-.7.7l4.5 4.5c.2.2.5.2.7 0l8.5-8.5Z"})),form:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6.4a.5.5 0 0 0-1 0V12H2V2h7.5a.5.5 0 0 0 0-1H2Z"}),import_react6.default.createElement("path",{d:"m6.35 9.86 7.5-7.5a.5.5 0 0 0-.7-.71L6 8.8 3.85 6.65a.5.5 0 1 0-.7.7l2.5 2.5c.2.2.5.2.7 0Z"})),batchdeny:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.646.646a.5.5 0 0 1 0 .708L5.207 7l3.647 3.646a.5.5 0 0 1-.708.708L4.5 7.707.854 11.354a.5.5 0 0 1-.708-.708L3.793 7 .146 3.354a.5.5 0 1 1 .708-.708L4.5 6.293l3.646-3.647a.5.5 0 0 1 .708 0ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z"})),batchaccept:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.2.6a.5.5 0 0 1 .1.7l-5.995 7.993a.505.505 0 0 1-.37.206.5.5 0 0 1-.395-.152L.146 8.854a.5.5 0 1 1 .708-.708l2.092 2.093L8.6 2.7a.5.5 0 0 1 .7-.1ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z"})),controls:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M10.5 1c.28 0 .5.22.5.5V2h1.5a.5.5 0 0 1 0 1H11v.5a.5.5 0 0 1-1 0V3H1.5a.5.5 0 0 1 0-1H10v-.5c0-.28.22-.5.5-.5ZM1.5 11a.5.5 0 0 0 0 1H10v.5a.5.5 0 0 0 1 0V12h1.5a.5.5 0 0 0 0-1H11v-.5a.5.5 0 0 0-1 0v.5H1.5ZM1 7c0-.28.22-.5.5-.5H3V6a.5.5 0 0 1 1 0v.5h8.5a.5.5 0 0 1 0 1H4V8a.5.5 0 0 1-1 0v-.5H1.5A.5.5 0 0 1 1 7Z"})),plus:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v6h-6a.5.5 0 0 0 0 1h6v6a.5.5 0 0 0 1 0v-6h6a.5.5 0 0 0 0-1h-6v-6Z"})),closeAlt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M2.03.97A.75.75 0 0 0 .97 2.03L5.94 7 .97 11.97a.75.75 0 1 0 1.06 1.06L7 8.06l4.97 4.97a.75.75 0 1 0 1.06-1.06L8.06 7l4.97-4.97A.75.75 0 0 0 11.97.97L7 5.94 2.03.97Z"})),cross:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1.85 1.15a.5.5 0 1 0-.7.7L6.29 7l-5.14 5.15a.5.5 0 0 0 .7.7L7 7.71l5.15 5.14a.5.5 0 0 0 .7-.7L7.71 7l5.14-5.15a.5.5 0 0 0-.7-.7L7 6.29 1.85 1.15Z"})),trash:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5.5 4.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM9 5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M4.5.5c0-.28.22-.5.5-.5h4c.28 0 .5.22.5.5V2h3a.5.5 0 0 1 0 1H12v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V3h-.5a.5.5 0 0 1 0-1h3V.5ZM3 3v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V3H3Zm2.5-2h3v1h-3V1Z"})),pinalt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5 5H3.66A4 4 0 0 0 .83 6.17l-.48.48a.5.5 0 0 0 0 .7l2.8 2.8-3 3a.5.5 0 0 0 .7.7l3-3 2.8 2.8c.2.2.5.2.7 0l.48-.48A4 4 0 0 0 9 10.34V9l2-2c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM11 5.59l-3 3v1.75a3 3 0 0 1-.88 2.12L7 12.6 1.41 7l.13-.12A3 3 0 0 1 3.66 6H5.4l3-3-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6Z"})),unpin:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5.7 4.3l.71.7 2-2-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6l-2 2 .7.7L11 7c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM.83 6.17A4 4 0 0 1 3.59 5l1 1h-.93a3 3 0 0 0-2.12.88L1.4 7 7 12.59l.12-.13A3 3 0 0 0 8 10.34v-.93l1 1a4 4 0 0 1-1.17 2.76l-.48.48a.5.5 0 0 1-.7 0l-2.8-2.8-3 3a.5.5 0 0 1-.7-.7l3-3-2.8-2.8a.5.5 0 0 1 0-.7l.48-.48Zm1.02-5.02a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),add:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7 3c.28 0 .5.22.5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3c0-.28.22-.5.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),subtract:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),close:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M9.85 4.15c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),delete:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0a6 6 0 0 1-9.87 4.58l8.45-8.45A5.98 5.98 0 0 1 13 7ZM2.42 10.87l8.45-8.45a6 6 0 0 0-8.46 8.46Z"})),passed:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm3.85-9.35c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z"})),changed:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"})),failed:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm2.85-9.85c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z"})),clear:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M5 2h7a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-1.41-.59l-3-3a2 2 0 0 1 0-2.82l3-3A2 2 0 0 1 5 2Zm1.15 3.15c.2-.2.5-.2.7 0L8 6.29l1.15-1.14a.5.5 0 1 1 .7.7L8.71 7l1.14 1.15a.5.5 0 0 1-.7.7L8 7.71 6.85 8.85a.5.5 0 1 1-.7-.7L7.29 7 6.15 5.85a.5.5 0 0 1 0-.7Z"})),comment:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M3.5 5a.5.5 0 1 0 0 1h7a.5.5 0 0 0 0-1h-7ZM3 8.5c0-.27.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M12.5 12H5.7l-1.85 1.86a.5.5 0 0 1-.35.14.5.5 0 0 1-.5-.5V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5ZM2 11V3h10v8H2Z"})),commentadd:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.5 5a.5.5 0 1 0-1 0v1.5H5a.5.5 0 1 0 0 1h1.5V9a.5.5 0 0 0 1 0V7.5H9a.5.5 0 0 0 0-1H7.5V5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z"})),requestchange:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M9.85 6.65c.2.2.2.51 0 .7l-2 2a.5.5 0 1 1-.7-.7L8.3 7.5H4.5a.5.5 0 0 1 0-1h3.79L7.15 5.36a.5.5 0 1 1 .7-.71l2 2Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z"})),comments:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M8.5 7a.5.5 0 0 0 0-1h-5a.5.5 0 1 0 0 1h5ZM9 8.5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1 0-1h5c.28 0 .5.23.5.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M12 11.5V10h1.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v8c0 .28.22.5.5.5H2v1.5a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.14L4.71 12h6.79a.5.5 0 0 0 .5-.5ZM3 3V2h10v7h-1V3.5a.5.5 0 0 0-.5-.5H3Zm-2 8V4h10v7H1Z"})),lock:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M8 8a1 1 0 0 1-.5.87v1.63a.5.5 0 0 1-1 0V8.87A1 1 0 1 1 8 8Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3 4a4 4 0 1 1 8 0v1h1.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4Zm7 1V4a3 3 0 1 0-6 0v1h6Zm2 1H2v7h10V6Z"})),unlock:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M6.5 8.87a1 1 0 1 1 1 0v1.63a.5.5 0 0 1-1 0V8.87Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 0 0-3 3v1h8.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4a4 4 0 0 1 7.76-1.38.5.5 0 0 1-.94.34A3 3 0 0 0 7 1ZM2 6h10v7H2V6Z"})),key:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M11 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7.5 8.53v.97a.5.5 0 0 1-.5.5H5.5v1.5a.5.5 0 0 1-.5.5H3.5v1.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .15-.36l5.12-5.11a4.5 4.5 0 1 1 2.23 2.5ZM6 4.5a3.5 3.5 0 1 1 1.5 2.87c-.29-.2-1-.37-1 .48V9H5a.5.5 0 0 0-.5.5V11H3a.5.5 0 0 0-.5.5V13H1v-1.3l5.2-5.19c.15-.16.18-.4.1-.6A3.47 3.47 0 0 1 6 4.5Z"})),outbox:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.35.15a.5.5 0 0 0-.7 0l-2 2a.5.5 0 1 0 .7.7L6.5 1.72v6.8a.5.5 0 0 0 1 0V1.7l1.15 1.15a.5.5 0 1 0 .7-.71l-2-2Z"}),import_react6.default.createElement("path",{d:"M2 7.5a.5.5 0 1 0-1 0v5c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-1 0V12H2V7.5Z"})),credit:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M2.5 8a.5.5 0 1 0 0 1h3a.5.5 0 0 0 0-1h-3Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M0 11.5c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5a.5.5 0 0 0-.5.5v9ZM1 3v1h12V3H1Zm0 8h12V6H1v5Z"})),button:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1 3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h3.5a.5.5 0 1 0 0-1H1V4h12v5h-1a.5.5 0 0 0 0 1h1a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H1Z"}),import_react6.default.createElement("path",{d:"M6.45 7a.5.5 0 0 1 .3.08l3.48 2.02a.5.5 0 0 1 0 .87l-1.08.62.75 1.3a.75.75 0 0 1-1.3.75l-.75-1.3-1.07.62a.5.5 0 0 1-.67-.13.5.5 0 0 1-.1-.3L6 7.5a.5.5 0 0 1 .45-.5Z"})),type:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M4 1.5c0-.27.22-.5.5-.5h5a.5.5 0 1 1 0 1h-2v10h2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1h2V2h-2a.5.5 0 0 1-.5-.5Z"}),import_react6.default.createElement("path",{d:"M0 4.5c0-.27.22-.5.5-.5h4a.5.5 0 1 1 0 1H1v4h3.5a.5.5 0 1 1 0 1h-4a.5.5 0 0 1-.5-.5v-5ZM9.5 4a.5.5 0 1 0 0 1H13v4H9.5a.5.5 0 1 0 0 1h4a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-4Z"})),pointerdefault:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5.94 12.46c.11 0 .2-.06.25-.15l1.58-3.16 2.54 2.54c.04.05.1.07.19.07a.3.3 0 0 0 .2-.07l.8-.8a.27.27 0 0 0 0-.38L8.9 7.9l3.4-1.7c.06-.03.1-.07.12-.11a.22.22 0 0 0 .04-.14.33.33 0 0 0-.06-.16.17.17 0 0 0-.09-.07h-.02L1.91 1.55a.27.27 0 0 0-.35.36l4.15 10.37c.04.09.12.16.23.17Zm-.03 1h-.02a1.28 1.28 0 0 1-1.1-.8L.62 2.29A1.27 1.27 0 0 1 2.3.63l10.35 4.15c.52.18.79.65.81 1.11.04.53-.27.98-.7 1.2l-2.17 1.08L12.2 9.8c.5.5.5 1.3 0 1.8l-.8.8v.01c-.5.46-1.3.48-1.8-.01l-1.56-1.56-.95 1.92c-.23.45-.68.7-1.15.7h-.03Z"})),pointerhand:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M11.87 6v-.02c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47V5.17a.6.6 0 0 0 0-.05c-.02-.27-.23-.5-.47-.5a.5.5 0 0 0-.52.5v1.65l-.01.1a.49.49 0 0 1-.46.37.48.48 0 0 1-.47-.47V4.62a.6.6 0 0 0 0-.05c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 0 1-.47-.47V1.75c-.02-.27-.22-.5-.47-.5a.5.5 0 0 0-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47v-.26a.78.78 0 0 0-.06-.31.65.65 0 0 0-.16-.22l-.2-.19A6.37 6.37 0 0 0 3.06 7h-.02c-.43-.34-.62-.25-.69-.2-.26.14-.29.5-.13.74l1.73 2.6v.01h-.01l-.04.02.05-.02s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.04-.6.04-1.19.03-1.78V6Zm.97 2.38c-.06 1.29-.26 2.67-1.08 3.72-.88 1.12-2.29 1.65-4.23 1.65a4.64 4.64 0 0 1-3.4-1.62 6.96 6.96 0 0 1-1.05-1.5v-.02L1.4 8.1A1.6 1.6 0 0 1 1.15 7c.05-.38.26-.8.69-1.04.2-.13.48-.23.85-.19.36.05.68.22.98.45.14.1.27.22.4.33v-4.8A1.5 1.5 0 0 1 5.63.25c.93.04 1.43.86 1.43 1.55v1.33c.17-.05.35-.07.53-.06h.02c.5.04.91.33 1.15.71a1.5 1.5 0 0 1 .74-.16c.66.03 1.12.46 1.32.97a1.5 1.5 0 0 1 .64-.1h.02c.85.06 1.39.8 1.39 1.55v.48c0 .6 0 1.24-.03 1.86Z"})),browser:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5H.5Zm.5-1V4h12v8H1Zm1-9.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),tablet:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3.5 0C2.67 0 2 .68 2 1.5v11c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5v-11c0-.82-.67-1.5-1.5-1.5h-7Zm0 1h7c.28 0 .5.23.5.5V11H3V1.5c0-.27.22-.5.5-.5ZM6 12a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1H6Z"})),mobile:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3 1.5C3 .68 3.67 0 4.5 0h5c.83 0 1.5.68 1.5 1.5v11c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 3 12.5v-11ZM4 12V2h6v10H4Z"})),watch:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{key:"watch",fillRule:"evenodd",d:"M4 .5c0-.27.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5A.5.5 0 0 1 4 .5ZM9.5 3h-5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5Zm-5-1C3.67 2 3 2.68 3 3.5v7c0 .83.67 1.5 1.5 1.5h5c.83 0 1.5-.67 1.5-1.5v-7c0-.82-.67-1.5-1.5-1.5h-5ZM7 4c.28 0 .5.23.5.5v2h1a.5.5 0 1 1 0 1H7a.5.5 0 0 1-.5-.5V4.5c0-.27.22-.5.5-.5Zm-2.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z"})),sidebar:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2ZM6 2h6v10H6V2Z"})),sidebaralt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M9.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5ZM10 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1h-1Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h6v10H2ZM9 2h3v10H9V2Z"})),sidebaralttoggle:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M11.5 4.5A.5.5 0 0 0 11 4h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5ZM11 6a.5.5 0 0 1 0 1h-1a.5.5 0 0 1 0-1h1Zm.5 2.5A.5.5 0 0 0 11 8h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11ZM9 12h3V2H9v10Zm-1 0H2V2h6v4.5H5.2l.66-.65a.5.5 0 1 0-.71-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7l-.64-.65H8V12Z"})),sidebartoggle:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2Zm4 0V7.5h2.8l-.65.65a.5.5 0 1 0 .7.7l1.5-1.5a.5.5 0 0 0 0-.7l-1.5-1.5a.5.5 0 1 0-.7.7l.64.65H6V2h6v10H6Z"})),bottombar:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M3 10.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 8V2h10v6H2Zm10 1v3H2V9h10Z"})),bottombartoggle:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M3.5 10a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1 12.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5Zm1-.5V9h10v3H2Zm4.5-4H2V2h10v6H7.5V5.21l.65.65a.5.5 0 1 0 .7-.71l-1.5-1.5a.5.5 0 0 0-.7 0l-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64v2.8Z"})),cpu:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M5 5.5c0-.27.22-.5.5-.5h3c.28 0 .5.23.5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3ZM6 8V6h2v2H6Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M5.5 0c.28 0 .5.23.5.5V2h2V.5a.5.5 0 0 1 1 0V2h2.5c.28 0 .5.23.5.5V5h1.5a.5.5 0 0 1 0 1H12v2h1.5a.5.5 0 0 1 0 1H12v2.5a.5.5 0 0 1-.5.5H9v1.5a.5.5 0 0 1-1 0V12H6v1.5a.5.5 0 0 1-1 0V12H2.5a.5.5 0 0 1-.5-.5V9H.5a.5.5 0 0 1 0-1H2V6H.5a.5.5 0 0 1 0-1H2V2.5c0-.27.22-.5.5-.5H5V.5c0-.27.22-.5.5-.5ZM11 3H3v8h8V3Z"})),database:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M12 3c0-1.1-2.24-2-5-2s-5 .9-5 2v8c0 .43.26.75.54.98.3.23.68.41 1.12.55.88.3 2.06.47 3.34.47 1.28 0 2.46-.17 3.34-.46.44-.15.83-.33 1.12-.56.28-.23.54-.55.54-.98V3Zm-1.03 0a2.45 2.45 0 0 0-.8-.49A8.88 8.88 0 0 0 7 2c-1.29 0-2.4.21-3.16.51a2.45 2.45 0 0 0-.81.49l.05.05c.13.13.37.28.76.44C4.6 3.79 5.7 4 7 4s2.4-.21 3.16-.51a2.45 2.45 0 0 0 .81-.49ZM11 5.75V4.2A8.9 8.9 0 0 1 7 5a8.98 8.98 0 0 1-4-.8v1.55l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 6.75a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03v-.01ZM3 7.01c.2.1.42.2.66.28.88.29 2.06.46 3.34.46 1.28 0 2.46-.17 3.34-.46.24-.08.46-.17.66-.28V8.5l-.02.04a.62.62 0 0 1-.14.15c-.17.13-.44.27-.82.4A10 10 0 0 1 7 9.5a10 10 0 0 1-3.02-.41 2.76 2.76 0 0 1-.82-.4.62.62 0 0 1-.14-.15.15.15 0 0 1-.02-.03V7Zm0 2.75V11l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 12a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03V9.76c-.2.1-.42.2-.66.28-.88.29-2.06.46-3.34.46-1.28 0-2.46-.17-3.34-.46A4.77 4.77 0 0 1 3 9.76Z"})),memory:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5 3a.5.5 0 0 0-1 0v3a.5.5 0 0 0 1 0V3Zm2-.5c.28 0 .5.22.5.5v3a.5.5 0 0 1-1 0V3c0-.28.22-.5.5-.5Zm3 2a.5.5 0 1 0-1 0V6a.5.5 0 0 0 1 0V4.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M12 3.54a.5.5 0 0 0-.15-.39l-3-3a.5.5 0 0 0-.38-.14H2.5a.5.5 0 0 0-.5.5v13c0 .27.22.5.5.5h9a.5.5 0 0 0 .5-.5V3.53ZM3 1h5.3L11 3.71v5.3H3V1Zm0 9v3h8v-3H3Z"})),structure:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M8.16 3.45a1.5 1.5 0 1 0-2.33 0l-4.02 6.58A1.5 1.5 0 1 0 2.91 12h8.18a1.5 1.5 0 1 0 1.1-1.97L8.16 3.45Zm-1.47.52a1.5 1.5 0 0 0 .62 0l4.03 6.58c-.11.14-.2.29-.25.45H2.9a1.5 1.5 0 0 0-.25-.45L6.7 3.97Z"})),box:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"m7.21.05 6.49 2.99a.5.5 0 0 1 .3.47v6.98a.5.5 0 0 1-.3.47l-6.47 2.98a.5.5 0 0 1-.46 0L.3 10.96a.5.5 0 0 1-.3-.47V3.5a.5.5 0 0 1 .3-.47L6.79.05a.5.5 0 0 1 .43 0ZM1 4.28v5.9l5.5 2.54v-5.9L1 4.28Zm6.5 8.44 5.5-2.54v-5.9L7.5 6.82v5.9Zm4.8-9.22L7 5.95 1.7 3.5 7 1.05l5.3 2.45Z"})),power:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0v-6Z"}),import_react6.default.createElement("path",{d:"M4.27 2.8a.5.5 0 0 0-.54-.83 6 6 0 1 0 6.54 0 .5.5 0 0 0-.54.84 5 5 0 1 1-5.46 0Z"})),photo:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M6.25 4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M13 1.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5ZM2 9.3V2h10v5.3L9.85 5.15a.5.5 0 0 0-.7 0L6.5 7.8 5.35 6.65a.5.5 0 0 0-.7 0L2 9.3Zm7.5-3.1L12 8.7V12H2v-1.3l3-3 3.15 3.15a.5.5 0 0 0 .7-.71L7.21 8.5 9.5 6.21Z"})),component:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3.5 1A2.5 2.5 0 0 0 1 3.5v7A2.5 2.5 0 0 0 3.5 13h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 10.5 1h-7ZM12 6.5H7.5V2h3c.83 0 1.5.68 1.5 1.5v3Zm0 1v3c0 .83-.67 1.5-1.5 1.5h-3V7.5H12ZM6.5 12V7.5H2v3c0 .83.67 1.5 1.5 1.5h3ZM2 6.5h4.5V2h-3C2.67 2 2 2.68 2 3.5v3Z"})),grid:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5H6c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H1.5A.5.5 0 0 1 1 6V1.5Zm1 4V2h3.5v3.5H2Zm5.5-4c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V1.5Zm1 4V2H12v3.5H8.5Zm-7 2A.5.5 0 0 0 1 8v4.5c0 .28.22.5.5.5H6a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5H1.5Zm.5 1V12h3.5V8.5H2ZM7.5 8c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5v4.5a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V8Zm1 4V8.5H12V12H8.5Z"})),outline:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M2 2v2H1V1.5c0-.27.22-.5.5-.5H4v1H2ZM1 9V5h1v4H1Zm0 1v2.5c0 .28.22.5.5.5H4v-1H2v-2H1Zm9 3h2.5a.5.5 0 0 0 .5-.5V10h-1v2h-2v1Zm2-9h1V1.5a.5.5 0 0 0-.5-.5H10v1h2v2Zm-3 8v1H5v-1h4ZM9 1v1H5V1h4Zm4 8h-1V5h1v4ZM7 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})),photodrag:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M8.25 3.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M14 7V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5V6h1V4h2v6.5c0 .28.22.5.5.5H10v2H8v1h2.5a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V7ZM4 1v5.8l1.65-1.65c.2-.2.5-.2.7 0L7.5 6.3l2.65-2.65c.2-.2.5-.2.7 0L13 5.8V1H4Zm9 6.21-2.5-2.5-2.3 2.3 1.15 1.14a.5.5 0 1 1-.7.7L6 6.22l-2 2v1.8h9V7.2Z"}),import_react6.default.createElement("path",{d:"M0 10V7h1v3H0Zm0 3.5V11h1v2h2v1H.5a.5.5 0 0 1-.5-.5Zm7 .5H4v-1h3v1Z"})),search:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"})),zoom:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M6 3.5c.28 0 .5.22.5.5v1.5H8a.5.5 0 0 1 0 1H6.5V8a.5.5 0 0 1-1 0V6.5H4a.5.5 0 0 1 0-1h1.5V4c0-.28.22-.5.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"})),zoomout:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M4 5.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H4Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M6 11.5c1.35 0 2.59-.49 3.54-1.3.03.06.06.11.1.15l3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1A5.5 5.5 0 1 0 6 11.5Zm0-1a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"})),zoomreset:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1.5 2.84V1.5a.5.5 0 0 0-1 0V4c0 .28.22.5.5.5h2.5a.5.5 0 0 0 0-1H2.26a4.5 4.5 0 1 1-.5 4.02.5.5 0 1 0-.94.33 5.5 5.5 0 0 0 8.72 2.36l.1.14 3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1 5.5 5.5 0 1 0-8.7-6.7Z"})),eye:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7 9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"m14 7-.2.3c-.13.16-3.06 4.2-6.8 4.2C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3C.34 6.55 3.27 2.5 7 2.5c3.74 0 6.67 4.04 6.8 4.2l.2.3ZM2.9 5.3A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8 1.52 0 2.96-.83 4.1-1.8A13 13 0 0 0 12.76 7a13 13 0 0 0-1.66-1.7C9.96 4.33 8.52 3.5 7 3.5c-1.52 0-2.96.83-4.1 1.8Z"})),eyeclose:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11ZM11.1 8.7c-.17.15-.36.3-.55.44l.72.71a13.25 13.25 0 0 0 2.52-2.56L14 7l-.2-.3c-.13-.16-3.06-4.2-6.8-4.2-.89 0-1.73.23-2.5.58l.76.76A4.86 4.86 0 0 1 7 3.5c1.52 0 2.96.83 4.1 1.8A13 13 0 0 1 12.76 7a13 13 0 0 1-1.66 1.7ZM.2 6.7c.08-.09 1.04-1.41 2.53-2.55l.72.71c-.2.14-.38.3-.55.44A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8.6 0 1.18-.13 1.74-.34l.77.76c-.78.35-1.62.58-2.51.58C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3Z"}),import_react6.default.createElement("path",{d:"M4.5 7c0-.32.06-.63.17-.91l3.24 3.24A2.5 2.5 0 0 1 4.5 7Zm4.83.91L6.09 4.67a2.5 2.5 0 0 1 3.24 3.24Z"})),lightning:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .28.09.5.5 0 0 0 .35-.14L11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L2.52 6.6Zm7.72.63-3.07-.8 1.85-4.14-5.2 4.51 2.94.77-1.27 4.28 4.75-4.62Zm-5.73 6.2.04.02Z"})),lightningoff:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M10.14 8.72 11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L5.46 4.05l.71.7L9.02 2.3 7.38 5.97l.7.7 2.16.56-.8.79.7.7ZM2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .63-.05l3.84-3.74-.7-.7-2.51 2.43 1.13-3.81-.68-.69L3.8 6.8l.85-.73-.71-.7L2.52 6.6Zm-.67-5.45a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),contrast:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3 3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h10a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3Zm1 1v2.3L6.3 4H4ZM3 4v6.5a.5.5 0 0 0 .5.5H10v2H1V4h2Zm1-1h6.5a.5.5 0 0 1 .5.5V10h2V1H4v2Zm6 7V7.71l-2.3 2.3H10Zm0-3.7V4.7L4.7 10h1.6L10 6.3ZM9.3 4H7.7L4 7.71V9.3L9.3 4Z"})),switchalt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3 3V.5c0-.27.22-.5.5-.5h10c.28 0 .5.23.5.5v10a.5.5 0 0 1-.5.5H11v2.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-10c0-.27.22-.5.5-.5H3Zm1 0V1h9v9h-2V3.5a.5.5 0 0 0-.5-.5H4Zm6 8v2H1V4h2v6.5c0 .28.22.5.5.5H10Zm0-1H4V4h6v6Z"})),mirror:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12h10V2L2 12Z"})),grow:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1.5 1a.5.5 0 1 0 0 1H12v10.5a.5.5 0 0 0 1 0V2a1 1 0 0 0-1-1H1.5Z"}),import_react6.default.createElement("path",{d:"M1 3.5c0-.27.22-.5.5-.5H10a1 1 0 0 1 1 1v8.5a.5.5 0 0 1-1 0V4H1.5a.5.5 0 0 1-.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1.5 5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h7a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5h-7ZM2 6v6h6V6H2Z"})),paintbrush:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M11.8535.1464a.5.5 0 0 0-.7071 0L2.9827 8.3102a2.2396 2.2396 0 0 0-1.0737.599C.6772 10.141.2402 11.903.0852 12.9978 0 13.5998 0 14.0002 0 14.0002s.4004 0 1.0023-.0853c1.095-.155 2.8569-.5919 4.0887-1.8237.307-.307.5067-.6806.5992-1.0743l8.1633-8.1633a.5.5 0 0 0 0-.7071l-2-2Zm-6.253 9.546L6.543 8.75l-1.293-1.2929-.9424.9424a2.242 2.242 0 0 1 .7835.5097c.23.2302.4.4977.5095.7831ZM7.25 8.0428 12.7929 2.5 11.5 1.2071 5.957 6.75 7.25 8.0429ZM4.3839 9.6163c.4881.4882.4881 1.2796 0 1.7678-.7665.7664-1.832 1.1845-2.7791 1.403a8.6972 8.6972 0 0 1-.49.0982 8.7151 8.7151 0 0 1 .0982-.4899c.2186-.9471.6367-2.0126 1.403-2.779.4882-.4882 1.2797-.4882 1.7679 0Z"})),ruler:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1.5 1c.28 0 .5.23.5.5V2h10v-.5a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0V3H2v.5a.5.5 0 0 1-1 0v-2c0-.27.22-.5.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1.5 6a.5.5 0 0 0-.5.5v6c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-11ZM2 7v5h10V7h-1v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H7.5v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H4v2.5a.5.5 0 0 1-1 0V7H2Z"})),stop:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M4.5 4a.5.5 0 0 0-.5.5v5c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),camera:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9 7a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M2.5 1a.5.5 0 0 0-.5.5V2H.5a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H6v-.5a.5.5 0 0 0-.5-.5h-3ZM1 3v8h12V3H1Z"})),video:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M2.5 10a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M0 4c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v.5l3.19-2.4a.5.5 0 0 1 .81.4v9a.5.5 0 0 1-.8.4L10 9.5v.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm9 0v1.5a.5.5 0 0 0 .8.4L13 3.5v7L9.8 8.1a.5.5 0 0 0-.8.4V10a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1Z"})),speaker:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1 4.50004V9.50004C1 9.77618 1.22386 10 1.5 10H4L7.17075 12.7744C7.49404 13.0573 8 12.8277 8 12.3982V1.60192C8 1.17235 7.49404 0.942757 7.17075 1.22564L4 4.00004H1.5C1.22386 4.00004 1 4.2239 1 4.50004ZM4 9.00004V5.00004H2V9.00004H4ZM4.99804 9.54456C4.99934 9.52989 5 9.51505 5 9.50004V4.50004C5 4.48504 4.99934 4.47019 4.99804 4.45552L7 2.70381V11.2963L4.99804 9.54456Z"}),import_react6.default.createElement("path",{d:"M10.1498 1.75202C9.88637 1.66927 9.60572 1.81577 9.52297 2.07922C9.44023 2.34267 9.58672 2.62332 9.85017 2.70607C11.6763 3.27963 13 4.98596 13 7.00014C13 9.01433 11.6763 10.7207 9.85017 11.2942C9.58672 11.377 9.44023 11.6576 9.52297 11.9211C9.60572 12.1845 9.88637 12.331 10.1498 12.2483C12.3808 11.5476 14 9.4636 14 7.00014C14 4.53669 12.3808 2.45272 10.1498 1.75202Z"}),import_react6.default.createElement("path",{d:"M10.2504 3.96861C10.0113 3.83033 9.70547 3.91201 9.5672 4.15105C9.42893 4.39008 9.51061 4.69594 9.74964 4.83421C10.4982 5.26723 11 6.07534 11 7.00006C11 7.92479 10.4982 8.7329 9.74964 9.16591C9.51061 9.30418 9.42893 9.61005 9.5672 9.84908C9.70547 10.0881 10.0113 10.1698 10.2504 10.0315C11.2952 9.42711 12 8.29619 12 7.00006C12 5.70394 11.2952 4.57302 10.2504 3.96861Z"})),play:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"m12.81 7.43-9.05 5.6A.5.5 0 0 1 3 12.6V1.4c0-.4.43-.63.76-.43l9.05 5.6a.5.5 0 0 1 0 .86Z"})),playback:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M11.24 12.04 3.7 7.42a.5.5 0 0 1-.2-.23v4.05a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0V6.8a.5.5 0 0 1 .2-.23l7.54-4.6a.5.5 0 0 1 .76.42v9.22a.5.5 0 0 1-.76.43Z"})),playnext:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"m2.76 12.04 7.54-4.61a.5.5 0 0 0 .2-.23v4.05a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0V6.8a.5.5 0 0 0-.2-.23l-7.54-4.6a.5.5 0 0 0-.76.42v9.22c0 .39.43.63.76.43Z"})),rewind:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M9 2.42v2.32L13.23 2a.5.5 0 0 1 .77.42v9.16a.5.5 0 0 1-.77.42L9 9.26v2.32a.5.5 0 0 1-.77.42L1.5 7.65v3.6a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0v3.6L8.23 2a.5.5 0 0 1 .77.42Z"})),fastforward:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5 2.42v2.32L.77 2a.5.5 0 0 0-.77.42v9.16c0 .4.44.64.77.42L5 9.26v2.32c0 .4.44.64.77.42l6.73-4.35v3.6a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0v3.6L5.77 2a.5.5 0 0 0-.77.42Z"})),stopalt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11Z"})),sidebyside:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12V2h5v10H2Z"})),stacked:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M12.5 1c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11ZM2 2h10v5H2V2Z"})),sun:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0V2a.5.5 0 0 0 1 0V.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm0-1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),import_react6.default.createElement("path",{d:"M7 11.5c.28 0 .5.22.5.5v1.5a.5.5 0 0 1-1 0V12c0-.28.22-.5.5-.5ZM11.5 7c0-.28.22-.5.5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5ZM.5 6.5a.5.5 0 0 0 0 1H2a.5.5 0 0 0 0-1H.5ZM3.82 10.18c.2.2.2.51 0 .7l-1.06 1.07a.5.5 0 1 1-.71-.7l1.06-1.07c.2-.2.51-.2.7 0ZM11.95 2.76a.5.5 0 1 0-.7-.71l-1.07 1.06a.5.5 0 1 0 .7.7l1.07-1.05ZM10.18 10.18c.2-.2.51-.2.7 0l1.07 1.06a.5.5 0 1 1-.7.71l-1.07-1.06a.5.5 0 0 1 0-.7ZM2.76 2.05a.5.5 0 1 0-.71.7l1.06 1.07a.5.5 0 0 0 .7-.7L2.77 2.04Z"})),moon:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7.78.04a7.03 7.03 0 0 0-4.28.9 7 7 0 1 0 9.87 8.96c.1-.21-.14-.41-.36-.32a4.98 4.98 0 0 1-2 .42A5 5 0 0 1 8.53.65c.2-.12.19-.44-.04-.49a7.04 7.04 0 0 0-.72-.12Zm-1.27.98a6 6 0 0 0 4.98 9.96 6 6 0 1 1-4.98-9.96Z"})),book:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M13 2a2 2 0 0 0-2-2H1.5a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5H11a2 2 0 0 0 2-2V2ZM3 13h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H7v6a.5.5 0 0 1-.86.36L5.5 6.7l-.65.65A.5.5 0 0 1 4 7V1H3v12ZM5 1v4.8l.15-.15a.5.5 0 0 1 .74.04l.11.1V1H5Z"})),document:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M4 5.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5ZM4.5 7.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM4 10.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1.5 0a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5V3.2a.5.5 0 0 0-.15-.35l-2.7-2.7A.5.5 0 0 0 9.79 0H1.5ZM2 1h7.5v2c0 .28.22.5.5.5h2V13H2V1Z"})),copy:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M11.75.07A.5.5 0 0 0 11.5 0h-6a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h8a.5.5 0 0 0 .5-.5V11h4.5a.5.5 0 0 0 .5-.5V2.51a.5.5 0 0 0-.15-.36l-2-2a.5.5 0 0 0-.1-.08ZM9 10h4V3h-1.5a.5.5 0 0 1-.5-.5V1H6v2h.5a.5.5 0 0 1 .36.15l1.99 2c.1.09.15.21.15.35v4.51ZM1 4v9h7V6H6.5a.5.5 0 0 1-.5-.5V4H1Z"})),category:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M3 1.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Zm-1 2c0-.27.22-.5.5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1 5.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7ZM2 12V6h10v6H2Z"})),folder:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M6.59 3.5 5.09 2H1v9h12V3.5H6.59Zm.41-1L5.8 1.3a1 1 0 0 0-.71-.3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H7Z"})),print:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M4.5 8a.5.5 0 1 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M2 1.5c0-.27.22-.5.5-.5h8a.5.5 0 0 1 .36.15l.99 1c.1.09.15.21.15.35v1.51h1.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-.5.5H12v2.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10H.5a.5.5 0 0 1-.5-.5v-5c0-.28.22-.5.5-.5H2V1.5ZM13 9h-1V6.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5V9H1V5h12v4Zm-2-6v1H3V2h7v.5c0 .28.22.5.5.5h.5Zm-8 9h8V7H3v5Z"})),graphline:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5.15 6.15c.2-.2.5-.2.7 0L7 7.3l2.15-2.15c.2-.2.5-.2.7 0l1 1a.5.5 0 0 1-.7.7l-.65-.64-2.15 2.15a.5.5 0 0 1-.7 0L5.5 7.2 3.85 8.86a.5.5 0 1 1-.7-.71l2-2Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1.5 1a.5.5 0 0 0-.5.5v11c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-11ZM2 2v10h10V2H2Z"})),calendar:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3.5 0c.28 0 .5.22.5.5V1h6V.5a.5.5 0 0 1 1 0V1h1.5c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.28.22-.5.5-.5H3V.5c0-.28.22-.5.5-.5ZM2 4v2.3h3V4H2Zm0 5.2V6.8h3v2.4H2Zm0 .5V12h3V9.7H2Zm3.5 0V12h3V9.7h-3Zm3.5 0V12h3V9.7H9Zm3-.5H9V6.8h3v2.4Zm-3.5 0h-3V6.8h3v2.4ZM9 4v2.3h3V4H9ZM5.5 6.3h3V4h-3v2.3Z"})),graphbar:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M12 2.5a.5.5 0 0 0-1 0v10a.5.5 0 0 0 1 0v-10Zm-3 2a.5.5 0 0 0-1 0v8a.5.5 0 0 0 1 0v-8ZM5.5 7c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0v-5c0-.28.22-.5.5-.5ZM3 10.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2Z"})),menu:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M13 2a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h12Zm-3 3a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h9Zm1.5 3.5A.5.5 0 0 0 11 8H1a.5.5 0 0 0 0 1h10a.5.5 0 0 0 .5-.5Zm-4 2.5a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h6.5Z"})),menualt:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm3 3a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H4ZM2.5 8.5c0-.28.22-.5.5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5Zm4 2.5a.5.5 0 0 0 0 1H13a.5.5 0 0 0 0-1H6.5Z"})),filter:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm2 3a.5.5 0 0 0 0 1h8a.5.5 0 0 0 0-1H3Zm1.5 3.5c0-.28.22-.5.5-.5h4a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5Zm2 2.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"})),docchart:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1 1.5C1 1.22386 1.22386 1 1.5 1H12.5C12.7761 1 13 1.22386 13 1.5V12.5C13 12.7761 12.7761 13 12.5 13H1.5C1.22386 13 1 12.7761 1 12.5V1.5ZM2 4V6.2998H5V4H2ZM2 9.2002V6.7998H5V9.2002H2ZM2 9.7002V12H5V9.7002H2ZM5.5 9.7002V12H8.5V9.7002H5.5ZM9 9.7002V12H12V9.7002H9ZM12 9.2002H9V6.7998H12V9.2002ZM8.5 9.2002H5.5V6.7998H8.5V9.2002ZM9 6.2998H12V4H9V6.2998ZM5.5 6.2998H8.5V4H5.5V6.2998Z"})),doclist:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M3.5 6.5c0-.28.22-.5.5-.5h6a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.5-.5ZM4 9a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H4Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 4v8h10V4H2Z"})),markup:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M8.98 1.63a.5.5 0 0 0-.96-.26l-3 11a.5.5 0 1 0 .96.26l3-11ZM3.32 3.62a.5.5 0 0 1 .06.7L1.15 7l2.23 2.68a.5.5 0 1 1-.76.64l-2.5-3a.5.5 0 0 1 0-.64l2.5-3a.5.5 0 0 1 .7-.06Zm7.36 0a.5.5 0 0 0-.06.7L12.85 7l-2.23 2.68a.5.5 0 0 0 .76.64l2.5-3a.5.5 0 0 0 0-.64l-2.5-3a.5.5 0 0 0-.7-.06Z"})),bold:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 0 0 1.8-5.4A2.74 2.74 0 0 0 8 2H3Zm5 5.5H5.5v3H8a1.5 1.5 0 1 0 0-3Zm-.25-4H5.5V6h2.25a1.25 1.25 0 1 0 0-2.5Z"})),italic:import_react6.default.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2Z"}),paperclip:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M10.55 2.27a1.5 1.5 0 0 0-2.12 0L2.78 7.92a2.5 2.5 0 0 0 3.53 3.54l3.54-3.54a.5.5 0 1 1 .7.71l-3.53 3.54a3.5 3.5 0 0 1-4.96-4.94v-.01l5.66-5.66h.01a2.5 2.5 0 0 1 3.53 3.53L5.6 10.76a1.5 1.5 0 0 1-2.12-2.12L7.02 5.1a.5.5 0 1 1 .7.7L4.2 9.34a.5.5 0 0 0 .7.7l5.66-5.65a1.5 1.5 0 0 0 0-2.12Z"})),listordered:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5 2.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm.5 4a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm-3-9H1v1h1v3h1V2.5a.5.5 0 0 0-.5-.5ZM3 8.5v1a.5.5 0 0 1-1 0V9h-.5a.5.5 0 0 1 0-1h1c.28 0 .5.22.5.5Zm-1 2a.5.5 0 0 0-1 0V12h2v-1H2v-.5Z"})),listunordered:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M2.75 2.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM5.5 2a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm0 9a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7ZM2 12.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm-3 .75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"})),paragraph:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M6 7a3 3 0 1 1 0-6h5.5a.5.5 0 0 1 0 1H10v10.5a.5.5 0 0 1-1 0V2H7v10.5a.5.5 0 0 1-1 0V7Z"})),markdown:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M2 4.5h1.5L5 6.38 6.5 4.5H8v5H6.5V7L5 8.88 3.5 7v2.5H2v-5Zm7.75 0h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M.5 2a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5ZM1 3v8h12V3H1Z"})),repository:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M5 2.5C5 2.77614 4.77614 3 4.5 3C4.22386 3 4 2.77614 4 2.5C4 2.22386 4.22386 2 4.5 2C4.77614 2 5 2.22386 5 2.5Z"}),import_react6.default.createElement("path",{d:"M4.5 5C4.77614 5 5 4.77614 5 4.5C5 4.22386 4.77614 4 4.5 4C4.22386 4 4 4.22386 4 4.5C4 4.77614 4.22386 5 4.5 5Z"}),import_react6.default.createElement("path",{d:"M5 6.5C5 6.77614 4.77614 7 4.5 7C4.22386 7 4 6.77614 4 6.5C4 6.22386 4.22386 6 4.5 6C4.77614 6 5 6.22386 5 6.5Z"}),import_react6.default.createElement("path",{fillRule:"evenodd",d:"M11 0C12.1046 0 13 0.895431 13 2V12C13 13.1046 12.1046 14 11 14H1.5C1.22386 14 1 13.7761 1 13.5V0.5C1 0.223857 1.22386 0 1.5 0H11ZM11 1H3V13H11C11.5523 13 12 12.5523 12 12V2C12 1.44772 11.5523 1 11 1Z"})),commit:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M3.03 7.5a4 4 0 0 0 7.94 0h2.53a.5.5 0 0 0 0-1h-2.53a4 4 0 0 0-7.94 0H.5a.5.5 0 0 0 0 1h2.53ZM7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"})),branch:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M6 2.5c0 .65-.42 1.2-1 1.41v4.06A3.36 3.36 0 0 1 7.5 7a2.7 2.7 0 0 0 1.81-.56c.22-.18.38-.4.48-.62a1.5 1.5 0 1 1 1.03.15c-.16.42-.43.87-.86 1.24-.57.47-1.37.79-2.46.79-1.04 0-1.64.42-2 .92-.26.37-.4.8-.47 1.18A1.5 1.5 0 1 1 4 10.09V3.9a1.5 1.5 0 1 1 2-1.4Zm-2 9a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm1-9a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm6 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),pullrequest:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M8.35 1.35 7.71 2h.79A2.5 2.5 0 0 1 11 4.5v5.59a1.5 1.5 0 1 1-1 0V4.5C10 3.67 9.33 3 8.5 3h-.8l.65.65a.5.5 0 1 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7ZM11 11.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0ZM4 3.91a1.5 1.5 0 1 0-1 0v6.18a1.5 1.5 0 1 0 1 0V3.9ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm0-8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),merge:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M4.1 3.87a1.5 1.5 0 1 0-1.1.04v6.18a1.5 1.5 0 1 0 1 0V6.4c.26.4.57.77.93 1.08A6.57 6.57 0 0 0 9.08 9a1.5 1.5 0 1 0 0-1 5.57 5.57 0 0 1-3.5-1.25 4.74 4.74 0 0 1-1.47-2.87ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1ZM4 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm7 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),apple:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M11.03 8.1a3.05 3.05 0 0 1-.2-1.74 2.7 2.7 0 0 1 1.4-1.94 3.13 3.13 0 0 0-2.35-1.4c-.84-.08-2.01.56-2.65.57h-.02c-.63 0-1.81-.65-2.64-.57-.42.04-1.75.32-2.55 1.6-.28.44-.5 1.01-.58 1.74a6.36 6.36 0 0 0 .02 1.74 7.5 7.5 0 0 0 1.35 3.33c.7 1.01 1.51 1.6 1.97 1.6.93.02 1.74-.6 2.41-.6l.02.01h.04c.67-.02 1.48.61 2.42.6.45-.02 1.26-.6 1.97-1.6a7.95 7.95 0 0 0 .97-1.86 2.6 2.6 0 0 1-1.58-1.48ZM8.86 2.13c.72-.85.7-2.07.63-2.12-.07-.06-1.25.16-1.99.98a2.78 2.78 0 0 0-.62 2.13c.06.05 1.27-.14 1.98-.99Z"})),linux:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M7 0a3 3 0 0 1 3 3v1.24c.13.13.25.27.36.42l.52.43.2.15c.32.26.7.59 1.09.97A6.28 6.28 0 0 1 14 9.54a.5.5 0 0 1-.35.44c-.31.1-.8.18-1.34.13-.33-.03-.7-.12-1.05-.3-.04.17-.1.34-.17.51a2 2 0 1 1-2.89 2.56 5.5 5.5 0 0 1-2.4 0 2 2 0 1 1-2.9-2.56 5.56 5.56 0 0 1-.16-.51c-.35.18-.72.27-1.05.3a3.4 3.4 0 0 1-1.34-.13.5.5 0 0 1-.35-.44l.01-.14a6.28 6.28 0 0 1 1.82-3.2 13.42 13.42 0 0 1 1.3-1.11c.22-.19.4-.32.5-.43.12-.15.24-.29.37-.42V3a3 3 0 0 1 3-3Zm1 11.9a2 2 0 0 1 2.14-1.9 5.5 5.5 0 0 0 .36-2c0-.51-.1-1.07-.3-1.6l-.03-.02a4.4 4.4 0 0 0-.86-.42 6.71 6.71 0 0 0-1-.31l-.86.64c-.27.2-.63.2-.9 0l-.85-.64a6.72 6.72 0 0 0-1.87.73l-.03.02A4.6 4.6 0 0 0 3.5 8c0 .68.11 1.39.36 2H4a2 2 0 0 1 2 1.9 4.49 4.49 0 0 0 2 0ZM5 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm6 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6.1 4.3a1.5 1.5 0 0 1 1.8 0l.27.2L7 5.38 5.83 4.5l.27-.2ZM8.5 2c.28 0 .5.22.5.5V3a.5.5 0 0 1-1 0v-.5c0-.28.22-.5.5-.5ZM6 2.5a.5.5 0 0 0-1 0V3a.5.5 0 0 0 1 0v-.5Z"})),ubuntu:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M12.26 2.07c0 1.14-.89 2.06-1.99 2.06s-1.99-.92-1.99-2.06c0-1.14.9-2.07 2-2.07s1.98.93 1.98 2.07ZM3.98 6.6c0 1.14-.9 2.07-2 2.07C.9 8.67 0 7.74 0 6.6c0-1.14.9-2.07 1.99-2.07 1.1 0 1.99.93 1.99 2.07ZM6.47 11.92a4.76 4.76 0 0 1-3.3-2.62c-.53.25-1.12.33-1.7.22a6.72 6.72 0 0 0 1.84 2.63 6.38 6.38 0 0 0 4.24 1.58c-.37-.5-.57-1.1-.59-1.73a4.77 4.77 0 0 1-.49-.08ZM11.81 11.93c0 1.14-.89 2.07-1.99 2.07s-1.98-.93-1.98-2.07c0-1.14.89-2.06 1.98-2.06 1.1 0 2 .92 2 2.06ZM12.6 11.17a6.93 6.93 0 0 0 .32-7.93A2.95 2.95 0 0 1 11.8 4.6a5.23 5.23 0 0 1-.16 5.03c.47.4.8.94.95 1.54ZM1.99 3.63h-.15A6.48 6.48 0 0 1 8 .24a3.07 3.07 0 0 0-.6 1.68 4.7 4.7 0 0 0-3.9 2.17c-.46-.3-.98-.45-1.51-.45Z"})),windows:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M6.5 1H1v5.5h5.5V1ZM13 1H7.5v5.5H13V1ZM7.5 7.5H13V13H7.5V7.5ZM6.5 7.5H1V13h5.5V7.5Z"})),storybook:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M2.04.62a.7.7 0 0 0-.66.72l.44 11.56c.01.37.3.66.67.68l9.4.42h.02a.7.7 0 0 0 .7-.7V.66a.7.7 0 0 0-.74-.66l-.77.05.05 1.62a.1.1 0 0 1-.17.08l-.52-.4-.61.46a.1.1 0 0 1-.17-.09L9.75.13l-7.7.49Zm8 4.74c-.24.2-2.09.33-2.09.05.04-1.04-.43-1.09-.69-1.09-.24 0-.66.08-.66.64 0 .57.6.89 1.32 1.27 1.02.53 2.24 1.18 2.24 2.82 0 1.57-1.27 2.43-2.9 2.43-1.67 0-3.14-.68-2.97-3.03.06-.27 2.2-.2 2.2 0-.03.97.19 1.26.75 1.26.43 0 .62-.24.62-.64 0-.6-.63-.95-1.36-1.36-.99-.56-2.15-1.2-2.15-2.7 0-1.5 1.03-2.5 2.86-2.5 1.83 0 2.84.99 2.84 2.85Z"})),azuredevops:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"m0 5.18 1.31-1.73 4.9-2V.01l4.3 3.15-8.78 1.7v4.8L0 9.16V5.18Zm14-2.6v8.55l-3.36 2.86-5.42-1.79V14L1.73 9.66l8.78 1.05V3.16L14 2.58Z"})),bitbucket:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M1 1.52A.41.41 0 0 0 .59 2l1.74 10.6c.05.26.28.46.55.46h8.37c.2 0 .38-.14.42-.34l1.01-6.25H8.81l-.46 2.71H5.68L4.95 5.4h7.91L13.4 2a.41.41 0 0 0-.41-.48H1Z"})),chrome:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M13.02 3.43a.11.11 0 0 1-.1.17H7a3.4 3.4 0 0 0-3.3 2.55.11.11 0 0 1-.21.03L1.52 2.76a.11.11 0 0 1 0-.12 6.97 6.97 0 0 1 9-1.7c1.03.6 1.9 1.47 2.5 2.5ZM7 9.62a2.62 2.62 0 1 1 0-5.24 2.62 2.62 0 0 1 0 5.24Zm1.03.7a.11.11 0 0 0-.12-.04 3.4 3.4 0 0 1-4-1.84L1.1 3.57a.11.11 0 0 0-.2 0 7 7 0 0 0 5.07 10.35c.04 0 .08-.02.1-.05l1.97-3.42a.11.11 0 0 0 0-.13Zm1.43-5.95h3.95c.05 0 .1.03.1.07a6.97 6.97 0 0 1-1.53 7.48A6.96 6.96 0 0 1 7.08 14a.11.11 0 0 1-.1-.17l2.81-4.88h.01a3.38 3.38 0 0 0-.42-4.38.11.11 0 0 1 .08-.2Z"})),chromatic:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 0 14 0A7 7 0 0 0 0 7Zm5.22-3.87a1.97 1.97 0 0 1 3.75.83v1.29L5.61 3.32a2.49 2.49 0 0 0-.4-.19ZM8.7 5.71 5.35 3.78a1.97 1.97 0 0 0-2.6 2.83c.12-.1.24-.18.37-.26l1.51-.87a.27.27 0 0 1 .27 0L7 6.69l1.7-.98Zm-.32 4.97-1.52-.87a.27.27 0 0 1-.13-.23V7.15l-1.7-.97v3.86a1.97 1.97 0 0 0 3.75.83 2.5 2.5 0 0 1-.4-.19Zm.26-.46a1.97 1.97 0 0 0 2.6-2.83c-.11.1-.23.18-.36.26L7.53 9.58l1.11.64Zm-4.1.26h-.17a1.97 1.97 0 0 1-1.9-2.47 2 2 0 0 1 .92-1.2l1.11-.63v3.86c0 .14.01.29.04.44Zm6.79-5.98a1.97 1.97 0 0 0-1.87-.97c.03.14.04.29.04.43v1.75c0 .1-.05.19-.14.23l-2.1 1.22V9.1l3.35-1.93a1.97 1.97 0 0 0 .72-2.68Z"})),componentdriven:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M10.85 2.18 8.87.2a.69.69 0 0 0-.97 0L3.09 5.01a.69.69 0 0 0 0 .97l2.46 2.46-2.4 2.4a.69.69 0 0 0 0 .98l1.98 1.98c.27.27.7.27.97 0l4.8-4.81a.69.69 0 0 0 0-.97L8.45 5.56l2.4-2.4a.69.69 0 0 0 0-.98Z"})),discord:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M11.85 2.88C10.95 2.48 10 2.18 9 2a7.05 7.05 0 0 0-.4.75 10.66 10.66 0 0 0-3.2 0c-.1-.23-.24-.5-.36-.73A.04.04 0 0 0 4.99 2a11.51 11.51 0 0 0-2.86.9 11.82 11.82 0 0 0-2.05 8 11.6 11.6 0 0 0 3.5 1.77c.01 0 .03 0 .04-.02.27-.36.51-.75.72-1.16a.04.04 0 0 0-.03-.06 7.66 7.66 0 0 1-1.09-.52.04.04 0 0 1 0-.08 5.96 5.96 0 0 0 .26-.17 8.28 8.28 0 0 0 7.08 0l.22.17c.02.02.02.06 0 .08-.36.2-.72.37-1.1.52a.04.04 0 0 0-.02.06c.2.4.45.8.71 1.16.01.02.03.02.05.02a11.57 11.57 0 0 0 3.52-1.8 11.74 11.74 0 0 0-2.09-7.99Zm-7.17 6.4c-.7 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.56 1.42-1.26 1.42Zm4.65 0c-.69 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.55 1.42-1.26 1.42Z"})),facebook:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.4 14H5.06V7H3.5V4.59h1.56V3.17C5.06 1.2 5.53 0 7.6 0h1.72v2.41H8.25c-.8 0-.85.34-.85.97v1.2h1.93L9.11 7H7.4l-.01 7Z"})),figma:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{fillRule:"evenodd",d:"M9.2 0H4.8a2.6 2.6 0 0 0-1.4 4.8 2.6 2.6 0 0 0 0 4.4 2.6 2.6 0 1 0 4 2.2V8.89a2.6 2.6 0 1 0 3.2-4.09A2.6 2.6 0 0 0 9.2 0ZM7.4 7A1.8 1.8 0 1 0 11 7a1.8 1.8 0 0 0-3.6 0Zm-.8 2.6H4.8a1.8 1.8 0 1 0 1.8 1.8V9.6ZM4.8 4.4h1.8V.8H4.8a1.8 1.8 0 0 0 0 3.59Zm0 .8a1.8 1.8 0 0 0 0 3.6h1.8V5.2H4.8Zm4.4-.8H7.4V.8h1.8a1.8 1.8 0 1 1 0 3.59Z"})),gdrive:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M6.37 8.77 4.33 12.3h6.75l2.04-3.54H6.38Zm6.18-1-3.5-6.08h-4.1l3.51 6.08h4.09ZM4.38 2.7.88 8.77l2.04 3.54 3.5-6.07L4.38 2.7Z"})),github:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7 0a7 7 0 0 0-2.21 13.64c.35.06.48-.15.48-.33L5.26 12c-1.76.32-2.21-.43-2.35-.83-.08-.2-.43-.82-.72-.99-.25-.13-.6-.45-.01-.46.55 0 .94.5 1.07.72.63 1.06 1.64.76 2.04.58.07-.46.25-.77.45-.94-1.56-.18-3.19-.78-3.19-3.46 0-.76.28-1.39.72-1.88-.07-.17-.31-.9.07-1.85 0 0 .59-.19 1.93.71a6.5 6.5 0 0 1 3.5 0c1.34-.9 1.92-.71 1.92-.71.39.96.14 1.68.07 1.85.45.5.72 1.11.72 1.88 0 2.69-1.64 3.28-3.2 3.46.26.22.48.64.48 1.3l-.01 1.92c0 .18.13.4.48.33A7.01 7.01 0 0 0 7 0Z"})),gitlab:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M4.53 5.58H1.07l1.49-4.55a.26.26 0 0 1 .48 0l1.49 4.55ZM7 13.15 1.07 5.58l-.75 2.3a.5.5 0 0 0 .18.57l6.5 4.7Zm0 0 6.5-4.7a.5.5 0 0 0 .18-.57l-.75-2.3L7 13.15l2.47-7.57H4.53L7 13.15Zm2.47-7.57h3.46l-1.49-4.55a.26.26 0 0 0-.48 0L9.47 5.58Z"})),google:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M10.92 1.1H7.26c-1.64 0-3.19 1.24-3.19 2.68 0 1.47 1.12 2.66 2.8 2.66l.33-.01c-.1.2-.18.44-.18.68 0 .41.22.75.5 1.02h-.64c-2.03 0-3.6 1.3-3.6 2.64 0 1.32 1.72 2.15 3.75 2.15 2.32 0 3.6-1.31 3.6-2.64 0-1.06-.31-1.7-1.28-2.38-.33-.23-.96-.8-.96-1.14 0-.39.1-.58.7-1.04a2.46 2.46 0 0 0 1.03-1.92c0-.92-.4-1.82-1.18-2.11h1.17l.81-.6ZM9.6 10.04c.03.13.05.25.05.38 0 1.07-.7 1.9-2.67 1.9-1.4 0-2.42-.88-2.42-1.95 0-1.05 1.26-1.92 2.66-1.9a3 3 0 0 1 .92.14c.76.53 1.3.83 1.46 1.43ZM7.34 6.07c-.94-.03-1.84-1.06-2-2.3-.17-1.24.47-2.19 1.41-2.16.94.03 1.84 1.03 2 2.26.17 1.24-.47 2.23-1.41 2.2Z"})),graphql:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M7.87 11.6a1.17 1.17 0 0 0-1.7-.02l-2.71-1.56.01-.04h7.07l.02.07-2.69 1.56Zm-1.7-9.18.03.03-3.54 6.12h-.04V5.43a1.17 1.17 0 0 0 .84-1.46l2.7-1.56Zm4.38 1.56a1.17 1.17 0 0 0 .84 1.46v3.12l-.04.01-3.54-6.12c.02 0 .03-.02.04-.03l2.7 1.56ZM3.47 9.42a1.17 1.17 0 0 0-.32-.57l3.53-6.12a1.17 1.17 0 0 0 .65 0l3.54 6.12a1.17 1.17 0 0 0-.33.57H3.47Zm8.8-.74c-.1-.05-.21-.1-.32-.12V5.44a1.17 1.17 0 1 0-1.12-1.94l-2.7-1.56a1.17 1.17 0 1 0-2.24 0L3.19 3.5a1.17 1.17 0 1 0-1.13 1.94v3.12a1.17 1.17 0 1 0 1.12 1.94l2.7 1.56a1.17 1.17 0 1 0 2.24-.03l2.69-1.55a1.17 1.17 0 1 0 1.45-1.8Z"})),medium:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M0 0v14h14V0H0Zm11.63 3.32-.75.72a.22.22 0 0 0-.08.2v5.33c0 .07.03.14.08.18l.73.72v.16H7.92v-.16l.76-.74c.08-.07.08-.1.08-.21V5.24l-2.11 5.37h-.29L3.9 5.24v3.67c0 .13.05.25.14.34l.99 1.2v.16h-2.8v-.16l.98-1.2a.48.48 0 0 0 .13-.41V4.65c0-.11-.04-.2-.12-.27l-.88-1.06v-.16h2.73l2.1 4.62 1.86-4.62h2.6v.16Z"})),redux:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M4.06 9.69c.02.49.42.88.91.88H5a.91.91 0 0 0-.03-1.83h-.03c-.03 0-.08 0-.11.02a5.97 5.97 0 0 1-.85-3.62c.06-.98.39-1.82.96-2.52.47-.6 1.39-.9 2-.92 1.73-.03 2.47 2.12 2.51 2.99.22.04.57.16.82.24-.2-2.64-1.83-4-3.4-4-1.46 0-2.81 1.05-3.35 2.61a6.67 6.67 0 0 0 .65 5.68.74.74 0 0 0-.11.47Zm8.28-2.3a6.62 6.62 0 0 0-5.15-2.25h-.26a.9.9 0 0 0-.8-.49H6.1a.91.91 0 0 0 .03 1.83h.03a.92.92 0 0 0 .8-.56h.3c1.23 0 2.4.36 3.47 1.06.81.54 1.4 1.24 1.72 2.09.28.68.26 1.35-.03 1.92a2.4 2.4 0 0 1-2.23 1.34c-.65 0-1.27-.2-1.6-.34-.18.16-.5.42-.73.58.7.33 1.41.5 2.1.5 1.56 0 2.72-.85 3.16-1.72.47-.94.44-2.57-.78-3.96ZM4.9 12.9a4 4 0 0 1-.98.11c-1.2 0-2.3-.5-2.84-1.32C.38 10.6.13 8.3 2.5 6.58c.05.26.15.62.22.83-.31.23-.8.68-1.11 1.3a2.4 2.4 0 0 0 .13 2.53c.36.54.93.86 1.66.96.9.11 1.8-.05 2.66-.5a5.83 5.83 0 0 0 2.67-2.56.91.91 0 0 1 .62-1.55h.03a.92.92 0 0 1 .1 1.82 6.26 6.26 0 0 1-4.56 3.49Z"})),twitter:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M14 2.55c-.51.23-1.07.39-1.65.46.6-.36 1.05-.94 1.26-1.63-.55.34-1.17.58-1.82.72a2.84 2.84 0 0 0-2.1-.93 2.9 2.9 0 0 0-2.8 3.61 8.09 8.09 0 0 1-5.9-3.07 2.99 2.99 0 0 0 .88 3.93 2.8 2.8 0 0 1-1.3-.37v.04c0 1.42 1 2.61 2.3 2.89a2.82 2.82 0 0 1-1.3.05 2.89 2.89 0 0 0 2.7 2.04A5.67 5.67 0 0 1 0 11.51a7.98 7.98 0 0 0 4.4 1.32c5.29 0 8.17-4.48 8.17-8.38v-.38A5.93 5.93 0 0 0 14 2.55Z"})),youtube:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M13.99 8.17V5.83a14.95 14.95 0 0 0-.23-2.22c-.09-.38-.27-.7-.55-.96s-.6-.41-.97-.45A51.3 51.3 0 0 0 7 2c-2.34 0-4.09.07-5.24.2A1.78 1.78 0 0 0 .25 3.61 15.26 15.26 0 0 0 0 7v1.16a15.24 15.24 0 0 0 .24 2.22c.09.38.27.7.55.96.27.26.6.41.97.45 1.15.13 2.9.2 5.24.2 2.34 0 4.08-.06 5.24-.2.37-.04.7-.19.97-.45s.45-.58.54-.96a15.26 15.26 0 0 0 .24-2.22Zm-4.23-1.6c.16.1.24.24.24.43 0 .2-.08.33-.24.42l-4 2.5a.44.44 0 0 1-.26.08.54.54 0 0 1-.24-.06A.46.46 0 0 1 5 9.5v-5c0-.2.08-.34.26-.44.17-.1.34-.09.5.02l4 2.5Z"})),vscode:import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement("path",{d:"M10.24.04c.13 0 .26.03.38.09L13.5 1.5a.87.87 0 0 1 .5.8v.03-.01 9.39c0 .33-.2.63-.5.78l-2.88 1.38a.87.87 0 0 1-1-.17l-5.5-5.03-2.4 1.83a.58.58 0 0 1-.75-.04l-.77-.7a.58.58 0 0 1 0-.86L2.27 7 .2 5.1a.58.58 0 0 1 0-.86l.77-.7c.21-.2.52-.2.75-.04l2.4 1.83L9.63.3a.87.87 0 0 1 .61-.26Zm.26 3.78L6.32 7l4.18 3.18V3.82Z"}))},Svg=newStyled.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + + path { + fill: currentColor; + } +`,Icons=({icon,useSymbol,...props})=>import_react6.default.createElement(Svg,{viewBox:"0 0 14 14",width:"14px",height:"14px",...props},useSymbol?import_react6.default.createElement("use",{xlinkHref:`#icon--${icon}`}):icons[icon]),Symbols=(0,import_react6.memo)(function({icons:keys2=Object.keys(icons)}){return import_react6.default.createElement(Svg,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},keys2.map(key2=>import_react6.default.createElement("symbol",{id:`icon--${key2}`,key:key2},icons[key2])))}),LEFT_BUTTON=0,isPlainLeftClick=e3=>e3.button===LEFT_BUTTON&&!e3.altKey&&!e3.ctrlKey&&!e3.metaKey&&!e3.shiftKey,cancelled=(e3,cb)=>{isPlainLeftClick(e3)&&(e3.preventDefault(),cb(e3))},LinkInner=newStyled.span(({withArrow})=>withArrow?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon})=>containsIcon?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),A22=newStyled.a(({theme})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:theme.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:curriedDarken$1(.07,theme.color.secondary),"svg path:not([fill])":{fill:curriedDarken$1(.07,theme.color.secondary)}},"&:active":{color:curriedDarken$1(.1,theme.color.secondary),"svg path:not([fill])":{fill:curriedDarken$1(.1,theme.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:theme.color.secondary}}}),({theme,secondary,tertiary})=>{let colors;return secondary&&(colors=[theme.textMutedColor,theme.color.dark,theme.color.darker]),tertiary&&(colors=[theme.color.dark,theme.color.darkest,theme.textMutedColor]),colors?{color:colors[0],"svg path:not([fill])":{fill:colors[0]},"&:hover":{color:colors[1],"svg path:not([fill])":{fill:colors[1]}},"&:active":{color:colors[2],"svg path:not([fill])":{fill:colors[2]}}}:{}},({nochrome})=>nochrome?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme,inverse})=>inverse?{color:theme.color.lightest,":not([fill])":{fill:theme.color.lightest},"&:hover":{color:theme.color.lighter,"svg path:not([fill])":{fill:theme.color.lighter}},"&:active":{color:theme.color.light,"svg path:not([fill])":{fill:theme.color.light}}}:{},({isButton})=>isButton?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Link22=({cancel,children,onClick,withArrow,containsIcon,className,...rest})=>import_react6.default.createElement(A22,{...rest,onClick:onClick&&cancel?e3=>cancelled(e3,onClick):onClick,className},import_react6.default.createElement(LinkInner,{withArrow,containsIcon},children,withArrow&&import_react6.default.createElement(Icons,{icon:"arrowright"})));Link22.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var DocumentWrapper=newStyled.div(({theme})=>({fontSize:`${theme.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${theme.typography.size.l1}px`,fontWeight:theme.typography.weight.bold},h2:{fontSize:`${theme.typography.size.m2}px`,borderBottom:`1px solid ${theme.appBorderColor}`},h3:{fontSize:`${theme.typography.size.m1}px`},h4:{fontSize:`${theme.typography.size.s3}px`},h5:{fontSize:`${theme.typography.size.s2}px`},h6:{fontSize:`${theme.typography.size.s2}px`,color:theme.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:theme.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${theme.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${theme.color.medium}`,padding:"0 15px",color:theme.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${theme.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${theme.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${theme.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:theme.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${theme.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:theme.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${theme.color.mediumlight}`,backgroundColor:theme.color.lighter,borderRadius:3,color:theme.base==="dark"&&theme.color.darkest}})),languages=[],Comp=null,LazySyntaxHighlighter=(0,import_react6.lazy)(async()=>{let{SyntaxHighlighter:SyntaxHighlighter3}=await import("./syntaxhighlighter-PONEFOSF-PLQPOLN2.js");return languages.length>0&&(languages.forEach(args2=>{SyntaxHighlighter3.registerLanguage(...args2)}),languages=[]),Comp===null&&(Comp=SyntaxHighlighter3),{default:props=>import_react6.default.createElement(SyntaxHighlighter3,{...props})}}),LazySyntaxHighlighterWithFormatter=(0,import_react6.lazy)(async()=>{let[{SyntaxHighlighter:SyntaxHighlighter3},{formatter}]=await Promise.all([import("./syntaxhighlighter-PONEFOSF-PLQPOLN2.js"),import("./formatter-SWP5E3XI-FS7NNRKF.js")]);return languages.length>0&&(languages.forEach(args2=>{SyntaxHighlighter3.registerLanguage(...args2)}),languages=[]),Comp===null&&(Comp=SyntaxHighlighter3),{default:props=>import_react6.default.createElement(SyntaxHighlighter3,{...props,formatter})}}),SyntaxHighlighter22=props=>import_react6.default.createElement(import_react6.Suspense,{fallback:import_react6.default.createElement("div",null)},props.format!==!1?import_react6.default.createElement(LazySyntaxHighlighterWithFormatter,{...props}):import_react6.default.createElement(LazySyntaxHighlighter,{...props}));SyntaxHighlighter22.registerLanguage=(...args2)=>{if(Comp!==null){Comp.registerLanguage(...args2);return}languages.push(args2)};var toNumber2=input=>typeof input=="number"?input:Number(input),Container=newStyled.div(({theme,col,row=1})=>col?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:col*theme.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${ignoreSsrWarning}`]:{marginLeft:0}}:{"& > *":{marginTop:row*theme.layoutMargin},[`& > *:first-child${ignoreSsrWarning}`]:{marginTop:0}},({theme,outer,col,row})=>{switch(!0){case!!(outer&&col):return{marginLeft:outer*theme.layoutMargin,marginRight:outer*theme.layoutMargin};case!!(outer&&row):return{marginTop:outer*theme.layoutMargin,marginBottom:outer*theme.layoutMargin};default:return{}}}),Spaced=({col,row,outer,children,...rest})=>{let outerAmount=toNumber2(typeof outer=="number"||!outer?outer:col||row);return import_react6.default.createElement(Container,{col,row,outer:outerAmount,...rest},children)},Title=newStyled.div(({theme})=>({fontWeight:theme.typography.weight.bold})),Desc=newStyled.div(),Message=newStyled.div(({theme})=>({padding:30,textAlign:"center",color:theme.color.defaultText,fontSize:theme.typography.size.s2-1})),Placeholder=({children,...props})=>{let[title,desc]=import_react6.Children.toArray(children);return import_react6.default.createElement(Message,{...props},import_react6.default.createElement(Title,null,title),desc&&import_react6.default.createElement(Desc,null,desc))},ZoomElementWrapper=newStyled.div(({scale=1,elementHeight})=>({height:elementHeight||"auto",transformOrigin:"top left",transform:`scale(${1/scale})`}));function ZoomElement({scale,children}){let componentWrapperRef=(0,import_react6.useRef)(null),[elementHeight,setElementHeight]=(0,import_react6.useState)(0),onResize=(0,import_react6.useCallback)(({height})=>{height&&setElementHeight(height/scale)},[scale]);return(0,import_react6.useEffect)(()=>{componentWrapperRef.current&&setElementHeight(componentWrapperRef.current.getBoundingClientRect().height)},[scale]),useResizeObserver({ref:componentWrapperRef,onResize}),import_react6.default.createElement(ZoomElementWrapper,{scale,elementHeight},import_react6.default.createElement("div",{ref:componentWrapperRef,className:"innerZoomElementWrapper"},children))}var ZoomIFrame=class extends import_react6.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef}=this.props;this.iframe=iFrameRef.current}shouldComponentUpdate(nextProps){let{scale,active}=this.props;return scale!==nextProps.scale&&this.setIframeInnerZoom(nextProps.scale),active!==nextProps.active&&this.iframe.setAttribute("data-is-storybook",nextProps.active?"true":"false"),nextProps.children.props.src!==this.props.children.props.src}setIframeInnerZoom(scale){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${scale*100}%`,height:`${scale*100}%`,transform:`scale(${1/scale})`,transformOrigin:"top left"})}catch{this.setIframeZoom(scale)}}setIframeZoom(scale){Object.assign(this.iframe.style,{width:`${scale*100}%`,height:`${scale*100}%`,transform:`scale(${1/scale})`,transformOrigin:"top left"})}render(){let{children}=this.props;return children}},Zoom={Element:ZoomElement,IFrame:ZoomIFrame},{document:document24}=scope,ErrorName=newStyled.strong(({theme})=>({color:theme.color.orange})),ErrorImportant=newStyled.strong(({theme})=>({color:theme.color.ancillary,textDecoration:"underline"})),ErrorDetail=newStyled.em(({theme})=>({color:theme.textMutedColor})),firstLineRegex=/(Error): (.*)\n/,linesRegexChromium=/at (?:(.*) )?\(?(.+)\)?/,linesRegexFirefox=/([^@]+)?(?:\/<)?@(.+)?/,linesRegexSafari=/([^@]+)?@(.+)?/,ErrorFormatter=({error})=>{if(!error)return import_react6.default.createElement(import_react6.Fragment,null,"This error has no stack or message");if(!error.stack)return import_react6.default.createElement(import_react6.Fragment,null,error.message||"This error has no stack or message");let input=error.stack.toString();input&&error.message&&!input.includes(error.message)&&(input=`Error: ${error.message} + +${input}`);let match=input.match(firstLineRegex);if(!match)return import_react6.default.createElement(import_react6.Fragment,null,input);let[,type,name2]=match,rawLines=input.split(/\n/).slice(1),[,...lines]=rawLines.map(line=>{let result2=line.match(linesRegexChromium)||line.match(linesRegexFirefox)||line.match(linesRegexSafari);return result2?{name:(result2[1]||"").replace("/<",""),location:result2[2].replace(document24.location.origin,"")}:null}).filter(Boolean);return import_react6.default.createElement(import_react6.Fragment,null,import_react6.default.createElement("span",null,type),": ",import_react6.default.createElement(ErrorName,null,name2),import_react6.default.createElement("br",null),lines.map((l2,i3)=>l2.name?import_react6.default.createElement(import_react6.Fragment,{key:i3}," ","at ",import_react6.default.createElement(ErrorImportant,null,l2.name)," (",import_react6.default.createElement(ErrorDetail,null,l2.location),")",import_react6.default.createElement("br",null)):import_react6.default.createElement(import_react6.Fragment,{key:i3}," ","at ",import_react6.default.createElement(ErrorDetail,null,l2.location),import_react6.default.createElement("br",null))))},ButtonWrapper=newStyled.button(({small,theme})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:small?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:`${small?theme.typography.size.s1:theme.typography.size.s2-1}px`,fontWeight:theme.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:small?12:14,width:small?12:14,verticalAlign:"top",marginRight:small?4:6,marginTop:small?0:-1,marginBottom:small?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}}),({disabled})=>disabled?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{},({containsIcon,small})=>containsIcon?{svg:{display:"block",margin:0},...small?{padding:10}:{padding:13}}:{},({theme,primary,secondary,gray})=>{let color2;return gray?color2=theme.color.mediumlight:secondary?color2=theme.color.secondary:primary&&(color2=theme.color.primary),color2?{background:color2,color:gray?theme.color.darkest:theme.color.lightest,"&:hover":{background:curriedDarken$1(.05,color2)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:`${rgba(color2,1)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${rgba(color2,.2)} 0 8px 18px 0px`}}:{}},({theme,tertiary,inForm,small})=>tertiary?{background:theme.button.background,color:theme.input.color,boxShadow:`${theme.button.border} 0 0 0 1px inset`,borderRadius:theme.input.borderRadius,...inForm&&small?{padding:"10px 16px"}:{},"&:hover":{background:theme.base==="light"?curriedDarken$1(.02,theme.button.background):curriedLighten$1(.03,theme.button.background),...inForm?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:theme.button.background},"&:focus":{boxShadow:`${rgba(theme.color.secondary,1)} 0 0 0 1px inset`,outline:"none"}}:{},({theme,outline})=>outline?{boxShadow:`${curriedTransparentize$1(.8,theme.color.defaultText)} 0 0 0 1px inset`,color:curriedTransparentize$1(.3,theme.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:`${curriedTransparentize$1(.5,theme.color.defaultText)} 0 0 0 1px inset`,outline:"none"},"&:active":{boxShadow:`${curriedTransparentize$1(.5,theme.color.defaultText)} 0 0 0 2px inset`,color:curriedTransparentize$1(0,theme.color.defaultText)}}:{},({theme,outline,primary})=>{let color2=theme.color.primary;return outline&&primary?{boxShadow:`${color2} 0 0 0 1px inset`,color:color2,"svg path:not([fill])":{fill:color2},"&:hover":{boxShadow:`${color2} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:color2,boxShadow:`${color2} 0 0 0 1px inset`,color:theme.color.tertiary},"&:focus":{boxShadow:`${color2} 0 0 0 1px inset, ${rgba(color2,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${color2} 0 0 0 1px inset, ${rgba(color2,.2)} 0 8px 18px 0px`}}:{}},({theme,outline,primary,secondary})=>{let color2;return secondary?color2=theme.color.secondary:primary&&(color2=theme.color.primary),outline&&color2?{boxShadow:`${color2} 0 0 0 1px inset`,color:color2,"svg path:not([fill])":{fill:color2},"&:hover":{boxShadow:`${color2} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:color2,boxShadow:`${color2} 0 0 0 1px inset`,color:theme.color.tertiary},"&:focus":{boxShadow:`${color2} 0 0 0 1px inset, ${rgba(color2,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${color2} 0 0 0 1px inset, ${rgba(color2,.2)} 0 8px 18px 0px`}}:{}}),ButtonLink=ButtonWrapper.withComponent("a"),Button=Object.assign((0,import_react6.forwardRef)(function({isLink,children,...props},ref){return isLink?import_react6.default.createElement(ButtonLink,{...props,ref},children):import_react6.default.createElement(ButtonWrapper,{...props,ref},children)}),{defaultProps:{isLink:!1}}),Wrapper=newStyled.label(({theme})=>({display:"flex",borderBottom:`1px solid ${theme.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Label=newStyled.span(({theme})=>({minWidth:100,fontWeight:theme.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),Field=({label,children,...props})=>import_react6.default.createElement(Wrapper,{...props},label?import_react6.default.createElement(Label,null,import_react6.default.createElement("span",null,label)):null,children);Field.defaultProps={label:void 0};var updateRef=function(ref,value2){if(typeof ref=="function"){ref(value2);return}ref.current=value2},useComposedRef=function(libRef,userRef){var prevUserRef=(0,import_react6.useRef)();return(0,import_react6.useCallback)(function(instance){libRef.current=instance,prevUserRef.current&&updateRef(prevUserRef.current,null),prevUserRef.current=userRef,userRef&&updateRef(userRef,instance)},[userRef])},use_composed_ref_esm_default=useComposedRef,noop=function(){},_excluded3=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],TextareaAutosize=function(_ref,userRef){_ref.cacheMeasurements,_ref.maxRows,_ref.minRows;var _ref$onChange=_ref.onChange,onChange=_ref$onChange===void 0?noop:_ref$onChange;_ref.onHeightChange;var props=_objectWithoutPropertiesLoose(_ref,_excluded3);props.value;var libRef=React5.useRef(null),ref=use_composed_ref_esm_default(libRef,userRef);return React5.useRef(0),React5.useRef(),React5.createElement("textarea",_extends({},props,{onChange,ref}))},index=React5.forwardRef(TextareaAutosize),styleResets={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},styles=({theme})=>({...styleResets,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:theme.input.color||"inherit",background:theme.input.background,boxShadow:`${theme.input.border} 0 0 0 1px inset`,borderRadius:theme.input.borderRadius,fontSize:theme.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${theme.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${theme.color.lightest} inset`},"&::placeholder":{color:theme.textMutedColor,opacity:1}}),sizes=({size})=>{switch(size){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},alignment=({align})=>{switch(align){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},validation=({valid,theme})=>{switch(valid){case"valid":return{boxShadow:`${theme.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${theme.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${theme.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},Input=Object.assign(newStyled((0,import_react6.forwardRef)(function({size,valid,align,...props},ref){return import_react6.default.createElement("input",{...props,ref})}))(styles,sizes,alignment,validation,{minHeight:32}),{displayName:"Input"}),Select=Object.assign(newStyled((0,import_react6.forwardRef)(function({size,valid,align,...props},ref){return import_react6.default.createElement("select",{...props,ref})}))(styles,sizes,validation,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Textarea=Object.assign(newStyled((0,import_react6.forwardRef)(function({size,valid,align,...props},ref){return import_react6.default.createElement(index,{...props,ref})}))(styles,sizes,alignment,validation,({height=400})=>({overflow:"visible",maxHeight:height})),{displayName:"Textarea"}),ButtonStyled=newStyled((0,import_react6.forwardRef)(function({size,valid,align,...props},ref){return import_react6.default.createElement(Button,{...props,ref})}))(sizes,validation,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),Button3=Object.assign((0,import_react6.forwardRef)(function(props,ref){return import_react6.default.createElement(ButtonStyled,{...props,tertiary:!0,small:!0,inForm:!0,ref})}),{displayName:"Button"}),Form=Object.assign(newStyled.form({boxSizing:"border-box",width:"100%"}),{Field,Input,Select,Textarea,Button:Button3}),LazyWithTooltip=(0,import_react6.lazy)(()=>import("./WithTooltip-J57HCPYA-3VOMFVVS.js").then(mod=>({default:mod.WithTooltip}))),WithTooltip=props=>import_react6.default.createElement(import_react6.Suspense,{fallback:import_react6.default.createElement("div",null)},import_react6.default.createElement(LazyWithTooltip,{...props})),LazyWithTooltipPure=(0,import_react6.lazy)(()=>import("./WithTooltip-J57HCPYA-3VOMFVVS.js").then(mod=>({default:mod.WithTooltipPure}))),WithTooltipPure=props=>import_react6.default.createElement(import_react6.Suspense,{fallback:import_react6.default.createElement("div",null)},import_react6.default.createElement(LazyWithTooltipPure,{...props})),Title2=newStyled.div(({theme})=>({fontWeight:theme.typography.weight.bold})),Desc2=newStyled.span(),Links=newStyled.div(({theme})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:theme.typography.weight.bold}})),Message2=newStyled.div(({theme})=>({color:theme.color.defaultText,lineHeight:"18px"})),MessageWrapper=newStyled.div({padding:15,width:280,boxSizing:"border-box"}),TooltipMessage=({title,desc,links})=>import_react6.default.createElement(MessageWrapper,null,import_react6.default.createElement(Message2,null,title&&import_react6.default.createElement(Title2,null,title),desc&&import_react6.default.createElement(Desc2,null,desc)),links&&import_react6.default.createElement(Links,null,links.map(({title:linkTitle,...other})=>import_react6.default.createElement(Link22,{...other,key:linkTitle},linkTitle))));TooltipMessage.defaultProps={title:null,desc:null,links:null};var Note=newStyled.div(({theme})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:theme.typography.weight.bold,color:theme.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:theme.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),TooltipNote=({note,...props})=>import_react6.default.createElement(Note,{...props},note),Title3=newStyled(({active,loading,disabled,...rest})=>import_react6.default.createElement("span",{...rest}))(({theme})=>({color:theme.color.defaultText,fontWeight:theme.typography.weight.regular}),({active,theme})=>active?{color:theme.color.secondary,fontWeight:theme.typography.weight.bold}:{},({loading,theme})=>loading?{display:"inline-block",flex:"none",...theme.animation.inlineGlow}:{},({disabled,theme})=>disabled?{color:curriedTransparentize$1(.7,theme.color.defaultText)}:{}),Right=newStyled.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),Center=newStyled.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented})=>isIndented?{marginLeft:24}:{}),CenterText=newStyled.span(({theme})=>({fontSize:"11px",lineHeight:"14px"}),({active,theme})=>active?{color:theme.color.secondary}:{},({theme,disabled})=>disabled?{color:theme.textMutedColor}:{}),Left=newStyled.span(({active,theme})=>active?{"& svg":{opacity:1},"& svg path:not([fill])":{fill:theme.color.secondary}}:{},()=>({display:"flex",maxWidth:14})),Item=newStyled.a(({theme})=>({fontSize:theme.typography.size.s1,transition:"all 150ms ease-out",color:theme.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:theme.background.hoverable},"&:hover svg":{opacity:1}}),({disabled})=>disabled?{cursor:"not-allowed"}:{}),getItemProps=(0,import_memoizerific4.default)(100)((onClick,href,LinkWrapper)=>{let result2={};return onClick&&Object.assign(result2,{onClick}),href&&Object.assign(result2,{href}),LinkWrapper&&href&&Object.assign(result2,{to:href,as:LinkWrapper}),result2}),ListItem=({loading,left,title,center,right,icon,active,disabled,isIndented,href,onClick,LinkWrapper,...rest})=>{let itemProps=getItemProps(onClick,href,LinkWrapper),commonProps={active,disabled},isStorybookIcon=typeof icon=="string"&&icons[icon];return import_react6.default.createElement(Item,{...commonProps,...rest,...itemProps},icon?import_react6.default.createElement(Left,{...commonProps},isStorybookIcon?import_react6.default.createElement(Icons,{icon}):icon):left&&import_react6.default.createElement(Left,{...commonProps},left),title||center?import_react6.default.createElement(Center,{isIndented:!left&&!icon&&isIndented},title&&import_react6.default.createElement(Title3,{...commonProps,loading},title),center&&import_react6.default.createElement(CenterText,{...commonProps},center)):null,right&&import_react6.default.createElement(Right,{...commonProps},right))};ListItem.defaultProps={loading:!1,left:null,title:import_react6.default.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var ListItem_default=ListItem,List=newStyled.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme})=>({borderRadius:theme.appBorderRadius})),Item2=props=>{let{LinkWrapper,onClick:onClickFromProps,id,isIndented,...rest}=props,{title,href,active}=rest,onClick=(0,import_react6.useCallback)(event=>{onClickFromProps(event,rest)},[onClickFromProps]),hasOnClick=!!onClickFromProps;return import_react6.default.createElement(ListItem_default,{title,active,href,id:`list-item-${id}`,LinkWrapper,isIndented,...rest,...hasOnClick?{onClick}:{}})},TooltipLinkList=({links,LinkWrapper})=>{let hasOneLeftElement=links.some(link=>link.left||link.icon);return import_react6.default.createElement(List,null,links.map(({isGatsby,...p2})=>import_react6.default.createElement(Item2,{key:p2.id,LinkWrapper:isGatsby?LinkWrapper:null,isIndented:hasOneLeftElement,...p2})))};TooltipLinkList.defaultProps={LinkWrapper:ListItem_default.defaultProps.LinkWrapper};var ButtonOrLink=import_react6.default.forwardRef(({children,...restProps},ref)=>restProps.href!=null?import_react6.default.createElement("a",{ref,...restProps},children):import_react6.default.createElement("button",{ref,type:"button",...restProps},children));ButtonOrLink.displayName="ButtonOrLink";var TabButton=newStyled(ButtonOrLink,{shouldForwardProp:isPropValid})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},({theme})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:theme.color.secondary}}),({active,textColor,theme})=>active?{color:textColor||theme.barSelectedColor,borderBottomColor:theme.barSelectedColor}:{color:textColor||theme.barTextColor,borderBottomColor:"transparent"});TabButton.displayName="TabButton";var IconButton=newStyled(ButtonOrLink,{shouldForwardProp:isPropValid})(()=>({alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}}),({active,theme})=>active?{backgroundColor:theme.background.hoverable,color:theme.color.secondary}:{},({disabled,theme})=>disabled?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:curriedTransparentize$1(.88,theme.color.secondary),color:theme.color.secondary},"&:focus-visible":{outline:auto},"&:focus:not(:focus-visible)":{outline:"none"}});IconButton.displayName="IconButton";var IconPlaceholder=newStyled.div(({theme})=>({width:14,height:14,backgroundColor:theme.appBorderColor,animation:`${theme.animation.glow} 1.5s ease-in-out infinite`})),IconButtonSkeletonWrapper=newStyled.div(()=>({marginTop:6,padding:7,height:28})),IconButtonSkeleton=()=>import_react6.default.createElement(IconButtonSkeletonWrapper,null,import_react6.default.createElement(IconPlaceholder,null)),Side=newStyled.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable})=>scrollable?{flexShrink:0}:{},({left})=>left?{"& > *":{marginLeft:4}}:{},({right})=>right?{marginLeft:30,"& > *":{marginRight:4}}:{});Side.displayName="Side";var UnstyledBar=({children,className,scrollable})=>scrollable?import_react6.default.createElement(ScrollArea,{vertical:!1,className},children):import_react6.default.createElement("div",{className},children),Bar=newStyled(UnstyledBar)(({theme,scrollable=!0})=>({color:theme.barTextColor,width:"100%",height:40,flexShrink:0,overflow:scrollable?"auto":"hidden",overflowY:"hidden"}),({theme,border=!1})=>border?{boxShadow:`${theme.appBorderColor} 0 -1px 0 0 inset`,background:theme.barBg}:{});Bar.displayName="Bar";var BarInner=newStyled.div(({bgColor})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:bgColor||""})),FlexBar=({children,backgroundColor,...rest})=>{let[left,right]=import_react6.Children.toArray(children);return import_react6.default.createElement(Bar,{...rest},import_react6.default.createElement(BarInner,{bgColor:backgroundColor},import_react6.default.createElement(Side,{scrollable:rest.scrollable,left:!0},left),right?import_react6.default.createElement(Side,{right:!0},right):null))};FlexBar.displayName="FlexBar";var VisuallyHidden=newStyled.div(({active})=>active?{display:"block"}:{display:"none"}),childrenToList=children=>import_react6.Children.toArray(children).map(({props:{title,id,color:color2,children:childrenOfChild}})=>{let content=Array.isArray(childrenOfChild)?childrenOfChild[0]:childrenOfChild;return{title,id,...color2?{color:color2}:{},render:typeof content=="function"?content:({active})=>import_react6.default.createElement(VisuallyHidden,{active,role:"tabpanel"},content)}}),CollapseIcon=newStyled.span(({theme,isActive})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:isActive?theme.color.secondary:theme.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),AddonButton=newStyled(TabButton)(({active,theme,preActive})=>` + color: ${preActive||active?theme.color.secondary:theme.color.mediumdark}; + &:hover { + color: ${theme.color.secondary}; + .addon-collapsible-icon { + color: ${theme.color.secondary}; + } + } + `);function useList(list){let tabBarRef=(0,import_react6.useRef)(),addonsRef=(0,import_react6.useRef)(),tabRefs=(0,import_react6.useRef)(new Map),{width:tabBarWidth=1}=useResizeObserver({ref:tabBarRef}),[visibleList,setVisibleList]=(0,import_react6.useState)(list),[invisibleList,setInvisibleList]=(0,import_react6.useState)([]),previousList=(0,import_react6.useRef)(list),AddonTab=(0,import_react6.useCallback)(({menuName,actions})=>{let isAddonsActive=invisibleList.some(({active})=>active),[isTooltipVisible,setTooltipVisible]=(0,import_react6.useState)(!1);return import_react6.default.createElement(import_react6.default.Fragment,null,import_react6.default.createElement(WithToolTipState,{interactive:!0,visible:isTooltipVisible,onVisibleChange:setTooltipVisible,placement:"bottom",delayHide:100,tooltip:import_react6.default.createElement(TooltipLinkList,{links:invisibleList.map(({title,id,color:color2,active})=>({id,title,color:color2,active,onClick:e3=>{e3.preventDefault(),actions.onSelect(id)}}))})},import_react6.default.createElement(AddonButton,{ref:addonsRef,active:isAddonsActive,preActive:isTooltipVisible,style:{visibility:invisibleList.length?"visible":"hidden"},"aria-hidden":!invisibleList.length,className:"tabbutton",type:"button",role:"tab"},menuName,import_react6.default.createElement(CollapseIcon,{className:"addon-collapsible-icon",isActive:isAddonsActive||isTooltipVisible}))),invisibleList.map(({title,id,color:color2},index2)=>{let indexId=`index-${index2}`;return import_react6.default.createElement(TabButton,{id:`tabbutton-${L(id)??indexId}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:ref=>{tabRefs.current.set(id,ref)},className:"tabbutton",type:"button",key:id,textColor:color2,role:"tab"},title)}))},[invisibleList]),setTabLists=(0,import_react6.useCallback)(()=>{if(!tabBarRef.current||!addonsRef.current)return;let{x:x3,width}=tabBarRef.current.getBoundingClientRect(),{width:widthAddonsTab}=addonsRef.current.getBoundingClientRect(),rightBorder=invisibleList.length?x3+width-widthAddonsTab:x3+width,newVisibleList=[],widthSum=0,newInvisibleList=list.filter(item=>{let{id}=item,tabButton=tabRefs.current.get(id),{width:tabWidth=0}=tabButton?.getBoundingClientRect()||{},crossBorder=x3+widthSum+tabWidth>rightBorder;return(!crossBorder||!tabButton)&&newVisibleList.push(item),widthSum+=tabWidth,crossBorder});(newVisibleList.length!==visibleList.length||previousList.current!==list)&&(setVisibleList(newVisibleList),setInvisibleList(newInvisibleList),previousList.current=list)},[invisibleList.length,list,visibleList]);return(0,import_react6.useLayoutEffect)(setTabLists,[setTabLists,tabBarWidth]),{tabRefs,addonsRef,tabBarRef,visibleList,invisibleList,AddonTab}}var ignoreSsrWarning2="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",Wrapper2=newStyled.div(({theme,bordered})=>bordered?{backgroundClip:"padding-box",border:`1px solid ${theme.appBorderColor}`,borderRadius:theme.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute})=>absolute?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),TabBar=newStyled.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});TabBar.displayName="TabBar";var Content=newStyled.div({display:"block",position:"relative"},({theme})=>({fontSize:theme.typography.size.s2-1,background:theme.background.content}),({bordered,theme})=>bordered?{borderRadius:`0 0 ${theme.appBorderRadius-1}px ${theme.appBorderRadius-1}px`}:{},({absolute,bordered})=>absolute?{height:`calc(100% - ${bordered?42:40}px)`,position:"absolute",left:0+(bordered?1:0),right:0+(bordered?1:0),bottom:0+(bordered?1:0),top:40+(bordered?1:0),overflow:"auto",[`& > *:first-child${ignoreSsrWarning2}`]:{position:"absolute",left:0+(bordered?1:0),right:0+(bordered?1:0),bottom:0+(bordered?1:0),top:0+(bordered?1:0),height:`calc(100% - ${bordered?2:0}px)`,overflow:"auto"}}:{}),TabWrapper=({active,render,children})=>import_react6.default.createElement(VisuallyHidden,{active},render?render():children),Tabs=(0,import_react6.memo)(({children,selected,actions,absolute,bordered,tools,backgroundColor,id:htmlId,menuName})=>{let idList=childrenToList(children).map(i3=>i3.id),list=(0,import_react6.useMemo)(()=>childrenToList(children).map((i3,index2)=>({...i3,active:selected?i3.id===selected:index2===0})),[selected,...idList]),{visibleList,tabBarRef,tabRefs,AddonTab}=useList(list);return list.length?import_react6.default.createElement(Wrapper2,{absolute,bordered,id:htmlId},import_react6.default.createElement(FlexBar,{scrollable:!1,border:!0,backgroundColor},import_react6.default.createElement(TabBar,{style:{whiteSpace:"normal"},ref:tabBarRef,role:"tablist"},visibleList.map(({title,id,active,color:color2},index2)=>{let indexId=`index-${index2}`;return import_react6.default.createElement(TabButton,{id:`tabbutton-${L(id)??indexId}`,ref:ref=>{tabRefs.current.set(id,ref)},className:`tabbutton ${active?"tabbutton-active":""}`,type:"button",key:id,active,textColor:color2,onClick:e3=>{e3.preventDefault(),actions.onSelect(id)},role:"tab"},typeof title=="function"?import_react6.default.createElement("title",null):title)}),import_react6.default.createElement(AddonTab,{menuName,actions})),tools),import_react6.default.createElement(Content,{id:"panel-tab-content",bordered,absolute},list.map(({id,active,render})=>import_react6.default.createElement(render,{key:id,active},null)))):import_react6.default.createElement(Placeholder,null,import_react6.default.createElement(import_react6.Fragment,{key:"title"},"Nothing found"))});Tabs.displayName="Tabs";Tabs.defaultProps={id:null,children:null,tools:null,selected:null,absolute:!1,bordered:!1,menuName:"Tabs"};var TabsState=class extends import_react6.Component{constructor(props){super(props),this.handlers={onSelect:id=>this.setState({selected:id})},this.state={selected:props.initial}}render(){let{bordered=!1,absolute=!1,children,backgroundColor,menuName}=this.props,{selected}=this.state;return import_react6.default.createElement(Tabs,{bordered,absolute,selected,backgroundColor,menuName,actions:this.handlers},children)}};TabsState.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var Separator=newStyled.span(({theme})=>({width:1,height:20,background:theme.appBorderColor,marginTop:10,marginLeft:6,marginRight:2}),({force})=>force?{}:{"& + &":{display:"none"}});Separator.displayName="Separator";var interleaveSeparators=list=>list.reduce((acc,item,index2)=>item?import_react6.default.createElement(import_react6.Fragment,{key:item.id||item.key||`f-${index2}`},acc,index2>0?import_react6.default.createElement(Separator,{key:`s-${index2}`}):null,item.render()||item):acc,null),usePrevious=value2=>{let ref=(0,import_react6.useRef)();return(0,import_react6.useEffect)(()=>{ref.current=value2},[value2]),ref.current},useUpdate=(update2,value2)=>{let previousValue=usePrevious(value2);return update2?value2:previousValue},AddonPanel=({active,children})=>import_react6.default.createElement("div",{hidden:!active},useUpdate(active,children)),StorybookLogo=({alt,...props})=>import_react6.default.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...props,role:"img"},alt?import_react6.default.createElement("title",null,alt):null,import_react6.default.createElement("defs",null,import_react6.default.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),import_react6.default.createElement("g",{fill:"none",fillRule:"evenodd"},import_react6.default.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1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6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),import_react6.default.createElement("mask",{id:"b",fill:"#fff"},import_react6.default.createElement("use",{xlinkHref:"#a"})),import_react6.default.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),import_react6.default.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),StorybookIcon=({...props})=>import_react6.default.createElement("svg",{viewBox:"0 0 64 64",...props},import_react6.default.createElement("title",null,"Storybook icon"),import_react6.default.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},import_react6.default.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),import_react6.default.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),import_react6.default.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),rotate360=keyframes` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,LoaderWrapper=newStyled.div(({size=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(size/2),marginLeft:-(size/2),height:size,width:size,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${rotate360} 0.7s linear infinite`,mixBlendMode:"difference"})),ProgressWrapper=newStyled.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),ProgressTrack=newStyled.div(({theme})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:curriedTransparentize$1(.8,theme.color.secondary),overflow:"hidden",cursor:"progress"})),ProgressBar=newStyled.div(({theme})=>({position:"absolute",top:0,left:0,height:"100%",background:theme.color.secondary})),ProgressMessage=newStyled.div(({theme})=>({minHeight:"2em",fontSize:`${theme.typography.size.s1}px`,color:theme.barTextColor})),ErrorIcon=newStyled(Icons)(({theme})=>({width:20,height:20,marginBottom:"0.5rem",color:theme.textMutedColor})),ellipsis=keyframes` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,Ellipsis=newStyled.span({"&::after":{content:"'...'",animation:`${ellipsis} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),Loader=({progress,error,size,...props})=>{if(error)return import_react6.default.createElement(ProgressWrapper,{"aria-label":error.toString(),"aria-live":"polite",role:"status",...props},import_react6.default.createElement(ErrorIcon,{icon:"lightningoff"}),import_react6.default.createElement(ProgressMessage,null,error.message));if(progress){let{value:value2,modules}=progress,{message}=progress;return modules&&(message+=` ${modules.complete} / ${modules.total} modules`),import_react6.default.createElement(ProgressWrapper,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":value2*100,"aria-valuetext":message,role:"progressbar",...props},import_react6.default.createElement(ProgressTrack,null,import_react6.default.createElement(ProgressBar,{style:{width:`${value2*100}%`}})),import_react6.default.createElement(ProgressMessage,null,message,value2<1&&import_react6.default.createElement(Ellipsis,{key:message})))}return import_react6.default.createElement(LoaderWrapper,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size,...props})};function parseQuery(queryString){let query={},pairs=queryString.split("&");for(let i3=0;i3{let[url,paramsStr]=baseUrl.split("?"),params=paramsStr?{...parseQuery(paramsStr),...additionalParams,id:storyId}:{...additionalParams,id:storyId};return`${url}?${Object.entries(params).map(item=>`${item[0]}=${item[1]}`).join("&")}`},Code2=newStyled.pre` + line-height: 18px; + padding: 11px 1rem; + white-space: pre-wrap; + background: rgba(0, 0, 0, 0.05); + color: ${color.darkest}; + border-radius: 3px; + margin: 1rem 0; + width: 100%; + display: block; + overflow: hidden; + font-family: ${typography.fonts.mono}; + font-size: ${typography.size.s2-1}px; +`,ClipboardCode=({code,...props})=>import_react6.default.createElement(Code2,{id:"clipboard-code",...props},code),components2=components,resetComponents={};Object.keys(components).forEach(key2=>{resetComponents[key2]=(0,import_react6.forwardRef)((props,ref)=>(0,import_react6.createElement)(key2,{...props,ref}))});var import_react7=__toESM(require_react());var Root=newStyled.div({position:"fixed",left:0,top:0,width:"100vw",height:"100vh",overflow:"hidden"});var{SIDEBAR,CANVAS,ADDONS}=ActiveTabs2,Pane=newStyled.div({transition:"transform .2s ease",position:"absolute",top:0,height:"100%",overflow:"auto"},({theme})=>({background:theme.background.content,"&:nth-of-type(1)":{borderRight:`1px solid ${theme.appBorderColor}`},"&:nth-of-type(3)":{borderLeft:`1px solid ${theme.appBorderColor}`}}),({index:index2})=>{switch(index2){case 0:return{width:"80vw",transform:"translateX(-80vw)",left:0};case 1:return{width:"100%",transform:"translateX(0) scale(1)",left:0};case 2:return{width:"80vw",transform:"translateX(80vw)",right:0};default:return{}}},({active,index:index2})=>{switch(!0){case(index2===0&&active===SIDEBAR):return{transform:"translateX(-0px)"};case(index2===1&&active===SIDEBAR):return{transform:"translateX(40vw) translateY(-42.5vh) translateY(40px) scale(0.2)"};case(index2===1&&active===ADDONS):return{transform:"translateX(-40vw) translateY(-42.5vh) translateY(40px) scale(0.2)"};case(index2===2&&active===ADDONS):return{transform:"translateX(0px)"};default:return{}}}),Panels=import_react7.default.memo(({children,active,isFullscreen})=>import_react7.default.createElement(PanelsContainer,{isFullscreen},import_react7.Children.toArray(children).map((item,index2)=>import_react7.default.createElement(Pane,{key:index2,index:index2,active},item))));Panels.displayName="Panels";var PanelsContainer=newStyled.div({position:"fixed",top:0,left:0,width:"100vw"},({isFullscreen})=>({height:isFullscreen?"100vh":"calc(100% - 40px)"})),Bar2=newStyled.nav({position:"fixed",bottom:0,left:0,width:"100vw",height:40,display:"flex",boxShadow:"0 1px 5px 0 rgba(0, 0, 0, 0.1)","& > *":{flex:1}},({theme})=>({background:theme.barBg})),Mobile=({Sidebar:Sidebar5,Preview:Preview4,Panel:Panel3,Notifications,pages,viewMode,options:options3})=>{let[{active},setState]=(0,import_react7.useState)({active:options3.isFullscreen?CANVAS:options3.initialActive||SIDEBAR}),api=useStorybookApi(),handleCanvasClick=(0,import_react7.useCallback)(()=>{setState({active:CANVAS});let id=api.retrieveSelection();id?api.selectStory(id):api.selectFirstStory()},[]),handleSideBarClick=(0,import_react7.useCallback)(()=>{setState({active:SIDEBAR});let id=api.retrieveSelection();id?api.selectStory(id):api.selectFirstStory()},[]);return import_react7.default.createElement(Root,null,import_react7.default.createElement(Notifications,{placement:{position:"fixed",bottom:60,left:20,right:20}}),import_react7.default.createElement(Panels,{active,isFullscreen:options3.isFullscreen},import_react7.default.createElement(Sidebar5,null),import_react7.default.createElement("div",null,import_react7.default.createElement("div",{hidden:viewMode!=="docs"&&viewMode!=="story"},import_react7.default.createElement(Preview4,{showToolbar:options3.showToolbar,id:"main",viewMode})),pages.map(({id,render:Content3})=>import_react7.default.createElement(import_react7.Fragment,{key:id},import_react7.default.createElement(Content3,null)))),import_react7.default.createElement(Panel3,{hidden:viewMode!=="story"})),!options3.isFullscreen&&import_react7.default.createElement(Bar2,null,import_react7.default.createElement(TabButton,{onClick:handleSideBarClick,active:active===SIDEBAR},"Sidebar"),import_react7.default.createElement(TabButton,{onClick:handleCanvasClick,active:active===CANVAS&&(viewMode==="docs"||viewMode==="story")},"Canvas"),import_react7.default.createElement(Location,null,({path})=>import_react7.default.createElement(import_react7.default.Fragment,null,pages.map(({id,title,url})=>import_react7.default.createElement(TabButton,{key:id,onClick:()=>{setState({active:CANVAS}),api.navigateUrl(url,{plain:!1})},active:active===CANVAS&&path.startsWith(url)},title)))),viewMode==="story"&&options3.showPanel?import_react7.default.createElement(TabButton,{onClick:()=>setState({active:ADDONS}),active:active===ADDONS},"Addons"):null))};var import_react9=__toESM(require_react());var import_react8=__toESM(require_react());var import_store22=__toESM(require_store2()),import_debounce=__toESM(require_debounce()),import_memoizerific5=__toESM(require_memoizerific());var get3=()=>{try{return import_store22.default.local.get("storybook-layout")||!1}catch(e3){return console.error(e3),!1}},write=(0,import_memoizerific5.default)(1)(changes=>{try{import_store22.default.local.set("storybook-layout",changes)}catch(e3){console.error(e3)}}),set2=(0,import_debounce.default)(write,500);var import_react_draggable=__toESM(require_cjs());var Handle=newStyled.div(({theme})=>({zIndex:10,position:"absolute",top:0,left:0,display:"flex",justifyContent:"center",alignItems:"center",overflow:"hidden",transition:"color 0.2s linear, background-size 0.2s linear, background 0.2s linear, background-position 0s linear"}),({axis})=>({cursor:axis==="x"?"col-resize":"row-resize"}),({axis})=>axis==="x"?{height:"100%",width:10,marginLeft:-10}:{height:10,width:"100%",marginTop:-10},({axis,isDragging})=>{if(axis==="y"){let style={backgroundImage:"radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%)",backgroundSize:"100% 50px",backgroundPosition:"50% 0",backgroundRepeat:"no-repeat"};return isDragging?style:{...style,backgroundPosition:"50% 10px","&:hover":style}}if(axis==="x"){let style={backgroundImage:"radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%)",backgroundSize:"50px 100%",backgroundPosition:"0 50%",backgroundRepeat:"no-repeat"};return isDragging?style:{...style,backgroundPosition:"10px 50%","&:hover":style}}return{}});var MIN_NAV_WIDTH=200,MIN_CANVAS_WIDTH=200,MIN_CANVAS_HEIGHT=200,MIN_PANEL_WIDTH=220,MIN_PANEL_HEIGHT=200,DEFAULT_NAV_WIDTH=230,DEFAULT_PANEL_WIDTH=400,Pane2=newStyled.div({position:"absolute",boxSizing:"border-box",top:0,left:0,width:"100%",height:"100%"},({hidden})=>hidden?{opacity:0}:{opacity:1},({top})=>top?{zIndex:9}:{},({border,theme})=>{switch(border){case"left":return{borderLeft:`1px solid ${theme.appBorderColor}`};case"right":return{borderRight:`1px solid ${theme.appBorderColor}`};case"top":return{borderTop:`1px solid ${theme.appBorderColor}`};case"bottom":return{borderBottom:`1px solid ${theme.appBorderColor}`};default:return{}}},({animate})=>animate?{transition:["width","height","top","left","background","opacity","transform"].map(p2=>`${p2} 0.1s ease-out`).join(",")}:{}),Paper=newStyled.div({position:"absolute",top:0,left:0,width:"100%",height:"100%"},({isFullscreen,theme})=>isFullscreen?{boxShadow:"none",borderRadius:0}:{borderTopLeftRadius:theme.appBorderRadius===0?theme.appBorderRadius:theme.appBorderRadius+1,borderBottomLeftRadius:theme.appBorderRadius===0?theme.appBorderRadius:theme.appBorderRadius+1,overflow:"hidden",boxShadow:theme.base==="light"?"0 1px 3px 1px rgba(0, 0, 0, 0.05), 0px 0 0px 1px rgba(0, 0, 0, 0.05)":`0px 0 0px 1px ${theme.appBorderColor}`,transform:"translateZ(0)"}),Sidebar=({hidden=!1,children,position=void 0,...props})=>hidden?null:import_react8.default.createElement(Pane2,{style:position,...props},children),Main=({isFullscreen=!1,children,position=void 0,...props})=>import_react8.default.createElement(Pane2,{style:position,top:!0,...props,role:"main"},import_react8.default.createElement(Paper,{isFullscreen},children)),Preview=({hidden=!1,children,position=void 0,...props})=>import_react8.default.createElement(Pane2,{style:position,top:!0,hidden,...props},children),Panel=({hidden=!1,children,position=void 0,align="right",...props})=>import_react8.default.createElement(Pane2,{style:position,hidden,...props,border:align==="bottom"?"top":"left"},children),HoverBlocker=newStyled.div({position:"absolute",left:0,top:0,zIndex:15,height:"100vh",width:"100vw"}),getPreviewPosition=({panelPosition,isPanelHidden,isNavHidden,isFullscreen,bounds,resizerPanel,resizerNav,margin})=>{if(isFullscreen||isPanelHidden)return{};let navX=isNavHidden?0:resizerNav.x,panelX=resizerPanel.x,panelY=resizerPanel.y;return panelPosition==="bottom"?{height:panelY-margin,left:0,top:0,width:bounds.width-navX-2*margin}:{height:bounds.height-2*margin,left:0,top:0,width:panelX-navX-margin}},getMainPosition=({bounds,resizerNav,isNavHidden,isFullscreen,margin})=>{if(isFullscreen)return{};let navX=isNavHidden?0:resizerNav.x;return{height:bounds.height-margin*2,left:navX+margin,top:margin,width:bounds.width-navX-margin*2}},getPanelPosition=({isPanelBottom,isPanelHidden,isNavHidden,bounds,resizerPanel,resizerNav,margin})=>{let navX=isNavHidden?0:resizerNav.x,panelX=resizerPanel.x,panelY=resizerPanel.y;return isPanelBottom&&isPanelHidden?{height:bounds.height-panelY-margin,left:0,top:panelY-margin,width:bounds.width-navX-2*margin}:!isPanelBottom&&isPanelHidden?{height:bounds.height-2*margin,left:panelX-navX-margin,top:0,width:bounds.width-panelX-margin}:isPanelBottom?{height:bounds.height-panelY-margin,left:0,top:panelY-margin,width:bounds.width-navX-2*margin}:{height:bounds.height-2*margin,left:panelX-navX-margin,top:0,width:bounds.width-panelX-margin}},Layout=class extends import_react8.Component{constructor(props){super(props);this.resizeNav=(e3,data)=>{data.deltaX&&this.setState({resizerNav:{x:data.x,y:data.y}})};this.resizePanel=(e3,data)=>{let{options:options3}=this.props;(data.deltaY&&options3.panelPosition==="bottom"||data.deltaX&&options3.panelPosition==="right")&&this.setState({resizerPanel:{x:data.x,y:data.y}})};this.setDragNav=()=>{this.setState({isDragging:"nav"})};this.setDragPanel=()=>{this.setState({isDragging:"panel"})};this.unsetDrag=()=>{this.setState({isDragging:!1})};this.navRef=import_react8.default.createRef(),this.panelRef=import_react8.default.createRef();let{bounds,options:options3}=props,{resizerNav,resizerPanel}=get3();this.state={isDragging:!1,resizerNav:resizerNav||{x:DEFAULT_NAV_WIDTH,y:0},resizerPanel:resizerPanel||(options3.panelPosition==="bottom"?{x:0,y:Math.round(bounds.height*.6)}:{x:bounds.width-DEFAULT_PANEL_WIDTH,y:0})}}static getDerivedStateFromProps(props,state){let{bounds,options:options3}=props,{resizerPanel,resizerNav}=state,isNavHidden=options3.isFullscreen||!options3.showNav,isPanelHidden=options3.isFullscreen||!options3.showPanel,{panelPosition}=options3,isPanelRight=panelPosition==="right",isPanelBottom=panelPosition==="bottom",navX=resizerNav.x,panelX=resizerPanel.x,panelY=resizerPanel.y,mutation={};if(!isNavHidden){let minMainWidth=MIN_CANVAS_WIDTH+(!isPanelHidden&&isPanelRight?MIN_PANEL_WIDTH:0),maxNavX=bounds.width-minMainWidth,minNavX=MIN_NAV_WIDTH;navX>maxNavX?mutation.resizerNav={x:maxNavX,y:0}:(navXmaxPanelX||panelX===0?mutation.resizerPanel={x:maxPanelX,y:0}:panelXmaxPanelY||panelY===0)&&(mutation.resizerPanel={x:0,y:bounds.height-200})}return mutation.resizerPanel||mutation.resizerNav?{...state,...mutation}:state}componentDidUpdate(prevProps,prevState){let{resizerPanel,resizerNav}=this.state;set2({resizerPanel,resizerNav});let{width:prevWidth,height:prevHeight}=prevProps.bounds,{bounds,options:options3}=this.props,{width,height}=bounds;if(width!==prevWidth||height!==prevHeight){let{panelPosition}=options3;panelPosition==="bottom"?this.setState({resizerPanel:{x:prevState.resizerPanel.x,y:prevState.resizerPanel.y-(prevHeight-height)}}):this.setState({resizerPanel:{x:prevState.resizerPanel.x-(prevWidth-width),y:prevState.resizerPanel.y}})}}render(){let{children,bounds,options:options3,viewMode,panelCount}=this.props,{isDragging,resizerNav,resizerPanel}=this.state,margin=0,isNavHidden=options3.isFullscreen||!options3.showNav,isPanelHidden=options3.isFullscreen||!options3.showPanel||viewMode!=="story"||panelCount===0,isFullscreen=options3.isFullscreen||isNavHidden&&isPanelHidden,{showToolbar}=options3,{panelPosition}=options3,isPanelBottom=panelPosition==="bottom",isPanelRight=panelPosition==="right",panelX=resizerPanel.x,navX=resizerNav.x;return bounds?import_react8.default.createElement(import_react8.Fragment,null,isNavHidden?null:import_react8.default.createElement(import_react_draggable.default,{axis:"x",position:resizerNav,bounds:{left:MIN_NAV_WIDTH,top:0,right:isPanelRight&&!isPanelHidden?panelX-MIN_CANVAS_WIDTH:bounds.width-MIN_CANVAS_WIDTH,bottom:0},onStart:this.setDragNav,onDrag:this.resizeNav,onStop:this.unsetDrag,nodeRef:this.navRef},import_react8.default.createElement(Handle,{ref:this.navRef,axis:"x",isDragging:isDragging==="nav"})),isPanelHidden?null:import_react8.default.createElement(import_react_draggable.default,{axis:isPanelBottom?"y":"x",position:resizerPanel,bounds:isPanelBottom?{left:0,top:MIN_CANVAS_HEIGHT,right:0,bottom:bounds.height-MIN_PANEL_HEIGHT}:{left:isNavHidden?MIN_CANVAS_WIDTH:navX+MIN_CANVAS_WIDTH,top:0,right:bounds.width-MIN_PANEL_WIDTH,bottom:0},onStart:this.setDragPanel,onDrag:this.resizePanel,onStop:this.unsetDrag,nodeRef:this.panelRef},import_react8.default.createElement(Handle,{ref:this.panelRef,isDragging:isDragging==="panel",style:isPanelBottom?{left:navX+margin,width:bounds.width-navX-2*margin,marginTop:-10}:{marginLeft:-10},axis:isPanelBottom?"y":"x"})),isDragging?import_react8.default.createElement(HoverBlocker,null):null,children({mainProps:{viewMode,animate:!isDragging,isFullscreen,position:getMainPosition({bounds,resizerNav,isNavHidden,isFullscreen,margin})},previewProps:{viewMode,animate:!isDragging,isFullscreen,showToolbar,position:getPreviewPosition({isFullscreen,isNavHidden,isPanelHidden,resizerNav,resizerPanel,bounds,panelPosition,margin})},navProps:{viewMode,animate:!isDragging,hidden:isNavHidden,position:{height:bounds.height,left:0,top:0,width:navX+margin}},panelProps:{viewMode,animate:!isDragging,align:options3.panelPosition,hidden:isPanelHidden,position:getPanelPosition({isPanelBottom,isPanelHidden,isNavHidden,bounds,resizerPanel,resizerNav,margin})}})):null}};Layout.defaultProps={viewMode:void 0};var ThemedLayout=withTheme(Layout);var Desktop=Object.assign(import_react9.default.memo(function({Panel:Panel3,Sidebar:Sidebar5,Preview:Preview4,Notifications,pages,options:options3,viewMode=void 0,width=0,height=0,panelCount}){return import_react9.default.createElement(import_react9.Fragment,null,import_react9.default.createElement(Notifications,{placement:{position:"fixed",bottom:20,left:20}}),width&&height?import_react9.default.createElement(ThemedLayout,{options:options3,bounds:{width,height,top:0,left:0},viewMode,panelCount},({navProps,mainProps,panelProps,previewProps})=>import_react9.default.createElement(import_react9.Fragment,null,import_react9.default.createElement(Sidebar,{...navProps},import_react9.default.createElement(Sidebar5,null)),import_react9.default.createElement(Main,{...mainProps,isFullscreen:!!mainProps.isFullscreen},import_react9.default.createElement(Route2,{path:/(^\/story|docs|onboarding\/|^\/$)/,hideOnly:!0},import_react9.default.createElement(Preview,{...previewProps,hidden:!1},import_react9.default.createElement(Preview4,{id:"main"})),import_react9.default.createElement(Route2,{path:"/story/",startsWith:!0,hideOnly:!0},import_react9.default.createElement(Panel,{...panelProps,hidden:!1},import_react9.default.createElement(Panel3,null)))),pages.map(({id,render:Content3})=>import_react9.default.createElement(import_react9.Fragment,{key:id},import_react9.default.createElement(Content3,null)))))):import_react9.default.createElement("div",{title:JSON.stringify({width,height})}))}),{displayName:"DesktopLayout"});var import_react30=__toESM(require_react());var import_react28=__toESM(require_react());var import_react12=__toESM(require_react());var import_react10=__toESM(require_react());var StorybookLogoStyled=newStyled(StorybookLogo)(({theme})=>({width:"auto",height:"22px !important",display:"block",color:theme.base==="light"?theme.color.defaultText:theme.color.lightest})),Img2=newStyled.img({width:"auto",height:"auto",display:"block",maxWidth:"100%"}),LogoLink=newStyled.a(({theme})=>({display:"inline-block",height:"100%",margin:"-3px -4px",padding:"2px 3px",border:"1px solid transparent",borderRadius:3,color:"inherit",textDecoration:"none","&:focus":{outline:0,borderColor:theme.color.secondary}})),Brand=withTheme(({theme})=>{let{title="Storybook",url="./",image,target}=theme.brand,targetValue=target||(url==="./"?"":"_blank");if(image===null)return title===null?null:url?import_react10.default.createElement(LogoLink,{href:url,target:targetValue,dangerouslySetInnerHTML:{__html:title}}):import_react10.default.createElement("div",{dangerouslySetInnerHTML:{__html:title}});let logo=image?import_react10.default.createElement(Img2,{src:image,alt:title}):import_react10.default.createElement(StorybookLogoStyled,{alt:title});return url?import_react10.default.createElement(LogoLink,{title,href:url,target:targetValue},logo):import_react10.default.createElement("div",null,logo)});var import_react11=__toESM(require_react());function _extends3(){return _extends3=Object.assign?Object.assign.bind():function(target){for(var i3=1;i3"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct2(Parent,args2,Class){return _isNativeReflectConstruct2()?_construct2=Reflect.construct.bind():_construct2=function(Parent2,args3,Class2){var a2=[null];a2.push.apply(a2,args3);var Constructor=Function.bind.apply(Parent2,a2),instance=new Constructor;return Class2&&_setPrototypeOf2(instance,Class2.prototype),instance},_construct2.apply(null,arguments)}function _wrapNativeSuper2(Class){var _cache=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper2=function(Class2){if(Class2===null||!_isNativeFunction2(Class2))return Class2;if(typeof Class2!="function")throw new TypeError("Super expression must either be null or a function");if(typeof _cache<"u"){if(_cache.has(Class2))return _cache.get(Class2);_cache.set(Class2,Wrapper4)}function Wrapper4(){return _construct2(Class2,arguments,_getPrototypeOf2(this).constructor)}return Wrapper4.prototype=Object.create(Class2.prototype,{constructor:{value:Wrapper4,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf2(Wrapper4,Class2)},_wrapNativeSuper2(Class)}var ERRORS2={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). + +`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). + +`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. + +`,4:`Couldn't generate valid rgb string from %s, it returned %s. + +`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. + +`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). + +`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). + +`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. + +`,9:`Please provide a number of steps to the modularScale helper. + +`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" + +`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. + +`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. + +`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. + +`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. + +`,16:`You must provide a template to this method. + +`,17:`You passed an unsupported selector state to this method. + +`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,19:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. + +`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,25:`fontFace expects localFonts to be an array. + +`,26:`fontFace expects fileFormats to be an array. + +`,27:`radialGradient requries at least 2 color-stops to properly render. + +`,28:`Please supply a filename to retinaImage() as the first argument. + +`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation + +`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) +To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') + +`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation + +`,34:`borderRadius expects a radius value as a string or number as the second argument. + +`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,36:`Property must be a string value. + +`,37:`Syntax Error at %s. + +`,38:`Formula contains a function that needs parentheses at %s. + +`,39:`Formula is missing closing parenthesis at %s. + +`,40:`Formula has too many closing parentheses at %s. + +`,41:`All values in a formula must have the same unit or be unitless. + +`,42:`Please provide a number of steps to the modularScale helper. + +`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. + +`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. + +`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. + +`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,48:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. + +`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. + +`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,53:`fontFace expects localFonts to be an array. + +`,54:`fontFace expects fileFormats to be an array. + +`,55:`fontFace expects a name of a font-family. + +`,56:`linearGradient requries at least 2 color-stops to properly render. + +`,57:`radialGradient requries at least 2 color-stops to properly render. + +`,58:`Please supply a filename to retinaImage() as the first argument. + +`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. + +`,62:`borderRadius expects a radius value as a string or number as the second argument. + +`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. + +`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). + +`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. + +`,67:`You must provide a template to this method. + +`,68:`You passed an unsupported selector state to this method. + +`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. + +`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. + +`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. + +`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. + +`,73:`Please provide a valid CSS variable. + +`,74:`CSS variable not found and no default was provided. + +`,75:`important requires a valid style object, got a %s instead. + +`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. + +`,77:`remToPx expects a value in "rem" but you provided it in "%s". + +`,78:`base must be set in "px" or "%" but you set it in "%s". +`};function format2(){for(var _len=arguments.length,args2=new Array(_len),_key=0;_key<_len;_key++)args2[_key]=arguments[_key];var a2=args2[0],b3=[],c3;for(c3=1;c31?_len2-1:0),_key2=1;_key2<_len2;_key2++)args2[_key2-1]=arguments[_key2];return _this=_Error.call(this,format2.apply(void 0,[ERRORS2[code]].concat(args2)))||this,_assertThisInitialized2(_this)}return PolishedError3}(_wrapNativeSuper2(Error));function colorToInt2(color2){return Math.round(color2*255)}function convertToInt2(red,green,blue){return colorToInt2(red)+","+colorToInt2(green)+","+colorToInt2(blue)}function hslToRgb2(hue,saturation,lightness,convert){if(convert===void 0&&(convert=convertToInt2),saturation===0)return convert(lightness,lightness,lightness);var huePrime=(hue%360+360)%360/60,chroma=(1-Math.abs(2*lightness-1))*saturation,secondComponent=chroma*(1-Math.abs(huePrime%2-1)),red=0,green=0,blue=0;huePrime>=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2,finalRed=red+lightnessModification,finalGreen=green+lightnessModification,finalBlue=blue+lightnessModification;return convert(finalRed,finalGreen,finalBlue)}var namedColorMap2={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function nameToHex2(color2){if(typeof color2!="string")return color2;var normalizedColorName=color2.toLowerCase();return namedColorMap2[normalizedColorName]?"#"+namedColorMap2[normalizedColorName]:color2}var hexRegex2=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex2=/^#[a-fA-F0-9]{8}$/,reducedHexRegex2=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex2=/^#[a-fA-F0-9]{4}$/,rgbRegex2=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rgbaRegex2=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hslRegex2=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex2=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb2(color2){if(typeof color2!="string")throw new PolishedError2(3);var normalizedColor=nameToHex2(color2);if(normalizedColor.match(hexRegex2))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex2)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha}}if(normalizedColor.match(reducedHexRegex2))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex2)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex2.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex2.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])>1?parseFloat(""+rgbaMatched[4])/100:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex2.exec(normalizedColor);if(hslMatched){var hue=parseInt(""+hslMatched[1],10),saturation=parseInt(""+hslMatched[2],10)/100,lightness=parseInt(""+hslMatched[3],10)/100,rgbColorString="rgb("+hslToRgb2(hue,saturation,lightness)+")",hslRgbMatched=rgbRegex2.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError2(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex2.exec(normalizedColor.substring(0,50));if(hslaMatched){var _hue=parseInt(""+hslaMatched[1],10),_saturation=parseInt(""+hslaMatched[2],10)/100,_lightness=parseInt(""+hslaMatched[3],10)/100,_rgbColorString="rgb("+hslToRgb2(_hue,_saturation,_lightness)+")",_hslRgbMatched=rgbRegex2.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError2(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])>1?parseFloat(""+hslaMatched[4])/100:parseFloat(""+hslaMatched[4])}}throw new PolishedError2(5)}var reduceHexValue2=function(value2){return value2.length===7&&value2[1]===value2[2]&&value2[3]===value2[4]&&value2[5]===value2[6]?"#"+value2[1]+value2[3]+value2[5]:value2},reduceHexValue$12=reduceHexValue2;function numberToHex2(value2){var hex=value2.toString(16);return hex.length===1?"0"+hex:hex}function rgb2(value2,green,blue){if(typeof value2=="number"&&typeof green=="number"&&typeof blue=="number")return reduceHexValue$12("#"+numberToHex2(value2)+numberToHex2(green)+numberToHex2(blue));if(typeof value2=="object"&&green===void 0&&blue===void 0)return reduceHexValue$12("#"+numberToHex2(value2.red)+numberToHex2(value2.green)+numberToHex2(value2.blue));throw new PolishedError2(6)}function rgba2(firstValue,secondValue,thirdValue,fourthValue){if(typeof firstValue=="string"&&typeof secondValue=="number"){var rgbValue=parseToRgb2(firstValue);return"rgba("+rgbValue.red+","+rgbValue.green+","+rgbValue.blue+","+secondValue+")"}else{if(typeof firstValue=="number"&&typeof secondValue=="number"&&typeof thirdValue=="number"&&typeof fourthValue=="number")return fourthValue>=1?rgb2(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if(typeof firstValue=="object"&&secondValue===void 0&&thirdValue===void 0&&fourthValue===void 0)return firstValue.alpha>=1?rgb2(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")"}throw new PolishedError2(7)}function curried2(f3,length,acc){return function(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f3.apply(this,combined):curried2(f3,length,combined)}}function curry2(f3){return curried2(f3,f3.length,[])}function guard2(lowerBoundary,upperBoundary,value2){return Math.max(lowerBoundary,Math.min(upperBoundary,value2))}function transparentize2(amount,color2){if(color2==="transparent")return color2;var parsedColor=parseToRgb2(color2),alpha=typeof parsedColor.alpha=="number"?parsedColor.alpha:1,colorWithAlpha=_extends3({},parsedColor,{alpha:guard2(0,1,+(alpha*100-parseFloat(amount)*100).toFixed(2)/100)});return rgba2(colorWithAlpha)}var curriedTransparentize2=curry2(transparentize2),curriedTransparentize$12=curriedTransparentize2;var sharedStyles={height:10,width:10,marginLeft:-5,marginRight:-5,display:"block"},Icon=newStyled(Icons)(sharedStyles,({theme})=>({color:theme.color.secondary})),SidebarIconButton=newStyled(IconButton)(({highlighted,active,theme})=>({position:"relative",overflow:"visible",color:theme.textMutedColor,marginTop:0,zIndex:1,...highlighted&&{"&:before, &:after":{content:'""',position:"absolute",top:6,right:6,width:5,height:5,zIndex:2,borderRadius:"50%",background:theme.background.app,border:`1px solid ${theme.background.app}`,boxShadow:`0 0 0 2px ${theme.background.app}`},"&:after":{background:theme.color.positive,border:"1px solid rgba(0, 0, 0, 0.1)",boxShadow:`0 0 0 2px ${theme.background.app}`},"&:hover:after, &:focus-visible:after":{boxShadow:`0 0 0 2px ${curriedTransparentize$12(.88,theme.color.secondary)}`}},...active&&{color:theme.color.secondary}})),Img3=newStyled.img(sharedStyles),Placeholder2=newStyled.div(sharedStyles);var SidebarMenuList=({menu,onHide})=>{let links=(0,import_react11.useMemo)(()=>menu.map(({onClick,...rest})=>({...rest,onClick:(event,item)=>{onClick&&onClick(event,item),onHide()}})),[menu]);return import_react11.default.createElement(TooltipLinkList,{links})},SidebarMenu=({menu,isHighlighted})=>{let[isTooltipVisible,setIsTooltipVisible]=(0,import_react11.useState)(!1);return import_react11.default.createElement(WithTooltip,{placement:"top",closeOnOutsideClick:!0,tooltip:({onHide})=>import_react11.default.createElement(SidebarMenuList,{onHide,menu}),onVisibleChange:setIsTooltipVisible},import_react11.default.createElement(SidebarIconButton,{title:"Shortcuts","aria-label":"Shortcuts",highlighted:isHighlighted,active:isTooltipVisible},import_react11.default.createElement(Icons,{icon:"cog"})))};var BrandArea=newStyled.div(({theme})=>({fontSize:theme.typography.size.s2,fontWeight:theme.typography.weight.bold,color:theme.color.defaultText,marginRight:20,display:"flex",width:"100%",alignItems:"center",minHeight:22,"& > * > *":{maxWidth:"100%"},"& > *":{maxWidth:"100%",height:"auto",display:"block",flex:"1 1 auto"}})),HeadingWrapper=newStyled.div({display:"flex",alignItems:"center",justifyContent:"space-between",position:"relative",minHeight:28}),SkipToCanvasLink=newStyled(Button)(({theme})=>({display:"none","@media (min-width: 600px)":{display:"block",position:"absolute",fontSize:theme.typography.size.s1,zIndex:3,border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",opacity:0,transition:"opacity 150ms ease-out","&:focus":{width:"100%",height:"inherit",padding:"10px 15px",margin:0,clip:"unset",overflow:"unset",opacity:1}}})),Heading=({menuHighlighted=!1,menu,skipLinkHref,extra,isLoading,...props})=>import_react12.default.createElement(HeadingWrapper,{...props},skipLinkHref&&import_react12.default.createElement(SkipToCanvasLink,{secondary:!0,isLink:!0,tabIndex:0,href:skipLinkHref},"Skip to canvas"),import_react12.default.createElement(BrandArea,null,import_react12.default.createElement(Brand,null)),isLoading?null:extra.map(({id,render:Render})=>import_react12.default.createElement(Render,{key:id})),import_react12.default.createElement(SidebarMenu,{menu,isHighlighted:menuHighlighted}));var import_react23=__toESM(require_react());var import_react20=__toESM(require_react());var import_react14=__toESM(require_react());var import_react13=__toESM(require_react());var LOADER_SEQUENCE=[0,0,1,1,2,3,3,3,1,1,1,2,2,2,3],Loadingitem=newStyled.div({cursor:"progress",fontSize:13,height:"16px",marginTop:4,marginBottom:4,alignItems:"center",overflow:"hidden"},({depth=0})=>({marginLeft:depth*15,maxWidth:85-depth*5}),({theme})=>theme.animation.inlineGlow,({theme})=>({background:theme.appBorderColor})),Contained=newStyled.div({display:"flex",flexDirection:"column",paddingLeft:20,paddingRight:20}),Loader2=({size})=>{let repeats=Math.ceil(size/LOADER_SEQUENCE.length),sequence=Array.from(Array(repeats)).fill(LOADER_SEQUENCE).flat().slice(0,size);return import_react13.default.createElement(import_react13.Fragment,null,sequence.map((depth,index2)=>import_react13.default.createElement(Loadingitem,{depth,key:index2})))};var{window:globalWindow2}=scope,TextStyle=newStyled.div(({theme})=>({fontSize:theme.typography.size.s2-1,lineHeight:"20px",margin:0})),Text=newStyled.div(({theme})=>({fontSize:theme.typography.size.s2-1,lineHeight:"20px",margin:0,code:{fontSize:theme.typography.size.s1},ul:{paddingLeft:20,marginTop:8,marginBottom:8}})),ErrorDisplay=newStyled.pre({width:420,boxSizing:"border-box",borderRadius:8,overflow:"auto",whiteSpace:"pre"},({theme})=>({color:theme.color.dark})),AuthBlock=({loginUrl,id})=>{let[isAuthAttempted,setAuthAttempted]=(0,import_react14.useState)(!1),refresh=(0,import_react14.useCallback)(()=>{globalWindow2.document.location.reload()},[]),open=(0,import_react14.useCallback)(e3=>{e3.preventDefault();let childWindow=globalWindow2.open(loginUrl,`storybook_auth_${id}`,"resizable,scrollbars"),timer=setInterval(()=>{childWindow?childWindow.closed&&(clearInterval(timer),setAuthAttempted(!0)):(logger.error("unable to access loginUrl window"),clearInterval(timer))},1e3)},[]);return import_react14.default.createElement(Contained,null,import_react14.default.createElement(Spaced,null,isAuthAttempted?import_react14.default.createElement(import_react14.Fragment,null,import_react14.default.createElement(Text,null,"Authentication on ",import_react14.default.createElement("strong",null,loginUrl)," concluded. Refresh the page to fetch this Storybook."),import_react14.default.createElement("div",null,import_react14.default.createElement(Button,{small:!0,gray:!0,onClick:refresh},import_react14.default.createElement(Icons,{icon:"sync"}),"Refresh now"))):import_react14.default.createElement(import_react14.Fragment,null,import_react14.default.createElement(Text,null,"Sign in to browse this Storybook."),import_react14.default.createElement("div",null,import_react14.default.createElement(Button,{small:!0,gray:!0,onClick:open},import_react14.default.createElement(Icons,{icon:"lock"}),"Sign in")))))},ErrorBlock=({error})=>import_react14.default.createElement(Contained,null,import_react14.default.createElement(Spaced,null,import_react14.default.createElement(TextStyle,null,"Oh no! Something went wrong loading this Storybook.",import_react14.default.createElement("br",null),import_react14.default.createElement(WithTooltip,{tooltip:import_react14.default.createElement(ErrorDisplay,null,import_react14.default.createElement(ErrorFormatter,{error}))},import_react14.default.createElement(Link22,{isButton:!0},"View error ",import_react14.default.createElement(Icons,{icon:"arrowdown"})))," ",import_react14.default.createElement(Link22,{withArrow:!0,href:"https://storybook.js.org/docs",cancel:!1,target:"_blank"},"View docs")))),FlexSpaced=newStyled(Spaced)({display:"flex"}),WideSpaced=newStyled(Spaced)({flex:1}),EmptyBlock=({isMain})=>import_react14.default.createElement(Contained,null,import_react14.default.createElement(FlexSpaced,{col:1},import_react14.default.createElement(WideSpaced,null,import_react14.default.createElement(Text,null,isMain?import_react14.default.createElement(import_react14.default.Fragment,null,"Oh no! Your Storybook is empty. Possible reasons why:",import_react14.default.createElement("ul",null,import_react14.default.createElement("li",null,"The glob specified in ",import_react14.default.createElement("code",null,"main.js")," isn't correct."),import_react14.default.createElement("li",null,"No stories are defined in your story files."),import_react14.default.createElement("li",null,"You're using filter-functions, and all stories are filtered away."))," "):import_react14.default.createElement(import_react14.default.Fragment,null,"Yikes! Something went wrong loading these stories."))))),LoaderBlock=({isMain})=>import_react14.default.createElement(Contained,null,import_react14.default.createElement(Loader2,{size:isMain?17:5}));var import_react15=__toESM(require_react());var{document:document4,window:globalWindow3}=scope,IndicatorPlacement=newStyled.aside(({theme})=>({height:16,display:"flex",alignItems:"center","& > * + *":{marginLeft:theme.layoutMargin}})),IndicatorClickTarget=newStyled.button(({theme})=>({height:20,width:20,padding:0,margin:0,display:"flex",alignItems:"center",justifyContent:"center",background:"transparent",outline:"none",border:"1px solid transparent",borderRadius:"100%",cursor:"pointer",color:theme.base==="light"?curriedTransparentize$12(.3,theme.color.defaultText):curriedTransparentize$12(.6,theme.color.defaultText),"&:hover":{color:theme.barSelectedColor},"&:focus":{color:theme.barSelectedColor,borderColor:theme.color.secondary},svg:{height:10,width:10,transition:"all 150ms ease-out",color:"inherit"}})),MessageTitle=newStyled.span(({theme})=>({fontWeight:theme.typography.weight.bold})),Message3=newStyled.a(({theme})=>({textDecoration:"none",lineHeight:"16px",padding:15,display:"flex",flexDirection:"row",alignItems:"flex-start",color:theme.color.defaultText,"&:not(:last-child)":{borderBottom:`1px solid ${theme.appBorderColor}`},"&:hover":{background:theme.background.hoverable,color:theme.color.darker},"&:link":{color:theme.color.darker},"&:active":{color:theme.color.darker},"&:focus":{color:theme.color.darker},"& > *":{flex:1},"& > svg":{marginTop:3,width:16,height:16,marginRight:10,flex:"unset"}})),MessageWrapper2=newStyled.div({width:280,boxSizing:"border-box",borderRadius:8,overflow:"hidden"}),BlueIcon=newStyled(Icons)(({theme})=>({color:theme.color.secondary})),YellowIcon=newStyled(Icons)(({theme})=>({color:theme.color.gold})),RedIcon=newStyled(Icons)(({theme})=>({color:theme.color.negative})),GreenIcon=newStyled(Icons)(({theme})=>({color:theme.color.green})),Version=newStyled.div(({theme})=>({display:"flex",alignItems:"center",fontSize:theme.typography.size.s1,fontWeight:theme.typography.weight.regular,color:theme.base==="light"?curriedTransparentize$12(.3,theme.color.defaultText):curriedTransparentize$12(.6,theme.color.defaultText),"& > * + *":{marginLeft:4},svg:{height:10,width:10}})),CurrentVersion=({url,versions})=>{let currentVersionId=(0,import_react15.useMemo)(()=>{let c3=Object.entries(versions).find(([k2,v2])=>v2===url);return c3&&c3[0]?c3[0]:"current"},[url,versions]);return import_react15.default.createElement(Version,null,import_react15.default.createElement("span",null,currentVersionId),import_react15.default.createElement(Icons,{icon:"arrowdown"}))},RefIndicator=import_react15.default.memo((0,import_react15.forwardRef)(({state,...ref},forwardedRef)=>{let api=useStorybookApi(),list=(0,import_react15.useMemo)(()=>Object.values(ref.index||{}),[ref.index]),componentCount=(0,import_react15.useMemo)(()=>list.filter(v2=>v2.type==="component").length,[list]),leafCount=(0,import_react15.useMemo)(()=>list.filter(v2=>v2.type==="docs"||v2.type==="story").length,[list]);return import_react15.default.createElement(IndicatorPlacement,{ref:forwardedRef},import_react15.default.createElement(WithTooltip,{placement:"bottom-start",trigger:"click",closeOnOutsideClick:!0,tooltip:import_react15.default.createElement(MessageWrapper2,null,import_react15.default.createElement(Spaced,{row:0},state==="loading"&&import_react15.default.createElement(LoadingMessage,{url:ref.url}),(state==="error"||state==="empty")&&import_react15.default.createElement(ErrorOccurredMessage,{url:ref.url}),state==="ready"&&import_react15.default.createElement(ReadyMessage,{url:ref.url,componentCount,leafCount}),state==="auth"&&import_react15.default.createElement(LoginRequiredMessage,{...ref}),ref.type==="auto-inject"&&state!=="error"&&import_react15.default.createElement(PerformanceDegradedMessage,null),state!=="loading"&&import_react15.default.createElement(ReadDocsMessage,null)))},import_react15.default.createElement(IndicatorClickTarget,{"data-action":"toggle-indicator","aria-label":"toggle indicator"},import_react15.default.createElement(Icons,{icon:"globe"}))),ref.versions&&Object.keys(ref.versions).length?import_react15.default.createElement(WithTooltip,{placement:"bottom-start",trigger:"click",closeOnOutsideClick:!0,tooltip:tooltip=>import_react15.default.createElement(TooltipLinkList,{links:Object.entries(ref.versions).map(([id,href])=>({icon:href===ref.url?"check":void 0,id,title:id,href,onClick:(event,item)=>{event.preventDefault(),api.changeRefVersion(ref.id,item.href),tooltip.onHide()}}))})},import_react15.default.createElement(CurrentVersion,{url:ref.url,versions:ref.versions})):null)})),ReadyMessage=({url,componentCount,leafCount})=>import_react15.default.createElement(Message3,{href:url.replace(/\/?$/,"/index.html"),target:"_blank"},import_react15.default.createElement(BlueIcon,{icon:"globe"}),import_react15.default.createElement("div",null,import_react15.default.createElement(MessageTitle,null,"View external Storybook"),import_react15.default.createElement("div",null,"Explore ",componentCount," components and ",leafCount," stories in a new browser tab."))),LoginRequiredMessage=({loginUrl,id})=>{let open=(0,import_react15.useCallback)(e3=>{e3.preventDefault();let childWindow=globalWindow3.open(loginUrl,`storybook_auth_${id}`,"resizable,scrollbars"),timer=setInterval(()=>{childWindow?childWindow.closed&&(clearInterval(timer),document4.location.reload()):clearInterval(timer)},1e3)},[]);return import_react15.default.createElement(Message3,{onClick:open},import_react15.default.createElement(YellowIcon,{icon:"lock"}),import_react15.default.createElement("div",null,import_react15.default.createElement(MessageTitle,null,"Log in required"),import_react15.default.createElement("div",null,"You need to authenticate to view this Storybook's components.")))},ReadDocsMessage=()=>import_react15.default.createElement(Message3,{href:"https://storybook.js.org/docs/react/sharing/storybook-composition",target:"_blank"},import_react15.default.createElement(GreenIcon,{icon:"document"}),import_react15.default.createElement("div",null,import_react15.default.createElement(MessageTitle,null,"Read Composition docs"),import_react15.default.createElement("div",null,"Learn how to combine multiple Storybooks into one."))),ErrorOccurredMessage=({url})=>import_react15.default.createElement(Message3,{href:url.replace(/\/?$/,"/index.html"),target:"_blank"},import_react15.default.createElement(RedIcon,{icon:"alert"}),import_react15.default.createElement("div",null,import_react15.default.createElement(MessageTitle,null,"Something went wrong"),import_react15.default.createElement("div",null,"This external Storybook didn't load. Debug it in a new tab now."))),LoadingMessage=({url})=>import_react15.default.createElement(Message3,{href:url.replace(/\/?$/,"/index.html"),target:"_blank"},import_react15.default.createElement(BlueIcon,{icon:"time"}),import_react15.default.createElement("div",null,import_react15.default.createElement(MessageTitle,null,"Please wait"),import_react15.default.createElement("div",null,"This Storybook is loading."))),PerformanceDegradedMessage=()=>import_react15.default.createElement(Message3,{href:"https://storybook.js.org/docs/react/sharing/storybook-composition#improve-your-storybook-composition",target:"_blank"},import_react15.default.createElement(YellowIcon,{icon:"lightning"}),import_react15.default.createElement("div",null,import_react15.default.createElement(MessageTitle,null,"Reduce lag"),import_react15.default.createElement("div",null,"Learn how to speed up Composition performance.")));var import_react19=__toESM(require_react());var import_react16=__toESM(require_react()),CollapseIcon2=newStyled.span(({theme,isExpanded})=>({display:"inline-block",width:0,height:0,marginTop:6,marginLeft:8,marginRight:5,color:curriedTransparentize$12(.4,theme.textMutedColor),borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid",transform:isExpanded?"rotateZ(90deg)":"none",transition:"transform .1s ease-out"})),iconColors={light:{document:"#ff8300",docsModeDocument:"secondary",bookmarkhollow:"seafoam",component:"secondary",folder:"ultraviolet"},dark:{document:"gold",docsModeDocument:"secondary",bookmarkhollow:"seafoam",component:"secondary",folder:"primary"}},isColor=(theme,color2)=>color2 in theme.color,TypeIcon=newStyled(Icons)({width:12,height:12,padding:1,marginTop:3,marginRight:5,flex:"0 0 auto"},({theme,icon,symbol=icon,docsMode})=>{let color2=(theme.base==="dark"?iconColors.dark:iconColors.light)[docsMode&&symbol==="document"?"docsModeDocument":symbol];return{color:isColor(theme,color2)?theme.color[color2]:color2}}),BranchNode=newStyled.button(({theme,depth=0,isExpandable=!1})=>({width:"100%",border:"none",cursor:"pointer",display:"flex",alignItems:"start",textAlign:"left",padding:3,paddingLeft:`${(isExpandable?2:18)+depth*16}px`,color:"inherit",fontSize:`${theme.typography.size.s2-1}px`,background:"transparent","&:hover, &:focus":{background:theme.background.hoverable,outline:"none"}})),LeafNode=newStyled.a(({theme,depth=0})=>({cursor:"pointer",color:"inherit",display:"flex",flex:1,alignItems:"start",padding:3,paddingLeft:`${18+depth*16}px`,fontSize:`${theme.typography.size.s2-1}px`,textDecoration:"none"})),Path=newStyled.span(({theme})=>({display:"grid",justifyContent:"start",gridAutoColumns:"auto",gridAutoFlow:"column",color:theme.textMutedColor,fontSize:`${theme.typography.size.s1-1}px`,"& > span":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},"& > span + span":{position:"relative",marginLeft:4,paddingLeft:7,"&:before":{content:"'/'",position:"absolute",left:0}}})),RootNode=newStyled.div(({theme})=>({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 20px",marginTop:16,marginBottom:4,fontSize:`${theme.typography.size.s1-1}px`,fontWeight:theme.typography.weight.bold,lineHeight:"16px",minHeight:20,letterSpacing:"0.35em",textTransform:"uppercase",color:theme.textMutedColor})),GroupNode=import_react16.default.memo(function({children,isExpanded=!1,isExpandable=!1,...props}){return import_react16.default.createElement(BranchNode,{isExpandable,tabIndex:-1,...props},isExpandable?import_react16.default.createElement(CollapseIcon2,{isExpanded}):null,import_react16.default.createElement(TypeIcon,{icon:"folder",useSymbol:!0,color:"primary"}),children)}),ComponentNode=import_react16.default.memo(function({theme,children,isExpanded,isExpandable,isSelected,...props}){return import_react16.default.createElement(BranchNode,{isExpandable,tabIndex:-1,...props},isExpandable&&import_react16.default.createElement(CollapseIcon2,{isExpanded}),import_react16.default.createElement(TypeIcon,{icon:"component",useSymbol:!0,color:"secondary"}),children)}),DocumentNode=import_react16.default.memo(function({theme,children,docsMode,...props}){return import_react16.default.createElement(LeafNode,{tabIndex:-1,...props},import_react16.default.createElement(TypeIcon,{icon:"document",useSymbol:!0,docsMode}),children)}),StoryNode=import_react16.default.memo(function({theme,children,...props}){return import_react16.default.createElement(LeafNode,{tabIndex:-1,...props},import_react16.default.createElement(TypeIcon,{icon:"bookmarkhollow",useSymbol:!0}),children)});var import_throttle=__toESM(require_throttle()),import_react17=__toESM(require_react());var codeToKeyMap={Space:" ",Slash:"/",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown",Escape:"Escape",Enter:"Enter"},allFalse={alt:!1,ctrl:!1,meta:!1,shift:!1},matchesModifiers=(modifiers,event)=>{let{alt,ctrl,meta,shift}=modifiers===!1?allFalse:modifiers;return!(typeof alt=="boolean"&&alt!==event.altKey||typeof ctrl=="boolean"&&ctrl!==event.ctrlKey||typeof meta=="boolean"&&meta!==event.metaKey||typeof shift=="boolean"&&shift!==event.shiftKey)},matchesKeyCode=(code,event)=>event.code?event.code===code:event.key===codeToKeyMap[code];var import_memoizerific6=__toESM(require_memoizerific());var{document:document5,window:globalWindow4}=scope,createId=(itemId,refId)=>!refId||refId===DEFAULT_REF_ID?itemId:`${refId}_${itemId}`,getLink=(item,refId)=>`${document5.location.pathname}?path=/${item.type}/${createId(item.id,refId)}`;var get4=(0,import_memoizerific6.default)(1e3)((id,dataset)=>dataset[id]),getParent=(0,import_memoizerific6.default)(1e3)((id,dataset)=>{let item=get4(id,dataset);return item&&item.type!=="root"?get4(item.parent,dataset):void 0}),getParents=(0,import_memoizerific6.default)(1e3)((id,dataset)=>{let parent=getParent(id,dataset);return parent?[parent,...getParents(parent.id,dataset)]:[]}),getAncestorIds=(0,import_memoizerific6.default)(1e3)((data,id)=>getParents(id,data).map(item=>item.id)),getDescendantIds=(0,import_memoizerific6.default)(1e3)((data,id,skipLeafs)=>{let entry=data[id];return(entry.type==="story"||entry.type==="docs"?[]:entry.children).reduce((acc,childId)=>{let child=data[childId];return!child||skipLeafs&&(child.type==="story"||child.type==="docs")||acc.push(childId,...getDescendantIds(data,childId,skipLeafs)),acc},[])});function getPath(item,ref){let parent=item.type!=="root"&&item.parent?ref.index[item.parent]:null;return parent?[...getPath(parent,ref),parent.name]:ref.id===DEFAULT_REF_ID?[]:[ref.title||ref.id]}var searchItem=(item,ref)=>({...item,refId:ref.id,path:getPath(item,ref)});function cycle(array,index2,delta){let next=index2+delta%array.length;return next<0&&(next=array.length+next),next>=array.length&&(next-=array.length),next}var scrollIntoView=(element,center=!1)=>{if(!element)return;let{top,bottom}=element.getBoundingClientRect();top>=0&&bottom<=(globalWindow4.innerHeight||document5.documentElement.clientHeight)||element.scrollIntoView({block:center?"center":"nearest"})},getStateType=(isLoading,isAuthRequired,isError,isEmpty)=>{switch(!0){case isAuthRequired:return"auth";case isError:return"error";case isLoading:return"loading";case isEmpty:return"empty";default:return"ready"}},isAncestor=(element,maybeAncestor)=>!element||!maybeAncestor?!1:element===maybeAncestor?!0:isAncestor(element.parentElement,maybeAncestor),removeNoiseFromName=storyName=>storyName.replaceAll(/(\s|-|_)/gi,""),isStoryHoistable=(storyName,componentName)=>removeNoiseFromName(storyName)===removeNoiseFromName(componentName);var{document:document6}=scope,initializeExpanded=({refId,data,initialExpanded,highlightedRef,rootIds})=>{let highlightedAncestors=highlightedRef.current?.refId===refId?getAncestorIds(data,highlightedRef.current?.itemId):[];return[...rootIds,...highlightedAncestors].reduce((acc,id)=>Object.assign(acc,{[id]:id in initialExpanded?initialExpanded[id]:!0}),{})},noop2=()=>{},useExpanded=({containerRef,isBrowsing,refId,data,initialExpanded,rootIds,highlightedRef,setHighlightedItemId,selectedStoryId,onSelectStoryId})=>{let api=useStorybookApi(),[expanded,setExpanded]=(0,import_react17.useReducer)((state,{ids,value:value2})=>ids.reduce((acc,id)=>Object.assign(acc,{[id]:value2}),{...state}),{refId,data,highlightedRef,rootIds,initialExpanded},initializeExpanded),getElementByDataItemId=(0,import_react17.useCallback)(id=>containerRef.current?.querySelector(`[data-item-id="${id}"]`),[containerRef]),highlightElement=(0,import_react17.useCallback)(element=>{setHighlightedItemId(element.getAttribute("data-item-id")),scrollIntoView(element)},[setHighlightedItemId]),updateExpanded=(0,import_react17.useCallback)(({ids,value:value2})=>{if(setExpanded({ids,value:value2}),ids.length===1){let element=containerRef.current?.querySelector(`[data-item-id="${ids[0]}"][data-ref-id="${refId}"]`);element&&highlightElement(element)}},[containerRef,highlightElement,refId]);(0,import_react17.useEffect)(()=>{setExpanded({ids:getAncestorIds(data,selectedStoryId),value:!0})},[data,selectedStoryId]);let collapseAll=(0,import_react17.useCallback)(()=>{let ids=Object.keys(data).filter(id=>!rootIds.includes(id));setExpanded({ids,value:!1})},[data,rootIds]),expandAll=(0,import_react17.useCallback)(()=>{setExpanded({ids:Object.keys(data),value:!0})},[data]);return(0,import_react17.useEffect)(()=>api?(api.on(STORIES_COLLAPSE_ALL,collapseAll),api.on(STORIES_EXPAND_ALL,expandAll),()=>{api.off(STORIES_COLLAPSE_ALL,collapseAll),api.off(STORIES_EXPAND_ALL,expandAll)}):noop2,[api,collapseAll,expandAll]),(0,import_react17.useEffect)(()=>{let menuElement=document6.getElementById("storybook-explorer-menu"),navigateTree=(0,import_throttle.default)(event=>{let highlightedItemId=highlightedRef.current?.refId===refId&&highlightedRef.current?.itemId;if(!isBrowsing||!containerRef.current||!highlightedItemId||event.repeat||!matchesModifiers(!1,event))return;let isEnter=matchesKeyCode("Enter",event),isSpace=matchesKeyCode("Space",event),isArrowLeft=matchesKeyCode("ArrowLeft",event),isArrowRight=matchesKeyCode("ArrowRight",event);if(!(isEnter||isSpace||isArrowLeft||isArrowRight))return;let highlightedElement=getElementByDataItemId(highlightedItemId);if(!highlightedElement||highlightedElement.getAttribute("data-ref-id")!==refId)return;let target=event.target;if(!isAncestor(menuElement,target)&&!isAncestor(target,menuElement))return;if(target.hasAttribute("data-action")){if(isEnter||isSpace)return;target.blur()}let type=highlightedElement.getAttribute("data-nodetype");(isEnter||isSpace)&&["component","story","document"].includes(type)&&onSelectStoryId(highlightedItemId);let isExpanded=highlightedElement.getAttribute("aria-expanded");if(isArrowLeft){if(isExpanded==="true"){setExpanded({ids:[highlightedItemId],value:!1});return}let parentId=highlightedElement.getAttribute("data-parent-id"),parentElement=parentId&&getElementByDataItemId(parentId);if(parentElement&&parentElement.getAttribute("data-highlightable")==="true"){highlightElement(parentElement);return}setExpanded({ids:getDescendantIds(data,highlightedItemId,!0),value:!1});return}isArrowRight&&(isExpanded==="false"?updateExpanded({ids:[highlightedItemId],value:!0}):isExpanded==="true"&&updateExpanded({ids:getDescendantIds(data,highlightedItemId,!0),value:!0}))},60);return document6.addEventListener("keydown",navigateTree),()=>document6.removeEventListener("keydown",navigateTree)},[containerRef,isBrowsing,refId,data,highlightedRef,setHighlightedItemId,onSelectStoryId]),[expanded,updateExpanded]};var import_react18=__toESM(require_react());var SmallIcons=newStyled(Icons)({"&&&":{width:6,height:6}}),LoadingIcons=newStyled(SmallIcons)(({theme:{animation,color:color2,base}})=>({animation:`${animation.glow} 1.5s ease-in-out infinite`,color:base==="light"?color2.mediumdark:color2.darker})),statusPriority=["unknown","pending","success","warn","error"],statusMapping={unknown:[null,null],pending:[import_react18.default.createElement(LoadingIcons,{key:"icon",icon:"circle"}),"currentColor"],success:[import_react18.default.createElement(SmallIcons,{key:"icon",icon:"circle",style:{color:"green"}}),"currentColor"],warn:[import_react18.default.createElement(SmallIcons,{key:"icon",icon:"circle",style:{color:"orange"}}),"#A15C20"],error:[import_react18.default.createElement(SmallIcons,{key:"icon",icon:"circle",style:{color:"red"}}),"brown"]},getHighestStatus=statuses=>statusPriority.reduce((acc,status)=>statuses.includes(status)?status:acc,"unknown");function getGroupStatus(collapsedData,status){return Object.values(collapsedData).reduce((acc,item)=>{if(item.type==="group"||item.type==="component"){let leafs=getDescendantIds(collapsedData,item.id,!1).map(id=>collapsedData[id]).filter(i3=>i3.type==="story"),combinedStatus=getHighestStatus(leafs.flatMap(story=>Object.values(status?.[story.id]||{})).map(s2=>s2.status));combinedStatus&&(acc[item.id]=combinedStatus)}return acc},{})}var Action2=newStyled.button(({theme,height,width})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",width:width||20,height:height||20,boxSizing:"border-box",margin:0,marginLeft:"auto",padding:0,outline:0,lineHeight:"normal",background:"none",border:"1px solid transparent",borderRadius:"100%",cursor:"pointer",transition:"all 150ms ease-out",color:theme.base==="light"?curriedTransparentize$12(.3,theme.color.defaultText):curriedTransparentize$12(.6,theme.color.defaultText),"&:hover":{color:theme.color.secondary},"&:focus":{color:theme.color.secondary,borderColor:theme.color.secondary,"&:not(:focus-visible)":{borderColor:"transparent"}},svg:{width:10,height:10}})),CollapseButton=newStyled.button(({theme})=>({background:"transparent",border:"none",outline:"none",boxSizing:"content-box",cursor:"pointer",position:"relative",textAlign:"left",lineHeight:"normal",font:"inherit",color:"inherit",letterSpacing:"inherit",textTransform:"inherit",display:"flex",flex:"0 1 auto",padding:"3px 10px 1px 1px",margin:0,marginLeft:-19,overflow:"hidden",borderRadius:26,transition:"color 150ms, box-shadow 150ms","span:first-of-type":{marginTop:4,marginRight:7},"&:focus":{boxShadow:`0 0 0 1px ${theme.color.secondary}`,color:theme.color.secondary,"span:first-of-type":{color:theme.color.secondary},"&:not(:focus-visible)":{boxShadow:"none"}}})),LeafNodeStyleWrapper=newStyled.div(({theme})=>({position:"relative",display:"flex",justifyContent:"space-between",alignItems:"center",paddingRight:20,color:theme.color.defaultText,background:"transparent","&:hover, &:focus":{outline:"none",background:theme.background.hoverable},'&[data-selected="true"]':{color:theme.color.lightest,background:theme.color.secondary,fontWeight:theme.typography.weight.bold,"&:hover, &:focus":{background:theme.color.secondary},svg:{color:theme.color.lightest}},a:{color:"currentColor"}})),SkipToContentLink=newStyled(Button)(({theme})=>({display:"none","@media (min-width: 600px)":{display:"block",fontSize:"10px",overflow:"hidden",width:1,height:"20px",boxSizing:"border-box",opacity:0,padding:0,"&:focus":{opacity:1,padding:"5px 10px",background:"white",color:theme.color.secondary,width:"auto"}}})),Node=import_react19.default.memo(function({item,status,refId,docsMode,isOrphan,isDisplayed,isSelected,isFullyExpanded,color:color2,setFullyExpanded,isExpanded,setExpanded,onSelectStoryId,api}){if(!isDisplayed)return null;let id=createId(item.id,refId);if(item.type==="story"||item.type==="docs"){let LeafNode2=item.type==="docs"?DocumentNode:StoryNode,statusValue=getHighestStatus(Object.values(status||{}).map(s2=>s2.status)),[icon,textColor]=statusMapping[statusValue];return import_react19.default.createElement(LeafNodeStyleWrapper,{"data-selected":isSelected,"data-ref-id":refId,"data-item-id":item.id,"data-parent-id":item.parent,"data-nodetype":item.type==="docs"?"document":"story","data-highlightable":isDisplayed,className:"sidebar-item"},import_react19.default.createElement(LeafNode2,{style:isSelected?{}:{color:textColor},key:id,href:getLink(item,refId),id,depth:isOrphan?item.depth:item.depth-1,onClick:event=>{event.preventDefault(),onSelectStoryId(item.id)},...item.type==="docs"&&{docsMode}},item.renderLabel?.(item)||item.name),isSelected&&import_react19.default.createElement(SkipToContentLink,{secondary:!0,outline:!0,isLink:!0,href:"#storybook-preview-wrapper"},"Skip to canvas"),icon?import_react19.default.createElement(WithTooltip,{placement:"top",style:{display:"flex"},tooltip:()=>import_react19.default.createElement(TooltipLinkList,{links:Object.entries(status||{}).map(([k2,v2])=>({id:k2,title:v2.title,description:v2.description,right:statusMapping[v2.status][0]}))}),closeOnOutsideClick:!0},import_react19.default.createElement(Action2,{type:"button",height:22},icon)):null)}if(item.type==="root")return import_react19.default.createElement(RootNode,{key:id,id,className:"sidebar-subheading","data-ref-id":refId,"data-item-id":item.id,"data-nodetype":"root"},import_react19.default.createElement(CollapseButton,{type:"button","data-action":"collapse-root",onClick:event=>{event.preventDefault(),setExpanded({ids:[item.id],value:!isExpanded})},"aria-expanded":isExpanded},import_react19.default.createElement(CollapseIcon2,{isExpanded}),item.renderLabel?.(item)||item.name),isExpanded&&import_react19.default.createElement(Action2,{type:"button",className:"sidebar-subheading-action","aria-label":"expand","data-action":"expand-all","data-expanded":isFullyExpanded,onClick:event=>{event.preventDefault(),setFullyExpanded()}},import_react19.default.createElement(Icons,{icon:isFullyExpanded?"collapse":"expandalt"})));if(item.type==="component"||item.type==="group"){let BranchNode2=item.type==="component"?ComponentNode:GroupNode;return import_react19.default.createElement(BranchNode2,{key:id,id,style:color2?{color:color2}:{},className:"sidebar-item","data-ref-id":refId,"data-item-id":item.id,"data-parent-id":item.parent,"data-nodetype":item.type==="component"?"component":"group","data-highlightable":isDisplayed,"aria-controls":item.children&&item.children[0],"aria-expanded":isExpanded,depth:isOrphan?item.depth:item.depth-1,isComponent:item.type==="component",isExpandable:item.children&&item.children.length>0,isExpanded,onClick:event=>{event.preventDefault(),setExpanded({ids:[item.id],value:!isExpanded}),item.type==="component"&&!isExpanded&&onSelectStoryId(item.id)},onMouseEnter:()=>{item.isComponent&&api.emit(PRELOAD_ENTRIES,{ids:[item.children[0]],options:{target:refId}})}},item.renderLabel?.(item)||item.name)}return null}),Root2=import_react19.default.memo(function({setExpanded,isFullyExpanded,expandableDescendants,...props}){let setFullyExpanded=(0,import_react19.useCallback)(()=>setExpanded({ids:expandableDescendants,value:!isFullyExpanded}),[setExpanded,isFullyExpanded,expandableDescendants]);return import_react19.default.createElement(Node,{...props,setExpanded,isFullyExpanded,setFullyExpanded})}),Container2=newStyled.div(props=>({marginTop:props.hasOrphans?20:0,marginBottom:20})),Tree=import_react19.default.memo(function({isBrowsing,isMain,refId,data,status,docsMode,highlightedRef,setHighlightedItemId,selectedStoryId,onSelectStoryId}){let containerRef=(0,import_react19.useRef)(null),api=useStorybookApi(),[rootIds,orphanIds,initialExpanded]=(0,import_react19.useMemo)(()=>Object.keys(data).reduce((acc,id)=>{let item=data[id];return item.type==="root"?acc[0].push(id):item.parent||acc[1].push(id),item.type==="root"&&item.startCollapsed&&(acc[2][id]=!1),acc},[[],[],{}]),[data]),{expandableDescendants}=(0,import_react19.useMemo)(()=>[...orphanIds,...rootIds].reduce((acc,nodeId)=>(acc.expandableDescendants[nodeId]=getDescendantIds(data,nodeId,!1).filter(d2=>!["story","docs"].includes(data[d2].type)),acc),{orphansFirst:[],expandableDescendants:{}}),[data,rootIds,orphanIds]),singleStoryComponentIds=(0,import_react19.useMemo)(()=>Object.keys(data).filter(id=>{let entry=data[id];if(entry.type!=="component")return!1;let{children=[],name:name2}=entry;if(children.length!==1)return!1;let onlyChild=data[children[0]];return onlyChild.type==="docs"?!0:onlyChild.type==="story"?isStoryHoistable(onlyChild.name,name2):!1}),[data]),collapsedItems=(0,import_react19.useMemo)(()=>Object.keys(data).filter(id=>!singleStoryComponentIds.includes(id)),[singleStoryComponentIds]),collapsedData=(0,import_react19.useMemo)(()=>singleStoryComponentIds.reduce((acc,id)=>{let{children,parent,name:name2}=data[id],[childId]=children;if(parent){let siblings=[...data[parent].children];siblings[siblings.indexOf(id)]=childId,acc[parent]={...data[parent],children:siblings}}return acc[childId]={...data[childId],name:name2,parent,depth:data[childId].depth-1},acc},{...data}),[data]),ancestry=(0,import_react19.useMemo)(()=>collapsedItems.reduce((acc,id)=>Object.assign(acc,{[id]:getAncestorIds(collapsedData,id)}),{}),[collapsedItems,collapsedData]),[expanded,setExpanded]=useExpanded({containerRef,isBrowsing,refId,data:collapsedData,initialExpanded,rootIds,highlightedRef,setHighlightedItemId,selectedStoryId,onSelectStoryId}),groupStatus=(0,import_react19.useMemo)(()=>getGroupStatus(collapsedData,status),[collapsedData,status]);return import_react19.default.createElement(Container2,{ref:containerRef,hasOrphans:isMain&&orphanIds.length>0},collapsedItems.map(itemId=>{let item=collapsedData[itemId],id=createId(itemId,refId);if(item.type==="root"){let descendants=expandableDescendants[item.id],isFullyExpanded=descendants.every(d2=>expanded[d2]);return import_react19.default.createElement(Root2,{key:id,item,refId,isOrphan:!1,isDisplayed:!0,isSelected:selectedStoryId===itemId,isExpanded:!!expanded[itemId],setExpanded,isFullyExpanded,expandableDescendants:descendants,onSelectStoryId})}let isDisplayed=!item.parent||ancestry[itemId].every(a2=>expanded[a2]),color2=groupStatus[itemId]?statusMapping[groupStatus[itemId]][1]:null;return import_react19.default.createElement(Node,{api,key:id,item,status:status?.[itemId],refId,color:color2,docsMode,isOrphan:orphanIds.some(oid=>itemId===oid||itemId.startsWith(`${oid}-`)),isDisplayed,isSelected:selectedStoryId===itemId,isExpanded:!!expanded[itemId],setExpanded,onSelectStoryId})}))});var Wrapper3=newStyled.div(({isMain})=>({position:"relative",marginLeft:-20,marginRight:-20,marginTop:isMain?void 0:0})),RefHead=newStyled.div(({theme})=>({fontWeight:theme.typography.weight.bold,fontSize:theme.typography.size.s2-1,textDecoration:"none",lineHeight:"16px",display:"flex",alignItems:"center",justifyContent:"space-between",background:"transparent",width:"100%",marginTop:20,paddingTop:16,borderTop:`1px solid ${theme.appBorderColor}`,color:theme.base==="light"?theme.color.defaultText:curriedTransparentize$12(.2,theme.color.defaultText)})),RefTitle=newStyled.span(({theme})=>({display:"block",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1,overflow:"hidden",marginLeft:2})),CollapseButton2=newStyled.button(({theme})=>({background:"transparent",border:"1px solid transparent",borderRadius:26,outline:"none",boxSizing:"content-box",cursor:"pointer",position:"relative",textAlign:"left",lineHeight:"normal",font:"inherit",color:"inherit",display:"flex",padding:3,paddingLeft:1,paddingRight:12,margin:0,marginLeft:-20,overflow:"hidden","span:first-of-type":{marginTop:5},"&:focus":{borderColor:theme.color.secondary,"span:first-of-type":{borderLeftColor:theme.color.secondary}}})),Ref=import_react20.default.memo(function(props){let{docsOptions}=useStorybookState(),api=useStorybookApi(),{index:index2,id:refId,title=refId,isLoading:isLoadingMain,isBrowsing,selectedStoryId,highlightedRef,setHighlighted,loginUrl,type,expanded=!0,indexError,previewInitialized}=props,length=(0,import_react20.useMemo)(()=>index2?Object.keys(index2).length:0,[index2]),indicatorRef=(0,import_react20.useRef)(null),isMain=refId===DEFAULT_REF_ID,isLoading=isLoadingMain||(type==="auto-inject"&&!previewInitialized||type==="server-checked")||type==="unknown",state=getStateType(isLoading,!!loginUrl&&length===0,!!indexError,!isLoading&&length===0),[isExpanded,setExpanded]=(0,import_react20.useState)(expanded),handleClick=(0,import_react20.useCallback)(()=>setExpanded(value2=>!value2),[setExpanded]),setHighlightedItemId=(0,import_react20.useCallback)(itemId=>setHighlighted({itemId,refId}),[setHighlighted]),onSelectStoryId=(0,import_react20.useCallback)(storyId=>api&&api.selectStory(storyId,void 0,{ref:!isMain&&refId}),[api,isMain,refId]);return import_react20.default.createElement(import_react20.default.Fragment,null,isMain||import_react20.default.createElement(RefHead,{"aria-label":`${isExpanded?"Hide":"Show"} ${title} stories`,"aria-expanded":isExpanded},import_react20.default.createElement(CollapseButton2,{"data-action":"collapse-ref",onClick:handleClick},import_react20.default.createElement(CollapseIcon2,{isExpanded}),import_react20.default.createElement(RefTitle,{title},title)),import_react20.default.createElement(RefIndicator,{...props,state,ref:indicatorRef})),isExpanded&&import_react20.default.createElement(Wrapper3,{"data-title":title,isMain},state==="auth"&&import_react20.default.createElement(AuthBlock,{id:refId,loginUrl}),state==="error"&&import_react20.default.createElement(ErrorBlock,{error:indexError}),state==="loading"&&import_react20.default.createElement(LoaderBlock,{isMain}),state==="empty"&&import_react20.default.createElement(EmptyBlock,{isMain}),state==="ready"&&import_react20.default.createElement(Tree,{status:props.status,isBrowsing,isMain,refId,data:index2,docsMode:docsOptions.docsMode,selectedStoryId,onSelectStoryId,highlightedRef,setHighlightedItemId})))});var import_react21=__toESM(require_react());var{document:document7,window:globalWindow5}=scope,fromSelection=selection=>selection?{itemId:selection.storyId,refId:selection.refId}:null,useHighlighted=({containerRef,isLoading,isBrowsing,dataset,selected})=>{let initialHighlight=fromSelection(selected),highlightedRef=(0,import_react21.useRef)(initialHighlight),[highlighted,setHighlighted]=(0,import_react21.useState)(initialHighlight),api=useStorybookApi(),updateHighlighted=(0,import_react21.useCallback)(highlight=>{highlightedRef.current=highlight,setHighlighted(highlight)},[highlightedRef]),highlightElement=(0,import_react21.useCallback)((element,center=!1)=>{let itemId=element.getAttribute("data-item-id"),refId=element.getAttribute("data-ref-id");!itemId||!refId||(updateHighlighted({itemId,refId}),scrollIntoView(element,center))},[updateHighlighted]);return(0,import_react21.useEffect)(()=>{let highlight=fromSelection(selected);if(updateHighlighted(highlight),highlight){let{itemId,refId}=highlight;setTimeout(()=>{scrollIntoView(containerRef.current?.querySelector(`[data-item-id="${itemId}"][data-ref-id="${refId}"]`),!0)},0)}},[dataset,highlightedRef,containerRef,selected]),(0,import_react21.useEffect)(()=>{let menuElement=document7.getElementById("storybook-explorer-menu"),lastRequestId,navigateTree=event=>{if(isLoading||!isBrowsing||!containerRef.current||!matchesModifiers(!1,event))return;let isArrowUp=matchesKeyCode("ArrowUp",event),isArrowDown=matchesKeyCode("ArrowDown",event);if(!(isArrowUp||isArrowDown))return;let requestId=globalWindow5.requestAnimationFrame(()=>{globalWindow5.cancelAnimationFrame(lastRequestId),lastRequestId=requestId;let target=event.target;if(!isAncestor(menuElement,target)&&!isAncestor(target,menuElement))return;target.hasAttribute("data-action")&&target.blur();let highlightable=Array.from(containerRef.current.querySelectorAll("[data-highlightable=true]")),currentIndex=highlightable.findIndex(el=>el.getAttribute("data-item-id")===highlightedRef.current?.itemId&&el.getAttribute("data-ref-id")===highlightedRef.current?.refId),nextIndex=cycle(highlightable,currentIndex,isArrowUp?-1:1),didRunAround=isArrowUp?nextIndex===highlightable.length-1:nextIndex===0;if(highlightElement(highlightable[nextIndex],didRunAround),highlightable[nextIndex].getAttribute("data-nodetype")==="component"){let{itemId,refId}=highlightedRef.current,item=api.getData(itemId,refId==="storybook_internal"?void 0:refId);item.isComponent&&api.emit(PRELOAD_ENTRIES,{ids:[item.isLeaf?item.id:item.children[0]],options:{target:refId}})}})};return document7.addEventListener("keydown",navigateTree),()=>document7.removeEventListener("keydown",navigateTree)},[isLoading,isBrowsing,highlightedRef,highlightElement]),[highlighted,updateHighlighted,highlightedRef]};var import_react22=__toESM(require_react());var HighlightStyles=({refId,itemId})=>import_react22.default.createElement(Global,{styles:({color:color2})=>{let background=curriedTransparentize$12(.85,color2.secondary);return{[`[data-ref-id="${refId}"][data-item-id="${itemId}"]:not([data-selected="true"])`]:{'&[data-nodetype="component"], &[data-nodetype="group"]':{background,"&:hover, &:focus":{background}},'&[data-nodetype="story"], &[data-nodetype="document"]':{color:color2.defaultText,background,"&:hover, &:focus":{background}}}}}});var Explorer=import_react23.default.memo(function({isLoading,isBrowsing,dataset,selected}){let containerRef=(0,import_react23.useRef)(null),[highlighted,setHighlighted,highlightedRef]=useHighlighted({containerRef,isLoading,isBrowsing,dataset,selected});return import_react23.default.createElement("div",{ref:containerRef,id:"storybook-explorer-tree","data-highlighted-ref-id":highlighted?.refId,"data-highlighted-item-id":highlighted?.itemId},highlighted&&import_react23.default.createElement(HighlightStyles,{...highlighted}),dataset.entries.map(([refId,ref])=>import_react23.default.createElement(Ref,{...ref,key:refId,isLoading,isBrowsing,selectedStoryId:selected?.refId===ref.id?selected.storyId:null,highlightedRef,setHighlighted})))});var import_prop_types2=__toESM(require_prop_types()),import_react24=__toESM(require_react()),import_react_is=__toESM(require_react_is2());function t2(t3){return typeof t3=="object"&&t3!=null&&t3.nodeType===1}function e2(t3,e3){return(!e3||t3!=="hidden")&&t3!=="visible"&&t3!=="clip"}function n2(t3,n3){if(t3.clientHeighte3||o2>t3&&l2=e3&&d2>=n3?o2-t3-r4:l2>e3&&d2n3?l2-e3+i3:0}var i2=function(e3,i3){var o2=window,l2=i3.scrollMode,d2=i3.block,f3=i3.inline,h3=i3.boundary,u2=i3.skipOverflowHiddenElements,s2=typeof h3=="function"?h3:function(t3){return t3!==h3};if(!t2(e3))throw new TypeError("Invalid target");for(var a2,c3,g2=document.scrollingElement||document.documentElement,p2=[],m3=e3;t2(m3)&&s2(m3);){if((m3=(c3=(a2=m3).parentElement)==null?a2.getRootNode().host||null:c3)===g2){p2.push(m3);break}m3!=null&&m3===document.body&&n2(m3)&&!n2(document.documentElement)||m3!=null&&n2(m3,u2)&&p2.push(m3)}for(var w3=o2.visualViewport?o2.visualViewport.width:innerWidth,v2=o2.visualViewport?o2.visualViewport.height:innerHeight,W2=window.scrollX||pageXOffset,H7=window.scrollY||pageYOffset,b3=e3.getBoundingClientRect(),y2=b3.height,E3=b3.width,M2=b3.top,V=b3.right,x3=b3.bottom,I3=b3.left,C3=d2==="start"||d2==="nearest"?M2:d2==="end"?x3:M2+y2/2,R3=f3==="center"?I3+E3/2:f3==="end"?V:I3,T2=[],k2=0;k2=0&&I3>=0&&x3<=v2&&V<=w3&&M2>=Y2&&x3<=S2&&I3>=j2&&V<=L3)return T2;var N3=getComputedStyle(B3),q2=parseInt(N3.borderLeftWidth,10),z2=parseInt(N3.borderTopWidth,10),A3=parseInt(N3.borderRightWidth,10),F2=parseInt(N3.borderBottomWidth,10),G2=0,J=0,K2="offsetWidth"in B3?B3.offsetWidth-B3.clientWidth-q2-A3:0,P4="offsetHeight"in B3?B3.offsetHeight-B3.clientHeight-z2-F2:0,Q="offsetWidth"in B3?B3.offsetWidth===0?0:X/B3.offsetWidth:0,U2="offsetHeight"in B3?B3.offsetHeight===0?0:O2/B3.offsetHeight:0;if(g2===B3)G2=d2==="start"?C3:d2==="end"?C3-v2:d2==="nearest"?r3(H7,H7+v2,v2,z2,F2,H7+C3,H7+C3+y2,y2):C3-v2/2,J=f3==="start"?R3:f3==="center"?R3-w3/2:f3==="end"?R3-w3:r3(W2,W2+w3,w3,q2,A3,W2+R3,W2+R3+E3,E3),G2=Math.max(0,G2+H7),J=Math.max(0,J+W2);else{G2=d2==="start"?C3-Y2-z2:d2==="end"?C3-S2+F2+P4:d2==="nearest"?r3(Y2,S2,O2,z2,F2+P4,C3,C3+y2,y2):C3-(Y2+O2/2)+P4/2,J=f3==="start"?R3-j2-q2:f3==="center"?R3-(j2+X/2)+K2/2:f3==="end"?R3-L3+A3+K2:r3(j2,L3,X,q2,A3+K2,R3,R3+E3,E3);var Z=B3.scrollLeft,$=B3.scrollTop;C3+=$-(G2=Math.max(0,Math.min($+G2/U2,B3.scrollHeight-O2/U2+P4))),R3+=Z-(J=Math.max(0,Math.min(Z+J/Q,B3.scrollWidth-X/Q+K2)))}T2.push({el:B3,top:G2,left:J})}return T2};var __assign2=function(){return __assign2=Object.assign||function(t3){for(var s2,i3=1,n3=arguments.length;i3{let{el,top,left}=_ref;el.scrollTop=top,el.scrollLeft=left})}function isOrContainsNode(parent,child,environment){return parent===child||child instanceof environment.Node&&parent.contains&&parent.contains(child)}function debounce3(fn,time){let timeoutId;function cancel(){timeoutId&&clearTimeout(timeoutId)}function wrapper(){for(var _len=arguments.length,args2=new Array(_len),_key=0;_key<_len;_key++)args2[_key]=arguments[_key];cancel(),timeoutId=setTimeout(()=>{timeoutId=null,fn(...args2)},time)}return wrapper.cancel=cancel,wrapper}function callAllEventHandlers(){for(var _len2=arguments.length,fns=new Array(_len2),_key2=0;_key2<_len2;_key2++)fns[_key2]=arguments[_key2];return function(event){for(var _len3=arguments.length,args2=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args2[_key3-1]=arguments[_key3];return fns.some(fn=>(fn&&fn(event,...args2),event.preventDownshiftDefault||event.hasOwnProperty("nativeEvent")&&event.nativeEvent.preventDownshiftDefault))}}function handleRefs(){for(var _len4=arguments.length,refs2=new Array(_len4),_key4=0;_key4<_len4;_key4++)refs2[_key4]=arguments[_key4];return node=>{refs2.forEach(ref=>{typeof ref=="function"?ref(node):ref&&(ref.current=node)})}}function generateId(){return String(idCounter++)}function getA11yStatusMessage$1(_ref2){let{isOpen,resultCount,previousResultCount}=_ref2;return isOpen?resultCount?resultCount!==previousResultCount?`${resultCount} result${resultCount===1?" is":"s are"} available, use up and down arrow keys to navigate. Press Enter key to select.`:"":"No results are available.":""}function unwrapArray(arg,defaultValue){return arg=Array.isArray(arg)?arg[0]:arg,!arg&&defaultValue?defaultValue:arg}function isDOMElement2(element){return typeof element.type=="string"}function getElementProps(element){return element.props}function requiredProp(fnName,propName){console.error(`The property "${propName}" is required in "${fnName}"`)}var stateKeys=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function pickState(state){state===void 0&&(state={});let result2={};return stateKeys.forEach(k2=>{state.hasOwnProperty(k2)&&(result2[k2]=state[k2])}),result2}function getState(state,props){return Object.keys(state).reduce((prevState,key2)=>(prevState[key2]=isControlledProp(props,key2)?props[key2]:state[key2],prevState),{})}function isControlledProp(props,key2){return props[key2]!==void 0}function normalizeArrowKey(event){let{key:key2,keyCode}=event;return keyCode>=37&&keyCode<=40&&key2.indexOf("Arrow")!==0?`Arrow${key2}`:key2}function isPlainObject(obj){return Object.prototype.toString.call(obj)==="[object Object]"}function getNextWrappingIndex(moveAmount,baseIndex,itemCount,getItemNodeFromIndex,circular){if(circular===void 0&&(circular=!0),itemCount===0)return-1;let itemsLastIndex=itemCount-1;(typeof baseIndex!="number"||baseIndex<0||baseIndex>=itemCount)&&(baseIndex=moveAmount>0?-1:itemsLastIndex+1);let newIndex=baseIndex+moveAmount;newIndex<0?newIndex=circular?itemsLastIndex:0:newIndex>itemsLastIndex&&(newIndex=circular?0:itemsLastIndex);let nonDisabledNewIndex=getNextNonDisabledIndex(moveAmount,newIndex,itemCount,getItemNodeFromIndex,circular);return nonDisabledNewIndex===-1?baseIndex>=itemCount?-1:baseIndex:nonDisabledNewIndex}function getNextNonDisabledIndex(moveAmount,baseIndex,itemCount,getItemNodeFromIndex,circular){let currentElementNode=getItemNodeFromIndex(baseIndex);if(!currentElementNode||!currentElementNode.hasAttribute("disabled"))return baseIndex;if(moveAmount>0){for(let index2=baseIndex+1;index2=0;index2--)if(!getItemNodeFromIndex(index2).hasAttribute("disabled"))return index2;return circular?moveAmount>0?getNextNonDisabledIndex(1,0,itemCount,getItemNodeFromIndex,!1):getNextNonDisabledIndex(-1,itemCount-1,itemCount,getItemNodeFromIndex,!1):-1}function targetWithinDownshift(target,downshiftElements,environment,checkActiveElement){return checkActiveElement===void 0&&(checkActiveElement=!0),downshiftElements.some(contextNode=>contextNode&&(isOrContainsNode(contextNode,target,environment)||checkActiveElement&&isOrContainsNode(contextNode,environment.document.activeElement,environment)))}var validateControlledUnchanged=noop3;validateControlledUnchanged=(state,prevProps,nextProps)=>{let warningDescription="This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props";Object.keys(state).forEach(propKey=>{prevProps[propKey]!==void 0&&nextProps[propKey]===void 0?console.error(`downshift: A component has changed the controlled prop "${propKey}" to be uncontrolled. ${warningDescription}`):prevProps[propKey]===void 0&&nextProps[propKey]!==void 0&&console.error(`downshift: A component has changed the uncontrolled prop "${propKey}" to be controlled. ${warningDescription}`)})};var cleanupStatus=debounce3(documentProp=>{getStatusDiv(documentProp).textContent=""},500);function setStatus(status,documentProp){let div=getStatusDiv(documentProp);status&&(div.textContent=status,cleanupStatus(documentProp))}function getStatusDiv(documentProp){documentProp===void 0&&(documentProp=document);let statusDiv=documentProp.getElementById("a11y-status-message");return statusDiv||(statusDiv=documentProp.createElement("div"),statusDiv.setAttribute("id","a11y-status-message"),statusDiv.setAttribute("role","status"),statusDiv.setAttribute("aria-live","polite"),statusDiv.setAttribute("aria-relevant","additions text"),Object.assign(statusDiv.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),documentProp.body.appendChild(statusDiv),statusDiv)}var unknown="__autocomplete_unknown__",mouseUp="__autocomplete_mouseup__",itemMouseEnter="__autocomplete_item_mouseenter__",keyDownArrowUp="__autocomplete_keydown_arrow_up__",keyDownArrowDown="__autocomplete_keydown_arrow_down__",keyDownEscape="__autocomplete_keydown_escape__",keyDownEnter="__autocomplete_keydown_enter__",keyDownHome="__autocomplete_keydown_home__",keyDownEnd="__autocomplete_keydown_end__",clickItem="__autocomplete_click_item__",blurInput="__autocomplete_blur_input__",changeInput="__autocomplete_change_input__",keyDownSpaceButton="__autocomplete_keydown_space_button__",clickButton="__autocomplete_click_button__",blurButton="__autocomplete_blur_button__",controlledPropUpdatedSelectedItem="__autocomplete_controlled_prop_updated_selected_item__",touchEnd="__autocomplete_touchend__",stateChangeTypes$3=Object.freeze({__proto__:null,unknown,mouseUp,itemMouseEnter,keyDownArrowUp,keyDownArrowDown,keyDownEscape,keyDownEnter,keyDownHome,keyDownEnd,clickItem,blurInput,changeInput,keyDownSpaceButton,clickButton,blurButton,controlledPropUpdatedSelectedItem,touchEnd}),Downshift=(()=>{class Downshift2 extends import_react24.Component{constructor(_props){var _this;super(_props),_this=this,this.id=this.props.id||`downshift-${generateId()}`,this.menuId=this.props.menuId||`${this.id}-menu`,this.labelId=this.props.labelId||`${this.id}-label`,this.inputId=this.props.inputId||`${this.id}-input`,this.getItemId=this.props.getItemId||(index2=>`${this.id}-item-${index2}`),this.input=null,this.items=[],this.itemCount=null,this.previousResultCount=0,this.timeoutIds=[],this.internalSetTimeout=(fn,time)=>{let id=setTimeout(()=>{this.timeoutIds=this.timeoutIds.filter(i3=>i3!==id),fn()},time);this.timeoutIds.push(id)},this.setItemCount=count=>{this.itemCount=count},this.unsetItemCount=()=>{this.itemCount=null},this.setHighlightedIndex=function(highlightedIndex,otherStateToSet){highlightedIndex===void 0&&(highlightedIndex=_this.props.defaultHighlightedIndex),otherStateToSet===void 0&&(otherStateToSet={}),otherStateToSet=pickState(otherStateToSet),_this.internalSetState({highlightedIndex,...otherStateToSet})},this.clearSelection=cb=>{this.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:this.props.defaultHighlightedIndex,isOpen:this.props.defaultIsOpen},cb)},this.selectItem=(item,otherStateToSet,cb)=>{otherStateToSet=pickState(otherStateToSet),this.internalSetState({isOpen:this.props.defaultIsOpen,highlightedIndex:this.props.defaultHighlightedIndex,selectedItem:item,inputValue:this.props.itemToString(item),...otherStateToSet},cb)},this.selectItemAtIndex=(itemIndex,otherStateToSet,cb)=>{let item=this.items[itemIndex];item!=null&&this.selectItem(item,otherStateToSet,cb)},this.selectHighlightedItem=(otherStateToSet,cb)=>this.selectItemAtIndex(this.getState().highlightedIndex,otherStateToSet,cb),this.internalSetState=(stateToSet,cb)=>{let isItemSelected,onChangeArg,onStateChangeArg={},isStateToSetFunction=typeof stateToSet=="function";return!isStateToSetFunction&&stateToSet.hasOwnProperty("inputValue")&&this.props.onInputValueChange(stateToSet.inputValue,{...this.getStateAndHelpers(),...stateToSet}),this.setState(state=>{state=this.getState(state);let newStateToSet=isStateToSetFunction?stateToSet(state):stateToSet;newStateToSet=this.props.stateReducer(state,newStateToSet),isItemSelected=newStateToSet.hasOwnProperty("selectedItem");let nextState={};return isItemSelected&&newStateToSet.selectedItem!==state.selectedItem&&(onChangeArg=newStateToSet.selectedItem),newStateToSet.type=newStateToSet.type||unknown,Object.keys(newStateToSet).forEach(key2=>{state[key2]!==newStateToSet[key2]&&(onStateChangeArg[key2]=newStateToSet[key2]),key2!=="type"&&(newStateToSet[key2],isControlledProp(this.props,key2)||(nextState[key2]=newStateToSet[key2]))}),isStateToSetFunction&&newStateToSet.hasOwnProperty("inputValue")&&this.props.onInputValueChange(newStateToSet.inputValue,{...this.getStateAndHelpers(),...newStateToSet}),nextState},()=>{cbToCb(cb)(),Object.keys(onStateChangeArg).length>1&&this.props.onStateChange(onStateChangeArg,this.getStateAndHelpers()),isItemSelected&&this.props.onSelect(stateToSet.selectedItem,this.getStateAndHelpers()),onChangeArg!==void 0&&this.props.onChange(onChangeArg,this.getStateAndHelpers()),this.props.onUserAction(onStateChangeArg,this.getStateAndHelpers())})},this.rootRef=node=>this._rootNode=node,this.getRootProps=function(_temp,_temp2){let{refKey="ref",ref,...rest}=_temp===void 0?{}:_temp,{suppressRefError=!1}=_temp2===void 0?{}:_temp2;_this.getRootProps.called=!0,_this.getRootProps.refKey=refKey,_this.getRootProps.suppressRefError=suppressRefError;let{isOpen}=_this.getState();return{[refKey]:handleRefs(ref,_this.rootRef),role:"combobox","aria-expanded":isOpen,"aria-haspopup":"listbox","aria-owns":isOpen?_this.menuId:null,"aria-labelledby":_this.labelId,...rest}},this.keyDownHandlers={ArrowDown(event){if(event.preventDefault(),this.getState().isOpen){let amount=event.shiftKey?5:1;this.moveHighlightedIndex(amount,{type:keyDownArrowDown})}else this.internalSetState({isOpen:!0,type:keyDownArrowDown},()=>{let itemCount=this.getItemCount();if(itemCount>0){let{highlightedIndex}=this.getState(),nextHighlightedIndex=getNextWrappingIndex(1,highlightedIndex,itemCount,index2=>this.getItemNodeFromIndex(index2));this.setHighlightedIndex(nextHighlightedIndex,{type:keyDownArrowDown})}})},ArrowUp(event){if(event.preventDefault(),this.getState().isOpen){let amount=event.shiftKey?-5:-1;this.moveHighlightedIndex(amount,{type:keyDownArrowUp})}else this.internalSetState({isOpen:!0,type:keyDownArrowUp},()=>{let itemCount=this.getItemCount();if(itemCount>0){let{highlightedIndex}=this.getState(),nextHighlightedIndex=getNextWrappingIndex(-1,highlightedIndex,itemCount,index2=>this.getItemNodeFromIndex(index2));this.setHighlightedIndex(nextHighlightedIndex,{type:keyDownArrowUp})}})},Enter(event){if(event.which===229)return;let{isOpen,highlightedIndex}=this.getState();if(isOpen&&highlightedIndex!=null){event.preventDefault();let item=this.items[highlightedIndex],itemNode=this.getItemNodeFromIndex(highlightedIndex);if(item==null||itemNode&&itemNode.hasAttribute("disabled"))return;this.selectHighlightedItem({type:keyDownEnter})}},Escape(event){event.preventDefault(),this.reset({type:keyDownEscape,...!this.state.isOpen&&{selectedItem:null,inputValue:""}})}},this.buttonKeyDownHandlers={...this.keyDownHandlers," "(event){event.preventDefault(),this.toggleMenu({type:keyDownSpaceButton})}},this.inputKeyDownHandlers={...this.keyDownHandlers,Home(event){let{isOpen}=this.getState();if(!isOpen)return;event.preventDefault();let itemCount=this.getItemCount();if(itemCount<=0||!isOpen)return;let newHighlightedIndex=getNextNonDisabledIndex(1,0,itemCount,index2=>this.getItemNodeFromIndex(index2),!1);this.setHighlightedIndex(newHighlightedIndex,{type:keyDownHome})},End(event){let{isOpen}=this.getState();if(!isOpen)return;event.preventDefault();let itemCount=this.getItemCount();if(itemCount<=0||!isOpen)return;let newHighlightedIndex=getNextNonDisabledIndex(-1,itemCount-1,itemCount,index2=>this.getItemNodeFromIndex(index2),!1);this.setHighlightedIndex(newHighlightedIndex,{type:keyDownEnd})}},this.getToggleButtonProps=function(_temp3){let{onClick,onPress,onKeyDown,onKeyUp,onBlur,...rest}=_temp3===void 0?{}:_temp3,{isOpen}=_this.getState(),enabledEventHandlers={onClick:callAllEventHandlers(onClick,_this.buttonHandleClick),onKeyDown:callAllEventHandlers(onKeyDown,_this.buttonHandleKeyDown),onKeyUp:callAllEventHandlers(onKeyUp,_this.buttonHandleKeyUp),onBlur:callAllEventHandlers(onBlur,_this.buttonHandleBlur)},eventHandlers=rest.disabled?{}:enabledEventHandlers;return{type:"button",role:"button","aria-label":isOpen?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0,...eventHandlers,...rest}},this.buttonHandleKeyUp=event=>{event.preventDefault()},this.buttonHandleKeyDown=event=>{let key2=normalizeArrowKey(event);this.buttonKeyDownHandlers[key2]&&this.buttonKeyDownHandlers[key2].call(this,event)},this.buttonHandleClick=event=>{event.preventDefault(),this.props.environment.document.activeElement===this.props.environment.document.body&&event.target.focus(),this.internalSetTimeout(()=>this.toggleMenu({type:clickButton}))},this.buttonHandleBlur=event=>{let blurTarget=event.target;this.internalSetTimeout(()=>{!this.isMouseDown&&(this.props.environment.document.activeElement==null||this.props.environment.document.activeElement.id!==this.inputId)&&this.props.environment.document.activeElement!==blurTarget&&this.reset({type:blurButton})})},this.getLabelProps=props=>({htmlFor:this.inputId,id:this.labelId,...props}),this.getInputProps=function(_temp4){let{onKeyDown,onBlur,onChange,onInput,onChangeText,...rest}=_temp4===void 0?{}:_temp4,onChangeKey,eventHandlers={};onChangeKey="onChange";let{inputValue,isOpen,highlightedIndex}=_this.getState();return rest.disabled||(eventHandlers={[onChangeKey]:callAllEventHandlers(onChange,onInput,_this.inputHandleChange),onKeyDown:callAllEventHandlers(onKeyDown,_this.inputHandleKeyDown),onBlur:callAllEventHandlers(onBlur,_this.inputHandleBlur)}),{"aria-autocomplete":"list","aria-activedescendant":isOpen&&typeof highlightedIndex=="number"&&highlightedIndex>=0?_this.getItemId(highlightedIndex):null,"aria-controls":isOpen?_this.menuId:null,"aria-labelledby":_this.labelId,autoComplete:"off",value:inputValue,id:_this.inputId,...eventHandlers,...rest}},this.inputHandleKeyDown=event=>{let key2=normalizeArrowKey(event);key2&&this.inputKeyDownHandlers[key2]&&this.inputKeyDownHandlers[key2].call(this,event)},this.inputHandleChange=event=>{this.internalSetState({type:changeInput,isOpen:!0,inputValue:event.target.value,highlightedIndex:this.props.defaultHighlightedIndex})},this.inputHandleBlur=()=>{this.internalSetTimeout(()=>{let downshiftButtonIsActive=this.props.environment.document&&!!this.props.environment.document.activeElement&&!!this.props.environment.document.activeElement.dataset&&this.props.environment.document.activeElement.dataset.toggle&&this._rootNode&&this._rootNode.contains(this.props.environment.document.activeElement);!this.isMouseDown&&!downshiftButtonIsActive&&this.reset({type:blurInput})})},this.menuRef=node=>{this._menuNode=node},this.getMenuProps=function(_temp5,_temp6){let{refKey="ref",ref,...props}=_temp5===void 0?{}:_temp5,{suppressRefError=!1}=_temp6===void 0?{}:_temp6;return _this.getMenuProps.called=!0,_this.getMenuProps.refKey=refKey,_this.getMenuProps.suppressRefError=suppressRefError,{[refKey]:handleRefs(ref,_this.menuRef),role:"listbox","aria-labelledby":props&&props["aria-label"]?null:_this.labelId,id:_this.menuId,...props}},this.getItemProps=function(_temp7){let{onMouseMove,onMouseDown,onClick,onPress,index:index2,item=requiredProp("getItemProps","item"),...rest}=_temp7===void 0?{}:_temp7;index2===void 0?(_this.items.push(item),index2=_this.items.indexOf(item)):_this.items[index2]=item;let onSelectKey="onClick",customClickHandler=onClick,enabledEventHandlers={onMouseMove:callAllEventHandlers(onMouseMove,()=>{index2!==_this.getState().highlightedIndex&&(_this.setHighlightedIndex(index2,{type:itemMouseEnter}),_this.avoidScrolling=!0,_this.internalSetTimeout(()=>_this.avoidScrolling=!1,250))}),onMouseDown:callAllEventHandlers(onMouseDown,event=>{event.preventDefault()}),[onSelectKey]:callAllEventHandlers(customClickHandler,()=>{_this.selectItemAtIndex(index2,{type:clickItem})})},eventHandlers=rest.disabled?{onMouseDown:enabledEventHandlers.onMouseDown}:enabledEventHandlers;return{id:_this.getItemId(index2),role:"option","aria-selected":_this.getState().highlightedIndex===index2,...eventHandlers,...rest}},this.clearItems=()=>{this.items=[]},this.reset=function(otherStateToSet,cb){otherStateToSet===void 0&&(otherStateToSet={}),otherStateToSet=pickState(otherStateToSet),_this.internalSetState(_ref=>{let{selectedItem}=_ref;return{isOpen:_this.props.defaultIsOpen,highlightedIndex:_this.props.defaultHighlightedIndex,inputValue:_this.props.itemToString(selectedItem),...otherStateToSet}},cb)},this.toggleMenu=function(otherStateToSet,cb){otherStateToSet===void 0&&(otherStateToSet={}),otherStateToSet=pickState(otherStateToSet),_this.internalSetState(_ref2=>{let{isOpen}=_ref2;return{isOpen:!isOpen,...isOpen&&{highlightedIndex:_this.props.defaultHighlightedIndex},...otherStateToSet}},()=>{let{isOpen,highlightedIndex}=_this.getState();isOpen&&_this.getItemCount()>0&&typeof highlightedIndex=="number"&&_this.setHighlightedIndex(highlightedIndex,otherStateToSet),cbToCb(cb)()})},this.openMenu=cb=>{this.internalSetState({isOpen:!0},cb)},this.closeMenu=cb=>{this.internalSetState({isOpen:!1},cb)},this.updateStatus=debounce3(()=>{let state=this.getState(),item=this.items[state.highlightedIndex],resultCount=this.getItemCount(),status=this.props.getA11yStatusMessage({itemToString:this.props.itemToString,previousResultCount:this.previousResultCount,resultCount,highlightedItem:item,...state});this.previousResultCount=resultCount,setStatus(status,this.props.environment.document)},200);let{defaultHighlightedIndex,initialHighlightedIndex:_highlightedIndex=defaultHighlightedIndex,defaultIsOpen,initialIsOpen:_isOpen=defaultIsOpen,initialInputValue:_inputValue="",initialSelectedItem:_selectedItem=null}=this.props,_state=this.getState({highlightedIndex:_highlightedIndex,isOpen:_isOpen,inputValue:_inputValue,selectedItem:_selectedItem});_state.selectedItem!=null&&this.props.initialInputValue===void 0&&(_state.inputValue=this.props.itemToString(_state.selectedItem)),this.state=_state}internalClearTimeouts(){this.timeoutIds.forEach(id=>{clearTimeout(id)}),this.timeoutIds=[]}getState(stateToMerge){return stateToMerge===void 0&&(stateToMerge=this.state),getState(stateToMerge,this.props)}getItemCount(){let itemCount=this.items.length;return this.itemCount!=null?itemCount=this.itemCount:this.props.itemCount!==void 0&&(itemCount=this.props.itemCount),itemCount}getItemNodeFromIndex(index2){return this.props.environment.document.getElementById(this.getItemId(index2))}scrollHighlightedItemIntoView(){{let node=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(node,this._menuNode)}}moveHighlightedIndex(amount,otherStateToSet){let itemCount=this.getItemCount(),{highlightedIndex}=this.getState();if(itemCount>0){let nextHighlightedIndex=getNextWrappingIndex(amount,highlightedIndex,itemCount,index2=>this.getItemNodeFromIndex(index2));this.setHighlightedIndex(nextHighlightedIndex,otherStateToSet)}}getStateAndHelpers(){let{highlightedIndex,inputValue,selectedItem,isOpen}=this.getState(),{itemToString:itemToString2}=this.props,{id}=this,{getRootProps,getToggleButtonProps,getLabelProps,getMenuProps,getInputProps,getItemProps:getItemProps2,openMenu,closeMenu,toggleMenu,selectItem,selectItemAtIndex,selectHighlightedItem,setHighlightedIndex,clearSelection,clearItems,reset,setItemCount,unsetItemCount,internalSetState:setState}=this;return{getRootProps,getToggleButtonProps,getLabelProps,getMenuProps,getInputProps,getItemProps:getItemProps2,reset,openMenu,closeMenu,toggleMenu,selectItem,selectItemAtIndex,selectHighlightedItem,setHighlightedIndex,clearSelection,clearItems,setItemCount,unsetItemCount,setState,itemToString:itemToString2,id,highlightedIndex,inputValue,isOpen,selectedItem}}componentDidMount(){this.getMenuProps.called&&!this.getMenuProps.suppressRefError&&validateGetMenuPropsCalledCorrectly(this._menuNode,this.getMenuProps);{let onMouseDown=()=>{this.isMouseDown=!0},onMouseUp=event=>{this.isMouseDown=!1,!targetWithinDownshift(event.target,[this._rootNode,this._menuNode],this.props.environment)&&this.getState().isOpen&&this.reset({type:mouseUp},()=>this.props.onOuterClick(this.getStateAndHelpers()))},onTouchStart=()=>{this.isTouchMove=!1},onTouchMove=()=>{this.isTouchMove=!0},onTouchEnd=event=>{let contextWithinDownshift=targetWithinDownshift(event.target,[this._rootNode,this._menuNode],this.props.environment,!1);!this.isTouchMove&&!contextWithinDownshift&&this.getState().isOpen&&this.reset({type:touchEnd},()=>this.props.onOuterClick(this.getStateAndHelpers()))},{environment}=this.props;environment.addEventListener("mousedown",onMouseDown),environment.addEventListener("mouseup",onMouseUp),environment.addEventListener("touchstart",onTouchStart),environment.addEventListener("touchmove",onTouchMove),environment.addEventListener("touchend",onTouchEnd),this.cleanup=()=>{this.internalClearTimeouts(),this.updateStatus.cancel(),environment.removeEventListener("mousedown",onMouseDown),environment.removeEventListener("mouseup",onMouseUp),environment.removeEventListener("touchstart",onTouchStart),environment.removeEventListener("touchmove",onTouchMove),environment.removeEventListener("touchend",onTouchEnd)}}}shouldScroll(prevState,prevProps){let{highlightedIndex:currentHighlightedIndex}=this.props.highlightedIndex===void 0?this.getState():this.props,{highlightedIndex:prevHighlightedIndex}=prevProps.highlightedIndex===void 0?prevState:prevProps;return currentHighlightedIndex&&this.getState().isOpen&&!prevState.isOpen||currentHighlightedIndex!==prevHighlightedIndex}componentDidUpdate(prevProps,prevState){validateControlledUnchanged(this.state,prevProps,this.props),this.getMenuProps.called&&!this.getMenuProps.suppressRefError&&validateGetMenuPropsCalledCorrectly(this._menuNode,this.getMenuProps),isControlledProp(this.props,"selectedItem")&&this.props.selectedItemChanged(prevProps.selectedItem,this.props.selectedItem)&&this.internalSetState({type:controlledPropUpdatedSelectedItem,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(prevState,prevProps)&&this.scrollHighlightedItemIntoView(),this.updateStatus()}componentWillUnmount(){this.cleanup()}render(){let children=unwrapArray(this.props.children,noop3);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;let element=unwrapArray(children(this.getStateAndHelpers()));if(!element)return null;if(this.getRootProps.called||this.props.suppressRefError)return!this.getRootProps.suppressRefError&&!this.props.suppressRefError&&validateGetRootPropsCalledCorrectly(element,this.getRootProps),element;if(isDOMElement2(element))return(0,import_react24.cloneElement)(element,this.getRootProps(getElementProps(element)));throw new Error("downshift: If you return a non-DOM element, you must apply the getRootProps function")}}return Downshift2.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:getA11yStatusMessage$1,itemToString:i3=>i3==null?"":(isPlainObject(i3)&&!i3.hasOwnProperty("toString")&&console.warn("downshift: An object was passed to the default implementation of `itemToString`. You should probably provide your own `itemToString` implementation. Please refer to the `itemToString` API documentation.","The object that was passed:",i3),String(i3)),onStateChange:noop3,onInputValueChange:noop3,onUserAction:noop3,onChange:noop3,onSelect:noop3,onOuterClick:noop3,selectedItemChanged:(prevItem,item)=>prevItem!==item,environment:typeof window>"u"?{}:window,stateReducer:(state,stateToSet)=>stateToSet,suppressRefError:!1,scrollIntoView:scrollIntoView2},Downshift2.stateChangeTypes=stateChangeTypes$3,Downshift2})();Downshift.propTypes={children:import_prop_types2.default.func,defaultHighlightedIndex:import_prop_types2.default.number,defaultIsOpen:import_prop_types2.default.bool,initialHighlightedIndex:import_prop_types2.default.number,initialSelectedItem:import_prop_types2.default.any,initialInputValue:import_prop_types2.default.string,initialIsOpen:import_prop_types2.default.bool,getA11yStatusMessage:import_prop_types2.default.func,itemToString:import_prop_types2.default.func,onChange:import_prop_types2.default.func,onSelect:import_prop_types2.default.func,onStateChange:import_prop_types2.default.func,onInputValueChange:import_prop_types2.default.func,onUserAction:import_prop_types2.default.func,onOuterClick:import_prop_types2.default.func,selectedItemChanged:import_prop_types2.default.func,stateReducer:import_prop_types2.default.func,itemCount:import_prop_types2.default.number,id:import_prop_types2.default.string,environment:import_prop_types2.default.shape({addEventListener:import_prop_types2.default.func,removeEventListener:import_prop_types2.default.func,document:import_prop_types2.default.shape({getElementById:import_prop_types2.default.func,activeElement:import_prop_types2.default.any,body:import_prop_types2.default.any})}),suppressRefError:import_prop_types2.default.bool,scrollIntoView:import_prop_types2.default.func,selectedItem:import_prop_types2.default.any,isOpen:import_prop_types2.default.bool,inputValue:import_prop_types2.default.string,highlightedIndex:import_prop_types2.default.number,labelId:import_prop_types2.default.string,inputId:import_prop_types2.default.string,menuId:import_prop_types2.default.string,getItemId:import_prop_types2.default.func};var Downshift$1=Downshift;function validateGetMenuPropsCalledCorrectly(node,_ref3){let{refKey}=_ref3;node||console.error(`downshift: The ref prop "${refKey}" from getMenuProps was not applied correctly on your menu element.`)}function validateGetRootPropsCalledCorrectly(element,_ref4){let{refKey}=_ref4,refKeySpecified=refKey!=="ref",isComposite=!isDOMElement2(element);isComposite&&!refKeySpecified&&!(0,import_react_is.isForwardRef)(element)?console.error("downshift: You returned a non-DOM element. You must specify a refKey in getRootProps"):!isComposite&&refKeySpecified&&console.error(`downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified "${refKey}"`),!(0,import_react_is.isForwardRef)(element)&&!getElementProps(element)[refKey]&&console.error(`downshift: You must apply the ref prop "${refKey}" from getRootProps onto your root element.`)}var dropdownDefaultStateValues={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function callOnChangeProps(action,state,newState){let{props,type}=action,changes={};Object.keys(state).forEach(key2=>{invokeOnChangeHandler(key2,action,state,newState),newState[key2]!==state[key2]&&(changes[key2]=newState[key2])}),props.onStateChange&&Object.keys(changes).length&&props.onStateChange({type,...changes})}function invokeOnChangeHandler(key2,action,state,newState){let{props,type}=action,handler=`on${capitalizeString(key2)}Change`;props[handler]&&newState[key2]!==void 0&&newState[key2]!==state[key2]&&props[handler]({type,...newState})}function stateReducer(s2,a2){return a2.changes}function getA11ySelectionMessage(selectionParameters){let{selectedItem,itemToString:itemToStringLocal}=selectionParameters;return selectedItem?`${itemToStringLocal(selectedItem)} has been selected.`:""}var updateA11yStatus=debounce3((getA11yMessage,document12)=>{setStatus(getA11yMessage(),document12)},200),useIsomorphicLayoutEffect=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?import_react24.useLayoutEffect:import_react24.useEffect;function useElementIds(_ref){let{id=`downshift-${generateId()}`,labelId,menuId,getItemId,toggleButtonId,inputId}=_ref;return(0,import_react24.useRef)({labelId:labelId||`${id}-label`,menuId:menuId||`${id}-menu`,getItemId:getItemId||(index2=>`${id}-item-${index2}`),toggleButtonId:toggleButtonId||`${id}-toggle-button`,inputId:inputId||`${id}-input`}).current}function getItemIndex(index2,item,items){return index2!==void 0?index2:items.length===0?-1:items.indexOf(item)}function itemToString(item){return item?String(item):""}function isAcceptedCharacterKey(key2){return/^\S{1}$/.test(key2)}function capitalizeString(string){return`${string.slice(0,1).toUpperCase()}${string.slice(1)}`}function useLatestRef(val){let ref=(0,import_react24.useRef)(val);return ref.current=val,ref}function useEnhancedReducer(reducer,initialState,props){let prevStateRef=(0,import_react24.useRef)(),actionRef=(0,import_react24.useRef)(),enhancedReducer=(0,import_react24.useCallback)((state2,action2)=>{actionRef.current=action2,state2=getState(state2,action2.props);let changes=reducer(state2,action2);return action2.props.stateReducer(state2,{...action2,changes})},[reducer]),[state,dispatch]=(0,import_react24.useReducer)(enhancedReducer,initialState),propsRef=useLatestRef(props),dispatchWithProps=(0,import_react24.useCallback)(action2=>dispatch({props:propsRef.current,...action2}),[propsRef]),action=actionRef.current;return(0,import_react24.useEffect)(()=>{action&&prevStateRef.current&&prevStateRef.current!==state&&callOnChangeProps(action,getState(prevStateRef.current,action.props),state),prevStateRef.current=state},[state,props,action]),[state,dispatchWithProps]}function useControlledReducer$1(reducer,initialState,props){let[state,dispatch]=useEnhancedReducer(reducer,initialState,props);return[getState(state,props),dispatch]}var defaultProps$3={itemToString,stateReducer,getA11ySelectionMessage,scrollIntoView:scrollIntoView2,circularNavigation:!1,environment:typeof window>"u"?{}:window};function getDefaultValue$1(props,propKey,defaultStateValues2){defaultStateValues2===void 0&&(defaultStateValues2=dropdownDefaultStateValues);let defaultValue=props[`default${capitalizeString(propKey)}`];return defaultValue!==void 0?defaultValue:defaultStateValues2[propKey]}function getInitialValue$1(props,propKey,defaultStateValues2){defaultStateValues2===void 0&&(defaultStateValues2=dropdownDefaultStateValues);let value2=props[propKey];if(value2!==void 0)return value2;let initialValue=props[`initial${capitalizeString(propKey)}`];return initialValue!==void 0?initialValue:getDefaultValue$1(props,propKey,defaultStateValues2)}function getInitialState$2(props){let selectedItem=getInitialValue$1(props,"selectedItem"),isOpen=getInitialValue$1(props,"isOpen"),highlightedIndex=getInitialValue$1(props,"highlightedIndex"),inputValue=getInitialValue$1(props,"inputValue");return{highlightedIndex:highlightedIndex<0&&selectedItem&&isOpen?props.items.indexOf(selectedItem):highlightedIndex,isOpen,selectedItem,inputValue}}function getHighlightedIndexOnOpen(props,state,offset,getItemNodeFromIndex){let{items,initialHighlightedIndex,defaultHighlightedIndex}=props,{selectedItem,highlightedIndex}=state;return items.length===0?-1:initialHighlightedIndex!==void 0&&highlightedIndex===initialHighlightedIndex?initialHighlightedIndex:defaultHighlightedIndex!==void 0?defaultHighlightedIndex:selectedItem?offset===0?items.indexOf(selectedItem):getNextWrappingIndex(offset,items.indexOf(selectedItem),items.length,getItemNodeFromIndex,!1):offset===0?-1:offset<0?items.length-1:0}function useMouseAndTouchTracker(isOpen,downshiftElementRefs,environment,handleBlur){let mouseAndTouchTrackersRef=(0,import_react24.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,import_react24.useEffect)(()=>{let onMouseDown=()=>{mouseAndTouchTrackersRef.current.isMouseDown=!0},onMouseUp=event=>{mouseAndTouchTrackersRef.current.isMouseDown=!1,isOpen&&!targetWithinDownshift(event.target,downshiftElementRefs.map(ref=>ref.current),environment)&&handleBlur()},onTouchStart=()=>{mouseAndTouchTrackersRef.current.isTouchMove=!1},onTouchMove=()=>{mouseAndTouchTrackersRef.current.isTouchMove=!0},onTouchEnd=event=>{isOpen&&!mouseAndTouchTrackersRef.current.isTouchMove&&!targetWithinDownshift(event.target,downshiftElementRefs.map(ref=>ref.current),environment,!1)&&handleBlur()};return environment.addEventListener("mousedown",onMouseDown),environment.addEventListener("mouseup",onMouseUp),environment.addEventListener("touchstart",onTouchStart),environment.addEventListener("touchmove",onTouchMove),environment.addEventListener("touchend",onTouchEnd),function(){environment.removeEventListener("mousedown",onMouseDown),environment.removeEventListener("mouseup",onMouseUp),environment.removeEventListener("touchstart",onTouchStart),environment.removeEventListener("touchmove",onTouchMove),environment.removeEventListener("touchend",onTouchEnd)}},[isOpen,environment]),mouseAndTouchTrackersRef}var useGetterPropsCalledChecker=()=>noop3;useGetterPropsCalledChecker=function(){let isInitialMountRef=(0,import_react24.useRef)(!0);for(var _len=arguments.length,propKeys=new Array(_len),_key=0;_key<_len;_key++)propKeys[_key]=arguments[_key];let getterPropsCalledRef=(0,import_react24.useRef)(propKeys.reduce((acc,propKey)=>(acc[propKey]={},acc),{}));return(0,import_react24.useEffect)(()=>{Object.keys(getterPropsCalledRef.current).forEach(propKey=>{let propCallInfo=getterPropsCalledRef.current[propKey];if(isInitialMountRef.current&&!Object.keys(propCallInfo).length){console.error(`downshift: You forgot to call the ${propKey} getter function on your component / element.`);return}let{suppressRefError,refKey,elementRef}=propCallInfo;(!elementRef||!elementRef.current)&&!suppressRefError&&console.error(`downshift: The ref prop "${refKey}" from ${propKey} was not applied correctly on your element.`)}),isInitialMountRef.current=!1}),(0,import_react24.useCallback)((propKey,suppressRefError,refKey,elementRef)=>{getterPropsCalledRef.current[propKey]={suppressRefError,refKey,elementRef}},[])};function useA11yMessageSetter(getA11yMessage,dependencyArray,_ref2){let{isInitialMount,highlightedIndex,items,environment,...rest}=_ref2;(0,import_react24.useEffect)(()=>{isInitialMount||updateA11yStatus(()=>getA11yMessage({highlightedIndex,highlightedItem:items[highlightedIndex],resultCount:items.length,...rest}),environment.document)},dependencyArray)}function useScrollIntoView(_ref3){let{highlightedIndex,isOpen,itemRefs,getItemNodeFromIndex,menuElement,scrollIntoView:scrollIntoViewProp}=_ref3,shouldScrollRef=(0,import_react24.useRef)(!0);return useIsomorphicLayoutEffect(()=>{highlightedIndex<0||!isOpen||!Object.keys(itemRefs.current).length||(shouldScrollRef.current===!1?shouldScrollRef.current=!0:scrollIntoViewProp(getItemNodeFromIndex(highlightedIndex),menuElement))},[highlightedIndex]),shouldScrollRef}var useControlPropsValidator=noop3;useControlPropsValidator=_ref4=>{let{isInitialMount,props,state}=_ref4,prevPropsRef=(0,import_react24.useRef)(props);(0,import_react24.useEffect)(()=>{isInitialMount||(validateControlledUnchanged(state,prevPropsRef.current,props),prevPropsRef.current=props)},[state,props,isInitialMount])};function downshiftCommonReducer(state,action,stateChangeTypes2){let{type,props}=action,changes;switch(type){case stateChangeTypes2.ItemMouseMove:changes={highlightedIndex:action.disabled?-1:action.index};break;case stateChangeTypes2.MenuMouseLeave:changes={highlightedIndex:-1};break;case stateChangeTypes2.ToggleButtonClick:case stateChangeTypes2.FunctionToggleMenu:changes={isOpen:!state.isOpen,highlightedIndex:state.isOpen?-1:getHighlightedIndexOnOpen(props,state,0)};break;case stateChangeTypes2.FunctionOpenMenu:changes={isOpen:!0,highlightedIndex:getHighlightedIndexOnOpen(props,state,0)};break;case stateChangeTypes2.FunctionCloseMenu:changes={isOpen:!1};break;case stateChangeTypes2.FunctionSetHighlightedIndex:changes={highlightedIndex:action.highlightedIndex};break;case stateChangeTypes2.FunctionSetInputValue:changes={inputValue:action.inputValue};break;case stateChangeTypes2.FunctionReset:changes={highlightedIndex:getDefaultValue$1(props,"highlightedIndex"),isOpen:getDefaultValue$1(props,"isOpen"),selectedItem:getDefaultValue$1(props,"selectedItem"),inputValue:getDefaultValue$1(props,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return{...state,...changes}}function getItemIndexByCharacterKey(_a){for(var keysSoFar=_a.keysSoFar,highlightedIndex=_a.highlightedIndex,items=_a.items,itemToString2=_a.itemToString,getItemNodeFromIndex=_a.getItemNodeFromIndex,lowerCasedKeysSoFar=keysSoFar.toLowerCase(),index2=0;index2=0&&{selectedItem:props.items[itemIndex]}}}break;case ToggleButtonKeyDownArrowDown:changes={highlightedIndex:getHighlightedIndexOnOpen(props,state,1,action.getItemNodeFromIndex),isOpen:!0};break;case ToggleButtonKeyDownArrowUp:changes={highlightedIndex:getHighlightedIndexOnOpen(props,state,-1,action.getItemNodeFromIndex),isOpen:!0};break;case MenuKeyDownEnter:case MenuKeyDownSpaceButton:changes={isOpen:getDefaultValue$1(props,"isOpen"),highlightedIndex:getDefaultValue$1(props,"highlightedIndex"),...state.highlightedIndex>=0&&{selectedItem:props.items[state.highlightedIndex]}};break;case MenuKeyDownHome:changes={highlightedIndex:getNextNonDisabledIndex(1,0,props.items.length,action.getItemNodeFromIndex,!1)};break;case MenuKeyDownEnd:changes={highlightedIndex:getNextNonDisabledIndex(-1,props.items.length-1,props.items.length,action.getItemNodeFromIndex,!1)};break;case MenuKeyDownEscape:changes={isOpen:!1,highlightedIndex:-1};break;case MenuBlur:changes={isOpen:!1,highlightedIndex:-1};break;case MenuKeyDownCharacter:{let lowercasedKey=action.key,inputValue=`${state.inputValue}${lowercasedKey}`,highlightedIndex=getItemIndexByCharacterKey({keysSoFar:inputValue,highlightedIndex:state.highlightedIndex,items:props.items,itemToString:props.itemToString,getItemNodeFromIndex:action.getItemNodeFromIndex});changes={inputValue,...highlightedIndex>=0&&{highlightedIndex}}}break;case MenuKeyDownArrowDown:changes={highlightedIndex:getNextWrappingIndex(shiftKey?5:1,state.highlightedIndex,props.items.length,action.getItemNodeFromIndex,props.circularNavigation)};break;case MenuKeyDownArrowUp:changes={highlightedIndex:getNextWrappingIndex(shiftKey?-5:-1,state.highlightedIndex,props.items.length,action.getItemNodeFromIndex,props.circularNavigation)};break;case FunctionSelectItem$1:changes={selectedItem:action.selectedItem};break;default:return downshiftCommonReducer(state,action,stateChangeTypes$2)}return{...state,...changes}}useSelect.stateChangeTypes=stateChangeTypes$2;function useSelect(userProps){userProps===void 0&&(userProps={}),validatePropTypes$2(userProps,useSelect);let props={...defaultProps$2,...userProps},{items,scrollIntoView:scrollIntoView3,environment,initialIsOpen,defaultIsOpen,itemToString:itemToString2,getA11ySelectionMessage:getA11ySelectionMessage2,getA11yStatusMessage:getA11yStatusMessage2}=props,initialState=getInitialState$2(props),[state,dispatch]=useControlledReducer$1(downshiftSelectReducer,initialState,props),{isOpen,highlightedIndex,selectedItem,inputValue}=state,toggleButtonRef=(0,import_react24.useRef)(null),menuRef=(0,import_react24.useRef)(null),itemRefs=(0,import_react24.useRef)({}),shouldBlurRef=(0,import_react24.useRef)(!0),clearTimeoutRef=(0,import_react24.useRef)(null),elementIds=useElementIds(props),previousResultCountRef=(0,import_react24.useRef)(),isInitialMountRef=(0,import_react24.useRef)(!0),latest=useLatestRef({state,props}),getItemNodeFromIndex=(0,import_react24.useCallback)(index2=>itemRefs.current[elementIds.getItemId(index2)],[elementIds]);useA11yMessageSetter(getA11yStatusMessage2,[isOpen,highlightedIndex,inputValue,items],{isInitialMount:isInitialMountRef.current,previousResultCount:previousResultCountRef.current,items,environment,itemToString:itemToString2,...state}),useA11yMessageSetter(getA11ySelectionMessage2,[selectedItem],{isInitialMount:isInitialMountRef.current,previousResultCount:previousResultCountRef.current,items,environment,itemToString:itemToString2,...state});let shouldScrollRef=useScrollIntoView({menuElement:menuRef.current,highlightedIndex,isOpen,itemRefs,scrollIntoView:scrollIntoView3,getItemNodeFromIndex});(0,import_react24.useEffect)(()=>(clearTimeoutRef.current=debounce3(outerDispatch=>{outerDispatch({type:FunctionSetInputValue$1,inputValue:""})},500),()=>{clearTimeoutRef.current.cancel()}),[]),(0,import_react24.useEffect)(()=>{inputValue&&clearTimeoutRef.current(dispatch)},[dispatch,inputValue]),useControlPropsValidator({isInitialMount:isInitialMountRef.current,props,state}),(0,import_react24.useEffect)(()=>{if(isInitialMountRef.current){(initialIsOpen||defaultIsOpen||isOpen)&&menuRef.current&&menuRef.current.focus();return}if(isOpen){menuRef.current&&menuRef.current.focus();return}environment.document.activeElement===menuRef.current&&toggleButtonRef.current&&(shouldBlurRef.current=!1,toggleButtonRef.current.focus())},[isOpen]),(0,import_react24.useEffect)(()=>{isInitialMountRef.current||(previousResultCountRef.current=items.length)});let mouseAndTouchTrackersRef=useMouseAndTouchTracker(isOpen,[menuRef,toggleButtonRef],environment,()=>{dispatch({type:MenuBlur})}),setGetterPropCallInfo=useGetterPropsCalledChecker("getMenuProps","getToggleButtonProps");(0,import_react24.useEffect)(()=>{isInitialMountRef.current=!1},[]),(0,import_react24.useEffect)(()=>{isOpen||(itemRefs.current={})},[isOpen]);let toggleButtonKeyDownHandlers=(0,import_react24.useMemo)(()=>({ArrowDown(event){event.preventDefault(),dispatch({type:ToggleButtonKeyDownArrowDown,getItemNodeFromIndex,shiftKey:event.shiftKey})},ArrowUp(event){event.preventDefault(),dispatch({type:ToggleButtonKeyDownArrowUp,getItemNodeFromIndex,shiftKey:event.shiftKey})}}),[dispatch,getItemNodeFromIndex]),menuKeyDownHandlers=(0,import_react24.useMemo)(()=>({ArrowDown(event){event.preventDefault(),dispatch({type:MenuKeyDownArrowDown,getItemNodeFromIndex,shiftKey:event.shiftKey})},ArrowUp(event){event.preventDefault(),dispatch({type:MenuKeyDownArrowUp,getItemNodeFromIndex,shiftKey:event.shiftKey})},Home(event){event.preventDefault(),dispatch({type:MenuKeyDownHome,getItemNodeFromIndex})},End(event){event.preventDefault(),dispatch({type:MenuKeyDownEnd,getItemNodeFromIndex})},Escape(){dispatch({type:MenuKeyDownEscape})},Enter(event){event.preventDefault(),dispatch({type:MenuKeyDownEnter})}," "(event){event.preventDefault(),dispatch({type:MenuKeyDownSpaceButton})}}),[dispatch,getItemNodeFromIndex]),toggleMenu=(0,import_react24.useCallback)(()=>{dispatch({type:FunctionToggleMenu$1})},[dispatch]),closeMenu=(0,import_react24.useCallback)(()=>{dispatch({type:FunctionCloseMenu$1})},[dispatch]),openMenu=(0,import_react24.useCallback)(()=>{dispatch({type:FunctionOpenMenu$1})},[dispatch]),setHighlightedIndex=(0,import_react24.useCallback)(newHighlightedIndex=>{dispatch({type:FunctionSetHighlightedIndex$1,highlightedIndex:newHighlightedIndex})},[dispatch]),selectItem=(0,import_react24.useCallback)(newSelectedItem=>{dispatch({type:FunctionSelectItem$1,selectedItem:newSelectedItem})},[dispatch]),reset=(0,import_react24.useCallback)(()=>{dispatch({type:FunctionReset$2})},[dispatch]),setInputValue=(0,import_react24.useCallback)(newInputValue=>{dispatch({type:FunctionSetInputValue$1,inputValue:newInputValue})},[dispatch]),getLabelProps=(0,import_react24.useCallback)(labelProps=>({id:elementIds.labelId,htmlFor:elementIds.toggleButtonId,...labelProps}),[elementIds]),getMenuProps=(0,import_react24.useCallback)(function(_temp,_temp2){let{onMouseLeave,refKey="ref",onKeyDown,onBlur,ref,...rest}=_temp===void 0?{}:_temp,{suppressRefError=!1}=_temp2===void 0?{}:_temp2,latestState=latest.current.state,menuHandleKeyDown=event=>{let key2=normalizeArrowKey(event);key2&&menuKeyDownHandlers[key2]?menuKeyDownHandlers[key2](event):isAcceptedCharacterKey(key2)&&dispatch({type:MenuKeyDownCharacter,key:key2,getItemNodeFromIndex})},menuHandleBlur=()=>{if(shouldBlurRef.current===!1){shouldBlurRef.current=!0;return}!mouseAndTouchTrackersRef.current.isMouseDown&&dispatch({type:MenuBlur})},menuHandleMouseLeave=()=>{dispatch({type:MenuMouseLeave$1})};return setGetterPropCallInfo("getMenuProps",suppressRefError,refKey,menuRef),{[refKey]:handleRefs(ref,menuNode=>{menuRef.current=menuNode}),id:elementIds.menuId,role:"listbox","aria-labelledby":elementIds.labelId,tabIndex:-1,...latestState.isOpen&&latestState.highlightedIndex>-1&&{"aria-activedescendant":elementIds.getItemId(latestState.highlightedIndex)},onMouseLeave:callAllEventHandlers(onMouseLeave,menuHandleMouseLeave),onKeyDown:callAllEventHandlers(onKeyDown,menuHandleKeyDown),onBlur:callAllEventHandlers(onBlur,menuHandleBlur),...rest}},[dispatch,latest,menuKeyDownHandlers,mouseAndTouchTrackersRef,setGetterPropCallInfo,elementIds,getItemNodeFromIndex]),getToggleButtonProps=(0,import_react24.useCallback)(function(_temp3,_temp4){let{onClick,onKeyDown,refKey="ref",ref,...rest}=_temp3===void 0?{}:_temp3,{suppressRefError=!1}=_temp4===void 0?{}:_temp4,toggleButtonHandleClick=()=>{dispatch({type:ToggleButtonClick$1})},toggleButtonHandleKeyDown=event=>{let key2=normalizeArrowKey(event);key2&&toggleButtonKeyDownHandlers[key2]?toggleButtonKeyDownHandlers[key2](event):isAcceptedCharacterKey(key2)&&dispatch({type:ToggleButtonKeyDownCharacter,key:key2,getItemNodeFromIndex})},toggleProps={[refKey]:handleRefs(ref,toggleButtonNode=>{toggleButtonRef.current=toggleButtonNode}),id:elementIds.toggleButtonId,"aria-haspopup":"listbox","aria-expanded":latest.current.state.isOpen,"aria-labelledby":`${elementIds.labelId} ${elementIds.toggleButtonId}`,...rest};return rest.disabled||(toggleProps.onClick=callAllEventHandlers(onClick,toggleButtonHandleClick),toggleProps.onKeyDown=callAllEventHandlers(onKeyDown,toggleButtonHandleKeyDown)),setGetterPropCallInfo("getToggleButtonProps",suppressRefError,refKey,toggleButtonRef),toggleProps},[dispatch,latest,toggleButtonKeyDownHandlers,setGetterPropCallInfo,elementIds,getItemNodeFromIndex]),getItemProps2=(0,import_react24.useCallback)(function(_temp5){let{item,index:index2,onMouseMove,onClick,refKey="ref",ref,disabled,...rest}=_temp5===void 0?{}:_temp5,{state:latestState,props:latestProps}=latest.current,itemHandleMouseMove=()=>{index2!==latestState.highlightedIndex&&(shouldScrollRef.current=!1,dispatch({type:ItemMouseMove$1,index:index2,disabled}))},itemHandleClick=()=>{dispatch({type:ItemClick$1,index:index2})},itemIndex=getItemIndex(index2,item,latestProps.items);if(itemIndex<0)throw new Error("Pass either item or item index in getItemProps!");let itemProps={disabled,role:"option","aria-selected":`${itemIndex===latestState.highlightedIndex}`,id:elementIds.getItemId(itemIndex),[refKey]:handleRefs(ref,itemNode=>{itemNode&&(itemRefs.current[elementIds.getItemId(itemIndex)]=itemNode)}),...rest};return disabled||(itemProps.onClick=callAllEventHandlers(onClick,itemHandleClick)),itemProps.onMouseMove=callAllEventHandlers(onMouseMove,itemHandleMouseMove),itemProps},[dispatch,latest,shouldScrollRef,elementIds]);return{getToggleButtonProps,getLabelProps,getMenuProps,getItemProps:getItemProps2,toggleMenu,openMenu,closeMenu,setHighlightedIndex,selectItem,reset,setInputValue,highlightedIndex,isOpen,selectedItem,inputValue}}var InputKeyDownArrowDown="__input_keydown_arrow_down__",InputKeyDownArrowUp="__input_keydown_arrow_up__",InputKeyDownEscape="__input_keydown_escape__",InputKeyDownHome="__input_keydown_home__",InputKeyDownEnd="__input_keydown_end__",InputKeyDownEnter="__input_keydown_enter__",InputChange="__input_change__",InputBlur="__input_blur__",MenuMouseLeave="__menu_mouse_leave__",ItemMouseMove="__item_mouse_move__",ItemClick="__item_click__",ToggleButtonClick="__togglebutton_click__",FunctionToggleMenu="__function_toggle_menu__",FunctionOpenMenu="__function_open_menu__",FunctionCloseMenu="__function_close_menu__",FunctionSetHighlightedIndex="__function_set_highlighted_index__",FunctionSelectItem="__function_select_item__",FunctionSetInputValue="__function_set_input_value__",FunctionReset$1="__function_reset__",ControlledPropUpdatedSelectedItem="__controlled_prop_updated_selected_item__",stateChangeTypes$1=Object.freeze({__proto__:null,InputKeyDownArrowDown,InputKeyDownArrowUp,InputKeyDownEscape,InputKeyDownHome,InputKeyDownEnd,InputKeyDownEnter,InputChange,InputBlur,MenuMouseLeave,ItemMouseMove,ItemClick,ToggleButtonClick,FunctionToggleMenu,FunctionOpenMenu,FunctionCloseMenu,FunctionSetHighlightedIndex,FunctionSelectItem,FunctionSetInputValue,FunctionReset:FunctionReset$1,ControlledPropUpdatedSelectedItem});function getInitialState$1(props){let initialState=getInitialState$2(props),{selectedItem}=initialState,{inputValue}=initialState;return inputValue===""&&selectedItem&&props.defaultInputValue===void 0&&props.initialInputValue===void 0&&props.inputValue===void 0&&(inputValue=props.itemToString(selectedItem)),{...initialState,inputValue}}var propTypes$1={items:import_prop_types2.default.array.isRequired,itemToString:import_prop_types2.default.func,getA11yStatusMessage:import_prop_types2.default.func,getA11ySelectionMessage:import_prop_types2.default.func,circularNavigation:import_prop_types2.default.bool,highlightedIndex:import_prop_types2.default.number,defaultHighlightedIndex:import_prop_types2.default.number,initialHighlightedIndex:import_prop_types2.default.number,isOpen:import_prop_types2.default.bool,defaultIsOpen:import_prop_types2.default.bool,initialIsOpen:import_prop_types2.default.bool,selectedItem:import_prop_types2.default.any,initialSelectedItem:import_prop_types2.default.any,defaultSelectedItem:import_prop_types2.default.any,inputValue:import_prop_types2.default.string,defaultInputValue:import_prop_types2.default.string,initialInputValue:import_prop_types2.default.string,id:import_prop_types2.default.string,labelId:import_prop_types2.default.string,menuId:import_prop_types2.default.string,getItemId:import_prop_types2.default.func,inputId:import_prop_types2.default.string,toggleButtonId:import_prop_types2.default.string,stateReducer:import_prop_types2.default.func,onSelectedItemChange:import_prop_types2.default.func,onHighlightedIndexChange:import_prop_types2.default.func,onStateChange:import_prop_types2.default.func,onIsOpenChange:import_prop_types2.default.func,onInputValueChange:import_prop_types2.default.func,environment:import_prop_types2.default.shape({addEventListener:import_prop_types2.default.func,removeEventListener:import_prop_types2.default.func,document:import_prop_types2.default.shape({getElementById:import_prop_types2.default.func,activeElement:import_prop_types2.default.any,body:import_prop_types2.default.any})})};function useControlledReducer(reducer,initialState,props){let previousSelectedItemRef=(0,import_react24.useRef)(),[state,dispatch]=useEnhancedReducer(reducer,initialState,props);return(0,import_react24.useEffect)(()=>{isControlledProp(props,"selectedItem")&&(previousSelectedItemRef.current!==props.selectedItem&&dispatch({type:ControlledPropUpdatedSelectedItem,inputValue:props.itemToString(props.selectedItem)}),previousSelectedItemRef.current=state.selectedItem===previousSelectedItemRef.current?props.selectedItem:state.selectedItem)}),[getState(state,props),dispatch]}var validatePropTypes$1=noop3;validatePropTypes$1=(options3,caller)=>{import_prop_types2.default.checkPropTypes(propTypes$1,options3,"prop",caller.name)};var defaultProps$1={...defaultProps$3,getA11yStatusMessage:getA11yStatusMessage$1,circularNavigation:!0};function downshiftUseComboboxReducer(state,action){let{type,props,shiftKey}=action,changes;switch(type){case ItemClick:changes={isOpen:getDefaultValue$1(props,"isOpen"),highlightedIndex:getDefaultValue$1(props,"highlightedIndex"),selectedItem:props.items[action.index],inputValue:props.itemToString(props.items[action.index])};break;case InputKeyDownArrowDown:state.isOpen?changes={highlightedIndex:getNextWrappingIndex(shiftKey?5:1,state.highlightedIndex,props.items.length,action.getItemNodeFromIndex,props.circularNavigation)}:changes={highlightedIndex:getHighlightedIndexOnOpen(props,state,1,action.getItemNodeFromIndex),isOpen:props.items.length>=0};break;case InputKeyDownArrowUp:state.isOpen?changes={highlightedIndex:getNextWrappingIndex(shiftKey?-5:-1,state.highlightedIndex,props.items.length,action.getItemNodeFromIndex,props.circularNavigation)}:changes={highlightedIndex:getHighlightedIndexOnOpen(props,state,-1,action.getItemNodeFromIndex),isOpen:props.items.length>=0};break;case InputKeyDownEnter:changes={...state.isOpen&&state.highlightedIndex>=0&&{selectedItem:props.items[state.highlightedIndex],isOpen:getDefaultValue$1(props,"isOpen"),highlightedIndex:getDefaultValue$1(props,"highlightedIndex"),inputValue:props.itemToString(props.items[state.highlightedIndex])}};break;case InputKeyDownEscape:changes={isOpen:!1,highlightedIndex:-1,...!state.isOpen&&{selectedItem:null,inputValue:""}};break;case InputKeyDownHome:changes={highlightedIndex:getNextNonDisabledIndex(1,0,props.items.length,action.getItemNodeFromIndex,!1)};break;case InputKeyDownEnd:changes={highlightedIndex:getNextNonDisabledIndex(-1,props.items.length-1,props.items.length,action.getItemNodeFromIndex,!1)};break;case InputBlur:changes={isOpen:!1,highlightedIndex:-1,...state.highlightedIndex>=0&&action.selectItem&&{selectedItem:props.items[state.highlightedIndex],inputValue:props.itemToString(props.items[state.highlightedIndex])}};break;case InputChange:changes={isOpen:!0,highlightedIndex:getDefaultValue$1(props,"highlightedIndex"),inputValue:action.inputValue};break;case FunctionSelectItem:changes={selectedItem:action.selectedItem,inputValue:props.itemToString(action.selectedItem)};break;case ControlledPropUpdatedSelectedItem:changes={inputValue:action.inputValue};break;default:return downshiftCommonReducer(state,action,stateChangeTypes$1)}return{...state,...changes}}useCombobox.stateChangeTypes=stateChangeTypes$1;function useCombobox(userProps){userProps===void 0&&(userProps={}),validatePropTypes$1(userProps,useCombobox);let props={...defaultProps$1,...userProps},{initialIsOpen,defaultIsOpen,items,scrollIntoView:scrollIntoView3,environment,getA11yStatusMessage:getA11yStatusMessage2,getA11ySelectionMessage:getA11ySelectionMessage2,itemToString:itemToString2}=props,initialState=getInitialState$1(props),[state,dispatch]=useControlledReducer(downshiftUseComboboxReducer,initialState,props),{isOpen,highlightedIndex,selectedItem,inputValue}=state,menuRef=(0,import_react24.useRef)(null),itemRefs=(0,import_react24.useRef)({}),inputRef=(0,import_react24.useRef)(null),toggleButtonRef=(0,import_react24.useRef)(null),comboboxRef=(0,import_react24.useRef)(null),isInitialMountRef=(0,import_react24.useRef)(!0),elementIds=useElementIds(props),previousResultCountRef=(0,import_react24.useRef)(),latest=useLatestRef({state,props}),getItemNodeFromIndex=(0,import_react24.useCallback)(index2=>itemRefs.current[elementIds.getItemId(index2)],[elementIds]);useA11yMessageSetter(getA11yStatusMessage2,[isOpen,highlightedIndex,inputValue,items],{isInitialMount:isInitialMountRef.current,previousResultCount:previousResultCountRef.current,items,environment,itemToString:itemToString2,...state}),useA11yMessageSetter(getA11ySelectionMessage2,[selectedItem],{isInitialMount:isInitialMountRef.current,previousResultCount:previousResultCountRef.current,items,environment,itemToString:itemToString2,...state});let shouldScrollRef=useScrollIntoView({menuElement:menuRef.current,highlightedIndex,isOpen,itemRefs,scrollIntoView:scrollIntoView3,getItemNodeFromIndex});useControlPropsValidator({isInitialMount:isInitialMountRef.current,props,state}),(0,import_react24.useEffect)(()=>{(initialIsOpen||defaultIsOpen||isOpen)&&inputRef.current&&inputRef.current.focus()},[]),(0,import_react24.useEffect)(()=>{isInitialMountRef.current||(previousResultCountRef.current=items.length)});let mouseAndTouchTrackersRef=useMouseAndTouchTracker(isOpen,[comboboxRef,menuRef,toggleButtonRef],environment,()=>{dispatch({type:InputBlur,selectItem:!1})}),setGetterPropCallInfo=useGetterPropsCalledChecker("getInputProps","getComboboxProps","getMenuProps");(0,import_react24.useEffect)(()=>{isInitialMountRef.current=!1},[]),(0,import_react24.useEffect)(()=>{isOpen||(itemRefs.current={})},[isOpen]);let inputKeyDownHandlers=(0,import_react24.useMemo)(()=>({ArrowDown(event){event.preventDefault(),dispatch({type:InputKeyDownArrowDown,shiftKey:event.shiftKey,getItemNodeFromIndex})},ArrowUp(event){event.preventDefault(),dispatch({type:InputKeyDownArrowUp,shiftKey:event.shiftKey,getItemNodeFromIndex})},Home(event){latest.current.state.isOpen&&(event.preventDefault(),dispatch({type:InputKeyDownHome,getItemNodeFromIndex}))},End(event){latest.current.state.isOpen&&(event.preventDefault(),dispatch({type:InputKeyDownEnd,getItemNodeFromIndex}))},Escape(event){let latestState=latest.current.state;(latestState.isOpen||latestState.inputValue||latestState.selectedItem||latestState.highlightedIndex>-1)&&(event.preventDefault(),dispatch({type:InputKeyDownEscape}))},Enter(event){let latestState=latest.current.state;!latestState.isOpen||latestState.highlightedIndex<0||event.which===229||(event.preventDefault(),dispatch({type:InputKeyDownEnter,getItemNodeFromIndex}))}}),[dispatch,latest,getItemNodeFromIndex]),getLabelProps=(0,import_react24.useCallback)(labelProps=>({id:elementIds.labelId,htmlFor:elementIds.inputId,...labelProps}),[elementIds]),getMenuProps=(0,import_react24.useCallback)(function(_temp,_temp2){let{onMouseLeave,refKey="ref",ref,...rest}=_temp===void 0?{}:_temp,{suppressRefError=!1}=_temp2===void 0?{}:_temp2;return setGetterPropCallInfo("getMenuProps",suppressRefError,refKey,menuRef),{[refKey]:handleRefs(ref,menuNode=>{menuRef.current=menuNode}),id:elementIds.menuId,role:"listbox","aria-labelledby":elementIds.labelId,onMouseLeave:callAllEventHandlers(onMouseLeave,()=>{dispatch({type:MenuMouseLeave})}),...rest}},[dispatch,setGetterPropCallInfo,elementIds]),getItemProps2=(0,import_react24.useCallback)(function(_temp3){let{item,index:index2,refKey="ref",ref,onMouseMove,onMouseDown,onClick,onPress,disabled,...rest}=_temp3===void 0?{}:_temp3,{props:latestProps,state:latestState}=latest.current,itemIndex=getItemIndex(index2,item,latestProps.items);if(itemIndex<0)throw new Error("Pass either item or item index in getItemProps!");let onSelectKey="onClick",customClickHandler=onClick,itemHandleMouseMove=()=>{index2!==latestState.highlightedIndex&&(shouldScrollRef.current=!1,dispatch({type:ItemMouseMove,index:index2,disabled}))},itemHandleClick=()=>{dispatch({type:ItemClick,index:index2})},itemHandleMouseDown=e3=>e3.preventDefault();return{[refKey]:handleRefs(ref,itemNode=>{itemNode&&(itemRefs.current[elementIds.getItemId(itemIndex)]=itemNode)}),disabled,role:"option","aria-selected":`${itemIndex===latestState.highlightedIndex}`,id:elementIds.getItemId(itemIndex),...!disabled&&{[onSelectKey]:callAllEventHandlers(customClickHandler,itemHandleClick)},onMouseMove:callAllEventHandlers(onMouseMove,itemHandleMouseMove),onMouseDown:callAllEventHandlers(onMouseDown,itemHandleMouseDown),...rest}},[dispatch,latest,shouldScrollRef,elementIds]),getToggleButtonProps=(0,import_react24.useCallback)(function(_temp4){let{onClick,onPress,refKey="ref",ref,...rest}=_temp4===void 0?{}:_temp4,toggleButtonHandleClick=()=>{dispatch({type:ToggleButtonClick}),!latest.current.state.isOpen&&inputRef.current&&inputRef.current.focus()};return{[refKey]:handleRefs(ref,toggleButtonNode=>{toggleButtonRef.current=toggleButtonNode}),id:elementIds.toggleButtonId,tabIndex:-1,...!rest.disabled&&{onClick:callAllEventHandlers(onClick,toggleButtonHandleClick)},...rest}},[dispatch,latest,elementIds]),getInputProps=(0,import_react24.useCallback)(function(_temp5,_temp6){let{onKeyDown,onChange,onInput,onBlur,onChangeText,refKey="ref",ref,...rest}=_temp5===void 0?{}:_temp5,{suppressRefError=!1}=_temp6===void 0?{}:_temp6;setGetterPropCallInfo("getInputProps",suppressRefError,refKey,inputRef);let latestState=latest.current.state,inputHandleKeyDown=event=>{let key2=normalizeArrowKey(event);key2&&inputKeyDownHandlers[key2]&&inputKeyDownHandlers[key2](event)},inputHandleChange=event=>{dispatch({type:InputChange,inputValue:event.target.value})},inputHandleBlur=()=>{latestState.isOpen&&!mouseAndTouchTrackersRef.current.isMouseDown&&dispatch({type:InputBlur,selectItem:!0})},onChangeKey="onChange",eventHandlers={};return rest.disabled||(eventHandlers={[onChangeKey]:callAllEventHandlers(onChange,onInput,inputHandleChange),onKeyDown:callAllEventHandlers(onKeyDown,inputHandleKeyDown),onBlur:callAllEventHandlers(onBlur,inputHandleBlur)}),{[refKey]:handleRefs(ref,inputNode=>{inputRef.current=inputNode}),id:elementIds.inputId,"aria-autocomplete":"list","aria-controls":elementIds.menuId,...latestState.isOpen&&latestState.highlightedIndex>-1&&{"aria-activedescendant":elementIds.getItemId(latestState.highlightedIndex)},"aria-labelledby":elementIds.labelId,autoComplete:"off",value:latestState.inputValue,...eventHandlers,...rest}},[dispatch,inputKeyDownHandlers,latest,mouseAndTouchTrackersRef,setGetterPropCallInfo,elementIds]),getComboboxProps=(0,import_react24.useCallback)(function(_temp7,_temp8){let{refKey="ref",ref,...rest}=_temp7===void 0?{}:_temp7,{suppressRefError=!1}=_temp8===void 0?{}:_temp8;return setGetterPropCallInfo("getComboboxProps",suppressRefError,refKey,comboboxRef),{[refKey]:handleRefs(ref,comboboxNode=>{comboboxRef.current=comboboxNode}),role:"combobox","aria-haspopup":"listbox","aria-owns":elementIds.menuId,"aria-expanded":latest.current.state.isOpen,...rest}},[latest,setGetterPropCallInfo,elementIds]),toggleMenu=(0,import_react24.useCallback)(()=>{dispatch({type:FunctionToggleMenu})},[dispatch]),closeMenu=(0,import_react24.useCallback)(()=>{dispatch({type:FunctionCloseMenu})},[dispatch]),openMenu=(0,import_react24.useCallback)(()=>{dispatch({type:FunctionOpenMenu})},[dispatch]),setHighlightedIndex=(0,import_react24.useCallback)(newHighlightedIndex=>{dispatch({type:FunctionSetHighlightedIndex,highlightedIndex:newHighlightedIndex})},[dispatch]),selectItem=(0,import_react24.useCallback)(newSelectedItem=>{dispatch({type:FunctionSelectItem,selectedItem:newSelectedItem})},[dispatch]),setInputValue=(0,import_react24.useCallback)(newInputValue=>{dispatch({type:FunctionSetInputValue,inputValue:newInputValue})},[dispatch]),reset=(0,import_react24.useCallback)(()=>{dispatch({type:FunctionReset$1})},[dispatch]);return{getItemProps:getItemProps2,getLabelProps,getMenuProps,getInputProps,getComboboxProps,getToggleButtonProps,toggleMenu,openMenu,closeMenu,setHighlightedIndex,setInputValue,selectItem,reset,highlightedIndex,isOpen,selectedItem,inputValue}}var defaultStateValues={activeIndex:-1,selectedItems:[]};function getInitialValue(props,propKey){return getInitialValue$1(props,propKey,defaultStateValues)}function getDefaultValue(props,propKey){return getDefaultValue$1(props,propKey,defaultStateValues)}function getInitialState(props){let activeIndex=getInitialValue(props,"activeIndex"),selectedItems=getInitialValue(props,"selectedItems");return{activeIndex,selectedItems}}function isKeyDownOperationPermitted(event){if(event.shiftKey||event.metaKey||event.ctrlKey||event.altKey)return!1;let element=event.target;return!(element instanceof HTMLInputElement&&element.value!==""&&(element.selectionStart!==0||element.selectionEnd!==0))}function getA11yRemovalMessage(selectionParameters){let{removedSelectedItem,itemToString:itemToStringLocal}=selectionParameters;return`${itemToStringLocal(removedSelectedItem)} has been removed.`}var propTypes={selectedItems:import_prop_types2.default.array,initialSelectedItems:import_prop_types2.default.array,defaultSelectedItems:import_prop_types2.default.array,itemToString:import_prop_types2.default.func,getA11yRemovalMessage:import_prop_types2.default.func,stateReducer:import_prop_types2.default.func,activeIndex:import_prop_types2.default.number,initialActiveIndex:import_prop_types2.default.number,defaultActiveIndex:import_prop_types2.default.number,onActiveIndexChange:import_prop_types2.default.func,onSelectedItemsChange:import_prop_types2.default.func,keyNavigationNext:import_prop_types2.default.string,keyNavigationPrevious:import_prop_types2.default.string,environment:import_prop_types2.default.shape({addEventListener:import_prop_types2.default.func,removeEventListener:import_prop_types2.default.func,document:import_prop_types2.default.shape({getElementById:import_prop_types2.default.func,activeElement:import_prop_types2.default.any,body:import_prop_types2.default.any})})},defaultProps={itemToString:defaultProps$3.itemToString,stateReducer:defaultProps$3.stateReducer,environment:defaultProps$3.environment,getA11yRemovalMessage,keyNavigationNext:"ArrowRight",keyNavigationPrevious:"ArrowLeft"},validatePropTypes=noop3;validatePropTypes=(options3,caller)=>{import_prop_types2.default.checkPropTypes(propTypes,options3,"prop",caller.name)};var SelectedItemClick="__selected_item_click__",SelectedItemKeyDownDelete="__selected_item_keydown_delete__",SelectedItemKeyDownBackspace="__selected_item_keydown_backspace__",SelectedItemKeyDownNavigationNext="__selected_item_keydown_navigation_next__",SelectedItemKeyDownNavigationPrevious="__selected_item_keydown_navigation_previous__",DropdownKeyDownNavigationPrevious="__dropdown_keydown_navigation_previous__",DropdownKeyDownBackspace="__dropdown_keydown_backspace__",DropdownClick="__dropdown_click__",FunctionAddSelectedItem="__function_add_selected_item__",FunctionRemoveSelectedItem="__function_remove_selected_item__",FunctionSetSelectedItems="__function_set_selected_items__",FunctionSetActiveIndex="__function_set_active_index__",FunctionReset="__function_reset__",stateChangeTypes=Object.freeze({__proto__:null,SelectedItemClick,SelectedItemKeyDownDelete,SelectedItemKeyDownBackspace,SelectedItemKeyDownNavigationNext,SelectedItemKeyDownNavigationPrevious,DropdownKeyDownNavigationPrevious,DropdownKeyDownBackspace,DropdownClick,FunctionAddSelectedItem,FunctionRemoveSelectedItem,FunctionSetSelectedItems,FunctionSetActiveIndex,FunctionReset});function downshiftMultipleSelectionReducer(state,action){let{type,index:index2,props,selectedItem}=action,{activeIndex,selectedItems}=state,changes;switch(type){case SelectedItemClick:changes={activeIndex:index2};break;case SelectedItemKeyDownNavigationPrevious:changes={activeIndex:activeIndex-1<0?0:activeIndex-1};break;case SelectedItemKeyDownNavigationNext:changes={activeIndex:activeIndex+1>=selectedItems.length?-1:activeIndex+1};break;case SelectedItemKeyDownBackspace:case SelectedItemKeyDownDelete:{let newActiveIndex=activeIndex;selectedItems.length===1?newActiveIndex=-1:activeIndex===selectedItems.length-1&&(newActiveIndex=selectedItems.length-2),changes={selectedItems:[...selectedItems.slice(0,activeIndex),...selectedItems.slice(activeIndex+1)],activeIndex:newActiveIndex};break}case DropdownKeyDownNavigationPrevious:changes={activeIndex:selectedItems.length-1};break;case DropdownKeyDownBackspace:changes={selectedItems:selectedItems.slice(0,selectedItems.length-1)};break;case FunctionAddSelectedItem:changes={selectedItems:[...selectedItems,selectedItem]};break;case DropdownClick:changes={activeIndex:-1};break;case FunctionRemoveSelectedItem:{let newActiveIndex=activeIndex,selectedItemIndex=selectedItems.indexOf(selectedItem);selectedItemIndex>=0&&(selectedItems.length===1?newActiveIndex=-1:selectedItemIndex===selectedItems.length-1&&(newActiveIndex=selectedItems.length-2),changes={selectedItems:[...selectedItems.slice(0,selectedItemIndex),...selectedItems.slice(selectedItemIndex+1)],activeIndex:newActiveIndex});break}case FunctionSetSelectedItems:{let{selectedItems:newSelectedItems}=action;changes={selectedItems:newSelectedItems};break}case FunctionSetActiveIndex:{let{activeIndex:newActiveIndex}=action;changes={activeIndex:newActiveIndex};break}case FunctionReset:changes={activeIndex:getDefaultValue(props,"activeIndex"),selectedItems:getDefaultValue(props,"selectedItems")};break;default:throw new Error("Reducer called without proper action type.")}return{...state,...changes}}useMultipleSelection.stateChangeTypes=stateChangeTypes;function useMultipleSelection(userProps){userProps===void 0&&(userProps={}),validatePropTypes(userProps,useMultipleSelection);let props={...defaultProps,...userProps},{getA11yRemovalMessage:getA11yRemovalMessage2,itemToString:itemToString2,environment,keyNavigationNext,keyNavigationPrevious}=props,[state,dispatch]=useControlledReducer$1(downshiftMultipleSelectionReducer,getInitialState(props),props),{activeIndex,selectedItems}=state,isInitialMountRef=(0,import_react24.useRef)(!0),dropdownRef=(0,import_react24.useRef)(null),previousSelectedItemsRef=(0,import_react24.useRef)(selectedItems),selectedItemRefs=(0,import_react24.useRef)();selectedItemRefs.current=[];let latest=useLatestRef({state,props});(0,import_react24.useEffect)(()=>{if(!isInitialMountRef.current){if(selectedItems.lengthselectedItems.indexOf(item)<0);setStatus(getA11yRemovalMessage2({itemToString:itemToString2,resultCount:selectedItems.length,removedSelectedItem,activeIndex,activeSelectedItem:selectedItems[activeIndex]}),environment.document)}previousSelectedItemsRef.current=selectedItems}},[selectedItems.length]),(0,import_react24.useEffect)(()=>{isInitialMountRef.current||(activeIndex===-1&&dropdownRef.current?dropdownRef.current.focus():selectedItemRefs.current[activeIndex]&&selectedItemRefs.current[activeIndex].focus())},[activeIndex]),useControlPropsValidator({isInitialMount:isInitialMountRef.current,props,state});let setGetterPropCallInfo=useGetterPropsCalledChecker("getDropdownProps");(0,import_react24.useEffect)(()=>{isInitialMountRef.current=!1},[]);let selectedItemKeyDownHandlers=(0,import_react24.useMemo)(()=>({[keyNavigationPrevious](){dispatch({type:SelectedItemKeyDownNavigationPrevious})},[keyNavigationNext](){dispatch({type:SelectedItemKeyDownNavigationNext})},Delete(){dispatch({type:SelectedItemKeyDownDelete})},Backspace(){dispatch({type:SelectedItemKeyDownBackspace})}}),[dispatch,keyNavigationNext,keyNavigationPrevious]),dropdownKeyDownHandlers=(0,import_react24.useMemo)(()=>({[keyNavigationPrevious](event){isKeyDownOperationPermitted(event)&&dispatch({type:DropdownKeyDownNavigationPrevious})},Backspace(event){isKeyDownOperationPermitted(event)&&dispatch({type:DropdownKeyDownBackspace})}}),[dispatch,keyNavigationPrevious]),getSelectedItemProps=(0,import_react24.useCallback)(function(_temp){let{refKey="ref",ref,onClick,onKeyDown,selectedItem,index:index2,...rest}=_temp===void 0?{}:_temp,{state:latestState}=latest.current;if(getItemIndex(index2,selectedItem,latestState.selectedItems)<0)throw new Error("Pass either selectedItem or index in getSelectedItemProps!");let selectedItemHandleClick=()=>{dispatch({type:SelectedItemClick,index:index2})},selectedItemHandleKeyDown=event=>{let key2=normalizeArrowKey(event);key2&&selectedItemKeyDownHandlers[key2]&&selectedItemKeyDownHandlers[key2](event)};return{[refKey]:handleRefs(ref,selectedItemNode=>{selectedItemNode&&selectedItemRefs.current.push(selectedItemNode)}),tabIndex:index2===latestState.activeIndex?0:-1,onClick:callAllEventHandlers(onClick,selectedItemHandleClick),onKeyDown:callAllEventHandlers(onKeyDown,selectedItemHandleKeyDown),...rest}},[dispatch,latest,selectedItemKeyDownHandlers]),getDropdownProps=(0,import_react24.useCallback)(function(_temp2,_temp3){let{refKey="ref",ref,onKeyDown,onClick,preventKeyAction=!1,...rest}=_temp2===void 0?{}:_temp2,{suppressRefError=!1}=_temp3===void 0?{}:_temp3;setGetterPropCallInfo("getDropdownProps",suppressRefError,refKey,dropdownRef);let dropdownHandleKeyDown=event=>{let key2=normalizeArrowKey(event);key2&&dropdownKeyDownHandlers[key2]&&dropdownKeyDownHandlers[key2](event)},dropdownHandleClick=()=>{dispatch({type:DropdownClick})};return{[refKey]:handleRefs(ref,dropdownNode=>{dropdownNode&&(dropdownRef.current=dropdownNode)}),...!preventKeyAction&&{onKeyDown:callAllEventHandlers(onKeyDown,dropdownHandleKeyDown),onClick:callAllEventHandlers(onClick,dropdownHandleClick)},...rest}},[dispatch,dropdownKeyDownHandlers,setGetterPropCallInfo]),addSelectedItem=(0,import_react24.useCallback)(selectedItem=>{dispatch({type:FunctionAddSelectedItem,selectedItem})},[dispatch]),removeSelectedItem=(0,import_react24.useCallback)(selectedItem=>{dispatch({type:FunctionRemoveSelectedItem,selectedItem})},[dispatch]),setSelectedItems=(0,import_react24.useCallback)(newSelectedItems=>{dispatch({type:FunctionSetSelectedItems,selectedItems:newSelectedItems})},[dispatch]),setActiveIndex=(0,import_react24.useCallback)(newActiveIndex=>{dispatch({type:FunctionSetActiveIndex,activeIndex:newActiveIndex})},[dispatch]),reset=(0,import_react24.useCallback)(()=>{dispatch({type:FunctionReset})},[dispatch]);return{getSelectedItemProps,getDropdownProps,addSelectedItem,removeSelectedItem,setSelectedItems,setActiveIndex,reset,selectedItems,activeIndex}}var import_fuse=__toESM(require_fuse());var import_react25=__toESM(require_react());function isCloseType(x3){return!!(x3&&x3.closeMenu)}function isClearType(x3){return!!(x3&&x3.clearLastViewed)}function isExpandType(x3){return!!(x3&&x3.showAll)}function isSearchResult(x3){return!!(x3&&x3.item)}var{document:document8}=scope,DEFAULT_MAX_SEARCH_RESULTS=50,options2={shouldSort:!0,tokenize:!0,findAllMatches:!0,includeScore:!0,includeMatches:!0,threshold:.2,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"name",weight:.7},{name:"path",weight:.3}]},ScreenReaderLabel=newStyled.label({position:"absolute",left:-1e4,top:"auto",width:1,height:1,overflow:"hidden"}),SearchIcon=newStyled(Icons)(({theme})=>({width:12,height:12,position:"absolute",top:10,left:12,zIndex:1,pointerEvents:"none",color:theme.textMutedColor})),SearchField=newStyled.div(({theme})=>({display:"flex",flexDirection:"column",position:"relative","&:focus-within svg":{color:theme.color.defaultText}})),Input2=newStyled.input(({theme})=>({appearance:"none",height:32,paddingLeft:30,paddingRight:32,border:`1px solid ${theme.appBorderColor}`,background:"transparent",borderRadius:32,fontSize:`${theme.typography.size.s1+1}px`,fontFamily:"inherit",transition:"all 150ms",color:theme.color.defaultText,"&:focus, &:active":{outline:0,borderColor:theme.color.secondary,background:theme.background.app},"&::placeholder":{color:theme.textMutedColor,opacity:1},"&:valid ~ code, &:focus ~ code":{display:"none"},"&:invalid ~ svg":{display:"none"},"&:valid ~ svg":{display:"block"},"&::-ms-clear":{display:"none"},"&::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, &::-webkit-search-results-decoration":{display:"none"}})),FocusKey=newStyled.code(({theme})=>({position:"absolute",top:8,right:16,minWidth:16,height:16,zIndex:1,lineHeight:"16px",textAlign:"center",fontSize:"11px",background:theme.base==="light"?"rgba(0,0,0,0.05)":"rgba(255,255,255,0.05)",color:theme.base==="light"?theme.color.dark:theme.textMutedColor,borderRadius:3,userSelect:"none",pointerEvents:"none"})),ClearIcon=newStyled(Icons)(({theme})=>({width:16,height:16,padding:4,position:"absolute",top:8,right:16,zIndex:1,background:theme.base==="light"?"rgba(0,0,0,0.05)":"rgba(255,255,255,0.1)",borderRadius:16,color:theme.base==="light"?theme.color.dark:theme.textMutedColor,cursor:"pointer"})),FocusContainer=newStyled.div({outline:0}),Search=import_react25.default.memo(function({children,dataset,isLoading=!1,enableShortcuts=!0,getLastViewed,clearLastViewed,initialQuery=""}){let api=useStorybookApi(),inputRef=(0,import_react25.useRef)(null),[inputPlaceholder,setPlaceholder]=(0,import_react25.useState)("Find components"),[allComponents,showAllComponents]=(0,import_react25.useState)(!1),searchShortcut=api?shortcutToHumanString(api.getShortcutKeys().search):"/",selectStory=(0,import_react25.useCallback)((id,refId)=>{api&&api.selectStory(id,void 0,{ref:refId!==DEFAULT_REF_ID&&refId}),inputRef.current.blur(),showAllComponents(!1)},[api,inputRef,showAllComponents,DEFAULT_REF_ID]),list=(0,import_react25.useMemo)(()=>dataset.entries.reduce((acc,[refId,{index:index2,status}])=>{let groupStatus=getGroupStatus(index2||{},status);return index2&&acc.push(...Object.values(index2).map(item=>{let statusValue=status&&status[item.id]?getHighestStatus(Object.values(status[item.id]||{}).map(s2=>s2.status)):null;return{...searchItem(item,dataset.hash[refId]),status:statusValue||groupStatus[item.id]||null}})),acc},[]),[dataset]),fuse=(0,import_react25.useMemo)(()=>new import_fuse.default(list,options2),[list]),getResults=(0,import_react25.useCallback)(input=>{if(!input)return[];let results=[],resultIds=new Set,distinctResults=fuse.search(input).filter(({item})=>!(item.type==="component"||item.type==="docs"||item.type==="story")||resultIds.has(item.parent)?!1:(resultIds.add(item.id),!0));return distinctResults.length&&(results=distinctResults.slice(0,allComponents?1e3:DEFAULT_MAX_SEARCH_RESULTS),distinctResults.length>DEFAULT_MAX_SEARCH_RESULTS&&!allComponents&&results.push({showAll:()=>showAllComponents(!0),totalCount:distinctResults.length,moreCount:distinctResults.length-DEFAULT_MAX_SEARCH_RESULTS})),results},[allComponents,fuse]),stateReducer2=(0,import_react25.useCallback)((state,changes)=>{switch(changes.type){case Downshift$1.stateChangeTypes.blurInput:return{...changes,inputValue:state.inputValue,isOpen:state.inputValue&&!state.selectedItem,selectedItem:null};case Downshift$1.stateChangeTypes.mouseUp:return{};case Downshift$1.stateChangeTypes.keyDownEscape:return state.inputValue?{...changes,inputValue:"",isOpen:!0,selectedItem:null}:(inputRef.current.blur(),{...changes,isOpen:!1,selectedItem:null});case Downshift$1.stateChangeTypes.clickItem:case Downshift$1.stateChangeTypes.keyDownEnter:{if(isSearchResult(changes.selectedItem)){let{id,refId}=changes.selectedItem.item;return selectStory(id,refId),{...changes,inputValue:state.inputValue,isOpen:!1}}return isExpandType(changes.selectedItem)?(changes.selectedItem.showAll(),{}):isClearType(changes.selectedItem)?(changes.selectedItem.clearLastViewed(),inputRef.current.blur(),{isOpen:!1}):isCloseType(changes.selectedItem)?(inputRef.current.blur(),{isOpen:!1}):changes}case Downshift$1.stateChangeTypes.changeInput:return showAllComponents(!1),changes;default:return changes}},[inputRef,selectStory,showAllComponents]);return import_react25.default.createElement(Downshift$1,{initialInputValue:initialQuery,stateReducer:stateReducer2,itemToString:result2=>result2?.item?.name||"",scrollIntoView:e3=>scrollIntoView(e3)},({isOpen,openMenu,closeMenu,inputValue,clearSelection,getInputProps,getItemProps:getItemProps2,getLabelProps,getMenuProps,getRootProps,highlightedIndex})=>{let input=inputValue?inputValue.trim():"",results=input?getResults(input):[],lastViewed=!input&&getLastViewed();lastViewed&&lastViewed.length&&(results=lastViewed.reduce((acc,{storyId,refId})=>{let data=dataset.hash[refId];if(data&&data.index&&data.index[storyId]){let story=data.index[storyId],item=story.type==="story"?data.index[story.parent]:story;acc.some(res=>res.item.refId===refId&&res.item.id===item.id)||acc.push({item:searchItem(item,dataset.hash[refId]),matches:[],score:0})}return acc},[]),results.push({closeMenu}),results.length>0&&results.push({clearLastViewed}));let inputProps=getInputProps({id:"storybook-explorer-searchfield",ref:inputRef,required:!0,type:"search",placeholder:inputPlaceholder,onFocus:()=>{openMenu(),setPlaceholder("Type to find...")},onBlur:()=>setPlaceholder("Find components")});return import_react25.default.createElement(import_react25.default.Fragment,null,import_react25.default.createElement(ScreenReaderLabel,{...getLabelProps()},"Search for components"),import_react25.default.createElement(SearchField,{...getRootProps({refKey:""},{suppressRefError:!0}),className:"search-field"},import_react25.default.createElement(SearchIcon,{icon:"search"}),import_react25.default.createElement(Input2,{...inputProps}),enableShortcuts&&import_react25.default.createElement(FocusKey,null,searchShortcut),import_react25.default.createElement(ClearIcon,{icon:"cross",onClick:()=>clearSelection()})),import_react25.default.createElement(FocusContainer,{tabIndex:0,id:"storybook-explorer-menu"},children({query:input,results,isBrowsing:!isOpen&&document8.activeElement!==inputRef.current,closeMenu,getMenuProps,getItemProps:getItemProps2,highlightedIndex})))})});var import_react26=__toESM(require_react());var{document:document9}=scope,ResultsList=newStyled.ol({listStyle:"none",margin:0,marginLeft:-20,marginRight:-20,padding:0}),ResultRow=newStyled.li(({theme,isHighlighted})=>({display:"flex",alignItems:"center",justifyContent:"space-between",margin:0,padding:0,paddingRight:20,background:isHighlighted?theme.background.hoverable:"transparent",cursor:"pointer","a:hover, button:hover":{background:"transparent"},gap:10})),NoResults=newStyled.div(({theme})=>({marginTop:20,textAlign:"center",fontSize:`${theme.typography.size.s2-1}px`,lineHeight:"18px",color:theme.color.defaultText,small:{color:theme.barTextColor,fontSize:`${theme.typography.size.s1}px`}})),Mark=newStyled.mark(({theme})=>({background:"transparent",color:theme.color.secondary})),ActionRow=newStyled(ResultRow)({display:"flex",padding:"6px 19px",alignItems:"center"}),BackActionRow=newStyled(ActionRow)({marginTop:8}),ActionLabel=newStyled.span(({theme})=>({flexGrow:1,color:theme.textMutedColor,fontSize:`${theme.typography.size.s1}px`})),ActionIcon=newStyled(Icons)(({theme})=>({display:"inline-block",width:10,height:10,marginRight:6,color:theme.textMutedColor})),ActionKey=newStyled.code(({theme})=>({minWidth:16,height:16,lineHeight:"16px",textAlign:"center",fontSize:"11px",background:theme.base==="light"?"rgba(0,0,0,0.05)":"rgba(255,255,255,0.05)",color:theme.base==="light"?theme.color.dark:theme.textMutedColor,borderRadius:2,userSelect:"none",pointerEvents:"none"})),Highlight=import_react26.default.memo(function({children,match}){if(!match)return import_react26.default.createElement(import_react26.default.Fragment,null,children);let{value:value2,indices}=match,{nodes:result2}=indices.reduce(({cursor,nodes},[start,end],index2,{length})=>(nodes.push(import_react26.default.createElement("span",{key:`${index2}-0`},value2.slice(cursor,start))),nodes.push(import_react26.default.createElement(Mark,{key:`${index2}-1`},value2.slice(start,end+1))),index2===length-1&&nodes.push(import_react26.default.createElement("span",{key:`${index2}-2`},value2.slice(end+1))),{cursor:end+1,nodes}),{cursor:0,nodes:[]});return import_react26.default.createElement(import_react26.default.Fragment,null,result2)}),Result=import_react26.default.memo(function({item,matches,icon,onClick,...props}){let click=(0,import_react26.useCallback)(event=>{event.preventDefault(),onClick(event)},[onClick]),api=useStorybookApi();(0,import_react26.useEffect)(()=>{api&&props.isHighlighted&&item.isComponent&&api.emit(PRELOAD_ENTRIES,{ids:[item.isLeaf?item.id:item.children[0]]},{options:{target:item.refId}})},[props.isHighlighted,item]);let nameMatch=matches.find(match=>match.key==="name"),pathMatches=matches.filter(match=>match.key==="path"),label=import_react26.default.createElement("div",{className:"search-result-item--label"},import_react26.default.createElement("strong",null,import_react26.default.createElement(Highlight,{match:nameMatch},item.name)),import_react26.default.createElement(Path,null,item.path.map((group,index2)=>import_react26.default.createElement("span",{key:index2},import_react26.default.createElement(Highlight,{match:pathMatches.find(match=>match.arrayIndex===index2)},group))))),title=`${item.path.join(" / ")} / ${item.name}`,nodeProps={depth:0,onClick:click,title,children:label},node;item.type==="component"?node=import_react26.default.createElement(ComponentNode,{isExpanded:!1,...nodeProps}):item.type==="story"?node=import_react26.default.createElement(StoryNode,{href:getLink(item,item.refId),...nodeProps}):node=import_react26.default.createElement(DocumentNode,{href:getLink(item,item.refId),...nodeProps});let[i3]=item.status?statusMapping[item.status]:[];return import_react26.default.createElement(ResultRow,{...props},node,item.status?i3:null)}),SearchResults=import_react26.default.memo(function({query,results,closeMenu,getMenuProps,getItemProps:getItemProps2,highlightedIndex,isLoading=!1,enableShortcuts=!0}){let api=useStorybookApi();(0,import_react26.useEffect)(()=>{let handleEscape=event=>{if(!(!enableShortcuts||isLoading||event.repeat)&&matchesModifiers(!1,event)&&matchesKeyCode("Escape",event)){if(event.target?.id==="storybook-explorer-searchfield")return;event.preventDefault(),closeMenu()}};return document9.addEventListener("keydown",handleEscape),()=>document9.removeEventListener("keydown",handleEscape)},[closeMenu,enableShortcuts,isLoading]);let mouseOverHandler=(0,import_react26.useCallback)(event=>{if(!api)return;let currentTarget=event.currentTarget,storyId=currentTarget.getAttribute("data-id"),refId=currentTarget.getAttribute("data-refid"),item=api.getData(storyId,refId==="storybook_internal"?void 0:refId);item?.isComponent&&api.emit(PRELOAD_ENTRIES,{ids:[item.isLeaf?item.id:item.children[0]],options:{target:refId}})},[]);return import_react26.default.createElement(ResultsList,{...getMenuProps()},results.length>0&&!query&&import_react26.default.createElement("li",null,import_react26.default.createElement(RootNode,{className:"search-result-recentlyOpened"},"Recently opened")),results.length===0&&query&&import_react26.default.createElement("li",null,import_react26.default.createElement(NoResults,null,import_react26.default.createElement("strong",null,"No components found"),import_react26.default.createElement("br",null),import_react26.default.createElement("small",null,"Find components by name or path."))),results.map((result2,index2)=>{if(isCloseType(result2))return import_react26.default.createElement(BackActionRow,{key:"search-result-back",...result2,...getItemProps2({key:index2,index:index2,item:result2}),isHighlighted:highlightedIndex===index2,className:"search-result-back"},import_react26.default.createElement(ActionIcon,{icon:"arrowleft"}),import_react26.default.createElement(ActionLabel,null,"Back to components"),import_react26.default.createElement(ActionKey,null,"ESC"));if(isClearType(result2))return import_react26.default.createElement(ActionRow,{key:"search-result-clearHistory",...result2,...getItemProps2({key:index2,index:index2,item:result2}),isHighlighted:highlightedIndex===index2,className:"search-result-clearHistory"},import_react26.default.createElement(ActionIcon,{icon:"trash"}),import_react26.default.createElement(ActionLabel,null,"Clear history"));if(isExpandType(result2))return import_react26.default.createElement(ActionRow,{key:"search-result-more",...result2,...getItemProps2({key:index2,index:index2,item:result2}),isHighlighted:highlightedIndex===index2,className:"search-result-more"},import_react26.default.createElement(ActionIcon,{icon:"plus"}),import_react26.default.createElement(ActionLabel,null,"Show ",result2.moreCount," more results"));let{item}=result2,key2=`${item.refId}::${item.id}`;return import_react26.default.createElement(Result,{key:item.id,...result2,...getItemProps2({key:key2,index:index2,item:result2}),isHighlighted:highlightedIndex===index2,"data-id":result2.item.id,"data-refid":result2.item.refId,onMouseOver:mouseOverHandler,className:"search-result-item"})}))});var import_debounce2=__toESM(require_debounce()),import_react27=__toESM(require_react()),import_store23=__toESM(require_store2()),save=(0,import_debounce2.default)(value2=>import_store23.default.set("lastViewedStoryIds",value2),1e3),useLastViewed=selection=>{let initialLastViewedStoryIds=(0,import_react27.useMemo)(()=>{let items=import_store23.default.get("lastViewedStoryIds");return!items||!Array.isArray(items)?[]:items.some(item=>typeof item=="object"&&item.storyId&&item.refId)?items:[]},[import_store23.default]),lastViewedRef=(0,import_react27.useRef)(initialLastViewedStoryIds),updateLastViewed=(0,import_react27.useCallback)(story=>{let items=lastViewedRef.current,index2=items.findIndex(({storyId,refId})=>storyId===story.storyId&&refId===story.refId);index2!==0&&(index2===-1?lastViewedRef.current=[story,...items]:lastViewedRef.current=[story,...items.slice(0,index2),...items.slice(index2+1)],save(lastViewedRef.current))},[lastViewedRef]);return(0,import_react27.useEffect)(()=>{selection&&updateLastViewed(selection)},[selection]),{getLastViewed:(0,import_react27.useCallback)(()=>lastViewedRef.current,[lastViewedRef]),clearLastViewed:(0,import_react27.useCallback)(()=>{lastViewedRef.current=lastViewedRef.current.slice(0,1),save(lastViewedRef.current)},[lastViewedRef])}};var DEFAULT_REF_ID="storybook_internal",Container3=newStyled.nav({position:"absolute",zIndex:1,left:0,top:0,bottom:0,right:0,width:"100%",height:"100%",display:"flex",flexDirection:"column"}),Top=newStyled(Spaced)({padding:20,flex:1}),Bottom=newStyled.div(({theme})=>({borderTop:`1px solid ${theme.appBorderColor}`,padding:theme.layoutMargin/2,display:"flex",flexWrap:"wrap",gap:theme.layoutMargin/2,backgroundColor:theme.barBg,"&:empty":{display:"none"}})),CustomScrollArea=newStyled(ScrollArea)({"&&&&& .os-scrollbar-handle:before":{left:-12},"&&&&& .os-scrollbar-vertical":{right:5}}),Swap=import_react28.default.memo(function({children,condition}){let[a2,b3]=import_react28.default.Children.toArray(children);return import_react28.default.createElement(import_react28.default.Fragment,null,import_react28.default.createElement("div",{style:{display:condition?"block":"none"}},a2),import_react28.default.createElement("div",{style:{display:condition?"none":"block"}},b3))}),useCombination=(defaultRefData,refs2)=>{let hash=(0,import_react28.useMemo)(()=>({[DEFAULT_REF_ID]:{...defaultRefData,title:null,id:DEFAULT_REF_ID,url:"iframe.html"},...refs2}),[refs2,defaultRefData]);return(0,import_react28.useMemo)(()=>({hash,entries:Object.entries(hash)}),[hash])},Sidebar2=import_react28.default.memo(function({storyId=null,refId=DEFAULT_REF_ID,index:index2,indexError,status,previewInitialized,menu,extra,bottom=[],menuHighlighted=!1,enableShortcuts=!0,refs:refs2={}}){let selected=(0,import_react28.useMemo)(()=>storyId&&{storyId,refId},[storyId,refId]),dataset=useCombination({index:index2,indexError,previewInitialized,status},refs2),isLoading=!index2&&!indexError,lastViewedProps=useLastViewed(selected);return import_react28.default.createElement(Container3,{className:"container sidebar-container"},import_react28.default.createElement(CustomScrollArea,{vertical:!0},import_react28.default.createElement(Top,{row:1.6},import_react28.default.createElement(Heading,{className:"sidebar-header",menuHighlighted,menu,extra,skipLinkHref:"#storybook-preview-wrapper",isLoading}),import_react28.default.createElement(Search,{dataset,isLoading,enableShortcuts,...lastViewedProps},({query,results,isBrowsing,closeMenu,getMenuProps,getItemProps:getItemProps2,highlightedIndex})=>import_react28.default.createElement(Swap,{condition:isBrowsing},import_react28.default.createElement(Explorer,{dataset,selected,isLoading,isBrowsing}),import_react28.default.createElement(SearchResults,{query,results,closeMenu,getMenuProps,getItemProps:getItemProps2,highlightedIndex,enableShortcuts,isLoading}))))),isLoading?null:import_react28.default.createElement(Bottom,null,bottom.map(({id,render:Render})=>import_react28.default.createElement(Render,{key:id}))))});var import_react29=__toESM(require_react());var focusableUIElements2={storySearchField:"storybook-explorer-searchfield",storyListMenu:"storybook-explorer-menu",storyPanelRoot:"storybook-panel-root"},Key=newStyled.span(({theme})=>({display:"inline-block",height:16,lineHeight:"16px",textAlign:"center",fontSize:"11px",background:theme.base==="light"?"rgba(0,0,0,0.05)":"rgba(255,255,255,0.05)",color:theme.base==="light"?theme.color.dark:theme.textMutedColor,borderRadius:2,userSelect:"none",pointerEvents:"none",padding:"0 6px"})),KeyChild=newStyled.code(({theme})=>` + padding: 0; + vertical-align: middle; + + & + & { + margin-left: 6px; + } +`),Shortcut=({keys:keys2})=>import_react29.default.createElement(import_react29.default.Fragment,null,import_react29.default.createElement(Key,null,keys2.map((key2,index2)=>import_react29.default.createElement(KeyChild,{key:key2},shortcutToHumanString([key2]))))),useMenu=(state,api,showToolbar,isFullscreen,showPanel,showNav,enableShortcuts)=>{let theme=useTheme(),shortcutKeys=api.getShortcutKeys(),about=(0,import_react29.useMemo)(()=>({id:"about",title:"About your Storybook",onClick:()=>api.navigateToSettingsPage("/settings/about")}),[api]),whatsNewNotificationsEnabled=state.whatsNewData?.status==="SUCCESS"&&!state.disableWhatsNewNotifications,isWhatsNewUnread=api.isWhatsNewUnread(),whatsNew=(0,import_react29.useMemo)(()=>({id:"whats-new",title:"What's new?",onClick:()=>api.navigateToSettingsPage("/settings/whats-new"),right:whatsNewNotificationsEnabled&&isWhatsNewUnread&&import_react29.default.createElement(Badge,{status:"positive"},"Check it out")}),[api,whatsNewNotificationsEnabled,isWhatsNewUnread]),shortcuts=(0,import_react29.useMemo)(()=>({id:"shortcuts",title:"Keyboard shortcuts",onClick:()=>api.navigateToSettingsPage("/settings/shortcuts"),right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:shortcutKeys.shortcutsPage}):null,style:{borderBottom:`4px solid ${theme.appBorderColor}`}}),[api,enableShortcuts,shortcutKeys.shortcutsPage,theme.appBorderColor]),sidebarToggle=(0,import_react29.useMemo)(()=>({id:"S",title:"Show sidebar",onClick:()=>api.toggleNav(),active:showNav,right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:shortcutKeys.toggleNav}):null,left:showNav?import_react29.default.createElement(Icons,{icon:"check"}):null}),[api,enableShortcuts,shortcutKeys,showNav]),toolbarToogle=(0,import_react29.useMemo)(()=>({id:"T",title:"Show toolbar",onClick:()=>api.toggleToolbar(),active:showToolbar,right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:shortcutKeys.toolbar}):null,left:showToolbar?import_react29.default.createElement(Icons,{icon:"check"}):null}),[api,enableShortcuts,shortcutKeys,showToolbar]),addonsToggle=(0,import_react29.useMemo)(()=>({id:"A",title:"Show addons",onClick:()=>api.togglePanel(),active:showPanel,right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:shortcutKeys.togglePanel}):null,left:showPanel?import_react29.default.createElement(Icons,{icon:"check"}):null}),[api,enableShortcuts,shortcutKeys,showPanel]),addonsOrientationToggle=(0,import_react29.useMemo)(()=>({id:"D",title:"Change addons orientation",onClick:()=>api.togglePanelPosition(),right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:shortcutKeys.panelPosition}):null}),[api,enableShortcuts,shortcutKeys]),fullscreenToggle=(0,import_react29.useMemo)(()=>({id:"F",title:"Go full screen",onClick:()=>api.toggleFullscreen(),active:isFullscreen,right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:shortcutKeys.fullScreen}):null,left:isFullscreen?import_react29.default.createElement(Icons,{icon:"check"}):null}),[api,enableShortcuts,shortcutKeys,isFullscreen]),searchToggle=(0,import_react29.useMemo)(()=>({id:"/",title:"Search",onClick:()=>api.focusOnUIElement(focusableUIElements2.storySearchField),right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:shortcutKeys.search}):null}),[api,enableShortcuts,shortcutKeys]),up=(0,import_react29.useMemo)(()=>({id:"up",title:"Previous component",onClick:()=>api.jumpToComponent(-1),right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:shortcutKeys.prevComponent}):null}),[api,enableShortcuts,shortcutKeys]),down=(0,import_react29.useMemo)(()=>({id:"down",title:"Next component",onClick:()=>api.jumpToComponent(1),right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:shortcutKeys.nextComponent}):null}),[api,enableShortcuts,shortcutKeys]),prev=(0,import_react29.useMemo)(()=>({id:"prev",title:"Previous story",onClick:()=>api.jumpToStory(-1),right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:shortcutKeys.prevStory}):null}),[api,enableShortcuts,shortcutKeys]),next=(0,import_react29.useMemo)(()=>({id:"next",title:"Next story",onClick:()=>api.jumpToStory(1),right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:shortcutKeys.nextStory}):null}),[api,enableShortcuts,shortcutKeys]),collapse=(0,import_react29.useMemo)(()=>({id:"collapse",title:"Collapse all",onClick:()=>api.collapseAll(),right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:shortcutKeys.collapseAll}):null}),[api,enableShortcuts,shortcutKeys]),getAddonsShortcuts=(0,import_react29.useCallback)(()=>{let addonsShortcuts2=api.getAddonsShortcuts(),keys2=shortcutKeys;return Object.entries(addonsShortcuts2).filter(([_2,{showInMenu}])=>showInMenu).map(([actionName,{label,action}])=>({id:actionName,title:label,onClick:()=>action(),right:enableShortcuts?import_react29.default.createElement(Shortcut,{keys:keys2[actionName]}):null}))},[api,enableShortcuts,shortcutKeys]);return(0,import_react29.useMemo)(()=>[about,...state.whatsNewData?.status==="SUCCESS"?[whatsNew]:[],shortcuts,sidebarToggle,toolbarToogle,addonsToggle,addonsOrientationToggle,fullscreenToggle,searchToggle,up,down,prev,next,collapse,...getAddonsShortcuts()],[about,state,whatsNew,shortcuts,sidebarToggle,toolbarToogle,addonsToggle,addonsOrientationToggle,fullscreenToggle,searchToggle,up,down,prev,next,collapse,getAddonsShortcuts])};var Sidebar4=import_react30.default.memo(function(){return import_react30.default.createElement(ManagerConsumer,{filter:({state,api})=>{let{ui:{name:name2,url,enableShortcuts},viewMode,storyId,refId,layout:{showToolbar,isFullscreen,showPanel,showNav},index:index2,status,indexError,previewInitialized,refs:refs2}=state,menu=useMenu(state,api,showToolbar,isFullscreen,showPanel,showNav,enableShortcuts),whatsNewNotificationsEnabled=state.whatsNewData?.status==="SUCCESS"&&!state.disableWhatsNewNotifications,items=api.getElements(Addon_TypesEnum.experimental_SIDEBAR_BOTTOM),bottom=(0,import_react30.useMemo)(()=>Object.values(items),[items]),top=(0,import_react30.useMemo)(()=>Object.values(api.getElements(Addon_TypesEnum.experimental_SIDEBAR_TOP)),[]);return{title:name2,url,index:index2,indexError,status,previewInitialized,refs:refs2,storyId,refId,viewMode,menu,menuHighlighted:whatsNewNotificationsEnabled&&api.isWhatsNewUnread(),enableShortcuts,bottom,extra:top}}},fromState=>import_react30.default.createElement(Sidebar2,{...fromState}))}),sidebar_default=Sidebar4;var import_react42=__toESM(require_react());var import_react41=__toESM(require_react());var FrameWrap=newStyled.div(({offset})=>({position:"absolute",overflow:"auto",left:0,right:0,bottom:0,top:offset,zIndex:3,transition:"all 0.1s linear",height:`calc(100% - ${offset}px)`,background:"transparent"})),UnstyledLink=newStyled(Link2)({color:"inherit",textDecoration:"inherit",display:"inline-block"}),DesktopOnly=newStyled.span({"@media (max-width: 599px)":{display:"none"}}),IframeWrapper=newStyled.div(({theme})=>({position:"absolute",top:0,left:0,bottom:0,right:0,width:"100%",height:"100%",background:theme.background.content})),LoaderWrapper2=newStyled.div(({theme})=>({position:"absolute",top:0,left:0,bottom:0,right:0,background:theme.background.content,zIndex:1}));var import_react31=__toESM(require_react());var initialZoom=1,Context=import_react31.default.createContext({value:initialZoom,set:v2=>{}}),ZoomProvider=class extends import_react31.Component{constructor(){super(...arguments);this.state={value:initialZoom};this.set=value2=>this.setState({value:value2})}render(){let{children,shouldScale}=this.props,{set:set3}=this,{value:value2}=this.state;return import_react31.default.createElement(Context.Provider,{value:{value:shouldScale?value2:initialZoom,set:set3}},children)}},{Consumer:ZoomConsumer}=Context,Zoom2=import_react31.default.memo(function({zoomIn,zoomOut,reset}){return import_react31.default.createElement(import_react31.default.Fragment,null,import_react31.default.createElement(IconButton,{key:"zoomin",onClick:zoomIn,title:"Zoom in"},import_react31.default.createElement(Icons,{icon:"zoom"})),import_react31.default.createElement(IconButton,{key:"zoomout",onClick:zoomOut,title:"Zoom out"},import_react31.default.createElement(Icons,{icon:"zoomout"})),import_react31.default.createElement(IconButton,{key:"zoomreset",onClick:reset,title:"Reset zoom"},import_react31.default.createElement(Icons,{icon:"zoomreset"})))});var ZoomWrapper=import_react31.default.memo(function({set:set3,value:value2}){let zoomIn=(0,import_react31.useCallback)(e3=>{e3.preventDefault(),set3(.8*value2)},[set3,value2]),zoomOut=(0,import_react31.useCallback)(e3=>{e3.preventDefault(),set3(1.25*value2)},[set3,value2]),reset=(0,import_react31.useCallback)(e3=>{e3.preventDefault(),set3(initialZoom)},[set3,initialZoom]);return import_react31.default.createElement(Zoom2,{key:"zoom",zoomIn,zoomOut,reset})}),zoomTool={title:"zoom",id:"zoom",type:Addon_TypesEnum.TOOL,match:({viewMode})=>viewMode==="story",render:import_react31.default.memo(function(){return import_react31.default.createElement(import_react31.default.Fragment,null,import_react31.default.createElement(ZoomConsumer,null,({set:set3,value:value2})=>import_react31.default.createElement(ZoomWrapper,{set:set3,value:value2})),import_react31.default.createElement(Separator,null))})};var import_react32=__toESM(require_react());var ApplyWrappers=({wrappers,id,storyId,active,children})=>import_react32.default.createElement(import_react32.Fragment,null,wrappers.reduceRight((acc,wrapper,index2)=>import_react32.default.createElement(wrapper.render,{index:index2,children:acc,id,storyId,active}),children)),defaultWrappers=[{id:"iframe-wrapper",type:Addon_TypesEnum.PREVIEW,render:p2=>import_react32.default.createElement(IframeWrapper,{id:"storybook-preview-wrapper",hidden:!p2.active},p2.children)}];var import_react38=__toESM(require_react());var import_react33=__toESM(require_react()),import_copy_to_clipboard=__toESM(require_copy_to_clipboard());var{PREVIEW_URL,document:document10}=scope,copyMapper=({state})=>{let{storyId,refId,refs:refs2}=state,{location:location3}=document10,ref=refs2[refId],baseUrl=`${location3.origin}${location3.pathname}`;return baseUrl.endsWith("/")||(baseUrl+="/"),{refId,baseUrl:ref?`${ref.url}/iframe.html`:PREVIEW_URL||`${baseUrl}iframe.html`,storyId,queryParams:state.customQueryParams}},copyTool={title:"copy",id:"copy",type:Addon_TypesEnum.TOOL,match:({viewMode})=>viewMode==="story",render:()=>import_react33.default.createElement(ManagerConsumer,{filter:copyMapper},({baseUrl,storyId,queryParams})=>storyId?import_react33.default.createElement(IconButton,{key:"copy",onClick:()=>(0,import_copy_to_clipboard.default)(getStoryHref(baseUrl,storyId,queryParams)),title:"Copy canvas link"},import_react33.default.createElement(Icons,{icon:"link"})):null)};var import_react34=__toESM(require_react());var{PREVIEW_URL:PREVIEW_URL2}=scope,ejectMapper=({state})=>{let{storyId,refId,refs:refs2}=state,ref=refs2[refId];return{refId,baseUrl:ref?`${ref.url}/iframe.html`:PREVIEW_URL2||"iframe.html",storyId,queryParams:state.customQueryParams}},ejectTool={title:"eject",id:"eject",type:Addon_TypesEnum.TOOL,match:({viewMode})=>viewMode==="story",render:()=>import_react34.default.createElement(ManagerConsumer,{filter:ejectMapper},({baseUrl,storyId,queryParams})=>storyId?import_react34.default.createElement(IconButton,{key:"opener",href:getStoryHref(baseUrl,storyId,queryParams),target:"_blank",title:"Open canvas in new tab"},import_react34.default.createElement(Icons,{icon:"sharealt"})):null)};var import_react35=__toESM(require_react());var menuMapper=({api,state})=>({isVisible:state.layout.showNav,singleStory:state.singleStory,toggle:()=>api.toggleNav()}),menuTool={title:"menu",id:"menu",type:Addon_TypesEnum.TOOL,match:({viewMode})=>["story","docs"].includes(viewMode),render:()=>import_react35.default.createElement(ManagerConsumer,{filter:menuMapper},({isVisible,toggle,singleStory})=>!singleStory&&!isVisible&&import_react35.default.createElement(import_react35.default.Fragment,null,import_react35.default.createElement(IconButton,{"aria-label":"Show sidebar",key:"menu",onClick:toggle,title:"Show sidebar"},import_react35.default.createElement(Icons,{icon:"menu"})),import_react35.default.createElement(Separator,null)))};var import_react36=__toESM(require_react());var menuMapper2=({api,state})=>({isVisible:state.layout.showPanel,singleStory:state.singleStory,panelPosition:state.layout.panelPosition,toggle:()=>api.togglePanel()}),addonsTool={title:"addons",id:"addons",type:Addon_TypesEnum.TOOL,match:({viewMode})=>viewMode==="story",render:()=>import_react36.default.createElement(ManagerConsumer,{filter:menuMapper2},({isVisible,toggle,singleStory,panelPosition})=>!singleStory&&!isVisible&&import_react36.default.createElement(import_react36.default.Fragment,null,import_react36.default.createElement(IconButton,{"aria-label":"Show addons",key:"addons",onClick:toggle,title:"Show addons"},import_react36.default.createElement(Icons,{icon:panelPosition==="bottom"?"bottombar":"sidebaralt"}))))};var import_react37=__toESM(require_react());var StyledAnimatedIconButton=newStyled(IconButton)(({theme,animating,disabled})=>({opacity:disabled?.5:1,svg:{animation:animating&&`${theme.animation.rotate360} 1000ms ease-out`}})),menuMapper3=({api,state})=>{let{storyId}=state;return{storyId,remount:()=>api.emit(FORCE_REMOUNT,{storyId:state.storyId}),api}},remountTool={title:"remount",id:"remount",type:Addon_TypesEnum.TOOL,match:({viewMode})=>viewMode==="story",render:()=>import_react37.default.createElement(ManagerConsumer,{filter:menuMapper3},({remount,storyId,api})=>{let[isAnimating,setIsAnimating]=(0,import_react37.useState)(!1),remountComponent=()=>{storyId&&remount()};return api.on(FORCE_REMOUNT,()=>{setIsAnimating(!0)}),import_react37.default.createElement(StyledAnimatedIconButton,{key:"remount",title:"Remount component",onClick:remountComponent,onAnimationEnd:()=>setIsAnimating(!1),animating:isAnimating,disabled:!storyId},import_react37.default.createElement(Icons,{icon:"sync"}))})};var getTools=getFn=>Object.values(getFn(Addon_TypesEnum.TOOL)),getToolsExtra=getFn=>Object.values(getFn(Addon_TypesEnum.TOOLEXTRA)),Bar3=({shown,...props})=>import_react38.default.createElement(FlexBar,{...props}),Toolbar=newStyled(Bar3)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"},({shown})=>({transform:shown?"translateY(0px)":"translateY(-40px)"})),fullScreenMapper=({api,state})=>({toggle:api.toggleFullscreen,value:state.layout.isFullscreen,shortcut:shortcutToHumanString(api.getShortcutKeys().fullScreen),hasPanel:Object.keys(api.getPanels()).length>0,singleStory:state.singleStory}),fullScreenTool={title:"fullscreen",id:"fullscreen",type:Addon_TypesEnum.TOOL,match:p2=>["story","docs"].includes(p2.viewMode),render:()=>import_react38.default.createElement(ManagerConsumer,{filter:fullScreenMapper},({toggle,value:value2,shortcut,hasPanel,singleStory})=>(!singleStory||singleStory&&hasPanel)&&import_react38.default.createElement(IconButton,{key:"full",onClick:toggle,title:`${value2?"Exit full screen":"Go full screen"} [${shortcut}]`},import_react38.default.createElement(Icons,{icon:value2?"close":"expand"})))},tabsMapper=({state})=>({viewMode:state.docsOnly,storyId:state.storyId,path:state.path,location:state.location,refId:state.refId}),createTabsTool=tabs=>({title:"title",id:"title",type:Addon_TypesEnum.TOOL,render:()=>import_react38.default.createElement(ManagerConsumer,{filter:tabsMapper},rp=>import_react38.default.createElement(import_react38.Fragment,null,import_react38.default.createElement(TabBar,{key:"tabs"},tabs.filter(p2=>!p2.hidden).map((t3,index2)=>{let to=t3.route(rp),isActive=rp.path===to;return import_react38.default.createElement(UnstyledLink,{key:t3.id||`l${index2}`,to},import_react38.default.createElement(TabButton,{disabled:t3.disabled,active:isActive},t3.title))})),import_react38.default.createElement(Separator,null)))}),defaultTools=[remountTool,zoomTool],defaultToolsExtra=[addonsTool,fullScreenTool,ejectTool,copyTool],useTools=(getElements,tabs,viewMode,entry,location3,path)=>{let toolsFromConfig=(0,import_react38.useMemo)(()=>getTools(getElements),[getElements]),toolsExtraFromConfig=(0,import_react38.useMemo)(()=>getToolsExtra(getElements),[getElements]),tools=(0,import_react38.useMemo)(()=>[...defaultTools,...toolsFromConfig],[defaultTools,toolsFromConfig]),toolsExtra=(0,import_react38.useMemo)(()=>[...defaultToolsExtra,...toolsExtraFromConfig],[defaultToolsExtra,toolsExtraFromConfig]);return(0,import_react38.useMemo)(()=>["story","docs"].includes(entry?.type)?filterTools(tools,toolsExtra,tabs,{viewMode,entry,location:location3,path}):{left:tools,right:toolsExtra},[viewMode,entry,location3,path,tools,toolsExtra,tabs])},ToolRes=import_react38.default.memo(function({api,entry,tabs,isShown,location:location3,path,viewMode}){let{left,right}=useTools(api.getElements,tabs,viewMode,entry,location3,path);return left||right?import_react38.default.createElement(Toolbar,{key:"toolbar",shown:isShown,border:!0},import_react38.default.createElement(Tools,{key:"left",list:left}),import_react38.default.createElement(Tools,{key:"right",list:right})):null}),ToolbarComp=import_react38.default.memo(function(props){return import_react38.default.createElement(Location,null,({location:location3,path,viewMode})=>import_react38.default.createElement(ToolRes,{...props,location:location3,path,viewMode}))}),Tools=import_react38.default.memo(function({list}){return import_react38.default.createElement(import_react38.default.Fragment,null,list.filter(Boolean).map(({render:Render,id,...t3},index2)=>import_react38.default.createElement(Render,{key:id||t3.key||`f-${index2}`})))});function toolbarItemHasBeenExcluded(item,entry){let parameters=entry.type==="story"&&entry.prepared?entry.parameters:{},toolbarItemsFromStoryParameters="toolbar"in parameters?parameters.toolbar:void 0,{toolbar:toolbarItemsFromAddonsConfig}=addons.getConfig(),toolbarItems=merge_default(toolbarItemsFromAddonsConfig,toolbarItemsFromStoryParameters);return toolbarItems?!!toolbarItems[item.id]?.hidden:!1}function filterTools(tools,toolsExtra,tabs,{viewMode,entry,location:location3,path}){let toolsLeft=[menuTool,tabs.filter(p2=>!p2.hidden).length>1&&createTabsTool(tabs),...tools],toolsRight=[...toolsExtra],filter=item=>item&&(!item.match||item.match({storyId:entry.id,refId:entry.refId,viewMode,location:location3,path}))&&!toolbarItemHasBeenExcluded(item,entry),left=toolsLeft.filter(filter),right=toolsRight.filter(filter);return{left,right}}var import_react40=__toESM(require_react());var import_react39=__toESM(require_react());var StyledIframe=newStyled.iframe({backgroundColor:"white",position:"absolute",display:"block",boxSizing:"content-box",height:"100%",width:"100%",border:"0 none",transition:"background-position 0s, visibility 0s",backgroundPosition:"-1px -1px, -1px -1px, -1px -1px, -1px -1px"});function IFrame(props){let{active,id,title,src,allowFullScreen,scale,...rest}=props,iFrameRef=import_react39.default.useRef(null);return import_react39.default.createElement(Zoom.IFrame,{scale,active,iFrameRef},import_react39.default.createElement(StyledIframe,{"data-is-storybook":active?"true":"false",onLoad:e3=>e3.currentTarget.setAttribute("data-is-loaded","true"),id,title,src,allow:"clipboard-write;",allowFullScreen,ref:iFrameRef,...rest}))}var import_qs3=__toESM(require_lib()),stringifyQueryParams=queryParams=>import_qs3.default.stringify(queryParams,{addQueryPrefix:!0,encode:!1}).replace(/^\?/,"&");var getActive=(refId,refs2)=>refId&&refs2[refId]?`storybook-ref-${refId}`:"storybook-preview-iframe",SkipToSidebarLink=newStyled(Button)(({theme})=>({display:"none","@media (min-width: 600px)":{position:"absolute",display:"block",top:10,right:15,padding:"10px 15px",fontSize:theme.typography.size.s1,transform:"translateY(-100px)","&:focus":{transform:"translateY(0)",zIndex:1}}})),whenSidebarIsVisible=({state})=>({isFullscreen:state.layout.isFullscreen,showNav:state.layout.showNav,selectedStoryId:state.storyId}),styles2={'#root [data-is-storybook="false"]':{display:"none"},'#root [data-is-storybook="true"]':{display:"block"}},FramesRenderer=({refs:refs2,scale,viewMode="story",refId,queryParams={},baseUrl,storyId="*"})=>{let version2=refs2[refId]?.version,stringifiedQueryParams=stringifyQueryParams({...queryParams,...version2&&{version:version2}}),active=getActive(refId,refs2),{current:frames}=(0,import_react40.useRef)({}),refsToLoad=Object.values(refs2).filter(ref=>ref.type==="auto-inject"||ref.id===refId,{});return frames["storybook-preview-iframe"]||(frames["storybook-preview-iframe"]=getStoryHref(baseUrl,storyId,{...queryParams,...version2&&{version:version2},viewMode})),refsToLoad.forEach(ref=>{let id=`storybook-ref-${ref.id}`,existingUrl=frames[id]?.split("/iframe.html")[0];if(!existingUrl||ref.url!==existingUrl){let newUrl=`${ref.url}/iframe.html?id=${storyId}&viewMode=${viewMode}&refId=${ref.id}${stringifiedQueryParams}`;frames[id]=newUrl}}),import_react40.default.createElement(import_react40.Fragment,null,import_react40.default.createElement(Global,{styles:styles2}),import_react40.default.createElement(ManagerConsumer,{filter:whenSidebarIsVisible},({isFullscreen,showNav,selectedStoryId})=>!isFullscreen&&showNav&&selectedStoryId?import_react40.default.createElement(SkipToSidebarLink,{secondary:!0,isLink:!0,tabIndex:0,href:`#${selectedStoryId}`},"Skip to sidebar"):null),Object.entries(frames).map(([id,src])=>import_react40.default.createElement(import_react40.Fragment,{key:id},import_react40.default.createElement(IFrame,{active:id===active,key:id,id,title:id,src,allowFullScreen:!0,scale}))))};var{FEATURES:FEATURES2}=scope,getWrappers=getFn=>Object.values(getFn(Addon_TypesEnum.PREVIEW)),getTabs=getFn=>Object.values(getFn(Addon_TypesEnum.TAB)),canvasMapper=({state,api})=>({storyId:state.storyId,refId:state.refId,viewMode:state.viewMode,customCanvas:api.renderPreview,queryParams:state.customQueryParams,getElements:api.getElements,entry:api.getData(state.storyId,state.refId),previewInitialized:state.previewInitialized,refs:state.refs,active:!!(state.viewMode&&state.viewMode.match(/^(story|docs)$/))}),createCanvasTab=()=>({id:"canvas",type:Addon_TypesEnum.TAB,title:"Canvas",route:({storyId,refId})=>refId?`/story/${refId}_${storyId}`:`/story/${storyId}`,match:({viewMode})=>!!(viewMode&&viewMode.match(/^(story|docs)$/)),render:()=>null}),useTabs=(getElements,entry)=>{let canvasTab=(0,import_react41.useMemo)(()=>createCanvasTab(),[]),tabsFromConfig=(0,import_react41.useMemo)(()=>getTabs(getElements),[getElements]);return(0,import_react41.useMemo)(()=>entry?.type==="story"&&entry.parameters?filterTabs([canvasTab,...tabsFromConfig],entry.parameters):[canvasTab,...tabsFromConfig],[entry,...tabsFromConfig])},Preview2=import_react41.default.memo(function(props){let{api,id:previewId,options:options3,viewMode,storyId,entry=void 0,description,baseUrl,withLoader=!0}=props,{getElements}=api,tabs=useTabs(getElements,entry),shouldScale=viewMode==="story",{showToolbar,showTabs=!0}=options3,visibleTabsInToolbar=showTabs?tabs:[],previousStoryId=(0,import_react41.useRef)(storyId);return(0,import_react41.useEffect)(()=>{if(entry&&viewMode&&storyId!==previousStoryId.current&&(previousStoryId.current=storyId,viewMode.match(/docs|story/))){let{refId,id}=entry;api.emit(SET_CURRENT_STORY,{storyId:id,viewMode,options:{target:refId}})}},[entry,viewMode]),import_react41.default.createElement(import_react41.Fragment,null,previewId==="main"&&import_react41.default.createElement(W,{key:"description"},import_react41.default.createElement("title",null,description)),import_react41.default.createElement(ZoomProvider,{shouldScale},import_react41.default.createElement(ToolbarComp,{key:"tools",entry,api,isShown:showToolbar,tabs:visibleTabsInToolbar}),import_react41.default.createElement(FrameWrap,{key:"frame",offset:showToolbar?40:0},import_react41.default.createElement(Canvas,{withLoader,baseUrl}),tabs.map(({render:Render,match,...t3},i3)=>{let key2=t3.id||t3.key||i3;return import_react41.default.createElement(import_react41.Fragment,{key:key2},import_react41.default.createElement(Location,null,lp=>import_react41.default.createElement(Render,{active:match(lp)})))}))))});var Canvas=({baseUrl,withLoader})=>import_react41.default.createElement(ManagerConsumer,{filter:canvasMapper},({entry,refs:refs2,customCanvas,storyId,refId,viewMode,queryParams,getElements,previewInitialized,active})=>{let id="canvas",wrappers=(0,import_react41.useMemo)(()=>[...defaultWrappers,...getWrappers(getElements)],[getElements,...defaultWrappers]),[progress,setProgress]=(0,import_react41.useState)(void 0);(0,import_react41.useEffect)(()=>{if(FEATURES2?.storyStoreV7&&scope.CONFIG_TYPE==="DEVELOPMENT")try{addons.getServerChannel().on(PREVIEW_BUILDER_PROGRESS,options3=>{setProgress(options3)})}catch{}},[]);let refLoading=!!refs2[refId]&&!refs2[refId].previewInitialized,isBuilding=!(progress?.value===1||progress===void 0),rootLoading=!refId&&(!previewInitialized||isBuilding),isLoading=entry&&refLoading||rootLoading;return import_react41.default.createElement(ZoomConsumer,null,({value:scale})=>import_react41.default.createElement(import_react41.default.Fragment,null,withLoader&&isLoading&&import_react41.default.createElement(LoaderWrapper2,null,import_react41.default.createElement(Loader,{id:"preview-loader",role:"progressbar",progress})),import_react41.default.createElement(ApplyWrappers,{id,storyId,viewMode,active,wrappers},customCanvas?customCanvas(storyId,viewMode,id,baseUrl,scale,queryParams):import_react41.default.createElement(FramesRenderer,{baseUrl,refs:refs2,scale,entry,viewMode,refId,queryParams,storyId}))))});function filterTabs(panels,parameters){let{previewTabs}=addons.getConfig(),parametersTabs=parameters?parameters.previewTabs:void 0;if(previewTabs||parametersTabs){let tabs=merge_default(previewTabs,parametersTabs),arrTabs=Object.keys(tabs).map((key2,index2)=>({index:index2,...typeof tabs[key2]=="string"?{title:tabs[key2]}:tabs[key2],id:key2}));return panels.filter(panel=>{let t3=arrTabs.find(tab=>tab.id===panel.id);return t3===void 0||t3.id==="canvas"||!t3.hidden}).map((panel,index2)=>({...panel,index:index2})).sort((p1,p2)=>{let tab_1=arrTabs.find(tab=>tab.id===p1.id),index_1=tab_1?tab_1.index:arrTabs.length+p1.index,tab_2=arrTabs.find(tab=>tab.id===p2.id),index_2=tab_2?tab_2.index:arrTabs.length+p2.index;return index_1-index_2}).map(panel=>{let t3=arrTabs.find(tab=>tab.id===panel.id);return t3?{...panel,title:t3.title||panel.title,disabled:t3.disabled,hidden:t3.hidden}:panel})}return panels}var{PREVIEW_URL:PREVIEW_URL3}=scope,splitTitleAddExtraSpace=input=>input.split("/").join(" / ").replace(/\s\s/," "),getDescription=item=>{if(item?.type==="story"||item?.type==="docs"){let{title,name:name2}=item;return title&&name2?splitTitleAddExtraSpace(`${title} - ${name2} \u22C5 Storybook`):"Storybook"}return item?.name?`${item.name} \u22C5 Storybook`:"Storybook"},mapper=({api,state})=>{let{layout,location:location3,customQueryParams,storyId,refs:refs2,viewMode,path,refId}=state,entry=api.getData(storyId,refId);return{api,entry,options:layout,description:getDescription(entry),viewMode,path,refs:refs2,storyId,baseUrl:PREVIEW_URL3||"iframe.html",queryParams:customQueryParams,location:location3}},PreviewConnected=import_react42.default.memo(function(props){return import_react42.default.createElement(ManagerConsumer,{filter:mapper},fromState=>import_react42.default.createElement(Preview2,{...props,...fromState}))}),preview_default=PreviewConnected;var import_react45=__toESM(require_react()),import_memoizerific7=__toESM(require_memoizerific());var import_react44=__toESM(require_react());var import_react43=__toESM(require_react()),useMediaQuery=query=>{let[matches,setMatches]=(0,import_react43.useState)(!1);return(0,import_react43.useEffect)(()=>{let media=window.matchMedia(query);media.matches!==matches&&setMatches(media.matches);let listener=()=>setMatches(media.matches);return window.addEventListener("resize",listener),()=>window.removeEventListener("resize",listener)},[matches,query]),matches},useMedia_default=useMediaQuery;var SafeTab=class extends import_react44.Component{constructor(props){super(props),this.state={hasError:!1}}componentDidCatch(error,info){this.setState({hasError:!0}),console.error(error,info)}render(){let{hasError}=this.state,{children}=this.props;return hasError?import_react44.default.createElement("h1",null,"Something went wrong."):children}},AddonPanel2=import_react44.default.memo(({panels,shortcuts,actions,selectedPanel=null,panelPosition="right",absolute=!0})=>{let isTablet=useMedia_default("(min-width: 599px)");return import_react44.default.createElement(Tabs,{absolute,...selectedPanel?{selected:selectedPanel}:{},menuName:"Addons",actions,tools:isTablet?import_react44.default.createElement(import_react44.Fragment,null,import_react44.default.createElement(IconButton,{key:"position",onClick:actions.togglePosition,title:`Change addon orientation [${shortcutToHumanString(shortcuts.panelPosition)}]`},import_react44.default.createElement(Icons,{icon:panelPosition==="bottom"?"sidebaralt":"bottombar"})),import_react44.default.createElement(IconButton,{key:"visibility",onClick:actions.toggleVisibility,title:`Hide addons [${shortcutToHumanString(shortcuts.togglePanel)}]`},import_react44.default.createElement(Icons,{icon:"close"}))):void 0,id:"storybook-panel-root"},Object.entries(panels).map(([k2,v2])=>import_react44.default.createElement(SafeTab,{key:k2,id:k2,title:typeof v2.title=="function"?import_react44.default.createElement(v2.title,null):v2.title},v2.render)))});AddonPanel2.displayName="AddonPanel";var panel_default=AddonPanel2;var createPanelActions=(0,import_memoizerific7.default)(1)(api=>({onSelect:panel=>api.setSelectedPanel(panel),toggleVisibility:()=>api.togglePanel(),togglePosition:()=>api.togglePanelPosition()})),mapper2=({state,api})=>({panels:api.getStoryPanels(),selectedPanel:api.getSelectedPanel(),panelPosition:state.layout.panelPosition,actions:createPanelActions(api),shortcuts:api.getShortcutKeys()}),Panel2=props=>import_react45.default.createElement(ManagerConsumer,{filter:mapper2},customProps=>import_react45.default.createElement(panel_default,{...props,...customProps})),panel_default2=Panel2;var import_react48=__toESM(require_react());var import_react47=__toESM(require_react());var import_react46=__toESM(require_react());var Notification=newStyled.div(({theme})=>({position:"relative",display:"flex",padding:15,width:280,borderRadius:4,alignItems:"center",background:theme.base==="light"?"hsla(203, 50%, 20%, .97)":"hsla(203, 30%, 95%, .97)",boxShadow:"0 2px 5px 0 rgba(0,0,0,0.05), 0 5px 15px 0 rgba(0,0,0,0.1)",color:theme.color.inverseText,textDecoration:"none"})),NotificationWithInteractiveStates=newStyled(Notification)(()=>({transition:"all 150ms ease-out",transform:"translate3d(0, 0, 0)","&:hover":{transform:"translate3d(0, -3px, 0)",boxShadow:"0 1px 3px 0 rgba(30,167,253,0.5), 0 2px 5px 0 rgba(0,0,0,0.05), 0 5px 15px 0 rgba(0,0,0,0.1)"},"&:active":{transform:"translate3d(0, 0, 0)",boxShadow:"0 1px 3px 0 rgba(30,167,253,0.5), 0 2px 5px 0 rgba(0,0,0,0.05), 0 5px 15px 0 rgba(0,0,0,0.1)"},"&:focus":{boxShadow:"0 1px 3px 0 rgba(30,167,253,0.5), 0 2px 5px 0 rgba(0,0,0,0.05), 0 5px 15px 0 rgba(0,0,0,0.1)"}})),NotificationLink=NotificationWithInteractiveStates.withComponent(Link2),NotificationIconWrapper=newStyled.div(()=>({display:"flex",marginRight:10,alignItems:"center"})),NotificationTextWrapper=newStyled.div(()=>({width:"100%",display:"flex",flexDirection:"column"})),Headline=newStyled.div(({theme,hasIcon})=>({height:"100%",width:hasIcon?205:230,alignItems:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontSize:theme.typography.size.s1,lineHeight:"16px",fontWeight:theme.typography.weight.bold})),SubHeadline=newStyled.div(({theme})=>({color:curriedTransparentize$12(.25,theme.color.inverseText),fontSize:theme.typography.size.s1-1,lineHeight:"14px",marginTop:2})),ItemContent=({icon,content:{headline,subHeadline}})=>{let theme=useTheme(),defaultColor=theme.base==="dark"?theme.color.mediumdark:theme.color.mediumlight;return import_react46.default.createElement(import_react46.default.Fragment,null,!icon||import_react46.default.createElement(NotificationIconWrapper,null,import_react46.default.createElement(Icons,{icon:icon.name,width:16,height:16,color:icon.color||defaultColor})),import_react46.default.createElement(NotificationTextWrapper,null,import_react46.default.createElement(Headline,{title:headline,hasIcon:!!icon},headline),subHeadline&&import_react46.default.createElement(SubHeadline,null,subHeadline)))},DismissButtonWrapper=newStyled(IconButton)(({theme})=>({alignSelf:"center",marginTop:0,color:theme.base==="light"?"rgba(255,255,255,0.7)":" #999999"})),DismissNotificationItem=({onDismiss})=>import_react46.default.createElement(DismissButtonWrapper,{title:"Dismiss notification",onClick:e3=>{e3.preventDefault(),onDismiss()}},import_react46.default.createElement(Icons,{icon:"closeAlt",height:12,width:12})),NotificationItemSpacer=newStyled.div({height:48}),NotificationItem=({notification:{content,link,onClear,id,icon},onDismissNotification})=>{let dismissNotificationItem=()=>{onDismissNotification(id),onClear&&onClear({dismissed:!0})};return link?import_react46.default.createElement(NotificationLink,{to:link},import_react46.default.createElement(ItemContent,{icon,content}),import_react46.default.createElement(DismissNotificationItem,{onDismiss:dismissNotificationItem})):import_react46.default.createElement(Notification,null,import_react46.default.createElement(ItemContent,{icon,content}),import_react46.default.createElement(DismissNotificationItem,{onDismiss:dismissNotificationItem}))},NotificationItem_default=NotificationItem;var List2=newStyled.div({zIndex:10,"> * + *":{marginTop:10},"&:empty":{display:"none"}},({placement})=>placement||{bottom:0,left:0,right:0,position:"fixed"}),NotificationList=({notifications,clearNotification,placement=void 0})=>import_react47.default.createElement(List2,{placement},notifications.map(notification=>import_react47.default.createElement(NotificationItem_default,{key:notification.id,onDismissNotification:id=>clearNotification(id),notification}))),NotificationList_default=NotificationList;var mapper3=({state,api})=>({notifications:state.notifications,clearNotification:api.clearNotification}),NotificationConnect=props=>import_react48.default.createElement(ManagerConsumer,{filter:mapper3},fromState=>import_react48.default.createElement(NotificationList_default,{...props,...fromState})),notifications_default=NotificationConnect;var View=newStyled.div({position:"fixed",overflow:"hidden",height:"100vh",width:"100vw"}),App=({viewMode,layout,panelCount,pages})=>{let{width,height,ref}=useResizeDetector(),content,props=(0,import_react49.useMemo)(()=>({Sidebar:sidebar_default,Preview:preview_default,Panel:panel_default2,Notifications:notifications_default}),[]);return!width||!height?content=import_react49.default.createElement("div",null):width<600?content=import_react49.default.createElement(Mobile,{...props,viewMode,options:layout,pages}):content=import_react49.default.createElement(Desktop,{...props,viewMode,options:layout,width,height,panelCount,pages}),import_react49.default.createElement(View,{ref},import_react49.default.createElement(Global,{styles:createGlobal}),import_react49.default.createElement(Symbols,{icons:["folder","component","document","bookmarkhollow"]}),content)};App.displayName="App";var app_default=App;var Provider=class{getElements(_type){throw new Error("Provider.getElements() is not implemented!")}handleAPI(_api){throw new Error("Provider.handleAPI() is not implemented!")}getConfig(){return console.error("Provider.getConfig() is not implemented!"),{}}};var import_react57=__toESM(require_react());var import_react51=__toESM(require_react());var import_react50=__toESM(require_react());var Header=newStyled.header(({theme})=>({marginBottom:32,fontSize:theme.typography.size.l2,color:theme.base==="light"?theme.color.darkest:theme.color.lightest,fontWeight:theme.typography.weight.bold,alignItems:"center",display:"flex","> svg":{height:48,width:"auto",marginRight:8}})),Container4=newStyled.div({display:"flex",alignItems:"center",justifyContent:"center",height:"calc(100% - 40px)",flexDirection:"column"}),UpgradeBlock=newStyled.div(({theme})=>({border:"1px solid",borderRadius:5,padding:20,margin:20,marginTop:0,maxWidth:400,borderColor:theme.appBorderColor,fontSize:theme.typography.size.s2})),Code3=newStyled.pre(({theme})=>({background:theme.base==="light"?"rgba(0, 0, 0, 0.05)":theme.appBorderColor,fontSize:theme.typography.size.s2-1,margin:"4px 0 16px"})),Footer=newStyled.div(({theme})=>({marginBottom:24,display:"flex",flexDirection:"column",alignItems:"center",color:theme.base==="light"?theme.color.dark:theme.color.lightest,fontWeight:theme.typography.weight.regular,fontSize:theme.typography.size.s2})),SquareButton=newStyled(Button)(({theme})=>({"&&":{borderRadius:4,fontSize:"13px",lineHeight:"14px",color:theme.base==="light"?theme.color.darker:theme.color.lightest,padding:"9px 12px",svg:{marginRight:6}}})),TabButton2=newStyled(Button)(({theme,active})=>({"&&":{padding:2,paddingRight:8,margin:0,color:active?theme.color.secondary:theme.base==="light"?theme.color.dark:theme.color.lightest}})),StyledLink=newStyled(Link22)(({theme})=>({"&&":{fontWeight:theme.typography.weight.bold,color:theme.base==="light"?theme.color.dark:theme.color.light},"&:hover":{color:theme.base==="light"?theme.color.darkest:theme.color.lightest}})),AboutScreen=({current,onNavigateToWhatsNew})=>{let[activeTab,setActiveTab]=(0,import_react50.useState)("npm");return import_react50.default.createElement(Container4,null,import_react50.default.createElement("div",{style:{flex:"1"}}),import_react50.default.createElement(Header,null,import_react50.default.createElement(StorybookIcon,null)," Storybook"),import_react50.default.createElement(UpgradeBlock,null,import_react50.default.createElement("strong",null,"You are on Storybook ",current.version),import_react50.default.createElement("p",null,"Run the following script to check for updates and upgrade to the latest version."),import_react50.default.createElement("div",null,import_react50.default.createElement(TabButton2,{active:activeTab==="npm",onClick:()=>setActiveTab("npm")},"npm"),import_react50.default.createElement(TabButton2,{active:activeTab==="pnpm",onClick:()=>setActiveTab("pnpm")},"pnpm")),import_react50.default.createElement(Code3,null,activeTab==="npm"?"npx storybook@latest upgrade":"pnpm dlx storybook@latest upgrade"),onNavigateToWhatsNew&&import_react50.default.createElement(Link22,{onClick:onNavigateToWhatsNew},"See what's new in Storybook")),import_react50.default.createElement("div",{style:{flex:"1.2"}}),import_react50.default.createElement(Footer,null,import_react50.default.createElement("div",{style:{marginBottom:12}},import_react50.default.createElement(SquareButton,{isLink:!0,outline:!0,small:!0,href:"https://github.com/storybookjs/storybook",style:{marginRight:12}},import_react50.default.createElement(Icons,{icon:"github",style:{display:"inline",marginRight:5}}),"GitHub"),import_react50.default.createElement(SquareButton,{isLink:!0,outline:!0,small:!0,href:"https://storybook.js.org/docs"},import_react50.default.createElement(Icons,{icon:"document",style:{display:"inline",marginRight:5}}),"Documentation")),import_react50.default.createElement("div",null,"Open source software maintained by"," ",import_react50.default.createElement(StyledLink,{href:"https://www.chromatic.com/"},"Chromatic")," and the"," ",import_react50.default.createElement(StyledLink,{href:"https://github.com/storybookjs/storybook/graphs/contributors"},"Storybook Community"))))};var NotificationClearer=class extends import_react51.Component{componentDidMount(){let{api,notificationId}=this.props;api.clearNotification(notificationId)}render(){let{children}=this.props;return children}},AboutPage=()=>{let api=useStorybookApi(),state=useStorybookState(),onNavigateToWhatsNew=(0,import_react51.useCallback)(()=>{api.changeSettingsTab("whats-new")},[api]);return import_react51.default.createElement(NotificationClearer,{api,notificationId:"update"},import_react51.default.createElement(AboutScreen,{current:api.getCurrentVersion(),onNavigateToWhatsNew:state.whatsNewData?.status==="SUCCESS"?onNavigateToWhatsNew:void 0}))};var import_react53=__toESM(require_react());var import_react52=__toESM(require_react());var Centered=newStyled.div({top:"50%",position:"absolute",transform:"translateY(-50%)",width:"100%",textAlign:"center"}),LoaderWrapper3=newStyled.div({position:"relative",height:"32px"}),Message4=newStyled.div(({theme})=>({paddingTop:"12px",color:theme.textMutedColor,maxWidth:"295px",margin:"0 auto",fontSize:`${theme.typography.size.s1}px`,lineHeight:"16px"})),Container5=newStyled.div(({theme})=>({position:"absolute",width:"100%",bottom:"40px",background:theme.background.bar,fontSize:"13px",borderTop:"1px solid",borderColor:theme.appBorderColor,padding:"8px 12px",display:"flex",alignItems:"center",justifyContent:"space-between"})),ToggleNotificationButton=newStyled(IconButton)(({theme})=>({fontWeight:theme.typography.weight.regular,color:theme.color.mediumdark,margin:0})),CopyButton=newStyled(Button)(({theme})=>({"&&":{fontSize:"13px",color:theme.color.defaultText,margin:0,padding:0,borderRadius:0}})),WhatsNewFooter=({isNotificationsEnabled,onToggleNotifications,onCopyLink})=>{let theme=useTheme(),[copyText,setCopyText]=(0,import_react52.useState)("Copy Link"),copyLink=()=>{onCopyLink(),setCopyText("Copied!"),setTimeout(()=>setCopyText("Copy Link"),4e3)};return import_react52.default.createElement(Container5,null,import_react52.default.createElement("div",{style:{display:"flex",alignItems:"center",gap:10}},import_react52.default.createElement(Icons,{icon:"heart",color:theme.color.mediumdark}),import_react52.default.createElement("div",null,"Share this with your team."),import_react52.default.createElement(CopyButton,{onClick:copyLink,small:!0},copyText)),import_react52.default.createElement(ToggleNotificationButton,{onClick:onToggleNotifications},isNotificationsEnabled?import_react52.default.createElement(import_react52.default.Fragment,null,import_react52.default.createElement(Icons,{icon:"eyeclose"}),"\xA0Hide notifications"):import_react52.default.createElement(import_react52.default.Fragment,null,import_react52.default.createElement(Icons,{icon:"eye"}),"\xA0Show notifications")))},Iframe=newStyled.iframe({position:"absolute",top:0,left:0,right:0,bottom:0,border:0,margin:0,padding:0,width:"100%",height:"calc(100% - 80px)",background:"white"},({isLoaded})=>({visibility:isLoaded?"visible":"hidden"})),AlertIcon=newStyled(props=>import_react52.default.createElement(Icons,{icon:"alert",...props}))(({theme})=>({color:theme.textMutedColor,width:32,height:32,margin:"0 auto"})),WhatsNewLoader=()=>import_react52.default.createElement(Centered,null,import_react52.default.createElement(LoaderWrapper3,null,import_react52.default.createElement(Loader,null)),import_react52.default.createElement(Message4,null,"Loading...")),MaxWaitTimeMessaging=()=>import_react52.default.createElement(Centered,null,import_react52.default.createElement(AlertIcon,null),import_react52.default.createElement(Message4,null,"The page couldn't be loaded. Check your internet connection and try again.")),PureWhatsNewScreen=({didHitMaxWaitTime,isLoaded,onLoad,url,onCopyLink,onToggleNotifications,isNotificationsEnabled})=>import_react52.default.createElement(import_react52.Fragment,null,!isLoaded&&!didHitMaxWaitTime&&import_react52.default.createElement(WhatsNewLoader,null),didHitMaxWaitTime?import_react52.default.createElement(MaxWaitTimeMessaging,null):import_react52.default.createElement(import_react52.default.Fragment,null,import_react52.default.createElement(Iframe,{isLoaded,onLoad,src:url,title:"What's new?"}),import_react52.default.createElement(WhatsNewFooter,{isNotificationsEnabled,onToggleNotifications,onCopyLink}))),MAX_WAIT_TIME=1e4,WhatsNewScreen=()=>{let api=useStorybookApi(),state=useStorybookState(),{whatsNewData}=state,[isLoaded,setLoaded]=(0,import_react52.useState)(!1),[didHitMaxWaitTime,setDidHitMaxWaitTime]=(0,import_react52.useState)(!1);if((0,import_react52.useEffect)(()=>{let timer=setTimeout(()=>!isLoaded&&setDidHitMaxWaitTime(!0),MAX_WAIT_TIME);return()=>clearTimeout(timer)},[isLoaded]),whatsNewData?.status!=="SUCCESS")return null;let isNotificationsEnabled=!whatsNewData.disableWhatsNewNotifications;return import_react52.default.createElement(PureWhatsNewScreen,{didHitMaxWaitTime,isLoaded,onLoad:()=>{api.whatsNewHasBeenRead(),setLoaded(!0)},url:whatsNewData.url,isNotificationsEnabled,onCopyLink:()=>{navigator.clipboard?.writeText(whatsNewData.blogUrl??whatsNewData.url)},onToggleNotifications:()=>{isNotificationsEnabled?scope.confirm("All update notifications will no longer be shown. Are you sure?")&&api.toggleWhatsNewNotifications():api.toggleWhatsNewNotifications()}})};var WhatsNewPage=()=>import_react53.default.createElement(WhatsNewScreen,null);var import_react56=__toESM(require_react());var import_react55=__toESM(require_react());var import_react54=__toESM(require_react());var Footer2=newStyled.div(({theme})=>({display:"flex",paddingTop:20,marginTop:20,borderTop:`1px solid ${theme.appBorderColor}`,fontWeight:theme.typography.weight.bold,"& > * + *":{marginLeft:20}})),SettingsFooter=props=>import_react54.default.createElement(Footer2,{...props},import_react54.default.createElement(Link22,{secondary:!0,href:"https://storybook.js.org",cancel:!1,target:"_blank"},"Docs"),import_react54.default.createElement(Link22,{secondary:!0,href:"https://github.com/storybookjs/storybook",cancel:!1,target:"_blank"},"GitHub"),import_react54.default.createElement(Link22,{secondary:!0,href:"https://storybook.js.org/community#support",cancel:!1,target:"_blank"},"Support")),SettingsFooter_default=SettingsFooter;var Header2=newStyled.header(({theme})=>({marginBottom:20,fontSize:theme.typography.size.m3,fontWeight:theme.typography.weight.bold,alignItems:"center",display:"flex"})),HeaderItem=newStyled.div(({theme})=>({fontWeight:theme.typography.weight.bold})),GridHeaderRow=newStyled.div({alignSelf:"flex-end",display:"grid",margin:"10px 0",gridTemplateColumns:"1fr 1fr 12px","& > *:last-of-type":{gridColumn:"2 / 2",justifySelf:"flex-end",gridRow:"1"}}),Row=newStyled.div(({theme})=>({padding:"6px 0",borderTop:`1px solid ${theme.appBorderColor}`,display:"grid",gridTemplateColumns:"1fr 1fr 0px"})),GridWrapper=newStyled.div({display:"grid",gridTemplateColumns:"1fr",gridAutoRows:"minmax(auto, auto)",marginBottom:20}),Description=newStyled.div({alignSelf:"center"}),TextInput=newStyled(Form.Input)(({valid,theme})=>valid==="error"?{animation:`${theme.animation.jiggle} 700ms ease-out`}:{},{display:"flex",width:80,flexDirection:"column",justifySelf:"flex-end",paddingLeft:4,paddingRight:4,textAlign:"center"}),Fade=keyframes` +0%,100% { opacity: 0; } + 50% { opacity: 1; } +`,SuccessIcon=newStyled(Icons)(({valid,theme})=>valid==="valid"?{color:theme.color.positive,animation:`${Fade} 2s ease forwards`}:{opacity:0},{alignSelf:"center",display:"flex",marginLeft:10,height:14,width:14}),Container6=newStyled.div(({theme})=>({fontSize:theme.typography.size.s2,padding:"3rem 20px",maxWidth:600,margin:"0 auto"})),shortcutLabels={fullScreen:"Go full screen",togglePanel:"Toggle addons",panelPosition:"Toggle addons orientation",toggleNav:"Toggle sidebar",toolbar:"Toggle canvas toolbar",search:"Focus search",focusNav:"Focus sidebar",focusIframe:"Focus canvas",focusPanel:"Focus addons",prevComponent:"Previous component",nextComponent:"Next component",prevStory:"Previous story",nextStory:"Next story",shortcutsPage:"Go to shortcuts page",aboutPage:"Go to about page",collapseAll:"Collapse all items on sidebar",expandAll:"Expand all items on sidebar",remount:"Remount component"},fixedShortcuts=["escape"];function toShortcutState(shortcutKeys){return Object.entries(shortcutKeys).reduce((acc,[feature,shortcut])=>fixedShortcuts.includes(feature)?acc:{...acc,[feature]:{shortcut,error:!1}},{})}var ShortcutsScreen=class extends import_react55.Component{constructor(props){super(props);this.onKeyDown=e3=>{let{activeFeature,shortcutKeys}=this.state;if(e3.key==="Backspace")return this.restoreDefault();let shortcut=eventToShortcut(e3);if(!shortcut)return!1;let error=!!Object.entries(shortcutKeys).find(([feature,{shortcut:existingShortcut}])=>feature!==activeFeature&&existingShortcut&&shortcutMatchesShortcut(shortcut,existingShortcut));return this.setState({shortcutKeys:{...shortcutKeys,[activeFeature]:{shortcut,error}}})};this.onFocus=focusedInput=>()=>{let{shortcutKeys}=this.state;this.setState({activeFeature:focusedInput,shortcutKeys:{...shortcutKeys,[focusedInput]:{shortcut:null,error:!1}}})};this.onBlur=async()=>{let{shortcutKeys,activeFeature}=this.state;if(shortcutKeys[activeFeature]){let{shortcut,error}=shortcutKeys[activeFeature];return!shortcut||error?this.restoreDefault():this.saveShortcut()}return!1};this.saveShortcut=async()=>{let{activeFeature,shortcutKeys}=this.state,{setShortcut}=this.props;await setShortcut(activeFeature,shortcutKeys[activeFeature].shortcut),this.setState({successField:activeFeature})};this.restoreDefaults=async()=>{let{restoreAllDefaultShortcuts}=this.props,defaultShortcuts2=await restoreAllDefaultShortcuts();return this.setState({shortcutKeys:toShortcutState(defaultShortcuts2)})};this.restoreDefault=async()=>{let{activeFeature,shortcutKeys}=this.state,{restoreDefaultShortcut}=this.props,defaultShortcut=await restoreDefaultShortcut(activeFeature);return this.setState({shortcutKeys:{...shortcutKeys,...toShortcutState({[activeFeature]:defaultShortcut})}})};this.displaySuccessMessage=activeElement=>{let{successField,shortcutKeys}=this.state;return activeElement===successField&&shortcutKeys[activeElement].error===!1?"valid":void 0};this.displayError=activeElement=>{let{activeFeature,shortcutKeys}=this.state;return activeElement===activeFeature&&shortcutKeys[activeElement].error===!0?"error":void 0};this.renderKeyInput=()=>{let{shortcutKeys,addonsShortcutLabels}=this.state;return Object.entries(shortcutKeys).map(([feature,{shortcut}])=>import_react55.default.createElement(Row,{key:feature},import_react55.default.createElement(Description,null,shortcutLabels[feature]||addonsShortcutLabels[feature]),import_react55.default.createElement(TextInput,{spellCheck:"false",valid:this.displayError(feature),className:"modalInput",onBlur:this.onBlur,onFocus:this.onFocus(feature),onKeyDown:this.onKeyDown,value:shortcut?shortcutToHumanString(shortcut):"",placeholder:"Type keys",readOnly:!0}),import_react55.default.createElement(SuccessIcon,{valid:this.displaySuccessMessage(feature),icon:"check"})))};this.renderKeyForm=()=>import_react55.default.createElement(GridWrapper,null,import_react55.default.createElement(GridHeaderRow,null,import_react55.default.createElement(HeaderItem,null,"Commands"),import_react55.default.createElement(HeaderItem,null,"Shortcut")),this.renderKeyInput());this.state={activeFeature:void 0,successField:void 0,shortcutKeys:toShortcutState(props.shortcutKeys),addonsShortcutLabels:props.addonsShortcutLabels}}render(){let layout=this.renderKeyForm();return import_react55.default.createElement(Container6,null,import_react55.default.createElement(Header2,null,"Keyboard shortcuts"),layout,import_react55.default.createElement(Form.Button,{tertiary:!0,small:!0,id:"restoreDefaultsHotkeys",onClick:this.restoreDefaults},"Restore defaults"),import_react55.default.createElement(SettingsFooter_default,null))}};var ShortcutsPage=()=>import_react56.default.createElement(ManagerConsumer,null,({api:{getShortcutKeys,getAddonsShortcutLabels,setShortcut,restoreDefaultShortcut,restoreAllDefaultShortcuts}})=>import_react56.default.createElement(ShortcutsScreen,{shortcutKeys:getShortcutKeys(),addonsShortcutLabels:getAddonsShortcutLabels(),setShortcut,restoreDefaultShortcut,restoreAllDefaultShortcuts}));var{document:document11}=scope,TabBarButton=import_react57.default.memo(function({changeTab,id,title}){return import_react57.default.createElement(Location,null,({path})=>{let active=path.includes(`settings/${id}`);return import_react57.default.createElement(TabButton,{id:`tabbutton-${id}`,className:["tabbutton"].concat(active?["tabbutton-active"]:[]).join(" "),type:"button",key:"id",active,onClick:()=>changeTab(id),role:"tab"},title)})}),Content2=newStyled(ScrollArea)({position:"absolute",top:40,left:0,right:0,bottom:0,overflow:"auto"},({theme})=>({background:theme.background.content})),Pages=({changeTab,onClose,enableShortcuts=!0,enableWhatsNew})=>(import_react57.default.useEffect(()=>{let handleEscape=event=>{!enableShortcuts||event.repeat||matchesModifiers(!1,event)&&matchesKeyCode("Escape",event)&&(event.preventDefault(),onClose())};return document11.addEventListener("keydown",handleEscape),()=>document11.removeEventListener("keydown",handleEscape)},[enableShortcuts,onClose]),import_react57.default.createElement(import_react57.Fragment,null,import_react57.default.createElement(FlexBar,{border:!0},import_react57.default.createElement(TabBar,{role:"tablist"},import_react57.default.createElement(TabBarButton,{id:"about",title:"About",changeTab}),enableWhatsNew&&import_react57.default.createElement(TabBarButton,{id:"whats-new",title:"What's new?",changeTab}),import_react57.default.createElement(TabBarButton,{id:"shortcuts",title:"Keyboard shortcuts",changeTab})),import_react57.default.createElement(IconButton,{onClick:e3=>(e3.preventDefault(),onClose()),title:"Close settings page"},import_react57.default.createElement(Icons,{icon:"close"}))),import_react57.default.createElement(Content2,{vertical:!0,horizontal:!1},import_react57.default.createElement(Route2,{path:"about"},import_react57.default.createElement(AboutPage,{key:"about"})),import_react57.default.createElement(Route2,{path:"whats-new"},import_react57.default.createElement(WhatsNewPage,{key:"whats-new"})),import_react57.default.createElement(Route2,{path:"shortcuts"},import_react57.default.createElement(ShortcutsPage,{key:"shortcuts"}))))),SettingsPages=()=>{let api=useStorybookApi(),state=useStorybookState(),changeTab=tab=>api.changeSettingsTab(tab);return import_react57.default.createElement(Pages,{enableWhatsNew:state.whatsNewData?.status==="SUCCESS",enableShortcuts:state.ui.enableShortcuts,changeTab,onClose:api.closeSettings})},settingsPageAddon={id:"settings",url:"/settings/",title:"Settings",type:Addon_TypesEnum.experimental_PAGE,render:()=>import_react57.default.createElement(Route2,{path:"/settings/",startsWith:!0},import_react57.default.createElement(SettingsPages,null))};ThemeProvider.displayName="ThemeProvider";q.displayName="HelmetProvider";var Root4=({provider})=>import_react58.default.createElement(q,{key:"helmet.Provider"},import_react58.default.createElement(LocationProvider,{key:"location.provider"},import_react58.default.createElement(Main2,{provider}))),Main2=({provider})=>{let navigate=useNavigate2();return import_react58.default.createElement(Location,{key:"location.consumer"},locationData=>import_react58.default.createElement(ManagerProvider,{key:"manager",provider,...locationData,navigate,docsOptions:scope?.DOCS_OPTIONS||{}},({state,api})=>{let panelCount=Object.keys(api.getElements(Addon_TypesEnum.PANEL)).length,pages=(0,import_react58.useMemo)(()=>[settingsPageAddon,...Object.values(api.getElements(Addon_TypesEnum.experimental_PAGE))],[Object.keys(api.getElements(Addon_TypesEnum.experimental_PAGE)).join()]),isLoading=api.getData(state.storyId,state.refId)?!!state.refs[state.refId]&&!state.refs[state.refId].previewInitialized:!state.previewInitialized,layout=(0,import_react58.useMemo)(()=>isLoading?{...state.layout,showPanel:!1}:state.layout,[isLoading,state.layout]);return import_react58.default.createElement(ThemeProvider,{key:"theme.provider",theme:ensure(state.theme)},import_react58.default.createElement(app_default,{key:"app",viewMode:state.viewMode,layout,panelCount,pages}))}))};function renderStorybookUI(domNode,provider){if(!(provider instanceof Provider))throw new ProviderDoesNotExtendBaseProviderError;import_react_dom2.default.render(import_react58.default.createElement(Root4,{key:"root",provider}),domNode)}export{dist_exports,CHANNEL_CREATED,TELEMETRY_ERROR,dist_exports2,Addon_TypesEnum,createBrowserChannel,dist_exports3,mockChannel,addons,dist_exports4,UncaughtManagerError,dist_exports5,Provider,Root4 as Root,renderStorybookUI}; diff --git a/docs/sb-manager/chunk-NBCGHFLK.js b/docs/sb-manager/chunk-NBCGHFLK.js new file mode 100644 index 0000000..abbbeeb --- /dev/null +++ b/docs/sb-manager/chunk-NBCGHFLK.js @@ -0,0 +1,136 @@ +import{_extends,_objectWithoutPropertiesLoose}from"./chunk-QPL63VNK.js";import{lightenColor,newStyled,scope}from"./chunk-SPUAGIB2.js";import{require_checkPropTypes,require_object_assign,require_react}from"./chunk-QMHPSTMR.js";import{require_memoizerific}from"./chunk-3J6GS6FI.js";import{__commonJS,__commonJS2,__toESM,__toESM2}from"./chunk-RKFFWI2D.js";var require_scheduler_development=__commonJS({"../../node_modules/scheduler/cjs/scheduler.development.js"(exports){"use strict";(function(){"use strict";var enableSchedulerDebugging=!1,enableProfiling=!0,requestHostCallback,requestHostTimeout,cancelHostTimeout,shouldYieldToHost,requestPaint;if(typeof window>"u"||typeof MessageChannel!="function"){var _callback=null,_timeoutID=null,_flushCallback=function(){if(_callback!==null)try{var currentTime=exports.unstable_now(),hasRemainingTime=!0;_callback(hasRemainingTime,currentTime),_callback=null}catch(e){throw setTimeout(_flushCallback,0),e}},initialTime=Date.now();exports.unstable_now=function(){return Date.now()-initialTime},requestHostCallback=function(cb){_callback!==null?setTimeout(requestHostCallback,0,cb):(_callback=cb,setTimeout(_flushCallback,0))},requestHostTimeout=function(cb,ms){_timeoutID=setTimeout(cb,ms)},cancelHostTimeout=function(){clearTimeout(_timeoutID)},shouldYieldToHost=function(){return!1},requestPaint=exports.unstable_forceFrameRate=function(){}}else{var performance2=window.performance,_Date=window.Date,_setTimeout=window.setTimeout,_clearTimeout=window.clearTimeout;if(typeof console<"u"){var requestAnimationFrame=window.requestAnimationFrame,cancelAnimationFrame=window.cancelAnimationFrame;typeof requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),typeof cancelAnimationFrame!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if(typeof performance2=="object"&&typeof performance2.now=="function")exports.unstable_now=function(){return performance2.now()};else{var _initialTime=_Date.now();exports.unstable_now=function(){return _Date.now()-_initialTime}}var isMessageLoopRunning=!1,scheduledHostCallback=null,taskTimeoutID=-1,yieldInterval=5,deadline=0;shouldYieldToHost=function(){return exports.unstable_now()>=deadline},requestPaint=function(){},exports.unstable_forceFrameRate=function(fps){if(fps<0||fps>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported");return}fps>0?yieldInterval=Math.floor(1e3/fps):yieldInterval=5};var performWorkUntilDeadline=function(){if(scheduledHostCallback!==null){var currentTime=exports.unstable_now();deadline=currentTime+yieldInterval;var hasTimeRemaining=!0;try{var hasMoreWork=scheduledHostCallback(hasTimeRemaining,currentTime);hasMoreWork?port.postMessage(null):(isMessageLoopRunning=!1,scheduledHostCallback=null)}catch(error){throw port.postMessage(null),error}}else isMessageLoopRunning=!1},channel=new MessageChannel,port=channel.port2;channel.port1.onmessage=performWorkUntilDeadline,requestHostCallback=function(callback){scheduledHostCallback=callback,isMessageLoopRunning||(isMessageLoopRunning=!0,port.postMessage(null))},requestHostTimeout=function(callback,ms){taskTimeoutID=_setTimeout(function(){callback(exports.unstable_now())},ms)},cancelHostTimeout=function(){_clearTimeout(taskTimeoutID),taskTimeoutID=-1}}function push(heap,node){var index=heap.length;heap.push(node),siftUp(heap,node,index)}function peek(heap){var first=heap[0];return first===void 0?null:first}function pop(heap){var first=heap[0];if(first!==void 0){var last=heap.pop();return last!==first&&(heap[0]=last,siftDown(heap,last,0)),first}else return null}function siftUp(heap,node,i){for(var index=i;;){var parentIndex=index-1>>>1,parent=heap[parentIndex];if(parent!==void 0&&compare(parent,node)>0)heap[parentIndex]=node,heap[index]=parent,index=parentIndex;else return}}function siftDown(heap,node,i){for(var index=i,length=heap.length;indexeventLogSize){if(eventLogSize*=2,eventLogSize>MAX_EVENT_LOG_SIZE){console.error("Scheduler Profiling: Event log exceeded maximum size. Don't forget to call `stopLoggingProfilingEvents()`."),stopLoggingProfilingEvents();return}var newEventLog=new Int32Array(eventLogSize*4);newEventLog.set(eventLog),eventLogBuffer=newEventLog.buffer,eventLog=newEventLog}eventLog.set(entries,offset2)}}function startLoggingProfilingEvents(){eventLogSize=INITIAL_EVENT_LOG_SIZE,eventLogBuffer=new ArrayBuffer(eventLogSize*4),eventLog=new Int32Array(eventLogBuffer),eventLogIndex=0}function stopLoggingProfilingEvents(){var buffer=eventLogBuffer;return eventLogSize=0,eventLogBuffer=null,eventLog=null,eventLogIndex=0,buffer}function markTaskStart(task,ms){profilingState[QUEUE_SIZE]++,eventLog!==null&&logEvent([TaskStartEvent,ms*1e3,task.id,task.priorityLevel])}function markTaskCompleted(task,ms){profilingState[PRIORITY]=NoPriority,profilingState[CURRENT_TASK_ID]=0,profilingState[QUEUE_SIZE]--,eventLog!==null&&logEvent([TaskCompleteEvent,ms*1e3,task.id])}function markTaskCanceled(task,ms){profilingState[QUEUE_SIZE]--,eventLog!==null&&logEvent([TaskCancelEvent,ms*1e3,task.id])}function markTaskErrored(task,ms){profilingState[PRIORITY]=NoPriority,profilingState[CURRENT_TASK_ID]=0,profilingState[QUEUE_SIZE]--,eventLog!==null&&logEvent([TaskErrorEvent,ms*1e3,task.id])}function markTaskRun(task,ms){runIdCounter++,profilingState[PRIORITY]=task.priorityLevel,profilingState[CURRENT_TASK_ID]=task.id,profilingState[CURRENT_RUN_ID]=runIdCounter,eventLog!==null&&logEvent([TaskRunEvent,ms*1e3,task.id,runIdCounter])}function markTaskYield(task,ms){profilingState[PRIORITY]=NoPriority,profilingState[CURRENT_TASK_ID]=0,profilingState[CURRENT_RUN_ID]=0,eventLog!==null&&logEvent([TaskYieldEvent,ms*1e3,task.id,runIdCounter])}function markSchedulerSuspended(ms){mainThreadIdCounter++,eventLog!==null&&logEvent([SchedulerSuspendEvent,ms*1e3,mainThreadIdCounter])}function markSchedulerUnsuspended(ms){eventLog!==null&&logEvent([SchedulerResumeEvent,ms*1e3,mainThreadIdCounter])}var maxSigned31BitInt=1073741823,IMMEDIATE_PRIORITY_TIMEOUT=-1,USER_BLOCKING_PRIORITY=250,NORMAL_PRIORITY_TIMEOUT=5e3,LOW_PRIORITY_TIMEOUT=1e4,IDLE_PRIORITY=maxSigned31BitInt,taskQueue=[],timerQueue=[],taskIdCounter=1,currentTask=null,currentPriorityLevel=NormalPriority,isPerformingWork=!1,isHostCallbackScheduled=!1,isHostTimeoutScheduled=!1;function advanceTimers(currentTime){for(var timer=peek(timerQueue);timer!==null;){if(timer.callback===null)pop(timerQueue);else if(timer.startTime<=currentTime)pop(timerQueue),timer.sortIndex=timer.expirationTime,push(taskQueue,timer),markTaskStart(timer,currentTime),timer.isQueued=!0;else return;timer=peek(timerQueue)}}function handleTimeout(currentTime){if(isHostTimeoutScheduled=!1,advanceTimers(currentTime),!isHostCallbackScheduled)if(peek(taskQueue)!==null)isHostCallbackScheduled=!0,requestHostCallback(flushWork);else{var firstTimer=peek(timerQueue);firstTimer!==null&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime)}}function flushWork(hasTimeRemaining,initialTime2){markSchedulerUnsuspended(initialTime2),isHostCallbackScheduled=!1,isHostTimeoutScheduled&&(isHostTimeoutScheduled=!1,cancelHostTimeout()),isPerformingWork=!0;var previousPriorityLevel=currentPriorityLevel;try{if(enableProfiling)try{return workLoop(hasTimeRemaining,initialTime2)}catch(error){if(currentTask!==null){var currentTime=exports.unstable_now();markTaskErrored(currentTask,currentTime),currentTask.isQueued=!1}throw error}else return workLoop(hasTimeRemaining,initialTime2)}finally{currentTask=null,currentPriorityLevel=previousPriorityLevel,isPerformingWork=!1;{var _currentTime=exports.unstable_now();markSchedulerSuspended(_currentTime)}}}function workLoop(hasTimeRemaining,initialTime2){var currentTime=initialTime2;for(advanceTimers(currentTime),currentTask=peek(taskQueue);currentTask!==null&&!enableSchedulerDebugging&&!(currentTask.expirationTime>currentTime&&(!hasTimeRemaining||shouldYieldToHost()));){var callback=currentTask.callback;if(callback!==null){currentTask.callback=null,currentPriorityLevel=currentTask.priorityLevel;var didUserCallbackTimeout=currentTask.expirationTime<=currentTime;markTaskRun(currentTask,currentTime);var continuationCallback=callback(didUserCallbackTimeout);currentTime=exports.unstable_now(),typeof continuationCallback=="function"?(currentTask.callback=continuationCallback,markTaskYield(currentTask,currentTime)):(markTaskCompleted(currentTask,currentTime),currentTask.isQueued=!1,currentTask===peek(taskQueue)&&pop(taskQueue)),advanceTimers(currentTime)}else pop(taskQueue);currentTask=peek(taskQueue)}if(currentTask!==null)return!0;var firstTimer=peek(timerQueue);return firstTimer!==null&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime),!1}function unstable_runWithPriority(priorityLevel,eventHandler){switch(priorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:case LowPriority:case IdlePriority:break;default:priorityLevel=NormalPriority}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}}function unstable_next(eventHandler){var priorityLevel;switch(currentPriorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:priorityLevel=NormalPriority;break;default:priorityLevel=currentPriorityLevel;break}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}}function unstable_wrapCallback(callback){var parentPriorityLevel=currentPriorityLevel;return function(){var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=parentPriorityLevel;try{return callback.apply(this,arguments)}finally{currentPriorityLevel=previousPriorityLevel}}}function timeoutForPriorityLevel(priorityLevel){switch(priorityLevel){case ImmediatePriority:return IMMEDIATE_PRIORITY_TIMEOUT;case UserBlockingPriority:return USER_BLOCKING_PRIORITY;case IdlePriority:return IDLE_PRIORITY;case LowPriority:return LOW_PRIORITY_TIMEOUT;case NormalPriority:default:return NORMAL_PRIORITY_TIMEOUT}}function unstable_scheduleCallback(priorityLevel,callback,options){var currentTime=exports.unstable_now(),startTime,timeout;if(typeof options=="object"&&options!==null){var delay=options.delay;typeof delay=="number"&&delay>0?startTime=currentTime+delay:startTime=currentTime,timeout=typeof options.timeout=="number"?options.timeout:timeoutForPriorityLevel(priorityLevel)}else timeout=timeoutForPriorityLevel(priorityLevel),startTime=currentTime;var expirationTime=startTime+timeout,newTask={id:taskIdCounter++,callback,priorityLevel,startTime,expirationTime,sortIndex:-1};return newTask.isQueued=!1,startTime>currentTime?(newTask.sortIndex=startTime,push(timerQueue,newTask),peek(taskQueue)===null&&newTask===peek(timerQueue)&&(isHostTimeoutScheduled?cancelHostTimeout():isHostTimeoutScheduled=!0,requestHostTimeout(handleTimeout,startTime-currentTime))):(newTask.sortIndex=expirationTime,push(taskQueue,newTask),markTaskStart(newTask,currentTime),newTask.isQueued=!0,!isHostCallbackScheduled&&!isPerformingWork&&(isHostCallbackScheduled=!0,requestHostCallback(flushWork))),newTask}function unstable_pauseExecution(){}function unstable_continueExecution(){!isHostCallbackScheduled&&!isPerformingWork&&(isHostCallbackScheduled=!0,requestHostCallback(flushWork))}function unstable_getFirstCallbackNode(){return peek(taskQueue)}function unstable_cancelCallback(task){if(task.isQueued){var currentTime=exports.unstable_now();markTaskCanceled(task,currentTime),task.isQueued=!1}task.callback=null}function unstable_getCurrentPriorityLevel(){return currentPriorityLevel}function unstable_shouldYield(){var currentTime=exports.unstable_now();advanceTimers(currentTime);var firstTask=peek(taskQueue);return firstTask!==currentTask&¤tTask!==null&&firstTask!==null&&firstTask.callback!==null&&firstTask.startTime<=currentTime&&firstTask.expirationTime3&&arguments[3]!==void 0?arguments[3]:DEFAULT_THREAD_ID,interaction={__count:1,id:interactionIDCounter++,name,timestamp},prevInteractions=exports.__interactionsRef.current,interactions=new Set(prevInteractions);interactions.add(interaction),exports.__interactionsRef.current=interactions;var subscriber=exports.__subscriberRef.current,returnValue;try{subscriber!==null&&subscriber.onInteractionTraced(interaction)}finally{try{subscriber!==null&&subscriber.onWorkStarted(interactions,threadID)}finally{try{returnValue=callback()}finally{exports.__interactionsRef.current=prevInteractions;try{subscriber!==null&&subscriber.onWorkStopped(interactions,threadID)}finally{interaction.__count--,subscriber!==null&&interaction.__count===0&&subscriber.onInteractionScheduledWorkCompleted(interaction)}}}}return returnValue}function unstable_wrap(callback){var threadID=arguments.length>1&&arguments[1]!==void 0?arguments[1]:DEFAULT_THREAD_ID,wrappedInteractions=exports.__interactionsRef.current,subscriber=exports.__subscriberRef.current;subscriber!==null&&subscriber.onWorkScheduled(wrappedInteractions,threadID),wrappedInteractions.forEach(function(interaction){interaction.__count++});var hasRun=!1;function wrapped(){var prevInteractions=exports.__interactionsRef.current;exports.__interactionsRef.current=wrappedInteractions,subscriber=exports.__subscriberRef.current;try{var returnValue;try{subscriber!==null&&subscriber.onWorkStarted(wrappedInteractions,threadID)}finally{try{returnValue=callback.apply(void 0,arguments)}finally{exports.__interactionsRef.current=prevInteractions,subscriber!==null&&subscriber.onWorkStopped(wrappedInteractions,threadID)}}return returnValue}finally{hasRun||(hasRun=!0,wrappedInteractions.forEach(function(interaction){interaction.__count--,subscriber!==null&&interaction.__count===0&&subscriber.onInteractionScheduledWorkCompleted(interaction)}))}}return wrapped.cancel=function(){subscriber=exports.__subscriberRef.current;try{subscriber!==null&&subscriber.onWorkCanceled(wrappedInteractions,threadID)}finally{wrappedInteractions.forEach(function(interaction){interaction.__count--,subscriber&&interaction.__count===0&&subscriber.onInteractionScheduledWorkCompleted(interaction)})}},wrapped}var subscribers=null;subscribers=new Set;function unstable_subscribe(subscriber){subscribers.add(subscriber),subscribers.size===1&&(exports.__subscriberRef.current={onInteractionScheduledWorkCompleted,onInteractionTraced,onWorkCanceled,onWorkScheduled,onWorkStarted,onWorkStopped})}function unstable_unsubscribe(subscriber){subscribers.delete(subscriber),subscribers.size===0&&(exports.__subscriberRef.current=null)}function onInteractionTraced(interaction){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onInteractionTraced(interaction)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onInteractionScheduledWorkCompleted(interaction){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onInteractionScheduledWorkCompleted(interaction)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkScheduled(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkScheduled(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkStarted(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkStarted(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkStopped(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkStopped(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}function onWorkCanceled(interactions,threadID){var didCatchError=!1,caughtError=null;if(subscribers.forEach(function(subscriber){try{subscriber.onWorkCanceled(interactions,threadID)}catch(error){didCatchError||(didCatchError=!0,caughtError=error)}}),didCatchError)throw caughtError}exports.unstable_clear=unstable_clear,exports.unstable_getCurrent=unstable_getCurrent,exports.unstable_getThreadID=unstable_getThreadID,exports.unstable_subscribe=unstable_subscribe,exports.unstable_trace=unstable_trace,exports.unstable_unsubscribe=unstable_unsubscribe,exports.unstable_wrap=unstable_wrap})()}});var require_tracing=__commonJS({"../../node_modules/scheduler/tracing.js"(exports,module){"use strict";module.exports=require_scheduler_tracing_development()}});var require_react_dom_development=__commonJS({"../../node_modules/react-dom/cjs/react-dom.development.js"(exports){"use strict";(function(){"use strict";var React=require_react(),_assign=require_object_assign(),Scheduler=require_scheduler(),checkPropTypes=require_checkPropTypes(),tracing=require_tracing(),ReactSharedInternals=React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ReactSharedInternals.hasOwnProperty("ReactCurrentDispatcher")||(ReactSharedInternals.ReactCurrentDispatcher={current:null}),ReactSharedInternals.hasOwnProperty("ReactCurrentBatchConfig")||(ReactSharedInternals.ReactCurrentBatchConfig={suspense:null});function warn(format){{for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];printWarning("warn",format,args)}}function error(format){{for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];printWarning("error",format,args)}}function printWarning(level,format,args){{var hasExistingStack=args.length>0&&typeof args[args.length-1]=="string"&&args[args.length-1].indexOf(` + in`)===0;if(!hasExistingStack){var ReactDebugCurrentFrame2=ReactSharedInternals.ReactDebugCurrentFrame,stack=ReactDebugCurrentFrame2.getStackAddendum();stack!==""&&(format+="%s",args=args.concat([stack]))}var argsWithFormat=args.map(function(item){return""+item});argsWithFormat.unshift("Warning: "+format),Function.prototype.apply.call(console[level],console,argsWithFormat);try{var argIndex=0,message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});throw new Error(message)}catch{}}}if(!React)throw Error("ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var invokeGuardedCallbackImpl=function(name,func,context,a,b,c,d,e,f){var funcArgs=Array.prototype.slice.call(arguments,3);try{func.apply(context,funcArgs)}catch(error2){this.onError(error2)}};if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var fakeNode=document.createElement("react"),invokeGuardedCallbackDev=function(name,func,context,a,b,c,d,e,f){if(!(typeof document<"u"))throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var evt=document.createEvent("Event"),didError=!0,windowEvent=window.event,windowEventDescriptor=Object.getOwnPropertyDescriptor(window,"event"),funcArgs=Array.prototype.slice.call(arguments,3);function callCallback2(){fakeNode.removeEventListener(evtType,callCallback2,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=windowEvent),func.apply(context,funcArgs),didError=!1}var error2,didSetError=!1,isCrossOriginError=!1;function handleWindowError(event){if(error2=event.error,didSetError=!0,error2===null&&event.colno===0&&event.lineno===0&&(isCrossOriginError=!0),event.defaultPrevented&&error2!=null&&typeof error2=="object")try{error2._suppressLogging=!0}catch{}}var evtType="react-"+(name||"invokeguardedcallback");window.addEventListener("error",handleWindowError),fakeNode.addEventListener(evtType,callCallback2,!1),evt.initEvent(evtType,!1,!1),fakeNode.dispatchEvent(evt),windowEventDescriptor&&Object.defineProperty(window,"event",windowEventDescriptor),didError&&(didSetError?isCrossOriginError&&(error2=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.")):error2=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(error2)),window.removeEventListener("error",handleWindowError)};invokeGuardedCallbackImpl=invokeGuardedCallbackDev}var invokeGuardedCallbackImpl$1=invokeGuardedCallbackImpl,hasError=!1,caughtError=null,hasRethrowError=!1,rethrowError=null,reporter={onError:function(error2){hasError=!0,caughtError=error2}};function invokeGuardedCallback(name,func,context,a,b,c,d,e,f){hasError=!1,caughtError=null,invokeGuardedCallbackImpl$1.apply(reporter,arguments)}function invokeGuardedCallbackAndCatchFirstError(name,func,context,a,b,c,d,e,f){if(invokeGuardedCallback.apply(this,arguments),hasError){var error2=clearCaughtError();hasRethrowError||(hasRethrowError=!0,rethrowError=error2)}}function rethrowCaughtError(){if(hasRethrowError){var error2=rethrowError;throw hasRethrowError=!1,rethrowError=null,error2}}function hasCaughtError(){return hasError}function clearCaughtError(){if(hasError){var error2=caughtError;return hasError=!1,caughtError=null,error2}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}var getFiberCurrentPropsFromNode=null,getInstanceFromNode=null,getNodeFromInstance=null;function setComponentTree(getFiberCurrentPropsFromNodeImpl,getInstanceFromNodeImpl,getNodeFromInstanceImpl){getFiberCurrentPropsFromNode=getFiberCurrentPropsFromNodeImpl,getInstanceFromNode=getInstanceFromNodeImpl,getNodeFromInstance=getNodeFromInstanceImpl,(!getNodeFromInstance||!getInstanceFromNode)&&error("EventPluginUtils.setComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode.")}var validateEventDispatches;validateEventDispatches=function(event){var dispatchListeners=event._dispatchListeners,dispatchInstances=event._dispatchInstances,listenersIsArr=Array.isArray(dispatchListeners),listenersLen=listenersIsArr?dispatchListeners.length:dispatchListeners?1:0,instancesIsArr=Array.isArray(dispatchInstances),instancesLen=instancesIsArr?dispatchInstances.length:dispatchInstances?1:0;(instancesIsArr!==listenersIsArr||instancesLen!==listenersLen)&&error("EventPluginUtils: Invalid `event`.")};function executeDispatch(event,listener,inst){var type=event.type||"unknown-event";event.currentTarget=getNodeFromInstance(inst),invokeGuardedCallbackAndCatchFirstError(type,listener,void 0,event),event.currentTarget=null}function executeDispatchesInOrder(event){var dispatchListeners=event._dispatchListeners,dispatchInstances=event._dispatchInstances;if(validateEventDispatches(event),Array.isArray(dispatchListeners))for(var i=0;i-1))throw Error("EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `"+pluginName+"`.");if(!plugins[pluginIndex]){if(!pluginModule.extractEvents)throw Error("EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `"+pluginName+"` does not.");plugins[pluginIndex]=pluginModule;var publishedEvents=pluginModule.eventTypes;for(var eventName in publishedEvents)if(!publishEventForPlugin(publishedEvents[eventName],pluginModule,eventName))throw Error("EventPluginRegistry: Failed to publish event `"+eventName+"` for plugin `"+pluginName+"`.")}}}function publishEventForPlugin(dispatchConfig,pluginModule,eventName){if(eventNameDispatchConfigs.hasOwnProperty(eventName))throw Error("EventPluginRegistry: More than one plugin attempted to publish the same event name, `"+eventName+"`.");eventNameDispatchConfigs[eventName]=dispatchConfig;var phasedRegistrationNames=dispatchConfig.phasedRegistrationNames;if(phasedRegistrationNames){for(var phaseName in phasedRegistrationNames)if(phasedRegistrationNames.hasOwnProperty(phaseName)){var phasedRegistrationName=phasedRegistrationNames[phaseName];publishRegistrationName(phasedRegistrationName,pluginModule,eventName)}return!0}else if(dispatchConfig.registrationName)return publishRegistrationName(dispatchConfig.registrationName,pluginModule,eventName),!0;return!1}function publishRegistrationName(registrationName,pluginModule,eventName){if(registrationNameModules[registrationName])throw Error("EventPluginRegistry: More than one plugin attempted to publish the same registration name, `"+registrationName+"`.");registrationNameModules[registrationName]=pluginModule,registrationNameDependencies[registrationName]=pluginModule.eventTypes[eventName].dependencies;{var lowerCasedName=registrationName.toLowerCase();possibleRegistrationNames[lowerCasedName]=registrationName,registrationName==="onDoubleClick"&&(possibleRegistrationNames.ondblclick=registrationName)}}var plugins=[],eventNameDispatchConfigs={},registrationNameModules={},registrationNameDependencies={},possibleRegistrationNames={};function injectEventPluginOrder(injectedEventPluginOrder){if(eventPluginOrder)throw Error("EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.");eventPluginOrder=Array.prototype.slice.call(injectedEventPluginOrder),recomputePluginOrdering()}function injectEventPluginsByName(injectedNamesToPlugins){var isOrderingDirty=!1;for(var pluginName in injectedNamesToPlugins)if(injectedNamesToPlugins.hasOwnProperty(pluginName)){var pluginModule=injectedNamesToPlugins[pluginName];if(!namesToPlugins.hasOwnProperty(pluginName)||namesToPlugins[pluginName]!==pluginModule){if(namesToPlugins[pluginName])throw Error("EventPluginRegistry: Cannot inject two different event plugins using the same name, `"+pluginName+"`.");namesToPlugins[pluginName]=pluginModule,isOrderingDirty=!0}}isOrderingDirty&&recomputePluginOrdering()}var canUseDOM=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",PLUGIN_EVENT_SYSTEM=1,IS_REPLAYED=32,IS_FIRST_ANCESTOR=64,restoreImpl=null,restoreTarget=null,restoreQueue=null;function restoreStateOfTarget(target){var internalInstance=getInstanceFromNode(target);if(internalInstance){if(typeof restoreImpl!="function")throw Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var stateNode=internalInstance.stateNode;if(stateNode){var _props=getFiberCurrentPropsFromNode(stateNode);restoreImpl(internalInstance.stateNode,internalInstance.type,_props)}}}function setRestoreImplementation(impl){restoreImpl=impl}function enqueueStateRestore(target){restoreTarget?restoreQueue?restoreQueue.push(target):restoreQueue=[target]:restoreTarget=target}function needsStateRestore(){return restoreTarget!==null||restoreQueue!==null}function restoreStateIfNeeded(){if(restoreTarget){var target=restoreTarget,queuedTargets=restoreQueue;if(restoreTarget=null,restoreQueue=null,restoreStateOfTarget(target),queuedTargets)for(var i=0;i2&&(name[0]==="o"||name[0]==="O")&&(name[1]==="n"||name[1]==="N")}function shouldRemoveAttributeWithWarning(name,value,propertyInfo,isCustomComponentTag){if(propertyInfo!==null&&propertyInfo.type===RESERVED)return!1;switch(typeof value){case"function":case"symbol":return!0;case"boolean":{if(isCustomComponentTag)return!1;if(propertyInfo!==null)return!propertyInfo.acceptsBooleans;var prefix=name.toLowerCase().slice(0,5);return prefix!=="data-"&&prefix!=="aria-"}default:return!1}}function shouldRemoveAttribute(name,value,propertyInfo,isCustomComponentTag){if(value===null||typeof value>"u"||shouldRemoveAttributeWithWarning(name,value,propertyInfo,isCustomComponentTag))return!0;if(isCustomComponentTag)return!1;if(propertyInfo!==null)switch(propertyInfo.type){case BOOLEAN:return!value;case OVERLOADED_BOOLEAN:return value===!1;case NUMERIC:return isNaN(value);case POSITIVE_NUMERIC:return isNaN(value)||value<1}return!1}function getPropertyInfo(name){return properties.hasOwnProperty(name)?properties[name]:null}function PropertyInfoRecord(name,type,mustUseProperty,attributeName,attributeNamespace,sanitizeURL2){this.acceptsBooleans=type===BOOLEANISH_STRING||type===BOOLEAN||type===OVERLOADED_BOOLEAN,this.attributeName=attributeName,this.attributeNamespace=attributeNamespace,this.mustUseProperty=mustUseProperty,this.propertyName=name,this.type=type,this.sanitizeURL=sanitizeURL2}var properties={},reservedProps=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];reservedProps.forEach(function(name){properties[name]=new PropertyInfoRecord(name,RESERVED,!1,name,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(_ref){var name=_ref[0],attributeName=_ref[1];properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEANISH_STRING,!1,name.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEANISH_STRING,!1,name,null,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEAN,!1,name.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEAN,!0,name,null,!1)}),["capture","download"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,OVERLOADED_BOOLEAN,!1,name,null,!1)}),["cols","rows","size","span"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,POSITIVE_NUMERIC,!1,name,null,!1)}),["rowSpan","start"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,NUMERIC,!1,name.toLowerCase(),null,!1)});var CAMELIZE=/[\-\:]([a-z])/g,capitalize=function(token){return token[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,null,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(attributeName){properties[attributeName]=new PropertyInfoRecord(attributeName,STRING,!1,attributeName.toLowerCase(),null,!1)});var xlinkHref="xlinkHref";properties[xlinkHref]=new PropertyInfoRecord("xlinkHref",STRING,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(attributeName){properties[attributeName]=new PropertyInfoRecord(attributeName,STRING,!1,attributeName.toLowerCase(),null,!0)});var ReactDebugCurrentFrame=null;ReactDebugCurrentFrame=ReactSharedInternals.ReactDebugCurrentFrame;var isJavaScriptProtocol=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,didWarn=!1;function sanitizeURL(url){!didWarn&&isJavaScriptProtocol.test(url)&&(didWarn=!0,error("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(url)))}function getValueForProperty(node,name,expected,propertyInfo){if(propertyInfo.mustUseProperty){var propertyName=propertyInfo.propertyName;return node[propertyName]}else{propertyInfo.sanitizeURL&&sanitizeURL(""+expected);var attributeName=propertyInfo.attributeName,stringValue=null;if(propertyInfo.type===OVERLOADED_BOOLEAN){if(node.hasAttribute(attributeName)){var value=node.getAttribute(attributeName);return value===""?!0:shouldRemoveAttribute(name,expected,propertyInfo,!1)?value:value===""+expected?expected:value}}else if(node.hasAttribute(attributeName)){if(shouldRemoveAttribute(name,expected,propertyInfo,!1))return node.getAttribute(attributeName);if(propertyInfo.type===BOOLEAN)return expected;stringValue=node.getAttribute(attributeName)}return shouldRemoveAttribute(name,expected,propertyInfo,!1)?stringValue===null?expected:stringValue:stringValue===""+expected?expected:stringValue}}function getValueForAttribute(node,name,expected){{if(!isAttributeNameSafe(name))return;if(!node.hasAttribute(name))return expected===void 0?void 0:null;var value=node.getAttribute(name);return value===""+expected?expected:value}}function setValueForProperty(node,name,value,isCustomComponentTag){var propertyInfo=getPropertyInfo(name);if(!shouldIgnoreAttribute(name,propertyInfo,isCustomComponentTag)){if(shouldRemoveAttribute(name,value,propertyInfo,isCustomComponentTag)&&(value=null),isCustomComponentTag||propertyInfo===null){if(isAttributeNameSafe(name)){var _attributeName=name;value===null?node.removeAttribute(_attributeName):node.setAttribute(_attributeName,""+value)}return}var mustUseProperty=propertyInfo.mustUseProperty;if(mustUseProperty){var propertyName=propertyInfo.propertyName;if(value===null){var type=propertyInfo.type;node[propertyName]=type===BOOLEAN?!1:""}else node[propertyName]=value;return}var attributeName=propertyInfo.attributeName,attributeNamespace=propertyInfo.attributeNamespace;if(value===null)node.removeAttribute(attributeName);else{var _type=propertyInfo.type,attributeValue;_type===BOOLEAN||_type===OVERLOADED_BOOLEAN&&value===!0?attributeValue="":(attributeValue=""+value,propertyInfo.sanitizeURL&&sanitizeURL(attributeValue.toString())),attributeNamespace?node.setAttributeNS(attributeNamespace,attributeName,attributeValue):node.setAttribute(attributeName,attributeValue)}}}var BEFORE_SLASH_RE=/^(.*)[\\\/]/;function describeComponentFrame(name,source,ownerName){var sourceInfo="";if(source){var path=source.fileName,fileName=path.replace(BEFORE_SLASH_RE,"");if(/^index\./.test(fileName)){var match2=path.match(BEFORE_SLASH_RE);if(match2){var pathBeforeSlash=match2[1];if(pathBeforeSlash){var folderName=pathBeforeSlash.replace(BEFORE_SLASH_RE,"");fileName=folderName+"/"+fileName}}}sourceInfo=" (at "+fileName+":"+source.lineNumber+")"}else ownerName&&(sourceInfo=" (created by "+ownerName+")");return` + in `+(name||"Unknown")+sourceInfo}var hasSymbol=typeof Symbol=="function"&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,REACT_STRICT_MODE_TYPE=hasSymbol?Symbol.for("react.strict_mode"):60108,REACT_PROFILER_TYPE=hasSymbol?Symbol.for("react.profiler"):60114,REACT_PROVIDER_TYPE=hasSymbol?Symbol.for("react.provider"):60109,REACT_CONTEXT_TYPE=hasSymbol?Symbol.for("react.context"):60110,REACT_CONCURRENT_MODE_TYPE=hasSymbol?Symbol.for("react.concurrent_mode"):60111,REACT_FORWARD_REF_TYPE=hasSymbol?Symbol.for("react.forward_ref"):60112,REACT_SUSPENSE_TYPE=hasSymbol?Symbol.for("react.suspense"):60113,REACT_SUSPENSE_LIST_TYPE=hasSymbol?Symbol.for("react.suspense_list"):60120,REACT_MEMO_TYPE=hasSymbol?Symbol.for("react.memo"):60115,REACT_LAZY_TYPE=hasSymbol?Symbol.for("react.lazy"):60116,REACT_BLOCK_TYPE=hasSymbol?Symbol.for("react.block"):60121,MAYBE_ITERATOR_SYMBOL=typeof Symbol=="function"&&Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(maybeIterable===null||typeof maybeIterable!="object")return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL];return typeof maybeIterator=="function"?maybeIterator:null}var Uninitialized=-1,Pending=0,Resolved=1,Rejected=2;function refineResolvedLazyComponent(lazyComponent){return lazyComponent._status===Resolved?lazyComponent._result:null}function initializeLazyComponentType(lazyComponent){if(lazyComponent._status===Uninitialized){lazyComponent._status=Pending;var ctor=lazyComponent._ctor,thenable=ctor();lazyComponent._result=thenable,thenable.then(function(moduleObject){if(lazyComponent._status===Pending){var defaultExport=moduleObject.default;defaultExport===void 0&&error(`lazy: Expected the result of a dynamic import() call. Instead received: %s + +Your code should look like: + const MyComponent = lazy(() => import('./MyComponent'))`,moduleObject),lazyComponent._status=Resolved,lazyComponent._result=defaultExport}},function(error2){lazyComponent._status===Pending&&(lazyComponent._status=Rejected,lazyComponent._result=error2)})}}function getWrappedName(outerType,innerType,wrapperName){var functionName=innerType.displayName||innerType.name||"";return outerType.displayName||(functionName!==""?wrapperName+"("+functionName+")":wrapperName)}function getComponentName(type){if(type==null)return null;if(typeof type.tag=="number"&&error("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof type=="function")return type.displayName||type.name||null;if(typeof type=="string")return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PORTAL_TYPE:return"Portal";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList"}if(typeof type=="object")switch(type.$$typeof){case REACT_CONTEXT_TYPE:return"Context.Consumer";case REACT_PROVIDER_TYPE:return"Context.Provider";case REACT_FORWARD_REF_TYPE:return getWrappedName(type,type.render,"ForwardRef");case REACT_MEMO_TYPE:return getComponentName(type.type);case REACT_BLOCK_TYPE:return getComponentName(type.render);case REACT_LAZY_TYPE:{var thenable=type,resolvedThenable=refineResolvedLazyComponent(thenable);if(resolvedThenable)return getComponentName(resolvedThenable);break}}return null}var ReactDebugCurrentFrame$1=ReactSharedInternals.ReactDebugCurrentFrame;function describeFiber(fiber){switch(fiber.tag){case HostRoot:case HostPortal:case HostText:case Fragment:case ContextProvider:case ContextConsumer:return"";default:var owner=fiber._debugOwner,source=fiber._debugSource,name=getComponentName(fiber.type),ownerName=null;return owner&&(ownerName=getComponentName(owner.type)),describeComponentFrame(name,source,ownerName)}}function getStackByFiberInDevAndProd(workInProgress2){var info="",node=workInProgress2;do info+=describeFiber(node),node=node.return;while(node);return info}var current=null,isRendering=!1;function getCurrentFiberOwnerNameInDevOrNull(){{if(current===null)return null;var owner=current._debugOwner;if(owner!==null&&typeof owner<"u")return getComponentName(owner.type)}return null}function getCurrentFiberStackInDev(){return current===null?"":getStackByFiberInDevAndProd(current)}function resetCurrentFiber(){ReactDebugCurrentFrame$1.getCurrentStack=null,current=null,isRendering=!1}function setCurrentFiber(fiber){ReactDebugCurrentFrame$1.getCurrentStack=getCurrentFiberStackInDev,current=fiber,isRendering=!1}function setIsRendering(rendering){isRendering=rendering}function toString(value){return""+value}function getToStringValue(value){switch(typeof value){case"boolean":case"number":case"object":case"string":case"undefined":return value;default:return""}}var ReactDebugCurrentFrame$2=null,ReactControlledValuePropTypes={checkPropTypes:null};{ReactDebugCurrentFrame$2=ReactSharedInternals.ReactDebugCurrentFrame;var hasReadOnlyValue={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},propTypes={value:function(props,propName,componentName){return hasReadOnlyValue[props.type]||props.onChange||props.readOnly||props.disabled||props[propName]==null||enableDeprecatedFlareAPI?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(props,propName,componentName){return props.onChange||props.readOnly||props.disabled||props[propName]==null||enableDeprecatedFlareAPI?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};ReactControlledValuePropTypes.checkPropTypes=function(tagName,props){checkPropTypes(propTypes,props,"prop",tagName,ReactDebugCurrentFrame$2.getStackAddendum)}}function isCheckable(elem){var type=elem.type,nodeName=elem.nodeName;return nodeName&&nodeName.toLowerCase()==="input"&&(type==="checkbox"||type==="radio")}function getTracker(node){return node._valueTracker}function detachTracker(node){node._valueTracker=null}function getValueFromNode(node){var value="";return node&&(isCheckable(node)?value=node.checked?"true":"false":value=node.value),value}function trackValueOnNode(node){var valueField=isCheckable(node)?"checked":"value",descriptor=Object.getOwnPropertyDescriptor(node.constructor.prototype,valueField),currentValue=""+node[valueField];if(!(node.hasOwnProperty(valueField)||typeof descriptor>"u"||typeof descriptor.get!="function"||typeof descriptor.set!="function")){var get2=descriptor.get,set2=descriptor.set;Object.defineProperty(node,valueField,{configurable:!0,get:function(){return get2.call(this)},set:function(value){currentValue=""+value,set2.call(this,value)}}),Object.defineProperty(node,valueField,{enumerable:descriptor.enumerable});var tracker={getValue:function(){return currentValue},setValue:function(value){currentValue=""+value},stopTracking:function(){detachTracker(node),delete node[valueField]}};return tracker}}function track(node){getTracker(node)||(node._valueTracker=trackValueOnNode(node))}function updateValueIfChanged(node){if(!node)return!1;var tracker=getTracker(node);if(!tracker)return!0;var lastValue=tracker.getValue(),nextValue=getValueFromNode(node);return nextValue!==lastValue?(tracker.setValue(nextValue),!0):!1}var didWarnValueDefaultValue=!1,didWarnCheckedDefaultChecked=!1,didWarnControlledToUncontrolled=!1,didWarnUncontrolledToControlled=!1;function isControlled(props){var usesChecked=props.type==="checkbox"||props.type==="radio";return usesChecked?props.checked!=null:props.value!=null}function getHostProps(element,props){var node=element,checked=props.checked,hostProps=_assign({},props,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:checked??node._wrapperState.initialChecked});return hostProps}function initWrapperState(element,props){ReactControlledValuePropTypes.checkPropTypes("input",props),props.checked!==void 0&&props.defaultChecked!==void 0&&!didWarnCheckedDefaultChecked&&(error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component",props.type),didWarnCheckedDefaultChecked=!0),props.value!==void 0&&props.defaultValue!==void 0&&!didWarnValueDefaultValue&&(error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component",props.type),didWarnValueDefaultValue=!0);var node=element,defaultValue=props.defaultValue==null?"":props.defaultValue;node._wrapperState={initialChecked:props.checked!=null?props.checked:props.defaultChecked,initialValue:getToStringValue(props.value!=null?props.value:defaultValue),controlled:isControlled(props)}}function updateChecked(element,props){var node=element,checked=props.checked;checked!=null&&setValueForProperty(node,"checked",checked,!1)}function updateWrapper(element,props){var node=element;{var controlled=isControlled(props);!node._wrapperState.controlled&&controlled&&!didWarnUncontrolledToControlled&&(error("A component is changing an uncontrolled input of type %s to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",props.type),didWarnUncontrolledToControlled=!0),node._wrapperState.controlled&&!controlled&&!didWarnControlledToUncontrolled&&(error("A component is changing a controlled input of type %s to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components",props.type),didWarnControlledToUncontrolled=!0)}updateChecked(element,props);var value=getToStringValue(props.value),type=props.type;if(value!=null)type==="number"?(value===0&&node.value===""||node.value!=value)&&(node.value=toString(value)):node.value!==toString(value)&&(node.value=toString(value));else if(type==="submit"||type==="reset"){node.removeAttribute("value");return}props.hasOwnProperty("value")?setDefaultValue(node,props.type,value):props.hasOwnProperty("defaultValue")&&setDefaultValue(node,props.type,getToStringValue(props.defaultValue)),props.checked==null&&props.defaultChecked!=null&&(node.defaultChecked=!!props.defaultChecked)}function postMountWrapper(element,props,isHydrating2){var node=element;if(props.hasOwnProperty("value")||props.hasOwnProperty("defaultValue")){var type=props.type,isButton=type==="submit"||type==="reset";if(isButton&&(props.value===void 0||props.value===null))return;var initialValue=toString(node._wrapperState.initialValue);isHydrating2||initialValue!==node.value&&(node.value=initialValue),node.defaultValue=initialValue}var name=node.name;name!==""&&(node.name=""),node.defaultChecked=!node.defaultChecked,node.defaultChecked=!!node._wrapperState.initialChecked,name!==""&&(node.name=name)}function restoreControlledState(element,props){var node=element;updateWrapper(node,props),updateNamedCousins(node,props)}function updateNamedCousins(rootNode,props){var name=props.name;if(props.type==="radio"&&name!=null){for(var queryRoot=rootNode;queryRoot.parentNode;)queryRoot=queryRoot.parentNode;for(var group=queryRoot.querySelectorAll("input[name="+JSON.stringify(""+name)+'][type="radio"]'),i=0;i children."))))}),props.selected!=null&&!didWarnSelectedSetOnOption&&(error("Use the `defaultValue` or `value` props on must be a scalar value if `multiple` is false.%s",propName,getDeclarationErrorAddendum())}}}}function updateOptions(node,multiple,propValue,setDefaultSelected){var options=node.options;if(multiple){for(var selectedValues=propValue,selectedValue={},i=0;i.");var hostProps=_assign({},props,{value:void 0,defaultValue:void 0,children:toString(node._wrapperState.initialValue)});return hostProps}function initWrapperState$2(element,props){var node=element;ReactControlledValuePropTypes.checkPropTypes("textarea",props),props.value!==void 0&&props.defaultValue!==void 0&&!didWarnValDefaultVal&&(error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component"),didWarnValDefaultVal=!0);var initialValue=props.value;if(initialValue==null){var children=props.children,defaultValue=props.defaultValue;if(children!=null){error("Use the `defaultValue` or `value` props instead of setting children on