/*! For license information please see chunk.558.2fc8f598086efa10750c.js.LICENSE.txt */
(globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]).push([[558],{38200:(e,t,r)=>{"use strict"
function n(e){return e?.__esModule?e:{default:e,...e}}r.d(t,{Z:()=>n})},41507:(e,t,r)=>{"use strict"
function n(e,t,r,n,i){var s={}
return Object.keys(n).forEach((function(e){s[e]=n[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}function i(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r
throw new TypeError("Private element is not present on this object")}function s(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function o(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}r.d(t,{_:()=>n,a:()=>o,b:()=>a,c:()=>s,d:()=>i})},20630:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>c})
var n=r(17990),i=r.n(n),s=r(3353),o=r(84363),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"Hqo3HdLc",block:'[[[1,"\\n"],[11,0],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n  "],[18,3,[[28,[37,1],null,[["Item"],[[50,"hds/accordion/item",0,null,[["size","type","forceState"],[[30,0,["size"]],[30,0,["type"]],[30,2]]]]]]]]],[1,"\\n"],[13]],["&attrs","@forceState","&default"],false,["yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/accordion/index.js",isStrictMode:!1})
class c extends(i()){get size(){const{size:e=o.DEFAULT_SIZE}=this.args
return(0,s.assert)(`@size for "Hds::Accordion" must be one of the following: ${o.SIZES.join(", ")}; received: ${e}`,o.SIZES.includes(e)),e}get type(){const{type:e=o.DEFAULT_TYPE}=this.args
return(0,s.assert)(`@type for "Hds::Accordion" must be one of the following: ${o.TYPES.join(", ")}; received: ${e}`,o.TYPES.includes(e)),e}get classNames(){const e=["hds-accordion"]
return e.push(`hds-accordion--size-${this.size}`),e.push(`hds-accordion--type-${this.type}`),e.join(" ")}}(0,a.setComponentTemplate)(l,c)},65844:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>u})
var n,i=r(41507),s=r(17990),o=r.n(s),a=r(37219),l=r(23574),c=(0,r(59266).createTemplateFactory)({id:"q/DKrNmH",block:'[[[1,"\\n"],[11,"button"],[16,0,[30,0,["classNames"]]],[24,4,"button"],[16,"aria-controls",[30,1]],[16,"aria-expanded",[52,[30,2],"true","false"]],[16,"aria-label",[30,3]],[17,4],[4,[38,1],["click",[30,0,["onClick"]]],null],[12],[1,"\\n  "],[8,[39,2],null,[["@name","@size","@isInlineBlock"],["chevron-down",[52,[28,[37,3],[[30,5],"large"],null],"24","16"],false]],null],[1,"\\n"],[13]],["@contentId","@isOpen","@ariaLabel","&attrs","@size"],false,["if","on","flight-icon","eq"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/accordion/item/button.js",isStrictMode:!1})
let u=(n=class extends(o()){onClick(e){this.args.onClickToggle&&this.args.onClickToggle(e)}get classNames(){const e=["hds-accordion-item__button"]
return this.args.isOpen&&e.push("hds-accordion-item__button--is-open"),this.args.size&&e.push(`hds-accordion-item__button--size-${this.args.size}`),!1===this.args.parentContainsInteractive?e.push("hds-accordion-item__button--parent-does-not-contain-interactive"):e.push("hds-accordion-item__button--parent-contains-interactive"),e.join(" ")}},(0,i._)(n.prototype,"onClick",[a.action],Object.getOwnPropertyDescriptor(n.prototype,"onClick"),n.prototype),n);(0,l.setComponentTemplate)(c,u)},84363:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_SIZE:()=>p,DEFAULT_TYPE:()=>m,SIZES:()=>d,TYPES:()=>f,default:()=>y})
var n=r(41507),i=r(17990),s=r.n(i),o=r(3353),a=r(29806)
let l=function(e){return e.Card="card",e.Flush="flush",e}({}),c=function(e){return e.Small="small",e.Medium="medium",e.Large="large",e}({})
var u=r(23574),h=(0,r(59266).createTemplateFactory)({id:"aikdBofX",block:'[[[1,"\\n"],[8,[39,0],[[16,0,[30,0,["classNames"]]],[17,1]],[["@isOpen","@onClickToggle"],[[28,[37,1],[[30,2],[28,[37,2],[[30,3],"open"],null]],null],[30,4]]],[["toggle","content"],[[[[1,"\\n    "],[10,0],[14,0,"hds-accordion-item__toggle"],[12],[1,"\\n      "],[8,[39,3],null,[["@isOpen","@onClickToggle","@contentId","@ariaLabel","@size","@parentContainsInteractive"],[[30,5,["isOpen"]],[30,5,["onClickToggle"]],[30,0,["contentId"]],[30,0,["ariaLabel"]],[30,0,["size"]],[30,0,["containsInteractive"]]]],null],[1,"\\n\\n      "],[8,[39,4],[[24,0,"hds-accordion-item__toggle-content"]],[["@tag","@size","@weight","@color"],["div",[30,0,["toggleTextSize"]],"semibold","strong"]],[["default"],[[[[1,"\\n        "],[18,7,null],[1,"\\n      "]],[]]]]],[1,"\\n    "],[13],[1,"\\n  "]],[5]],[[[1,"\\n    "],[8,[39,4],[[24,0,"hds-accordion-item__content"],[16,1,[30,0,["contentId"]]]],[["@tag","@size","@weight","@color"],["div","200","regular","primary"]],[["default"],[[[[1,"\\n      "],[18,8,[[28,[37,6],null,[["close"],[[30,6,["close"]]]]]]],[1,"\\n    "]],[]]]]],[1,"\\n  "]],[6]]]]]],["&attrs","@isOpen","@forceState","@onClickToggle","t","c","&toggle","&content"],false,["hds/disclosure-primitive","or","eq","hds/accordion/item/button","hds/text/body","yield","hash"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/accordion/item/index.js",isStrictMode:!1})
const d=Object.values(c),p=c.Medium,f=Object.values(l),m=l.Card,g={small:100,medium:200,large:300}
class y extends(s()){constructor(...e){super(...e),(0,n.a)(this,"contentId","content-"+(0,a.guidFor)(this))}get ariaLabel(){return this.args.ariaLabel??"Toggle display"}get containsInteractive(){return this.args.containsInteractive??!1}get toggleTextSize(){const e=this.args.size??p
return g[e]}get size(){const{size:e=p}=this.args
return(0,o.assert)(`@size for "Hds::Accordion::Item" must be one of the following: ${d.join(", ")}; received: ${e}`,d.includes(e)),e}get type(){const{type:e=m}=this.args
return(0,o.assert)(`@type for "Hds::Accordion::Item" must be one of the following: ${f.join(", ")}; received: ${e}`,f.includes(e)),e}get classNames(){const e=["hds-accordion-item"]
return this.args.isOpen&&e.push("hds-accordion-item--is-open"),this.args.isStatic&&e.push("hds-accordion-item--is-static"),e.push(`hds-accordion-item--size-${this.size}`),e.push(`hds-accordion-item--type-${this.type}`),this.containsInteractive?e.push("hds-accordion-item--contains-interactive"):e.push("hds-accordion-item--does-not-contain-interactive"),e.join(" ")}}(0,u.setComponentTemplate)(h,y)},26721:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"uFFUoIQr",block:'[[[11,0],[24,0,"hds-alert__description hds-font-weight-regular hds-foreground-primary"],[17,1],[12],[18,2,null],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/alert/description.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},40907:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{COLORS:()=>b,DEFAULT_COLOR:()=>v,MAPPING_COLORS_TO_ICONS:()=>w,TYPES:()=>y,default:()=>k})
var n=r(41507),i=r(17990),s=r.n(i),o=r(37219),a=r(3353),l=r(29806),c=r(55521)
let u=function(e){return e.Page="page",e.Inline="inline",e.Compact="compact",e}({}),h=function(e){return e.Neutral="neutral",e.Highlight="highlight",e.Success="success",e.Warning="warning",e.Critical="critical",e}({})
var d,p,f,m=r(23574),g=(0,r(59266).createTemplateFactory)({id:"i/bSOfr7",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[16,"role",[30,0,["role"]]],[24,"aria-live","polite"],[16,"aria-labelledby",[30,0,["ariaLabelledBy"]]],[17,1],[4,[38,0],[[30,0,["didInsert"]]],null],[12],[1,"\\n"],[41,[30,0,["icon"]],[[[1,"    "],[10,0],[14,0,"hds-alert__icon"],[12],[1,"\\n      "],[8,[39,2],null,[["@name","@size","@stretched","@isInlineBlock"],[[30,0,["icon"]],[30,0,["iconSize"]],true,false]],null],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[1,"\\n  "],[10,0],[14,0,"hds-alert__content"],[12],[1,"\\n    "],[10,0],[15,0,[29,["hds-alert__text ",[52,[28,[37,3],[[30,2],"compact"],null],"hds-typography-body-100","hds-typography-body-200"]]]],[12],[1,"\\n      "],[18,3,[[28,[37,5],null,[["Title"],[[50,"hds/alert/title",0,null,null]]]]]],[1,"\\n      "],[18,3,[[28,[37,5],null,[["Description"],[[50,"hds/alert/description",0,null,null]]]]]],[1,"\\n    "],[13],[1,"\\n\\n    "],[10,0],[14,0,"hds-alert__actions"],[12],[1,"\\n      "],[18,3,[[28,[37,5],null,[["Button","LinkStandalone"],[[50,"hds/button",0,null,[["size"],["small"]]],[50,"hds/link/standalone",0,null,[["size"],["small"]]]]]]]],[1,"\\n    "],[13],[1,"\\n    "],[18,3,[[28,[37,5],null,[["Generic"],[[50,"hds/yield",0,null,null]]]]]],[1,"\\n  "],[13],[1,"\\n\\n"],[41,[30,0,["onDismiss"]],[[[1,"    "],[8,[39,7],[[24,0,"hds-alert__dismiss"],[4,[38,8],["click",[30,0,["onDismiss"]]],null]],null,null],[1,"\\n"]],[]],null],[13]],["&attrs","@type","&default"],false,["did-insert","if","flight-icon","eq","yield","hash","component","hds/dismiss-button","on"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/alert/index.js",isStrictMode:!1})
const y=Object.values(u),v=h.Neutral,b=Object.values(h),w={[h.Neutral]:"info",[h.Highlight]:"info",[h.Success]:"check-circle",[h.Warning]:"alert-triangle",[h.Critical]:"alert-diamond"},S=".hds-alert__content"
let k=(d=class extends(s()){constructor(e,t){super(e,t),(0,n.b)(this,"role",p,this),(0,n.b)(this,"ariaLabelledBy",f,this),(0,a.assert)(`@type for "Hds::Alert" must be one of the following: ${y.join(", ")}; received: ${this.args.type}`,y.includes(this.args.type))}get color(){const{color:e=v}=this.args
return(0,a.assert)(`@color for "Hds::Alert" must be one of the following: ${b.join(", ")}; received: ${e}`,b.includes(e)),e}get icon(){const{icon:e}=this.args
return void 0===e?"compact"===this.args.type?`${w[this.color]}-fill`:w[this.color]:!1===e?((0,a.assert)('@icon for "Hds::Alert" with @type "compact" is required',"compact"!==this.args.type),!1):e}get onDismiss(){const{onDismiss:e}=this.args
return"function"==typeof e&&e}get iconSize(){return"compact"===this.args.type?"16":"24"}get classNames(){const e=["hds-alert"]
return e.push(`hds-alert--type-${this.args.type}`),e.push(`hds-alert--color-${this.color}`),e.join(" ")}didInsert(e){e.querySelectorAll(`${S} button, ${S} a`).length&&(this.role="alertdialog")
const t=e.querySelector(".hds-alert__title")||e.querySelector(".hds-alert__description")
if(t){const r=t.getAttribute("id")||(0,l.guidFor)(e)
t.setAttribute("id",r),this.ariaLabelledBy=r}}},p=(0,n._)(d.prototype,"role",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"alert"}}),f=(0,n._)(d.prototype,"ariaLabelledBy",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n._)(d.prototype,"didInsert",[o.action],Object.getOwnPropertyDescriptor(d.prototype,"didInsert"),d.prototype),d);(0,m.setComponentTemplate)(g,k)},30032:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"xivU9Kea",block:'[[[11,0],[24,0,"hds-alert__title hds-font-weight-semibold"],[17,1],[12],[18,2,null],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/alert/title.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},59288:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"1sqJ/wr3",block:'[[[1,"\\n"],[11,0],[24,0,"hds-app-footer__copyright"],[17,1],[12],[1,"\\n  "],[8,[39,0],null,[["@name"],["hashicorp"]],null],[1,"\\n  "],[8,[39,1],null,[["@tag","@size"],["span","100"]],[["default"],[[[[1,"© "],[1,[30,0,["year"]]],[1," HashiCorp"]],[]]]]],[1,"\\n"],[13]],["&attrs"],false,["flight-icon","hds/text/body"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/app-footer/copyright.js",isStrictMode:!1})
class a extends(i()){get year(){return this.args.year??(new Date).getFullYear()}}(0,s.setComponentTemplate)(o,a)},93531:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"mtG1WOnO",block:'[[[1,"\\n"],[11,0],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n  "],[18,3,[[28,[37,1],null,[["ExtraBefore"],[[50,"hds/yield",0,null,null]]]]]],[1,"\\n  "],[10,"ul"],[14,0,"hds-app-footer__list"],[15,"aria-label",[30,0,["ariaLabel"]]],[12],[1,"\\n    "],[18,3,[[28,[37,1],null,[["StatusLink"],[[50,"hds/app-footer/status-link",0,null,null]]]]]],[1,"\\n    "],[18,3,[[28,[37,1],null,[["Link","LegalLinks","Item"],[[50,"hds/app-footer/link",0,null,null],[50,"hds/app-footer/legal-links",0,null,null],[50,"hds/app-footer/item",0,null,null]]]]]],[1,"\\n  "],[13],[1,"\\n  "],[18,3,[[28,[37,1],null,[["ExtraAfter"],[[50,"hds/yield",0,null,null]]]]]],[1,"\\n  "],[8,[39,3],null,[["@year"],[[30,2]]],null],[1,"\\n"],[13]],["&attrs","@copyrightYear","&default"],false,["yield","hash","component","hds/app-footer/copyright"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/app-footer/index.js",isStrictMode:!1})
class a extends(i()){get ariaLabel(){return this.args.ariaLabel??"Footer items"}get theme(){return this.args.theme??"light"}get classNames(){const e=["hds-app-footer"]
return e.push(`hds-app-footer--theme-${this.theme}`),e.join(" ")}}(0,s.setComponentTemplate)(o,a)},73921:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"10iEm3Ej",block:'[[[1,"\\n"],[11,"li"],[24,0,"hds-app-footer__list-item"],[17,1],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/app-footer/item.js",isStrictMode:!1})
class a extends(i()){}(0,s.setComponentTemplate)(o,a)},71169:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"SdR0WAsW",block:'[[[1,"\\n"],[8,[39,0],null,null,[["default"],[[[[1,"\\n  "],[11,"ul"],[24,0,"hds-app-footer__legal-links"],[16,"aria-label",[30,0,["ariaLabel"]]],[17,1],[12],[1,"\\n    "],[8,[39,1],null,[["@href"],[[30,0,["hrefForSupport"]]]],[["default"],[[[[1,"Support"]],[]]]]],[1,"\\n    "],[8,[39,1],null,[["@href"],[[30,0,["hrefForTerms"]]]],[["default"],[[[[1,"Terms"]],[]]]]],[1,"\\n    "],[8,[39,1],null,[["@href"],[[30,0,["hrefForPrivacy"]]]],[["default"],[[[[1,"Privacy"]],[]]]]],[1,"\\n    "],[8,[39,1],null,[["@href"],[[30,0,["hrefForSecurity"]]]],[["default"],[[[[1,"Security"]],[]]]]],[1,"\\n    "],[8,[39,1],null,[["@href"],[[30,0,["hrefForAccessibility"]]]],[["default"],[[[[1,"Accessibility"]],[]]]]],[1,"\\n  "],[13],[1,"\\n"]],[]]]]]],["&attrs"],false,["hds/app-footer/item","hds/app-footer/link"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/app-footer/legal-links.js",isStrictMode:!1})
class a extends(i()){get ariaLabel(){return this.args.ariaLabel??"Legal links"}get hrefForSupport(){return this.args.hrefForSupport??"https://www.hashicorp.com/support"}get hrefForTerms(){return this.args.hrefForTerms??"https://www.hashicorp.com/terms-of-service"}get hrefForPrivacy(){return this.args.hrefForPrivacy??"https://www.hashicorp.com/privacy"}get hrefForSecurity(){return this.args.hrefForSecurity??"https://www.hashicorp.com/security"}get hrefForAccessibility(){return this.args.hrefForAccessibility??"https://www.hashicorp.com/accessibility"}}(0,s.setComponentTemplate)(o,a)},72372:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"XcITNGfX",block:'[[[1,"\\n"],[8,[39,0],null,null,[["default"],[[[[1,"\\n  "],[8,[39,1],[[24,0,"hds-app-footer__link"],[17,1]],[["@color","@current-when","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal","@icon","@iconPosition"],["secondary",[30,2],[28,[37,2],[[30,3],[30,4]],null],[28,[37,3],[[30,5]],null],[30,6],[30,7],[30,8],[30,9],[30,10],[30,11],[30,12]]],[["default"],[[[[8,[39,4],null,[["@tag","@size"],["span","100"]],[["default"],[[[[18,13,null]],[]]]]]],[]]]]],[1,"\\n"]],[]]]]]],["&attrs","@current-when","@model","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal","@icon","@iconPosition","&default"],false,["hds/app-footer/item","hds/link/inline","hds-link-to-models","hds-link-to-query","hds/text/body","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/app-footer/link.js",isStrictMode:!1})
class a extends(i()){}(0,s.setComponentTemplate)(o,a)},74742:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{STATUSES:()=>h,default:()=>d})
var n=r(17990),i=r.n(n),s=r(87938),o=r(3353)
let a=function(e){return e.Operational="operational",e.Degraded="degraded",e.Maintenance="maintenance",e.Outage="outage",e}({})
const l={[a.Operational]:{text:"System operational",iconName:"check-circle"},[a.Degraded]:{text:"System degraded",iconName:"alert-triangle"},[a.Maintenance]:{text:"System maintenance",iconName:"alert-triangle"},[a.Outage]:{text:"System outage",iconName:"x-circle"}}
var c=r(23574),u=(0,r(59266).createTemplateFactory)({id:"CqiW+Ykr",block:'[[[1,"\\n"],[8,[39,0],[[16,0,[30,0,["classNames"]]],[16,5,[30,0,["itemStyle"]]],[17,1]],[["@current-when","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal","@icon","@iconPosition"],[[30,2],[28,[37,1],[[30,3],[30,4]],null],[28,[37,2],[[30,5]],null],[30,6],[30,7],[30,8],[30,0,["href"]],[30,9],[30,0,["statusIcon"]],"leading"]],[["default"],[[[[1,[30,0,["text"]]]],[]]]]]],["&attrs","@current-when","@model","@models","@query","@replace","@route","@isRouteExternal","@isHrefExternal"],false,["hds/app-footer/link","hds-link-to-models","hds-link-to-query"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/app-footer/status-link.js",isStrictMode:!1})
const h=l
class d extends(i()){constructor(e,t){super(e,t),(0,o.assert)('Either @status or @text for "Hds::AppFooter::StatusLink" must have a valid value',void 0!==this.args.text||this.args.status)}get status(){let e
return this.args.status?(e=this.args.status.toLowerCase(),(0,o.assert)(`@status for "Hds::AppFooter" must be one of the following: ${Object.keys(h).join(", ")} received: ${this.args.status}`,e in h),e):e}get statusIcon(){return this.status&&!this.args.statusIcon?h[this.status]?.iconName:this.args.statusIcon}get itemStyle(){return this.args.statusIconColor?(0,s.htmlSafe)(`--hds-app-footer-status-icon-color: ${this.args.statusIconColor}`):void 0}get text(){return!this.args.text&&this.status?h[this.status]?.text:this.args.text}get href(){return this.args.href??"https://status.hashicorp.com"}get classNames(){const e=["hds-app-footer__status-link"]
return this.status&&!this.args.statusIconColor&&e.push(`hds-app-footer__status-link--${this.status}`),e.join(" ")}}(0,c.setComponentTemplate)(u,d)},71768:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"p9LN0xo3",block:'[[[11,0],[24,0,"hds-app-frame"],[17,1],[12],[1,"\\n"],[41,[30,0,["hasHeader"]],[[[1,"    "],[18,2,[[28,[37,2],null,[["Header"],[[50,"hds/app-frame/parts/header",0,null,null]]]]]],[1,"\\n"]],[]],null],[41,[30,0,["hasSidebar"]],[[[1,"    "],[18,2,[[28,[37,2],null,[["Sidebar"],[[50,"hds/app-frame/parts/sidebar",0,null,null]]]]]],[1,"\\n"]],[]],null],[41,[30,0,["hasModals"]],[[[1,"    "],[18,2,[[28,[37,2],null,[["Modals"],[[50,"hds/app-frame/parts/modals",0,null,null]]]]]],[1,"\\n"]],[]],null],[1,"  "],[18,2,[[28,[37,2],null,[["Main"],[[50,"hds/app-frame/parts/main",0,null,null]]]]]],[1,"\\n"],[41,[30,0,["hasFooter"]],[[[1,"    "],[18,2,[[28,[37,2],null,[["Footer"],[[50,"hds/app-frame/parts/footer",0,null,null]]]]]],[1,"\\n"]],[]],null],[13]],["&attrs","&default"],false,["if","yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/app-frame/index.js",isStrictMode:!1})
class a extends(i()){get hasHeader(){return this.args.hasHeader??!0}get hasSidebar(){return this.args.hasSidebar??!0}get hasFooter(){return this.args.hasFooter??!0}get hasModals(){return this.args.hasModals??!0}}(0,s.setComponentTemplate)(o,a)},17423:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"otYmvr26",block:'[[[11,"footer"],[24,0,"hds-app-frame__footer"],[17,1],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/app-frame/parts/footer.js",isStrictMode:!1})
class a extends(i()){}(0,s.setComponentTemplate)(o,a)},36558:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"PlW2xoc0",block:'[[[11,"header"],[24,0,"hds-app-frame__header"],[17,1],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/app-frame/parts/header.js",isStrictMode:!1})
class a extends(i()){}(0,s.setComponentTemplate)(o,a)},58632:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"ZcnIJECD",block:'[[[11,"main"],[24,0,"hds-app-frame__main"],[17,1],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/app-frame/parts/main.js",isStrictMode:!1})
class a extends(i()){}(0,s.setComponentTemplate)(o,a)},23998:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"ewBAfG7T",block:'[[[11,0],[24,0,"hds-app-frame__modals"],[17,1],[12],[18,2,null],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/app-frame/parts/modals.js",isStrictMode:!1})
class a extends(i()){}(0,s.setComponentTemplate)(o,a)},47589:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"sPAoQV+A",block:'[[[11,"aside"],[24,0,"hds-app-frame__sidebar"],[17,1],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/app-frame/parts/sidebar.js",isStrictMode:!1})
class a extends(i()){}(0,s.setComponentTemplate)(o,a)},5872:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"MuaWSii3",block:'[[[11,0],[24,0,"hds-application-state__body"],[17,1],[12],[1,"\\n"],[41,[48,[30,3]],[[[1,"    "],[18,3,null],[1,"\\n"]],[]],[[[1,"    "],[8,[39,3],[[24,0,"hds-application-state__body-text"]],[["@tag","@size"],["p","300"]],[["default"],[[[[1,"\\n      "],[1,[30,2]],[1,"\\n    "]],[]]]]],[1,"\\n"]],[]]],[13]],["&attrs","@text","&default"],false,["if","has-block","yield","hds/text/body"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/application-state/body.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},24379:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"+Jya9jLM",block:'[[[1,"\\n"],[11,0],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n  "],[18,2,[[28,[37,1],null,[["LinkStandalone"],[[50,"hds/link/standalone",0,null,null]]]]]],[1,"\\n"],[13]],["&attrs","&default"],false,["yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/application-state/footer.js",isStrictMode:!1})
class a extends(i()){get hasDivider(){return this.args.hasDivider??!1}get classNames(){const e=["hds-application-state__footer"]
return this.hasDivider&&e.push("hds-application-state__footer--has-divider"),e.join(" ")}}(0,s.setComponentTemplate)(o,a)},67443:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"60jjcTq3",block:'[[[11,0],[24,0,"hds-application-state__header"],[17,1],[12],[1,"\\n"],[41,[30,2],[[[1,"    "],[10,0],[14,0,"hds-application-state__icon"],[12],[1,"\\n      "],[8,[39,1],null,[["@name","@size"],[[30,2],"24"]],null],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[1,"  "],[8,[39,2],[[24,0,"hds-application-state__title"]],[["@tag","@size","@weight"],["div","400","semibold"]],[["default"],[[[[1,"\\n    "],[1,[30,3]],[1,"\\n  "]],[]]]]],[1,"\\n"],[41,[30,4],[[[1,"    "],[8,[39,3],[[24,0,"hds-application-state__error-code"]],[["@tag","@size","@weight"],["div","100","medium"]],[["default"],[[[[1,"\\n      Error\\n      "],[1,[30,4]],[1,"\\n    "]],[]]]]],[1,"\\n"]],[]],null],[13]],["&attrs","@icon","@title","@errorCode"],false,["if","flight-icon","hds/text/display","hds/text/body"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/application-state/header.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},73645:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"pvjwhzHR",block:'[[[11,0],[24,0,"hds-application-state"],[17,1],[12],[1,"\\n  "],[18,2,[[28,[37,1],null,[["Header","Body","Footer"],[[50,"hds/application-state/header",0,null,null],[50,"hds/application-state/body",0,null,null],[50,"hds/application-state/footer",0,null,null]]]]]],[1,"\\n"],[13]],["&attrs","&default"],false,["yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/application-state/index.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},89344:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{COLORS:()=>p,DEFAULT_COLOR:()=>g,DEFAULT_SIZE:()=>f,DEFAULT_TYPE:()=>m,SIZES:()=>h,TYPES:()=>d,default:()=>y})
var n=r(17990),i=r.n(n),s=r(3353)
let o=function(e){return e.Small="small",e.Medium="medium",e.Large="large",e}({}),a=function(e){return e.Filled="filled",e.Inverted="inverted",e.Outlined="outlined",e}({}),l=function(e){return e.Neutral="neutral",e.NeutralDarkMode="neutral-dark-mode",e}({})
var c=r(23574),u=(0,r(59266).createTemplateFactory)({id:"PCrPl/mq",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n  "],[1,[30,2]],[1,"\\n"],[13]],["&attrs","@text"],false,[]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/badge-count/index.js",isStrictMode:!1})
const h=Object.values(o),d=Object.values(a),p=Object.values(l),f=o.Medium,m=a.Filled,g=l.Neutral
class y extends(i()){get size(){const{size:e=f}=this.args
return(0,s.assert)(`@size for "Hds::BadgeCount" must be one of the following: ${h.join(", ")}; received: ${e}`,h.includes(e)),e}get type(){const{type:e=m}=this.args
return(0,s.assert)(`@type for "Hds::BadgeCount" must be one of the following: ${d.join(", ")}; received: ${e}`,d.includes(e)),e}get color(){const{color:e=g}=this.args
return(0,s.assert)(`@color for "Hds::BadgeCount" must be one of the following: ${p.join(", ")}; received: ${e}`,p.includes(e)),e}get classNames(){const e=["hds-badge-count"]
return e.push(`hds-badge-count--size-${this.size}`),e.push(`hds-badge-count--type-${this.type}`),e.push(`hds-badge-count--color-${this.color}`),e.join(" ")}}(0,c.setComponentTemplate)(u,y)},56383:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{COLORS:()=>p,DEFAULT_COLOR:()=>g,DEFAULT_SIZE:()=>f,DEFAULT_TYPE:()=>m,SIZES:()=>h,TYPES:()=>d,default:()=>y})
var n=r(17990),i=r.n(n),s=r(3353)
let o=function(e){return e.Small="small",e.Medium="medium",e.Large="large",e}({}),a=function(e){return e.Filled="filled",e.Inverted="inverted",e.Outlined="outlined",e}({}),l=function(e){return e.Neutral="neutral",e.NeutralDarkMode="neutral-dark-mode",e.Highlight="highlight",e.Success="success",e.Warning="warning",e.Critical="critical",e}({})
var c=r(23574),u=(0,r(59266).createTemplateFactory)({id:"dFlKi8aJ",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n"],[41,[30,0,["icon"]],[[[1,"    "],[10,0],[14,0,"hds-badge__icon"],[12],[1,"\\n      "],[8,[39,1],null,[["@name","@size","@stretched"],[[30,0,["icon"]],"16",true]],null],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[41,[30,0,["isIconOnly"]],[[[1,"    "],[10,1],[14,0,"sr-only"],[12],[1,[30,0,["text"]]],[13],[1,"\\n"]],[]],[[[1,"    "],[10,0],[14,0,"hds-badge__text"],[12],[1,"\\n      "],[1,[30,0,["text"]]],[1,"\\n    "],[13],[1,"\\n"]],[]]],[13]],["&attrs"],false,["if","flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/badge/index.js",isStrictMode:!1})
const h=Object.values(o),d=Object.values(a),p=Object.values(l),f=o.Medium,m=a.Filled,g=l.Neutral
class y extends(i()){get size(){const{size:e=f}=this.args
return(0,s.assert)(`@size for "Hds::Badge" must be one of the following: ${h.join(", ")}; received: ${e}`,h.includes(e)),e}get type(){const{type:e=m}=this.args
return(0,s.assert)(`@type for "Hds::Badge" must be one of the following: ${d.join(", ")}; received: ${e}`,d.includes(e)),e}get color(){const{color:e=g}=this.args
return(0,s.assert)(`@color for "Hds::Badge" must be one of the following: ${p.join(", ")}; received: ${e}`,p.includes(e)),e}get text(){const{text:e}=this.args
return(0,s.assert)('@text for "Hds::Badge" must have a valid value',void 0!==e),e}get icon(){return this.args.icon??null}get isIconOnly(){return!!this.icon&&(this.args.isIconOnly??!1)}get classNames(){const e=["hds-badge"]
return e.push(`hds-badge--size-${this.size}`),e.push(`hds-badge--type-${this.type}`),e.push(`hds-badge--color-${this.color}`),e.join(" ")}}(0,c.setComponentTemplate)(u,y)},64133:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"Qv0QQ4Pw",block:'[[[11,"nav"],[16,0,[30,0,["classNames"]]],[16,"aria-label",[30,0,["ariaLabel"]]],[17,1],[12],[1,"\\n  "],[11,"ol"],[24,0,"hds-breadcrumb__list"],[4,[38,0],[[30,0,["didInsert"]]],null],[12],[1,"\\n    "],[18,2,null],[1,"\\n  "],[13],[1,"\\n"],[13]],["&attrs","&default"],false,["did-insert","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/breadcrumb/index.js",isStrictMode:!1})
const a=()=>{}
class l extends(i()){get didInsert(){let{didInsert:e}=this.args
return"function"==typeof e?e:a}get itemsCanWrap(){return this.args.itemsCanWrap??!0}get ariaLabel(){return this.args.ariaLabel??"breadcrumbs"}get classNames(){let e=["hds-breadcrumb"]
return this.itemsCanWrap&&e.push("hds-breadcrumb--items-can-wrap"),e.join(" ")}}(0,s.setComponentTemplate)(o,l)},39195:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>c})
var n=r(17990),i=r.n(n),s=r(87938),o=r(3353),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"nAd+joDJ",block:'[[[11,"li"],[24,0,"hds-breadcrumb__item"],[16,5,[30,0,["itemStyle"]]],[17,1],[12],[1,"\\n"],[41,[30,2],[[[1,"    "],[10,0],[14,0,"hds-breadcrumb__current"],[12],[1,"\\n"],[41,[30,3],[[[1,"        "],[10,0],[14,0,"hds-breadcrumb__icon"],[12],[1,"\\n          "],[8,[39,1],null,[["@name","@size","@stretched"],[[30,3],"16",true]],null],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"      "],[10,1],[14,0,"hds-breadcrumb__text"],[12],[1,[30,4]],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],[[[41,[30,5],[[[1,"      "],[8,[39,2],[[24,0,"hds-breadcrumb__link"]],[["@current-when","@models","@query","@replace","@route"],[[30,6],[28,[37,3],[[30,7],[30,8]],null],[28,[37,4],[[30,9]],null],[30,10],[30,11]]],[["default"],[[[[1,"\\n"],[41,[30,3],[[[1,"          "],[10,0],[14,0,"hds-breadcrumb__icon"],[12],[1,"\\n            "],[8,[39,1],null,[["@name","@size","@stretched"],[[30,3],"16",true]],null],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"        "],[10,1],[14,0,"hds-breadcrumb__text"],[12],[1,[30,4]],[13],[1,"\\n      "]],[]]]]],[1,"\\n"]],[]],[[[1,"      "],[8,[39,5],[[24,0,"hds-breadcrumb__link"]],[["@current-when","@models","@query","@replace","@route"],[[30,6],[28,[37,3],[[30,7],[30,8]],null],[28,[37,4],[[30,9]],null],[30,10],[30,11]]],[["default"],[[[[1,"\\n"],[41,[30,3],[[[1,"          "],[10,0],[14,0,"hds-breadcrumb__icon"],[12],[1,"\\n            "],[8,[39,1],null,[["@name","@size","@stretched"],[[30,3],"16",true]],null],[1,"\\n          "],[13],[1,"\\n"]],[]],null],[1,"        "],[10,1],[14,0,"hds-breadcrumb__text"],[12],[1,[30,4]],[13],[1,"\\n      "]],[]]]]],[1,"\\n"]],[]]]],[]]],[13]],["&attrs","@current","@icon","@text","@isRouteExternal","@current-when","@model","@models","@query","@replace","@route"],false,["if","flight-icon","link-to-external","hds-link-to-models","hds-link-to-query","link-to"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/breadcrumb/item.js",isStrictMode:!1})
class c extends(i()){get maxWidth(){let{maxWidth:e}=this.args
return e?((0,o.assert)(`@maxWidth for "Hds::Breadcrumb::Item" must be a size as number in 'px' or in 'em' (eg. '200px' or '24em'); received: ${e}`,e.match(/^\d+(px|em)$/)),e):void 0}get itemStyle(){return this.maxWidth?(0,s.htmlSafe)(`max-width: ${this.maxWidth}`):void 0}get classNames(){return["hds-breadcrumb__item"].join(" ")}}(0,a.setComponentTemplate)(l,c)},55714:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"cz7+Ht60",block:'[[[11,"li"],[24,0,"hds-breadcrumb__item hds-breadcrumb__item--is-truncation"],[17,1],[12],[1,"\\n  "],[8,[39,0],null,null,[["toggle","content"],[[[[1,"\\n      "],[11,"button"],[24,0,"hds-breadcrumb__truncation-toggle"],[16,"aria-label",[30,0,["ariaLabel"]]],[16,"aria-expanded",[52,[30,2,["isOpen"]],"true","false"]],[24,4,"button"],[4,[38,2],["click",[30,2,["onClickToggle"]]],null],[12],[1,"\\n        "],[8,[39,3],null,[["@name","@size","@isInlineBlock"],["more-horizontal","16",false]],null],[1,"\\n      "],[13],[1,"\\n    "]],[2]],[[[1,"\\n      "],[10,0],[14,0,"hds-breadcrumb__truncation-content"],[12],[1,"\\n        "],[10,"ol"],[14,0,"hds-breadcrumb__sublist"],[12],[1,"\\n          "],[18,3,null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n    "]],[]]]]],[1,"\\n"],[13]],["&attrs","t","&default"],false,["hds/menu-primitive","if","on","flight-icon","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/breadcrumb/truncation.js",isStrictMode:!1})
class a extends(i()){get ariaLabel(){return this.args.ariaLabel??"show more"}}(0,s.setComponentTemplate)(o,a)},71883:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"cWtHK4De",block:'[[[11,0],[24,0,"hds-button-set"],[17,1],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/button-set/index.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},8005:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{COLORS:()=>d,DEFAULT_COLOR:()=>c,DEFAULT_ICONPOSITION:()=>u,DEFAULT_SIZE:()=>l,ICONPOSITIONS:()=>p,SIZES:()=>h,default:()=>f})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"Z51f0+VJ",block:'[[[8,[39,0],[[16,0,[30,0,["classNames"]]],[17,1],[16,"aria-label",[52,[30,0,["isIconOnly"]],[30,0,["text"]],null]]],[["@current-when","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal"],[[30,2],[28,[37,2],[[30,3],[30,4]],null],[28,[37,3],[[30,5]],null],[30,6],[30,7],[30,8],[30,9],[30,10]]],[["default"],[[[[1,"\\n"],[41,[30,0,["isIconOnly"]],[[[1,"    "],[10,1],[14,0,"hds-button__icon"],[12],[1,"\\n      "],[8,[39,4],null,[["@name","@size","@stretched"],[[30,0,["icon"]],[30,0,["iconSize"]],true]],null],[1,"\\n    "],[13],[1,"\\n"]],[]],[[[41,[30,0,["icon"]],[[[41,[28,[37,5],[[30,0,["iconPosition"]],"leading"],null],[[[1,"        "],[10,1],[14,0,"hds-button__icon"],[12],[1,"\\n          "],[8,[39,4],null,[["@name","@size","@stretched"],[[30,0,["icon"]],[30,0,["iconSize"]],true]],null],[1,"\\n        "],[13],[1,"\\n        "],[10,1],[14,0,"hds-button__text"],[12],[1,"\\n          "],[1,[30,0,["text"]]],[1,"\\n        "],[13],[1,"\\n"]],[]],[[[1,"        "],[10,1],[14,0,"hds-button__text"],[12],[1,"\\n          "],[1,[30,0,["text"]]],[1,"\\n        "],[13],[1,"\\n        "],[10,1],[14,0,"hds-button__icon"],[12],[1,"\\n          "],[8,[39,4],null,[["@name","@size","@stretched"],[[30,0,["icon"]],[30,0,["iconSize"]],true]],null],[1,"\\n        "],[13],[1,"\\n"]],[]]]],[]],[[[1,"      "],[10,1],[14,0,"hds-button__text"],[12],[1,"\\n        "],[1,[30,0,["text"]]],[1,"\\n      "],[13],[1,"\\n"]],[]]]],[]]]],[]]]]]],["&attrs","@current-when","@model","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal"],false,["hds/interactive","if","hds-link-to-models","hds-link-to-query","flight-icon","eq"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/button/index.js",isStrictMode:!1})
const l="medium",c="primary",u="leading",h=["small","medium","large"],d=["primary","secondary","tertiary","critical"],p=["leading","trailing"]
class f extends(i()){get text(){const{text:e}=this.args
return(0,s.assert)('@text for "Hds::Button" must have a valid value',void 0!==e),e}get size(){const{size:e=l}=this.args
return(0,s.assert)(`@size for "Hds::Button" must be one of the following: ${h.join(", ")}; received: ${e}`,h.includes(e)),e}get color(){const{color:e=c}=this.args
return(0,s.assert)(`@color for "Hds::Button" must be one of the following: ${d.join(", ")}; received: ${e}`,d.includes(e)),e}get icon(){return(0,s.assert)('when the "Hds::Button" @color is "tertiary" an @icon is required',!("tertiary"===this.color&&!this.args.icon)),this.args.icon??void 0}get isIconOnly(){return!!this.icon&&(this.args.isIconOnly??!1)}get iconPosition(){const{iconPosition:e=u}=this.args
return(0,s.assert)(`@iconPosition for "Hds::Button" must be one of the following: ${p.join(", ")}; received: ${e}`,p.includes(e)),e}get iconSize(){return"large"===this.args.size?"24":"16"}get isFullWidth(){return this.args.isFullWidth??!1}get classNames(){const e=["hds-button"]
return e.push(`hds-button--color-${this.color}`),this.isFullWidth&&e.push("hds-button--width-full"),this.isIconOnly&&e.push("hds-button--is-icon-only"),this.args.isInline&&e.push("hds-button--is-inline"),e.push(`hds-button--size-${this.size}`),e.join(" ")}}(0,o.setComponentTemplate)(a,f)},12176:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{AVAILABLE_BACKGROUNDS:()=>m,AVAILABLE_LEVELS:()=>f,AVAILABLE_OVERFLOWS:()=>g,DEFAULT_BACKGROUND:()=>d,DEFAULT_LEVEL:()=>h,DEFAULT_OVERFLOW:()=>p,default:()=>y})
var n=r(17990),i=r.n(n),s=r(3353)
let o=function(e){return e.NeutralPrimary="neutral-primary",e.NeutralSecondary="neutral-secondary",e}({}),a=function(e){return e.Base="base",e.Mid="mid",e.High="high",e}({}),l=function(e){return e.Hidden="hidden",e.Visible="visible",e}({})
var c=r(23574),u=(0,r(59266).createTemplateFactory)({id:"FIc3FphE",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/card/container.js",isStrictMode:!1})
const h=a.Base,d=o.NeutralPrimary,p=l.Visible,f=Object.values(a),m=Object.values(o),g=Object.values(l)
class y extends(i()){get level(){const{level:e=h}=this.args
return(0,s.assert)(`@level for "Hds::Card::Container" must be one of the following: ${f.join(", ")}; received: ${e}`,f.includes(e)),e}get levelHover(){const{levelHover:e}=this.args
return e&&(0,s.assert)(`@levelHover for "Hds::Card::Container" must be one of the following: ${f.join(", ")}; received: ${e}`,f.includes(e)),e}get levelActive(){const{levelActive:e}=this.args
return e&&(0,s.assert)(`@levelActive for "Hds::Card::Container" must be one of the following: ${f.join(", ")}; received: ${e}`,f.includes(e)),e}get background(){const{background:e=d}=this.args
return(0,s.assert)(`@background for "Hds::Card::Container" must be one of the following: ${m.join(", ")}; received: ${e}`,m.includes(e)),e}get overflow(){const{overflow:e=p}=this.args
return(0,s.assert)(`@overflow for "Hds::Card::Container" must be one of the following: ${g.join(", ")}; received: ${e}`,g.includes(e)),e}get classNames(){const e=["hds-card__container"]
return e.push(`hds-card__container--level-${this.args.hasBorder?"surface":"elevation"}-${this.level}`),this.levelHover&&e.push(`hds-card__container--hover-level-${this.args.hasBorder?"surface":"elevation"}-${this.levelHover}`),this.levelActive&&e.push(`hds-card__container--active-level-${this.args.hasBorder?"surface":"elevation"}-${this.levelActive}`),e.push(`hds-card__container--background-${this.background}`),e.push(`hds-card__container--overflow-${this.overflow}`),e.join(" ")}}(0,c.setComponentTemplate)(u,y)},26022:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"cdzIzLsM",block:'[[[1,"\\n"],[8,[39,0],[[24,0,"hds-code-block__copy-button"],[17,1]],[["@text","@isIconOnly","@size","@targetToCopy"],["Copy",true,"small",[30,2]]],null]],["&attrs","@targetToCopy"],false,["hds/copy/button"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/code-block/copy-button.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},52183:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"fgvFi8Pk",block:'[[[1,"\\n"],[8,[39,0],[[24,0,"hds-code-block__description"],[17,1]],[["@tag","@size"],["p","100"]],[["default"],[[[[1,"\\n  "],[18,2,null],[1,"\\n"]],[]]]]]],["&attrs","&default"],false,["hds/text/body","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/code-block/description.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},91667:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>v})
var n,i,s=r(41507),o=r(17990),a=r.n(o),l=r(37219),c=r(55521),u=r(3353),h=r(98773),d=r(87938),p=r(29806),f=r(5730),m=r.n(f),g=(r(74312),r(66813),r(49241),r(66175),r(9402),r(11420),r(1335),r(51386),r(42069),r(94399),r(52443),r(10751),r(23574)),y=(0,r(59266).createTemplateFactory)({id:"BTpapPHo",block:'[[[1,"\\n"],[11,0],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n  "],[10,0],[14,0,"hds-code-block__header"],[12],[18,6,[[28,[37,1],null,[["Title"],[[50,"hds/code-block/title",0,null,null]]]]]],[18,6,[[28,[37,1],null,[["Description"],[[50,"hds/code-block/description",0,null,null]]]]]],[13],[1,"\\n  "],[10,0],[14,0,"hds-code-block__body"],[12],[1,"\\n"],[1,"    "],[11,"pre"],[24,0,"hds-code-block__code"],[16,"data-line",[30,2]],[16,1,[30,0,["preCodeId"]]],[24,"tabindex","0"],[4,[38,3],null,[["maxHeight"],[[30,3]]]],[12],[11,"code"],[4,[38,4],[[30,0,["setPrismCode"]]],null],[4,[38,5],[[30,0,["setPrismCode"]],[30,0,["code"]],[30,4]],null],[12],[1,[30,0,["prismCode"]]],[13],[13],[1,"\\n\\n"],[41,[30,5],[[[1,"      "],[8,[39,7],[[16,"aria-describedby",[30,0,["preCodeId"]]]],[["@targetToCopy"],[[29,["#",[30,0,["preCodeId"]]]]]],null],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"],[13]],["&attrs","@highlightLines","@maxHeight","@language","@hasCopyButton","&default"],false,["yield","hash","component","style","did-insert","did-update","if","hds/code-block/copy-button"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/code-block/index.js",isStrictMode:!1})
let v=(n=class extends(a()){constructor(...e){super(...e),(0,s.b)(this,"prismCode",i,this),(0,s.a)(this,"preCodeId","pre-code-"+(0,p.guidFor)(this))}get code(){const e=this.args.value
return(0,u.assert)('@code for "Hds::CodeBlock" must have a valid value',void 0!==e),m()?.plugins?.NormalizeWhitespace?m().plugins.NormalizeWhitespace.normalize(e):e}get language(){return this.args.language??void 0}get hasLineNumbers(){return this.args.hasLineNumbers??!0}get isStandalone(){return this.args.isStandalone??!0}get hasLineWrapping(){return this.args.hasLineWrapping??!1}setPrismCode(e){const t=this.code,r=this.language,n=m().languages[r]
t&&(0,h.next)((()=>{this.prismCode=r&&n?(0,d.htmlSafe)(m().highlight(t,n,r)):(0,d.htmlSafe)(m().util.encode(t)),m().hooks.run("complete",{code:t,element:e}),this.args.highlightLines&&(0,h.schedule)("afterRender",(()=>{window&&window.dispatchEvent(new Event("resize"))}))}))}get classNames(){let e=["hds-code-block","hds-code-block--theme-dark"]
return this.language&&e.push(`language-${this.language}`),!0===this.isStandalone&&e.push("hds-code-block--is-standalone"),!0===this.hasLineWrapping&&e.push("hds-code-block--has-line-wrapping"),(this.hasLineNumbers||this.args.highlightLines)&&e.push("line-numbers"),e.join(" ")}},i=(0,s._)(n.prototype,"prismCode",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),(0,s._)(n.prototype,"setPrismCode",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"setPrismCode"),n.prototype),n);(0,g.setComponentTemplate)(y,v)},96234:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"uObxqnPt",block:'[[[1,"\\n"],[8,[39,0],[[24,0,"hds-code-block__title"],[17,1]],[["@size","@tag","@weight"],["200","p","semibold"]],[["default"],[[[[1,"\\n  "],[18,2,null],[1,"\\n"]],[]]]]]],["&attrs","&default"],false,["hds/text/body","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/code-block/title.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},69857:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_ICON:()=>y,DEFAULT_SIZE:()=>m,DEFAULT_STATUS:()=>w,ERROR_ICON:()=>b,SIZES:()=>g,SUCCESS_ICON:()=>v,default:()=>S})
var n=r(41507),i=r(17990),s=r.n(i),o=r(3353),a=r(55521),l=r(37219)
let c=function(e){return e.Small="small",e.Medium="medium",e}({})
var u,h,d,p=r(23574),f=(0,r(59266).createTemplateFactory)({id:"dL8+t3Ld",block:'[[[8,[39,0],[[16,0,[30,0,["classNames"]]],[17,1],[4,[38,1],null,[["text","target","onSuccess","onError"],[[30,5],[30,6],[30,0,["onSuccess"]],[30,0,["onError"]]]]]],[["@size","@isFullWidth","@text","@icon","@isIconOnly","@color","@iconPosition"],[[30,0,["size"]],[30,2],[30,3],[30,0,["icon"]],[30,4],"secondary","trailing"]],null]],["&attrs","@isFullWidth","@text","@isIconOnly","@textToCopy","@targetToCopy"],false,["hds/button","hds-clipboard"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/copy/button/index.js",isStrictMode:!1})
const m=c.Medium,g=Object.values(c),y="clipboard-copy",v="clipboard-checked",b="clipboard-x",w="idle"
let S=(u=class extends(s()){constructor(...e){super(...e),(0,n.b)(this,"status",h,this),(0,n.b)(this,"timer",d,this)}get icon(){let e=y
return"success"===this.status?e=v:"error"===this.status&&(e=b),e}get size(){const{size:e=m}=this.args
return(0,o.assert)(`@size for "Hds::Copy::Button" must be one of the following: ${g.join(", ")}; received: ${e}`,g.includes(e)),e}get classNames(){const e=["hds-copy-button"]
return e.push(`hds-button--size-${this.size}`),e.push(`hds-copy-button--status-${this.status}`),e.join(" ")}onSuccess(e){this.status="success",this.resetStatusDelayed()
const{onSuccess:t}=this.args
"function"==typeof t&&t(e)}onError(e){this.status="error",this.resetStatusDelayed()
const{onError:t}=this.args
"function"==typeof t&&t(e)}resetStatusDelayed(){clearTimeout(this.timer),this.timer=setTimeout((()=>{this.status=w}),1500)}},h=(0,n._)(u.prototype,"status",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return w}}),d=(0,n._)(u.prototype,"timer",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n._)(u.prototype,"onSuccess",[l.action],Object.getOwnPropertyDescriptor(u.prototype,"onSuccess"),u.prototype),(0,n._)(u.prototype,"onError",[l.action],Object.getOwnPropertyDescriptor(u.prototype,"onError"),u.prototype),u);(0,p.setComponentTemplate)(f,S)},93374:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{COLORS:()=>g,DEFAULT_COLOR:()=>m,DEFAULT_ICON:()=>y,DEFAULT_STATUS:()=>w,ERROR_ICON:()=>b,SUCCESS_ICON:()=>v,default:()=>S})
var n=r(41507),i=r(17990),s=r.n(i),o=r(3353),a=r(55521),l=r(37219)
let c=function(e){return e.Primary="primary",e.Secondary="secondary",e}({})
var u,h,d,p=r(23574),f=(0,r(59266).createTemplateFactory)({id:"Hs3AfedW",block:'[[[11,"button"],[24,4,"button"],[16,0,[30,0,["classNames"]]],[16,"aria-label",[28,[37,0],["copy ",[30,1]],null]],[17,2],[4,[38,1],null,[["text","onSuccess","onError"],[[30,1],[30,0,["onSuccess"]],[30,0,["onError"]]]]],[12],[1,"\\n  "],[8,[39,2],[[24,0,"hds-copy-snippet__text"]],[["@tag","@size"],["span","100"]],[["default"],[[[[1,"\\n    "],[1,[30,0,["textToShow"]]],[1,"\\n  "]],[]]]]],[1,"\\n  "],[8,[39,3],[[24,0,"hds-copy-snippet__icon"]],[["@name"],[[30,0,["icon"]]]],null],[1,"\\n"],[13]],["@textToCopy","&attrs"],false,["concat","hds-clipboard","hds/text/code","flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/copy/snippet/index.js",isStrictMode:!1})
const m=c.Primary,g=Object.values(c),y="clipboard-copy",v="clipboard-checked",b="clipboard-x",w="idle"
let S=(u=class extends(s()){constructor(...e){super(...e),(0,n.b)(this,"status",h,this),(0,n.b)(this,"timer",d,this)}get textToShow(){const{textToCopy:e=""}=this.args
return"string"==typeof e?e:e.toString()}get icon(){let e=y
return"success"===this.status?e=v:"error"===this.status&&(e=b),e}get color(){const{color:e=m}=this.args
return(0,o.assert)(`@color for "Hds::Copy::Snippet" must be one of the following: ${g.join(", ")}; received: ${e}`,g.includes(e)),e}get isFullWidth(){return this.args.isFullWidth??!1}get isTruncated(){return this.args.isTruncated??!1}get classNames(){const e=["hds-copy-snippet"]
return e.push(`hds-copy-snippet--color-${this.color}`),e.push(`hds-copy-snippet--status-${this.status}`),this.isTruncated&&e.push("hds-copy-snippet--is-truncated"),this.isFullWidth&&e.push("hds-copy-snippet--width-full"),e.join(" ")}onSuccess(e){this.status="success",this.resetStatusDelayed()
const{onSuccess:t}=this.args
"function"==typeof t&&t(e)}onError(e){this.status="error",this.resetStatusDelayed()
const{onError:t}=this.args
"function"==typeof t&&t(e)}resetStatusDelayed(){clearTimeout(this.timer),this.timer=setTimeout((()=>{this.status=w}),1500)}},h=(0,n._)(u.prototype,"status",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return w}}),d=(0,n._)(u.prototype,"timer",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n._)(u.prototype,"onSuccess",[l.action],Object.getOwnPropertyDescriptor(u.prototype,"onSuccess"),u.prototype),(0,n._)(u.prototype,"onError",[l.action],Object.getOwnPropertyDescriptor(u.prototype,"onError"),u.prototype),u);(0,p.setComponentTemplate)(f,S)},58228:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"7tz/tPRP",block:'[[[11,0],[16,0,[29,["hds-dialog-primitive__body ",[30,1]]]],[24,"tabindex","0"],[17,2],[12],[1,"\\n  "],[18,3,null],[1,"\\n"],[13]],["@contextualClass","&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dialog-primitive/body.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},8508:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"2csuSREc",block:'[[[11,0],[16,0,[29,["hds-dialog-primitive__description hds-typography-body-200 hds-foreground-primary ",[30,1]]]],[17,2],[12],[1,"\\n  "],[18,3,null],[1,"\\n"],[13]],["@contextualClass","&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dialog-primitive/description.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},41968:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"wphF27kF",block:'[[[11,0],[16,0,[29,["hds-dialog-primitive__footer ",[30,1]]]],[17,2],[12],[1,"\\n  "],[18,4,[[28,[37,1],null,[["close"],[[30,3]]]]]],[1,"\\n"],[13]],["@contextualClass","&attrs","@onDismiss","&default"],false,["yield","hash"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dialog-primitive/footer.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},70493:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"2uXm+K9r",block:'[[[11,0],[16,0,[29,["hds-dialog-primitive__header ",[52,[30,1],[28,[37,1],[[30,1],"__header"],null]]]]],[17,2],[12],[1,"\\n"],[41,[30,3],[[[1,"    "],[8,[39,2],[[16,0,[29,["hds-dialog-primitive__icon ",[52,[30,1],[28,[37,1],[[30,1],"__icon"],null]]]]]],[["@name","@size","@isInlineBlock"],[[30,3],"24",false]],null],[1,"\\n"]],[]],null],[1,"\\n  "],[10,0],[15,0,[29,["hds-dialog-primitive__title ",[52,[30,1],[28,[37,1],[[30,1],"__title"],null]]]]],[15,1,[30,4]],[12],[1,"\\n"],[41,[30,5],[[[1,"      "],[8,[39,3],[[16,0,[29,["hds-dialog-primitive__tagline ",[52,[30,1],[28,[37,1],[[30,1],"__tagline"],null]]]]]],[["@tag","@size"],["div","100"]],[["default"],[[[[1,"\\n        "],[1,[30,5]],[1,"\\n      "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n    "],[8,[39,4],null,[["@tag","@size","@weight"],["div","300","semibold"]],[["default"],[[[[1,"\\n      "],[18,6,null],[1,"\\n    "]],[]]]]],[1,"\\n  "],[13],[1,"\\n\\n  "],[8,[39,6],[[16,0,[29,["hds-dialog-primitive__dismiss ",[52,[30,1],[28,[37,1],[[30,1],"__dismiss"],null]]]]],[4,[38,7],["click",[30,0,["onDismiss"]]],null]],null,null],[1,"\\n"],[13]],["@contextualClassPrefix","&attrs","@icon","@id","@tagline","&default"],false,["if","concat","flight-icon","hds/text/body","hds/text/display","yield","hds/dismiss-button","on"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dialog-primitive/header.js",isStrictMode:!1})
const a=()=>{}
class l extends(i()){get onDismiss(){const{onDismiss:e}=this.args
return"function"==typeof e?e:a}}(0,s.setComponentTemplate)(o,l)},30548:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"pKm3Ckpq",block:'[[[10,0],[15,0,[29,["hds-dialog-primitive__overlay ",[30,1]]]],[12],[13]],["@contextualClass"],false,[]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dialog-primitive/overlay.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},47447:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"g8E4vbzh",block:'[[[11,"dialog"],[24,0,"hds-dialog-primitive__wrapper"],[17,1],[12],[1,"\\n  "],[10,0],[14,0,"hds-dialog-primitive__wrapper-header"],[12],[1,"\\n    "],[18,2,null],[1,"\\n  "],[13],[1,"\\n  "],[10,0],[14,0,"hds-dialog-primitive__wrapper-body"],[12],[1,"\\n    "],[18,3,null],[1,"\\n  "],[13],[1,"\\n  "],[10,0],[14,0,"hds-dialog-primitive__wrapper-footer"],[12],[1,"\\n    "],[18,4,null],[1,"\\n  "],[13],[1,"\\n"],[13]],["&attrs","&header","&body","&footer"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dialog-primitive/wrapper.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},75854:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>f})
var n,i,s,o=r(41507),a=r(17990),l=r.n(a),c=r(55521),u=r(37219),h=r(98773),d=r(23574),p=(0,r(59266).createTemplateFactory)({id:"a7PA7hwF",block:'[[[11,0],[24,0,"hds-disclosure-primitive"],[17,1],[4,[38,0],[[30,0,["onStateChange"]],[30,2]],null],[12],[1,"\\n  "],[10,0],[14,0,"hds-disclosure-primitive__toggle"],[12],[1,"\\n    "],[18,3,[[28,[37,2],null,[["onClickToggle","isOpen"],[[30,0,["onClickToggle"]],[30,0,["isOpen"]]]]]]],[1,"\\n  "],[13],[1,"\\n"],[41,[30,0,["isOpen"]],[[[1,"    "],[10,0],[14,0,"hds-disclosure-primitive__content"],[12],[1,"\\n      "],[18,4,[[28,[37,2],null,[["close"],[[30,0,["close"]]]]]]],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[13]],["&attrs","@isOpen","&toggle","&content"],false,["did-update","yield","hash","if"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/disclosure-primitive/index.js",isStrictMode:!1})
let f=(n=class extends(l()){constructor(...e){super(...e),(0,o.b)(this,"_isOpen",i,this),(0,o.b)(this,"_isControlled",s,this)}get isOpen(){return this._isControlled?this.args.isOpen??this._isOpen:this._isOpen}set isOpen(e){this._isOpen=e||!1}onClickToggle(){this.isOpen=!this.isOpen,this._isControlled=!1,this.args.onClickToggle&&"function"==typeof this.args.onClickToggle&&this.args.onClickToggle(this.isOpen)}onStateChange(){void 0!==this.args.isOpen&&(this.isOpen=this.args.isOpen),this._isControlled=!0}close(){(0,h.schedule)("afterRender",(()=>{this.isOpen=!1,this.args.onClose&&"function"==typeof this.args.onClose&&this.args.onClose()}))}},i=(0,o._)(n.prototype,"_isOpen",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,o._)(n.prototype,"_isControlled",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return void 0!==this.args.isOpen}}),(0,o._)(n.prototype,"onClickToggle",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onClickToggle"),n.prototype),(0,o._)(n.prototype,"onStateChange",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onStateChange"),n.prototype),(0,o._)(n.prototype,"close",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"close"),n.prototype),n);(0,d.setComponentTemplate)(p,f)},88191:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"vgcAzpvt",block:'[[[11,"button"],[24,0,"hds-dismiss-button"],[24,4,"button"],[16,"aria-label",[30,0,["ariaLabel"]]],[17,1],[12],[1,"\\n  "],[8,[39,0],null,[["@name","@size","@isInlineBlock"],["x","16",false]],null],[1,"\\n"],[13]],["&attrs"],false,["flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dismiss-button/index.js",isStrictMode:!1})
class a extends(i()){get ariaLabel(){return this.args.ariaLabel??"Dismiss"}}(0,s.setComponentTemplate)(o,a)},91726:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"AuzLneYu",block:'[[[1,"\\n"],[11,0],[16,0,[29,["hds-dropdown__footer ",[52,[30,1],"hds-dropdown__footer--with-divider"]]]],[17,2],[12],[1,"\\n  "],[18,3,null],[1,"\\n"],[13]],["@hasDivider","&attrs","&default"],false,["if","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/footer.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},62382:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"3xXJdEsi",block:'[[[1,"\\n"],[11,0],[16,0,[29,["hds-dropdown__header ",[52,[30,1],"hds-dropdown__header--with-divider"]]]],[17,2],[12],[1,"\\n  "],[18,3,null],[1,"\\n"],[13]],["@hasDivider","&attrs","&default"],false,["if","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/header.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},21449:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_POSITION:()=>h,POSITIONS:()=>d,default:()=>p})
var n,i=r(41507),s=r(17990),o=r.n(s),a=r(37219),l=r(3353),c=r(23574),u=(0,r(59266).createTemplateFactory)({id:"nJe7J1lH",block:'[[[8,[39,0],[[16,0,[30,0,["classNames"]]],[17,1]],[["@onClose"],[[30,2]]],[["toggle","content"],[[[[1,"\\n    "],[18,7,[[28,[37,2],null,[["ToggleButton","ToggleIcon"],[[50,"hds/dropdown/toggle/button",0,null,[["isOpen","onClick"],[[30,3,["isOpen"]],[30,3,["onClickToggle"]]]]],[50,"hds/dropdown/toggle/icon",0,null,[["isOpen","onClick"],[[30,3,["isOpen"]],[30,3,["onClickToggle"]]]]]]]]]],[1,"\\n  "]],[3]],[[[1,"\\n    "],[11,0],[16,0,[30,0,["classNamesContent"]]],[4,[38,4],null,[["width","max-height"],[[30,5],[30,6]]]],[12],[1,"\\n      "],[18,7,[[28,[37,2],null,[["Header"],[[50,"hds/dropdown/header",0,null,null]]]]]],[1,"\\n      "],[11,"ul"],[24,0,"hds-dropdown__list"],[4,[38,5],[[30,0,["didInsertList"]]],null],[12],[1,"\\n        "],[18,7,[[28,[37,2],null,[["close","Checkbox","Checkmark","CopyItem","Description","Generic","Interactive","Radio","Separator","Title"],[[30,4,["close"]],[50,"hds/dropdown/list-item/checkbox",0,null,null],[50,"hds/dropdown/list-item/checkmark",0,null,null],[50,"hds/dropdown/list-item/copy-item",0,null,null],[50,"hds/dropdown/list-item/description",0,null,null],[50,"hds/dropdown/list-item/generic",0,null,null],[50,"hds/dropdown/list-item/interactive",0,null,null],[50,"hds/dropdown/list-item/radio",0,null,null],[50,"hds/dropdown/list-item/separator",0,null,null],[50,"hds/dropdown/list-item/title",0,null,null]]]]]],[1,"\\n      "],[13],[1,"\\n      "],[18,7,[[28,[37,2],null,[["close","Footer"],[[30,4,["close"]],[50,"hds/dropdown/footer",0,null,null]]]]]],[1,"\\n    "],[13],[1,"\\n  "]],[4]]]]]],["&attrs","@onClose","t","c","@width","@height","&default"],false,["hds/menu-primitive","yield","hash","component","style","did-insert"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/index.js",isStrictMode:!1})
const h="bottom-right",d=["bottom-left","bottom-right","top-left","top-right"]
let p=(n=class extends(o()){get listPosition(){let{listPosition:e=h}=this.args
return(0,l.assert)(`@listPosition for "Hds::Dropdown::Index" must be one of the following: ${d.join(", ")}; received: ${e}`,d.includes(e)),e}get classNames(){let e=["hds-dropdown"]
return this.args.isInline&&e.push("hds-dropdown--is-inline"),e.join(" ")}get classNamesContent(){let e=["hds-dropdown__content"]
return e.push(`hds-dropdown__content--position-${this.listPosition}`),this.args.width&&e.push("hds-dropdown__content--fixed-width"),e.join(" ")}didInsertList(e){if(e.querySelectorAll('[role="option"]').length){const t=e.closest(".hds-dropdown")?.querySelector(".hds-dropdown-toggle-button")?.getAttribute("id")
e.setAttribute("role","listbox"),e.setAttribute("aria-labelledby",t)}}},(0,i._)(n.prototype,"didInsertList",[a.action],Object.getOwnPropertyDescriptor(n.prototype,"didInsertList"),n.prototype),n);(0,c.setComponentTemplate)(u,p)},17103:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(63928),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"4bHkiCxe",block:'[[[1,"\\n"],[10,"li"],[14,0,"hds-dropdown-list-item hds-dropdown-list-item--variant-checkbox"],[12],[1,"\\n  "],[10,"label"],[14,0,"hds-dropdown-list-item__label hds-typography-body-200"],[15,"for",[30,0,["id"]]],[12],[1,"\\n    "],[8,[39,0],[[24,0,"hds-dropdown-list-item__control"],[16,1,[30,0,["id"]]],[17,1]],[["@value"],[[30,2]]],null],[1,"\\n"],[41,[30,3],[[[1,"      "],[10,1],[14,0,"hds-dropdown-list-item__icon"],[12],[1,"\\n        "],[8,[39,2],null,[["@name","@isInlineBlock"],[[30,3],false]],null],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"    "],[10,1],[14,0,"hds-dropdown-list-item__text-content"],[12],[18,5,null],[13],[1,"\\n\\n"],[41,[30,4],[[[1,"      "],[10,1],[14,0,"hds-dropdown-list-item__count hds-typography-body-100 hds-font-weight-medium"],[12],[1,[30,4]],[13],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"],[13]],["&attrs","@value","@icon","@count","&default"],false,["hds/form/checkbox/base","if","flight-icon","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/list-item/checkbox.js",isStrictMode:!1})
class l extends(i()){get id(){return(0,s.n)(this)}}(0,o.setComponentTemplate)(a,l)},2902:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"Ganrb2oS",block:'[[[1,"\\n"],[10,"li"],[15,0,[30,0,["classNames"]]],[14,"role","none"],[12],[1,"\\n  "],[8,[39,0],[[24,0,"hds-dropdown-list-item__interactive"],[17,1],[24,"role","option"],[16,"aria-selected",[52,[30,2],"true","false"]]],[["@current-when","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal"],[[30,3],[28,[37,2],[[30,4],[30,5]],null],[28,[37,3],[[30,6]],null],[30,7],[30,8],[30,9],[30,10],[30,11]]],[["default"],[[[[1,"\\n"],[41,[30,12],[[[1,"      "],[10,1],[14,0,"hds-dropdown-list-item__interactive-icon hds-dropdown-list-item__interactive-icon--leading"],[12],[1,"\\n        "],[8,[39,4],null,[["@name","@isInlineBlock"],[[30,12],false]],null],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"    "],[8,[39,5],[[24,0,"hds-dropdown-list-item__interactive-text"]],[["@tag","@size","@weight"],["span","200","medium"]],[["default"],[[[[1,"\\n      "],[18,14,null],[1,"\\n    "]],[]]]]],[1,"\\n"],[41,[30,13],[[[1,"      "],[8,[39,5],[[24,0,"hds-dropdown-list-item__count"]],[["@tag","@size","@weight","@color"],["span","100","medium","faint"]],[["default"],[[[[1,[30,13]]],[]]]]],[1,"\\n"]],[]],null],[1,"    "],[10,1],[14,0,"hds-dropdown-list-item__checkmark"],[12],[1,"\\n"],[41,[30,2],[[[1,"        "],[8,[39,4],[[24,0,"hds-dropdown-list-item__checkmark-icon"]],[["@name","@isInlineBlock"],["check",false]],null],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "]],[]]]]],[1,"\\n"],[13],[1,"\\n"]],["&attrs","@selected","@current-when","@model","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal","@icon","@count","&default"],false,["hds/interactive","if","hds-link-to-models","hds-link-to-query","flight-icon","hds/text/body","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/list-item/checkmark.js",isStrictMode:!1})
class a extends(i()){get classNames(){let e=["hds-dropdown-list-item","hds-dropdown-list-item--color-action","hds-dropdown-list-item--variant-checkmark"]
return this.args.selected&&e.push("hds-dropdown-list-item--variant-checkmark-selected"),e.join(" ")}}(0,s.setComponentTemplate)(o,a)},77211:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"180g+H2v",block:'[[[11,"li"],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n"],[41,[30,2],[[[1,"    "],[8,[39,1],[[24,0,"hds-dropdown-list-item__copy-item-title"]],[["@tag","@size","@weight","@color"],["div","100","semibold","faint"]],[["default"],[[[[1,[30,2]]],[]]]]],[1,"\\n"]],[]],null],[1,"  "],[8,[39,2],null,[["@color","@textToCopy","@isTruncated"],["secondary",[30,0,["text"]],[30,0,["isTruncated"]]]],null],[1,"\\n"],[13]],["&attrs","@copyItemTitle"],false,["if","hds/text/body","hds/copy/snippet"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/list-item/copy-item.js",isStrictMode:!1})
class l extends(i()){get text(){let{text:e}=this.args
return(0,s.assert)('@text for "Hds::Dropdown::ListItem::CopyItem" must have a valid value',void 0!==e),e}get isTruncated(){let{isTruncated:e=!0}=this.args
return e}get classNames(){return["hds-dropdown-list-item","hds-dropdown-list-item--variant-copy-item"].join(" ")}}(0,o.setComponentTemplate)(a,l)},62422:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"hijRZwuA",block:'[[[8,[39,0],[[24,0,"hds-dropdown-list-item hds-dropdown-list-item--variant-description"],[17,1]],[["@tag","@size","@weight","@color"],["li","100","regular","faint"]],[["default"],[[[[1,"\\n  "],[1,[30,0,["text"]]],[1,"\\n"]],[]]]]]],["&attrs"],false,["hds/text/body"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/list-item/description.js",isStrictMode:!1})
class l extends(i()){get text(){let{text:e}=this.args
return(0,s.assert)('@text for "Hds::Dropdown::ListItem::Description" must have a valid value',void 0!==e),e}}(0,o.setComponentTemplate)(a,l)},48290:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"LiuxzrlO",block:'[[[11,"li"],[24,0,"hds-dropdown-list-item hds-dropdown-list-item--variant-generic"],[17,1],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/list-item/generic.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},70245:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{COLORS:()=>c,DEFAULT_COLOR:()=>l,default:()=>u})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"H521O+lc",block:'[[[10,"li"],[15,0,[30,0,["classNames"]]],[12],[1,"\\n"],[41,[30,1],[[[1,"    "],[11,0],[24,0,"hds-dropdown-list-item__interactive-loading-wrapper"],[17,2],[12],[1,"\\n      "],[10,0],[14,0,"hds-dropdown-list-item__interactive-icon hds-dropdown-list-item__interactive-icon--leading"],[12],[1,"\\n        "],[8,[39,1],null,[["@name","@isInlineBlock"],["loading",false]],null],[1,"\\n      "],[13],[1,"\\n      "],[8,[39,2],[[24,0,"hds-dropdown-list-item__interactive-text"]],[["@tag","@size","@weight"],["div","100","regular"]],[["default"],[[[[1,"\\n        "],[1,[30,0,["text"]]],[1,"\\n      "]],[]]]]],[1,"\\n    "],[13],[1,"\\n"]],[]],[[[1,"    "],[8,[39,3],[[17,2]],[["@current-when","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal"],[[30,3],[28,[37,4],[[30,4],[30,5]],null],[28,[37,5],[[30,6]],null],[30,7],[30,8],[30,9],[30,10],[30,11]]],[["default"],[[[[1,"\\n"],[41,[30,12],[[[1,"        "],[10,1],[14,0,"hds-dropdown-list-item__interactive-icon hds-dropdown-list-item__interactive-icon--leading"],[12],[1,"\\n          "],[8,[39,1],null,[["@name","@isInlineBlock"],[[30,12],false]],null],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"      "],[8,[39,2],[[24,0,"hds-dropdown-list-item__interactive-text"]],[["@tag","@size","@weight"],["span","200","medium"]],[["default"],[[[[1,"\\n        "],[1,[30,0,["text"]]],[1,"\\n      "]],[]]]]],[1,"\\n"],[41,[30,13],[[[1,"        "],[10,1],[14,0,"hds-dropdown-list-item__interactive-icon hds-dropdown-list-item__interactive-icon--trailing"],[12],[1,"\\n          "],[8,[39,1],null,[["@name","@isInlineBlock"],[[30,13],false]],null],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"    "]],[]]]]],[1,"\\n"]],[]]],[13]],["@isLoading","&attrs","@current-when","@model","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal","@icon","@trailingIcon"],false,["if","flight-icon","hds/text/body","hds/interactive","hds-link-to-models","hds-link-to-query"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/list-item/interactive.js",isStrictMode:!1})
const l="action",c=["action","critical"]
class u extends(i()){get text(){let{text:e}=this.args
return(0,s.assert)('@text for "Hds::Dropdown::ListItem::Interactive" must have a valid value',void 0!==e),e}get color(){let{color:e=l}=this.args
return(0,s.assert)(`@color for "Hds::Dropdown::ListItem::Interactive" must be one of the following: ${c.join(", ")}; received: ${e}`,c.includes(e)),e}get classNames(){let e=["hds-dropdown-list-item","hds-dropdown-list-item--variant-interactive"]
return e.push(`hds-dropdown-list-item--color-${this.color}`),e.join(" ")}}(0,o.setComponentTemplate)(a,u)},3213:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(63928),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"qKoWV30y",block:'[[[1,"\\n"],[10,"li"],[14,0,"hds-dropdown-list-item hds-dropdown-list-item--variant-radio"],[12],[1,"\\n  "],[10,"label"],[14,0,"hds-dropdown-list-item__label hds-typography-body-200"],[15,"for",[30,0,["id"]]],[12],[1,"\\n    "],[8,[39,0],[[24,0,"hds-dropdown-list-item__control"],[16,1,[30,0,["id"]]],[17,1]],[["@value"],[[30,2]]],null],[1,"\\n"],[41,[30,3],[[[1,"      "],[10,0],[14,0,"hds-dropdown-list-item__icon"],[12],[1,"\\n        "],[8,[39,2],null,[["@name","@isInlineBlock"],[[30,3],false]],null],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"    "],[10,1],[14,0,"hds-dropdown-list-item__text-content"],[12],[18,5,null],[13],[1,"\\n\\n"],[41,[30,4],[[[1,"      "],[8,[39,4],[[24,0,"hds-dropdown-list-item__count"]],[["@tag","@size","@weight"],["span","100","medium"]],[["default"],[[[[1,[30,4]]],[]]]]],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"],[13]],["&attrs","@value","@icon","@count","&default"],false,["hds/form/radio/base","if","flight-icon","yield","hds/text/body"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/list-item/radio.js",isStrictMode:!1})
class l extends(i()){get id(){return(0,s.n)(this)}}(0,o.setComponentTemplate)(a,l)},82013:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"pJWWmVAT",block:'[[[11,"li"],[24,0,"hds-dropdown-list-item hds-dropdown-list-item--variant-separator"],[24,"aria-hidden","true"],[24,"role","separator"],[17,1],[12],[13]],["&attrs"],false,[]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/list-item/separator.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},37773:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"4XsVWg1j",block:'[[[8,[39,0],[[24,0,"hds-dropdown-list-item hds-dropdown-list-item--variant-title"],[17,1]],[["@tag","@size","@weight","@color"],["li","100","semibold","strong"]],[["default"],[[[[1,"\\n  "],[1,[30,0,["text"]]],[1,"\\n"]],[]]]]]],["&attrs"],false,["hds/text/body"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/list-item/title.js",isStrictMode:!1})
class l extends(i()){get text(){let{text:e}=this.args
return(0,s.assert)('@text for "Hds::Dropdown::ListItem::Title" must have a valid value',void 0!==e),e}}(0,o.setComponentTemplate)(a,l)},38130:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{COLORS:()=>p,DEFAULT_COLOR:()=>h,DEFAULT_SIZE:()=>u,SIZES:()=>d,default:()=>m})
var n=r(41507),i=r(17990),s=r.n(i),o=r(3353),a=r(29806),l=r(23574),c=(0,r(59266).createTemplateFactory)({id:"P5XbQQpD",block:'[[[11,"button"],[16,0,[30,0,["classNames"]]],[16,1,[30,0,["toggleButtonId"]]],[17,1],[24,4,"button"],[16,"aria-expanded",[52,[30,2],"true","false"]],[4,[38,1],["click",[30,0,["onClick"]]],null],[12],[1,"\\n"],[41,[30,3],[[[1,"    "],[10,0],[14,0,"hds-dropdown-toggle-button__icon"],[12],[1,"\\n      "],[8,[39,2],null,[["@name","@stretched"],[[30,3],true]],null],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[1,"  "],[10,0],[14,0,"hds-dropdown-toggle-button__text"],[12],[1,"\\n    "],[1,[30,0,["text"]]],[1,"\\n  "],[13],[1,"\\n"],[41,[30,4],[[[1,"    "],[8,[39,3],[[24,0,"hds-dropdown-toggle-button__count"]],[["@text","@size","@type"],[[30,4],"small",[30,0,["badgeType"]]]],null],[1,"\\n"]],[]],null],[41,[30,5],[[[1,"    "],[8,[39,4],[[24,0,"hds-dropdown-toggle-button__badge"]],[["@text","@icon","@size","@type"],[[30,5],[30,6],"small",[30,0,["badgeType"]]]],null],[1,"\\n"]],[]],null],[1,"  "],[8,[39,5],null,null,null],[1,"\\n"],[13]],["&attrs","@isOpen","@icon","@count","@badge","@badgeIcon"],false,["if","on","flight-icon","hds/badge-count","hds/badge","hds/dropdown/toggle/chevron"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/toggle/button.js",isStrictMode:!1})
const u="medium",h="primary",d=["small","medium"],p=["primary","secondary"],f=()=>{}
class m extends(s()){constructor(...e){super(...e),(0,n.a)(this,"toggleButtonId","toggle-button-"+(0,a.guidFor)(this))}get text(){let{text:e}=this.args
return(0,o.assert)('@text for "Hds::Dropdown::Toggle::Button" must have a valid value',void 0!==e),e}get size(){let{size:e=u}=this.args
return(0,o.assert)(`@size for "Hds::Dropdown::Toggle::Button" must be one of the following: ${d.join(", ")}; received: ${e}`,d.includes(e)),e}get color(){let{color:e=h}=this.args
return(0,o.assert)(`@color for "Hds::Dropdown::Toggle::Button" must be one of the following: ${p.join(", ")}; received: ${e}`,p.includes(e)),e}get isFullWidth(){return this.args.isFullWidth??!1}get onClick(){let{onClick:e}=this.args
return"function"==typeof e?e:f}get badgeType(){return"primary"!==this.color?"inverted":"filled"}get classNames(){let e=["hds-dropdown-toggle-button"]
return e.push(`hds-dropdown-toggle-button--size-${this.size}`),e.push(`hds-dropdown-toggle-button--color-${this.color}`),this.isFullWidth&&e.push("hds-dropdown-toggle-button--width-full"),this.args.isOpen&&e.push("hds-dropdown-toggle-button--is-open"),e.join(" ")}}(0,l.setComponentTemplate)(c,m)},80519:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"06emLGN+",block:'[[[1,"\\n"],[10,0],[14,0,"hds-dropdown-toggle-chevron"],[12],[1,"\\n  "],[8,[39,0],null,[["@name","@isInlineBlock"],["chevron-down",false]],null],[1,"\\n"],[13]],[],false,["flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/toggle/chevron.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},68686:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_SIZE:()=>p,SIZES:()=>f,default:()=>g})
var n,i,s=r(41507),o=r(17990),a=r.n(o),l=r(37219),c=r(3353),u=r(55521),h=r(23574),d=(0,r(59266).createTemplateFactory)({id:"ytsGXfSx",block:'[[[11,"button"],[16,0,[30,0,["classNames"]]],[16,"aria-label",[30,0,["text"]]],[17,1],[16,"aria-expanded",[52,[30,2],"true","false"]],[24,4,"button"],[4,[38,1],["click",[30,0,["onClick"]]],null],[4,[38,2],[[30,0,["onDidUpdateImageSrc"]],[30,3]],null],[12],[1,"\\n  "],[10,0],[14,0,"hds-dropdown-toggle-icon__wrapper"],[12],[1,"\\n"],[41,[30,3],[[[41,[30,0,["hasImage"]],[[[1,"        "],[11,"img"],[16,"src",[30,3]],[24,"alt",""],[24,"role","presentation"],[4,[38,1],["error",[30,0,["onImageLoadError"]]],null],[12],[13],[1,"\\n"]],[]],[[[1,"        "],[8,[39,3],null,[["@name","@size"],["user",[30,0,["iconSize"]]]],null],[1,"\\n"]],[]]]],[]],[[[41,[30,4],[[[1,"      "],[8,[39,3],null,[["@name","@size"],[[30,4],[30,0,["iconSize"]]]],null],[1,"\\n    "]],[]],null]],[]]],[1,"  "],[13],[1,"\\n"],[41,[30,0,["hasChevron"]],[[[1,"    "],[8,[39,4],null,null,null],[1,"\\n"]],[]],null],[13]],["&attrs","@isOpen","@imageSrc","@icon"],false,["if","on","did-update","flight-icon","hds/dropdown/toggle/chevron"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/dropdown/toggle/icon.js",isStrictMode:!1})
const p="medium",f=["small","medium"],m=()=>{}
let g=(n=class extends(a()){constructor(){super(...arguments),(0,s.b)(this,"hasImage",i,this),this.args.icon||this.args.imageSrc||(0,c.assert)('@icon or @imageSrc must be defined for "Hds::Dropdown::Toggle::Icon"')}onDidUpdateImageSrc(){this.hasImage=!0}onImageLoadError(){this.hasImage=!1}get text(){let{text:e}=this.args
return(0,c.assert)('@text for "Hds::Dropdown::Toggle::Icon" must have a valid value',void 0!==e),e}get size(){let{size:e=p}=this.args
return(0,c.assert)(`@size for "Hds::Dropdown::Toggle::Icon" must be one of the following: ${f.join(", ")}; received: ${e}`,f.includes(e)),e}get iconSize(){return"medium"!==this.args.size||this.hasChevron?"16":"24"}get hasChevron(){return this.args.hasChevron??!0}get onClick(){let{onClick:e}=this.args
return"function"==typeof e?e:m}get classNames(){let e=["hds-dropdown-toggle-icon"]
return e.push(`hds-dropdown-toggle-icon--size-${this.size}`),this.args.isOpen&&e.push("hds-dropdown-toggle-icon--is-open"),this.hasChevron&&e.push("hds-dropdown-toggle-icon--has-chevron"),e.join(" ")}},i=(0,s._)(n.prototype,"hasImage",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),(0,s._)(n.prototype,"onDidUpdateImageSrc",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"onDidUpdateImageSrc"),n.prototype),(0,s._)(n.prototype,"onImageLoadError",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"onImageLoadError"),n.prototype),n);(0,h.setComponentTemplate)(d,g)},61773:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"Rs9RUm0G",block:'[[[11,0],[24,0,"hds-flyout__body"],[17,1],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/flyout/body.js",isStrictMode:!1})
class l extends(i()){constructor(e){super(e,{}),(0,s.deprecate)("The `Hds::Flyout::Body` sub-component is now deprecated and will be removed in the next major version of `@hashicorp/design-system-components`. Use `Hds::DialogPrimitive::Body` as one-to-one replacement.",!1,{id:"hds.components.flyout.body",until:"5.0.0",url:"https://helios.hashicorp.design/components/flyout?tab=version%20history#460",for:"@hashicorp/design-system-components",since:{enabled:"4.6.0"}})}}(0,o.setComponentTemplate)(a,l)},53782:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"fThAyntS",block:'[[[8,[39,0],[[24,0,"hds-flyout__description"],[17,1]],[["@tag","@size","@color"],["div","200","primary"]],[["default"],[[[[1,"\\n  "],[18,2,null],[1,"\\n"]],[]]]]]],["&attrs","&default"],false,["hds/text/body","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/flyout/description.js",isStrictMode:!1})
class l extends(i()){constructor(e){super(e,{}),(0,s.deprecate)("The `Hds::Flyout::Description` sub-component is now deprecated and will be removed in the next major version of `@hashicorp/design-system-components`. Use `Hds::DialogPrimitive::Description` as one-to-one replacement.",!1,{id:"hds.components.flyout.description",until:"5.0.0",url:"https://helios.hashicorp.design/components/flyout?tab=version%20history#460",for:"@hashicorp/design-system-components",since:{enabled:"4.6.0"}})}}(0,o.setComponentTemplate)(a,l)},50206:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"a/gRG9qG",block:'[[[11,0],[24,0,"hds-flyout__footer"],[17,1],[12],[1,"\\n  "],[18,3,[[28,[37,1],null,[["close"],[[30,2]]]]]],[1,"\\n"],[13]],["&attrs","@onDismiss","&default"],false,["yield","hash"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/flyout/footer.js",isStrictMode:!1})
class l extends(i()){constructor(e,t){super(e,t),(0,s.deprecate)("The `Hds::Flyout::Footer` sub-component is now deprecated and will be removed in the next major version of `@hashicorp/design-system-components`. Use `Hds::DialogPrimitive::Footer` as one-to-one replacement.",!1,{id:"hds.components.flyout.footer",until:"5.0.0",url:"https://helios.hashicorp.design/components/flyout?tab=version%20history#460",for:"@hashicorp/design-system-components",since:{enabled:"4.6.0"}})}}(0,o.setComponentTemplate)(a,l)},97611:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"GCdl80C7",block:'[[[11,0],[24,0,"hds-flyout__header"],[17,1],[12],[1,"\\n"],[41,[30,2],[[[1,"    "],[8,[39,1],[[24,0,"hds-flyout__icon"]],[["@name","@size","@isInlineBlock"],[[30,2],"24",false]],null],[1,"\\n"]],[]],null],[1,"  "],[8,[39,2],[[24,0,"hds-flyout__title"],[16,1,[30,3]]],[["@tag","@size","@weight"],["div","300","semibold"]],[["default"],[[[[1,"\\n"],[41,[30,4],[[[1,"      "],[8,[39,3],[[24,0,"hds-flyout__tagline"]],[["@tag","@size","@weight","@color"],["div","100","regular","faint"]],[["default"],[[[[1,"\\n        "],[1,[30,4]],[1,"\\n      "]],[]]]]],[1,"\\n"]],[]],null],[1,"    "],[18,6,null],[1,"\\n  "]],[]]]]],[1,"\\n  "],[8,[39,5],[[24,0,"hds-flyout__dismiss"],[4,[38,6],["click",[30,5]],null]],null,null],[1,"\\n"],[13]],["&attrs","@icon","@id","@tagline","@onDismiss","&default"],false,["if","flight-icon","hds/text/display","hds/text/body","yield","hds/dismiss-button","on"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/flyout/header.js",isStrictMode:!1})
class l extends(i()){constructor(e,t){super(e,t),(0,s.deprecate)("The `Hds::Flyout::Header` sub-component is now deprecated and will be removed in the next major version of `@hashicorp/design-system-components`. Use `Hds::DialogPrimitive::Header` as one-to-one replacement.",!1,{id:"hds.components.flyout.header",until:"5.0.0",url:"https://helios.hashicorp.design/components/flyout?tab=version%20history#460",for:"@hashicorp/design-system-components",since:{enabled:"4.6.0"}})}}(0,o.setComponentTemplate)(a,l)},33464:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_HAS_OVERLAY:()=>v,DEFAULT_SIZE:()=>y,SIZES:()=>b,default:()=>w})
var n=r(41507),i=r(17990),s=r.n(i),o=r(55521),a=r(37219),l=r(3353),c=r(63928),u=r(7456)
let h=function(e){return e.Medium="medium",e.Large="large",e}({})
r(58228),r(8508),r(41968),r(70493)
var d,p,f=r(23574),m=(0,r(59266).createTemplateFactory)({id:"tzqOiS+O",block:'[[[8,[39,0],[[16,0,[30,0,["classNames"]]],[17,1],[16,"aria-labelledby",[30,0,["id"]]],[4,[38,1],[[30,0,["didInsert"]]],null],[4,[38,2],[[30,0,["willDestroyNode"]]],null],[4,[38,3],null,[["isActive","focusTrapOptions"],[[30,0,["isOpen"]],[28,[37,4],null,[["onDeactivate","clickOutsideDeactivates"],[[30,0,["onDismiss"]],true]]]]]]],null,[["header","body","footer"],[[[[1,"\\n    "],[18,2,[[28,[37,4],null,[["Header","Description"],[[50,"hds/dialog-primitive/header",0,null,[["id","onDismiss","contextualClassPrefix"],[[30,0,["id"]],[30,0,["onDismiss"]],"hds-flyout"]]],[50,"hds/dialog-primitive/description",0,null,[["contextualClass"],["hds-flyout__description"]]]]]]]],[1,"\\n  "]],[]],[[[1,"\\n    "],[18,2,[[28,[37,4],null,[["Body"],[[50,"hds/dialog-primitive/body",0,null,[["contextualClass"],["hds-flyout__body"]]]]]]]],[1,"\\n  "]],[]],[[[1,"\\n    "],[18,2,[[28,[37,4],null,[["Footer"],[[50,"hds/dialog-primitive/footer",0,null,[["onDismiss","contextualClass"],[[30,0,["onDismiss"]],"hds-flyout__footer"]]]]]]]],[1,"\\n  "]],[]]]]],[1,"\\n\\n"],[41,[30,0,["isOpen"]],[[[1,"  "],[8,[39,8],null,[["@contextualClass"],["hds-flyout__overlay"]],null],[1,"\\n"]],[]],null]],["&attrs","&default"],false,["hds/dialog-primitive/wrapper","did-insert","will-destroy","focus-trap","hash","yield","component","if","hds/dialog-primitive/overlay"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/flyout/index.js",isStrictMode:!1})
const g=(0,u.buildWaiter)("@hashicorp/design-system-components:flyout"),y=h.Medium,v=!0,b=Object.values(h)
let w=(d=class extends(s()){constructor(...e){super(...e),(0,n.b)(this,"isOpen",p,this),(0,n.a)(this,"element",void 0),(0,n.a)(this,"body",void 0),(0,n.a)(this,"bodyInitialOverflowValue","")}get size(){const{size:e=y}=this.args
return(0,l.assert)(`@size for "Hds::Flyout" must be one of the following: ${b.join(", ")}; received: ${e}`,b.includes(e)),e}get id(){return(0,c.n)(this)}get classNames(){const e=["hds-flyout"]
return e.push(`hds-flyout--size-${this.size}`),e.join(" ")}registerOnCloseCallback(e){this.args.onClose&&"function"==typeof this.args.onClose&&this.args.onClose(e),this.isOpen=!1}didInsert(e){this.element=e,this.body=document.body,this.body&&(this.bodyInitialOverflowValue=this.body.style.getPropertyValue("overflow")),this.element.addEventListener("close",this.registerOnCloseCallback,!0),this.element.open||this.open()}willDestroyNode(){this.element&&this.element.removeEventListener("close",this.registerOnCloseCallback,!0)}open(){this.element.showModal(),this.isOpen=!0,this.body&&this.body.style.setProperty("overflow","hidden"),this.args.onOpen&&"function"==typeof this.args.onOpen&&this.args.onOpen()}async onDismiss(){if(this.element.open){const e=g.beginAsync(),t=()=>{g.endAsync(e),this.element.removeEventListener("close",t)}
this.element.addEventListener("close",t)}this.element.close(),this.body&&(this.body.style.removeProperty("overflow"),""===this.bodyInitialOverflowValue?0===this.body.style.length&&this.body.removeAttribute("style"):this.body.style.setProperty("overflow",this.bodyInitialOverflowValue))}},p=(0,n._)(d.prototype,"isOpen",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n._)(d.prototype,"registerOnCloseCallback",[a.action],Object.getOwnPropertyDescriptor(d.prototype,"registerOnCloseCallback"),d.prototype),(0,n._)(d.prototype,"didInsert",[a.action],Object.getOwnPropertyDescriptor(d.prototype,"didInsert"),d.prototype),(0,n._)(d.prototype,"willDestroyNode",[a.action],Object.getOwnPropertyDescriptor(d.prototype,"willDestroyNode"),d.prototype),(0,n._)(d.prototype,"open",[a.action],Object.getOwnPropertyDescriptor(d.prototype,"open"),d.prototype),(0,n._)(d.prototype,"onDismiss",[a.action],Object.getOwnPropertyDescriptor(d.prototype,"onDismiss"),d.prototype),d);(0,f.setComponentTemplate)(m,w)},37982:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"h8cEqk70",block:'[[[8,[39,0],[[16,0,[30,0,["classNames"]]],[16,1,[30,0,["id"]]],[17,1],[24,"aria-live","polite"],[4,[38,1],[[30,0,["onInsert"]]],null]],[["@tag","@size"],["div","100"]],[["default"],[[[[1,"\\n"],[41,[48,[30,2]],[[[1,"    "],[18,2,[[28,[37,5],null,[["minLength","maxLength","currentLength","remaining","shortfall"],[[30,0,["minLength"]],[30,0,["maxLength"]],[30,0,["currentLength"]],[30,0,["remaining"]],[30,0,["shortfall"]]]]]]],[1,"\\n"]],[]],[[[1,"    "],[1,[30,0,["message"]]],[1,"\\n"]],[]]]],[]]]]]],["&attrs","&default"],false,["hds/text/body","did-insert","if","has-block","yield","hash"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/character-count/index.js",isStrictMode:!1})
const a=()=>{}
class l extends(i()){get currentLength(){const{value:e}=this.args
return e?e.length:0}_pluralize(e,t="",r="character",n="s"){return`${e}${t?" "+t:""} ${r}${1!==e?n:""}`}get maxLength(){const{maxLength:e}=this.args
if(e)return"number"==typeof e?e:parseInt(e)}get minLength(){const{minLength:e}=this.args
if(e)return"number"==typeof e?e:parseInt(e)}get remaining(){return this.maxLength?this.maxLength-this.currentLength:void 0}get shortfall(){return this.minLength?this.minLength-this.currentLength:void 0}get message(){let e=""
return e=this.minLength&&0===this.currentLength?`${this._pluralize(this.minLength)} required`:this.minLength&&this.currentLength<this.minLength?`${this._pluralize(this.shortfall,"more")} required`:this.maxLength&&0===this.currentLength?`${this._pluralize(this.maxLength)} allowed`:this.maxLength&&this.currentLength<=this.maxLength?`${this._pluralize(this.remaining)} remaining`:this.maxLength&&this.remaining&&this.currentLength>this.maxLength?`Exceeded by ${this._pluralize(-this.remaining)}`:`${this._pluralize(this.currentLength)} entered`,e}get id(){const{controlId:e}=this.args
return e?`character-count-${e}`:null}get onInsert(){const{onInsert:e}=this.args
return"function"==typeof e?e:a}get classNames(){const e=["hds-form-character-count"]
return this.args.contextualClass&&e.push(this.args.contextualClass),e.join(" ")}}(0,s.setComponentTemplate)(o,l)},84007:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"q2MLlJg3",block:'[[[11,"input"],[24,4,"checkbox"],[24,0,"hds-form-checkbox"],[17,1],[16,2,[30,2]],[12],[13]],["&attrs","@value"],false,[]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/checkbox/base.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},87752:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"J1xL3Kcb",block:'[[[8,[39,0],null,[["@layout","@contextualClass","@extraAriaDescribedBy","@id"],["flag",[30,1],[30,2],[30,3]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,9,[[28,[37,2],null,[["Label","HelperText","Error"],[[30,4,["Label"]],[30,4,["HelperText"]],[30,4,["Error"]]]]]]],[1,"\\n  "],[8,[30,4,["Control"]],null,null,[["default"],[[[[1,"\\n    "],[8,[39,3],[[16,3,[30,5]],[16,"required",[30,6]],[17,7],[16,1,[30,4,["id"]]],[16,"aria-describedby",[30,4,["ariaDescribedBy"]]]],[["@value"],[[30,8]]],null],[1,"\\n  "]],[]]]]],[1,"\\n"]],[4]]]]]],["@contextualClass","@extraAriaDescribedBy","@id","F","@name","@isRequired","&attrs","@value","&default"],false,["hds/form/field","yield","hash","hds/form/checkbox/base"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/checkbox/field.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},77377:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"21BAjwaJ",block:'[[[8,[39,0],[[17,1]],[["@layout","@isRequired","@isOptional"],[[30,2],[30,3],[30,4]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,7,[[28,[37,2],null,[["Legend","HelperText","Error"],[[30,5,["Legend"]],[30,5,["HelperText"]],[30,5,["Error"]]]]]]],[1,"\\n  "],[8,[30,5,["Control"]],null,null,[["default"],[[[[1,"\\n    "],[18,7,[[28,[37,2],null,[["CheckboxField"],[[50,"hds/form/checkbox/field",0,null,[["contextualClass","isRequired","name","extraAriaDescribedBy"],["hds-form-group__control-field",[30,3],[30,6],[30,5,["ariaDescribedBy"]]]]]]]]]],[1,"\\n  "]],[]]]]],[1,"\\n"]],[5]]]]]],["&attrs","@layout","@isRequired","@isOptional","F","@name","&default"],false,["hds/form/fieldset","yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/checkbox/group.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},77813:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{ID_PREFIX:()=>a,default:()=>c})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"/KRZf/F/",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[16,1,[30,0,["id"]]],[17,1],[4,[38,0],[[30,0,["onInsert"]]],null],[4,[38,1],[[30,0,["onRemove"]]],null],[12],[1,"\\n  "],[8,[39,2],[[24,0,"hds-form-error__icon"]],[["@name"],["alert-diamond-fill"]],null],[1,"\\n  "],[8,[39,3],[[24,0,"hds-form-error__content"]],[["@tag","@size","@weight"],["div","100","medium"]],[["default"],[[[[1,"\\n    "],[18,2,[[28,[37,5],null,[["Message"],[[50,"hds/form/error/message",0,null,null]]]]]],[1,"\\n  "]],[]]]]],[1,"\\n"],[13]],["&attrs","&default"],false,["did-insert","will-destroy","flight-icon","hds/text/body","yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/error/index.js",isStrictMode:!1})
const a="error-",l=()=>{}
class c extends(i()){get id(){const{controlId:e}=this.args
return e?`${a}${e}`:null}get onInsert(){const{onInsert:e}=this.args
return"function"==typeof e?e:l}get onRemove(){const{onRemove:e}=this.args
return"function"==typeof e?e:l}get classNames(){const e=["hds-form-error"]
return this.args.contextualClass&&e.push(this.args.contextualClass),e.join(" ")}}(0,s.setComponentTemplate)(o,c)},17751:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"TJizXHl4",block:'[[[8,[39,0],[[24,0,"hds-form-error__message"],[17,1]],[["@tag","@size","@weight"],["p","100","medium"]],[["default"],[[[[1,"\\n  "],[18,2,null],[1,"\\n"]],[]]]]]],["&attrs","&default"],false,["hds/text/body","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/error/message.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},65660:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{LAYOUT_TYPES:()=>m,default:()=>y})
var n=r(41507),i=r(17990),s=r.n(i),o=r(3353),a=r(37219),l=r(63928),c=r(60402)
let u=function(e){return e.Vertical="vertical",e.Flag="flag",e}({})
r(47477),r(64819),r(37982),r(77813)
var h,d=r(80836),p=r(23574),f=(0,r(59266).createTemplateFactory)({id:"a99h46zo",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n  "],[18,2,[[28,[37,1],null,[["Label"],[[50,"hds/form/label",0,null,[["controlId","isRequired","isOptional","contextualClass"],[[30,0,["id"]],[30,0,["isRequired"]],[30,0,["isOptional"]],"hds-form-field__label"]]]]]]]],[1,"\\n  "],[18,2,[[28,[37,1],null,[["HelperText"],[[50,"hds/form/helper-text",0,null,[["controlId","onInsert","contextualClass"],[[30,0,["id"]],[30,0,["appendDescriptor"]],"hds-form-field__helper-text"]]]]]]]],[1,"\\n  "],[10,0],[14,0,"hds-form-field__control"],[12],[1,"\\n"],[1,"    "],[18,2,[[28,[37,1],null,[["Control","id","ariaDescribedBy"],[[50,"hds/yield",0,null,null],[30,0,["id"]],[30,0,["ariaDescribedBy"]]]]]]],[1,"\\n  "],[13],[1,"\\n  "],[18,2,[[28,[37,1],null,[["CharacterCount"],[[50,"hds/form/character-count",0,null,[["controlId","onInsert","contextualClass"],[[30,0,["id"]],[30,0,["appendDescriptor"]],"hds-form-field__character-count"]]]]]]]],[1,"\\n  "],[18,2,[[28,[37,1],null,[["Error"],[[50,"hds/form/error",0,null,[["controlId","onInsert","onRemove","contextualClass"],[[30,0,["id"]],[30,0,["appendDescriptor"]],[30,0,["removeDescriptor"]],"hds-form-field__error"]]]]]]]],[1,"\\n"],[13]],["&attrs","&default"],false,["yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/field/index.js",isStrictMode:!1})
const m=Object.values(u),g=(0,d.c)((h=class extends(s()){get layout(){const{layout:e}=this.args
return(0,o.assert)(`@layout for "Hds::Form::Field" must be one of the following: ${m.join(", ")}; received: ${e}`,m.includes(e)),e}get id(){return(0,l.n)(this)}get isRequired(){return this.args.isRequired||!1}get isOptional(){return this.args.isOptional||!1}get classNames(){const e=[]
return this.args.layout&&e.push(`hds-form-field--layout-${this.layout}`),this.args.contextualClass&&e.push(this.args.contextualClass),e.join(" ")}appendDescriptor(e){(0,c.C)(this,e)}removeDescriptor(e){(0,c.W5)(this,e)}},(0,n._)(h.prototype,"appendDescriptor",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"appendDescriptor"),h.prototype),(0,n._)(h.prototype,"removeDescriptor",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"removeDescriptor"),h.prototype),h),[c.qd])
var y=(0,p.setComponentTemplate)(f,g)},86943:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>m})
var n=r(41507),i=r(17990),s=r.n(i),o=r(37219),a=r(63928),l=r(60402)
let c=function(e){return e.Vertical="vertical",e.Flag="flag",e}({})
r(35693),r(64819),r(77813)
var u,h=r(80836),d=r(23574),p=(0,r(59266).createTemplateFactory)({id:"6LBbM/LY",block:'[[[11,"fieldset"],[16,0,[30,0,["classNames"]]],[16,1,[30,0,["id"]]],[17,1],[12],[1,"\\n  "],[18,2,[[28,[37,1],null,[["Legend"],[[50,"hds/form/legend",0,null,[["isRequired","isOptional","contextualClass"],[[30,0,["isRequired"]],[30,0,["isOptional"]],"hds-form-group__legend"]]]]]]]],[1,"\\n  "],[18,2,[[28,[37,1],null,[["HelperText"],[[50,"hds/form/helper-text",0,null,[["controlId","onInsert","contextualClass"],[[30,0,["id"]],[30,0,["appendDescriptor"]],"hds-form-group__helper-text"]]]]]]]],[1,"\\n  "],[10,0],[14,0,"hds-form-group__control-fields-wrapper"],[12],[1,"\\n"],[1,"    "],[18,2,[[28,[37,1],null,[["Control","ariaDescribedBy"],[[50,"hds/yield",0,null,null],[30,0,["ariaDescribedBy"]]]]]]],[1,"\\n  "],[13],[1,"\\n  "],[18,2,[[28,[37,1],null,[["Error"],[[50,"hds/form/error",0,null,[["controlId","onInsert","onRemove","contextualClass"],[[30,0,["id"]],[30,0,["appendDescriptor"]],[30,0,["removeDescriptor"]],"hds-form-group__error"]]]]]]]],[1,"\\n"],[13]],["&attrs","&default"],false,["yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/fieldset/index.js",isStrictMode:!1})
const f=(0,h.c)((u=class extends(s()){get layout(){return this.args.layout??c.Vertical}get id(){return(0,a.n)(this)}get isRequired(){return this.args.isRequired||!1}get isOptional(){return this.args.isOptional||!1}get classNames(){const e=["hds-form-group"]
return e.push(`hds-form-group--layout-${this.layout}`),e.join(" ")}appendDescriptor(e){(0,l.C)(this,e)}removeDescriptor(e){(0,l.W5)(this,e)}},(0,n._)(u.prototype,"appendDescriptor",[o.action],Object.getOwnPropertyDescriptor(u.prototype,"appendDescriptor"),u.prototype),(0,n._)(u.prototype,"removeDescriptor",[o.action],Object.getOwnPropertyDescriptor(u.prototype,"removeDescriptor"),u.prototype),u),[l.qd])
var m=(0,d.setComponentTemplate)(p,f)},31611:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"N8iKt3RF",block:'[[[11,"input"],[24,0,"hds-form-file-input hds-typography-body-200"],[17,1],[24,4,"file"],[12],[13]],["&attrs"],false,[]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/file-input/base.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},17055:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"i8/bCQsB",block:'[[[8,[39,0],null,[["@layout","@extraAriaDescribedBy","@isRequired","@isOptional","@id"],["vertical",[30,1],[30,2],[30,3],[30,4]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,7,[[28,[37,2],null,[["Label","HelperText","Error"],[[30,5,["Label"]],[30,5,["HelperText"]],[30,5,["Error"]]]]]]],[1,"\\n  "],[8,[30,5,["Control"]],null,null,[["default"],[[[[1,"\\n    "],[8,[39,3],[[16,"required",[30,2]],[17,6],[16,1,[30,5,["id"]]],[16,"aria-describedby",[30,5,["ariaDescribedBy"]]]],null,null],[1,"\\n  "]],[]]]]],[1,"\\n"]],[5]]]]]],["@extraAriaDescribedBy","@isRequired","@isOptional","@id","F","&attrs","&default"],false,["hds/form/field","yield","hash","hds/form/file-input/base"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/file-input/field.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},64819:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{ID_PREFIX:()=>a,default:()=>c})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"EA1ogSDE",block:'[[[8,[39,0],[[16,0,[30,0,["classNames"]]],[16,1,[30,0,["id"]]],[17,1],[4,[38,1],[[30,0,["onInsert"]]],null]],[["@tag","@size","@weight"],["div","100","regular"]],[["default"],[[[[1,"\\n  "],[18,2,null],[1,"\\n"]],[]]]]]],["&attrs","&default"],false,["hds/text/body","did-insert","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/helper-text/index.js",isStrictMode:!1})
const a="helper-text-",l=()=>{}
class c extends(i()){get id(){const{controlId:e}=this.args
return e?`${a}${e}`:null}get onInsert(){const{onInsert:e}=this.args
return"function"==typeof e?e:l}get classNames(){const e=["hds-form-helper-text"]
return this.args.contextualClass&&e.push(this.args.contextualClass),e.join(" ")}}(0,s.setComponentTemplate)(o,c)},26783:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"K320Lpmx",block:'[[[41,[30,1],[[[1,"  "],[8,[39,1],[[16,0,[30,0,["classNames"]]],[24,"tag","span"]],[["@size","@weight"],["100","regular"]],[["default"],[[[[1,"(Optional)"]],[]]]]],[1,"\\n"]],[]],null],[41,[30,2],[[[1,"   "],[8,[39,2],[[24,"aria-hidden","true"],[16,0,[30,0,["classNames"]]]],[["@size","@color","@text"],["small","neutral","Required"]],null],[1,"\\n"]],[]],null]],["@isOptional","@isRequired"],false,["if","hds/text/body","hds/badge"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/indicator/index.js",isStrictMode:!1})
class a extends(i()){get classNames(){const e=["hds-form-indicator"]
return this.args.isOptional&&e.push("hds-form-indicator--optional"),e.join(" ")}}(0,s.setComponentTemplate)(o,a)},47477:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{ID_PREFIX:()=>a,default:()=>l})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"1iyvy1te",block:'[[[11,"label"],[16,0,[30,0,["classNames"]]],[16,"for",[30,1]],[16,1,[30,0,["id"]]],[17,2],[12],[1,"\\n  "],[18,5,null],[1,"\\n  "],[8,[39,1],null,[["@isRequired","@isOptional"],[[30,3],[30,4]]],null],[1,"\\n"],[13]],["@controlId","&attrs","@isRequired","@isOptional","&default"],false,["yield","hds/form/indicator"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/label/index.js",isStrictMode:!1})
const a="label-"
class l extends(i()){get id(){const{controlId:e}=this.args
return e?`${a}${e}`:null}get classNames(){const e=["hds-form-label"]
return e.push("hds-typography-body-200","hds-font-weight-semibold"),this.args.contextualClass&&e.push(this.args.contextualClass),e.join(" ")}}(0,s.setComponentTemplate)(o,l)},35693:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"1ENSeSVA",block:'[[[11,"legend"],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n  "],[18,4,null],[1,"\\n  "],[8,[39,1],null,[["@isRequired","@isOptional"],[[30,2],[30,3]]],null],[1,"\\n"],[13]],["&attrs","@isRequired","@isOptional","&default"],false,["yield","hds/form/indicator"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/legend/index.js",isStrictMode:!1})
class a extends(i()){get classNames(){const e=["hds-form-legend"]
return e.push("hds-typography-body-200","hds-font-weight-semibold"),this.args.contextualClass&&e.push(this.args.contextualClass),e.join(" ")}}(0,s.setComponentTemplate)(o,a)},62966:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>p})
var n,i,s=r(41507),o=r(17990),a=r.n(o),l=r(55521),c=r(37219),u=r(63928),h=r(23574),d=(0,r(59266).createTemplateFactory)({id:"MakcAbkB",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[4,[38,0],null,[["width"],[[30,1]]]],[12],[1,"\\n"],[41,[30,2],[[[1,"    "],[8,[39,2],[[24,0,"hds-form-masked-input__control"],[16,1,[30,0,["id"]]],[17,3]],[["@value","@isInvalid","@height"],[[30,4],[30,5],[30,6]]],null],[1,"\\n"]],[]],[[[1,"    "],[8,[39,3],[[24,0,"hds-form-masked-input__control"],[16,1,[30,0,["id"]]],[17,3]],[["@value","@isInvalid"],[[30,4],[30,5]]],null],[1,"\\n"]],[]]],[1,"  "],[8,[39,4],[[16,"aria-controls",[30,0,["id"]]],[24,0,"hds-form-masked-input__toggle-button"],[4,[38,5],["click",[30,0,["onClickToggleMasking"]]],null]],[["@isVisible","@ariaLabel","@ariaMessageText"],[[30,0,["isContentMasked"]],[30,0,["visibilityToggleAriaLabel"]],[30,0,["visibilityToggleAriaMessageText"]]]],null],[1,"\\n"],[41,[30,7],[[[1,"    "],[8,[39,6],[[24,0,"hds-form-masked-input__copy-button"]],[["@text","@isIconOnly","@targetToCopy"],[[30,0,["copyButtonText"]],true,[29,["#",[30,0,["id"]]]]]],null],[1,"\\n"]],[]],null],[13]],["@width","@isMultiline","&attrs","@value","@isInvalid","@height","@hasCopyButton"],false,["style","if","hds/form/textarea/base","hds/form/text-input/base","hds/form/visibility-toggle","on","hds/copy/button"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/masked-input/base.js",isStrictMode:!1})
let p=(n=class extends(a()){constructor(...e){super(...e),(0,s.b)(this,"isContentMasked",i,this)}onClickToggleMasking(){this.isContentMasked=!this.isContentMasked}get id(){return(0,u.n)(this)}get visibilityToggleAriaLabel(){return this.args.visibilityToggleAriaLabel?this.args.visibilityToggleAriaLabel:this.isContentMasked?"Show masked content":"Hide masked content"}get visibilityToggleAriaMessageText(){return this.args.visibilityToggleAriaMessageText?this.args.visibilityToggleAriaMessageText:this.isContentMasked?"Input content is hidden":"Input content is visible"}get copyButtonText(){return this.args.copyButtonText?this.args.copyButtonText:"Copy masked content"}get classNames(){const e=["hds-form-masked-input"]
return this.isContentMasked?e.push("hds-form-masked-input--is-masked"):e.push("hds-form-masked-input--is-not-masked"),e.join(" ")}},i=(0,s._)(n.prototype,"isContentMasked",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.isContentMasked??!0}}),(0,s._)(n.prototype,"onClickToggleMasking",[c.action],Object.getOwnPropertyDescriptor(n.prototype,"onClickToggleMasking"),n.prototype),n);(0,h.setComponentTemplate)(d,p)},29431:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"KYpSE5Lx",block:'[[[8,[39,0],null,[["@layout","@extraAriaDescribedBy","@isRequired","@isOptional","@id"],["vertical",[30,1],[30,2],[30,3],[30,4]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,16,[[28,[37,2],null,[["Label","HelperText","Error"],[[30,5,["Label"]],[30,5,["HelperText"]],[30,5,["Error"]]]]]]],[1,"\\n"],[41,[30,5,["CharacterCount"]],[[[1,"    "],[18,16,[[28,[37,2],null,[["CharacterCount"],[[50,[30,5,["CharacterCount"]],0,null,[["value"],[[30,6]]]]]]]]],[1,"\\n"]],[]],null],[1,"  "],[8,[30,5,["Control"]],null,null,[["default"],[[[[1,"\\n    "],[8,[39,5],[[16,"required",[30,2]],[17,7],[16,"aria-describedby",[30,5,["ariaDescribedBy"]]]],[["@hasCopyButton","@isMultiline","@isContentMasked","@visibilityToggleAriaLabel","@visibilityToggleAriaMessageText","@value","@isInvalid","@width","@height","@id"],[[30,8],[30,9],[30,10],[30,11],[30,12],[30,6],[30,13],[30,14],[30,15],[30,5,["id"]]]],null],[1,"\\n  "]],[]]]]],[1,"\\n"]],[5]]]]]],["@extraAriaDescribedBy","@isRequired","@isOptional","@id","F","@value","&attrs","@hasCopyButton","@isMultiline","@isContentMasked","@visibilityToggleAriaLabel","@visibilityToggleAriaMessageText","@isInvalid","@width","@height","&default"],false,["hds/form/field","yield","hash","if","component","hds/form/masked-input/base"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/masked-input/field.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},73786:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"mJq+8dIp",block:'[[[8,[39,0],[[24,0,"hds-form-radio-card__description"],[17,1]],[["@tag","@size"],["span","100"]],[["default"],[[[[18,2,null]],[]]]]]],["&attrs","&default"],false,["hds/text/body","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/radio-card/description.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},21588:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"ceGmaMNw",block:'[[[8,[39,0],[[24,0,"hds-form-group--radio-cards"],[17,1]],[["@layout","@isRequired","@isOptional"],[[52,[28,[37,2],[[30,2],"vertical"],null],"vertical","horizontal"],[30,3],[30,4]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,9,[[28,[37,4],null,[["Legend","HelperText","Error"],[[30,5,["Legend"]],[30,5,["HelperText"]],[30,5,["Error"]]]]]]],[1,"\\n  "],[8,[30,5,["Control"]],null,null,[["default"],[[[[1,"\\n    "],[18,9,[[28,[37,4],null,[["RadioCard"],[[50,"hds/form/radio-card",0,null,[["name","alignment","controlPosition","extraAriaDescribedBy"],[[30,6],[30,7],[30,8],[30,5,["ariaDescribedBy"]]]]]]]]]],[1,"\\n  "]],[]]]]],[1,"\\n"]],[5]]]]]],["&attrs","@layout","@isRequired","@isOptional","F","@name","@alignment","@controlPosition","&default"],false,["hds/form/fieldset","if","eq","yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/radio-card/group.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},86839:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{ALIGNMENTS:()=>p,CONTROL_POSITIONS:()=>d,DEFAULT_ALIGNMENT:()=>h,DEFAULT_CONTROL_POSITION:()=>u,default:()=>f})
var n=r(17990),i=r.n(n),s=r(3353)
let o=function(e){return e.Bottom="bottom",e.Left="left",e}({}),a=function(e){return e.Left="left",e.Center="center",e}({})
var l=r(23574),c=(0,r(59266).createTemplateFactory)({id:"cofW701A",block:'[[[11,"label"],[16,0,[30,0,["classNames"]]],[4,[38,0],null,[["maxWidth"],[[30,1]]]],[12],[1,"\\n  "],[10,1],[14,0,"hds-form-radio-card__content"],[12],[1,"\\n    "],[18,8,[[28,[37,2],null,[["Icon"],[[50,"flight-icon",0,null,[["size","isInlineBlock"],["24",false]]]]]]]],[1,"\\n    "],[18,8,[[28,[37,2],null,[["Label"],[[50,"hds/form/radio-card/label",0,null,null]]]]]],[1,"\\n    "],[18,8,[[28,[37,2],null,[["Badge"],[[50,"hds/badge",0,null,null]]]]]],[1,"\\n    "],[18,8,[[28,[37,2],null,[["Description"],[[50,"hds/form/radio-card/description",0,null,null]]]]]],[1,"\\n    "],[18,8,[[28,[37,2],null,[["Generic"],[[50,"hds/yield",0,null,null]]]]]],[1,"\\n  "],[13],[1,"\\n  "],[10,1],[14,0,"hds-form-radio-card__control-wrapper"],[12],[1,"\\n    "],[8,[39,4],[[24,0,"hds-form-radio-card__control"],[16,3,[30,2]],[16,"checked",[30,3]],[16,"disabled",[30,4]],[16,"aria-describedby",[30,5]],[17,6]],[["@value"],[[30,7]]],null],[1,"\\n  "],[13],[1,"\\n"],[13]],["@maxWidth","@name","@checked","@disabled","@extraAriaDescribedBy","&attrs","@value","&default"],false,["style","yield","hash","component","hds/form/radio/base"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/radio-card/index.js",isStrictMode:!1})
const u=o.Bottom,h=a.Left,d=Object.values(o),p=Object.values(a)
class f extends(i()){get controlPosition(){const{controlPosition:e=u}=this.args
return(0,s.assert)(`@controlPosition for "Hds::Form::RadioCard" must be one of the following: ${d.join(", ")}; received: ${e}`,d.includes(e)),e}get alignment(){const{alignment:e=h}=this.args
return(0,s.assert)(`@alignment for "Hds::Form::RadioCard" must be one of the following: ${p.join(", ")}; received: ${e}`,p.includes(e)),e}get classNames(){const e=["hds-form-radio-card"]
return this.args.checked&&e.push("hds-form-radio-card--checked"),this.args.disabled&&e.push("hds-form-radio-card--disabled"),this.args.maxWidth?e.push("hds-form-radio-card--has-fixed-width"):e.push("hds-form-radio-card--has-fluid-width"),e.push(`hds-form-radio-card--control-${this.controlPosition}`),e.push(`hds-form-radio-card--align-${this.alignment}`),e.join(" ")}}(0,l.setComponentTemplate)(c,f)},98314:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"g0TnKR0b",block:'[[[8,[39,0],[[24,0,"hds-form-radio-card__label"],[17,1]],[["@tag","@size","@weight"],["span","300","bold"]],[["default"],[[[[18,2,null]],[]]]]]],["&attrs","&default"],false,["hds/text/display","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/radio-card/label.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},37289:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"f0VJJZBI",block:'[[[11,"input"],[24,4,"radio"],[24,0,"hds-form-radio"],[17,1],[16,2,[30,2]],[12],[13]],["&attrs","@value"],false,[]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/radio/base.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},43371:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"RPj+D9Di",block:'[[[8,[39,0],null,[["@layout","@contextualClass","@extraAriaDescribedBy","@id"],["flag",[30,1],[30,2],[30,3]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,9,[[28,[37,2],null,[["Label","HelperText","Error"],[[30,4,["Label"]],[30,4,["HelperText"]],[30,4,["Error"]]]]]]],[1,"\\n  "],[8,[30,4,["Control"]],null,null,[["default"],[[[[1,"\\n    "],[8,[39,3],[[16,3,[30,5]],[16,"required",[30,6]],[17,7],[16,1,[30,4,["id"]]],[16,"aria-describedby",[30,4,["ariaDescribedBy"]]]],[["@value"],[[30,8]]],null],[1,"\\n  "]],[]]]]],[1,"\\n"]],[4]]]]]],["@contextualClass","@extraAriaDescribedBy","@id","F","@name","@isRequired","&attrs","@value","&default"],false,["hds/form/field","yield","hash","hds/form/radio/base"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/radio/field.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},81653:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"PWyKN32C",block:'[[[8,[39,0],[[17,1]],[["@layout","@isRequired","@isOptional"],[[30,2],[30,3],[30,4]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,7,[[28,[37,2],null,[["Legend","HelperText","Error"],[[30,5,["Legend"]],[30,5,["HelperText"]],[30,5,["Error"]]]]]]],[1,"\\n  "],[8,[30,5,["Control"]],null,null,[["default"],[[[[1,"\\n    "],[18,7,[[28,[37,2],null,[["RadioField"],[[50,"hds/form/radio/field",0,null,[["contextualClass","isRequired","name","extraAriaDescribedBy"],["hds-form-group__control-field",[30,3],[30,6],[30,5,["ariaDescribedBy"]]]]]]]]]],[1,"\\n  "]],[]]]]],[1,"\\n"]],[5]]]]]],["&attrs","@layout","@isRequired","@isOptional","F","@name","&default"],false,["hds/form/fieldset","yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/radio/group.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},13313:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"ISoez+Je",block:'[[[11,"select"],[16,0,[30,0,["classNames"]]],[17,1],[4,[38,0],null,[["width"],[[30,2]]]],[12],[1,"\\n  "],[18,3,[[28,[37,2],null,[["Options"],[[50,"hds/yield",0,null,null]]]]]],[1,"\\n"],[13]],["&attrs","@width","&default"],false,["style","yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/select/base.js",isStrictMode:!1})
class a extends(i()){get classNames(){const e=["hds-form-select"]
return e.push("hds-typography-body-200","hds-font-weight-regular"),this.args.isInvalid&&e.push("hds-form-select--is-invalid"),e.join(" ")}}(0,s.setComponentTemplate)(o,a)},54494:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"qTgzk0jR",block:'[[[8,[39,0],null,[["@layout","@extraAriaDescribedBy","@isRequired","@isOptional","@id"],["vertical",[30,1],[30,2],[30,3],[30,4]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,10,[[28,[37,2],null,[["Label","HelperText","Error"],[[30,5,["Label"]],[30,5,["HelperText"]],[30,5,["Error"]]]]]]],[1,"\\n  "],[8,[30,5,["Control"]],null,null,[["default"],[[[[1,"\\n    "],[8,[39,3],[[16,"required",[30,2]],[17,6],[16,1,[30,5,["id"]]],[16,"aria-describedby",[30,5,["ariaDescribedBy"]]]],[["@isInvalid","@width"],[[30,7],[30,8]]],[["default"],[[[[1,"\\n      "],[18,10,[[28,[37,2],null,[["Options"],[[30,9,["Options"]]]]]]],[1,"\\n    "]],[9]]]]],[1,"\\n  "]],[]]]]],[1,"\\n"]],[5]]]]]],["@extraAriaDescribedBy","@isRequired","@isOptional","@id","F","&attrs","@isInvalid","@width","S","&default"],false,["hds/form/field","yield","hash","hds/form/select/base"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/select/field.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},97033:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"dTEY3YWn",block:'[[[41,[30,1],[[[1,"  "],[8,[39,1],[[24,0,"hds-form-super-select__no-options-selected hds-foreground-strong"]],[["@tag","@size"],["div","200"]],[["default"],[[[[1,"\\n    No options selected\\n  "]],[]]]]],[1,"\\n"]],[]],null],[10,0],[14,0,"hds-form-super-select__after-options"],[12],[1,"\\n"],[41,[30,2],[[[1,"    "],[8,[39,1],[[24,0,"hds-foreground-strong"]],[["@tag","@size"],["div","100"]],[["default"],[[[[1,"\\n      "],[1,[30,2]],[1,"\\n    "]],[]]]]],[1,"\\n"]],[]],[[[41,[28,[37,2],[[30,3],[30,4],[30,5]],null],[[[41,[30,6],[[[1,"        "],[8,[39,3],[[4,[38,4],["click",[30,3]],null]],[["@text","@size","@color"],["Show all","small","secondary"]],null],[1,"\\n"]],[]],[[[1,"        "],[8,[39,3],[[4,[38,4],["click",[30,4]],null]],[["@text","@size","@color"],["Show selected","small","secondary"]],null],[1,"\\n"]],[]]],[41,[28,[37,5],[[30,7],"0"],null],[[[1,"        "],[8,[39,3],[[4,[38,4],["click",[30,5]],null]],[["@text","@size","@color"],["Clear selected","small","secondary"]],null],[1,"\\n"]],[]],null]],[]],null],[1,"    "],[8,[39,1],[[24,0,"hds-form-super-select__result-count hds-foreground-strong"]],[["@tag","@size"],["div","100"]],[["default"],[[[[1,"\\n      "],[1,[30,8]],[1,"\\n    "]],[]]]]],[1,"\\n"]],[]]],[13]],["@showNoSelectedMessage","@content","@showAll","@showSelected","@clearSelected","@showOnlySelected","@selectedCount","@resultCountMessage"],false,["if","hds/text/body","or","hds/button","on","not-eq"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/super-select/after-options.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},80461:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>m})
var n,i,s,o,a=r(41507),l=r(142),c=r(26704),u=r(37219),h=r(55521),d=r(23574),p=(0,r(59266).createTemplateFactory)({id:"dNCHwU7k",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[4,[38,0],[[30,0,["dropdownMaxWidthStyle"]]],null],[12],[1,"\\n  "],[8,[39,1],[[17,1]],[["@afterOptionsComponent","@ariaDescribedBy","@ariaInvalid","@ariaLabel","@ariaLabelledBy","@beforeOptionsComponent","@calculatePosition","@closeOnSelect","@disabled","@dropdownClass","@extra","@groupComponent","@horizontalPosition","@initiallyOpened","@labelText","@loadingMessage","@matcher","@matchTriggerWidth","@noMatchesMessage","@onBlur","@onChange","@onClose","@onFocus","@onInput","@onKeydown","@onOpen","@options","@optionsComponent","@placeholder","@placeholderComponent","@preventScroll","@registerAPI","@renderInPlace","@resultCountMessage","@scrollTo","@search","@searchEnabled","@searchField","@searchMessage","@searchPlaceholder","@selected","@selectedItemComponent","@tabindex","@triggerClass","@triggerComponent","@triggerId","@triggerRole","@typeAheadMatcher","@verticalPosition"],[[52,[30,0,["showAfterOptions"]],[28,[37,3],[[30,2],[50,"hds/form/super-select/after-options",0,null,[["content","resultCountMessage","showNoSelectedMessage","showOnlySelected","showSelected","showAll","clearSelected","selectedCount"],[[30,3],[30,0,["resultCountMessage"]],[30,0,["showNoSelectedMessage"]],[30,0,["showOnlySelected"]],[30,0,["showSelected"]],[30,0,["showAll"]],[30,0,["clearSelected"]],[30,0,["selectedCount"]]]]]],null]],[30,4],[30,5],[30,6],[30,7],[30,8],[52,[30,9],[27],[30,0,["calculatePosition"]]],false,[30,10],[30,11],[30,12],[50,"hds/form/super-select/option-group",0,null,null],[30,13],[30,14],[30,15],[30,16],[30,17],[52,[30,18],false,[30,19]],[30,20],[30,21],[30,22],[30,23],[30,24],[30,25],[30,26],[30,27],[30,28],[30,29],[30,30],[30,31],[30,32],[30,0,["setPowerSelectAPI"]],true,[30,33],[30,34],[30,35],[30,36],[30,37],[30,38],[30,0,["searchPlaceholder"]],[30,39],[30,40],[30,41],[30,42],[30,43],[30,44],[30,45],[30,46],[30,9]]],[["default"],[[[[1,"\\n"],[1,"    "],[18,49,[[30,47],[30,48]]],[1,"\\n  "]],[47,48]]]]],[1,"\\n"],[13]],["&attrs","@afterOptionsComponent","@afterOptionsContent","@ariaDescribedBy","@ariaInvalid","@ariaLabel","@ariaLabelledBy","@beforeOptionsComponent","@verticalPosition","@disabled","@dropdownClass","@extra","@horizontalPosition","@initiallyOpened","@labelText","@loadingMessage","@matcher","@dropdownMaxWidth","@matchTriggerWidth","@noMatchesMessage","@onBlur","@onChange","@onClose","@onFocus","@onInput","@onKeydown","@onOpen","@options","@optionsComponent","@placeholder","@placeholderComponent","@preventScroll","@resultCountMessage","@scrollTo","@search","@searchEnabled","@searchField","@searchMessage","@selected","@selectedItemComponent","@tabindex","@triggerClass","@triggerComponent","@triggerId","@triggerRole","@typeAheadMatcher","option","select","&default"],false,["style","power-select-multiple","if","or","component","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/super-select/multiple/base.js",isStrictMode:!1})
const f={left:"bottom-start",center:"bottom",right:"bottom-end"}
let m=(n=class extends l.default{constructor(...e){super(...e),(0,a.b)(this,"powerSelectAPI",i,this),(0,a.b)(this,"showOnlySelected",s,this),(0,a.b)(this,"showNoSelectedMessage",o,this)}get selectedCount(){return this.selected?.length||"0"}get optionsCount(){return this.options?.length||"0"}get resultCountMessage(){return`${this.selectedCount} selected of ${this.optionsCount} total`}calculatePosition(e,t){return(0,c.default)(t,[e],{placement:this.args.horizontalPosition?f[this.args.horizontalPosition]:"bottom-start",offsetOptions:4,enableCollisionDetection:!0}),{}}setPowerSelectAPI(e){"function"==typeof this.args.registerAPI&&this.args.registerAPI(e),this.powerSelectAPI=e}showSelected(){this.showNoSelectedMessage="0"===this.selectedCount,this.showOnlySelected=!0}showAll(){this.showNoSelectedMessage=!1,this.showOnlySelected=!1}clearSelected(){this.powerSelectAPI.actions.select(null),this.showNoSelectedMessage=!1,this.showOnlySelected=!1}get showAfterOptions(){return this.args.showAfterOptions??!0}get searchPlaceholder(){return this.args.searchPlaceholder??"Search"}get dropdownMaxWidthStyle(){const e={}
return this.args.dropdownMaxWidth&&(e["--hds-form-super-select-dropdown-max-width"]=this.args.dropdownMaxWidth),e}get classNames(){let e=["hds-form-super-select","hds-form-super-select-multiple"]
return(!1===this.args.matchTriggerWidth||this.args.dropdownMaxWidth)&&e.push("hds-form-super-select--dropdown-content-auto-width"),this.args.isInvalid&&e.push("hds-form-super-select--is-invalid"),this.showOnlySelected&&e.push("hds-form-super-select--show-only-selected"),e.join(" ")}},i=(0,a._)(n.prototype,"powerSelectAPI",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,a._)(n.prototype,"showOnlySelected",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),o=(0,a._)(n.prototype,"showNoSelectedMessage",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,a._)(n.prototype,"calculatePosition",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"calculatePosition"),n.prototype),(0,a._)(n.prototype,"setPowerSelectAPI",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"setPowerSelectAPI"),n.prototype),(0,a._)(n.prototype,"showSelected",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"showSelected"),n.prototype),(0,a._)(n.prototype,"showAll",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"showAll"),n.prototype),(0,a._)(n.prototype,"clearSelected",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"clearSelected"),n.prototype),n);(0,d.setComponentTemplate)(p,m)},96624:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(142),i=r(47477),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"2W4xYiyl",block:'[[[8,[39,0],null,[["@layout","@extraAriaDescribedBy","@isRequired","@isOptional","@id"],["vertical",[30,1],[30,2],[30,3],[30,4]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,56,[[28,[37,2],null,[["Label","isRequired","isOptional"],[[30,5,["Label"]],[30,5,["isRequired"]],[30,5,["isOptional"]]]]]]],[1,"\\n  "],[18,56,[[28,[37,2],null,[["HelperText","Error"],[[30,5,["HelperText"]],[30,5,["Error"]]]]]]],[1,"\\n  "],[8,[30,5,["Control"]],null,null,[["default"],[[[[1,"\\n"],[1,"    "],[8,[39,3],[[17,6]],[["@afterOptionsComponent","@afterOptionsContent","@ariaDescribedBy","@ariaInvalid","@ariaLabel","@ariaLabelledBy","@beforeOptionsComponent","@disabled","@dropdownClass","@dropdownMaxWidth","@extra","@groupComponent","@horizontalPosition","@initiallyOpened","@labelText","@loadingMessage","@matcher","@matchTriggerWidth","@noMatchesMessage","@onBlur","@onChange","@onClose","@onFocus","@onInput","@onKeydown","@onOpen","@options","@optionsComponent","@placeholder","@placeholderComponent","@preventScroll","@registerAPI","@renderInPlace","@resultCountMessage","@scrollTo","@search","@searchEnabled","@searchField","@searchMessage","@searchPlaceholder","@selected","@selectedItemComponent","@showAfterOptions","@tabindex","@triggerClass","@triggerComponent","@triggerId","@triggerRole","@typeAheadMatcher","@verticalPosition","@isInvalid"],[[30,7],[30,8],[30,5,["ariaDescribedBy"]],[30,9],[30,10],[28,[37,4],[[30,0,["idPrefix"]],[30,5,["id"]]],null],[30,11],[30,12],[30,13],[30,14],[30,15],[30,16],[30,17],[30,18],[30,19],[30,20],[30,21],[30,22],[30,23],[30,24],[30,25],[30,26],[30,27],[30,28],[30,29],[30,30],[30,31],[30,32],[30,33],[30,34],[30,35],[30,36],true,[30,37],[30,38],[30,39],[30,40],[30,41],[30,42],[30,43],[30,44],[30,45],[30,46],[30,47],[30,48],[30,49],[30,5,["id"]],[30,50],[30,51],[30,52],[30,53]]],[["default"],[[[[1,"\\n      "],[18,56,[[28,[37,2],null,[["options","select","Options"],[[30,54],[30,55],[50,"hds/yield",0,null,[["options","select"],[[30,54],[30,55]]]]]]]]],[1,"\\n    "]],[54,55]]]]],[1,"\\n  "]],[]]]]],[1,"\\n"]],[5]]]]]],["@extraAriaDescribedBy","@isRequired","@isOptional","@id","F","&attrs","@afterOptionsComponent","@afterOptionsContent","@ariaInvalid","@ariaLabel","@beforeOptionsComponent","@disabled","@dropdownClass","@dropdownMaxWidth","@extra","@groupComponent","@horizontalPosition","@initiallyOpened","@labelText","@loadingMessage","@matcher","@matchTriggerWidth","@noMatchesMessage","@onBlur","@onChange","@onClose","@onFocus","@onInput","@onKeydown","@onOpen","@options","@optionsComponent","@placeholder","@placeholderComponent","@preventScroll","@registerAPI","@resultCountMessage","@scrollTo","@search","@searchEnabled","@searchField","@searchMessage","@searchPlaceholder","@selected","@selectedItemComponent","@showAfterOptions","@tabindex","@triggerClass","@triggerComponent","@triggerRole","@typeAheadMatcher","@verticalPosition","@isInvalid","options","select","&default"],false,["hds/form/field","yield","hash","hds/form/super-select/multiple/base","concat","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/super-select/multiple/field.js",isStrictMode:!1})
class a extends n.default{get idPrefix(){return i.ID_PREFIX}}(0,s.setComponentTemplate)(o,a)},99583:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>c})
var n=r(41507),i=r(17990),s=r.n(i),o=r(29806),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"7CqgRkIq",block:'[[[10,"li"],[14,0,"hds-form-super-select__option-group"],[14,"role","group"],[15,"aria-labelledby",[30,0,["groupTitleId"]]],[12],[1,"\\n  "],[8,[39,0],[[24,0,"hds-form-super-select__option-group-title"],[16,1,[30,0,["groupTitleId"]]]],[["@tag","@size","@weight"],["div","100","semibold"]],[["default"],[[[[1,"\\n    "],[1,[30,1,["groupName"]]],[1,"\\n  "]],[]]]]],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["@group","&default"],false,["hds/text/body","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/super-select/option-group.js",isStrictMode:!1})
class c extends(s()){constructor(...e){super(...e),(0,n.a)(this,"groupTitleId","group-title-"+(0,o.guidFor)(this))}}(0,a.setComponentTemplate)(l,c)},97214:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"R/JSb0ho",block:'[[[8,[39,0],[[24,0,"ember-power-select-placeholder"]],[["@tag","@size"],["span","200"]],[["default"],[[[[1,[30,1]]],[]]]]]],["@placeholder"],false,["hds/text/body"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/super-select/placeholder.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},64844:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>h})
var n,i=r(41507),s=r(142),o=r(26704),a=r(37219),l=r(23574),c=(0,r(59266).createTemplateFactory)({id:"TVR7xIKq",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[4,[38,0],[[30,0,["dropdownMaxWidthStyle"]]],null],[12],[1,"\\n  "],[8,[39,1],[[17,1]],[["@afterOptionsComponent","@ariaDescribedBy","@ariaInvalid","@ariaLabel","@ariaLabelledBy","@beforeOptionsComponent","@calculatePosition","@closeOnSelect","@disabled","@dropdownClass","@extra","@groupComponent","@horizontalPosition","@initiallyOpened","@labelText","@loadingMessage","@matcher","@matchTriggerWidth","@noMatchesMessage","@onBlur","@onChange","@onClose","@onFocus","@onInput","@onKeydown","@onOpen","@options","@optionsComponent","@placeholder","@placeholderComponent","@preventScroll","@registerAPI","@renderInPlace","@resultCountMessage","@scrollTo","@search","@searchEnabled","@searchField","@searchMessage","@searchPlaceholder","@selected","@selectedItemComponent","@tabindex","@triggerClass","@triggerComponent","@triggerId","@triggerRole","@typeAheadMatcher","@verticalPosition"],[[52,[30,0,["showAfterOptions"]],[28,[37,3],[[30,2],[50,"hds/form/super-select/after-options",0,null,[["content","resultCountMessage"],[[30,3],[30,0,["resultCountMessage"]]]]]],null]],[30,4],[30,5],[30,6],[30,7],[30,8],[52,[30,9],[27],[30,0,["calculatePosition"]]],[30,10],[30,11],[30,12],[30,13],[50,"hds/form/super-select/option-group",0,null,null],[30,14],[30,15],[30,16],[30,17],[30,18],[52,[30,19],false,[30,20]],[30,21],[30,22],[30,23],[30,24],[30,25],[30,26],[30,27],[30,28],[30,29],[30,30],[30,31],[50,"hds/form/super-select/placeholder",0,null,null],[30,32],[30,33],true,[30,34],[30,35],[30,36],[30,37],[30,38],[30,39],[30,0,["searchPlaceholder"]],[30,40],[30,41],[30,42],[30,43],[30,44],[30,45],[30,46],[30,47],[30,9]]],[["default"],[[[[1,"\\n    "],[8,[39,5],null,null,[["default"],[[[[18,50,[[30,48],[30,49]]]],[]]]]],[1,"\\n  "]],[48,49]]]]],[1,"\\n"],[13]],["&attrs","@afterOptionsComponent","@afterOptionsContent","@ariaDescribedBy","@ariaInvalid","@ariaLabel","@ariaLabelledBy","@beforeOptionsComponent","@verticalPosition","@closeOnSelect","@disabled","@dropdownClass","@extra","@horizontalPosition","@initiallyOpened","@labelText","@loadingMessage","@matcher","@dropdownMaxWidth","@matchTriggerWidth","@noMatchesMessage","@onBlur","@onChange","@onClose","@onFocus","@onInput","@onKeydown","@onOpen","@options","@optionsComponent","@placeholder","@preventScroll","@registerAPI","@resultCountMessage","@scrollTo","@search","@searchEnabled","@searchField","@searchMessage","@selected","@selectedItemComponent","@tabindex","@triggerClass","@triggerComponent","@triggerId","@triggerRole","@typeAheadMatcher","option","select","&default"],false,["style","power-select","if","or","component","hds/text/body","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/super-select/single/base.js",isStrictMode:!1})
const u={left:"bottom-start",center:"bottom",right:"bottom-end"}
let h=(n=class extends s.default{calculatePosition(e,t){return(0,o.default)(t,[e],{placement:this.args.horizontalPosition?u[this.args.horizontalPosition]:"bottom-start",offsetOptions:4,enableCollisionDetection:!0}),{}}get showAfterOptions(){return this.args.showAfterOptions??this.args.afterOptionsContent??!1}get searchPlaceholder(){return this.args.searchPlaceholder??"Search"}get dropdownMaxWidthStyle(){const e={}
return this.args.dropdownMaxWidth&&(e["--hds-form-super-select-dropdown-max-width"]=this.args.dropdownMaxWidth),e}get classNames(){let e=["hds-form-super-select","hds-form-super-select-single"]
return(!1===this.args.matchTriggerWidth||this.args.dropdownMaxWidth)&&e.push("hds-form-super-select--dropdown-content-auto-width"),this.args.isInvalid&&e.push("hds-form-super-select--is-invalid"),e.join(" ")}},(0,i._)(n.prototype,"calculatePosition",[a.action],Object.getOwnPropertyDescriptor(n.prototype,"calculatePosition"),n.prototype),n);(0,l.setComponentTemplate)(c,h)},94775:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(142),i=r(47477),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"uwBDJR+B",block:'[[[8,[39,0],null,[["@layout","@extraAriaDescribedBy","@isRequired","@isOptional","@id"],["vertical",[30,1],[30,2],[30,3],[30,4]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,57,[[28,[37,2],null,[["Label","isRequired","isOptional"],[[30,5,["Label"]],[30,5,["isRequired"]],[30,5,["isOptional"]]]]]]],[1,"\\n  "],[18,57,[[28,[37,2],null,[["HelperText","Error"],[[30,5,["HelperText"]],[30,5,["Error"]]]]]]],[1,"\\n  "],[8,[30,5,["Control"]],null,null,[["default"],[[[[1,"\\n"],[1,"    "],[8,[39,3],[[17,6]],[["@afterOptionsComponent","@afterOptionsContent","@ariaDescribedBy","@ariaInvalid","@ariaLabel","@ariaLabelledBy","@beforeOptionsComponent","@closeOnSelect","@disabled","@dropdownClass","@dropdownMaxWidth","@extra","@groupComponent","@horizontalPosition","@initiallyOpened","@labelText","@loadingMessage","@matcher","@matchTriggerWidth","@noMatchesMessage","@onBlur","@onChange","@onClose","@onFocus","@onInput","@onKeydown","@onOpen","@options","@optionsComponent","@placeholder","@placeholderComponent","@preventScroll","@registerAPI","@renderInPlace","@resultCountMessage","@scrollTo","@search","@searchEnabled","@searchField","@searchMessage","@searchPlaceholder","@selected","@selectedItemComponent","@showAfterOptions","@tabindex","@triggerClass","@triggerComponent","@triggerId","@triggerRole","@typeAheadMatcher","@verticalPosition","@isInvalid"],[[30,7],[30,8],[30,5,["ariaDescribedBy"]],[30,9],[30,10],[28,[37,4],[[30,0,["idPrefix"]],[30,5,["id"]]],null],[30,11],[30,12],[30,13],[30,14],[30,15],[30,16],[30,17],[30,18],[30,19],[30,20],[30,21],[30,22],[30,23],[30,24],[30,25],[30,26],[30,27],[30,28],[30,29],[30,30],[30,31],[30,32],[30,33],[30,34],[30,35],[30,36],[30,37],true,[30,38],[30,39],[30,40],[30,41],[30,42],[30,43],[30,44],[30,45],[30,46],[30,47],[30,48],[30,49],[30,50],[30,5,["id"]],[30,51],[30,52],[30,53],[30,54]]],[["default"],[[[[1,"\\n      "],[18,57,[[28,[37,2],null,[["options","select","Options"],[[30,55],[30,56],[50,"hds/yield",0,null,[["options","select"],[[30,55],[30,56]]]]]]]]],[1,"\\n    "]],[55,56]]]]],[1,"\\n  "]],[]]]]],[1,"\\n"]],[5]]]]]],["@extraAriaDescribedBy","@isRequired","@isOptional","@id","F","&attrs","@afterOptionsComponent","@afterOptionsContent","@ariaInvalid","@ariaLabel","@beforeOptionsComponent","@closeOnSelect","@disabled","@dropdownClass","@dropdownMaxWidth","@extra","@groupComponent","@horizontalPosition","@initiallyOpened","@labelText","@loadingMessage","@matcher","@matchTriggerWidth","@noMatchesMessage","@onBlur","@onChange","@onClose","@onFocus","@onInput","@onKeydown","@onOpen","@options","@optionsComponent","@placeholder","@placeholderComponent","@preventScroll","@registerAPI","@resultCountMessage","@scrollTo","@search","@searchEnabled","@searchField","@searchMessage","@searchPlaceholder","@selected","@selectedItemComponent","@showAfterOptions","@tabindex","@triggerClass","@triggerComponent","@triggerRole","@typeAheadMatcher","@verticalPosition","@isInvalid","options","select","&default"],false,["hds/form/field","yield","hash","hds/form/super-select/single/base","concat","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/super-select/single/field.js",isStrictMode:!1})
class a extends n.default{get idPrefix(){return i.ID_PREFIX}}(0,s.setComponentTemplate)(o,a)},92023:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_TYPE:()=>c,TYPES:()=>u,default:()=>h})
var n=r(17990),i=r.n(n),s=r(3353)
let o=function(e){return e.Text="text",e.Email="email",e.Password="password",e.Url="url",e.Date="date",e.Time="time",e.DateTimeLocal="datetime-local",e.Search="search",e.Month="month",e.Week="week",e.Tel="tel",e}({})
var a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"TtCX2v4S",block:'[[[11,"input"],[16,0,[30,0,["classNames"]]],[17,1],[16,2,[30,2]],[16,4,[30,0,["type"]]],[4,[38,0],null,[["width"],[[30,3]]]],[12],[13]],["&attrs","@value","@width"],false,["style"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/text-input/base.js",isStrictMode:!1})
const c=o.Text,u=Object.values(o)
class h extends(i()){get type(){const{type:e=c}=this.args
return(0,s.assert)(`@type for "Hds::Form::TextInput" must be one of the following: ${u.join(", ")}; received: ${e}`,u.includes(e)),e}get classNames(){const e=["hds-form-text-input"]
return e.push("hds-typography-body-200","hds-font-weight-regular"),this.args.isInvalid&&e.push("hds-form-text-input--is-invalid"),this.args.hasVisibilityToggle&&e.push("hds-form-text-input--has-visibility-toggle"),this.args.isLoading&&e.push("hds-form-text-input--is-loading"),e.join(" ")}}(0,a.setComponentTemplate)(l,h)},31146:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>f})
var n,i,s,o,a=r(41507),l=r(17990),c=r.n(l),u=r(55521),h=r(37219),d=(r(37982),r(23574)),p=(0,r(59266).createTemplateFactory)({id:"3mu1yRQm",block:'[[[8,[39,0],null,[["@layout","@extraAriaDescribedBy","@isRequired","@isOptional","@id"],["vertical",[30,1],[30,2],[30,3],[30,4]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,11,[[28,[37,2],null,[["Label","HelperText","Error"],[[30,5,["Label"]],[30,5,["HelperText"]],[30,5,["Error"]]]]]]],[1,"\\n"],[41,[30,5,["CharacterCount"]],[[[1,"    "],[18,11,[[28,[37,2],null,[["CharacterCount"],[[50,[30,5,["CharacterCount"]],0,null,[["value"],[[30,6]]]]]]]]],[1,"\\n"]],[]],null],[1,"  "],[8,[30,5,["Control"]],null,null,[["default"],[[[[1,"\\n    "],[11,0],[24,0,"hds-form-text-input__wrapper"],[4,[38,5],null,[["width"],[[30,7]]]],[12],[1,"\\n      "],[8,[39,6],[[16,"required",[30,2]],[17,8],[16,1,[30,5,["id"]]],[16,"aria-describedby",[30,5,["ariaDescribedBy"]]]],[["@type","@value","@isInvalid","@isLoading","@hasVisibilityToggle"],[[30,0,["type"]],[30,6],[30,9],[30,10],[30,0,["showVisibilityToggle"]]]],null],[1,"\\n"],[41,[30,0,["showVisibilityToggle"]],[[[1,"        "],[8,[39,7],[[16,"aria-controls",[30,5,["id"]]],[24,0,"hds-form-text-input__visibility-toggle"],[4,[38,8],["click",[30,0,["onClickTogglePasswordReadability"]]],null]],[["@isVisible","@ariaLabel","@ariaMessageText"],[[30,0,["isPasswordMasked"]],[30,0,["visibilityToggleAriaLabel"]],[30,0,["visibilityToggleAriaMessageText"]]]],null],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "]],[]]]]],[1,"\\n"]],[5]]]]]],["@extraAriaDescribedBy","@isRequired","@isOptional","@id","F","@value","@width","&attrs","@isInvalid","@isLoading","&default"],false,["hds/form/field","yield","hash","if","component","style","hds/form/text-input/base","hds/form/visibility-toggle","on"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/text-input/field.js",isStrictMode:!1})
let f=(n=class extends(c()){constructor(...e){super(...e),(0,a.b)(this,"isPasswordMasked",i,this),(0,a.b)(this,"hasVisibilityToggle",s,this),(0,a.b)(this,"type",o,this)}get showVisibilityToggle(){return"password"===this.args.type&&this.hasVisibilityToggle}get visibilityToggleAriaLabel(){return this.args.visibilityToggleAriaLabel?this.args.visibilityToggleAriaLabel:this.isPasswordMasked?"Show password":"Hide password"}get visibilityToggleAriaMessageText(){return this.args.visibilityToggleAriaMessageText?this.args.visibilityToggleAriaMessageText:this.isPasswordMasked?"Password is hidden":"Password is visible"}onClickTogglePasswordReadability(){this.isPasswordMasked=!this.isPasswordMasked,this.type=this.isPasswordMasked?"password":"text"}},i=(0,a._)(n.prototype,"isPasswordMasked",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),s=(0,a._)(n.prototype,"hasVisibilityToggle",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.hasVisibilityToggle??!0}}),o=(0,a._)(n.prototype,"type",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.type??"text"}}),(0,a._)(n.prototype,"onClickTogglePasswordReadability",[h.action],Object.getOwnPropertyDescriptor(n.prototype,"onClickTogglePasswordReadability"),n.prototype),n);(0,d.setComponentTemplate)(p,f)},62070:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"YHslM0nr",block:'[[[8,[39,0],[[16,0,[30,0,["classNames"]]],[24,"rows","4"],[17,1],[4,[38,1],null,[["width","height"],[[30,3],[30,4]]]]],[["@value"],[[30,2]]],null]],["&attrs","@value","@width","@height"],false,["textarea","style"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/textarea/base.js",isStrictMode:!1})
class a extends(i()){get classNames(){const e=["hds-form-textarea"]
return e.push("hds-typography-body-200","hds-font-weight-regular"),this.args.isInvalid&&e.push("hds-form-textarea--is-invalid"),e.join(" ")}}(0,s.setComponentTemplate)(o,a)},92589:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"+KqLiCxp",block:'[[[8,[39,0],null,[["@layout","@extraAriaDescribedBy","@isRequired","@isOptional","@id"],["vertical",[30,1],[30,2],[30,3],[30,4]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,11,[[28,[37,2],null,[["Label","HelperText","Error"],[[30,5,["Label"]],[30,5,["HelperText"]],[30,5,["Error"]]]]]]],[1,"\\n"],[41,[30,5,["CharacterCount"]],[[[1,"    "],[18,11,[[28,[37,2],null,[["CharacterCount"],[[50,[30,5,["CharacterCount"]],0,null,[["value"],[[30,6]]]]]]]]],[1,"\\n"]],[]],null],[1,"  "],[8,[30,5,["Control"]],null,null,[["default"],[[[[1,"\\n    "],[8,[39,5],[[16,"required",[30,2]],[17,7],[16,1,[30,5,["id"]]],[16,"aria-describedby",[30,5,["ariaDescribedBy"]]]],[["@value","@isInvalid","@width","@height"],[[30,6],[30,8],[30,9],[30,10]]],null],[1,"\\n  "]],[]]]]],[1,"\\n"]],[5]]]]]],["@extraAriaDescribedBy","@isRequired","@isOptional","@id","F","@value","&attrs","@isInvalid","@width","@height","&default"],false,["hds/form/field","yield","hash","if","component","hds/form/textarea/base"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/textarea/field.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},5125:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"GDxSJDUP",block:'[[[10,0],[14,0,"hds-form-toggle"],[12],[1,"\\n  "],[11,"input"],[24,0,"hds-form-toggle__control"],[24,4,"checkbox"],[17,1],[16,2,[30,2]],[24,"role","switch"],[12],[13],[1,"\\n  "],[10,0],[14,0,"hds-form-toggle__facade"],[12],[13],[1,"\\n"],[13]],["&attrs","@value"],false,[]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/toggle/base.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},81017:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"pdwevU1H",block:'[[[8,[39,0],null,[["@layout","@contextualClass","@extraAriaDescribedBy","@id"],["flag",[30,1],[30,2],[30,3]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,8,[[28,[37,2],null,[["Label","HelperText","Error"],[[30,4,["Label"]],[30,4,["HelperText"]],[30,4,["Error"]]]]]]],[1,"\\n  "],[8,[30,4,["Control"]],null,null,[["default"],[[[[1,"\\n    "],[8,[39,3],[[16,"required",[30,5]],[17,6],[16,1,[30,4,["id"]]],[16,"aria-describedby",[30,4,["ariaDescribedBy"]]]],[["@value"],[[30,7]]],null],[1,"\\n  "]],[]]]]],[1,"\\n"]],[4]]]]]],["@contextualClass","@extraAriaDescribedBy","@id","F","@isRequired","&attrs","@value","&default"],false,["hds/form/field","yield","hash","hds/form/toggle/base"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/toggle/field.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},2616:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"KX0gi/qc",block:'[[[8,[39,0],[[17,1]],[["@layout","@isRequired","@isOptional"],[[30,2],[30,3],[30,4]]],[["default"],[[[[1,"\\n"],[1,"  "],[18,6,[[28,[37,2],null,[["Legend","HelperText","Error"],[[30,5,["Legend"]],[30,5,["HelperText"]],[30,5,["Error"]]]]]]],[1,"\\n  "],[8,[30,5,["Control"]],null,null,[["default"],[[[[1,"\\n    "],[18,6,[[28,[37,2],null,[["ToggleField"],[[50,"hds/form/toggle/field",0,null,[["contextualClass","isRequired","extraAriaDescribedBy"],["hds-form-group__control-field",[30,3],[30,5,["ariaDescribedBy"]]]]]]]]]],[1,"\\n  "]],[]]]]],[1,"\\n"]],[5]]]]]],["&attrs","@layout","@isRequired","@isOptional","F","&default"],false,["hds/form/fieldset","yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/toggle/group.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},2142:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"1D2G3mDr",block:'[[[11,"button"],[24,0,"hds-form-visibility-toggle"],[24,4,"button"],[16,"aria-label",[30,1]],[17,2],[12],[1,"\\n  "],[8,[39,0],null,[["@name","@size","@isInlineBlock"],[[52,[30,3],"eye","eye-off"],"16",false]],null],[1,"\\n  "],[10,1],[14,0,"sr-only"],[14,"aria-live","polite"],[12],[1,[30,4]],[13],[1,"\\n"],[13]],["@ariaLabel","&attrs","@isVisible","@ariaMessageText"],false,["flight-icon","if"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/form/visibility-toggle/index.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},81263:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{COLORS:()=>f,DEFAULT_COLOR:()=>d,DEFAULT_SIZE:()=>h,PRODUCTS:()=>m,SIZES:()=>p,default:()=>g})
var n=r(17990),i=r.n(n),s=r(3353)
let o=function(e){return e.Small="small",e.Medium="medium",e.Large="large",e}({}),a=function(e){return e.Boundary="boundary",e.Consul="consul",e.HCP="hcp",e.Nomad="nomad",e.Packer="packer",e.Terraform="terraform",e.Vagrant="vagrant",e.Vault="vault",e["Vault Secrets"]="vault-secrets",e["Vault Radar"]="vault-radar",e.Waypoint="waypoint",e}({}),l=function(e){return e.Neutral="neutral",e}({})
var c=r(23574),u=(0,r(59266).createTemplateFactory)({id:"+ndGI397",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[24,"aria-hidden","true"],[17,1],[12],[1,"\\n"],[41,[30,2],[[[1,"    "],[10,0],[14,0,"hds-icon-tile__icon"],[12],[1,"\\n      "],[8,[39,1],null,[["@name","@size","@stretched"],[[30,0,["icon"]],[30,0,["iconSize"]],true]],null],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[41,[30,3],[[[1,"    "],[10,0],[14,0,"hds-icon-tile__logo"],[12],[1,"\\n      "],[8,[39,1],null,[["@name","@size","@stretched"],[[30,0,["icon"]],[30,0,["iconSize"]],true]],null],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[41,[30,0,["iconSecondary"]],[[[1,"    "],[10,0],[14,0,"hds-icon-tile__extra"],[12],[1,"\\n      "],[10,0],[14,0,"hds-icon-tile__extra-icon"],[12],[1,"\\n        "],[8,[39,1],null,[["@name","@size","@stretched"],[[30,0,["iconSecondary"]],"16",true]],null],[1,"\\n      "],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[13]],["&attrs","@icon","@logo"],false,["if","flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/icon-tile/index.js",isStrictMode:!1})
const h="medium",d="neutral",p=Object.values(o),f=Object.values({...l,...a}),m=Object.values(a)
class g extends(i()){get size(){const{size:e=h}=this.args
return(0,s.assert)(`@size for "Hds::IconTile" must be one of the following: ${p.join(", ")}; received: ${e}`,p.includes(e)),e}get color(){let{color:e=d}=this.args
return this.logo&&(e=this.logo),(0,s.assert)(`@color for "Hds::IconTile" must be one of the following: ${f.join(", ")}; received: ${e}`,f.includes(e)),e}get icon(){return this.args.logo?`${this.args.logo}-color`:this.args.icon?this.args.icon:void 0}get iconSize(){return"small"===this.args.size?"16":"24"}get logo(){const{logo:e}=this.args
return e&&(0,s.assert)(`@logo for "Hds::IconTile" must be one of the following: ${m.join(", ")}; received: ${e}`,m.includes(e)),e??null}get entity(){let e
return(0,s.assert)('you can\'t pass both @logo and @icon properties to the "Hds::IconTile" component',!(this.args.logo&&this.args.icon)),(0,s.assert)('you need to pass @logo or @icon to the "Hds::IconTile" component',!(void 0===this.args.logo&&void 0===this.args.icon)),this.args.logo&&(e="logo"),this.args.icon&&(e="icon"),e}get iconSecondary(){return this.args.iconSecondary??null}get classNames(){const e=["hds-icon-tile"]
return e.push(`hds-icon-tile--${this.entity}`),e.push(`hds-icon-tile--size-${this.size}`),e.push(`hds-icon-tile--color-${this.color}`),e.join(" ")}}(0,c.setComponentTemplate)(u,g)},48806:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>u})
var n,i=r(41507),s=r(17990),o=r.n(s),a=r(37219),l=r(23574),c=(0,r(59266).createTemplateFactory)({id:"ZpMfHMON",block:'[[[41,[30,1],[[[41,[30,0,["isRouteExternal"]],[[[8,[39,1],[[17,2]],[["@current-when","@models","@query","@replace","@route"],[[30,3],[28,[37,2],[[30,4],[30,5]],null],[28,[37,3],[[30,6]],null],[30,7],[30,1]]],[["default"],[[[[18,9,null]],[]]]]]],[]],[[[8,[39,5],[[17,2]],[["@current-when","@models","@query","@replace","@route"],[[30,3],[28,[37,2],[[30,4],[30,5]],null],[28,[37,3],[[30,6]],null],[30,7],[30,1]]],[["default"],[[[[18,9,null]],[]]]]]],[]]]],[]],[[[41,[30,8],[[[41,[30,0,["isHrefExternal"]],[[[11,3],[24,"target","_blank"],[24,"rel","noopener noreferrer"],[17,2],[16,6,[30,8]],[4,[38,6],["keyup",[30,0,["onKeyUp"]]],null],[12],[18,9,null],[13]],[]],[[[11,3],[17,2],[16,6,[30,8]],[4,[38,6],["keyup",[30,0,["onKeyUp"]]],null],[12],[18,9,null],[13]],[]]]],[]],[[[11,"button"],[24,4,"button"],[17,2],[12],[18,9,null],[13]],[]]]],[]]]],["@route","&attrs","@current-when","@model","@models","@query","@replace","@href","&default"],false,["if","link-to-external","hds-link-to-models","hds-link-to-query","yield","link-to","on"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/interactive/index.js",isStrictMode:!1})
let u=(n=class extends(o()){get isHrefExternal(){return this.args.isHrefExternal??!0}get isRouteExternal(){return this.args.isRouteExternal??!1}onKeyUp(e){" "!==e.key&&"Space"!==e.code||e.target.click()}},(0,i._)(n.prototype,"onKeyUp",[a.action],Object.getOwnPropertyDescriptor(n.prototype,"onKeyUp"),n.prototype),n);(0,l.setComponentTemplate)(c,u)},44988:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{COLORS:()=>d,DEFAULT_COLOR:()=>u,DEFAULT_ICONPOSITION:()=>c,ICONPOSITIONS:()=>h,default:()=>p})
var n=r(17990),i=r.n(n),s=r(3353),o=r(27837),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"AULw1HsP",block:'[[[8,[39,0],[[16,0,[30,0,["classNames"]]],[17,1]],[["@current-when","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal"],[[30,2],[28,[37,1],[[30,3],[30,4]],null],[28,[37,2],[[30,5]],null],[30,6],[30,7],[30,8],[30,9],[30,10]]],[["default"],[[[[41,[28,[37,4],[[30,11],[28,[37,5],[[30,0,["iconPosition"]],"leading"],null]],null],[[[10,1],[14,0,"hds-link-inline__icon hds-link-inline__icon--leading"],[12],[1,"\\n      "],[8,[39,6],null,[["@name","@size","@stretched"],[[30,11],"16",true]],null],[1,"\\n    "],[13]],[]],null],[18,12,null],[41,[28,[37,4],[[30,11],[28,[37,5],[[30,0,["iconPosition"]],"trailing"],null]],null],[[[10,1],[14,0,"hds-link-inline__icon hds-link-inline__icon--trailing"],[12],[1,"\\n      "],[8,[39,6],null,[["@name","@size","@stretched"],[[30,11],"16",true]],null],[1,"\\n    "],[13]],[]],null]],[]]]]]],["&attrs","@current-when","@model","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal","@icon","&default"],false,["hds/interactive","hds-link-to-models","hds-link-to-query","if","and","eq","flight-icon","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/link/inline.js",isStrictMode:!1})
const c=o.T.Trailing,u=o.GU.Primary,h=Object.values(o.T),d=Object.values(o.GU)
class p extends(i()){constructor(e,t){super(e,t),this.args.href||this.args.route||(0,s.assert)("@href or @route must be defined for <Hds::Link::Inline>")}get color(){const{color:e=u}=this.args
return(0,s.assert)(`@color for "Hds::Link::Inline" must be one of the following: ${d.join(", ")}; received: ${e}`,d.includes(e)),e}get iconPosition(){const{iconPosition:e=c}=this.args
return(0,s.assert)(`@iconPosition for "Hds::Link::Inline" must be one of the following: ${h.join(", ")}; received: ${e}`,h.includes(e)),e}get classNames(){const e=["hds-link-inline"]
return e.push(`hds-link-inline--color-${this.color}`),e.push(`hds-link-inline--icon-${this.iconPosition}`),e.join(" ")}}(0,a.setComponentTemplate)(l,p)},41632:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{COLORS:()=>p,DEFAULT_COLOR:()=>u,DEFAULT_ICONPOSITION:()=>c,DEFAULT_SIZE:()=>h,ICONPOSITIONS:()=>d,SIZES:()=>f,default:()=>m})
var n=r(17990),i=r.n(n),s=r(3353),o=r(27837),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"mcakhhCK",block:'[[[8,[39,0],[[16,0,[30,0,["classNames"]]],[17,1]],[["@current-when","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal"],[[30,2],[28,[37,1],[[30,3],[30,4]],null],[28,[37,2],[[30,5]],null],[30,6],[30,7],[30,8],[30,9],[30,10]]],[["default"],[[[[1,"\\n"],[41,[28,[37,4],[[30,0,["iconPosition"]],"leading"],null],[[[1,"    "],[10,1],[14,0,"hds-link-standalone__icon"],[12],[1,"\\n      "],[8,[39,5],null,[["@name","@size","@stretched"],[[30,0,["icon"]],[30,0,["iconSize"]],true]],null],[1,"\\n    "],[13],[1,"\\n    "],[10,1],[14,0,"hds-link-standalone__text"],[12],[1,"\\n      "],[1,[30,0,["text"]]],[1,"\\n    "],[13],[1,"\\n"]],[]],[[[1,"    "],[10,1],[14,0,"hds-link-standalone__text"],[12],[1,"\\n      "],[1,[30,0,["text"]]],[1,"\\n    "],[13],[1,"\\n    "],[10,1],[14,0,"hds-link-standalone__icon"],[12],[1,"\\n      "],[8,[39,5],null,[["@name","@size","@stretched"],[[30,0,["icon"]],[30,0,["iconSize"]],true]],null],[1,"\\n    "],[13],[1,"\\n"]],[]]]],[]]]]]],["&attrs","@current-when","@model","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal"],false,["hds/interactive","hds-link-to-models","hds-link-to-query","if","eq","flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/link/standalone.js",isStrictMode:!1})
const c=o.T.Leading,u=o.GU.Primary,h=o.Vw.Medium,d=Object.values(o.T),p=Object.values(o.GU),f=Object.values(o.Vw)
class m extends(i()){constructor(e,t){super(e,t),this.args.href||this.args.route||(0,s.assert)("@href or @route must be defined for <Hds::Link::Standalone>")}get text(){const{text:e}=this.args
return(0,s.assert)('@text for "Hds::Link::Standalone" must have a valid value',void 0!==e),e}get color(){const{color:e=u}=this.args
return(0,s.assert)(`@color for "Hds::Link::Standalone" must be one of the following: ${p.join(", ")}; received: ${e}`,p.includes(e)),e}get icon(){const{icon:e}=this.args
return(0,s.assert)('@icon for "Hds::Link::Standalone" must have a valid value',void 0!==e),e}get iconPosition(){const{iconPosition:e=c}=this.args
return(0,s.assert)(`@iconPosition for "Hds::Link::Standalone" must be one of the following: ${d.join(", ")}; received: ${e}`,d.includes(e)),e}get size(){const{size:e=h}=this.args
return(0,s.assert)(`@size for "Hds::Link::Standalone" must be one of the following: ${f.join(", ")}; received: ${e}`,f.includes(e)),e}get iconSize(){return"large"===this.args.size?"24":"16"}get classNames(){const e=["hds-link-standalone"]
return e.push(`hds-link-standalone--size-${this.size}`),e.push(`hds-link-standalone--color-${this.color}`),e.push(`hds-link-standalone--icon-position-${this.iconPosition}`),e.join(" ")}}(0,a.setComponentTemplate)(l,m)},27837:(e,t,r)=>{"use strict"
r.d(t,{GU:()=>i,T:()=>n,Vw:()=>s})
let n=function(e){return e.Leading="leading",e.Trailing="trailing",e}({}),i=function(e){return e.Primary="primary",e.Secondary="secondary",e}({}),s=function(e){return e.Small="small",e.Medium="medium",e.Large="large",e}({})},8941:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>f})
var n,i,s,o=r(41507),a=r(17990),l=r.n(a),c=r(55521),u=r(37219),h=r(98773),d=r(23574),p=(0,r(59266).createTemplateFactory)({id:"olIOOwIb",block:'[[[11,0],[24,0,"hds-menu-primitive"],[17,1],[4,[38,0],[[30,0,["didInsert"]]],null],[4,[38,1],["focusout",[30,0,["onFocusOut"]]],null],[4,[38,1],["keyup",[30,0,["onKeyUp"]]],null],[12],[1,"\\n  "],[10,0],[14,0,"hds-menu-primitive__toggle"],[14,"tabindex","-1"],[12],[1,"\\n    "],[18,2,[[28,[37,3],null,[["onClickToggle","isOpen"],[[30,0,["onClickToggle"]],[30,0,["isOpen"]]]]]]],[1,"\\n  "],[13],[1,"\\n"],[41,[30,0,["isOpen"]],[[[1,"    "],[10,0],[14,0,"hds-menu-primitive__content"],[14,"tabindex","-1"],[12],[1,"\\n      "],[18,3,[[28,[37,3],null,[["close"],[[30,0,["close"]]]]]]],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[13],[1,"\\n"]],["&attrs","&toggle","&content"],false,["did-insert","on","yield","hash","if"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/menu-primitive/index.js",isStrictMode:!1})
let f=(n=class extends(l()){constructor(...e){super(...e),(0,o.b)(this,"isOpen",i,this),(0,o.b)(this,"toggleRef",s,this)}didInsert(e){this.element=e}onClickToggle(e){this.toggleRef||(this.toggleRef=e.currentTarget),this.isOpen=!this.isOpen,this.toggleRef.focus()}onFocusOut(e){this.element.contains(e.relatedTarget||document.activeElement)||this.close()}onKeyUp(e){"Escape"===e.key&&(this.close(),this.toggleRef.focus())}close(){(0,h.schedule)("afterRender",(()=>{this.isOpen=!1,this.args.onClose&&"function"==typeof this.args.onClose&&this.args.onClose()}))}},i=(0,o._)(n.prototype,"isOpen",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,o._)(n.prototype,"toggleRef",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o._)(n.prototype,"didInsert",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"didInsert"),n.prototype),(0,o._)(n.prototype,"onClickToggle",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onClickToggle"),n.prototype),(0,o._)(n.prototype,"onFocusOut",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onFocusOut"),n.prototype),(0,o._)(n.prototype,"onKeyUp",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onKeyUp"),n.prototype),(0,o._)(n.prototype,"close",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"close"),n.prototype),n);(0,d.setComponentTemplate)(p,f)},4182:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"g7O3qJRr",block:'[[[11,0],[24,0,"hds-modal__body"],[17,1],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/modal/body.js",isStrictMode:!1})
class l extends(i()){constructor(e){super(e,{}),(0,s.deprecate)("The `Hds::Modal::Body` sub-component is now deprecated and will be removed in the next major version of `@hashicorp/design-system-components`. Use `Hds::DialogPrimitive::Body` as one-to-one replacement.",!1,{id:"hds.components.modal.body",until:"5.0.0",url:"https://helios.hashicorp.design/components/flyout?tab=version%20history#460",for:"@hashicorp/design-system-components",since:{enabled:"4.6.0"}})}}(0,o.setComponentTemplate)(a,l)},41128:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"KKjr76TL",block:'[[[11,0],[24,0,"hds-modal__footer"],[17,1],[12],[1,"\\n  "],[18,3,[[28,[37,1],null,[["close"],[[30,2]]]]]],[1,"\\n"],[13]],["&attrs","@onDismiss","&default"],false,["yield","hash"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/modal/footer.js",isStrictMode:!1})
class l extends(i()){constructor(e,t){super(e,t),(0,s.deprecate)("The `Hds::Modal::Footer` sub-component is now deprecated and will be removed in the next major version of `@hashicorp/design-system-components`. Use `Hds::DialogPrimitive::Footer` as one-to-one replacement.",!1,{id:"hds.components.modal.footer",until:"5.0.0",url:"https://helios.hashicorp.design/components/flyout?tab=version%20history#460",for:"@hashicorp/design-system-components",since:{enabled:"4.6.0"}})}}(0,o.setComponentTemplate)(a,l)},68488:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"Zis7Xyy9",block:'[[[11,0],[24,0,"hds-modal__header"],[17,1],[12],[1,"\\n"],[41,[30,2],[[[1,"    "],[8,[39,1],[[24,0,"hds-modal__icon"]],[["@name","@size","@isInlineBlock"],[[30,2],"24",false]],null],[1,"\\n"]],[]],null],[1,"  "],[8,[39,2],[[24,0,"hds-modal__title"],[16,1,[30,3]]],[["@tag","@size","@weight"],["div","300","semibold"]],[["default"],[[[[1,"\\n"],[41,[30,4],[[[1,"      "],[8,[39,3],[[24,0,"hds-modal__tagline"]],[["@tag","@size","@weight"],["div","100","regular"]],[["default"],[[[[1,"\\n        "],[1,[30,4]],[1,"\\n      "]],[]]]]],[1,"\\n"]],[]],null],[1,"    "],[18,6,null],[1,"\\n  "]],[]]]]],[1,"\\n  "],[8,[39,5],[[24,0,"hds-modal__dismiss"],[4,[38,6],["click",[30,5]],null]],null,null],[1,"\\n"],[13]],["&attrs","@icon","@id","@tagline","@onDismiss","&default"],false,["if","flight-icon","hds/text/display","hds/text/body","yield","hds/dismiss-button","on"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/modal/header.js",isStrictMode:!1})
class l extends(i()){constructor(e,t){super(e,t),(0,s.deprecate)("The `Hds::Modal::Header` sub-component is now deprecated and will be removed in the next major version of `@hashicorp/design-system-components`. Use `Hds::DialogPrimitive::Header` as one-to-one replacement.",!1,{id:"hds.components.modal.header",until:"5.0.0",url:"https://helios.hashicorp.design/components/flyout?tab=version%20history#460",for:"@hashicorp/design-system-components",since:{enabled:"4.6.0"}})}}(0,o.setComponentTemplate)(a,l)},25560:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{COLORS:()=>k,DEFAULT_COLOR:()=>w,DEFAULT_SIZE:()=>b,SIZES:()=>S,default:()=>x})
var n=r(41507),i=r(17990),s=r.n(i),o=r(55521),a=r(37219),l=r(3353),c=r(63928),u=r(7456)
r(70493),r(58228),r(41968)
let h=function(e){return e.Small="small",e.Medium="medium",e.Large="large",e}({}),d=function(e){return e.Neutral="neutral",e.Warning="warning",e.Critical="critical",e}({})
var p,f,m,g=r(23574),y=(0,r(59266).createTemplateFactory)({id:"ANkxQzTI",block:'[[[8,[39,0],[[16,0,[30,0,["classNames"]]],[17,1],[16,"aria-labelledby",[30,0,["id"]]],[4,[38,1],[[30,0,["didInsert"]]],null],[4,[38,2],[[30,0,["willDestroyNode"]]],null],[4,[38,3],null,[["isActive","focusTrapOptions"],[[30,0,["isOpen"]],[28,[37,4],null,[["onDeactivate","clickOutsideDeactivates"],[[30,0,["onDismiss"]],true]]]]]]],null,[["header","body","footer"],[[[[1,"\\n    "],[18,2,[[28,[37,4],null,[["Header"],[[50,"hds/dialog-primitive/header",0,null,[["id","onDismiss","contextualClassPrefix"],[[30,0,["id"]],[30,0,["onDismiss"]],"hds-modal"]]]]]]]],[1,"\\n  "]],[]],[[[1,"\\n    "],[18,2,[[28,[37,4],null,[["Body"],[[50,"hds/dialog-primitive/body",0,null,[["contextualClass"],["hds-modal__body"]]]]]]]],[1,"\\n  "]],[]],[[[1,"\\n    "],[18,2,[[28,[37,4],null,[["Footer"],[[50,"hds/dialog-primitive/footer",0,null,[["onDismiss","contextualClass"],[[30,0,["onDismiss"]],"hds-modal__footer"]]]]]]]],[1,"\\n  "]],[]]]]],[1,"\\n\\n"],[41,[30,0,["isOpen"]],[[[1,"  "],[8,[39,8],null,[["@contextualClass"],["hds-modal__overlay"]],null],[1,"\\n"]],[]],null]],["&attrs","&default"],false,["hds/dialog-primitive/wrapper","did-insert","will-destroy","focus-trap","hash","yield","component","if","hds/dialog-primitive/overlay"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/modal/index.js",isStrictMode:!1})
const v=(0,u.buildWaiter)("@hashicorp/design-system-components:modal"),b=h.Medium,w=d.Neutral,S=Object.values(h),k=Object.values(d)
let x=(p=class extends(s()){constructor(...e){super(...e),(0,n.b)(this,"isOpen",f,this),(0,n.b)(this,"isDismissDisabled",m,this),(0,n.a)(this,"element",void 0),(0,n.a)(this,"body",void 0),(0,n.a)(this,"bodyInitialOverflowValue","")}get size(){const{size:e=b}=this.args
return(0,l.assert)(`@size for "Hds::Modal" must be one of the following: ${S.join(", ")}; received: ${e}`,S.includes(e)),e}get color(){const{color:e=w}=this.args
return(0,l.assert)(`@color for "Hds::Modal" must be one of the following: ${k.join(", ")}; received: ${e}`,k.includes(e)),e}get id(){return(0,c.n)(this)}get classNames(){const e=["hds-modal"]
return e.push(`hds-modal--size-${this.size}`),e.push(`hds-modal--color-${this.color}`),e.join(" ")}registerOnCloseCallback(e){!this.isDismissDisabled&&this.args.onClose&&"function"==typeof this.args.onClose&&this.args.onClose(e),this.isDismissDisabled?this.element.parentElement&&this.element.showModal():this.isOpen=!1}didInsert(e){this.element=e,this.body=document.body,this.body&&(this.bodyInitialOverflowValue=this.body.style.getPropertyValue("overflow")),this.element.addEventListener("close",this.registerOnCloseCallback,!0),this.element.open||this.open()}willDestroyNode(){this.element&&this.element.removeEventListener("close",this.registerOnCloseCallback,!0)}open(){this.element.showModal(),this.isOpen=!0,this.body&&this.body.style.setProperty("overflow","hidden"),this.args.onOpen&&"function"==typeof this.args.onOpen&&this.args.onOpen()}async onDismiss(){if(this.element.open){const e=v.beginAsync(),t=()=>{v.endAsync(e),this.element.removeEventListener("close",t)}
this.element.addEventListener("close",t)}this.element.close(),this.body&&(this.body.style.removeProperty("overflow"),""===this.bodyInitialOverflowValue?0===this.body.style.length&&this.body.removeAttribute("style"):this.body.style.setProperty("overflow",this.bodyInitialOverflowValue))}},f=(0,n._)(p.prototype,"isOpen",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),m=(0,n._)(p.prototype,"isDismissDisabled",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.isDismissDisabled??!1}}),(0,n._)(p.prototype,"registerOnCloseCallback",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"registerOnCloseCallback"),p.prototype),(0,n._)(p.prototype,"didInsert",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"didInsert"),p.prototype),(0,n._)(p.prototype,"willDestroyNode",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"willDestroyNode"),p.prototype),(0,n._)(p.prototype,"open",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"open"),p.prototype),(0,n._)(p.prototype,"onDismiss",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"onDismiss"),p.prototype),p);(0,g.setComponentTemplate)(y,x)},72435:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"JdYuOQQg",block:'[[[11,0],[24,0,"hds-page-header__actions"],[17,1],[12],[18,2,null],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/page-header/actions.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},96632:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"K8YB6GT7",block:'[[[11,0],[24,0,"hds-page-header__badges-wrapper"],[17,1],[12],[18,2,null],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/page-header/badges.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},70776:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"gktsGDBU",block:'[[[8,[39,0],[[24,0,"hds-page-header__description"],[17,1]],[["@tag","@size","@color"],["p","200","primary"]],[["default"],[[[[18,2,null]],[]]]]]],["&attrs","&default"],false,["hds/text/body","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/page-header/description.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},64367:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"TMBwbXFS",block:'[[[11,"header"],[24,0,"hds-page-header"],[17,1],[12],[1,"\\n  "],[18,2,[[28,[37,1],null,[["Breadcrumb"],[[50,"hds/yield",0,null,null]]]]]],[1,"\\n  "],[10,0],[14,0,"hds-page-header__body"],[12],[1,"\\n    "],[18,2,[[28,[37,1],null,[["IconTile"],[[50,"hds/icon-tile",0,null,[["size"],["medium"]]]]]]]],[1,"\\n    "],[10,0],[14,0,"hds-page-header__main"],[12],[1,"\\n      "],[10,0],[14,0,"hds-page-header__content"],[12],[1,"\\n        "],[10,0],[14,0,"hds-page-header__title-wrapper"],[12],[1,"\\n          "],[18,2,[[28,[37,1],null,[["Title"],[[50,"hds/page-header/title",0,null,null]]]]]],[1,"\\n          "],[18,2,[[28,[37,1],null,[["Badges"],[[50,"hds/page-header/badges",0,null,null]]]]]],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"hds-page-header__metadata"],[12],[1,"\\n          "],[18,2,[[28,[37,1],null,[["Subtitle","Description","Generic"],[[50,"hds/page-header/subtitle",0,null,null],[50,"hds/page-header/description",0,null,null],[50,"hds/yield",0,null,null]]]]]],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n      "],[18,2,[[28,[37,1],null,[["Actions"],[[50,"hds/page-header/actions",0,null,null]]]]]],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13]],["&attrs","&default"],false,["yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/page-header/index.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},50811:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"653W92nD",block:'[[[8,[39,0],[[24,0,"hds-page-header__subtitle"],[17,1]],[["@tag","@size","@color"],["p","200","faint"]],[["default"],[[[[18,2,null]],[]]]]]],["&attrs","&default"],false,["hds/text/body","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/page-header/subtitle.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},95718:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"DxTVNwRP",block:'[[[8,[39,0],[[24,0,"hds-page-header__title"],[17,1]],[["@tag","@size","@color"],["h1","500","strong"]],[["default"],[[[[18,2,null]],[]]]]]],["&attrs","&default"],false,["hds/text/display","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/page-header/title.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},93267:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_PAGE_SIZES:()=>f,default:()=>m})
var n,i,s,o=r(41507),a=r(17990),l=r.n(a),c=r(55521),u=r(37219),h=r(3353),d=r(23574),p=(0,r(59266).createTemplateFactory)({id:"z94KvrSo",block:'[[[11,0],[24,0,"hds-pagination"],[17,1],[12],[1,"\\n  "],[10,"nav"],[14,0,"hds-pagination-nav"],[15,"aria-label",[30,0,["ariaLabel"]]],[12],[1,"\\n    "],[8,[39,0],null,[["@direction","@showLabel","@route","@query","@model","@models","@replace","@onClick","@disabled"],["prev",[30,0,["showLabels"]],[30,0,["routing","route"]],[30,0,["routing","queryPrev"]],[30,0,["routing","model"]],[30,0,["routing","models"]],[30,0,["routing","replace"]],[30,0,["onPageChange"]],[30,2]]],null],[1,"\\n    "],[8,[39,0],null,[["@direction","@showLabel","@route","@query","@model","@models","@replace","@onClick","@disabled"],["next",[30,0,["showLabels"]],[30,0,["routing","route"]],[30,0,["routing","queryNext"]],[30,0,["routing","model"]],[30,0,["routing","models"]],[30,0,["routing","replace"]],[30,0,["onPageChange"]],[30,3]]],null],[1,"\\n  "],[13],[1,"\\n\\n"],[41,[30,0,["showSizeSelector"]],[[[1,"    "],[8,[39,2],null,[["@pageSizes","@label","@selectedSize","@onChange"],[[30,0,["pageSizes"]],[30,4],[30,0,["currentPageSize"]],[30,0,["onPageSizeChange"]]]],null],[1,"\\n"]],[]],null],[13]],["&attrs","@isDisabledPrev","@isDisabledNext","@sizeSelectorLabel"],false,["hds/pagination/nav/arrow","if","hds/pagination/size-selector"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/pagination/compact/index.js",isStrictMode:!1})
const f=[10,30,50]
let m=(n=class extends(l()){constructor(){super(...arguments),(0,o.b)(this,"_currentPageSize",i,this),(0,o.b)(this,"isControlled",s,this),(0,o.a)(this,"showLabels",this.args.showLabels??!0),(0,o.a)(this,"showSizeSelector",this.args.showSizeSelector??!1)
let{queryFunction:e}=this.args
void 0===e?this.isControlled=!1:((0,h.assert)('@queryFunction for "Hds::Pagination::Numbered" must be a function',"function"==typeof e),this.isControlled=!0)}get ariaLabel(){return this.args.ariaLabel??"Pagination"}get currentPageSize(){return this.isControlled?this.args.currentPageSize:this._currentPageSize}set currentPageSize(e){this.isControlled||(this._currentPageSize=e)}get pageSizes(){let{pageSizes:e=f}=this.args
return(0,h.assert)(`pageSizes argument must be an array. Received: ${e}`,!0===Array.isArray(e)),e}buildQueryParamsObject(e,t){return this.isControlled?this.args.queryFunction(e,t):{}}get routing(){let e={route:this.args.route??void 0,model:this.args.model??void 0,models:this.args.models??void 0,replace:this.args.replace??void 0}
return this.isControlled?(e.queryPrev=this.buildQueryParamsObject("prev",this.currentPageSize),e.queryNext=this.buildQueryParamsObject("next",this.currentPageSize)):(e.queryPrev=void 0,e.queryNext=void 0),e}onPageChange(e){this.currentPage=e
let{onPageChange:t}=this.args
"function"==typeof t&&t(e)}onPageSizeChange(e){let{onPageSizeChange:t}=this.args
"function"==typeof t&&t(e)}},i=(0,o._)(n.prototype,"_currentPageSize",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.currentPageSize??this.pageSizes[0]}}),s=(0,o._)(n.prototype,"isControlled",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o._)(n.prototype,"onPageChange",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onPageChange"),n.prototype),(0,o._)(n.prototype,"onPageSizeChange",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onPageSizeChange"),n.prototype),n);(0,d.setComponentTemplate)(p,m)},62305:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"bbe7+grD",block:'[[[8,[39,0],[[24,0,"hds-pagination-info"],[17,1]],[["@tag","@size","@weight"],["div","100","medium"]],[["default"],[[[[1,"\\n  "],[1,[30,2]],[1,"–"],[1,[30,3]],[1,"\\n"],[41,[30,0,["showTotalItems"]],[[[1,"    of\\n    "],[1,[30,4]],[1,"\\n"]],[]],null]],[]]]]]],["&attrs","@itemsRangeStart","@itemsRangeEnd","@totalItems"],false,["hds/text/body","if"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/pagination/info/index.js",isStrictMode:!1})
class a extends(i()){get showTotalItems(){return this.args.showTotalItems??!0}}(0,s.setComponentTemplate)(o,a)},88598:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DIRECTIONS:()=>h,default:()=>d})
var n,i=r(41507),s=r(17990),o=r.n(s),a=r(37219),l=r(3353),c=r(23574),u=(0,r(59266).createTemplateFactory)({id:"xXUA5Aow",block:'[[[41,[30,1],[[[1,"  "],[8,[39,1],[[16,0,[30,0,["classNames"]]],[16,"aria-label",[30,0,["content","ariaLabel"]]],[16,"disabled",true],[17,2]],null,[["default"],[[[[1,"\\n    "],[8,[39,2],null,[["@name"],[[30,0,["content","icon"]]]],null],[1,"\\n"],[41,[30,0,["showLabel"]],[[[1,"      "],[8,[39,3],[[24,0,"hds-pagination-nav__arrow-label"],[24,"aria-hidden","true"]],[["@tag","@size","@weight"],["span","100","medium"]],[["default"],[[[[1,"\\n        "],[1,[30,0,["content","label"]]],[1,"\\n      "]],[]]]]],[1,"\\n"]],[]],null],[1,"  "]],[]]]]],[1,"\\n"]],[]],[[[1,"  "],[8,[39,1],[[16,0,[30,0,["classNames"]]],[16,"aria-label",[30,0,["content","ariaLabel"]]],[17,2],[4,[38,6],["click",[30,0,["onClick"]]],null]],[["@route","@query","@models","@replace"],[[30,3],[28,[37,4],[[30,4]],null],[28,[37,5],[[30,5],[30,6]],null],[30,7]]],[["default"],[[[[1,"\\n    "],[8,[39,2],null,[["@name"],[[30,0,["content","icon"]]]],null],[1,"\\n"],[41,[30,0,["showLabel"]],[[[1,"      "],[8,[39,3],[[24,0,"hds-pagination-nav__arrow-label"],[24,"aria-hidden","true"]],[["@tag","@size","@weight"],["span","100","medium"]],[["default"],[[[[1,"\\n        "],[1,[30,0,["content","label"]]],[1,"\\n      "]],[]]]]],[1,"\\n"]],[]],null],[1,"  "]],[]]]]],[1,"\\n"]],[]]]],["@disabled","&attrs","@route","@query","@model","@models","@replace"],false,["if","hds/interactive","flight-icon","hds/text/body","hds-link-to-query","hds-link-to-models","on"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/pagination/nav/arrow.js",isStrictMode:!1})
const h=["prev","next"]
let d=(n=class extends(o()){get content(){let e,{direction:t}=this.args
return(0,l.assert)(`@direction for "Pagination::Nav::Arrow" must be one of the following: ${h.join(", ")}; received: ${t}`,h.includes(t)),"prev"===t&&(e={label:"Previous",icon:"chevron-left",ariaLabel:"Previous page"}),"next"===t&&(e={label:"Next",icon:"chevron-right",ariaLabel:"Next page"}),e}get showLabel(){let{showLabel:e=!0}=this.args
return e}get classNames(){return["hds-pagination-nav__control","hds-pagination-nav__arrow",`hds-pagination-nav__arrow--direction-${this.args.direction}`].join(" ")}onClick(){let{onClick:e}=this.args
"function"==typeof e&&e(this.args.direction)}},(0,i._)(n.prototype,"onClick",[a.action],Object.getOwnPropertyDescriptor(n.prototype,"onClick"),n.prototype),n);(0,c.setComponentTemplate)(u,d)},75559:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"rd30eGsf",block:'[[[11,0],[24,0,"hds-pagination-nav__ellipsis"],[17,1],[12],[1,"..."],[13]],["&attrs"],false,[]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/pagination/nav/ellipsis.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},85698:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>h})
var n,i=r(41507),s=r(17990),o=r.n(s),a=r(37219),l=r(3353),c=r(23574),u=(0,r(59266).createTemplateFactory)({id:"DRukxZCB",block:'[[[8,[39,0],[[16,0,[30,0,["classNames"]]],[17,1],[16,"aria-current",[52,[30,2],"page",null]],[4,[38,4],["click",[30,0,["onClick"]]],null]],[["@route","@query","@models","@replace"],[[30,3],[28,[37,2],[[30,4]],null],[28,[37,3],[[30,5],[30,6]],null],[30,7]]],[["default"],[[[[1,"\\n  "],[8,[39,5],null,[["@tag","@size","@weight"],["span","100","medium"]],[["default"],[[[[10,1],[14,0,"sr-only"],[12],[1,"page\\n    "],[13],[1,[30,0,["page"]]]],[]]]]],[1,"\\n"]],[]]]]]],["&attrs","@isSelected","@route","@query","@model","@models","@replace"],false,["hds/interactive","if","hds-link-to-query","hds-link-to-models","on","hds/text/body"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/pagination/nav/number.js",isStrictMode:!1})
let h=(n=class extends(o()){get page(){let{page:e}=this.args
return(0,l.assert)('@page for "Pagination::Nav::Number" must have a valid value',void 0!==e),e}get classNames(){let e=["hds-pagination-nav__control","hds-pagination-nav__number"]
return this.args.isSelected&&e.push("hds-pagination-nav__number--is-selected"),e.join(" ")}onClick(){let{onClick:e}=this.args
"function"==typeof e&&e(this.args.page)}},(0,i._)(n.prototype,"onClick",[a.action],Object.getOwnPropertyDescriptor(n.prototype,"onClick"),n.prototype),n);(0,c.setComponentTemplate)(u,h)},69239:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_PAGE_SIZES:()=>m,default:()=>y,elliptize:()=>g})
var n,i,s,o,a=r(41507),l=r(17990),c=r.n(l),u=r(55521),h=r(37219),d=r(3353),p=r(23574),f=(0,r(59266).createTemplateFactory)({id:"RnMqAw1b",block:'[[[11,0],[24,0,"hds-pagination"],[17,1],[12],[1,"\\n"],[41,[30,0,["showInfo"]],[[[1,"    "],[8,[39,1],null,[["@itemsRangeStart","@itemsRangeEnd","@totalItems","@showTotalItems"],[[30,0,["itemsRangeStart"]],[30,0,["itemsRangeEnd"]],[30,2],[30,3]]],null],[1,"\\n"]],[]],null],[1,"\\n  "],[10,"nav"],[14,0,"hds-pagination-nav"],[15,"aria-label",[30,0,["ariaLabel"]]],[12],[1,"\\n    "],[8,[39,2],null,[["@direction","@showLabel","@route","@query","@model","@models","@replace","@onClick","@disabled"],["prev",[30,0,["showLabels"]],[30,0,["routing","route"]],[30,0,["routing","queryPrev"]],[30,0,["routing","model"]],[30,0,["routing","models"]],[30,0,["routing","replace"]],[30,0,["onPageChange"]],[30,0,["isDisabledPrev"]]]],null],[1,"\\n"],[41,[30,0,["showPageNumbers"]],[[[1,"      "],[10,"ul"],[14,0,"hds-pagination-nav__page-list"],[12],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[30,0,["pages"]]],null]],null],null,[[[1,"          "],[10,"li"],[14,0,"hds-pagination-nav__page-item"],[12],[1,"\\n"],[41,[28,[37,5],[[30,4],"…"],null],[[[1,"              "],[8,[39,6],null,null,null],[1,"\\n"]],[]],[[[1,"              "],[8,[39,7],null,[["@page","@route","@query","@model","@models","@replace","@onClick","@isSelected"],[[30,4],[30,0,["routing","route"]],[28,[37,8],[[30,0,["routing","queryPages"]],[30,4]],null],[30,0,["routing","model"]],[30,0,["routing","models"]],[30,0,["routing","replace"]],[30,0,["onPageChange"]],[52,[28,[37,5],[[30,4],[30,0,["currentPage"]]],null],true,false]]],null],[1,"\\n"]],[]]],[1,"          "],[13],[1,"\\n"]],[4]],null],[1,"      "],[13],[1,"\\n"]],[]],null],[1,"    "],[8,[39,2],null,[["@direction","@showLabel","@route","@query","@model","@models","@replace","@onClick","@disabled"],["next",[30,0,["showLabels"]],[30,0,["routing","route"]],[30,0,["routing","queryNext"]],[30,0,["routing","model"]],[30,0,["routing","models"]],[30,0,["routing","replace"]],[30,0,["onPageChange"]],[30,0,["isDisabledNext"]]]],null],[1,"\\n  "],[13],[1,"\\n\\n"],[41,[30,0,["showSizeSelector"]],[[[1,"    "],[8,[39,9],null,[["@pageSizes","@label","@selectedSize","@onChange"],[[30,0,["pageSizes"]],[30,5],[30,0,["currentPageSize"]],[30,0,["onPageSizeChange"]]]],null],[1,"\\n"]],[]],null],[13]],["&attrs","@totalItems","@showTotalItems","page","@sizeSelectorLabel"],false,["if","hds/pagination/info","hds/pagination/nav/arrow","each","-track-array","eq","hds/pagination/nav/ellipsis","hds/pagination/nav/number","get","hds/pagination/size-selector"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/pagination/numbered/index.js",isStrictMode:!1})
const m=[10,30,50],g=({pages:e,current:t,limit:r=7})=>{const n=e.length,i="…"
let s,o,a=[]
if(n<=r)return e
t<=n/2?(s=Math.ceil(r/2),o=r-s):(o=Math.ceil(r/2),s=r-o)
const l=e.slice(0,s),c=e.slice(-o)
if(l.includes(t)&&l.includes(t+1))c.splice(0,1,i),a=[].concat(l,c)
else if(c.includes(t-1)&&c.includes(t))l.splice(-1,1,i),a=[].concat(l,c)
else{const n=(r-5)/2,s=e.slice(t-n-1,t+n)
a=[].concat(l.shift(),i,s,i,c.pop())}return a}
let y=(n=class extends(c()){constructor(){super(...arguments),(0,a.b)(this,"_currentPage",i,this),(0,a.b)(this,"_currentPageSize",s,this),(0,a.b)(this,"isControlled",o,this),(0,a.a)(this,"showInfo",this.args.showInfo??!0),(0,a.a)(this,"showLabels",this.args.showLabels??!1),(0,a.a)(this,"showSizeSelector",this.args.showSizeSelector??!0),(0,a.a)(this,"showPageNumbers",this.args.showPageNumbers??!0),(0,a.a)(this,"isTruncated",this.args.isTruncated??!0)
let{queryFunction:e}=this.args
void 0===e?this.isControlled=!1:((0,d.assert)('@queryFunction for "Hds::Pagination::Numbered" must be a function',"function"==typeof e),(0,d.assert)('@currentPage and @currentPageSize for "Hds::Pagination::Numbered" must be provided as numeric arguments when the pagination controls the routing',"number"==typeof this.args.currentPageSize&&"number"==typeof this.args.currentPage),this.isControlled=!0),(0,d.assert)('@totalItems for "Hds::Pagination::Numbered" must be defined as an integer number',"number"==typeof this.args.totalItems)}get ariaLabel(){return this.args.ariaLabel??"Pagination"}get currentPage(){return this.isControlled?this.args.currentPage:this._currentPage}set currentPage(e){this.isControlled||(this._currentPage=e)}get currentPageSize(){return this.isControlled?this.args.currentPageSize:this._currentPageSize}set currentPageSize(e){this.isControlled||(this._currentPageSize=e)}get pageSizes(){let{pageSizes:e=m}=this.args
return(0,d.assert)(`pageSizes argument must be an array. Received: ${e}`,!0===Array.isArray(e)),e}get itemsRangeStart(){return(this.currentPage-1)*this.currentPageSize+1}get itemsRangeEnd(){return this.currentPage*this.currentPageSize<this.args.totalItems?this.itemsRangeStart+this.currentPageSize-1:this.args.totalItems}get pages(){let e=[]
for(let t=1;t<=this.totalPages;t++)e.push(t)
return this.isTruncated?g({pages:e,current:this.currentPage}):e}get totalPages(){return Math.max(Math.ceil(this.args.totalItems/this.currentPageSize),1)}buildQueryParamsObject(e,t){return this.isControlled?this.args.queryFunction(e,t):{}}get routing(){let e={route:this.args.route??void 0,model:this.args.model??void 0,models:this.args.models??void 0,replace:this.args.replace??void 0}
return this.isControlled?(e.queryPrev=this.buildQueryParamsObject(this.currentPage-1,this.currentPageSize),e.queryNext=this.buildQueryParamsObject(this.currentPage+1,this.currentPageSize),e.queryPages={},this.pages.forEach((t=>e.queryPages[t]=this.buildQueryParamsObject(t,this.currentPageSize)))):(e.queryPrev=void 0,e.queryNext=void 0,e.queryByPage={}),e}get isDisabledPrev(){return 1===this.currentPage}get isDisabledNext(){return this.currentPage===this.totalPages}onPageChange(e){let t
if(t="prev"===e&&this.currentPage>1?this.currentPage-1:"next"===e&&this.currentPage<this.totalPages?this.currentPage+1:e,t!==this.currentPage){this.currentPage=t
let{onPageChange:e}=this.args
"function"==typeof e&&e(this.currentPage,this.currentPageSize)}}onPageSizeChange(e){let{onPageSizeChange:t}=this.args
this.isControlled||(this.currentPage=1,this.currentPageSize=e),"function"==typeof t&&t(e)}},i=(0,a._)(n.prototype,"_currentPage",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.currentPage??1}}),s=(0,a._)(n.prototype,"_currentPageSize",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.currentPageSize??this.pageSizes[0]}}),o=(0,a._)(n.prototype,"isControlled",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a._)(n.prototype,"onPageChange",[h.action],Object.getOwnPropertyDescriptor(n.prototype,"onPageChange"),n.prototype),(0,a._)(n.prototype,"onPageSizeChange",[h.action],Object.getOwnPropertyDescriptor(n.prototype,"onPageSizeChange"),n.prototype),n);(0,p.setComponentTemplate)(f,y)},32282:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>d})
var n,i=r(41507),s=r(17990),o=r.n(s),a=r(3353),l=r(29806),c=r(37219),u=r(23574),h=(0,r(59266).createTemplateFactory)({id:"8SpTsUAg",block:'[[[11,0],[24,0,"hds-pagination-size-selector"],[17,1],[12],[1,"\\n  "],[10,"label"],[14,0,"hds-typography-body-100 hds-font-weight-medium"],[15,"for",[30,0,["SizeSelectorId"]]],[12],[1,"\\n    "],[1,[30,0,["label"]]],[1,"\\n  "],[13],[1,"\\n  "],[8,[39,0],[[16,1,[30,0,["SizeSelectorId"]]],[4,[38,1],["change",[30,0,["onChange"]]],null]],null,[["default"],[[[[1,"\\n    "],[8,[30,2,["Options"]],null,null,[["default"],[[[[1,"\\n"],[42,[28,[37,3],[[28,[37,3],[[30,0,["pageSizes"]]],null]],null],null,[[[1,"        "],[10,"option"],[15,2,[30,3]],[15,"selected",[52,[28,[37,5],[[30,3],[30,0,["selectedSize"]]],null],true,null]],[12],[1,[30,3]],[13],[1,"\\n"]],[3]],null],[1,"    "]],[]]]]],[1,"\\n  "]],[2]]]]],[1,"\\n"],[13]],["&attrs","S","size"],false,["hds/form/select/base","on","each","-track-array","if","eq"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/pagination/size-selector/index.js",isStrictMode:!1})
let d=(n=class extends(o()){constructor(...e){super(...e),(0,i.a)(this,"SizeSelectorId","pagination-size-selector-"+(0,l.guidFor)(this))}get pageSizes(){let{pageSizes:e}=this.args
return(0,a.assert)('@pageSizes for "Pagination::SizeSelector" must be defined',void 0!==e),e}get selectedSize(){let{selectedSize:e}=this.args
return(0,a.assert)(`@selectedSize for "Pagination::SizeSelector" must one of the @pageSizes provided (${this.pageSizes.join(",")}), received ${e}`,void 0===e||this.pageSizes.includes(e)),e}get label(){let{label:e="Items per page"}=this.args
return e}onChange(e){let{onChange:t}=this.args
"function"==typeof t&&t(parseInt(e.target.value))}},(0,i._)(n.prototype,"onChange",[c.action],Object.getOwnPropertyDescriptor(n.prototype,"onChange"),n.prototype),n);(0,u.setComponentTemplate)(h,d)},83322:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>b})
var n,i,s,o=r(41507),a=r(17990),l=r.n(a),c=r(55521),u=r(37219),h=r(3353),d=r(98773),p=r(29806),f=r(38575),m=r(47165),g=r(26704),y=r(23574),v=(0,r(59266).createTemplateFactory)({id:"AZ853ADU",block:'[[[18,1,[[28,[37,1],null,[["setupPrimitiveContainer","setupPrimitiveToggle","setupPrimitivePopover","toggleElement","popoverElement","isOpen","showPopover","hidePopover","togglePopover"],[[30,0,["setupPrimitiveContainer"]],[30,0,["setupPrimitiveToggle"]],[30,0,["setupPrimitivePopover"]],[30,0,["toggleElement"]],[30,0,["popoverElement"]],[30,0,["isOpen"]],[30,0,["showPopover"]],[30,0,["hidePopover"]],[30,0,["togglePopover"]]]]]]]],["&default"],false,["yield","hash"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/popover-primitive/index.js",isStrictMode:!1})
let b=(n=class extends(l()){constructor(...e){super(...e),(0,o.b)(this,"isOpen",i,this),(0,o.b)(this,"isClosing",s,this),(0,o.a)(this,"containerElement",void 0),(0,o.a)(this,"toggleElement",void 0),(0,o.a)(this,"popoverElement",void 0),(0,o.a)(this,"enableSoftEvents",this.args.enableSoftEvents??!1),(0,o.a)(this,"enableClickEvents",this.args.enableClickEvents??!1),(0,o.a)(this,"timer",void 0),(0,o.a)(this,"setupPrimitiveContainer",(0,f.modifier)((e=>{this.containerElement=e,this.enableSoftEvents&&((0,m.default)(this.containerElement,["mouseenter",this.onMouseEnter]),(0,m.default)(this.containerElement,["mouseleave",this.onMouseLeave]),(0,m.default)(this.containerElement,["focusin",this.onFocusIn])),(0,m.default)(this.containerElement,["focusout",this.onFocusOut])}))),(0,o.a)(this,"setupPrimitiveToggle",(0,f.modifier)((e=>{this.toggleElement=e,(0,h.assert)(`The toggle element of "Hds::PopoverPrimitive" must be a <button>; element received: <${e.tagName.toLowerCase()}>`,e instanceof HTMLButtonElement)}))),(0,o.a)(this,"setupPrimitivePopover",(0,f.modifier)(((e,t,r)=>{if(this.popoverElement=e,this.enableClickEvents){let e
this.popoverElement.id?e=this.popoverElement.id:(e=(0,p.guidFor)(this),this.popoverElement.id=e),this.toggleElement&&this.toggleElement.setAttribute("popovertarget",e)}this.args.isOpen?(this.popoverElement.popover="manual",this.popoverElement.showPopover()):this.popoverElement.popover="auto",(0,m.default)(this.popoverElement,["beforetoggle",this.onBeforeTogglePopover]),(0,m.default)(this.popoverElement,["toggle",this.onTogglePopover])
const n={...r.anchoredPositionOptions};(0,d.next)((()=>{(0,g.default)(this.popoverElement,[this.toggleElement],n)}))})))}showPopover(){try{this.popoverElement&&this.popoverElement.showPopover()}catch(e){(0,h.warn)(`The invocation of \`showPopover\` for the popover element caused an unexpected error: ${JSON.stringify(e)}`,{id:"hds-popover.show-popover-action.invocation-failed"})}}hidePopover(){try{this.popoverElement&&this.popoverElement.hidePopover()}catch(e){(0,h.warn)(`The invocation of \`hidePopover\` for the popover element caused an unexpected error: ${JSON.stringify(e)}`,{id:"hds-popover.hide-popover-action.invocation-failed"})}}togglePopover(){try{this.popoverElement&&this.popoverElement.togglePopover()}catch(e){(0,h.warn)(`The invocation of \`togglePopover\` for the popover element caused an unexpected error: ${JSON.stringify(e)}`,{id:"hds-popover.toggle-popover-action.invocation-failed"})}}onBeforeTogglePopover(e){"closed"===e.newState&&(this.isClosing=!0)}onTogglePopover(e){if("open"===e.newState){this.isOpen=!0
const{onOpen:e}=this.args
"function"==typeof e&&e()}else{this.isOpen=!1,this.isClosing=!1,this.args.isOpen&&this.popoverElement&&(this.popoverElement.popover="auto")
const{onClose:e}=this.args
"function"==typeof e&&e()}}onMouseEnter(){this.timer&&clearTimeout(this.timer),this.showPopover()}onFocusIn(){this.isClosing||(this.timer&&clearTimeout(this.timer),this.showPopover())}onMouseLeave(){this.timer=setTimeout((()=>this.hidePopover()),500)}onFocusOut(e){if(this.containerElement){let t=!1;(e.relatedTarget&&this.containerElement.contains(e.relatedTarget)||document.activeElement&&this.containerElement.contains(document.activeElement))&&(t=!0),t||this.hidePopover()}}},i=(0,o._)(n.prototype,"isOpen",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.isOpen??!1}}),s=(0,o._)(n.prototype,"isClosing",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,o._)(n.prototype,"showPopover",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"showPopover"),n.prototype),(0,o._)(n.prototype,"hidePopover",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"hidePopover"),n.prototype),(0,o._)(n.prototype,"togglePopover",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"togglePopover"),n.prototype),(0,o._)(n.prototype,"onBeforeTogglePopover",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onBeforeTogglePopover"),n.prototype),(0,o._)(n.prototype,"onTogglePopover",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onTogglePopover"),n.prototype),(0,o._)(n.prototype,"onMouseEnter",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onMouseEnter"),n.prototype),(0,o._)(n.prototype,"onFocusIn",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onFocusIn"),n.prototype),(0,o._)(n.prototype,"onMouseLeave",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onMouseLeave"),n.prototype),(0,o._)(n.prototype,"onFocusOut",[u.action],Object.getOwnPropertyDescriptor(n.prototype,"onFocusOut"),n.prototype),n);(0,y.setComponentTemplate)(v,b)},36212:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>u})
var n=r(41507),i=r(17990),s=r.n(i),o=r(29806),a=r(3353),l=r(23574),c=(0,r(59266).createTemplateFactory)({id:"p2P8N00y",block:'[[[1,"\\n"],[8,[39,0],[[24,0,"hds-reveal"],[17,1]],[["@isOpen"],[[30,2]]],[["toggle","content"],[[[[1,"\\n    "],[8,[39,1],[[16,"aria-controls",[30,0,["contentId"]]],[4,[38,2],["click",[30,3,["onClickToggle"]]],null]],[["@text","@isOpen"],[[28,[30,0,["getText"]],[[30,3,["isOpen"]]],null],[30,3,["isOpen"]]]],null],[1,"\\n  "]],[3]],[[[1,"\\n    "],[10,0],[14,0,"hds-reveal__content hds-typography-body-200 hds-foreground-primary"],[15,1,[30,0,["contentId"]]],[12],[1,"\\n      "],[18,4,null],[1,"\\n    "],[13],[1,"\\n  "]],[]]]]]],["&attrs","@isOpen","t","&default"],false,["hds/disclosure-primitive","hds/reveal/toggle/button","on","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/reveal/index.js",isStrictMode:!1})
class u extends(s()){constructor(...e){super(...e),(0,n.a)(this,"contentId","content-"+(0,o.guidFor)(this)),(0,n.a)(this,"getText",(e=>e&&void 0!==this.args.textWhenOpen?this.args.textWhenOpen:void 0!==this.args.text?this.args.text:void(0,a.assert)('@text for "Hds::Reveal" must have a valid value')))}}(0,l.setComponentTemplate)(c,u)},84130:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"FdskAkF8",block:'[[[1,"\\n"],[8,[39,0],[[16,"aria-expanded",[52,[30,1],"true","false"]],[16,0,[30,0,["classNames"]]],[17,2]],[["@text","@color","@icon"],[[30,3],"tertiary","chevron-down"]],null]],["@isOpen","&attrs","@text"],false,["hds/button","if"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/reveal/toggle/button.js",isStrictMode:!1})
class a extends(i()){get classNames(){const e=["hds-reveal__toggle-button"]
return this.args.isOpen&&e.push("hds-reveal__toggle-button--is-open"),e.join(" ")}}(0,s.setComponentTemplate)(o,a)},71915:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>c})
var n=r(17990),i=r.n(n),s=r(3353),o=r(26704),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"cmah0u2V",block:'[[[11,0],[24,0,"hds-rich-tooltip__bubble"],[17,1],[16,1,[30,2]],[24,"tabindex","-1"],[24,"role","tooltip"],[16,"aria-hidden",[52,[51,[30,3]],true]],[4,[38,1],[[30,0,["sizingStyles"]]],null],[4,[30,4],null,[["anchoredPositionOptions"],[[30,0,["anchoredPositionOptions"]]]]],[12],[1,"\\n  "],[10,0],[14,0,"hds-rich-tooltip__bubble-arrow"],[15,1,[30,5]],[12],[13],[1,"\\n"],[41,[30,3],[[[1,"    "],[10,0],[14,0,"hds-rich-tooltip__bubble-inner-content"],[12],[1,"\\n      "],[18,6,null],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[13]],["&attrs","@popoverId","@isOpen","@setupPrimitivePopover","@arrowId","&default"],false,["unless","style","if","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/rich-tooltip/bubble.js",isStrictMode:!1})
class c extends(i()){get placement(){const{placement:e=o.DEFAULT_PLACEMENT}=this.args
return(0,s.assert)(`@placement for "Hds::RichTooltip::Bubble" must be one of the following: ${o.PLACEMENTS.join(", ")}; received: ${e}`,o.PLACEMENTS.includes(e)),e}get enableCollisionDetection(){return this.args.enableCollisionDetection??!0}get sizingStyles(){const e={}
return this.args.width&&(e.width=this.args.width,e["max-width"]="none"),this.args.height&&(e.height=this.args.height,e["max-height"]="none"),e}get anchoredPositionOptions(){return{placement:this.placement,offsetOptions:this.args.offset??12,enableCollisionDetection:this.args.enableCollisionDetection??!0,arrowSelector:`#${this.args.arrowId}`,arrowPadding:12}}}(0,a.setComponentTemplate)(l,c)},48820:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>c})
var n=r(41507),i=r(17990),s=r.n(i),o=r(63928),a=(r(72675),r(71915),r(23574)),l=(0,r(59266).createTemplateFactory)({id:"cXGQ4Pj6",block:'[[[8,[39,0],null,[["@isOpen","@onOpen","@onClose","@enableSoftEvents","@enableClickEvents"],[[30,1],[30,2],[30,3],[30,0,["enableSoftEvents"]],[30,0,["enableClickEvents"]]]],[["default"],[[[[11,0],[24,0,"hds-rich-tooltip"],[17,5],[4,[30,4,["setupPrimitiveContainer"]],null,null],[12],[18,6,[[28,[37,2],null,[["Toggle","Bubble","isOpen","close"],[[50,"hds/rich-tooltip/toggle",0,null,[["popoverId","setupPrimitiveToggle","isOpen"],[[30,0,["popoverId"]],[30,4,["setupPrimitiveToggle"]],[30,4,["isOpen"]]]]],[50,"hds/rich-tooltip/bubble",0,null,[["arrowId","popoverId","setupPrimitivePopover","isOpen"],[[30,0,["arrowId"]],[30,0,["popoverId"]],[30,4,["setupPrimitivePopover"]],[30,4,["isOpen"]]]]],[30,4,["isOpen"]],[30,4,["hidePopover"]]]]]]],[13]],[4]]]]]],["@isOpen","@onOpen","@onClose","PP","&attrs","&default"],false,["hds/popover-primitive","yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/rich-tooltip/index.js",isStrictMode:!1})
class c extends(s()){constructor(...e){super(...e),(0,n.a)(this,"elementId",(0,o.n)(this)),(0,n.a)(this,"arrowId",`arrow-${this.elementId}`),(0,n.a)(this,"popoverId",`popover-${this.elementId}`)}get enableSoftEvents(){return!0!==this.args.enableClickEvents}get enableClickEvents(){return this.args.enableClickEvents??!1}}(0,a.setComponentTemplate)(l,c)},72675:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_ICONPOSITION:()=>h,ICONPOSITIONS:()=>u,SIZES:()=>d,default:()=>p})
var n=r(17990),i=r.n(n),s=r(3353)
let o=function(e){return e.Leading="leading",e.Trailing="trailing",e}({}),a=function(e){return e.Small="small",e.Medium="medium",e.Large="large",e}({})
var l=r(23574),c=(0,r(59266).createTemplateFactory)({id:"1DCgR6Dc",block:'[[[11,"button"],[16,0,[30,0,["classNames"]]],[17,1],[24,4,"button"],[16,"aria-controls",[30,2]],[16,"aria-describedby",[30,2]],[16,"aria-expanded",[52,[30,3],"true","false"]],[4,[30,4],null,null],[12],[41,[48,[30,7]],[[[18,7,null]],[]],[[[41,[28,[37,3],[[30,5],[28,[37,4],[[30,0,["iconPosition"]],"leading"],null]],null],[[[8,[39,5],[[24,0,"hds-rich-tooltip__toggle-icon"]],[["@name","@isInlineBlock"],[[30,5],[30,0,["isInline"]]]],null]],[]],null],[41,[30,6],[[[10,1],[14,0,"hds-rich-tooltip__toggle-text"],[12],[1,[30,6]],[13]],[]],null],[41,[28,[37,3],[[30,5],[28,[37,4],[[30,0,["iconPosition"]],"trailing"],null]],null],[[[8,[39,5],[[24,0,"hds-rich-tooltip__toggle-icon"]],[["@name","@isInlineBlock"],[[30,5],[30,0,["isInline"]]]],null]],[]],null]],[]]],[13]],["&attrs","@popoverId","@isOpen","@setupPrimitiveToggle","@icon","@text","&default"],false,["if","has-block","yield","and","eq","flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/rich-tooltip/toggle.js",isStrictMode:!1})
const u=Object.values(o),h=o.Trailing,d=Object.values(a)
class p extends(i()){get isInline(){const{isInline:e=!1}=this.args
return e}get iconPosition(){const{iconPosition:e=h}=this.args
return(0,s.assert)(`@iconPosition for "Hds::RichTooltip::Toggle" must be one of the following: ${u.join(", ")}; received: ${e}`,u.includes(e)),e}get size(){let e
return this.args.text&&(e=this.args.size,(0,s.assert)(`@size for "Hds::RichTooltip::Toggle" must be one of the following: ${d.join(", ")}; received: ${e}`,void 0===e||d.includes(e))),e}get classNames(){const e=["hds-rich-tooltip__toggle"]
return this.isInline?e.push("hds-rich-tooltip__toggle--is-inline"):e.push("hds-rich-tooltip__toggle--is-block"),this.size&&e.push(`hds-rich-tooltip__toggle--size-${this.size}`),e.join(" ")}}(0,l.setComponentTemplate)(c,p)},29979:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"gscFBZ/J",block:'[[[11,0],[24,0,"hds-segmented-group"],[17,1],[12],[1,"\\n  "],[18,2,[[28,[37,1],null,[["Button","Dropdown","Select","TextInput","Generic"],[[50,"hds/button",0,null,null],[50,"hds/dropdown",0,null,null],[50,"hds/form/select/base",0,null,null],[50,"hds/form/text-input/base",0,null,null],[50,"hds/yield",0,null,null]]]]]],[1,"\\n"],[13]],["&attrs","&default"],false,["yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/segmented-group/index.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},77061:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_SPACING:()=>c,SPACING:()=>u,default:()=>h})
var n=r(17990),i=r.n(n),s=r(3353)
let o=function(e){return e.Zero="0",e.TwentyFour="24",e}({})
var a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"MUfka7qF",block:'[[[11,"hr"],[16,0,[30,0,["classNames"]]],[17,1],[12],[13]],["&attrs"],false,[]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/separator/index.js",isStrictMode:!1})
const c=o.TwentyFour,u=Object.values(o)
class h extends(i()){get spacing(){const{spacing:e=c}=this.args
return(0,s.assert)(`@spacing for "Hds::Separator" must be one of the following: ${u.join(", ")}; received: ${e}`,u.includes(e)),e}get classNames(){const e=["hds-separator"]
return e.push(`hds-separator--spacing-${this.spacing}`),e.join(" ")}}(0,a.setComponentTemplate)(l,h)},42923:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"vutTk7Qy",block:'[[[1,"\\n"],[11,0],[24,0,"hds-side-nav"],[17,1],[12],[1,"\\n  "],[10,0],[14,0,"hds-side-nav__wrapper"],[12],[1,"\\n    "],[18,2,null],[1,"\\n    "],[10,0],[14,0,"hds-side-nav__wrapper-header"],[12],[1,"\\n      "],[18,3,null],[1,"\\n    "],[13],[1,"\\n    "],[10,0],[14,0,"hds-side-nav__wrapper-body"],[12],[1,"\\n      "],[18,4,null],[1,"\\n    "],[13],[1,"\\n    "],[10,0],[14,0,"hds-side-nav__wrapper-footer"],[12],[1,"\\n      "],[18,5,null],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"],[13]],["&attrs","&root","&header","&body","&footer"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/base.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},19761:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"MCVBKuHk",block:'[[[1,"\\n"],[8,[39,0],[[24,0,"hds-side-nav__home-link"],[17,1],[16,"aria-label",[30,0,["ariaLabel"]]]],[["@current-when","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal"],[[30,2],[28,[37,1],[[30,3],[30,4]],null],[28,[37,2],[[30,5]],null],[30,6],[30,7],[30,8],[30,9],[30,10]]],[["default"],[[[[1,"\\n  "],[8,[39,3],null,[["@name","@color","@stretched"],[[30,11],[30,12],true]],null],[1,"\\n"]],[]]]]]],["&attrs","@current-when","@model","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal","@icon","@color"],false,["hds/interactive","hds-link-to-models","hds-link-to-query","flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/header/home-link.js",isStrictMode:!1})
class l extends(i()){get ariaLabel(){const{ariaLabel:e}=this.args
return(0,s.assert)('@ariaLabel for "Hds::SideNav::Header::HomeLink" ("Logo") must have a valid value',void 0!==e),e}}(0,o.setComponentTemplate)(a,l)},54888:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"T5ud3VF+",block:'[[[1,"\\n"],[8,[39,0],[[24,0,"hds-side-nav__icon-button"],[17,1],[16,"aria-label",[30,0,["ariaLabel"]]]],[["@current-when","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal"],[[30,2],[28,[37,1],[[30,3],[30,4]],null],[28,[37,2],[[30,5]],null],[30,6],[30,7],[30,8],[30,9],[30,10]]],[["default"],[[[[1,"\\n  "],[8,[39,3],null,[["@name","@stretched","@size"],[[30,11],true,"24"]],null],[1,"\\n"]],[]]]]]],["&attrs","@current-when","@model","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal","@icon"],false,["hds/interactive","hds-link-to-models","hds-link-to-query","flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/header/icon-button.js",isStrictMode:!1})
class l extends(i()){get ariaLabel(){const{ariaLabel:e}=this.args
return(0,s.assert)('@ariaLabel for "Hds::SideNav::Header::IconButton" must have a valid value',void 0!==e),e}}(0,o.setComponentTemplate)(a,l)},53565:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"WIlq3rz/",block:'[[[1,"\\n"],[11,0],[24,0,"hds-side-nav-header"],[17,1],[12],[1,"\\n  "],[10,0],[14,0,"hds-side-nav-header__logo-container"],[12],[1,"\\n    "],[18,2,null],[1,"\\n  "],[13],[1,"\\n  "],[10,0],[14,0,"hds-side-nav-header__actions-container hds-side-nav-hide-when-minimized"],[12],[1,"\\n    "],[18,3,null],[1,"\\n  "],[13],[1,"\\n"],[13]],["&attrs","&logo","&actions"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/header/index.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},2204:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>v})
var n,i,s,o,a,l,c=r(41507),u=r(17990),h=r.n(u),d=r(55521),p=r(37219),f=r(3353),m=r(19341),g=r(23574),y=(0,r(59266).createTemplateFactory)({id:"3ScBkBov",block:'[[[1,"\\n"],[8,[39,0],[[16,0,[30,0,["classNames"]]],[17,1],[4,[38,1],["transitionstart",[28,[37,2],[[30,0,["setTransition"]],"start"],null]],null],[4,[38,1],["transitionend",[28,[37,2],[[30,0,["setTransition"]],"end"],null]],null],[4,[38,3],null,[["isActive"],[[30,0,["shouldTrapFocus"]]]]],[4,[38,4],[[30,0,["didInsert"]]],null]],null,[["root","header","body","footer"],[[[[1,"\\n"],[41,[30,0,["hasA11yRefocus"]],[[[1,"      "],[8,[39,6],null,[["@routeChangeValidator","@skipTo","@skipText","@navigationText","@excludeAllQueryParams"],[[30,2],[29,["#",[30,3]]],[30,4],[30,5],[30,6]]],null],[1,"\\n"]],[]],null],[41,[30,0,["showToggleButton"]],[[[1,"      "],[11,0],[24,0,"hds-side-nav__overlay"],[4,[38,1],["click",[30,0,["toggleMinimizedStatus"]]],null],[12],[13],[1,"\\n"],[1,"      "],[8,[39,7],[[16,"aria-label",[30,0,["ariaLabel"]]],[4,[38,1],["click",[30,0,["toggleMinimizedStatus"]]],null]],[["@icon"],[[52,[30,0,["isMinimized"]],"chevrons-right","chevrons-left"]]],null],[1,"\\n"]],[]],null],[1,"  "]],[]],[[[1,"\\n    "],[18,10,[[28,[37,9],null,[["Header","isMinimized"],[[30,7],[30,0,["isMinimized"]]]]]]],[1,"\\n  "]],[7]],[[[1,"\\n    "],[18,11,[[28,[37,9],null,[["Body","isMinimized"],[[30,8],[30,0,["isMinimized"]]]]]]],[1,"\\n  "]],[8]],[[[1,"\\n    "],[18,12,[[28,[37,9],null,[["Footer","isMinimized"],[[30,9],[30,0,["isMinimized"]]]]]]],[1,"\\n  "]],[9]]]]]],["&attrs","@a11yRefocusRouteChangeValidator","@a11yRefocusSkipTo","@a11yRefocusSkipText","@a11yRefocusNavigationText","@a11yRefocusExcludeAllQueryParams","Header","Body","Footer","&header","&body","&footer"],false,["hds/side-nav/base","on","fn","focus-trap","did-insert","if","navigation-narrator","hds/side-nav/toggle-button","yield","hash"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/index.js",isStrictMode:!1})
let v=(n=class extends(h()){constructor(e,t){super(e,t),(0,c.b)(this,"isResponsive",i,this),(0,c.b)(this,"isMinimized",s,this),(0,c.b)(this,"isCollapsible",o,this),(0,c.b)(this,"isAnimating",a,this),(0,c.b)(this,"isDesktop",l,this),(0,c.a)(this,"desktopMQ",void 0),(0,c.a)(this,"containersToHide",void 0),(0,c.a)(this,"hasA11yRefocus",this.args.hasA11yRefocus??!0),(0,c.a)(this,"desktopMQVal",getComputedStyle(document.documentElement).getPropertyValue("--hds-app-desktop-breakpoint")),this.desktopMQ=window.matchMedia(`(min-width:${this.desktopMQVal})`),this.addEventListeners(),(0,m.registerDestructor)(this,(()=>{this.removeEventListeners()})),this.args.hasA11yRefocus&&(0,f.assert)('@a11yRefocusSkipTo for NavigatorNarrator (a11y-refocus) in "Hds::SideNav" must have a valid value',void 0!==this.args.a11yRefocusSkipTo)}addEventListeners(){if(document.addEventListener("keydown",this.escapePress,!0),this.desktopMQ.addEventListener("change",this.updateDesktopVariable,!0),!this.args.isMinimized){const e=new MediaQueryListEvent("change",{matches:this.desktopMQ.matches,media:this.desktopMQ.media})
this.updateDesktopVariable(e)}}removeEventListeners(){document.removeEventListener("keydown",this.escapePress,!0),this.desktopMQ.removeEventListener("change",this.updateDesktopVariable,!0)}get shouldTrapFocus(){return this.isResponsive&&!this.isDesktop&&!this.isMinimized}get showToggleButton(){return this.isResponsive&&!this.isDesktop||this.isCollapsible}get ariaLabel(){return this.isMinimized?this.args.ariaLabel??"Open menu":this.args.ariaLabel??"Close menu"}get classNames(){const e=[]
return this.isResponsive&&e.push("hds-side-nav--is-responsive"),!this.isDesktop&&this.isResponsive?e.push("hds-side-nav--is-mobile"):e.push("hds-side-nav--is-desktop"),this.isMinimized&&this.isResponsive?e.push("hds-side-nav--is-minimized"):e.push("hds-side-nav--is-not-minimized"),this.isAnimating&&e.push("hds-side-nav--is-animating"),e.join(" ")}escapePress(e){"Escape"!==e.key||this.isMinimized||this.isDesktop||(this.isMinimized=!0)}toggleMinimizedStatus(){this.isMinimized=!this.isMinimized,this.containersToHide.forEach((e=>{this.isMinimized?e.setAttribute("inert",""):e.removeAttribute("inert")}))
const{onToggleMinimizedStatus:e}=this.args
"function"==typeof e&&e(this.isMinimized)}didInsert(e){this.containersToHide=e.querySelectorAll(".hds-side-nav-hide-when-minimized")}setTransition(e,t){"width"===t.propertyName&&(this.isAnimating="start"===e)}updateDesktopVariable(e){this.isDesktop=e.matches,this.isMinimized=!this.isDesktop
const{onDesktopViewportChange:t}=this.args
"function"==typeof t&&t(this.isDesktop)}},i=(0,c._)(n.prototype,"isResponsive",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.isResponsive??!0}}),s=(0,c._)(n.prototype,"isMinimized",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.isMinimized??!1}}),o=(0,c._)(n.prototype,"isCollapsible",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.isCollapsible??!1}}),a=(0,c._)(n.prototype,"isAnimating",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),l=(0,c._)(n.prototype,"isDesktop",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),(0,c._)(n.prototype,"escapePress",[p.action],Object.getOwnPropertyDescriptor(n.prototype,"escapePress"),n.prototype),(0,c._)(n.prototype,"toggleMinimizedStatus",[p.action],Object.getOwnPropertyDescriptor(n.prototype,"toggleMinimizedStatus"),n.prototype),(0,c._)(n.prototype,"didInsert",[p.action],Object.getOwnPropertyDescriptor(n.prototype,"didInsert"),n.prototype),(0,c._)(n.prototype,"setTransition",[p.action],Object.getOwnPropertyDescriptor(n.prototype,"setTransition"),n.prototype),(0,c._)(n.prototype,"updateDesktopVariable",[p.action],Object.getOwnPropertyDescriptor(n.prototype,"updateDesktopVariable"),n.prototype),n);(0,g.setComponentTemplate)(y,v)},40956:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"LGbZVRrT",block:'[[[1,"\\n"],[8,[39,0],null,null,[["default"],[[[[1,"\\n  "],[8,[39,1],[[24,0,"hds-side-nav__list-item-link hds-side-nav__list-item-link--back-link"],[17,1]],[["@current-when","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal"],[[30,2],[28,[37,2],[[30,3],[30,4]],null],[28,[37,3],[[30,5]],null],[30,6],[30,7],[30,8],[30,9],[30,10]]],[["default"],[[[[1,"\\n    "],[8,[39,4],[[24,0,"hds-side-nav__list-item-icon-leading"]],[["@name"],["chevron-left"]],null],[1,"\\n    "],[10,1],[14,0,"hds-side-nav__list-item-text hds-typography-body-200 hds-font-weight-medium"],[12],[1,"\\n      "],[1,[30,11]],[1,"\\n    "],[13],[1,"\\n  "]],[]]]]],[1,"\\n"]],[]]]]]],["&attrs","@current-when","@model","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal","@text"],false,["hds/side-nav/list/item","hds/interactive","hds-link-to-models","hds-link-to-query","flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/list/back-link.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},92267:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"Xhcf4ERQ",block:'[[[1,"\\n"],[11,"nav"],[24,0,"hds-side-nav__list-wrapper"],[17,1],[12],[1,"\\n  "],[18,2,[[28,[37,1],null,[["ExtraBefore"],[[50,"hds/yield",0,null,null]]]]]],[1,"\\n  "],[10,"ul"],[14,0,"hds-side-nav__list"],[14,"role","list"],[12],[1,"\\n    "],[18,2,[[28,[37,1],null,[["Item","BackLink","Title","Link"],[[50,"hds/side-nav/list/item",0,null,null],[50,"hds/side-nav/list/back-link",0,null,null],[50,"hds/side-nav/list/title",0,null,null],[50,"hds/side-nav/list/link",0,null,null]]]]]],[1,"\\n  "],[13],[1,"\\n  "],[18,2,[[28,[37,1],null,[["ExtraAfter"],[[50,"hds/yield",0,null,null]]]]]],[1,"\\n"],[13]],["&attrs","&default"],false,["yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/list/index.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},98844:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"aCeWW5LQ",block:'[[[1,"\\n"],[11,"li"],[24,0,"hds-side-nav__list-item"],[17,1],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/list/item.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},55452:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"hIknVGUD",block:'[[[1,"\\n"],[8,[39,0],null,null,[["default"],[[[[1,"\\n  "],[8,[39,1],[[16,0,[29,["hds-side-nav__list-item-link ",[52,[30,1],"active"]]]],[17,2]],[["@current-when","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal"],[[30,3],[28,[37,3],[[30,4],[30,5]],null],[28,[37,4],[[30,6]],null],[30,7],[30,8],[30,9],[30,10],[30,11]]],[["default"],[[[[1,"\\n"],[41,[30,12],[[[1,"      "],[8,[39,5],[[24,0,"hds-side-nav__list-item-icon-leading"]],[["@name"],[[30,12]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,13],[[[1,"      "],[10,1],[14,0,"hds-side-nav__list-item-text hds-typography-body-200 hds-font-weight-medium"],[12],[1,"\\n        "],[1,[30,13]],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,14],[[[1,"      "],[8,[39,6],null,[["@text","@type","@size"],[[30,14],"inverted","small"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,15],[[[1,"      "],[8,[39,7],null,[["@text","@type","@size"],[[30,15],"inverted","small"]],null],[1,"\\n"]],[]],null],[1,"\\n    "],[18,17,null],[1,"\\n\\n"],[41,[30,16],[[[1,"      "],[10,1],[14,0,"hds-side-nav__list-item-icon-trailing"],[12],[1,"\\n        "],[8,[39,5],null,[["@name","@isInlineBlock"],["chevron-right",false]],null],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[41,[30,11],[[[1,"      "],[10,1],[14,0,"hds-side-nav__list-item-icon-trailing"],[12],[1,"\\n        "],[8,[39,5],null,[["@name","@isInlineBlock"],["external-link",false]],null],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"  "]],[]]]]],[1,"\\n"]],[]]]]]],["@isActive","&attrs","@current-when","@model","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal","@icon","@text","@count","@badge","@hasSubItems","&default"],false,["hds/side-nav/list/item","hds/interactive","if","hds-link-to-models","hds-link-to-query","flight-icon","hds/badge-count","hds/badge","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/list/link.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},68087:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"jmjjiGXa",block:'[[[1,"\\n"],[8,[39,0],null,null,[["default"],[[[[1,"\\n  "],[11,0],[24,0,"hds-side-nav__list-title hds-typography-body-100 hds-font-weight-semibold"],[17,1],[12],[18,2,null],[13],[1,"\\n"]],[]]]]]],["&attrs","&default"],false,["hds/side-nav/list/item","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/list/title.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},14013:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(17990),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"g+NGfSq+",block:'[[[1,"\\n"],[8,[39,0],null,[["@target"],[[52,[30,1],[30,1],"hds-side-nav-portal-target"]]],[["default"],[[[[1,"\\n  "],[11,0],[24,0,"hds-side-nav__content-panel"],[17,2],[12],[1,"\\n    "],[8,[39,2],[[16,"aria-label",[30,3]]],null,[["default"],[[[[1,"\\n      "],[18,5,[[30,4]]],[1,"\\n    "]],[4]]]]],[1,"\\n  "],[13],[1,"\\n"]],[]]]]]],["@targetName","&attrs","@ariaLabel","ListElements","&default"],false,["portal","if","hds/side-nav/list","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/portal/index.js",isStrictMode:!1})
class a extends(i()){}(0,s.setComponentTemplate)(o,a)},99074:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>y})
var n,i,s,o,a=r(41507),l=r(17990),c=r.n(l),u=r(88574),h=r(55521),d=r(37219),p=r(50589),f=r.n(p),m=r(23574),g=(0,r(59266).createTemplateFactory)({id:"l9DBszbA",block:'[[[1,"\\n"],[11,0],[24,0,"hds-side-nav__content"],[17,1],[12],[1,"\\n  "],[8,[39,0],[[24,0,"hds-side-nav__content-panels hds-side-nav-hide-when-minimized"],[4,[38,2],[[30,0,["didUpdateSubnav"]],[30,0,["numSubnavs"]]],null]],[["@multiple","@onChange","@name"],[true,[30,0,["panelsChanged"]],[52,[30,2],[30,2],"hds-side-nav-portal-target"]]],null],[1,"\\n"],[13]],["&attrs","@targetName"],false,["portal-target","if","did-update"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/portal/target.js",isStrictMode:!1})
let y=(n=class e extends(c()){constructor(...e){super(...e),(0,a.b)(this,"router",i,this),(0,a.b)(this,"numSubnavs",s,this),(0,a.b)(this,"lastPanelEl",o,this),(0,a.a)(this,"prefersReducedMotionMQ",window.matchMedia("(prefers-reduced-motion: reduce)"))}static get prefersReducedMotionOverride(){return f().testing}get prefersReducedMotion(){return e.prefersReducedMotionOverride||this.prefersReducedMotionMQ&&this.prefersReducedMotionMQ.matches}panelsChanged(e){this.numSubnavs=e}didUpdateSubnav(e,[t]){this.animateSubnav(e,[t])}animateSubnav(e,[t]){const r=t-1,n=e,{prefersReducedMotion:i}=this,s=getComputedStyle(n),o=s.getPropertyValue("--hds-app-sidenav-width-expanded"),a=i?0:150
let l=i?0:175,c=i?0:50
const u=s.transform,h=`translateX(-${r*parseInt(o,10)}px)`
n.animate([{transform:u},{transform:h}],{duration:a,easing:"cubic-bezier(0.65, 0, 0.35, 1)",fill:"forwards"}).finished.then((()=>{if(r>0){const e=Array.from(n.children).slice(0,r)
for(const t of e)t.ariaHidden="true",t.style.setProperty("visibility","hidden"),t.style.setProperty("opacity","0")}}))
const d=n.children[r],p=n.children[n.children.length-1]
d&&(d.ariaHidden="false",d.style.setProperty("visibility","visible"),this.lastPanelEl&&(0===r||d.isSameNode(this.lastPanelEl))&&(c=0,l=0),this.lastPanelEl=p,d.animate([{opacity:"0"},{opacity:"1"}],{delay:c,duration:l,fill:"forwards"}))}},i=(0,a._)(n.prototype,"router",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,a._)(n.prototype,"numSubnavs",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),o=(0,a._)(n.prototype,"lastPanelEl",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a._)(n.prototype,"panelsChanged",[d.action],Object.getOwnPropertyDescriptor(n.prototype,"panelsChanged"),n.prototype),(0,a._)(n.prototype,"didUpdateSubnav",[d.action],Object.getOwnPropertyDescriptor(n.prototype,"didUpdateSubnav"),n.prototype),(0,a._)(n.prototype,"animateSubnav",[d.action],Object.getOwnPropertyDescriptor(n.prototype,"animateSubnav"),n.prototype),n);(0,m.setComponentTemplate)(g,y)},17707:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"olgrzrgJ",block:'[[[11,"button"],[24,0,"hds-side-nav__toggle-button"],[24,4,"button"],[17,1],[12],[1,"\\n  "],[8,[39,0],null,[["@name"],[[30,2]]],null],[1,"\\n"],[13]],["&attrs","@icon"],false,["flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/side-nav/toggle-button.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},6655:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_STATUS:()=>c,STATUSES:()=>u,default:()=>h})
var n=r(17990),i=r.n(n),s=r(3353),o=r(37626),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"46WLuDsR",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n  "],[10,0],[14,0,"hds-stepper-indicator-step__svg-hexagon"],[12],[1,"\\n    "],[10,"svg"],[14,"width","24"],[14,"height","24"],[14,"viewBox","0 0 24 24"],[14,"fill","none"],[14,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[14,"aria-hidden","true"],[12],[1,"\\n      "],[10,"path"],[14,"d","m3.664 6.264 6.99-4.42a2.5 2.5 0 0 1 2.67-.002l7.01 4.422A2.5 2.5 0 0 1 21.5 8.38v7.242a2.5 2.5 0 0 1-1.166 2.115l-7.01 4.422a2.5 2.5 0 0 1-2.67-.002l-6.99-4.42A2.5 2.5 0 0 1 2.5 15.623V8.377a2.5 2.5 0 0 1 1.164-2.113Z"],[14,"stroke-width","1"],[12],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n  "],[10,0],[14,0,"hds-stepper-indicator-step__status"],[12],[1,"\\n"],[41,[28,[37,1],[[30,2],"processing"],null],[[[1,"      "],[8,[39,2],[[24,0,"hds-stepper-indicator-step__icon"]],[["@name","@size"],["loading","16"]],null],[1,"\\n"]],[]],[[[41,[28,[37,1],[[30,2],"complete"],null],[[[1,"      "],[8,[39,2],[[24,0,"hds-stepper-indicator-step__icon"]],[["@name","@size"],["check","16"]],null],[1,"\\n"]],[]],[[[1,"      "],[8,[39,3],[[24,0,"hds-stepper-indicator-step__text"]],[["@tag","@size","@weight"],["span","100","medium"]],[["default"],[[[[1,[30,3]]],[]]]]],[1,"\\n    "]],[]]]],[]]],[1,"  "],[13],[1,"\\n"],[13]],["&attrs","@status","@text"],false,["if","eq","flight-icon","hds/text/body"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/stepper/step/indicator.js",isStrictMode:!1})
const c=o.k.Incomplete,u=Object.values(o.k)
class h extends(i()){get status(){const{status:e=c}=this.args
return(0,s.assert)(`@status for "Hds::Stepper::Step::Indicator" must be one of the following: ${u.join(", ")}; received: ${e}`,u.includes(e)),e}get isInteractive(){return this.args.isInteractive||!1}get classNames(){const e=["hds-stepper-indicator-step"]
return e.push(`hds-stepper-indicator-step--status-${this.status}`),this.isInteractive&&e.push("hds-stepper-indicator-step--is-interactive"),e.join(" ")}}(0,a.setComponentTemplate)(l,h)},17583:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_STATUS:()=>c,MAPPING_STATUS_TO_ICONS:()=>h,STATUSES:()=>u,default:()=>d})
var n=r(17990),i=r.n(n),s=r(3353),o=r(37626),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"HlN2YULv",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n  "],[8,[39,0],[[24,0,"hds-stepper-indicator-task__icon"]],[["@name","@size"],[[30,0,["iconName"]],"16"]],null],[1,"\\n"],[13]],["&attrs"],false,["flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/stepper/task/indicator.js",isStrictMode:!1})
const c=o.k.Incomplete,u=Object.values(o.k),h=o.S
class d extends(i()){get status(){const{status:e=c}=this.args
return(0,s.assert)(`@status for "Hds::Stepper::Task::Indicator" must be one of the following: ${u.join(", ")}; received: ${e}`,u.includes(e)),e}get isInteractive(){return this.args.isInteractive||!1}get iconName(){return h[this.status]}get classNames(){const e=["hds-stepper-indicator-task"]
return e.push(`hds-stepper-indicator-task--status-${this.status}`),this.isInteractive&&e.push("hds-stepper-indicator-task--is-interactive"),e.join(" ")}}(0,a.setComponentTemplate)(l,d)},37626:(e,t,r)=>{"use strict"
r.d(t,{S:()=>i,k:()=>n})
let n=function(e){return e.Incomplete="incomplete",e.Progress="progress",e.Processing="processing",e.Complete="complete",e}({})
const i={[n.Incomplete]:"circle",[n.Progress]:"circle-half",[n.Processing]:"loading",[n.Complete]:"check-circle"}},25373:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DENSITIES:()=>g,default:()=>w})
var n,i,s,o,a,l=r(41507),c=r(17990),u=r.n(c),h=r(55521),d=r(37219),p=r(3353),f=r(23574),m=(0,r(59266).createTemplateFactory)({id:"IWCFoTCx",block:'[[[1,"\\n"],[11,"table"],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n"],[41,[30,2],[[[1,"    "],[10,"caption"],[14,0,"sr-only"],[14,"aria-live","polite"],[12],[1,[30,3]],[1," "],[1,[30,0,["sortedMessageText"]]],[13],[1,"\\n"]],[]],[[[41,[30,3],[[[1,"    "],[10,"caption"],[14,0,"sr-only"],[12],[1,[30,3]],[13],[1,"\\n  "]],[]],null]],[]]],[1,"\\n  "],[10,"thead"],[14,0,"hds-table__thead"],[12],[1,"\\n"],[41,[30,2],[[[1,"      "],[8,[39,1],null,[["@selectionScope","@isSelectable","@onSelectionChange","@didInsert","@willDestroy","@selectionAriaLabelSuffix"],["col",[30,4],[30,0,["onSelectionAllChange"]],[30,0,["didInsertSelectAllCheckbox"]],[30,0,["willDestroySelectAllCheckbox"]],"all rows"]],[["default"],[[[[1,"\\n"],[42,[28,[37,3],[[28,[37,3],[[30,2]],null]],null],null,[[[41,[30,5,["isSortable"]],[[[1,"            "],[8,[39,4],null,[["@sortOrder","@onClickSort","@align","@width","@tooltip"],[[52,[28,[37,5],[[30,5,["key"]],[30,0,["sortBy"]]],null],[30,0,["sortOrder"]]],[28,[37,6],[[30,0,["setSortBy"]],[30,5,["key"]]],null],[30,5,["align"]],[30,5,["width"]],[30,5,["tooltip"]]]],[["default"],[[[[1,"\\n              "],[1,[30,5,["label"]]],[1,"\\n            "]],[]]]]],[1,"\\n"]],[]],[[[1,"            "],[8,[39,7],null,[["@align","@width","@tooltip","@isVisuallyHidden"],[[30,5,["align"]],[30,5,["width"]],[30,5,["tooltip"]],[30,5,["isVisuallyHidden"]]]],[["default"],[[[[1,[30,5,["label"]]]],[]]]]],[1,"\\n"]],[]]]],[5]],null],[1,"      "]],[]]]]],[1,"\\n"]],[]],[[[1,"      "],[18,10,[[28,[37,9],null,[["Tr","Th","ThSort","sortBy","sortOrder","setSortBy"],[[50,"hds/table/tr",0,null,[["selectionScope","isSelectable","onSelectionChange","didInsert","willDestroy","selectionAriaLabelSuffix"],["col",[30,4],[30,0,["onSelectionAllChange"]],[30,0,["didInsertSelectAllCheckbox"]],[30,0,["willDestroySelectAllCheckbox"]],"all rows"]]],[50,"hds/table/th",0,null,null],[50,"hds/table/th-sort",0,null,null],[30,0,["sortBy"]],[30,0,["sortOrder"]],[30,0,["setSortBy"]]]]]]],[1,"\\n"]],[]]],[1,"  "],[13],[1,"\\n\\n  "],[10,"tbody"],[14,0,"hds-table__tbody"],[12],[1,"\\n"],[41,[30,2],[[[42,[28,[37,3],[[28,[37,3],[[28,[37,11],[[30,0,["getSortCriteria"]],[30,6]],null]],null]],null],[30,0,["identityKey"]],[[[1,"        "],[18,11,[[28,[37,9],null,[["Tr","Th","Td","data"],[[50,"hds/table/tr",0,null,[["selectionScope","isSelectable","onSelectionChange","didInsert","willDestroy","selectionAriaLabelSuffix"],["row",[30,4],[30,0,["onSelectionRowChange"]],[30,0,["didInsertRowCheckbox"]],[30,0,["willDestroyRowCheckbox"]],[30,8]]]],[50,"hds/table/th",0,null,[["scope"],["row"]]],[50,"hds/table/td",0,null,[["align"],[[30,9]]]],[30,7]]]]]],[1,"\\n"]],[7]],null]],[]],[[[1,"      "],[18,11,[[28,[37,9],null,[["Tr","Th","Td","sortBy","sortOrder"],[[50,"hds/table/tr",0,null,[["selectionScope","isSelectable","onSelectionChange","didInsert","willDestroy","selectionAriaLabelSuffix"],["row",[30,4],[30,0,["onSelectionRowChange"]],[30,0,["didInsertRowCheckbox"]],[30,0,["willDestroyRowCheckbox"]],[30,8]]]],[50,"hds/table/th",0,null,[["scope"],["row"]]],[50,"hds/table/td",0,null,[["align"],[[30,9]]]],[30,0,["sortBy"]],[30,0,["sortOrder"]]]]]]],[1,"\\n"]],[]]],[1,"  "],[13],[1,"\\n"],[13]],["&attrs","@columns","@caption","@isSelectable","column","@model","record","@selectionAriaLabelSuffix","@align","&head","&body"],false,["if","hds/table/tr","each","-track-array","hds/table/th-sort","eq","fn","hds/table/th","yield","hash","component","sort-by"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/table/index.js",isStrictMode:!1})
const g=["short","medium","tall"],y="medium",v=["top","middle","baseline"],b="top"
let w=(n=class extends(u()){constructor(...e){super(...e),(0,l.b)(this,"sortBy",i,this),(0,l.b)(this,"sortOrder",s,this),(0,l.b)(this,"selectAllCheckbox",o,this),(0,l.a)(this,"selectableRows",[]),(0,l.b)(this,"isSelectAllCheckboxSelected",a,this)}get getSortCriteria(){const e=this.args?.columns?.find((e=>e.key===this.sortBy))
return e?.sortingFunction&&"function"==typeof e.sortingFunction?e.sortingFunction:`${this.sortBy}:${this.sortOrder}`}get identityKey(){return"none"===this.args.identityKey?void 0:this.args.identityKey??"@identity"}get sortedMessageText(){return this.args.sortedMessageText?this.args.sortedMessageText:this.sortBy&&this.sortOrder?`Sorted by ${this.sortBy} ${this.sortOrder}ending`:""}get isStriped(){return this.args.isStriped??!1}get isFixedLayout(){return this.args.isFixedLayout??!1}get density(){let{density:e=y}=this.args
return(0,p.assert)(`@density for "Hds::Table" must be one of the following: ${g.join(", ")}; received: ${e}`,g.includes(e)),e}get valign(){let{valign:e=b}=this.args
return(0,p.assert)(`@valign for "Hds::Table" must be one of the following: ${v.join(", ")}; received: ${e}`,v.includes(e)),e}get classNames(){let e=["hds-table"]
return this.isStriped&&e.push("hds-table--striped"),this.isFixedLayout&&e.push("hds-table--layout-fixed"),this.density&&e.push(`hds-table--density-${this.density}`),this.valign&&e.push(`hds-table--valign-${this.valign}`),e.join(" ")}setSortBy(e){this.sortBy===e?this.sortOrder="asc"===this.sortOrder?"desc":"asc":(this.sortBy=e,this.sortOrder="asc")
let{onSort:t}=this.args
"function"==typeof t&&t(this.sortBy,this.sortOrder)}onSelectionChangeCallback(e,t){let{onSelectionChange:r}=this.args
"function"==typeof r&&r({selectionKey:t,selectionCheckboxElement:e,selectedRowsKeys:this.selectableRows.reduce(((e,t)=>(t.checkbox.checked&&e.push(t.selectionKey),e)),[]),selectableRowsStates:this.selectableRows.reduce(((e,t)=>(e.push({selectionKey:t.selectionKey,isSelected:t.checkbox.checked}),e)),[])})}onSelectionAllChange(){this.selectableRows.forEach((e=>{e.checkbox.checked=this.selectAllCheckbox.checked,e.checkbox.dispatchEvent(new Event("toggle",{bubbles:!1}))})),this.isSelectAllCheckboxSelected=this.selectAllCheckbox.checked,this.onSelectionChangeCallback(this.selectAllCheckbox,"all")}onSelectionRowChange(e,t){this.setSelectAllState(),this.onSelectionChangeCallback(e,t)}didInsertSelectAllCheckbox(e){this.selectAllCheckbox=e}willDestroySelectAllCheckbox(){this.selectAllCheckbox=void 0}didInsertRowCheckbox(e,t){this.selectableRows.push({selectionKey:t,checkbox:e}),this.setSelectAllState()}willDestroyRowCheckbox(e){this.selectableRows=this.selectableRows.filter((t=>t.selectionKey!==e)),this.setSelectAllState()}setSelectAllState(){if(this.selectAllCheckbox){let e=this.selectableRows.length,t=this.selectableRows.filter((e=>e.checkbox.checked)).length
this.selectAllCheckbox.checked=t===e,this.selectAllCheckbox.indeterminate=t>0&&t<e,this.isSelectAllCheckboxSelected=this.selectAllCheckbox.checked,this.selectAllCheckbox.dispatchEvent(new Event("toggle",{bubbles:!1}))}}},i=(0,l._)(n.prototype,"sortBy",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.sortBy}}),s=(0,l._)(n.prototype,"sortOrder",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.sortOrder||"asc"}}),o=(0,l._)(n.prototype,"selectAllCheckbox",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){}}),a=(0,l._)(n.prototype,"isSelectAllCheckboxSelected",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){}}),(0,l._)(n.prototype,"setSortBy",[d.action],Object.getOwnPropertyDescriptor(n.prototype,"setSortBy"),n.prototype),(0,l._)(n.prototype,"onSelectionAllChange",[d.action],Object.getOwnPropertyDescriptor(n.prototype,"onSelectionAllChange"),n.prototype),(0,l._)(n.prototype,"onSelectionRowChange",[d.action],Object.getOwnPropertyDescriptor(n.prototype,"onSelectionRowChange"),n.prototype),(0,l._)(n.prototype,"didInsertSelectAllCheckbox",[d.action],Object.getOwnPropertyDescriptor(n.prototype,"didInsertSelectAllCheckbox"),n.prototype),(0,l._)(n.prototype,"willDestroySelectAllCheckbox",[d.action],Object.getOwnPropertyDescriptor(n.prototype,"willDestroySelectAllCheckbox"),n.prototype),(0,l._)(n.prototype,"didInsertRowCheckbox",[d.action],Object.getOwnPropertyDescriptor(n.prototype,"didInsertRowCheckbox"),n.prototype),(0,l._)(n.prototype,"willDestroyRowCheckbox",[d.action],Object.getOwnPropertyDescriptor(n.prototype,"willDestroyRowCheckbox"),n.prototype),(0,l._)(n.prototype,"setSelectAllState",[d.action],Object.getOwnPropertyDescriptor(n.prototype,"setSelectAllState"),n.prototype),n);(0,f.setComponentTemplate)(m,w)},3252:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>u})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"Dow4C6Rx",block:'[[[11,"td"],[16,0,[30,0,["classNames"]]],[17,1],[12],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/table/td.js",isStrictMode:!1})
const l=["left","center","right"],c="left"
class u extends(i()){get align(){let{align:e=c}=this.args
return(0,s.assert)(`@align for "Hds::Table::Td" must be one of the following: ${l.join(", ")}; received: ${e}`,l.includes(e)),e}get classNames(){let e=["hds-table__td","hds-typography-body-200","hds-font-weight-regular"]
return this.align&&e.push(`hds-table__td--align-${this.align}`),e.join(" ")}}(0,o.setComponentTemplate)(a,u)},65575:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>u})
var n=r(41507),i=r(17990),s=r.n(i),o=r(29806),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"pMiD2k33",block:'[[[11,"button"],[24,4,"button"],[16,0,[30,0,["classNames"]]],[16,"aria-labelledby",[29,[[30,0,["prefixLabelId"]]," ",[30,1]," ",[30,0,["suffixLabelId"]]]]],[17,2],[4,[38,0],["click",[30,0,["onClick"]]],null],[12],[1,"\\n  "],[10,1],[15,1,[30,0,["prefixLabelId"]]],[14,0,"hds-table__th-button-aria-label-hidden-segment"],[12],[1,"Sort by"],[13],[1,"\\n  "],[10,1],[15,1,[30,0,["suffixLabelId"]]],[14,0,"hds-table__th-button-aria-label-hidden-segment"],[12],[1,[30,0,["sortOrderLabel"]]],[13],[1,"\\n  "],[8,[39,1],null,[["@name"],[[30,0,["icon"]]]],null],[1,"\\n"],[13]],["@labelId","&attrs"],false,["on","flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/table/th-button-sort.js",isStrictMode:!1})
const c=()=>{}
class u extends(s()){constructor(...e){super(...e),(0,n.a)(this,"prefixLabelId","prefix-"+(0,o.guidFor)(this)),(0,n.a)(this,"suffixLabelId","suffix-"+(0,o.guidFor)(this))}get icon(){switch(this.args.sortOrder){case"asc":return"arrow-up"
case"desc":return"arrow-down"
default:return"swap-vertical"}}get sortOrderLabel(){return"asc"===this.args.sortOrder?"descending":"ascending"}get onClick(){let{onClick:e}=this.args
return"function"==typeof e?e:c}get classNames(){let e=["hds-table__th-button","hds-table__th-button--sort"]
return"asc"!==this.args.sortOrder&&"desc"!==this.args.sortOrder||e.push("hds-table__th-button--is-sorted"),e.join(" ")}}(0,a.setComponentTemplate)(l,u)},48771:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>c})
var n=r(41507),i=r(17990),s=r.n(i),o=r(29806),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"t4XKllU/",block:'[[[1,"\\n"],[11,"button"],[24,4,"button"],[16,0,[30,0,["classNames"]]],[16,"aria-labelledby",[29,[[30,0,["prefixLabelId"]]," ",[30,1]]]],[17,2],[4,[38,0],[[30,3]],null],[12],[1,"\\n  "],[10,1],[15,1,[30,0,["prefixLabelId"]]],[14,0,"hds-table__th-button-aria-label-hidden-segment"],[12],[1,"More information for"],[13],[1,"\\n  "],[8,[39,1],null,[["@name"],["info"]],null],[1,"\\n"],[13]],["@labelId","&attrs","@tooltip"],false,["hds-tooltip","flight-icon"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/table/th-button-tooltip.js",isStrictMode:!1})
class c extends(s()){constructor(...e){super(...e),(0,n.a)(this,"prefixLabelId",(0,o.guidFor)(this))}get classNames(){return["hds-table__th-button","hds-table__th-button--tooltip"].join(" ")}}(0,a.setComponentTemplate)(l,c)},70411:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>p})
var n,i,s=r(41507),o=r(17990),a=r.n(o),l=r(37219),c=r(29806),u=r(55521),h=r(23574),d=(0,r(59266).createTemplateFactory)({id:"D5908Kiw",block:'[[[1,"\\n"],[8,[39,0],[[24,0,"hds-table__th--is-selectable"],[17,1]],[["@scope"],[[30,2]]],[["default"],[[[[1,"\\n  "],[8,[39,1],[[16,1,[30,0,["checkboxId"]]],[24,0,"hds-table__checkbox"],[16,"checked",[30,3]],[16,"aria-label",[30,0,["ariaLabel"]]],[4,[38,2],[[30,0,["didInsert"]]],null],[4,[38,3],[[30,0,["willDestroy"]]],null],[4,[38,4],["change",[30,0,["onSelectionChange"]]],null]],null,null],[1,"\\n"]],[]]]]]],["&attrs","@selectionScope","@isSelected"],false,["hds/table/th","hds/form/checkbox/base","did-insert","will-destroy","on"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/table/th-selectable.js",isStrictMode:!1})
let p=(n=class extends(a()){constructor(...e){super(...e),(0,s.b)(this,"isSelected",i,this),(0,s.a)(this,"checkboxId","checkbox-"+(0,c.guidFor)(this))}get ariaLabel(){let{selectionAriaLabelSuffix:e}=this.args
const t=this.isSelected?"Deselect":"Select"
return e?`${t} ${e}`:t}didInsert(e){let{didInsert:t}=this.args
"function"==typeof t&&(t(e,this.args.selectionKey),e.addEventListener("toggle",this.updateAriaLabel.bind(this),!0))}willDestroy(e){super.willDestroy(...arguments)
let{willDestroy:t}=this.args
"function"==typeof t&&(t(this.args.selectionKey),e&&e.removeEventListener("toggle",this.updateAriaLabel.bind(this),!0))}onSelectionChange(e){this.isSelected=e.target.checked
let{onSelectionChange:t}=this.args
"function"==typeof t&&t(e.target,this.args.selectionKey)}updateAriaLabel(e){this.isSelected=e.target.checked}},i=(0,s._)(n.prototype,"isSelected",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.isSelected}}),(0,s._)(n.prototype,"didInsert",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"didInsert"),n.prototype),(0,s._)(n.prototype,"willDestroy",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"willDestroy"),n.prototype),(0,s._)(n.prototype,"onSelectionChange",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"onSelectionChange"),n.prototype),n);(0,h.setComponentTemplate)(d,p)},44950:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>d})
var n=r(41507),i=r(17990),s=r.n(i),o=r(29806),a=r(3353),l=r(23574),c=(0,r(59266).createTemplateFactory)({id:"RVdW/Rm6",block:'[[[11,"th"],[16,0,[30,0,["classNames"]]],[16,"aria-sort",[30,0,["ariaSort"]]],[17,1],[24,"scope","col"],[4,[38,0],null,[["width","minWidth"],[[30,2],[30,2]]]],[12],[1,"\\n  "],[10,0],[14,0,"hds-table__th-content"],[12],[1,"\\n    "],[10,1],[15,1,[30,0,["labelId"]]],[14,0,"hds-typography-body-200 hds-font-weight-semibold"],[12],[18,6,null],[13],[1,"\\n"],[41,[30,3],[[[1,"      "],[8,[39,3],null,[["@tooltip","@labelId"],[[30,3],[30,0,["labelId"]]]],null],[1,"\\n"]],[]],null],[1,"    "],[8,[39,4],null,[["@sortOrder","@onClick","@labelId"],[[30,4],[30,5],[30,0,["labelId"]]]],null],[1,"\\n  "],[13],[1,"\\n"],[13]],["&attrs","@width","@tooltip","@sortOrder","@onClickSort","&default"],false,["style","yield","if","hds/table/th-button-tooltip","hds/table/th-button-sort"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/table/th-sort.js",isStrictMode:!1})
const u=["left","center","right"],h="left"
class d extends(s()){constructor(...e){super(...e),(0,n.a)(this,"labelId",(0,o.guidFor)(this))}get ariaSort(){switch(this.args.sortOrder){case"asc":return"ascending"
case"desc":return"descending"
default:return"none"}}get align(){let{align:e=h}=this.args
return(0,a.assert)(`@align for "Hds::Table" must be one of the following: ${u.join(", ")}; received: ${e}`,u.includes(e)),e}get classNames(){let e=["hds-table__th","hds-table__th--sort"]
return this.align&&e.push(`hds-table__th--align-${this.align}`),e.join(" ")}}(0,l.setComponentTemplate)(c,d)},38272:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>d})
var n=r(41507),i=r(17990),s=r.n(i),o=r(29806),a=r(3353),l=r(23574),c=(0,r(59266).createTemplateFactory)({id:"FDiA2OBA",block:'[[[11,"th"],[16,0,[30,0,["classNames"]]],[17,1],[16,"scope",[28,[37,0],[[30,2],"col"],null]],[4,[38,1],null,[["width","minWidth"],[[30,3],[30,3]]]],[12],[1,"\\n"],[41,[30,4],[[[1,"    "],[10,1],[14,0,"sr-only"],[12],[18,6,null],[13],[1,"\\n"]],[]],[[[41,[30,5],[[[1,"      "],[10,0],[14,0,"hds-table__th-content"],[12],[1,"\\n        "],[10,1],[15,1,[30,0,["labelId"]]],[14,0,"hds-typography-body-200 hds-font-weight-semibold"],[12],[18,6,null],[13],[1,"\\n        "],[8,[39,4],null,[["@tooltip","@labelId"],[[30,5],[30,0,["labelId"]]]],null],[1,"\\n      "],[13],[1,"\\n"]],[]],[[[1,"      "],[10,1],[14,0,"hds-typography-body-200 hds-font-weight-semibold"],[12],[18,6,null],[13],[1,"\\n"]],[]]]],[]]],[13]],["&attrs","@scope","@width","@isVisuallyHidden","@tooltip","&default"],false,["or","style","if","yield","hds/table/th-button-tooltip"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/table/th.js",isStrictMode:!1})
const u=["left","center","right"],h="left"
class d extends(s()){constructor(...e){super(...e),(0,n.a)(this,"labelId",(0,o.guidFor)(this))}get align(){let{align:e=h}=this.args
return(0,a.assert)(`@align for "Hds::Table::Th" must be one of the following: ${u.join(", ")}; received: ${e}`,u.includes(e)),e}get classNames(){let e=["hds-table__th"]
return this.align&&e.push(`hds-table__th--align-${this.align}`),e.join(" ")}}(0,l.setComponentTemplate)(c,d)},90788:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"yltiKdBp",block:'[[[1,"\\n"],[11,"tr"],[24,0,"hds-table__tr"],[17,1],[12],[1,"\\n"],[41,[30,2],[[[1,"    "],[8,[39,1],null,[["@isSelected","@selectionScope","@selectionKey","@selectionAriaLabelSuffix","@didInsert","@willDestroy","@onSelectionChange"],[[30,3],[30,4],[30,0,["selectionKey"]],[30,5],[30,6],[30,7],[30,8]]],null],[1,"\\n"]],[]],null],[1,"\\n  "],[18,9,null],[1,"\\n"],[13]],["&attrs","@isSelectable","@isSelected","@selectionScope","@selectionAriaLabelSuffix","@didInsert","@willDestroy","@onSelectionChange","&default"],false,["if","hds/table/th-selectable","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/table/tr.js",isStrictMode:!1})
class l extends(i()){get selectionKey(){if(this.args.isSelectable&&"row"===this.args.selectionScope)return(0,s.assert)("@selectionKey must be defined on Table::Tr or B.Tr when @isSelectable is true",this.args.selectionKey),this.args.selectionKey}}(0,o.setComponentTemplate)(a,l)},90490:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_SIZE:()=>S,SIZES:()=>k,default:()=>x})
var n=r(41507),i=r(17990),s=r.n(i),o=r(55521),a=r(37219),l=r(3353),c=r(98773)
let u=function(e){return e.Medium="medium",e.Large="large",e}({})
var h,d,p,f,m,g,y,v,b=r(23574),w=(0,r(59266).createTemplateFactory)({id:"VG5rSL9G",block:'[[[11,0],[16,0,[30,0,["classNames"]]],[17,1],[4,[38,0],[[30,0,["didInsert"]]],null],[4,[38,1],[[30,0,["didUpdateSelectedTabIndex"]],[30,0,["selectedTabIndex"]]],null],[4,[38,1],[[30,0,["didUpdateSelectedTabId"]],[30,0,["selectedTabId"]]],null],[4,[38,1],[[30,0,["didUpdateParentVisibility"]],[30,2]],null],[12],[1,"\\n  "],[10,0],[14,0,"hds-tabs__tablist-wrapper"],[12],[1,"\\n    "],[10,"ul"],[14,0,"hds-tabs__tablist"],[14,"role","tablist"],[12],[1,"\\n      "],[18,3,[[28,[37,3],null,[["Tab"],[[50,"hds/tabs/tab",0,null,[["didInsertNode","didUpdateNode","willDestroyNode","tabIds","selectedTabIndex","onClick","onKeyUp"],[[30,0,["didInsertTab"]],[30,0,["didUpdateTab"]],[30,0,["willDestroyTab"]],[30,0,["tabIds"]],[30,0,["selectedTabIndex"]],[30,0,["onClick"]],[30,0,["onKeyUp"]]]]]]]]]],[1,"\\n      "],[10,"li"],[14,0,"hds-tabs__tab-indicator"],[14,"role","presentation"],[12],[13],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n\\n  "],[18,3,[[28,[37,3],null,[["Panel"],[[50,"hds/tabs/panel",0,null,[["didInsertNode","willDestroyNode","tabIds","panelIds","selectedTabIndex"],[[30,0,["didInsertPanel"]],[30,0,["willDestroyPanel"]],[30,0,["tabIds"]],[30,0,["panelIds"]],[30,0,["selectedTabIndex"]]]]]]]]]],[1,"\\n"],[13],[1,"\\n"]],["&attrs","@isParentVisible","&default"],false,["did-insert","did-update","yield","hash","component"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/tabs/index.js",isStrictMode:!1})
const S="medium",k=Object.values(u)
let x=(h=class extends(s()){get size(){const{size:e=S}=this.args
return(0,l.assert)(`@size for "Hds::Tabs" must be one of the following: ${k.join(", ")}; received: ${e}`,k.includes(e)),e}constructor(e,t){super(e,t),(0,n.b)(this,"tabNodes",d,this),(0,n.b)(this,"tabIds",p,this),(0,n.b)(this,"panelNodes",f,this),(0,n.b)(this,"panelIds",m,this),(0,n.b)(this,"_selectedTabIndex",g,this),(0,n.b)(this,"selectedTabId",y,this),(0,n.b)(this,"isControlled",v,this),this.isControlled=void 0!==this.args.selectedTabIndex}get selectedTabIndex(){return this.isControlled?this.args.selectedTabIndex:this._selectedTabIndex}set selectedTabIndex(e){this.isControlled||(this._selectedTabIndex=e)}get classNames(){const e=["hds-tabs"]
return e.push(`hds-tabs--size-${this.size}`),e.join(" ")}didInsert(){(0,l.assert)("The number of Tabs must be equal to the number of Panels",this.tabNodes.length===this.panelNodes.length),this.selectedTabId&&(this.selectedTabIndex=this.tabIds.indexOf(this.selectedTabId)),(0,c.schedule)("afterRender",(()=>{this.setTabIndicator()}))}didUpdateSelectedTabIndex(){(0,c.schedule)("afterRender",(()=>{this.setTabIndicator()}))}didUpdateSelectedTabId(){this.selectedTabId&&(this.selectedTabIndex=this.tabIds.indexOf(this.selectedTabId))}didUpdateParentVisibility(){(0,c.schedule)("afterRender",(()=>{this.setTabIndicator()}))}didInsertTab(e,t){this.tabNodes=[...this.tabNodes,e],this.tabIds=[...this.tabIds,e.id],t&&(this.selectedTabId=e.id)}didUpdateTab(e,t){t&&(this.selectedTabIndex=e),this.setTabIndicator()}willDestroyTab(e){this.tabNodes=this.tabNodes.filter((t=>t.id!==e.id)),this.tabIds=this.tabIds.filter((t=>t!==e.id))}didInsertPanel(e,t){this.panelNodes=[...this.panelNodes,e],this.panelIds=[...this.panelIds,t]}willDestroyPanel(e){this.panelNodes=this.panelNodes.filter((t=>t.id!==e.id)),this.panelIds=this.panelIds.filter((t=>t!==e.id))}onClick(e,t){this.selectedTabIndex=t,this.setTabIndicator(),"function"==typeof this.args.onClickTab&&this.args.onClickTab(e,t)}onKeyUp(e,t){if("ArrowRight"===t.key){const r=(e+1)%this.tabIds.length
this.focusTab(r,t)}else if("ArrowLeft"===t.key){const r=(e+this.tabIds.length-1)%this.tabIds.length
this.focusTab(r,t)}else"Enter"!==t.key&&" "!==t.key||(this.selectedTabIndex=e)
const r=this.tabNodes[this.selectedTabIndex]?.parentNode
r instanceof HTMLElement&&r.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}focusTab(e,t){t.preventDefault(),this.tabNodes[e]?.focus()}setTabIndicator(){(0,c.next)((()=>{const e=this.tabNodes[this.selectedTabIndex]
if(null!=e){const t=e.parentNode,r=e.closest(".hds-tabs__tablist")
if(t.offsetParent){const e=t.offsetLeft,n=t.offsetWidth
r.style.setProperty("--indicator-left-pos",e+"px"),r.style.setProperty("--indicator-width",n+"px")}}else{let e=""
e+='"Hds::Tabs" has tried to set the indicator for an element that doesn\'t exist',0===this.tabNodes.length?e+=" (the array `this.tabNodes` is empty, there are no tabs, probably already destroyed)":e+=` (the value ${this.selectedTabIndex} of \`this.selectedTabIndex\` is out of bound for the array \`this.tabNodes\`, whose index range is [0 - ${this.tabNodes.length-1}])`,(0,l.warn)(e,!0,{id:"hds-debug.tabs.setTabIndicator-tabElem-not-available"})}}))}},d=(0,n._)(h.prototype,"tabNodes",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),p=(0,n._)(h.prototype,"tabIds",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),f=(0,n._)(h.prototype,"panelNodes",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),m=(0,n._)(h.prototype,"panelIds",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),g=(0,n._)(h.prototype,"_selectedTabIndex",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.selectedTabIndex??0}}),y=(0,n._)(h.prototype,"selectedTabId",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,n._)(h.prototype,"isControlled",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n._)(h.prototype,"didInsert",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"didInsert"),h.prototype),(0,n._)(h.prototype,"didUpdateSelectedTabIndex",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"didUpdateSelectedTabIndex"),h.prototype),(0,n._)(h.prototype,"didUpdateSelectedTabId",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"didUpdateSelectedTabId"),h.prototype),(0,n._)(h.prototype,"didUpdateParentVisibility",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"didUpdateParentVisibility"),h.prototype),(0,n._)(h.prototype,"didInsertTab",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"didInsertTab"),h.prototype),(0,n._)(h.prototype,"didUpdateTab",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"didUpdateTab"),h.prototype),(0,n._)(h.prototype,"willDestroyTab",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"willDestroyTab"),h.prototype),(0,n._)(h.prototype,"didInsertPanel",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"didInsertPanel"),h.prototype),(0,n._)(h.prototype,"willDestroyPanel",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"willDestroyPanel"),h.prototype),(0,n._)(h.prototype,"onClick",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"onClick"),h.prototype),(0,n._)(h.prototype,"onKeyUp",[a.action],Object.getOwnPropertyDescriptor(h.prototype,"onKeyUp"),h.prototype),h);(0,b.setComponentTemplate)(w,x)},20720:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>h})
var n,i=r(41507),s=r(17990),o=r.n(s),a=r(29806),l=r(37219),c=r(23574),u=(0,r(59266).createTemplateFactory)({id:"Z8NvXys9",block:'[[[11,"section"],[24,0,"hds-tabs__panel"],[17,1],[24,"role","tabpanel"],[16,1,[30,0,["panelId"]]],[16,"hidden",[28,[37,0],[[30,0,["isVisible"]]],null]],[16,"aria-labelledby",[30,0,["coupledTabId"]]],[4,[38,1],[[30,0,["didInsertNode"]]],null],[4,[38,2],[[30,0,["willDestroyNode"]]],null],[12],[1,"\\n  "],[18,2,[[28,[37,4],null,[["isVisible"],[[30,0,["isVisible"]]]]]]],[1,"\\n"],[13]],["&attrs","&default"],false,["not","did-insert","will-destroy","yield","hash"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/tabs/panel.js",isStrictMode:!1})
let h=(n=class extends(o()){constructor(...e){super(...e),(0,i.a)(this,"panelId","panel-"+(0,a.guidFor)(this)),(0,i.a)(this,"elementId",void 0)}get nodeIndex(){return this.args.panelIds?this.args.panelIds.indexOf(this.panelId):void 0}get isVisible(){return this.nodeIndex===this.args.selectedTabIndex}get coupledTabId(){return void 0!==this.nodeIndex?this.args.tabIds[this.nodeIndex]:void 0}didInsertNode(e){const{didInsertNode:t}=this.args
"function"==typeof t&&(this.elementId=e.id,t(e,this.elementId))}willDestroyNode(e){const{willDestroyNode:t}=this.args
"function"==typeof t&&t(e)}},(0,i._)(n.prototype,"didInsertNode",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"didInsertNode"),n.prototype),(0,i._)(n.prototype,"willDestroyNode",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"willDestroyNode"),n.prototype),n);(0,c.setComponentTemplate)(u,h)},37694:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>h})
var n,i=r(41507),s=r(17990),o=r.n(s),a=r(29806),l=r(37219),c=r(23574),u=(0,r(59266).createTemplateFactory)({id:"BsD2sFwT",block:'[[[11,"li"],[16,0,[30,0,["classNames"]]],[17,1],[24,"role","presentation"],[12],[1,"\\n  "],[11,"button"],[24,0,"hds-tabs__tab-button"],[24,"role","tab"],[16,1,[30,0,["tabId"]]],[16,"aria-selected",[52,[30,0,["isSelected"]],"true","false"]],[16,"tabindex",[52,[51,[30,0,["isSelected"]]],"-1"]],[24,4,"button"],[4,[38,2],[[30,0,["didInsertNode"]],[30,2]],null],[4,[38,3],[[30,0,["didUpdateNode"]],[30,3],[30,2]],null],[4,[38,4],[[30,0,["willDestroyNode"]]],null],[4,[38,5],["click",[30,0,["onClick"]]],null],[4,[38,5],["keyup",[30,0,["onKeyUp"]]],null],[12],[1,"\\n"],[41,[30,4],[[[1,"      "],[8,[39,6],[[24,0,"hds-tabs__tab-icon"],[24,"role","presentation"]],[["@name"],[[30,4]]],null],[1,"\\n"]],[]],null],[1,"\\n    "],[18,5,null],[1,"\\n\\n"],[41,[30,3],[[[1,"      "],[8,[39,8],[[24,0,"hds-tabs__tab-count"],[24,"role","presentation"]],[["@text","@size"],[[30,3],"small"]],null],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"],[13],[1,"\\n"]],["&attrs","@isSelected","@count","@icon","&default"],false,["if","unless","did-insert","did-update","will-destroy","on","flight-icon","yield","hds/badge-count"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/tabs/tab.js",isStrictMode:!1})
let h=(n=class extends(o()){constructor(...e){super(...e),(0,i.a)(this,"tabId","tab-"+(0,a.guidFor)(this))}get nodeIndex(){return this.args.tabIds?.indexOf(this.tabId)}get isSelected(){return void 0!==this.nodeIndex&&this.nodeIndex===this.args.selectedTabIndex}didInsertNode(e,t){const{didInsertNode:r}=this.args,n=t[0]
"function"==typeof r&&r(e,n)}didUpdateNode(){const{didUpdateNode:e}=this.args
"function"==typeof e&&void 0!==this.nodeIndex&&e(this.nodeIndex,this.args.isSelected)}willDestroyNode(e){const{willDestroyNode:t}=this.args
"function"==typeof t&&t(e)}onClick(e){const{onClick:t}=this.args
if("function"!=typeof t||void 0===this.nodeIndex)return!1
t(e,this.nodeIndex)}onKeyUp(e){const{onKeyUp:t}=this.args
"function"==typeof t&&void 0!==this.nodeIndex&&t(this.nodeIndex,e)}get classNames(){const e=["hds-tabs__tab"]
return this.isSelected&&e.push("hds-tabs__tab--is-selected"),e.join(" ")}},(0,i._)(n.prototype,"didInsertNode",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"didInsertNode"),n.prototype),(0,i._)(n.prototype,"didUpdateNode",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"didUpdateNode"),n.prototype),(0,i._)(n.prototype,"willDestroyNode",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"willDestroyNode"),n.prototype),(0,i._)(n.prototype,"onClick",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"onClick"),n.prototype),(0,i._)(n.prototype,"onKeyUp",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"onKeyUp"),n.prototype),n);(0,c.setComponentTemplate)(u,h)},22556:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{COLORS:()=>c,DEFAULT_COLOR:()=>u,default:()=>h})
var n=r(17990),i=r.n(n),s=r(3353)
let o=function(e){return e.Primary="primary",e.Secondary="secondary",e}({})
var a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"azPFvsWw",block:'[[[8,[39,0],[[16,0,[30,0,["classNames"]]],[17,1]],[["@tag","@size","@weight","@color"],["span","100","medium","primary"]],[["default"],[[[[1,"\\n"],[41,[30,0,["onDismiss"]],[[[1,"    "],[11,"button"],[24,0,"hds-tag__dismiss"],[16,"aria-label",[30,0,["ariaLabel"]]],[24,4,"button"],[4,[38,2],["click",[30,0,["onDismiss"]]],null],[12],[1,"\\n      "],[8,[39,3],[[24,0,"hds-tag__dismiss-icon"]],[["@name","@size","@isInlineBlock"],["x","16",false]],null],[1,"\\n    "],[13],[1,"\\n"]],[]],null],[41,[28,[37,4],[[30,2],[30,3]],null],[[[1,"    "],[8,[39,5],[[24,0,"hds-tag__link"]],[["@current-when","@models","@query","@replace","@route","@isRouteExternal","@href","@isHrefExternal"],[[30,4],[28,[37,6],[[30,5],[30,6]],null],[28,[37,7],[[30,7]],null],[30,8],[30,3],[30,9],[30,2],[30,10]]],[["default"],[[[[1,"\\n      "],[1,[30,0,["text"]]],[1,"\\n    "]],[]]]]],[1,"\\n"]],[]],[[[1,"    "],[10,1],[14,0,"hds-tag__text"],[12],[1,"\\n      "],[1,[30,0,["text"]]],[1,"\\n    "],[13],[1,"\\n"]],[]]]],[]]]]]],["&attrs","@href","@route","@current-when","@model","@models","@query","@replace","@isRouteExternal","@isHrefExternal"],false,["hds/text/body","if","on","flight-icon","or","hds/interactive","hds-link-to-models","hds-link-to-query"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/tag/index.js",isStrictMode:!1})
const c=Object.values(o),u=o.Primary
class h extends(i()){get onDismiss(){const{onDismiss:e}=this.args
return"function"==typeof e&&e}get text(){const{text:e}=this.args
return(0,s.assert)('@text for "Hds::Tag" must have a valid value',void 0!==e),e}get ariaLabel(){return(this.args.ariaLabel??"Dismiss")+" "+this.args.text}get color(){if(this.args.href||this.args.route){const{color:e=u}=this.args
return(0,s.assert)(`@color for "Hds::Tag" must be one of the following: ${c.join(", ")}; received: ${e}`,c.includes(e)),e}return this.args.color&&(0,s.assert)('@color can only be applied to "Hds::Tag" along with either @href or @route',this.args.href||this.args.route),!1}get classNames(){const e=["hds-tag"]
return this.color&&e.push(`hds-tag--color-${this.color}`),e.join(" ")}}(0,a.setComponentTemplate)(l,h)},63130:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{AVAILABLE_SIZES:()=>c,AVAILABLE_WEIGHTS_PER_SIZE:()=>d,DEFAULT_SIZE:()=>u,DEFAULT_WEIGHT:()=>h,default:()=>p})
var n=r(17990),i=r.n(n),s=r(3353),o=r(83365),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"osZe2cmD",block:'[[[8,[39,0],[[17,1]],[["@group","@size","@weight","@align","@color","@tag"],["body",[30,0,["size"]],[30,0,["weight"]],[30,2],[30,3],[30,4]]],[["default"],[[[[18,5,null]],[]]]]]],["&attrs","@align","@color","@tag","&default"],false,["hds/text","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/text/body.js",isStrictMode:!1})
const c=[o.$G.ThreeHundred,o.$G.TwoHundred,o.$G.OneHundred],u=o.$G.TwoHundred,h=o.SX.Regular,d={300:[o.SX.Regular,o.SX.Medium,o.SX.Semibold],200:[o.SX.Regular,o.SX.Medium,o.SX.Semibold],100:[o.SX.Regular,o.SX.Medium,o.SX.Semibold]}
class p extends(i()){get size(){let{size:e=u}=this.args
return"string"==typeof e&&(e=parseInt(e,10)),(0,s.assert)(`@size for "Hds::Text::Body" must be one of the following: ${c.join(", ")}; received: ${e}`,c.includes(e)),e}get weight(){const{weight:e=h}=this.args,t=d[this.size]
return(0,s.assert)(`@weight for "Hds::Text::Body" with @size=${this.size} must be one of the following: ${t.join(", ")}; received: ${e}`,t.includes(e)),e}}(0,a.setComponentTemplate)(l,p)},56597:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{AVAILABLE_SIZES:()=>c,AVAILABLE_WEIGHTS_PER_SIZE:()=>d,DEFAULT_SIZE:()=>u,DEFAULT_WEIGHT:()=>h,default:()=>p})
var n=r(17990),i=r.n(n),s=r(3353),o=r(83365),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"qWkWVlHN",block:'[[[8,[39,0],[[17,1]],[["@group","@size","@weight","@align","@color","@tag"],["code",[30,0,["size"]],[30,0,["weight"]],[30,2],[30,3],[30,4]]],[["default"],[[[[18,5,null]],[]]]]]],["&attrs","@align","@color","@tag","&default"],false,["hds/text","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/text/code.js",isStrictMode:!1})
const c=[o.$G.ThreeHundred,o.$G.TwoHundred,o.$G.OneHundred],u=o.$G.TwoHundred,h=o.SX.Regular,d={[o.$G.ThreeHundred]:[o.SX.Regular,o.SX.Bold],[o.$G.TwoHundred]:[o.SX.Regular,o.SX.Bold],[o.$G.OneHundred]:[o.SX.Regular,o.SX.Bold]}
class p extends(i()){get size(){let{size:e=u}=this.args
return"string"==typeof e&&(e=parseInt(e,10)),(0,s.assert)(`@size for "Hds::Text::Code" must be one of the following: ${c.join(", ")}; received: ${e}`,c.includes(e)),e}get weight(){const{weight:e=h}=this.args,t=d[this.size]
return(0,s.assert)(`@weight for "Hds::Text::Code" with @size=${this.size} must be one of the following: ${t.join(", ")}; received: ${e}`,t.includes(e)),e}}(0,a.setComponentTemplate)(l,p)},75185:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{AVAILABLE_SIZES:()=>u,AVAILABLE_WEIGHTS_PER_SIZE:()=>d,DEFAULT_SIZE:()=>c,DEFAULT_WEIGHTS_PER_SIZE:()=>h,default:()=>p})
var n=r(17990),i=r.n(n),s=r(3353),o=r(83365),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"IZgwsabX",block:'[[[8,[39,0],[[17,1]],[["@group","@size","@weight","@align","@color","@tag"],["display",[30,0,["size"]],[30,0,["weight"]],[30,2],[30,3],[30,4]]],[["default"],[[[[18,5,null]],[]]]]]],["&attrs","@align","@color","@tag","&default"],false,["hds/text","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/text/display.js",isStrictMode:!1})
const c=o.$G.TwoHundred,u=Object.values(o.$G).filter((e=>"number"==typeof e)),h={[o.$G.FiveHundred]:o.SX.Bold,[o.$G.FourHundred]:o.SX.Semibold,[o.$G.ThreeHundred]:o.SX.Semibold,[o.$G.TwoHundred]:o.SX.Semibold,[o.$G.OneHundred]:o.SX.Medium},d={[o.$G.FiveHundred]:[o.SX.Bold],[o.$G.FourHundred]:[o.SX.Medium,o.SX.Semibold,o.SX.Bold],[o.$G.ThreeHundred]:[o.SX.Medium,o.SX.Semibold,o.SX.Bold],[o.$G.TwoHundred]:[o.SX.Semibold],[o.$G.OneHundred]:[o.SX.Medium]}
class p extends(i()){get size(){let{size:e=c}=this.args
return"string"==typeof e&&(e=parseInt(e,10)),(0,s.assert)(`@size for "Hds::Text::Display" must be one of the following: ${u.join(", ")}; received: ${e}`,u.includes(e)),e}get weight(){let{weight:e}=this.args
if(e){const t=d[this.size];(0,s.assert)(`@weight for "Hds::Text::Display" with @size=${this.size} must be one of the following: ${t.join(", ")}; received: ${e}`,t.includes(e))}else e=h[this.size]
return e}}(0,a.setComponentTemplate)(l,p)},14873:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{AVAILABLE_ALIGNS:()=>u,AVAILABLE_COLORS:()=>c,default:()=>h})
var n=r(17990),i=r.n(n),s=r(3353),o=r(83365),a=r(23574),l=(0,r(59266).createTemplateFactory)({id:"VUmEVlLc",block:'[[[44,[[28,[37,1],[[30,0,["componentTag"]]],null]],[[[8,[30,1],[[16,0,[30,0,["classNames"]]],[17,2],[4,[38,2],null,[["color"],[[30,0,["customColor"]]]]]],null,[["default"],[[[[18,3,null]],[]]]]]],[1]]]],["Tag","&attrs","&default"],false,["let","element","style","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/text/index.js",isStrictMode:!1})
const c=Object.values(o.rv),u=Object.values(o.zP)
class h extends(i()){get componentTag(){const{tag:e="span"}=this.args
return e}get variant(){const{group:e,size:t}=this.args
return`${e}-${t}`}get align(){const{align:e}=this.args
return e&&(0,s.assert)(`@align for "Hds::Text" must be one of the following: ${u.join(", ")}; received: ${e}`,u.includes(e)),e}get predefinedColor(){const{color:e}=this.args
return e&&c.includes(e)?e:void 0}get customColor(){const{color:e}=this.args
return e&&!c.includes(e)?e:void 0}get classNames(){const e=["hds-text"]
return e.push(`hds-typography-${this.variant}`),this.args.weight&&e.push(`hds-font-weight-${this.args.weight}`),this.align&&e.push(`hds-text--align-${this.align}`),this.predefinedColor&&e.push(`hds-foreground-${this.predefinedColor}`),e.join(" ")}}(0,a.setComponentTemplate)(l,h)},83365:(e,t,r)=>{"use strict"
r.d(t,{$G:()=>o,SX:()=>s,rv:()=>n,zP:()=>i})
let n=function(e){return e.Primary="primary",e.Strong="strong",e.Faint="faint",e.Disabled="disabled",e.HighContrast="high-contrast",e.Action="action",e.ActionHover="action-hover",e.ActionActive="action-active",e.Highlight="highlight",e.HighlightOnSurface="highlight-on-surface",e.HighlightHighContrast="highlight-high-contrast",e.Success="success",e.SuccessOnSurface="success-on-surface",e.SuccessHighContrast="success-high-contrast",e.Warning="warning",e.WarningOnSurface="warning-on-surface",e.WarningHighContrast="warning-high-contrast",e.Critical="critical",e.CriticalOnSurface="critical-on-surface",e.CriticalHighContrast="critical-high-contrast",e}({}),i=function(e){return e.Left="left",e.Center="center",e.Right="right",e}({}),s=function(e){return e.Regular="regular",e.Medium="medium",e.Semibold="semibold",e.Bold="bold",e}({}),o=function(e){return e[e.FiveHundred=500]="FiveHundred",e[e.FourHundred=400]="FourHundred",e[e.ThreeHundred=300]="ThreeHundred",e[e.TwoHundred=200]="TwoHundred",e[e.OneHundred=100]="OneHundred",e}({})},17288:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"owflAECp",block:'[[[8,[39,0],[[24,0,"hds-toast"],[17,1]],[["@type","@color","@icon","@onDismiss"],["inline",[30,2],[30,3],[30,4]]],[["default"],[[[[1,"\\n  "],[18,6,[[28,[37,2],null,[["Title","Description","Button","LinkStandalone","Generic"],[[30,5,["Title"]],[30,5,["Description"]],[30,5,["Button"]],[30,5,["LinkStandalone"]],[30,5,["Generic"]]]]]]],[1,"\\n"]],[5]]]]]],["&attrs","@color","@icon","@onDismiss","A","&default"],false,["hds/alert","yield","hash"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/toast/index.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},74090:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{PLACEMENTS:()=>l,default:()=>c})
var n=r(17990),i=r.n(n),s=r(3353),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"A4TOWglf",block:'[[[1,"\\n"],[11,"button"],[24,4,"button"],[16,0,[30,0,["classNames"]]],[17,1],[4,[38,0],[[30,0,["text"]]],[["options"],[[30,0,["options"]]]]],[12],[18,2,null],[13]],["&attrs","&default"],false,["hds-tooltip","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/tooltip-button/index.js",isStrictMode:!1})
const l=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"]
class c extends(i()){get text(){let{text:e}=this.args
return(0,s.assert)('@text for "Hds::TooltipButton" must have a valid value',void 0!==e),e}get options(){let{placement:e}=this.args
return(0,s.assert)('@placement for "Hds::TooltipButton" must have a valid value',null==e||l.includes(e)),{...this.args.extraTippyOptions,placement:e,offset:this.args.offset}}get isInline(){let{isInline:e=!0}=this.args
return e}get classNames(){let e=["hds-tooltip-button"]
return this.isInline?e.push("hds-tooltip-button--is-inline"):e.push("hds-tooltip-button--is-block"),e.join(" ")}}(0,o.setComponentTemplate)(a,c)},700:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"9w9ep4S0",block:'[[[18,1,null]],["&default"],false,["yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/design-system-components/dist/components/hds/yield/index.js",isStrictMode:!1})
const a=i()()
var l=(0,s.setComponentTemplate)(o,a)},18239:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>o,hdsLinkToModels:()=>s})
var n=r(58797),i=r(3353)
function s([e,t]){return(0,i.assert)("You cannot provide both the `@model` and `@models` arguments to the component.",!e||!t),e?[e]:t||[]}const o=(0,n.helper)(s)},29567:(e,t,r)=>{"use strict"
function n([e]){return e??{}}r.r(t),r.d(t,{default:()=>i,hdsLinkToQuery:()=>n})
const i=(0,r(58797).helper)(n)},26704:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{DEFAULT_PLACEMENT:()=>le,PLACEMENTS:()=>ce,default:()=>de,getFloatingUIOptions:()=>he})
var n=r(38575),i=r(3353)
const s=["start","end"],o=["top","right","bottom","left"].reduce(((e,t)=>e.concat(t,t+"-"+s[0],t+"-"+s[1])),[]),a=Math.min,l=Math.max,c=Math.round,u=Math.floor,h=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"},p={start:"end",end:"start"}
function f(e,t,r){return l(e,a(t,r))}function m(e,t){return"function"==typeof e?e(t):e}function g(e){return e.split("-")[0]}function y(e){return e.split("-")[1]}function v(e){return"x"===e?"y":"x"}function b(e){return"y"===e?"height":"width"}function w(e){return["top","bottom"].includes(g(e))?"y":"x"}function S(e){return v(w(e))}function k(e,t,r){void 0===r&&(r=!1)
const n=y(e),i=S(e),s=b(i)
let o="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top"
return t.reference[s]>t.floating[s]&&(o=E(o)),[o,E(o)]}function x(e){return e.replace(/start|end/g,(e=>p[e]))}function E(e){return e.replace(/left|right|bottom|top/g,(e=>d[e]))}function N(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function _(e){const{x:t,y:r,width:n,height:i}=e
return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function C(e,t,r){let{reference:n,floating:i}=e
const s=w(t),o=S(t),a=b(o),l=g(t),c="y"===s,u=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,d=n[a]/2-i[a]/2
let p
switch(l){case"top":p={x:u,y:n.y-i.height}
break
case"bottom":p={x:u,y:n.y+n.height}
break
case"right":p={x:n.x+n.width,y:h}
break
case"left":p={x:n.x-i.width,y:h}
break
default:p={x:n.x,y:n.y}}switch(y(t)){case"start":p[o]-=d*(r&&c?-1:1)
break
case"end":p[o]+=d*(r&&c?-1:1)}return p}async function A(e,t){var r
void 0===t&&(t={})
const{x:n,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:p=0}=m(t,e),f=N(p),g=a[d?"floating"===h?"reference":"floating":h],y=_(await s.getClippingRect({element:null==(r=await(null==s.isElement?void 0:s.isElement(g)))||r?g:g.contextElement||await(null==s.getDocumentElement?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),v="floating"===h?{x:n,y:i,width:o.floating.width,height:o.floating.height}:o.reference,b=await(null==s.getOffsetParent?void 0:s.getOffsetParent(a.floating)),w=await(null==s.isElement?void 0:s.isElement(b))&&await(null==s.getScale?void 0:s.getScale(b))||{x:1,y:1},S=_(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:b,strategy:l}):v)
return{top:(y.top-S.top+f.top)/w.y,bottom:(S.bottom-y.bottom+f.bottom)/w.y,left:(y.left-S.left+f.left)/w.x,right:(S.right-y.right+f.right)/w.x}}function O(e){return I(e)?(e.nodeName||"").toLowerCase():"#document"}function P(e){var t
return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function T(e){var t
return null==(t=(I(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function I(e){return e instanceof Node||e instanceof P(e).Node}function j(e){return e instanceof Element||e instanceof P(e).Element}function D(e){return e instanceof HTMLElement||e instanceof P(e).HTMLElement}function M(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof P(e).ShadowRoot)}function B(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=$(e)
return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function R(e){return["table","td","th"].includes(O(e))}function L(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function z(e){const t=F(),r=j(e)?$(e):e
return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function F(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function V(e){return["html","body","#document"].includes(O(e))}function $(e){return P(e).getComputedStyle(e)}function U(e){return j(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function H(e){if("html"===O(e))return e
const t=e.assignedSlot||e.parentNode||M(e)&&e.host||T(e)
return M(t)?t.host:t}function q(e){const t=H(e)
return V(t)?e.ownerDocument?e.ownerDocument.body:e.body:D(t)&&B(t)?t:q(t)}function W(e,t,r){var n
void 0===t&&(t=[]),void 0===r&&(r=!0)
const i=q(e),s=i===(null==(n=e.ownerDocument)?void 0:n.body),o=P(i)
return s?t.concat(o,o.visualViewport||[],B(i)?i:[],o.frameElement&&r?W(o.frameElement):[]):t.concat(i,W(i,[],r))}function K(e){const t=$(e)
let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0
const i=D(e),s=i?e.offsetWidth:r,o=i?e.offsetHeight:n,a=c(r)!==s||c(n)!==o
return a&&(r=s,n=o),{width:r,height:n,$:a}}function Z(e){return j(e)?e:e.contextElement}function J(e){const t=Z(e)
if(!D(t))return h(1)
const r=t.getBoundingClientRect(),{width:n,height:i,$:s}=K(t)
let o=(s?c(r.width):r.width)/n,a=(s?c(r.height):r.height)/i
return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}const G=h(0)
function Y(e){const t=P(e)
return F()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:G}function X(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1)
const i=e.getBoundingClientRect(),s=Z(e)
let o=h(1)
t&&(n?j(n)&&(o=J(n)):o=J(e))
const a=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==P(e))&&t}(s,r,n)?Y(s):h(0)
let l=(i.left+a.x)/o.x,c=(i.top+a.y)/o.y,u=i.width/o.x,d=i.height/o.y
if(s){const e=P(s),t=n&&j(n)?P(n):n
let r=e,i=r.frameElement
for(;i&&n&&t!==r;){const e=J(i),t=i.getBoundingClientRect(),n=$(i),s=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y
l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=s,c+=o,r=P(i),i=r.frameElement}}return _({width:u,height:d,x:l,y:c})}function Q(e){return X(T(e)).left+U(e).scrollLeft}function ee(e,t,r){let n
if("viewport"===t)n=function(e,t){const r=P(e),n=T(e),i=r.visualViewport
let s=n.clientWidth,o=n.clientHeight,a=0,l=0
if(i){s=i.width,o=i.height
const e=F();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}(e,r)
else if("document"===t)n=function(e){const t=T(e),r=U(e),n=e.ownerDocument.body,i=l(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=l(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight)
let o=-r.scrollLeft+Q(e)
const a=-r.scrollTop
return"rtl"===$(n).direction&&(o+=l(t.clientWidth,n.clientWidth)-i),{width:i,height:s,x:o,y:a}}(T(e))
else if(j(t))n=function(e,t){const r=X(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,s=D(e)?J(e):h(1)
return{width:e.clientWidth*s.x,height:e.clientHeight*s.y,x:i*s.x,y:n*s.y}}(t,r)
else{const r=Y(e)
n={...t,x:t.x-r.x,y:t.y-r.y}}return _(n)}function te(e,t){const r=H(e)
return!(r===t||!j(r)||V(r))&&("fixed"===$(r).position||te(r,t))}function re(e,t,r){const n=D(t),i=T(t),s="fixed"===r,o=X(e,!0,s,t)
let a={scrollLeft:0,scrollTop:0}
const l=h(0)
if(n||!n&&!s)if(("body"!==O(t)||B(i))&&(a=U(t)),n){const e=X(t,!0,s,t)
l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=Q(i))
return{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function ne(e){return"static"===$(e).position}function ie(e,t){return D(e)&&"fixed"!==$(e).position?t?t(e):e.offsetParent:null}function se(e,t){const r=P(e)
if(L(e))return r
if(!D(e)){let t=H(e)
for(;t&&!V(t);){if(j(t)&&!ne(t))return t
t=H(t)}return r}let n=ie(e,t)
for(;n&&R(n)&&ne(n);)n=ie(n,t)
return n&&V(n)&&ne(n)&&!z(n)?r:n||function(e){let t=H(e)
for(;D(t)&&!V(t);){if(z(t))return t
if(L(t))return null
t=H(t)}return null}(e)||r}const oe={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e
const s="fixed"===i,o=T(n),a=!!t&&L(t.floating)
if(n===o||a&&s)return r
let l={scrollLeft:0,scrollTop:0},c=h(1)
const u=h(0),d=D(n)
if((d||!d&&!s)&&(("body"!==O(n)||B(o))&&(l=U(n)),D(n))){const e=X(n)
c=J(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x,y:r.y*c.y-l.scrollTop*c.y+u.y}},getDocumentElement:T,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e
const s=[..."clippingAncestors"===r?L(t)?[]:function(e,t){const r=t.get(e)
if(r)return r
let n=W(e,[],!1).filter((e=>j(e)&&"body"!==O(e))),i=null
const s="fixed"===$(e).position
let o=s?H(e):e
for(;j(o)&&!V(o);){const t=$(o),r=z(o)
r||"fixed"!==t.position||(i=null),(s?!r&&!i:!r&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||B(o)&&!r&&te(e,o))?n=n.filter((e=>e!==o)):i=t,o=H(o)}return t.set(e,n),n}(t,this._c):[].concat(r),n],o=s[0],c=s.reduce(((e,r)=>{const n=ee(t,r,i)
return e.top=l(n.top,e.top),e.right=a(n.right,e.right),e.bottom=a(n.bottom,e.bottom),e.left=l(n.left,e.left),e}),ee(t,o,i))
return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:se,getElementRects:async function(e){const t=this.getOffsetParent||se,r=this.getDimensions,n=await r(e.floating)
return{reference:re(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=K(e)
return{width:t,height:r}},getScale:J,isElement:j,isRTL:function(e){return"rtl"===$(e).direction}},ae=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=m(e,t),u={x:r,y:n},h=w(i),d=v(h)
let p=u[d],f=u[h]
const y=m(a,t),b="number"==typeof y?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y}
if(l){const e="y"===d?"height":"width",t=s.reference[d]-s.floating[e]+b.mainAxis,r=s.reference[d]+s.reference[e]-b.mainAxis
p<t?p=t:p>r&&(p=r)}if(c){var S,k
const e="y"===d?"width":"height",t=["top","left"].includes(g(i)),r=s.reference[h]-s.floating[e]+(t&&(null==(S=o.offset)?void 0:S[h])||0)+(t?0:b.crossAxis),n=s.reference[h]+s.reference[e]+(t?0:(null==(k=o.offset)?void 0:k[h])||0)-(t?b.crossAxis:0)
f<r?f=r:f>n&&(f=n)}return{[d]:p,[h]:f}}}},le="bottom",ce=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],ue=8,he=e=>{const{placement:t=le,strategy:r="absolute",offsetOptions:n,flipOptions:i={padding:ue},shiftOptions:s={padding:ue,limiter:ae()},autoPlacementOptions:l={padding:ue},middlewareExtra:c=[],enableCollisionDetection:u,arrowElement:h,arrowPadding:d}=e,p=[]
return p.push(function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n
const{x:i,y:s,placement:o,middlewareData:a}=t,l=await async function(e,t){const{placement:r,platform:n,elements:i}=e,s=await(null==n.isRTL?void 0:n.isRTL(i.floating)),o=g(r),a=y(r),l="y"===w(r),c=["left","top"].includes(o)?-1:1,u=s&&l?-1:1,h=m(t,e)
let{mainAxis:d,crossAxis:p,alignmentAxis:f}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h}
return a&&"number"==typeof f&&(p="end"===a?-1*f:f),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}(t,e)
return o===(null==(r=a.offset)?void 0:r.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}}(n)),!0!==u&&"flip"!==u||p.push(function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n
const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:v=!0,...b}=m(e,t)
if(null!=(r=s.arrow)&&r.alignmentOffset)return{}
const S=g(i),N=w(a),_=g(a)===a,C=await(null==l.isRTL?void 0:l.isRTL(c.floating)),O=d||(_||!v?[E(a)]:function(e){const t=E(e)
return[x(e),t,x(t)]}(a)),P="none"!==f
!d&&P&&O.push(...function(e,t,r,n){const i=y(e)
let s=function(e,t,r){const n=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"]
switch(e){case"top":case"bottom":return r?t?i:n:t?n:i
case"left":case"right":return t?s:o
default:return[]}}(g(e),"start"===r,n)
return i&&(s=s.map((e=>e+"-"+i)),t&&(s=s.concat(s.map(x)))),s}(a,v,f,C))
const T=[a,...O],I=await A(t,b),j=[]
let D=(null==(n=s.flip)?void 0:n.overflows)||[]
if(u&&j.push(I[S]),h){const e=k(i,o,C)
j.push(I[e[0]],I[e[1]])}if(D=[...D,{placement:i,overflows:j}],!j.every((e=>e<=0))){var M,B
const e=((null==(M=s.flip)?void 0:M.index)||0)+1,t=T[e]
if(t)return{data:{index:e,overflows:D},reset:{placement:t}}
let r=null==(B=D.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:B.placement
if(!r)switch(p){case"bestFit":{var R
const e=null==(R=D.filter((e=>{if(P){const t=w(e.placement)
return t===N||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:R[0]
e&&(r=e)
break}case"initialPlacement":r=a}if(i!==r)return{reset:{placement:r}}}return{}}}}(i)),!0!==u&&"shift"!==u||p.push(function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:e=>{let{x:t,y:r}=e
return{x:t,y:r}}},...l}=m(e,t),c={x:r,y:n},u=await A(t,l),h=w(g(i)),d=v(h)
let p=c[d],y=c[h]
if(s){const e="y"===d?"bottom":"right"
p=f(p+u["y"===d?"top":"left"],p,p-u[e])}if(o){const e="y"===h?"bottom":"right"
y=f(y+u["y"===h?"top":"left"],y,y-u[e])}const b=a.fn({...t,[d]:p,[h]:y})
return{...b,data:{x:b.x-r,y:b.y-n}}}}}(s)),"auto"===u&&p.push(function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i
const{rects:s,middlewareData:a,placement:l,platform:c,elements:u}=t,{crossAxis:h=!1,alignment:d,allowedPlacements:p=o,autoAlignment:f=!0,...v}=m(e,t),b=void 0!==d||p===o?function(e,t,r){return(e?[...r.filter((t=>y(t)===e)),...r.filter((t=>y(t)!==e))]:r.filter((e=>g(e)===e))).filter((r=>!e||y(r)===e||!!t&&x(r)!==r))}(d||null,f,p):p,w=await A(t,v),S=(null==(r=a.autoPlacement)?void 0:r.index)||0,E=b[S]
if(null==E)return{}
const N=k(E,s,await(null==c.isRTL?void 0:c.isRTL(u.floating)))
if(l!==E)return{reset:{placement:b[0]}}
const _=[w[g(E)],w[N[0]],w[N[1]]],C=[...(null==(n=a.autoPlacement)?void 0:n.overflows)||[],{placement:E,overflows:_}],O=b[S+1]
if(O)return{data:{index:S+1,overflows:C},reset:{placement:O}}
const P=C.map((e=>{const t=y(e.placement)
return[e.placement,t&&h?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),T=(null==(i=P.filter((e=>e[2].slice(0,y(e[0])?2:3).every((e=>e<=0))))[0])?void 0:i[0])||P[0][0]
return T!==l?{data:{index:S+1,overflows:C},reset:{placement:T}}:{}}}}(l)),h&&p.push((e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:i,rects:s,platform:o,elements:l,middlewareData:c}=t,{element:u,padding:h=0}=m(e,t)||{}
if(null==u)return{}
const d=N(h),p={x:r,y:n},g=S(i),v=b(g),w=await o.getDimensions(u),k="y"===g,x=k?"top":"left",E=k?"bottom":"right",_=k?"clientHeight":"clientWidth",C=s.reference[v]+s.reference[g]-p[g]-s.floating[v],A=p[g]-s.reference[g],O=await(null==o.getOffsetParent?void 0:o.getOffsetParent(u))
let P=O?O[_]:0
P&&await(null==o.isElement?void 0:o.isElement(O))||(P=l.floating[_]||s.floating[v])
const T=C/2-A/2,I=P/2-w[v]/2-1,j=a(d[x],I),D=a(d[E],I),M=j,B=P-w[v]-D,R=P/2-w[v]/2+T,L=f(M,R,B),z=!c.arrow&&null!=y(i)&&R!==L&&s.reference[v]/2-(R<M?j:D)-w[v]/2<0,F=z?R<M?R-M:R-B:0
return{[g]:p[g]+F,data:{[g]:L,centerOffset:R-L-F,...z&&{alignmentOffset:F}},reset:z}}}))({element:h,padding:d??0})),p.push(...c),{placement:t,strategy:r,middleware:p}}
var de=(0,n.modifier)(((e,t,r={})=>{const n=e,s=t[0],o="string"==typeof s?document.querySelector(s):s
let c
if((0,i.assert)('`hds-anchored-position` modifier - the provided "anchoring" element is not defined correctly',o instanceof HTMLElement||o instanceof SVGElement),r.arrowElement)(0,i.assert)('`hds-anchored-position` modifier - the `element` provided for the "arrow" element is not a valid DOM node',r.arrowElement instanceof HTMLElement||r.arrowElement instanceof SVGElement),c=r.arrowElement
else if(r.arrowSelector){(0,i.assert)('`hds-anchored-position` modifier - the `selector` provided for the "arrow" element must be a string',"string"==typeof r.arrowSelector)
const e=document.querySelector(r.arrowSelector)
e instanceof HTMLElement?c=e:(0,i.assert)('`hds-anchored-position` modifier - the `selector` provided for the "arrow" element is not a valid DOM selector')}const h=he({...r,arrowElement:c}),d=function(e,t,r,n){void 0===n&&(n={})
const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:h=!1}=n,d=Z(e),p=i||s?[...d?W(d):[],...W(t)]:[]
p.forEach((e=>{i&&e.addEventListener("scroll",r,{passive:!0}),s&&e.addEventListener("resize",r)}))
const f=d&&c?function(e,t){let r,n=null
const i=T(e)
function s(){var e
clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function o(c,h){void 0===c&&(c=!1),void 0===h&&(h=1),s()
const{left:d,top:p,width:f,height:m}=e.getBoundingClientRect()
if(c||t(),!f||!m)return
const g={rootMargin:-u(p)+"px "+-u(i.clientWidth-(d+f))+"px "+-u(i.clientHeight-(p+m))+"px "+-u(d)+"px",threshold:l(0,a(1,h))||1}
let y=!0
function v(e){const t=e[0].intersectionRatio
if(t!==h){if(!y)return o()
t?o(!1,t):r=setTimeout((()=>{o(!1,1e-7)}),1e3)}y=!1}try{n=new IntersectionObserver(v,{...g,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(v,g)}n.observe(e)}(!0),s}(d,r):null
let m,g=-1,y=null
o&&(y=new ResizeObserver((e=>{let[n]=e
n&&n.target===d&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var e
null==(e=y)||e.observe(t)}))),r()})),d&&!h&&y.observe(d),y.observe(t))
let v=h?X(e):null
return h&&function t(){const n=X(e)
!v||n.x===v.x&&n.y===v.y&&n.width===v.width&&n.height===v.height||r(),v=n,m=requestAnimationFrame(t)}(),r(),()=>{var e
p.forEach((e=>{i&&e.removeEventListener("scroll",r),s&&e.removeEventListener("resize",r)})),null==f||f(),null==(e=y)||e.disconnect(),y=null,h&&cancelAnimationFrame(m)}}(o,n,(async()=>{const e=await((e,t,r)=>{const n=new Map,i={platform:oe,...r},s={...i.platform,_c:n}
return(async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:o}=r,a=s.filter(Boolean),l=await(null==o.isRTL?void 0:o.isRTL(t))
let c=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:h}=C(c,n,l),d=n,p={},f=0
for(let m=0;m<a.length;m++){const{name:r,fn:s}=a[m],{x:g,y:y,data:v,reset:b}=await s({x:u,y:h,initialPlacement:n,placement:d,strategy:i,middlewareData:p,rects:c,platform:o,elements:{reference:e,floating:t}})
u=null!=g?g:u,h=null!=y?y:h,p={...p,[r]:{...p[r],...v}},b&&f<=50&&(f++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await o.getElementRects({reference:e,floating:t,strategy:i}):b.rects),({x:u,y:h}=C(c,d,l))),m=-1)}return{x:u,y:h,placement:d,strategy:i,middlewareData:p}})(e,t,{...i,platform:s})})(o,n,h),{x:t,y:r,placement:i,strategy:s,middlewareData:a}=e
Object.assign(n.style,{position:s,top:`${r}px`,left:`${t}px`}),c&&a.arrow&&(c.setAttribute("data-hds-anchored-arrow-placement",i),Object.assign(c.style,{left:null!=a.arrow.x?`${a.arrow.x}px`:"",top:null!=a.arrow.y?`${a.arrow.y}px`:""}))}))
return()=>{d()}}))},81394:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{copyToClipboard:()=>c,default:()=>u,getTargetElement:()=>o,getTextToCopy:()=>s,getTextToCopyFromTargetElement:()=>a,writeTextToClipboard:()=>l})
var n=r(38575),i=r(3353)
const s=e=>{let t=""
return e&&("string"==typeof e?t=e:"number"==typeof e||"bigint"==typeof e?t=e.toString():(0,i.assert)("`hds-clipboard` modifier - `text` argument must be a string - provided: "+typeof e)),t},o=e=>{let t
if("string"==typeof e){if(t=document.querySelector(e),!t)return void console.error("`hds-clipboard` modifier - `target` selector provided does not point to an existing DOM node, check your selector string",t)}else e instanceof HTMLElement?t=e:e instanceof NodeList?(0,i.assert)("`hds-clipboard` modifier - `target` argument must be a string or a DOM node - provided: a list of DOM nodes"):(0,i.assert)("`hds-clipboard` modifier - `target` argument must be a string or a DOM node - provided: "+typeof e)
return t},a=e=>{let t=""
return e instanceof HTMLElement&&(t=e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement?e.value:e.innerText),t},l=async e=>{if(!e)return!1
try{return await navigator.clipboard.writeText(e),!0}catch(e){return(0,i.warn)("copy action failed, please check your browser‘s permissions",{id:"hds-clipboard.write-text-to-clipboard.catch-error"}),!1}},c=async(e,t)=>{let r=""
if(e)r=s(e)
else if(t){const e=o(t)
e&&(r=a(e))}else(0,i.assert)("`hds-clipboard` modifier - either a `text` or a `target` argument is required")
return await l(r)}
var u=(0,n.modifier)(((e,t,r)=>{(0,i.assert)("`hds-clipboard` modifier - the modifier must be applied to an element",e)
const{text:n,target:s,onSuccess:o,onError:a}=r,l=async e=>{const t=e.currentTarget
await c(n,s)?"function"==typeof o&&o({trigger:t,text:n,target:s}):"function"==typeof a&&a({trigger:t,text:n,target:s})}
return e.addEventListener("click",l),()=>{e.removeEventListener("click",l)}}))},47165:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>n})
var n=(0,r(38575).modifier)(((e,t,r={})=>{const n=e,[i,s]=t,{useCapture:o=!1}=r
return n.addEventListener(i,s,o),()=>{n.removeEventListener(i,s,o)}}))},71859:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>ut})
var n=r(41507),i=r(38575),s=r(3353),o=r(19341)
function a(e){if(null==e)return window
if("[object Window]"!==e.toString()){var t=e.ownerDocument
return t&&t.defaultView||window}return e}function l(e){return e instanceof a(e).Element||e instanceof Element}function c(e){return e instanceof a(e).HTMLElement||e instanceof HTMLElement}function u(e){return"undefined"!=typeof ShadowRoot&&(e instanceof a(e).ShadowRoot||e instanceof ShadowRoot)}var h=Math.max,d=Math.min,p=Math.round
function f(){var e=navigator.userAgentData
return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function m(){return!/^((?!chrome|android).)*safari/i.test(f())}function g(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1)
var n=e.getBoundingClientRect(),i=1,s=1
t&&c(e)&&(i=e.offsetWidth>0&&p(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&p(n.height)/e.offsetHeight||1)
var o=(l(e)?a(e):window).visualViewport,u=!m()&&r,h=(n.left+(u&&o?o.offsetLeft:0))/i,d=(n.top+(u&&o?o.offsetTop:0))/s,f=n.width/i,g=n.height/s
return{width:f,height:g,top:d,right:h+f,bottom:d+g,left:h,x:h,y:d}}function y(e){var t=a(e)
return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function v(e){return e?(e.nodeName||"").toLowerCase():null}function b(e){return((l(e)?e.ownerDocument:e.document)||window.document).documentElement}function w(e){return g(b(e)).left+y(e).scrollLeft}function S(e){return a(e).getComputedStyle(e)}function k(e){var t=S(e),r=t.overflow,n=t.overflowX,i=t.overflowY
return/auto|scroll|overlay|hidden/.test(r+i+n)}function x(e,t,r){void 0===r&&(r=!1)
var n,i,s=c(t),o=c(t)&&function(e){var t=e.getBoundingClientRect(),r=p(t.width)/e.offsetWidth||1,n=p(t.height)/e.offsetHeight||1
return 1!==r||1!==n}(t),l=b(t),u=g(e,o,r),h={scrollLeft:0,scrollTop:0},d={x:0,y:0}
return(s||!s&&!r)&&(("body"!==v(t)||k(l))&&(h=(n=t)!==a(n)&&c(n)?{scrollLeft:(i=n).scrollLeft,scrollTop:i.scrollTop}:y(n)),c(t)?((d=g(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):l&&(d.x=w(l))),{x:u.left+h.scrollLeft-d.x,y:u.top+h.scrollTop-d.y,width:u.width,height:u.height}}function E(e){var t=g(e),r=e.offsetWidth,n=e.offsetHeight
return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function N(e){return"html"===v(e)?e:e.assignedSlot||e.parentNode||(u(e)?e.host:null)||b(e)}function _(e){return["html","body","#document"].indexOf(v(e))>=0?e.ownerDocument.body:c(e)&&k(e)?e:_(N(e))}function C(e,t){var r
void 0===t&&(t=[])
var n=_(e),i=n===(null==(r=e.ownerDocument)?void 0:r.body),s=a(n),o=i?[s].concat(s.visualViewport||[],k(n)?n:[]):n,l=t.concat(o)
return i?l:l.concat(C(N(o)))}function A(e){return["table","td","th"].indexOf(v(e))>=0}function O(e){return c(e)&&"fixed"!==S(e).position?e.offsetParent:null}function P(e){for(var t=a(e),r=O(e);r&&A(r)&&"static"===S(r).position;)r=O(r)
return r&&("html"===v(r)||"body"===v(r)&&"static"===S(r).position)?t:r||function(e){var t=/firefox/i.test(f())
if(/Trident/i.test(f())&&c(e)&&"fixed"===S(e).position)return null
var r=N(e)
for(u(r)&&(r=r.host);c(r)&&["html","body"].indexOf(v(r))<0;){var n=S(r)
if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r
r=r.parentNode}return null}(e)||t}var T="top",I="bottom",j="right",D="left",M="auto",B=[T,I,j,D],R="start",L="end",z="viewport",F="popper",V=B.reduce((function(e,t){return e.concat([t+"-"+R,t+"-"+L])}),[]),$=[].concat(B,[M]).reduce((function(e,t){return e.concat([t,t+"-"+R,t+"-"+L])}),[]),U=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]
function H(e){var t=new Map,r=new Set,n=[]
function i(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e)
n&&i(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||i(e)})),n}var q={placement:"bottom",modifiers:[],strategy:"absolute"}
function W(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r]
return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}var K={passive:!0}
function Z(e){return e.split("-")[0]}function J(e){return e.split("-")[1]}function G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Y(e){var t,r=e.reference,n=e.element,i=e.placement,s=i?Z(i):null,o=i?J(i):null,a=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2
switch(s){case T:t={x:a,y:r.y-n.height}
break
case I:t={x:a,y:r.y+r.height}
break
case j:t={x:r.x+r.width,y:l}
break
case D:t={x:r.x-n.width,y:l}
break
default:t={x:r.x,y:r.y}}var c=s?G(s):null
if(null!=c){var u="y"===c?"height":"width"
switch(o){case R:t[c]=t[c]-(r[u]/2-n[u]/2)
break
case L:t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}var X={top:"auto",right:"auto",bottom:"auto",left:"auto"}
function Q(e){var t,r=e.popper,n=e.popperRect,i=e.placement,s=e.variation,o=e.offsets,l=e.position,c=e.gpuAcceleration,u=e.adaptive,h=e.roundOffsets,d=e.isFixed,f=o.x,m=void 0===f?0:f,g=o.y,y=void 0===g?0:g,v="function"==typeof h?h({x:m,y:y}):{x:m,y:y}
m=v.x,y=v.y
var w=o.hasOwnProperty("x"),k=o.hasOwnProperty("y"),x=D,E=T,N=window
if(u){var _=P(r),C="clientHeight",A="clientWidth"
_===a(r)&&"static"!==S(_=b(r)).position&&"absolute"===l&&(C="scrollHeight",A="scrollWidth"),(i===T||(i===D||i===j)&&s===L)&&(E=I,y-=(d&&_===N&&N.visualViewport?N.visualViewport.height:_[C])-n.height,y*=c?1:-1),i!==D&&(i!==T&&i!==I||s!==L)||(x=j,m-=(d&&_===N&&N.visualViewport?N.visualViewport.width:_[A])-n.width,m*=c?1:-1)}var O,M=Object.assign({position:l},u&&X),B=!0===h?function(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1
return{x:p(r*i)/i||0,y:p(n*i)/i||0}}({x:m,y:y},a(r)):{x:m,y:y}
return m=B.x,y=B.y,c?Object.assign({},M,((O={})[E]=k?"0":"",O[x]=w?"0":"",O.transform=(N.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",O)):Object.assign({},M,((t={})[E]=k?y+"px":"",t[x]=w?m+"px":"",t.transform="",t))}const ee={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state
Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},i=t.elements[e]
c(i)&&v(i)&&(Object.assign(i.style,r),Object.keys(n).forEach((function(e){var t=n[e]
!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}}
return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],i=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{})
c(n)&&v(n)&&(Object.assign(n.style,s),Object.keys(i).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]}
var te={left:"right",right:"left",bottom:"top",top:"bottom"}
function re(e){return e.replace(/left|right|bottom|top/g,(function(e){return te[e]}))}var ne={start:"end",end:"start"}
function ie(e){return e.replace(/start|end/g,(function(e){return ne[e]}))}function se(e,t){var r=t.getRootNode&&t.getRootNode()
if(e.contains(t))return!0
if(r&&u(r)){var n=t
do{if(n&&e.isSameNode(n))return!0
n=n.parentNode||n.host}while(n)}return!1}function oe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ae(e,t,r){return t===z?oe(function(e,t){var r=a(e),n=b(e),i=r.visualViewport,s=n.clientWidth,o=n.clientHeight,l=0,c=0
if(i){s=i.width,o=i.height
var u=m();(u||!u&&"fixed"===t)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:s,height:o,x:l+w(e),y:c}}(e,r)):l(t)?function(e,t){var r=g(e,!1,"fixed"===t)
return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):oe(function(e){var t,r=b(e),n=y(e),i=null==(t=e.ownerDocument)?void 0:t.body,s=h(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=h(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-n.scrollLeft+w(e),l=-n.scrollTop
return"rtl"===S(i||r).direction&&(a+=h(r.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}(b(e)))}function le(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ce(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function ue(e,t){void 0===t&&(t={})
var r=t,n=r.placement,i=void 0===n?e.placement:n,s=r.strategy,o=void 0===s?e.strategy:s,a=r.boundary,u=void 0===a?"clippingParents":a,p=r.rootBoundary,f=void 0===p?z:p,m=r.elementContext,y=void 0===m?F:m,w=r.altBoundary,k=void 0!==w&&w,x=r.padding,E=void 0===x?0:x,_=le("number"!=typeof E?E:ce(E,B)),A=y===F?"reference":F,O=e.rects.popper,D=e.elements[k?A:y],M=function(e,t,r,n){var i="clippingParents"===t?function(e){var t=C(N(e)),r=["absolute","fixed"].indexOf(S(e).position)>=0&&c(e)?P(e):e
return l(r)?t.filter((function(e){return l(e)&&se(e,r)&&"body"!==v(e)})):[]}(e):[].concat(t),s=[].concat(i,[r]),o=s[0],a=s.reduce((function(t,r){var i=ae(e,r,n)
return t.top=h(i.top,t.top),t.right=d(i.right,t.right),t.bottom=d(i.bottom,t.bottom),t.left=h(i.left,t.left),t}),ae(e,o,n))
return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(l(D)?D:D.contextElement||b(e.elements.popper),u,f,o),R=g(e.elements.reference),L=Y({reference:R,element:O,strategy:"absolute",placement:i}),V=oe(Object.assign({},O,L)),$=y===F?V:R,U={top:M.top-$.top+_.top,bottom:$.bottom-M.bottom+_.bottom,left:M.left-$.left+_.left,right:$.right-M.right+_.right},H=e.modifiersData.offset
if(y===F&&H){var q=H[i]
Object.keys(U).forEach((function(e){var t=[j,I].indexOf(e)>=0?1:-1,r=[T,I].indexOf(e)>=0?"y":"x"
U[e]+=q[r]*t}))}return U}function he(e,t,r){return h(e,d(t,r))}function de(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function pe(e){return[T,j,I,D].some((function(t){return e[t]>=0}))}var fe=function(e){void 0===e&&(e={})
var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,i=t.defaultOptions,s=void 0===i?q:i
return function(e,t,r){void 0===r&&(r=s)
var i,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},q,s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,h={state:a,setOptions:function(r){var i="function"==typeof r?r(a.options):r
d(),a.options=Object.assign({},s,a.options,i),a.scrollParents={reference:l(e)?C(e):e.contextElement?C(e.contextElement):[],popper:C(t)}
var o,u,p=function(e){var t=H(e)
return U.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((o=[].concat(n,a.options.modifiers),u=o.reduce((function(e,t){var r=e[t.name]
return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{}),Object.keys(u).map((function(e){return u[e]}))))
return a.orderedModifiers=p.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,i=e.effect
if("function"==typeof i){var s=i({state:a,name:t,instance:h,options:n})
c.push(s||function(){})}})),h.update()},forceUpdate:function(){if(!u){var e=a.elements,t=e.reference,r=e.popper
if(W(t,r)){a.rects={reference:x(t,P(r),"fixed"===a.options.strategy),popper:E(r)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}))
for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var i=a.orderedModifiers[n],s=i.fn,o=i.options,l=void 0===o?{}:o,c=i.name
"function"==typeof s&&(a=s({state:a,options:l,name:c,instance:h})||a)}else a.reset=!1,n=-1}}},update:(i=function(){return new Promise((function(e){h.forceUpdate(),e(a)}))},function(){return o||(o=new Promise((function(e){Promise.resolve().then((function(){o=void 0,e(i())}))}))),o}),destroy:function(){d(),u=!0}}
if(!W(e,t))return h
function d(){c.forEach((function(e){return e()})),c=[]}return h.setOptions(r).then((function(e){!u&&r.onFirstUpdate&&r.onFirstUpdate(e)})),h}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,s=void 0===i||i,o=n.resize,l=void 0===o||o,c=a(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper)
return s&&u.forEach((function(e){e.addEventListener("scroll",r.update,K)})),l&&c.addEventListener("resize",r.update,K),function(){s&&u.forEach((function(e){e.removeEventListener("scroll",r.update,K)})),l&&c.removeEventListener("resize",r.update,K)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name
t.modifiersData[r]=Y({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=void 0===n||n,s=r.adaptive,o=void 0===s||s,a=r.roundOffsets,l=void 0===a||a,c={placement:Z(t.placement),variation:J(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy}
null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Q(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Q(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ee,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,i=r.offset,s=void 0===i?[0,0]:i,o=$.reduce((function(e,r){return e[r]=function(e,t,r){var n=Z(e),i=[D,T].indexOf(n)>=0?-1:1,s="function"==typeof r?r(Object.assign({},t,{placement:e})):r,o=s[0],a=s[1]
return o=o||0,a=(a||0)*i,[D,j].indexOf(n)>=0?{x:a,y:o}:{x:o,y:a}}(r,t.rects,s),e}),{}),a=o[t.placement],l=a.x,c=a.y
null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name
if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,s=void 0===i||i,o=r.altAxis,a=void 0===o||o,l=r.fallbackPlacements,c=r.padding,u=r.boundary,h=r.rootBoundary,d=r.altBoundary,p=r.flipVariations,f=void 0===p||p,m=r.allowedAutoPlacements,g=t.options.placement,y=Z(g),v=l||(y!==g&&f?function(e){if(Z(e)===M)return[]
var t=re(e)
return[ie(e),t,ie(t)]}(g):[re(g)]),b=[g].concat(v).reduce((function(e,r){return e.concat(Z(r)===M?function(e,t){void 0===t&&(t={})
var r=t,n=r.placement,i=r.boundary,s=r.rootBoundary,o=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,c=void 0===l?$:l,u=J(n),h=u?a?V:V.filter((function(e){return J(e)===u})):B,d=h.filter((function(e){return c.indexOf(e)>=0}))
0===d.length&&(d=h)
var p=d.reduce((function(t,r){return t[r]=ue(e,{placement:r,boundary:i,rootBoundary:s,padding:o})[Z(r)],t}),{})
return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:r,boundary:u,rootBoundary:h,padding:c,flipVariations:f,allowedAutoPlacements:m}):r)}),[]),w=t.rects.reference,S=t.rects.popper,k=new Map,x=!0,E=b[0],N=0;N<b.length;N++){var _=b[N],C=Z(_),A=J(_)===R,O=[T,I].indexOf(C)>=0,P=O?"width":"height",L=ue(t,{placement:_,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),z=O?A?j:D:A?I:T
w[P]>S[P]&&(z=re(z))
var F=re(z),U=[]
if(s&&U.push(L[C]<=0),a&&U.push(L[z]<=0,L[F]<=0),U.every((function(e){return e}))){E=_,x=!1
break}k.set(_,U)}if(x)for(var H=function(e){var t=b.find((function(t){var r=k.get(t)
if(r)return r.slice(0,e).every((function(e){return e}))}))
if(t)return E=t,"break"},q=f?3:1;q>0&&"break"!==H(q);q--);t.placement!==E&&(t.modifiersData[n]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,s=void 0===i||i,o=r.altAxis,a=void 0!==o&&o,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,p=r.padding,f=r.tether,m=void 0===f||f,g=r.tetherOffset,y=void 0===g?0:g,v=ue(t,{boundary:l,rootBoundary:c,padding:p,altBoundary:u}),b=Z(t.placement),w=J(t.placement),S=!w,k=G(b),x="x"===k?"y":"x",N=t.modifiersData.popperOffsets,_=t.rects.reference,C=t.rects.popper,A="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,O="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0}
if(N){if(s){var L,z="y"===k?T:D,F="y"===k?I:j,V="y"===k?"height":"width",$=N[k],U=$+v[z],H=$-v[F],q=m?-C[V]/2:0,W=w===R?_[V]:C[V],K=w===R?-C[V]:-_[V],Y=t.elements.arrow,X=m&&Y?E(Y):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[z],te=Q[F],re=he(0,_[V],X[V]),ne=S?_[V]/2-q-re-ee-O.mainAxis:W-re-ee-O.mainAxis,ie=S?-_[V]/2+q+re+te+O.mainAxis:K+re+te+O.mainAxis,se=t.elements.arrow&&P(t.elements.arrow),oe=se?"y"===k?se.clientTop||0:se.clientLeft||0:0,ae=null!=(L=null==M?void 0:M[k])?L:0,le=$+ie-ae,ce=he(m?d(U,$+ne-ae-oe):U,$,m?h(H,le):H)
N[k]=ce,B[k]=ce-$}if(a){var de,pe="x"===k?T:D,fe="x"===k?I:j,me=N[x],ge="y"===x?"height":"width",ye=me+v[pe],ve=me-v[fe],be=-1!==[T,D].indexOf(b),we=null!=(de=null==M?void 0:M[x])?de:0,Se=be?ye:me-_[ge]-C[ge]-we+O.altAxis,ke=be?me+_[ge]+C[ge]-we-O.altAxis:ve,xe=m&&be?function(e,t,r){var n=he(e,t,r)
return n>r?r:n}(Se,me,ke):he(m?Se:ye,me,m?ke:ve)
N[x]=xe,B[x]=xe-me}t.modifiersData[n]=B}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,i=e.options,s=r.elements.arrow,o=r.modifiersData.popperOffsets,a=Z(r.placement),l=G(a),c=[D,j].indexOf(a)>=0?"height":"width"
if(s&&o){var u=function(e,t){return le("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ce(e,B))}(i.padding,r),h=E(s),d="y"===l?T:D,p="y"===l?I:j,f=r.rects.reference[c]+r.rects.reference[l]-o[l]-r.rects.popper[c],m=o[l]-r.rects.reference[l],g=P(s),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=f/2-m/2,b=u[d],w=y-h[c]-u[p],S=y/2-h[c]/2+v,k=he(b,S,w),x=l
r.modifiersData[n]=((t={})[x]=k,t.centerOffset=k-S,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r
null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&se(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,o=ue(t,{elementContext:"reference"}),a=ue(t,{altBoundary:!0}),l=de(o,n),c=de(a,i,s),u=pe(l),h=pe(c)
t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}}]}),me="tippy-content",ge="tippy-backdrop",ye="tippy-arrow",ve="tippy-svg-arrow",be={passive:!0,capture:!0},we=function(){return document.body}
function Se(e,t,r){if(Array.isArray(e)){var n=e[t]
return null==n?Array.isArray(r)?r[t]:r:n}return e}function ke(e,t){var r={}.toString.call(e)
return 0===r.indexOf("[object")&&r.indexOf(t+"]")>-1}function xe(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ee(e,t){return 0===t?e:function(n){clearTimeout(r),r=setTimeout((function(){e(n)}),t)}
var r}function Ne(e){return[].concat(e)}function _e(e,t){-1===e.indexOf(t)&&e.push(t)}function Ce(e){return[].slice.call(e)}function Ae(e){return Object.keys(e).reduce((function(t,r){return void 0!==e[r]&&(t[r]=e[r]),t}),{})}function Oe(){return document.createElement("div")}function Pe(e){return["Element","Fragment"].some((function(t){return ke(e,t)}))}function Te(e){return ke(e,"MouseEvent")}function Ie(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function je(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function De(e){var t,r=Ne(e)[0]
return null!=r&&null!=(t=r.ownerDocument)&&t.body?r.ownerDocument:document}function Me(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[n](t,r)}))}function Be(e,t){for(var r=t;r;){var n
if(e.contains(r))return!0
r=null==r.getRootNode||null==(n=r.getRootNode())?void 0:n.host}return!1}var Re={isTouch:!1},Le=0
function ze(){Re.isTouch||(Re.isTouch=!0,window.performance&&document.addEventListener("mousemove",Fe))}function Fe(){var e=performance.now()
e-Le<20&&(Re.isTouch=!1,document.removeEventListener("mousemove",Fe)),Le=e}function Ve(){var e,t=document.activeElement
if((e=t)&&e._tippy&&e._tippy.reference===e){var r=t._tippy
t.blur&&!r.state.isVisible&&t.blur()}}var $e=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),Ue=Object.assign({appendTo:we,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),He=Object.keys(Ue)
function qe(e){var t=(e.plugins||[]).reduce((function(t,r){var n,i=r.name,s=r.defaultValue
return i&&(t[i]=void 0!==e[i]?e[i]:null!=(n=Ue[i])?n:s),t}),{})
return Object.assign({},e,t)}function We(e,t){var r=Object.assign({},t,{content:xe(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(qe(Object.assign({},Ue,{plugins:t}))):He).reduce((function(t,r){var n=(e.getAttribute("data-tippy-"+r)||"").trim()
if(!n)return t
if("content"===r)t[r]=n
else try{t[r]=JSON.parse(n)}catch(e){t[r]=n}return t}),{})}(e,t.plugins))
return r.aria=Object.assign({},Ue.aria,r.aria),r.aria={expanded:"auto"===r.aria.expanded?t.interactive:r.aria.expanded,content:"auto"===r.aria.content?t.interactive?null:"describedby":r.aria.content},r}var Ke=function(){return"innerHTML"}
function Ze(e,t){e[Ke()]=t}function Je(e){var t=Oe()
return!0===e?t.className=ye:(t.className=ve,Pe(e)?t.appendChild(e):Ze(t,e)),t}function Ge(e,t){Pe(t.content)?(Ze(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Ze(e,t.content):e.textContent=t.content)}function Ye(e){var t=e.firstElementChild,r=Ce(t.children)
return{box:t,content:r.find((function(e){return e.classList.contains(me)})),arrow:r.find((function(e){return e.classList.contains(ye)||e.classList.contains(ve)})),backdrop:r.find((function(e){return e.classList.contains(ge)}))}}function Xe(e){var t=Oe(),r=Oe()
r.className="tippy-box",r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1")
var n=Oe()
function i(r,n){var i=Ye(t),s=i.box,o=i.content,a=i.arrow
n.theme?s.setAttribute("data-theme",n.theme):s.removeAttribute("data-theme"),"string"==typeof n.animation?s.setAttribute("data-animation",n.animation):s.removeAttribute("data-animation"),n.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth="number"==typeof n.maxWidth?n.maxWidth+"px":n.maxWidth,n.role?s.setAttribute("role",n.role):s.removeAttribute("role"),r.content===n.content&&r.allowHTML===n.allowHTML||Ge(o,e.props),n.arrow?a?r.arrow!==n.arrow&&(s.removeChild(a),s.appendChild(Je(n.arrow))):s.appendChild(Je(n.arrow)):a&&s.removeChild(a)}return n.className=me,n.setAttribute("data-state","hidden"),Ge(n,e.props),t.appendChild(r),r.appendChild(n),i(e.props,e.props),{popper:t,onUpdate:i}}Xe.$$tippy=!0
var Qe=1,et=[],tt=[]
function rt(e,t){void 0===t&&(t={})
var r=Ue.plugins.concat(t.plugins||[])
document.addEventListener("touchstart",ze,be),window.addEventListener("blur",Ve)
var n,i=Object.assign({},t,{plugins:r}),s=(n=e,Pe(n)?[n]:function(e){return ke(e,"NodeList")}(n)?Ce(n):Array.isArray(n)?n:Ce(document.querySelectorAll(n))).reduce((function(e,t){var r=t&&function(e,t){var r,n,i,s,o,a,l,c,u=We(e,Object.assign({},Ue,qe(Ae(t)))),h=!1,d=!1,p=!1,f=!1,m=[],g=Ee(K,u.interactiveDebounce),y=Qe++,v=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:y,reference:e,popper:Oe(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:v,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(n),cancelAnimationFrame(i)},setProps:function(t){if(!b.state.isDestroyed){j("onBeforeUpdate",[b,t]),q()
var r=b.props,n=We(e,Object.assign({},r,Ae(t),{ignoreAttributes:!0}))
b.props=n,H(),r.interactiveDebounce!==n.interactiveDebounce&&(B(),g=Ee(K,n.interactiveDebounce)),r.triggerTarget&&!n.triggerTarget?Ne(r.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):n.triggerTarget&&e.removeAttribute("aria-expanded"),M(),I(),k&&k(r,n),b.popperInstance&&(Y(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),j("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,r=!b.state.isEnabled,n=Re.isTouch&&!b.props.touch,i=Se(b.props.duration,0,Ue.duration)
if(!(e||t||r||n||A().hasAttribute("disabled")||(j("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,C()&&(S.style.visibility="visible"),I(),F(),b.state.isMounted||(S.style.transition="none"),C()){var s=P()
Ie([s.box,s.content],0)}var o,l,c
a=function(){var e
if(b.state.isVisible&&!f){if(f=!0,S.offsetHeight,S.style.transition=b.props.moveTransition,C()&&b.props.animation){var t=P(),r=t.box,n=t.content
Ie([r,n],i),je([r,n],"visible")}D(),M(),_e(tt,b),null==(e=b.popperInstance)||e.forceUpdate(),j("onMount",[b]),b.props.animation&&C()&&function(e){$(e,(function(){b.state.isShown=!0,j("onShown",[b])}))}(i)}},l=b.props.appendTo,c=A(),(o=b.props.interactive&&l===we||"parent"===l?c.parentNode:xe(l,[c])).contains(S)||o.appendChild(S),b.state.isMounted=!0,Y()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,r=!b.state.isEnabled,n=Se(b.props.duration,1,Ue.duration)
if(!(e||t||r)&&(j("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,f=!1,h=!1,C()&&(S.style.visibility="hidden"),B(),V(),I(!0),C()){var i=P(),s=i.box,o=i.content
b.props.animation&&(Ie([s,o],n),je([s,o],"hidden"))}D(),M(),b.props.animation?C()&&function(e,t){$(e,(function(){!b.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&t()}))}(n,b.unmount):b.unmount()}},hideWithInteractivity:function(e){O().addEventListener("mousemove",g),_e(et,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(X(),Q().forEach((function(e){e._tippy.unmount()})),S.parentNode&&S.parentNode.removeChild(S),tt=tt.filter((function(e){return e!==b})),b.state.isMounted=!1,j("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),q(),delete e._tippy,b.state.isDestroyed=!0,j("onDestroy",[b]))}}
if(!u.render)return b
var w=u.render(b),S=w.popper,k=w.onUpdate
S.setAttribute("data-tippy-root",""),S.id="tippy-"+b.id,b.popper=S,e._tippy=b,S._tippy=b
var x=v.map((function(e){return e.fn(b)})),E=e.hasAttribute("aria-expanded")
return H(),M(),I(),j("onCreate",[b]),u.showOnCreate&&ee(),S.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),S.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&O().addEventListener("mousemove",g)})),b
function N(){var e=b.props.touch
return Array.isArray(e)?e:[e,0]}function _(){return"hold"===N()[0]}function C(){var e
return!(null==(e=b.props.render)||!e.$$tippy)}function A(){return l||e}function O(){var e=A().parentNode
return e?De(e):document}function P(){return Ye(S)}function T(e){return b.state.isMounted&&!b.state.isVisible||Re.isTouch||s&&"focus"===s.type?0:Se(b.props.delay,e?0:1,Ue.delay)}function I(e){void 0===e&&(e=!1),S.style.pointerEvents=b.props.interactive&&!e?"":"none",S.style.zIndex=""+b.props.zIndex}function j(e,t,r){var n
void 0===r&&(r=!0),x.forEach((function(r){r[e]&&r[e].apply(r,t)})),r&&(n=b.props)[e].apply(n,t)}function D(){var t=b.props.aria
if(t.content){var r="aria-"+t.content,n=S.id
Ne(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(r)
if(b.state.isVisible)e.setAttribute(r,t?t+" "+n:n)
else{var i=t&&t.replace(n,"").trim()
i?e.setAttribute(r,i):e.removeAttribute(r)}}))}}function M(){!E&&b.props.aria.expanded&&Ne(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===A()?"true":"false"):e.removeAttribute("aria-expanded")}))}function B(){O().removeEventListener("mousemove",g),et=et.filter((function(e){return e!==g}))}function R(t){if(!Re.isTouch||!p&&"mousedown"!==t.type){var r=t.composedPath&&t.composedPath()[0]||t.target
if(!b.props.interactive||!Be(S,r)){if(Ne(b.props.triggerTarget||e).some((function(e){return Be(e,r)}))){if(Re.isTouch)return
if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else j("onClickOutside",[b,t])
!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),d=!0,setTimeout((function(){d=!1})),b.state.isMounted||V())}}}function L(){p=!0}function z(){p=!1}function F(){var e=O()
e.addEventListener("mousedown",R,!0),e.addEventListener("touchend",R,be),e.addEventListener("touchstart",z,be),e.addEventListener("touchmove",L,be)}function V(){var e=O()
e.removeEventListener("mousedown",R,!0),e.removeEventListener("touchend",R,be),e.removeEventListener("touchstart",z,be),e.removeEventListener("touchmove",L,be)}function $(e,t){var r=P().box
function n(e){e.target===r&&(Me(r,"remove",n),t())}if(0===e)return t()
Me(r,"remove",o),Me(r,"add",n),o=n}function U(t,r,n){void 0===n&&(n=!1),Ne(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,r,n),m.push({node:e,eventType:t,handler:r,options:n})}))}function H(){var e
_()&&(U("touchstart",W,{passive:!0}),U("touchend",Z,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(U(e,W),e){case"mouseenter":U("mouseleave",Z)
break
case"focus":U($e?"focusout":"blur",J)
break
case"focusin":U("focusout",J)}}))}function q(){m.forEach((function(e){var t=e.node,r=e.eventType,n=e.handler,i=e.options
t.removeEventListener(r,n,i)})),m=[]}function W(e){var t,r=!1
if(b.state.isEnabled&&!G(e)&&!d){var n="focus"===(null==(t=s)?void 0:t.type)
s=e,l=e.currentTarget,M(),!b.state.isVisible&&Te(e)&&et.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||h)&&!1!==b.props.hideOnClick&&b.state.isVisible?r=!0:ee(e),"click"===e.type&&(h=!r),r&&!n&&te(e)}}function K(e){var t=e.target,r=A().contains(t)||S.contains(t)
if("mousemove"!==e.type||!r){var n=Q().concat(S).map((function(e){var t,r=null==(t=e._tippy.popperInstance)?void 0:t.state
return r?{popperRect:e.getBoundingClientRect(),popperState:r,props:u}:null})).filter(Boolean);(function(e,t){var r=t.clientX,n=t.clientY
return e.every((function(e){var t=e.popperRect,i=e.popperState,s=e.props.interactiveBorder,o=i.placement.split("-")[0],a=i.modifiersData.offset
if(!a)return!0
var l="bottom"===o?a.top.y:0,c="top"===o?a.bottom.y:0,u="right"===o?a.left.x:0,h="left"===o?a.right.x:0,d=t.top-n+l>s,p=n-t.bottom-c>s,f=t.left-r+u>s,m=r-t.right-h>s
return d||p||f||m}))})(n,e)&&(B(),te(e))}}function Z(e){G(e)||b.props.trigger.indexOf("click")>=0&&h||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function J(e){b.props.trigger.indexOf("focusin")<0&&e.target!==A()||b.props.interactive&&e.relatedTarget&&S.contains(e.relatedTarget)||te(e)}function G(e){return!!Re.isTouch&&_()!==e.type.indexOf("touch")>=0}function Y(){X()
var t=b.props,r=t.popperOptions,n=t.placement,i=t.offset,s=t.getReferenceClientRect,o=t.moveTransition,l=C()?Ye(S).arrow:null,c=s?{getBoundingClientRect:s,contextElement:s.contextElement||A()}:e,u=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state
if(C()){var r=P().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?r.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?r.setAttribute("data-"+e,""):r.removeAttribute("data-"+e)})),t.attributes.popper={}}}}]
C()&&l&&u.push({name:"arrow",options:{element:l,padding:3}}),u.push.apply(u,(null==r?void 0:r.modifiers)||[]),b.popperInstance=fe(c,S,Object.assign({},r,{placement:n,onFirstUpdate:a,modifiers:u}))}function X(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return Ce(S.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&j("onTrigger",[b,e]),F()
var t=T(!0),n=N(),i=n[0],s=n[1]
Re.isTouch&&"hold"===i&&s&&(t=s),t?r=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),j("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&h)){var t=T(!1)
t?n=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else V()}}(t,i)
return r&&e.push(r),e}),[])
return Pe(e)?s[0]:s}rt.defaultProps=Ue,rt.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Ue[t]=e[t]}))},rt.currentInput=Re,Object.assign({},ee,{effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}}
Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow)}})
var nt={clientX:0,clientY:0},it=[]
function st(e){var t=e.clientX,r=e.clientY
nt={clientX:t,clientY:r}}var ot={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,r=De(e.props.triggerTarget||t),n=!1,i=!1,s=!0,o=e.props
function a(){return"initial"===e.props.followCursor&&e.state.isVisible}function l(){r.addEventListener("mousemove",h)}function c(){r.removeEventListener("mousemove",h)}function u(){n=!0,e.setProps({getReferenceClientRect:null}),n=!1}function h(r){var n=!r.target||t.contains(r.target),i=e.props.followCursor,s=r.clientX,o=r.clientY,a=t.getBoundingClientRect(),l=s-a.left,c=o-a.top
!n&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),r=s,n=o
"initial"===i&&(r=e.left+l,n=e.top+c)
var a="horizontal"===i?e.top:n,u="vertical"===i?e.right:r,h="horizontal"===i?e.bottom:n,d="vertical"===i?e.left:r
return{width:u-d,height:h-a,top:a,right:u,bottom:h,left:d}}})}function d(){e.props.followCursor&&(it.push({instance:e,doc:r}),function(e){e.addEventListener("mousemove",st)}(r))}function p(){0===(it=it.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===r})).length&&function(e){e.removeEventListener("mousemove",st)}(r)}return{onCreate:d,onDestroy:p,onBeforeUpdate:function(){o=e.props},onAfterUpdate:function(t,r){var s=r.followCursor
n||void 0!==s&&o.followCursor!==s&&(p(),s?(d(),!e.state.isMounted||i||a()||l()):(c(),u()))},onMount:function(){e.props.followCursor&&!i&&(s&&(h(nt),s=!1),a()||l())},onTrigger:function(e,t){Te(t)&&(nt={clientX:t.clientX,clientY:t.clientY}),i="focus"===t.type},onHidden:function(){e.props.followCursor&&(u(),c(),s=!0)}}}}
rt.setDefaultProps({render:Xe})
const at=rt
function lt(e){const{interval:t,needsTabIndex:r,tooltip:n}=e
r&&n?.reference?.removeAttribute("tabindex"),clearInterval(t),n?.destroy()}var ct=new WeakSet
class ut extends i.default{constructor(e,t){super(e,t),(0,n.c)(this,ct),(0,n.a)(this,"didSetup",!1),(0,n.a)(this,"interval",null),(0,n.a)(this,"needsTabIndex",!1),(0,n.a)(this,"tooltip",null),(0,n.a)(this,"hideOnEsc",{name:"hideOnEsc",defaultValue:!0,fn({hide:e}){function t(t){27===t.keyCode&&e()}return{onShow(){document.addEventListener("keydown",t)},onHide(){document.removeEventListener("keydown",t)}}}}),(0,o.registerDestructor)(this,lt)}modify(e,t,r){(0,s.assert)("Tooltip must have an element",e),this.didSetup||((0,n.d)(ct,this,ht).call(this,e,t,r),this.didSetup=!0),(0,n.d)(ct,this,dt).call(this,e,t,r)}}function ht(e,t,r){const i=(0,n.d)(ct,this,pt).call(this,e,t,r)
this.tooltip=at(e,i)}function dt(e,t,r){const i=(0,n.d)(ct,this,pt).call(this,e,t,r)
this.tooltip.setProps(i)}function pt(e,t,r){const{options:n={}}=r
let[i]=t,s=e
if("string"==typeof n.triggerTarget){const e=s
s="parentNode"===n.triggerTarget?s.parentNode:s.querySelectorAll(n.triggerTarget),i=s.cloneNode(!0),e.remove(),n.triggerTarget=void 0}if(void 0===i&&(i=s.innerHTML,s.innerHTML=""),"manual"===n.trigger){const e=n.delay||[]
void 0!==e[1]&&(n.onShown=t=>{clearInterval(this.interval),this.interval=setTimeout((()=>{t.hide()}),e[1])})}const o=s
return o.hasAttribute("tabindex")||(this.needsTabIndex=!0,o.setAttribute("tabindex","0")),{theme:"hds",triggerTarget:o,arrow:'\n        <svg class="hds-tooltip-pointer" width="16" height="7" viewBox="0 0 16 7" xmlns="http://www.w3.org/2000/svg">\n          <path d="M0 7H16L9.11989 0.444571C8.49776 -0.148191 7.50224 -0.148191 6.88011 0.444572L0 7Z" />\n        </svg>',interactive:!0,aria:{content:"describedby",expanded:null},content:()=>i,plugins:[void 0!==n.followCursor?ot:void 0,this.hideOnEsc].filter((e=>Boolean(e))),...n}}},60402:(e,t,r)=>{"use strict"
r.d(t,{C:()=>c,W5:()=>u,qd:()=>a})
var n=r(41507),i=r(55521),s=r(98773)
const o=new class{constructor(){(0,n.a)(this,"_elements",new WeakMap)}register(e,t){this.findOrCreateElementSet(e).add(t)}unregister(e,t){this.findOrCreateElementSet(e).delete(t)}entries(e){const t=this.findOrCreateElementSet(e)
return Array.from(t.values())}findOrCreateElementSet(e){if(this._elements.has(e))return this._elements.get(e)
const t=new Set
return this._elements.set(e,t),t}}
function a(e){var t,r
return t=class extends e{constructor(...e){super(...e),(0,n.b)(this,"__ARIA_DESCRIPTION_IDS__",r,this)}get ariaDescribedBy(){let e=this.__ARIA_DESCRIPTION_IDS__
return this.args.extraAriaDescribedBy&&(e=e.concat(this.args.extraAriaDescribedBy)),e.join(" ")}},r=(0,n._)(t.prototype,"__ARIA_DESCRIPTION_IDS__",[i.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),t}function l(e){if(e.isDestroying||e.isDestroyed)return
const t=o.entries(e)
e.__ARIA_DESCRIPTION_IDS__=t.map((e=>e.id))}function c(e,t){o.register(e,t),(0,s.scheduleOnce)("afterRender",e,l,e)}function u(e,t){o.unregister(e,t),(0,s.scheduleOnce)("afterRender",e,l,e)}},63928:(e,t,r)=>{"use strict"
r.d(t,{n:()=>i})
var n=r(29806)
function i(e){return e.args.id?e.args.id:(e._id||(e._id=(0,n.guidFor)(e)),e._id)}},17647:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>h})
var n=r(17990),i=r.n(n),s=r(29806),o=r(3353)
const a=["loading","loading-static","running","running-static","apple","apple-color","alibaba","alibaba-color","amazon-ecs","amazon-ecs-color","amazon-eks","amazon-eks-color","auth0","auth0-color","aws","aws-color","aws-cdk","aws-cdk-color","aws-cloudwatch","aws-cloudwatch-color","aws-ec2","aws-ec2-color","aws-lambda","aws-lambda-color","aws-s3","aws-s3-color","azure","azure-color","azure-aks","azure-aks-color","azure-blob-storage","azure-blob-storage-color","azure-devops","azure-devops-color","azure-vms","azure-vms-color","bitbucket","bitbucket-color","bridgecrew","bridgecrew-color","cisco","cisco-color","codepen","codepen-color","datadog","datadog-color","digital-ocean","digital-ocean-color","docker","docker-color","elastic-observability","elastic-observability-color","f5","f5-color","facebook","facebook-color","figma","figma-color","gcp","gcp-color","git","git-color","gitlab","gitlab-color","github","github-color","google","google-color","google-docs","google-docs-color","google-drive","google-drive-color","google-forms","google-forms-color","google-sheets","google-sheets-color","google-slides","google-slides-color","grafana","grafana-color","helm","helm-color","infracost","infracost-color","jfrog","jfrog-color","jira","jira-color","jwt","jwt-color","kubernetes","kubernetes-color","lightlytics","lightlytics-color","linkedin","linkedin-color","linode","linode-color","linux","linux-color","loom","loom-color","meetup","meetup-color","microsoft","microsoft-color","microsoft-teams","microsoft-teams-color","minio","minio-color","mongodb","mongodb-color","new-relic","new-relic-color","okta","okta-color","oracle","oracle-color","opa","opa-color","openid","openid-color","pack","pack-color","pager-duty","pager-duty-color","rabbitmq","rabbitmq-color","saml","saml-color","service-now","service-now-color","slack","slack-color","snyk","snyk-color","splunk","splunk-color","twilio","twilio-color","twitch","twitch-color","twitter","twitter-color","twitter-x","twitter-x-color","vantage","vantage-color","venafi","venafi-color","vercel","vercel-color","vmware","vmware-color","youtube","youtube-color","boundary","boundary-color","boundary-fill","boundary-fill-color","boundary-square","boundary-square-color","consul","consul-color","consul-fill","consul-fill-color","consul-square","consul-square-color","nomad","nomad-color","nomad-fill","nomad-fill-color","nomad-square","nomad-square-color","packer","packer-color","packer-fill","packer-fill-color","packer-square","packer-square-color","terraform","terraform-color","terraform-fill","terraform-fill-color","terraform-square","terraform-square-color","vagrant","vagrant-color","vagrant-fill","vagrant-fill-color","vagrant-square","vagrant-square-color","vault","vault-color","vault-fill","vault-fill-color","vault-square","vault-square-color","vault-radar","vault-radar-color","vault-radar-fill","vault-radar-fill-color","vault-radar-square","vault-radar-square-color","vault-secrets","vault-secrets-color","vault-secrets-fill","vault-secrets-fill-color","vault-secrets-square","vault-secrets-square-color","waypoint","waypoint-color","waypoint-fill","waypoint-fill-color","waypoint-square","waypoint-square-color","hashicorp","hashicorp-color","hashicorp-fill","hashicorp-fill-color","hashicorp-square","hashicorp-square-color","hcp","hcp-color","hcp-fill","hcp-fill-color","hcp-square","hcp-square-color","arrow-down","arrow-down-circle","arrow-down-left","arrow-down-right","arrow-left","arrow-left-circle","arrow-right","arrow-right-circle","arrow-up","arrow-up-circle","arrow-up-left","arrow-up-right","caret","chevron-down","chevron-left","chevron-right","chevron-up","chevrons-down","chevrons-left","chevrons-right","chevrons-up","corner-down-left","corner-down-right","corner-left-down","corner-left-up","corner-right-down","corner-right-up","corner-up-left","corner-up-right","load-balancer","migrate","move","shuffle","swap-horizontal","swap-vertical","bank-vault","briefcase","credit-card","dollar-sign","enterprise","globe","globe-private","org","provider","shopping-bag","shopping-cart","activity","at-sign","award","bell","bell-active","bell-active-fill","bell-off","discussion-circle","discussion-square","heart","heart-fill","heart-off","mail","mail-open","message-circle","message-circle-fill","message-square","message-square-fill","mic","mic-off","newspaper","phone","phone-call","phone-off","send","star","star-circle","star-fill","star-off","thumbs-down","thumbs-up","video","video-off","bar-chart","bar-chart-alt","box","collections","database","hard-drive","line-chart","line-chart-up","logs","package","pie-chart","queue","save","trend-down","trend-up","calendar","clock","clock-filled","delay","event","history","hourglass","watch","api","auto-apply","build","change","change-circle","change-square","channel","cloud","cloud-check","cloud-download","cloud-lightning","cloud-lock","cloud-off","cloud-upload","cloud-x","code","connection","connection-gateway","cpu","duplicate","gateway","git-branch","git-commit","git-merge","git-pull-request","git-repo","hammer","key-values","mainframe","mesh","module","monitor","network","network-alt","node","path","pipeline","plug","replication-direct","replication-perf","scissors","server","server-cluster","serverless","service","settings","sliders","smartphone","socket","step","tablet","terminal","terminal-screen","test","tools","transform-data","tv","webhook","wrench","archive","clipboard","clipboard-checked","clipboard-copy","clipboard-x","file","file-change","file-check","file-diff","file-minus","file-plus","file-source","file-text","file-x","files","folder","folder-fill","folder-minus","folder-minus-fill","folder-plus","folder-plus-fill","folder-star","inbox","align-center","align-justify","align-left","align-right","battery","battery-charging","bookmark","bookmark-add","bookmark-add-fill","bookmark-fill","bookmark-remove","bookmark-remove-fill","bottom","command","crop","dashboard","delete","download","edit","entry-point","exit-point","external-link","filter","filter-circle","filter-fill","grid","grid-alt","home","jump-link","layout","link","list","maximize","maximize-alt","menu","minimize","minimize-alt","more-horizontal","more-vertical","mouse-pointer","paperclip","pen-tool","pencil-tool","pin","power","printer","reload","repeat","rotate-cw","rotate-ccw","search","share","sidebar","sidebar-hide","sidebar-show","sign-in","sign-out","slash","slash-square","sort-asc","sort-desc","switcher","sync","sync-alert","sync-reverse","tag","toggle-left","toggle-right","top","trash","type","unfold-close","unfold-open","upload","zoom-in","zoom-out","compass","crosshair","map","map-pin","navigation","navigation-alt","redirect","target","camera","camera-off","cast","closed-caption","fast-forward","film","headphones","image","music","pause","pause-circle","play","play-circle","radio","rewind","rss","skip-back","skip-forward","speaker","stop-circle","volume","volume-down","volume-2","volume-x","wifi","wifi-off","ampersand","beaker","bulb","circle","circle-dot","circle-fill","circle-half","diamond","diamond-fill","disc","dot","dot-half","droplet","flag","gift","government","handshake","hash","hexagon","hexagon-fill","labyrinth","layers","moon","octagon","outline","random","rocket","sparkle","square","square-fill","sun","triangle","triangle-fill","truck","wand","zap","zap-off","minus","minus-circle","minus-circle-fill","minus-plus","minus-plus-circle","minus-plus-square","minus-square","minus-square-fill","plus","plus-circle","plus-circle-fill","plus-square","bug","certificate","eye","eye-off","fingerprint","key","keychain","lock","lock-fill","lock-off","shield","shield-alert","shield-check","shield-off","shield-x","token","unlock","verified","wall","alert-circle","alert-circle-fill","alert-diamond","alert-diamond-fill","alert-octagon","alert-octagon-fill","alert-triangle","alert-triangle-fill","check","check-circle","check-circle-fill","check-diamond","check-diamond-fill","check-hexagon","check-hexagon-fill","check-square","check-square-fill","skip","x","x-circle","x-circle-fill","x-diamond","x-diamond-fill","x-hexagon","x-hexagon-fill","x-square","x-square-fill","docs","docs-download","docs-link","guide","guide-link","help","info","info-fill","learn","learn-link","support","accessibility","folder-users","frown","identity-service","identity-user","meh","robot","smile","user","user-check","user-circle","user-circle-fill","user-minus","user-plus","user-x","users"]
var l=r(23574)
function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=(0,r(59266).createTemplateFactory)({id:"UgipBbWS",block:'[[[11,"svg"],[16,0,[30,0,["classNames"]]],[17,1],[16,"aria-hidden",[29,[[52,[30,2],"false","true"]]]],[16,"aria-labelledby",[30,0,["ariaLabelledby"]]],[16,"data-test-icon",[30,3]],[16,"fill",[29,[[30,0,["color"]]]]],[16,1,[30,0,["iconId"]]],[16,"role",[30,0,["role"]]],[16,"width",[29,[[30,0,["svgSize","width"]]]]],[16,"height",[29,[[30,0,["svgSize","height"]]]]],[16,"viewBox",[29,["0 0 ",[30,0,["size"]]," ",[30,0,["size"]]]]],[24,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[12],[1,"\\n"],[41,[30,2],[[[1,"    "],[10,"title"],[15,1,[30,0,["titleId"]]],[12],[1,[30,2]],[13],[1,"\\n    "],[10,"g"],[14,"role","presentation"],[12],[1,"\\n      "],[10,"use"],[15,6,[29,["#flight-",[30,3],"-",[30,0,["size"]]]]],[12],[13],[1,"\\n    "],[13],[1,"\\n"]],[]],[[[1,"    "],[10,"use"],[15,6,[29,["#flight-",[30,3],"-",[30,0,["size"]]]]],[12],[13],[1,"\\n"]],[]]],[13]],["&attrs","@title","@name"],false,["if"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@hashicorp/ember-flight-icons/dist/components/flight-icon.js",isStrictMode:!1})
class h extends(i()){constructor(e,t){super(e,t),c(this,"iconId","icon-"+(0,s.guidFor)(this)),c(this,"titleId","title-"+(0,s.guidFor)(this)),this.args.name?a.includes(this.args.name)||(0,o.assert)(`The icon @name "${this.args.name}" provided to <FlightIcon> is not correct. Please verify it exists on https://helios.hashicorp.design/icons/library`):(0,o.assert)("Please provide to <FlightIcon> a value for @name")}get color(){return this.args.color??"currentColor"}get name(){return this.args.name}get size(){return this.args.size??"16"}get svgSize(){return{width:this.args.stretched?"100%":this.size,height:this.args.stretched?"100%":this.size}}get title(){return this.args.title??null}get role(){return this.args.title?"img":null}get ariaLabelledby(){return this.args.title?this.titleId:null}get classNames(){const e=["flight-icon"]
return e.push(`flight-icon-${this.name}`),(this.args.isInlineBlock??!0)&&!this.args.stretched&&e.push("flight-icon-display-inline"),"loading"===this.name?e.push("flight-icon--animation-loading"):"running"===this.name&&e.push("flight-icon--animation-running"),e.join(" ")}}(0,l.setComponentTemplate)(u,h)},41540:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>o,initialize:()=>s})
var n=r(27158),i=r.n(n)
async function s(e){if(i()?.emberFlightIcons?.lazyEmbed&&!0!==e.__flightIconsSpriteLoaded){const{default:t}=await r.e(101).then(r.t.bind(r,69101,23))
"test"===i().environment?window.document?.getElementById("ember-testing")?.insertAdjacentHTML("afterbegin",t):window.document?.body?.insertAdjacentHTML("beforeend",t),e.__flightIconsSpriteLoaded=!0}}var o={initialize:s}},95726:(e,t)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.Duration=void 0
var r=1e3,n=6e4,i=36e5,s=24*i,o=7*s,a=.001,l=1e-6,c={ns:l,us:a,"µs":a,"μs":a,ms:1,s:r,m:n,h:i,d:s,w:o},u=function(){function e(t){if(t instanceof e)this._milliseconds=t.valueOf()
else switch(typeof t){case"number":if(!isFinite(t))throw new Error("invalid duration: "+t)
this._milliseconds=t
break
case"string":this._milliseconds=e.parse(t).valueOf()
break
case"undefined":this._milliseconds=0
break
default:throw new Error("invalid duration: "+t)}}return e.microseconds=function(t){return new e(Math.floor(t/1e3))},e.milliseconds=function(t){return new e(1*t)},e.seconds=function(t){return new e(t*r)},e.minutes=function(t){return new e(t*n)},e.hours=function(t){return new e(t*i)},e.days=function(t){return new e(t*s)},e.weeks=function(t){return new e(t*o)},e.prototype.nanoseconds=function(){return Math.floor(this._milliseconds/l)},e.prototype.microseconds=function(){return Math.floor(this._milliseconds/a)},e.prototype.milliseconds=function(){return this._milliseconds},e.prototype.seconds=function(){return Math.floor(this._milliseconds/r)},e.prototype.minutes=function(){return Math.floor(this._milliseconds/n)},e.prototype.hours=function(){return Math.floor(this._milliseconds/i)},e.prototype.days=function(){return Math.floor(this._milliseconds/s)},e.prototype.weeks=function(){return Math.floor(this._milliseconds/o)},e.prototype.toString=function(){var e="",t=Math.abs(this._milliseconds),s=this._milliseconds<0?"-":""
if(0===t)return"0"
var o=Math.floor(t/i)
0!==o&&(t-=i*o,e+=o.toString()+"h")
var a=Math.floor(t/n)
0!==a&&(t-=n*a,e+=a.toString()+"m")
var l=Math.floor(t/r)
return 0!==l&&(t-=r*l,e+=l.toString()+"s"),0!==t&&(e+=t.toString()+"ms"),s+e},e.prototype.valueOf=function(){return this._milliseconds},e.prototype.abs=function(){return new e(Math.abs(this._milliseconds))},e.parse=function(t){if("0"===t||"+0"===t||"-0"===t)return new e(0)
for(var r,n=/([\-\+\d\.]+)([a-zµμ]+)/g,i=0,s=0,o="-"===t[0]?-1:1;;){var a=n.exec(t)
if(!a)break
var l=a[2]
if(r=Math.abs(parseFloat(a[1])),s++,isNaN(r))throw new Error("invalid duration")
if(void 0===c[l])throw new Error("invalid unit: "+l)
i+=r*c[l]}if(0===s)throw new Error("invalid duration")
return new e(Math.floor(i)*o)},e.valueOf=function(t){return new e(t).valueOf()},e.prototype.truncate=function(t){var r=e.valueOf(t)
return new e(r*Math.round(this._milliseconds/r))},e.prototype.isGreaterThan=function(t){return this.valueOf()>e.valueOf(t)},e.prototype.isLessThan=function(t){return this.valueOf()<e.valueOf(t)},e.prototype.isEqualTo=function(t){return this.valueOf()===e.valueOf(t)},e.prototype.after=function(e){return new Date(e.valueOf()+this._milliseconds)},e.since=function(t){return new e((new Date).valueOf()-t.valueOf())},e.until=function(t){return new e(t.valueOf()-(new Date).valueOf())},e.between=function(t,r){return new e(r.valueOf()-t.valueOf())},e.add=function(t,r){return new e(e.valueOf(t)+e.valueOf(r))},e.subtract=function(t,r){return new e(e.valueOf(t)-e.valueOf(r))},e.multiply=function(t,r){return new e(e.valueOf(t)*e.valueOf(r))},e.divide=function(t,r){return e.valueOf(t)/e.valueOf(r)},e.millisecond=new e(1),e.second=new e(r),e.minute=new e(n),e.hour=new e(i),e.day=new e(s),e.week=new e(o),e.nanoseconds=function(t){return new e(Math.floor(t/1e6))},e}()
t.Duration=u,t.default=u},36802:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>h})
var n,i,s,o=r(38099),a=r(71074),l=r(55521)
const c="[+-]?\\d+.?\\d*",u=new RegExp(`^(${c})?\\.\\.(${c})?$`)
let h=(n=class e{get isPiecewise(){return this.steps.length>2}static parse(t){if(t instanceof Array)return new e(t)
if(!u.test(t))throw new Error('Invalid string provided as numeric range. Must match the syntax "1..1", where the min and the max are both optional (e.g., "1.." is valid).')
const[r,n]=t.split(".."),i=r?parseFloat(r):void 0,s=n?parseFloat(n):void 0
return new e(i,s)}constructor(e,t){(0,o.a)(this,"min",i,this),(0,o.a)(this,"max",s,this),(0,o.b)(this,"steps",void 0),(0,o.b)(this,"__temp_duck_type_bounds",!0),e instanceof Array?0===e.length?(this.min=void 0,this.max=void 0,this.steps=[]):1===e.length?(this.min=e[0],this.max=e[0],this.steps=[e[0],e[0]]):(this.min=e[0],this.max=e[e.length-1],this.steps=e.slice()):(this.min=e,this.max=t,this.steps=null!=e&&null!=t?[e,t]:[])}get isValid(){return null!=this.min&&null!=this.max}qualify(e,t){if(this.isPiecewise)throw new Error(`Cannot qualify a piecewise Bounds. The steps of this Bounds are "${this.steps}".`)
if(null!=this.min&&null!=this.max)return this
const r="string"==typeof t?e=>e[t]:t,[n,i]=(0,a.Z)(e,r)
if("string"==typeof t&&(null==n||null==i))throw new Error(`Invalid extent for data set using field accessor "${t}". Is "${t}" defined in this dataset?`)
return null==this.min&&(this.min=n),null==this.max&&(this.max=i),this.steps=[this.min,this.max],this}copy(){return this.isPiecewise?new e(this.steps):new e(this.min,this.max)}get bounds(){if(!this.isValid)throw new Error("Bounds have not been qualified! These bounds were not constructed with both a min and a max. Use `bounds.qualify` with a dataset to fill in the missing bounds")
return this.isPiecewise?this.steps:[this.min,this.max]}},i=(0,o._)(n.prototype,"min",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,o._)(n.prototype,"max",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},69467:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>f})
var n,i=r(38099),s=r(23574),o=r(17990),a=r.n(o),l=(r(55521),r(69992)),c=r(63703),u=r(59266),h=r(38200),d=(0,u.createTemplateFactory)({id:"PmijoXv/",block:'[[[1,"\\n"],[11,"path"],[16,"d",[30,0,["d"]]],[17,1],[12],[13],[1,"\\n"],[18,2,[[28,[37,1],null,[["centroid"],[[30,0,["centroid"]]]]]]],[1,"\\n"]],["&attrs","&default"],false,["yield","hash"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@lineal-viz/lineal/dist/components/lineal/arc/index.js",isStrictMode:!1})
let p=(0,h.Z)(r(78697)).cached,f=(n=class extends(a()){get startAngle(){return(0,c.Z)(this.args.startAngle??0)}get endAngle(){return(0,c.Z)(this.args.endAngle??2*Math.PI)}get padAngle(){if(this.args.padAngle)return(0,c.Z)(this.args.padAngle)}get arc(){let e=(0,l.Z)().innerRadius(this.args.innerRadius??0).outerRadius(this.args.outerRadius??100).cornerRadius(this.args.cornerRadius??0).startAngle(this.startAngle).endAngle(this.endAngle)
return this.padAngle&&(e=e.padAngle(this.padAngle)),this.args.padRadius&&(e=e.padRadius(this.args.padRadius)),e}get d(){return this.arc()}get centroid(){const[e,t]=this.arc.centroid()
return{x:e,y:t}}},(0,i._)(n.prototype,"startAngle",[p],Object.getOwnPropertyDescriptor(n.prototype,"startAngle"),n.prototype),(0,i._)(n.prototype,"endAngle",[p],Object.getOwnPropertyDescriptor(n.prototype,"endAngle"),n.prototype),(0,i._)(n.prototype,"padAngle",[p],Object.getOwnPropertyDescriptor(n.prototype,"padAngle"),n.prototype),(0,i._)(n.prototype,"arc",[p],Object.getOwnPropertyDescriptor(n.prototype,"arc"),n.prototype),(0,i._)(n.prototype,"d",[p],Object.getOwnPropertyDescriptor(n.prototype,"d"),n.prototype),(0,i._)(n.prototype,"centroid",[p],Object.getOwnPropertyDescriptor(n.prototype,"centroid"),n.prototype),n);(0,s.setComponentTemplate)(d,f)},70102:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>y})
var n,i=r(38099),s=r(23574),o=r(17990),a=r.n(o),l=(r(55521),r(69412)),c=r(75101),u=r(23),h=r(1104),d=r(63703),p=r(59266),f=r(38200),m=(0,p.createTemplateFactory)({id:"HKkELsYP",block:'[[[1,"\\n"],[41,[48,[30,6]],[[[1,"  "],[18,6,[[30,0,["arcs"]]]],[1,"\\n"]],[]],[[[42,[28,[37,4],[[28,[37,4],[[30,0,["arcs"]]],null]],null],null,[[[1,"    "],[8,[39,5],[[16,0,[30,1,["cssClass"]]],[16,"fill",[30,1,["fill"]]],[17,2]],[["@startAngle","@endAngle","@padAngle","@innerRadius","@outerRadius","@cornerRadius"],[[30,1,["startAngle"]],[30,1,["endAngle"]],[30,1,["padAngle"]],[30,3],[30,4],[30,5]]],null],[1,"\\n"]],[1]],null]],[]]]],["arc","&attrs","@innerRadius","@outerRadius","@cornerRadius","&default"],false,["if","has-block","yield","each","-track-array","lineal/arc"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@lineal-viz/lineal/dist/components/lineal/arcs/index.js",isStrictMode:!1})
let g=(0,f.Z)(r(78697)).cached,y=(n=class extends(a()){get theta(){return new u.e(this.args.theta)}get color(){if(this.args.color)return new u.e(this.args.color)}get colorScale(){return this.args.colorScale instanceof Object?this.args.colorScale:new c.Ws({domain:Array.from(new Set(this.args.data.map(this.color?e=>this.color?.accessor(e):(e,t)=>t))),range:new h.Z(this.args.colorScale??"lineal-arcs")})}get useCSSClass(){return this.colorScale instanceof Object&&this.colorScale.range instanceof h.Z}get startAngle(){return(0,d.Z)(this.args.startAngle??0)}get endAngle(){return(0,d.Z)(this.args.endAngle??2*Math.PI)}get padAngle(){return(0,d.Z)(this.args.padAngle??0)}get arcs(){const e=(0,l.Z)().startAngle(this.startAngle).endAngle(this.endAngle).padAngle(this.padAngle).value(this.theta.accessor).sortValues(null)(this.args.data)
return e.forEach(((e,t)=>{const r=this.colorScale.compute(this.color?this.color.accessor(e.data):t)
this.useCSSClass?e.cssClass=r:e.fill=r})),e}},(0,i._)(n.prototype,"theta",[g],Object.getOwnPropertyDescriptor(n.prototype,"theta"),n.prototype),(0,i._)(n.prototype,"color",[g],Object.getOwnPropertyDescriptor(n.prototype,"color"),n.prototype),(0,i._)(n.prototype,"colorScale",[g],Object.getOwnPropertyDescriptor(n.prototype,"colorScale"),n.prototype),(0,i._)(n.prototype,"useCSSClass",[g],Object.getOwnPropertyDescriptor(n.prototype,"useCSSClass"),n.prototype),(0,i._)(n.prototype,"startAngle",[g],Object.getOwnPropertyDescriptor(n.prototype,"startAngle"),n.prototype),(0,i._)(n.prototype,"endAngle",[g],Object.getOwnPropertyDescriptor(n.prototype,"endAngle"),n.prototype),(0,i._)(n.prototype,"padAngle",[g],Object.getOwnPropertyDescriptor(n.prototype,"padAngle"),n.prototype),(0,i._)(n.prototype,"arcs",[g],Object.getOwnPropertyDescriptor(n.prototype,"arcs"),n.prototype),n);(0,s.setComponentTemplate)(m,y)},24352:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>w})
var n,i=r(38099),s=r(23574),o=r(17990),a=r.n(o),l=(r(55521),r(56702)),c=r(65203),u=r(75101),h=r(23),d=r(1104),p=r(8610),f=r(44924),m=r(84252),g=r(59266),y=r(38200),v=(0,g.createTemplateFactory)({id:"5DV7s/Du",block:'[[[1,"\\n"],[41,[30,0,["isStacked"]],[[[1,"  "],[10,"g"],[12],[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,0,["d"]]],null]],null],null,[[[1,"      "],[11,"path"],[16,"d",[30,1,["d"]]],[16,"fill",[30,1,["fill"]]],[16,0,[30,1,["cssClass"]]],[17,2],[12],[13],[1,"\\n"]],[1]],null],[1,"  "],[13],[1,"\\n"]],[]],[[[1,"  "],[11,"path"],[16,"d",[30,0,["d"]]],[17,2],[12],[13],[1,"\\n"]],[]]]],["d","&attrs"],false,["if","each","-track-array"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@lineal-viz/lineal/dist/components/lineal/area/index.js",isStrictMode:!1})
let b=(0,y.Z)(r(78697)).cached,w=(n=class extends(a()){get x(){return new h.e(this.args.x)}get y(){return new h.e(this.args.y)}get y0(){return new h.e(this.args.y0)}get color(){if(this.args.color)return new h.e(this.args.color)}get xScale(){const e=(0,f.t)(this.args.x,this.args.xScale)||new u.xb
return this.isStacked?(0,f.U)(this,e,new h.e("x"),"x",(0,c.Z)(this.data)):(0,f.U)(this,e,this.x,"x"),e}get yScale(){const e=(0,f.t)(this.args.y,this.args.yScale)||new u.xb
return this.isStacked?(0,f.U)(this,e,new h.e("y"),"y",(0,c.Z)(this.data)):(0,f.U)(this,e,this.y,"y"),e}get categories(){if(this.isStacked)return this.data.map((e=>e.key))}get isStacked(){return!!this.color||this.args.data[0]instanceof Array}get data(){return this.isStacked?this.args.data[0]instanceof Array?this.args.data:new m.ZP({x:this.args.x,y:this.args.y,z:this.args.color,data:this.args.data}).data:this.args.data}get colorScale(){const e=this.args.colorScale
if(e&&this.isStacked)return e instanceof Object?e:new u.Ws({domain:Array.from(this.categories??[]),range:new d.Z(e)})}get useCSSClass(){return this.colorScale instanceof Object&&this.colorScale.range instanceof d.Z}get curve(){return(0,p.u)(this.args.curve)}get d(){if(!this.xScale.isValid||!this.yScale.isValid)return""
if(this.isStacked){const e=(0,l.Z)().curve(this.curve).x((e=>this.xScale.compute(e.x))).y0((e=>this.yScale.compute(e.y0))).y1((e=>this.yScale.compute(e.y1)))
return this.data.map((t=>{const r={d:e(t)}
if(this.colorScale){const e=this.colorScale.compute(t.key)
this.useCSSClass?r.cssClass=e:r.fill=e}return r}))}return(0,l.Z)().curve(this.curve).defined(this.args.defined||(e=>null!=this.y.accessor(e)&&null!=this.x.accessor(e))).x((e=>this.xScale.compute(this.x.accessor(e)))).y0((e=>this.yScale.compute(this.y0.accessor(e)))).y1((e=>this.yScale.compute(this.y.accessor(e))))(this.args.data)}},(0,i._)(n.prototype,"x",[b],Object.getOwnPropertyDescriptor(n.prototype,"x"),n.prototype),(0,i._)(n.prototype,"y",[b],Object.getOwnPropertyDescriptor(n.prototype,"y"),n.prototype),(0,i._)(n.prototype,"y0",[b],Object.getOwnPropertyDescriptor(n.prototype,"y0"),n.prototype),(0,i._)(n.prototype,"color",[b],Object.getOwnPropertyDescriptor(n.prototype,"color"),n.prototype),(0,i._)(n.prototype,"xScale",[b],Object.getOwnPropertyDescriptor(n.prototype,"xScale"),n.prototype),(0,i._)(n.prototype,"yScale",[b],Object.getOwnPropertyDescriptor(n.prototype,"yScale"),n.prototype),(0,i._)(n.prototype,"categories",[b],Object.getOwnPropertyDescriptor(n.prototype,"categories"),n.prototype),(0,i._)(n.prototype,"isStacked",[b],Object.getOwnPropertyDescriptor(n.prototype,"isStacked"),n.prototype),(0,i._)(n.prototype,"data",[b],Object.getOwnPropertyDescriptor(n.prototype,"data"),n.prototype),(0,i._)(n.prototype,"colorScale",[b],Object.getOwnPropertyDescriptor(n.prototype,"colorScale"),n.prototype),(0,i._)(n.prototype,"useCSSClass",[b],Object.getOwnPropertyDescriptor(n.prototype,"useCSSClass"),n.prototype),(0,i._)(n.prototype,"curve",[b],Object.getOwnPropertyDescriptor(n.prototype,"curve"),n.prototype),(0,i._)(n.prototype,"d",[b],Object.getOwnPropertyDescriptor(n.prototype,"d"),n.prototype),n);(0,s.setComponentTemplate)(v,w)},46601:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{Direction:()=>p,Orientation:()=>h,OrientationInt:()=>d,default:()=>v})
var n,i=r(38099),s=r(23574),o=r(17990),a=r.n(o),l=(r(55521),r(59266)),c=r(38200),u=(0,l.createTemplateFactory)({id:"mpbrHmf9",block:'[[[1,"\\n"],[11,"g"],[24,0,"axis"],[17,1],[12],[1,"\\n"],[41,[30,0,["includeDomain"]],[[[1,"    "],[10,"path"],[14,0,"domain"],[14,"stroke","currentColor"],[15,"d",[30,0,["domainPath"]]],[12],[13],[1,"\\n"]],[]],null],[41,[28,[37,1],[[30,0,["direction"]],"horizontal"],null],[[[42,[28,[37,3],[[28,[37,3],[[30,0,["ticks"]]],null]],null],null,[[[1,"      "],[10,"g"],[15,"transform",[30,2,["transform"]]],[12],[1,"\\n"],[41,[48,[30,6]],[[[1,"          "],[18,6,[[30,2],[30,3]]],[1,"\\n"]],[]],[[[1,"          "],[10,"line"],[14,"stroke","currentColor"],[15,"y2",[30,2,["size"]]],[12],[13],[1,"\\n"],[41,[30,2,["label"]],[[[1,"            "],[10,"text"],[14,"fill","currentColor"],[15,"y",[30,2,["offset"]]],[15,"dy",[30,2,["textOffset"]]],[15,"text-anchor",[30,2,["textAnchor"]]],[12],[1,[30,2,["label"]]],[13],[1,"\\n"]],[]],null]],[]]],[1,"      "],[13],[1,"\\n"]],[2,3]],null]],[]],[[[42,[28,[37,3],[[28,[37,3],[[30,0,["ticks"]]],null]],null],null,[[[1,"      "],[10,"g"],[15,"transform",[30,4,["transform"]]],[12],[1,"\\n"],[41,[48,[30,6]],[[[1,"          "],[18,6,[[30,4],[30,5]]],[1,"\\n"]],[]],[[[1,"          "],[10,"line"],[14,"stroke","currentColor"],[15,"x2",[30,4,["size"]]],[12],[13],[1,"\\n"],[41,[30,4,["label"]],[[[1,"            "],[10,"text"],[14,"fill","currentColor"],[15,"x",[30,4,["offset"]]],[15,"dy",[30,4,["textOffset"]]],[15,"text-anchor",[30,4,["textAnchor"]]],[12],[1,[30,4,["label"]]],[13],[1,"\\n"]],[]],null]],[]]],[1,"      "],[13],[1,"\\n"]],[4,5]],null]],[]]],[13],[1,"\\n"]],["&attrs","tick","index","tick","index","&default"],false,["if","eq","each","-track-array","has-block","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@lineal-viz/lineal/dist/components/lineal/axis/index.js",isStrictMode:!1})
let h,d,p,f=(0,c.Z)(r(78697)).cached
!function(e){e.Top="top",e.Right="right",e.Bottom="bottom",e.Left="left"}(h||(h={})),function(e){e[e.Top=1]="Top",e[e.Right=2]="Right",e[e.Bottom=3]="Bottom",e[e.Left=4]="Left"}(d||(d={})),function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(p||(p={}))
const m="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,g={[d.Top]:"0em",[d.Right]:"0.32em",[d.Bottom]:"0.71em",[d.Left]:"0.32em"},y={[d.Top]:"middle",[d.Right]:"start",[d.Bottom]:"middle",[d.Left]:"end"}
let v=(n=class extends(a()){get tickCount(){return this.args.tickCount??null}get tickValues(){return this.args.tickValues??null}get tickFormat(){return this.args.tickFormat??null}get tickSizeInner(){return this.args.tickSizeInner??this.args.tickSize??6}get tickSizeOuter(){return this.args.tickSizeOuter??this.args.tickSize??6}get tickPadding(){return this.args.tickPadding??3}get offset(){return this.args.offset??m}get includeDomain(){return this.args.includeDomain??!0}get orientation(){return{[h.Top]:d.Top,[h.Right]:d.Right,[h.Bottom]:d.Bottom,[h.Left]:d.Left}[this.args.orientation]}get direction(){return this.orientation===d.Left||this.orientation===d.Right?p.Vertical:p.Horizontal}get position(){const e=this.args.scale.d3Scale.copy()
if(e.bandwidth){let t=Math.max(0,e.bandwidth()-2*this.offset)/2
return e.round()&&(t=Math.round(t)),r=>+e(r)+t}return t=>+e(t)}get k(){const e=this.orientation
return e===d.Top||e===d.Left?-1:1}get domainPath(){const{tickSizeOuter:e,offset:t,k:r}=this,n=this.args.scale.d3Scale.range(),i=n[0]+t,s=n[n.length-1]+t
return this.direction===p.Vertical?0!==e?`M${r*e},${i}H${t}V${s}H${r*e}`:`M${t},${i}V${s}`:0!==e?`M${i},${r*e}V${t}H${s}V${r*e}`:`M${i},${t}H${s}`}get values(){if(this.tickValues)return this.tickValues
const e=this.args.scale?.d3Scale
return e?.ticks?null!=this.tickCount?e.ticks(this.tickCount):e.ticks():e?.domain()}get format(){return this.tickFormat?this.tickFormat:this.args.scale.d3Scale.tickFormat?this.args.scale.d3Scale.tickFormat():e=>e}get spacing(){return Math.max(this.tickSizeInner,0)+this.tickPadding}get ticks(){const{k:e,format:t,spacing:r,tickSizeInner:n,offset:i,position:s,direction:o,orientation:a}=this
return this.values.map((l=>({transform:o===p.Horizontal?`translate(${s(l)+i},0)`:`translate(0,${s(l)+i})`,size:e*n,offset:e*r,textOffset:g[a],label:t(l),textAnchor:y[a],value:l})))}},(0,i._)(n.prototype,"tickCount",[f],Object.getOwnPropertyDescriptor(n.prototype,"tickCount"),n.prototype),(0,i._)(n.prototype,"tickValues",[f],Object.getOwnPropertyDescriptor(n.prototype,"tickValues"),n.prototype),(0,i._)(n.prototype,"tickFormat",[f],Object.getOwnPropertyDescriptor(n.prototype,"tickFormat"),n.prototype),(0,i._)(n.prototype,"tickSizeInner",[f],Object.getOwnPropertyDescriptor(n.prototype,"tickSizeInner"),n.prototype),(0,i._)(n.prototype,"tickSizeOuter",[f],Object.getOwnPropertyDescriptor(n.prototype,"tickSizeOuter"),n.prototype),(0,i._)(n.prototype,"tickPadding",[f],Object.getOwnPropertyDescriptor(n.prototype,"tickPadding"),n.prototype),(0,i._)(n.prototype,"offset",[f],Object.getOwnPropertyDescriptor(n.prototype,"offset"),n.prototype),(0,i._)(n.prototype,"orientation",[f],Object.getOwnPropertyDescriptor(n.prototype,"orientation"),n.prototype),(0,i._)(n.prototype,"direction",[f],Object.getOwnPropertyDescriptor(n.prototype,"direction"),n.prototype),(0,i._)(n.prototype,"position",[f],Object.getOwnPropertyDescriptor(n.prototype,"position"),n.prototype),(0,i._)(n.prototype,"k",[f],Object.getOwnPropertyDescriptor(n.prototype,"k"),n.prototype),(0,i._)(n.prototype,"domainPath",[f],Object.getOwnPropertyDescriptor(n.prototype,"domainPath"),n.prototype),(0,i._)(n.prototype,"values",[f],Object.getOwnPropertyDescriptor(n.prototype,"values"),n.prototype),(0,i._)(n.prototype,"format",[f],Object.getOwnPropertyDescriptor(n.prototype,"format"),n.prototype),(0,i._)(n.prototype,"spacing",[f],Object.getOwnPropertyDescriptor(n.prototype,"spacing"),n.prototype),(0,i._)(n.prototype,"ticks",[f],Object.getOwnPropertyDescriptor(n.prototype,"ticks"),n.prototype),n);(0,s.setComponentTemplate)(u,v)},99469:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>y})
var n,i=r(38099),s=r(23574),o=r(17990),a=r.n(o),l=(r(55521),r(23)),c=r(75101),u=r(44924),h=r(48007),d=r(7111),p=r(59266),f=r(38200),m=(0,p.createTemplateFactory)({id:"9SZ/H13M",block:'[[[42,[28,[37,1],[[28,[37,1],[[30,0,["bars"]]],null]],null],null,[[[41,[30,1,["d"]],[[[1,"    "],[11,"path"],[16,"d",[30,1,["d"]]],[17,2],[12],[13],[1,"\\n"]],[]],[[[1,"    "],[11,"rect"],[16,"x",[30,1,["x"]]],[16,"y",[30,1,["y"]]],[16,"width",[30,1,["width"]]],[16,"height",[30,1,["height"]]],[17,2],[12],[13],[1,"\\n"]],[]]]],[1]],null]],["b","&attrs"],false,["each","-track-array","if"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@lineal-viz/lineal/dist/components/lineal/bars/index.js",isStrictMode:!1})
let g=(0,f.Z)(r(78697)).cached,y=(n=class extends(a()){get x(){return new l.e(this.args.x)}get y(){return new l.e(this.args.y)}get width(){return new l.e(this.args.width)}get height(){return new l.e(this.args.height)}get xScale(){const e=(0,u.t)(this.args.x,this.args.xScale)||new c.xb
return(0,u.U)(this,e,this.x,"x"),e}get yScale(){const e=(0,u.t)(this.args.y,this.args.yScale)||new c.xb
return(0,u.U)(this,e,this.y,"y"),e}get widthScale(){const e=(0,u.t)(this.args.width,this.args.widthScale)||new c.xb
return(0,u.U)(this,e,this.width,"width"),e}get heightScale(){const e=(0,u.t)(this.args.height,this.args.heightScale)||new c.xb
return(0,u.U)(this,e,this.height,"height"),e}get borderRadius(){if(this.args.borderRadius)return(0,h.W)(this.args.borderRadius)}get bars(){if(!(this.xScale.isValid&&this.yScale.isValid&&this.widthScale.isValid&&this.heightScale.isValid))return[]
const e=this.args.data.map((e=>({x:this.xScale.compute(this.x.accessor(e)),y:this.yScale.compute(this.y.accessor(e)),width:this.widthScale.compute(this.width.accessor(e)),height:this.heightScale.compute(this.height.accessor(e)),datum:e}))),t=this.borderRadius
if(t){const r={topLeft:t.top,topRight:t.right,bottomRight:t.bottom,bottomLeft:t.left}
e.forEach((e=>{e.d=(0,d.N)(e,r,!0)}))}return e}},(0,i._)(n.prototype,"x",[g],Object.getOwnPropertyDescriptor(n.prototype,"x"),n.prototype),(0,i._)(n.prototype,"y",[g],Object.getOwnPropertyDescriptor(n.prototype,"y"),n.prototype),(0,i._)(n.prototype,"width",[g],Object.getOwnPropertyDescriptor(n.prototype,"width"),n.prototype),(0,i._)(n.prototype,"height",[g],Object.getOwnPropertyDescriptor(n.prototype,"height"),n.prototype),(0,i._)(n.prototype,"xScale",[g],Object.getOwnPropertyDescriptor(n.prototype,"xScale"),n.prototype),(0,i._)(n.prototype,"yScale",[g],Object.getOwnPropertyDescriptor(n.prototype,"yScale"),n.prototype),(0,i._)(n.prototype,"widthScale",[g],Object.getOwnPropertyDescriptor(n.prototype,"widthScale"),n.prototype),(0,i._)(n.prototype,"heightScale",[g],Object.getOwnPropertyDescriptor(n.prototype,"heightScale"),n.prototype),(0,i._)(n.prototype,"borderRadius",[g],Object.getOwnPropertyDescriptor(n.prototype,"borderRadius"),n.prototype),(0,i._)(n.prototype,"bars",[g],Object.getOwnPropertyDescriptor(n.prototype,"bars"),n.prototype),n);(0,s.setComponentTemplate)(m,y)},23573:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>f})
var n,i,s,o,a=r(38099),l=r(23574),c=r(17990),u=r.n(c),h=r(55521),d=r(37219),p=(0,r(59266).createTemplateFactory)({id:"jd5xNijs",block:'[[[1,"\\n"],[11,0],[24,0,"lineal-fluid"],[17,1],[4,[38,0],[[30,0,["onResize"]]],null],[12],[1,"\\n  "],[18,2,[[30,0,["width"]],[30,0,["height"]],[30,0,["entry"]]]],[1,"\\n"],[13],[1,"\\n"]],["&attrs","&default"],false,["did-resize","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@lineal-viz/lineal/dist/components/lineal/fluid/index.js",isStrictMode:!1})
let f=(n=class extends(u()){constructor(...e){super(...e),(0,a.a)(this,"width",i,this),(0,a.a)(this,"height",s,this),(0,a.a)(this,"entry",o,this)}onResize(e){this.width=e.contentRect.width,this.height=e.contentRect.height,this.entry=e}},i=(0,a._)(n.prototype,"width",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),s=(0,a._)(n.prototype,"height",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),o=(0,a._)(n.prototype,"entry",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a._)(n.prototype,"onResize",[d.action],Object.getOwnPropertyDescriptor(n.prototype,"onResize"),n.prototype),n);(0,l.setComponentTemplate)(p,f)},78808:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{Direction:()=>h,default:()=>f})
var n,i=r(38099),s=r(23574),o=r(17990),a=r.n(o),l=(r(55521),r(59266)),c=r(38200),u=(0,l.createTemplateFactory)({id:"Zs6fsJZb",block:'[[[1,"\\n"],[10,"g"],[14,0,"gridlines"],[12],[1,"\\n"],[42,[28,[37,1],[[28,[37,1],[[30,0,["lines"]]],null]],null],null,[[[1,"    "],[11,"line"],[24,"stroke","currentColor"],[16,"x1",[30,1,["x1"]]],[16,"x2",[30,1,["x2"]]],[16,"y1",[30,1,["y1"]]],[16,"y2",[30,1,["y2"]]],[17,2],[12],[13],[1,"\\n"]],[1]],null],[13],[1,"\\n"]],["l","&attrs"],false,["each","-track-array"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@lineal-viz/lineal/dist/components/lineal/gridlines/index.js",isStrictMode:!1})
let h,d=(0,c.Z)(r(78697)).cached
!function(e){e.Vertical="vertical",e.Horizontal="horizontal"}(h||(h={}))
const p="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5
let f=(n=class extends(a()){get lineValues(){return this.args.lineValues??null}get lineCount(){return this.args.lineCount??null}get offset(){return this.args.offset??p}get values(){if(this.lineValues)return this.lineValues
const e=this.args.scale?.d3Scale
return e?.ticks?null!=this.lineCount?e.ticks(this.lineCount):e.ticks():e?.domain()}get position(){const e=this.args.scale.d3Scale.copy()
if(e.bandwidth){let t=Math.max(0,e.bandwidth()-2*this.offset)/2
return e.round()&&(t=Math.round(t)),r=>+e(r)+t}return t=>+e(t)}get lines(){const{length:e,direction:t}=this.args,{offset:r,position:n}=this,i=t===h.Horizontal
return this.values.map((t=>({x1:i?0:n(t)+r,x2:i?e:n(t)+r,y1:i?n(t)+r:0,y2:i?n(t)+r:e})))}},(0,i._)(n.prototype,"lineValues",[d],Object.getOwnPropertyDescriptor(n.prototype,"lineValues"),n.prototype),(0,i._)(n.prototype,"lineCount",[d],Object.getOwnPropertyDescriptor(n.prototype,"lineCount"),n.prototype),(0,i._)(n.prototype,"offset",[d],Object.getOwnPropertyDescriptor(n.prototype,"offset"),n.prototype),(0,i._)(n.prototype,"values",[d],Object.getOwnPropertyDescriptor(n.prototype,"values"),n.prototype),(0,i._)(n.prototype,"position",[d],Object.getOwnPropertyDescriptor(n.prototype,"position"),n.prototype),(0,i._)(n.prototype,"lines",[d],Object.getOwnPropertyDescriptor(n.prototype,"lines"),n.prototype),n);(0,s.setComponentTemplate)(u,f)},65757:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>w})
var n,i=r(38099),s=r(23574),o=r(17990),a=r.n(o),l=(r(55521),r(65203)),c=r(23),u=r(75101),h=r(1104),d=r(44924),p=r(48007),f=r(7111),m=r(84252),g=r(59266),y=r(38200),v=(0,g.createTemplateFactory)({id:"TV1S5p1a",block:'[[[41,[30,0,["isStacked"]],[[[1,"  "],[10,"g"],[12],[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,0,["bars"]]],null]],null],null,[[[1,"      "],[10,"g"],[12],[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,1,["bars"]]],null]],null],null,[[[41,[30,2,["d"]],[[[1,"            "],[11,"path"],[16,"d",[30,2,["d"]]],[16,"fill",[30,1,["fill"]]],[16,0,[30,1,["cssClass"]]],[17,3],[12],[13],[1,"\\n"]],[]],[[[1,"            "],[11,"rect"],[16,"x",[30,2,["x"]]],[16,"y",[30,2,["y"]]],[16,"width",[30,2,["width"]]],[16,"height",[30,2,["height"]]],[16,"fill",[30,1,["fill"]]],[16,0,[30,1,["cssClass"]]],[17,3],[12],[13],[1,"\\n"]],[]]]],[2]],null],[1,"      "],[13],[1,"\\n"]],[1]],null],[1,"  "],[13],[1,"\\n"]],[]],[[[1,"  "],[10,"g"],[12],[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,0,["bars"]]],null]],null],null,[[[41,[30,4,["d"]],[[[1,"        "],[11,"path"],[16,"d",[30,4,["d"]]],[17,3],[12],[13],[1,"\\n"]],[]],[[[1,"        "],[11,"rect"],[16,"x",[30,4,["x"]]],[16,"y",[30,4,["y"]]],[16,"width",[30,4,["width"]]],[16,"height",[30,4,["height"]]],[17,3],[12],[13],[1,"\\n"]],[]]]],[4]],null],[1,"  "],[13],[1,"\\n"]],[]]]],["series","b","&attrs","b"],false,["if","each","-track-array"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@lineal-viz/lineal/dist/components/lineal/h-bars/index.js",isStrictMode:!1})
let b=(0,y.Z)(r(78697)).cached,w=(n=class extends(a()){get x(){return new c.e(this.args.x)}get x0(){return new c.e(this.args.x0)}get y(){return new c.e(this.args.y)}get height(){return new c.e(this.args.height)}get color(){if(this.args.color)return new c.e(this.args.color)}get xScale(){const e=(0,d.t)(this.args.x,this.args.xScale)||new u.xb
if(this.isStacked){const t=(0,l.Z)(this.data).map((e=>[e.x,e.x0])).flat();(0,d.U)(this,e,new c.e((e=>e)),"x",t)}else(0,d.U)(this,e,this.x,"x")
return e}get yScale(){const e=(0,d.t)(this.args.y,this.args.yScale)||new u.xb
return this.isStacked?(0,d.U)(this,e,new c.e("y"),"y",(0,l.Z)(this.data)):(0,d.U)(this,e,this.y,"y"),e}get heightScale(){const e=(0,d.t)(this.args.height,this.args.heightScale)||new u.xb
return(0,d.U)(this,e,this.height,"height"),e}get isStacked(){return!!this.color||this.args.data[0]instanceof Array}get categories(){if(this.isStacked)return this.data.map((e=>e.key))}get data(){return this.isStacked?this.args.data[0]instanceof Array?this.args.data:new m.ZP({x:this.args.x,y:this.args.y,z:this.args.color,data:this.args.data,direction:"horizontal"}).data:this.args.data}get colorScale(){const e=this.args.colorScale
if(e&&this.isStacked)return e instanceof Object?e:new u.Ws({domain:Array.from(this.categories??[]),range:new h.Z(e)})}get useCSSClass(){return this.colorScale instanceof Object&&this.colorScale.range instanceof h.Z}get borderRadius(){if(this.args.borderRadius)return(0,p.W)(this.args.borderRadius)}get bars(){if(!this.xScale.isValid||!this.yScale.isValid||!this.heightScale.isValid)return[]
const e=this.borderRadius
if(this.isStacked)return this.data.map((t=>{const r=t.visualOrder,n={bars:t.map((e=>({x:this.xScale.compute(e.x0),y:this.yScale.compute(e.y),width:this.xScale.compute(e.x)-this.xScale.compute(e.x0),height:this.heightScale.compute(this.height.accessor(e)),datum:e})))}
if(e&&(0===r||r===this.data.length-1)){const t={topLeft:e.top,topRight:e.right,bottomRight:e.bottom,bottomLeft:e.left}
this.data.length>1&&Object.assign(t,0===r?{topRight:0,bottomRight:0}:{topLeft:0,bottomLeft:0}),n.bars.forEach((e=>{e.d=(0,f.N)(e,t,!0)}))}if(this.colorScale){const e=this.colorScale.compute(t.key)
this.useCSSClass?n.cssClass=e:n.fill=e}return n}))
{const t=this.args.data.map((e=>({x:this.xScale.compute(this.x.accessor(e)),y:this.yScale.compute(this.y.accessor(e)),height:this.heightScale.compute(this.height.accessor(e)),width:this.xScale.compute(this.x.accessor(e))-this.xScale.compute(this.x0.accessor(e)),datum:e})))
if(e){const r={topLeft:e.top,topRight:e.right,bottomRight:e.bottom,bottomLeft:e.left}
t.forEach((e=>{e.d=(0,f.N)(e,r,!0)}))}return t}}},(0,i._)(n.prototype,"x",[b],Object.getOwnPropertyDescriptor(n.prototype,"x"),n.prototype),(0,i._)(n.prototype,"x0",[b],Object.getOwnPropertyDescriptor(n.prototype,"x0"),n.prototype),(0,i._)(n.prototype,"y",[b],Object.getOwnPropertyDescriptor(n.prototype,"y"),n.prototype),(0,i._)(n.prototype,"height",[b],Object.getOwnPropertyDescriptor(n.prototype,"height"),n.prototype),(0,i._)(n.prototype,"color",[b],Object.getOwnPropertyDescriptor(n.prototype,"color"),n.prototype),(0,i._)(n.prototype,"xScale",[b],Object.getOwnPropertyDescriptor(n.prototype,"xScale"),n.prototype),(0,i._)(n.prototype,"yScale",[b],Object.getOwnPropertyDescriptor(n.prototype,"yScale"),n.prototype),(0,i._)(n.prototype,"heightScale",[b],Object.getOwnPropertyDescriptor(n.prototype,"heightScale"),n.prototype),(0,i._)(n.prototype,"isStacked",[b],Object.getOwnPropertyDescriptor(n.prototype,"isStacked"),n.prototype),(0,i._)(n.prototype,"categories",[b],Object.getOwnPropertyDescriptor(n.prototype,"categories"),n.prototype),(0,i._)(n.prototype,"data",[b],Object.getOwnPropertyDescriptor(n.prototype,"data"),n.prototype),(0,i._)(n.prototype,"colorScale",[b],Object.getOwnPropertyDescriptor(n.prototype,"colorScale"),n.prototype),(0,i._)(n.prototype,"useCSSClass",[b],Object.getOwnPropertyDescriptor(n.prototype,"useCSSClass"),n.prototype),(0,i._)(n.prototype,"borderRadius",[b],Object.getOwnPropertyDescriptor(n.prototype,"borderRadius"),n.prototype),(0,i._)(n.prototype,"bars",[b],Object.getOwnPropertyDescriptor(n.prototype,"bars"),n.prototype),n);(0,s.setComponentTemplate)(v,w)},45076:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>y})
var n,i=r(38099),s=r(23574),o=r(17990),a=r.n(o),l=(r(55521),r(78268)),c=r(75101),u=r(23),h=r(8610),d=r(44924),p=r(59266),f=r(38200),m=(0,p.createTemplateFactory)({id:"H4OH+rJr",block:'[[[1,"\\n"],[11,"path"],[16,"d",[30,0,["d"]]],[17,1],[12],[13],[1,"\\n"]],["&attrs"],false,[]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@lineal-viz/lineal/dist/components/lineal/line/index.js",isStrictMode:!1})
let g=(0,f.Z)(r(78697)).cached,y=(n=class extends(a()){get x(){return new u.e(this.args.x)}get y(){return new u.e(this.args.y)}get xScale(){const e=(0,d.t)(this.args.x,this.args.xScale)||new c.xb
return(0,d.U)(this,e,this.x,"x"),e}get yScale(){const e=(0,d.t)(this.args.y,this.args.yScale)||new c.xb
return(0,d.U)(this,e,this.y,"y"),e}get curve(){return(0,h.u)(this.args.curve)}get d(){return this.xScale.isValid&&this.yScale.isValid?(0,l.Z)().curve(this.curve).defined(this.args.defined||(e=>null!=this.y.accessor(e)&&null!=this.x.accessor(e))).x((e=>this.xScale.compute(this.x.accessor(e)))).y((e=>this.yScale.compute(this.y.accessor(e))))(this.args.data):""}},(0,i._)(n.prototype,"x",[g],Object.getOwnPropertyDescriptor(n.prototype,"x"),n.prototype),(0,i._)(n.prototype,"y",[g],Object.getOwnPropertyDescriptor(n.prototype,"y"),n.prototype),(0,i._)(n.prototype,"xScale",[g],Object.getOwnPropertyDescriptor(n.prototype,"xScale"),n.prototype),(0,i._)(n.prototype,"yScale",[g],Object.getOwnPropertyDescriptor(n.prototype,"yScale"),n.prototype),(0,i._)(n.prototype,"curve",[g],Object.getOwnPropertyDescriptor(n.prototype,"curve"),n.prototype),(0,i._)(n.prototype,"d",[g],Object.getOwnPropertyDescriptor(n.prototype,"d"),n.prototype),n);(0,s.setComponentTemplate)(m,y)},24386:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>g})
var n,i=r(38099),s=r(23574),o=r(17990),a=r.n(o),l=(r(55521),r(23)),c=r(75101),u=r(1104),h=r(44924),d=r(59266),p=r(38200),f=(0,d.createTemplateFactory)({id:"RjAuWshy",block:'[[[1,"\\n"],[41,[28,[37,1],[[30,1],[28,[37,2],[[48,[30,4]]],null]],null],[[[42,[28,[37,5],[[28,[37,5],[[30,0,["points"]]],null]],null],null,[[[1,"    "],[11,"circle"],[16,"cx",[30,2,["x"]]],[16,"cy",[30,2,["y"]]],[16,"r",[30,2,["size"]]],[16,"fill",[30,2,["fill"]]],[16,0,[30,2,["cssClass"]]],[17,3],[12],[13],[1,"\\n"]],[2]],null]],[]],null],[41,[48,[30,4]],[[[1,"  "],[18,4,[[30,0,["points"]]]],[1,"\\n"]],[]],null]],["@renderCircles","p","&attrs","&default"],false,["if","or","not","has-block","each","-track-array","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@lineal-viz/lineal/dist/components/lineal/points/index.js",isStrictMode:!1})
let m=(0,p.Z)(r(78697)).cached,g=(n=class extends(a()){get x(){return new l.e(this.args.x)}get y(){return new l.e(this.args.y)}get size(){return new l.e(this.args.size)}get color(){return new l.e(this.args.color)}get xScale(){const e=(0,h.t)(this.args.x,this.args.xScale)||new c.xb
return(0,h.U)(this,e,this.x,"x"),e}get yScale(){const e=(0,h.t)(this.args.y,this.args.yScale)||new c.xb
return(0,h.U)(this,e,this.y,"y"),e}get sizeScale(){const e=(0,h.t)(this.args.size,this.args.sizeScale)||new c.KS
return(0,h.U)(this,e,this.size,"size"),e}get colorScale(){const e=this.args.colorScale
if(e&&this.color)return e instanceof Object?e:new c.Ws({domain:Array.from(new Set(this.args.data.map((e=>this.color?.accessor(e))))),range:new u.Z(e)})}get useCSSClass(){return this.colorScale instanceof Object&&this.colorScale.range instanceof u.Z}get points(){return this.xScale.isValid&&this.yScale.isValid&&this.sizeScale.isValid?this.args.data.map((e=>{const t={x:this.xScale.compute(this.x.accessor(e)),y:this.yScale.compute(this.y.accessor(e)),size:this.sizeScale.compute(this.size.accessor(e)),datum:e}
if(this.colorScale){const r=this.colorScale.compute(this.color.accessor(e))
this.useCSSClass?t.cssClass=r:t.fill=r}return t})):[]}},(0,i._)(n.prototype,"x",[m],Object.getOwnPropertyDescriptor(n.prototype,"x"),n.prototype),(0,i._)(n.prototype,"y",[m],Object.getOwnPropertyDescriptor(n.prototype,"y"),n.prototype),(0,i._)(n.prototype,"size",[m],Object.getOwnPropertyDescriptor(n.prototype,"size"),n.prototype),(0,i._)(n.prototype,"color",[m],Object.getOwnPropertyDescriptor(n.prototype,"color"),n.prototype),(0,i._)(n.prototype,"xScale",[m],Object.getOwnPropertyDescriptor(n.prototype,"xScale"),n.prototype),(0,i._)(n.prototype,"yScale",[m],Object.getOwnPropertyDescriptor(n.prototype,"yScale"),n.prototype),(0,i._)(n.prototype,"sizeScale",[m],Object.getOwnPropertyDescriptor(n.prototype,"sizeScale"),n.prototype),(0,i._)(n.prototype,"colorScale",[m],Object.getOwnPropertyDescriptor(n.prototype,"colorScale"),n.prototype),(0,i._)(n.prototype,"useCSSClass",[m],Object.getOwnPropertyDescriptor(n.prototype,"useCSSClass"),n.prototype),(0,i._)(n.prototype,"points",[m],Object.getOwnPropertyDescriptor(n.prototype,"points"),n.prototype),n);(0,s.setComponentTemplate)(f,g)},5215:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>w})
var n,i=r(38099),s=r(23574),o=r(17990),a=r.n(o),l=(r(55521),r(65203)),c=r(23),u=r(75101),h=r(1104),d=r(44924),p=r(48007),f=r(7111),m=r(84252),g=r(59266),y=r(38200),v=(0,g.createTemplateFactory)({id:"fn0ghiNF",block:'[[[41,[30,0,["isStacked"]],[[[1,"  "],[10,"g"],[12],[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,0,["bars"]]],null]],null],null,[[[1,"      "],[10,"g"],[12],[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,1,["bars"]]],null]],null],null,[[[41,[30,2,["d"]],[[[1,"            "],[11,"path"],[16,"d",[30,2,["d"]]],[16,"fill",[30,1,["fill"]]],[16,0,[30,1,["cssClass"]]],[17,3],[12],[13],[1,"\\n"]],[]],[[[1,"            "],[11,"rect"],[16,"x",[30,2,["x"]]],[16,"y",[30,2,["y"]]],[16,"width",[30,2,["width"]]],[16,"height",[30,2,["height"]]],[16,"fill",[30,1,["fill"]]],[16,0,[30,1,["cssClass"]]],[17,3],[12],[13],[1,"\\n"]],[]]]],[2]],null],[1,"      "],[13],[1,"\\n"]],[1]],null],[1,"  "],[13],[1,"\\n"]],[]],[[[1,"  "],[10,"g"],[12],[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,0,["bars"]]],null]],null],null,[[[41,[30,4,["d"]],[[[1,"        "],[11,"path"],[16,"d",[30,4,["d"]]],[17,3],[12],[13],[1,"\\n"]],[]],[[[1,"        "],[11,"rect"],[16,"x",[30,4,["x"]]],[16,"y",[30,4,["y"]]],[16,"width",[30,4,["width"]]],[16,"height",[30,4,["height"]]],[17,3],[12],[13],[1,"\\n"]],[]]]],[4]],null],[1,"  "],[13],[1,"\\n"]],[]]]],["series","b","&attrs","b"],false,["if","each","-track-array"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/@lineal-viz/lineal/dist/components/lineal/v-bars/index.js",isStrictMode:!1})
let b=(0,y.Z)(r(78697)).cached,w=(n=class extends(a()){get x(){return new c.e(this.args.x)}get y(){return new c.e(this.args.y)}get y0(){return new c.e(this.args.y0)}get width(){return new c.e(this.args.width)}get color(){if(this.args.color)return new c.e(this.args.color)}get xScale(){const e=(0,d.t)(this.args.x,this.args.xScale)||new u.xb
return this.isStacked?(0,d.U)(this,e,new c.e("x"),"x",(0,l.Z)(this.data)):(0,d.U)(this,e,this.x,"x"),e}get yScale(){const e=(0,d.t)(this.args.y,this.args.yScale)||new u.xb
return this.isStacked?(0,d.U)(this,e,new c.e("y"),"y",(0,l.Z)(this.data)):(0,d.U)(this,e,this.y,"y"),e}get widthScale(){const e=(0,d.t)(this.args.width,this.args.widthScale)||new u.xb
return(0,d.U)(this,e,this.width,"width"),e}get isStacked(){return!!this.color||this.args.data[0]instanceof Array}get categories(){if(this.isStacked)return this.data.map((e=>e.key))}get data(){return this.isStacked?this.args.data[0]instanceof Array?this.args.data:new m.ZP({x:this.args.x,y:this.args.y,z:this.args.color,data:this.args.data}).data:this.args.data}get colorScale(){const e=this.args.colorScale
if(e&&this.isStacked)return e instanceof Object?e:new u.Ws({domain:Array.from(this.categories??[]),range:new h.Z(e)})}get useCSSClass(){return this.colorScale instanceof Object&&this.colorScale.range instanceof h.Z}get borderRadius(){if(this.args.borderRadius)return(0,p.W)(this.args.borderRadius)}get bars(){if(!this.xScale.isValid||!this.yScale.isValid||!this.widthScale.isValid)return[]
const e=this.borderRadius
if(this.isStacked)return this.data.map((t=>{const r=t.visualOrder,n={bars:t.map((e=>({x:this.xScale.compute(e.x),y:this.yScale.compute(e.y),width:this.widthScale.compute(this.width.accessor(e)),height:this.yScale.compute(e.y0)-this.yScale.compute(e.y),datum:e})))}
if(e&&(0===r||r===this.data.length-1)){const t={topLeft:e.top,topRight:e.right,bottomRight:e.bottom,bottomLeft:e.left}
this.data.length>1&&Object.assign(t,0===r?{topLeft:0,topRight:0}:{bottomLeft:0,bottomRight:0}),n.bars.forEach((e=>{e.d=(0,f.N)(e,t,!0)}))}if(this.colorScale){const e=this.colorScale.compute(t.key)
this.useCSSClass?n.cssClass=e:n.fill=e}return n}))
{const t=this.args.data.map((e=>({x:this.xScale.compute(this.x.accessor(e)),y:this.yScale.compute(this.y.accessor(e)),width:this.widthScale.compute(this.width.accessor(e)),height:this.yScale.compute(this.y0.accessor(e))-this.yScale.compute(this.y.accessor(e)),datum:e})))
if(e){const r={topLeft:e.top,topRight:e.right,bottomRight:e.bottom,bottomLeft:e.left}
t.forEach((e=>{e.d=(0,f.N)(e,r,!0)}))}return t}}},(0,i._)(n.prototype,"x",[b],Object.getOwnPropertyDescriptor(n.prototype,"x"),n.prototype),(0,i._)(n.prototype,"y",[b],Object.getOwnPropertyDescriptor(n.prototype,"y"),n.prototype),(0,i._)(n.prototype,"y0",[b],Object.getOwnPropertyDescriptor(n.prototype,"y0"),n.prototype),(0,i._)(n.prototype,"width",[b],Object.getOwnPropertyDescriptor(n.prototype,"width"),n.prototype),(0,i._)(n.prototype,"color",[b],Object.getOwnPropertyDescriptor(n.prototype,"color"),n.prototype),(0,i._)(n.prototype,"xScale",[b],Object.getOwnPropertyDescriptor(n.prototype,"xScale"),n.prototype),(0,i._)(n.prototype,"yScale",[b],Object.getOwnPropertyDescriptor(n.prototype,"yScale"),n.prototype),(0,i._)(n.prototype,"widthScale",[b],Object.getOwnPropertyDescriptor(n.prototype,"widthScale"),n.prototype),(0,i._)(n.prototype,"isStacked",[b],Object.getOwnPropertyDescriptor(n.prototype,"isStacked"),n.prototype),(0,i._)(n.prototype,"categories",[b],Object.getOwnPropertyDescriptor(n.prototype,"categories"),n.prototype),(0,i._)(n.prototype,"data",[b],Object.getOwnPropertyDescriptor(n.prototype,"data"),n.prototype),(0,i._)(n.prototype,"colorScale",[b],Object.getOwnPropertyDescriptor(n.prototype,"colorScale"),n.prototype),(0,i._)(n.prototype,"useCSSClass",[b],Object.getOwnPropertyDescriptor(n.prototype,"useCSSClass"),n.prototype),(0,i._)(n.prototype,"borderRadius",[b],Object.getOwnPropertyDescriptor(n.prototype,"borderRadius"),n.prototype),(0,i._)(n.prototype,"bars",[b],Object.getOwnPropertyDescriptor(n.prototype,"bars"),n.prototype),n);(0,s.setComponentTemplate)(v,w)},1104:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(38099)
class i{constructor(e){(0,n.b)(this,"name",void 0),this.name=e}spread(e){const t=[]
for(let r=1;r<e+1;r++)t.push(`${this.name} ${this.name}-${r} ${this.name}-${e}-${r}`)
return t}copy(){return new i(this.name)}}},23:(e,t,r)=>{"use strict"
r.d(t,{e:()=>i})
var n=r(38099)
class i{constructor(e){(0,n.b)(this,"field",void 0),(0,n.b)(this,"accessor",void 0),"string"==typeof e?(this.field=e,this.accessor=t=>t[e]):this.accessor="number"==typeof e?()=>e:e}}},56868:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(1104),s=(0,n.helper)((([e])=>new i.Z(e)))},77162:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.tO(t)))},7328:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.Gd(t)))},99921:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.ok(t)))},14074:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.u2(t)))},41867:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.KF(t)))},1210:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.Nk(t)))},70060:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>n})
var n=(0,r(58797).helper)((([e,t])=>e.compute(t)))},77999:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>n})
var n=(0,r(58797).helper)((([e],t)=>e.derive(t)))},57335:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.$g(t)))},73813:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.xb(t)))},40356:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.QW(t)))},8555:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.Ws(t)))},124:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.EW(t)))},40155:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.A1(t)))},92395:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.vn(t)))},63690:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.wt(t)))},4333:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.mq(t)))},86060:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.KS(t)))},81770:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.k9(t)))},15363:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.$x(t)))},25810:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.Be(t)))},18532:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(75101),s=(0,n.helper)(((e,t)=>new i.NC(t)))},23685:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(84252),s=(0,n.helper)(((e,t)=>new i.ZP(Object.assign({},t,{direction:"horizontal"}))))},46793:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(84252),s=(0,n.helper)(((e,t)=>new i.ZP(Object.assign({},t,{direction:"vertical"}))))},44024:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(58797),i=r(84252),s=(0,n.helper)(((e,t)=>new i.ZP(t)))},10397:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n,i=r(25831),s=r(23),o=r(52744)
!function(e){e.ESC="Escape",e.Enter="Enter",e.Space=" ",e.Left="ArrowLeft",e.Right="ArrowRight"}(n||(n={}))
const a=Object.values(n)
var l=(0,i.modifier)(((e,t,{data:r,xScale:i,x:l,y:c,onSeek:u,onSelect:h,distanceThreshold:d=10})=>{const p=c instanceof Array?c:[c],f=new s.e(l),m=p.map((e=>new s.e(e))),g=(0,o.Z)((e=>f.accessor(e))).left
let y=null,v=0
function b(e){if(!r.length)return null
const t=i.d3Scale.invert(e),n=m.reduce(((e,n)=>{const i=r.filter((e=>null!=n.accessor(e)))
if(!i.length)return e
const s=g(i,t,1),o=i[s-1],a=i[s]
let l
l=o&&!a?o:t-f.accessor(o)>f.accessor(a)-t?a:o
const c=f.accessor(l),u=i.filter((e=>f.accessor(e)===c))
return e.push(...u.map((e=>({encoding:n,datum:e})))),e}),[]),s=n.slice().sort(((e,r)=>Math.abs(f.accessor(e.datum)-t)-Math.abs(f.accessor(r.datum)-t)))[0],o=Math.abs(i.compute(f.accessor(s.datum))-e)
return{datum:s,data:n.filter((t=>Math.abs(i.compute(f.accessor(t.datum))-e)<o+d))}}function w(e){y=e
const t=e?.datum.datum
v=r.indexOf(t)}function S(e){const t=b(e.offsetX)
w(t),u?.(t)}function k(e){const t=b(e.offsetX)
w(t),h?.(t?t.datum:null)}function x(){y=null,u?.(null),h?.(null)}function E(e){const t=e.key
if(a.includes(t)&&e.preventDefault(),t===n.Space||t===n.Enter?h?.(y?y.datum:null):t===n.ESC?(u?.(null),h?.(null)):t===n.Right?v=(v+1)%r.length:t===n.Left&&(v--,v<0&&(v=r.length-1)),t===n.Right||t===n.Left){const e=b(i.compute(f.accessor(r[v])))
w(e),u?.(e)}}return e.addEventListener("mousemove",S),e.addEventListener("click",k),e.addEventListener("mouseleave",x),e.addEventListener("keydown",E),()=>{e.removeEventListener("mousemove",S),e.removeEventListener("click",k),e.removeEventListener("mouseleave",x),e.removeEventListener("keydown",E)}}),{eager:!1})},75101:(e,t,r)=>{"use strict"
r.d(t,{$g:()=>Fe,$x:()=>Le,A1:()=>xe,Be:()=>Oe,EW:()=>$e,Gd:()=>Ie,KF:()=>Me,KS:()=>Ne,NC:()=>Pe,Nk:()=>Te,QW:()=>Ee,Ws:()=>ze,k9:()=>_e,mq:()=>Ce,ok:()=>je,tO:()=>Ve,u2:()=>De,vn:()=>Re,wt:()=>Be,xb:()=>ke})
var n,i,s,o,a,l,c,u,h,d,p,f,m,g,y,v,b,w,S,k,x,E,N,_,C,A,O,P,T,I,j,D,M,B,R,L,z,F,V,$,U,H,q,W,K,Z,J,G,Y,X,Q,ee,te=r(38099),re=(r(78697),r(55521)),ne=r(57828),ie=r(54927),se=r(17387),oe=r(23552),ae=r(55010),le=r(14766),ce=r(91695),ue=r(87273),he=r(62781),de=r(98385),pe=r(33366),fe=r(76574),me=r(6454),ge=r(92879),ye=r(36802),ve=r(1104)
let be=(0,r(38200).Z)(r(78697)).cached
const we=e=>e instanceof ye.Z?e:e?ye.Z.parse(e):new ye.Z
let Se=(n=class{constructor({domain:e,range:t,clamp:r,nice:n}={}){(0,te.a)(this,"domain",i,this),(0,te.a)(this,"range",s,this),(0,te.a)(this,"clamp",o,this),(0,te.a)(this,"nice",a,this),(0,te.b)(this,"compute",(e=>this.d3Scale(e))),this.domain=we(e),this.range=we(t),this.clamp=r??!1,this.nice=n??!1}get scaleArgs(){return[this.domain.bounds,this.range.bounds]}get d3Scale(){const e=this._d3Scale
return this.clamp&&e.clamp(!0),this.nice&&"number"==typeof this.nice?e.nice(this.nice):this.nice&&e.nice(),e}get commonCopyArgs(){return{domain:this.domain.copy(),range:this.range.copy(),clamp:this.clamp,nice:this.nice}}get isValid(){return this.domain.isValid&&this.range.isValid}get ticks(){return this.d3Scale.ticks()}},i=(0,te._)(n.prototype,"domain",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,te._)(n.prototype,"range",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,te._)(n.prototype,"clamp",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,te._)(n.prototype,"nice",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,te._)(n.prototype,"d3Scale",[be],Object.getOwnPropertyDescriptor(n.prototype,"d3Scale"),n.prototype),n)
class ke extends Se{constructor(...e){super(...e),(0,te.b)(this,"derive",(e=>new ke(Object.assign(this.commonCopyArgs,e))))}get _d3Scale(){return ne.Z(...this.scaleArgs)}}let xe=(l=class e extends Se{constructor(t){super(t),(0,te.a)(this,"exponent",c,this),(0,te.b)(this,"derive",(t=>new e(Object.assign(this.commonCopyArgs,{exponent:this.exponent},t)))),this.exponent=t.exponent??1}get _d3Scale(){return ie.ZP(...this.scaleArgs).exponent(this.exponent)}},c=(0,te._)(l.prototype,"exponent",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1}}),l),Ee=(u=class e extends Se{constructor(t){super(t),(0,te.a)(this,"base",h,this),(0,te.b)(this,"derive",(t=>new e(Object.assign(this.commonCopyArgs,{base:this.base},t)))),this.base=t.base??10}get _d3Scale(){return se.Z(...this.scaleArgs).base(this.base)}},h=(0,te._)(u.prototype,"base",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),u)
class Ne extends Se{constructor(...e){super(...e),(0,te.b)(this,"derive",(e=>new Ne(Object.assign(this.commonCopyArgs,e))))}get _d3Scale(){return ie._b(...this.scaleArgs)}}class _e extends Se{constructor(...e){super(...e),(0,te.b)(this,"derive",(e=>new _e(Object.assign(this.commonCopyArgs,e))))}get _d3Scale(){return oe.Z(...this.scaleArgs)}}class Ce extends Se{constructor(...e){super(...e),(0,te.b)(this,"derive",(e=>new Ce(Object.assign(this.commonCopyArgs,e))))}get _d3Scale(){return ae.Z(...this.scaleArgs)}}let Ae=(d=class{constructor({domain:e,range:t,clamp:r,nice:n}={}){(0,te.a)(this,"domain",p,this),(0,te.a)(this,"range",f,this),(0,te.a)(this,"clamp",m,this),(0,te.a)(this,"nice",g,this),(0,te.b)(this,"compute",(e=>this.d3Scale(e))),e instanceof ye.Z?this.domain=e:this.domain=e?new ye.Z(e):new ye.Z,this.range=we(t),this.clamp=r??!1,this.nice=n??!1}get scaleArgs(){return[this.domain.bounds,this.range.bounds]}get commonCopyArgs(){return{domain:this.domain.copy(),range:this.range.copy(),clamp:this.clamp,nice:this.nice}}get d3Scale(){const e=this._d3Scale
return this.clamp&&e.clamp(!0),this.nice&&"number"==typeof this.nice?e.nice(this.nice):this.nice&&e.nice(),e}get isValid(){return this.domain.isValid&&this.range.isValid}get ticks(){return this.d3Scale.ticks()}},p=(0,te._)(d.prototype,"domain",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,te._)(d.prototype,"range",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,te._)(d.prototype,"clamp",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),g=(0,te._)(d.prototype,"nice",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,te._)(d.prototype,"d3Scale",[be],Object.getOwnPropertyDescriptor(d.prototype,"d3Scale"),d.prototype),d)
class Oe extends Ae{constructor(...e){super(...e),(0,te.b)(this,"derive",(e=>new Oe(Object.assign(this.commonCopyArgs,e))))}get _d3Scale(){return le.Z(...this.scaleArgs)}}class Pe extends Ae{constructor(...e){super(...e),(0,te.b)(this,"derive",(e=>new Oe(Object.assign(this.commonCopyArgs,e))))}get _d3Scale(){return ce.Z(...this.scaleArgs)}}let Te=(y=class e{constructor({domain:t,range:r,clamp:n}){(0,te.a)(this,"domain",v,this),(0,te.a)(this,"range",b,this),(0,te.a)(this,"clamp",w,this),(0,te.b)(this,"isValid",!0),(0,te.b)(this,"scaleFn",ue.ZP),(0,te.b)(this,"compute",(e=>this.d3Scale(e))),(0,te.b)(this,"derive",(t=>new e(Object.assign(this.copyArgs,t)))),this.domain=t,this.range=r,this.clamp=n??!1}get d3Scale(){const e=this.scaleFn(this.range).domain(this.domain)
return this.clamp&&e.clamp(!0),e}get copyArgs(){const[e,t,r]=this.domain
return{domain:[e,t,r],range:this.range,clamp:this.clamp}}},v=(0,te._)(y.prototype,"domain",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,te._)(y.prototype,"range",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,te._)(y.prototype,"clamp",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,te._)(y.prototype,"d3Scale",[be],Object.getOwnPropertyDescriptor(y.prototype,"d3Scale"),y.prototype),y),Ie=(S=class e extends Te{constructor(t){super(t),(0,te.a)(this,"base",k,this),(0,te.b)(this,"scaleFn",ue.QA),(0,te.b)(this,"derive",(t=>new e(Object.assign(this.copyArgs,t)))),this.base=t.base??1}get d3Scale(){const e=this.scaleFn(this.range).domain(this.domain).base(this.base)
return this.clamp&&e.clamp(!0),e}get copyArgs(){const{base:e}=this
return Object.assign(super.copyArgs,{base:e})}},k=(0,te._)(S.prototype,"base",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,te._)(S.prototype,"d3Scale",[be],Object.getOwnPropertyDescriptor(S.prototype,"d3Scale"),S.prototype),S),je=(x=class e extends Te{constructor(t){super(t),(0,te.a)(this,"exponent",E,this),(0,te.b)(this,"scaleFn",ue.ld),(0,te.b)(this,"derive",(t=>new e(Object.assign(this.copyArgs,t)))),this.exponent=t.exponent??1}get d3Scale(){const e=this.scaleFn(this.range).domain(this.domain).exponent(this.exponent)
return this.clamp&&e.clamp(!0),e}get copyArgs(){const{exponent:e}=this
return Object.assign(super.copyArgs,{exponent:e})}},E=(0,te._)(x.prototype,"exponent",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,te._)(x.prototype,"d3Scale",[be],Object.getOwnPropertyDescriptor(x.prototype,"d3Scale"),x.prototype),x)
class De extends Te{constructor(...e){super(...e),(0,te.b)(this,"scaleFn",ue.Km),(0,te.b)(this,"derive",(e=>new De(Object.assign(this.copyArgs,e))))}}class Me extends Te{constructor(...e){super(...e),(0,te.b)(this,"scaleFn",ue.UM),(0,te.b)(this,"derive",(e=>new Me(Object.assign(this.copyArgs,e))))}}let Be=(N=class e{constructor({domain:t,range:r,count:n}){(0,te.a)(this,"domain",_,this),(0,te.a)(this,"range",C,this),(0,te.a)(this,"count",A,this),(0,te.b)(this,"compute",(e=>this.d3Scale(e))),(0,te.b)(this,"derive",(t=>new e(Object.assign({domain:this.domain.copy(),range:this.range instanceof ve.Z?this.range.copy():this.range.slice(),count:this.count},t)))),this.domain=we(t),this.range=r,this.count=n}get scaleArgs(){const e=this.domain instanceof ye.Z?this.domain.bounds:this.domain
return[e,this.range instanceof ve.Z?this.range.spread(this.count??e.length):this.range]}get d3Scale(){const[e,t]=this.scaleArgs
return he.Z(t).domain(e)}get isValid(){return this.domain.isValid}get ticks(){return this.d3Scale.ticks()}},_=(0,te._)(N.prototype,"domain",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,te._)(N.prototype,"range",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,te._)(N.prototype,"count",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,te._)(N.prototype,"d3Scale",[be],Object.getOwnPropertyDescriptor(N.prototype,"d3Scale"),N.prototype),N),Re=(O=class e{constructor({domain:t,range:r,count:n}){(0,te.a)(this,"domain",P,this),(0,te.a)(this,"range",T,this),(0,te.a)(this,"count",I,this),(0,te.b)(this,"isValid",!0),(0,te.b)(this,"compute",(e=>this.d3Scale(e))),(0,te.b)(this,"derive",(t=>new e(Object.assign({domain:this.domain.slice(),range:this.range instanceof ve.Z?this.range.copy():this.range.slice(),count:this.count},t)))),this.domain=t,this.range=r,this.count=n}get d3Scale(){const e=this.range instanceof ve.Z?this.range.spread(this.count??this.domain.length):this.range
return de.Z(e).domain(this.domain)}},P=(0,te._)(O.prototype,"domain",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,te._)(O.prototype,"range",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,te._)(O.prototype,"count",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,te._)(O.prototype,"d3Scale",[be],Object.getOwnPropertyDescriptor(O.prototype,"d3Scale"),O.prototype),O),Le=(j=class e{constructor({domain:t,range:r}){(0,te.a)(this,"domain",D,this),(0,te.a)(this,"range",M,this),(0,te.b)(this,"isValid",!0),(0,te.b)(this,"compute",(e=>this.d3Scale(e))),(0,te.b)(this,"derive",(t=>new e(Object.assign({domain:this.domain.slice(),range:this.range instanceof ve.Z?this.range.copy():this.range.slice()},t)))),this.domain=t,this.range=r}get d3Scale(){const e=this.range instanceof ve.Z?this.range.spread(this.domain.length+1):this.range
return pe.Z(e).domain(this.domain)}},D=(0,te._)(j.prototype,"domain",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,te._)(j.prototype,"range",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,te._)(j.prototype,"d3Scale",[be],Object.getOwnPropertyDescriptor(j.prototype,"d3Scale"),j.prototype),j),ze=(B=class e{constructor({domain:t,range:r,unknown:n}){(0,te.a)(this,"domain",R,this),(0,te.a)(this,"range",L,this),(0,te.a)(this,"unknown",z,this),(0,te.b)(this,"isValid",!0),(0,te.b)(this,"compute",(e=>this.d3Scale(e))),(0,te.b)(this,"derive",(t=>new e(Object.assign({domain:this.domain.slice(),range:this.range instanceof ve.Z?this.range.copy():this.range.slice(),unknown:this.unknown},t)))),this.domain=t||[],this.range=r,this.unknown=n}get d3Scale(){const e="CSSRange"===this.range.constructor.name||this.range instanceof ve.Z?this.range.spread(this.domain.length):this.range,t=fe.Z(e).domain(this.domain)
return null!=this.unknown&&t.unknown(this.unknown),t}},R=(0,te._)(B.prototype,"domain",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,te._)(B.prototype,"range",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,te._)(B.prototype,"unknown",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,te._)(B.prototype,"d3Scale",[be],Object.getOwnPropertyDescriptor(B.prototype,"d3Scale"),B.prototype),B),Fe=(F=class e{constructor({range:t}){(0,te.a)(this,"range",V,this),(0,te.b)(this,"isValid",!0),(0,te.b)(this,"compute",(e=>this.d3Scale(e))),(0,te.b)(this,"derive",(t=>new e(Object.assign({range:this.range.slice()},t)))),this.range=t instanceof Array?t:[t,t]}get d3Scale(){return me.Z(this.range)}get domain(){return this.range}get ticks(){return this.d3Scale.ticks()}},V=(0,te._)(F.prototype,"range",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,te._)(F.prototype,"d3Scale",[be],Object.getOwnPropertyDescriptor(F.prototype,"d3Scale"),F.prototype),(0,te._)(F.prototype,"domain",[be],Object.getOwnPropertyDescriptor(F.prototype,"domain"),F.prototype),F),Ve=($=class e{constructor({domain:t,range:r,round:n,align:i,paddingInner:s,paddingOuter:o,padding:a}){(0,te.a)(this,"domain",U,this),(0,te.a)(this,"range",H,this),(0,te.a)(this,"round",q,this),(0,te.a)(this,"align",W,this),(0,te.a)(this,"paddingInner",K,this),(0,te.a)(this,"paddingOuter",Z,this),(0,te.b)(this,"compute",(e=>this.d3Scale(e))),(0,te.b)(this,"derive",(t=>{const r={domain:this.domain.slice(),range:this.range.copy(),align:this.align}
return this.paddingInner===this.paddingOuter?r.padding=this.paddingInner:(r.paddingInner=this.paddingInner,r.paddingOuter=this.paddingOuter),new e(Object.assign(r,t))})),this.domain=t||[],this.range=we(r),this.round=n??!1,this.align=i??.5,this.paddingInner=s??a??0,this.paddingOuter=o??a??0}get isValid(){return this.range.isValid}get d3Scale(){const e=this.range instanceof ye.Z?this.range.bounds:this.range
return ge.Z(e).domain(this.domain).round(this.round).align(this.align).paddingInner(this.paddingInner).paddingOuter(this.paddingOuter)}get bandwidth(){return this.d3Scale.bandwidth()}get step(){return this.d3Scale.step()}},U=(0,te._)($.prototype,"domain",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,te._)($.prototype,"range",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,te._)($.prototype,"round",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),W=(0,te._)($.prototype,"align",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return.5}}),K=(0,te._)($.prototype,"paddingInner",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),Z=(0,te._)($.prototype,"paddingOuter",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),(0,te._)($.prototype,"d3Scale",[be],Object.getOwnPropertyDescriptor($.prototype,"d3Scale"),$.prototype),$),$e=(J=class{constructor({domain:e,range:t,round:r,align:n,padding:i}){(0,te.a)(this,"domain",G,this),(0,te.a)(this,"range",Y,this),(0,te.a)(this,"round",X,this),(0,te.a)(this,"align",Q,this),(0,te.a)(this,"padding",ee,this),(0,te.b)(this,"compute",(e=>this.d3Scale(e))),(0,te.b)(this,"derive",(e=>new Ve(Object.assign({domain:this.domain.slice(),range:this.range.copy(),align:this.align,padding:this.padding},e)))),this.domain=e||[],this.range=we(t),this.round=r??!1,this.align=n??.5,this.padding=i??0}get isValid(){return this.range.isValid}get d3Scale(){const e=this.range instanceof ye.Z?this.range.bounds:this.range
return ge.x(e).domain(this.domain).round(this.round).align(this.align).padding(this.padding)}get bandwidth(){return this.d3Scale.bandwidth()}get step(){return this.d3Scale.step()}},G=(0,te._)(J.prototype,"domain",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,te._)(J.prototype,"range",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,te._)(J.prototype,"round",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Q=(0,te._)(J.prototype,"align",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return.5}}),ee=(0,te._)(J.prototype,"padding",[re.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),(0,te._)(J.prototype,"d3Scale",[be],Object.getOwnPropertyDescriptor(J.prototype,"d3Scale"),J.prototype),J)},84252:(e,t,r)=>{"use strict"
r.d(t,{ZP:()=>U})
var n,i,s,o,a,l,c,u,h,d,p,f,m=r(38099),g=r(36406),y=r(66344),v=r(78901),b=r(5794),w=r(33888),S=r(73149),k=r(22111),x=r(27903),E=r(50781),N=r(25876),_=r(35564),C=r(58080),A=r(50754),O=r(23),P=r(55521)
function T(e,t){var r=Object.keys(e)
if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{}
t%2?T(Object(r),!0).forEach((function(t){(0,m.b)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function j(e,t,r){D(e,t),t.set(e,r)}function D(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function M(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance")
return r}let B=(0,r(38200).Z)(r(78697)).cached
const R={appearance:g.Z,ascending:y.Z,descending:v.Z,insideOut:b.Z,none:w.Z,reverse:S.Z},L={expand:k.Z,diverging:x.Z,none:E.Z,silhouette:N.Z,wiggle:_.Z},z=e=>({y0:e[0],y1:e[1],y:e[1],x:e.data.x,data:e.data}),F=e=>({x0:e[0],x1:e[1],x:e[1],y:e.data.y,data:e.data}),V=(e,{key:t,index:r})=>Object.assign(e,{key:t,index:r,visualOrder:0}),$=(e,t)=>t?e.map((e=>V(e.map(z),e))):e.map((e=>V(e.map(F),e)))
let U=(d=new WeakMap,p=new WeakSet,f=new WeakMap,n=class{constructor({order:e,offset:t,data:r,direction:n,x:g,y:y,z:v,stable:b}){var w
j(this,f,{get:q,set:void 0}),D(this,w=p),w.add(this),(0,m.a)(this,"dataIn",i,this),(0,m.a)(this,"order",s,this),(0,m.a)(this,"offset",o,this),(0,m.a)(this,"_stable",a,this),(0,m.a)(this,"xAccessor",l,this),(0,m.a)(this,"yAccessor",c,this),(0,m.a)(this,"zAccessor",u,this),(0,m.a)(this,"direction",h,this),j(this,d,{writable:!0,value:null}),(0,m.b)(this,"stack",(e=>{const t=M(this,p,H).call(this,e),r=$((0,m.c)(this,f).call(this,t).sort(((e,t)=>e.index-t.index)),"vertical"===this.direction)
return this.direction,r.map((e=>I(I({},e[0]),{},{key:e.key})))})),this.offset=t?L[t]??L.none:L.none,this.order=e?R[e]??R.none:this.offset===L.wiggle?R.insideOut:R.none,this.xAccessor=g,this.yAccessor=y,this.zAccessor=v,this.direction=n??"vertical",this.stable=b??!0,this.dataIn=r}set stable(e){(0,m.d)(this,d,null),this._stable=e}get stable(){return this._stable}get x(){return new O.e(this.xAccessor)}get y(){return new O.e(this.yAccessor)}get z(){return new O.e(this.zAccessor)}get categories(){return Array.from(new Set(this.dataIn.map((e=>this.z.accessor(e)))))}get table(){return M(this,p,H).call(this,this.dataIn)}get data(){const e=(0,m.c)(this,f).call(this,this.table).sort(((e,t)=>e.index-t.index))
!(0,m.c)(this,d)&&this.stable&&(0,m.d)(this,d,e.map((e=>e.key)))
const t=$(e,"vertical"===this.direction),r=t.map((e=>({key:e.key,val:"vertical"===this.direction?e[0].y:e[0].x}))).sort(((e,t)=>e.val-t.val)).reduce(((e,t,r)=>(e[t.key]=r,e)),{})
return t.forEach((e=>{e.visualOrder=r[e.key]??0})),t}get stackedCategories(){return this.data.map((e=>e.key)).reverse()}},i=(0,m._)(n.prototype,"dataIn",[P.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),s=(0,m._)(n.prototype,"order",[P.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,m._)(n.prototype,"offset",[P.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,m._)(n.prototype,"_stable",[P.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),l=(0,m._)(n.prototype,"xAccessor",[P.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,m._)(n.prototype,"yAccessor",[P.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,m._)(n.prototype,"zAccessor",[P.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,m._)(n.prototype,"direction",[P.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,m._)(n.prototype,"x",[B],Object.getOwnPropertyDescriptor(n.prototype,"x"),n.prototype),(0,m._)(n.prototype,"y",[B],Object.getOwnPropertyDescriptor(n.prototype,"y"),n.prototype),(0,m._)(n.prototype,"z",[B],Object.getOwnPropertyDescriptor(n.prototype,"z"),n.prototype),(0,m._)(n.prototype,"categories",[B],Object.getOwnPropertyDescriptor(n.prototype,"categories"),n.prototype),(0,m._)(n.prototype,"table",[B],Object.getOwnPropertyDescriptor(n.prototype,"table"),n.prototype),(0,m._)(n.prototype,"data",[B],Object.getOwnPropertyDescriptor(n.prototype,"data"),n.prototype),n)
function H(e){const t=this.categories,r="vertical"===this.direction?this.x:this.y,n="vertical"===this.direction?this.y:this.x,i="vertical"===this.direction?"x":"y",s=(0,A.ZP)(e,r.accessor,this.z.accessor)
return Array.from(s).reduce(((e,[r,s])=>(e.push(I({[i]:r},t.reduce(((e,t)=>(e[t]=n.accessor(s.get(t)?.[0]??{})??0,e)),{}))),e)),[])}function q(){return C.Z().order((0,m.c)(this,d)?R.none:this.order).offset(this.offset).keys((0,m.c)(this,d)??this.categories)}},48007:(e,t,r)=>{"use strict"
r.d(t,{W:()=>i})
const n=/^\d+( \d+){0,3}$/
function i(e){if(!n.test(e))throw new Error("Cannot parse four prop string. Must be a unitless string of 1 to 4 numbers")
const t=e.split(" ").map((e=>+e))
switch(t.length){case 1:return{top:t[0],right:t[0],bottom:t[0],left:t[0]}
case 2:return{top:t[0],right:t[1],bottom:t[0],left:t[1]}
case 3:return{top:t[0],right:t[1],bottom:t[2],left:t[1]}
case 4:return{top:t[0],right:t[1],bottom:t[2],left:t[3]}
default:throw new Error("Four prop string contained more than 4 parts")}}},8610:(e,t,r)=>{"use strict"
r.d(t,{u:()=>w})
var n=r(49414),i=r(62803),s=r(19992),o=r(34544),a=r(35871),l=r(55068),c=r(79503),u=r(10229),h=r(68187),d=r(10873),p=r(35552),f=r(33694),m=r(21270),g=r(30132),y=r(71038),v=r(9154)
const b={basis:n.ZP,basisClosed:i.Z,basisOpen:s.Z,bumpX:o.sj,bumpY:o.BW,bundle:a.Z,cardinal:l.ZP,cardinalClosed:c.Z,cardinalOpen:u.Z,catmullRom:h.Z,catmullRomClosed:d.Z,catmullRomOpen:p.Z,linear:f.Z,linearClosed:m.Z,monotoneX:g.Z,monotoneY:g.s,natural:y.Z,step:v.ZP,stepAfter:v.cD,stepBefore:v.RN},w=e=>{if(!e)return f.Z
if("string"==typeof e){if(!b[e])throw new Error(`No curve factory "${e}". See all curve factories here: https://github.com/d3/d3-shape#curves`)
return b[e]}const t=e
if("bundle"===t.name)return a.Z.beta(t.beta??.85)
if(t.name.startsWith("catmullRom"))return b[t.name].alpha(t.alpha??.5)
if(t.name.startsWith("cardinal"))return b[t.name].tension(t.tension??0)
if(!b[t.name])throw new Error(`No curve factory "${t.name}". See all curve factories here: https://github.com/d3/d3-shape#curves`)
return b[t.name]}},44924:(e,t,r)=>{"use strict"
r.d(t,{U:()=>o,t:()=>a})
var n=r(98773),i=r(36802),s=r(75101)
function o(e,t,r,o,a){if(t instanceof s.$g)return
const l=a??e.args.data
if((t.domain.__temp_duck_type_bounds||t.domain instanceof i.Z)&&!t.domain.isValid&&(0,n.scheduleOnce)("afterRender",e,(function(){t.domain.qualify(l,r.accessor)})),t.range instanceof i.Z&&!t.range.isValid)throw new Error(`Qualifying @${o}Scale: Cannot determine the bounds for a range without a bounding box for the mark.`)}function a(e,t){return"number"==typeof e&&null==t?new s.$g({range:e}):t}},63703:(e,t,r)=>{"use strict"
function n(e){if("number"==typeof e)return e
const t=/^(-?\d+\.?\d*)d$/
if(!t.test(e))throw new Error(`Could not parse string "${e}" as degrees. To provide an angle as degrees end a string with a lower-case "d", like "180d". If the angle provided is radians, make sure to pass it as a number in templates, like @angle={{this.angle}}`)
return parseFloat(e.match(t)?.[1]??"0")*Math.PI/180}r.d(t,{Z:()=>n})},7111:(e,t,r)=>{"use strict"
r.d(t,{N:()=>a})
const n=(e,t)=>`M ${e},${t}`,i=e=>`v ${e}`,s=e=>`h ${e}`,o=(e,t,r,n)=>`a ${e},${t} 0 0 1 ${e*r},${t*n}`
function a(e,t,r=!1){let a=t.topRight,l=t.bottomRight,c=t.bottomLeft,u=t.topLeft,h=a,d=l,p=c,f=u
if(r){if(a+u>e.width){const t=a+u
a=e.width*a/t,u=e.width*u/t}if(h+d>e.height){const t=h+d
h=e.height*h/t,d=e.height*d/t}if(l+c>e.width){const t=l+c
l=e.width*l/t,c=e.width*c/t}if(p+f>e.height){const t=p+f
p=e.height*p/t,f=e.height*f/t}}return[n(e.x,e.y+f),o(u,f,1,-1),s(e.width-u-a),o(a,h,1,1),i(e.height-h-d),o(l,d,-1,1),s(-e.width+l+c),o(c,p,-1,-1),i(-e.height+p+f),"Z"].join(" ")}},38099:(e,t,r)=>{"use strict"
function n(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r,n,i){var s={}
return Object.keys(n).forEach((function(e){s[e]=n[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}function o(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance")
return t.get(e)}function a(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,o(e,t,"get"))}function l(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r)
else{if(!t.writable)throw new TypeError("attempted to set read only private field")
t.value=r}}(e,o(e,t,"set"),r),r}r.d(t,{_:()=>s,a:()=>n,b:()=>i,c:()=>a,d:()=>l})},20070:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{Any:()=>Oe,BaseBlock:()=>j,BitString:()=>Z,BmpString:()=>ae,Boolean:()=>V,CharacterString:()=>we,Choice:()=>Ae,Constructed:()=>R,DATE:()=>xe,DateTime:()=>Ne,Duration:()=>_e,EndOfContent:()=>z,Enumerated:()=>Y,GeneralString:()=>be,GeneralizedTime:()=>ke,GraphicString:()=>ye,HexBlock:()=>O,IA5String:()=>ge,Integer:()=>G,Null:()=>H,NumericString:()=>de,ObjectIdentifier:()=>ee,OctetString:()=>W,Primitive:()=>M,PrintableString:()=>pe,RawData:()=>Te,RelativeObjectIdentifier:()=>se,Repeated:()=>Pe,Sequence:()=>$,Set:()=>U,TIME:()=>Ce,TeletexString:()=>fe,TimeOfDay:()=>Ee,UTCTime:()=>Se,UniversalString:()=>ce,Utf8String:()=>re,ValueBlock:()=>I,VideotexString:()=>me,VisibleString:()=>ve,compareSchema:()=>De,fromBER:()=>je,fromJSON:()=>Be,verifySchema:()=>Me})
var n=r(90899)
function i(){if("undefined"==typeof BigInt)throw new Error("BigInt is not defined. Your environment doesn't implement BigInt.")}function s(e){if(e.idBlock.isConstructed)for(let t=0;t<e.valueBlock.value.length;t++)s(e.valueBlock.value[t])&&(e.lenBlock.isIndefiniteForm=!0)
return!!e.lenBlock.isIndefiniteForm}function o(e){let t=0,r=0
for(let s=0;s<e.length;s++)t+=e[s].byteLength
const n=new ArrayBuffer(t),i=new Uint8Array(n)
for(let s=0;s<e.length;s++){const t=e[s]
i.set(new Uint8Array(t),r),r+=t.byteLength}return n}const a=[new Uint8Array([1])],l="0123456789",c="name",u="valueHex",h="isHexOnly",d="idBlock",p="tagClass",f="tagNumber",m="isConstructed",g="isIndefiniteForm",y="optional",v="primitiveSchema",b="value",w="valueDate",S="fromBER",k="toBER",x="local",E="valueDec",N="",_=new ArrayBuffer(0)
class C{constructor(){this.items=[]}write(e){this.items.push(e)}final(){return o(this.items)}}class A{constructor(e={}){this.blockLength=(0,n.getParametersValue)(e,"blockLength",0),this.error=(0,n.getParametersValue)(e,"error",N),this.warnings=(0,n.getParametersValue)(e,"warnings",[]),this.valueBeforeDecode="valueBeforeDecode"in e?e.valueBeforeDecode.slice(0):_}static blockName(){return"baseBlock"}toJSON(){return{blockName:this.constructor.blockName(),blockLength:this.blockLength,error:this.error,warnings:this.warnings,valueBeforeDecode:(0,n.bufferToHexCodes)(this.valueBeforeDecode,0,this.valueBeforeDecode.byteLength)}}}const O=e=>class extends e{constructor(e={}){super(e),this.isHexOnly=(0,n.getParametersValue)(e,h,!1),this.valueHex=u in e?e.valueHex.slice(0):_}static blockName(){return"hexBlock"}fromBER(e,t,r){return!1===(0,n.checkBufferParams)(this,e,t,r)?-1:0===new Uint8Array(e,t,r).length?(this.warnings.push("Zero buffer length"),t):(this.valueHex=e.slice(t,t+r),this.blockLength=r,t+r)}toBER(e=!1){return!0!==this.isHexOnly?(this.error='Flag "isHexOnly" is not set, abort',_):!0===e?new ArrayBuffer(this.valueHex.byteLength):this.valueHex.slice(0)}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.blockName=this.constructor.blockName(),e.isHexOnly=this.isHexOnly,e.valueHex=(0,n.bufferToHexCodes)(this.valueHex,0,this.valueHex.byteLength),e}}
class P extends(O(A)){constructor(e={}){super(),d in e?(this.isHexOnly=(0,n.getParametersValue)(e.idBlock,h,!1),this.valueHex=(0,n.getParametersValue)(e.idBlock,u,_),this.tagClass=(0,n.getParametersValue)(e.idBlock,p,-1),this.tagNumber=(0,n.getParametersValue)(e.idBlock,f,-1),this.isConstructed=(0,n.getParametersValue)(e.idBlock,m,!1)):(this.tagClass=-1,this.tagNumber=-1,this.isConstructed=!1)}static blockName(){return"identificationBlock"}toBER(e=!1){let t,r,i=0
switch(this.tagClass){case 1:i|=0
break
case 2:i|=64
break
case 3:i|=128
break
case 4:i|=192
break
default:return this.error="Unknown tag class",_}if(this.isConstructed&&(i|=32),this.tagNumber<31&&!this.isHexOnly){if(t=new ArrayBuffer(1),r=new Uint8Array(t),!e){let e=this.tagNumber
e&=31,i|=e,r[0]=i}return t}if(!1===this.isHexOnly){const s=(0,n.utilToBase)(this.tagNumber,7),o=new Uint8Array(s),a=s.byteLength
if(t=new ArrayBuffer(a+1),r=new Uint8Array(t),r[0]=31|i,!e){for(let e=0;e<a-1;e++)r[e+1]=128|o[e]
r[a]=o[a-1]}return t}if(t=new ArrayBuffer(this.valueHex.byteLength+1),r=new Uint8Array(t),r[0]=31|i,!1===e){const e=new Uint8Array(this.valueHex)
for(let t=0;t<e.length-1;t++)r[t+1]=128|e[t]
r[this.valueHex.byteLength]=e[e.length-1]}return t}fromBER(e,t,r){if(!1===(0,n.checkBufferParams)(this,e,t,r))return-1
const i=new Uint8Array(e,t,r)
if(0===i.length)return this.error="Zero buffer length",-1
switch(192&i[0]){case 0:this.tagClass=1
break
case 64:this.tagClass=2
break
case 128:this.tagClass=3
break
case 192:this.tagClass=4
break
default:return this.error="Unknown tag class",-1}this.isConstructed=!(32&~i[0]),this.isHexOnly=!1
const s=31&i[0]
if(31!==s)this.tagNumber=s,this.blockLength=1
else{let e=1
this.valueHex=new ArrayBuffer(255)
let t=255,r=new Uint8Array(this.valueHex)
for(;128&i[e];){if(r[e-1]=127&i[e],e++,e>=i.length)return this.error="End of input reached before message was fully decoded",-1
if(e===t){t+=255
const e=new ArrayBuffer(t),n=new Uint8Array(e)
for(let t=0;t<r.length;t++)n[t]=r[t]
this.valueHex=new ArrayBuffer(t),r=new Uint8Array(this.valueHex)}}this.blockLength=e+1,r[e-1]=127&i[e]
const s=new ArrayBuffer(e),o=new Uint8Array(s)
for(let n=0;n<e;n++)o[n]=r[n]
this.valueHex=new ArrayBuffer(e),r=new Uint8Array(this.valueHex),r.set(o),this.blockLength<=9?this.tagNumber=(0,n.utilFromBase)(r,7):(this.isHexOnly=!0,this.warnings.push("Tag too long, represented as hex-coded"))}if(1===this.tagClass&&this.isConstructed)switch(this.tagNumber){case 1:case 2:case 5:case 6:case 9:case 13:case 14:case 23:case 24:case 31:case 32:case 33:case 34:return this.error="Constructed encoding used for primitive type",-1}return t+this.blockLength}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.blockName=this.constructor.blockName(),e.tagClass=this.tagClass,e.tagNumber=this.tagNumber,e.isConstructed=this.isConstructed,e}}class T extends A{constructor(e={}){super(),"lenBlock"in e?(this.isIndefiniteForm=(0,n.getParametersValue)(e.lenBlock,g,!1),this.longFormUsed=(0,n.getParametersValue)(e.lenBlock,"longFormUsed",!1),this.length=(0,n.getParametersValue)(e.lenBlock,"length",0)):(this.isIndefiniteForm=!1,this.longFormUsed=!1,this.length=0)}static blockName(){return"lengthBlock"}fromBER(e,t,r){if(!1===(0,n.checkBufferParams)(this,e,t,r))return-1
const i=new Uint8Array(e,t,r)
if(0===i.length)return this.error="Zero buffer length",-1
if(255===i[0])return this.error="Length block 0xFF is reserved by standard",-1
if(this.isIndefiniteForm=128===i[0],!0===this.isIndefiniteForm)return this.blockLength=1,t+this.blockLength
if(this.longFormUsed=!!(128&i[0]),!1===this.longFormUsed)return this.length=i[0],this.blockLength=1,t+this.blockLength
const s=127&i[0]
if(s>8)return this.error="Too big integer",-1
if(s+1>i.length)return this.error="End of input reached before message was fully decoded",-1
const o=new Uint8Array(s)
for(let n=0;n<s;n++)o[n]=i[n+1]
return 0===o[s-1]&&this.warnings.push("Needlessly long encoded length"),this.length=(0,n.utilFromBase)(o,8),this.longFormUsed&&this.length<=127&&this.warnings.push("Unnecessary usage of long length form"),this.blockLength=s+1,t+this.blockLength}toBER(e=!1){let t,r
if(this.length>127&&(this.longFormUsed=!0),this.isIndefiniteForm)return t=new ArrayBuffer(1),!1===e&&(r=new Uint8Array(t),r[0]=128),t
if(!0===this.longFormUsed){const i=(0,n.utilToBase)(this.length,8)
if(i.byteLength>127)return this.error="Too big length",_
if(t=new ArrayBuffer(i.byteLength+1),!0===e)return t
const s=new Uint8Array(i)
r=new Uint8Array(t),r[0]=128|i.byteLength
for(let e=0;e<i.byteLength;e++)r[e+1]=s[e]
return t}return t=new ArrayBuffer(1),!1===e&&(r=new Uint8Array(t),r[0]=this.length),t}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.blockName=this.constructor.blockName(),e.isIndefiniteForm=this.isIndefiniteForm,e.longFormUsed=this.longFormUsed,e.length=this.length,e}}class I extends A{constructor(e={}){super(e)}static blockName(){return"valueBlock"}fromBER(e,t,r){throw TypeError('User need to make a specific function in a class which extends "ValueBlock"')}toBER(e=!1){throw TypeError('User need to make a specific function in a class which extends "ValueBlock"')}}class j extends A{constructor(e={},t=I){super(e),c in e&&(this.name=e.name),y in e&&(this.optional=e.optional),v in e&&(this.primitiveSchema=e.primitiveSchema),this.idBlock=new P(e),this.lenBlock=new T(e),this.valueBlock=new t(e)}static blockName(){return"BaseBlock"}fromBER(e,t,r){const n=this.valueBlock.fromBER(e,t,!0===this.lenBlock.isIndefiniteForm?r:this.lenBlock.length)
return-1===n?(this.error=this.valueBlock.error,n):(0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),n)}toBER(e=!1,t){const r=t||new C
t||s(this)
const n=this.idBlock.toBER(e)
if(r.write(n),this.lenBlock.isIndefiniteForm)r.write(new Uint8Array([128]).buffer),this.valueBlock.toBER(e,r),r.write(new ArrayBuffer(2))
else{const t=this.valueBlock.toBER(!0)
this.lenBlock.length=t.byteLength
const n=this.lenBlock.toBER(e)
r.write(n)
const i=e?new ArrayBuffer(this.lenBlock.length):this.valueBlock.toBER(e)
r.write(i,r)}if(!t)return r.final()}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.idBlock=this.idBlock.toJSON(),e.lenBlock=this.lenBlock.toJSON(),e.valueBlock=this.valueBlock.toJSON(),c in this&&(e.name=this.name),y in this&&(e.optional=this.optional),v in this&&(e.primitiveSchema=this.primitiveSchema.toJSON()),e}toString(){return`${this.constructor.blockName()} : ${(0,n.bufferToHexCodes)(this.valueBlock.valueHex)}`}}class D extends I{constructor(e={}){super(e),this.valueHex=u in e?e.valueHex.slice(0):_,this.isHexOnly=(0,n.getParametersValue)(e,h,!0)}fromBER(e,t,r){if(!1===(0,n.checkBufferParams)(this,e,t,r))return-1
const i=new Uint8Array(e,t,r)
if(0===i.length)return this.warnings.push("Zero buffer length"),t
this.valueHex=new ArrayBuffer(i.length)
const s=new Uint8Array(this.valueHex)
for(let n=0;n<i.length;n++)s[n]=i[n]
return this.blockLength=r,t+r}toBER(e=!1){return this.valueHex.slice(0)}static blockName(){return"PrimitiveValueBlock"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.valueHex=(0,n.bufferToHexCodes)(this.valueHex,0,this.valueHex.byteLength),e.isHexOnly=this.isHexOnly,e}}class M extends j{constructor(e={}){super(e,D),this.idBlock.isConstructed=!1}static blockName(){return"PRIMITIVE"}}class B extends I{constructor(e={}){super(e),this.value=(0,n.getParametersValue)(e,b,[]),this.isIndefiniteForm=(0,n.getParametersValue)(e,g,!1)}fromBER(e,t,r){const i=t,s=r
if(!1===(0,n.checkBufferParams)(this,e,t,r))return-1
if(0===new Uint8Array(e,t,r).length)return this.warnings.push("Zero buffer length"),t
let o=t
for(;(!0===this.isIndefiniteForm?1:r)>0;){const t=Ie(e,o,r)
if(-1===t.offset)return this.error=t.result.error,this.warnings.concat(t.result.warnings),-1
if(o=t.offset,this.blockLength+=t.result.blockLength,r-=t.result.blockLength,this.value.push(t.result),!0===this.isIndefiniteForm&&t.result.constructor.blockName()===z.blockName())break}return!0===this.isIndefiniteForm&&(this.value[this.value.length-1].constructor.blockName()===z.blockName()?this.value.pop():this.warnings.push("No EndOfContent block encoded")),this.valueBeforeDecode=e.slice(i,i+s),o}toBER(e=!1,t){const r=t||new C
for(let n=0;n<this.value.length;n++)this.value[n].toBER(e,r)
if(!t)return r.final()}static blockName(){return"ConstructedValueBlock"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}e.isIndefiniteForm=this.isIndefiniteForm,e.value=[]
for(let t=0;t<this.value.length;t++)e.value.push(this.value[t].toJSON())
return e}}class R extends j{constructor(e={}){super(e,B),this.idBlock.isConstructed=!0}static blockName(){return"CONSTRUCTED"}fromBER(e,t,r){this.valueBlock.isIndefiniteForm=this.lenBlock.isIndefiniteForm
const n=this.valueBlock.fromBER(e,t,!0===this.lenBlock.isIndefiniteForm?r:this.lenBlock.length)
return-1===n?(this.error=this.valueBlock.error,n):(0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),n)}toString(){const e=[]
for(const r of this.valueBlock.value)e.push(r.toString().split("\n").map((e=>`  ${e}`)).join("\n"))
const t=3===this.idBlock.tagClass?`[${this.idBlock.tagNumber}]`:this.constructor.blockName()
return e.length?`${t} :\n${e.join("\n")}`:`${t} :`}}class L extends I{constructor(e={}){super(e)}fromBER(e,t,r){return t}toBER(e=!1){return _}static blockName(){return"EndOfContentValueBlock"}}class z extends j{constructor(e={}){super(e,L),this.idBlock.tagClass=1,this.idBlock.tagNumber=0}static blockName(){return"EndOfContent"}}class F extends I{constructor(e={}){super(e),this.value=(0,n.getParametersValue)(e,b,!1),this.isHexOnly=(0,n.getParametersValue)(e,h,!1),u in e?this.valueHex=e.valueHex.slice(0):(this.valueHex=new ArrayBuffer(1),!0===this.value&&(new Uint8Array(this.valueHex)[0]=255))}fromBER(e,t,r){if(!1===(0,n.checkBufferParams)(this,e,t,r))return-1
const i=new Uint8Array(e,t,r)
r>1&&this.warnings.push("Boolean value encoded in more then 1 octet"),this.isHexOnly=!0,this.valueHex=new ArrayBuffer(i.length)
const s=new Uint8Array(this.valueHex)
for(let n=0;n<i.length;n++)s[n]=i[n]
return 0!==n.utilDecodeTC.call(this)?this.value=!0:this.value=!1,this.blockLength=r,t+r}toBER(e=!1){return this.valueHex}static blockName(){return"BooleanValueBlock"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.value=this.value,e.isHexOnly=this.isHexOnly,e.valueHex=(0,n.bufferToHexCodes)(this.valueHex,0,this.valueHex.byteLength),e}}class V extends j{constructor(e={}){super(e,F),this.idBlock.tagClass=1,this.idBlock.tagNumber=1}static blockName(){return"BOOLEAN"}toString(){return`${this.constructor.blockName()} : ${this.valueBlock.value}`}}class $ extends R{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=16}static blockName(){return"SEQUENCE"}}class U extends R{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=17}static blockName(){return"SET"}}class H extends j{constructor(e={}){super(e,A),this.idBlock.tagClass=1,this.idBlock.tagNumber=5}static blockName(){return"NULL"}fromBER(e,t,r){return this.lenBlock.length>0&&this.warnings.push("Non-zero length of value block for Null type"),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),this.blockLength+=r,t+r>e.byteLength?(this.error="End of input reached before message was fully decoded (inconsistent offset and length values)",-1):t+r}toBER(e=!1,t){const r=new ArrayBuffer(2)
if(!e){const e=new Uint8Array(r)
e[0]=5,e[1]=0}return t&&t.write(r),r}toString(){return`${this.constructor.blockName()}`}}class q extends(O(B)){constructor(e={}){super(e),this.isConstructed=(0,n.getParametersValue)(e,m,!1)}fromBER(e,t,r){let n=0
if(!0===this.isConstructed){if(this.isHexOnly=!1,n=B.prototype.fromBER.call(this,e,t,r),-1===n)return n
for(let e=0;e<this.value.length;e++){const t=this.value[e].constructor.blockName()
if(t===z.blockName()){if(!0===this.isIndefiniteForm)break
return this.error="EndOfContent is unexpected, OCTET STRING may consists of OCTET STRINGs only",-1}if(t!==W.blockName())return this.error="OCTET STRING may consists of OCTET STRINGs only",-1}}else this.isHexOnly=!0,n=super.fromBER(e,t,r),this.blockLength=r
return n}toBER(e=!1,t){if(!0===this.isConstructed)return B.prototype.toBER.call(this,e,t)
let r=new ArrayBuffer(this.valueHex.byteLength)
return!0===e||0===this.valueHex.byteLength||(r=this.valueHex.slice(0)),r}static blockName(){return"OctetStringValueBlock"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.isConstructed=this.isConstructed,e.isHexOnly=this.isHexOnly,e.valueHex=(0,n.bufferToHexCodes)(this.valueHex,0,this.valueHex.byteLength),e}}class W extends j{constructor(e={}){super(e,q),this.idBlock.tagClass=1,this.idBlock.tagNumber=4}fromBER(e,t,r){if(this.valueBlock.isConstructed=this.idBlock.isConstructed,this.valueBlock.isIndefiniteForm=this.lenBlock.isIndefiniteForm,0===r)return 0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),t
if(!this.valueBlock.isConstructed){const n=e.slice(t,t+r)
try{const e=je(n);-1!==e.offset&&e.offset===r&&(this.valueBlock.value=[e.result])}catch(e){}}return super.fromBER(e,t,r)}static blockName(){return"OCTET STRING"}isEqual(e){return e instanceof W!=0&&JSON.stringify(this)===JSON.stringify(e)}toString(){return this.valueBlock.isConstructed||this.valueBlock.value&&this.valueBlock.value.length?R.prototype.toString.call(this):`${this.constructor.blockName()} : ${(0,n.bufferToHexCodes)(this.valueBlock.valueHex)}`}}class K extends(O(B)){constructor(e={}){super(e),this.unusedBits=(0,n.getParametersValue)(e,"unusedBits",0),this.isConstructed=(0,n.getParametersValue)(e,m,!1),this.blockLength=this.valueHex.byteLength}fromBER(e,t,r){if(0===r)return t
let i=-1
if(!0===this.isConstructed){if(i=B.prototype.fromBER.call(this,e,t,r),-1===i)return i
for(let e=0;e<this.value.length;e++){const t=this.value[e].constructor.blockName()
if(t===z.blockName()){if(!0===this.isIndefiniteForm)break
return this.error="EndOfContent is unexpected, BIT STRING may consists of BIT STRINGs only",-1}if(t!==Z.blockName())return this.error="BIT STRING may consists of BIT STRINGs only",-1
if(this.unusedBits>0&&this.value[e].valueBlock.unusedBits>0)return this.error='Using of "unused bits" inside constructive BIT STRING allowed for least one only',-1
if(this.unusedBits=this.value[e].valueBlock.unusedBits,this.unusedBits>7)return this.error="Unused bits for BitString must be in range 0-7",-1}return i}if(!1===(0,n.checkBufferParams)(this,e,t,r))return-1
const s=new Uint8Array(e,t,r)
if(this.unusedBits=s[0],this.unusedBits>7)return this.error="Unused bits for BitString must be in range 0-7",-1
if(!this.unusedBits){const n=e.slice(t+1,t+r)
try{const e=je(n);-1!==e.offset&&e.offset===r-1&&(this.value=[e.result])}catch(e){}}this.valueHex=new ArrayBuffer(s.length-1)
const o=new Uint8Array(this.valueHex)
for(let n=0;n<r-1;n++)o[n]=s[n+1]
return this.blockLength=s.length,t+r}toBER(e=!1,t){if(!0===this.isConstructed)return B.prototype.toBER.call(this,e,t)
if(!0===e)return new ArrayBuffer(this.valueHex.byteLength+1)
if(0===this.valueHex.byteLength)return _
const r=new Uint8Array(this.valueHex),n=new ArrayBuffer(this.valueHex.byteLength+1),i=new Uint8Array(n)
i[0]=this.unusedBits
for(let s=0;s<this.valueHex.byteLength;s++)i[s+1]=r[s]
return n}static blockName(){return"BitStringValueBlock"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.unusedBits=this.unusedBits,e.isConstructed=this.isConstructed,e.isHexOnly=this.isHexOnly,e.valueHex=(0,n.bufferToHexCodes)(this.valueHex,0,this.valueHex.byteLength),e}}class Z extends j{constructor(e={}){super(e,K),this.idBlock.tagClass=1,this.idBlock.tagNumber=3}static blockName(){return"BIT STRING"}fromBER(e,t,r){return 0===r?t:(this.valueBlock.isConstructed=this.idBlock.isConstructed,this.valueBlock.isIndefiniteForm=this.lenBlock.isIndefiniteForm,super.fromBER(e,t,r))}isEqual(e){return e instanceof Z!=0&&JSON.stringify(this)===JSON.stringify(e)}toString(){if(this.valueBlock.isConstructed||this.valueBlock.value&&this.valueBlock.value.length)return R.prototype.toString.call(this)
{const e=[],t=new Uint8Array(this.valueBlock.valueHex)
for(const r of t)e.push(r.toString(2).padStart(8,"0"))
return`${this.constructor.blockName()} : ${e.join("")}`}}}class J extends(O(I)){constructor(e={}){super(e),b in e&&(this.valueDec=e.value)}set valueHex(e){this._valueHex=e.slice(0),e.byteLength>=4?(this.warnings.push("Too big Integer for decoding, hex only"),this.isHexOnly=!0,this._valueDec=0):(this.isHexOnly=!1,e.byteLength>0&&(this._valueDec=n.utilDecodeTC.call(this)))}get valueHex(){return this._valueHex}set valueDec(e){this._valueDec=e,this.isHexOnly=!1,this._valueHex=(0,n.utilEncodeTC)(e)}get valueDec(){return this._valueDec}fromDER(e,t,r,n=0){const i=this.fromBER(e,t,r)
if(-1===i)return i
const s=new Uint8Array(this._valueHex)
if(0===s[0]&&128&s[1]){const e=new ArrayBuffer(this._valueHex.byteLength-1)
new Uint8Array(e).set(new Uint8Array(this._valueHex,1,this._valueHex.byteLength-1)),this._valueHex=e.slice(0)}else if(0!==n&&this._valueHex.byteLength<n){n-this._valueHex.byteLength>1&&(n=this._valueHex.byteLength+1)
const e=new ArrayBuffer(n)
new Uint8Array(e).set(s,n-this._valueHex.byteLength),this._valueHex=e.slice(0)}return i}toDER(e=!1){const t=new Uint8Array(this._valueHex)
switch(!0){case!!(128&t[0]):{const e=new ArrayBuffer(this._valueHex.byteLength+1),r=new Uint8Array(e)
r[0]=0,r.set(t,1),this._valueHex=e.slice(0)}break
case 0===t[0]&&!(128&t[1]):{const e=new ArrayBuffer(this._valueHex.byteLength-1)
new Uint8Array(e).set(new Uint8Array(this._valueHex,1,this._valueHex.byteLength-1)),this._valueHex=e.slice(0)}}return this.toBER(e)}fromBER(e,t,r){const n=super.fromBER(e,t,r)
return-1===n?n:(this.blockLength=r,t+r)}toBER(e=!1){return this.valueHex.slice(0)}static blockName(){return"IntegerValueBlock"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.valueDec=this.valueDec,e}toString(){function e(e,t){const r=new Uint8Array([0])
let i=new Uint8Array(e),s=new Uint8Array(t),o=i.slice(0)
const a=o.length-1
let l=s.slice(0)
const c=l.length-1
let u=0,h=0
for(let d=c<a?a:c;d>=0;d--,h++)u=1==h<l.length?o[a-h]+l[c-h]+r[0]:o[a-h]+r[0],r[0]=u/10,1==h>=o.length?o=(0,n.utilConcatView)(new Uint8Array([u%10]),o):o[a-h]=u%10
return r[0]>0&&(o=(0,n.utilConcatView)(r,o)),o.slice(0)}function t(e){if(e>=a.length)for(let t=a.length;t<=e;t++){const e=new Uint8Array([0])
let r=a[t-1].slice(0)
for(let t=r.length-1;t>=0;t--){const n=new Uint8Array([(r[t]<<1)+e[0]])
e[0]=n[0]/10,r[t]=n[0]%10}e[0]>0&&(r=(0,n.utilConcatView)(e,r)),a.push(r)}return a[e]}function r(e,t){let r=0,n=new Uint8Array(e),i=new Uint8Array(t),s=n.slice(0)
const o=s.length-1
let a=i.slice(0)
const l=a.length-1
let c,u=0
for(let h=l;h>=0;h--,u++)c=s[o-u]-a[l-u]-r,1==c<0?(r=1,s[o-u]=c+10):(r=0,s[o-u]=c)
if(r>0)for(let h=o-l+1;h>=0;h--,u++){if(c=s[o-u]-r,!(c<0)){r=0,s[o-u]=c
break}r=1,s[o-u]=c+10}return s.slice()}const i=8*this._valueHex.byteLength-1
let s,o=new Uint8Array(8*this._valueHex.byteLength/3),c=0
const u=new Uint8Array(this._valueHex)
let h="",d=!1
for(let n=this._valueHex.byteLength-1;n>=0;n--){s=u[n]
for(let n=0;n<8;n++)1&~s||(c===i?(o=r(t(c),o),h="-"):o=e(o,t(c))),c++,s>>=1}for(let n=0;n<o.length;n++)o[n]&&(d=!0),d&&(h+=l.charAt(o[n]))
return!1===d&&(h+=l.charAt(0)),h}}class G extends j{constructor(e={}){super(e,J),this.idBlock.tagClass=1,this.idBlock.tagNumber=2}static blockName(){return"INTEGER"}isEqual(e){return e instanceof G?this.valueBlock.isHexOnly&&e.valueBlock.isHexOnly?(0,n.isEqualBuffer)(this.valueBlock.valueHex,e.valueBlock.valueHex):this.valueBlock.isHexOnly===e.valueBlock.isHexOnly&&this.valueBlock.valueDec===e.valueBlock.valueDec:e instanceof ArrayBuffer&&(0,n.isEqualBuffer)(this.valueBlock.valueHex,e)}convertToDER(){const e=new G({valueHex:this.valueBlock.valueHex})
return e.valueBlock.toDER(),e}convertFromDER(){const e=this.valueBlock.valueHex.byteLength%2?this.valueBlock.valueHex.byteLength+1:this.valueBlock.valueHex.byteLength,t=new G({valueHex:this.valueBlock.valueHex})
return t.valueBlock.fromDER(t.valueBlock.valueHex,0,t.valueBlock.valueHex.byteLength,e),t}toString(){i()
const e=(0,n.bufferToHexCodes)(this.valueBlock.valueHex),t=BigInt(`0x${e}`)
return`${this.constructor.blockName()} : ${t.toString()}`}}class Y extends G{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=10}static blockName(){return"ENUMERATED"}}class X extends(O(A)){constructor(e={}){super(e),this.valueDec=(0,n.getParametersValue)(e,E,-1),this.isFirstSid=(0,n.getParametersValue)(e,"isFirstSid",!1)}static blockName(){return"sidBlock"}fromBER(e,t,r){if(0===r)return t
if(!1===(0,n.checkBufferParams)(this,e,t,r))return-1
const i=new Uint8Array(e,t,r)
this.valueHex=new ArrayBuffer(r)
let s=new Uint8Array(this.valueHex)
for(let n=0;n<r&&(s[n]=127&i[n],this.blockLength++,128&i[n]);n++);const o=new ArrayBuffer(this.blockLength),a=new Uint8Array(o)
for(let n=0;n<this.blockLength;n++)a[n]=s[n]
return this.valueHex=o.slice(0),s=new Uint8Array(this.valueHex),128&i[this.blockLength-1]?(this.error="End of input reached before message was fully decoded",-1):(0===s[0]&&this.warnings.push("Needlessly long format of SID encoding"),this.blockLength<=8?this.valueDec=(0,n.utilFromBase)(s,7):(this.isHexOnly=!0,this.warnings.push("Too big SID for decoding, hex only")),t+this.blockLength)}set valueBigInt(e){i()
let t=BigInt(e).toString(2)
for(;t.length%7;)t="0"+t
const r=new Uint8Array(t.length/7)
for(let n=0;n<r.length;n++)r[n]=parseInt(t.slice(7*n,7*n+7),2)+(n+1<r.length?128:0)
this.fromBER(r.buffer,0,r.length)}toBER(e=!1){let t,r
if(this.isHexOnly){if(!0===e)return new ArrayBuffer(this.valueHex.byteLength)
const n=new Uint8Array(this.valueHex)
t=new ArrayBuffer(this.blockLength),r=new Uint8Array(t)
for(let e=0;e<this.blockLength-1;e++)r[e]=128|n[e]
return r[this.blockLength-1]=n[this.blockLength-1],t}const i=(0,n.utilToBase)(this.valueDec,7)
if(0===i.byteLength)return this.error="Error during encoding SID value",_
if(t=new ArrayBuffer(i.byteLength),!1===e){const e=new Uint8Array(i)
r=new Uint8Array(t)
for(let t=0;t<i.byteLength-1;t++)r[t]=128|e[t]
r[i.byteLength-1]=e[i.byteLength-1]}return t}toString(){let e=""
if(!0===this.isHexOnly)e=(0,n.bufferToHexCodes)(this.valueHex,0,this.valueHex.byteLength)
else if(this.isFirstSid){let t=this.valueDec
this.valueDec<=39?e="0.":this.valueDec<=79?(e="1.",t-=40):(e="2.",t-=80),e+=t.toString()}else e=this.valueDec.toString()
return e}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.valueDec=this.valueDec,e.isFirstSid=this.isFirstSid,e}}class Q extends I{constructor(e={}){super(e),this.fromString((0,n.getParametersValue)(e,b,N))}fromBER(e,t,r){let n=t
for(;r>0;){const t=new X
if(n=t.fromBER(e,n,r),-1===n)return this.blockLength=0,this.error=t.error,n
0===this.value.length&&(t.isFirstSid=!0),this.blockLength+=t.blockLength,r-=t.blockLength,this.value.push(t)}return n}toBER(e=!1){const t=[]
for(let r=0;r<this.value.length;r++){const n=this.value[r].toBER(e)
if(0===n.byteLength)return this.error=this.value[r].error,_
t.push(n)}return o(t)}fromString(e){this.value=[]
let t=0,r=0,n="",s=!1
do{if(r=e.indexOf(".",t),n=-1===r?e.substr(t):e.substr(t,r-t),t=r+1,s){const e=this.value[0]
let t=0
switch(e.valueDec){case 0:break
case 1:t=40
break
case 2:t=80
break
default:return this.value=[],!1}const r=parseInt(n,10)
if(isNaN(r))return!0
e.valueDec=r+t,s=!1}else{const e=new X
if(n>Number.MAX_SAFE_INTEGER){i()
const t=BigInt(n)
e.valueBigInt=t}else if(e.valueDec=parseInt(n,10),isNaN(e.valueDec))return!0
0===this.value.length&&(e.isFirstSid=!0,s=!0),this.value.push(e)}}while(-1!==r)
return!0}toString(){let e="",t=!1
for(let r=0;r<this.value.length;r++){t=this.value[r].isHexOnly
let n=this.value[r].toString()
0!==r&&(e=`${e}.`),t?(n=`{${n}}`,this.value[r].isFirstSid?e=`2.{${n} - 80}`:e+=n):e+=n}return e}static blockName(){return"ObjectIdentifierValueBlock"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}e.value=this.toString(),e.sidArray=[]
for(let t=0;t<this.value.length;t++)e.sidArray.push(this.value[t].toJSON())
return e}}class ee extends j{constructor(e={}){super(e,Q),this.idBlock.tagClass=1,this.idBlock.tagNumber=6}static blockName(){return"OBJECT IDENTIFIER"}toString(){return`${this.constructor.blockName()} : ${this.valueBlock.toString()}`}}class te extends(O(A)){constructor(e={}){super(e),this.isHexOnly=!0,this.value=""}static blockName(){return"Utf8StringValueBlock"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.value=this.value,e}}class re extends j{constructor(e={}){super(e,te),b in e&&this.fromString(e.value),this.idBlock.tagClass=1,this.idBlock.tagNumber=12}static blockName(){return"UTF8String"}fromBER(e,t,r){const n=this.valueBlock.fromBER(e,t,!0===this.lenBlock.isIndefiniteForm?r:this.lenBlock.length)
return-1===n?(this.error=this.valueBlock.error,n):(this.fromBuffer(this.valueBlock.valueHex),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),n)}fromBuffer(e){this.valueBlock.value=String.fromCharCode.apply(null,new Uint8Array(e))
try{this.valueBlock.value=decodeURIComponent(escape(this.valueBlock.value))}catch(e){this.warnings.push(`Error during "decodeURIComponent": ${e}, using raw string`)}}fromString(e){const t=unescape(encodeURIComponent(e)),r=t.length
this.valueBlock.valueHex=new ArrayBuffer(r)
const n=new Uint8Array(this.valueBlock.valueHex)
for(let i=0;i<r;i++)n[i]=t.charCodeAt(i)
this.valueBlock.value=e}toString(){return`${this.constructor.blockName()} : ${this.valueBlock.value}`}}class ne extends(O(A)){constructor(e={}){super(e),this.valueDec=(0,n.getParametersValue)(e,E,-1)}static blockName(){return"relativeSidBlock"}fromBER(e,t,r){if(0===r)return t
if(!1===(0,n.checkBufferParams)(this,e,t,r))return-1
const i=new Uint8Array(e,t,r)
this.valueHex=new ArrayBuffer(r)
let s=new Uint8Array(this.valueHex)
for(let n=0;n<r&&(s[n]=127&i[n],this.blockLength++,128&i[n]);n++);const o=new ArrayBuffer(this.blockLength),a=new Uint8Array(o)
for(let n=0;n<this.blockLength;n++)a[n]=s[n]
return this.valueHex=o.slice(0),s=new Uint8Array(this.valueHex),128&i[this.blockLength-1]?(this.error="End of input reached before message was fully decoded",-1):(0===s[0]&&this.warnings.push("Needlessly long format of SID encoding"),this.blockLength<=8?this.valueDec=(0,n.utilFromBase)(s,7):(this.isHexOnly=!0,this.warnings.push("Too big SID for decoding, hex only")),t+this.blockLength)}toBER(e=!1){let t,r
if(this.isHexOnly){if(!0===e)return new ArrayBuffer(this.valueHex.byteLength)
const n=new Uint8Array(this.valueHex)
t=new ArrayBuffer(this.blockLength),r=new Uint8Array(t)
for(let e=0;e<this.blockLength-1;e++)r[e]=128|n[e]
return r[this.blockLength-1]=n[this.blockLength-1],t}const i=(0,n.utilToBase)(this.valueDec,7)
if(0===i.byteLength)return this.error="Error during encoding SID value",_
if(t=new ArrayBuffer(i.byteLength),!1===e){const e=new Uint8Array(i)
r=new Uint8Array(t)
for(let t=0;t<i.byteLength-1;t++)r[t]=128|e[t]
r[i.byteLength-1]=e[i.byteLength-1]}return t}toString(){let e=""
return e=!0===this.isHexOnly?(0,n.bufferToHexCodes)(this.valueHex,0,this.valueHex.byteLength):this.valueDec.toString(),e}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.valueDec=this.valueDec,e}}class ie extends I{constructor(e={}){super(e),this.fromString((0,n.getParametersValue)(e,b,N))}fromBER(e,t,r){let n=t
for(;r>0;){const t=new ne
if(n=t.fromBER(e,n,r),-1===n)return this.blockLength=0,this.error=t.error,n
this.blockLength+=t.blockLength,r-=t.blockLength,this.value.push(t)}return n}toBER(e=!1){let t=[]
for(let r=0;r<this.value.length;r++){const n=this.value[r].toBER(e)
if(0===n.byteLength)return this.error=this.value[r].error,_
t.push(n)}return o(t)}fromString(e){this.value=[]
let t=0,r=0,n=""
do{r=e.indexOf(".",t),n=-1===r?e.substr(t):e.substr(t,r-t),t=r+1
const i=new ne
if(i.valueDec=parseInt(n,10),isNaN(i.valueDec))return!0
this.value.push(i)}while(-1!==r)
return!0}toString(){let e="",t=!1
for(let r=0;r<this.value.length;r++){t=this.value[r].isHexOnly
let n=this.value[r].toString()
0!==r&&(e=`${e}.`),t?(n=`{${n}}`,e+=n):e+=n}return e}static blockName(){return"RelativeObjectIdentifierValueBlock"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}e.value=this.toString(),e.sidArray=[]
for(let t=0;t<this.value.length;t++)e.sidArray.push(this.value[t].toJSON())
return e}}class se extends j{constructor(e={}){super(e,ie),this.idBlock.tagClass=1,this.idBlock.tagNumber=13}static blockName(){return"RelativeObjectIdentifier"}}class oe extends(O(A)){constructor(e={}){super(e),this.isHexOnly=!0,this.value=""}static blockName(){return"BmpStringValueBlock"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.value=this.value,e}}class ae extends j{constructor(e={}){super(e,oe),b in e&&this.fromString(e.value),this.idBlock.tagClass=1,this.idBlock.tagNumber=30}static blockName(){return"BMPString"}fromBER(e,t,r){const n=this.valueBlock.fromBER(e,t,!0===this.lenBlock.isIndefiniteForm?r:this.lenBlock.length)
return-1===n?(this.error=this.valueBlock.error,n):(this.fromBuffer(this.valueBlock.valueHex),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),n)}fromBuffer(e){const t=e.slice(0),r=new Uint8Array(t)
for(let n=0;n<r.length;n+=2){const e=r[n]
r[n]=r[n+1],r[n+1]=e}this.valueBlock.value=String.fromCharCode.apply(null,new Uint16Array(t))}fromString(e){const t=e.length
this.valueBlock.valueHex=new ArrayBuffer(2*t)
const r=new Uint8Array(this.valueBlock.valueHex)
for(let i=0;i<t;i++){const t=(0,n.utilToBase)(e.charCodeAt(i),8),s=new Uint8Array(t)
if(s.length>2)continue
const o=2-s.length
for(let e=s.length-1;e>=0;e--)r[2*i+e+o]=s[e]}this.valueBlock.value=e}toString(){return`${this.constructor.blockName()} : ${this.valueBlock.value}`}}class le extends(O(A)){constructor(e={}){super(e),this.isHexOnly=!0,this.value=""}static blockName(){return"UniversalStringValueBlock"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.value=this.value,e}}class ce extends j{constructor(e={}){super(e,le),b in e&&this.fromString(e.value),this.idBlock.tagClass=1,this.idBlock.tagNumber=28}static blockName(){return"UniversalString"}fromBER(e,t,r){const n=this.valueBlock.fromBER(e,t,!0===this.lenBlock.isIndefiniteForm?r:this.lenBlock.length)
return-1===n?(this.error=this.valueBlock.error,n):(this.fromBuffer(this.valueBlock.valueHex),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),n)}fromBuffer(e){const t=e.slice(0),r=new Uint8Array(t)
for(let n=0;n<r.length;n+=4)r[n]=r[n+3],r[n+1]=r[n+2],r[n+2]=0,r[n+3]=0
this.valueBlock.value=String.fromCharCode.apply(null,new Uint32Array(t))}fromString(e){const t=e.length
this.valueBlock.valueHex=new ArrayBuffer(4*t)
const r=new Uint8Array(this.valueBlock.valueHex)
for(let i=0;i<t;i++){const t=(0,n.utilToBase)(e.charCodeAt(i),8),s=new Uint8Array(t)
if(s.length>4)continue
const o=4-s.length
for(let e=s.length-1;e>=0;e--)r[4*i+e+o]=s[e]}this.valueBlock.value=e}toString(){return`${this.constructor.blockName()} : ${this.valueBlock.value}`}}class ue extends(O(A)){constructor(e={}){super(e),this.value="",this.isHexOnly=!0}static blockName(){return"SimpleStringValueBlock"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.value=this.value,e}}class he extends j{constructor(e={}){super(e,ue),b in e&&this.fromString(e.value)}static blockName(){return"SIMPLESTRING"}fromBER(e,t,r){const n=this.valueBlock.fromBER(e,t,!0===this.lenBlock.isIndefiniteForm?r:this.lenBlock.length)
return-1===n?(this.error=this.valueBlock.error,n):(this.fromBuffer(this.valueBlock.valueHex),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),n)}fromBuffer(e){this.valueBlock.value=String.fromCharCode.apply(null,new Uint8Array(e))}fromString(e){const t=e.length
this.valueBlock.valueHex=new ArrayBuffer(t)
const r=new Uint8Array(this.valueBlock.valueHex)
for(let n=0;n<t;n++)r[n]=e.charCodeAt(n)
this.valueBlock.value=e}toString(){return`${this.constructor.blockName()} : ${this.valueBlock.value}`}}class de extends he{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=18}static blockName(){return"NumericString"}}class pe extends he{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=19}static blockName(){return"PrintableString"}}class fe extends he{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=20}static blockName(){return"TeletexString"}}class me extends he{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=21}static blockName(){return"VideotexString"}}class ge extends he{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=22}static blockName(){return"IA5String"}}class ye extends he{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=25}static blockName(){return"GraphicString"}}class ve extends he{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=26}static blockName(){return"VisibleString"}}class be extends he{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=27}static blockName(){return"GeneralString"}}class we extends he{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=29}static blockName(){return"CharacterString"}}class Se extends ve{constructor(e={}){if(super(e),this.year=0,this.month=0,this.day=0,this.hour=0,this.minute=0,this.second=0,b in e){this.fromString(e.value),this.valueBlock.valueHex=new ArrayBuffer(e.value.length)
const t=new Uint8Array(this.valueBlock.valueHex)
for(let r=0;r<e.value.length;r++)t[r]=e.value.charCodeAt(r)}w in e&&(this.fromDate(e.valueDate),this.valueBlock.valueHex=this.toBuffer()),this.idBlock.tagClass=1,this.idBlock.tagNumber=23}fromBER(e,t,r){const n=this.valueBlock.fromBER(e,t,!0===this.lenBlock.isIndefiniteForm?r:this.lenBlock.length)
return-1===n?(this.error=this.valueBlock.error,n):(this.fromBuffer(this.valueBlock.valueHex),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),n)}fromBuffer(e){this.fromString(String.fromCharCode.apply(null,new Uint8Array(e)))}toBuffer(){const e=this.toString(),t=new ArrayBuffer(e.length),r=new Uint8Array(t)
for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n)
return t}fromDate(e){this.year=e.getUTCFullYear(),this.month=e.getUTCMonth()+1,this.day=e.getUTCDate(),this.hour=e.getUTCHours(),this.minute=e.getUTCMinutes(),this.second=e.getUTCSeconds()}toDate(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second))}fromString(e){const t=/(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})Z/gi.exec(e)
if(null===t)return void(this.error="Wrong input string for conversion")
const r=parseInt(t[1],10)
this.year=r>=50?1900+r:2e3+r,this.month=parseInt(t[2],10),this.day=parseInt(t[3],10),this.hour=parseInt(t[4],10),this.minute=parseInt(t[5],10),this.second=parseInt(t[6],10)}toString(){const e=new Array(7)
return e[0]=(0,n.padNumber)(this.year<2e3?this.year-1900:this.year-2e3,2),e[1]=(0,n.padNumber)(this.month,2),e[2]=(0,n.padNumber)(this.day,2),e[3]=(0,n.padNumber)(this.hour,2),e[4]=(0,n.padNumber)(this.minute,2),e[5]=(0,n.padNumber)(this.second,2),e[6]="Z",e.join("")}static blockName(){return"UTCTime"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.year=this.year,e.month=this.month,e.day=this.day,e.hour=this.hour,e.minute=this.minute,e.second=this.second,e}}class ke extends ve{constructor(e={}){if(super(e),this.year=0,this.month=0,this.day=0,this.hour=0,this.minute=0,this.second=0,this.millisecond=0,b in e){this.fromString(e.value),this.valueBlock.valueHex=new ArrayBuffer(e.value.length)
const t=new Uint8Array(this.valueBlock.valueHex)
for(let r=0;r<e.value.length;r++)t[r]=e.value.charCodeAt(r)}w in e&&(this.fromDate(e.valueDate),this.valueBlock.valueHex=this.toBuffer()),this.idBlock.tagClass=1,this.idBlock.tagNumber=24}fromBER(e,t,r){const n=this.valueBlock.fromBER(e,t,!0===this.lenBlock.isIndefiniteForm?r:this.lenBlock.length)
return-1===n?(this.error=this.valueBlock.error,n):(this.fromBuffer(this.valueBlock.valueHex),0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),0===this.valueBlock.error.length&&(this.blockLength+=this.valueBlock.blockLength),n)}fromBuffer(e){this.fromString(String.fromCharCode.apply(null,new Uint8Array(e)))}toBuffer(){const e=this.toString(),t=new ArrayBuffer(e.length),r=new Uint8Array(t)
for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n)
return t}fromDate(e){this.year=e.getUTCFullYear(),this.month=e.getUTCMonth()+1,this.day=e.getUTCDate(),this.hour=e.getUTCHours(),this.minute=e.getUTCMinutes(),this.second=e.getUTCSeconds(),this.millisecond=e.getUTCMilliseconds()}toDate(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond))}fromString(e){let t,r=!1,n="",i="",s=0,o=0,a=0
if("Z"===e[e.length-1])n=e.substr(0,e.length-1),r=!0
else{const t=new Number(e[e.length-1])
if(isNaN(t.valueOf()))throw new Error("Wrong input string for conversion")
n=e}if(r){if(-1!==n.indexOf("+"))throw new Error("Wrong input string for conversion")
if(-1!==n.indexOf("-"))throw new Error("Wrong input string for conversion")}else{let e=1,t=n.indexOf("+"),r=""
if(-1===t&&(t=n.indexOf("-"),e=-1),-1!==t){if(r=n.substr(t+1),n=n.substr(0,t),2!==r.length&&4!==r.length)throw new Error("Wrong input string for conversion")
let i=new Number(r.substr(0,2))
if(isNaN(i.valueOf()))throw new Error("Wrong input string for conversion")
if(o=e*i,4===r.length){if(i=new Number(r.substr(2,2)),isNaN(i.valueOf()))throw new Error("Wrong input string for conversion")
a=e*i}}}let l=n.indexOf(".")
if(-1===l&&(l=n.indexOf(",")),-1!==l){const e=new Number(`0${n.substr(l)}`)
if(isNaN(e.valueOf()))throw new Error("Wrong input string for conversion")
s=e.valueOf(),i=n.substr(0,l)}else i=n
switch(!0){case 8===i.length:if(t=/(\d{4})(\d{2})(\d{2})/gi,-1!==l)throw new Error("Wrong input string for conversion")
break
case 10===i.length:if(t=/(\d{4})(\d{2})(\d{2})(\d{2})/gi,-1!==l){let e=60*s
this.minute=Math.floor(e),e=60*(e-this.minute),this.second=Math.floor(e),e=1e3*(e-this.second),this.millisecond=Math.floor(e)}break
case 12===i.length:if(t=/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})/gi,-1!==l){let e=60*s
this.second=Math.floor(e),e=1e3*(e-this.second),this.millisecond=Math.floor(e)}break
case 14===i.length:if(t=/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})/gi,-1!==l){const e=1e3*s
this.millisecond=Math.floor(e)}break
default:throw new Error("Wrong input string for conversion")}const c=t.exec(i)
if(null===c)throw new Error("Wrong input string for conversion")
for(let u=1;u<c.length;u++)switch(u){case 1:this.year=parseInt(c[u],10)
break
case 2:this.month=parseInt(c[u],10)
break
case 3:this.day=parseInt(c[u],10)
break
case 4:this.hour=parseInt(c[u],10)+o
break
case 5:this.minute=parseInt(c[u],10)+a
break
case 6:this.second=parseInt(c[u],10)
break
default:throw new Error("Wrong input string for conversion")}if(!1===r){const e=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)
this.year=e.getUTCFullYear(),this.month=e.getUTCMonth(),this.day=e.getUTCDay(),this.hour=e.getUTCHours(),this.minute=e.getUTCMinutes(),this.second=e.getUTCSeconds(),this.millisecond=e.getUTCMilliseconds()}}toString(){const e=[]
return e.push((0,n.padNumber)(this.year,4)),e.push((0,n.padNumber)(this.month,2)),e.push((0,n.padNumber)(this.day,2)),e.push((0,n.padNumber)(this.hour,2)),e.push((0,n.padNumber)(this.minute,2)),e.push((0,n.padNumber)(this.second,2)),0!==this.millisecond&&(e.push("."),e.push((0,n.padNumber)(this.millisecond,3))),e.push("Z"),e.join("")}static blockName(){return"GeneralizedTime"}toJSON(){let e={}
try{e=super.toJSON()}catch(e){}return e.year=this.year,e.month=this.month,e.day=this.day,e.hour=this.hour,e.minute=this.minute,e.second=this.second,e.millisecond=this.millisecond,e}}class xe extends re{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=31}static blockName(){return"DATE"}}class Ee extends re{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=32}static blockName(){return"TimeOfDay"}}class Ne extends re{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=33}static blockName(){return"DateTime"}}class _e extends re{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=34}static blockName(){return"Duration"}}class Ce extends re{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=14}static blockName(){return"TIME"}}class Ae{constructor(e={}){this.value=(0,n.getParametersValue)(e,b,[]),this.optional=(0,n.getParametersValue)(e,y,!1)}}class Oe{constructor(e={}){this.name=(0,n.getParametersValue)(e,c,N),this.optional=(0,n.getParametersValue)(e,y,!1)}}class Pe{constructor(e={}){this.name=(0,n.getParametersValue)(e,c,N),this.optional=(0,n.getParametersValue)(e,y,!1),this.value=(0,n.getParametersValue)(e,b,new Oe),this.local=(0,n.getParametersValue)(e,x,!1)}}class Te{constructor(e={}){this.data=(0,n.getParametersValue)(e,"data",_)}fromBER(e,t,r){return this.data=e.slice(t,r),t+r}toBER(e=!1){return this.data}}function Ie(e,t,r){const i=t
let s=new j({},Object)
const o=new A
if(!1===(0,n.checkBufferParams)(o,e,t,r))return s.error=o.error,{offset:-1,result:s}
if(0===new Uint8Array(e,t,r).length)return s.error="Zero buffer length",{offset:-1,result:s}
let a=s.idBlock.fromBER(e,t,r)
if(s.warnings.concat(s.idBlock.warnings),-1===a)return s.error=s.idBlock.error,{offset:-1,result:s}
if(t=a,r-=s.idBlock.blockLength,a=s.lenBlock.fromBER(e,t,r),s.warnings.concat(s.lenBlock.warnings),-1===a)return s.error=s.lenBlock.error,{offset:-1,result:s}
if(t=a,r-=s.lenBlock.blockLength,!1===s.idBlock.isConstructed&&!0===s.lenBlock.isIndefiniteForm)return s.error="Indefinite length form used for primitive encoding form",{offset:-1,result:s}
let l=j
if(1===s.idBlock.tagClass){if(s.idBlock.tagNumber>=37&&!1===s.idBlock.isHexOnly)return s.error="UNIVERSAL 37 and upper tags are reserved by ASN.1 standard",{offset:-1,result:s}
switch(s.idBlock.tagNumber){case 0:if(!0===s.idBlock.isConstructed&&s.lenBlock.length>0)return s.error="Type [UNIVERSAL 0] is reserved",{offset:-1,result:s}
l=z
break
case 1:l=V
break
case 2:l=G
break
case 3:l=Z
break
case 4:l=W
break
case 5:l=H
break
case 6:l=ee
break
case 10:l=Y
break
case 12:l=re
break
case 13:l=se
break
case 14:l=Ce
break
case 15:return s.error="[UNIVERSAL 15] is reserved by ASN.1 standard",{offset:-1,result:s}
case 16:l=$
break
case 17:l=U
break
case 18:l=de
break
case 19:l=pe
break
case 20:l=fe
break
case 21:l=me
break
case 22:l=ge
break
case 23:l=Se
break
case 24:l=ke
break
case 25:l=ye
break
case 26:l=ve
break
case 27:l=be
break
case 28:l=ce
break
case 29:l=we
break
case 30:l=ae
break
case 31:l=xe
break
case 32:l=Ee
break
case 33:l=Ne
break
case 34:l=_e
break
default:{let e
e=!0===s.idBlock.isConstructed?new R:new M,e.idBlock=s.idBlock,e.lenBlock=s.lenBlock,e.warnings=s.warnings,s=e}}}else l=!0===s.idBlock.isConstructed?R:M
return s=function(e,t){if(e instanceof t)return e
const r=new t
return r.idBlock=e.idBlock,r.lenBlock=e.lenBlock,r.warnings=e.warnings,r.valueBeforeDecode=e.valueBeforeDecode.slice(0),r}(s,l),a=s.fromBER(e,t,!0===s.lenBlock.isIndefiniteForm?r:s.lenBlock.length),s.valueBeforeDecode=e.slice(i,i+s.blockLength),{offset:a,result:s}}function je(e){if(0===e.byteLength){const e=new j({},Object)
return e.error="Input buffer has zero length",{offset:-1,result:e}}return Ie(e,0,e.byteLength)}function De(e,t,r){if(r instanceof Ae){const n=!1
for(let i=0;i<r.value.length;i++)if(!0===De(e,t,r.value[i]).verified)return{verified:!0,result:e}
if(!1===n){const e={verified:!1,result:{error:"Wrong values for Choice type"}}
return r.hasOwnProperty(c)&&(e.name=r.name),e}}if(r instanceof Oe)return r.hasOwnProperty(c)&&(e[r.name]=t),{verified:!0,result:e}
if(e instanceof Object==0)return{verified:!1,result:{error:"Wrong root object"}}
if(t instanceof Object==0)return{verified:!1,result:{error:"Wrong ASN.1 data"}}
if(r instanceof Object==0)return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if(d in r==0)return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if(S in r.idBlock==0)return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if(k in r.idBlock==0)return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
const n=r.idBlock.toBER(!1)
if(0===n.byteLength)return{verified:!1,result:{error:"Error encoding idBlock for ASN.1 schema"}}
if(-1===r.idBlock.fromBER(n,0,n.byteLength))return{verified:!1,result:{error:"Error decoding idBlock for ASN.1 schema"}}
if(!1===r.idBlock.hasOwnProperty(p))return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if(r.idBlock.tagClass!==t.idBlock.tagClass)return{verified:!1,result:e}
if(!1===r.idBlock.hasOwnProperty(f))return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if(r.idBlock.tagNumber!==t.idBlock.tagNumber)return{verified:!1,result:e}
if(!1===r.idBlock.hasOwnProperty(m))return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if(r.idBlock.isConstructed!==t.idBlock.isConstructed)return{verified:!1,result:e}
if(h in r.idBlock==0)return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if(r.idBlock.isHexOnly!==t.idBlock.isHexOnly)return{verified:!1,result:e}
if(!0===r.idBlock.isHexOnly){if(u in r.idBlock==0)return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
const n=new Uint8Array(r.idBlock.valueHex),i=new Uint8Array(t.idBlock.valueHex)
if(n.length!==i.length)return{verified:!1,result:e}
for(let t=0;t<n.length;t++)if(n[t]!==i[1])return{verified:!1,result:e}}if(r.hasOwnProperty(c)&&(r.name=r.name.replace(/^\s+|\s+$/g,N),""!==r.name&&(e[r.name]=t)),!0===r.idBlock.isConstructed){let n=0,i={verified:!1},s=r.valueBlock.value.length
if(s>0&&r.valueBlock.value[0]instanceof Pe&&(s=t.valueBlock.value.length),0===s)return{verified:!0,result:e}
if(0===t.valueBlock.value.length&&0!==r.valueBlock.value.length){let t=!0
for(let e=0;e<r.valueBlock.value.length;e++)t=t&&(r.valueBlock.value[e].optional||!1)
return!0===t?{verified:!0,result:e}:(r.hasOwnProperty(c)&&(r.name=r.name.replace(/^\s+|\s+$/g,N),""!==r.name&&delete e[r.name]),e.error="Inconsistent object length",{verified:!1,result:e})}for(let o=0;o<s;o++)if(o-n>=t.valueBlock.value.length){if(!1===r.valueBlock.value[o].optional){const t={verified:!1,result:e}
return e.error="Inconsistent length between ASN.1 data and schema",r.hasOwnProperty(c)&&(r.name=r.name.replace(/^\s+|\s+$/g,N),""!==r.name&&(delete e[r.name],t.name=r.name)),t}}else if(r.valueBlock.value[0]instanceof Pe){if(i=De(e,t.valueBlock.value[o],r.valueBlock.value[0].value),!1===i.verified){if(!0!==r.valueBlock.value[0].optional)return r.hasOwnProperty(c)&&(r.name=r.name.replace(/^\s+|\s+$/g,N),""!==r.name&&delete e[r.name]),i
n++}if(c in r.valueBlock.value[0]&&r.valueBlock.value[0].name.length>0){let n={}
n=x in r.valueBlock.value[0]&&!0===r.valueBlock.value[0].local?t:e,void 0===n[r.valueBlock.value[0].name]&&(n[r.valueBlock.value[0].name]=[]),n[r.valueBlock.value[0].name].push(t.valueBlock.value[o])}}else if(i=De(e,t.valueBlock.value[o-n],r.valueBlock.value[o]),!1===i.verified){if(!0!==r.valueBlock.value[o].optional)return r.hasOwnProperty(c)&&(r.name=r.name.replace(/^\s+|\s+$/g,N),""!==r.name&&delete e[r.name]),i
n++}if(!1===i.verified){const t={verified:!1,result:e}
return r.hasOwnProperty(c)&&(r.name=r.name.replace(/^\s+|\s+$/g,N),""!==r.name&&(delete e[r.name],t.name=r.name)),t}return{verified:!0,result:e}}if(v in r&&u in t.valueBlock){const n=je(t.valueBlock.valueHex)
if(-1===n.offset){const t={verified:!1,result:n.result}
return r.hasOwnProperty(c)&&(r.name=r.name.replace(/^\s+|\s+$/g,N),""!==r.name&&(delete e[r.name],t.name=r.name)),t}return De(e,n.result,r.primitiveSchema)}return{verified:!0,result:e}}function Me(e,t){if(t instanceof Object==0)return{verified:!1,result:{error:"Wrong ASN.1 schema type"}}
const r=je(e)
return-1===r.offset?{verified:!1,result:r.result}:De(r.result,r.result,t)}function Be(e){}},79584:function(e,t){var r,n
r=function(e,t){"use strict"
var r,n,i="function"==typeof Map?new Map:(r=[],n=[],{has:function(e){return r.indexOf(e)>-1},get:function(e){return n[r.indexOf(e)]},set:function(e,t){-1===r.indexOf(e)&&(r.push(e),n.push(t))},delete:function(e){var t=r.indexOf(e)
t>-1&&(r.splice(t,1),n.splice(t,1))}}),s=function(e){return new Event(e,{bubbles:!0})}
try{new Event("test")}catch(e){s=function(e){var t=document.createEvent("Event")
return t.initEvent(e,!0,!1),t}}function o(e){var t=i.get(e)
t&&t.destroy()}function a(e){var t=i.get(e)
t&&t.update()}var l=null
"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((l=function(e){return e}).destroy=function(e){return e},l.update=function(e){return e}):((l=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!i.has(e)){var t=null,r=null,n=null,o=function(){e.clientWidth!==r&&h()},a=function(t){window.removeEventListener("resize",o,!1),e.removeEventListener("input",h,!1),e.removeEventListener("keyup",h,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",h,!1),Object.keys(t).forEach((function(r){e.style[r]=t[r]})),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap})
e.addEventListener("autosize:destroy",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",h,!1),window.addEventListener("resize",o,!1),e.addEventListener("input",h,!1),e.addEventListener("autosize:update",h,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:a,update:h}),"vertical"===(l=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===l.resize&&(e.style.resize="horizontal"),t="content-box"===l.boxSizing?-(parseFloat(l.paddingTop)+parseFloat(l.paddingBottom)):parseFloat(l.borderTopWidth)+parseFloat(l.borderBottomWidth),isNaN(t)&&(t=0),h()}var l
function c(t){var r=e.style.width
e.style.width="0px",e.offsetWidth,e.style.width=r,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var n=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode
return t}(e),i=document.documentElement&&document.documentElement.scrollTop
e.style.height="",e.style.height=e.scrollHeight+t+"px",r=e.clientWidth,n.forEach((function(e){e.node.scrollTop=e.scrollTop})),i&&(document.documentElement.scrollTop=i)}}function h(){u()
var t=Math.round(parseFloat(e.style.height)),r=window.getComputedStyle(e,null),i="content-box"===r.boxSizing?Math.round(parseFloat(r.height)):e.offsetHeight
if(i<t?"hidden"===r.overflowY&&(c("scroll"),u(),i="content-box"===r.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==r.overflowY&&(c("hidden"),u(),i="content-box"===r.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),n!==i){n=i
var o=s("autosize:resized")
try{e.dispatchEvent(o)}catch(e){}}}}(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],o),e},l.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],a),e}),t.default=l,e.exports=t.default},void 0===(n=r.apply(t,[e,t]))||(e.exports=n)},34919:(e,t)=>{"use strict"
t.byteLength=function(e){var t=a(e),r=t[0],n=t[1]
return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,s=a(e),o=s[0],l=s[1],c=new i(function(e,t,r){return 3*(t+r)/4-r}(0,o,l)),u=0,h=l>0?o-4:o
for(r=0;r<h;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t
return 2===l&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===l&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,s=[],o=16383,a=0,c=n-i;a<c;a+=o)s.push(l(e,a,a+o>c?c:a+o))
return 1===i?(t=e[n-1],s.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],s.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),s.join("")}
for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)r[o]=s[o],n[s.charCodeAt(o)]=o
function a(e){var t=e.length
if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4")
var r=e.indexOf("=")
return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,n){for(var i,s,o=[],a=t;a<n;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[(s=i)>>18&63]+r[s>>12&63]+r[s>>6&63]+r[63&s])
return o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},27066:(e,t,r)=>{!function(e){"use strict"
function t(t,r){clearTimeout(r.timeout),e.off(window,"mouseup",r.hurry),e.off(window,"keyup",r.hurry)}e.defineOption("autoRefresh",!1,(function(r,n){r.state.autoRefresh&&(t(0,r.state.autoRefresh),r.state.autoRefresh=null),n&&0==r.display.wrapper.offsetHeight&&function(r,n){function i(){r.display.wrapper.offsetHeight?(t(0,n),r.display.lastWrapHeight!=r.display.wrapper.clientHeight&&r.refresh()):n.timeout=setTimeout(i,n.delay)}n.timeout=setTimeout(i,n.delay),n.hurry=function(){clearTimeout(n.timeout),n.timeout=setTimeout(i,50)},e.on(window,"mouseup",n.hurry),e.on(window,"keyup",n.hurry)}(r,r.state.autoRefresh={delay:n.delay||250})}))}(r(79074))},89147:(e,t,r)=>{!function(e){var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),r=e.Pos,n={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"}
function i(e){return e&&e.bracketRegex||/[(){}[\]]/}function s(e,t,s){var a=e.getLineHandle(t.line),l=t.ch-1,c=s&&s.afterCursor
null==c&&(c=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className))
var u=i(s),h=!c&&l>=0&&u.test(a.text.charAt(l))&&n[a.text.charAt(l)]||u.test(a.text.charAt(l+1))&&n[a.text.charAt(++l)]
if(!h)return null
var d=">"==h.charAt(1)?1:-1
if(s&&s.strict&&d>0!=(l==t.ch))return null
var p=e.getTokenTypeAt(r(t.line,l+1)),f=o(e,r(t.line,l+(d>0?1:0)),d,p,s)
return null==f?null:{from:r(t.line,l),to:f&&f.pos,match:f&&f.ch==h.charAt(0),forward:d>0}}function o(e,t,s,o,a){for(var l=a&&a.maxScanLineLength||1e4,c=a&&a.maxScanLines||1e3,u=[],h=i(a),d=s>0?Math.min(t.line+c,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-c),p=t.line;p!=d;p+=s){var f=e.getLine(p)
if(f){var m=s>0?0:f.length-1,g=s>0?f.length:-1
if(!(f.length>l))for(p==t.line&&(m=t.ch-(s<0?1:0));m!=g;m+=s){var y=f.charAt(m)
if(h.test(y)&&(void 0===o||(e.getTokenTypeAt(r(p,m+1))||"")==(o||""))){var v=n[y]
if(v&&">"==v.charAt(1)==s>0)u.push(y)
else{if(!u.length)return{pos:r(p,m),ch:y}
u.pop()}}}}}return p-s!=(s>0?e.lastLine():e.firstLine())&&null}function a(e,n,i){for(var o=e.state.matchBrackets.maxHighlightLineLength||1e3,a=i&&i.highlightNonMatching,l=[],c=e.listSelections(),u=0;u<c.length;u++){var h=c[u].empty()&&s(e,c[u].head,i)
if(h&&(h.match||!1!==a)&&e.getLine(h.from.line).length<=o){var d=h.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket"
l.push(e.markText(h.from,r(h.from.line,h.from.ch+1),{className:d})),h.to&&e.getLine(h.to.line).length<=o&&l.push(e.markText(h.to,r(h.to.line,h.to.ch+1),{className:d}))}}if(l.length){t&&e.state.focused&&e.focus()
var p=function(){e.operation((function(){for(var e=0;e<l.length;e++)l[e].clear()}))}
if(!n)return p
setTimeout(p,800)}}function l(e){e.operation((function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=a(e,!1,e.state.matchBrackets)}))}function c(e){e.state.matchBrackets&&e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null)}e.defineOption("matchBrackets",!1,(function(t,r,n){n&&n!=e.Init&&(t.off("cursorActivity",l),t.off("focus",l),t.off("blur",c),c(t)),r&&(t.state.matchBrackets="object"==typeof r?r:{},t.on("cursorActivity",l),t.on("focus",l),t.on("blur",c))})),e.defineExtension("matchBrackets",(function(){a(this,!0)})),e.defineExtension("findMatchingBracket",(function(e,t,r){return(r||"boolean"==typeof t)&&(r?(r.strict=t,t=r):t=t?{strict:!0}:null),s(this,e,t)})),e.defineExtension("scanForBracket",(function(e,t,r,n){return o(this,e,t,r,n)}))}(r(79074))},39295:(e,t,r)=>{!function(e){"use strict"
e.registerHelper("lint","json",(function(t){var r=[]
if(!window.jsonlint)return window.console&&window.console.error("Error: window.jsonlint not defined, CodeMirror JSON linting cannot run."),r
var n=window.jsonlint.parser||window.jsonlint
n.parseError=function(t,n){var i=n.loc
r.push({from:e.Pos(i.first_line-1,i.first_column),to:e.Pos(i.last_line-1,i.last_column),message:t})}
try{n.parse(t)}catch(e){}return r}))}(r(79074))},69946:(e,t,r)=>{!function(e){"use strict"
var t="CodeMirror-lint-markers",r="CodeMirror-lint-line-"
function n(e){e.parentNode&&e.parentNode.removeChild(e)}function i(t,r,i,s){var o=function(t,r,n){var i=document.createElement("div")
function s(t){if(!i.parentNode)return e.off(document,"mousemove",s)
var r=Math.max(0,t.clientY-i.offsetHeight-5),n=Math.max(0,Math.min(t.clientX+5,i.ownerDocument.defaultView.innerWidth-i.offsetWidth))
i.style.top=r+"px",i.style.left=n+"px"}return i.className="CodeMirror-lint-tooltip cm-s-"+t.options.theme,i.appendChild(n.cloneNode(!0)),t.state.lint.options.selfContain?t.getWrapperElement().appendChild(i):document.body.appendChild(i),e.on(document,"mousemove",s),s(r),null!=i.style.opacity&&(i.style.opacity=1),i}(t,r,i)
function a(){var t
e.off(s,"mouseout",a),o&&((t=o).parentNode&&(null==t.style.opacity&&n(t),t.style.opacity=0,setTimeout((function(){n(t)}),600)),o=null)}var l=setInterval((function(){if(o)for(var e=s;;e=e.parentNode){if(e&&11==e.nodeType&&(e=e.host),e==document.body)return
if(!e){a()
break}}if(!o)return clearInterval(l)}),400)
e.on(s,"mouseout",a)}function s(e,t,r){for(var n in this.marked=[],t instanceof Function&&(t={getAnnotations:t}),t&&!0!==t||(t={}),this.options={},this.linterOptions=t.options||{},o)this.options[n]=o[n]
for(var n in t)o.hasOwnProperty(n)?null!=t[n]&&(this.options[n]=t[n]):t.options||(this.linterOptions[n]=t[n])
this.timeout=null,this.hasGutter=r,this.onMouseOver=function(t){!function(e,t){var r=t.target||t.srcElement
if(/\bCodeMirror-lint-mark-/.test(r.className)){for(var n=r.getBoundingClientRect(),s=(n.left+n.right)/2,o=(n.top+n.bottom)/2,a=e.findMarksAt(e.coordsChar({left:s,top:o},"client")),l=[],u=0;u<a.length;++u){var h=a[u].__annotation
h&&l.push(h)}l.length&&function(e,t,r){for(var n=r.target||r.srcElement,s=document.createDocumentFragment(),o=0;o<t.length;o++){var a=t[o]
s.appendChild(c(a))}i(e,r,s,n)}(e,l,t)}}(e,t)},this.waitingFor=0}var o={highlightLines:!1,tooltips:!0,delay:500,lintOnChange:!0,getAnnotations:null,async:!1,selfContain:null,formatAnnotation:null,onUpdateLinting:null}
function a(e){var r=e.state.lint
r.hasGutter&&e.clearGutter(t),r.options.highlightLines&&function(e){e.eachLine((function(t){var r=t.wrapClass&&/\bCodeMirror-lint-line-\w+\b/.exec(t.wrapClass)
r&&e.removeLineClass(t,"wrap",r[0])}))}(e)
for(var n=0;n<r.marked.length;++n)r.marked[n].clear()
r.marked.length=0}function l(t,r,n,s,o){var a=document.createElement("div"),l=a
return a.className="CodeMirror-lint-marker CodeMirror-lint-marker-"+n,s&&((l=a.appendChild(document.createElement("div"))).className="CodeMirror-lint-marker CodeMirror-lint-marker-multiple"),0!=o&&e.on(l,"mouseover",(function(e){i(t,e,r,l)})),a}function c(e){var t=e.severity
t||(t="error")
var r=document.createElement("div")
return r.className="CodeMirror-lint-message CodeMirror-lint-message-"+t,void 0!==e.messageHTML?r.innerHTML=e.messageHTML:r.appendChild(document.createTextNode(e.message)),r}function u(t){var r=t.state.lint
if(r){var n=r.options,i=n.getAnnotations||t.getHelper(e.Pos(0,0),"lint")
if(i)if(n.async||i.async)!function(t,r){var n=t.state.lint,i=++n.waitingFor
function s(){i=-1,t.off("change",s)}t.on("change",s),r(t.getValue(),(function(r,o){t.off("change",s),n.waitingFor==i&&(o&&r instanceof e&&(r=o),t.operation((function(){h(t,r)})))}),n.linterOptions,t)}(t,i)
else{var s=i(t.getValue(),r.linterOptions,t)
if(!s)return
s.then?s.then((function(e){t.operation((function(){h(t,e)}))})):t.operation((function(){h(t,s)}))}}}function h(e,n){var i,s=e.state.lint
if(s){var o=s.options
a(e)
for(var u=function(e){for(var t=[],r=0;r<e.length;++r){var n=e[r],i=n.from.line;(t[i]||(t[i]=[])).push(n)}return t}(n),h=0;h<u.length;++h){var d=u[h]
if(d){for(var p=null,f=s.hasGutter&&document.createDocumentFragment(),m=0;m<d.length;++m){var g=d[m],y=g.severity
y||(y="error"),p="error"==(i=p)?i:y,o.formatAnnotation&&(g=o.formatAnnotation(g)),s.hasGutter&&f.appendChild(c(g)),g.to&&s.marked.push(e.markText(g.from,g.to,{className:"CodeMirror-lint-mark CodeMirror-lint-mark-"+y,__annotation:g}))}s.hasGutter&&e.setGutterMarker(h,t,l(e,f,p,d.length>1,o.tooltips)),o.highlightLines&&e.addLineClass(h,"wrap",r+p)}}o.onUpdateLinting&&o.onUpdateLinting(n,u,e)}}function d(e){var t=e.state.lint
t&&(clearTimeout(t.timeout),t.timeout=setTimeout((function(){u(e)}),t.options.delay))}e.defineOption("lint",!1,(function(r,n,i){if(i&&i!=e.Init&&(a(r),!1!==r.state.lint.options.lintOnChange&&r.off("change",d),e.off(r.getWrapperElement(),"mouseover",r.state.lint.onMouseOver),clearTimeout(r.state.lint.timeout),delete r.state.lint),n){for(var o=r.getOption("gutters"),l=!1,c=0;c<o.length;++c)o[c]==t&&(l=!0)
var h=r.state.lint=new s(r,n,l)
h.options.lintOnChange&&r.on("change",d),0!=h.options.tooltips&&"gutter"!=h.options.tooltips&&e.on(r.getWrapperElement(),"mouseover",h.onMouseOver),u(r)}})),e.defineExtension("performLint",(function(){u(this)}))}(r(79074))},51525:(e,t,r)=>{!function(e){"use strict"
var t="CodeMirror-activeline",r="CodeMirror-activeline-background",n="CodeMirror-activeline-gutter"
function i(e){for(var i=0;i<e.state.activeLines.length;i++)e.removeLineClass(e.state.activeLines[i],"wrap",t),e.removeLineClass(e.state.activeLines[i],"background",r),e.removeLineClass(e.state.activeLines[i],"gutter",n)}function s(e,s){for(var o=[],a=0;a<s.length;a++){var l=s[a],c=e.getOption("styleActiveLine")
if("object"==typeof c&&c.nonEmpty?l.anchor.line==l.head.line:l.empty()){var u=e.getLineHandleVisualStart(l.head.line)
o[o.length-1]!=u&&o.push(u)}}(function(e,t){if(e.length!=t.length)return!1
for(var r=0;r<e.length;r++)if(e[r]!=t[r])return!1
return!0})(e.state.activeLines,o)||e.operation((function(){i(e)
for(var s=0;s<o.length;s++)e.addLineClass(o[s],"wrap",t),e.addLineClass(o[s],"background",r),e.addLineClass(o[s],"gutter",n)
e.state.activeLines=o}))}function o(e,t){s(e,t.ranges)}e.defineOption("styleActiveLine",!1,(function(t,r,n){var a=n!=e.Init&&n
r!=a&&(a&&(t.off("beforeSelectionChange",o),i(t),delete t.state.activeLines),r&&(t.state.activeLines=[],s(t,t.listSelections()),t.on("beforeSelectionChange",o)))}))}(r(79074))},79074:function(e){e.exports=function(){"use strict"
var e=navigator.userAgent,t=navigator.platform,r=/gecko\/\d/i.test(e),n=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),s=/Edge\/(\d+)/.exec(e),o=n||i||s,a=o&&(n?document.documentMode||6:+(s||i)[1]),l=!s&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!s&&/Chrome\/(\d+)/.exec(e),h=u&&+u[1],d=/Opera\//.test(e),p=/Apple Computer/.test(navigator.vendor),f=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),m=/PhantomJS/.test(e),g=p&&(/Mobile\/\w+/.test(e)||navigator.maxTouchPoints>2),y=/Android/.test(e),v=g||y||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),b=g||/Mac/.test(t),w=/\bCrOS\b/.test(e),S=/win/i.test(t),k=d&&e.match(/Version\/(\d*\.\d*)/)
k&&(k=Number(k[1])),k&&k>=15&&(d=!1,l=!0)
var x=b&&(c||d&&(null==k||k<12.11)),E=r||o&&a>=9
function N(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var _,C=function(e,t){var r=e.className,n=N(t).exec(r)
if(n){var i=r.slice(n.index+n[0].length)
e.className=r.slice(0,n.index)+(i?n[1]+i:"")}}
function A(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild)
return e}function O(e,t){return A(e).appendChild(t)}function P(e,t,r,n){var i=document.createElement(e)
if(r&&(i.className=r),n&&(i.style.cssText=n),"string"==typeof t)i.appendChild(document.createTextNode(t))
else if(t)for(var s=0;s<t.length;++s)i.appendChild(t[s])
return i}function T(e,t,r,n){var i=P(e,t,r,n)
return i.setAttribute("role","presentation"),i}function I(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t)
do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function j(e){var t,r=e.ownerDocument||e
try{t=e.activeElement}catch(e){t=r.body||null}for(;t&&t.shadowRoot&&t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement
return t}function D(e,t){var r=e.className
N(t).test(r)||(e.className+=(r?" ":"")+t)}function M(e,t){for(var r=e.split(" "),n=0;n<r.length;n++)r[n]&&!N(r[n]).test(t)&&(t+=" "+r[n])
return t}_=document.createRange?function(e,t,r,n){var i=document.createRange()
return i.setEnd(n||e,r),i.setStart(e,t),i}:function(e,t,r){var n=document.body.createTextRange()
try{n.moveToElementText(e.parentNode)}catch(e){return n}return n.collapse(!0),n.moveEnd("character",r),n.moveStart("character",t),n}
var B=function(e){e.select()}
function R(e){return e.display.wrapper.ownerDocument}function L(e){return z(e.display.wrapper)}function z(e){return e.getRootNode?e.getRootNode():e.ownerDocument}function F(e){return R(e).defaultView}function V(e){var t=Array.prototype.slice.call(arguments,1)
return function(){return e.apply(null,t)}}function $(e,t,r){for(var n in t||(t={}),e)!e.hasOwnProperty(n)||!1===r&&t.hasOwnProperty(n)||(t[n]=e[n])
return t}function U(e,t,r,n,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length)
for(var s=n||0,o=i||0;;){var a=e.indexOf("\t",s)
if(a<0||a>=t)return o+(t-s)
o+=a-s,o+=r-o%r,s=a+1}}g?B=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:o&&(B=function(e){try{e.select()}catch(e){}})
var H=function(){this.id=null,this.f=null,this.time=0,this.handler=V(this.onTimeout,this)}
function q(e,t){for(var r=0;r<e.length;++r)if(e[r]==t)return r
return-1}H.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},H.prototype.set=function(e,t){this.f=t
var r=+new Date+e;(!this.id||r<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=r)}
var W=50,K={toString:function(){return"CodeMirror.Pass"}},Z={scroll:!1},J={origin:"*mouse"},G={origin:"+move"}
function Y(e,t,r){for(var n=0,i=0;;){var s=e.indexOf("\t",n);-1==s&&(s=e.length)
var o=s-n
if(s==e.length||i+o>=t)return n+Math.min(o,t-i)
if(i+=s-n,n=s+1,(i+=r-i%r)>=t)return n}}var X=[""]
function Q(e){for(;X.length<=e;)X.push(ee(X)+" ")
return X[e]}function ee(e){return e[e.length-1]}function te(e,t){for(var r=[],n=0;n<e.length;n++)r[n]=t(e[n],n)
return r}function re(){}function ne(e,t){var r
return Object.create?r=Object.create(e):(re.prototype=e,r=new re),t&&$(t,r),r}var ie=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/
function se(e){return/\w/.test(e)||e>""&&(e.toUpperCase()!=e.toLowerCase()||ie.test(e))}function oe(e,t){return t?!!(t.source.indexOf("\\w")>-1&&se(e))||t.test(e):se(e)}function ae(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1
return!0}var le=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/
function ce(e){return e.charCodeAt(0)>=768&&le.test(e)}function ue(e,t,r){for(;(r<0?t>0:t<e.length)&&ce(e.charAt(t));)t+=r
return t}function he(e,t,r){for(var n=t>r?-1:1;;){if(t==r)return t
var i=(t+r)/2,s=n<0?Math.ceil(i):Math.floor(i)
if(s==t)return e(s)?t:r
e(s)?r=s:t=s+n}}var de=null
function pe(e,t,r){var n
de=null
for(var i=0;i<e.length;++i){var s=e[i]
if(s.from<t&&s.to>t)return i
s.to==t&&(s.from!=s.to&&"before"==r?n=i:de=i),s.from==t&&(s.from!=s.to&&"before"!=r?n=i:de=i)}return null!=n?n:de}var fe=function(){var e=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,t=/[stwN]/,r=/[LRr]/,n=/[Lb1n]/,i=/[1n]/
function s(e,t,r){this.level=e,this.from=t,this.to=r}return function(o,a){var l,c="ltr"==a?"L":"R"
if(0==o.length||"ltr"==a&&!e.test(o))return!1
for(var u=o.length,h=[],d=0;d<u;++d)h.push((l=o.charCodeAt(d))<=247?"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN".charAt(l):1424<=l&&l<=1524?"R":1536<=l&&l<=1785?"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111".charAt(l-1536):1774<=l&&l<=2220?"r":8192<=l&&l<=8203?"w":8204==l?"b":"L")
for(var p=0,f=c;p<u;++p){var m=h[p]
"m"==m?h[p]=f:f=m}for(var g=0,y=c;g<u;++g){var v=h[g]
"1"==v&&"r"==y?h[g]="n":r.test(v)&&(y=v,"r"==v&&(h[g]="R"))}for(var b=1,w=h[0];b<u-1;++b){var S=h[b]
"+"==S&&"1"==w&&"1"==h[b+1]?h[b]="1":","!=S||w!=h[b+1]||"1"!=w&&"n"!=w||(h[b]=w),w=S}for(var k=0;k<u;++k){var x=h[k]
if(","==x)h[k]="N"
else if("%"==x){var E=void 0
for(E=k+1;E<u&&"%"==h[E];++E);for(var N=k&&"!"==h[k-1]||E<u&&"1"==h[E]?"1":"N",_=k;_<E;++_)h[_]=N
k=E-1}}for(var C=0,A=c;C<u;++C){var O=h[C]
"L"==A&&"1"==O?h[C]="L":r.test(O)&&(A=O)}for(var P=0;P<u;++P)if(t.test(h[P])){var T=void 0
for(T=P+1;T<u&&t.test(h[T]);++T);for(var I="L"==(P?h[P-1]:c),j=I==("L"==(T<u?h[T]:c))?I?"L":"R":c,D=P;D<T;++D)h[D]=j
P=T-1}for(var M,B=[],R=0;R<u;)if(n.test(h[R])){var L=R
for(++R;R<u&&n.test(h[R]);++R);B.push(new s(0,L,R))}else{var z=R,F=B.length,V="rtl"==a?1:0
for(++R;R<u&&"L"!=h[R];++R);for(var $=z;$<R;)if(i.test(h[$])){z<$&&(B.splice(F,0,new s(1,z,$)),F+=V)
var U=$
for(++$;$<R&&i.test(h[$]);++$);B.splice(F,0,new s(2,U,$)),F+=V,z=$}else++$
z<R&&B.splice(F,0,new s(1,z,R))}return"ltr"==a&&(1==B[0].level&&(M=o.match(/^\s+/))&&(B[0].from=M[0].length,B.unshift(new s(0,0,M[0].length))),1==ee(B).level&&(M=o.match(/\s+$/))&&(ee(B).to-=M[0].length,B.push(new s(0,u-M[0].length,u)))),"rtl"==a?B.reverse():B}}()
function me(e,t){var r=e.order
return null==r&&(r=e.order=fe(e.text,t)),r}var ge=[],ye=function(e,t,r){if(e.addEventListener)e.addEventListener(t,r,!1)
else if(e.attachEvent)e.attachEvent("on"+t,r)
else{var n=e._handlers||(e._handlers={})
n[t]=(n[t]||ge).concat(r)}}
function ve(e,t){return e._handlers&&e._handlers[t]||ge}function be(e,t,r){if(e.removeEventListener)e.removeEventListener(t,r,!1)
else if(e.detachEvent)e.detachEvent("on"+t,r)
else{var n=e._handlers,i=n&&n[t]
if(i){var s=q(i,r)
s>-1&&(n[t]=i.slice(0,s).concat(i.slice(s+1)))}}}function we(e,t){var r=ve(e,t)
if(r.length)for(var n=Array.prototype.slice.call(arguments,2),i=0;i<r.length;++i)r[i].apply(null,n)}function Se(e,t,r){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),we(e,r||t.type,e,t),Ce(t)||t.codemirrorIgnore}function ke(e){var t=e._handlers&&e._handlers.cursorActivity
if(t)for(var r=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n)-1==q(r,t[n])&&r.push(t[n])}function xe(e,t){return ve(e,t).length>0}function Ee(e){e.prototype.on=function(e,t){ye(this,e,t)},e.prototype.off=function(e,t){be(this,e,t)}}function Ne(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function _e(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ce(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Ae(e){Ne(e),_e(e)}function Oe(e){return e.target||e.srcElement}function Pe(e){var t=e.which
return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),b&&e.ctrlKey&&1==t&&(t=3),t}var Te,Ie,je=function(){if(o&&a<9)return!1
var e=P("div")
return"draggable"in e||"dragDrop"in e}()
function De(e){if(null==Te){var t=P("span","​")
O(e,P("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Te=t.offsetWidth<=1&&t.offsetHeight>2&&!(o&&a<8))}var r=Te?P("span","​"):P("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px")
return r.setAttribute("cm-text",""),r}function Me(e){if(null!=Ie)return Ie
var t=O(e,document.createTextNode("AخA")),r=_(t,0,1).getBoundingClientRect(),n=_(t,1,2).getBoundingClientRect()
return A(e),!(!r||r.left==r.right)&&(Ie=n.right-r.right<3)}var Be,Re=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,r=[],n=e.length;t<=n;){var i=e.indexOf("\n",t);-1==i&&(i=e.length)
var s=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),o=s.indexOf("\r");-1!=o?(r.push(s.slice(0,o)),t+=o+1):(r.push(s),t=i+1)}return r}:function(e){return e.split(/\r\n?|\n/)},Le=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t
try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},ze="oncopy"in(Be=P("div"))||(Be.setAttribute("oncopy","return;"),"function"==typeof Be.oncopy),Fe=null,Ve={},$e={}
function Ue(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ve[e]=t}function He(e){if("string"==typeof e&&$e.hasOwnProperty(e))e=$e[e]
else if(e&&"string"==typeof e.name&&$e.hasOwnProperty(e.name)){var t=$e[e.name]
"string"==typeof t&&(t={name:t}),(e=ne(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return He("application/xml")
if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return He("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function qe(e,t){t=He(t)
var r=Ve[t.name]
if(!r)return qe(e,"text/plain")
var n=r(e,t)
if(We.hasOwnProperty(t.name)){var i=We[t.name]
for(var s in i)i.hasOwnProperty(s)&&(n.hasOwnProperty(s)&&(n["_"+s]=n[s]),n[s]=i[s])}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var o in t.modeProps)n[o]=t.modeProps[o]
return n}var We={}
function Ke(e,t){$(t,We.hasOwnProperty(e)?We[e]:We[e]={})}function Ze(e,t){if(!0===t)return t
if(e.copyState)return e.copyState(t)
var r={}
for(var n in t){var i=t[n]
i instanceof Array&&(i=i.concat([])),r[n]=i}return r}function Je(e,t){for(var r;e.innerMode&&(r=e.innerMode(t))&&r.mode!=e;)t=r.state,e=r.mode
return r||{mode:e,state:t}}function Ge(e,t,r){return!e.startState||e.startState(t,r)}var Ye=function(e,t,r){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=r}
function Xe(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.")
for(var r=e;!r.lines;)for(var n=0;;++n){var i=r.children[n],s=i.chunkSize()
if(t<s){r=i
break}t-=s}return r.lines[t]}function Qe(e,t,r){var n=[],i=t.line
return e.iter(t.line,r.line+1,(function(e){var s=e.text
i==r.line&&(s=s.slice(0,r.ch)),i==t.line&&(s=s.slice(t.ch)),n.push(s),++i})),n}function et(e,t,r){var n=[]
return e.iter(t,r,(function(e){n.push(e.text)})),n}function tt(e,t){var r=t-e.height
if(r)for(var n=e;n;n=n.parent)n.height+=r}function rt(e){if(null==e.parent)return null
for(var t=e.parent,r=q(t.lines,e),n=t.parent;n;t=n,n=n.parent)for(var i=0;n.children[i]!=t;++i)r+=n.children[i].chunkSize()
return r+t.first}function nt(e,t){var r=e.first
e:do{for(var n=0;n<e.children.length;++n){var i=e.children[n],s=i.height
if(t<s){e=i
continue e}t-=s,r+=i.chunkSize()}return r}while(!e.lines)
for(var o=0;o<e.lines.length;++o){var a=e.lines[o].height
if(t<a)break
t-=a}return r+o}function it(e,t){return t>=e.first&&t<e.first+e.size}function st(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function ot(e,t,r){if(void 0===r&&(r=null),!(this instanceof ot))return new ot(e,t,r)
this.line=e,this.ch=t,this.sticky=r}function at(e,t){return e.line-t.line||e.ch-t.ch}function lt(e,t){return e.sticky==t.sticky&&0==at(e,t)}function ct(e){return ot(e.line,e.ch)}function ut(e,t){return at(e,t)<0?t:e}function ht(e,t){return at(e,t)<0?e:t}function dt(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function pt(e,t){if(t.line<e.first)return ot(e.first,0)
var r=e.first+e.size-1
return t.line>r?ot(r,Xe(e,r).text.length):function(e,t){var r=e.ch
return null==r||r>t?ot(e.line,t):r<0?ot(e.line,0):e}(t,Xe(e,t.line).text.length)}function ft(e,t){for(var r=[],n=0;n<t.length;n++)r[n]=pt(e,t[n])
return r}Ye.prototype.eol=function(){return this.pos>=this.string.length},Ye.prototype.sol=function(){return this.pos==this.lineStart},Ye.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ye.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ye.prototype.eat=function(e){var t=this.string.charAt(this.pos)
if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Ye.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Ye.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos
return this.pos>e},Ye.prototype.skipToEnd=function(){this.pos=this.string.length},Ye.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos)
if(t>-1)return this.pos=t,!0},Ye.prototype.backUp=function(e){this.pos-=e},Ye.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=U(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?U(this.string,this.lineStart,this.tabSize):0)},Ye.prototype.indentation=function(){return U(this.string,null,this.tabSize)-(this.lineStart?U(this.string,this.lineStart,this.tabSize):0)},Ye.prototype.match=function(e,t,r){if("string"!=typeof e){var n=this.string.slice(this.pos).match(e)
return n&&n.index>0?null:(n&&!1!==t&&(this.pos+=n[0].length),n)}var i=function(e){return r?e.toLowerCase():e}
if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Ye.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ye.prototype.hideFirstChars=function(e,t){this.lineStart+=e
try{return t()}finally{this.lineStart-=e}},Ye.prototype.lookAhead=function(e){var t=this.lineOracle
return t&&t.lookAhead(e)},Ye.prototype.baseToken=function(){var e=this.lineOracle
return e&&e.baseToken(this.pos)}
var mt=function(e,t){this.state=e,this.lookAhead=t},gt=function(e,t,r,n){this.state=t,this.doc=e,this.line=r,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1}
function yt(e,t,r,n){var i=[e.state.modeGen],s={}
_t(e,t.text,e.doc.mode,r,(function(e,t){return i.push(e,t)}),s,n)
for(var o=r.state,a=function(n){r.baseTokens=i
var a=e.state.overlays[n],l=1,c=0
r.state=!0,_t(e,t.text,a.mode,r,(function(e,t){for(var r=l;c<e;){var n=i[l]
n>e&&i.splice(l,1,e,i[l+1],n),l+=2,c=Math.min(e,n)}if(t)if(a.opaque)i.splice(r,l-r,e,"overlay "+t),l=r+2
else for(;r<l;r+=2){var s=i[r+1]
i[r+1]=(s?s+" ":"")+"overlay "+t}}),s),r.state=o,r.baseTokens=null,r.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)a(l)
return{styles:i,classes:s.bgClass||s.textClass?s:null}}function vt(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=bt(e,rt(t)),i=t.text.length>e.options.maxHighlightLength&&Ze(e.doc.mode,n.state),s=yt(e,t,n)
i&&(n.state=i),t.stateAfter=n.save(!i),t.styles=s.styles,s.classes?t.styleClasses=s.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function bt(e,t,r){var n=e.doc,i=e.display
if(!n.mode.startState)return new gt(n,!0,t)
var s=function(e,t,r){for(var n,i,s=e.doc,o=r?-1:t-(e.doc.mode.innerMode?1e3:100),a=t;a>o;--a){if(a<=s.first)return s.first
var l=Xe(s,a-1),c=l.stateAfter
if(c&&(!r||a+(c instanceof mt?c.lookAhead:0)<=s.modeFrontier))return a
var u=U(l.text,null,e.options.tabSize);(null==i||n>u)&&(i=a-1,n=u)}return i}(e,t,r),o=s>n.first&&Xe(n,s-1).stateAfter,a=o?gt.fromSaved(n,o,s):new gt(n,Ge(n.mode),s)
return n.iter(s,t,(function(r){wt(e,r.text,a)
var n=a.line
r.stateAfter=n==t-1||n%5==0||n>=i.viewFrom&&n<i.viewTo?a.save():null,a.nextLine()})),r&&(n.modeFrontier=a.line),a}function wt(e,t,r,n){var i=e.doc.mode,s=new Ye(t,e.options.tabSize,r)
for(s.start=s.pos=n||0,""==t&&St(i,r.state);!s.eol();)kt(i,s,r.state),s.start=s.pos}function St(e,t){if(e.blankLine)return e.blankLine(t)
if(e.innerMode){var r=Je(e,t)
return r.mode.blankLine?r.mode.blankLine(r.state):void 0}}function kt(e,t,r,n){for(var i=0;i<10;i++){n&&(n[0]=Je(e,r).mode)
var s=e.token(t,r)
if(t.pos>t.start)return s}throw new Error("Mode "+e.name+" failed to advance stream.")}gt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e)
return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},gt.prototype.baseToken=function(e){if(!this.baseTokens)return null
for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2
var t=this.baseTokens[this.baseTokenPos+1]
return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},gt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},gt.fromSaved=function(e,t,r){return t instanceof mt?new gt(e,Ze(e.mode,t.state),r,t.lookAhead):new gt(e,Ze(e.mode,t),r)},gt.prototype.save=function(e){var t=!1!==e?Ze(this.doc.mode,this.state):this.state
return this.maxLookAhead>0?new mt(t,this.maxLookAhead):t}
var xt=function(e,t,r){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=r}
function Et(e,t,r,n){var i,s,o=e.doc,a=o.mode,l=Xe(o,(t=pt(o,t)).line),c=bt(e,t.line,r),u=new Ye(l.text,e.options.tabSize,c)
for(n&&(s=[]);(n||u.pos<t.ch)&&!u.eol();)u.start=u.pos,i=kt(a,u,c.state),n&&s.push(new xt(u,i,Ze(o.mode,c.state)))
return n?s:new xt(u,i,c.state)}function Nt(e,t){if(e)for(;;){var r=e.match(/(?:^|\s+)line-(background-)?(\S+)/)
if(!r)break
e=e.slice(0,r.index)+e.slice(r.index+r[0].length)
var n=r[1]?"bgClass":"textClass"
null==t[n]?t[n]=r[2]:new RegExp("(?:^|\\s)"+r[2]+"(?:$|\\s)").test(t[n])||(t[n]+=" "+r[2])}return e}function _t(e,t,r,n,i,s,o){var a=r.flattenSpans
null==a&&(a=e.options.flattenSpans)
var l,c=0,u=null,h=new Ye(t,e.options.tabSize,n),d=e.options.addModeClass&&[null]
for(""==t&&Nt(St(r,n.state),s);!h.eol();){if(h.pos>e.options.maxHighlightLength?(a=!1,o&&wt(e,t,n,h.pos),h.pos=t.length,l=null):l=Nt(kt(r,h,n.state,d),s),d){var p=d[0].name
p&&(l="m-"+(l?p+" "+l:p))}if(!a||u!=l){for(;c<h.start;)i(c=Math.min(h.start,c+5e3),u)
u=l}h.start=h.pos}for(;c<h.pos;){var f=Math.min(h.pos,c+5e3)
i(f,u),c=f}}var Ct=!1,At=!1
function Ot(e,t,r){this.marker=e,this.from=t,this.to=r}function Pt(e,t){if(e)for(var r=0;r<e.length;++r){var n=e[r]
if(n.marker==t)return n}}function Tt(e,t){for(var r,n=0;n<e.length;++n)e[n]!=t&&(r||(r=[])).push(e[n])
return r}function It(e,t){if(t.full)return null
var r=it(e,t.from.line)&&Xe(e,t.from.line).markedSpans,n=it(e,t.to.line)&&Xe(e,t.to.line).markedSpans
if(!r&&!n)return null
var i=t.from.ch,s=t.to.ch,o=0==at(t.from,t.to),a=function(e,t,r){var n
if(e)for(var i=0;i<e.length;++i){var s=e[i],o=s.marker
if(null==s.from||(o.inclusiveLeft?s.from<=t:s.from<t)||s.from==t&&"bookmark"==o.type&&(!r||!s.marker.insertLeft)){var a=null==s.to||(o.inclusiveRight?s.to>=t:s.to>t);(n||(n=[])).push(new Ot(o,s.from,a?null:s.to))}}return n}(r,i,o),l=function(e,t,r){var n
if(e)for(var i=0;i<e.length;++i){var s=e[i],o=s.marker
if(null==s.to||(o.inclusiveRight?s.to>=t:s.to>t)||s.from==t&&"bookmark"==o.type&&(!r||s.marker.insertLeft)){var a=null==s.from||(o.inclusiveLeft?s.from<=t:s.from<t);(n||(n=[])).push(new Ot(o,a?null:s.from-t,null==s.to?null:s.to-t))}}return n}(n,s,o),c=1==t.text.length,u=ee(t.text).length+(c?i:0)
if(a)for(var h=0;h<a.length;++h){var d=a[h]
if(null==d.to){var p=Pt(l,d.marker)
p?c&&(d.to=null==p.to?null:p.to+u):d.to=i}}if(l)for(var f=0;f<l.length;++f){var m=l[f]
null!=m.to&&(m.to+=u),null==m.from?Pt(a,m.marker)||(m.from=u,c&&(a||(a=[])).push(m)):(m.from+=u,c&&(a||(a=[])).push(m))}a&&(a=jt(a)),l&&l!=a&&(l=jt(l))
var g=[a]
if(!c){var y,v=t.text.length-2
if(v>0&&a)for(var b=0;b<a.length;++b)null==a[b].to&&(y||(y=[])).push(new Ot(a[b].marker,null,null))
for(var w=0;w<v;++w)g.push(y)
g.push(l)}return g}function jt(e){for(var t=0;t<e.length;++t){var r=e[t]
null!=r.from&&r.from==r.to&&!1!==r.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Dt(e){var t=e.markedSpans
if(t){for(var r=0;r<t.length;++r)t[r].marker.detachLine(e)
e.markedSpans=null}}function Mt(e,t){if(t){for(var r=0;r<t.length;++r)t[r].marker.attachLine(e)
e.markedSpans=t}}function Bt(e){return e.inclusiveLeft?-1:0}function Rt(e){return e.inclusiveRight?1:0}function Lt(e,t){var r=e.lines.length-t.lines.length
if(0!=r)return r
var n=e.find(),i=t.find(),s=at(n.from,i.from)||Bt(e)-Bt(t)
return s?-s:at(n.to,i.to)||Rt(e)-Rt(t)||t.id-e.id}function zt(e,t){var r,n=At&&e.markedSpans
if(n)for(var i=void 0,s=0;s<n.length;++s)(i=n[s]).marker.collapsed&&null==(t?i.from:i.to)&&(!r||Lt(r,i.marker)<0)&&(r=i.marker)
return r}function Ft(e){return zt(e,!0)}function Vt(e){return zt(e,!1)}function $t(e,t){var r,n=At&&e.markedSpans
if(n)for(var i=0;i<n.length;++i){var s=n[i]
s.marker.collapsed&&(null==s.from||s.from<t)&&(null==s.to||s.to>t)&&(!r||Lt(r,s.marker)<0)&&(r=s.marker)}return r}function Ut(e,t,r,n,i){var s=Xe(e,t),o=At&&s.markedSpans
if(o)for(var a=0;a<o.length;++a){var l=o[a]
if(l.marker.collapsed){var c=l.marker.find(0),u=at(c.from,r)||Bt(l.marker)-Bt(i),h=at(c.to,n)||Rt(l.marker)-Rt(i)
if(!(u>=0&&h<=0||u<=0&&h>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?at(c.to,r)>=0:at(c.to,r)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?at(c.from,n)<=0:at(c.from,n)<0)))return!0}}}function Ht(e){for(var t;t=Ft(e);)e=t.find(-1,!0).line
return e}function qt(e,t){var r=Xe(e,t),n=Ht(r)
return r==n?t:rt(n)}function Wt(e,t){if(t>e.lastLine())return t
var r,n=Xe(e,t)
if(!Kt(e,n))return t
for(;r=Vt(n);)n=r.find(1,!0).line
return rt(n)+1}function Kt(e,t){var r=At&&t.markedSpans
if(r)for(var n=void 0,i=0;i<r.length;++i)if((n=r[i]).marker.collapsed){if(null==n.from)return!0
if(!n.marker.widgetNode&&0==n.from&&n.marker.inclusiveLeft&&Zt(e,t,n))return!0}}function Zt(e,t,r){if(null==r.to){var n=r.marker.find(1,!0)
return Zt(e,n.line,Pt(n.line.markedSpans,r.marker))}if(r.marker.inclusiveRight&&r.to==t.text.length)return!0
for(var i=void 0,s=0;s<t.markedSpans.length;++s)if((i=t.markedSpans[s]).marker.collapsed&&!i.marker.widgetNode&&i.from==r.to&&(null==i.to||i.to!=r.from)&&(i.marker.inclusiveLeft||r.marker.inclusiveRight)&&Zt(e,t,i))return!0}function Jt(e){for(var t=0,r=(e=Ht(e)).parent,n=0;n<r.lines.length;++n){var i=r.lines[n]
if(i==e)break
t+=i.height}for(var s=r.parent;s;s=(r=s).parent)for(var o=0;o<s.children.length;++o){var a=s.children[o]
if(a==r)break
t+=a.height}return t}function Gt(e){if(0==e.height)return 0
for(var t,r=e.text.length,n=e;t=Ft(n);){var i=t.find(0,!0)
n=i.from.line,r+=i.from.ch-i.to.ch}for(n=e;t=Vt(n);){var s=t.find(0,!0)
r-=n.text.length-s.from.ch,r+=(n=s.to.line).text.length-s.to.ch}return r}function Yt(e){var t=e.display,r=e.doc
t.maxLine=Xe(r,r.first),t.maxLineLength=Gt(t.maxLine),t.maxLineChanged=!0,r.iter((function(e){var r=Gt(e)
r>t.maxLineLength&&(t.maxLineLength=r,t.maxLine=e)}))}var Xt=function(e,t,r){this.text=e,Mt(this,t),this.height=r?r(this):1}
function Qt(e){e.parent=null,Dt(e)}Xt.prototype.lineNo=function(){return rt(this)},Ee(Xt)
var er={},tr={}
function rr(e,t){if(!e||/^\s*$/.test(e))return null
var r=t.addModeClass?tr:er
return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function nr(e,t){var r=T("span",null,null,l?"padding-right: .1px":null),n={pre:T("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")}
t.measure={}
for(var i=0;i<=(t.rest?t.rest.length:0);i++){var s=i?t.rest[i-1]:t.line,o=void 0
n.pos=0,n.addToken=sr,Me(e.display.measure)&&(o=me(s,e.doc.direction))&&(n.addToken=or(n.addToken,o)),n.map=[],lr(s,n,vt(e,s,t!=e.display.externalMeasured&&rt(s))),s.styleClasses&&(s.styleClasses.bgClass&&(n.bgClass=M(s.styleClasses.bgClass,n.bgClass||"")),s.styleClasses.textClass&&(n.textClass=M(s.styleClasses.textClass,n.textClass||""))),0==n.map.length&&n.map.push(0,0,n.content.appendChild(De(e.display.measure))),0==i?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var a=n.content.lastChild;(/\bcm-tab\b/.test(a.className)||a.querySelector&&a.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return we(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=M(n.pre.className,n.textClass||"")),n}function ir(e){var t=P("span","•","cm-invalidchar")
return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function sr(e,t,r,n,i,s,l){if(t){var c,u=e.splitSpaces?function(e,t){if(e.length>1&&!/  /.test(e))return e
for(var r=t,n="",i=0;i<e.length;i++){var s=e.charAt(i)
" "!=s||!r||i!=e.length-1&&32!=e.charCodeAt(i+1)||(s=" "),n+=s,r=" "==s}return n}(t,e.trailingSpace):t,h=e.cm.state.specialChars,d=!1
if(h.test(t)){c=document.createDocumentFragment()
for(var p=0;;){h.lastIndex=p
var f=h.exec(t),m=f?f.index-p:t.length-p
if(m){var g=document.createTextNode(u.slice(p,p+m))
o&&a<9?c.appendChild(P("span",[g])):c.appendChild(g),e.map.push(e.pos,e.pos+m,g),e.col+=m,e.pos+=m}if(!f)break
p+=m+1
var y=void 0
if("\t"==f[0]){var v=e.cm.options.tabSize,b=v-e.col%v;(y=c.appendChild(P("span",Q(b),"cm-tab"))).setAttribute("role","presentation"),y.setAttribute("cm-text","\t"),e.col+=b}else"\r"==f[0]||"\n"==f[0]?((y=c.appendChild(P("span","\r"==f[0]?"␍":"␤","cm-invalidchar"))).setAttribute("cm-text",f[0]),e.col+=1):((y=e.cm.options.specialCharPlaceholder(f[0])).setAttribute("cm-text",f[0]),o&&a<9?c.appendChild(P("span",[y])):c.appendChild(y),e.col+=1)
e.map.push(e.pos,e.pos+1,y),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),o&&a<9&&(d=!0),e.pos+=t.length
if(e.trailingSpace=32==u.charCodeAt(t.length-1),r||n||i||d||s||l){var w=r||""
n&&(w+=n),i&&(w+=i)
var S=P("span",[c],w,s)
if(l)for(var k in l)l.hasOwnProperty(k)&&"style"!=k&&"class"!=k&&S.setAttribute(k,l[k])
return e.content.appendChild(S)}e.content.appendChild(c)}}function or(e,t){return function(r,n,i,s,o,a,l){i=i?i+" cm-force-border":"cm-force-border"
for(var c=r.pos,u=c+n.length;;){for(var h=void 0,d=0;d<t.length&&!((h=t[d]).to>c&&h.from<=c);d++);if(h.to>=u)return e(r,n,i,s,o,a,l)
e(r,n.slice(0,h.to-c),i,s,null,a,l),s=null,n=n.slice(h.to-c),c=h.to}}}function ar(e,t,r,n){var i=!n&&r.widgetNode
i&&e.map.push(e.pos,e.pos+t,i),!n&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",r.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function lr(e,t,r){var n=e.markedSpans,i=e.text,s=0
if(n)for(var o,a,l,c,u,h,d,p=i.length,f=0,m=1,g="",y=0;;){if(y==f){l=c=u=a="",d=null,h=null,y=1/0
for(var v=[],b=void 0,w=0;w<n.length;++w){var S=n[w],k=S.marker
if("bookmark"==k.type&&S.from==f&&k.widgetNode)v.push(k)
else if(S.from<=f&&(null==S.to||S.to>f||k.collapsed&&S.to==f&&S.from==f)){if(null!=S.to&&S.to!=f&&y>S.to&&(y=S.to,c=""),k.className&&(l+=" "+k.className),k.css&&(a=(a?a+";":"")+k.css),k.startStyle&&S.from==f&&(u+=" "+k.startStyle),k.endStyle&&S.to==y&&(b||(b=[])).push(k.endStyle,S.to),k.title&&((d||(d={})).title=k.title),k.attributes)for(var x in k.attributes)(d||(d={}))[x]=k.attributes[x]
k.collapsed&&(!h||Lt(h.marker,k)<0)&&(h=S)}else S.from>f&&y>S.from&&(y=S.from)}if(b)for(var E=0;E<b.length;E+=2)b[E+1]==y&&(c+=" "+b[E])
if(!h||h.from==f)for(var N=0;N<v.length;++N)ar(t,0,v[N])
if(h&&(h.from||0)==f){if(ar(t,(null==h.to?p+1:h.to)-f,h.marker,null==h.from),null==h.to)return
h.to==f&&(h=!1)}}if(f>=p)break
for(var _=Math.min(p,y);;){if(g){var C=f+g.length
if(!h){var A=C>_?g.slice(0,_-f):g
t.addToken(t,A,o?o+l:l,u,f+A.length==y?c:"",a,d)}if(C>=_){g=g.slice(_-f),f=_
break}f=C,u=""}g=i.slice(s,s=r[m++]),o=rr(r[m++],t.cm.options)}}else for(var O=1;O<r.length;O+=2)t.addToken(t,i.slice(s,s=r[O]),rr(r[O+1],t.cm.options))}function cr(e,t,r){this.line=t,this.rest=function(e){for(var t,r;t=Vt(e);)e=t.find(1,!0).line,(r||(r=[])).push(e)
return r}(t),this.size=this.rest?rt(ee(this.rest))-r+1:1,this.node=this.text=null,this.hidden=Kt(e,t)}function ur(e,t,r){for(var n,i=[],s=t;s<r;s=n){var o=new cr(e.doc,Xe(e.doc,s),s)
n=s+o.size,i.push(o)}return i}var hr=null,dr=null
function pr(e,t){var r=ve(e,t)
if(r.length){var n,i=Array.prototype.slice.call(arguments,2)
hr?n=hr.delayedCallbacks:dr?n=dr:(n=dr=[],setTimeout(fr,0))
for(var s=function(e){n.push((function(){return r[e].apply(null,i)}))},o=0;o<r.length;++o)s(o)}}function fr(){var e=dr
dr=null
for(var t=0;t<e.length;++t)e[t]()}function mr(e,t,r,n){for(var i=0;i<t.changes.length;i++){var s=t.changes[i]
"text"==s?vr(e,t):"gutter"==s?wr(e,t,r,n):"class"==s?br(e,t):"widget"==s&&Sr(e,t,n)}t.changes=null}function gr(e){return e.node==e.text&&(e.node=P("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),o&&a<8&&(e.node.style.zIndex=2)),e.node}function yr(e,t){var r=e.display.externalMeasured
return r&&r.line==t.line?(e.display.externalMeasured=null,t.measure=r.measure,r.built):nr(e,t)}function vr(e,t){var r=t.text.className,n=yr(e,t)
t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,br(e,t)):r&&(t.text.className=r)}function br(e,t){(function(e,t){var r=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass
if(r&&(r+=" CodeMirror-linebackground"),t.background)r?t.background.className=r:(t.background.parentNode.removeChild(t.background),t.background=null)
else if(r){var n=gr(t)
t.background=n.insertBefore(P("div",null,r),n.firstChild),e.display.input.setUneditable(t.background)}})(e,t),t.line.wrapClass?gr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="")
var r=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass
t.text.className=r||""}function wr(e,t,r,n){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=gr(t)
t.gutterBackground=P("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var s=t.line.gutterMarkers
if(e.options.lineNumbers||s){var o=gr(t),a=t.gutter=P("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px")
if(a.setAttribute("aria-hidden","true"),e.display.input.setUneditable(a),o.insertBefore(a,t.text),t.line.gutterClass&&(a.className+=" "+t.line.gutterClass),!e.options.lineNumbers||s&&s["CodeMirror-linenumbers"]||(t.lineNumber=a.appendChild(P("div",st(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),s)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=s.hasOwnProperty(c)&&s[c]
u&&a.appendChild(P("div",[u],"CodeMirror-gutter-elt","left: "+n.gutterLeft[c]+"px; width: "+n.gutterWidth[c]+"px"))}}}function Sr(e,t,r){t.alignable&&(t.alignable=null)
for(var n=N("CodeMirror-linewidget"),i=t.node.firstChild,s=void 0;i;i=s)s=i.nextSibling,n.test(i.className)&&t.node.removeChild(i)
xr(e,t,r)}function kr(e,t,r,n){var i=yr(e,t)
return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),br(e,t),wr(e,t,r,n),xr(e,t,n),t.node}function xr(e,t,r){if(Er(e,t.line,t,r,!0),t.rest)for(var n=0;n<t.rest.length;n++)Er(e,t.rest[n],t,r,!1)}function Er(e,t,r,n,i){if(t.widgets)for(var s=gr(r),o=0,a=t.widgets;o<a.length;++o){var l=a[o],c=P("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""))
l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),Nr(l,c,r,n),e.display.input.setUneditable(c),i&&l.above?s.insertBefore(c,r.gutter||r.text):s.appendChild(c),pr(l,"redraw")}}function Nr(e,t,r,n){if(e.noHScroll){(r.alignable||(r.alignable=[])).push(t)
var i=n.wrapperWidth
t.style.left=n.fixedPos+"px",e.coverGutter||(i-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"))}function _r(e){if(null!=e.height)return e.height
var t=e.doc.cm
if(!t)return 0
if(!I(document.body,e.node)){var r="position: relative;"
e.coverGutter&&(r+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(r+="width: "+t.display.wrapper.clientWidth+"px;"),O(t.display.measure,P("div",[e.node],null,r))}return e.height=e.node.parentNode.offsetHeight}function Cr(e,t){for(var r=Oe(t);r!=e.wrapper;r=r.parentNode)if(!r||1==r.nodeType&&"true"==r.getAttribute("cm-ignore-events")||r.parentNode==e.sizer&&r!=e.mover)return!0}function Ar(e){return e.lineSpace.offsetTop}function Or(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Pr(e){if(e.cachedPaddingH)return e.cachedPaddingH
var t=O(e.measure,P("pre","x","CodeMirror-line-like")),r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)}
return isNaN(n.left)||isNaN(n.right)||(e.cachedPaddingH=n),n}function Tr(e){return W-e.display.nativeBarWidth}function Ir(e){return e.display.scroller.clientWidth-Tr(e)-e.display.barWidth}function jr(e){return e.display.scroller.clientHeight-Tr(e)-e.display.barHeight}function Dr(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache}
if(e.rest){for(var n=0;n<e.rest.length;n++)if(e.rest[n]==t)return{map:e.measure.maps[n],cache:e.measure.caches[n]}
for(var i=0;i<e.rest.length;i++)if(rt(e.rest[i])>r)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}}function Mr(e,t,r,n){return Lr(e,Rr(e,t),r,n)}function Br(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[gn(e,t)]
var r=e.display.externalMeasured
return r&&t>=r.lineN&&t<r.lineN+r.size?r:void 0}function Rr(e,t){var r=rt(t),n=Br(e,r)
n&&!n.text?n=null:n&&n.changes&&(mr(e,n,r,hn(e)),e.curOp.forceUpdate=!0),n||(n=function(e,t){var r=rt(t=Ht(t)),n=e.display.externalMeasured=new cr(e.doc,t,r)
n.lineN=r
var i=n.built=nr(e,n)
return n.text=i.pre,O(e.display.lineMeasure,i.pre),n}(e,t))
var i=Dr(n,t,r)
return{line:t,view:n,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function Lr(e,t,r,n,i){t.before&&(r=-1)
var s,l=r+(n||"")
return t.cache.hasOwnProperty(l)?s=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,r){var n=e.options.lineWrapping,i=n&&Ir(e)
if(!t.measure.heights||n&&t.measure.width!=i){var s=t.measure.heights=[]
if(n){t.measure.width=i
for(var o=t.text.firstChild.getClientRects(),a=0;a<o.length-1;a++){var l=o[a],c=o[a+1]
Math.abs(l.bottom-c.bottom)>2&&s.push((l.bottom+c.top)/2-r.top)}}s.push(r.bottom-r.top)}}(e,t.view,t.rect),t.hasHeights=!0),(s=function(e,t,r,n){var i,s=Vr(t.map,r,n),l=s.node,c=s.start,u=s.end,h=s.collapse
if(3==l.nodeType){for(var d=0;d<4;d++){for(;c&&ce(t.line.text.charAt(s.coverStart+c));)--c
for(;s.coverStart+u<s.coverEnd&&ce(t.line.text.charAt(s.coverStart+u));)++u
if((i=o&&a<9&&0==c&&u==s.coverEnd-s.coverStart?l.parentNode.getBoundingClientRect():$r(_(l,c,u).getClientRects(),n)).left||i.right||0==c)break
u=c,c-=1,h="right"}o&&a<11&&(i=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=Fe)return Fe
var t=O(e,P("span","x")),r=t.getBoundingClientRect(),n=_(t,0,1).getBoundingClientRect()
return Fe=Math.abs(r.left-n.left)>1}(e))return t
var r=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI
return{left:t.left*r,right:t.right*r,top:t.top*n,bottom:t.bottom*n}}(e.display.measure,i))}else{var p
c>0&&(h=n="right"),i=e.options.lineWrapping&&(p=l.getClientRects()).length>1?p["right"==n?p.length-1:0]:l.getBoundingClientRect()}if(o&&a<9&&!c&&(!i||!i.left&&!i.right)){var f=l.parentNode.getClientRects()[0]
i=f?{left:f.left,right:f.left+un(e.display),top:f.top,bottom:f.bottom}:Fr}for(var m=i.top-t.rect.top,g=i.bottom-t.rect.top,y=(m+g)/2,v=t.view.measure.heights,b=0;b<v.length-1&&!(y<v[b]);b++);var w=b?v[b-1]:0,S=v[b],k={left:("right"==h?i.right:i.left)-t.rect.left,right:("left"==h?i.left:i.right)-t.rect.left,top:w,bottom:S}
return i.left||i.right||(k.bogus=!0),e.options.singleCursorHeightPerLine||(k.rtop=m,k.rbottom=g),k}(e,t,r,n)).bogus||(t.cache[l]=s)),{left:s.left,right:s.right,top:i?s.rtop:s.top,bottom:i?s.rbottom:s.bottom}}var zr,Fr={left:0,right:0,top:0,bottom:0}
function Vr(e,t,r){for(var n,i,s,o,a,l,c=0;c<e.length;c+=3)if(a=e[c],l=e[c+1],t<a?(i=0,s=1,o="left"):t<l?s=1+(i=t-a):(c==e.length-3||t==l&&e[c+3]>t)&&(i=(s=l-a)-1,t>=l&&(o="right")),null!=i){if(n=e[c+2],a==l&&r==(n.insertLeft?"left":"right")&&(o=r),"left"==r&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)n=e[2+(c-=3)],o="left"
if("right"==r&&i==l-a)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)n=e[(c+=3)+2],o="right"
break}return{node:n,start:i,end:s,collapse:o,coverStart:a,coverEnd:l}}function $r(e,t){var r=Fr
if("left"==t)for(var n=0;n<e.length&&(r=e[n]).left==r.right;n++);else for(var i=e.length-1;i>=0&&(r=e[i]).left==r.right;i--);return r}function Ur(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function Hr(e){e.display.externalMeasure=null,A(e.display.lineMeasure)
for(var t=0;t<e.display.view.length;t++)Ur(e.display.view[t])}function qr(e){Hr(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Wr(e){return u&&y?-(e.body.getBoundingClientRect().left-parseInt(getComputedStyle(e.body).marginLeft)):e.defaultView.pageXOffset||(e.documentElement||e.body).scrollLeft}function Kr(e){return u&&y?-(e.body.getBoundingClientRect().top-parseInt(getComputedStyle(e.body).marginTop)):e.defaultView.pageYOffset||(e.documentElement||e.body).scrollTop}function Zr(e){var t=Ht(e).widgets,r=0
if(t)for(var n=0;n<t.length;++n)t[n].above&&(r+=_r(t[n]))
return r}function Jr(e,t,r,n,i){if(!i){var s=Zr(t)
r.top+=s,r.bottom+=s}if("line"==n)return r
n||(n="local")
var o=Jt(t)
if("local"==n?o+=Ar(e.display):o-=e.display.viewOffset,"page"==n||"window"==n){var a=e.display.lineSpace.getBoundingClientRect()
o+=a.top+("window"==n?0:Kr(R(e)))
var l=a.left+("window"==n?0:Wr(R(e)))
r.left+=l,r.right+=l}return r.top+=o,r.bottom+=o,r}function Gr(e,t,r){if("div"==r)return t
var n=t.left,i=t.top
if("page"==r)n-=Wr(R(e)),i-=Kr(R(e))
else if("local"==r||!r){var s=e.display.sizer.getBoundingClientRect()
n+=s.left,i+=s.top}var o=e.display.lineSpace.getBoundingClientRect()
return{left:n-o.left,top:i-o.top}}function Yr(e,t,r,n,i){return n||(n=Xe(e.doc,t.line)),Jr(e,n,Mr(e,n,t.ch,i),r)}function Xr(e,t,r,n,i,s){function o(t,o){var a=Lr(e,i,t,o?"right":"left",s)
return o?a.left=a.right:a.right=a.left,Jr(e,n,a,r)}n=n||Xe(e.doc,t.line),i||(i=Rr(e,n))
var a=me(n,e.doc.direction),l=t.ch,c=t.sticky
if(l>=n.text.length?(l=n.text.length,c="before"):l<=0&&(l=0,c="after"),!a)return o("before"==c?l-1:l,"before"==c)
function u(e,t,r){return o(r?e-1:e,1==a[t].level!=r)}var h=pe(a,l,c),d=de,p=u(l,h,"before"==c)
return null!=d&&(p.other=u(l,d,"before"!=c)),p}function Qr(e,t){var r=0
t=pt(e.doc,t),e.options.lineWrapping||(r=un(e.display)*t.ch)
var n=Xe(e.doc,t.line),i=Jt(n)+Ar(e.display)
return{left:r,right:r,top:i,bottom:i+n.height}}function en(e,t,r,n,i){var s=ot(e,t,r)
return s.xRel=i,n&&(s.outside=n),s}function tn(e,t,r){var n=e.doc
if((r+=e.display.viewOffset)<0)return en(n.first,0,null,-1,-1)
var i=nt(n,r),s=n.first+n.size-1
if(i>s)return en(n.first+n.size-1,Xe(n,s).text.length,null,1,1)
t<0&&(t=0)
for(var o=Xe(n,i);;){var a=on(e,o,i,t,r),l=$t(o,a.ch+(a.xRel>0||a.outside>0?1:0))
if(!l)return a
var c=l.find(1)
if(c.line==i)return c
o=Xe(n,i=c.line)}}function rn(e,t,r,n){n-=Zr(t)
var i=t.text.length,s=he((function(t){return Lr(e,r,t-1).bottom<=n}),i,0)
return{begin:s,end:i=he((function(t){return Lr(e,r,t).top>n}),s,i)}}function nn(e,t,r,n){return r||(r=Rr(e,t)),rn(e,t,r,Jr(e,t,Lr(e,r,n),"line").top)}function sn(e,t,r,n){return!(e.bottom<=r)&&(e.top>r||(n?e.left:e.right)>t)}function on(e,t,r,n,i){i-=Jt(t)
var s=Rr(e,t),o=Zr(t),a=0,l=t.text.length,c=!0,u=me(t,e.doc.direction)
if(u){var h=(e.options.lineWrapping?ln:an)(e,t,r,s,u,n,i)
a=(c=1!=h.level)?h.from:h.to-1,l=c?h.to:h.from-1}var d,p,f=null,m=null,g=he((function(t){var r=Lr(e,s,t)
return r.top+=o,r.bottom+=o,!!sn(r,n,i,!1)&&(r.top<=i&&r.left<=n&&(f=t,m=r),!0)}),a,l),y=!1
if(m){var v=n-m.left<m.right-n,b=v==c
g=f+(b?0:1),p=b?"after":"before",d=v?m.left:m.right}else{c||g!=l&&g!=a||g++,p=0==g?"after":g==t.text.length?"before":Lr(e,s,g-(c?1:0)).bottom+o<=i==c?"after":"before"
var w=Xr(e,ot(r,g,p),"line",t,s)
d=w.left,y=i<w.top?-1:i>=w.bottom?1:0}return en(r,g=ue(t.text,g,1),p,y,n-d)}function an(e,t,r,n,i,s,o){var a=he((function(a){var l=i[a],c=1!=l.level
return sn(Xr(e,ot(r,c?l.to:l.from,c?"before":"after"),"line",t,n),s,o,!0)}),0,i.length-1),l=i[a]
if(a>0){var c=1!=l.level,u=Xr(e,ot(r,c?l.from:l.to,c?"after":"before"),"line",t,n)
sn(u,s,o,!0)&&u.top>o&&(l=i[a-1])}return l}function ln(e,t,r,n,i,s,o){var a=rn(e,t,n,o),l=a.begin,c=a.end;/\s/.test(t.text.charAt(c-1))&&c--
for(var u=null,h=null,d=0;d<i.length;d++){var p=i[d]
if(!(p.from>=c||p.to<=l)){var f=Lr(e,n,1!=p.level?Math.min(c,p.to)-1:Math.max(l,p.from)).right,m=f<s?s-f+1e9:f-s;(!u||h>m)&&(u=p,h=m)}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u}function cn(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight
if(null==zr){zr=P("pre",null,"CodeMirror-line-like")
for(var t=0;t<49;++t)zr.appendChild(document.createTextNode("x")),zr.appendChild(P("br"))
zr.appendChild(document.createTextNode("x"))}O(e.measure,zr)
var r=zr.offsetHeight/50
return r>3&&(e.cachedTextHeight=r),A(e.measure),r||1}function un(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth
var t=P("span","xxxxxxxxxx"),r=P("pre",[t],"CodeMirror-line-like")
O(e.measure,r)
var n=t.getBoundingClientRect(),i=(n.right-n.left)/10
return i>2&&(e.cachedCharWidth=i),i||10}function hn(e){for(var t=e.display,r={},n={},i=t.gutters.clientLeft,s=t.gutters.firstChild,o=0;s;s=s.nextSibling,++o){var a=e.display.gutterSpecs[o].className
r[a]=s.offsetLeft+s.clientLeft+i,n[a]=s.clientWidth}return{fixedPos:dn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function dn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function pn(e){var t=cn(e.display),r=e.options.lineWrapping,n=r&&Math.max(5,e.display.scroller.clientWidth/un(e.display)-3)
return function(i){if(Kt(e.doc,i))return 0
var s=0
if(i.widgets)for(var o=0;o<i.widgets.length;o++)i.widgets[o].height&&(s+=i.widgets[o].height)
return r?s+(Math.ceil(i.text.length/n)||1)*t:s+t}}function fn(e){var t=e.doc,r=pn(e)
t.iter((function(e){var t=r(e)
t!=e.height&&tt(e,t)}))}function mn(e,t,r,n){var i=e.display
if(!r&&"true"==Oe(t).getAttribute("cm-not-content"))return null
var s,o,a=i.lineSpace.getBoundingClientRect()
try{s=t.clientX-a.left,o=t.clientY-a.top}catch(e){return null}var l,c=tn(e,s,o)
if(n&&c.xRel>0&&(l=Xe(e.doc,c.line).text).length==c.ch){var u=U(l,l.length,e.options.tabSize)-l.length
c=ot(c.line,Math.max(0,Math.round((s-Pr(e.display).left)/un(e.display))-u))}return c}function gn(e,t){if(t>=e.display.viewTo)return null
if((t-=e.display.viewFrom)<0)return null
for(var r=e.display.view,n=0;n<r.length;n++)if((t-=r[n].size)<0)return n}function yn(e,t,r,n){null==t&&(t=e.doc.first),null==r&&(r=e.doc.first+e.doc.size),n||(n=0)
var i=e.display
if(n&&r<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)At&&qt(e.doc,t)<i.viewTo&&bn(e)
else if(r<=i.viewFrom)At&&Wt(e.doc,r+n)>i.viewFrom?bn(e):(i.viewFrom+=n,i.viewTo+=n)
else if(t<=i.viewFrom&&r>=i.viewTo)bn(e)
else if(t<=i.viewFrom){var s=wn(e,r,r+n,1)
s?(i.view=i.view.slice(s.index),i.viewFrom=s.lineN,i.viewTo+=n):bn(e)}else if(r>=i.viewTo){var o=wn(e,t,t,-1)
o?(i.view=i.view.slice(0,o.index),i.viewTo=o.lineN):bn(e)}else{var a=wn(e,t,t,-1),l=wn(e,r,r+n,1)
a&&l?(i.view=i.view.slice(0,a.index).concat(ur(e,a.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=n):bn(e)}var c=i.externalMeasured
c&&(r<c.lineN?c.lineN+=n:t<c.lineN+c.size&&(i.externalMeasured=null))}function vn(e,t,r){e.curOp.viewChanged=!0
var n=e.display,i=e.display.externalMeasured
if(i&&t>=i.lineN&&t<i.lineN+i.size&&(n.externalMeasured=null),!(t<n.viewFrom||t>=n.viewTo)){var s=n.view[gn(e,t)]
if(null!=s.node){var o=s.changes||(s.changes=[]);-1==q(o,r)&&o.push(r)}}}function bn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function wn(e,t,r,n){var i,s=gn(e,t),o=e.display.view
if(!At||r==e.doc.first+e.doc.size)return{index:s,lineN:r}
for(var a=e.display.viewFrom,l=0;l<s;l++)a+=o[l].size
if(a!=t){if(n>0){if(s==o.length-1)return null
i=a+o[s].size-t,s++}else i=a-t
t+=i,r+=i}for(;qt(e.doc,r)!=r;){if(s==(n<0?0:o.length-1))return null
r+=n*o[s-(n<0?1:0)].size,s+=n}return{index:s,lineN:r}}function Sn(e){for(var t=e.display.view,r=0,n=0;n<t.length;n++){var i=t[n]
i.hidden||i.node&&!i.changes||++r}return r}function kn(e){e.display.input.showSelection(e.display.input.prepareSelection())}function xn(e,t){void 0===t&&(t=!0)
var r=e.doc,n={},i=n.cursors=document.createDocumentFragment(),s=n.selection=document.createDocumentFragment(),o=e.options.$customCursor
o&&(t=!0)
for(var a=0;a<r.sel.ranges.length;a++)if(t||a!=r.sel.primIndex){var l=r.sel.ranges[a]
if(!(l.from().line>=e.display.viewTo||l.to().line<e.display.viewFrom)){var c=l.empty()
if(o){var u=o(e,l)
u&&En(e,u,i)}else(c||e.options.showCursorWhenSelecting)&&En(e,l.head,i)
c||_n(e,l,s)}}return n}function En(e,t,r){var n=Xr(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=r.appendChild(P("div"," ","CodeMirror-cursor"))
if(i.style.left=n.left+"px",i.style.top=n.top+"px",i.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var s=Yr(e,t,"div",null,null),o=s.right-s.left
i.style.width=(o>0?o:e.defaultCharWidth())+"px"}if(n.other){var a=r.appendChild(P("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"))
a.style.display="",a.style.left=n.other.left+"px",a.style.top=n.other.top+"px",a.style.height=.85*(n.other.bottom-n.other.top)+"px"}}function Nn(e,t){return e.top-t.top||e.left-t.left}function _n(e,t,r){var n=e.display,i=e.doc,s=document.createDocumentFragment(),o=Pr(e.display),a=o.left,l=Math.max(n.sizerWidth,Ir(e)-n.sizer.offsetLeft)-o.right,c="ltr"==i.direction
function u(e,t,r,n){t<0&&(t=0),t=Math.round(t),n=Math.round(n),s.appendChild(P("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n                             top: "+t+"px; width: "+(null==r?l-e:r)+"px;\n                             height: "+(n-t)+"px"))}function h(t,r,n){var s,o,h=Xe(i,t),d=h.text.length
function p(r,n){return Yr(e,ot(t,r),"div",h,n)}function f(t,r,n){var i=nn(e,h,null,t),s="ltr"==r==("after"==n)?"left":"right"
return p("after"==n?i.begin:i.end-(/\s/.test(h.text.charAt(i.end-1))?2:1),s)[s]}var m=me(h,i.direction)
return function(e,t,r,n){if(!e)return n(t,r,"ltr",0)
for(var i=!1,s=0;s<e.length;++s){var o=e[s];(o.from<r&&o.to>t||t==r&&o.to==t)&&(n(Math.max(o.from,t),Math.min(o.to,r),1==o.level?"rtl":"ltr",s),i=!0)}i||n(t,r,"ltr")}(m,r||0,null==n?d:n,(function(e,t,i,h){var g="ltr"==i,y=p(e,g?"left":"right"),v=p(t-1,g?"right":"left"),b=null==r&&0==e,w=null==n&&t==d,S=0==h,k=!m||h==m.length-1
if(v.top-y.top<=3){var x=(c?w:b)&&k,E=(c?b:w)&&S?a:(g?y:v).left,N=x?l:(g?v:y).right
u(E,y.top,N-E,y.bottom)}else{var _,C,A,O
g?(_=c&&b&&S?a:y.left,C=c?l:f(e,i,"before"),A=c?a:f(t,i,"after"),O=c&&w&&k?l:v.right):(_=c?f(e,i,"before"):a,C=!c&&b&&S?l:y.right,A=!c&&w&&k?a:v.left,O=c?f(t,i,"after"):l),u(_,y.top,C-_,y.bottom),y.bottom<v.top&&u(a,y.bottom,null,v.top),u(A,v.top,O-A,v.bottom)}(!s||Nn(y,s)<0)&&(s=y),Nn(v,s)<0&&(s=v),(!o||Nn(y,o)<0)&&(o=y),Nn(v,o)<0&&(o=v)})),{start:s,end:o}}var d=t.from(),p=t.to()
if(d.line==p.line)h(d.line,d.ch,p.ch)
else{var f=Xe(i,d.line),m=Xe(i,p.line),g=Ht(f)==Ht(m),y=h(d.line,d.ch,g?f.text.length+1:null).end,v=h(p.line,g?0:null,p.ch).start
g&&(y.top<v.top-2?(u(y.right,y.top,null,y.bottom),u(a,v.top,v.left,v.bottom)):u(y.right,y.top,v.left-y.right,y.bottom)),y.bottom<v.top&&u(a,y.bottom,null,v.top)}r.appendChild(s)}function Cn(e){if(e.state.focused){var t=e.display
clearInterval(t.blinker)
var r=!0
t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){e.hasFocus()||Tn(e),t.cursorDiv.style.visibility=(r=!r)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function An(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Pn(e))}function On(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Tn(e))}),100)}function Pn(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(we(e,"focus",e,t),e.state.focused=!0,D(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),Cn(e))}function Tn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(we(e,"blur",e,t),e.state.focused=!1,C(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function In(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=Math.max(0,t.scroller.getBoundingClientRect().top),i=t.lineDiv.getBoundingClientRect().top,s=0,l=0;l<t.view.length;l++){var c=t.view[l],u=e.options.lineWrapping,h=void 0,d=0
if(!c.hidden){if(i+=c.line.height,o&&a<8){var p=c.node.offsetTop+c.node.offsetHeight
h=p-r,r=p}else{var f=c.node.getBoundingClientRect()
h=f.bottom-f.top,!u&&c.text.firstChild&&(d=c.text.firstChild.getBoundingClientRect().right-f.left-1)}var m=c.line.height-h
if((m>.005||m<-.005)&&(i<n&&(s-=m),tt(c.line,h),jn(c.line),c.rest))for(var g=0;g<c.rest.length;g++)jn(c.rest[g])
if(d>e.display.sizerWidth){var y=Math.ceil(d/un(e.display))
y>e.display.maxLineLength&&(e.display.maxLineLength=y,e.display.maxLine=c.line,e.display.maxLineChanged=!0)}}}Math.abs(s)>2&&(t.scroller.scrollTop+=s)}function jn(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var r=e.widgets[t],n=r.node.parentNode
n&&(r.height=n.offsetHeight)}}function Dn(e,t,r){var n=r&&null!=r.top?Math.max(0,r.top):e.scroller.scrollTop
n=Math.floor(n-Ar(e))
var i=r&&null!=r.bottom?r.bottom:n+e.wrapper.clientHeight,s=nt(t,n),o=nt(t,i)
if(r&&r.ensure){var a=r.ensure.from.line,l=r.ensure.to.line
a<s?(s=a,o=nt(t,Jt(Xe(t,a))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=o&&(s=nt(t,Jt(Xe(t,l))-e.wrapper.clientHeight),o=l)}return{from:s,to:Math.max(o,s+1)}}function Mn(e,t){var r=e.display,n=cn(e.display)
t.top<0&&(t.top=0)
var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:r.scroller.scrollTop,s=jr(e),o={}
t.bottom-t.top>s&&(t.bottom=t.top+s)
var a=e.doc.height+Or(r),l=t.top<n,c=t.bottom>a-n
if(t.top<i)o.scrollTop=l?0:t.top
else if(t.bottom>i+s){var u=Math.min(t.top,(c?a:t.bottom)-s)
u!=i&&(o.scrollTop=u)}var h=e.options.fixedGutter?0:r.gutters.offsetWidth,d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:r.scroller.scrollLeft-h,p=Ir(e)-r.gutters.offsetWidth,f=t.right-t.left>p
return f&&(t.right=t.left+p),t.left<10?o.scrollLeft=0:t.left<d?o.scrollLeft=Math.max(0,t.left+h-(f?0:10)):t.right>p+d-3&&(o.scrollLeft=t.right+(f?0:10)-p),o}function Bn(e,t){null!=t&&(zn(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Rn(e){zn(e)
var t=e.getCursor()
e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Ln(e,t,r){null==t&&null==r||zn(e),null!=t&&(e.curOp.scrollLeft=t),null!=r&&(e.curOp.scrollTop=r)}function zn(e){var t=e.curOp.scrollToPos
t&&(e.curOp.scrollToPos=null,Fn(e,Qr(e,t.from),Qr(e,t.to),t.margin))}function Fn(e,t,r,n){var i=Mn(e,{left:Math.min(t.left,r.left),top:Math.min(t.top,r.top)-n,right:Math.max(t.right,r.right),bottom:Math.max(t.bottom,r.bottom)+n})
Ln(e,i.scrollLeft,i.scrollTop)}function Vn(e,t){Math.abs(e.doc.scrollTop-t)<2||(r||fi(e,{top:t}),$n(e,t,!0),r&&fi(e),ci(e,100))}function $n(e,t,r){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||r)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Un(e,t,r,n){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n||(e.doc.scrollLeft=t,yi(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Hn(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+Or(e.display))
return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+Tr(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}var qn=function(e,t,r){this.cm=r
var n=this.vert=P("div",[P("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=P("div",[P("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar")
n.tabIndex=i.tabIndex=-1,e(n),e(i),ye(n,"scroll",(function(){n.clientHeight&&t(n.scrollTop,"vertical")})),ye(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,o&&a<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")}
qn.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth
if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0"
var i=e.viewHeight-(t?n:0)
this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0"
if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px"
var s=e.viewWidth-e.barLeft-(r?n:0)
this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+s)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0"
return!this.checkedZeroWidth&&e.clientHeight>0&&(0==n&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?n:0,bottom:t?n:0}},qn.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},qn.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},qn.prototype.zeroWidthHack=function(){var e=b&&!f?"12px":"18px"
this.horiz.style.height=this.vert.style.width=e,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new H,this.disableVert=new H},qn.prototype.enableZeroWidthBar=function(e,t,r){e.style.visibility="",t.set(1e3,(function n(){var i=e.getBoundingClientRect();("vert"==r?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.visibility="hidden":t.set(1e3,n)}))},qn.prototype.clear=function(){var e=this.horiz.parentNode
e.removeChild(this.horiz),e.removeChild(this.vert)}
var Wn=function(){}
function Kn(e,t){t||(t=Hn(e))
var r=e.display.barWidth,n=e.display.barHeight
Zn(e,t)
for(var i=0;i<4&&r!=e.display.barWidth||n!=e.display.barHeight;i++)r!=e.display.barWidth&&e.options.lineWrapping&&In(e),Zn(e,Hn(e)),r=e.display.barWidth,n=e.display.barHeight}function Zn(e,t){var r=e.display,n=r.scrollbars.update(t)
r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",r.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display=""}Wn.prototype.update=function(){return{bottom:0,right:0}},Wn.prototype.setScrollLeft=function(){},Wn.prototype.setScrollTop=function(){},Wn.prototype.clear=function(){}
var Jn={native:qn,null:Wn}
function Gn(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&C(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Jn[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),ye(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,r){"horizontal"==r?Un(e,t):Vn(e,t)}),e),e.display.scrollbars.addClass&&D(e.display.wrapper,e.display.scrollbars.addClass)}var Yn=0
function Xn(e){var t
e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Yn,markArrays:null},t=e.curOp,hr?hr.ops.push(t):t.ownsGroup=hr={ops:[t],delayedCallbacks:[]}}function Qn(e){var t=e.curOp
t&&function(e){var t=e.ownsGroup
if(t)try{!function(e){var t=e.delayedCallbacks,r=0
do{for(;r<t.length;r++)t[r].call(null)
for(var n=0;n<e.ops.length;n++){var i=e.ops[n]
if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(r<t.length)}(t)}finally{hr=null,function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null
!function(e){for(var t=e.ops,r=0;r<t.length;r++)ei(t[r])
for(var n=0;n<t.length;n++)ti(t[n])
for(var i=0;i<t.length;i++)ri(t[i])
for(var s=0;s<t.length;s++)ni(t[s])
for(var o=0;o<t.length;o++)ii(t[o])}(e)}(t)}}(t)}function ei(e){var t=e.cm,r=t.display;(function(e){var t=e.display
!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Tr(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Tr(e)+"px",t.scrollbarsClipped=!0)})(t),e.updateMaxLine&&Yt(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<r.viewFrom||e.scrollToPos.to.line>=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new hi(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function ti(e){e.updatedDisplay=e.mustUpdate&&di(e.cm,e.update)}function ri(e){var t=e.cm,r=t.display
e.updatedDisplay&&In(t),e.barMeasure=Hn(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Mr(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+Tr(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-Ir(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection())}function ni(e){var t=e.cm
null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Un(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1)
var r=e.focus&&e.focus==j(L(t))
e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,r),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Kn(t,e.barMeasure),e.updatedDisplay&&gi(t,e.barMeasure),e.selectionChanged&&Cn(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),r&&An(e.cm)}function ii(e){var t=e.cm,r=t.display,n=t.doc
e.updatedDisplay&&pi(t,e.update),null==r.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(r.wheelStartX=r.wheelStartY=null),null!=e.scrollTop&&$n(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Un(t,e.scrollLeft,!0,!0),e.scrollToPos&&function(e,t){if(!Se(e,"scrollCursorIntoView")){var r=e.display,n=r.sizer.getBoundingClientRect(),i=null,s=r.wrapper.ownerDocument
if(t.top+n.top<0?i=!0:t.bottom+n.top>(s.defaultView.innerHeight||s.documentElement.clientHeight)&&(i=!1),null!=i&&!m){var o=P("div","​",null,"position: absolute;\n                         top: "+(t.top-r.viewOffset-Ar(e.display))+"px;\n                         height: "+(t.bottom-t.top+Tr(e)+r.barHeight)+"px;\n                         left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;")
e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,function(e,t,r,n){var i
null==n&&(n=0),e.options.lineWrapping||t!=r||(r="before"==t.sticky?ot(t.line,t.ch+1,"before"):t,t=t.ch?ot(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t)
for(var s=0;s<5;s++){var o=!1,a=Xr(e,t),l=r&&r!=t?Xr(e,r):a,c=Mn(e,i={left:Math.min(a.left,l.left),top:Math.min(a.top,l.top)-n,right:Math.max(a.left,l.left),bottom:Math.max(a.bottom,l.bottom)+n}),u=e.doc.scrollTop,h=e.doc.scrollLeft
if(null!=c.scrollTop&&(Vn(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(o=!0)),null!=c.scrollLeft&&(Un(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-h)>1&&(o=!0)),!o)break}return i}(t,pt(n,e.scrollToPos.from),pt(n,e.scrollToPos.to),e.scrollToPos.margin))
var i=e.maybeHiddenMarkers,s=e.maybeUnhiddenMarkers
if(i)for(var o=0;o<i.length;++o)i[o].lines.length||we(i[o],"hide")
if(s)for(var a=0;a<s.length;++a)s[a].lines.length&&we(s[a],"unhide")
r.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&we(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function si(e,t){if(e.curOp)return t()
Xn(e)
try{return t()}finally{Qn(e)}}function oi(e,t){return function(){if(e.curOp)return t.apply(e,arguments)
Xn(e)
try{return t.apply(e,arguments)}finally{Qn(e)}}}function ai(e){return function(){if(this.curOp)return e.apply(this,arguments)
Xn(this)
try{return e.apply(this,arguments)}finally{Qn(this)}}}function li(e){return function(){var t=this.cm
if(!t||t.curOp)return e.apply(this,arguments)
Xn(t)
try{return e.apply(this,arguments)}finally{Qn(t)}}}function ci(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,V(ui,e))}function ui(e){var t=e.doc
if(!(t.highlightFrontier>=e.display.viewTo)){var r=+new Date+e.options.workTime,n=bt(e,t.highlightFrontier),i=[]
t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(s){if(n.line>=e.display.viewFrom){var o=s.styles,a=s.text.length>e.options.maxHighlightLength?Ze(t.mode,n.state):null,l=yt(e,s,n,!0)
a&&(n.state=a),s.styles=l.styles
var c=s.styleClasses,u=l.classes
u?s.styleClasses=u:c&&(s.styleClasses=null)
for(var h=!o||o.length!=s.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),d=0;!h&&d<o.length;++d)h=o[d]!=s.styles[d]
h&&i.push(n.line),s.stateAfter=n.save(),n.nextLine()}else s.text.length<=e.options.maxHighlightLength&&wt(e,s.text,n),s.stateAfter=n.line%5==0?n.save():null,n.nextLine()
if(+new Date>r)return ci(e,e.options.workDelay),!0})),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),i.length&&si(e,(function(){for(var t=0;t<i.length;t++)vn(e,i[t],"text")}))}}var hi=function(e,t,r){var n=e.display
this.viewport=t,this.visible=Dn(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=Ir(e),this.force=r,this.dims=hn(e),this.events=[]}
function di(e,t){var r=e.display,n=e.doc
if(t.editorIsHidden)return bn(e),!1
if(!t.force&&t.visible.from>=r.viewFrom&&t.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==Sn(e))return!1
vi(e)&&(bn(e),t.dims=hn(e))
var i=n.first+n.size,s=Math.max(t.visible.from-e.options.viewportMargin,n.first),o=Math.min(i,t.visible.to+e.options.viewportMargin)
r.viewFrom<s&&s-r.viewFrom<20&&(s=Math.max(n.first,r.viewFrom)),r.viewTo>o&&r.viewTo-o<20&&(o=Math.min(i,r.viewTo)),At&&(s=qt(e.doc,s),o=Wt(e.doc,o))
var a=s!=r.viewFrom||o!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;(function(e,t,r){var n=e.display
0==n.view.length||t>=n.viewTo||r<=n.viewFrom?(n.view=ur(e,t,r),n.viewFrom=t):(n.viewFrom>t?n.view=ur(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(gn(e,t))),n.viewFrom=t,n.viewTo<r?n.view=n.view.concat(ur(e,n.viewTo,r)):n.viewTo>r&&(n.view=n.view.slice(0,gn(e,r)))),n.viewTo=r})(e,s,o),r.viewOffset=Jt(Xe(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px"
var c=Sn(e)
if(!a&&0==c&&!t.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1
var u=function(e){if(e.hasFocus())return null
var t=j(L(e))
if(!t||!I(e.display.lineDiv,t))return null
var r={activeElt:t}
if(window.getSelection){var n=F(e).getSelection()
n.anchorNode&&n.extend&&I(e.display.lineDiv,n.anchorNode)&&(r.anchorNode=n.anchorNode,r.anchorOffset=n.anchorOffset,r.focusNode=n.focusNode,r.focusOffset=n.focusOffset)}return r}(e)
return c>4&&(r.lineDiv.style.display="none"),function(e,t,r){var n=e.display,i=e.options.lineNumbers,s=n.lineDiv,o=s.firstChild
function a(t){var r=t.nextSibling
return l&&b&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),r}for(var c=n.view,u=n.viewFrom,h=0;h<c.length;h++){var d=c[h]
if(d.hidden);else if(d.node&&d.node.parentNode==s){for(;o!=d.node;)o=a(o)
var p=i&&null!=t&&t<=u&&d.lineNumber
d.changes&&(q(d.changes,"gutter")>-1&&(p=!1),mr(e,d,u,r)),p&&(A(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(st(e.options,u)))),o=d.node.nextSibling}else{var f=kr(e,d,u,r)
s.insertBefore(f,o)}u+=d.size}for(;o;)o=a(o)}(e,r.updateLineNumbers,t.dims),c>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,function(e){if(e&&e.activeElt&&e.activeElt!=j(z(e.activeElt))&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&I(document.body,e.anchorNode)&&I(document.body,e.focusNode))){var t=e.activeElt.ownerDocument,r=t.defaultView.getSelection(),n=t.createRange()
n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),r.removeAllRanges(),r.addRange(n),r.extend(e.focusNode,e.focusOffset)}}(u),A(r.cursorDiv),A(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,a&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,ci(e,400)),r.updateLineNumbers=null,!0}function pi(e,t){for(var r=t.viewport,n=!0;;n=!1){if(n&&e.options.lineWrapping&&t.oldDisplayWidth!=Ir(e))n&&(t.visible=Dn(e.display,e.doc,r))
else if(r&&null!=r.top&&(r={top:Math.min(e.doc.height+Or(e.display)-jr(e),r.top)}),t.visible=Dn(e.display,e.doc,r),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break
if(!di(e,t))break
In(e)
var i=Hn(e)
kn(e),Kn(e,i),gi(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function fi(e,t){var r=new hi(e,t)
if(di(e,r)){In(e),pi(e,r)
var n=Hn(e)
kn(e),Kn(e,n),gi(e,n),r.finish()}}function mi(e){var t=e.gutters.offsetWidth
e.sizer.style.marginLeft=t+"px",pr(e,"gutterChanged",e)}function gi(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Tr(e)+"px"}function yi(e){var t=e.display,r=t.view
if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var n=dn(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,s=n+"px",o=0;o<r.length;o++)if(!r[o].hidden){e.options.fixedGutter&&(r[o].gutter&&(r[o].gutter.style.left=s),r[o].gutterBackground&&(r[o].gutterBackground.style.left=s))
var a=r[o].alignable
if(a)for(var l=0;l<a.length;l++)a[l].style.left=s}e.options.fixedGutter&&(t.gutters.style.left=n+i+"px")}}function vi(e){if(!e.options.lineNumbers)return!1
var t=e.doc,r=st(e.options,t.first+t.size-1),n=e.display
if(r.length!=n.lineNumChars){var i=n.measure.appendChild(P("div",[P("div",r)],"CodeMirror-linenumber CodeMirror-gutter-elt")),s=i.firstChild.offsetWidth,o=i.offsetWidth-s
return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(s,n.lineGutter.offsetWidth-o)+1,n.lineNumWidth=n.lineNumInnerWidth+o,n.lineNumChars=n.lineNumInnerWidth?r.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",mi(e.display),!0}return!1}function bi(e,t){for(var r=[],n=!1,i=0;i<e.length;i++){var s=e[i],o=null
if("string"!=typeof s&&(o=s.style,s=s.className),"CodeMirror-linenumbers"==s){if(!t)continue
n=!0}r.push({className:s,style:o})}return t&&!n&&r.push({className:"CodeMirror-linenumbers",style:null}),r}function wi(e){var t=e.gutters,r=e.gutterSpecs
A(t),e.lineGutter=null
for(var n=0;n<r.length;++n){var i=r[n],s=i.className,o=i.style,a=t.appendChild(P("div",null,"CodeMirror-gutter "+s))
o&&(a.style.cssText=o),"CodeMirror-linenumbers"==s&&(e.lineGutter=a,a.style.width=(e.lineNumWidth||1)+"px")}t.style.display=r.length?"":"none",mi(e)}function Si(e){wi(e.display),yn(e),yi(e)}function ki(e,t,n,i){var s=this
this.input=n,s.scrollbarFiller=P("div",null,"CodeMirror-scrollbar-filler"),s.scrollbarFiller.setAttribute("cm-not-content","true"),s.gutterFiller=P("div",null,"CodeMirror-gutter-filler"),s.gutterFiller.setAttribute("cm-not-content","true"),s.lineDiv=T("div",null,"CodeMirror-code"),s.selectionDiv=P("div",null,null,"position: relative; z-index: 1"),s.cursorDiv=P("div",null,"CodeMirror-cursors"),s.measure=P("div",null,"CodeMirror-measure"),s.lineMeasure=P("div",null,"CodeMirror-measure"),s.lineSpace=T("div",[s.measure,s.lineMeasure,s.selectionDiv,s.cursorDiv,s.lineDiv],null,"position: relative; outline: none")
var c=T("div",[s.lineSpace],"CodeMirror-lines")
s.mover=P("div",[c],null,"position: relative"),s.sizer=P("div",[s.mover],"CodeMirror-sizer"),s.sizerWidth=null,s.heightForcer=P("div",null,null,"position: absolute; height: "+W+"px; width: 1px;"),s.gutters=P("div",null,"CodeMirror-gutters"),s.lineGutter=null,s.scroller=P("div",[s.sizer,s.heightForcer,s.gutters],"CodeMirror-scroll"),s.scroller.setAttribute("tabIndex","-1"),s.wrapper=P("div",[s.scrollbarFiller,s.gutterFiller,s.scroller],"CodeMirror"),u&&h>=105&&(s.wrapper.style.clipPath="inset(0px)"),s.wrapper.setAttribute("translate","no"),o&&a<8&&(s.gutters.style.zIndex=-1,s.scroller.style.paddingRight=0),l||r&&v||(s.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(s.wrapper):e(s.wrapper)),s.viewFrom=s.viewTo=t.first,s.reportedViewFrom=s.reportedViewTo=t.first,s.view=[],s.renderedView=null,s.externalMeasured=null,s.viewOffset=0,s.lastWrapHeight=s.lastWrapWidth=0,s.updateLineNumbers=null,s.nativeBarWidth=s.barHeight=s.barWidth=0,s.scrollbarsClipped=!1,s.lineNumWidth=s.lineNumInnerWidth=s.lineNumChars=null,s.alignWidgets=!1,s.cachedCharWidth=s.cachedTextHeight=s.cachedPaddingH=null,s.maxLine=null,s.maxLineLength=0,s.maxLineChanged=!1,s.wheelDX=s.wheelDY=s.wheelStartX=s.wheelStartY=null,s.shift=!1,s.selForContextMenu=null,s.activeTouch=null,s.gutterSpecs=bi(i.gutters,i.lineNumbers),wi(s),n.init(s)}hi.prototype.signal=function(e,t){xe(e,t)&&this.events.push(arguments)},hi.prototype.finish=function(){for(var e=0;e<this.events.length;e++)we.apply(null,this.events[e])}
var xi=0,Ei=null
function Ni(e){var t=e.wheelDeltaX,r=e.wheelDeltaY
return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==r&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:null==r&&(r=e.wheelDelta),{x:t,y:r}}function _i(e){var t=Ni(e)
return t.x*=Ei,t.y*=Ei,t}function Ci(e,t){u&&102==h&&(null==e.display.chromeScrollHack?e.display.sizer.style.pointerEvents="none":clearTimeout(e.display.chromeScrollHack),e.display.chromeScrollHack=setTimeout((function(){e.display.chromeScrollHack=null,e.display.sizer.style.pointerEvents=""}),100))
var n=Ni(t),i=n.x,s=n.y,o=Ei
0===t.deltaMode&&(i=t.deltaX,s=t.deltaY,o=1)
var a=e.display,c=a.scroller,p=c.scrollWidth>c.clientWidth,f=c.scrollHeight>c.clientHeight
if(i&&p||s&&f){if(s&&b&&l)e:for(var m=t.target,g=a.view;m!=c;m=m.parentNode)for(var y=0;y<g.length;y++)if(g[y].node==m){e.display.currentWheelTarget=m
break e}if(i&&!r&&!d&&null!=o)return s&&f&&Vn(e,Math.max(0,c.scrollTop+s*o)),Un(e,Math.max(0,c.scrollLeft+i*o)),(!s||s&&f)&&Ne(t),void(a.wheelStartX=null)
if(s&&null!=o){var v=s*o,w=e.doc.scrollTop,S=w+a.wrapper.clientHeight
v<0?w=Math.max(0,w+v-50):S=Math.min(e.doc.height,S+v+50),fi(e,{top:w,bottom:S})}xi<20&&0!==t.deltaMode&&(null==a.wheelStartX?(a.wheelStartX=c.scrollLeft,a.wheelStartY=c.scrollTop,a.wheelDX=i,a.wheelDY=s,setTimeout((function(){if(null!=a.wheelStartX){var e=c.scrollLeft-a.wheelStartX,t=c.scrollTop-a.wheelStartY,r=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX
a.wheelStartX=a.wheelStartY=null,r&&(Ei=(Ei*xi+r)/(xi+1),++xi)}}),200)):(a.wheelDX+=i,a.wheelDY+=s))}}o?Ei=-.53:r?Ei=15:u?Ei=-.7:p&&(Ei=-1/3)
var Ai=function(e,t){this.ranges=e,this.primIndex=t}
Ai.prototype.primary=function(){return this.ranges[this.primIndex]},Ai.prototype.equals=function(e){if(e==this)return!0
if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1
for(var t=0;t<this.ranges.length;t++){var r=this.ranges[t],n=e.ranges[t]
if(!lt(r.anchor,n.anchor)||!lt(r.head,n.head))return!1}return!0},Ai.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new Oi(ct(this.ranges[t].anchor),ct(this.ranges[t].head))
return new Ai(e,this.primIndex)},Ai.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0
return!1},Ai.prototype.contains=function(e,t){t||(t=e)
for(var r=0;r<this.ranges.length;r++){var n=this.ranges[r]
if(at(t,n.from())>=0&&at(e,n.to())<=0)return r}return-1}
var Oi=function(e,t){this.anchor=e,this.head=t}
function Pi(e,t,r){var n=e&&e.options.selectionsMayTouch,i=t[r]
t.sort((function(e,t){return at(e.from(),t.from())})),r=q(t,i)
for(var s=1;s<t.length;s++){var o=t[s],a=t[s-1],l=at(a.to(),o.from())
if(n&&!o.empty()?l>0:l>=0){var c=ht(a.from(),o.from()),u=ut(a.to(),o.to()),h=a.empty()?o.from()==o.head:a.from()==a.head
s<=r&&--r,t.splice(--s,2,new Oi(h?u:c,h?c:u))}}return new Ai(t,r)}function Ti(e,t){return new Ai([new Oi(e,t||e)],0)}function Ii(e){return e.text?ot(e.from.line+e.text.length-1,ee(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function ji(e,t){if(at(e,t.from)<0)return e
if(at(e,t.to)<=0)return Ii(t)
var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch
return e.line==t.to.line&&(n+=Ii(t).ch-t.to.ch),ot(r,n)}function Di(e,t){for(var r=[],n=0;n<e.sel.ranges.length;n++){var i=e.sel.ranges[n]
r.push(new Oi(ji(i.anchor,t),ji(i.head,t)))}return Pi(e.cm,r,e.sel.primIndex)}function Mi(e,t,r){return e.line==t.line?ot(r.line,e.ch-t.ch+r.ch):ot(r.line+(e.line-t.line),e.ch)}function Bi(e){e.doc.mode=qe(e.options,e.doc.modeOption),Ri(e)}function Ri(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ci(e,100),e.state.modeGen++,e.curOp&&yn(e)}function Li(e,t){return 0==t.from.ch&&0==t.to.ch&&""==ee(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function zi(e,t,r,n){function i(e){return r?r[e]:null}function s(e,r,i){(function(e,t,r,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Dt(e),Mt(e,r)
var i=n?n(e):1
i!=e.height&&tt(e,i)})(e,r,i,n),pr(e,"change",e,t)}function o(e,t){for(var r=[],s=e;s<t;++s)r.push(new Xt(c[s],i(s),n))
return r}var a=t.from,l=t.to,c=t.text,u=Xe(e,a.line),h=Xe(e,l.line),d=ee(c),p=i(c.length-1),f=l.line-a.line
if(t.full)e.insert(0,o(0,c.length)),e.remove(c.length,e.size-c.length)
else if(Li(e,t)){var m=o(0,c.length-1)
s(h,h.text,p),f&&e.remove(a.line,f),m.length&&e.insert(a.line,m)}else if(u==h)if(1==c.length)s(u,u.text.slice(0,a.ch)+d+u.text.slice(l.ch),p)
else{var g=o(1,c.length-1)
g.push(new Xt(d+u.text.slice(l.ch),p,n)),s(u,u.text.slice(0,a.ch)+c[0],i(0)),e.insert(a.line+1,g)}else if(1==c.length)s(u,u.text.slice(0,a.ch)+c[0]+h.text.slice(l.ch),i(0)),e.remove(a.line+1,f)
else{s(u,u.text.slice(0,a.ch)+c[0],i(0)),s(h,d+h.text.slice(l.ch),p)
var y=o(1,c.length-1)
f>1&&e.remove(a.line+1,f-1),e.insert(a.line+1,y)}pr(e,"change",e,t)}function Fi(e,t,r){!function e(n,i,s){if(n.linked)for(var o=0;o<n.linked.length;++o){var a=n.linked[o]
if(a.doc!=i){var l=s&&a.sharedHist
r&&!l||(t(a.doc,l),e(a.doc,n,l))}}}(e,null,!0)}function Vi(e,t){if(t.cm)throw new Error("This document is already in use.")
e.doc=t,t.cm=e,fn(e),Bi(e),$i(e),e.options.direction=t.direction,e.options.lineWrapping||Yt(e),e.options.mode=t.modeOption,yn(e)}function $i(e){("rtl"==e.doc.direction?D:C)(e.display.lineDiv,"CodeMirror-rtl")}function Ui(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function Hi(e,t){var r={from:ct(t.from),to:Ii(t),text:Qe(e,t.from,t.to)}
return Zi(e,r,t.from.line,t.to.line+1),Fi(e,(function(e){return Zi(e,r,t.from.line,t.to.line+1)}),!0),r}function qi(e){for(;e.length&&ee(e).ranges;)e.pop()}function Wi(e,t,r,n){var i=e.history
i.undone.length=0
var s,o,a=+new Date
if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>a-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(s=function(e,t){return t?(qi(e.done),ee(e.done)):e.done.length&&!ee(e.done).ranges?ee(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),ee(e.done)):void 0}(i,i.lastOp==n)))o=ee(s.changes),0==at(t.from,t.to)&&0==at(t.from,o.to)?o.to=Ii(t):s.changes.push(Hi(e,t))
else{var l=ee(i.done)
for(l&&l.ranges||Ki(e.sel,i.done),s={changes:[Hi(e,t)],generation:i.generation},i.done.push(s);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(r),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=a,i.lastOp=i.lastSelOp=n,i.lastOrigin=i.lastSelOrigin=t.origin,o||we(e,"historyAdded")}function Ki(e,t){var r=ee(t)
r&&r.ranges&&r.equals(e)||t.push(e)}function Zi(e,t,r,n){var i=t["spans_"+e.id],s=0
e.iter(Math.max(e.first,r),Math.min(e.first+e.size,n),(function(r){r.markedSpans&&((i||(i=t["spans_"+e.id]={}))[s]=r.markedSpans),++s}))}function Ji(e){if(!e)return null
for(var t,r=0;r<e.length;++r)e[r].marker.explicitlyCleared?t||(t=e.slice(0,r)):t&&t.push(e[r])
return t?t.length?t:null:e}function Gi(e,t){var r=function(e,t){var r=t["spans_"+e.id]
if(!r)return null
for(var n=[],i=0;i<t.text.length;++i)n.push(Ji(r[i]))
return n}(e,t),n=It(e,t)
if(!r)return n
if(!n)return r
for(var i=0;i<r.length;++i){var s=r[i],o=n[i]
if(s&&o)e:for(var a=0;a<o.length;++a){for(var l=o[a],c=0;c<s.length;++c)if(s[c].marker==l.marker)continue e
s.push(l)}else o&&(r[i]=o)}return r}function Yi(e,t,r){for(var n=[],i=0;i<e.length;++i){var s=e[i]
if(s.ranges)n.push(r?Ai.prototype.deepCopy.call(s):s)
else{var o=s.changes,a=[]
n.push({changes:a})
for(var l=0;l<o.length;++l){var c=o[l],u=void 0
if(a.push({from:c.from,to:c.to,text:c.text}),t)for(var h in c)(u=h.match(/^spans_(\d+)$/))&&q(t,Number(u[1]))>-1&&(ee(a)[h]=c[h],delete c[h])}}}return n}function Xi(e,t,r,n){if(n){var i=e.anchor
if(r){var s=at(t,i)<0
s!=at(r,i)<0?(i=t,t=r):s!=at(t,r)<0&&(t=r)}return new Oi(i,t)}return new Oi(r||t,t)}function Qi(e,t,r,n,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),is(e,new Ai([Xi(e.sel.primary(),t,r,i)],0),n)}function es(e,t,r){for(var n=[],i=e.cm&&(e.cm.display.shift||e.extend),s=0;s<e.sel.ranges.length;s++)n[s]=Xi(e.sel.ranges[s],t[s],null,i)
is(e,Pi(e.cm,n,e.sel.primIndex),r)}function ts(e,t,r,n){var i=e.sel.ranges.slice(0)
i[t]=r,is(e,Pi(e.cm,i,e.sel.primIndex),n)}function rs(e,t,r,n){is(e,Ti(t,r),n)}function ns(e,t,r){var n=e.history.done,i=ee(n)
i&&i.ranges?(n[n.length-1]=t,ss(e,t,r)):is(e,t,r)}function is(e,t,r){ss(e,t,r),function(e,t,r,n){var i=e.history,s=n&&n.origin
r==i.lastSelOp||s&&i.lastSelOrigin==s&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==s||function(e,t,r,n){var i=t.charAt(0)
return"*"==i||"+"==i&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,s,ee(i.done),t))?i.done[i.done.length-1]=t:Ki(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=s,i.lastSelOp=r,n&&!1!==n.clearRedo&&qi(i.undone)}(e,e.sel,e.cm?e.cm.curOp.id:NaN,r)}function ss(e,t,r){(xe(e,"beforeSelectionChange")||e.cm&&xe(e.cm,"beforeSelectionChange"))&&(t=function(e,t,r){var n={ranges:t.ranges,update:function(t){this.ranges=[]
for(var r=0;r<t.length;r++)this.ranges[r]=new Oi(pt(e,t[r].anchor),pt(e,t[r].head))},origin:r&&r.origin}
return we(e,"beforeSelectionChange",e,n),e.cm&&we(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?Pi(e.cm,n.ranges,n.ranges.length-1):t}(e,t,r))
var n=r&&r.bias||(at(t.primary().head,e.sel.primary().head)<0?-1:1)
os(e,ls(e,t,n,!0)),r&&!1===r.scroll||!e.cm||"nocursor"==e.cm.getOption("readOnly")||Rn(e.cm)}function os(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,ke(e.cm)),pr(e,"cursorActivity",e))}function as(e){os(e,ls(e,e.sel,null,!1))}function ls(e,t,r,n){for(var i,s=0;s<t.ranges.length;s++){var o=t.ranges[s],a=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[s],l=us(e,o.anchor,a&&a.anchor,r,n),c=o.head==o.anchor?l:us(e,o.head,a&&a.head,r,n);(i||l!=o.anchor||c!=o.head)&&(i||(i=t.ranges.slice(0,s)),i[s]=new Oi(l,c))}return i?Pi(e.cm,i,t.primIndex):t}function cs(e,t,r,n,i){var s=Xe(e,t.line)
if(s.markedSpans)for(var o=0;o<s.markedSpans.length;++o){var a=s.markedSpans[o],l=a.marker,c="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,u="selectRight"in l?!l.selectRight:l.inclusiveRight
if((null==a.from||(c?a.from<=t.ch:a.from<t.ch))&&(null==a.to||(u?a.to>=t.ch:a.to>t.ch))){if(i&&(we(l,"beforeCursorEnter"),l.explicitlyCleared)){if(s.markedSpans){--o
continue}break}if(!l.atomic)continue
if(r){var h=l.find(n<0?1:-1),d=void 0
if((n<0?u:c)&&(h=hs(e,h,-n,h&&h.line==t.line?s:null)),h&&h.line==t.line&&(d=at(h,r))&&(n<0?d<0:d>0))return cs(e,h,t,n,i)}var p=l.find(n<0?-1:1)
return(n<0?c:u)&&(p=hs(e,p,n,p.line==t.line?s:null)),p?cs(e,p,t,n,i):null}}return t}function us(e,t,r,n,i){var s=n||1
return cs(e,t,r,s,i)||!i&&cs(e,t,r,s,!0)||cs(e,t,r,-s,i)||!i&&cs(e,t,r,-s,!0)||(e.cantEdit=!0,ot(e.first,0))}function hs(e,t,r,n){return r<0&&0==t.ch?t.line>e.first?pt(e,ot(t.line-1)):null:r>0&&t.ch==(n||Xe(e,t.line)).text.length?t.line<e.first+e.size-1?ot(t.line+1,0):null:new ot(t.line,t.ch+r)}function ds(e){e.setSelection(ot(e.firstLine(),0),ot(e.lastLine()),Z)}function ps(e,t,r){var n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return n.canceled=!0}}
return r&&(n.update=function(t,r,i,s){t&&(n.from=pt(e,t)),r&&(n.to=pt(e,r)),i&&(n.text=i),void 0!==s&&(n.origin=s)}),we(e,"beforeChange",e,n),e.cm&&we(e.cm,"beforeChange",e.cm,n),n.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:n.from,to:n.to,text:n.text,origin:n.origin}}function fs(e,t,r){if(e.cm){if(!e.cm.curOp)return oi(e.cm,fs)(e,t,r)
if(e.cm.state.suppressEdits)return}if(!(xe(e,"beforeChange")||e.cm&&xe(e.cm,"beforeChange"))||(t=ps(e,t,!0))){var n=Ct&&!r&&function(e,t,r){var n=null
if(e.iter(t.line,r.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var r=e.markedSpans[t].marker
!r.readOnly||n&&-1!=q(n,r)||(n||(n=[])).push(r)}})),!n)return null
for(var i=[{from:t,to:r}],s=0;s<n.length;++s)for(var o=n[s],a=o.find(0),l=0;l<i.length;++l){var c=i[l]
if(!(at(c.to,a.from)<0||at(c.from,a.to)>0)){var u=[l,1],h=at(c.from,a.from),d=at(c.to,a.to);(h<0||!o.inclusiveLeft&&!h)&&u.push({from:c.from,to:a.from}),(d>0||!o.inclusiveRight&&!d)&&u.push({from:a.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}(e,t.from,t.to)
if(n)for(var i=n.length-1;i>=0;--i)ms(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text,origin:t.origin})
else ms(e,t)}}function ms(e,t){if(1!=t.text.length||""!=t.text[0]||0!=at(t.from,t.to)){var r=Di(e,t)
Wi(e,t,r,e.cm?e.cm.curOp.id:NaN),vs(e,t,r,It(e,t))
var n=[]
Fi(e,(function(e,r){r||-1!=q(n,e.history)||(ks(e.history,t),n.push(e.history)),vs(e,t,null,It(e,t))}))}}function gs(e,t,r){var n=e.cm&&e.cm.state.suppressEdits
if(!n||r){for(var i,s=e.history,o=e.sel,a="undo"==t?s.done:s.undone,l="undo"==t?s.undone:s.done,c=0;c<a.length&&(i=a[c],r?!i.ranges||i.equals(e.sel):i.ranges);c++);if(c!=a.length){for(s.lastOrigin=s.lastSelOrigin=null;;){if(!(i=a.pop()).ranges){if(n)return void a.push(i)
break}if(Ki(i,l),r&&!i.equals(e.sel))return void is(e,i,{clearRedo:!1})
o=i}var u=[]
Ki(o,l),l.push({changes:u,generation:s.generation}),s.generation=i.generation||++s.maxGeneration
for(var h=xe(e,"beforeChange")||e.cm&&xe(e.cm,"beforeChange"),d=function(r){var n=i.changes[r]
if(n.origin=t,h&&!ps(e,n,!1))return a.length=0,{}
u.push(Hi(e,n))
var s=r?Di(e,n):ee(a)
vs(e,n,s,Gi(e,n)),!r&&e.cm&&e.cm.scrollIntoView({from:n.from,to:Ii(n)})
var o=[]
Fi(e,(function(e,t){t||-1!=q(o,e.history)||(ks(e.history,n),o.push(e.history)),vs(e,n,null,Gi(e,n))}))},p=i.changes.length-1;p>=0;--p){var f=d(p)
if(f)return f.v}}}}function ys(e,t){if(0!=t&&(e.first+=t,e.sel=new Ai(te(e.sel.ranges,(function(e){return new Oi(ot(e.anchor.line+t,e.anchor.ch),ot(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){yn(e.cm,e.first,e.first-t,t)
for(var r=e.cm.display,n=r.viewFrom;n<r.viewTo;n++)vn(e.cm,n,"gutter")}}function vs(e,t,r,n){if(e.cm&&!e.cm.curOp)return oi(e.cm,vs)(e,t,r,n)
if(t.to.line<e.first)ys(e,t.text.length-1-(t.to.line-t.from.line))
else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line)
ys(e,i),t={from:ot(e.first,0),to:ot(t.to.line+i,t.to.ch),text:[ee(t.text)],origin:t.origin}}var s=e.lastLine()
t.to.line>s&&(t={from:t.from,to:ot(s,Xe(e,s).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Qe(e,t.from,t.to),r||(r=Di(e,t)),e.cm?function(e,t,r){var n=e.doc,i=e.display,s=t.from,o=t.to,a=!1,l=s.line
e.options.lineWrapping||(l=rt(Ht(Xe(n,s.line))),n.iter(l,o.line+1,(function(e){if(e==i.maxLine)return a=!0,!0}))),n.sel.contains(t.from,t.to)>-1&&ke(e),zi(n,t,r,pn(e)),e.options.lineWrapping||(n.iter(l,s.line+t.text.length,(function(e){var t=Gt(e)
t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,a=!1)})),a&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var r=e.first,n=t-1;n>r;n--){var i=Xe(e,n).stateAfter
if(i&&(!(i instanceof mt)||n+i.lookAhead<t)){r=n+1
break}}e.highlightFrontier=Math.min(e.highlightFrontier,r)}}(n,s.line),ci(e,400)
var c=t.text.length-(o.line-s.line)-1
t.full?yn(e):s.line!=o.line||1!=t.text.length||Li(e.doc,t)?yn(e,s.line,o.line+1,c):vn(e,s.line,"text")
var u=xe(e,"changes"),h=xe(e,"change")
if(h||u){var d={from:s,to:o,text:t.text,removed:t.removed,origin:t.origin}
h&&pr(e,"change",e,d),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(d)}e.display.selForContextMenu=null}(e.cm,t,n):zi(e,t,n),ss(e,r,Z),e.cantEdit&&us(e,ot(e.firstLine(),0))&&(e.cantEdit=!1)}}function bs(e,t,r,n,i){var s
n||(n=r),at(n,r)<0&&(r=(s=[n,r])[0],n=s[1]),"string"==typeof t&&(t=e.splitLines(t)),fs(e,{from:r,to:n,text:t,origin:i})}function ws(e,t,r,n){r<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0)}function Ss(e,t,r,n){for(var i=0;i<e.length;++i){var s=e[i],o=!0
if(s.ranges){s.copied||((s=e[i]=s.deepCopy()).copied=!0)
for(var a=0;a<s.ranges.length;a++)ws(s.ranges[a].anchor,t,r,n),ws(s.ranges[a].head,t,r,n)}else{for(var l=0;l<s.changes.length;++l){var c=s.changes[l]
if(r<c.from.line)c.from=ot(c.from.line+n,c.from.ch),c.to=ot(c.to.line+n,c.to.ch)
else if(t<=c.to.line){o=!1
break}}o||(e.splice(0,i+1),i=0)}}}function ks(e,t){var r=t.from.line,n=t.to.line,i=t.text.length-(n-r)-1
Ss(e.done,r,n,i),Ss(e.undone,r,n,i)}function xs(e,t,r,n){var i=t,s=t
return"number"==typeof t?s=Xe(e,dt(e,t)):i=rt(t),null==i?null:(n(s,i)&&e.cm&&vn(e.cm,i,r),s)}function Es(e){this.lines=e,this.parent=null
for(var t=0,r=0;r<e.length;++r)e[r].parent=this,t+=e[r].height
this.height=t}function Ns(e){this.children=e
for(var t=0,r=0,n=0;n<e.length;++n){var i=e[n]
t+=i.chunkSize(),r+=i.height,i.parent=this}this.size=t,this.height=r,this.parent=null}Oi.prototype.from=function(){return ht(this.anchor,this.head)},Oi.prototype.to=function(){return ut(this.anchor,this.head)},Oi.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},Es.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var r=e,n=e+t;r<n;++r){var i=this.lines[r]
this.height-=i.height,Qt(i),pr(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,r){this.height+=r,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e))
for(var n=0;n<t.length;++n)t[n].parent=this},iterN:function(e,t,r){for(var n=e+t;e<n;++e)if(r(this.lines[e]))return!0}},Ns.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t
for(var r=0;r<this.children.length;++r){var n=this.children[r],i=n.chunkSize()
if(e<i){var s=Math.min(t,i-e),o=n.height
if(n.removeInner(e,s),this.height-=o-n.height,i==s&&(this.children.splice(r--,1),n.parent=null),0==(t-=s))break
e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof Es))){var a=[]
this.collapse(a),this.children=[new Es(a)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,r){this.size+=t.length,this.height+=r
for(var n=0;n<this.children.length;++n){var i=this.children[n],s=i.chunkSize()
if(e<=s){if(i.insertInner(e,t,r),i.lines&&i.lines.length>50){for(var o=i.lines.length%25+25,a=o;a<i.lines.length;){var l=new Es(i.lines.slice(a,a+=25))
i.height-=l.height,this.children.splice(++n,0,l),l.parent=this}i.lines=i.lines.slice(0,o),this.maybeSpill()}break}e-=s}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this
do{var t=new Ns(e.children.splice(e.children.length-5,5))
if(e.parent){e.size-=t.size,e.height-=t.height
var r=q(e.parent.children,e)
e.parent.children.splice(r+1,0,t)}else{var n=new Ns(e.children)
n.parent=e,e.children=[n,t],e=n}t.parent=e.parent}while(e.children.length>10)
e.parent.maybeSpill()}},iterN:function(e,t,r){for(var n=0;n<this.children.length;++n){var i=this.children[n],s=i.chunkSize()
if(e<s){var o=Math.min(t,s-e)
if(i.iterN(e,o,r))return!0
if(0==(t-=o))break
e=0}else e-=s}}}
var _s=function(e,t,r){if(r)for(var n in r)r.hasOwnProperty(n)&&(this[n]=r[n])
this.doc=e,this.node=t}
function Cs(e,t,r){Jt(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Bn(e,r)}_s.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,r=this.line,n=rt(r)
if(null!=n&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1)
t.length||(r.widgets=null)
var s=_r(this)
tt(r,Math.max(0,r.height-s)),e&&(si(e,(function(){Cs(e,r,-s),vn(e,n,"widget")})),pr(e,"lineWidgetCleared",e,this,n))}},_s.prototype.changed=function(){var e=this,t=this.height,r=this.doc.cm,n=this.line
this.height=null
var i=_r(this)-t
i&&(Kt(this.doc,n)||tt(n,n.height+i),r&&si(r,(function(){r.curOp.forceUpdate=!0,Cs(r,n,i),pr(r,"lineWidgetChanged",r,e,rt(n))})))},Ee(_s)
var As=0,Os=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++As}
function Ps(e,t,r,n,i){if(n&&n.shared)return function(e,t,r,n,i){(n=$(n)).shared=!1
var s=[Ps(e,t,r,n,i)],o=s[0],a=n.widgetNode
return Fi(e,(function(e){a&&(n.widgetNode=a.cloneNode(!0)),s.push(Ps(e,pt(e,t),pt(e,r),n,i))
for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return
o=ee(s)})),new Ts(s,o)}(e,t,r,n,i)
if(e.cm&&!e.cm.curOp)return oi(e.cm,Ps)(e,t,r,n,i)
var s=new Os(e,i),o=at(t,r)
if(n&&$(n,s,!1),o>0||0==o&&!1!==s.clearWhenEmpty)return s
if(s.replacedWith&&(s.collapsed=!0,s.widgetNode=T("span",[s.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||s.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(s.widgetNode.insertLeft=!0)),s.collapsed){if(Ut(e,t.line,t,r,s)||t.line!=r.line&&Ut(e,r.line,t,r,s))throw new Error("Inserting collapsed marker partially overlapping an existing one")
At=!0}s.addToHistory&&Wi(e,{from:t,to:r,origin:"markText"},e.sel,NaN)
var a,l=t.line,c=e.cm
if(e.iter(l,r.line+1,(function(n){c&&s.collapsed&&!c.options.lineWrapping&&Ht(n)==c.display.maxLine&&(a=!0),s.collapsed&&l!=t.line&&tt(n,0),function(e,t,r){var n=r&&window.WeakSet&&(r.markedSpans||(r.markedSpans=new WeakSet))
n&&e.markedSpans&&n.has(e.markedSpans)?e.markedSpans.push(t):(e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],n&&n.add(e.markedSpans)),t.marker.attachLine(e)}(n,new Ot(s,l==t.line?t.ch:null,l==r.line?r.ch:null),e.cm&&e.cm.curOp),++l})),s.collapsed&&e.iter(t.line,r.line+1,(function(t){Kt(e,t)&&tt(t,0)})),s.clearOnEnter&&ye(s,"beforeCursorEnter",(function(){return s.clear()})),s.readOnly&&(Ct=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),s.collapsed&&(s.id=++As,s.atomic=!0),c){if(a&&(c.curOp.updateMaxLine=!0),s.collapsed)yn(c,t.line,r.line+1)
else if(s.className||s.startStyle||s.endStyle||s.css||s.attributes||s.title)for(var u=t.line;u<=r.line;u++)vn(c,u,"text")
s.atomic&&as(c.doc),pr(c,"markerAdded",c,s)}return s}Os.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp
if(t&&Xn(e),xe(this,"clear")){var r=this.find()
r&&pr(this,"clear",r.from,r.to)}for(var n=null,i=null,s=0;s<this.lines.length;++s){var o=this.lines[s],a=Pt(o.markedSpans,this)
e&&!this.collapsed?vn(e,rt(o),"text"):e&&(null!=a.to&&(i=rt(o)),null!=a.from&&(n=rt(o))),o.markedSpans=Tt(o.markedSpans,a),null==a.from&&this.collapsed&&!Kt(this.doc,o)&&e&&tt(o,cn(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=Ht(this.lines[l]),u=Gt(c)
u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=n&&e&&this.collapsed&&yn(e,n,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&as(e.doc)),e&&pr(e,"markerCleared",e,this,n,i),t&&Qn(e),this.parent&&this.parent.clear()}},Os.prototype.find=function(e,t){var r,n
null==e&&"bookmark"==this.type&&(e=1)
for(var i=0;i<this.lines.length;++i){var s=this.lines[i],o=Pt(s.markedSpans,this)
if(null!=o.from&&(r=ot(t?s:rt(s),o.from),-1==e))return r
if(null!=o.to&&(n=ot(t?s:rt(s),o.to),1==e))return n}return r&&{from:r,to:n}},Os.prototype.changed=function(){var e=this,t=this.find(-1,!0),r=this,n=this.doc.cm
t&&n&&si(n,(function(){var i=t.line,s=rt(t.line),o=Br(n,s)
if(o&&(Ur(o),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!Kt(r.doc,i)&&null!=r.height){var a=r.height
r.height=null
var l=_r(r)-a
l&&tt(i,i.height+l)}pr(n,"markerChanged",n,e)}))},Os.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp
t.maybeHiddenMarkers&&-1!=q(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Os.prototype.detachLine=function(e){if(this.lines.splice(q(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},Ee(Os)
var Ts=function(e,t){this.markers=e,this.primary=t
for(var r=0;r<e.length;++r)e[r].parent=this}
function Is(e){return e.findMarks(ot(e.first,0),e.clipPos(ot(e.lastLine())),(function(e){return e.parent}))}function js(e){for(var t=function(t){var r=e[t],n=[r.primary.doc]
Fi(r.primary.doc,(function(e){return n.push(e)}))
for(var i=0;i<r.markers.length;i++){var s=r.markers[i];-1==q(n,s.doc)&&(s.parent=null,r.markers.splice(i--,1))}},r=0;r<e.length;r++)t(r)}Ts.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0
for(var e=0;e<this.markers.length;++e)this.markers[e].clear()
pr(this,"clear")}},Ts.prototype.find=function(e,t){return this.primary.find(e,t)},Ee(Ts)
var Ds=0,Ms=function(e,t,r,n,i){if(!(this instanceof Ms))return new Ms(e,t,r,n,i)
null==r&&(r=0),Ns.call(this,[new Es([new Xt("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=r
var s=ot(r,0)
this.sel=Ti(s),this.history=new Ui(null),this.id=++Ds,this.modeOption=t,this.lineSep=n,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),zi(this,{from:s,to:s,text:e}),is(this,Ti(s),Z)}
Ms.prototype=ne(Ns.prototype,{constructor:Ms,iter:function(e,t,r){r?this.iterN(e-this.first,t-e,r):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var r=0,n=0;n<t.length;++n)r+=t[n].height
this.insertInner(e-this.first,t,r)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=et(this,this.first,this.first+this.size)
return!1===e?t:t.join(e||this.lineSeparator())},setValue:li((function(e){var t=ot(this.first,0),r=this.first+this.size-1
fs(this,{from:t,to:ot(r,Xe(this,r).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Ln(this.cm,0,0),is(this,Ti(t),Z)})),replaceRange:function(e,t,r,n){bs(this,e,t=pt(this,t),r=r?pt(this,r):t,n)},getRange:function(e,t,r){var n=Qe(this,pt(this,e),pt(this,t))
return!1===r?n:""===r?n.join(""):n.join(r||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e)
return t&&t.text},getLineHandle:function(e){if(it(this,e))return Xe(this,e)},getLineNumber:function(e){return rt(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Xe(this,e)),Ht(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return pt(this,e)},getCursor:function(e){var t=this.sel.primary()
return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:li((function(e,t,r){rs(this,pt(this,"number"==typeof e?ot(e,t||0):e),null,r)})),setSelection:li((function(e,t,r){rs(this,pt(this,e),pt(this,t||e),r)})),extendSelection:li((function(e,t,r){Qi(this,pt(this,e),t&&pt(this,t),r)})),extendSelections:li((function(e,t){es(this,ft(this,e),t)})),extendSelectionsBy:li((function(e,t){es(this,ft(this,te(this.sel.ranges,e)),t)})),setSelections:li((function(e,t,r){if(e.length){for(var n=[],i=0;i<e.length;i++)n[i]=new Oi(pt(this,e[i].anchor),pt(this,e[i].head||e[i].anchor))
null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),is(this,Pi(this.cm,n,t),r)}})),addSelection:li((function(e,t,r){var n=this.sel.ranges.slice(0)
n.push(new Oi(pt(this,e),pt(this,t||e))),is(this,Pi(this.cm,n,n.length-1),r)})),getSelection:function(e){for(var t,r=this.sel.ranges,n=0;n<r.length;n++){var i=Qe(this,r[n].from(),r[n].to())
t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],r=this.sel.ranges,n=0;n<r.length;n++){var i=Qe(this,r[n].from(),r[n].to())
!1!==e&&(i=i.join(e||this.lineSeparator())),t[n]=i}return t},replaceSelection:function(e,t,r){for(var n=[],i=0;i<this.sel.ranges.length;i++)n[i]=e
this.replaceSelections(n,t,r||"+input")},replaceSelections:li((function(e,t,r){for(var n=[],i=this.sel,s=0;s<i.ranges.length;s++){var o=i.ranges[s]
n[s]={from:o.from(),to:o.to(),text:this.splitLines(e[s]),origin:r}}for(var a=t&&"end"!=t&&function(e,t,r){for(var n=[],i=ot(e.first,0),s=i,o=0;o<t.length;o++){var a=t[o],l=Mi(a.from,i,s),c=Mi(Ii(a),i,s)
if(i=a.to,s=c,"around"==r){var u=e.sel.ranges[o],h=at(u.head,u.anchor)<0
n[o]=new Oi(h?c:l,h?l:c)}else n[o]=new Oi(l,l)}return new Ai(n,e.sel.primIndex)}(this,n,t),l=n.length-1;l>=0;l--)fs(this,n[l])
a?ns(this,a):this.cm&&Rn(this.cm)})),undo:li((function(){gs(this,"undo")})),redo:li((function(){gs(this,"redo")})),undoSelection:li((function(){gs(this,"undo",!0)})),redoSelection:li((function(){gs(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,r=0,n=0;n<e.done.length;n++)e.done[n].ranges||++t
for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++r
return{undo:t,redo:r}},clearHistory:function(){var e=this
this.history=new Ui(this.history),Fi(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Yi(this.history.done),undone:Yi(this.history.undone)}},setHistory:function(e){var t=this.history=new Ui(this.history)
t.done=Yi(e.done.slice(0),null,!0),t.undone=Yi(e.undone.slice(0),null,!0)},setGutterMarker:li((function(e,t,r){return xs(this,e,"gutter",(function(e){var n=e.gutterMarkers||(e.gutterMarkers={})
return n[t]=r,!r&&ae(n)&&(e.gutterMarkers=null),!0}))})),clearGutter:li((function(e){var t=this
this.iter((function(r){r.gutterMarkers&&r.gutterMarkers[e]&&xs(t,r,"gutter",(function(){return r.gutterMarkers[e]=null,ae(r.gutterMarkers)&&(r.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t
if("number"==typeof e){if(!it(this,e))return null
if(t=e,!(e=Xe(this,e)))return null}else if(null==(t=rt(e)))return null
return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:li((function(e,t,r){return xs(this,e,"gutter"==t?"gutter":"class",(function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass"
if(e[n]){if(N(r).test(e[n]))return!1
e[n]+=" "+r}else e[n]=r
return!0}))})),removeLineClass:li((function(e,t,r){return xs(this,e,"gutter"==t?"gutter":"class",(function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[n]
if(!i)return!1
if(null==r)e[n]=null
else{var s=i.match(N(r))
if(!s)return!1
var o=s.index+s[0].length
e[n]=i.slice(0,s.index)+(s.index&&o!=i.length?" ":"")+i.slice(o)||null}return!0}))})),addLineWidget:li((function(e,t,r){return function(e,t,r,n){var i=new _s(e,r,n),s=e.cm
return s&&i.noHScroll&&(s.display.alignWidgets=!0),xs(e,t,"widget",(function(t){var r=t.widgets||(t.widgets=[])
if(null==i.insertAt?r.push(i):r.splice(Math.min(r.length,Math.max(0,i.insertAt)),0,i),i.line=t,s&&!Kt(e,t)){var n=Jt(t)<e.scrollTop
tt(t,t.height+_r(i)),n&&Bn(s,i.height),s.curOp.forceUpdate=!0}return!0})),s&&pr(s,"lineWidgetAdded",s,i,"number"==typeof t?t:rt(t)),i}(this,e,t,r)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,r){return Ps(this,pt(this,e),pt(this,t),r,r&&r.type||"range")},setBookmark:function(e,t){var r={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents}
return Ps(this,e=pt(this,e),e,r,"bookmark")},findMarksAt:function(e){var t=[],r=Xe(this,(e=pt(this,e)).line).markedSpans
if(r)for(var n=0;n<r.length;++n){var i=r[n];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,r){e=pt(this,e),t=pt(this,t)
var n=[],i=e.line
return this.iter(e.line,t.line+1,(function(s){var o=s.markedSpans
if(o)for(var a=0;a<o.length;a++){var l=o[a]
null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||r&&!r(l.marker)||n.push(l.marker.parent||l.marker)}++i})),n},getAllMarks:function(){var e=[]
return this.iter((function(t){var r=t.markedSpans
if(r)for(var n=0;n<r.length;++n)null!=r[n].from&&e.push(r[n].marker)})),e},posFromIndex:function(e){var t,r=this.first,n=this.lineSeparator().length
return this.iter((function(i){var s=i.text.length+n
if(s>e)return t=e,!0
e-=s,++r})),pt(this,ot(r,t))},indexFromPos:function(e){var t=(e=pt(this,e)).ch
if(e.line<this.first||e.ch<0)return 0
var r=this.lineSeparator().length
return this.iter(this.first,e.line,(function(e){t+=e.text.length+r})),t},copy:function(e){var t=new Ms(et(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction)
return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={})
var t=this.first,r=this.first+this.size
null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<r&&(r=e.to)
var n=new Ms(et(this,t,r),e.mode||this.modeOption,t,this.lineSep,this.direction)
return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=n.find(),s=e.clipPos(i.from),o=e.clipPos(i.to)
if(at(s,o)){var a=Ps(e,s,o,n.primary,n.primary.type)
n.markers.push(a),a.parent=n}}}(n,Is(this)),n},unlinkDoc:function(e){if(e instanceof To&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t)if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),js(Is(this))
break}if(e.history==this.history){var r=[e.id]
Fi(e,(function(e){return r.push(e.id)}),!0),e.history=new Ui(null),e.history.done=Yi(this.history.done,r),e.history.undone=Yi(this.history.undone,r)}},iterLinkedDocs:function(e){Fi(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Re(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:li((function(e){var t
"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&si(t=this.cm,(function(){$i(t),yn(t)})))}))}),Ms.prototype.eachLine=Ms.prototype.iter
var Bs=0
function Rs(e){var t=this
if(Ls(t),!Se(t,e)&&!Cr(t.display,e)){Ne(e),o&&(Bs=+new Date)
var r=mn(t,e,!0),n=e.dataTransfer.files
if(r&&!t.isReadOnly())if(n&&n.length&&window.FileReader&&window.File)for(var i=n.length,s=Array(i),a=0,l=function(){++a==i&&oi(t,(function(){var e={from:r=pt(t.doc,r),to:r,text:t.doc.splitLines(s.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:"paste"}
fs(t.doc,e),ns(t.doc,Ti(pt(t.doc,r),pt(t.doc,Ii(e))))}))()},c=function(e,r){if(t.options.allowDropFileTypes&&-1==q(t.options.allowDropFileTypes,e.type))l()
else{var n=new FileReader
n.onerror=function(){return l()},n.onload=function(){var e=n.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(s[r]=e),l()},n.readAsText(e)}},u=0;u<n.length;u++)c(n[u],u)
else{if(t.state.draggingText&&t.doc.sel.contains(r)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20)
try{var h=e.dataTransfer.getData("Text")
if(h){var d
if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),ss(t.doc,Ti(r,r)),d)for(var p=0;p<d.length;++p)bs(t.doc,"",d[p].anchor,d[p].head,"drag")
t.replaceSelection(h,"around","paste"),t.display.input.focus()}}catch(e){}}}}function Ls(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function zs(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),r=[],n=0;n<t.length;n++){var i=t[n].CodeMirror
i&&r.push(i)}r.length&&r[0].operation((function(){for(var t=0;t<r.length;t++)e(r[t])}))}}var Fs=!1
function Vs(e){var t=e.display
t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var $s={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Us=0;Us<10;Us++)$s[Us+48]=$s[Us+96]=String(Us)
for(var Hs=65;Hs<=90;Hs++)$s[Hs]=String.fromCharCode(Hs)
for(var qs=1;qs<=12;qs++)$s[qs+111]=$s[qs+63235]="F"+qs
var Ws={}
function Ks(e){var t,r,n,i,s=e.split(/-(?!$)/)
e=s[s.length-1]
for(var o=0;o<s.length-1;o++){var a=s[o]
if(/^(cmd|meta|m)$/i.test(a))i=!0
else if(/^a(lt)?$/i.test(a))t=!0
else if(/^(c|ctrl|control)$/i.test(a))r=!0
else{if(!/^s(hift)?$/i.test(a))throw new Error("Unrecognized modifier name: "+a)
n=!0}}return t&&(e="Alt-"+e),r&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),n&&(e="Shift-"+e),e}function Zs(e){var t={}
for(var r in e)if(e.hasOwnProperty(r)){var n=e[r]
if(/^(name|fallthrough|(de|at)tach)$/.test(r))continue
if("..."==n){delete e[r]
continue}for(var i=te(r.split(" "),Ks),s=0;s<i.length;s++){var o=void 0,a=void 0
s==i.length-1?(a=i.join(" "),o=n):(a=i.slice(0,s+1).join(" "),o="...")
var l=t[a]
if(l){if(l!=o)throw new Error("Inconsistent bindings for "+a)}else t[a]=o}delete e[r]}for(var c in t)e[c]=t[c]
return e}function Js(e,t,r,n){var i=(t=Qs(t)).call?t.call(e,n):t[e]
if(!1===i)return"nothing"
if("..."===i)return"multi"
if(null!=i&&r(i))return"handled"
if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Js(e,t.fallthrough,r,n)
for(var s=0;s<t.fallthrough.length;s++){var o=Js(e,t.fallthrough[s],r,n)
if(o)return o}}}function Gs(e){var t="string"==typeof e?e:$s[e.keyCode]
return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Ys(e,t,r){var n=e
return t.altKey&&"Alt"!=n&&(e="Alt-"+e),(x?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(e="Ctrl-"+e),(x?t.ctrlKey:t.metaKey)&&"Mod"!=n&&(e="Cmd-"+e),!r&&t.shiftKey&&"Shift"!=n&&(e="Shift-"+e),e}function Xs(e,t){if(d&&34==e.keyCode&&e.char)return!1
var r=$s[e.keyCode]
return null!=r&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(r=e.code),Ys(r,e,t))}function Qs(e){return"string"==typeof e?Ws[e]:e}function eo(e,t){for(var r=e.doc.sel.ranges,n=[],i=0;i<r.length;i++){for(var s=t(r[i]);n.length&&at(s.from,ee(n).to)<=0;){var o=n.pop()
if(at(o.from,s.from)<0){s.from=o.from
break}}n.push(s)}si(e,(function(){for(var t=n.length-1;t>=0;t--)bs(e.doc,"",n[t].from,n[t].to,"+delete")
Rn(e)}))}function to(e,t,r){var n=ue(e.text,t+r,r)
return n<0||n>e.text.length?null:n}function ro(e,t,r){var n=to(e,t.ch,r)
return null==n?null:new ot(t.line,n,r<0?"after":"before")}function no(e,t,r,n,i){if(e){"rtl"==t.doc.direction&&(i=-i)
var s=me(r,t.doc.direction)
if(s){var o,a=i<0?ee(s):s[0],l=i<0==(1==a.level)?"after":"before"
if(a.level>0||"rtl"==t.doc.direction){var c=Rr(t,r)
o=i<0?r.text.length-1:0
var u=Lr(t,c,o).top
o=he((function(e){return Lr(t,c,e).top==u}),i<0==(1==a.level)?a.from:a.to-1,o),"before"==l&&(o=to(r,o,1))}else o=i<0?a.to:a.from
return new ot(n,o,l)}}return new ot(n,i<0?r.text.length:0,i<0?"before":"after")}Ws.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ws.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ws.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ws.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ws.default=b?Ws.macDefault:Ws.pcDefault
var io={selectAll:ds,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Z)},killLine:function(e){return eo(e,(function(t){if(t.empty()){var r=Xe(e.doc,t.head.line).text.length
return t.head.ch==r&&t.head.line<e.lastLine()?{from:t.head,to:ot(t.head.line+1,0)}:{from:t.head,to:ot(t.head.line,r)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return eo(e,(function(t){return{from:ot(t.from().line,0),to:pt(e.doc,ot(t.to().line+1,0))}}))},delLineLeft:function(e){return eo(e,(function(e){return{from:ot(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return eo(e,(function(t){var r=e.charCoords(t.head,"div").top+5
return{from:e.coordsChar({left:0,top:r},"div"),to:t.from()}}))},delWrappedLineRight:function(e){return eo(e,(function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div")
return{from:t.from(),to:n}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(ot(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(ot(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return so(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return oo(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return function(e,t){var r=Xe(e.doc,t),n=function(e){for(var t;t=Vt(e);)e=t.find(1,!0).line
return e}(r)
return n!=r&&(t=rt(n)),no(!0,e,r,t,-1)}(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var r=e.cursorCoords(t.head,"div").top+5
return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div")}),G)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var r=e.cursorCoords(t.head,"div").top+5
return e.coordsChar({left:0,top:r},"div")}),G)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var r=e.cursorCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div")
return n.ch<e.getLine(n.line).search(/\S/)?oo(e,t.head):n}),G)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],r=e.listSelections(),n=e.options.tabSize,i=0;i<r.length;i++){var s=r[i].from(),o=U(e.getLine(s.line),s.ch,n)
t.push(Q(n-o%n))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return si(e,(function(){for(var t=e.listSelections(),r=[],n=0;n<t.length;n++)if(t[n].empty()){var i=t[n].head,s=Xe(e.doc,i.line).text
if(s)if(i.ch==s.length&&(i=new ot(i.line,i.ch-1)),i.ch>0)i=new ot(i.line,i.ch+1),e.replaceRange(s.charAt(i.ch-1)+s.charAt(i.ch-2),ot(i.line,i.ch-2),i,"+transpose")
else if(i.line>e.doc.first){var o=Xe(e.doc,i.line-1).text
o&&(i=new ot(i.line,1),e.replaceRange(s.charAt(0)+e.doc.lineSeparator()+o.charAt(o.length-1),ot(i.line-1,o.length-1),i,"+transpose"))}r.push(new Oi(i,i))}e.setSelections(r)}))},newlineAndIndent:function(e){return si(e,(function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(e.doc.lineSeparator(),t[r].anchor,t[r].head,"+input")
t=e.listSelections()
for(var n=0;n<t.length;n++)e.indentLine(t[n].from().line,null,!0)
Rn(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}}
function so(e,t){var r=Xe(e.doc,t),n=Ht(r)
return n!=r&&(t=rt(n)),no(!0,e,n,t,1)}function oo(e,t){var r=so(e,t.line),n=Xe(e.doc,r.line),i=me(n,e.doc.direction)
if(!i||0==i[0].level){var s=Math.max(r.ch,n.text.search(/\S/)),o=t.line==r.line&&t.ch<=s&&t.ch
return ot(r.line,o?0:s,r.sticky)}return r}function ao(e,t,r){if("string"==typeof t&&!(t=io[t]))return!1
e.display.input.ensurePolled()
var n=e.display.shift,i=!1
try{e.isReadOnly()&&(e.state.suppressEdits=!0),r&&(e.display.shift=!1),i=t(e)!=K}finally{e.display.shift=n,e.state.suppressEdits=!1}return i}var lo=new H
function co(e,t,r,n){var i=e.state.keySeq
if(i){if(Gs(t))return"handled"
if(/\'$/.test(t)?e.state.keySeq=null:lo.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),uo(e,i+" "+t,r,n))return!0}return uo(e,t,r,n)}function uo(e,t,r,n){var i=function(e,t,r){for(var n=0;n<e.state.keyMaps.length;n++){var i=Js(t,e.state.keyMaps[n],r,e)
if(i)return i}return e.options.extraKeys&&Js(t,e.options.extraKeys,r,e)||Js(t,e.options.keyMap,r,e)}(e,t,n)
return"multi"==i&&(e.state.keySeq=t),"handled"==i&&pr(e,"keyHandled",e,t,r),"handled"!=i&&"multi"!=i||(Ne(r),Cn(e)),!!i}function ho(e,t){var r=Xs(t,!0)
return!!r&&(t.shiftKey&&!e.state.keySeq?co(e,"Shift-"+r,t,(function(t){return ao(e,t,!0)}))||co(e,r,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return ao(e,t)})):co(e,r,t,(function(t){return ao(e,t)})))}var po=null
function fo(e){var t=this
if(!(e.target&&e.target!=t.display.input.getField()||(t.curOp.focus=j(L(t)),Se(t,e)))){o&&a<11&&27==e.keyCode&&(e.returnValue=!1)
var n=e.keyCode
t.display.shift=16==n||e.shiftKey
var i=ho(t,e)
d&&(po=i?n:null,i||88!=n||ze||!(b?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),r&&!b&&!i&&46==n&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv
function r(e){18!=e.keyCode&&e.altKey||(C(t,"CodeMirror-crosshair"),be(document,"keyup",r),be(document,"mouseover",r))}D(t,"CodeMirror-crosshair"),ye(document,"keyup",r),ye(document,"mouseover",r)}(t)}}function mo(e){16==e.keyCode&&(this.doc.sel.shift=!1),Se(this,e)}function go(e){var t=this
if(!(e.target&&e.target!=t.display.input.getField()||Cr(t.display,e)||Se(t,e)||e.ctrlKey&&!e.altKey||b&&e.metaKey)){var r=e.keyCode,n=e.charCode
if(d&&r==po)return po=null,void Ne(e)
if(!d||e.which&&!(e.which<10)||!ho(t,e)){var i=String.fromCharCode(null==n?r:n)
"\b"!=i&&(function(e,t,r){return co(e,"'"+r+"'",t,(function(t){return ao(e,t,!0)}))}(t,e,i)||t.display.input.onKeyPress(e))}}}var yo,vo,bo=function(e,t,r){this.time=e,this.pos=t,this.button=r}
function wo(e){var t=this,r=t.display
if(!(Se(t,e)||r.activeTouch&&r.input.supportsTouch()))if(r.input.ensurePolled(),r.shift=e.shiftKey,Cr(r,e))l||(r.scroller.draggable=!1,setTimeout((function(){return r.scroller.draggable=!0}),100))
else if(!xo(t,e)){var n=mn(t,e),i=Pe(e),s=n?function(e,t){var r=+new Date
return vo&&vo.compare(r,e,t)?(yo=vo=null,"triple"):yo&&yo.compare(r,e,t)?(vo=new bo(r,e,t),yo=null,"double"):(yo=new bo(r,e,t),vo=null,"single")}(n,i):"single"
F(t).focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),n&&function(e,t,r,n,i){var s="Click"
return"double"==n?s="Double"+s:"triple"==n&&(s="Triple"+s),co(e,Ys(s=(1==t?"Left":2==t?"Middle":"Right")+s,i),i,(function(t){if("string"==typeof t&&(t=io[t]),!t)return!1
var n=!1
try{e.isReadOnly()&&(e.state.suppressEdits=!0),n=t(e,r)!=K}finally{e.state.suppressEdits=!1}return n}))}(t,i,n,s,e)||(1==i?n?function(e,t,r,n){o?setTimeout(V(An,e),0):e.curOp.focus=j(L(e))
var i,s=function(e,t,r){var n=e.getOption("configureMouse"),i=n?n(e,t,r):{}
if(null==i.unit){var s=w?r.shiftKey&&r.metaKey:r.altKey
i.unit=s?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||r.shiftKey),null==i.addNew&&(i.addNew=b?r.metaKey:r.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(b?r.altKey:r.ctrlKey)),i}(e,r,n),c=e.doc.sel
e.options.dragDrop&&je&&!e.isReadOnly()&&"single"==r&&(i=c.contains(t))>-1&&(at((i=c.ranges[i]).from(),t)<0||t.xRel>0)&&(at(i.to(),t)>0||t.xRel<0)?function(e,t,r,n){var i=e.display,s=!1,c=oi(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:On(e)),be(i.wrapper.ownerDocument,"mouseup",c),be(i.wrapper.ownerDocument,"mousemove",u),be(i.scroller,"dragstart",h),be(i.scroller,"drop",c),s||(Ne(t),n.addNew||Qi(e.doc,r,null,null,n.extend),l&&!p||o&&9==a?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){s=s||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},h=function(){return s=!0}
l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!n.moveOnDrag,ye(i.wrapper.ownerDocument,"mouseup",c),ye(i.wrapper.ownerDocument,"mousemove",u),ye(i.scroller,"dragstart",h),ye(i.scroller,"drop",c),e.state.delayingBlurEvent=!0,setTimeout((function(){return i.input.focus()}),20),i.scroller.dragDrop&&i.scroller.dragDrop()}(e,n,t,s):function(e,t,r,n){o&&On(e)
var i=e.display,s=e.doc
Ne(t)
var a,l,c=s.sel,u=c.ranges
if(n.addNew&&!n.extend?(l=s.sel.contains(r),a=l>-1?u[l]:new Oi(r,r)):(a=s.sel.primary(),l=s.sel.primIndex),"rectangle"==n.unit)n.addNew||(a=new Oi(r,r)),r=mn(e,t,!0,!0),l=-1
else{var h=So(e,r,n.unit)
a=n.extend?Xi(a,h.anchor,h.head,n.extend):h}n.addNew?-1==l?(l=u.length,is(s,Pi(e,u.concat([a]),l),{scroll:!1,origin:"*mouse"})):u.length>1&&u[l].empty()&&"char"==n.unit&&!n.extend?(is(s,Pi(e,u.slice(0,l).concat(u.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),c=s.sel):ts(s,l,a,J):(l=0,is(s,new Ai([a],0),J),c=s.sel)
var d=r
function p(t){if(0!=at(d,t))if(d=t,"rectangle"==n.unit){for(var i=[],o=e.options.tabSize,u=U(Xe(s,r.line).text,r.ch,o),h=U(Xe(s,t.line).text,t.ch,o),p=Math.min(u,h),f=Math.max(u,h),m=Math.min(r.line,t.line),g=Math.min(e.lastLine(),Math.max(r.line,t.line));m<=g;m++){var y=Xe(s,m).text,v=Y(y,p,o)
p==f?i.push(new Oi(ot(m,v),ot(m,v))):y.length>v&&i.push(new Oi(ot(m,v),ot(m,Y(y,f,o))))}i.length||i.push(new Oi(r,r)),is(s,Pi(e,c.ranges.slice(0,l).concat(i),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,w=a,S=So(e,t,n.unit),k=w.anchor
at(S.anchor,k)>0?(b=S.head,k=ht(w.from(),S.anchor)):(b=S.anchor,k=ut(w.to(),S.head))
var x=c.ranges.slice(0)
x[l]=function(e,t){var r=t.anchor,n=t.head,i=Xe(e.doc,r.line)
if(0==at(r,n)&&r.sticky==n.sticky)return t
var s=me(i)
if(!s)return t
var o=pe(s,r.ch,r.sticky),a=s[o]
if(a.from!=r.ch&&a.to!=r.ch)return t
var l,c=o+(a.from==r.ch==(1!=a.level)?0:1)
if(0==c||c==s.length)return t
if(n.line!=r.line)l=(n.line-r.line)*("ltr"==e.doc.direction?1:-1)>0
else{var u=pe(s,n.ch,n.sticky),h=u-o||(n.ch-r.ch)*(1==a.level?-1:1)
l=u==c-1||u==c?h<0:h>0}var d=s[c+(l?-1:0)],p=l==(1==d.level),f=p?d.from:d.to,m=p?"after":"before"
return r.ch==f&&r.sticky==m?t:new Oi(new ot(r.line,f,m),n)}(e,new Oi(pt(s,k),b)),is(s,Pi(e,x,l),J)}}var f=i.wrapper.getBoundingClientRect(),m=0
function g(t){var r=++m,o=mn(e,t,!0,"rectangle"==n.unit)
if(o)if(0!=at(o,d)){e.curOp.focus=j(L(e)),p(o)
var a=Dn(i,s);(o.line>=a.to||o.line<a.from)&&setTimeout(oi(e,(function(){m==r&&g(t)})),150)}else{var l=t.clientY<f.top?-20:t.clientY>f.bottom?20:0
l&&setTimeout(oi(e,(function(){m==r&&(i.scroller.scrollTop+=l,g(t))})),50)}}function y(t){e.state.selectingText=!1,m=1/0,t&&(Ne(t),i.input.focus()),be(i.wrapper.ownerDocument,"mousemove",v),be(i.wrapper.ownerDocument,"mouseup",b),s.history.lastSelOrigin=null}var v=oi(e,(function(e){0!==e.buttons&&Pe(e)?g(e):y(e)})),b=oi(e,y)
e.state.selectingText=b,ye(i.wrapper.ownerDocument,"mousemove",v),ye(i.wrapper.ownerDocument,"mouseup",b)}(e,n,t,s)}(t,n,s,e):Oe(e)==r.scroller&&Ne(e):2==i?(n&&Qi(t.doc,n),setTimeout((function(){return r.input.focus()}),20)):3==i&&(E?t.display.input.onContextMenu(e):On(t)))}}function So(e,t,r){if("char"==r)return new Oi(t,t)
if("word"==r)return e.findWordAt(t)
if("line"==r)return new Oi(ot(t.line,0),pt(e.doc,ot(t.line+1,0)))
var n=r(e,t)
return new Oi(n.from,n.to)}function ko(e,t,r,n){var i,s
if(t.touches)i=t.touches[0].clientX,s=t.touches[0].clientY
else try{i=t.clientX,s=t.clientY}catch(e){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1
n&&Ne(t)
var o=e.display,a=o.lineDiv.getBoundingClientRect()
if(s>a.bottom||!xe(e,r))return Ce(t)
s-=a.top-o.viewOffset
for(var l=0;l<e.display.gutterSpecs.length;++l){var c=o.gutters.childNodes[l]
if(c&&c.getBoundingClientRect().right>=i)return we(e,r,e,nt(e.doc,s),e.display.gutterSpecs[l].className,t),Ce(t)}}function xo(e,t){return ko(e,t,"gutterClick",!0)}function Eo(e,t){Cr(e.display,t)||function(e,t){return!!xe(e,"gutterContextMenu")&&ko(e,t,"gutterContextMenu",!1)}(e,t)||Se(e,t,"contextmenu")||E||e.display.input.onContextMenu(t)}function No(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),qr(e)}bo.prototype.compare=function(e,t,r){return this.time+400>e&&0==at(t,this.pos)&&r==this.button}
var _o={toString:function(){return"CodeMirror.Init"}},Co={},Ao={}
function Oo(e,t,r){if(!t!=!(r&&r!=_o)){var n=e.display.dragFunctions,i=t?ye:be
i(e.display.scroller,"dragstart",n.start),i(e.display.scroller,"dragenter",n.enter),i(e.display.scroller,"dragover",n.over),i(e.display.scroller,"dragleave",n.leave),i(e.display.scroller,"drop",n.drop)}}function Po(e){e.options.lineWrapping?(D(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(C(e.display.wrapper,"CodeMirror-wrap"),Yt(e)),fn(e),yn(e),qr(e),setTimeout((function(){return Kn(e)}),100)}function To(e,t){var r=this
if(!(this instanceof To))return new To(e,t)
this.options=t=t?$(t):{},$(Co,t,!1)
var n=t.value
"string"==typeof n?n=new Ms(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n
var i=new To.inputStyles[t.inputStyle](this),s=this.display=new ki(e,n,i,t)
for(var c in s.wrapper.CodeMirror=this,No(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Gn(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new H,keySeq:null,specialChars:null},t.autofocus&&!v&&s.input.focus(),o&&a<11&&setTimeout((function(){return r.display.input.reset(!0)}),20),function(e){var t=e.display
ye(t.scroller,"mousedown",oi(e,wo)),ye(t.scroller,"dblclick",o&&a<11?oi(e,(function(t){if(!Se(e,t)){var r=mn(e,t)
if(r&&!xo(e,t)&&!Cr(e.display,t)){Ne(t)
var n=e.findWordAt(r)
Qi(e.doc,n.anchor,n.head)}}})):function(t){return Se(e,t)||Ne(t)}),ye(t.scroller,"contextmenu",(function(t){return Eo(e,t)})),ye(t.input.getField(),"contextmenu",(function(r){t.scroller.contains(r.target)||Eo(e,r)}))
var r,n={end:0}
function i(){t.activeTouch&&(r=setTimeout((function(){return t.activeTouch=null}),1e3),(n=t.activeTouch).end=+new Date)}function s(e,t){if(null==t.left)return!0
var r=t.left-e.left,n=t.top-e.top
return r*r+n*n>400}ye(t.scroller,"touchstart",(function(i){if(!Se(e,i)&&!function(e){if(1!=e.touches.length)return!1
var t=e.touches[0]
return t.radiusX<=1&&t.radiusY<=1}(i)&&!xo(e,i)){t.input.ensurePolled(),clearTimeout(r)
var s=+new Date
t.activeTouch={start:s,moved:!1,prev:s-n.end<=300?n:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),ye(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),ye(t.scroller,"touchend",(function(r){var n=t.activeTouch
if(n&&!Cr(t,r)&&null!=n.left&&!n.moved&&new Date-n.start<300){var o,a=e.coordsChar(t.activeTouch,"page")
o=!n.prev||s(n,n.prev)?new Oi(a,a):!n.prev.prev||s(n,n.prev.prev)?e.findWordAt(a):new Oi(ot(a.line,0),pt(e.doc,ot(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),Ne(r)}i()})),ye(t.scroller,"touchcancel",i),ye(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(Vn(e,t.scroller.scrollTop),Un(e,t.scroller.scrollLeft,!0),we(e,"scroll",e))})),ye(t.scroller,"mousewheel",(function(t){return Ci(e,t)})),ye(t.scroller,"DOMMouseScroll",(function(t){return Ci(e,t)})),ye(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){Se(e,t)||Ae(t)},over:function(t){Se(e,t)||(function(e,t){var r=mn(e,t)
if(r){var n=document.createDocumentFragment()
En(e,r,n),e.display.dragCursor||(e.display.dragCursor=P("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),O(e.display.dragCursor,n)}}(e,t),Ae(t))},start:function(t){return function(e,t){if(o&&(!e.state.draggingText||+new Date-Bs<100))Ae(t)
else if(!Se(e,t)&&!Cr(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!p)){var r=P("img",null,null,"position: fixed; left: 0; top: 0;")
r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(r.width=r.height=1,e.display.wrapper.appendChild(r),r._top=r.offsetTop),t.dataTransfer.setDragImage(r,0,0),d&&r.parentNode.removeChild(r)}}(e,t)},drop:oi(e,Rs),leave:function(t){Se(e,t)||Ls(e)}}
var l=t.input.getField()
ye(l,"keyup",(function(t){return mo.call(e,t)})),ye(l,"keydown",oi(e,fo)),ye(l,"keypress",oi(e,go)),ye(l,"focus",(function(t){return Pn(e,t)})),ye(l,"blur",(function(t){return Tn(e,t)}))}(this),function(){var e
Fs||(ye(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,zs(Vs)}),100))})),ye(window,"blur",(function(){return zs(Tn)})),Fs=!0)}(),Xn(this),this.curOp.forceUpdate=!0,Vi(this,n),t.autofocus&&!v||this.hasFocus()?setTimeout((function(){r.hasFocus()&&!r.state.focused&&Pn(r)}),20):Tn(this),Ao)Ao.hasOwnProperty(c)&&Ao[c](this,t[c],_o)
vi(this),t.finishInit&&t.finishInit(this)
for(var u=0;u<Io.length;++u)Io[u](this)
Qn(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(s.lineDiv).textRendering&&(s.lineDiv.style.textRendering="auto")}To.defaults=Co,To.optionHandlers=Ao
var Io=[]
function jo(e,t,r,n){var i,s=e.doc
null==r&&(r="add"),"smart"==r&&(s.mode.indent?i=bt(e,t).state:r="prev")
var o=e.options.tabSize,a=Xe(s,t),l=U(a.text,null,o)
a.stateAfter&&(a.stateAfter=null)
var c,u=a.text.match(/^\s*/)[0]
if(n||/\S/.test(a.text)){if("smart"==r&&((c=s.mode.indent(i,a.text.slice(u.length),a.text))==K||c>150)){if(!n)return
r="prev"}}else c=0,r="not"
"prev"==r?c=t>s.first?U(Xe(s,t-1).text,null,o):0:"add"==r?c=l+e.options.indentUnit:"subtract"==r?c=l-e.options.indentUnit:"number"==typeof r&&(c=l+r),c=Math.max(0,c)
var h="",d=0
if(e.options.indentWithTabs)for(var p=Math.floor(c/o);p;--p)d+=o,h+="\t"
if(d<c&&(h+=Q(c-d)),h!=u)return bs(s,h,ot(t,0),ot(t,u.length),"+input"),a.stateAfter=null,!0
for(var f=0;f<s.sel.ranges.length;f++){var m=s.sel.ranges[f]
if(m.head.line==t&&m.head.ch<u.length){var g=ot(t,u.length)
ts(s,f,new Oi(g,g))
break}}}To.defineInitHook=function(e){return Io.push(e)}
var Do=null
function Mo(e){Do=e}function Bo(e,t,r,n,i){var s=e.doc
e.display.shift=!1,n||(n=s.sel)
var o=+new Date-200,a="paste"==i||e.state.pasteIncoming>o,l=Re(t),c=null
if(a&&n.ranges.length>1)if(Do&&Do.text.join("\n")==t){if(n.ranges.length%Do.text.length==0){c=[]
for(var u=0;u<Do.text.length;u++)c.push(s.splitLines(Do.text[u]))}}else l.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(c=te(l,(function(e){return[e]})))
for(var h=e.curOp.updateInput,d=n.ranges.length-1;d>=0;d--){var p=n.ranges[d],f=p.from(),m=p.to()
p.empty()&&(r&&r>0?f=ot(f.line,f.ch-r):e.state.overwrite&&!a?m=ot(m.line,Math.min(Xe(s,m.line).text.length,m.ch+ee(l).length)):a&&Do&&Do.lineWise&&Do.text.join("\n")==l.join("\n")&&(f=m=ot(f.line,0)))
var g={from:f,to:m,text:c?c[d%c.length]:l,origin:i||(a?"paste":e.state.cutIncoming>o?"cut":"+input")}
fs(e.doc,g),pr(e,"inputRead",e,g)}t&&!a&&Lo(e,t),Rn(e),e.curOp.updateInput<2&&(e.curOp.updateInput=h),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Ro(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text")
if(r)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||!t.hasFocus()||si(t,(function(){return Bo(t,r,0,null,"paste")})),!0}function Lo(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var r=e.doc.sel,n=r.ranges.length-1;n>=0;n--){var i=r.ranges[n]
if(!(i.head.ch>100||n&&r.ranges[n-1].head.line==i.head.line)){var s=e.getModeAt(i.head),o=!1
if(s.electricChars){for(var a=0;a<s.electricChars.length;a++)if(t.indexOf(s.electricChars.charAt(a))>-1){o=jo(e,i.head.line,"smart")
break}}else s.electricInput&&s.electricInput.test(Xe(e.doc,i.head.line).text.slice(0,i.head.ch))&&(o=jo(e,i.head.line,"smart"))
o&&pr(e,"electricInput",e,i.head.line)}}}function zo(e){for(var t=[],r=[],n=0;n<e.doc.sel.ranges.length;n++){var i=e.doc.sel.ranges[n].head.line,s={anchor:ot(i,0),head:ot(i+1,0)}
r.push(s),t.push(e.getRange(s.anchor,s.head))}return{text:t,ranges:r}}function Fo(e,t,r,n){e.setAttribute("autocorrect",r?"on":"off"),e.setAttribute("autocapitalize",n?"on":"off"),e.setAttribute("spellcheck",!!t)}function Vo(){var e=P("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),t=P("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;")
return l?e.style.width="1000px":e.setAttribute("wrap","off"),g&&(e.style.border="1px solid black"),t}function $o(e,t,r,n,i){var s=t,o=r,a=Xe(e,t.line),l=i&&"rtl"==e.direction?-r:r
function c(s){var o,c
if("codepoint"==n){var u=a.text.charCodeAt(t.ch+(r>0?0:-1))
if(isNaN(u))o=null
else{var h=r>0?u>=55296&&u<56320:u>=56320&&u<57343
o=new ot(t.line,Math.max(0,Math.min(a.text.length,t.ch+r*(h?2:1))),-r)}}else o=i?function(e,t,r,n){var i=me(t,e.doc.direction)
if(!i)return ro(t,r,n)
r.ch>=t.text.length?(r.ch=t.text.length,r.sticky="before"):r.ch<=0&&(r.ch=0,r.sticky="after")
var s=pe(i,r.ch,r.sticky),o=i[s]
if("ltr"==e.doc.direction&&o.level%2==0&&(n>0?o.to>r.ch:o.from<r.ch))return ro(t,r,n)
var a,l=function(e,r){return to(t,e instanceof ot?e.ch:e,r)},c=function(r){return e.options.lineWrapping?(a=a||Rr(e,t),nn(e,t,a,r)):{begin:0,end:t.text.length}},u=c("before"==r.sticky?l(r,-1):r.ch)
if("rtl"==e.doc.direction||1==o.level){var h=1==o.level==n<0,d=l(r,h?1:-1)
if(null!=d&&(h?d<=o.to&&d<=u.end:d>=o.from&&d>=u.begin)){var p=h?"before":"after"
return new ot(r.line,d,p)}}var f=function(e,t,n){for(var s=function(e,t){return t?new ot(r.line,l(e,1),"before"):new ot(r.line,e,"after")};e>=0&&e<i.length;e+=t){var o=i[e],a=t>0==(1!=o.level),c=a?n.begin:l(n.end,-1)
if(o.from<=c&&c<o.to)return s(c,a)
if(c=a?o.from:l(o.to,-1),n.begin<=c&&c<n.end)return s(c,a)}},m=f(s+n,n,u)
if(m)return m
var g=n>0?u.end:l(u.begin,-1)
return null==g||n>0&&g==t.text.length||!(m=f(n>0?0:i.length-1,n,c(g)))?null:m}(e.cm,a,t,r):ro(a,t,r)
if(null==o){if(s||(c=t.line+l)<e.first||c>=e.first+e.size||(t=new ot(c,t.ch,t.sticky),!(a=Xe(e,c))))return!1
t=no(i,e.cm,a,t.line,l)}else t=o
return!0}if("char"==n||"codepoint"==n)c()
else if("column"==n)c(!0)
else if("word"==n||"group"==n)for(var u=null,h="group"==n,d=e.cm&&e.cm.getHelper(t,"wordChars"),p=!0;!(r<0)||c(!p);p=!1){var f=a.text.charAt(t.ch)||"\n",m=oe(f,d)?"w":h&&"\n"==f?"n":!h||/\s/.test(f)?null:"p"
if(!h||p||m||(m="s"),u&&u!=m){r<0&&(r=1,c(),t.sticky="after")
break}if(m&&(u=m),r>0&&!c(!p))break}var g=us(e,t,s,o,!0)
return lt(s,g)&&(g.hitSide=!0),g}function Uo(e,t,r,n){var i,s,o=e.doc,a=t.left
if("page"==n){var l=Math.min(e.display.wrapper.clientHeight,F(e).innerHeight||o(e).documentElement.clientHeight),c=Math.max(l-.5*cn(e.display),3)
i=(r>0?t.bottom:t.top)+r*c}else"line"==n&&(i=r>0?t.bottom+3:t.top-3)
for(;(s=tn(e,a,i)).outside;){if(r<0?i<=0:i>=o.height){s.hitSide=!0
break}i+=5*r}return s}var Ho=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new H,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null}
function qo(e,t){var r=Br(e,t.line)
if(!r||r.hidden)return null
var n=Xe(e.doc,t.line),i=Dr(r,n,t.line),s=me(n,e.doc.direction),o="left"
s&&(o=pe(s,t.ch)%2?"right":"left")
var a=Vr(i.map,t.ch,o)
return a.offset="right"==a.collapse?a.end:a.start,a}function Wo(e,t){return t&&(e.bad=!0),e}function Ko(e,t,r){var n
if(t==e.display.lineDiv){if(!(n=e.display.lineDiv.childNodes[r]))return Wo(e.clipPos(ot(e.display.viewTo-1)),!0)
t=null,r=0}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null
if(n.parentNode&&n.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var s=e.display.view[i]
if(s.node==n)return Zo(s,t,r)}}function Zo(e,t,r){var n=e.text.firstChild,i=!1
if(!t||!I(n,t))return Wo(ot(rt(e.line),0),!0)
if(t==n&&(i=!0,t=n.childNodes[r],r=0,!t)){var s=e.rest?ee(e.rest):e.line
return Wo(ot(rt(s),s.text.length),i)}var o=3==t.nodeType?t:null,a=t
for(o||1!=t.childNodes.length||3!=t.firstChild.nodeType||(o=t.firstChild,r&&(r=o.nodeValue.length));a.parentNode!=n;)a=a.parentNode
var l=e.measure,c=l.maps
function u(t,r,n){for(var i=-1;i<(c?c.length:0);i++)for(var s=i<0?l.map:c[i],o=0;o<s.length;o+=3){var a=s[o+2]
if(a==t||a==r){var u=rt(i<0?e.line:e.rest[i]),h=s[o]+n
return(n<0||a!=t)&&(h=s[o+(n?1:0)]),ot(u,h)}}}var h=u(o,a,r)
if(h)return Wo(h,i)
for(var d=a.nextSibling,p=o?o.nodeValue.length-r:0;d;d=d.nextSibling){if(h=u(d,d.firstChild,0))return Wo(ot(h.line,h.ch-p),i)
p+=d.textContent.length}for(var f=a.previousSibling,m=r;f;f=f.previousSibling){if(h=u(f,f.firstChild,-1))return Wo(ot(h.line,h.ch+m),i)
m+=f.textContent.length}}Ho.prototype.init=function(e){var t=this,r=this,n=r.cm,i=r.div=e.lineDiv
function s(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0
if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function o(e){if(s(e)&&!Se(n,e)){if(n.somethingSelected())Mo({lineWise:!1,text:n.getSelections()}),"cut"==e.type&&n.replaceSelection("",null,"cut")
else{if(!n.options.lineWiseCopyCut)return
var t=zo(n)
Mo({lineWise:!0,text:t.text}),"cut"==e.type&&n.operation((function(){n.setSelections(t.ranges,0,Z),n.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData()
var o=Do.text.join("\n")
if(e.clipboardData.setData("Text",o),e.clipboardData.getData("Text")==o)return void e.preventDefault()}var a=Vo(),l=a.firstChild
Fo(l),n.display.lineSpace.insertBefore(a,n.display.lineSpace.firstChild),l.value=Do.text.join("\n")
var c=j(z(i))
B(l),setTimeout((function(){n.display.lineSpace.removeChild(a),c.focus(),c==i&&r.showPrimarySelection()}),50)}}i.contentEditable=!0,Fo(i,n.options.spellcheck,n.options.autocorrect,n.options.autocapitalize),ye(i,"paste",(function(e){!s(e)||Se(n,e)||Ro(e,n)||a<=11&&setTimeout(oi(n,(function(){return t.updateFromDOM()})),20)})),ye(i,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),ye(i,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),ye(i,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),ye(i,"touchstart",(function(){return r.forceCompositionEnd()})),ye(i,"input",(function(){t.composing||t.readFromDOMSoon()})),ye(i,"copy",o),ye(i,"cut",o)},Ho.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Ho.prototype.prepareSelection=function(){var e=xn(this.cm,!1)
return e.focus=j(z(this.div))==this.div,e},Ho.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ho.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ho.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),i=n.from(),s=n.to()
if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||s.line<t.display.viewFrom)e.removeAllRanges()
else{var o=Ko(t,e.anchorNode,e.anchorOffset),a=Ko(t,e.focusNode,e.focusOffset)
if(!o||o.bad||!a||a.bad||0!=at(ht(o,a),i)||0!=at(ut(o,a),s)){var l=t.display.view,c=i.line>=t.display.viewFrom&&qo(t,i)||{node:l[0].measure.map[2],offset:0},u=s.line<t.display.viewTo&&qo(t,s)
if(!u){var h=l[l.length-1].measure,d=h.maps?h.maps[h.maps.length-1]:h.map
u={node:d[d.length-1],offset:d[d.length-2]-d[d.length-3]}}if(c&&u){var p,f=e.rangeCount&&e.getRangeAt(0)
try{p=_(c.node,c.offset,u.offset,u.node)}catch(e){}p&&(!r&&t.state.focused?(e.collapse(c.node,c.offset),p.collapsed||(e.removeAllRanges(),e.addRange(p))):(e.removeAllRanges(),e.addRange(p)),f&&null==e.anchorNode?e.addRange(f):r&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Ho.prototype.startGracePeriod=function(){var e=this
clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Ho.prototype.showMultipleSelections=function(e){O(this.cm.display.cursorDiv,e.cursors),O(this.cm.display.selectionDiv,e.selection)},Ho.prototype.rememberSelection=function(){var e=this.getSelection()
this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ho.prototype.selectionInEditor=function(){var e=this.getSelection()
if(!e.rangeCount)return!1
var t=e.getRangeAt(0).commonAncestorContainer
return I(this.div,t)},Ho.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&j(z(this.div))==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ho.prototype.blur=function(){this.div.blur()},Ho.prototype.getField=function(){return this.div},Ho.prototype.supportsTouch=function(){return!0},Ho.prototype.receivedFocus=function(){var e=this,t=this
this.selectionInEditor()?setTimeout((function(){return e.pollSelection()}),20):si(this.cm,(function(){return t.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,(function e(){t.cm.state.focused&&(t.pollSelection(),t.polling.set(t.cm.options.pollInterval,e))}))},Ho.prototype.selectionChanged=function(){var e=this.getSelection()
return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ho.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm
if(y&&u&&this.cm.display.gutterSpecs.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0
return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus()
if(!this.composing){this.rememberSelection()
var r=Ko(t,e.anchorNode,e.anchorOffset),n=Ko(t,e.focusNode,e.focusOffset)
r&&n&&si(t,(function(){is(t.doc,Ti(r,n),Z),(r.bad||n.bad)&&(t.curOp.selectionChanged=!0)}))}}},Ho.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null)
var e,t,r,n=this.cm,i=n.display,s=n.doc.sel.primary(),o=s.from(),a=s.to()
if(0==o.ch&&o.line>n.firstLine()&&(o=ot(o.line-1,Xe(n.doc,o.line-1).length)),a.ch==Xe(n.doc,a.line).text.length&&a.line<n.lastLine()&&(a=ot(a.line+1,0)),o.line<i.viewFrom||a.line>i.viewTo-1)return!1
o.line==i.viewFrom||0==(e=gn(n,o.line))?(t=rt(i.view[0].line),r=i.view[0].node):(t=rt(i.view[e].line),r=i.view[e-1].node.nextSibling)
var l,c,u=gn(n,a.line)
if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=rt(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!r)return!1
for(var h=n.doc.splitLines(function(e,t,r,n,i){var s="",o=!1,a=e.doc.lineSeparator(),l=!1
function c(){o&&(s+=a,l&&(s+=a),o=l=!1)}function u(e){e&&(c(),s+=e)}function h(t){if(1==t.nodeType){var r=t.getAttribute("cm-text")
if(r)return void u(r)
var s,d=t.getAttribute("cm-marker")
if(d){var p=e.findMarks(ot(n,0),ot(i+1,0),(g=+d,function(e){return e.id==g}))
return void(p.length&&(s=p[0].find(0))&&u(Qe(e.doc,s.from,s.to).join(a)))}if("false"==t.getAttribute("contenteditable"))return
var f=/^(pre|div|p|li|table|br)$/i.test(t.nodeName)
if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return
f&&c()
for(var m=0;m<t.childNodes.length;m++)h(t.childNodes[m]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),f&&(o=!0)}else 3==t.nodeType&&u(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))
var g}for(;h(t),t!=r;)t=t.nextSibling,l=!1
return s}(n,r,c,t,l)),d=Qe(n.doc,ot(t,0),ot(l,Xe(n.doc,l).text.length));h.length>1&&d.length>1;)if(ee(h)==ee(d))h.pop(),d.pop(),l--
else{if(h[0]!=d[0])break
h.shift(),d.shift(),t++}for(var p=0,f=0,m=h[0],g=d[0],y=Math.min(m.length,g.length);p<y&&m.charCodeAt(p)==g.charCodeAt(p);)++p
for(var v=ee(h),b=ee(d),w=Math.min(v.length-(1==h.length?p:0),b.length-(1==d.length?p:0));f<w&&v.charCodeAt(v.length-f-1)==b.charCodeAt(b.length-f-1);)++f
if(1==h.length&&1==d.length&&t==o.line)for(;p&&p>o.ch&&v.charCodeAt(v.length-f-1)==b.charCodeAt(b.length-f-1);)p--,f++
h[h.length-1]=v.slice(0,v.length-f).replace(/^\u200b+/,""),h[0]=h[0].slice(p).replace(/\u200b+$/,"")
var S=ot(t,p),k=ot(l,d.length?ee(d).length-f:0)
return h.length>1||h[0]||at(S,k)?(bs(n.doc,h,S,k,"+input"),!0):void 0},Ho.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ho.prototype.reset=function(){this.forceCompositionEnd()},Ho.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ho.prototype.readFromDOMSoon=function(){var e=this
null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return
e.composing=null}e.updateFromDOM()}),80))},Ho.prototype.updateFromDOM=function(){var e=this
!this.cm.isReadOnly()&&this.pollContent()||si(this.cm,(function(){return yn(e.cm)}))},Ho.prototype.setUneditable=function(e){e.contentEditable="false"},Ho.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||oi(this.cm,Bo)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ho.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ho.prototype.onContextMenu=function(){},Ho.prototype.resetPosition=function(){},Ho.prototype.needsContentAttribute=!0
var Jo=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new H,this.hasSelection=!1,this.composing=null,this.resetting=!1}
Jo.prototype.init=function(e){var t=this,r=this,n=this.cm
this.createField(e)
var i=this.textarea
function s(e){if(!Se(n,e)){if(n.somethingSelected())Mo({lineWise:!1,text:n.getSelections()})
else{if(!n.options.lineWiseCopyCut)return
var t=zo(n)
Mo({lineWise:!0,text:t.text}),"cut"==e.type?n.setSelections(t.ranges,null,Z):(r.prevInput="",i.value=t.text.join("\n"),B(i))}"cut"==e.type&&(n.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(i.style.width="0px"),ye(i,"input",(function(){o&&a>=9&&t.hasSelection&&(t.hasSelection=null),r.poll()})),ye(i,"paste",(function(e){Se(n,e)||Ro(e,n)||(n.state.pasteIncoming=+new Date,r.fastPoll())})),ye(i,"cut",s),ye(i,"copy",s),ye(e.scroller,"paste",(function(t){if(!Cr(e,t)&&!Se(n,t)){if(!i.dispatchEvent)return n.state.pasteIncoming=+new Date,void r.focus()
var s=new Event("paste")
s.clipboardData=t.clipboardData,i.dispatchEvent(s)}})),ye(e.lineSpace,"selectstart",(function(t){Cr(e,t)||Ne(t)})),ye(i,"compositionstart",(function(){var e=n.getCursor("from")
r.composing&&r.composing.range.clear(),r.composing={start:e,range:n.markText(e,n.getCursor("to"),{className:"CodeMirror-composing"})}})),ye(i,"compositionend",(function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)}))},Jo.prototype.createField=function(e){this.wrapper=Vo(),this.textarea=this.wrapper.firstChild
var t=this.cm.options
Fo(this.textarea,t.spellcheck,t.autocorrect,t.autocapitalize)},Jo.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},Jo.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc,n=xn(e)
if(e.options.moveInputWithCursor){var i=Xr(e,r.sel.primary().head,"div"),s=t.wrapper.getBoundingClientRect(),o=t.lineDiv.getBoundingClientRect()
n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+o.top-s.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+o.left-s.left))}return n},Jo.prototype.showSelection=function(e){var t=this.cm.display
O(t.cursorDiv,e.cursors),O(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Jo.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing&&e)){var t=this.cm
if(this.resetting=!0,t.somethingSelected()){this.prevInput=""
var r=t.getSelection()
this.textarea.value=r,t.state.focused&&B(this.textarea),o&&a>=9&&(this.hasSelection=r)}else e||(this.prevInput=this.textarea.value="",o&&a>=9&&(this.hasSelection=null))
this.resetting=!1}},Jo.prototype.getField=function(){return this.textarea},Jo.prototype.supportsTouch=function(){return!1},Jo.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||j(z(this.textarea))!=this.textarea))try{this.textarea.focus()}catch(e){}},Jo.prototype.blur=function(){this.textarea.blur()},Jo.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Jo.prototype.receivedFocus=function(){this.slowPoll()},Jo.prototype.slowPoll=function(){var e=this
this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},Jo.prototype.fastPoll=function(){var e=!1,t=this
t.pollingFast=!0,t.polling.set(20,(function r(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,r))}))},Jo.prototype.poll=function(){var e=this,t=this.cm,r=this.textarea,n=this.prevInput
if(this.contextMenuPending||this.resetting||!t.state.focused||Le(r)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1
var i=r.value
if(i==n&&!t.somethingSelected())return!1
if(o&&a>=9&&this.hasSelection===i||b&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1
if(t.doc.sel==t.display.selForContextMenu){var s=i.charCodeAt(0)
if(8203!=s||n||(n="​"),8666==s)return this.reset(),this.cm.execCommand("undo")}for(var l=0,c=Math.min(n.length,i.length);l<c&&n.charCodeAt(l)==i.charCodeAt(l);)++l
return si(t,(function(){Bo(t,i.slice(l),n.length-l,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?r.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},Jo.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Jo.prototype.onKeyPress=function(){o&&a>=9&&(this.hasSelection=null),this.fastPoll()},Jo.prototype.onContextMenu=function(e){var t=this,r=t.cm,n=r.display,i=t.textarea
t.contextMenuPending&&t.contextMenuPending()
var s=mn(r,e),c=n.scroller.scrollTop
if(s&&!d){r.options.resetSelectionOnContextMenu&&-1==r.doc.sel.contains(s)&&oi(r,is)(r.doc,Ti(s),Z)
var u,h=i.style.cssText,p=t.wrapper.style.cssText,f=t.wrapper.offsetParent.getBoundingClientRect()
if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n      top: "+(e.clientY-f.top-5)+"px; left: "+(e.clientX-f.left-5)+"px;\n      z-index: 1000; background: "+(o?"rgba(255, 255, 255, .05)":"transparent")+";\n      outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(u=i.ownerDocument.defaultView.scrollY),n.input.focus(),l&&i.ownerDocument.defaultView.scrollTo(null,u),n.input.reset(),r.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=y,n.selForContextMenu=r.doc.sel,clearTimeout(n.detectingSelectAll),o&&a>=9&&g(),E){Ae(e)
var m=function(){be(window,"mouseup",m),setTimeout(y,20)}
ye(window,"mouseup",m)}else setTimeout(y,50)}function g(){if(null!=i.selectionStart){var e=r.somethingSelected(),s="​"+(e?i.value:"")
i.value="⇚",i.value=s,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=s.length,n.selForContextMenu=r.doc.sel}}function y(){if(t.contextMenuPending==y&&(t.contextMenuPending=!1,t.wrapper.style.cssText=p,i.style.cssText=h,o&&a<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=c),null!=i.selectionStart)){(!o||o&&a<9)&&g()
var e=0,s=function(){n.selForContextMenu==r.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?oi(r,ds)(r):e++<10?n.detectingSelectAll=setTimeout(s,500):(n.selForContextMenu=null,n.input.reset())}
n.detectingSelectAll=setTimeout(s,200)}}},Jo.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},Jo.prototype.setUneditable=function(){},Jo.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers
function r(r,n,i,s){e.defaults[r]=n,i&&(t[r]=s?function(e,t,r){r!=_o&&i(e,t,r)}:i)}e.defineOption=r,e.Init=_o,r("value","",(function(e,t){return e.setValue(t)}),!0),r("mode",null,(function(e,t){e.doc.modeOption=t,Bi(e)}),!0),r("indentUnit",2,Bi,!0),r("indentWithTabs",!1),r("smartIndent",!0),r("tabSize",4,(function(e){Ri(e),qr(e),yn(e)}),!0),r("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var r=[],n=e.doc.first
e.doc.iter((function(e){for(var i=0;;){var s=e.text.indexOf(t,i)
if(-1==s)break
i=s+t.length,r.push(ot(n,s))}n++}))
for(var i=r.length-1;i>=0;i--)bs(e.doc,t,r[i],ot(r[i].line,r[i].ch+t.length))}})),r("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,(function(e,t,r){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),r!=_o&&e.refresh()})),r("specialCharPlaceholder",ir,(function(e){return e.refresh()}),!0),r("electricChars",!0),r("inputStyle",v?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),r("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),r("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),r("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),r("rtlMoveVisually",!S),r("wholeLineUpdateBefore",!0),r("theme","default",(function(e){No(e),Si(e)}),!0),r("keyMap","default",(function(e,t,r){var n=Qs(t),i=r!=_o&&Qs(r)
i&&i.detach&&i.detach(e,n),n.attach&&n.attach(e,i||null)})),r("extraKeys",null),r("configureMouse",null),r("lineWrapping",!1,Po,!0),r("gutters",[],(function(e,t){e.display.gutterSpecs=bi(t,e.options.lineNumbers),Si(e)}),!0),r("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?dn(e.display)+"px":"0",e.refresh()}),!0),r("coverGutterNextToScrollbar",!1,(function(e){return Kn(e)}),!0),r("scrollbarStyle","native",(function(e){Gn(e),Kn(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),r("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=bi(e.options.gutters,t),Si(e)}),!0),r("firstLineNumber",1,Si,!0),r("lineNumberFormatter",(function(e){return e}),Si,!0),r("showCursorWhenSelecting",!1,kn,!0),r("resetSelectionOnContextMenu",!0),r("lineWiseCopyCut",!0),r("pasteLinesPerSelection",!0),r("selectionsMayTouch",!1),r("readOnly",!1,(function(e,t){"nocursor"==t&&(Tn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),r("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),r("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),r("dragDrop",!0,Oo),r("allowDropFileTypes",null),r("cursorBlinkRate",530),r("cursorScrollMargin",0),r("cursorHeight",1,kn,!0),r("singleCursorHeightPerLine",!0,kn,!0),r("workTime",100),r("workDelay",100),r("flattenSpans",!0,Ri,!0),r("addModeClass",!1,Ri,!0),r("pollInterval",100),r("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),r("historyEventDelay",1250),r("viewportMargin",10,(function(e){return e.refresh()}),!0),r("maxHighlightLength",1e4,Ri,!0),r("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),r("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),r("autofocus",null),r("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),r("phrases",null)}(To),function(e){var t=e.optionHandlers,r=e.helpers={}
e.prototype={constructor:e,focus:function(){F(this).focus(),this.display.input.focus()},setOption:function(e,r){var n=this.options,i=n[e]
n[e]==r&&"mode"!=e||(n[e]=r,t.hasOwnProperty(e)&&oi(this,t[e])(this,r,i),we(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Qs(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,r=0;r<t.length;++r)if(t[r]==e||t[r].name==e)return t.splice(r,1),!0},addOverlay:ai((function(t,r){var n=t.token?t:e.getMode(this.options,t)
if(n.startState)throw new Error("Overlays may not be stateful.");(function(e,t,r){for(var n=0,i=r(t);n<e.length&&r(e[n])<=i;)n++
e.splice(n,0,t)})(this.state.overlays,{mode:n,modeSpec:t,opaque:r&&r.opaque,priority:r&&r.priority||0},(function(e){return e.priority})),this.state.modeGen++,yn(this)})),removeOverlay:ai((function(e){for(var t=this.state.overlays,r=0;r<t.length;++r){var n=t[r].modeSpec
if(n==e||"string"==typeof e&&n.name==e)return t.splice(r,1),this.state.modeGen++,void yn(this)}})),indentLine:ai((function(e,t,r){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),it(this.doc,e)&&jo(this,e,t,r)})),indentSelection:ai((function(e){for(var t=this.doc.sel.ranges,r=-1,n=0;n<t.length;n++){var i=t[n]
if(i.empty())i.head.line>r&&(jo(this,i.head.line,e,!0),r=i.head.line,n==this.doc.sel.primIndex&&Rn(this))
else{var s=i.from(),o=i.to(),a=Math.max(r,s.line)
r=Math.min(this.lastLine(),o.line-(o.ch?0:1))+1
for(var l=a;l<r;++l)jo(this,l,e)
var c=this.doc.sel.ranges
0==s.ch&&t.length==c.length&&c[n].from().ch>0&&ts(this.doc,n,new Oi(s,c[n].to()),Z)}}})),getTokenAt:function(e,t){return Et(this,e,t)},getLineTokens:function(e,t){return Et(this,ot(e),t,!0)},getTokenTypeAt:function(e){e=pt(this.doc,e)
var t,r=vt(this,Xe(this.doc,e.line)),n=0,i=(r.length-1)/2,s=e.ch
if(0==s)t=r[2]
else for(;;){var o=n+i>>1
if((o?r[2*o-1]:0)>=s)i=o
else{if(!(r[2*o+1]<s)){t=r[2*o+2]
break}n=o+1}}var a=t?t.indexOf("overlay "):-1
return a<0?t:0==a?null:t.slice(0,a-1)},getModeAt:function(t){var r=this.doc.mode
return r.innerMode?e.innerMode(r,this.getTokenAt(t).state).mode:r},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var n=[]
if(!r.hasOwnProperty(t))return n
var i=r[t],s=this.getModeAt(e)
if("string"==typeof s[t])i[s[t]]&&n.push(i[s[t]])
else if(s[t])for(var o=0;o<s[t].length;o++){var a=i[s[t][o]]
a&&n.push(a)}else s.helperType&&i[s.helperType]?n.push(i[s.helperType]):i[s.name]&&n.push(i[s.name])
for(var l=0;l<i._global.length;l++){var c=i._global[l]
c.pred(s,this)&&-1==q(n,c.val)&&n.push(c.val)}return n},getStateAfter:function(e,t){var r=this.doc
return bt(this,(e=dt(r,null==e?r.first+r.size-1:e))+1,t).state},cursorCoords:function(e,t){var r=this.doc.sel.primary()
return Xr(this,null==e?r.head:"object"==typeof e?pt(this.doc,e):e?r.from():r.to(),t||"page")},charCoords:function(e,t){return Yr(this,pt(this.doc,e),t||"page")},coordsChar:function(e,t){return tn(this,(e=Gr(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=Gr(this,{top:e,left:0},t||"page").top,nt(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,r){var n,i=!1
if("number"==typeof e){var s=this.doc.first+this.doc.size-1
e<this.doc.first?e=this.doc.first:e>s&&(e=s,i=!0),n=Xe(this.doc,e)}else n=e
return Jr(this,n,{top:0,left:0},t||"page",r||i).top+(i?this.doc.height-Jt(n):0)},defaultTextHeight:function(){return cn(this.display)},defaultCharWidth:function(){return un(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,r,n,i){var s,o,a=this.display,l=(e=Xr(this,pt(this.doc,e))).bottom,c=e.left
if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),a.sizer.appendChild(t),"over"==n)l=e.top
else if("above"==n||"near"==n){var u=Math.max(a.wrapper.clientHeight,this.doc.height),h=Math.max(a.sizer.clientWidth,a.lineSpace.clientWidth);("above"==n||e.bottom+t.offsetHeight>u)&&e.top>t.offsetHeight?l=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=u&&(l=e.bottom),c+t.offsetWidth>h&&(c=h-t.offsetWidth)}t.style.top=l+"px",t.style.left=t.style.right="","right"==i?(c=a.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?c=0:"middle"==i&&(c=(a.sizer.clientWidth-t.offsetWidth)/2),t.style.left=c+"px"),r&&(null!=(o=Mn(s=this,{left:c,top:l,right:c+t.offsetWidth,bottom:l+t.offsetHeight})).scrollTop&&Vn(s,o.scrollTop),null!=o.scrollLeft&&Un(s,o.scrollLeft))},triggerOnKeyDown:ai(fo),triggerOnKeyPress:ai(go),triggerOnKeyUp:mo,triggerOnMouseDown:ai(wo),execCommand:function(e){if(io.hasOwnProperty(e))return io[e].call(null,this)},triggerElectric:ai((function(e){Lo(this,e)})),findPosH:function(e,t,r,n){var i=1
t<0&&(i=-1,t=-t)
for(var s=pt(this.doc,e),o=0;o<t&&!(s=$o(this.doc,s,i,r,n)).hitSide;++o);return s},moveH:ai((function(e,t){var r=this
this.extendSelectionsBy((function(n){return r.display.shift||r.doc.extend||n.empty()?$o(r.doc,n.head,e,t,r.options.rtlMoveVisually):e<0?n.from():n.to()}),G)})),deleteH:ai((function(e,t){var r=this.doc.sel,n=this.doc
r.somethingSelected()?n.replaceSelection("",null,"+delete"):eo(this,(function(r){var i=$o(n,r.head,e,t,!1)
return e<0?{from:i,to:r.head}:{from:r.head,to:i}}))})),findPosV:function(e,t,r,n){var i=1,s=n
t<0&&(i=-1,t=-t)
for(var o=pt(this.doc,e),a=0;a<t;++a){var l=Xr(this,o,"div")
if(null==s?s=l.left:l.left=s,(o=Uo(this,l,i,r)).hitSide)break}return o},moveV:ai((function(e,t){var r=this,n=this.doc,i=[],s=!this.display.shift&&!n.extend&&n.sel.somethingSelected()
if(n.extendSelectionsBy((function(o){if(s)return e<0?o.from():o.to()
var a=Xr(r,o.head,"div")
null!=o.goalColumn&&(a.left=o.goalColumn),i.push(a.left)
var l=Uo(r,a,e,t)
return"page"==t&&o==n.sel.primary()&&Bn(r,Yr(r,l,"div").top-a.top),l}),G),i.length)for(var o=0;o<n.sel.ranges.length;o++)n.sel.ranges[o].goalColumn=i[o]})),findWordAt:function(e){var t=Xe(this.doc,e.line).text,r=e.ch,n=e.ch
if(t){var i=this.getHelper(e,"wordChars")
"before"!=e.sticky&&n!=t.length||!r?++n:--r
for(var s=t.charAt(r),o=oe(s,i)?function(e){return oe(e,i)}:/\s/.test(s)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!oe(e)};r>0&&o(t.charAt(r-1));)--r
for(;n<t.length&&o(t.charAt(n));)++n}return new Oi(ot(e.line,r),ot(e.line,n))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?D(this.display.cursorDiv,"CodeMirror-overwrite"):C(this.display.cursorDiv,"CodeMirror-overwrite"),we(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==j(L(this))},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:ai((function(e,t){Ln(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller
return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Tr(this)-this.display.barHeight,width:e.scrollWidth-Tr(this)-this.display.barWidth,clientHeight:jr(this),clientWidth:Ir(this)}},scrollIntoView:ai((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:ot(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){zn(e),e.curOp.scrollToPos=t}(this,e):Fn(this,e.from,e.to,e.margin)})),setSize:ai((function(e,t){var r=this,n=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e}
null!=e&&(this.display.wrapper.style.width=n(e)),null!=t&&(this.display.wrapper.style.height=n(t)),this.options.lineWrapping&&Hr(this)
var i=this.display.viewFrom
this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){vn(r,i,"widget")
break}++i})),this.curOp.forceUpdate=!0,we(this,"refresh",this)})),operation:function(e){return si(this,e)},startOperation:function(){return Xn(this)},endOperation:function(){return Qn(this)},refresh:ai((function(){var e=this.display.cachedTextHeight
yn(this),this.curOp.forceUpdate=!0,qr(this),Ln(this,this.doc.scrollLeft,this.doc.scrollTop),mi(this.display),(null==e||Math.abs(e-cn(this.display))>.5||this.options.lineWrapping)&&fn(this),we(this,"refresh",this)})),swapDoc:ai((function(e){var t=this.doc
return t.cm=null,this.state.selectingText&&this.state.selectingText(),Vi(this,e),qr(this),this.display.input.reset(),Ln(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,pr(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases
return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ee(e),e.registerHelper=function(t,n,i){r.hasOwnProperty(t)||(r[t]=e[t]={_global:[]}),r[t][n]=i},e.registerGlobalHelper=function(t,n,i,s){e.registerHelper(t,n,s),r[t]._global.push({pred:i,val:s})}}(To)
var Go="iter insert remove copy getEditor constructor".split(" ")
for(var Yo in Ms.prototype)Ms.prototype.hasOwnProperty(Yo)&&q(Go,Yo)<0&&(To.prototype[Yo]=function(e){return function(){return e.apply(this.doc,arguments)}}(Ms.prototype[Yo]))
return Ee(Ms),To.inputStyles={textarea:Jo,contenteditable:Ho},To.defineMode=function(e){To.defaults.mode||"null"==e||(To.defaults.mode=e),Ue.apply(this,arguments)},To.defineMIME=function(e,t){$e[e]=t},To.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),To.defineMIME("text/plain","null"),To.defineExtension=function(e,t){To.prototype[e]=t},To.defineDocExtension=function(e,t){Ms.prototype[e]=t},To.fromTextArea=function(e,t){if((t=t?$(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var r=j(z(e))
t.autofocus=r==e||null!=e.getAttribute("autofocus")&&r==document.body}function n(){e.value=a.getValue()}var i
if(e.form&&(ye(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var s=e.form
i=s.submit
try{var o=s.submit=function(){n(),s.submit=i,s.submit(),s.submit=o}}catch(e){}}t.finishInit=function(r){r.save=n,r.getTextArea=function(){return e},r.toTextArea=function(){r.toTextArea=isNaN,n(),e.parentNode.removeChild(r.getWrapperElement()),e.style.display="",e.form&&(be(e.form,"submit",n),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none"
var a=To((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t)
return a},function(e){e.off=be,e.on=ye,e.wheelEventPixels=_i,e.Doc=Ms,e.splitLines=Re,e.countColumn=U,e.findColumn=Y,e.isWordChar=se,e.Pass=K,e.signal=we,e.Line=Xt,e.changeEnd=Ii,e.scrollbarModel=Jn,e.Pos=ot,e.cmpPos=at,e.modes=Ve,e.mimeModes=$e,e.resolveMode=He,e.getMode=qe,e.modeExtensions=We,e.extendMode=Ke,e.copyState=Ze,e.startState=Ge,e.innerMode=Je,e.commands=io,e.keyMap=Ws,e.keyName=Xs,e.isModifierKey=Gs,e.lookupKey=Js,e.normalizeKeyMap=Zs,e.StringStream=Ye,e.SharedTextMarker=Ts,e.TextMarker=Os,e.LineWidget=_s,e.e_preventDefault=Ne,e.e_stopPropagation=_e,e.e_stop=Ae,e.addClass=D,e.contains=I,e.rmClass=C,e.keyNames=$s}(To),To.version="5.65.17",To}()},89965:(e,t,r)=>{!function(e){"use strict"
e.defineMode("javascript",(function(t,r){var n,i,s=t.indentUnit,o=r.statementIndent,a=r.jsonld,l=r.json||a,c=!1!==r.trackScope,u=r.typescript,h=r.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),r=e("keyword b"),n=e("keyword c"),i=e("keyword d"),s=e("operator"),o={type:"atom",style:"atom"}
return{if:e("if"),while:t,with:t,else:r,do:r,try:r,finally:r,return:i,break:i,continue:i,new:e("new"),delete:n,void:n,throw:n,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:s,typeof:s,instanceof:s,true:o,false:o,null:o,undefined:o,NaN:o,Infinity:o,this:e("this"),class:e("class"),super:e("atom"),yield:n,export:e("export"),import:e("import"),extends:n,await:n}}(),p=/[+\-*&%=<>!?|~^@]/,f=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/
function m(e,t,r){return n=e,i=r,t}function g(e,t){var r,n=e.next()
if('"'==n||"'"==n)return t.tokenize=(r=n,function(e,t){var n,i=!1
if(a&&"@"==e.peek()&&e.match(f))return t.tokenize=g,m("jsonld-keyword","meta")
for(;null!=(n=e.next())&&(n!=r||i);)i=!i&&"\\"==n
return i||(t.tokenize=g),m("string","string")}),t.tokenize(e,t)
if("."==n&&e.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return m("number","number")
if("."==n&&e.match(".."))return m("spread","meta")
if(/[\[\]{}\(\),;\:\.]/.test(n))return m(n)
if("="==n&&e.eat(">"))return m("=>","operator")
if("0"==n&&e.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return m("number","number")
if(/\d/.test(n))return e.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),m("number","number")
if("/"==n)return e.eat("*")?(t.tokenize=y,y(e,t)):e.eat("/")?(e.skipToEnd(),m("comment","comment")):et(e,t,1)?(function(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return
"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),m("regexp","string-2")):(e.eat("="),m("operator","operator",e.current()))
if("`"==n)return t.tokenize=v,v(e,t)
if("#"==n&&"!"==e.peek())return e.skipToEnd(),m("meta","meta")
if("#"==n&&e.eatWhile(h))return m("variable","property")
if("<"==n&&e.match("!--")||"-"==n&&e.match("->")&&!/\S/.test(e.string.slice(0,e.start)))return e.skipToEnd(),m("comment","comment")
if(p.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-|&?]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),"?"==n&&e.eat(".")?m("."):m("operator","operator",e.current())
if(h.test(n)){e.eatWhile(h)
var i=e.current()
if("."!=t.lastType){if(d.propertyIsEnumerable(i)){var s=d[i]
return m(s.type,s.style,i)}if("async"==i&&e.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return m("async","keyword",i)}return m("variable","variable",i)}}function y(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=g
break}n="*"==r}return m("comment","comment")}function v(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=g
break}n=!n&&"\\"==r}return m("quasi","string-2",e.current())}var b="([{}])"
function w(e,t){t.fatArrowAt&&(t.fatArrowAt=null)
var r=e.string.indexOf("=>",e.start)
if(!(r<0)){if(u){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r))
n&&(r=n.index)}for(var i=0,s=!1,o=r-1;o>=0;--o){var a=e.string.charAt(o),l=b.indexOf(a)
if(l>=0&&l<3){if(!i){++o
break}if(0==--i){"("==a&&(s=!0)
break}}else if(l>=3&&l<6)++i
else if(h.test(a))s=!0
else if(/["'\/`]/.test(a))for(;;--o){if(0==o)return
if(e.string.charAt(o-1)==a&&"\\"!=e.string.charAt(o-2)){o--
break}}else if(s&&!i){++o
break}}s&&!i&&(t.fatArrowAt=o)}}var S={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0}
function k(e,t,r,n,i,s){this.indented=e,this.column=t,this.type=r,this.prev=i,this.info=s,null!=n&&(this.align=n)}function x(e,t){if(!c)return!1
for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0
for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function E(e,t,r,n,i){var s=e.cc
for(N.state=e,N.stream=i,N.marked=null,N.cc=s,N.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((s.length?s.pop():l?U:V)(r,n)){for(;s.length&&s[s.length-1].lex;)s.pop()()
return N.marked?N.marked:"variable"==r&&x(e,n)?"variable-2":t}}var N={state:null,column:null,marked:null,cc:null}
function _(){for(var e=arguments.length-1;e>=0;e--)N.cc.push(arguments[e])}function C(){return _.apply(null,arguments),!0}function A(e,t){for(var r=t;r;r=r.next)if(r.name==e)return!0
return!1}function O(e){var t=N.state
if(N.marked="def",c){if(t.context)if("var"==t.lexical.info&&t.context&&t.context.block){var n=P(e,t.context)
if(null!=n)return void(t.context=n)}else if(!A(e,t.localVars))return void(t.localVars=new j(e,t.localVars))
r.globalVars&&!A(e,t.globalVars)&&(t.globalVars=new j(e,t.globalVars))}}function P(e,t){if(t){if(t.block){var r=P(e,t.prev)
return r?r==t.prev?t:new I(r,t.vars,!0):null}return A(e,t.vars)?t:new I(t.prev,new j(e,t.vars),!1)}return null}function T(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function I(e,t,r){this.prev=e,this.vars=t,this.block=r}function j(e,t){this.name=e,this.next=t}var D=new j("this",new j("arguments",null))
function M(){N.state.context=new I(N.state.context,N.state.localVars,!1),N.state.localVars=D}function B(){N.state.context=new I(N.state.context,N.state.localVars,!0),N.state.localVars=null}function R(){N.state.localVars=N.state.context.vars,N.state.context=N.state.context.prev}function L(e,t){var r=function(){var r=N.state,n=r.indented
if("stat"==r.lexical.type)n=r.lexical.indented
else for(var i=r.lexical;i&&")"==i.type&&i.align;i=i.prev)n=i.indented
r.lexical=new k(n,N.stream.column(),e,null,r.lexical,t)}
return r.lex=!0,r}function z(){var e=N.state
e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function F(e){return function t(r){return r==e?C():";"==e||"}"==r||")"==r||"]"==r?_():C(t)}}function V(e,t){return"var"==e?C(L("vardef",t),Ne,F(";"),z):"keyword a"==e?C(L("form"),q,V,z):"keyword b"==e?C(L("form"),V,z):"keyword d"==e?N.stream.match(/^\s*$/,!1)?C():C(L("stat"),K,F(";"),z):"debugger"==e?C(F(";")):"{"==e?C(L("}"),B,ce,z,R):";"==e?C():"if"==e?("else"==N.state.lexical.info&&N.state.cc[N.state.cc.length-1]==z&&N.state.cc.pop()(),C(L("form"),q,V,z,Te)):"function"==e?C(Me):"for"==e?C(L("form"),B,Ie,V,R,z):"class"==e||u&&"interface"==t?(N.marked="keyword",C(L("form","class"==e?e:t),Fe,z)):"variable"==e?u&&"declare"==t?(N.marked="keyword",C(V)):u&&("module"==t||"enum"==t||"type"==t)&&N.stream.match(/^\s*\w/,!1)?(N.marked="keyword","enum"==t?C(Xe):"type"==t?C(Re,F("operator"),fe,F(";")):C(L("form"),_e,F("{"),L("}"),ce,z,z)):u&&"namespace"==t?(N.marked="keyword",C(L("form"),U,V,z)):u&&"abstract"==t?(N.marked="keyword",C(V)):C(L("stat"),re):"switch"==e?C(L("form"),q,F("{"),L("}","switch"),B,ce,z,z,R):"case"==e?C(U,F(":")):"default"==e?C(F(":")):"catch"==e?C(L("form"),M,$,V,z,R):"export"==e?C(L("stat"),He,z):"import"==e?C(L("stat"),We,z):"async"==e?C(V):"@"==t?C(U,V):_(L("stat"),U,F(";"),z)}function $(e){if("("==e)return C(Le,F(")"))}function U(e,t){return W(e,t,!1)}function H(e,t){return W(e,t,!0)}function q(e){return"("!=e?_():C(L(")"),K,F(")"),z)}function W(e,t,r){if(N.state.fatArrowAt==N.stream.start){var n=r?Q:X
if("("==e)return C(M,L(")"),ae(Le,")"),z,F("=>"),n,R)
if("variable"==e)return _(M,_e,F("=>"),n,R)}var i=r?J:Z
return S.hasOwnProperty(e)?C(i):"function"==e?C(Me,i):"class"==e||u&&"interface"==t?(N.marked="keyword",C(L("form"),ze,z)):"keyword c"==e||"async"==e?C(r?H:U):"("==e?C(L(")"),K,F(")"),z,i):"operator"==e||"spread"==e?C(r?H:U):"["==e?C(L("]"),Ye,z,i):"{"==e?le(ie,"}",null,i):"quasi"==e?_(G,i):"new"==e?C(function(e){return function(t){return"."==t?C(e?te:ee):"variable"==t&&u?C(ke,e?J:Z):_(e?H:U)}}(r)):C()}function K(e){return e.match(/[;\}\)\],]/)?_():_(U)}function Z(e,t){return","==e?C(K):J(e,t,!1)}function J(e,t,r){var n=0==r?Z:J,i=0==r?U:H
return"=>"==e?C(M,r?Q:X,R):"operator"==e?/\+\+|--/.test(t)||u&&"!"==t?C(n):u&&"<"==t&&N.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?C(L(">"),ae(fe,">"),z,n):"?"==t?C(U,F(":"),i):C(i):"quasi"==e?_(G,n):";"!=e?"("==e?le(H,")","call",n):"."==e?C(ne,n):"["==e?C(L("]"),K,F("]"),z,n):u&&"as"==t?(N.marked="keyword",C(fe,n)):"regexp"==e?(N.state.lastType=N.marked="operator",N.stream.backUp(N.stream.pos-N.stream.start-1),C(i)):void 0:void 0}function G(e,t){return"quasi"!=e?_():"${"!=t.slice(t.length-2)?C(G):C(K,Y)}function Y(e){if("}"==e)return N.marked="string-2",N.state.tokenize=v,C(G)}function X(e){return w(N.stream,N.state),_("{"==e?V:U)}function Q(e){return w(N.stream,N.state),_("{"==e?V:H)}function ee(e,t){if("target"==t)return N.marked="keyword",C(Z)}function te(e,t){if("target"==t)return N.marked="keyword",C(J)}function re(e){return":"==e?C(z,V):_(Z,F(";"),z)}function ne(e){if("variable"==e)return N.marked="property",C()}function ie(e,t){return"async"==e?(N.marked="property",C(ie)):"variable"==e||"keyword"==N.style?(N.marked="property","get"==t||"set"==t?C(se):(u&&N.state.fatArrowAt==N.stream.start&&(r=N.stream.match(/^\s*:\s*/,!1))&&(N.state.fatArrowAt=N.stream.pos+r[0].length),C(oe))):"number"==e||"string"==e?(N.marked=a?"property":N.style+" property",C(oe)):"jsonld-keyword"==e?C(oe):u&&T(t)?(N.marked="keyword",C(ie)):"["==e?C(U,ue,F("]"),oe):"spread"==e?C(H,oe):"*"==t?(N.marked="keyword",C(ie)):":"==e?_(oe):void 0
var r}function se(e){return"variable"!=e?_(oe):(N.marked="property",C(Me))}function oe(e){return":"==e?C(H):"("==e?_(Me):void 0}function ae(e,t,r){function n(i,s){if(r?r.indexOf(i)>-1:","==i){var o=N.state.lexical
return"call"==o.info&&(o.pos=(o.pos||0)+1),C((function(r,n){return r==t||n==t?_():_(e)}),n)}return i==t||s==t?C():r&&r.indexOf(";")>-1?_(e):C(F(t))}return function(r,i){return r==t||i==t?C():_(e,n)}}function le(e,t,r){for(var n=3;n<arguments.length;n++)N.cc.push(arguments[n])
return C(L(t,r),ae(e,t),z)}function ce(e){return"}"==e?C():_(V,ce)}function ue(e,t){if(u){if(":"==e)return C(fe)
if("?"==t)return C(ue)}}function he(e,t){if(u&&(":"==e||"in"==t))return C(fe)}function de(e){if(u&&":"==e)return N.stream.match(/^\s*\w+\s+is\b/,!1)?C(U,pe,fe):C(fe)}function pe(e,t){if("is"==t)return N.marked="keyword",C()}function fe(e,t){return"keyof"==t||"typeof"==t||"infer"==t||"readonly"==t?(N.marked="keyword",C("typeof"==t?H:fe)):"variable"==e||"void"==t?(N.marked="type",C(Se)):"|"==t||"&"==t?C(fe):"string"==e||"number"==e||"atom"==e?C(Se):"["==e?C(L("]"),ae(fe,"]",","),z,Se):"{"==e?C(L("}"),ge,z,Se):"("==e?C(ae(we,")"),me,Se):"<"==e?C(ae(fe,">"),fe):"quasi"==e?_(ve,Se):void 0}function me(e){if("=>"==e)return C(fe)}function ge(e){return e.match(/[\}\)\]]/)?C():","==e||";"==e?C(ge):_(ye,ge)}function ye(e,t){return"variable"==e||"keyword"==N.style?(N.marked="property",C(ye)):"?"==t||"number"==e||"string"==e?C(ye):":"==e?C(fe):"["==e?C(F("variable"),he,F("]"),ye):"("==e?_(Be,ye):e.match(/[;\}\)\],]/)?void 0:C()}function ve(e,t){return"quasi"!=e?_():"${"!=t.slice(t.length-2)?C(ve):C(fe,be)}function be(e){if("}"==e)return N.marked="string-2",N.state.tokenize=v,C(ve)}function we(e,t){return"variable"==e&&N.stream.match(/^\s*[?:]/,!1)||"?"==t?C(we):":"==e?C(fe):"spread"==e?C(we):_(fe)}function Se(e,t){return"<"==t?C(L(">"),ae(fe,">"),z,Se):"|"==t||"."==e||"&"==t?C(fe):"["==e?C(fe,F("]"),Se):"extends"==t||"implements"==t?(N.marked="keyword",C(fe)):"?"==t?C(fe,F(":"),fe):void 0}function ke(e,t){if("<"==t)return C(L(">"),ae(fe,">"),z,Se)}function xe(){return _(fe,Ee)}function Ee(e,t){if("="==t)return C(fe)}function Ne(e,t){return"enum"==t?(N.marked="keyword",C(Xe)):_(_e,ue,Oe,Pe)}function _e(e,t){return u&&T(t)?(N.marked="keyword",C(_e)):"variable"==e?(O(t),C()):"spread"==e?C(_e):"["==e?le(Ae,"]"):"{"==e?le(Ce,"}"):void 0}function Ce(e,t){return"variable"!=e||N.stream.match(/^\s*:/,!1)?("variable"==e&&(N.marked="property"),"spread"==e?C(_e):"}"==e?_():"["==e?C(U,F("]"),F(":"),Ce):C(F(":"),_e,Oe)):(O(t),C(Oe))}function Ae(){return _(_e,Oe)}function Oe(e,t){if("="==t)return C(H)}function Pe(e){if(","==e)return C(Ne)}function Te(e,t){if("keyword b"==e&&"else"==t)return C(L("form","else"),V,z)}function Ie(e,t){return"await"==t?C(Ie):"("==e?C(L(")"),je,z):void 0}function je(e){return"var"==e?C(Ne,De):"variable"==e?C(De):_(De)}function De(e,t){return")"==e?C():";"==e?C(De):"in"==t||"of"==t?(N.marked="keyword",C(U,De)):_(U,De)}function Me(e,t){return"*"==t?(N.marked="keyword",C(Me)):"variable"==e?(O(t),C(Me)):"("==e?C(M,L(")"),ae(Le,")"),z,de,V,R):u&&"<"==t?C(L(">"),ae(xe,">"),z,Me):void 0}function Be(e,t){return"*"==t?(N.marked="keyword",C(Be)):"variable"==e?(O(t),C(Be)):"("==e?C(M,L(")"),ae(Le,")"),z,de,R):u&&"<"==t?C(L(">"),ae(xe,">"),z,Be):void 0}function Re(e,t){return"keyword"==e||"variable"==e?(N.marked="type",C(Re)):"<"==t?C(L(">"),ae(xe,">"),z):void 0}function Le(e,t){return"@"==t&&C(U,Le),"spread"==e?C(Le):u&&T(t)?(N.marked="keyword",C(Le)):u&&"this"==e?C(ue,Oe):_(_e,ue,Oe)}function ze(e,t){return"variable"==e?Fe(e,t):Ve(e,t)}function Fe(e,t){if("variable"==e)return O(t),C(Ve)}function Ve(e,t){return"<"==t?C(L(">"),ae(xe,">"),z,Ve):"extends"==t||"implements"==t||u&&","==e?("implements"==t&&(N.marked="keyword"),C(u?fe:U,Ve)):"{"==e?C(L("}"),$e,z):void 0}function $e(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||u&&T(t))&&N.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1)?(N.marked="keyword",C($e)):"variable"==e||"keyword"==N.style?(N.marked="property",C(Ue,$e)):"number"==e||"string"==e?C(Ue,$e):"["==e?C(U,ue,F("]"),Ue,$e):"*"==t?(N.marked="keyword",C($e)):u&&"("==e?_(Be,$e):";"==e||","==e?C($e):"}"==e?C():"@"==t?C(U,$e):void 0}function Ue(e,t){if("!"==t)return C(Ue)
if("?"==t)return C(Ue)
if(":"==e)return C(fe,Oe)
if("="==t)return C(H)
var r=N.state.lexical.prev
return _(r&&"interface"==r.info?Be:Me)}function He(e,t){return"*"==t?(N.marked="keyword",C(Ge,F(";"))):"default"==t?(N.marked="keyword",C(U,F(";"))):"{"==e?C(ae(qe,"}"),Ge,F(";")):_(V)}function qe(e,t){return"as"==t?(N.marked="keyword",C(F("variable"))):"variable"==e?_(H,qe):void 0}function We(e){return"string"==e?C():"("==e?_(U):"."==e?_(Z):_(Ke,Ze,Ge)}function Ke(e,t){return"{"==e?le(Ke,"}"):("variable"==e&&O(t),"*"==t&&(N.marked="keyword"),C(Je))}function Ze(e){if(","==e)return C(Ke,Ze)}function Je(e,t){if("as"==t)return N.marked="keyword",C(Ke)}function Ge(e,t){if("from"==t)return N.marked="keyword",C(U)}function Ye(e){return"]"==e?C():_(ae(H,"]"))}function Xe(){return _(L("form"),_e,F("{"),L("}"),ae(Qe,"}"),z,z)}function Qe(){return _(_e,Oe)}function et(e,t,r){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}return M.lex=B.lex=!0,R.lex=!0,z.lex=!0,{startState:function(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new k((e||0)-s,0,"block",!1),localVars:r.localVars,context:r.localVars&&new I(null,null,!1),indented:e||0}
return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),w(e,t)),t.tokenize!=y&&e.eatSpace())return null
var r=t.tokenize(e,t)
return"comment"==n?r:(t.lastType="operator"!=n||"++"!=i&&"--"!=i?n:"incdec",E(t,r,n,i,e))},indent:function(t,n){if(t.tokenize==y||t.tokenize==v)return e.Pass
if(t.tokenize!=g)return 0
var i,a=n&&n.charAt(0),l=t.lexical
if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c]
if(u==z)l=l.prev
else if(u!=Te&&u!=R)break}for(;("stat"==l.type||"form"==l.type)&&("}"==a||(i=t.cc[t.cc.length-1])&&(i==Z||i==J)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev
o&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev)
var h=l.type,d=a==h
return"vardef"==h?l.indented+("operator"==t.lastType||","==t.lastType?l.info.length+1:0):"form"==h&&"{"==a?l.indented:"form"==h?l.indented+s:"stat"==h?l.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?o||s:0):"switch"!=l.info||d||0==r.doubleIndentSwitch?l.align?l.column+(d?0:1):l.indented+(d?0:s):l.indented+(/^(?:case|default)\b/.test(n)?s:2*s)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:a,jsonMode:l,expressionAllowed:et,skipExpression:function(t){E(t,"atom","atom","true",new e.StringStream("",2,null))}}})),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/manifest+json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(r(79074))},48021:(e,t,r)=>{!function(e){"use strict"
function t(e){for(var t={},r=0,n=e.length;r<n;++r)t[e[r]]=!0
return t}var r=["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"],n=t(r),i=t(["def","class","case","for","while","until","module","catch","loop","proc","begin"]),s=t(["end","until"]),o={"[":"]","{":"}","(":")"},a={"]":"[","}":"{",")":"("}
e.defineMode("ruby",(function(t){var r
function l(e,t,r){return r.tokenize.push(e),e(t,r)}function c(e,t){if(e.sol()&&e.match("=begin")&&e.eol())return t.tokenize.push(p),"comment"
if(e.eatSpace())return null
var n,i,s,a=e.next()
if("`"==a||"'"==a||'"'==a)return l(d(a,"string",'"'==a||"`"==a),e,t)
if("/"==a)return function(e){for(var t,r=e.pos,n=0,i=!1,s=!1;null!=(t=e.next());)if(s)s=!1
else{if("[{(".indexOf(t)>-1)n++
else if("]})".indexOf(t)>-1){if(--n<0)break}else if("/"==t&&0==n){i=!0
break}s="\\"==t}return e.backUp(e.pos-r),i}(e)?l(d(a,"string-2",!0),e,t):"operator"
if("%"==a){var c="string",u=!0
e.eat("s")?c="atom":e.eat(/[WQ]/)?c="string":e.eat(/[r]/)?c="string-2":e.eat(/[wxq]/)&&(c="string",u=!1)
var h=e.eat(/[^\w\s=]/)
return h?(o.propertyIsEnumerable(h)&&(h=o[h]),l(d(h,c,u,!0),e,t)):"operator"}if("#"==a)return e.skipToEnd(),"comment"
if("<"==a&&(n=e.match(/^<([-~])[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return l((i=n[2],s=n[1],function(e,t){return s&&e.eatSpace(),e.match(i)?t.tokenize.pop():e.skipToEnd(),"string"}),e,t)
if("0"==a)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number"
if(/\d/.test(a))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number"
if("?"==a){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==a)return e.eat("'")?l(d("'","atom",!1),e,t):e.eat('"')?l(d('"',"atom",!0),e,t):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator"
if("@"==a&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2"
if("$"==a)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3"
if(/[a-zA-Z_\xa1-\uffff]/.test(a))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident"
if("|"!=a||!t.varList&&"{"!=t.lastTok&&"do"!=t.lastTok){if(/[\(\)\[\]{}\\;]/.test(a))return r=a,null
if("-"==a&&e.eat(">"))return"arrow"
if(/[=+\-\/*:\.^%<>~|]/.test(a)){var f=e.eatWhile(/[=+\-\/*:\.^%<>~|]/)
return"."!=a||f||(r="."),"operator"}return null}return r="|",null}function u(e){return e||(e=1),function(t,r){if("}"==t.peek()){if(1==e)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r)
r.tokenize[r.tokenize.length-1]=u(e-1)}else"{"==t.peek()&&(r.tokenize[r.tokenize.length-1]=u(e+1))
return c(t,r)}}function h(){var e=!1
return function(t,r){return e?(r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r)):(e=!0,c(t,r))}}function d(e,t,r,n){return function(i,s){var o,a=!1
for("read-quoted-paused"===s.context.type&&(s.context=s.context.prev,i.eat("}"));null!=(o=i.next());){if(o==e&&(n||!a)){s.tokenize.pop()
break}if(r&&"#"==o&&!a){if(i.eat("{")){"}"==e&&(s.context={prev:s.context,type:"read-quoted-paused"}),s.tokenize.push(u())
break}if(/[@\$]/.test(i.peek())){s.tokenize.push(h())
break}}a=!a&&"\\"==o}return t}}function p(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}return{startState:function(){return{tokenize:[c],indented:0,context:{type:"top",indented:-t.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,t){r=null,e.sol()&&(t.indented=e.indentation())
var o,a=t.tokenize[t.tokenize.length-1](e,t),l=r
if("ident"==a){var c=e.current()
"keyword"==(a="."==t.lastTok?"property":n.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(c)?"tag":"def"==t.lastTok||"class"==t.lastTok||t.varList?"def":"variable")&&(l=c,i.propertyIsEnumerable(c)?o="indent":s.propertyIsEnumerable(c)?o="dedent":"if"!=c&&"unless"!=c||e.column()!=e.indentation()?"do"==c&&t.context.indented<t.indented&&(o="indent"):o="indent")}return(r||a&&"comment"!=a)&&(t.lastTok=l),"|"==r&&(t.varList=!t.varList),"indent"==o||/[\(\[\{]/.test(r)?t.context={prev:t.context,type:r||a,indented:t.indented}:("dedent"==o||/[\)\]\}]/.test(r))&&t.context.prev&&(t.context=t.context.prev),e.eol()&&(t.continuedLine="\\"==r||"operator"==a),a},indent:function(r,n){if(r.tokenize[r.tokenize.length-1]!=c)return e.Pass
var i=n&&n.charAt(0),s=r.context,o=s.type==a[i]||"keyword"==s.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(n)
return s.indented+(o?0:t.indentUnit)+(r.continuedLine?t.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"}})),e.defineMIME("text/x-ruby","ruby"),e.registerHelper("hintWords","ruby",r)}(r(79074))},33691:(e,t,r)=>{"use strict"
var n=r(19219),i=r(71289),s=i.padRight,o=i.padCenter,a=i.padLeft,l=i.splitIntoLines,c=i.splitLongWords,u=i.truncateString,h=function(e){return e.toUpperCase()},d=Object.freeze({maxWidth:1/0,minWidth:0,columnSplitter:" ",truncate:!1,truncateMarker:"…",preserveNewLines:!1,paddingChr:" ",showHeaders:!0,headingTransform:h,dataTransform:function(e,t,r){return e}})
function p(){return Object.assign?Object.assign.apply(Object,arguments):f.apply(void 0,arguments)}function f(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object")
for(var r,n=Object(e),i=!1,s=1;s<arguments.length;s++){var o=arguments[s]
if(null!=o){for(var a=Object.keys(Object(o)),l=0,c=a.length;l<c;l++){var u=a[l]
try{var h=Object.getOwnPropertyDescriptor(o,u)
void 0!==h&&h.enumerable&&(n[u]=o[u])}catch(e){i||(i=!0,r=e)}}if(i)throw r}}return n}e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.config||{}
delete t.config
var i=t.maxLineWidth||1/0
"auto"===i&&(i=process.stdout.columns||1/0),delete t.maxLineWidth,(t=p({},d,t)).config=t.config||Object.create(null),t.spacing=t.spacing||"\n",t.preserveNewLines=!!t.preserveNewLines,t.showHeaders=!!t.showHeaders,t.columns=t.columns||t.include
var f=t.columns||[]
e=function(e,t){if(Array.isArray(e))return e
var r=[]
for(var n in e){var i={}
i[t[0]||"key"]=n,i[t[1]||"value"]=e[n],r.push(i)}return r}(e,f),f.length||e.forEach((function(e){for(var t in e)-1===f.indexOf(t)&&f.push(t)}))
var m=f.reduce((function(e,n){var i=Object.create(t)
return e[n]=p(i,r[n]),e}),Object.create(null))
f.forEach((function(e){var t=m[e]
t.name=e,t.maxWidth=Math.ceil(t.maxWidth),t.minWidth=Math.ceil(t.minWidth),t.truncate=!!t.truncate,t.align=t.align||"left"})),e=e.map((function(e){var t=Object.create(null)
return f.forEach((function(r){t[r]=null!=e[r]?e[r]:"",t[r]=""+t[r],m[r].preserveNewLines?t[r]=t[r].replace(/[^\S\n]/gim," "):t[r]=t[r].replace(/\s/gim," ")})),t})),f.forEach((function(t){var r=m[t]
e=e.map((function(e,n){var i=Object.create(r)
e[t]=r.dataTransform(e[t],i,n)
var s=Object.keys(i)
if(-1!==s.indexOf("name")){if(r.headingTransform!==h)return
r.headingTransform=function(e){return e}}return s.forEach((function(e){return r[e]=i[e]})),e}))}))
var g={}
t.showHeaders&&(f.forEach((function(e){var t=m[e]
t.showHeaders?g[e]=t.headingTransform(t.name):g[e]=""})),e.unshift(g)),f.forEach((function(t){var r=m[t]
r.width=e.map((function(e){return e[t]})).reduce((function(e,t){return e>=r.maxWidth?e:Math.max(e,Math.min(r.maxWidth,Math.max(r.minWidth,n(t))))}),0)})),f.forEach((function(t){var r=m[t]
e=e.map((function(e){return e[t]=c(e[t],r.width,r.truncateMarker),e}))})),f.forEach((function(t){var r=m[t]
e=e.map((function(e,i){var s=e[t]
return e[t]=l(s,r.width),r.truncate&&e[t].length>1&&(e[t]=l(s,r.width-n(r.truncateMarker)),function(e,t,r){r=(r=r||e.length)-t.length
var n=e.lastIndexOf(t)
return-1!==n&&n===r}(e[t][0],r.truncateMarker)||(e[t][0]+=r.truncateMarker),e[t]=e[t].slice(0,1)),e}))})),f.forEach((function(t){var r=m[t]
r.width=e.map((function(e){return e[t].reduce((function(e,t){return e>=r.maxWidth?e:Math.max(e,Math.min(r.maxWidth,Math.max(r.minWidth,n(t))))}),0)})).reduce((function(e,t){return e>=r.maxWidth?e:Math.max(e,Math.min(r.maxWidth,Math.max(r.minWidth,t)))}),0)}))
var y=function(e,t,r,n){return e.map((function(e){var i=[],l=0
r.forEach((function(t){l=Math.max(l,e[t].length)}))
for(var c=function(l){i[l]=i[l]||[],r.forEach((function(r){var c=t[r],u=e[r][l]||""
"right"===c.align?i[l].push(a(u,c.width,n)):"center"===c.align||"centre"===c.align?i[l].push(o(u,c.width,n)):i[l].push(s(u,c.width,n))}))},u=0;u<l;u++)c(u)
return i}))}(e,m,f,t.paddingChr)
return y.reduce((function(e,r){return e.concat(r.reduce((function(e,r){return e.concat(r.join(t.columnSplitter))}),[]))}),[]).map((function(e){return u(e,i)})).join(t.spacing)}},71289:(e,t,r)=>{"use strict"
var n=r(19219)
function i(e,t){return Array.apply(null,{length:t+1}).join(e).slice(0,t)}e.exports.padRight=function(e,t,r){e=null!=e?e:"",e=String(e)
var s=t-n(e)
return s<=0?e:e+i(r||" ",s)},e.exports.padCenter=function(e,t,r){e=null!=e?e:"",e=String(e)
var s=t-n(e)
if(s<=0)return e
var o=Math.floor(s/2),a=s-o
return i(r||" ",o)+e+i(r||" ",a)},e.exports.padLeft=function(e,t,r){e=null!=e?e:"",e=String(e)
var s=t-n(e)
return s<=0?e:i(r||" ",s)+e},e.exports.splitIntoLines=function(e,t){return e.split("\n").map((function(e){return function(e,t){return e.trim().split(" ").reduce((function(e,r){var i=e[e.length-1]
return i&&n(i.join(" "))+n(r)<t?e[e.length-1].push(r):e.push([r]),e}),[]).map((function(e){return e.join(" ")}))}(e,t)})).reduce((function(e,t){return e.concat(t)}),[])},e.exports.splitLongWords=function(e,t,r){for(var i=[],s=(e=e.trim()).split(" "),o="",a=n(r);o||s.length;){if(o){var l=o
o=""}else l=s.shift()
if(n(l)>t){for(var c=0,u=0,h=t-a;c<l.length;){var d=n(l.charAt(c))
if(d+u>h)break
u+=d,++c}o=l.slice(c),l=l.slice(0,c),l+=r}i.push(l)}return i.join(" ")},e.exports.truncateString=function(e,t){if(e=null!=e?e:"",e=String(e),t==1/0)return e
for(var r=0,i=0;r<e.length;){var s=n(e.charAt(r))
if(s+i>t)break
i+=s,++r}return e.slice(0,r)}},19219:(e,t,r)=>{var n=r(29992),i=r(31209)
e.exports=function(e){return i(n(e))}},5763:(e,t,r)=>{"use strict"
function n(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))
return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}r.d(t,{Z:()=>n})},23682:(e,t,r)=>{"use strict"
function n(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}r.d(t,{Z:()=>n})},17002:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>a})
var n=r(5763),i=r(59429),s=r(23682),o=864e5
function a(e,t){(0,s.Z)(2,arguments)
var r=(0,i.Z)(e),a=(0,i.Z)(t),l=r.getTime()-(0,n.Z)(r),c=a.getTime()-(0,n.Z)(a)
return Math.round((l-c)/o)}},32301:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(34327),i=r(17002),s=r(23682)
function o(e,t){var r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds()
return r<0?-1:r>0?1:r}function a(e,t){(0,s.Z)(2,arguments)
var r=(0,n.Z)(e),a=(0,n.Z)(t),l=o(r,a),c=Math.abs((0,i.Z)(r,a))
r.setDate(r.getDate()-l*c)
var u=l*(c-Number(o(r,a)===-l))
return 0===u?0:u}},64388:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{add:()=>c,addBusinessDays:()=>p,addDays:()=>a,addHours:()=>g,addISOWeekYears:()=>N,addMilliseconds:()=>f,addMinutes:()=>C,addMonths:()=>l,addQuarters:()=>A,addSeconds:()=>O,addWeeks:()=>P,addYears:()=>T,areIntervalsOverlapping:()=>I,clamp:()=>M,closestIndexTo:()=>B,closestTo:()=>R,compareAsc:()=>L,compareDesc:()=>z,daysInWeek:()=>F,daysInYear:()=>V,daysToWeeks:()=>ie,differenceInBusinessDays:()=>ce,differenceInCalendarDays:()=>x.Z,differenceInCalendarISOWeekYears:()=>ue,differenceInCalendarISOWeeks:()=>pe,differenceInCalendarMonths:()=>fe,differenceInCalendarQuarters:()=>ge,differenceInCalendarWeeks:()=>ve,differenceInCalendarYears:()=>be,differenceInDays:()=>we.default,differenceInHours:()=>Ne,differenceInISOWeekYears:()=>Ce,differenceInMilliseconds:()=>Se,differenceInMinutes:()=>Ae,differenceInMonths:()=>Ie,differenceInQuarters:()=>je,differenceInSeconds:()=>De,differenceInWeeks:()=>Me,differenceInYears:()=>Be,eachDayOfInterval:()=>Re,eachHourOfInterval:()=>Le,eachMinuteOfInterval:()=>Fe,eachMonthOfInterval:()=>Ve,eachQuarterOfInterval:()=>Ue,eachWeekOfInterval:()=>He,eachWeekendOfInterval:()=>qe,eachWeekendOfMonth:()=>Ke,eachWeekendOfYear:()=>Ge,eachYearOfInterval:()=>Ye,endOfDay:()=>Oe,endOfDecade:()=>Xe,endOfHour:()=>Qe,endOfISOWeek:()=>tt,endOfISOWeekYear:()=>rt,endOfMinute:()=>nt,endOfMonth:()=>Pe,endOfQuarter:()=>it,endOfSecond:()=>st,endOfToday:()=>ot,endOfTomorrow:()=>at,endOfWeek:()=>et,endOfYear:()=>Ze,endOfYesterday:()=>lt,format:()=>qt,formatDistance:()=>Xt,formatDistanceStrict:()=>nr,formatDistanceToNow:()=>ir,formatDistanceToNowStrict:()=>sr,formatDuration:()=>ar,formatISO:()=>lr,formatISO9075:()=>cr,formatISODuration:()=>ur,formatRFC3339:()=>hr,formatRFC7231:()=>fr,formatRelative:()=>mr,fromUnixTime:()=>gr,getDate:()=>yr,getDay:()=>vr,getDayOfYear:()=>br,getDaysInMonth:()=>wr,getDaysInYear:()=>kr,getDecade:()=>xr,getDefaultOptions:()=>Er,getHours:()=>Nr,getISODay:()=>_r,getISOWeek:()=>Ar,getISOWeekYear:()=>S,getISOWeeksInYear:()=>Pr,getMilliseconds:()=>Tr,getMinutes:()=>Ir,getMonth:()=>jr,getOverlappingDaysInIntervals:()=>Mr,getQuarter:()=>me,getSeconds:()=>Br,getTime:()=>Rr,getUnixTime:()=>Lr,getWeek:()=>$r,getWeekOfMonth:()=>Ur,getWeekYear:()=>zr,getWeeksInMonth:()=>qr,getYear:()=>Wr,hoursToMilliseconds:()=>Kr,hoursToMinutes:()=>Zr,hoursToSeconds:()=>Jr,intervalToDuration:()=>Gr,intlFormat:()=>Yr,intlFormatDistance:()=>Xr,isAfter:()=>Qr.default,isBefore:()=>en,isDate:()=>ae,isEqual:()=>tn,isExists:()=>rn,isFirstDayOfMonth:()=>nn,isFriday:()=>sn,isFuture:()=>on,isLastDayOfMonth:()=>Te,isLeapYear:()=>Sr,isMatch:()=>qi,isMonday:()=>Wi,isPast:()=>Ki,isSameDay:()=>oe,isSameHour:()=>Ji,isSameISOWeek:()=>Yi,isSameISOWeekYear:()=>Xi,isSameMinute:()=>Qi,isSameMonth:()=>es,isSameQuarter:()=>ts,isSameSecond:()=>ns,isSameWeek:()=>Gi,isSameYear:()=>is,isSaturday:()=>d,isSunday:()=>h,isThisHour:()=>ss,isThisISOWeek:()=>os,isThisMinute:()=>as,isThisMonth:()=>ls,isThisQuarter:()=>cs,isThisSecond:()=>us,isThisWeek:()=>hs,isThisYear:()=>ds,isThursday:()=>ps,isToday:()=>fs,isTomorrow:()=>ms,isTuesday:()=>gs,isValid:()=>le,isWednesday:()=>ys,isWeekend:()=>u,isWithinInterval:()=>vs,isYesterday:()=>ws,lastDayOfDecade:()=>Ss,lastDayOfISOWeek:()=>xs,lastDayOfISOWeekYear:()=>Es,lastDayOfMonth:()=>Hr,lastDayOfQuarter:()=>Ns,lastDayOfWeek:()=>ks,lastDayOfYear:()=>_s,lightFormat:()=>Ts,max:()=>j,maxTime:()=>$,milliseconds:()=>js,millisecondsInHour:()=>H,millisecondsInMinute:()=>U,millisecondsInSecond:()=>q,millisecondsToHours:()=>Ds,millisecondsToMinutes:()=>Ms,millisecondsToSeconds:()=>Bs,min:()=>D,minTime:()=>W,minutesInHour:()=>K,minutesToHours:()=>Rs,minutesToMilliseconds:()=>Ls,minutesToSeconds:()=>zs,monthsInQuarter:()=>Z,monthsInYear:()=>J,monthsToQuarters:()=>Fs,monthsToYears:()=>Vs,nextDay:()=>$s,nextFriday:()=>Us,nextMonday:()=>Hs,nextSaturday:()=>qs,nextSunday:()=>Ws,nextThursday:()=>Ks,nextTuesday:()=>Zs,nextWednesday:()=>Js,parse:()=>Hi,parseISO:()=>Gs,parseJSON:()=>so,previousDay:()=>oo,previousFriday:()=>ao,previousMonday:()=>lo,previousSaturday:()=>co,previousSunday:()=>uo,previousThursday:()=>ho,previousTuesday:()=>po,previousWednesday:()=>fo,quartersInYear:()=>G,quartersToMonths:()=>mo,quartersToYears:()=>go,roundToNearestMinutes:()=>yo,secondsInDay:()=>Q,secondsInHour:()=>Y,secondsInMinute:()=>X,secondsInMonth:()=>re,secondsInQuarter:()=>ne,secondsInWeek:()=>ee,secondsInYear:()=>te,secondsToHours:()=>vo,secondsToMilliseconds:()=>bo,secondsToMinutes:()=>wo,set:()=>ko,setDate:()=>xo,setDay:()=>Eo,setDayOfYear:()=>No,setDefaultOptions:()=>_o,setHours:()=>Co,setISODay:()=>Ao,setISOWeek:()=>Oo,setISOWeekYear:()=>E,setMilliseconds:()=>Po,setMinutes:()=>To,setMonth:()=>So,setQuarter:()=>Io,setSeconds:()=>jo,setWeek:()=>Do,setWeekYear:()=>Mo,setYear:()=>Bo,startOfDay:()=>se.Z,startOfDecade:()=>Ro,startOfHour:()=>Zi,startOfISOWeek:()=>w,startOfISOWeekYear:()=>k,startOfMinute:()=>ze,startOfMonth:()=>We,startOfQuarter:()=>$e,startOfSecond:()=>rs,startOfToday:()=>Lo,startOfTomorrow:()=>zo,startOfWeek:()=>b,startOfWeekYear:()=>Fr,startOfYear:()=>Je,startOfYesterday:()=>Fo,sub:()=>$o,subBusinessDays:()=>Uo,subDays:()=>bs,subHours:()=>Ho,subISOWeekYears:()=>_e,subMilliseconds:()=>ct,subMinutes:()=>qo,subMonths:()=>Vo,subQuarters:()=>Wo,subSeconds:()=>Ko,subWeeks:()=>Zo,subYears:()=>Jo,toDate:()=>s.Z,weeksToDays:()=>Go,yearsToMonths:()=>Yo,yearsToQuarters:()=>Xo})
var n=r(76775)
function i(e){if(null===e||!0===e||!1===e)return NaN
var t=Number(e)
return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}var s=r(34327),o=r(23682)
function a(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t)
return isNaN(n)?new Date(NaN):n?(r.setDate(r.getDate()+n),r):r}function l(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t)
if(isNaN(n))return new Date(NaN)
if(!n)return r
var a=r.getDate(),l=new Date(r.getTime())
return l.setMonth(r.getMonth()+n+1,0),a>=l.getDate()?l:(r.setFullYear(l.getFullYear(),l.getMonth(),a),r)}function c(e,t){if((0,o.Z)(2,arguments),!t||"object"!==(0,n.Z)(t))return new Date(NaN)
var r=t.years?i(t.years):0,c=t.months?i(t.months):0,u=t.weeks?i(t.weeks):0,h=t.days?i(t.days):0,d=t.hours?i(t.hours):0,p=t.minutes?i(t.minutes):0,f=t.seconds?i(t.seconds):0,m=(0,s.Z)(e),g=c||r?l(m,c+12*r):m,y=h||u?a(g,h+7*u):g,v=1e3*(f+60*(p+60*d))
return new Date(y.getTime()+v)}function u(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e).getDay()
return 0===t||6===t}function h(e){return(0,o.Z)(1,arguments),0===(0,s.Z)(e).getDay()}function d(e){return(0,o.Z)(1,arguments),6===(0,s.Z)(e).getDay()}function p(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=u(r),a=i(t)
if(isNaN(a))return new Date(NaN)
var l=r.getHours(),c=a<0?-1:1,p=i(a/5)
r.setDate(r.getDate()+7*p)
for(var f=Math.abs(a%5);f>0;)r.setDate(r.getDate()+c),u(r)||(f-=1)
return n&&u(r)&&0!==a&&(d(r)&&r.setDate(r.getDate()+(c<0?2:-1)),h(r)&&r.setDate(r.getDate()+(c<0?1:-2))),r.setHours(l),r}function f(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e).getTime(),n=i(t)
return new Date(r+n)}var m=36e5
function g(e,t){return(0,o.Z)(2,arguments),f(e,i(t)*m)}var y={}
function v(){return y}function b(e,t){var r,n,a,l,c,u,h,d;(0,o.Z)(1,arguments)
var p=v(),f=i(null!==(r=null!==(n=null!==(a=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(c=t.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==a?a:p.weekStartsOn)&&void 0!==n?n:null===(h=p.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0)
if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")
var m=(0,s.Z)(e),g=m.getDay(),y=(g<f?7:0)+g-f
return m.setDate(m.getDate()-y),m.setHours(0,0,0,0),m}function w(e){return(0,o.Z)(1,arguments),b(e,{weekStartsOn:1})}function S(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getFullYear(),n=new Date(0)
n.setFullYear(r+1,0,4),n.setHours(0,0,0,0)
var i=w(n),a=new Date(0)
a.setFullYear(r,0,4),a.setHours(0,0,0,0)
var l=w(a)
return t.getTime()>=i.getTime()?r+1:t.getTime()>=l.getTime()?r:r-1}function k(e){(0,o.Z)(1,arguments)
var t=S(e),r=new Date(0)
return r.setFullYear(t,0,4),r.setHours(0,0,0,0),w(r)}var x=r(17002)
function E(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t),a=(0,x.Z)(r,k(r)),l=new Date(0)
return l.setFullYear(n,0,4),l.setHours(0,0,0,0),(r=k(l)).setDate(r.getDate()+a),r}function N(e,t){(0,o.Z)(2,arguments)
var r=i(t)
return E(e,S(e)+r)}var _=6e4
function C(e,t){return(0,o.Z)(2,arguments),f(e,i(t)*_)}function A(e,t){return(0,o.Z)(2,arguments),l(e,3*i(t))}function O(e,t){return(0,o.Z)(2,arguments),f(e,1e3*i(t))}function P(e,t){return(0,o.Z)(2,arguments),a(e,7*i(t))}function T(e,t){return(0,o.Z)(2,arguments),l(e,12*i(t))}function I(e,t,r){(0,o.Z)(2,arguments)
var n=(0,s.Z)(null==e?void 0:e.start).getTime(),i=(0,s.Z)(null==e?void 0:e.end).getTime(),a=(0,s.Z)(null==t?void 0:t.start).getTime(),l=(0,s.Z)(null==t?void 0:t.end).getTime()
if(!(n<=i&&a<=l))throw new RangeError("Invalid interval")
return null!=r&&r.inclusive?n<=l&&a<=i:n<l&&a<i}function j(e){var t,r
if((0,o.Z)(1,arguments),e&&"function"==typeof e.forEach)t=e
else{if("object"!==(0,n.Z)(e)||null===e)return new Date(NaN)
t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,s.Z)(e);(void 0===r||r<t||isNaN(Number(t)))&&(r=t)})),r||new Date(NaN)}function D(e){var t,r
if((0,o.Z)(1,arguments),e&&"function"==typeof e.forEach)t=e
else{if("object"!==(0,n.Z)(e)||null===e)return new Date(NaN)
t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,s.Z)(e);(void 0===r||r>t||isNaN(t.getDate()))&&(r=t)})),r||new Date(NaN)}function M(e,t){var r=t.start,n=t.end
return(0,o.Z)(2,arguments),D([j([e,r]),n])}function B(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e)
if(isNaN(Number(r)))return NaN
var n,i,a=r.getTime()
return(null==t?[]:"function"==typeof t.forEach?t:Array.prototype.slice.call(t)).forEach((function(e,t){var r=(0,s.Z)(e)
if(isNaN(Number(r)))return n=NaN,void(i=NaN)
var o=Math.abs(a-r.getTime());(null==n||o<Number(i))&&(n=t,i=o)})),n}function R(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e)
if(isNaN(Number(r)))return new Date(NaN)
var n,i,a=r.getTime()
return(null==t?[]:"function"==typeof t.forEach?t:Array.prototype.slice.call(t)).forEach((function(e){var t=(0,s.Z)(e)
if(isNaN(Number(t)))return n=new Date(NaN),void(i=NaN)
var r=Math.abs(a-t.getTime());(null==n||r<Number(i))&&(n=t,i=r)})),n}function L(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=(0,s.Z)(t),i=r.getTime()-n.getTime()
return i<0?-1:i>0?1:i}function z(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=(0,s.Z)(t),i=r.getTime()-n.getTime()
return i>0?-1:i<0?1:i}var F=7,V=365.2425,$=24*Math.pow(10,8)*60*60*1e3,U=6e4,H=36e5,q=1e3,W=-$,K=60,Z=3,J=12,G=4,Y=3600,X=60,Q=24*Y,ee=7*Q,te=Q*V,re=te/12,ne=3*re
function ie(e){(0,o.Z)(1,arguments)
var t=e/F
return Math.floor(t)}var se=r(59429)
function oe(e,t){(0,o.Z)(2,arguments)
var r=(0,se.Z)(e),n=(0,se.Z)(t)
return r.getTime()===n.getTime()}function ae(e){return(0,o.Z)(1,arguments),e instanceof Date||"object"===(0,n.Z)(e)&&"[object Date]"===Object.prototype.toString.call(e)}function le(e){if((0,o.Z)(1,arguments),!ae(e)&&"number"!=typeof e)return!1
var t=(0,s.Z)(e)
return!isNaN(Number(t))}function ce(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=(0,s.Z)(t)
if(!le(r)||!le(n))return NaN
var l=(0,x.Z)(r,n),c=l<0?-1:1,h=i(l/7),d=5*h
for(n=a(n,7*h);!oe(r,n);)d+=u(n)?0:c,n=a(n,c)
return 0===d?0:d}function ue(e,t){return(0,o.Z)(2,arguments),S(e)-S(t)}var he=r(5763),de=6048e5
function pe(e,t){(0,o.Z)(2,arguments)
var r=w(e),n=w(t),i=r.getTime()-(0,he.Z)(r),s=n.getTime()-(0,he.Z)(n)
return Math.round((i-s)/de)}function fe(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=(0,s.Z)(t)
return 12*(r.getFullYear()-n.getFullYear())+(r.getMonth()-n.getMonth())}function me(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e)
return Math.floor(t.getMonth()/3)+1}function ge(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=(0,s.Z)(t)
return 4*(r.getFullYear()-n.getFullYear())+(me(r)-me(n))}var ye=6048e5
function ve(e,t,r){(0,o.Z)(2,arguments)
var n=b(e,r),i=b(t,r),s=n.getTime()-(0,he.Z)(n),a=i.getTime()-(0,he.Z)(i)
return Math.round((s-a)/ye)}function be(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=(0,s.Z)(t)
return r.getFullYear()-n.getFullYear()}var we=r(32301)
function Se(e,t){return(0,o.Z)(2,arguments),(0,s.Z)(e).getTime()-(0,s.Z)(t).getTime()}var ke={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}},xe="trunc"
function Ee(e){return e?ke[e]:ke[xe]}function Ne(e,t,r){(0,o.Z)(2,arguments)
var n=Se(e,t)/H
return Ee(null==r?void 0:r.roundingMethod)(n)}function _e(e,t){return(0,o.Z)(2,arguments),N(e,-i(t))}function Ce(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=(0,s.Z)(t),i=L(r,n),a=Math.abs(ue(r,n))
r=_e(r,i*a)
var l=i*(a-Number(L(r,n)===-i))
return 0===l?0:l}function Ae(e,t,r){(0,o.Z)(2,arguments)
var n=Se(e,t)/U
return Ee(null==r?void 0:r.roundingMethod)(n)}function Oe(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e)
return t.setHours(23,59,59,999),t}function Pe(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getMonth()
return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function Te(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e)
return Oe(t).getTime()===Pe(t).getTime()}function Ie(e,t){(0,o.Z)(2,arguments)
var r,n=(0,s.Z)(e),i=(0,s.Z)(t),a=L(n,i),l=Math.abs(fe(n,i))
if(l<1)r=0
else{1===n.getMonth()&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-a*l)
var c=L(n,i)===-a
Te((0,s.Z)(e))&&1===l&&1===L(e,i)&&(c=!1),r=a*(l-Number(c))}return 0===r?0:r}function je(e,t,r){(0,o.Z)(2,arguments)
var n=Ie(e,t)/3
return Ee(null==r?void 0:r.roundingMethod)(n)}function De(e,t,r){(0,o.Z)(2,arguments)
var n=Se(e,t)/1e3
return Ee(null==r?void 0:r.roundingMethod)(n)}function Me(e,t,r){(0,o.Z)(2,arguments)
var n=(0,we.default)(e,t)/7
return Ee(null==r?void 0:r.roundingMethod)(n)}function Be(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=(0,s.Z)(t),i=L(r,n),a=Math.abs(be(r,n))
r.setFullYear(1584),n.setFullYear(1584)
var l=L(r,n)===-i,c=i*(a-Number(l))
return 0===c?0:c}function Re(e,t){var r;(0,o.Z)(1,arguments)
var n=e||{},i=(0,s.Z)(n.start),a=(0,s.Z)(n.end).getTime()
if(!(i.getTime()<=a))throw new RangeError("Invalid interval")
var l=[],c=i
c.setHours(0,0,0,0)
var u=Number(null!==(r=null==t?void 0:t.step)&&void 0!==r?r:1)
if(u<1||isNaN(u))throw new RangeError("`options.step` must be a number greater than 1")
for(;c.getTime()<=a;)l.push((0,s.Z)(c)),c.setDate(c.getDate()+u),c.setHours(0,0,0,0)
return l}function Le(e,t){var r;(0,o.Z)(1,arguments)
var n=e||{},i=(0,s.Z)(n.start),a=(0,s.Z)(n.end),l=i.getTime(),c=a.getTime()
if(!(l<=c))throw new RangeError("Invalid interval")
var u=[],h=i
h.setMinutes(0,0,0)
var d=Number(null!==(r=null==t?void 0:t.step)&&void 0!==r?r:1)
if(d<1||isNaN(d))throw new RangeError("`options.step` must be a number greater than 1")
for(;h.getTime()<=c;)u.push((0,s.Z)(h)),h=g(h,d)
return u}function ze(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e)
return t.setSeconds(0,0),t}function Fe(e,t){var r;(0,o.Z)(1,arguments)
var n=ze((0,s.Z)(e.start)),i=(0,s.Z)(e.end),a=n.getTime(),l=i.getTime()
if(a>=l)throw new RangeError("Invalid interval")
var c=[],u=n,h=Number(null!==(r=null==t?void 0:t.step)&&void 0!==r?r:1)
if(h<1||isNaN(h))throw new RangeError("`options.step` must be a number equal to or greater than 1")
for(;u.getTime()<=l;)c.push((0,s.Z)(u)),u=C(u,h)
return c}function Ve(e){(0,o.Z)(1,arguments)
var t=e||{},r=(0,s.Z)(t.start),n=(0,s.Z)(t.end).getTime(),i=[]
if(!(r.getTime()<=n))throw new RangeError("Invalid interval")
var a=r
for(a.setHours(0,0,0,0),a.setDate(1);a.getTime()<=n;)i.push((0,s.Z)(a)),a.setMonth(a.getMonth()+1)
return i}function $e(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getMonth(),n=r-r%3
return t.setMonth(n,1),t.setHours(0,0,0,0),t}function Ue(e){(0,o.Z)(1,arguments)
var t=e||{},r=(0,s.Z)(t.start),n=(0,s.Z)(t.end),i=n.getTime()
if(!(r.getTime()<=i))throw new RangeError("Invalid interval")
var a=$e(r)
i=$e(n).getTime()
for(var l=[],c=a;c.getTime()<=i;)l.push((0,s.Z)(c)),c=A(c,1)
return l}function He(e,t){(0,o.Z)(1,arguments)
var r=e||{},n=(0,s.Z)(r.start),i=(0,s.Z)(r.end),a=i.getTime()
if(!(n.getTime()<=a))throw new RangeError("Invalid interval")
var l=b(n,t),c=b(i,t)
l.setHours(15),c.setHours(15),a=c.getTime()
for(var u=[],h=l;h.getTime()<=a;)h.setHours(0),u.push((0,s.Z)(h)),(h=P(h,1)).setHours(15)
return u}function qe(e){(0,o.Z)(1,arguments)
for(var t=Re(e),r=[],n=0;n<t.length;){var i=t[n++]
u(i)&&(r.push(i),h(i)&&(n+=5))}return r}function We(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e)
return t.setDate(1),t.setHours(0,0,0,0),t}function Ke(e){(0,o.Z)(1,arguments)
var t=We(e)
if(isNaN(t.getTime()))throw new RangeError("The passed date is invalid")
return qe({start:t,end:Pe(e)})}function Ze(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getFullYear()
return t.setFullYear(r+1,0,0),t.setHours(23,59,59,999),t}function Je(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=new Date(0)
return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}function Ge(e){return(0,o.Z)(1,arguments),qe({start:Je(e),end:Ze(e)})}function Ye(e){(0,o.Z)(1,arguments)
var t=e||{},r=(0,s.Z)(t.start),n=(0,s.Z)(t.end).getTime()
if(!(r.getTime()<=n))throw new RangeError("Invalid interval")
var i=[],a=r
for(a.setHours(0,0,0,0),a.setMonth(0,1);a.getTime()<=n;)i.push((0,s.Z)(a)),a.setFullYear(a.getFullYear()+1)
return i}function Xe(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getFullYear(),n=9+10*Math.floor(r/10)
return t.setFullYear(n,11,31),t.setHours(23,59,59,999),t}function Qe(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e)
return t.setMinutes(59,59,999),t}function et(e,t){var r,n,a,l,c,u,h,d;(0,o.Z)(1,arguments)
var p=v(),f=i(null!==(r=null!==(n=null!==(a=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(c=t.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==a?a:p.weekStartsOn)&&void 0!==n?n:null===(h=p.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0)
if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")
var m=(0,s.Z)(e),g=m.getDay(),y=6+(g<f?-7:0)-(g-f)
return m.setDate(m.getDate()+y),m.setHours(23,59,59,999),m}function tt(e){return(0,o.Z)(1,arguments),et(e,{weekStartsOn:1})}function rt(e){(0,o.Z)(1,arguments)
var t=S(e),r=new Date(0)
r.setFullYear(t+1,0,4),r.setHours(0,0,0,0)
var n=w(r)
return n.setMilliseconds(n.getMilliseconds()-1),n}function nt(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e)
return t.setSeconds(59,999),t}function it(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getMonth(),n=r-r%3+3
return t.setMonth(n,0),t.setHours(23,59,59,999),t}function st(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e)
return t.setMilliseconds(999),t}function ot(){return Oe(Date.now())}function at(){var e=new Date,t=e.getFullYear(),r=e.getMonth(),n=e.getDate(),i=new Date(0)
return i.setFullYear(t,r,n+1),i.setHours(23,59,59,999),i}function lt(){var e=new Date,t=e.getFullYear(),r=e.getMonth(),n=e.getDate(),i=new Date(0)
return i.setFullYear(t,r,n-1),i.setHours(23,59,59,999),i}function ct(e,t){return(0,o.Z)(2,arguments),f(e,-i(t))}function ut(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getUTCDay(),n=(r<1?7:0)+r-1
return t.setUTCDate(t.getUTCDate()-n),t.setUTCHours(0,0,0,0),t}function ht(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getUTCFullYear(),n=new Date(0)
n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0)
var i=ut(n),a=new Date(0)
a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0)
var l=ut(a)
return t.getTime()>=i.getTime()?r+1:t.getTime()>=l.getTime()?r:r-1}function dt(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=ut(t).getTime()-function(e){(0,o.Z)(1,arguments)
var t=ht(e),r=new Date(0)
return r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0),ut(r)}(t).getTime()
return Math.round(r/6048e5)+1}function pt(e,t){var r,n,a,l,c,u,h,d;(0,o.Z)(1,arguments)
var p=v(),f=i(null!==(r=null!==(n=null!==(a=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(c=t.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==a?a:p.weekStartsOn)&&void 0!==n?n:null===(h=p.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0)
if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")
var m=(0,s.Z)(e),g=m.getUTCDay(),y=(g<f?7:0)+g-f
return m.setUTCDate(m.getUTCDate()-y),m.setUTCHours(0,0,0,0),m}function ft(e,t){var r,n,a,l,c,u,h,d;(0,o.Z)(1,arguments)
var p=(0,s.Z)(e),f=p.getUTCFullYear(),m=v(),g=i(null!==(r=null!==(n=null!==(a=null!==(l=null==t?void 0:t.firstWeekContainsDate)&&void 0!==l?l:null==t||null===(c=t.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==a?a:m.firstWeekContainsDate)&&void 0!==n?n:null===(h=m.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==r?r:1)
if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")
var y=new Date(0)
y.setUTCFullYear(f+1,0,g),y.setUTCHours(0,0,0,0)
var b=pt(y,t),w=new Date(0)
w.setUTCFullYear(f,0,g),w.setUTCHours(0,0,0,0)
var S=pt(w,t)
return p.getTime()>=b.getTime()?f+1:p.getTime()>=S.getTime()?f:f-1}function mt(e,t){(0,o.Z)(1,arguments)
var r=(0,s.Z)(e),n=pt(r,t).getTime()-function(e,t){var r,n,s,a,l,c,u,h;(0,o.Z)(1,arguments)
var d=v(),p=i(null!==(r=null!==(n=null!==(s=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t||null===(l=t.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==s?s:d.firstWeekContainsDate)&&void 0!==n?n:null===(u=d.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==r?r:1),f=ft(e,t),m=new Date(0)
return m.setUTCFullYear(f,0,p),m.setUTCHours(0,0,0,0),pt(m,t)}(r,t).getTime()
return Math.round(n/6048e5)+1}function gt(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n
return r+n}var yt={y:function(e,t){var r=e.getUTCFullYear(),n=r>0?r:1-r
return gt("yy"===t?n%100:n,t.length)},M:function(e,t){var r=e.getUTCMonth()
return"M"===t?String(r+1):gt(r+1,2)},d:function(e,t){return gt(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am"
switch(t){case"a":case"aa":return r.toUpperCase()
case"aaa":return r
case"aaaaa":return r[0]
default:return"am"===r?"a.m.":"p.m."}},h:function(e,t){return gt(e.getUTCHours()%12||12,t.length)},H:function(e,t){return gt(e.getUTCHours(),t.length)},m:function(e,t){return gt(e.getUTCMinutes(),t.length)},s:function(e,t){return gt(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,n=e.getUTCMilliseconds()
return gt(Math.floor(n*Math.pow(10,r-3)),t.length)}}
const vt=yt
function bt(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),s=n%60
if(0===s)return r+String(i)
var o=t||""
return r+String(i)+o+gt(s,2)}function wt(e,t){return e%60==0?(e>0?"-":"+")+gt(Math.abs(e)/60,2):St(e,t)}function St(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e)
return n+gt(Math.floor(i/60),2)+r+gt(i%60,2)}const kt={G:function(e,t,r){var n=e.getUTCFullYear()>0?1:0
switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"})
case"GGGGG":return r.era(n,{width:"narrow"})
default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){var n=e.getUTCFullYear(),i=n>0?n:1-n
return r.ordinalNumber(i,{unit:"year"})}return vt.y(e,t)},Y:function(e,t,r,n){var i=ft(e,n),s=i>0?i:1-i
return"YY"===t?gt(s%100,2):"Yo"===t?r.ordinalNumber(s,{unit:"year"}):gt(s,t.length)},R:function(e,t){return gt(ht(e),t.length)},u:function(e,t){return gt(e.getUTCFullYear(),t.length)},Q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3)
switch(t){case"Q":return String(n)
case"QQ":return gt(n,2)
case"Qo":return r.ordinalNumber(n,{unit:"quarter"})
case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"})
case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"})
default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3)
switch(t){case"q":return String(n)
case"qq":return gt(n,2)
case"qo":return r.ordinalNumber(n,{unit:"quarter"})
case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"})
case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"})
default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){var n=e.getUTCMonth()
switch(t){case"M":case"MM":return vt.M(e,t)
case"Mo":return r.ordinalNumber(n+1,{unit:"month"})
case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"})
case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"})
default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){var n=e.getUTCMonth()
switch(t){case"L":return String(n+1)
case"LL":return gt(n+1,2)
case"Lo":return r.ordinalNumber(n+1,{unit:"month"})
case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"})
case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"})
default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){var i=mt(e,n)
return"wo"===t?r.ordinalNumber(i,{unit:"week"}):gt(i,t.length)},I:function(e,t,r){var n=dt(e)
return"Io"===t?r.ordinalNumber(n,{unit:"week"}):gt(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):vt.d(e,t)},D:function(e,t,r){var n=function(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getTime()
t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)
var n=r-t.getTime()
return Math.floor(n/864e5)+1}(e)
return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):gt(n,t.length)},E:function(e,t,r){var n=e.getUTCDay()
switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"})
case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"})
case"EEEEEE":return r.day(n,{width:"short",context:"formatting"})
default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){var i=e.getUTCDay(),s=(i-n.weekStartsOn+8)%7||7
switch(t){case"e":return String(s)
case"ee":return gt(s,2)
case"eo":return r.ordinalNumber(s,{unit:"day"})
case"eee":return r.day(i,{width:"abbreviated",context:"formatting"})
case"eeeee":return r.day(i,{width:"narrow",context:"formatting"})
case"eeeeee":return r.day(i,{width:"short",context:"formatting"})
default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){var i=e.getUTCDay(),s=(i-n.weekStartsOn+8)%7||7
switch(t){case"c":return String(s)
case"cc":return gt(s,t.length)
case"co":return r.ordinalNumber(s,{unit:"day"})
case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"})
case"ccccc":return r.day(i,{width:"narrow",context:"standalone"})
case"cccccc":return r.day(i,{width:"short",context:"standalone"})
default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){var n=e.getUTCDay(),i=0===n?7:n
switch(t){case"i":return String(i)
case"ii":return gt(i,t.length)
case"io":return r.ordinalNumber(i,{unit:"day"})
case"iii":return r.day(n,{width:"abbreviated",context:"formatting"})
case"iiiii":return r.day(n,{width:"narrow",context:"formatting"})
case"iiiiii":return r.day(n,{width:"short",context:"formatting"})
default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){var n=e.getUTCHours()/12>=1?"pm":"am"
switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"})
case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase()
case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"})
default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){var n,i=e.getUTCHours()
switch(n=12===i?"noon":0===i?"midnight":i/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"})
case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase()
case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"})
default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){var n,i=e.getUTCHours()
switch(n=i>=17?"evening":i>=12?"afternoon":i>=4?"morning":"night",t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"})
case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"})
default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){var n=e.getUTCHours()%12
return 0===n&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return vt.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):vt.H(e,t)},K:function(e,t,r){var n=e.getUTCHours()%12
return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):gt(n,t.length)},k:function(e,t,r){var n=e.getUTCHours()
return 0===n&&(n=24),"ko"===t?r.ordinalNumber(n,{unit:"hour"}):gt(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):vt.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):vt.s(e,t)},S:function(e,t){return vt.S(e,t)},X:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset()
if(0===i)return"Z"
switch(t){case"X":return wt(i)
case"XXXX":case"XX":return St(i)
default:return St(i,":")}},x:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset()
switch(t){case"x":return wt(i)
case"xxxx":case"xx":return St(i)
default:return St(i,":")}},O:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset()
switch(t){case"O":case"OO":case"OOO":return"GMT"+bt(i,":")
default:return"GMT"+St(i,":")}},z:function(e,t,r,n){var i=(n._originalDate||e).getTimezoneOffset()
switch(t){case"z":case"zz":case"zzz":return"GMT"+bt(i,":")
default:return"GMT"+St(i,":")}},t:function(e,t,r,n){var i=n._originalDate||e
return gt(Math.floor(i.getTime()/1e3),t.length)},T:function(e,t,r,n){return gt((n._originalDate||e).getTime(),t.length)}}
var xt=function(e,t){switch(e){case"P":return t.date({width:"short"})
case"PP":return t.date({width:"medium"})
case"PPP":return t.date({width:"long"})
default:return t.date({width:"full"})}},Et=function(e,t){switch(e){case"p":return t.time({width:"short"})
case"pp":return t.time({width:"medium"})
case"ppp":return t.time({width:"long"})
default:return t.time({width:"full"})}},Nt={p:Et,P:function(e,t){var r,n=e.match(/(P+)(p+)?/)||[],i=n[1],s=n[2]
if(!s)return xt(e,t)
switch(i){case"P":r=t.dateTime({width:"short"})
break
case"PP":r=t.dateTime({width:"medium"})
break
case"PPP":r=t.dateTime({width:"long"})
break
default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",xt(i,t)).replace("{{time}}",Et(s,t))}}
const _t=Nt
var Ct=["D","DD"],At=["YY","YYYY"]
function Ot(e){return-1!==Ct.indexOf(e)}function Pt(e){return-1!==At.indexOf(e)}function Tt(e,t,r){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))
if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))
if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))
if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var It={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}}
function jt(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth
return e.formats[r]||e.formats[e.defaultWidth]}}var Dt,Mt={date:jt({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:jt({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:jt({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Bt={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"}
function Rt(e){return function(t,r){var n
if("formatting"===(null!=r&&r.context?String(r.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,s=null!=r&&r.width?String(r.width):i
n=e.formattingValues[s]||e.formattingValues[i]}else{var o=e.defaultWidth,a=null!=r&&r.width?String(r.width):e.defaultWidth
n=e.values[a]||e.values[o]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function Lt(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],s=t.match(i)
if(!s)return null
var o,a=s[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e){for(var t=0;t<e.length;t++)if(e[t].test(a))return t}(l):function(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t].test(a))return t}(l)
return o=e.valueCallback?e.valueCallback(c):c,{value:o=r.valueCallback?r.valueCallback(o):o,rest:t.slice(a.length)}}}const zt={code:"en-US",formatDistance:function(e,t,r){var n,i=It[e]
return n="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n},formatLong:Mt,formatRelative:function(e,t,r,n){return Bt[e]},localize:{ordinalNumber:function(e,t){var r=Number(e),n=r%100
if(n>20||n<10)switch(n%10){case 1:return r+"st"
case 2:return r+"nd"
case 3:return r+"rd"}return r+"th"},era:Rt({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Rt({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Rt({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Rt({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Rt({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(Dt={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.match(Dt.matchPattern)
if(!r)return null
var n=r[0],i=e.match(Dt.parsePattern)
if(!i)return null
var s=Dt.valueCallback?Dt.valueCallback(i[0]):i[0]
return{value:s=t.valueCallback?t.valueCallback(s):s,rest:e.slice(n.length)}}),era:Lt({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Lt({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Lt({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Lt({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Lt({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}
var Ft=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Vt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$t=/^'([^]*?)'?$/,Ut=/''/g,Ht=/[a-zA-Z]/
function qt(e,t,r){var n,a,l,c,u,h,d,p,f,m,g,y,b,w,S,k,x,E;(0,o.Z)(2,arguments)
var N=String(t),_=v(),C=null!==(n=null!==(a=null==r?void 0:r.locale)&&void 0!==a?a:_.locale)&&void 0!==n?n:zt,A=i(null!==(l=null!==(c=null!==(u=null!==(h=null==r?void 0:r.firstWeekContainsDate)&&void 0!==h?h:null==r||null===(d=r.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==u?u:_.firstWeekContainsDate)&&void 0!==c?c:null===(f=_.locale)||void 0===f||null===(m=f.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==l?l:1)
if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")
var O=i(null!==(g=null!==(y=null!==(b=null!==(w=null==r?void 0:r.weekStartsOn)&&void 0!==w?w:null==r||null===(S=r.locale)||void 0===S||null===(k=S.options)||void 0===k?void 0:k.weekStartsOn)&&void 0!==b?b:_.weekStartsOn)&&void 0!==y?y:null===(x=_.locale)||void 0===x||null===(E=x.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==g?g:0)
if(!(O>=0&&O<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")
if(!C.localize)throw new RangeError("locale must contain localize property")
if(!C.formatLong)throw new RangeError("locale must contain formatLong property")
var P=(0,s.Z)(e)
if(!le(P))throw new RangeError("Invalid time value")
var T=ct(P,(0,he.Z)(P)),I={firstWeekContainsDate:A,weekStartsOn:O,locale:C,_originalDate:P}
return N.match(Vt).map((function(e){var t=e[0]
return"p"===t||"P"===t?(0,_t[t])(e,C.formatLong):e})).join("").match(Ft).map((function(n){if("''"===n)return"'"
var i,s,o=n[0]
if("'"===o)return(s=(i=n).match($t))?s[1].replace(Ut,"'"):i
var a=kt[o]
if(a)return null!=r&&r.useAdditionalWeekYearTokens||!Pt(n)||Tt(n,t,String(e)),null!=r&&r.useAdditionalDayOfYearTokens||!Ot(n)||Tt(n,t,String(e)),a(T,n,C.localize,I)
if(o.match(Ht))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`")
return n})).join("")}function Wt(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined")
for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])
return e}function Kt(e){return Wt({},e)}var Zt=1440,Jt=2520,Gt=43200,Yt=86400
function Xt(e,t,r){var n,i;(0,o.Z)(2,arguments)
var a=v(),l=null!==(n=null!==(i=null==r?void 0:r.locale)&&void 0!==i?i:a.locale)&&void 0!==n?n:zt
if(!l.formatDistance)throw new RangeError("locale must contain formatDistance property")
var c=L(e,t)
if(isNaN(c))throw new RangeError("Invalid time value")
var u,h,d=Wt(Kt(r),{addSuffix:Boolean(null==r?void 0:r.addSuffix),comparison:c})
c>0?(u=(0,s.Z)(t),h=(0,s.Z)(e)):(u=(0,s.Z)(e),h=(0,s.Z)(t))
var p,f=De(h,u),m=((0,he.Z)(h)-(0,he.Z)(u))/1e3,g=Math.round((f-m)/60)
if(g<2)return null!=r&&r.includeSeconds?f<5?l.formatDistance("lessThanXSeconds",5,d):f<10?l.formatDistance("lessThanXSeconds",10,d):f<20?l.formatDistance("lessThanXSeconds",20,d):f<40?l.formatDistance("halfAMinute",0,d):f<60?l.formatDistance("lessThanXMinutes",1,d):l.formatDistance("xMinutes",1,d):0===g?l.formatDistance("lessThanXMinutes",1,d):l.formatDistance("xMinutes",g,d)
if(g<45)return l.formatDistance("xMinutes",g,d)
if(g<90)return l.formatDistance("aboutXHours",1,d)
if(g<Zt){var y=Math.round(g/60)
return l.formatDistance("aboutXHours",y,d)}if(g<Jt)return l.formatDistance("xDays",1,d)
if(g<Gt){var b=Math.round(g/Zt)
return l.formatDistance("xDays",b,d)}if(g<Yt)return p=Math.round(g/Gt),l.formatDistance("aboutXMonths",p,d)
if((p=Ie(h,u))<12){var w=Math.round(g/Gt)
return l.formatDistance("xMonths",w,d)}var S=p%12,k=Math.floor(p/12)
return S<3?l.formatDistance("aboutXYears",k,d):S<9?l.formatDistance("overXYears",k,d):l.formatDistance("almostXYears",k+1,d)}var Qt=6e4,er=1440,tr=30*er,rr=365*er
function nr(e,t,r){var n,i,a;(0,o.Z)(2,arguments)
var l=v(),c=null!==(n=null!==(i=null==r?void 0:r.locale)&&void 0!==i?i:l.locale)&&void 0!==n?n:zt
if(!c.formatDistance)throw new RangeError("locale must contain localize.formatDistance property")
var u=L(e,t)
if(isNaN(u))throw new RangeError("Invalid time value")
var h,d,p=Wt(Kt(r),{addSuffix:Boolean(null==r?void 0:r.addSuffix),comparison:u})
u>0?(h=(0,s.Z)(t),d=(0,s.Z)(e)):(h=(0,s.Z)(e),d=(0,s.Z)(t))
var f,m=String(null!==(a=null==r?void 0:r.roundingMethod)&&void 0!==a?a:"round")
if("floor"===m)f=Math.floor
else if("ceil"===m)f=Math.ceil
else{if("round"!==m)throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'")
f=Math.round}var g,y=d.getTime()-h.getTime(),b=y/Qt,w=(y-((0,he.Z)(d)-(0,he.Z)(h)))/Qt,S=null==r?void 0:r.unit
if("second"===(g=S?String(S):b<1?"second":b<60?"minute":b<er?"hour":w<tr?"day":w<rr?"month":"year")){var k=f(y/1e3)
return c.formatDistance("xSeconds",k,p)}if("minute"===g){var x=f(b)
return c.formatDistance("xMinutes",x,p)}if("hour"===g){var E=f(b/60)
return c.formatDistance("xHours",E,p)}if("day"===g){var N=f(w/er)
return c.formatDistance("xDays",N,p)}if("month"===g){var _=f(w/tr)
return 12===_&&"month"!==S?c.formatDistance("xYears",1,p):c.formatDistance("xMonths",_,p)}if("year"===g){var C=f(w/rr)
return c.formatDistance("xYears",C,p)}throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}function ir(e,t){return(0,o.Z)(1,arguments),Xt(e,Date.now(),t)}function sr(e,t){return(0,o.Z)(1,arguments),nr(e,Date.now(),t)}var or=["years","months","weeks","days","hours","minutes","seconds"]
function ar(e,t){var r,n,i,s,o
if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"))
var a=v(),l=null!==(r=null!==(n=null==t?void 0:t.locale)&&void 0!==n?n:a.locale)&&void 0!==r?r:zt,c=null!==(i=null==t?void 0:t.format)&&void 0!==i?i:or,u=null!==(s=null==t?void 0:t.zero)&&void 0!==s&&s,h=null!==(o=null==t?void 0:t.delimiter)&&void 0!==o?o:" "
return l.formatDistance?c.reduce((function(t,r){var n="x".concat(r.replace(/(^.)/,(function(e){return e.toUpperCase()}))),i=e[r]
return"number"==typeof i&&(u||e[r])?t.concat(l.formatDistance(n,i)):t}),[]).join(h):""}function lr(e,t){var r,n;(0,o.Z)(1,arguments)
var i=(0,s.Z)(e)
if(isNaN(i.getTime()))throw new RangeError("Invalid time value")
var a=String(null!==(r=null==t?void 0:t.format)&&void 0!==r?r:"extended"),l=String(null!==(n=null==t?void 0:t.representation)&&void 0!==n?n:"complete")
if("extended"!==a&&"basic"!==a)throw new RangeError("format must be 'extended' or 'basic'")
if("date"!==l&&"time"!==l&&"complete"!==l)throw new RangeError("representation must be 'date', 'time', or 'complete'")
var c="",u="",h="extended"===a?"-":"",d="extended"===a?":":""
if("time"!==l){var p=gt(i.getDate(),2),f=gt(i.getMonth()+1,2),m=gt(i.getFullYear(),4)
c="".concat(m).concat(h).concat(f).concat(h).concat(p)}if("date"!==l){var g=i.getTimezoneOffset()
if(0!==g){var y=Math.abs(g),v=gt(Math.floor(y/60),2),b=gt(y%60,2)
u="".concat(g<0?"+":"-").concat(v,":").concat(b)}else u="Z"
var w=""===c?"":"T",S=[gt(i.getHours(),2),gt(i.getMinutes(),2),gt(i.getSeconds(),2)].join(d)
c="".concat(c).concat(w).concat(S).concat(u)}return c}function cr(e,t){var r,n
if(arguments.length<1)throw new TypeError("1 argument required, but only ".concat(arguments.length," present"))
var i=(0,s.Z)(e)
if(!le(i))throw new RangeError("Invalid time value")
var o=String(null!==(r=null==t?void 0:t.format)&&void 0!==r?r:"extended"),a=String(null!==(n=null==t?void 0:t.representation)&&void 0!==n?n:"complete")
if("extended"!==o&&"basic"!==o)throw new RangeError("format must be 'extended' or 'basic'")
if("date"!==a&&"time"!==a&&"complete"!==a)throw new RangeError("representation must be 'date', 'time', or 'complete'")
var l="",c="extended"===o?"-":"",u="extended"===o?":":""
if("time"!==a){var h=gt(i.getDate(),2),d=gt(i.getMonth()+1,2),p=gt(i.getFullYear(),4)
l="".concat(p).concat(c).concat(d).concat(c).concat(h)}if("date"!==a){var f=gt(i.getHours(),2),m=gt(i.getMinutes(),2),g=gt(i.getSeconds(),2),y=""===l?"":" "
l="".concat(l).concat(y).concat(f).concat(u).concat(m).concat(u).concat(g)}return l}function ur(e){if((0,o.Z)(1,arguments),"object"!==(0,n.Z)(e))throw new Error("Duration must be an object")
var t=e.years,r=void 0===t?0:t,i=e.months,s=void 0===i?0:i,a=e.days,l=void 0===a?0:a,c=e.hours,u=void 0===c?0:c,h=e.minutes,d=void 0===h?0:h,p=e.seconds,f=void 0===p?0:p
return"P".concat(r,"Y").concat(s,"M").concat(l,"DT").concat(u,"H").concat(d,"M").concat(f,"S")}function hr(e,t){var r
if(arguments.length<1)throw new TypeError("1 arguments required, but only ".concat(arguments.length," present"))
var n=(0,s.Z)(e)
if(!le(n))throw new RangeError("Invalid time value")
var o=Number(null!==(r=null==t?void 0:t.fractionDigits)&&void 0!==r?r:0)
if(!(o>=0&&o<=3))throw new RangeError("fractionDigits must be between 0 and 3 inclusively")
var a=gt(n.getDate(),2),l=gt(n.getMonth()+1,2),c=n.getFullYear(),u=gt(n.getHours(),2),h=gt(n.getMinutes(),2),d=gt(n.getSeconds(),2),p=""
if(o>0){var f=n.getMilliseconds()
p="."+gt(Math.floor(f*Math.pow(10,o-3)),o)}var m="",g=n.getTimezoneOffset()
if(0!==g){var y=Math.abs(g),v=gt(i(y/60),2),b=gt(y%60,2)
m="".concat(g<0?"+":"-").concat(v,":").concat(b)}else m="Z"
return"".concat(c,"-").concat(l,"-").concat(a,"T").concat(u,":").concat(h,":").concat(d).concat(p).concat(m)}var dr=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],pr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]
function fr(e){if(arguments.length<1)throw new TypeError("1 arguments required, but only ".concat(arguments.length," present"))
var t=(0,s.Z)(e)
if(!le(t))throw new RangeError("Invalid time value")
var r=dr[t.getUTCDay()],n=gt(t.getUTCDate(),2),i=pr[t.getUTCMonth()],o=t.getUTCFullYear(),a=gt(t.getUTCHours(),2),l=gt(t.getUTCMinutes(),2),c=gt(t.getUTCSeconds(),2)
return"".concat(r,", ").concat(n," ").concat(i," ").concat(o," ").concat(a,":").concat(l,":").concat(c," GMT")}function mr(e,t,r){var n,a,l,c,u,h,d,p,f,m;(0,o.Z)(2,arguments)
var g=(0,s.Z)(e),y=(0,s.Z)(t),b=v(),w=null!==(n=null!==(a=null==r?void 0:r.locale)&&void 0!==a?a:b.locale)&&void 0!==n?n:zt,S=i(null!==(l=null!==(c=null!==(u=null!==(h=null==r?void 0:r.weekStartsOn)&&void 0!==h?h:null==r||null===(d=r.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==u?u:b.weekStartsOn)&&void 0!==c?c:null===(f=b.locale)||void 0===f||null===(m=f.options)||void 0===m?void 0:m.weekStartsOn)&&void 0!==l?l:0)
if(!w.localize)throw new RangeError("locale must contain localize property")
if(!w.formatLong)throw new RangeError("locale must contain formatLong property")
if(!w.formatRelative)throw new RangeError("locale must contain formatRelative property")
var k,E=(0,x.Z)(g,y)
if(isNaN(E))throw new RangeError("Invalid time value")
k=E<-6?"other":E<-1?"lastWeek":E<0?"yesterday":E<1?"today":E<2?"tomorrow":E<7?"nextWeek":"other"
var N=ct(g,(0,he.Z)(g)),_=ct(y,(0,he.Z)(y))
return qt(g,w.formatRelative(k,N,_,{locale:w,weekStartsOn:S}),{locale:w,weekStartsOn:S})}function gr(e){(0,o.Z)(1,arguments)
var t=i(e)
return(0,s.Z)(1e3*t)}function yr(e){return(0,o.Z)(1,arguments),(0,s.Z)(e).getDate()}function vr(e){return(0,o.Z)(1,arguments),(0,s.Z)(e).getDay()}function br(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e)
return(0,x.Z)(t,Je(t))+1}function wr(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getFullYear(),n=t.getMonth(),i=new Date(0)
return i.setFullYear(r,n+1,0),i.setHours(0,0,0,0),i.getDate()}function Sr(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e).getFullYear()
return t%400==0||t%4==0&&t%100!=0}function kr(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e)
return"Invalid Date"===String(new Date(t))?NaN:Sr(t)?366:365}function xr(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e).getFullYear()
return 10*Math.floor(t/10)}function Er(){return Wt({},v())}function Nr(e){return(0,o.Z)(1,arguments),(0,s.Z)(e).getHours()}function _r(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e).getDay()
return 0===t&&(t=7),t}var Cr=6048e5
function Ar(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=w(t).getTime()-k(t).getTime()
return Math.round(r/Cr)+1}var Or=6048e5
function Pr(e){(0,o.Z)(1,arguments)
var t=k(e),r=k(P(t,60)).valueOf()-t.valueOf()
return Math.round(r/Or)}function Tr(e){return(0,o.Z)(1,arguments),(0,s.Z)(e).getMilliseconds()}function Ir(e){return(0,o.Z)(1,arguments),(0,s.Z)(e).getMinutes()}function jr(e){return(0,o.Z)(1,arguments),(0,s.Z)(e).getMonth()}var Dr=864e5
function Mr(e,t){(0,o.Z)(2,arguments)
var r=e||{},n=t||{},i=(0,s.Z)(r.start).getTime(),a=(0,s.Z)(r.end).getTime(),l=(0,s.Z)(n.start).getTime(),c=(0,s.Z)(n.end).getTime()
if(!(i<=a&&l<=c))throw new RangeError("Invalid interval")
if(!(i<c&&l<a))return 0
var u=(c>a?a:c)-(l<i?i:l)
return Math.ceil(u/Dr)}function Br(e){return(0,o.Z)(1,arguments),(0,s.Z)(e).getSeconds()}function Rr(e){return(0,o.Z)(1,arguments),(0,s.Z)(e).getTime()}function Lr(e){return(0,o.Z)(1,arguments),Math.floor(Rr(e)/1e3)}function zr(e,t){var r,n,a,l,c,u,h,d;(0,o.Z)(1,arguments)
var p=(0,s.Z)(e),f=p.getFullYear(),m=v(),g=i(null!==(r=null!==(n=null!==(a=null!==(l=null==t?void 0:t.firstWeekContainsDate)&&void 0!==l?l:null==t||null===(c=t.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==a?a:m.firstWeekContainsDate)&&void 0!==n?n:null===(h=m.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==r?r:1)
if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")
var y=new Date(0)
y.setFullYear(f+1,0,g),y.setHours(0,0,0,0)
var w=b(y,t),S=new Date(0)
S.setFullYear(f,0,g),S.setHours(0,0,0,0)
var k=b(S,t)
return p.getTime()>=w.getTime()?f+1:p.getTime()>=k.getTime()?f:f-1}function Fr(e,t){var r,n,s,a,l,c,u,h;(0,o.Z)(1,arguments)
var d=v(),p=i(null!==(r=null!==(n=null!==(s=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t||null===(l=t.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==s?s:d.firstWeekContainsDate)&&void 0!==n?n:null===(u=d.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==r?r:1),f=zr(e,t),m=new Date(0)
return m.setFullYear(f,0,p),m.setHours(0,0,0,0),b(m,t)}var Vr=6048e5
function $r(e,t){(0,o.Z)(1,arguments)
var r=(0,s.Z)(e),n=b(r,t).getTime()-Fr(r,t).getTime()
return Math.round(n/Vr)+1}function Ur(e,t){var r,n,s,a,l,c,u,h;(0,o.Z)(1,arguments)
var d=v(),p=i(null!==(r=null!==(n=null!==(s=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t||null===(l=t.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==s?s:d.weekStartsOn)&&void 0!==n?n:null===(u=d.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==r?r:0)
if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")
var f=yr(e)
if(isNaN(f))return NaN
var m=p-vr(We(e))
m<=0&&(m+=7)
var g=f-m
return Math.ceil(g/7)+1}function Hr(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getMonth()
return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(0,0,0,0),t}function qr(e,t){return(0,o.Z)(1,arguments),ve(Hr(e),We(e),t)+1}function Wr(e){return(0,o.Z)(1,arguments),(0,s.Z)(e).getFullYear()}function Kr(e){return(0,o.Z)(1,arguments),Math.floor(e*H)}function Zr(e){return(0,o.Z)(1,arguments),Math.floor(e*K)}function Jr(e){return(0,o.Z)(1,arguments),Math.floor(e*Y)}function Gr(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e.start),r=(0,s.Z)(e.end)
if(isNaN(t.getTime()))throw new RangeError("Start Date is invalid")
if(isNaN(r.getTime()))throw new RangeError("End Date is invalid")
var n={}
n.years=Math.abs(Be(r,t))
var i=L(r,t),a=c(t,{years:i*n.years})
n.months=Math.abs(Ie(r,a))
var l=c(a,{months:i*n.months})
n.days=Math.abs((0,we.default)(r,l))
var u=c(l,{days:i*n.days})
n.hours=Math.abs(Ne(r,u))
var h=c(u,{hours:i*n.hours})
n.minutes=Math.abs(Ae(r,h))
var d=c(h,{minutes:i*n.minutes})
return n.seconds=Math.abs(De(r,d)),n}function Yr(e,t,r){var n,i,s
return(0,o.Z)(1,arguments),void 0===(s=t)||"locale"in s?r=t:i=t,new Intl.DateTimeFormat(null===(n=r)||void 0===n?void 0:n.locale,i).format(e)}function Xr(e,t,r){(0,o.Z)(2,arguments)
var n,i=0,a=(0,s.Z)(e),l=(0,s.Z)(t)
if(null!=r&&r.unit)"second"===(n=null==r?void 0:r.unit)?i=De(a,l):"minute"===n?i=Ae(a,l):"hour"===n?i=Ne(a,l):"day"===n?i=(0,x.Z)(a,l):"week"===n?i=ve(a,l):"month"===n?i=fe(a,l):"quarter"===n?i=ge(a,l):"year"===n&&(i=be(a,l))
else{var c=De(a,l)
Math.abs(c)<X?(i=De(a,l),n="second"):Math.abs(c)<Y?(i=Ae(a,l),n="minute"):Math.abs(c)<Q&&Math.abs((0,x.Z)(a,l))<1?(i=Ne(a,l),n="hour"):Math.abs(c)<ee&&(i=(0,x.Z)(a,l))&&Math.abs(i)<7?n="day":Math.abs(c)<re?(i=ve(a,l),n="week"):Math.abs(c)<ne?(i=fe(a,l),n="month"):Math.abs(c)<te&&ge(a,l)<4?(i=ge(a,l),n="quarter"):(i=be(a,l),n="year")}return new Intl.RelativeTimeFormat(null==r?void 0:r.locale,{localeMatcher:null==r?void 0:r.localeMatcher,numeric:(null==r?void 0:r.numeric)||"auto",style:null==r?void 0:r.style}).format(i,n)}var Qr=r(30867)
function en(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=(0,s.Z)(t)
return r.getTime()<n.getTime()}function tn(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=(0,s.Z)(t)
return r.getTime()===n.getTime()}function rn(e,t,r){if(arguments.length<3)throw new TypeError("3 argument required, but only "+arguments.length+" present")
var n=new Date(e,t,r)
return n.getFullYear()===e&&n.getMonth()===t&&n.getDate()===r}function nn(e){return(0,o.Z)(1,arguments),1===(0,s.Z)(e).getDate()}function sn(e){return(0,o.Z)(1,arguments),5===(0,s.Z)(e).getDay()}function on(e){return(0,o.Z)(1,arguments),(0,s.Z)(e).getTime()>Date.now()}function an(e,t){(null==t||t>e.length)&&(t=e.length)
for(var r=0,n=Array(t);r<t;r++)n[r]=e[r]
return n}function ln(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]
if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return an(e,t)
var r={}.toString.call(e).slice(8,-1)
return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?an(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r)
var n=0,i=function(){}
return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,a=!1
return{s:function(){r=r.call(e)},n:function(){var e=r.next()
return o=e.done,e},e:function(e){a=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw s}}}}function cn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return e}function un(e,t){return un=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},un(e,t)}function hn(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&un(e,t)}function dn(e){return dn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dn(e)}function pn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pn=function(){return!!e})()}function fn(e){var t=pn()
return function(){var r,i=dn(e)
if(t){var s=dn(this).constructor
r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments)
return function(e,t){if(t&&("object"==(0,n.Z)(t)||"function"==typeof t))return t
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
return cn(e)}(this,r)}}function mn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gn(e){var t=function(e){if("object"!=(0,n.Z)(e)||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=(0,n.Z)(r))return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==(0,n.Z)(t)?t:t+""}function yn(e,t){for(var r=0;r<t.length;r++){var n=t[r]
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,gn(n.key),n)}}function vn(e,t,r){return t&&yn(e.prototype,t),r&&yn(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function bn(e,t,r){return(t=gn(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wn=function(){function e(){mn(this,e),bn(this,"priority",void 0),bn(this,"subPriority",0)}return vn(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),Sn=function(e){hn(r,e)
var t=fn(r)
function r(e,n,i,s,o){var a
return mn(this,r),(a=t.call(this)).value=e,a.validateValue=n,a.setValue=i,a.priority=s,o&&(a.subPriority=o),a}return vn(r,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,r){return this.setValue(e,t,this.value,r)}}]),r}(wn),kn=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",10),bn(cn(e),"subPriority",-1),e}return vn(r,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e
var r=new Date(0)
return r.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),r.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),r}}]),r}(wn),xn=function(){function e(){mn(this,e),bn(this,"incompatibleTokens",void 0),bn(this,"priority",void 0),bn(this,"subPriority",void 0)}return vn(e,[{key:"run",value:function(e,t,r,n){var i=this.parse(e,t,r,n)
return i?{setter:new Sn(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(e,t,r){return!0}}]),e}(),En=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",140),bn(cn(e),"incompatibleTokens",["R","u","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"G":case"GG":case"GGG":return r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"})
case"GGGGG":return r.era(e,{width:"narrow"})
default:return r.era(e,{width:"wide"})||r.era(e,{width:"abbreviated"})||r.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,r){return t.era=r,e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e}}]),r}(xn),Nn=/^(1[0-2]|0?\d)/,_n=/^(3[0-1]|[0-2]?\d)/,Cn=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,An=/^(5[0-3]|[0-4]?\d)/,On=/^(2[0-3]|[0-1]?\d)/,Pn=/^(2[0-4]|[0-1]?\d)/,Tn=/^(1[0-1]|0?\d)/,In=/^(1[0-2]|0?\d)/,jn=/^[0-5]?\d/,Dn=/^[0-5]?\d/,Mn=/^\d/,Bn=/^\d{1,2}/,Rn=/^\d{1,3}/,Ln=/^\d{1,4}/,zn=/^-?\d+/,Fn=/^-?\d/,Vn=/^-?\d{1,2}/,$n=/^-?\d{1,3}/,Un=/^-?\d{1,4}/,Hn=/^([+-])(\d{2})(\d{2})?|Z/,qn=/^([+-])(\d{2})(\d{2})|Z/,Wn=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Kn=/^([+-])(\d{2}):(\d{2})|Z/,Zn=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
function Jn(e,t){return e?{value:t(e.value),rest:e.rest}:e}function Gn(e,t){var r=t.match(e)
return r?{value:parseInt(r[0],10),rest:t.slice(r[0].length)}:null}function Yn(e,t){var r=t.match(e)
if(!r)return null
if("Z"===r[0])return{value:0,rest:t.slice(1)}
var n="+"===r[1]?1:-1,i=r[2]?parseInt(r[2],10):0,s=r[3]?parseInt(r[3],10):0,o=r[5]?parseInt(r[5],10):0
return{value:n*(i*H+s*U+o*q),rest:t.slice(r[0].length)}}function Xn(e){return Gn(zn,e)}function Qn(e,t){switch(e){case 1:return Gn(Mn,t)
case 2:return Gn(Bn,t)
case 3:return Gn(Rn,t)
case 4:return Gn(Ln,t)
default:return Gn(new RegExp("^\\d{1,"+e+"}"),t)}}function ei(e,t){switch(e){case 1:return Gn(Fn,t)
case 2:return Gn(Vn,t)
case 3:return Gn($n,t)
case 4:return Gn(Un,t)
default:return Gn(new RegExp("^-?\\d{1,"+e+"}"),t)}}function ti(e){switch(e){case"morning":return 4
case"evening":return 17
case"pm":case"noon":case"afternoon":return 12
default:return 0}}function ri(e,t){var r,n=t>0,i=n?t:1-t
if(i<=50)r=e||100
else{var s=i+50
r=e+100*Math.floor(s/100)-(e>=s%100?100:0)}return n?r:1-r}function ni(e){return e%400==0||e%4==0&&e%100!=0}var ii=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",130),bn(cn(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){var n=function(e){return{year:e,isTwoDigitYear:"yy"===t}}
switch(t){case"y":return Jn(Qn(4,e),n)
case"yo":return Jn(r.ordinalNumber(e,{unit:"year"}),n)
default:return Jn(Qn(t.length,e),n)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,r){var n=e.getUTCFullYear()
if(r.isTwoDigitYear){var i=ri(r.year,n)
return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var s="era"in t&&1!==t.era?1-r.year:r.year
return e.setUTCFullYear(s,0,1),e.setUTCHours(0,0,0,0),e}}]),r}(xn),si=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",130),bn(cn(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){var n=function(e){return{year:e,isTwoDigitYear:"YY"===t}}
switch(t){case"Y":return Jn(Qn(4,e),n)
case"Yo":return Jn(r.ordinalNumber(e,{unit:"year"}),n)
default:return Jn(Qn(t.length,e),n)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,r,n){var i=ft(e,n)
if(r.isTwoDigitYear){var s=ri(r.year,i)
return e.setUTCFullYear(s,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),pt(e,n)}var o="era"in t&&1!==t.era?1-r.year:r.year
return e.setUTCFullYear(o,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),pt(e,n)}}]),r}(xn),oi=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",130),bn(cn(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t){return ei("R"===t?4:t.length,e)}},{key:"set",value:function(e,t,r){var n=new Date(0)
return n.setUTCFullYear(r,0,4),n.setUTCHours(0,0,0,0),ut(n)}}]),r}(xn),ai=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",130),bn(cn(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t){return ei("u"===t?4:t.length,e)}},{key:"set",value:function(e,t,r){return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e}}]),r}(xn),li=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",120),bn(cn(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"Q":case"QQ":return Qn(t.length,e)
case"Qo":return r.ordinalNumber(e,{unit:"quarter"})
case"QQQ":return r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"})
case"QQQQQ":return r.quarter(e,{width:"narrow",context:"formatting"})
default:return r.quarter(e,{width:"wide",context:"formatting"})||r.quarter(e,{width:"abbreviated",context:"formatting"})||r.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,r){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e}}]),r}(xn),ci=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",120),bn(cn(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"q":case"qq":return Qn(t.length,e)
case"qo":return r.ordinalNumber(e,{unit:"quarter"})
case"qqq":return r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"})
case"qqqqq":return r.quarter(e,{width:"narrow",context:"standalone"})
default:return r.quarter(e,{width:"wide",context:"standalone"})||r.quarter(e,{width:"abbreviated",context:"standalone"})||r.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,r){return e.setUTCMonth(3*(r-1),1),e.setUTCHours(0,0,0,0),e}}]),r}(xn),ui=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),bn(cn(e),"priority",110),e}return vn(r,[{key:"parse",value:function(e,t,r){var n=function(e){return e-1}
switch(t){case"M":return Jn(Gn(Nn,e),n)
case"MM":return Jn(Qn(2,e),n)
case"Mo":return Jn(r.ordinalNumber(e,{unit:"month"}),n)
case"MMM":return r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"})
case"MMMMM":return r.month(e,{width:"narrow",context:"formatting"})
default:return r.month(e,{width:"wide",context:"formatting"})||r.month(e,{width:"abbreviated",context:"formatting"})||r.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,r){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e}}]),r}(xn),hi=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",110),bn(cn(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){var n=function(e){return e-1}
switch(t){case"L":return Jn(Gn(Nn,e),n)
case"LL":return Jn(Qn(2,e),n)
case"Lo":return Jn(r.ordinalNumber(e,{unit:"month"}),n)
case"LLL":return r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"})
case"LLLLL":return r.month(e,{width:"narrow",context:"standalone"})
default:return r.month(e,{width:"wide",context:"standalone"})||r.month(e,{width:"abbreviated",context:"standalone"})||r.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,r){return e.setUTCMonth(r,1),e.setUTCHours(0,0,0,0),e}}]),r}(xn),di=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",100),bn(cn(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"w":return Gn(An,e)
case"wo":return r.ordinalNumber(e,{unit:"week"})
default:return Qn(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,r,n){return pt(function(e,t,r){(0,o.Z)(2,arguments)
var n=(0,s.Z)(e),a=i(t),l=mt(n,r)-a
return n.setUTCDate(n.getUTCDate()-7*l),n}(e,r,n),n)}}]),r}(xn),pi=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",100),bn(cn(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"I":return Gn(An,e)
case"Io":return r.ordinalNumber(e,{unit:"week"})
default:return Qn(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,r){return ut(function(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t),a=dt(r)-n
return r.setUTCDate(r.getUTCDate()-7*a),r}(e,r))}}]),r}(xn),fi=[31,28,31,30,31,30,31,31,30,31,30,31],mi=[31,29,31,30,31,30,31,31,30,31,30,31],gi=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",90),bn(cn(e),"subPriority",1),bn(cn(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"d":return Gn(_n,e)
case"do":return r.ordinalNumber(e,{unit:"date"})
default:return Qn(t.length,e)}}},{key:"validate",value:function(e,t){var r=ni(e.getUTCFullYear()),n=e.getUTCMonth()
return r?t>=1&&t<=mi[n]:t>=1&&t<=fi[n]}},{key:"set",value:function(e,t,r){return e.setUTCDate(r),e.setUTCHours(0,0,0,0),e}}]),r}(xn),yi=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",90),bn(cn(e),"subpriority",1),bn(cn(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"D":case"DD":return Gn(Cn,e)
case"Do":return r.ordinalNumber(e,{unit:"date"})
default:return Qn(t.length,e)}}},{key:"validate",value:function(e,t){return ni(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,r){return e.setUTCMonth(0,r),e.setUTCHours(0,0,0,0),e}}]),r}(xn)
function vi(e,t,r){var n,a,l,c,u,h,d,p;(0,o.Z)(2,arguments)
var f=v(),m=i(null!==(n=null!==(a=null!==(l=null!==(c=null==r?void 0:r.weekStartsOn)&&void 0!==c?c:null==r||null===(u=r.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==l?l:f.weekStartsOn)&&void 0!==a?a:null===(d=f.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0)
if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")
var g=(0,s.Z)(e),y=i(t),b=((y%7+7)%7<m?7:0)+y-g.getUTCDay()
return g.setUTCDate(g.getUTCDate()+b),g}var bi=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",90),bn(cn(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"E":case"EE":case"EEE":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})
case"EEEEE":return r.day(e,{width:"narrow",context:"formatting"})
case"EEEEEE":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})
default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,r,n){return(e=vi(e,r,n)).setUTCHours(0,0,0,0),e}}]),r}(xn),wi=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",90),bn(cn(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r,n){var i=function(e){var t=7*Math.floor((e-1)/7)
return(e+n.weekStartsOn+6)%7+t}
switch(t){case"e":case"ee":return Jn(Qn(t.length,e),i)
case"eo":return Jn(r.ordinalNumber(e,{unit:"day"}),i)
case"eee":return r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})
case"eeeee":return r.day(e,{width:"narrow",context:"formatting"})
case"eeeeee":return r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})
default:return r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,r,n){return(e=vi(e,r,n)).setUTCHours(0,0,0,0),e}}]),r}(xn),Si=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",90),bn(cn(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r,n){var i=function(e){var t=7*Math.floor((e-1)/7)
return(e+n.weekStartsOn+6)%7+t}
switch(t){case"c":case"cc":return Jn(Qn(t.length,e),i)
case"co":return Jn(r.ordinalNumber(e,{unit:"day"}),i)
case"ccc":return r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})
case"ccccc":return r.day(e,{width:"narrow",context:"standalone"})
case"cccccc":return r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})
default:return r.day(e,{width:"wide",context:"standalone"})||r.day(e,{width:"abbreviated",context:"standalone"})||r.day(e,{width:"short",context:"standalone"})||r.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,r,n){return(e=vi(e,r,n)).setUTCHours(0,0,0,0),e}}]),r}(xn),ki=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",90),bn(cn(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){var n=function(e){return 0===e?7:e}
switch(t){case"i":case"ii":return Qn(t.length,e)
case"io":return r.ordinalNumber(e,{unit:"day"})
case"iii":return Jn(r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n)
case"iiiii":return Jn(r.day(e,{width:"narrow",context:"formatting"}),n)
case"iiiiii":return Jn(r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n)
default:return Jn(r.day(e,{width:"wide",context:"formatting"})||r.day(e,{width:"abbreviated",context:"formatting"})||r.day(e,{width:"short",context:"formatting"})||r.day(e,{width:"narrow",context:"formatting"}),n)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,r){return e=function(e,t){(0,o.Z)(2,arguments)
var r=i(t)
r%7==0&&(r-=7)
var n=(0,s.Z)(e),a=((r%7+7)%7<1?7:0)+r-n.getUTCDay()
return n.setUTCDate(n.getUTCDate()+a),n}(e,r),e.setUTCHours(0,0,0,0),e}}]),r}(xn),xi=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",80),bn(cn(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"a":case"aa":case"aaa":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})
case"aaaaa":return r.dayPeriod(e,{width:"narrow",context:"formatting"})
default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,r){return e.setUTCHours(ti(r),0,0,0),e}}]),r}(xn),Ei=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",80),bn(cn(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"b":case"bb":case"bbb":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})
case"bbbbb":return r.dayPeriod(e,{width:"narrow",context:"formatting"})
default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,r){return e.setUTCHours(ti(r),0,0,0),e}}]),r}(xn),Ni=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",80),bn(cn(e),"incompatibleTokens",["a","b","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})
case"BBBBB":return r.dayPeriod(e,{width:"narrow",context:"formatting"})
default:return r.dayPeriod(e,{width:"wide",context:"formatting"})||r.dayPeriod(e,{width:"abbreviated",context:"formatting"})||r.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,r){return e.setUTCHours(ti(r),0,0,0),e}}]),r}(xn),_i=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",70),bn(cn(e),"incompatibleTokens",["H","K","k","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"h":return Gn(In,e)
case"ho":return r.ordinalNumber(e,{unit:"hour"})
default:return Qn(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,r){var n=e.getUTCHours()>=12
return n&&r<12?e.setUTCHours(r+12,0,0,0):n||12!==r?e.setUTCHours(r,0,0,0):e.setUTCHours(0,0,0,0),e}}]),r}(xn),Ci=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",70),bn(cn(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"H":return Gn(On,e)
case"Ho":return r.ordinalNumber(e,{unit:"hour"})
default:return Qn(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,r){return e.setUTCHours(r,0,0,0),e}}]),r}(xn),Ai=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",70),bn(cn(e),"incompatibleTokens",["h","H","k","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"K":return Gn(Tn,e)
case"Ko":return r.ordinalNumber(e,{unit:"hour"})
default:return Qn(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,r){return e.getUTCHours()>=12&&r<12?e.setUTCHours(r+12,0,0,0):e.setUTCHours(r,0,0,0),e}}]),r}(xn),Oi=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",70),bn(cn(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"k":return Gn(Pn,e)
case"ko":return r.ordinalNumber(e,{unit:"hour"})
default:return Qn(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,r){var n=r<=24?r%24:r
return e.setUTCHours(n,0,0,0),e}}]),r}(xn),Pi=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",60),bn(cn(e),"incompatibleTokens",["t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"m":return Gn(jn,e)
case"mo":return r.ordinalNumber(e,{unit:"minute"})
default:return Qn(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,r){return e.setUTCMinutes(r,0,0),e}}]),r}(xn),Ti=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",50),bn(cn(e),"incompatibleTokens",["t","T"]),e}return vn(r,[{key:"parse",value:function(e,t,r){switch(t){case"s":return Gn(Dn,e)
case"so":return r.ordinalNumber(e,{unit:"second"})
default:return Qn(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,r){return e.setUTCSeconds(r,0),e}}]),r}(xn),Ii=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",30),bn(cn(e),"incompatibleTokens",["t","T"]),e}return vn(r,[{key:"parse",value:function(e,t){return Jn(Qn(t.length,e),(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))}},{key:"set",value:function(e,t,r){return e.setUTCMilliseconds(r),e}}]),r}(xn),ji=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",10),bn(cn(e),"incompatibleTokens",["t","T","x"]),e}return vn(r,[{key:"parse",value:function(e,t){switch(t){case"X":return Yn(Hn,e)
case"XX":return Yn(qn,e)
case"XXXX":return Yn(Wn,e)
case"XXXXX":return Yn(Zn,e)
default:return Yn(Kn,e)}}},{key:"set",value:function(e,t,r){return t.timestampIsSet?e:new Date(e.getTime()-r)}}]),r}(xn),Di=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",10),bn(cn(e),"incompatibleTokens",["t","T","X"]),e}return vn(r,[{key:"parse",value:function(e,t){switch(t){case"x":return Yn(Hn,e)
case"xx":return Yn(qn,e)
case"xxxx":return Yn(Wn,e)
case"xxxxx":return Yn(Zn,e)
default:return Yn(Kn,e)}}},{key:"set",value:function(e,t,r){return t.timestampIsSet?e:new Date(e.getTime()-r)}}]),r}(xn),Mi=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",40),bn(cn(e),"incompatibleTokens","*"),e}return vn(r,[{key:"parse",value:function(e){return Xn(e)}},{key:"set",value:function(e,t,r){return[new Date(1e3*r),{timestampIsSet:!0}]}}]),r}(xn),Bi=function(e){hn(r,e)
var t=fn(r)
function r(){var e
mn(this,r)
for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s]
return bn(cn(e=t.call.apply(t,[this].concat(i))),"priority",20),bn(cn(e),"incompatibleTokens","*"),e}return vn(r,[{key:"parse",value:function(e){return Xn(e)}},{key:"set",value:function(e,t,r){return[new Date(r),{timestampIsSet:!0}]}}]),r}(xn),Ri={G:new En,y:new ii,Y:new si,R:new oi,u:new ai,Q:new li,q:new ci,M:new ui,L:new hi,w:new di,I:new pi,d:new gi,D:new yi,E:new bi,e:new wi,c:new Si,i:new ki,a:new xi,b:new Ei,B:new Ni,h:new _i,H:new Ci,K:new Ai,k:new Oi,m:new Pi,s:new Ti,S:new Ii,X:new ji,x:new Di,t:new Mi,T:new Bi},Li=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zi=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Fi=/^'([^]*?)'?$/,Vi=/''/g,$i=/\S/,Ui=/[a-zA-Z]/
function Hi(e,t,r,a){var l,c,u,h,d,p,f,m,g,y,b,w,S,k,x,E,N,_;(0,o.Z)(3,arguments)
var C=String(e),A=String(t),O=v(),P=null!==(l=null!==(c=null==a?void 0:a.locale)&&void 0!==c?c:O.locale)&&void 0!==l?l:zt
if(!P.match)throw new RangeError("locale must contain match property")
var T=i(null!==(u=null!==(h=null!==(d=null!==(p=null==a?void 0:a.firstWeekContainsDate)&&void 0!==p?p:null==a||null===(f=a.locale)||void 0===f||null===(m=f.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==d?d:O.firstWeekContainsDate)&&void 0!==h?h:null===(g=O.locale)||void 0===g||null===(y=g.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==u?u:1)
if(!(T>=1&&T<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")
var I=i(null!==(b=null!==(w=null!==(S=null!==(k=null==a?void 0:a.weekStartsOn)&&void 0!==k?k:null==a||null===(x=a.locale)||void 0===x||null===(E=x.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==S?S:O.weekStartsOn)&&void 0!==w?w:null===(N=O.locale)||void 0===N||null===(_=N.options)||void 0===_?void 0:_.weekStartsOn)&&void 0!==b?b:0)
if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")
if(""===A)return""===C?(0,s.Z)(r):new Date(NaN)
var j,D={firstWeekContainsDate:T,weekStartsOn:I,locale:P},M=[new kn],B=A.match(zi).map((function(e){var t=e[0]
return t in _t?(0,_t[t])(e,P.formatLong):e})).join("").match(Li),R=[],L=ln(B)
try{var z=function(){var t=j.value
null!=a&&a.useAdditionalWeekYearTokens||!Pt(t)||Tt(t,A,e),null!=a&&a.useAdditionalDayOfYearTokens||!Ot(t)||Tt(t,A,e)
var r=t[0],n=Ri[r]
if(n){var i=n.incompatibleTokens
if(Array.isArray(i)){var s=R.find((function(e){return i.includes(e.token)||e.token===r}))
if(s)throw new RangeError("The format string mustn't contain `".concat(s.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===n.incompatibleTokens&&R.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"))
R.push({token:r,fullToken:t})
var o=n.run(C,t,P.match,D)
if(!o)return{v:new Date(NaN)}
M.push(o.setter),C=o.rest}else{if(r.match(Ui))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`")
if("''"===t?t="'":"'"===r&&(t=t.match(Fi)[1].replace(Vi,"'")),0!==C.indexOf(t))return{v:new Date(NaN)}
C=C.slice(t.length)}}
for(L.s();!(j=L.n()).done;){var F=z()
if("object"===(0,n.Z)(F))return F.v}}catch(e){L.e(e)}finally{L.f()}if(C.length>0&&$i.test(C))return new Date(NaN)
var V=M.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,r){return r.indexOf(e)===t})).map((function(e){return M.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),$=(0,s.Z)(r)
if(isNaN($.getTime()))return new Date(NaN)
var U,H=ct($,(0,he.Z)($)),q={},W=ln(V)
try{for(W.s();!(U=W.n()).done;){var K=U.value
if(!K.validate(H,D))return new Date(NaN)
var Z=K.set(H,q,D)
Array.isArray(Z)?(H=Z[0],Wt(q,Z[1])):H=Z}}catch(e){W.e(e)}finally{W.f()}return H}function qi(e,t,r){return(0,o.Z)(2,arguments),le(Hi(e,t,new Date,r))}function Wi(e){return(0,o.Z)(1,arguments),1===(0,s.Z)(e).getDay()}function Ki(e){return(0,o.Z)(1,arguments),(0,s.Z)(e).getTime()<Date.now()}function Zi(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e)
return t.setMinutes(0,0,0),t}function Ji(e,t){(0,o.Z)(2,arguments)
var r=Zi(e),n=Zi(t)
return r.getTime()===n.getTime()}function Gi(e,t,r){(0,o.Z)(2,arguments)
var n=b(e,r),i=b(t,r)
return n.getTime()===i.getTime()}function Yi(e,t){return(0,o.Z)(2,arguments),Gi(e,t,{weekStartsOn:1})}function Xi(e,t){(0,o.Z)(2,arguments)
var r=k(e),n=k(t)
return r.getTime()===n.getTime()}function Qi(e,t){(0,o.Z)(2,arguments)
var r=ze(e),n=ze(t)
return r.getTime()===n.getTime()}function es(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=(0,s.Z)(t)
return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}function ts(e,t){(0,o.Z)(2,arguments)
var r=$e(e),n=$e(t)
return r.getTime()===n.getTime()}function rs(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e)
return t.setMilliseconds(0),t}function ns(e,t){(0,o.Z)(2,arguments)
var r=rs(e),n=rs(t)
return r.getTime()===n.getTime()}function is(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=(0,s.Z)(t)
return r.getFullYear()===n.getFullYear()}function ss(e){return(0,o.Z)(1,arguments),Ji(Date.now(),e)}function os(e){return(0,o.Z)(1,arguments),Yi(e,Date.now())}function as(e){return(0,o.Z)(1,arguments),Qi(Date.now(),e)}function ls(e){return(0,o.Z)(1,arguments),es(Date.now(),e)}function cs(e){return(0,o.Z)(1,arguments),ts(Date.now(),e)}function us(e){return(0,o.Z)(1,arguments),ns(Date.now(),e)}function hs(e,t){return(0,o.Z)(1,arguments),Gi(e,Date.now(),t)}function ds(e){return(0,o.Z)(1,arguments),is(e,Date.now())}function ps(e){return(0,o.Z)(1,arguments),4===(0,s.Z)(e).getDay()}function fs(e){return(0,o.Z)(1,arguments),oe(e,Date.now())}function ms(e){return(0,o.Z)(1,arguments),oe(e,a(Date.now(),1))}function gs(e){return(0,o.Z)(1,arguments),2===(0,s.Z)(e).getDay()}function ys(e){return(0,o.Z)(1,arguments),3===(0,s.Z)(e).getDay()}function vs(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e).getTime(),n=(0,s.Z)(t.start).getTime(),i=(0,s.Z)(t.end).getTime()
if(!(n<=i))throw new RangeError("Invalid interval")
return r>=n&&r<=i}function bs(e,t){return(0,o.Z)(2,arguments),a(e,-i(t))}function ws(e){return(0,o.Z)(1,arguments),oe(e,bs(Date.now(),1))}function Ss(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getFullYear(),n=9+10*Math.floor(r/10)
return t.setFullYear(n+1,0,0),t.setHours(0,0,0,0),t}function ks(e,t){var r,n,a,l,c,u,h,d;(0,o.Z)(1,arguments)
var p=v(),f=i(null!==(r=null!==(n=null!==(a=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(c=t.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==a?a:p.weekStartsOn)&&void 0!==n?n:null===(h=p.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==r?r:0)
if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6")
var m=(0,s.Z)(e),g=m.getDay(),y=6+(g<f?-7:0)-(g-f)
return m.setHours(0,0,0,0),m.setDate(m.getDate()+y),m}function xs(e){return(0,o.Z)(1,arguments),ks(e,{weekStartsOn:1})}function Es(e){(0,o.Z)(1,arguments)
var t=S(e),r=new Date(0)
r.setFullYear(t+1,0,4),r.setHours(0,0,0,0)
var n=w(r)
return n.setDate(n.getDate()-1),n}function Ns(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getMonth(),n=r-r%3+3
return t.setMonth(n,0),t.setHours(0,0,0,0),t}function _s(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getFullYear()
return t.setFullYear(r+1,0,0),t.setHours(0,0,0,0),t}var Cs=/(\w)\1*|''|'(''|[^'])+('|$)|./g,As=/^'([^]*?)'?$/,Os=/''/g,Ps=/[a-zA-Z]/
function Ts(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e)
if(!le(r))throw new RangeError("Invalid time value")
var n=ct(r,(0,he.Z)(r)),i=t.match(Cs)
return i?i.map((function(e){if("''"===e)return"'"
var t,r,i=e[0]
if("'"===i)return(r=(t=e).match(As))?r[1].replace(Os,"'"):t
var s=vt[i]
if(s)return s(n,e)
if(i.match(Ps))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`")
return e})).join(""):""}var Is=365.2425
function js(e){var t=e.years,r=e.months,n=e.weeks,i=e.days,s=e.hours,a=e.minutes,l=e.seconds;(0,o.Z)(1,arguments)
var c=0
t&&(c+=t*Is),r&&(c+=r*(Is/12)),n&&(c+=7*n),i&&(c+=i)
var u=24*c*60*60
return s&&(u+=60*s*60),a&&(u+=60*a),l&&(u+=l),Math.round(1e3*u)}function Ds(e){(0,o.Z)(1,arguments)
var t=e/H
return Math.floor(t)}function Ms(e){(0,o.Z)(1,arguments)
var t=e/U
return Math.floor(t)}function Bs(e){(0,o.Z)(1,arguments)
var t=e/q
return Math.floor(t)}function Rs(e){(0,o.Z)(1,arguments)
var t=e/K
return Math.floor(t)}function Ls(e){return(0,o.Z)(1,arguments),Math.floor(e*U)}function zs(e){return(0,o.Z)(1,arguments),Math.floor(e*X)}function Fs(e){(0,o.Z)(1,arguments)
var t=e/Z
return Math.floor(t)}function Vs(e){(0,o.Z)(1,arguments)
var t=e/J
return Math.floor(t)}function $s(e,t){(0,o.Z)(2,arguments)
var r=t-vr(e)
return r<=0&&(r+=7),a(e,r)}function Us(e){return(0,o.Z)(1,arguments),$s(e,5)}function Hs(e){return(0,o.Z)(1,arguments),$s(e,1)}function qs(e){return(0,o.Z)(1,arguments),$s(e,6)}function Ws(e){return(0,o.Z)(1,arguments),$s(e,0)}function Ks(e){return(0,o.Z)(1,arguments),$s(e,4)}function Zs(e){return(0,o.Z)(1,arguments),$s(e,2)}function Js(e){return(0,o.Z)(1,arguments),$s(e,3)}function Gs(e,t){var r;(0,o.Z)(1,arguments)
var n=i(null!==(r=null==t?void 0:t.additionalDigits)&&void 0!==r?r:2)
if(2!==n&&1!==n&&0!==n)throw new RangeError("additionalDigits must be 0, 1 or 2")
if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN)
var s,a=function(e){var t,r={},n=e.split(Ys.dateTimeDelimiter)
if(n.length>2)return r
if(/:/.test(n[0])?t=n[0]:(r.date=n[0],t=n[1],Ys.timeZoneDelimiter.test(r.date)&&(r.date=e.split(Ys.timeZoneDelimiter)[0],t=e.substr(r.date.length,e.length))),t){var i=Ys.timezone.exec(t)
i?(r.time=t.replace(i[1],""),r.timezone=i[1]):r.time=t}return r}(e)
if(a.date){var l=function(e,t){var r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r)
if(!n)return{year:NaN,restDateString:""}
var i=n[1]?parseInt(n[1]):null,s=n[2]?parseInt(n[2]):null
return{year:null===s?i:100*s,restDateString:e.slice((n[1]||n[2]).length)}}(a.date,n)
s=function(e,t){if(null===t)return new Date(NaN)
var r=e.match(Xs)
if(!r)return new Date(NaN)
var n=!!r[4],i=to(r[1]),s=to(r[2])-1,o=to(r[3]),a=to(r[4]),l=to(r[5])-1
if(n)return function(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}(0,a,l)?function(e,t,r){var n=new Date(0)
n.setUTCFullYear(e,0,4)
var i=7*(t-1)+r+1-(n.getUTCDay()||7)
return n.setUTCDate(n.getUTCDate()+i),n}(t,a,l):new Date(NaN)
var c=new Date(0)
return function(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(no[t]||(io(e)?29:28))}(t,s,o)&&function(e,t){return t>=1&&t<=(io(e)?366:365)}(t,i)?(c.setUTCFullYear(t,s,Math.max(i,o)),c):new Date(NaN)}(l.restDateString,l.year)}if(!s||isNaN(s.getTime()))return new Date(NaN)
var c,u=s.getTime(),h=0
if(a.time&&(h=function(e){var t=e.match(Qs)
if(!t)return NaN
var r=ro(t[1]),n=ro(t[2]),i=ro(t[3])
return function(e,t,r){return 24===e?0===t&&0===r:r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}(r,n,i)?r*H+n*U+1e3*i:NaN}(a.time),isNaN(h)))return new Date(NaN)
if(!a.timezone){var d=new Date(u+h),p=new Date(0)
return p.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),p.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),p}return c=function(e){if("Z"===e)return 0
var t=e.match(eo)
if(!t)return 0
var r="+"===t[1]?-1:1,n=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0
return function(e,t){return t>=0&&t<=59}(0,i)?r*(n*H+i*U):NaN}(a.timezone),isNaN(c)?new Date(NaN):new Date(u+h+c)}var Ys={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Xs=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Qs=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,eo=/^([+-])(\d{2})(?::?(\d{2}))?$/
function to(e){return e?parseInt(e):1}function ro(e){return e&&parseFloat(e.replace(",","."))||0}var no=[31,null,31,30,31,30,31,31,30,31,30,31]
function io(e){return e%400==0||e%4==0&&e%100!=0}function so(e){if((0,o.Z)(1,arguments),"string"==typeof e){var t=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/)
return t?new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4]-(+t[9]||0)*("-"==t[8]?-1:1),+t[5]-(+t[10]||0)*("-"==t[8]?-1:1),+t[6],+((t[7]||"0")+"00").substring(0,3))):new Date(NaN)}return(0,s.Z)(e)}function oo(e,t){(0,o.Z)(2,arguments)
var r=vr(e)-t
return r<=0&&(r+=7),bs(e,r)}function ao(e){return(0,o.Z)(1,arguments),oo(e,5)}function lo(e){return(0,o.Z)(1,arguments),oo(e,1)}function co(e){return(0,o.Z)(1,arguments),oo(e,6)}function uo(e){return(0,o.Z)(1,arguments),oo(e,0)}function ho(e){return(0,o.Z)(1,arguments),oo(e,4)}function po(e){return(0,o.Z)(1,arguments),oo(e,2)}function fo(e){return(0,o.Z)(1,arguments),oo(e,3)}function mo(e){return(0,o.Z)(1,arguments),Math.floor(e*Z)}function go(e){(0,o.Z)(1,arguments)
var t=e/G
return Math.floor(t)}function yo(e,t){var r
if(arguments.length<1)throw new TypeError("1 argument required, but only none provided present")
var n=i(null!==(r=null==t?void 0:t.nearestTo)&&void 0!==r?r:1)
if(n<1||n>30)throw new RangeError("`options.nearestTo` must be between 1 and 30")
var o=(0,s.Z)(e),a=o.getSeconds(),l=o.getMinutes()+a/60,c=Ee(null==t?void 0:t.roundingMethod)(l/n)*n,u=l%n,h=Math.round(u/n)*n
return new Date(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),c+h)}function vo(e){(0,o.Z)(1,arguments)
var t=e/Y
return Math.floor(t)}function bo(e){return(0,o.Z)(1,arguments),e*q}function wo(e){(0,o.Z)(1,arguments)
var t=e/X
return Math.floor(t)}function So(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t),a=r.getFullYear(),l=r.getDate(),c=new Date(0)
c.setFullYear(a,n,15),c.setHours(0,0,0,0)
var u=wr(c)
return r.setMonth(n,Math.min(l,u)),r}function ko(e,t){if((0,o.Z)(2,arguments),"object"!==(0,n.Z)(t)||null===t)throw new RangeError("values parameter must be an object")
var r=(0,s.Z)(e)
return isNaN(r.getTime())?new Date(NaN):(null!=t.year&&r.setFullYear(t.year),null!=t.month&&(r=So(r,t.month)),null!=t.date&&r.setDate(i(t.date)),null!=t.hours&&r.setHours(i(t.hours)),null!=t.minutes&&r.setMinutes(i(t.minutes)),null!=t.seconds&&r.setSeconds(i(t.seconds)),null!=t.milliseconds&&r.setMilliseconds(i(t.milliseconds)),r)}function xo(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t)
return r.setDate(n),r}function Eo(e,t,r){var n,l,c,u,h,d,p,f;(0,o.Z)(2,arguments)
var m=v(),g=i(null!==(n=null!==(l=null!==(c=null!==(u=null==r?void 0:r.weekStartsOn)&&void 0!==u?u:null==r||null===(h=r.locale)||void 0===h||null===(d=h.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==c?c:m.weekStartsOn)&&void 0!==l?l:null===(p=m.locale)||void 0===p||null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0)
if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")
var y=(0,s.Z)(e),b=i(t),w=y.getDay(),S=7-g
return a(y,b<0||b>6?b-(w+S)%7:((b%7+7)%7+S)%7-(w+S)%7)}function No(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t)
return r.setMonth(0),r.setDate(n),r}function _o(e){(0,o.Z)(1,arguments)
var t={},r=v()
for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])
for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(void 0===e[i]?delete t[i]:t[i]=e[i]);(function(e){y=e})(t)}function Co(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t)
return r.setHours(n),r}function Ao(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e)
return a(r,i(t)-_r(r))}function Oo(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t),a=Ar(r)-n
return r.setDate(r.getDate()-7*a),r}function Po(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t)
return r.setMilliseconds(n),r}function To(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t)
return r.setMinutes(n),r}function Io(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t)-(Math.floor(r.getMonth()/3)+1)
return So(r,r.getMonth()+3*n)}function jo(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t)
return r.setSeconds(n),r}function Do(e,t,r){(0,o.Z)(2,arguments)
var n=(0,s.Z)(e),a=i(t),l=$r(n,r)-a
return n.setDate(n.getDate()-7*l),n}function Mo(e,t,r){var n,a,l,c,u,h,d,p;(0,o.Z)(2,arguments)
var f=v(),m=i(null!==(n=null!==(a=null!==(l=null!==(c=null==r?void 0:r.firstWeekContainsDate)&&void 0!==c?c:null==r||null===(u=r.locale)||void 0===u||null===(h=u.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==l?l:f.firstWeekContainsDate)&&void 0!==a?a:null===(d=f.locale)||void 0===d||null===(p=d.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==n?n:1),g=(0,s.Z)(e),y=i(t),b=(0,x.Z)(g,Fr(g,r)),w=new Date(0)
return w.setFullYear(y,0,m),w.setHours(0,0,0,0),(g=Fr(w,r)).setDate(g.getDate()+b),g}function Bo(e,t){(0,o.Z)(2,arguments)
var r=(0,s.Z)(e),n=i(t)
return isNaN(r.getTime())?new Date(NaN):(r.setFullYear(n),r)}function Ro(e){(0,o.Z)(1,arguments)
var t=(0,s.Z)(e),r=t.getFullYear(),n=10*Math.floor(r/10)
return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}function Lo(){return(0,se.Z)(Date.now())}function zo(){var e=new Date,t=e.getFullYear(),r=e.getMonth(),n=e.getDate(),i=new Date(0)
return i.setFullYear(t,r,n+1),i.setHours(0,0,0,0),i}function Fo(){var e=new Date,t=e.getFullYear(),r=e.getMonth(),n=e.getDate(),i=new Date(0)
return i.setFullYear(t,r,n-1),i.setHours(0,0,0,0),i}function Vo(e,t){return(0,o.Z)(2,arguments),l(e,-i(t))}function $o(e,t){if((0,o.Z)(2,arguments),!t||"object"!==(0,n.Z)(t))return new Date(NaN)
var r=t.years?i(t.years):0,s=t.months?i(t.months):0,a=t.weeks?i(t.weeks):0,l=t.days?i(t.days):0,c=t.hours?i(t.hours):0,u=t.minutes?i(t.minutes):0,h=t.seconds?i(t.seconds):0,d=bs(Vo(e,s+12*r),l+7*a),p=1e3*(h+60*(u+60*c))
return new Date(d.getTime()-p)}function Uo(e,t){return(0,o.Z)(2,arguments),p(e,-i(t))}function Ho(e,t){return(0,o.Z)(2,arguments),g(e,-i(t))}function qo(e,t){return(0,o.Z)(2,arguments),C(e,-i(t))}function Wo(e,t){return(0,o.Z)(2,arguments),A(e,-i(t))}function Ko(e,t){return(0,o.Z)(2,arguments),O(e,-i(t))}function Zo(e,t){return(0,o.Z)(2,arguments),P(e,-i(t))}function Jo(e,t){return(0,o.Z)(2,arguments),T(e,-i(t))}function Go(e){return(0,o.Z)(1,arguments),Math.floor(e*F)}function Yo(e){return(0,o.Z)(1,arguments),Math.floor(e*J)}function Xo(e){return(0,o.Z)(1,arguments),Math.floor(e*G)}},30867:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>s})
var n=r(34327),i=r(23682)
function s(e,t){(0,i.Z)(2,arguments)
var r=(0,n.Z)(e),s=(0,n.Z)(t)
return r.getTime()>s.getTime()}},59429:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>s})
var n=r(34327),i=r(23682)
function s(e){(0,i.Z)(1,arguments)
var t=(0,n.Z)(e)
return t.setHours(0,0,0,0),t}},34327:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>s})
var n=r(76775),i=r(23682)
function s(e){(0,i.Z)(1,arguments)
var t=Object.prototype.toString.call(e)
return e instanceof Date||"object"===(0,n.Z)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},74036:e=>{"use strict"
var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e)
return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103
function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((r=e,Array.isArray(r)?[]:{}),e,t):e
var r}function i(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function o(e,t){try{return t in e}catch(e){return!1}}function a(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n
var c=Array.isArray(r)
return c===Array.isArray(e)?c?l.arrayMerge(e,r,l):function(e,t,r){var i={}
return r.isMergeableObject(e)&&s(e).forEach((function(t){i[t]=n(e[t],r)})),s(t).forEach((function(s){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(o(e,s)&&r.isMergeableObject(t[s])?i[s]=function(e,t){if(!t.customMerge)return a
var r=t.customMerge(e)
return"function"==typeof r?r:a}(s,r)(e[s],t[s],r):i[s]=n(t[s],r))})),i}(e,r,l):n(r,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array")
return e.reduce((function(e,r){return a(e,r,t)}),{})}
var l=a
e.exports=l},94331:(e,t,r)=>{var n=r(76377)
e.exports=function(e,t){return e=e||{},Object.keys(t).forEach((function(r){void 0===e[r]&&(e[r]=n(t[r]))})),e}},76377:e=>{var t=function(){"use strict"
function e(t,n,i,s){"object"==typeof n&&(i=n.depth,s=n.prototype,n.filter,n=n.circular)
var o=[],a=[],l="undefined"!=typeof Buffer
return void 0===n&&(n=!0),void 0===i&&(i=1/0),function t(i,c){if(null===i)return null
if(0==c)return i
var u,h
if("object"!=typeof i)return i
if(e.__isArray(i))u=[]
else if(e.__isRegExp(i))u=new RegExp(i.source,r(i)),i.lastIndex&&(u.lastIndex=i.lastIndex)
else if(e.__isDate(i))u=new Date(i.getTime())
else{if(l&&Buffer.isBuffer(i))return u=Buffer.allocUnsafe?Buffer.allocUnsafe(i.length):new Buffer(i.length),i.copy(u),u
void 0===s?(h=Object.getPrototypeOf(i),u=Object.create(h)):(u=Object.create(s),h=s)}if(n){var d=o.indexOf(i)
if(-1!=d)return a[d]
o.push(i),a.push(u)}for(var p in i){var f
h&&(f=Object.getOwnPropertyDescriptor(h,p)),f&&null==f.set||(u[p]=t(i[p],c-1))}return u}(t,i)}function t(e){return Object.prototype.toString.call(e)}function r(e){var t=""
return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return e.clonePrototype=function(e){if(null===e)return null
var t=function(){}
return t.prototype=e,new t},e.__objToStr=t,e.__isDate=function(e){return"object"==typeof e&&"[object Date]"===t(e)},e.__isArray=function(e){return"object"==typeof e&&"[object Array]"===t(e)},e.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===t(e)},e.__getRegExpFlags=r,e}()
e.exports&&(e.exports=t)},86433:function(e){e.exports=function(){"use strict"
const{entries:e,setPrototypeOf:t,isFrozen:r,getPrototypeOf:n,getOwnPropertyDescriptor:i}=Object
let{freeze:s,seal:o,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect
s||(s=function(e){return e}),o||(o=function(e){return e}),l||(l=function(e,t,r){return e.apply(t,r)}),c||(c=function(e,t){return new e(...t)})
const u=x(Array.prototype.forEach),h=x(Array.prototype.pop),d=x(Array.prototype.push),p=x(String.prototype.toLowerCase),f=x(String.prototype.toString),m=x(String.prototype.match),g=x(String.prototype.replace),y=x(String.prototype.indexOf),v=x(String.prototype.trim),b=x(Object.prototype.hasOwnProperty),w=x(RegExp.prototype.test),S=(k=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r]
return c(k,t)})
var k
function x(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i]
return l(e,t,n)}}function E(e,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p
t&&t(e,null)
let s=n.length
for(;s--;){let t=n[s]
if("string"==typeof t){const e=i(t)
e!==t&&(r(n)||(n[s]=e),t=e)}e[t]=!0}return e}function N(e){for(let t=0;t<e.length;t++)b(e,t)||(e[t]=null)
return e}function _(t){const r=a(null)
for(const[n,i]of e(t))b(t,n)&&(Array.isArray(i)?r[n]=N(i):i&&"object"==typeof i&&i.constructor===Object?r[n]=_(i):r[n]=i)
return r}function C(e,t){for(;null!==e;){const r=i(e,t)
if(r){if(r.get)return x(r.get)
if("function"==typeof r.value)return x(r.value)}e=n(e)}return function(){return null}}const A=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),O=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),P=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),j=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),D=s(["#text"]),M=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),B=s(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),R=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=o(/\{\{[\w\W]*|[\w\W]*\}\}/gm),F=o(/<%[\w\W]*|[\w\W]*%>/gm),V=o(/\${[\w\W]*}/gm),$=o(/^data-[\-\w.\u00B7-\uFFFF]/),U=o(/^aria-[\-\w]+$/),H=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=o(/^(?:\w+script|data):/i),W=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K=o(/^html$/i),Z=o(/^[a-z][.\w]*(-[.\w]+)+$/i)
var J=Object.freeze({__proto__:null,MUSTACHE_EXPR:z,ERB_EXPR:F,TMPLIT_EXPR:V,DATA_ATTR:$,ARIA_ATTR:U,IS_ALLOWED_URI:H,IS_SCRIPT_OR_DATA:q,ATTR_WHITESPACE:W,DOCTYPE_NAME:K,CUSTOM_ELEMENT:Z})
return function t(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window
const n=e=>t(e)
if(n.version="3.1.6",n.removed=[],!r||!r.document||9!==r.document.nodeType)return n.isSupported=!1,n
let{document:i}=r
const o=i,l=o.currentScript,{DocumentFragment:c,HTMLTemplateElement:k,Node:x,Element:N,NodeFilter:z,NamedNodeMap:F=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:V,DOMParser:$,trustedTypes:U}=r,q=N.prototype,W=C(q,"cloneNode"),Z=C(q,"remove"),G=C(q,"nextSibling"),Y=C(q,"childNodes"),X=C(q,"parentNode")
if("function"==typeof k){const e=i.createElement("template")
e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let Q,ee=""
const{implementation:te,createNodeIterator:re,createDocumentFragment:ne,getElementsByTagName:ie}=i,{importNode:se}=o
let oe={}
n.isSupported="function"==typeof e&&"function"==typeof X&&te&&void 0!==te.createHTMLDocument
const{MUSTACHE_EXPR:ae,ERB_EXPR:le,TMPLIT_EXPR:ce,DATA_ATTR:ue,ARIA_ATTR:he,IS_SCRIPT_OR_DATA:de,ATTR_WHITESPACE:pe,CUSTOM_ELEMENT:fe}=J
let{IS_ALLOWED_URI:me}=J,ge=null
const ye=E({},[...A,...O,...P,...I,...D])
let ve=null
const be=E({},[...M,...B,...R,...L])
let we=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,ke=null,xe=!0,Ee=!0,Ne=!1,_e=!0,Ce=!1,Ae=!0,Oe=!1,Pe=!1,Te=!1,Ie=!1,je=!1,De=!1,Me=!0,Be=!1,Re=!0,Le=!1,ze={},Fe=null
const Ve=E({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"])
let $e=null
const Ue=E({},["audio","video","img","source","image","track"])
let He=null
const qe=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),We="http://www.w3.org/1998/Math/MathML",Ke="http://www.w3.org/2000/svg",Ze="http://www.w3.org/1999/xhtml"
let Je=Ze,Ge=!1,Ye=null
const Xe=E({},[We,Ke,Ze],f)
let Qe=null
const et=["application/xhtml+xml","text/html"]
let tt=null,rt=null
const nt=i.createElement("form"),it=function(e){return e instanceof RegExp||e instanceof Function},st=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
if(!rt||rt!==e){if(e&&"object"==typeof e||(e={}),e=_(e),Qe=-1===et.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,tt="application/xhtml+xml"===Qe?f:p,ge=b(e,"ALLOWED_TAGS")?E({},e.ALLOWED_TAGS,tt):ye,ve=b(e,"ALLOWED_ATTR")?E({},e.ALLOWED_ATTR,tt):be,Ye=b(e,"ALLOWED_NAMESPACES")?E({},e.ALLOWED_NAMESPACES,f):Xe,He=b(e,"ADD_URI_SAFE_ATTR")?E(_(qe),e.ADD_URI_SAFE_ATTR,tt):qe,$e=b(e,"ADD_DATA_URI_TAGS")?E(_(Ue),e.ADD_DATA_URI_TAGS,tt):Ue,Fe=b(e,"FORBID_CONTENTS")?E({},e.FORBID_CONTENTS,tt):Ve,Se=b(e,"FORBID_TAGS")?E({},e.FORBID_TAGS,tt):{},ke=b(e,"FORBID_ATTR")?E({},e.FORBID_ATTR,tt):{},ze=!!b(e,"USE_PROFILES")&&e.USE_PROFILES,xe=!1!==e.ALLOW_ARIA_ATTR,Ee=!1!==e.ALLOW_DATA_ATTR,Ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,_e=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ce=e.SAFE_FOR_TEMPLATES||!1,Ae=!1!==e.SAFE_FOR_XML,Oe=e.WHOLE_DOCUMENT||!1,Ie=e.RETURN_DOM||!1,je=e.RETURN_DOM_FRAGMENT||!1,De=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Me=!1!==e.SANITIZE_DOM,Be=e.SANITIZE_NAMED_PROPS||!1,Re=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,me=e.ALLOWED_URI_REGEXP||H,Je=e.NAMESPACE||Ze,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&it(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&it(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ce&&(Ee=!1),je&&(Ie=!0),ze&&(ge=E({},D),ve=[],!0===ze.html&&(E(ge,A),E(ve,M)),!0===ze.svg&&(E(ge,O),E(ve,B),E(ve,L)),!0===ze.svgFilters&&(E(ge,P),E(ve,B),E(ve,L)),!0===ze.mathMl&&(E(ge,I),E(ve,R),E(ve,L))),e.ADD_TAGS&&(ge===ye&&(ge=_(ge)),E(ge,e.ADD_TAGS,tt)),e.ADD_ATTR&&(ve===be&&(ve=_(ve)),E(ve,e.ADD_ATTR,tt)),e.ADD_URI_SAFE_ATTR&&E(He,e.ADD_URI_SAFE_ATTR,tt),e.FORBID_CONTENTS&&(Fe===Ve&&(Fe=_(Fe)),E(Fe,e.FORBID_CONTENTS,tt)),Re&&(ge["#text"]=!0),Oe&&E(ge,["html","head","body"]),ge.table&&(E(ge,["tbody"]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.')
if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.')
Q=e.TRUSTED_TYPES_POLICY,ee=Q.createHTML("")}else void 0===Q&&(Q=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null
let r=null
const n="data-tt-policy-suffix"
t&&t.hasAttribute(n)&&(r=t.getAttribute(n))
const i="dompurify"+(r?"#"+r:"")
try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(U,l)),null!==Q&&"string"==typeof ee&&(ee=Q.createHTML(""))
s&&s(e),rt=e}},ot=E({},["mi","mo","mn","ms","mtext"]),at=E({},["foreignobject","annotation-xml"]),lt=E({},["title","style","font","a","script"]),ct=E({},[...O,...P,...T]),ut=E({},[...I,...j]),ht=function(e){d(n.removed,{element:e})
try{X(e).removeChild(e)}catch(t){Z(e)}},dt=function(e,t){try{d(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){d(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ve[e])if(Ie||je)try{ht(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},pt=function(e){let t=null,r=null
if(Te)e="<remove></remove>"+e
else{const t=m(e,/^[\r\n\t ]+/)
r=t&&t[0]}"application/xhtml+xml"===Qe&&Je===Ze&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>")
const n=Q?Q.createHTML(e):e
if(Je===Ze)try{t=(new $).parseFromString(n,Qe)}catch(e){}if(!t||!t.documentElement){t=te.createDocument(Je,"template",null)
try{t.documentElement.innerHTML=Ge?ee:n}catch(e){}}const s=t.body||t.documentElement
return e&&r&&s.insertBefore(i.createTextNode(r),s.childNodes[0]||null),Je===Ze?ie.call(t,Oe?"html":"body")[0]:Oe?t.documentElement:s},ft=function(e){return re.call(e.ownerDocument||e,e,z.SHOW_ELEMENT|z.SHOW_COMMENT|z.SHOW_TEXT|z.SHOW_PROCESSING_INSTRUCTION|z.SHOW_CDATA_SECTION,null)},mt=function(e){return e instanceof V&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof F)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},gt=function(e){return"function"==typeof x&&e instanceof x},yt=function(e,t,r){oe[e]&&u(oe[e],(e=>{e.call(n,t,r,rt)}))},vt=function(e){let t=null
if(yt("beforeSanitizeElements",e,null),mt(e))return ht(e),!0
const r=tt(e.nodeName)
if(yt("uponSanitizeElement",e,{tagName:r,allowedTags:ge}),e.hasChildNodes()&&!gt(e.firstElementChild)&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return ht(e),!0
if(7===e.nodeType)return ht(e),!0
if(Ae&&8===e.nodeType&&w(/<[/\w]/g,e.data))return ht(e),!0
if(!ge[r]||Se[r]){if(!Se[r]&&wt(r)){if(we.tagNameCheck instanceof RegExp&&w(we.tagNameCheck,r))return!1
if(we.tagNameCheck instanceof Function&&we.tagNameCheck(r))return!1}if(Re&&!Fe[r]){const t=X(e)||e.parentNode,r=Y(e)||e.childNodes
if(r&&t)for(let n=r.length-1;n>=0;--n){const i=W(r[n],!0)
i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,G(e))}}return ht(e),!0}return e instanceof N&&!function(e){let t=X(e)
t&&t.tagName||(t={namespaceURI:Je,tagName:"template"})
const r=p(e.tagName),n=p(t.tagName)
return!!Ye[e.namespaceURI]&&(e.namespaceURI===Ke?t.namespaceURI===Ze?"svg"===r:t.namespaceURI===We?"svg"===r&&("annotation-xml"===n||ot[n]):Boolean(ct[r]):e.namespaceURI===We?t.namespaceURI===Ze?"math"===r:t.namespaceURI===Ke?"math"===r&&at[n]:Boolean(ut[r]):e.namespaceURI===Ze?!(t.namespaceURI===Ke&&!at[n])&&!(t.namespaceURI===We&&!ot[n])&&!ut[r]&&(lt[r]||!ct[r]):!("application/xhtml+xml"!==Qe||!Ye[e.namespaceURI]))}(e)?(ht(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!w(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ce&&3===e.nodeType&&(t=e.textContent,u([ae,le,ce],(e=>{t=g(t,e," ")})),e.textContent!==t&&(d(n.removed,{element:e.cloneNode()}),e.textContent=t)),yt("afterSanitizeElements",e,null),!1):(ht(e),!0)},bt=function(e,t,r){if(Me&&("id"===t||"name"===t)&&(r in i||r in nt))return!1
if(Ee&&!ke[t]&&w(ue,t));else if(xe&&w(he,t));else if(!ve[t]||ke[t]){if(!(wt(e)&&(we.tagNameCheck instanceof RegExp&&w(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&w(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&w(we.tagNameCheck,r)||we.tagNameCheck instanceof Function&&we.tagNameCheck(r))))return!1}else if(He[t]);else if(w(me,g(r,pe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(r,"data:")||!$e[e])if(Ne&&!w(de,g(r,pe,"")));else if(r)return!1
return!0},wt=function(e){return"annotation-xml"!==e&&m(e,fe)},St=function(e){yt("beforeSanitizeAttributes",e,null)
const{attributes:t}=e
if(!t)return
const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ve}
let i=t.length
for(;i--;){const s=t[i],{name:o,namespaceURI:a,value:l}=s,c=tt(o)
let d="value"===o?l:v(l)
if(r.attrName=c,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,yt("uponSanitizeAttribute",e,r),d=r.attrValue,Ae&&w(/((--!?|])>)|<\/(style|title)/i,d)){dt(o,e)
continue}if(r.forceKeepAttr)continue
if(dt(o,e),!r.keepAttr)continue
if(!_e&&w(/\/>/i,d)){dt(o,e)
continue}Ce&&u([ae,le,ce],(e=>{d=g(d,e," ")}))
const p=tt(e.nodeName)
if(bt(p,c,d)){if(!Be||"id"!==c&&"name"!==c||(dt(o,e),d="user-content-"+d),Q&&"object"==typeof U&&"function"==typeof U.getAttributeType)if(a);else switch(U.getAttributeType(p,c)){case"TrustedHTML":d=Q.createHTML(d)
break
case"TrustedScriptURL":d=Q.createScriptURL(d)}try{a?e.setAttributeNS(a,o,d):e.setAttribute(o,d),mt(e)?ht(e):h(n.removed)}catch(e){}}}yt("afterSanitizeAttributes",e,null)},kt=function e(t){let r=null
const n=ft(t)
for(yt("beforeSanitizeShadowDOM",t,null);r=n.nextNode();)yt("uponSanitizeShadowNode",r,null),vt(r)||(r.content instanceof c&&e(r.content),St(r))
yt("afterSanitizeShadowDOM",t,null)}
return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,a=null
if(Ge=!e,Ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!gt(e)){if("function"!=typeof e.toString)throw S("toString is not a function")
if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}if(!n.isSupported)return e
if(Pe||st(t),n.removed=[],"string"==typeof e&&(Le=!1),Le){if(e.nodeName){const t=tt(e.nodeName)
if(!ge[t]||Se[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof x)r=pt("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i)
else{if(!Ie&&!Ce&&!Oe&&-1===e.indexOf("<"))return Q&&De?Q.createHTML(e):e
if(r=pt(e),!r)return Ie?null:De?ee:""}r&&Te&&ht(r.firstChild)
const l=ft(Le?e:r)
for(;s=l.nextNode();)vt(s)||(s.content instanceof c&&kt(s.content),St(s))
if(Le)return e
if(Ie){if(je)for(a=ne.call(r.ownerDocument);r.firstChild;)a.appendChild(r.firstChild)
else a=r
return(ve.shadowroot||ve.shadowrootmode)&&(a=se.call(o,a,!0)),a}let h=Oe?r.outerHTML:r.innerHTML
return Oe&&ge["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&w(K,r.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+h),Ce&&u([ae,le,ce],(e=>{h=g(h,e," ")})),Q&&De?Q.createHTML(h):h},n.setConfig=function(){st(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},n.clearConfig=function(){rt=null,Pe=!1},n.isValidAttribute=function(e,t,r){rt||st({})
const n=tt(e),i=tt(t)
return bt(n,i,r)},n.addHook=function(e,t){"function"==typeof t&&(oe[e]=oe[e]||[],d(oe[e],t))},n.removeHook=function(e){if(oe[e])return h(oe[e])},n.removeHooks=function(e){oe[e]&&(oe[e]=[])},n.removeAllHooks=function(){oe={}},n}()}()},12023:(e,t,r)=>{"use strict"
function n(e){return Object.assign({},...e)}r.r(t),r.d(t,{assign:()=>n,default:()=>i})
var i=(0,r(58797).helper)(n)},88238:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>x})
var n=r(37219),i=r(17990),s=r.n(i),o=r(55521),a=r(37871)
let l
function c({deltaX:e=0,deltaY:t=0,deltaMode:r=0}){if(0!==r){2===r&&(e*=3,t*=3)
const n=function(){if(void 0===l){const e=document.createElement("iframe")
e.src="#",e.style.position="absolute",e.style.visibility="hidden",e.style.width="0px",e.style.height="0px",e.style.border="none",document.body.appendChild(e)
const t=e.contentWindow.document
t.open(),t.write("<!doctype html><html><head></head><body><span>X</span></body></html>"),t.close()
const r=t.body
l=r.firstElementChild.offsetHeight,document.body.removeChild(e)}return l}()
void 0!==n&&(e*=n,t*=n)}return{deltaX:e,deltaY:t}}function u(e,t,r,n,i=[]){const s={element:r,scrollLeft:0,scrollTop:0},o=r.scrollWidth-r.clientWidth,a=r.scrollHeight-r.clientHeight,l=-r.scrollLeft,c=o-r.scrollLeft,h=-r.scrollTop,d=a-r.scrollTop,p=window.getComputedStyle(r)
return"hidden"!==p.overflowX&&(s.scrollLeft=r.scrollLeft+e,e>c?e-=c:e<l?e-=l:e=0),"hidden"!==p.overflowY&&(s.scrollTop=r.scrollTop+t,t>d?t-=d:t<h?t-=h:t=0),r!==n&&(e||t)?u(e,t,r.parentNode,n,i.concat([s])):i.concat([s])}function h(e,t,r,n){const i=u(e,t,r,n)
let s
for(let o=0;o<i.length;o++)s=i[o],s&&(s.element.scrollLeft=s.scrollLeft,s.element.scrollTop=s.scrollTop)}var d,p=r(33732),f=r(38575),m=r(87172),g=r(80836),y=r(23574)
function v(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function b(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var w=(0,r(59266).createTemplateFactory)({id:"MeJ0BrlD",block:'[[[41,[30,1,["isOpen"]],[[[1,"  "],[11,0],[24,0,"ember-basic-dropdown-content-wormhole-origin"],[4,[30,0,["registerDropdownContentWormhole"]],null,null],[12],[1,"\\n"],[41,[30,2],[[[41,[30,3],[[[1,"        "],[10,0],[14,0,"ember-basic-dropdown-overlay"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[44,[[28,[37,2],[[28,[37,3],[[30,4],"div"],null]],null]],[[[1,"        "],[8,[30,5],[[16,1,[30,0,["dropdownId"]]],[16,0,[29,["ember-basic-dropdown-content ember-basic-dropdown-content--",[30,6],"\\n            ember-basic-dropdown-content--",[30,7],"\\n            ",[30,0,["animationClass"]],[52,[30,2]," ember-basic-dropdown-content--in-place"],"\\n            ",[30,8]]]],[16,"dir",[30,9]],[17,10],[4,[38,4],[[30,11],[30,0,["positionStyles"]]],null],[4,[30,0,["respondToEvents"]],null,null],[4,[30,0,["initiallyReposition"]],null,null],[4,[30,0,["observeMutations"]],null,null],[4,[30,0,["animateInAndOut"]],null,null],[4,[38,5],["focusin",[28,[37,6],[[28,[37,3],[[30,12],[30,0,["noop"]]],null],[30,1]],null]],null],[4,[38,5],["focusout",[28,[37,6],[[28,[37,3],[[30,13],[30,0,["noop"]]],null],[30,1]],null]],null],[4,[38,5],["mouseenter",[28,[37,6],[[28,[37,3],[[30,14],[30,0,["noop"]]],null],[30,1]],null]],null],[4,[38,5],["mouseleave",[28,[37,6],[[28,[37,3],[[30,15],[30,0,["noop"]]],null],[30,1]],null]],null]],null,[["default"],[[[[1,"\\n          "],[18,17,null],[1,"\\n        "]],[]]]]],[1,"\\n"]],[5]]]],[]],[[[41,[30,0,["destinationElement"]],[[[40,[[[41,[30,3],[[[1,"          "],[10,0],[14,0,"ember-basic-dropdown-overlay"],[12],[13],[1,"\\n"]],[]],null],[1,"        \\n"],[44,[[28,[37,2],[[28,[37,3],[[30,4],"div"],null]],null]],[[[1,"          "],[8,[30,16],[[16,1,[30,0,["dropdownId"]]],[16,0,[29,["ember-basic-dropdown-content ember-basic-dropdown-content--",[30,6],"\\n              ember-basic-dropdown-content--",[30,7],"\\n              ",[30,0,["animationClass"]],[52,[30,2]," ember-basic-dropdown-content--in-place"],"\\n              ",[30,8]]]],[16,"dir",[30,9]],[17,10],[4,[38,4],[[30,11],[30,0,["positionStyles"]]],null],[4,[30,0,["respondToEvents"]],null,null],[4,[30,0,["initiallyReposition"]],null,null],[4,[30,0,["observeMutations"]],null,null],[4,[30,0,["animateInAndOut"]],null,null],[4,[38,5],["focusin",[28,[37,6],[[28,[37,3],[[30,12],[30,0,["noop"]]],null],[30,1]],null]],null],[4,[38,5],["focusout",[28,[37,6],[[28,[37,3],[[30,13],[30,0,["noop"]]],null],[30,1]],null]],null],[4,[38,5],["mouseenter",[28,[37,6],[[28,[37,3],[[30,14],[30,0,["noop"]]],null],[30,1]],null]],null],[4,[38,5],["mouseleave",[28,[37,6],[[28,[37,3],[[30,15],[30,0,["noop"]]],null],[30,1]],null]],null]],null,[["default"],[[[[1,"\\n            "],[18,17,null],[1,"\\n          "]],[]]]]],[1,"\\n"]],[16]]]],[]],"%cursor:0%",[28,[37,9],[[30,0,["destinationElement"]]],null],null],[1,"    "]],[]],null]],[]]],[1,"  "],[13],[1,"\\n"]],[]],[[[1,"  "],[11,0],[16,1,[30,0,["dropdownId"]]],[24,0,"ember-basic-dropdown-content-placeholder"],[4,[38,4],[[28,[37,10],null,[["display"],["none"]]]],null],[12],[13],[1,"\\n"]],[]]]],["@dropdown","@renderInPlace","@overlay","@htmlTag","OptionalTag","@hPosition","@vPosition","@defaultClass","@dir","&attrs","@otherStyles","@onFocusIn","@onFocusOut","@onMouseEnter","@onMouseLeave","OptionalTag","&default"],false,["if","let","element","or","style","on","fn","yield","in-element","-in-el-null","hash"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-basic-dropdown/dist/components/basic-dropdown-content.js",isStrictMode:!1}),S=new WeakMap,k=new WeakMap
class x extends(s()){constructor(...e){super(...e),b(this,"transitioningInClass",this.args.transitioningInClass||"ember-basic-dropdown--transitioning-in"),b(this,"transitionedInClass",this.args.transitionedInClass||"ember-basic-dropdown--transitioned-in"),b(this,"transitioningOutClass",this.args.transitioningOutClass||"ember-basic-dropdown--transitioning-out"),b(this,"isTouchDevice",this.args.isTouchDevice||Boolean(!!window&&"ontouchstart"in window)),b(this,"dropdownId",`ember-basic-dropdown-content-${this.args.dropdown?.uniqueId}`),b(this,"touchMoveEvent",void 0),b(this,"handleRootMouseDown",void 0),b(this,"scrollableAncestors",[]),b(this,"mutationObserver",void 0),v(this,S,void(0,g.i)(this,"_contentWormhole")),v(this,k,void(0,g.i)(this,"animationClass")),b(this,"registerDropdownContentWormhole",(0,f.modifier)((e=>{this._contentWormhole=e}))),b(this,"respondToEvents",(0,f.modifier)((e=>{this.args.dropdown?.actions?.registerDropdownElement&&this.args.dropdown.actions.registerDropdownElement(e)
const t=`[data-ebd-id=${this.args.dropdown?.uniqueId}-trigger]`
let r,n=null
return"function"==typeof this.args.dropdown?.actions?.getTriggerElement&&(n=this.args.dropdown?.actions?.getTriggerElement()),n||(n=document.querySelector(t)),this.handleRootMouseDown=t=>{const r=t.composedPath?.()[0]||t.target
null!==r&&((0,p.Z)(t,this.touchMoveEvent)||e.contains(r)||n&&n.contains(r)||C(n,r,this.dropdownId)?this.touchMoveEvent=void 0:this.args.dropdown?.actions?.close&&this.args.dropdown.actions.close(t,!0))},document.addEventListener(this.args.rootEventType||"click",this.handleRootMouseDown,!0),this._contentWormhole&&this._contentWormhole.getRootNode()instanceof ShadowRoot&&(r=this._contentWormhole.getRootNode()),r&&r.addEventListener(this.args.rootEventType||"click",this.handleRootMouseDown,!0),window.addEventListener("resize",this.runloopAwareReposition),window.addEventListener("orientationchange",this.runloopAwareReposition),this.isTouchDevice&&(document.addEventListener("touchstart",this.touchStartHandler,!0),document.addEventListener("touchend",this.handleRootMouseDown,!0),r&&(r.addEventListener("touchstart",this.touchStartHandler,!0),r.addEventListener("touchend",this.handleRootMouseDown,!0))),null===n||n.getRootNode()instanceof ShadowRoot||(this.scrollableAncestors=function(e){const t=[]
if(e){const r=e.parentNode
if(null!==r){let e=(0,a.rP)(r)
for(;e&&"BODY"!==e.tagName.toUpperCase()&&"HTML"!==e.tagName.toUpperCase();){t.push(e)
const r=e.parentNode
e=null===r?void 0:(0,a.rP)(r)}}}return t}(n)),this.addScrollHandling(e),()=>{let e
this.removeGlobalEvents(),this.removeScrollHandling(),this.scrollableAncestors=[],document.removeEventListener(this.args.rootEventType||"click",this.handleRootMouseDown,!0),this._contentWormhole&&this._contentWormhole.getRootNode()instanceof ShadowRoot&&(e=this._contentWormhole.getRootNode()),e&&e.removeEventListener(this.args.rootEventType||"click",this.handleRootMouseDown,!0),this.isTouchDevice&&(document.removeEventListener("touchstart",this.touchStartHandler,!0),document.removeEventListener("touchend",this.handleRootMouseDown,!0),e&&(e.removeEventListener("touchstart",this.touchStartHandler,!0),e.removeEventListener("touchend",this.handleRootMouseDown,!0)))}}),{eager:!1})),b(this,"initiallyReposition",(0,f.modifier)((()=>{Promise.resolve().then((()=>{this.args.dropdown?.actions.reposition()}))}),{eager:!1})),b(this,"animateInAndOut",(0,f.modifier)((e=>this.animationEnabled?(_(e,(()=>{this.animationClass=this.transitionedInClass})),()=>{if(!this.animationEnabled)return
let t=e.parentElement??this.destinationElement
if(null===t)return
if(this.args.renderInPlace&&(t=t.parentElement),null===t)return
const r=e.cloneNode(!0)
r.id=`${r.id}--clone`,r.classList.remove(...this.transitioningInClass.split(" ")),r.classList.add(...this.transitioningOutClass.split(" ")),t.appendChild(r),this.animationClass=this.transitioningInClass,_(r,(function(){t.removeChild(r)}))}):()=>{}),{eager:!1})),b(this,"observeMutations",(0,f.modifier)((e=>(this.mutationObserver=new MutationObserver((e=>{let t=e.some((e=>E(e.addedNodes)||E(e.removedNodes)))
t&&this.args.shouldReposition&&(t=this.args.shouldReposition(e,this.args.dropdown)),t&&this.runloopAwareReposition()})),this.mutationObserver.observe(e,{childList:!0,subtree:!0}),()=>{void 0!==this.mutationObserver&&(this.mutationObserver.disconnect(),this.mutationObserver=void 0)})),{eager:!1}))}get destinationElement(){return this.args.destinationElement?this.args.destinationElement:this.args.destination?document.getElementById(this.args.destination)||(this._contentWormhole?this._contentWormhole.getRootNode()?.querySelector("#"+this.args.destination):null):null}get animationEnabled(){const{animationEnabled:e=!0}=this.args
return e&&!0}get positionStyles(){const e={}
return void 0!==this.args.top&&(e.top=this.args.top),void 0!==this.args.left&&(e.left=this.args.left),void 0!==this.args.right&&(e.right=this.args.right),void 0!==this.args.width&&(e.width=this.args.width),void 0!==this.args.height&&(e.height=this.args.height),e}noop(){}touchStartHandler(){document.addEventListener("touchmove",this.touchMoveHandler,!0),this._contentWormhole&&this._contentWormhole.getRootNode()instanceof ShadowRoot&&this._contentWormhole.getRootNode().addEventListener("touchmove",this.touchMoveHandler,!0)}touchMoveHandler(e){this.touchMoveEvent=e,document.removeEventListener("touchmove",this.touchMoveHandler,!0),this._contentWormhole&&this._contentWormhole.getRootNode()instanceof ShadowRoot&&this._contentWormhole.getRootNode().removeEventListener("touchmove",this.touchMoveHandler,!0)}runloopAwareReposition(){this.args.dropdown&&(0,m.by)(this,(()=>{this.args.dropdown&&this.args.dropdown.actions.reposition()}))}removeGlobalEvents(){window.removeEventListener("resize",this.runloopAwareReposition),window.removeEventListener("orientationchange",this.runloopAwareReposition)}addScrollHandling(e){if(!0===this.args.preventScroll){const t=t=>{const r=t.composedPath?.()[0]||t.target
if(null!==r)if(e.contains(r)||e===t.target){const n=function(e,t){const r={deltaXNegative:0,deltaXPositive:0,deltaYNegative:0,deltaYPositive:0}
let n,i
for(;t.contains(e)||t===e;){n=e.scrollWidth-e.clientWidth,i=e.scrollHeight-e.clientHeight,r.deltaXNegative+=-e.scrollLeft,r.deltaXPositive+=n-e.scrollLeft,r.deltaYNegative+=-e.scrollTop,r.deltaYPositive+=i-e.scrollTop
const t=e.parentNode
if(null===t)break
e=t}return r}(r,e)
let{deltaX:i,deltaY:s}=c(t)
i<n.deltaXNegative?(i=n.deltaXNegative,t.preventDefault()):i>n.deltaXPositive?(i=n.deltaXPositive,t.preventDefault()):s<n.deltaYNegative?(s=n.deltaYNegative,t.preventDefault()):s>n.deltaYPositive&&(s=n.deltaYPositive,t.preventDefault()),t.defaultPrevented&&(i||s)&&h(i,s,r,e)}else t.preventDefault()}
document.addEventListener("wheel",t,{capture:!0,passive:!1}),this._contentWormhole&&this._contentWormhole.getRootNode()instanceof ShadowRoot&&this._contentWormhole.getRootNode().addEventListener("wheel",t,{capture:!0,passive:!1}),this.removeScrollHandling=()=>{document.removeEventListener("wheel",t,{capture:!0}),this._contentWormhole&&this._contentWormhole.getRootNode()instanceof ShadowRoot&&this._contentWormhole.getRootNode().removeEventListener("wheel",t,{capture:!0})}}else this.addScrollEvents(),this.removeScrollHandling=this.removeScrollEvents}removeScrollHandling(){}addScrollEvents(){window.addEventListener("scroll",this.runloopAwareReposition),this.scrollableAncestors.forEach((e=>{e.addEventListener("scroll",this.runloopAwareReposition)}))}removeScrollEvents(){window.removeEventListener("scroll",this.runloopAwareReposition),this.scrollableAncestors.forEach((e=>{e.removeEventListener("scroll",this.runloopAwareReposition)}))}}function E(e){for(let t=0;t<e.length;t++){const r=e[t]
if(void 0!==r&&"#comment"!==r.nodeName&&("#text"!==r.nodeName||""!==r.nodeValue))return!0}return!1}function N(e){for(;e&&(!e.classList||!e.classList.contains("ember-basic-dropdown-content"));){if(null===e.parentElement)return null
e=e.parentElement}return e}function _(e,t){window.requestAnimationFrame((function(){const r=window.getComputedStyle(e)
if("none"!==r.animationName&&"running"===r.animationPlayState){const r=function(){e.removeEventListener("animationend",r),t()}
e.addEventListener("animationend",r)}else t()}))}function C(e,t,r){const n=N(t)
if(null===n)return!1
{const t=`[aria-controls=${n.attributes.id.value}]`,i=document.querySelector(t)??e?.getRootNode()?.querySelector(t)
if(null===i)return!1
const s=N(i)
if(null===s)return!1
const o=s.attributes
return s&&o.id.value===r||C(e,s,r)}}d=x,(0,g.g)(d.prototype,"_contentWormhole",[o.tracked]),(0,g.g)(d.prototype,"animationClass",[o.tracked],(function(){return this.transitioningInClass})),(0,g.n)(d.prototype,"touchStartHandler",[n.action]),(0,g.n)(d.prototype,"touchMoveHandler",[n.action]),(0,g.n)(d.prototype,"runloopAwareReposition",[n.action]),(0,g.n)(d.prototype,"removeGlobalEvents",[n.action]),(0,y.setComponentTemplate)(w,x)},50178:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>u})
var n,i=r(17990),s=r.n(i),o=r(37219),a=r(80836),l=r(23574),c=(0,r(59266).createTemplateFactory)({id:"g5sMFOCr",block:'[[[44,[[28,[37,1],[[28,[37,2],[[30,1],"div"],null]],null]],[[[1,"  "],[8,[30,2],[[16,0,[29,["ember-basic-dropdown-trigger\\n      ",[52,[30,3]," ember-basic-dropdown-trigger--in-place"],"\\n      ",[52,[30,4],[28,[37,4],[" ember-basic-dropdown-trigger--",[30,4]],null]],"\\n      ",[52,[30,5],[28,[37,4],[" ember-basic-dropdown-trigger--",[30,5]],null]],"\\n      ",[30,6]]]],[16,"tabindex",[52,[51,[30,7,["disabled"]]],"0"]],[17,8],[4,[38,6],null,[["dropdown","eventType","stopPropagation"],[[30,7],[30,9],[30,10]]]],[4,[38,7],["mousedown",[28,[37,8],[[30,0,["disableDocumentTextSelect"]],true],null]],null],[4,[38,7],["mouseup",[28,[37,8],[[30,0,["disableDocumentTextSelect"]],false],null]],null],[4,[38,7],["keydown",[28,[37,8],[[28,[37,2],[[30,11],[30,0,["noop"]]],null],[30,7]],null]],null],[4,[38,7],["mousedown",[28,[37,8],[[28,[37,2],[[30,12],[30,0,["noop"]]],null],[30,7]],null]],null],[4,[38,7],["touchend",[28,[37,8],[[28,[37,2],[[30,13],[30,0,["noop"]]],null],[30,7]],null]],null],[4,[38,7],["click",[28,[37,8],[[28,[37,2],[[30,14],[30,0,["noop"]]],null],[30,7]],null]],null],[4,[38,7],["mouseenter",[28,[37,8],[[28,[37,2],[[30,15],[30,0,["noop"]]],null],[30,7]],null]],null],[4,[38,7],["mouseleave",[28,[37,8],[[28,[37,2],[[30,16],[30,0,["noop"]]],null],[30,7]],null]],null],[4,[38,7],["focus",[28,[37,8],[[28,[37,2],[[30,17],[30,0,["noop"]]],null],[30,7]],null]],null],[4,[38,7],["blur",[28,[37,8],[[28,[37,2],[[30,18],[30,0,["noop"]]],null],[30,7]],null]],null],[4,[38,7],["focusin",[28,[37,8],[[28,[37,2],[[30,19],[30,0,["noop"]]],null],[30,7]],null]],null],[4,[38,7],["focusout",[28,[37,8],[[28,[37,2],[[30,20],[30,0,["noop"]]],null],[30,7]],null]],null]],null,[["default"],[[[[1,"\\n    "],[18,21,null],[1,"\\n  "]],[]]]]],[1,"\\n"]],[2]]]],["@htmlTag","OptionalTag","@renderInPlace","@hPosition","@vPosition","@defaultClass","@dropdown","&attrs","@eventType","@stopPropagation","@onKeyDown","@onMouseDown","@onTouchEnd","@onClick","@onMouseEnter","@onMouseLeave","@onFocus","@onBlur","@onFocusIn","@onFocusOut","&default"],false,["let","element","or","if","concat","unless","basic-dropdown-trigger","on","fn","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-basic-dropdown/dist/components/basic-dropdown-trigger.js",isStrictMode:!1})
class u extends(s()){noop(){}disableDocumentTextSelect(e){e?document.body.classList.add("ember-basic-dropdown-text-select-disabled"):document.body.classList.remove("ember-basic-dropdown-text-select-disabled")}}n=u,(0,a.n)(n.prototype,"disableDocumentTextSelect",[o.action]),(0,l.setComponentTemplate)(c,u)},75574:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(61292),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"MtuSO1OM",block:'[[[11,0],[16,1,[30,0,["getDestinationId"]]],[17,1],[12],[13]],["&attrs"],false,[]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-basic-dropdown/dist/components/basic-dropdown-wormhole.js",isStrictMode:!1})
class l extends(i()){get getDestinationId(){const e=(0,s.getOwner)(this).resolveRegistration("config:environment")
if("test"===e.environment){if("undefined"==typeof document)return""
const t=e.APP?.rootElement
return document.querySelector(t)?.id??""}return e["ember-basic-dropdown"]&&e["ember-basic-dropdown"].destination||"ember-basic-dropdown-wormhole"}}(0,o.setComponentTemplate)(a,l)},18118:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>O})
var n,i=r(17990),s=r.n(i),o=r(55521),a=r(37219),l=r(29806),c=r(87172),u=r(37871),h=r(61292),d=r(80836),p=r(23574)
function f(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}var g=(0,r(59266).createTemplateFactory)({id:"k4750k2I",block:'[[[44,[[28,[37,1],null,[["uniqueId","isOpen","disabled","actions","Trigger","Content"],[[30,0,["publicAPI","uniqueId"]],[30,0,["publicAPI","isOpen"]],[30,0,["publicAPI","disabled"]],[30,0,["publicAPI","actions"]],[52,[30,1],[50,[28,[37,4],[[30,1]],null],0,null,[["dropdown","hPosition","renderInPlace","vPosition"],[[28,[37,5],[[30,0,["publicAPI"]]],null],[28,[37,5],[[30,0,["hPosition"]]],null],[28,[37,5],[[30,0,["renderInPlace"]]],null],[28,[37,5],[[30,0,["vPosition"]]],null]]]],[50,"basic-dropdown-trigger",0,null,[["dropdown","hPosition","renderInPlace","vPosition"],[[28,[37,5],[[30,0,["publicAPI"]]],null],[28,[37,5],[[30,0,["hPosition"]]],null],[28,[37,5],[[30,0,["renderInPlace"]]],null],[28,[37,5],[[30,0,["vPosition"]]],null]]]]],[52,[30,2],[50,[28,[37,4],[[30,2]],null],0,null,[["dropdown","hPosition","renderInPlace","preventScroll","rootEventType","vPosition","destination","destinationElement","top","left","right","width","height","otherStyles"],[[28,[37,5],[[30,0,["publicAPI"]]],null],[28,[37,5],[[30,0,["hPosition"]]],null],[28,[37,5],[[30,0,["renderInPlace"]]],null],[28,[37,5],[[30,3]],null],[28,[37,6],[[30,4],"click"],null],[28,[37,5],[[30,0,["vPosition"]]],null],[28,[37,5],[[30,0,["destination"]]],null],[28,[37,5],[[30,0,["destinationElement"]]],null],[28,[37,5],[[30,0,["top"]]],null],[28,[37,5],[[30,0,["left"]]],null],[28,[37,5],[[30,0,["right"]]],null],[28,[37,5],[[30,0,["width"]]],null],[28,[37,5],[[30,0,["height"]]],null],[28,[37,5],[[30,0,["otherStyles"]]],null]]]],[50,"basic-dropdown-content",0,null,[["dropdown","hPosition","renderInPlace","preventScroll","rootEventType","vPosition","destination","destinationElement","top","left","right","width","height","otherStyles"],[[28,[37,5],[[30,0,["publicAPI"]]],null],[28,[37,5],[[30,0,["hPosition"]]],null],[28,[37,5],[[30,0,["renderInPlace"]]],null],[28,[37,5],[[30,3]],null],[28,[37,6],[[30,4],"click"],null],[28,[37,5],[[30,0,["vPosition"]]],null],[28,[37,5],[[30,0,["destination"]]],null],[28,[37,5],[[30,0,["destinationElement"]]],null],[28,[37,5],[[30,0,["top"]]],null],[28,[37,5],[[30,0,["left"]]],null],[28,[37,5],[[30,0,["right"]]],null],[28,[37,5],[[30,0,["width"]]],null],[28,[37,5],[[30,0,["height"]]],null],[28,[37,5],[[30,0,["otherStyles"]]],null]]]]]]]]],[[[41,[30,0,["renderInPlace"]],[[[1,"    "],[11,0],[24,0,"ember-basic-dropdown"],[17,6],[12],[18,7,[[30,5]]],[13],[1,"\\n"]],[]],[[[1,"    "],[18,7,[[30,5]]],[1,"\\n"]],[]]]],[5]]]],["@triggerComponent","@contentComponent","@preventScroll","@rootEventType","api","&attrs","&default"],false,["let","hash","if","component","ensure-safe-component","readonly","or","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-basic-dropdown/dist/components/basic-dropdown.js",isStrictMode:!1})
const y={},v=["top","left","right","width","height"]
var b=new WeakMap,w=new WeakMap,S=new WeakMap,k=new WeakMap,x=new WeakMap,E=new WeakMap,N=new WeakMap,_=new WeakMap,C=new WeakMap,A=new WeakMap
class O extends(s()){get horizontalPosition(){return this.args.horizontalPosition||"auto"}get verticalPosition(){return this.args.verticalPosition||"auto"}get destination(){return this.args.destination||this._getDestinationId()}get destinationElement(){return this.args.destinationElement?this.args.destinationElement:document.getElementById(this.destination)||(this.triggerElement&&this.triggerElement.getRootNode()instanceof ShadowRoot?this.triggerElement.getRootNode()?.querySelector(`#${this.destination}`):null)}get disabled(){const e=this.args.disabled||!1
return this._previousDisabled!==y&&this._previousDisabled!==e&&(0,c.nf)(this,"actions",(()=>{e&&this.publicAPI.isOpen&&(this.isOpen=!1),this.args.registerAPI&&this.args.registerAPI(this.publicAPI)})),this._previousDisabled=e,e}get publicAPI(){return{uniqueId:this._uid,isOpen:this.isOpen,disabled:this.disabled,actions:this._actions}}constructor(e,t){super(e,t),m(this,b,void(0,d.i)(this,"hPosition")),m(this,w,void(0,d.i)(this,"vPosition")),m(this,S,void(0,d.i)(this,"top")),m(this,k,void(0,d.i)(this,"left")),m(this,x,void(0,d.i)(this,"right")),m(this,E,void(0,d.i)(this,"width")),m(this,N,void(0,d.i)(this,"height")),m(this,_,void(0,d.i)(this,"otherStyles")),m(this,C,void(0,d.i)(this,"isOpen")),m(this,A,void(0,d.i)(this,"renderInPlace")),f(this,"previousVerticalPosition",void 0),f(this,"previousHorizontalPosition",void 0),f(this,"triggerElement",null),f(this,"dropdownElement",null),f(this,"_uid",(0,l.guidFor)(this)),f(this,"_dropdownId",this.args.dropdownId||`ember-basic-dropdown-content-${this._uid}`),f(this,"_previousDisabled",y),f(this,"_actions",{open:this.open,close:this.close,toggle:this.toggle,reposition:this.reposition,registerTriggerElement:this.registerTriggerElement,registerDropdownElement:this.registerDropdownElement,getTriggerElement:()=>this.triggerElement}),this.args.onInit&&this.args.onInit(this.publicAPI),this.args.registerAPI&&this.args.registerAPI(this.publicAPI)}willDestroy(){super.willDestroy(),this.args.registerAPI&&this.args.registerAPI(null)}open(e){if(this.isDestroyed)return
if(this.publicAPI.disabled||this.publicAPI.isOpen)return
if(this.args.onOpen&&!1===this.args.onOpen(this.publicAPI,e))return
this.isOpen=!0,this.args.registerAPI&&this.args.registerAPI(this.publicAPI)
const t=this._getTriggerElement()
if(t){const e=t.parentElement
e&&e.setAttribute("aria-owns",this._dropdownId)}}close(e,t){if(this.isDestroyed)return
if(this.publicAPI.disabled||!this.publicAPI.isOpen)return
if(this.args.onClose&&!1===this.args.onClose(this.publicAPI,e))return
if(this.isDestroyed)return
this.hPosition=this.vPosition=null,this.top=this.left=this.right=this.width=this.height=void 0,this.previousVerticalPosition=this.previousHorizontalPosition=void 0,this.isOpen=!1,this.args.registerAPI&&this.args.registerAPI(this.publicAPI)
const r=this._getTriggerElement()
if(!r)return
const n=r.parentElement
n&&n.removeAttribute("aria-owns"),t||r.tabIndex>-1&&r.focus()}toggle(e){this.publicAPI.isOpen?this.close(e):this.open(e)}reposition(){if(!this.publicAPI.isOpen)return
const e=this._getDropdownElement(),t=this._getTriggerElement()
if(!e||!t||!this.destinationElement)return
const{horizontalPosition:r,verticalPosition:n,previousHorizontalPosition:i,previousVerticalPosition:s}=this,{renderInPlace:o=!1,matchTriggerWidth:a=!1}=this.args,l=(this.args.calculatePosition||u.ZP)(t,e,this.destinationElement,{horizontalPosition:r,verticalPosition:n,previousHorizontalPosition:i,previousVerticalPosition:s,renderInPlace:o,matchTriggerWidth:a,dropdown:this})
return this.applyReposition(t,e,l)}registerTriggerElement(e){this.triggerElement=e}registerDropdownElement(e){this.dropdownElement=e}applyReposition(e,t,r){const n={hPosition:r.horizontalPosition,vPosition:r.verticalPosition,otherStyles:Object.assign({},this.otherStyles)}
if(r.style&&(void 0!==r.style.top&&(n.top=`${r.style.top}px`),void 0!==r.style.left?(n.left=`${r.style.left}px`,n.right=void 0,void 0!==r.style.right&&(r.style.right=void 0)):void 0!==r.style.right&&(n.right=`${r.style.right}px`,n.left=void 0),void 0!==r.style.width&&(n.width=`${r.style.width}px`),void 0!==r.style.height&&(n.height=`${r.style.height}px`),void 0===this.top))for(const i in r.style)void 0!==r.style[i]&&("number"==typeof r.style[i]?t.style.setProperty(i,`${r.style[i]}px`):t.style.setProperty(i,`${r.style[i]}`))
for(const i in r.style)v.includes(i)||(n.otherStyles,n.otherStyles[i]=r.style[i])
return this.hPosition=n.hPosition,this.vPosition=n.vPosition,this.top=n.top,this.left=n.left,this.right=n.right,this.width=n.width,this.height=n.height,this.otherStyles=n.otherStyles,this.previousHorizontalPosition=r.horizontalPosition,this.previousVerticalPosition=r.verticalPosition,n}_getDestinationId(){const e=(0,h.getOwner)(this).resolveRegistration("config:environment")
if("test"===e.environment){if("undefined"==typeof document)return"ember-basic-dropdown-wormhole"
const t=e.APP?.rootElement
return document.querySelector(t)?.id??"ember-basic-dropdown-wormhole"}return e["ember-basic-dropdown"]&&e["ember-basic-dropdown"].destination||"ember-basic-dropdown-wormhole"}_getDropdownElement(){return this.dropdownElement?this.dropdownElement:document.querySelector(`[id="${this._dropdownId}"]`)}_getTriggerElement(){return this.triggerElement?this.triggerElement:document.querySelector(`[data-ebd-id=${this.publicAPI.uniqueId}-trigger]`)}}n=O,(0,d.g)(n.prototype,"hPosition",[o.tracked],(function(){return null})),(0,d.g)(n.prototype,"vPosition",[o.tracked],(function(){return null})),(0,d.g)(n.prototype,"top",[o.tracked]),(0,d.g)(n.prototype,"left",[o.tracked]),(0,d.g)(n.prototype,"right",[o.tracked]),(0,d.g)(n.prototype,"width",[o.tracked]),(0,d.g)(n.prototype,"height",[o.tracked]),(0,d.g)(n.prototype,"otherStyles",[o.tracked],(function(){return{}})),(0,d.g)(n.prototype,"isOpen",[o.tracked],(function(){return this.args.initiallyOpened||!1})),(0,d.g)(n.prototype,"renderInPlace",[o.tracked],(function(){return void 0!==this.args.renderInPlace&&this.args.renderInPlace})),(0,d.n)(n.prototype,"open",[a.action]),(0,d.n)(n.prototype,"close",[a.action]),(0,d.n)(n.prototype,"toggle",[a.action]),(0,d.n)(n.prototype,"reposition",[a.action]),(0,d.n)(n.prototype,"registerTriggerElement",[a.action]),(0,d.n)(n.prototype,"registerDropdownElement",[a.action]),(0,p.setComponentTemplate)(g,O)},65306:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>h})
var n,i=r(38575),s=r(3353),o=r(37219),a=r(19341),l=r(33732),c=r(80836)
function u(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class h extends i.default{constructor(e,t){super(e,t),u(this,"didSetup",!1),u(this,"triggerElement",void 0),u(this,"toggleIsBeingHandledByTouchEvents",!1),u(this,"touchMoveEvent",void 0),u(this,"dropdown",void 0),u(this,"desiredEventType",void 0),u(this,"stopPropagation",void 0),(0,a.registerDestructor)(this,d)}modify(e,t,r){(0,s.assert)("must be provided dropdown object",r.dropdown),this.dropdown=r.dropdown,this.desiredEventType=r.eventType??"click",this.stopPropagation=r.stopPropagation,this.didSetup||(this.setup(e),this.didSetup=!0),this.update(e,t,r)}setup(e){this.triggerElement=e,this.dropdown?.actions?.registerTriggerElement&&this.dropdown.actions.registerTriggerElement(e),e.getAttribute("role")||e.setAttribute("role","button"),e.addEventListener("click",this.handleMouseEvent),e.addEventListener("mousedown",this.handleMouseEvent),e.addEventListener("keydown",this.handleKeyDown),e.addEventListener("touchstart",this.handleTouchStart),e.addEventListener("touchend",this.handleTouchEnd)}update(e,t,r){const{dropdown:n}=r
e.setAttribute("data-ebd-id",`${n.uniqueId}-trigger`),null===e.getAttribute("aria-owns")&&e.setAttribute("aria-owns",`ember-basic-dropdown-content-${n.uniqueId}`),null===e.getAttribute("aria-controls")&&e.setAttribute("aria-controls",`ember-basic-dropdown-content-${n.uniqueId}`),e.setAttribute("aria-expanded",n.isOpen?"true":"false"),e.setAttribute("aria-disabled",n.disabled?"true":"false")}handleMouseEvent(e){if("undefined"==typeof document)return
const{dropdown:t,desiredEventType:r,stopPropagation:n}=this
if((0,a.isDestroyed)(this)||!t||t.disabled)return
const i=e.type,s=0!==e.button
i!==r||s||(n&&e.stopPropagation(),this.toggleIsBeingHandledByTouchEvents?this.toggleIsBeingHandledByTouchEvents=!1:t.actions.toggle(e))}handleKeyDown(e){const t=this.dropdown?.disabled,r=this.dropdown?.actions
!t&&r&&(13===e.keyCode?r.toggle(e):32===e.keyCode?(e.preventDefault(),r.toggle(e)):27===e.keyCode&&r.close(e))}handleTouchStart(){document.addEventListener("touchmove",this._touchMoveHandler),this.triggerElement?.getRootNode()instanceof ShadowRoot&&(this.triggerElement?.getRootNode()).addEventListener("touchmove",this._touchMoveHandler)}handleTouchEnd(e){this.toggleIsBeingHandledByTouchEvents=!0
const t=this.dropdown?.disabled,r=this.dropdown?.actions
if(e&&e.defaultPrevented||t||!r)return;(0,l.Z)(e,this.touchMoveEvent)||r.toggle(e),this.touchMoveEvent=void 0,document.removeEventListener("touchmove",this._touchMoveHandler)
const n=e.composedPath?.()[0]||e.target
null!==n&&n.focus(),setTimeout((function(){if(e.target)try{const t=document.createEvent("MouseEvents")
t.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}catch{const t=new Event("click")
e.target.dispatchEvent(t)}}),0),e.preventDefault()}_touchMoveHandler(e){this.touchMoveEvent=e,document.removeEventListener("touchmove",this._touchMoveHandler),this.triggerElement?.getRootNode()instanceof ShadowRoot&&(this.triggerElement?.getRootNode()).removeEventListener("touchmove",this._touchMoveHandler)}}function d(e){const{triggerElement:t}=e
t&&("undefined"!=typeof document&&document.removeEventListener("touchmove",e._touchMoveHandler),t?.getRootNode()instanceof ShadowRoot&&(t?.getRootNode()).removeEventListener("touchmove",e._touchMoveHandler),t.removeEventListener("click",e.handleMouseEvent),t.removeEventListener("mousedown",e.handleMouseEvent),t.removeEventListener("keydown",e.handleKeyDown),t.removeEventListener("touchstart",e.handleTouchStart),t.removeEventListener("touchend",e.handleTouchEnd))}n=h,(0,c.n)(n.prototype,"handleMouseEvent",[o.action]),(0,c.n)(n.prototype,"handleKeyDown",[o.action]),(0,c.n)(n.prototype,"handleTouchStart",[o.action]),(0,c.n)(n.prototype,"handleTouchEnd",[o.action]),(0,c.n)(n.prototype,"_touchMoveHandler",[o.action])},37871:(e,t,r)=>{"use strict"
function n(e){let t=window.getComputedStyle(e)
const r="absolute"===t.position,n=/(auto|scroll)/
if("fixed"===t.position)return document.body
for(let i=e;i=i.parentElement;)if(t=window.getComputedStyle(i),(!r||"static"!==t.position)&&n.test(t.overflow+t.overflowY+t.overflowX))return i
return document.body}r.d(t,{ZP:()=>i,rP:()=>n})
const i=(e,t,r,n)=>n.renderInPlace?((e,t,r,{horizontalPosition:n,verticalPosition:i})=>{let s
const o={horizontalPosition:"left",verticalPosition:"below",style:{}}
if("auto"===n){const r=e.getBoundingClientRect()
s=t.getBoundingClientRect()
const n=window.pageXOffset+window.innerWidth
o.horizontalPosition=r.left+s.width>n?"right":"left"}else if("center"===n){const{width:r}=e.getBoundingClientRect(),{width:n}=t.getBoundingClientRect()
o.style={left:(r-n)/2}}else if("auto-right"===n){const r=e.getBoundingClientRect(),n=t.getBoundingClientRect()
o.horizontalPosition=r.right>n.width?"right":"left"}else"right"===n&&(o.horizontalPosition="right")
return"above"===i?(o.verticalPosition=i,s=s||t.getBoundingClientRect(),o.style.top=-s.height):o.verticalPosition="below",o})(e,t,0,n):((e,t,r,{horizontalPosition:n,verticalPosition:i,matchTriggerWidth:s,previousHorizontalPosition:o,previousVerticalPosition:a})=>{const l=window.pageXOffset,c=window.pageYOffset
let{left:u,top:h}=e.getBoundingClientRect()
const{width:d,height:p}=e.getBoundingClientRect(),{height:f}=t.getBoundingClientRect()
let{width:m}=t.getBoundingClientRect()
const g=document.body.clientWidth||window.innerWidth,y={}
let v=r.parentNode
v instanceof ShadowRoot&&(v=v.host)
let b=window.getComputedStyle(v).position
for(;"relative"!==b&&"absolute"!==b&&"BODY"!==v.tagName.toUpperCase()&&!(v.parentNode instanceof ShadowRoot);)v=v.parentNode,b=window.getComputedStyle(v).position
if("relative"===b||"absolute"===b){const e=v.getBoundingClientRect()
u-=e.left,h-=e.top
const{offsetParent:t}=v
t&&(u-=t.scrollLeft,h-=t.scrollTop)}m=s?d:m,s&&(y.width=m)
const w=u+l
if("auto"===n||"auto-left"===n){const e=Math.min(g,u+m)-Math.max(0,u),t=Math.min(g,u+d)-Math.max(0,u+d-m)
n=m>e&&t>e?"right":m>t&&e>t?"left":o||"left"}else if("auto-right"===n){const e=Math.min(g,u+m)-Math.max(0,u),t=Math.min(g,u+d)-Math.max(0,u+d-m)
n=m>t&&e>t?"left":m>e&&t>e?"right":o||"right"}"right"===n?y.right=g-(w+d):y.left="center"===n?w+(d-m)/2:w
let S=h
if("relative"===window.getComputedStyle(document.body).getPropertyValue("position")||(S+=c),"above"===i)y.top=S-f
else if("below"===i)y.top=S+p
else{const e=S+p+f<c+window.innerHeight,t=h>f
i=e||t?"below"===a&&!e&&t?"above":"above"===a&&!t&&e?"below":a||(e?"below":"above"):"below",y.top=S+("below"===i?p:-f)}return{horizontalPosition:n,verticalPosition:i,style:y}})(e,t,r,n)},33732:(e,t,r)=>{"use strict"
function n(e,t){if(!t)return!1
if(!e.changedTouches?.[0]||"stylus"!==t.changedTouches[0].touchType)return!0
const r=Math.abs((t.changedTouches[0]?.pageX??0)-e.changedTouches[0].pageX),n=Math.abs((t.changedTouches[0]?.pageY??0)-e.changedTouches[0].pageY)
return r>=5||n>=5}r.d(t,{Z:()=>n})},9097:(e,t,r)=>{"use strict"
r.d(t,{C:()=>u})
var n=r(50589),i=r.n(n),s=r(42022),o=r(83892),a=r(3353),l=r(98773)
class c extends o.q{assert(...e){(0,a.assert)(...e)}async(e){(0,l.join)((()=>(0,l.schedule)("actions",e)))}reportUncaughtRejection(e){(0,l.next)(null,(function(){if(!i().onerror)throw e
i().onerror(e)}))}defer(){return(0,s.PQ)()}globalDebuggingEnabled(){return i().ENV.DEBUG_TASKS}}const u=new c},83892:(e,t,r)=>{"use strict"
r.d(t,{J:()=>i,q:()=>n})
class n{assert(){}async(e){Promise.resolve().then(e)}reportUncaughtRejection(){this.async((e=>{throw e}))}defer(){let e={promise:null,resolve:null,reject:null},t=new Promise(((t,r)=>{e.resolve=t,e.reject=r}))
return e.promise=t,e}globalDebuggingEnabled(){return!1}}const i=new n},42833:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>n})
class n{constructor(e){this.maxConcurrency=e||1}}},92215:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>a})
var n=r(42833),i=r(95715)
const s=(0,i.RX)("it belongs to a 'drop' Task that was already running")
class o{constructor(e){this.remainingSlots=e}step(){return this.remainingSlots>0?(this.remainingSlots--,i.Hw):s}}class a extends n.Z{makeReducer(){return new o(this.maxConcurrency)}}},96369:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>o})
var n=r(42833),i=r(95715)
class s{constructor(e){this.remainingSlots=e}step(){return this.remainingSlots>0?(this.remainingSlots--,i.Hw):i.em}}class o extends n.Z{makeReducer(){return new s(this.maxConcurrency)}}},95715:(e,t,r)=>{"use strict"
r.d(t,{D1:()=>s,Hw:()=>o,Jn:()=>i,M9:()=>n,RX:()=>l,em:()=>a})
const n="CANCELLED",i="STARTED",s="QUEUED",o={type:i},a={type:s},l=e=>({type:n,reason:e})},45931:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>a})
var n=r(42833),i=r(95715)
const s=(0,i.RX)("it belongs to a 'keepLatest' Task that was already running")
class o{constructor(e,t){this.remainingSlots=e,this.numToCancel=t}step(){return this.remainingSlots>0?(this.remainingSlots--,i.Hw):this.numToCancel>0?(this.numToCancel--,s):i.em}}class a extends n.Z{makeReducer(e,t){let r=e+t
return new o(this.maxConcurrency,r-this.maxConcurrency-1)}}},47734:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>a})
var n=r(42833),i=r(95715)
const s=(0,i.RX)("it belongs to a 'restartable' Task that was .perform()ed again")
class o{constructor(e){this.numToCancel=e}step(){return this.numToCancel>0?(this.numToCancel--,s):i.Hw}}class a extends n.Z{makeReducer(e,t){return new o(e+t-this.maxConcurrency)}}},20414:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>d})
var n=r(95715)
const i=new Map
class s{constructor(e,t,r){this.stateTracker=t,this.schedulerPolicy=e,this.initialTaskInstances=r,this.startingInstances=[]}process(){let[e,t,r]=this.filterFinishedTaskInstances(),n=this.schedulerPolicy.makeReducer(t,r),i=e.filter((e=>this.setTaskInstanceExecutionState(e,n.step())))
return this.stateTracker.computeFinalStates((e=>this.applyState(e))),this.startingInstances.forEach((e=>e.start())),i}filterFinishedTaskInstances(){let e=0,t=0
return[this.initialTaskInstances.filter((r=>{let n=this.stateTracker.stateFor(r.task),i=r.executor.state
return i.isFinished?(n.onCompletion(r),!1):(i.hasStarted?e+=1:t+=1,!0)})),e,t]}setTaskInstanceExecutionState(e,t){let r=this.stateTracker.stateFor(e.task)
switch(e.executor.counted||(e.executor.counted=!0,r.onPerformed(e)),t.type){case n.M9:return e.cancel(t.reason),!1
case n.Jn:return e.executor.state.hasStarted||(this.startingInstances.push(e),r.onStart(e)),r.onRunning(e),!0
case n.D1:return r.onQueued(e),!0}}applyState(e){let{taskable:t}=e
if(!t.onState)return
const{guid:r}=t
if(i.has(r)&&e.tag<i.get(r))return
let n=Object.assign({numRunning:e.numRunning,numQueued:e.numQueued,numPerformedInc:e.numPerformedInc},e.attrs)
t.onState(n,t),i.set(r,e.tag)}}var o=r(30674)
class a{constructor(e,t){this.taskable=e,this.group=e.group,this.numRunning=0,this.numQueued=0,this.numPerformedInc=0,this.attrs={},this.tag=t}onCompletion(e){let t=e.completionState
this.attrs.lastRunning=null,this.attrs.lastComplete=e,t===o.qc?this.attrs.lastSuccessful=e:(t===o.Uf?this.attrs.lastErrored=e:t===o.Rv&&(this.attrs.lastCanceled=e),this.attrs.lastIncomplete=e)}onPerformed(e){this.numPerformedInc+=1,this.attrs.lastPerformed=e}onStart(e){this.attrs.last=e}onRunning(e){this.attrs.lastRunning=e,this.numRunning+=1}onQueued(){this.numQueued+=1}recurseTaskGroups(e){let t=this.group
for(;t;)e(t),t=t.group}applyStateFrom(e){Object.assign(this.attrs,e.attrs),this.numRunning+=e.numRunning,this.numQueued+=e.numQueued,this.numPerformedInc+=e.numPerformedInc}}const l=new Map
class c{constructor(){this.states=new Map}stateFor(e){let t=e.guid,r=this.states.get(t)
if(!r){let n=l.has(t)?l.get(t):0
r=new a(e,++n),this.states.set(t,r),l.set(t,n)}return r}computeFinalStates(e){this.computeRecursiveState(),this.forEachState((t=>e(t)))}computeRecursiveState(){this.forEachState((e=>{let t=e
e.recurseTaskGroups((e=>{let r=this.stateFor(e)
r.applyStateFrom(t),t=r}))}))}forEachState(e){this.states.forEach((t=>e(t)))}}const u=new class{onCompletion(){}onPerformed(){}onStart(){}onRunning(){}onQueued(){}}
class h{stateFor(){return u}computeFinalStates(){}}class d{constructor(e,t){this.schedulerPolicy=e,this.stateTrackingEnabled=t,this.taskInstances=[]}cancelAll(e,t){let r=this.taskInstances.map((r=>{r.task.guids[e]&&r.executor.cancel(t)})).filter((e=>!!e))
return Promise.all(r)}perform(e){e.onFinalize((()=>this.scheduleRefresh())),this.taskInstances.push(e),this.refresh()}scheduleRefresh(){Promise.resolve().then((()=>this.refresh()))}refresh(){let e=this.stateTrackingEnabled?new c:new h,t=new s(this.schedulerPolicy,e,this.taskInstances)
this.taskInstances=t.process()}}},18517:(e,t,r)=>{"use strict"
r.d(t,{gi:()=>b,x_:()=>y,aw:()=>v,SY:()=>g})
var n=r(20414),i=r(95715)
const s=new class{step(){return i.Hw}}
class o{makeReducer(){return s}}var a=r(96369),l=r(92215),c=r(45931),u=r(47734),h=r(33049),d=r(72292),p=r(83892)
function f(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m={enqueue:(e,t)=>t&&e.setBufferPolicy(a.Z),evented:(e,t)=>t&&e.setEvented(t),debug:(e,t)=>t&&e.setDebug(t),drop:(e,t)=>t&&e.setBufferPolicy(l.Z),group:(e,t)=>e.setGroup(t),keepLatest:(e,t)=>t&&e.setBufferPolicy(c.Z),maxConcurrency:(e,t)=>e.setMaxConcurrency(t),onState:(e,t)=>e.setOnState(t),restartable:(e,t)=>t&&e.setBufferPolicy(u.Z)}
function g(e,t){if(m[e])throw new Error(`A modifier with the name '${e}' has already been defined.`)
m[e]=t}function y(e){return m[e]}function v(e){return e in m}let b=class{constructor(e="<unknown>",t=null,r={}){f(this,"env",p.J),f(this,"_debug",null),f(this,"_enabledModifiers",[]),f(this,"_hasSetConcurrencyConstraint",!1),f(this,"_hasSetBufferPolicy",!1),f(this,"_hasEnabledEvents",!1),f(this,"_maxConcurrency",null),f(this,"_onStateCallback",((e,t)=>t.setState(e))),f(this,"_schedulerPolicyClass",o),f(this,"_taskGroupPath",null),this.name=e,this.taskDefinition=t,this.options=r,this._processModifierOptions(r)}createTask(e){let t=this.getTaskOptions(e)
return new h.i(Object.assign({generatorFactory:t=>this.taskDefinition.apply(e,t)},t))}createTaskGroup(e){let t=this.getTaskOptions(e)
return new d.p(t)}getModifier(e){if(v(e))return m[e].bind(null,this)}getOptions(){return this.options}getScheduler(e,t){return new n.Z(e,t)}getTaskOptions(e){let t,r,n=this._onStateCallback
if(this._taskGroupPath){if(t=e[this._taskGroupPath],!(t instanceof d.p))throw new Error(`Expected group '${this._taskGroupPath}' to be defined but was not found.`)
r=t.scheduler}else{let e=new this._schedulerPolicyClass(this._maxConcurrency)
r=this.getScheduler(e,n&&"function"==typeof n)}return{context:e,debug:this._debug,env:this.env,name:this.name,group:t,scheduler:r,hasEnabledEvents:this._hasEnabledEvents,onStateCallback:n,enabledModifiers:this._enabledModifiers,modifierOptions:this.getOptions()}}setBufferPolicy(e){return function(e){if(e._hasSetBufferPolicy)throw new Error(`Cannot set multiple buffer policies on a task or task group. ${e._schedulerPolicyClass} has already been set for task or task group '${e.name}'`)}(this),this._hasSetBufferPolicy=!0,this._hasSetConcurrencyConstraint=!0,this._schedulerPolicyClass=e,function(e){if(e._hasSetConcurrencyConstraint&&e._taskGroupPath)throw new Error("Cannot use both 'group' and other concurrency-constraining task modifiers (e.g. 'drop', 'enqueue', 'restartable')")}(this),this}setDebug(e){return this._debug=e,this}setEvented(e){return this._hasEnabledEvents=e,this}setMaxConcurrency(e){return this._hasSetConcurrencyConstraint=!0,this._maxConcurrency=e,this}setGroup(e){return this._taskGroupPath=e,this}setName(e){return this.name=e,this}setOnState(e){return this._onStateCallback=e,this}setTaskDefinition(e){return this.taskDefinition=e,this}_processModifierOptions(e){if(e)for(let t of Object.keys(e)){let r=e[t],n=this.getModifier(t)
"function"==typeof n&&n(r)&&this._enabledModifiers.push(t)}}}},99058:(e,t,r)=>{"use strict"
r.d(t,{Id:()=>s,Po:()=>i,cQ:()=>l,gX:()=>a,he:()=>o,nZ:()=>c,pc:()=>n})
const n="TaskCancelation"
function i(e){return e&&e.name===n}const s="explicit",o="yielded",a="lifespan_end",l="parent_cancel"
class c{constructor(e,t){this.kind=e,this.reason=t,this.promise=new Promise((e=>{this.finalize=e}))}}},30674:(e,t,r)=>{"use strict"
r.d(t,{Rv:()=>o,Tp:()=>n,Uf:()=>s,qc:()=>i})
const n=0,i=1,s=2,o=3},64228:(e,t,r)=>{"use strict"
r.d(t,{QS:()=>c,fx:()=>h,Sq:()=>u,M0:()=>m,CZ:()=>f})
class n{constructor(e,t,r){this.value=e,this.done=t,this.errored=r}}class i{constructor(e){this.done=!1,this.generatorFactory=e,this.iterator=null}step(e,t){try{let r=this.getIterator(),{value:i,done:s}=r[t](e)
return s?this.finalize(i,!1):new n(i,!1,!1)}catch(e){return this.finalize(e,!0)}}getIterator(){return this.iterator||this.done||(this.iterator=this.generatorFactory()),this.iterator}finalize(e,t){return this.done=!0,this.iterator=null,new n(e,!0,t)}}var s=r(17563),o=r(56795),a=r(30674),l=r(99058)
const c="PERFORM_TYPE_DEFAULT",u="PERFORM_TYPE_UNLINKED",h="PERFORM_TYPE_LINKED",d={}
let p=[]
function f(){return p[p.length-1]}class m{constructor({generatorFactory:e,env:t,debug:r}){this.generatorState=new i(e),this.state=Object.assign({},s.Y),this.index=1,this.disposers=[],this.finalizeCallbacks=[],this.env=t,this.debug=r,this.cancelRequest=null}start(){this.state.hasStarted||this.cancelRequest||(this.setState({hasStarted:!0}),this.proceedSync(o.If,void 0),this.taskInstance.onStarted())}cancel(e){return this.requestCancel(e)?(this.state.hasStarted?this.proceedWithCancelAsync():this.finalizeWithCancel(),this.cancelRequest.promise):(e.finalize(),e.promise)}setState(e){Object.assign(this.state,e),this.taskInstance.setState(this.state)}proceedChecked(e,t,r){this.state.isFinished||this.advanceIndex(e)&&(t===o.Es?(this.requestCancel(new l.nZ(l.he),r),this.proceedWithCancelAsync()):this.proceedAsync(t,r))}proceedWithCancelAsync(){this.proceedAsync(o.iu,d)}proceedAsync(e,t){this.advanceIndex(this.index),this.env.async((()=>this.proceedSync(e,t)))}proceedSync(e,t){this.state.isFinished||(this.dispose(),this.generatorState.done?this.handleResolvedReturnedValue(e,t):this.handleResolvedContinueValue(e,t))}handleResolvedContinueValue(e,t){let r=this.index,n=this.generatorStep(t,e)
this.advanceIndex(r)&&(n.errored?this.finalize(n.value,a.Uf):this.handleYieldedValue(n))}handleResolvedReturnedValue(e,t){switch(e){case o.If:case o.iu:this.finalize(t,a.qc)
break
case o.Ln:this.finalize(t,a.Uf)}}handleYieldedUnknownThenable(e){let t=this.index
e.then((e=>{this.proceedChecked(t,o.If,e)}),(e=>{this.proceedChecked(t,o.Ln,e)}))}advanceIndex(e){if(this.index===e)return++this.index}handleYieldedValue(e){let t=e.value
t?(this.addDisposer(t[o.uv]),t[o.G4]?this.invokeYieldable(t):"function"==typeof t.then?this.handleYieldedUnknownThenable(t):this.proceedWithSimpleValue(t)):this.proceedWithSimpleValue(t)}proceedWithSimpleValue(e){this.proceedAsync(o.If,e)}addDisposer(e){"function"==typeof e&&this.disposers.push(e)}dispose(){let e=this.disposers
0!==e.length&&(this.disposers=[],e.forEach((e=>e())))}generatorStep(e,t){p.push(this)
let r=this.generatorState.step(e,t)
if(p.pop(),this._expectsLinkedYield){let e=r.value
e&&e.performType===h||console.warn("You performed a .linked() task without immediately yielding/returning it. This is currently unsupported (but might be supported in future version of ember-concurrency)."),this._expectsLinkedYield=!1}return r}maybeResolveDefer(){this.defer&&this.state.isFinished&&(this.state.completionState===a.qc?this.defer.resolve(this.state.value):this.defer.reject(this.state.error))}onFinalize(e){this.finalizeCallbacks.push(e),this.state.isFinished&&this.runFinalizeCallbacks()}runFinalizeCallbacks(){this.finalizeCallbacks.forEach((e=>e())),this.finalizeCallbacks=[],this.maybeResolveDefer(),this.maybeThrowUnhandledTaskErrorLater()}promise(){return this.defer||(this.defer=this.env.defer(),this.asyncErrorsHandled=!0,this.maybeResolveDefer()),this.defer.promise}maybeThrowUnhandledTaskErrorLater(){this.asyncErrorsHandled||this.state.completionState!==a.Uf||(0,l.Po)(this.state.error)||this.env.async((()=>{this.asyncErrorsHandled||this.env.reportUncaughtRejection(this.state.error)}))}requestCancel(e){return!this.cancelRequest&&!this.state.isFinished&&(this.cancelRequest=e,!0)}finalize(e,t){if(this.cancelRequest)return this.finalizeWithCancel()
let r={completionState:t}
t===a.qc?(r.isSuccessful=!0,r.value=e):t===a.Uf?(r.isError=!0,r.error=e):t===a.Rv&&(r.error=e),this.finalizeShared(r)}finalizeWithCancel(){let e=this.taskInstance.formatCancelReason(this.cancelRequest.reason),t=new Error(e)
this.debugEnabled()&&console.log(e),t.name=l.pc,this.finalizeShared({isCanceled:!0,completionState:a.Rv,error:t,cancelReason:e}),this.cancelRequest.finalize()}debugEnabled(){return this.debug||this.env.globalDebuggingEnabled()}finalizeShared(e){this.index++,e.isFinished=!0,this.setState(e),this.runFinalizeCallbacks(),this.dispatchFinalizeEvents(e.completionState)}dispatchFinalizeEvents(e){switch(e){case a.qc:this.taskInstance.onSuccess()
break
case a.Uf:this.taskInstance.onError(this.state.error)
break
case a.Rv:this.taskInstance.onCancel(this.state.cancelReason)}}invokeYieldable(e){try{let t=e[o.G4](this.taskInstance,this.index)
this.addDisposer(t)}catch(e){this.env.reportUncaughtRejection(e)}}onYielded(e,t){this.asyncErrorsHandled=!0,this.onFinalize((()=>{let r=this.state.completionState
r===a.qc?e.proceed(t,o.If,this.state.value):r===a.Uf?e.proceed(t,o.Ln,this.state.error):r===a.Rv&&e.proceed(t,o.Es,null)}))
let r=this.getPerformType()
if(r!==u)return()=>{this.detectSelfCancelLoop(r,e),this.cancel(new l.nZ(l.cQ))}}getPerformType(){return this.taskInstance.performType||c}detectSelfCancelLoop(e,t){if(e!==c)return
let r=t.executor&&t.executor.cancelRequest
!r||r.kind!==l.gX||this.cancelRequest||this.state.isFinished||this.taskInstance.selfCancelLoopWarning(t)}}},17563:(e,t,r)=>{"use strict"
r.d(t,{Y:()=>n})
const n={completionState:r(30674).Tp,value:null,error:null,isSuccessful:!1,isError:!1,isCanceled:!1,hasStarted:!1,isFinished:!1}},20505:(e,t,r)=>{"use strict"
r.d(t,{L:()=>n})
const n={last:null,lastRunning:null,lastPerformed:null,lastSuccessful:null,lastComplete:null,lastErrored:null,lastCanceled:null,lastIncomplete:null,performCount:0}
Object.freeze(n)},72292:(e,t,r)=>{"use strict"
r.d(t,{p:()=>i})
var n=r(61623)
let i=class extends n.M{}},33049:(e,t,r)=>{"use strict"
r.d(t,{i:()=>o})
var n=r(61623),i=r(64228)
class s{constructor(e,t,r){this.task=e,this.performType=t,this.linkedObject=r}perform(...e){return this.task._performShared(e,this.performType,this.linkedObject)}}let o=class e extends n.M{constructor(e){super(e),this.generatorFactory=e.generatorFactory,this.perform=this._perform.bind(this)}linked(){let e=(0,i.CZ)()
if(!e)throw new Error("You can only call .linked() from within a task.")
return new s(this,i.fx,e)}unlinked(){return new s(this,i.Sq,null)}toString(){return`<Task:${this.name}>`}_clone(){return new e({context:this.context,debug:this.debug,env:this.env,generatorFactory:this.generatorFactory,group:this.group,hasEnabledEvents:this.hasEnabledEvents,name:this.name,onStateCallback:this.onStateCallback,scheduler:this.scheduler})}_curry(...e){let t=this._clone()
return t._curryArgs=[...this._curryArgs||[],...e],t}_perform(...e){return this._performShared(e,i.QS,null)}_performShared(e,t,r){let n=this._curryArgs?[...this._curryArgs,...e]:e,s=this._taskInstanceFactory(n,t,r)
return t===i.fx&&(r._expectsLinkedYield=!0),this._isAlive||s.cancel(),this.scheduler.perform(s),s}_taskInstanceOptions(e,t,r){return{task:this,args:e,executor:new i.M0({generatorFactory:()=>this.generatorFactory(e),env:this.env,debug:this.debug}),performType:t,hasEnabledEvents:this.hasEnabledEvents}}}},61623:(e,t,r)=>{"use strict"
r.d(t,{M:()=>o})
var n=r(20505),i=r(99058)
let s=0
class o{constructor(e){this.context=e.context,this.debug=e.debug||!1,this.enabledModifiers=e.enabledModifiers,this.env=e.env,this.group=e.group,this.hasEnabledEvents=e.hasEnabledEvents,this.modifierOptions=e.modifierOptions,this.name=e.name,this.onStateCallback=e.onStateCallback,this.scheduler=e.scheduler,this.guid="ec_"+s++,this.guids={},this.guids[this.guid]=!0,this.group&&Object.assign(this.guids,this.group.guids)}cancelAll(e){let{reason:t,cancelRequestKind:r,resetState:n}=e||{}
t=t||".cancelAll() was explicitly called on the Task"
let s=new i.nZ(r||i.Id,t)
return this.scheduler.cancelAll(this.guid,s).then((()=>{n&&this._resetState()}))}get _isAlive(){return!0}_resetState(){this.setState(n.L)}setState(){}}Object.assign(o.prototype,n.L),Object.assign(o.prototype,{numRunning:0,numQueued:0,isRunning:!1,isQueued:!1,isIdle:!0,state:"idle"})},56795:(e,t,r)=>{"use strict"
r.d(t,{Ek:()=>m,Es:()=>l,G4:()=>i,If:()=>s,Ln:()=>o,MA:()=>u,Yo:()=>f,iu:()=>a,rs:()=>p,uv:()=>n})
const n="__ec_cancel__",i="__ec_yieldable__",s="next",o="throw",a="return",l="cancel"
class c{constructor(e,t){this._taskInstance=e,this._resumeIndex=t}getTaskInstance(){return this._taskInstance}cancel(){let e=this._taskInstance
e.proceed.call(e,this._resumeIndex,l)}next(e){let t=this._taskInstance
t.proceed.call(t,this._resumeIndex,s,e)}return(e){let t=this._taskInstance
t.proceed.call(t,this._resumeIndex,a,e)}throw(e){let t=this._taskInstance
t.proceed.call(t,this._resumeIndex,o,e)}}class u{constructor(){this[i]=this[i].bind(this)}onYield(){}_deferable(){let e={resolve:void 0,reject:void 0}
return e.promise=new Promise(((t,r)=>{e.resolve=t,e.reject=r})),e}_toPromise(){let e=this._deferable(),t={proceed(t,r,n){r==s||r==a?e.resolve(n):e.reject(n)}},r=this[i](t,0)
return e.promise[n]=r,e.promise}then(...e){return this._toPromise().then(...e)}catch(...e){return this._toPromise().catch(...e)}finally(...e){return this._toPromise().finally(...e)}[i](e,t){let r=new c(e,t)
return this.onYield(r)}}class h extends u{onYield(e){let t=requestAnimationFrame((()=>e.next()))
return()=>cancelAnimationFrame(t)}}class d extends u{constructor(e){super(),this.ms=e}onYield(e){let t=setTimeout((()=>e.next()),this.ms)
return()=>clearTimeout(t)}}function p(){return new h}const f=new class extends u{onYield(){}}
function m(e){return new d(e)}},59173:(e,t,r)=>{"use strict"
r.d(t,{H:()=>s})
var n=r(37219),i=r(3353)
function s(e,t,r,s){let o=r[0],a=r.slice(1)
return function(...r){if(o&&"function"==typeof o[t]){if(s&&s.value){let e=r.pop()
r.push((0,n.get)(e,s.value))}return o[t](...a,...r)}(0,i.assert)(`The first argument passed to the \`${e}\` helper should be a Task object (without quotes); you passed ${o}`,!1)}}},62865:(e,t,r)=>{"use strict"
r.d(t,{g:()=>b})
var n=r(3353),i=r(37219),s=r(53910),o=r(91500),a=r(98773),l=r(18517),c=r(43839),u=r(85064),h=r(11090),d=r(20414)
class p extends d.Z{scheduleRefresh(){(0,a.once)(this,this.refresh)}}var f=r(9097)
let m=0
function g(e,t,r,n,i,s){if(r&&r.length>0)for(let o=0;o<r.length;++o){let a=r[o],l="__ember_concurrency_handler_"+m++
t[l]=y(n,i,s),e(t,a,null,l)}}function y(e,t,r){return function(){let n=(0,i.get)(this,e)
r?(0,a.scheduleOnce)("actions",n,t,...arguments):n[t].apply(n,arguments)}}const v=e=>Array.isArray(e)?e:[e];(0,l.SY)("cancelOn",((e,t)=>e.addCancelEvents(...v(t)))),(0,l.SY)("observes",((e,t)=>e.addObserverKeys(...v(t)))),(0,l.SY)("on",((e,t)=>e.addPerformEvents(...v(t))))
class b extends l.gi{constructor(...e){var t,r,n
super(...e),t=this,r="env",n=f.C,(r=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}createTask(e){(0,n.assert)("Cannot create task if a task definition is not provided as generator function or encapsulated task.",this.taskDefinition)
let t=this.getTaskOptions(e)
return"object"==typeof this.taskDefinition?new c.r(Object.assign({taskObj:this.taskDefinition},t)):new c.i(Object.assign({generatorFactory:t=>this.taskDefinition.apply(e,t)},t))}createTaskGroup(e){(0,n.assert)("A task definition is not expected for a task group.",!this.taskDefinition)
let t=this.getTaskOptions(e)
return new h.p(t)}addCancelEvents(...e){return this._cancelEventNames=this._cancelEventNames||[],this._cancelEventNames.push(...e),this}addObserverKeys(...e){return this._observes=this._observes||[],this._observes.push(...e),this}addPerformEvents(...e){return this._eventNames=this._eventNames||[],this._eventNames.push(...e),this}getModifier(e){let t=super.getModifier(e)
return t||"function"!=typeof u.R6.prototype[e]||(t=u.R6.prototype[e].bind(this)),(0,n.assert)(`Task option '${e}' is not recognized as a supported option.`,t),t}getScheduler(e,t){return new p(e,t)}_setupEmberKVO(e){g(s.addListener,e,this._eventNames,this.name,"perform",!1),g(s.addListener,e,this._cancelEventNames,this.name,"cancelAll",!1),g(o.addObserver,e,this._observes,this.name,"perform",!0)}get taskFn(){return this.taskDefinition}set taskFn(e){this.setTaskDefinition(e)}}},11090:(e,t,r)=>{"use strict"
r.d(t,{p:()=>o})
var n=r(72292),i=r(16092),s=r(41398)
class o extends n.p{}s.$&&Object.defineProperties(o.prototype,s.$),Object.assign(o.prototype,i.u)},47041:(e,t,r)=>{"use strict"
r.d(t,{u:()=>l})
var n=r(17563),i=r(56795),s=r(99058)
class o{constructor({task:e,args:t,executor:r,performType:n,hasEnabledEvents:i}){this.task=e,this.args=t,this.performType=n,this.executor=r,this.executor.taskInstance=this,this.hasEnabledEvents=i}setState(){}onStarted(){}onSuccess(){}onError(){}onCancel(){}formatCancelReason(){}selfCancelLoopWarning(){}onFinalize(e){this.executor.onFinalize(e)}proceed(e,t,r){this.executor.proceedChecked(e,t,r)}[i.G4](e,t){return this.executor.onYielded(e,t)}cancel(e=".cancel() was explicitly called"){this.executor.cancel(new s.nZ(s.Id,e))}then(...e){return this.executor.promise().then(...e)}catch(...e){return this.executor.promise().catch(...e)}finally(...e){return this.executor.promise().finally(...e)}toString(){return`${this.task} TaskInstance`}start(){return this.executor.start(),this}}Object.assign(o.prototype,n.Y),Object.assign(o.prototype,{state:"waiting",isDropped:!1,isRunning:!0})
var a=r(41398)
class l extends o{setState(e){let t=this._recomputeState(e)
Object.assign(this,{...e,isRunning:!e.isFinished,isDropped:"dropped"===t,state:t})}_recomputeState(e){return e.isDropped?"dropped":e.isCanceled?e.hasStarted?"canceled":"dropped":e.isFinished?"finished":e.hasStarted?"running":"waiting"}onStarted(){this.triggerEvent("started",this)}onSuccess(){this.triggerEvent("succeeded",this)}onError(e){this.triggerEvent("errored",this,e)}onCancel(e){this.triggerEvent("canceled",this,e)}formatCancelReason(e){return`TaskInstance '${this.getName()}' was canceled because ${e}. For more information, see: http://ember-concurrency.com/docs/task-cancelation-help`}getName(){return this.name||(this.name=this.task&&this.task.name||"<unknown>"),this.name}selfCancelLoopWarning(e){let t=`\`${e.getName()}\``,r=`\`${this.getName()}\``
console.warn(`ember-concurrency detected a potentially hazardous "self-cancel loop" between parent task ${t} and child task ${r}. If you want child task ${r} to be canceled when parent task ${t} is canceled, please change \`.perform()\` to \`.linked().perform()\`. If you want child task ${r} to keep running after parent task ${t} is canceled, change it to \`.unlinked().perform()\``)}triggerEvent(...e){if(!this.hasEnabledEvents)return
let t=this.task,r=t.context,n=t&&t.name
if(r&&r.trigger&&n){let[t,...i]=e
r.trigger(`${n}:${t}`,...i)}}}a.W&&Object.defineProperties(l.prototype,a.W)},85064:(e,t,r)=>{"use strict"
r.d(t,{R6:()=>d,n1:()=>u,uA:()=>m,uT:()=>p})
var n=r(50589),i=r.n(n),s=r(37219),o=r(96369),a=r(92215),l=r(45931),c=r(47734)
let u="__ec_task_factory"
const h={restartable(){return this[u].setBufferPolicy(c.Z),this},enqueue(){return this[u].setBufferPolicy(o.Z),this},drop(){return this[u].setBufferPolicy(a.Z),this},keepLatest(){return this[u].setBufferPolicy(l.Z),this},maxConcurrency(e){return this[u].setMaxConcurrency(e),this},group(e){return this[u].setGroup(e),this},evented(){return this[u].setEvented(!0),this},debug(){return this[u].setDebug(!0),this},onState(e){return this[u].setOnState(e),this}}
class d{}class p{}Object.assign(p.prototype,h),Object.assign(d.prototype,h,{setup(e,t){this.callSuperSetup&&this.callSuperSetup(...arguments),this[u].setName(t),this[u]._setupEmberKVO(e)},on(){return this[u].addPerformEvents(...arguments),this},cancelOn(){return this[u].addCancelEvents(...arguments),this},observes(){return this[u].addObserverKeys(...arguments),this}})
const f=i()._setClassicDecorator||i()._setComputedDecorator
function m(e){let t=function(r,n){return void 0!==t.setup&&t.setup(r,n),(0,s.computed)(e)(...arguments)}
return f(t),t}},43839:(e,t,r)=>{"use strict"
r.d(t,{i:()=>p,r:()=>m})
var n=r(61292),i=r(37219),s=r.n(i),o=r(19341),a=r(33049),l=r(47041),c=r(64228),u=r(16092),h=r(41398),d=r(99058)
class p extends a.i{constructor(e){super(e),(0,o.isDestroying)(this.context)||(0,o.registerDestructor)(this.context,(()=>{this.cancelAll({reason:"the object it lives on was destroyed or unrendered",cancelRequestKind:d.gX})}))}get _isAlive(){return!(0,o.isDestroying)(this.context)}_taskInstanceFactory(e,t,r){let n=this._taskInstanceOptions(e,t,r)
return new l.u(n)}_clone(){return new p({context:this.context,debug:this.debug,env:this.env,generatorFactory:this.generatorFactory,group:this.group,hasEnabledEvents:this.hasEnabledEvents,name:this.name,onStateCallback:this.onStateCallback,scheduler:this.scheduler})}}h.$&&Object.defineProperties(p.prototype,h.$),Object.assign(p.prototype,u.u)
const f="__ec__encap_current_ti"
class m extends p{constructor(e){super(e),this.taskObj=e.taskObj,this._encapsulatedTaskStates=new WeakMap,this._encapsulatedTaskInstanceProxies=new WeakMap}_getEncapsulatedTaskClass(){let e=this._encapsulatedTaskImplClass
return e||(e=s().extend(this.taskObj,{unknownProperty(e){let t=this[f]
return t?t[e]:void 0}})),e}_taskInstanceFactory(e,t){let r,i=(0,n.getOwner)(this.context),s=this._getEncapsulatedTaskClass().create({context:this.context});(0,n.setOwner)(s,i)
let o=new l.u({task:this,args:e,executor:new c.M0({generatorFactory:()=>s.perform.apply(r,e),env:this.env,debug:this.debug}),performType:t,hasEnabledEvents:this.hasEnabledEvents})
return s[f]=o,this._encapsulatedTaskStates.set(o,s),r=this._wrappedEncapsulatedTaskInstance(o),r}_wrappedEncapsulatedTaskInstance(e){if(!e)return null
let t=this._encapsulatedTaskInstanceProxies,r=t.get(e)
if(!r){let n=this._encapsulatedTaskStates.get(e)
r=new Proxy(e,{get:(e,t)=>t in e?e[t]:(0,i.get)(n,t.toString()),set:(e,t,r)=>(t in e?e[t]=r:(0,i.set)(n,t.toString(),r),!0),has:(e,t)=>t in e||t in n,ownKeys:e=>Reflect.ownKeys(e).concat(Reflect.ownKeys(n)),defineProperty(r,i,s){let o=t.get(e)
return o&&(s.get?s.get=s.get.bind(o):o&&s.set&&(s.set=s.set.bind(o))),Reflect.defineProperty(n,i,s)},getOwnPropertyDescriptor:(e,t)=>t in e?Reflect.getOwnPropertyDescriptor(e,t):Reflect.getOwnPropertyDescriptor(n,t)}),t.set(e,r)}return r}}},16092:(e,t,r)=>{"use strict"
r.d(t,{u:()=>n})
const n={_performCount:0,setState(e){this._performCount=this._performCount+(e.numPerformedInc||0)
let t=e.numRunning>0,r=e.numQueued>0,n=Object.assign({},e,{performCount:this._performCount,isRunning:t,isQueued:r,isIdle:!t&&!r,state:t?"running":"idle"})
Object.assign(this,n)},onState(e,t){t.onStateCallback&&t.onStateCallback(e,t)}}},41398:(e,t,r)=>{"use strict"
r.d(t,{$:()=>a,W:()=>l})
var n=r(55521),i=r(20505),s=r(17563)
function o(e,t){return Object.keys(e).reduce(((t,r)=>function(e,t,r){const i=Object.getOwnPropertyDescriptor(e,r)
i.initializer=i.initializer||(()=>e[r]),delete i.value
const s=(0,n.tracked)(t,r,i)
return t[r]=s,t}(e,t,r)),t)}let a,l
a=o(i.L,{}),a=o({numRunning:0,numQueued:0,isRunning:!1,isQueued:!1,isIdle:!0,state:"idle"},a),l=o(s.Y,{}),l=o({state:"waiting",isDropped:!1,isRunning:!1},l),Object.freeze(a),Object.freeze(l)},36297:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{buildTask:()=>i})
var n=r(62865)
function i(e,t,r,i){let s=t
i&&(s=Object.assign({},s),s[i]=!0)
const o=e()
return new n.g(r||"<unknown>",o.generator,s).createTask(o.context)}},59764:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{cancelHelper:()=>a,default:()=>l})
var n=r(58797),i=r(3353),s=r(59173)
const o="the 'cancel-all' template helper was invoked"
function a(e){let t=e[0]
return t&&"function"==typeof t.cancelAll||(0,i.assert)(`The first argument passed to the \`cancel-all\` helper should be a Task or TaskGroup (without quotes); you passed ${t}`,!1),(0,s.H)("cancel-all","cancelAll",[t,{reason:o}])}var l=(0,n.helper)(a)},91305:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l,performHelper:()=>a})
var n=r(58797),i=r(3353),s=r(59173)
function o(e){return function(t){"function"==typeof e?e(t):null===e||(0,i.assert)(`The onError argument passed to the \`perform\` helper should be a function or null; you passed ${e}`,!1)}}function a(e,t){let r=(0,s.H)("perform","perform",e,t)
return t&&void 0!==t.onError?function(...e){try{return r(...e).catch(o(t.onError))}catch{o(t.onError)}}:r}var l=(0,n.helper)(a)},87920:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>n})
var n=(0,r(58797).helper)((function(e){let[t,...r]=e
return t._curry(...r)}))},96665:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{Task:()=>ee.i,TaskGroup:()=>P.p,TaskGroupProperty:()=>c.uT,TaskInstance:()=>D.u,TaskProperty:()=>c.R6,Yieldable:()=>o,all:()=>B,allSettled:()=>R,animationFrame:()=>s.rs,didCancel:()=>Q.Po,dropTask:()=>w,dropTaskGroup:()=>N,enqueueTask:()=>S,enqueueTaskGroup:()=>_,forever:()=>s.Yo,getModifier:()=>h.x_,hasModifier:()=>h.aw,hash:()=>z,hashSettled:()=>F,keepLatestTask:()=>k,keepLatestTaskGroup:()=>C,lastValue:()=>v,race:()=>L,rawTimeout:()=>s.Ek,registerModifier:()=>h.SY,restartableTask:()=>x,restartableTaskGroup:()=>A,task:()=>T,taskGroup:()=>I,timeout:()=>l,waitForEvent:()=>Y,waitForProperty:()=>X,waitForQueue:()=>G})
var n=r(98773),i=r(9097),s=r(56795)
class o extends s.MA{_deferable(){return i.C.defer()}}class a extends o{constructor(e){super(),this.ms=e}onYield(e){let t=(0,n.later)((()=>e.next()),this.ms)
return()=>(0,n.cancel)(t)}}function l(e){return new a(e)}var c=r(85064),u=r(62865),h=r(18517)
function d(e,t,r,n=[],i=h.gi){let s,{initializer:o,get:a,value:l}=r
o?s=o.call(void 0):a?s=a.call(void 0):l&&(s=l),s.displayName=`${t} (task)`
let c=new WeakMap,u=new i(t,s,n[0]||{})
return u._setupEmberKVO(e),{get(){let e=c.get(this)
return e||(e=u.createTask(this),c.set(this,e)),e}}}function p(e,t,r,n=[],i=h.gi){let s=new WeakMap,o=new i(t,null,n[0]||{})
return{get(){let e=s.get(this)
return e||(e=o.createTaskGroup(this),s.set(this,e)),e}}}function f(e){return function(...t){return function(e){let[t,r,n]=e
return 3===e.length&&"object"==typeof t&&null!==t&&"string"==typeof r&&("object"==typeof n&&null!==n&&"enumerable"in n&&"configurable"in n||void 0===n)}(t)?e(...t):(...r)=>e(...r,t)}}function m(e,t={},r=h.gi){return f(((n,i,s,[o]=[])=>{let a=Object.assign({},{...t,...o})
return e(n,i,s,[a],r)}))}function g(e={},t=h.gi){return m(d,e,t)}function y(e={},t=h.gi){return m(p,e,t)}const v=f(((e,t,r,[n]=[])=>{const{initializer:i}=r
return delete r.initializer,{get(){let e=this[n].lastSuccessful
return e?e.value:i?i.call(this):void 0}}})),b=g({},u.g),w=g({drop:!0},u.g),S=g({enqueue:!0},u.g),k=g({keepLatest:!0},u.g),x=g({restartable:!0},u.g),E=y({},u.g),N=y({drop:!0},u.g),_=y({enqueue:!0},u.g),C=y({keepLatest:!0},u.g),A=y({restartable:!0},u.g)
var O=r(3353),P=r(11090)
function T(e,t,r){var n
return(0,O.assert)('It appears you\'re attempting to use the new task(async () => { ... }) syntax, but the async arrow task function you\'ve provided is not being properly compiled by Babel.\n\nPossible causes / remedies:\n\n1. You must pass the async function expression directly to the task() function (it is not currently supported to pass in a variable containing the async arrow fn, or any other kind of indirection)\n2. The new task syntax is only supported by native classes. Ensure that this is one.\n3. If this code is in an addon, please ensure the addon specifies ember-concurrency "2.3.0" or higher in "dependencies" (not "devDependencies")\n4. Ensure that there is only one version of ember-concurrency v2.3.0+ being used in your project (including nested dependencies) and consider using npm/yarn/pnpm resolutions to enforce a single version is used\n5. Ensure that you have registered the Babel transform that Ember Concurrency uses to transform tasks in the "async-arrow" notation, see https://ember-concurrency.com/docs/v4-upgrade',!((n=arguments[arguments.length-1])&&n.constructor&&"AsyncFunction"===n.constructor.name)),j(e)||t&&r?b(...arguments):function(e){const t=(0,c.uA)((function(){return t[c.n1].setTaskDefinition(t.taskFn),t[c.n1].createTask(this)}))
return t.taskFn=e,t[c.n1]=new u.g,Object.setPrototypeOf(t,c.R6.prototype),t}(e)}function I(e,t,r){if(j(e)||t&&r)return E(...arguments)
{let e=(0,c.uA)((function(t){return e[c.n1].setName(t),e[c.n1].createTaskGroup(this)}))
return e[c.n1]=new u.g,Object.setPrototypeOf(e,c.uT.prototype),e}}function j(e){return!(!e||"function"==typeof e||"object"==typeof e&&"perform"in e&&"function"==typeof e.perform||Object.getPrototypeOf(e)!==Object.prototype)}var D=r(47041),M=r(42022)
const B=H(M.ZP.Promise,"all",V),R=H(M.ZP,"allSettled",V),L=H(M.JD,"race",V),z=H(M.ZP,"hash",$),F=H(M.ZP,"hashSettled",$)
function V(e){return e}function $(e){return Object.keys(e).map((t=>e[t]))}function U(e){if(e)if(e instanceof D.u)e.executor.asyncErrorsHandled=!0
else if(e instanceof s.MA)return e._toPromise()
return e}function H(e,t,r){return function(n){let i=function(e,t){if(Array.isArray(e))return e.map(t)
if("object"==typeof e&&null!==e){let r={}
return Object.keys(e).forEach((n=>{r[n]=t(e[n])})),r}return e}(n,U),o=r(i);(0,O.assert)(`'${t}' expects an array.`,Array.isArray(o))
let a=M.ZP.defer()
e[t](i).then(a.resolve,a.reject)
let l=!1,c=()=>{l||(l=!0,o.forEach((e=>{e&&(e instanceof D.u?e.cancel():"function"==typeof e[s.uv]&&e[s.uv]())})))},u=a.promise.finally(c)
return u[s.uv]=c,u}}var q=r(37219),W=r(91500)
class K extends o{constructor(e){super(),this.queueName=e}onYield(e){let t
try{t=(0,n.schedule)(this.queueName,(()=>e.next()))}catch(t){e.throw(t)}return()=>(0,n.cancel)(t)}}class Z extends o{constructor(e,t){super(),this.object=e,this.eventName=t,this.usesDOMEvents=!1}on(e){"function"==typeof this.object.addEventListener?(this.usesDOMEvents=!0,this.object.addEventListener(this.eventName,e)):this.object.on(this.eventName,e)}off(e){this.usesDOMEvents?this.object.removeEventListener(this.eventName,e):this.object.off(this.eventName,e)}onYield(e){let t=null,r=()=>{t&&this.off(t),t=null}
return t=t=>{r(),e.next(t)},this.on(t),r}}class J extends o{constructor(e,t,r=Boolean){super(),this.object=e,this.key=t,this.predicateCallback="function"==typeof r?r:e=>e===r}onYield(e){let t=!1,r=()=>{let t=(0,q.get)(this.object,this.key)
if(this.predicateCallback(t))return e.next(t),!0}
return r()||((0,W.addObserver)(this.object,this.key,null,r),t=!0),()=>{t&&r&&(0,W.removeObserver)(this.object,this.key,null,r)}}}function G(e){return new K(e)}function Y(e,t){var r
return(0,O.assert)(`${e} must include Ember.Evented (or support \`.on()\` and \`.off()\`) or DOM EventTarget (or support \`addEventListener\` and  \`removeEventListener\`) to be able to use \`waitForEvent\``,(r=e)&&("function"==typeof r.one&&"function"==typeof r.off||"function"==typeof r.on&&"function"==typeof r.off||"function"==typeof r.addEventListener&&"function"==typeof r.removeEventListener)),new Z(e,t)}function X(e,t,r){return new J(e,t,r)}var Q=r(99058),ee=r(43839)},88534:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>h})
var n=r(23574),i=r.n(n),s=r(58797),o=r.n(s),a=r(3353),l=r(2612)
function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(){}class h extends(o()){constructor(...e){super(...e),c(this,"tagName",u),c(this,"componentClass",void 0)}compute(e,t){(0,a.assert)("The `element` helper takes a single positional argument",1===e.length),(0,a.assert)("The `element` helper does not take any named arguments",0===Object.keys(t).length)
let r=e[0]
return r!==this.tagName&&(this.tagName=r,"string"==typeof r?this.componentClass=(0,l.ensureSafeComponent)(class extends(i()){constructor(...e){super(...e),c(this,"tagName",r)}},this):(this.componentClass=void 0,(0,a.runInDebug)((()=>{let e="The argument passed to the `element` helper must be a string"
try{e+=` (you passed \`${r}\`)`}catch(e){}(0,a.assert)(e,null==r)})))),this.componentClass}}},44836:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>D})
var n=r(84927),i=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],s=i.join(","),o="undefined"==typeof Element,a=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l=!o&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},c=function(e,t,r){var n=Array.prototype.slice.apply(e.querySelectorAll(s))
return t&&a.call(e,s)&&n.unshift(e),n.filter(r)},u=function e(t,r,n){for(var i=[],o=Array.from(t);o.length;){var l=o.shift()
if("SLOT"===l.tagName){var c=l.assignedElements(),u=e(c.length?c:l.children,!0,n)
n.flatten?i.push.apply(i,u):i.push({scope:l,candidates:u})}else{a.call(l,s)&&n.filter(l)&&(r||!t.includes(l))&&i.push(l)
var h=l.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(l),d=!n.shadowRootFilter||n.shadowRootFilter(l)
if(h&&d){var p=e(!0===h?l.children:h.children,!0,n)
n.flatten?i.push.apply(i,p):i.push({scope:l,candidates:p})}else o.unshift.apply(o,l.children)}}return i},h=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},p=function(e){return"INPUT"===e.tagName},f=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height
return 0===r&&0===n},m=function(e,t){return!(t.disabled||function(e){return p(e)&&"hidden"===e.type}(t)||function(e,t){var r=t.displayCheck,n=t.getShadowRoot
if("hidden"===getComputedStyle(e).visibility)return!0
var i=a.call(e,"details>summary:first-of-type")?e.parentElement:e
if(a.call(i,"details:not([open]) *"))return!0
var s=l(e).host,o=(null==s?void 0:s.ownerDocument.contains(s))||e.ownerDocument.contains(e)
if(r&&"full"!==r){if("non-zero-area"===r)return f(e)}else{if("function"==typeof n){for(var c=e;e;){var u=e.parentElement,h=l(e)
if(u&&!u.shadowRoot&&!0===n(u))return f(e)
e=e.assignedSlot?e.assignedSlot:u||h===e.ownerDocument?u:h.host}e=c}if(o)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r)
if("LEGEND"===n.tagName)return!!a.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},g=function(e,t){return!(function(e){return function(e){return p(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0
var t,r=e.form||l(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')}
if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name))
else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form)
return!i||i===e}(e)}(t)||h(t)<0||!m(e,t))},y=function(e){var t=parseInt(e.getAttribute("tabindex"),10)
return!!(isNaN(t)||t>=0)},v=function e(t){var r=[],n=[]
return t.forEach((function(t,i){var s=!!t.scope,o=s?t.scope:t,a=h(o,s),l=s?e(t.candidates):o
0===a?s?r.push.apply(r,l):r.push(o):n.push({documentOrder:i,tabIndex:a,item:t,isScope:s,content:l})})),n.sort(d).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(r)},b=function(e,t){var r
return r=(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:g.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:y}):c(e,t.includeContainer,g.bind(null,t)),v(r)},w=function(e,t){if(t=t||{},!e)throw new Error("No node provided")
return!1!==a.call(e,s)&&g(t,e)},S=i.concat("iframe").join(","),k=function(e,t){if(t=t||{},!e)throw new Error("No node provided")
return!1!==a.call(e,S)&&m(t,e)}
function x(e,t){var r=Object.keys(e)
if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{}
t%2?x(Object(r),!0).forEach((function(t){N(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _,C=(_=[],{activateTrap:function(e){if(_.length>0){var t=_[_.length-1]
t!==e&&t.pause()}var r=_.indexOf(e);-1===r||_.splice(r,1),_.push(e)},deactivateTrap:function(e){var t=_.indexOf(e);-1!==t&&_.splice(t,1),_.length>0&&_[_.length-1].unpause()}}),A=function(e){return setTimeout(e,0)},O=function(e,t){var r=-1
return e.every((function(e,n){return!t(e)||(r=n,!1)})),r},P=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n]
return"function"==typeof e?e.apply(void 0,r):e},T=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},I=function(e,t){var r,n=(null==t?void 0:t.document)||document,i=E({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},o=function(e,t,r){return e&&void 0!==e[t]?e[t]:i[r||t]},a=function(e){return s.containerGroups.findIndex((function(t){var r=t.container,n=t.tabbableNodes
return r.contains(e)||n.find((function(t){return t===e}))}))},l=function(e){var t=i[e]
if("function"==typeof t){for(var r=arguments.length,s=new Array(r>1?r-1:0),o=1;o<r;o++)s[o-1]=arguments[o]
t=t.apply(void 0,s)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t
throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t
if("string"==typeof t&&!(a=n.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"))
return a},h=function(){var e=l("initialFocus")
if(!1===e)return!1
if(void 0===e)if(a(n.activeElement)>=0)e=n.activeElement
else{var t=s.tabbableGroups[0]
e=t&&t.firstTabbableNode||l("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element")
return e},d=function(){if(s.containerGroups=s.containers.map((function(e){var t,r,n=b(e,i.tabbableOptions),s=(t=e,(r=(r=i.tabbableOptions)||{}).getShadowRoot?u([t],r.includeContainer,{filter:m.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):c(t,r.includeContainer,m.bind(null,r)))
return{container:e,tabbableNodes:n,focusableNodes:s,firstTabbableNode:n.length>0?n[0]:null,lastTabbableNode:n.length>0?n[n.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=s.findIndex((function(t){return t===e}))
if(!(r<0))return t?s.slice(r+1).find((function(e){return w(e,i.tabbableOptions)})):s.slice(0,r).reverse().find((function(e){return w(e,i.tabbableOptions)}))}}})),s.tabbableGroups=s.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),s.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},p=function e(t){!1!==t&&t!==n.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),s.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(h()))},f=function(e){var t=l("setReturnFocus",e)
return t||!1!==t&&e},g=function(e){var t=T(e)
a(t)>=0||(P(i.clickOutsideDeactivates,e)?r.deactivate({returnFocus:i.returnFocusOnDeactivate&&!k(t,i.tabbableOptions)}):P(i.allowOutsideClick,e)||e.preventDefault())},y=function(e){var t=T(e),r=a(t)>=0
r||t instanceof Document?r&&(s.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),p(s.mostRecentlyFocusedNode||h()))},v=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==P(i.escapeDeactivates,e))return e.preventDefault(),void r.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=T(e)
d()
var r=null
if(s.tabbableGroups.length>0){var n=a(t),o=n>=0?s.containerGroups[n]:void 0
if(n<0)r=e.shiftKey?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode
else if(e.shiftKey){var c=O(s.tabbableGroups,(function(e){var r=e.firstTabbableNode
return t===r}))
if(c<0&&(o.container===t||k(t,i.tabbableOptions)&&!w(t,i.tabbableOptions)&&!o.nextTabbableNode(t,!1))&&(c=n),c>=0){var u=0===c?s.tabbableGroups.length-1:c-1
r=s.tabbableGroups[u].lastTabbableNode}}else{var h=O(s.tabbableGroups,(function(e){var r=e.lastTabbableNode
return t===r}))
if(h<0&&(o.container===t||k(t,i.tabbableOptions)&&!w(t,i.tabbableOptions)&&!o.nextTabbableNode(t))&&(h=n),h>=0){var f=h===s.tabbableGroups.length-1?0:h+1
r=s.tabbableGroups[f].firstTabbableNode}}}else r=l("fallbackFocus")
r&&(e.preventDefault(),p(r))}(e)},S=function(e){var t=T(e)
a(t)>=0||P(i.clickOutsideDeactivates,e)||P(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},x=function(){if(s.active)return C.activateTrap(r),s.delayInitialFocusTimer=i.delayInitialFocus?A((function(){p(h())})):p(h()),n.addEventListener("focusin",y,!0),n.addEventListener("mousedown",g,{capture:!0,passive:!1}),n.addEventListener("touchstart",g,{capture:!0,passive:!1}),n.addEventListener("click",S,{capture:!0,passive:!1}),n.addEventListener("keydown",v,{capture:!0,passive:!1}),r},N=function(){if(s.active)return n.removeEventListener("focusin",y,!0),n.removeEventListener("mousedown",g,!0),n.removeEventListener("touchstart",g,!0),n.removeEventListener("click",S,!0),n.removeEventListener("keydown",v,!0),r}
return(r={get active(){return s.active},get paused(){return s.paused},activate:function(e){if(s.active)return this
var t=o(e,"onActivate"),r=o(e,"onPostActivate"),i=o(e,"checkCanFocusTrap")
i||d(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=n.activeElement,t&&t()
var a=function(){i&&d(),x(),r&&r()}
return i?(i(s.containers.concat()).then(a,a),this):(a(),this)},deactivate:function(e){if(!s.active)return this
var t=E({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e)
clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,N(),s.active=!1,s.paused=!1,C.deactivateTrap(r)
var n=o(t,"onDeactivate"),a=o(t,"onPostDeactivate"),l=o(t,"checkCanReturnFocus"),c=o(t,"returnFocus","returnFocusOnDeactivate")
n&&n()
var u=function(){A((function(){c&&p(f(s.nodeFocusedBeforeActivation)),a&&a()}))}
return c&&l?(l(f(s.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(){return s.paused||!s.active||(s.paused=!0,N()),this},unpause:function(){return s.paused&&s.active?(s.paused=!1,d(),x(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean)
return s.containers=t.map((function(e){return"string"==typeof e?n.querySelector(e):e})),s.active&&d(),this}}).updateContainerElements(e),r}
let j
try{j=(0,n.capabilities)("3.22")}catch{j=(0,n.capabilities)("3.13")}var D=(0,n.setModifierManager)((()=>({capabilities:j,createModifier:()=>({focusTrapOptions:void 0,isActive:!0,isPaused:!1,shouldSelfFocus:!1,focusTrap:void 0}),installModifier(e,t,{named:{isActive:r,isPaused:n,shouldSelfFocus:i,focusTrapOptions:s,additionalElements:o,_createFocusTrap:a}}){e.focusTrapOptions={...s}||{},void 0!==r&&(e.isActive=r),void 0!==n&&(e.isPaused=n),e.focusTrapOptions&&void 0===e.focusTrapOptions.initialFocus&&i&&(e.focusTrapOptions.initialFocus=t)
let l=I
a&&(l=a),!1!==e.focusTrapOptions.returnFocusOnDeactivate&&(e.focusTrapOptions.returnFocusOnDeactivate=!0),e.focusTrap=l(void 0!==o?[t,...o]:t,e.focusTrapOptions),e.isActive&&e.focusTrap.activate(),e.isPaused&&e.focusTrap.pause()},updateModifier(e,{named:t}){const r=t.focusTrapOptions||{}
if(e.isActive&&!t.isActive){const{returnFocusOnDeactivate:t}=r,n=void 0===t
e.focusTrap.deactivate({returnFocus:n})}else!e.isActive&&t.isActive&&e.focusTrap.activate()
e.isPaused&&!t.isPaused?e.focusTrap.unpause():!e.isPaused&&t.isPaused&&e.focusTrap.pause(),e.focusTrapOptions=r,void 0!==t.isActive&&(e.isActive=t.isActive),void 0!==t.isPaused&&(e.isPaused=t.isPaused)},destroyModifier({focusTrap:e}){e.deactivate()}})),class{})},87274:(e,t,r)=>{"use strict"
function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function s(e,t,r,n,i){var s={}
return Object.keys(n).forEach((function(e){s[e]=n[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}r.d(t,{_:()=>n,a:()=>s,b:()=>i})},76154:(e,t,r)=>{"use strict"
r.d(t,{Bq:()=>i,sd:()=>s,zA:()=>n})
const n={A:"a",B:"b",C:"c",D:"d",E:"e",F:"f",G:"g",H:"h",I:"i",J:"j",K:"k",L:"l",M:"m",N:"n",O:"o",P:"p",Q:"q",R:"r",S:"s",T:"t",U:"u",V:"v",W:"w",X:"x",Y:"y",Z:"z","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=","<":",",">":".","?":"/",":":";",'"':"'","~":"`","{":"[","}":"]","|":"\\"},i={"å":"a",b:"b","ç":"c","∂":"d","ƒ":"f","©":"g","˙":"h","∆":"j","˚":"k","¬":"l","µ":"m","ø":"o","π":"p","œ":"q","®":"r","ß":"s","†":"t","√":"v","∑":"w","≈":"x","¥":"y","Ω":"z","¡":"1","™":"2","£":"3","¢":"4","∞":"5","§":"6","¶":"7","•":"8","ª":"9","º":"0","–":"-","≠":"=","≤":",","≥":".","÷":"/","…":";","æ":"'","“":"[","‘":"]","«":"\\"},s={"Å":"a","ı":"b","Î":"d","Ï":"f","˝":"g","Ó":"h","ˆ":"i","Ô":"j","":"k","Ò":"l","Â":"m","˜":"n","Ø":"o","Œ":"q","‰":"r","Í":"s","ˇ":"t","¨":"u","◊":"v","„":"w","˛":"x","Á":"y","¸":"z","⁄":"1","€":"2","‹":"3","›":"4","ﬁ":"5","ﬂ":"6","‡":"7","°":"8","·":"9","‚":"0","—":"-","±":"=","¯":",","˘":".","¿":"/","Ú":";","Æ":"'","`":"`","”":"[","’":"]","»":"\\"}},41966:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(58797),i=r(3353),s=r(78558),o=r(99825),a=(r(35811),r(14596),r(76154),r(10893),r(31866),(0,n.helper)((function([e,t]){return function(r){(0,i.assert)("ember-keyboard: You must pass a function as the second argument to the `if-key` helper","function"==typeof t),(0,i.assert)("ember-keyboard: The `if-key` helper expects to be invoked with a KeyboardEvent",r instanceof KeyboardEvent),(0,s.Z)((0,o.Z)(r.type,e),r)&&t(r)}})))},11686:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>h})
var n,i,s=r(87274),o=r(58797),a=r.n(o),l=r(3353),c=r(88574),u=r(99825)
let h=(n=class extends(a()){constructor(...e){super(...e),(0,s.b)(this,"keyboard",i,this),(0,s._)(this,"keyCombo",void 0),(0,s._)(this,"callback",void 0),(0,s._)(this,"keyboardActivated",!0),(0,s._)(this,"keyboardPriority",0),(0,s._)(this,"eventName","keydown"),(0,s._)(this,"keyboardHandlers",void 0)}compute([e,t],{event:r="keydown",activated:n=!0,priority:i=0}){(0,l.assert)("ember-keyboard: You must pass a function as the second argument to the `on-key` helper","function"==typeof t),this.keyCombo=e,this.callback=t,this.eventName=r,this.keyboardActivated=n,this.keyboardPriority=i,this.keyboardHandlers={},this.keyboardHandlers[(0,u.Z)(r,e)]=t,this.keyboard.register(this)}willDestroy(){this.keyboard.unregister(this),super.willDestroy(...arguments)}},i=(0,s.a)(n.prototype,"keyboard",[c.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},83202:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>f})
var n=r(87274),i=r(38575),s=r(88574),o=r(37219),a=r(19341),l=r(99825),c=r(78558)
r(35811),r(14596),r(3353),r(76154),r(10893),r(31866)
const u=["input","select","textarea"]
let h
var d,p
d=class extends i.default{constructor(e,t){super(e,t),(0,n.b)(this,"keyboard",p,this),(0,n._)(this,"element",void 0),(0,n._)(this,"keyboardPriority",0),(0,n._)(this,"activatedParamValue",!0),(0,n._)(this,"eventName","keydown"),(0,n._)(this,"onlyWhenFocused",!0),(0,n._)(this,"listenerName",void 0),(0,n._)(this,"removeEventListeners",(()=>{this.onlyWhenFocused&&(this.element.removeEventListener("click",this.onFocus,!0),this.element.removeEventListener("focus",this.onFocus,!0),this.element.removeEventListener("focusout",this.onFocusOut,!0))})),this.keyboard.register(this),(0,a.registerDestructor)(this,(()=>{this.removeEventListeners(),this.keyboard.unregister(this)}))}modify(e,t,r){this.element=e,this.removeEventListeners(),this.setupProperties(t,r),this.onlyWhenFocused&&this.addEventListeners()}setupProperties(e,t){let[r,n]=e,{activated:i,event:s,priority:o,onlyWhenFocused:a}=t
this.keyCombo=r,this.callback=n,this.eventName=s||"keydown",this.activatedParamValue="activated"in t?!!i:void 0,this.keyboardPriority=o?parseInt(o,10):0,this.listenerName=(0,l.Z)(this.eventName,this.keyCombo),this.onlyWhenFocused=void 0!==a?a:u.includes(this.element.tagName.toLowerCase())}addEventListeners(){this.element.addEventListener("click",this.onFocus,!0),this.element.addEventListener("focus",this.onFocus,!0),this.element.addEventListener("focusout",this.onFocusOut,!0)}onFocus(){this.isFocused=!0}onFocusOut(){this.isFocused=!1}get keyboardActivated(){return!1!==this.activatedParamValue&&(!this.onlyWhenFocused||this.isFocused)}get keyboardFirstResponder(){return!!this.onlyWhenFocused&&this.isFocused}canHandleKeyboardEvent(e){return(0,c.Z)(this.listenerName,e)}handleKeyboardEvent(e,t){(0,c.Z)(this.listenerName,e)&&(this.callback?this.callback(e,t):this.element.click())}},p=(0,n.a)(d.prototype,"keyboard",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.a)(d.prototype,"onFocus",[o.action],Object.getOwnPropertyDescriptor(d.prototype,"onFocus"),d.prototype),(0,n.a)(d.prototype,"onFocusOut",[o.action],Object.getOwnPropertyDescriptor(d.prototype,"onFocusOut"),d.prototype),h=d
var f=h},87340:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>p})
var n,i=r(87274),s=r(88574),o=r.n(s),a=r(61292),l=r(37219),c=r(98773),u=r(99825),h=r(78558)
function d(e,t,r=null){if(e.handleKeyboardEvent){if(e.canHandleKeyboardEvent&&!e.canHandleKeyboardEvent(t))return
e.handleKeyboardEvent(t,r)}else{if(!e.keyboardHandlers)throw new Error("A responder registered with the ember-keyboard service must implement either `keyboardHandlers` (property returning a dictionary of listenerNames to handler functions), or `handleKeyboardEvent(event)`)")
Object.keys(e.keyboardHandlers).forEach((n=>{(0,h.Z)(n,t)&&(r?e.keyboardHandlers[n](t,r):e.keyboardHandlers[n](t))}))}}r(35811),r(14596),r(3353),r(76154),r(10893),r(31866)
let p=(n=class extends(o()){get activeResponders(){let{registeredResponders:e}=this
return Array.from(e).filter((e=>e.keyboardActivated))}get sortedResponders(){return this.activeResponders.sort(((e,t)=>function(e,t,r,n=null){return function(e,t,r,n){return function(e,t){let r=e-t
return(r>0)-(r<0)}(n?n((0,l.get)(e,r)):(0,l.get)(e,r),n?n((0,l.get)(t,r)):(0,l.get)(t,r))}(t,e,"keyboardPriority",n)}(e,t)))}get firstResponders(){return this.sortedResponders.filter((e=>e.keyboardFirstResponder))}get normalResponders(){return this.sortedResponders.filter((e=>!e.keyboardFirstResponder))}constructor(...e){if(super(...e),(0,i._)(this,"registeredResponders",new Set),"undefined"!=typeof FastBoot)return
let t=((0,a.getOwner)(this).resolveRegistration("config:environment")||{}).emberKeyboard||{}
t.disableOnInputFields&&(this._disableOnInput=!0),this._listeners=t.listeners||["keyUp","keyDown","keyPress"],this._listeners=this._listeners.map((e=>e.toLowerCase())),this._listeners.forEach((e=>{document.addEventListener(e,this._respond)}))}willDestroy(...e){super.willDestroy(...e),"undefined"==typeof FastBoot&&this._listeners.forEach((e=>{document.removeEventListener(e,this._respond)}))}_respond(e){if(this._disableOnInput&&e.target){const t=e.composedPath()[0]??e.target,r=t.tagName
if(t.getAttribute&&null!=t.getAttribute("contenteditable")||"TEXTAREA"===r||"INPUT"===r)return}(0,c.run)((()=>{let{firstResponders:t,normalResponders:r}=this
!function(e,{firstResponders:t,normalResponders:r}){let n=!1,i=!1
const s={stopImmediatePropagation(){n=!0},stopPropagation(){i=!0}}
for(const a of t)if(d(a,e,s),n)break
if(i)return
n=!1
let o=Number.POSITIVE_INFINITY
for(const a of r){const t=Number(a.keyboardPriority)
if(!n||t!==o){if(t<o){if(i)return
n=!1,o=t}d(a,e,s)}}}(e,{firstResponders:t,normalResponders:r})}))}register(e){this.registeredResponders.add(e)}unregister(e){this.registeredResponders.delete(e)}keyDown(...e){return function(e){return(0,u.Z)("keydown",e)}(...e)}keyPress(...e){return function(e){return(0,u.Z)("keypress",e)}(...e)}keyUp(...e){return function(e){return(0,u.Z)("keyup",e)}(...e)}},(0,i.a)(n.prototype,"_respond",[l.action],Object.getOwnPropertyDescriptor(n.prototype,"_respond"),n.prototype),n)},10893:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(31866)
function i(e){if(!(0,n.isNone)(e))switch(e){case 0:return"left"
case 1:return"middle"
case 2:return"right"}}},78558:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>l})
var n=r(35811),i=r(14596),s=r(76154),o=r(10893)
r(3353),r(31866)
const a="_all"
function l(e,t,r=(0,i.Z)()){let l
if(e instanceof n.Z)l=e
else{if("string"!=typeof e)throw new Error("Expected a `string` or `KeyCombo` as `keyComboOrKeyComboString` argument to `isKey`")
l=n.Z.parse(e,r)}return l.type===t.type&&(!!function(e){return e.keyOrCode===a&&!1===e.altKey&&!1===e.ctrlKey&&!1===e.metaKey&&!1===e.shiftKey}(l)||!(!function(e,t){return e.type===t.type&&e.altKey===t.altKey&&e.ctrlKey===t.ctrlKey&&e.metaKey===t.metaKey&&e.shiftKey===t.shiftKey}(l,t)||!function(e,t){return t instanceof KeyboardEvent&&(e.keyOrCode===a||e.keyOrCode===t.code||e.keyOrCode===t.key)}(l,t)&&!function(e,t){return t instanceof MouseEvent&&(e.keyOrCode===a||e.keyOrCode===(0,o.Z)(t.button))}(l,t))||function(e,t,r){return u([],e)&&u(["shift"],t)?t.key===e.keyOrCode:u(["shift"],e)&&u(["shift"],t)?(n=t.key,(s.zA[n]||n)===e.keyOrCode):"Macintosh"===r&&u(["alt"],e)&&u(["alt"],t)?function(e){return s.Bq[e]||e}(t.key)===e.keyOrCode:!("Macintosh"!==r||!u(["shift","alt"],e)||!u(["shift","alt"],t))&&function(e){return s.sd[e]||e}(t.key)===e.keyOrCode
var n}(l,t,r))}const c=["alt","ctrl","meta","shift","cmd"].filter((e=>"cmd"!=e))
function u(e,t){for(let r of c){if(e.includes(r)&&!t[`${r}Key`])return!1
if(!e.includes(r)&&t[`${r}Key`])return!1}return!0}},35811:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>u})
var n=r(87274),i=r(14596)
r(3353)
const s=/^alt$/i,o=/^shift$/i,a=/^ctrl$/i,l=/^meta$/i,c=/^cmd$/i
class u{constructor(e=(0,i.Z)()){(0,n._)(this,"type",void 0),(0,n._)(this,"altKey",!1),(0,n._)(this,"ctrlKey",!1),(0,n._)(this,"shiftKey",!1),(0,n._)(this,"metaKey",!1),(0,n._)(this,"keyOrCode",void 0),(0,n._)(this,"platform",void 0),this.platform=e}static parse(e,t=(0,i.Z)()){let r=new u(t),[n,...h]=e.split(":")
return h=h.join(":"),r.type=n,"+"===h?(r.keyOrCode=h,r):(h.split("+").forEach((e=>{s.test(e)?r.altKey=!0:a.test(e)?r.ctrlKey=!0:l.test(e)?r.metaKey=!0:o.test(e)?r.shiftKey=!0:c.test(e)?t.indexOf("Mac")>-1?r.metaKey=!0:r.ctrlKey=!0:r.keyOrCode=e})),r)}createMatchingKeyboardEvent(e={}){return new KeyboardEvent(this.type,Object.assign({key:this.keyOrCode,code:this.keyOrCode,altKey:this.altKey,ctrlKey:this.ctrlKey,metaKey:this.metaKey,shiftKey:this.shiftKey},e))}}},99825:(e,t,r)=>{"use strict"
function n(e,t=[]){let r=t
"string"==typeof t&&(r=t.split("+")),r.indexOf("cmd")>-1&&(r[r.indexOf("cmd")]=function(e){if("undefined"==typeof FastBoot)return void 0===e&&(e=navigator.platform),e.indexOf("Mac")>-1?"meta":"ctrl"}())
let n=function(e){return e.sort().join("+")}(r||[])
return""===n&&(n="_all"),`${e}:${n}`}r.d(t,{Z:()=>n})},14596:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>s})
var n=r(3353)
let i
function s(e=navigator.userAgent){if((0,n.runInDebug)((()=>{i=null})),!i){let t="Unknown OS";-1!=e.indexOf("Win")&&(t="Windows"),-1!=e.indexOf("Mac")&&(t="Macintosh"),-1!=e.indexOf("Linux")&&(t="Linux"),-1!=e.indexOf("Android")&&(t="Android"),-1!=e.indexOf("like Mac")&&(t="iOS"),i=t}return i}},87172:(e,t,r)=>{"use strict"
r.d(t,{by:()=>c,nf:()=>h})
var n=r(98773),i=r(19341)
function s(e,t,r){let n,i=typeof t
if("function"===i)n=t
else{if("string"!==i)throw new TypeError(`You must pass a task function or method name to '${r}'.`)
if(n=e[t],"function"!=typeof n)throw new TypeError(`The method name '${t}' passed to ${r} does not resolve to a valid function.`)}return n}const o=-1
let a=new WeakMap
function l(e){let t=a.get(e)
return t||(t=new Set,a.set(e,t),(0,i.registerDestructor)(e,function(e,t){return function(){t.forEach((t=>{!function(e,t){l(e).delete(t),(0,n.cancel)(t)}(e,t)})),t.clear()}}(e,t))),t}function c(e,t,r=0){if((0,i.isDestroying)(e))return o
let a=s(e,t,"runTask"),c=l(e),u=(0,n.later)((()=>{c.delete(u),a.call(e)}),r)
return c.add(u),u}var u=r(3353)
function h(e,t,r,...a){if((0,u.assert)(`Called \`scheduleTask\` without a string as the first argument on ${e}.`,"string"==typeof t),(0,u.assert)(`Called \`scheduleTask\` while trying to schedule to the \`afterRender\` queue on ${e}.`,"afterRender"!==t),(0,i.isDestroying)(e))return o
let c,h=s(e,r,"scheduleTask"),d=l(e)
return c=(0,n.schedule)(t,e,((...t)=>{d.delete(c),h.call(e,...t)}),...a),d.add(c),c}r(50589),new WeakMap,new WeakMap},38575:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l,modifier:()=>u})
var n=r(61292),i=r(84927),s=r(19341)
function o(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class a{constructor(e){o(this,"capabilities",(0,i.capabilities)("3.22")),this.owner=e}createModifier(e,t){return{instance:new e(this.owner,t),element:null}}installModifier(e,t,r){const n=function(e,t){const r=e
return r.element=t,r}(e,t)
n.instance.modify(t,r.positional,r.named)}updateModifier(e,t){e.instance.modify(e.element,t.positional,t.named)}destroyModifier({instance:e}){(0,s.destroy)(e)}}class l{constructor(e,t){(0,n.setOwner)(this,e)}modify(e,t,r){}}(0,i.setModifierManager)((e=>new a(e)),l)
const c=new class{constructor(){o(this,"capabilities",(0,i.capabilities)("3.22"))}createModifier(e){return{element:null,instance:e}}installModifier(e,t,r){const n=function(e,t){const r=e
return r.element=t,r}(e,t),{positional:i,named:s}=r,o=e.instance(t,i,s)
"function"==typeof o&&(n.teardown=o)}updateModifier(e,t){"function"==typeof e.teardown&&e.teardown()
const r=e.instance(e.element,t.positional,t.named)
"function"==typeof r&&(e.teardown=r)}destroyModifier(e){"function"==typeof e.teardown&&e.teardown()}getDebugName(e){return e.instance.toString()}getDebugInstance(e){return e}}
function u(e,t){return e.toString=()=>t?.name||e.name,(0,i.setModifierManager)((()=>c),e)}},65354:(e,t,r)=>{"use strict"
function n(e,t,r){return(t="symbol"==typeof(n=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e
var n}function i(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function s(e,t,r,n,i){var s={}
return Object.keys(n).forEach((function(e){s[e]=n[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}r.d(t,{_:()=>s,a:()=>i,b:()=>n})},32779:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>h})
var n,i,s,o=r(65354),a=r(88574),l=r(58797),c=r.n(l),u=r(29806)
let h=(n=(0,a.inject)("page-title"),i=class extends(c()){constructor(e){super(e),(0,o.a)(this,"tokens",s,this),(0,o.b)(this,"tokenId",(0,u.guidFor)(this)),this.tokens.push({id:this.tokenId})}compute(e,t){const r={...t,id:this.tokenId,title:e.join("")}
return this.tokens.push(r),this.tokens.scheduleTitleUpdate(),""}willDestroy(){super.willDestroy(),this.tokens.remove(this.tokenId),this.tokens.scheduleTitleUpdate()}},s=(0,o._)(i.prototype,"tokens",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i)},96413:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>y})
var n,i,s,o,a,l=r(65354),c=r(98773),u=r(88574),h=r.n(u),d=r(31866),p=r(3353)
const f="undefined"!=typeof FastBoot,m="routeDidChange",g=["separator","prepend","replace"]
let y=(n=(0,u.inject)("router"),i=(0,u.inject)("-document"),s=class extends(h()){constructor(e){if(super(e),(0,l.a)(this,"router",o,this),(0,l.a)(this,"document",a,this),(0,l.b)(this,"tokens",[]),(0,l.b)(this,"_defaultConfig",{separator:" | ",prepend:!0,replace:null}),(0,l.b)(this,"scheduleTitleUpdate",(()=>{(0,c.scheduleOnce)("afterRender",this,this._updateTitle)})),this._validateExistingTitleElement(),function(e){return"resolveRegistration"in e}(e)){const r=e.resolveRegistration("config:environment")
"object"==typeof(t=r)&&null!==t&&"pageTitle"in t&&g.forEach((e=>{if(!(0,d.isEmpty)(r.pageTitle[e])){const t=r.pageTitle[e]
this._defaultConfig[e]=t}}))}var t
this.router.on(m,this.scheduleTitleUpdate)}applyTokenDefaults(e){const t=this._defaultConfig.separator,r=this._defaultConfig.prepend,n=this._defaultConfig.replace
e.previous??=null,e.next??=null,null==e.separator&&(e.separator=t),null==e.prepend&&null!=r&&(e.prepend=r),null==e.replace&&null!=n&&(e.replace=n)}inheritFromPrevious(e){const t=e.previous
t&&(null==e.separator&&(e.separator=t.separator),null==e.prepend&&(e.prepend=t.prepend))}push(e){const t=this._findTokenById(e.id)
if(t){const r=this.tokens.indexOf(t),n=[...this.tokens],i=t.previous
return e.previous=i,e.next=t.next,this.inheritFromPrevious(e),this.applyTokenDefaults(e),n.splice(r,1,e),void(this.tokens=n)}const r=this.tokens.slice(-1)[0]
r&&(e.previous=r??null,r.next=e,this.inheritFromPrevious(e)),this.applyTokenDefaults(e),this.tokens=[...this.tokens,e]}remove(e){const t=this._findTokenById(e)
if(!t)return
const{next:r,previous:n}=t
r&&(r.previous=n),n&&(n.next=r),t.previous=t.next=null
const i=[...this.tokens]
i.splice(i.indexOf(t),1),this.tokens=i}get visibleTokens(){const e=this.tokens
let t=e?e.length:0
const r=[]
for(;t--;){const n=e[t]
if(n){if(n.replace){r.unshift(n)
break}r.unshift(n)}}return r}get sortedTokens(){const e=this.visibleTokens
if(!e)return[]
let t=!0,r=[]
const n=[r],i=[]
return e.forEach((e=>{if(e.front)i.unshift(e)
else if(e.prepend){t&&(t=!1,r=[],n.push(r))
const i=r[0]
i&&((e={...e}).separator=i.separator),r.unshift(e)}else t||(t=!0,r=[],n.push(r)),r.push(e)})),i.concat(n.reduce(((e,t)=>e.concat(t)),[]))}toString(){const e=this.sortedTokens,t=[]
for(let r=0,n=e.length;r<n;r++){const i=e[r]
i&&i.title&&(t.push(i.title),r+1<n&&t.push(i.separator))}return t.join("")}willDestroy(){super.willDestroy(),this.router.off(m,this.scheduleTitleUpdate)}_updateTitle(){const e=this.toString()
f?this.updateFastbootTitle(e):this.document.title=e,this.titleDidUpdate(e)}_validateExistingTitleElement(){f||(0,p.assert)("[ember-page-title]: Multiple title elements found. Check for other addons like ember-cli-head updating <title> as well.",document.head.querySelectorAll("title").length<=1)}_findTokenById(e){return this.tokens.find((t=>t.id===e))}updateFastbootTitle(e){if(!f)return
const t=this.document.head,r=t.childNodes
for(let s=0;s<r.length;s++){const e=r[s]
e&&"title"===e.nodeName.toLowerCase()&&t.removeChild(e)}const n=this.document.createElement("title"),i=this.document.createTextNode(e)
n.appendChild(i),t.appendChild(n)}titleDidUpdate(e){}},o=(0,l._)(s.prototype,"router",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,l._)(s.prototype,"document",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},77203:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>h})
var n,i=r(17990),s=r.n(i),o=r(37219),a=r(31866),l=r(80836),c=r(23574),u=(0,r(59266).createTemplateFactory)({id:"sNJ3D2s1",block:'[[[8,[39,0],[[17,1]],[["@animationEnabled","@triggerRole","@ariaDescribedBy","@ariaInvalid","@ariaLabel","@ariaLabelledBy","@labelClass","@labelText","@labelClickAction","@labelComponent","@afterOptionsComponent","@allowClear","@beforeOptionsComponent","@buildSelection","@calculatePosition","@closeOnSelect","@defaultHighlighted","@highlightOnHover","@typeAheadOptionMatcher","@destination","@disabled","@dropdownClass","@extra","@groupComponent","@horizontalPosition","@initiallyOpened","@loadingMessage","@matcher","@matchTriggerWidth","@noMatchesMessage","@noMatchesMessageComponent","@onBlur","@onChange","@onClose","@onFocus","@onInput","@onKeydown","@onOpen","@options","@optionsComponent","@placeholder","@placeholderComponent","@preventScroll","@registerAPI","@renderInPlace","@required","@scrollTo","@search","@searchEnabled","@searchField","@searchMessage","@searchMessageComponent","@searchPlaceholder","@selected","@selectedItemComponent","@eventType","@title","@triggerClass","@triggerComponent","@triggerId","@verticalPosition","@tabindex","@ebdTriggerComponent","@ebdContentComponent"],[[30,2],[30,3],[30,4],[30,5],[30,6],[30,7],[30,8],[30,9],[30,10],[28,[37,1],[[30,11]],null],[28,[37,1],[[30,12]],null],[30,13],[52,[30,14],[28,[37,1],[[30,14]],null],null],[28,[37,3],[[30,15],[30,0,["defaultBuildSelection"]]],null],[30,16],[30,17],[30,18],[30,19],[30,20],[30,21],[30,22],[30,23],[30,24],[28,[37,1],[[30,25]],null],[30,26],[30,27],[30,28],[30,29],[30,30],[30,31],[28,[37,1],[[30,32]],null],[30,33],[30,34],[30,35],[30,0,["handleFocus"]],[30,36],[30,0,["handleKeydown"]],[30,0,["handleOpen"]],[30,37],[28,[37,1],[[30,38]],null],[30,39],[28,[37,1],[[30,40]],null],[30,41],[30,42],[30,43],[30,44],[30,45],[30,46],[30,47],[30,48],[30,49],[30,50],[30,51],[30,52],[28,[37,1],[[30,53]],null],[30,54],[30,55],[29,["ember-power-select-multiple-trigger ",[30,56]]],[52,[30,57],[50,[28,[37,1],[[30,57]],null],0,null,[["tabindex"],[[30,58]]]],[50,"power-select-multiple/trigger",0,null,[["tabindex"],[[30,58]]]]],[30,59],[30,60],[30,0,["computedTabIndex"]],[28,[37,1],[[30,61]],null],[28,[37,1],[[30,62]],null]]],[["default"],[[[[1,"\\n  "],[18,65,[[30,63],[30,64]]],[1,"\\n"]],[63,64]]]]],[1,"\\n"]],["&attrs","@animationEnabled","@triggerRole","@ariaDescribedBy","@ariaInvalid","@ariaLabel","@ariaLabelledBy","@labelClass","@labelText","@labelClickAction","@labelComponent","@afterOptionsComponent","@allowClear","@beforeOptionsComponent","@buildSelection","@calculatePosition","@closeOnSelect","@defaultHighlighted","@highlightOnHover","@typeAheadOptionMatcher","@destination","@disabled","@dropdownClass","@extra","@groupComponent","@horizontalPosition","@initiallyOpened","@loadingMessage","@matcher","@matchTriggerWidth","@noMatchesMessage","@noMatchesMessageComponent","@onBlur","@onChange","@onClose","@onInput","@options","@optionsComponent","@placeholder","@placeholderComponent","@preventScroll","@registerAPI","@renderInPlace","@required","@scrollTo","@search","@searchEnabled","@searchField","@searchMessage","@searchMessageComponent","@searchPlaceholder","@selected","@selectedItemComponent","@eventType","@title","@triggerClass","@triggerComponent","@tabindex","@triggerId","@verticalPosition","@ebdTriggerComponent","@ebdContentComponent","option","select","&default"],false,["power-select","ensure-safe-component","if","or","component","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-power-select/dist/components/power-select-multiple.js",isStrictMode:!1})
class h extends(s()){get computedTabIndex(){return void 0===this.args.triggerComponent&&this.args.searchEnabled?"-1":this.args.tabindex||"0"}handleOpen(e,t){if(this.args.onOpen&&!1===this.args.onOpen(e,t))return!1
this.focusInput(e)}handleFocus(e,t){this.args.onFocus&&this.args.onFocus(e,t),this.focusInput(e)}handleKeydown(e,t){return this.args.onKeydown&&!1===this.args.onKeydown(e,t)?(t.stopPropagation(),!1):13===t.keyCode&&e.isOpen?(t.stopPropagation(),void 0!==e.highlighted?e.selected&&-1!==e.selected.indexOf(e.highlighted)?(e.actions.close(t),!1):(e.actions.choose(e.highlighted,t),!1):(e.actions.close(t),!1)):void 0}defaultBuildSelection(e,t){const r=Array.isArray(t.selected)?t.selected.slice(0):[]
let n=-1
for(let i=0;i<r.length;i++)if((0,a.isEqual)(r[i],e)){n=i
break}return n>-1?r.splice(n,1):r.push(e),r}focusInput(e){if(e){const t=document.querySelector(`#ember-power-select-trigger-multiple-input-${e.uniqueId}`)
t&&t.focus()}}}n=h,(0,l.n)(n.prototype,"handleOpen",[o.action]),(0,l.n)(n.prototype,"handleFocus",[o.action]),(0,l.n)(n.prototype,"handleKeydown",[o.action]),(0,c.setComponentTemplate)(u,h)},64798:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>f})
var n,i=r(17990),s=r.n(i),o=r(37219),a=r(3353),l=r(31866),c=r(80836),u=r(23574),h=(0,r(59266).createTemplateFactory)({id:"dYVukeBq",block:'[[[11,"input"],[24,4,"search"],[24,0,"ember-power-select-trigger-multiple-input"],[16,"aria-activedescendant",[52,[30,1,["isOpen"]],[30,2]]],[24,"aria-haspopup","listbox"],[16,"aria-expanded",[52,[30,1,["isOpen"]],"true","false"]],[24,"autocomplete","off"],[24,"autocorrect","off"],[24,"autocapitalize","off"],[16,"spellcheck",false],[16,1,[29,["ember-power-select-trigger-multiple-input-",[30,1,["uniqueId"]]]]],[16,"aria-labelledby",[30,3]],[16,"aria-describedby",[30,4]],[16,"aria-label",[30,5]],[16,2,[30,1,["searchText"]]],[16,"role",[28,[37,1],[[30,6],"combobox"],null]],[16,"aria-owns",[52,[30,1,["isOpen"]],[30,7]]],[16,"aria-controls",[52,[30,1,["isOpen"]],[30,7]]],[24,"aria-autocomplete","list"],[16,"placeholder",[30,0,["maybePlaceholder"]]],[16,"disabled",[30,1,["disabled"]]],[16,"tabindex",[30,8]],[24,"form","power-select-fake-form"],[17,9],[4,[38,2],["focus",[30,10]],null],[4,[38,2],["blur",[30,11]],null],[4,[38,2],["input",[30,0,["handleInput"]]],null],[4,[38,2],["keydown",[30,0,["handleKeydown"]]],null],[12],[13]],["@select","@ariaActiveDescendant","@ariaLabelledBy","@ariaDescribedBy","@ariaLabel","@role","@listboxId","@tabindex","&attrs","@onFocus","@onBlur"],false,["if","or","on"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-power-select/dist/components/power-select-multiple/input.js",isStrictMode:!1})
const d=window&&window.navigator?window.navigator.userAgent:"",p=d.indexOf("MSIE ")>-1||d.indexOf("Trident/")>-1
class f extends(s()){get maybePlaceholder(){if(!p&&this.args.isDefaultPlaceholder)return this.args.select.selected&&0!==this.args.select.selected.length?"":this.args.placeholder||""}handleInput(e){const t=e
this.args.onInput&&!1===this.args.onInput(t)||this.args.select.actions.open(t)}handleKeydown(e){const t=e
if(null!==t.target){if(this.args.onKeydown&&!1===this.args.onKeydown(t))return t.stopPropagation(),!1
if(8===t.keyCode){if(t.stopPropagation(),(0,l.isBlank)(t.target.value)){const e=this.args.select.selected&&this.args.select.selected[this.args.select.selected.length-1]
e&&(this.args.select.actions.select(this.args.buildSelection(e,this.args.select),t),"string"==typeof e?this.args.select.actions.search(e):((0,a.assert)("`<PowerSelectMultiple>` requires a `@searchField` when the options are not strings to remove options using backspace",this.args.searchField),this.args.select.actions.search((0,o.get)(e,this.args.searchField))),this.args.select.actions.open(t))}}else(t.keyCode>=48&&t.keyCode<=90||32===t.keyCode)&&t.stopPropagation()}}}n=f,(0,c.n)(n.prototype,"handleInput",[o.action]),(0,c.n)(n.prototype,"handleKeydown",[o.action]),(0,u.setComponentTemplate)(h,f)},76956:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>f})
var n,i=r(17990),s=r.n(i),o=r(37219),a=r(87172),l=r(38575),c=r(3353),u=r(80836),h=r(23574)
function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=(0,r(59266).createTemplateFactory)({id:"na02Ob2d",block:'[[[11,"ul"],[16,1,[29,["ember-power-select-multiple-options-",[30,1,["uniqueId"]]]]],[16,"aria-activedescendant",[52,[28,[37,1],[[30,1,["isOpen"]],[28,[37,2],[[30,2]],null]],null],[30,3]]],[24,0,"ember-power-select-multiple-options"],[17,4],[4,[30,0,["openChange"]],[[30,1,["isOpen"]]],null],[4,[38,3],["touchstart",[30,0,["chooseOption"]]],null],[4,[38,3],["mousedown",[30,0,["chooseOption"]]],null],[12],[1,"\\n"],[42,[28,[37,5],[[28,[37,5],[[30,1,["selected"]]],null]],null],null,[[[1,"    "],[10,"li"],[15,0,[29,["ember-power-select-multiple-option\\n        ",[52,[30,5,["disabled"]],"ember-power-select-multiple-option--disabled"]]]],[12],[1,"\\n"],[41,[51,[30,1,["disabled"]]],[[[1,"        "],[10,1],[14,"role","button"],[14,"aria-label","remove element"],[14,0,"ember-power-select-multiple-remove-btn"],[15,"data-selected-index",[30,6]],[12],[1,"\\n          ×\\n        "],[13],[1,"\\n"]],[]],null],[41,[30,7],[[[44,[[50,[28,[37,9],[[30,7]],null],0,null,null]],[[[1,"          "],[8,[30,8],null,[["@extra","@option","@select"],[[30,9],[30,5],[30,1]]],null],[1,"\\n"]],[8]]]],[]],[[[1,"        "],[18,27,[[30,5],[30,1]]],[1,"\\n"]],[]]],[1,"    "],[13],[1,"\\n"]],[5,6]],[[[41,[28,[37,1],[[30,10],[28,[37,2],[[30,2]],null]],null],[[[1,"      "],[10,"li"],[12],[1,"\\n"],[44,[[50,[28,[37,9],[[30,11]],null],0,null,null]],[[[1,"          "],[8,[30,12],null,[["@placeholder"],[[30,10]]],null],[1,"\\n"]],[12]]],[1,"      "],[13],[1,"\\n"]],[]],null]],[]]],[41,[30,2],[[[1,"    "],[10,"li"],[14,0,"ember-power-select-trigger-multiple-input-container"],[12],[1,"\\n"],[44,[[50,"power-select-multiple/input",0,null,[["select","ariaActiveDescendant","ariaLabelledBy","ariaDescribedBy","role","ariaLabel","listboxId","tabindex","buildSelection","placeholder","placeholderComponent","searchField","onFocus","onBlur","onKeydown","onInput"],[[30,1],[30,3],[30,13],[30,14],[30,15],[30,16],[30,17],[30,18],[30,19],[30,10],[30,11],[30,20],[30,21],[30,22],[30,23],[30,24]]]]],[[[44,[[50,[28,[37,9],[[30,11]],null],0,null,null]],[[[1,"          "],[8,[30,26],null,[["@select","@placeholder","@isMultipleWithSearch","@inputComponent","@displayPlaceholder"],[[30,1],[30,10],true,[30,25],[28,[37,1],[[28,[37,2],[[30,1,["searchText"]]],null],[28,[37,2],[[30,1,["selected"]]],null]],null]]],null],[1,"\\n"]],[26]]]],[25]]],[1,"    "],[13],[1,"\\n"]],[]],null],[13],[1,"\\n"],[10,1],[14,0,"ember-power-select-status-icon"],[12],[13]],["@select","@searchEnabled","@ariaActiveDescendant","&attrs","opt","idx","@selectedItemComponent","SelectedItemComponent","@extra","@placeholder","@placeholderComponent","PlaceholderComponent","@ariaLabelledBy","@ariaDescribedBy","@role","@ariaLabel","@listboxId","@tabindex","@buildSelection","@searchField","@onFocus","@onBlur","@onKeydown","@onInput","InputComponent","PlaceholderComponent","&default"],false,["if","and","not","on","each","-track-array","unless","let","component","ensure-safe-component","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-power-select/dist/components/power-select-multiple/trigger.js",isStrictMode:!1})
class f extends(s()){constructor(...e){super(...e),d(this,"_lastIsOpen",this.args.select.isOpen),d(this,"openChange",(0,l.modifier)(((e,[t])=>{this._openChanged(e,[t])})))}openChanged(e,[t]){(0,c.deprecate)("You are using a power-select-multiple trigger with ember/render-modifier. Replace {{did-update this.openChanged @select.isOpen}} with {{this.openChange @select.isOpen}}.",!1,{for:"ember-power-select",id:"ember-power-select.no-at-ember-render-modifiers",since:{enabled:"8.1",available:"8.1"},until:"9.0.0"}),this._openChanged(e,[t])}chooseOption(e){if(null===e.target)return
const t=e.target.getAttribute("data-selected-index")
if(t){const r=parseInt(t,10)
e.stopPropagation(),e.preventDefault()
const n=this.selectedObject(this.args.select.selected,r)
this.args.select.actions.choose(n)}}_openChanged(e,[t]){!1===t&&!0===this._lastIsOpen&&(0,a.nf)(this,"actions",(()=>{this.args.select.actions?.search("")})),this._lastIsOpen=t}selectedObject(e,t){return"function"==typeof e.objectAt?e.objectAt(t):(0,o.get)(e,t)}}n=f,(0,u.n)(n.prototype,"openChanged",[o.action]),(0,u.n)(n.prototype,"chooseOption",[o.action]),(0,h.setComponentTemplate)(p,f)},142:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>B})
var n,i=r(36297),s=r(17990),o=r.n(s),a=r(55521),l=r(37219),c=r(29806),u=r(91500),h=r(87172),d=r(31866),p=r(3353),f=r(28557),m=r(96665),g=r(38575),y=r(28614),v=r(80836),b=r(23574)
function w(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function S(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var k=(0,r(59266).createTemplateFactory)({id:"k83GMZgX",block:'[[[41,[28,[37,1],[[30,1],[30,2]],null],[[[44,[[52,[30,2],[50,[28,[37,4],[[30,2]],null],0,null,null],[50,"power-select/label",0,null,null]]],[[[1,"    "],[8,[30,3],[[16,0,[30,4]]],[["@select","@labelText","@labelId","@triggerId","@extra"],[[30,0,["storedAPI"]],[30,1],[30,0,["labelId"]],[30,0,["triggerId"]],[30,5]]],null],[1,"\\n"]],[3]]]],[]],null],[8,[39,5],null,[["@horizontalPosition","@destination","@initiallyOpened","@matchTriggerWidth","@preventScroll","@onClose","@onOpen","@renderInPlace","@verticalPosition","@disabled","@calculatePosition","@triggerComponent","@contentComponent"],[[30,6],[30,7],[30,8],[30,0,["matchTriggerWidth"]],[28,[37,1],[[30,9],false],null],[30,0,["handleClose"]],[30,0,["handleOpen"]],[30,10],[30,11],[30,12],[30,13],[28,[37,4],[[30,14]],null],[28,[37,4],[[30,15]],null]]],[["default"],[[[[1,"\\n"],[44,[[28,[37,6],[[30,16],[28,[37,7],null,[["selected","highlighted","options","results","resultsCount","loading","isActive","searchText","lastSearchedText","actions"],[[30,0,["selected"]],[30,0,["highlighted"]],[30,0,["options"]],[30,0,["results"]],[30,0,["resultsCount"]],[30,0,["loading"]],[30,0,["isActive"]],[30,0,["searchText"]],[30,0,["lastSearchedText"]],[28,[37,6],[[30,16,["actions"]],[30,0,["_publicAPIActions"]]],null]]]]],null],[28,[37,8],["ember-power-select-options-",[30,16,["uniqueId"]]],null]],[[[1,"    "],[8,[30,16,["Trigger"]],[[16,0,[29,["ember-power-select-trigger ",[30,19],[52,[30,17,["isActive"]]," ember-power-select-trigger--active"]]]],[16,"aria-activedescendant",[52,[30,16,["isOpen"]],[52,[51,[30,20]],[28,[37,8],[[30,17,["uniqueId"]],"-",[30,0,["highlightedIndex"]]],null]]]],[16,"aria-controls",[52,[28,[37,10],[[30,16,["isOpen"]],[28,[37,11],[[30,20]],null]],null],[30,18]]],[16,"aria-describedby",[30,21]],[16,"aria-haspopup",[52,[51,[30,20]],"listbox"]],[16,"aria-invalid",[30,22]],[16,"aria-label",[30,23]],[16,"aria-labelledby",[30,0,["ariaLabelledBy"]]],[16,"aria-owns",[52,[28,[37,10],[[30,16,["isOpen"]],[28,[37,11],[[30,20]],null]],null],[30,18]]],[16,"aria-required",[30,24]],[16,"aria-autocomplete",[52,[30,20],"list"]],[16,"role",[28,[37,1],[[30,25],"combobox"],null]],[16,"title",[30,26]],[16,1,[30,0,["triggerId"]]],[16,"tabindex",[28,[37,10],[[28,[37,11],[[30,12]],null],[28,[37,1],[[30,27],"0"],null]],null]],[17,28],[4,[30,0,["updateOptions"]],[[30,30]],null],[4,[30,0,["updateSelected"]],[[30,31]],null],[4,[30,0,["updateRegisterAPI"]],[[30,17]],null],[4,[30,0,["updatePerformSearch"]],[[30,0,["searchText"]]],null],[4,[38,12],["keydown",[30,0,["handleTriggerKeydown"]]],null],[4,[38,12],["focus",[30,0,["handleFocus"]]],null],[4,[38,12],["blur",[30,0,["handleBlur"]]],null]],[["@eventType"],[[28,[37,1],[[30,29],"mousedown"],null]]],[["default"],[[[[1,"\\n"],[44,[[52,[30,32],[50,[28,[37,4],[[30,32]],null],0,null,null],[50,"power-select/trigger",0,null,null]]],[[[1,"        "],[8,[30,33],null,[["@allowClear","@buildSelection","@loadingMessage","@selectedItemComponent","@select","@searchEnabled","@searchField","@onFocus","@onBlur","@extra","@listboxId","@onInput","@onKeydown","@placeholder","@placeholderComponent","@ariaActiveDescendant","@ariaLabelledBy","@ariaDescribedBy","@ariaLabel","@role"],[[30,34],[30,35],[28,[37,1],[[30,36],"Loading options..."],null],[28,[37,4],[[30,37]],null],[30,17],[30,20],[30,38],[30,0,["handleFocus"]],[30,0,["handleBlur"]],[30,5],[30,18],[30,0,["handleInput"]],[30,0,["handleKeydown"]],[30,39],[52,[30,40],[28,[37,4],[[30,40]],null],[50,"power-select/placeholder",0,null,null]],[28,[37,8],[[30,17,["uniqueId"]],"-",[30,0,["highlightedIndex"]]],null],[30,0,["ariaLabelledBy"]],[30,21],[30,23],[30,25]]],[["default"],[[[[1,"\\n          "],[18,60,[[30,41],[30,42]]],[1,"\\n        "]],[41,42]]]]],[1,"\\n"]],[33]]],[1,"    "]],[]]]]],[1,"\\n    "],[8,[30,16,["Content"]],[[16,0,[29,["ember-power-select-dropdown",[52,[30,17,["isActive"]]," ember-power-select-dropdown--active"]," ",[30,43]]]]],[["@animationEnabled"],[[30,44]]],[["default"],[[[[1,"\\n"],[41,[28,[37,14],[[30,45],null],null],[[[44,[[52,[30,45],[50,[28,[37,4],[[30,45]],null],0,null,null],[50,"power-select/before-options",0,null,null]]],[[[1,"          "],[8,[30,46],null,[["@select","@searchEnabled","@onInput","@onKeydown","@onFocus","@onBlur","@placeholder","@placeholderComponent","@extra","@listboxId","@ariaActiveDescendant","@selectedItemComponent","@searchPlaceholder","@ariaLabel","@ariaLabelledBy","@ariaDescribedBy","@triggerRole"],[[30,17],[30,20],[30,0,["handleInput"]],[30,0,["handleKeydown"]],[30,0,["handleFocus"]],[30,0,["handleBlur"]],[30,39],[28,[37,1],[[30,40],[50,"power-select/placeholder",0,null,null]],null],[30,5],[30,18],[52,[30,0,["highlightedIndex"]],[28,[37,8],[[30,17,["uniqueId"]],"-",[30,0,["highlightedIndex"]]],null]],[28,[37,4],[[30,37]],null],[30,47],[30,23],[30,0,["ariaLabelledBy"]],[30,21],[30,25]]],null],[1,"\\n"]],[46]]]],[]],null],[41,[30,0,["mustShowSearchMessage"]],[[[44,[[52,[30,48],[50,[28,[37,4],[[30,48]],null],0,null,null],[50,"power-select/search-message",0,null,null]]],[[[1,"          "],[8,[30,49],[[16,1,[30,18]],[16,"aria-label",[30,23]],[16,"aria-labelledby",[30,0,["ariaLabelledBy"]]]],[["@searchMessage","@select"],[[30,0,["searchMessage"]],[30,17]]],null],[1,"\\n"]],[49]]]],[]],[[[41,[30,0,["mustShowNoMessages"]],[[[44,[[52,[30,50],[50,[28,[37,4],[[30,50]],null],0,null,null],[50,"power-select/no-matches-message",0,null,null]]],[[[1,"          "],[8,[30,51],[[16,1,[30,18]],[16,"aria-label",[30,23]],[16,"aria-labelledby",[30,0,["ariaLabelledBy"]]]],[["@noMatchesMessage","@select"],[[30,0,["noMatchesMessage"]],[30,17]]],null],[1,"\\n"]],[51]]]],[]],[[[44,[[52,[30,52],[50,[28,[37,4],[[30,52]],null],0,null,null],[50,"power-select/options",0,null,null]],[52,[30,53],[50,[28,[37,4],[[30,53]],null],0,null,null],[50,"power-select/power-select-group",0,null,null]]],[[[1,"          "],[8,[30,54],[[24,"role","listbox"],[16,"aria-multiselectable",[52,[30,0,["ariaMultiSelectable"]],"true"]],[16,1,[30,18]],[24,0,"ember-power-select-options"]],[["@loadingMessage","@select","@options","@groupIndex","@optionsComponent","@extra","@highlightOnHover","@groupComponent"],[[28,[37,1],[[30,36],"Loading options..."],null],[30,17],[30,17,["results"]],"",[30,54],[30,5],[30,0,["highlightOnHover"]],[30,55]]],[["default"],[[[[1,"\\n            "],[18,60,[[30,56],[30,57]]],[1,"\\n          "]],[56,57]]]]],[1,"\\n"]],[54,55]]],[1,"      "]],[]]]],[]]],[1,"\\n"],[41,[30,58],[[[44,[[50,[28,[37,4],[[30,58]],null],0,null,null]],[[[1,"          "],[8,[30,59],null,[["@extra","@select"],[[30,5],[30,17]]],null],[1,"\\n"]],[59]]]],[]],null],[1,"      "],[10,0],[14,"role","status"],[14,"aria-live","polite"],[14,"aria-atomic","true"],[14,0,"ember-power-select-visually-hidden"],[12],[1,"\\n        "],[1,[30,0,["resultCountMessage"]]],[1,"\\n      "],[13],[1,"\\n    "]],[]]]]],[1,"\\n"]],[17,18]]]],[16]]]]]],["@labelText","@labelComponent","Label","@labelClass","@extra","@horizontalPosition","@destination","@initiallyOpened","@preventScroll","@renderInPlace","@verticalPosition","@disabled","@calculatePosition","@ebdTriggerComponent","@ebdContentComponent","dropdown","publicAPI","listboxId","@triggerClass","@searchEnabled","@ariaDescribedBy","@ariaInvalid","@ariaLabel","@required","@triggerRole","@title","@tabindex","&attrs","@eventType","@options","@selected","@triggerComponent","Trigger","@allowClear","@buildSelection","@loadingMessage","@selectedItemComponent","@searchField","@placeholder","@placeholderComponent","opt","select","@dropdownClass","@animationEnabled","@beforeOptionsComponent","BeforeOptions","@searchPlaceholder","@searchMessageComponent","SearchMessage","@noMatchesMessageComponent","NoMatchesMessage","@optionsComponent","@groupComponent","Options","Group","option","select","@afterOptionsComponent","AfterOptions","&default"],false,["if","or","let","component","ensure-safe-component","basic-dropdown","assign","hash","concat","unless","and","not","on","yield","not-eq"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-power-select/dist/components/power-select.js",isStrictMode:!1})
const x=e=>"function"==typeof e.then,E=e=>x(e)&&Object.hasOwnProperty.call(e,"content"),N=e=>"function"==typeof e.cancel
var _=new WeakMap,C=new WeakMap,A=new WeakMap,O=new WeakMap,P=new WeakMap,T=new WeakMap,I=new WeakMap,j=new WeakMap,D=new WeakMap,M=new WeakMap
class B extends(o()){constructor(e,t){super(e,t),S(this,"_publicAPIActions",{search:this._search,highlight:this._highlight,select:this._select,choose:this._choose,scrollTo:this._scrollTo,labelClick:this._labelClick}),w(this,_,void(0,v.i)(this,"_resolvedOptions")),w(this,C,void(0,v.i)(this,"_resolvedSelected")),w(this,A,void(0,v.i)(this,"_repeatingChar")),w(this,O,void(0,v.i)(this,"_expirableSearchText")),w(this,P,void(0,v.i)(this,"_searchResult")),w(this,T,void(0,v.i)(this,"isActive")),w(this,I,void(0,v.i)(this,"loading")),w(this,j,void(0,v.i)(this,"searchText")),w(this,D,void(0,v.i)(this,"lastSearchedText")),w(this,M,void(0,v.i)(this,"highlighted")),S(this,"storedAPI",void 0),S(this,"_uid",(0,c.guidFor)(this)),S(this,"_lastOptionsPromise",void 0),S(this,"_lastSelectedPromise",void 0),S(this,"_lastSearchPromise",void 0),S(this,"_filterResultsCache",{results:[],options:[],searchText:this.searchText}),S(this,"updateOptions",(0,g.modifier)((()=>{this.__updateOptions()}),{eager:!1})),S(this,"updateSelected",(0,g.modifier)((()=>{this.__updateSelected()}),{eager:!1})),S(this,"updateRegisterAPI",(0,g.modifier)(((e,[t])=>{this.__registerAPI(e,[t])}),{eager:!1})),S(this,"updatePerformSearch",(0,g.modifier)(((e,[t])=>{this.__performSearch(e,[t])}),{eager:!1})),S(this,"triggerTypingTask",(0,i.buildTask)((()=>({context:this,generator:function*(e){let t,r=1,n=this._repeatingChar,i=e.keyCode
L(e)&&(i-=48)
const s=String.fromCharCode(i)
t=s===this._repeatingChar?s:this._expirableSearchText+s,t.length>1?(r=0,n=""):n=s,this.storedAPI.isOpen&&this.storedAPI.highlighted?r+=(0,f.indexOfOption)(this.storedAPI.options,this.storedAPI.highlighted):this.storedAPI.isOpen||(0,d.isNone)(this.selected)?r=0:r+=(0,f.indexOfOption)(this.storedAPI.options,this.selected),this._expirableSearchText=this._expirableSearchText+s,this._repeatingChar=n
const o=this.findWithOffset(this.storedAPI.options,t,r,!0)
void 0!==o&&(this.storedAPI.isOpen?(this.storedAPI.actions.highlight(o),this.storedAPI.actions.scrollTo(o)):this.storedAPI.actions.select(o,e)),yield(0,m.timeout)(1e3),this._expirableSearchText="",this._repeatingChar=""}})),null,"triggerTypingTask","restartable")),(0,p.assert)("<PowerSelect> requires an `@onChange` function",this.args.onChange&&"function"==typeof this.args.onChange)}willDestroy(){if(this._lastSelectedPromise&&E(this._lastSelectedPromise)){try{(0,u.removeObserver)(this._lastSelectedPromise,"content",this,this._selectedObserverCallback)}catch{}this._lastSelectedPromise=void 0}super.willDestroy()}get highlightOnHover(){return void 0===this.args.highlightOnHover||this.args.highlightOnHover}get labelClickAction(){return void 0===this.args.labelClickAction?"focus":this.args.labelClickAction}get highlightedIndex(){const e=this.results,t=this.highlighted
return(0,f.pathForOption)(e,t)}get searchMessage(){return void 0===this.args.searchMessage?"Type to search":this.args.searchMessage}get noMatchesMessage(){return void 0===this.args.noMatchesMessage?"No results found":this.args.noMatchesMessage}get resultCountMessage(){return"function"==typeof this.args.resultCountMessage?this.args.resultCountMessage(this.resultsCount):1===this.resultsCount?`${this.resultsCount} result`:`${this.resultsCount} results`}get matchTriggerWidth(){return void 0===this.args.matchTriggerWidth||this.args.matchTriggerWidth}get mustShowSearchMessage(){return!this.loading&&0===this.searchText.length&&!!this.args.search&&!!this.searchMessage&&0===this.resultsCount}get mustShowNoMessages(){return!this.loading&&0===this.resultsCount&&(!this.args.search||this.lastSearchedText.length>0)}get results(){if(this.searchText.length>0){if(this.args.search)return z(this._searchResult||this.options)
{if(this._filterResultsCache.options===this.options&&this._filterResultsCache.searchText===this.searchText)return this._filterResultsCache.results
const e=this._filter(this.options,this.searchText)
return this._filterResultsCache={results:e,options:this.options,searchText:this.searchText},e}}return this.options}get options(){return this._resolvedOptions?z(this._resolvedOptions):this.args.options?z(this.args.options):[]}get resultsCount(){return(0,f.countOptions)(this.results)}get selected(){return this._resolvedSelected?z(this._resolvedSelected):(0,d.isNone)(this.args.selected)||"function"==typeof this.args.selected.then?void 0:z(this.args.selected)}get ariaMultiSelectable(){return(0,y.isArray)(this.args.selected)}get triggerId(){return this.args.triggerId||`${this._uid}-trigger`}get labelId(){return`${this._uid}-label`}get ariaLabelledBy(){return this.args.ariaLabelledBy?this.args.ariaLabelledBy:this.args.labelText||this.args.labelComponent?this.labelId:""}handleOpen(e,t){if(this.args.onOpen&&!1===this.args.onOpen(this.storedAPI,t))return!1
t&&t instanceof KeyboardEvent&&"keydown"===t.type&&(38===t.keyCode||40===t.keyCode)&&t.preventDefault(),this._resetHighlighted()}handleClose(e,t){if(this.args.onClose&&!1===this.args.onClose(this.storedAPI,t))return!1
this._highlight(void 0)}handleInput(e){if(null===e.target)return
const t=e.target.value
let r
this.args.onInput&&(r=this.args.onInput(t,this.storedAPI,e),!1===r)||this._publicAPIActions.search("string"==typeof r?r:t)}handleKeydown(e){return(!this.args.onKeydown||!1!==this.args.onKeydown(this.storedAPI,e))&&this._routeKeydown(this.storedAPI,e)}handleTriggerKeydown(e){if(this.args.onKeydown&&!1===this.args.onKeydown(this.storedAPI,e))e.stopImmediatePropagation()
else if(e.ctrlKey||e.metaKey)e.stopImmediatePropagation()
else if(e.keyCode>=48&&e.keyCode<=90||L(e))this.triggerTypingTask.perform(e)
else{if(32!==e.keyCode)return this._routeKeydown(this.storedAPI,e)
this._handleKeySpace(this.storedAPI,e)}}_labelClick(e){if(this.storedAPI&&!(e.detail>1)){if("open"!==this.labelClickAction){if("focus"===this.labelClickAction){const e=document.querySelector(`[data-ebd-id="${this.storedAPI.uniqueId}-trigger"]`)
if(!e)return
e.focus()}return!0}this.storedAPI.actions.open()}}handleFocus(e){this.isDestroying||(0,h.nf)(this,"actions",this._updateIsActive,!0),this.args.onFocus&&this.args.onFocus(this.storedAPI,e)}handleBlur(e){this.isDestroying||(0,h.nf)(this,"actions",this._updateIsActive,!1),this.args.onBlur&&this.args.onBlur(this.storedAPI,e)}_search(e){this.searchText!==e&&(this.searchText=e,this.args.search||(this.lastSearchedText=e,this._resetHighlighted()))}_updateOptions(){(0,p.deprecate)("You are using power-select with ember/render-modifier. Replace {{did-insert this._updateOptions @options}} and {{did-update this._updateOptions @options}} with {{this.updateOptions @options}}.",!1,{for:"ember-power-select",id:"ember-power-select.no-at-ember-render-modifiers",since:{enabled:"8.1",available:"8.1"},until:"9.0.0"}),this.__updateOptions()}_updateHighlighted(){this.storedAPI.isOpen&&this._resetHighlighted()}_updateSelected(){(0,p.deprecate)("You are using power-select with ember/render-modifier. Replace {{did-insert this._updateSelected @selected}} and {{did-update this._updateSelected @selected}} with {{this.updateSelected @selected}}.",!1,{for:"ember-power-select",id:"ember-power-select.no-at-ember-render-modifiers",since:{enabled:"8.1",available:"8.1"},until:"9.0.0"}),this.__updateSelected()}_selectedObserverCallback(){this._resolvedSelected=this._lastSelectedPromise,this._highlight(this._resolvedSelected)}_highlight(e){!(0,d.isNone)(e)&&e.disabled||(this.highlighted=e)}_select(e,t){(0,d.isEqual)(this.storedAPI.selected,e)||this.args.onChange(e,this.storedAPI,t)}_choose(e,t){const r=this.args.buildSelection?this.args.buildSelection(e,this.storedAPI):e
this.storedAPI.actions.select(r,t),!1!==this.args.closeOnSelect&&this.storedAPI.actions.close(t)}_scrollTo(e){const t=this.storedAPI
if(!document||!e)return
if(this.args.scrollTo)return this.args.scrollTo(e,t)
const r=document.getElementById(`ember-power-select-options-${t.uniqueId}`)
if(!r)return
const n=(0,f.indexOfOption)(t.results,e)
if(-1===n)return
const i=r.querySelector(`[data-option-index='${n}']`)
if(!i)return
const s=i.offsetTop-r.offsetTop,o=s+i.offsetHeight
o>r.offsetHeight+r.scrollTop?r.scrollTop=o-r.offsetHeight:s<r.scrollTop&&(r.scrollTop=s)}_registerAPI(e,[t]){(0,p.deprecate)("You are using power-select with ember/render-modifier. Replace {{did-insert this._registerAPI publicAPI}} and {{did-update this._registerAPI publicAPI}} with {{this.updateRegisterAPI publicAPI}}.",!1,{for:"ember-power-select",id:"ember-power-select.no-at-ember-render-modifiers",since:{enabled:"8.1",available:"8.1"},until:"9.0.0"}),this.__registerAPI(e,[t])}_performSearch(e,[t]){(0,p.deprecate)("You are using power-select with ember/render-modifier. Replace {{did-update this._performSearch this.searchText}} with {{this.updatePerformSearch this.searchText}}.",!1,{for:"ember-power-select",id:"ember-power-select.no-at-ember-render-modifiers",since:{enabled:"8.1",available:"8.1"},until:"9.0.0"}),this.__performSearch(e,[t])}__updateOptions(){if(this.args.options)if(x(this.args.options)){if(this._lastOptionsPromise===this.args.options)return
const e=this.args.options
this._lastOptionsPromise=e,this.loading=!0,this._lastOptionsPromise.then((t=>{this._lastOptionsPromise===e&&(this.loading=!1,this._resolvedOptions=t,this._resetHighlighted())})).catch((()=>{this._lastOptionsPromise===e&&(this.loading=!1)}))}else(0,h.nf)(this,"actions",this._resetHighlighted)}__updateSelected(){if(!(0,d.isNone)(this.args.selected))if("function"==typeof this.args.selected.then){if(this._lastSelectedPromise===this.args.selected)return
this._lastSelectedPromise&&E(this._lastSelectedPromise)&&(0,u.removeObserver)(this._lastSelectedPromise,"content",this,this._selectedObserverCallback)
const e=this.args.selected
e.then((()=>{this.isDestroyed||this.isDestroying||E(e)&&(0,u.addObserver)(e,"content",this,this._selectedObserverCallback)})),this._lastSelectedPromise=e,this._lastSelectedPromise.then((t=>{this._lastSelectedPromise===e&&(this._resolvedSelected=t,this._highlight(t))}))}else this._resolvedSelected=void 0,Array.isArray(this.args.selected)||this._highlight(this.args.selected)}__registerAPI(e,[t]){this.storedAPI=t,this.args.registerAPI&&(0,h.nf)(this,"actions",this.args.registerAPI,t)}__performSearch(e,[t]){if(!this.args.search)return
if(""===t)return this.loading=!1,this.lastSearchedText=t,void(void 0!==this._lastSearchPromise&&(N(this._lastSearchPromise)&&this._lastSearchPromise.cancel(),this._lastSearchPromise=void 0))
const r=this.args.search(t,this.storedAPI)
r&&x(r)?(this.loading=!0,void 0!==this._lastSearchPromise&&N(this._lastSearchPromise)&&this._lastSearchPromise.cancel(),this._lastSearchPromise=r,r.then((e=>{this._lastSearchPromise===r&&(this._searchResult=e,this.loading=!1,this.lastSearchedText=t,(0,h.nf)(this,"actions",this._resetHighlighted))})).catch((()=>{this._lastSearchPromise===r&&(this.loading=!1,this.lastSearchedText=t)}))):(this.lastSearchedText=t,this._searchResult=r,(0,h.nf)(this,"actions",this._resetHighlighted))}_defaultBuildSelection(e){return e}_routeKeydown(e,t){return 38===t.keyCode||40===t.keyCode?this._handleKeyUpDown(e,t):13===t.keyCode?this._handleKeyEnter(e,t):9===t.keyCode?this._handleKeyTab(e,t):27===t.keyCode?this._handleKeyESC(e,t):void 0}_handleKeyTab(e,t){e.actions.close(t)}_handleKeyESC(e,t){e.actions.close(t)}_handleKeyEnter(e,t){if(e.isOpen&&void 0!==e.highlighted)return e.actions.choose(e.highlighted,t),t.stopImmediatePropagation(),!1}_handleKeySpace(e,t){null!==t.target&&["TEXTAREA","INPUT"].includes(t.target.nodeName)?t.stopImmediatePropagation():e.isOpen&&void 0!==e.highlighted&&(t.stopImmediatePropagation(),t.preventDefault(),e.actions.choose(e.highlighted,t))}_handleKeyUpDown(e,t){if(e.isOpen){t.preventDefault(),t.stopPropagation()
const r=40===t.keyCode?1:-1,n=(0,f.advanceSelectableOption)(e.results,e.highlighted,r)
e.actions.highlight(n),e.actions.scrollTo(n)}else e.actions.open(t)}_resetHighlighted(){let e
const t=this.args.defaultHighlighted||f.defaultHighlighted
e="function"==typeof t?t({results:this.results,highlighted:this.highlighted,selected:this.selected}):t,this._highlight(e)}_filter(e,t,r=!1){const n=R(this.args.matcher||f.defaultMatcher,f.defaultMatcher,this.args.searchField)
return(0,f.filterOptions)(e||[],t,n,r)}_updateIsActive(e){this.isActive=e}findWithOffset(e,t,r,n=!1){const i=R(this.args.typeAheadOptionMatcher||f.defaultTypeAheadMatcher,f.defaultTypeAheadMatcher,this.args.searchField)
return(0,f.findOptionWithOffset)(e||[],t,i,r,n)}}function R(e,t,r){return r&&e===t?(t,n)=>e((0,l.get)(t,r),n):(r,n)=>((0,p.assert)("<PowerSelect> If you want the default filtering to work on options that are not plain strings, you need to provide `@searchField`",e!==t||"string"==typeof r),e(r,n))}function L(e){return e.keyCode>=96&&e.keyCode<=105}n=B,(0,v.g)(n.prototype,"_resolvedOptions",[a.tracked]),(0,v.g)(n.prototype,"_resolvedSelected",[a.tracked]),(0,v.g)(n.prototype,"_repeatingChar",[a.tracked],(function(){return""})),(0,v.g)(n.prototype,"_expirableSearchText",[a.tracked],(function(){return""})),(0,v.g)(n.prototype,"_searchResult",[a.tracked]),(0,v.g)(n.prototype,"isActive",[a.tracked],(function(){return!1})),(0,v.g)(n.prototype,"loading",[a.tracked],(function(){return!1})),(0,v.g)(n.prototype,"searchText",[a.tracked],(function(){return""})),(0,v.g)(n.prototype,"lastSearchedText",[a.tracked],(function(){return""})),(0,v.g)(n.prototype,"highlighted",[a.tracked]),(0,v.n)(n.prototype,"handleOpen",[l.action]),(0,v.n)(n.prototype,"handleClose",[l.action]),(0,v.n)(n.prototype,"handleInput",[l.action]),(0,v.n)(n.prototype,"handleKeydown",[l.action]),(0,v.n)(n.prototype,"handleTriggerKeydown",[l.action]),(0,v.n)(n.prototype,"_labelClick",[l.action]),(0,v.n)(n.prototype,"handleFocus",[l.action]),(0,v.n)(n.prototype,"handleBlur",[l.action]),(0,v.n)(n.prototype,"_search",[l.action]),(0,v.n)(n.prototype,"_updateOptions",[l.action]),(0,v.n)(n.prototype,"_updateHighlighted",[l.action]),(0,v.n)(n.prototype,"_updateSelected",[l.action]),(0,v.n)(n.prototype,"_highlight",[l.action]),(0,v.n)(n.prototype,"_select",[l.action]),(0,v.n)(n.prototype,"_choose",[l.action]),(0,v.n)(n.prototype,"_scrollTo",[l.action]),(0,v.n)(n.prototype,"_registerAPI",[l.action]),(0,v.n)(n.prototype,"_performSearch",[l.action])
const z=e=>{return t=e,(0,y.isArray)(t)?e.slice():e
var t};(0,b.setComponentTemplate)(k,B)},48058:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>f})
var n,i=r(17990),s=r.n(i),o=r(87172),a=r(37219),l=r(38575),c=r(3353),u=r(80836),h=r(23574)
function d(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=(0,r(59266).createTemplateFactory)({id:"cxLnMWbR",block:'[[[41,[30,1],[[[1,"  "],[10,0],[14,0,"ember-power-select-search"],[12],[1,"\\n"],[1,"    "],[11,"input"],[24,"autocomplete","off"],[24,"autocorrect","off"],[24,"autocapitalize","off"],[16,"spellcheck",false],[24,0,"ember-power-select-search-input"],[16,2,[30,2,["searchText"]]],[16,"role",[28,[37,1],[[30,3],"combobox"],null]],[16,"aria-activedescendant",[30,4]],[16,"aria-controls",[30,5]],[16,"aria-owns",[30,5]],[24,"aria-autocomplete","list"],[24,"aria-haspopup","listbox"],[16,"aria-expanded",[52,[30,2,["isOpen"]],"true","false"]],[16,"placeholder",[30,6]],[16,"aria-label",[30,7]],[16,"aria-labelledby",[30,8]],[16,"aria-describedby",[30,9]],[24,4,"search"],[4,[38,2],["input",[30,0,["handleInput"]]],null],[4,[38,2],["focus",[30,10]],null],[4,[38,2],["blur",[30,11]],null],[4,[38,2],["keydown",[30,0,["handleKeydown"]]],null],[4,[30,0,["setupInput"]],null,null],[12],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],null]],["@searchEnabled","@select","@role","@ariaActiveDescendant","@listboxId","@searchPlaceholder","@ariaLabel","@ariaLabelledBy","@ariaDescribedBy","@onFocus","@onBlur"],false,["if","or","on"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-power-select/dist/components/power-select/before-options.js",isStrictMode:!1})
class f extends(s()){constructor(...e){super(...e),d(this,"didSetup",!1),d(this,"setupInput",(0,l.modifier)((e=>{if(!this.didSetup)return this.didSetup=!0,this._focusInput(e),()=>{this.args.select.actions?.search("")}}),{eager:!1}))}clearSearch(){(0,c.deprecate)("You are using power-select before-option component with ember/render-modifier. Replace {{will-destroy this.clearSearch}} with {{this.setupInput}}.",!1,{for:"ember-power-select",id:"ember-power-select.no-at-ember-render-modifiers",since:{enabled:"8.1",available:"8.1"},until:"9.0.0"}),this.args.select.actions?.search("")}handleKeydown(e){if(!1===this.args.onKeydown(e))return!1
13===e.keyCode&&this.args.select.actions.close(e)}handleInput(e){const t=e
if(!1===this.args.onInput(t))return!1}focusInput(e){(0,c.deprecate)("You are using power-select before-option component with ember/render-modifier. Replace {{did-insert this.focusInput}} with {{this.setupInput}}.",!1,{for:"ember-power-select",id:"ember-power-select.no-at-ember-render-modifiers",since:{enabled:"8.1",available:"8.1"},until:"9.0.0"}),this._focusInput(e)}_focusInput(e){(0,o.by)(this,(()=>{!1!==this.args.autofocus&&e.focus()}),0)}}n=f,(0,u.n)(n.prototype,"clearSearch",[a.action]),(0,u.n)(n.prototype,"handleKeydown",[a.action]),(0,u.n)(n.prototype,"handleInput",[a.action]),(0,u.n)(n.prototype,"focusInput",[a.action]),(0,h.setComponentTemplate)(p,f)},99952:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>u})
var n,i=r(17990),s=r.n(i),o=r(37219),a=r(80836),l=r(23574),c=(0,r(59266).createTemplateFactory)({id:"4/Rm4C29",block:'[[[11,"label"],[16,1,[30,1]],[24,0,"ember-power-select-label"],[17,2],[16,"for",[30,3]],[4,[38,0],["click",[30,0,["onLabelClick"]]],null],[12],[1,"\\n  "],[1,[30,4]],[1,"\\n"],[13]],["@labelId","&attrs","@triggerId","@labelText"],false,["on"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-power-select/dist/components/power-select/label.js",isStrictMode:!1})
class u extends(s()){onLabelClick(e){this.args.select&&this.args.select.actions.labelClick(e)}}n=u,(0,a.n)(n.prototype,"onLabelClick",[o.action]),(0,l.setComponentTemplate)(c,u)},19287:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"O1B9KEg0",block:'[[[41,[30,1],[[[1,"  "],[11,"ul"],[24,0,"ember-power-select-options"],[24,"role","listbox"],[17,2],[12],[1,"\\n    "],[10,"li"],[14,0,"ember-power-select-option ember-power-select-option--no-matches-message"],[14,"role","option"],[15,"aria-selected",false],[12],[1,"\\n      "],[1,[30,1]],[1,"\\n    "],[13],[1,"\\n  "],[13],[1,"\\n"]],[]],null]],["@noMatchesMessage","&attrs"],false,["if"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-power-select/dist/components/power-select/no-matches-message.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},79197:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>m})
var n,i=r(17990),s=r.n(i),o=r(37219),a=r(38575),l=r(3353),c=r(80836),u=r(23574)
function h(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=(0,r(59266).createTemplateFactory)({id:"r0fmR/YJ",block:'[[[11,"ul"],[17,1],[4,[30,0,["setupHandlers"]],null,null],[12],[1,"\\n"],[41,[30,2,["loading"]],[[[41,[30,3],[[[1,"      "],[10,"li"],[14,0,"ember-power-select-option ember-power-select-option--loading-message"],[14,"role","option"],[15,"aria-selected",false],[12],[1,[30,3]],[13],[1,"\\n"]],[]],null]],[]],null],[44,[[50,[28,[37,3],[[30,4]],null],0,null,null],[50,[28,[37,3],[[30,5]],null],0,null,null]],[[[42,[28,[37,5],[[28,[37,5],[[30,8]],null]],null],null,[[[41,[28,[37,6],[[30,9]],null],[[[1,"        "],[8,[30,6],null,[["@group","@select","@extra"],[[30,9],[30,2],[30,11]]],[["default"],[[[[1,"\\n          "],[8,[30,7],[[24,"role","presentation"],[24,"data-optgroup","true"],[24,0,"ember-power-select-options"]],[["@options","@select","@groupIndex","@optionsComponent","@groupComponent","@extra"],[[30,9,["options"]],[30,2],[29,[[30,12],[30,10],"."]],[30,5],[30,4],[30,11]]],[["default"],[[[[1,"\\n            "],[18,14,[[30,13],[30,2]]],[1,"\\n          "]],[13]]]]],[1,"\\n        "]],[]]]]],[1,"\\n"]],[]],[[[1,"        "],[10,"li"],[14,0,"ember-power-select-option"],[15,1,[29,[[30,2,["uniqueId"]],"-",[30,12],[30,10]]]],[15,"aria-selected",[29,[[28,[37,8],[[30,9],[30,2,["selected"]]],null]]]],[15,"aria-disabled",[52,[30,9,["disabled"]],"true"]],[15,"aria-current",[29,[[28,[37,8],[[30,9],[30,2,["highlighted"]]],null]]]],[15,"data-option-index",[29,[[30,12],[30,10]]]],[14,"role","option"],[12],[1,"\\n          "],[18,14,[[30,9],[30,2]]],[1,"\\n        "],[13],[1,"\\n"]],[]]]],[9,10]],null]],[6,7]]],[13],[1,"\\n"]],["&attrs","@select","@loadingMessage","@groupComponent","@optionsComponent","Group","Options","@options","opt","index","@extra","@groupIndex","option","&default"],false,["if","let","component","ensure-safe-component","each","-track-array","ember-power-select-is-group","yield","ember-power-select-is-equal"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-power-select/dist/components/power-select/options.js",isStrictMode:!1})
const p=!!window&&"ontouchstart"in window
var f
"undefined"==typeof FastBoot&&("function"!=typeof(f=window.Element.prototype).matches&&(f.matches=f.msMatchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector),"function"!=typeof f.closest&&(f.closest=function(e){let t=this
for(;null!==t&&1===t.nodeType;){if(t.matches(e))return t
t=t.parentNode}return null}))
class m extends(s()){constructor(...e){super(...e),h(this,"isTouchDevice",this.args.extra?._isTouchDevice||p),h(this,"touchMoveEvent",void 0),h(this,"mouseOverHandler",(e=>{})),h(this,"mouseUpHandler",(e=>{})),h(this,"touchEndHandler",(e=>{})),h(this,"touchMoveHandler",(e=>{})),h(this,"touchStartHandler",(e=>{})),h(this,"_listElement",null),h(this,"_didHandlerSetup",!1),h(this,"setupHandlers",(0,a.modifier)((e=>{this._didHandlerSetup||(this._didHandlerSetup=!0,this._listElement=e,this._addHandlers(e))})))}willDestroy(){super.willDestroy(),this._listElement&&this._removeHandlers(this._listElement)}addHandlers(e){(0,l.deprecate)("You are using power-select options component with ember/render-modifier. Replace {{did-insert this.addHandlers}} with {{this.setupHandlers}}.",!1,{for:"ember-power-select",id:"ember-power-select.no-at-ember-render-modifiers",since:{enabled:"8.1",available:"8.1"},until:"9.0.0"}),this._addHandlers(e)}removeHandlers(e){(0,l.deprecate)("You are using power-select options component with ember/render-modifier. Replace {{will-destroy this.removeHandlers}} with {{this.setupHandlers}}.",!1,{for:"ember-power-select",id:"ember-power-select.no-at-ember-render-modifiers",since:{enabled:"8.1",available:"8.1"},until:"9.0.0"}),this._removeHandlers(e)}_optionFromIndex(e){const t=e.split(".")
let r=this.args.options[parseInt(t[0]??"",10)]
for(let n=1;n<t.length;n++)r=r.options[parseInt(t[n]??"",10)]
return r}_hasMoved(e){const t=this.touchMoveEvent
if(!t)return!1
if(!t.changedTouches)return!1
if(!e.changedTouches?.[0]||"stylus"!==t.changedTouches[0].touchType)return!0
const r=t.changedTouches[0],n=Math.abs((r?.pageX??0)-e.changedTouches[0].pageX),i=Math.abs((r?.pageY??0)-e.changedTouches[0].pageY)
return n>=5||i>=5}_addHandlers(e){if("true"===e.getAttribute("data-optgroup"))return
const t=(e,t)=>{if(null===t.target)return
const r=t.target.closest("[data-option-index]")
if(!r)return
if(r.closest("[aria-disabled=true]"))return
const n=r.getAttribute("data-option-index")
null!==n&&e(this._optionFromIndex(n),t)}
this.mouseUpHandler=e=>t(this.args.select.actions.choose,e),e.addEventListener("mouseup",this.mouseUpHandler),this.args.highlightOnHover&&(this.mouseOverHandler=e=>t(this.args.select.actions.highlight,e),e.addEventListener("mouseover",this.mouseOverHandler)),this.isTouchDevice&&(this.touchMoveHandler=t=>{this.touchMoveEvent=t,e&&e.removeEventListener("touchmove",this.touchMoveHandler)},this.touchStartHandler=t=>{e.addEventListener("touchmove",this.touchMoveHandler)},this.touchEndHandler=e=>{if(null===e.target)return
const t=e.target.closest("[data-option-index]")
if(null===t)return
if(e.preventDefault(),this._hasMoved(e))return void(this.touchMoveEvent=void 0)
if(t.closest("[aria-disabled=true]"))return
const r=t.getAttribute("data-option-index")
null!==r&&this.args.select.actions.choose(this._optionFromIndex(r),e)},e.addEventListener("touchstart",this.touchStartHandler),e.addEventListener("touchend",this.touchEndHandler)),this.args.select.actions.scrollTo(this.args.select.highlighted)}_removeHandlers(e){e.removeEventListener("mouseup",this.mouseUpHandler),e.removeEventListener("mouseover",this.mouseOverHandler),e.removeEventListener("touchstart",this.touchStartHandler),e.removeEventListener("touchmove",this.touchMoveHandler),e.removeEventListener("touchend",this.touchEndHandler)}}n=m,(0,c.n)(n.prototype,"addHandlers",[o.action]),(0,c.n)(n.prototype,"removeHandlers",[o.action]),(0,u.setComponentTemplate)(d,m)},68623:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"iTXcgnR7",block:'[[[41,[30,1],[[[1,"  "],[8,[30,2],null,[["@isDefaultPlaceholder"],[true]],null],[1,"\\n"]],[]],[[[41,[30,3],[[[1,"  "],[11,1],[24,0,"ember-power-select-placeholder"],[17,4],[12],[1,[30,3]],[13],[1,"\\n"]],[]],null]],[]]]],["@isMultipleWithSearch","@inputComponent","@placeholder","&attrs"],false,["if"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-power-select/dist/components/power-select/placeholder.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},93335:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(17990),i=r.n(n),s=r(29806),o=r(23574),a=(0,r(59266).createTemplateFactory)({id:"dkVdzZqG",block:'[[[10,"li"],[14,0,"ember-power-select-group"],[15,"aria-disabled",[52,[30,1,["disabled"]],"true"]],[14,"role","group"],[15,"aria-labelledby",[30,0,["uniqueId"]]],[12],[1,"\\n  "],[10,1],[14,0,"ember-power-select-group-name"],[15,1,[30,0,["uniqueId"]]],[12],[1,[30,1,["groupName"]]],[13],[1,"\\n  "],[18,2,null],[1,"\\n"],[13]],["@group","&default"],false,["if","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-power-select/dist/components/power-select/power-select-group.js",isStrictMode:!1})
class l extends(i()){constructor(...e){var t,r,n
super(...e),t=this,r="uniqueId",n=(0,s.guidFor)(this),(r=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}}(0,o.setComponentTemplate)(a,l)},68715:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a})
var n=r(38805),i=r.n(n),s=r(23574),o=(0,r(59266).createTemplateFactory)({id:"GEtYN+Gd",block:'[[[11,"ul"],[24,0,"ember-power-select-options"],[24,"role","listbox"],[17,1],[12],[1,"\\n  "],[10,"li"],[14,0,"ember-power-select-option ember-power-select-option--search-message"],[14,"role","option"],[15,"aria-selected",false],[12],[1,"\\n    "],[1,[30,2]],[1,"\\n  "],[13],[1,"\\n"],[13]],["&attrs","@searchMessage"],false,[]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-power-select/dist/components/power-select/search-message.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},96704:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>u})
var n,i=r(17990),s=r.n(i),o=r(37219),a=r(80836),l=r(23574),c=(0,r(59266).createTemplateFactory)({id:"reeUyrIf",block:'[[[41,[28,[37,1],[[30,1,["selected"]]],null],[[[41,[30,2],[[[44,[[50,[28,[37,4],[[30,2]],null],0,null,null]],[[[1,"      "],[8,[30,3],null,[["@extra","@option","@select"],[[28,[37,5],[[30,4]],null],[28,[37,5],[[30,1,["selected"]]],null],[28,[37,5],[[30,1]],null]]],null],[1,"\\n"]],[3]]]],[]],[[[1,"    "],[10,1],[14,0,"ember-power-select-selected-item"],[12],[18,9,[[30,1,["selected"]],[30,1]]],[13],[1,"\\n"]],[]]],[41,[28,[37,7],[[30,5],[28,[37,8],[[30,1,["disabled"]]],null]],null],[[[1,"    "],[11,1],[24,0,"ember-power-select-clear-btn"],[24,"role","button"],[4,[38,9],["mousedown",[30,0,["clear"]]],null],[4,[38,9],["touchstart",[30,0,["clear"]]],null],[12],[1,"×"],[13],[1,"\\n"]],[]],null]],[]],[[[44,[[50,[28,[37,4],[[30,6]],null],0,null,null]],[[[1,"    "],[8,[30,7],null,[["@placeholder"],[[30,8]]],null],[1,"\\n"]],[7]]]],[]]],[10,1],[14,0,"ember-power-select-status-icon"],[12],[13],[1,"\\n"]],["@select","@selectedItemComponent","SelectedItemComponent","@extra","@allowClear","@placeholderComponent","PlaceholderComponent","@placeholder","&default"],false,["if","ember-power-select-is-selected-present","let","component","ensure-safe-component","readonly","yield","and","not","on"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-power-select/dist/components/power-select/trigger.js",isStrictMode:!1})
class u extends(s()){clear(e){if(e.stopPropagation(),this.args.select.actions.select(null),"touchstart"===e.type)return!1}}n=u,(0,a.n)(n.prototype,"clear",[o.action]),(0,l.setComponentTemplate)(c,u)},24042:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>a,emberPowerSelectIsEqual:()=>o})
var n=r(58797),i=r(28614),s=r(31866)
function o([e,t]){if(null==t)return!1
if((0,i.isArray)(t)){for(let r=0;r<t.length;r++)if((0,s.isEqual)(t[r],e))return!0
return!1}return(0,s.isEqual)(e,t)}var a=(0,n.helper)(o)},41779:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>o,emberPowerSelectIsGroup:()=>s})
var n=r(58797),i=r(28557)
function s([e]){return(0,i.isGroup)(e)}var o=(0,n.helper)(s)},92273:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>o,emberPowerSelectIsSelectedPresent:()=>s})
var n=r(58797),i=r(31866)
function s([e]){return!(0,i.isNone)(e)}var o=(0,n.helper)(s)},28557:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{advanceSelectableOption:()=>p,countOptions:()=>s,defaultHighlighted:()=>d,defaultMatcher:()=>g,defaultTypeAheadMatcher:()=>y,filterOptions:()=>h,findOptionWithOffset:()=>u,indexOfOption:()=>o,isGroup:()=>i,optionAtIndex:()=>l,pathForOption:()=>a,stripDiacritics:()=>m})
var n=r(31866)
function i(e){return!!e&&!!e.groupName&&!!e.options}function s(e){let t=0
return function e(r){if(r)for(let n=0;n<r.length;n++){const s=r.objectAt?r.objectAt(n):r[n]
i(s)?e(s.options):t++}}(e),t}function o(e,t){let r=0
return function e(s){if(!s)return-1
for(let o=0;o<s.length;o++){const a=s.objectAt?s.objectAt(o):s[o]
if(i(a)){const t=e(a.options)
if(t>-1)return t}else{if((0,n.isEqual)(a,t))return r
r++}}return-1}(e)}function a(e,t){return function e(r){if(!r)return""
for(let s=0;s<r.length;s++){const o=r.objectAt?r.objectAt(s):r[s]
if(i(o)){const t=e(o.options)
if(t.length>0)return s+"."+t}else if((0,n.isEqual)(o,t))return s+""}return""}(e)}function l(e,t){let r=0
return function e(n,s){if(!n||t<0)return{disabled:!1,option:void 0}
let o=0
const a=n.length
for(;r<=t&&o<a;){const a=n.objectAt?n.objectAt(o):n[o]
if(i(a)){const t=e(a.options,s||!!a.disabled)
if(t)return t}else{if(r===t)return{disabled:s||!!a.disabled,option:a}
r++}o++}}(e,!1)||{disabled:!1,option:void 0}}function c(e,t){const r={groupName:e.groupName,options:t}
return Object.prototype.hasOwnProperty.call(e,"disabled")&&(r.disabled=e.disabled),r}function u(e,t,r,n,s=!1){let o,a=0,l=!1
const c=()=>!!l
return function e(u,h){const d=u.length
for(let p=0;p<d;p++){const h=u.objectAt?u.objectAt(p):u[p],d=!!h.disabled
if(!s||!d){if(i(h)){if(e(h.options),c())return}else r(h,t)>=0?(a<n?o||(o=h):l=h,a++):a++
if(c())return}}}(e),l||o}function h(e,t,r,n=!1){const s=[],o=e.length
for(let a=0;a<o;a++){const o=e.objectAt?e.objectAt(a):e[a]
if(!n||!o.disabled)if(i(o)){const e=h(o.options,t,r,n)
e.length>0&&s.push(c(o,e))}else r(o,t)>=0&&s.push(o)}return s}function d({results:e,highlighted:t,selected:r}){const n=t||r
return void 0===n||-1===o(e,n)?p(e,n,1):n}function p(e,t,r){const n=s(e)
let i=Math.min(Math.max(o(e,t)+r,0),n-1),{disabled:a,option:c}=l(e,i)
for(;c&&a;){const t=l(e,i+=r)
a=t.disabled,c=t.option}return c}const f={"Ⓐ":"A","Ａ":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","Ｂ":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","Ｃ":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","Ｄ":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","Ǳ":"DZ","Ǆ":"DZ","ǲ":"Dz","ǅ":"Dz","Ⓔ":"E","Ｅ":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","Ｆ":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","Ｇ":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","Ｈ":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","Ｉ":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","Ｊ":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","Ｋ":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","Ｌ":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","Ǉ":"LJ","ǈ":"Lj","Ⓜ":"M","Ｍ":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","Ｎ":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","Ǌ":"NJ","ǋ":"Nj","Ⓞ":"O","Ｏ":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","Ｐ":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Ｑ":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","Ｒ":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","Ｓ":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","Ｔ":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","Ｕ":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","Ｖ":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","Ｗ":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","Ｘ":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Ｙ":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Ｚ":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","ａ":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","ｂ":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","ｃ":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","ｄ":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","ǳ":"dz","ǆ":"dz","ⓔ":"e","ｅ":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","ｆ":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","ｇ":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","ｈ":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","ｉ":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","ｊ":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","ｋ":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","ｌ":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","ǉ":"lj","ⓜ":"m","ｍ":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","ｎ":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ŉ":"n","ꞑ":"n","ꞥ":"n","ǌ":"nj","ⓞ":"o","ｏ":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","ｐ":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","ｑ":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","ｒ":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","ｓ":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","ｔ":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","ｕ":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","ｖ":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","ｗ":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","ｘ":"x","ẋ":"x","ẍ":"x","ⓨ":"y","ｙ":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","ｚ":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}
function m(e){return`${e}`.replace(/[^\u0000-\u007E]/g,(function(e){return f[e]||e}))}function g(e,t){return m(e).toUpperCase().indexOf(m(t).toUpperCase())}function y(e,t){return m(e).toUpperCase().startsWith(m(t).toUpperCase())?1:-1}},24703:(e,t,r)=>{"use strict"
function n(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}function i(e,t,r,n,i){var s={}
return Object.keys(n).forEach((function(e){s[e]=n[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}r.d(t,{_:()=>i,a:()=>n})},28370:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>f})
var n,i,s,o=r(24703),a=r(23574),l=r(17990),c=r.n(l),u=r(37219),h=r(88574),d=r(3353),p=(0,r(59266).createTemplateFactory)({id:"9ii2yGe3",block:'[[[11,0],[17,1],[4,[38,0],[[30,0,["register"]]],null],[4,[38,1],[[30,0,["unregister"]]],null],[12],[1,"\\n  "],[18,2,[[30,0,["count"]]]],[1,"\\n"],[13]],["&attrs","&default"],false,["did-insert","will-destroy","yield"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-stargate/dist/components/portal-target.js",isStrictMode:!1})
let f=(n=(0,h.inject)("-portal"),i=class extends(c()){constructor(...e){super(...e),(0,o.a)(this,"portalService",s,this)}get count(){return this.portalService.getPortalCount(this.args.name)}register(e){(0,d.assert)("PortalTargets needs a name",this.args.name)
const t={multiple:this.args.multiple,onChange:this.args.onChange}
this.portalService.registerTarget(this.args.name,e,t)}unregister(){this.portalService.unregisterTarget(this.args.name)}},s=(0,o._)(i.prototype,"portalService",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o._)(i.prototype,"register",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"register"),i.prototype),(0,o._)(i.prototype,"unregister",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"unregister"),i.prototype),i);(0,a.setComponentTemplate)(p,f)},84371:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>j})
var n=r(24703),i=r(77593),s=r(23574),o=r(17990),a=r.n(o),l=r(88574),c=r(98773)
function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=r(36173),d=r(19341),p=r(76283),f=r(61292),m=r(3353)
const g="__INTERNAL__",y=()=>[]
class v{static from(e,t){return"function"==typeof e?{thunk:e,definition:this,type:"class-based",[g]:!0}:function(e,t,r){let n
return(0,m.assert)(`Expected second argument, klass, to be a Resource. Instead, received some ${typeof t}, ${t.name}`,t.prototype instanceof v),new Proxy({get value(){return n||(n=(0,p.invokeHelper)(e,t,(()=>function(e){if(!e)return{named:{},positional:[]}
let t=e()
return Array.isArray(t)?{named:{},positional:t}:t?"positional"in t||"named"in t?t:{named:t,positional:[]}:{named:{},positional:[]}}(r||y)))),(0,h.getValue)(n)}},{get(e,t){const r=e.value,n=Reflect.get(r,t,r)
return"function"==typeof n?n.bind(r):n},ownKeys(e){const t=e.value
return Reflect.ownKeys(t)},getOwnPropertyDescriptor(e,t){const r=e.value
return Reflect.getOwnPropertyDescriptor(r,t)}})}(e,this,t)}constructor(e){(0,f.setOwner)(this,e)}}class b{constructor(e){u(this,"capabilities",(0,p.capabilities)("3.23",{hasValue:!0,hasDestroyable:!0})),this.owner=e}createHelper(e,t){let r,n=this.owner,i=(0,h.createCache)((()=>(void 0===r&&(r=new e(n),(0,d.associateDestroyableChild)(i,r)),r.modify&&r.modify(t.positional,t.named),r)))
return i}getValue(e){return(0,h.getValue)(e)}getDestroyable(e){return e}}(0,p.setHelperManager)((e=>new b(e)),v)
var w,S,k,x,E,N,_,C=r(55521)
w=class{constructor(e){var t;(t=S)&&Object.defineProperty(this,"current",{enumerable:t.enumerable,configurable:t.configurable,writable:t.writable,value:t.initializer?t.initializer.call(this):void 0}),u(this,"toggle",(()=>{(0,m.assert)("toggle can only be used when 'current' is a boolean type","boolean"==typeof this.current||void 0===this.current),this.current=!this.current})),u(this,"update",(e=>{this.current=e(this.current)})),u(this,"set",(e=>{this.current=e})),void 0!==e&&(this.current=e)}},k=w.prototype,x="current",E=[C.tracked],N={configurable:!0,enumerable:!0,writable:!0,initializer:null},_={},Object.keys(N).forEach((function(e){_[e]=N[e]})),_.enumerable=!!_.enumerable,_.configurable=!!_.configurable,("value"in _||_.initializer)&&(_.writable=!0),void 0===(_=E.slice().reverse().reduce((function(e,t){return t(k,x,e)||e}),_)).initializer&&(Object.defineProperty(k,x,_),_=null),S=_
var A,O,P,T=(0,r(59266).createTemplateFactory)({id:"bqL9cn7u",block:'[[[41,[30,0,["renderInPlace"]],[[[1,"  "],[18,1,null],[1,"\\n"]],[]],[[[41,[30,0,["target"]],[[[41,[30,0,["target","multiple"]],[[[40,[[[1,"      "],[18,1,null],[1,"\\n"]],[]],"%cursor:0%",[28,[37,3],[[30,0,["target","element"]]],null],null]],[]],[[[40,[[[1,"      "],[18,1,null],[1,"\\n"]],[]],"%cursor:1%",[28,[37,3],[[30,0,["target","element"]]],null]]],[]]]],[]],null]],[]]]],["&default"],false,["if","yield","in-element","-in-el-null"]]',moduleName:"/mnt/btrfs/storage/tmp/src/vault/ui/node_modules/ember-stargate/dist/components/portal.js",isStrictMode:!1})
let I=(A=(0,l.inject)("-portal"),O=class extends v{constructor(e){super(e),(0,n.a)(this,"portalService",P,this),(0,i._)(this,"_target",void 0),(0,d.registerDestructor)(this,(()=>this._target&&this.portalService.unregisterPortal(this._target)))}get target(){return this._target?this.portalService.getTarget(this._target):void 0}modify([e]){const t=this._target;(0,c.next)((()=>{this.portalService.registerPortal(e),t&&this.portalService.unregisterPortal(t)})),this._target=e}},P=(0,n._)(O.prototype,"portalService",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O)
class j extends(a()){constructor(...e){super(...e),(0,i._)(this,"tracker",I.from(this,(()=>[this.args.target])))}get target(){return this.tracker.target}get renderInPlace(){return!0===this.args.renderInPlace||!this.target&&"inplace"===this.args.fallback}}(0,s.setComponentTemplate)(T,j)},77593:(e,t,r)=>{"use strict"
function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{_:()=>n})},31815:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>f})
var n=r(77593),i=r(88574),s=r.n(i),o=r(3353),a=r(98773),l=r(13290)
function c(e,t){var r=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance")
return t.get(e)}(e,t)
return function(e,t){return t.get?t.get.call(e):t.value}(e,r)}function u(e,t,r){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,r)}class h{constructor(e,t,r){(0,n._)(this,"name",void 0),(0,n._)(this,"element",void 0),(0,n._)(this,"multiple",void 0),(0,n._)(this,"onChange",void 0),this.name=e,this.element=t,this.multiple=r.multiple??!1,this.onChange=r.onChange}}var d=new WeakMap,p=new WeakMap
class f extends(s()){constructor(...e){super(...e),u(this,d,{writable:!0,value:new l.TrackedMap}),u(this,p,{writable:!0,value:new l.TrackedMap})}getTarget(e){return c(this,d).get(e)}getPortalCount(e){return c(this,p).get(e)??0}registerTarget(e,t,r){(0,a.next)(this,(()=>{(0,o.assert)(`Portal target with name ${e} already exists`,!c(this,d).has(e)),c(this,d).set(e,new h(e,t,r))}))}unregisterTarget(e){c(this,d).delete(e)}registerPortal(e){(0,a.next)(this,(()=>{const t=(c(this,p).get(e)??0)+1
c(this,p).set(e,t)
const r=c(this,d).get(e)
r&&r.onChange&&r.onChange(t)}))}unregisterPortal(e){let t=c(this,p).get(e)??0;(0,o.assert)(`Trying to unregister a portal "${e}" that hasn't been registered before`,t>0),t--,c(this,p).set(e,t)
const r=c(this,d).get(e)
r&&r.onChange&&r.onChange(t)}}},36266:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{default:()=>l})
var n=r(38575),i=r(95266),s=r(3353),o=r(31866)
function a(e){return"object"==typeof e&&Boolean(e)}class l extends n.default{constructor(...e){var t,r,n
super(...e),t=this,r="existingStyles",n=new Set,(r=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(r))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n}setStyles(e,t){const{existingStyles:r}=this,n=new Set(r)
r.clear(),t.forEach((([t,i])=>{(0,s.assert)(`Your given value for property '${t}' is ${i} (${(0,o.typeOf)(i)}). Accepted types are string and undefined. Please change accordingly.`,void 0===i||"string"===(0,o.typeOf)(i))
let a=""
i&&i.includes("!important")&&(a="important",i=i.replace("!important","")),e.style.setProperty(t,i,a),n.delete(t),r.add(t)})),n.forEach((t=>e.style.removeProperty(t)))}modify(e,t,r){this.setStyles(e,function(e,t){return[...e.filter(a),t].map((e=>Object.entries(e).map((([e,t])=>[(0,i.dasherize)(e),t])))).flat()}(t,r))}}},42240:e=>{"use strict"
const t=/[|\\{}()[\]^$+*?.-]/g
e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string")
return e.replace(t,"\\$&")}},38337:e=>{"use strict"
!function(){var t=/^(b|B)$/,r={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},n={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}
function i(e){var i,s,o,a,l,c,u,h,d,p,f,m,g,y,v,b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},w=[],S=0,k=void 0,x=void 0
if(isNaN(e))throw new TypeError("Invalid number")
return s=!0===b.bits,f=!0===b.unix,i=b.base||2,p=void 0!==b.round?b.round:f?1:2,c=void 0!==b.locale?b.locale:"",u=b.localeOptions||{},m=void 0!==b.separator?b.separator:"",g=void 0!==b.spacer?b.spacer:f?"":" ",v=b.symbols||{},y=2===i&&b.standard||"jedec",d=b.output||"string",a=!0===b.fullform,l=b.fullforms instanceof Array?b.fullforms:[],k=void 0!==b.exponent?b.exponent:-1,o=i>2?1e3:1024,(h=(x=Number(e))<0)&&(x=-x),(-1===k||isNaN(k))&&(k=Math.floor(Math.log(x)/Math.log(o)))<0&&(k=0),k>8&&(k=8),"exponent"===d?k:(0===x?(w[0]=0,w[1]=f?"":r[y][s?"bits":"bytes"][k]):(S=x/(2===i?Math.pow(2,10*k):Math.pow(1e3,k)),s&&(S*=8)>=o&&k<8&&(S/=o,k++),w[0]=Number(S.toFixed(k>0?p:0)),w[0]===o&&k<8&&void 0===b.exponent&&(w[0]=1,k++),w[1]=10===i&&1===k?s?"kb":"kB":r[y][s?"bits":"bytes"][k],f&&(w[1]="jedec"===y?w[1].charAt(0):k>0?w[1].replace(/B$/,""):w[1],t.test(w[1])&&(w[0]=Math.floor(w[0]),w[1]=""))),h&&(w[0]=-w[0]),w[1]=v[w[1]]||w[1],!0===c?w[0]=w[0].toLocaleString():c.length>0?w[0]=w[0].toLocaleString(c,u):m.length>0&&(w[0]=w[0].toString().replace(".",m)),"array"===d?w:(a&&(w[1]=l[k]?l[k]:n[y][k]+(s?"bit":"byte")+(1===w[0]?"":"s")),"object"===d?{value:w[0],symbol:w[1]}:w.join(g)))}i.partial=function(e){return function(t){return i(t,e)}},e.exports=i}("undefined"!=typeof window?window:global)},190:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{AccessDescription:()=>Zt,Accuracy:()=>Jt,AlgorithmIdentifier:()=>dt,AltName:()=>Gt,Attribute:()=>yt,AttributeTypeAndValue:()=>$t,AuthenticatedSafe:()=>kn,AuthorityKeyIdentifier:()=>mr,BasicConstraints:()=>nr,BasicOCSPResponse:()=>Cn,CAVersion:()=>Nr,CRLBag:()=>qr,CRLDistributionPoints:()=>cr,CertBag:()=>Vr,CertID:()=>xn,Certificate:()=>Tr,CertificateChainValidationEngine:()=>_n,CertificatePolicies:()=>dr,CertificateRevocationList:()=>Hr,CertificateSet:()=>Gr,CertificateTemplate:()=>Er,CertificationRequest:()=>On,ContentInfo:()=>Yt,CryptoEngine:()=>Ct,DigestInfo:()=>Pn,DistributionPoint:()=>lr,ECCCMSSharedInfo:()=>vn,ECNamedCurves:()=>pt,ECPrivateKey:()=>vt,ECPublicKey:()=>ft,EncapsulatedContentInfo:()=>Tn,EncryptedContentInfo:()=>kt,EncryptedData:()=>Xt,EnvelopedData:()=>Sn,ExtKeyUsage:()=>yr,Extension:()=>Ar,Extensions:()=>Or,GeneralName:()=>Kt,GeneralNames:()=>sr,GeneralSubtree:()=>or,InfoAccess:()=>vr,IssuerAndSerialNumber:()=>en,IssuingDistributionPoint:()=>ir,KEKIdentifier:()=>dn,KEKRecipientInfo:()=>pn,KeyAgreeRecipientIdentifier:()=>ln,KeyAgreeRecipientInfo:()=>hn,KeyBag:()=>In,KeyTransRecipientInfo:()=>rn,MacData:()=>jn,MessageImprint:()=>Dn,NameConstraints:()=>ar,OCSPRequest:()=>Ln,OCSPResponse:()=>Fn,OriginatorIdentifierOrKey:()=>sn,OriginatorInfo:()=>Qr,OriginatorPublicKey:()=>nn,OtherCertificateFormat:()=>Jr,OtherKeyAttribute:()=>on,OtherPrimeInfo:()=>bt,OtherRecipientInfo:()=>mn,OtherRevocationInfoFormat:()=>Yr,PBES2Params:()=>Nt,PBKDF2Params:()=>Et,PFX:()=>qn,PKCS8ShroudedKeyBag:()=>Qt,PKIStatusInfo:()=>Wn,PasswordRecipientinfo:()=>fn,PolicyConstraints:()=>gr,PolicyInformation:()=>hr,PolicyMapping:()=>pr,PolicyMappings:()=>fr,PolicyQualifierInfo:()=>ur,PrivateKeyInfo:()=>St,PrivateKeyUsagePeriod:()=>rr,PublicKeyInfo:()=>gt,QCStatement:()=>_r,QCStatements:()=>Cr,RSAESOAEPParams:()=>yn,RSAPrivateKey:()=>wt,RSAPublicKey:()=>mt,RSASSAPSSParams:()=>xt,RecipientEncryptedKey:()=>cn,RecipientEncryptedKeys:()=>un,RecipientIdentifier:()=>tn,RecipientInfo:()=>gn,RecipientKeyIdentifier:()=>an,RelativeDistinguishedNames:()=>Ut,Request:()=>Mn,ResponseBytes:()=>zn,ResponseData:()=>Nn,RevocationInfoChoices:()=>Xr,RevokedCertificate:()=>$r,SafeBag:()=>Kr,SafeContents:()=>Zr,SecretBag:()=>Wr,Signature:()=>Rn,SignedAndUnsignedAttributes:()=>Vn,SignedCertificateTimestamp:()=>Sr,SignedCertificateTimestampList:()=>kr,SignedData:()=>Hn,SignerInfo:()=>$n,SingleResponse:()=>En,SubjectDirectoryAttributes:()=>tr,TBSRequest:()=>Bn,TSTInfo:()=>Un,Time:()=>er,TimeStampReq:()=>Kn,TimeStampResp:()=>Zn,createCMSECDSASignature:()=>Mt,createECDSASignatureFromCMS:()=>Rt,getAlgorithmByOID:()=>Lt,getAlgorithmParameters:()=>Dt,getCrypto:()=>Tt,getEngine:()=>Pt,getHashAlgorithm:()=>zt,getOIDByAlgorithm:()=>jt,getRandomValues:()=>It,kdf:()=>Vt,kdfWithCounter:()=>Ft,setEngine:()=>Ot,stringPrep:()=>Bt,verifySCTsForCertificate:()=>xr})
var n=r(19157),i=r(90899)
function s(){if("undefined"==typeof BigInt)throw new Error("BigInt is not defined. Your environment doesn't implement BigInt.")}function o(e){let t=0,r=0
for(let i=0;i<e.length;i++)t+=e[i].byteLength
const n=new Uint8Array(t)
for(let i=0;i<e.length;i++){const t=e[i]
n.set(new Uint8Array(t),r),r+=t.byteLength}return n.buffer}function a(e,t,r,n){return t instanceof Uint8Array?t.byteLength?r<0?(e.error="Wrong parameter: inputOffset less than zero",!1):n<0?(e.error="Wrong parameter: inputLength less than zero",!1):!(t.byteLength-r-n<0&&(e.error="End of input reached before message was fully decoded (inconsistent offset and length values)",1)):(e.error="Wrong parameter: inputBuffer has zero length",!1):(e.error="Wrong parameter: inputBuffer must be 'Uint8Array'",!1)}class l{constructor(){this.items=[]}write(e){this.items.push(e)}final(){return o(this.items)}}const c=[new Uint8Array([1])],u="0123456789",h="name",d="valueHexView",p="",f=new ArrayBuffer(0),m=new Uint8Array(0),g="EndOfContent",y="OCTET STRING",v="BIT STRING"
function b(e){var t
return(t=class extends e{constructor(...e){var t
super(...e)
const r=e[0]||{}
this.isHexOnly=null!==(t=r.isHexOnly)&&void 0!==t&&t,this.valueHexView=r.valueHex?n.vJ.toUint8Array(r.valueHex):m}get valueHex(){return this.valueHexView.slice().buffer}set valueHex(e){this.valueHexView=new Uint8Array(e)}fromBER(e,t,r){const n=e instanceof ArrayBuffer?new Uint8Array(e):e
if(!a(this,n,t,r))return-1
const i=t+r
return this.valueHexView=n.subarray(t,i),this.valueHexView.length?(this.blockLength=r,i):(this.warnings.push("Zero buffer length"),t)}toBER(e=!1){return this.isHexOnly?e?new ArrayBuffer(this.valueHexView.byteLength):this.valueHexView.byteLength===this.valueHexView.buffer.byteLength?this.valueHexView.buffer:this.valueHexView.slice().buffer:(this.error="Flag 'isHexOnly' is not set, abort",f)}toJSON(){return{...super.toJSON(),isHexOnly:this.isHexOnly,valueHex:n.ep.ToHex(this.valueHexView)}}}).NAME="hexBlock",t}class w{constructor({blockLength:e=0,error:t="",warnings:r=[],valueBeforeDecode:i=m}={}){this.blockLength=e,this.error=t,this.warnings=r,this.valueBeforeDecodeView=n.vJ.toUint8Array(i)}static blockName(){return this.NAME}get valueBeforeDecode(){return this.valueBeforeDecodeView.slice().buffer}set valueBeforeDecode(e){this.valueBeforeDecodeView=new Uint8Array(e)}toJSON(){return{blockName:this.constructor.NAME,blockLength:this.blockLength,error:this.error,warnings:this.warnings,valueBeforeDecode:n.ep.ToHex(this.valueBeforeDecodeView)}}}w.NAME="baseBlock"
class S extends w{fromBER(e,t,r){throw TypeError("User need to make a specific function in a class which extends 'ValueBlock'")}toBER(e,t){throw TypeError("User need to make a specific function in a class which extends 'ValueBlock'")}}S.NAME="valueBlock"
class k extends(b(w)){constructor({idBlock:e={}}={}){var t,r,i,s
super(),e?(this.isHexOnly=null!==(t=e.isHexOnly)&&void 0!==t&&t,this.valueHexView=e.valueHex?n.vJ.toUint8Array(e.valueHex):m,this.tagClass=null!==(r=e.tagClass)&&void 0!==r?r:-1,this.tagNumber=null!==(i=e.tagNumber)&&void 0!==i?i:-1,this.isConstructed=null!==(s=e.isConstructed)&&void 0!==s&&s):(this.tagClass=-1,this.tagNumber=-1,this.isConstructed=!1)}toBER(e=!1){let t=0
switch(this.tagClass){case 1:t|=0
break
case 2:t|=64
break
case 3:t|=128
break
case 4:t|=192
break
default:return this.error="Unknown tag class",f}if(this.isConstructed&&(t|=32),this.tagNumber<31&&!this.isHexOnly){const r=new Uint8Array(1)
if(!e){let e=this.tagNumber
e&=31,t|=e,r[0]=t}return r.buffer}if(!this.isHexOnly){const r=i.utilToBase(this.tagNumber,7),n=new Uint8Array(r),s=r.byteLength,o=new Uint8Array(s+1)
if(o[0]=31|t,!e){for(let e=0;e<s-1;e++)o[e+1]=128|n[e]
o[s]=n[s-1]}return o.buffer}const r=new Uint8Array(this.valueHexView.byteLength+1)
if(r[0]=31|t,!e){const e=this.valueHexView
for(let t=0;t<e.length-1;t++)r[t+1]=128|e[t]
r[this.valueHexView.byteLength]=e[e.length-1]}return r.buffer}fromBER(e,t,r){const s=n.vJ.toUint8Array(e)
if(!a(this,s,t,r))return-1
const o=s.subarray(t,t+r)
if(0===o.length)return this.error="Zero buffer length",-1
switch(192&o[0]){case 0:this.tagClass=1
break
case 64:this.tagClass=2
break
case 128:this.tagClass=3
break
case 192:this.tagClass=4
break
default:return this.error="Unknown tag class",-1}this.isConstructed=!(32&~o[0]),this.isHexOnly=!1
const l=31&o[0]
if(31!==l)this.tagNumber=l,this.blockLength=1
else{let e=1,t=this.valueHexView=new Uint8Array(255),r=255
for(;128&o[e];){if(t[e-1]=127&o[e],e++,e>=o.length)return this.error="End of input reached before message was fully decoded",-1
if(e===r){r+=255
const e=new Uint8Array(r)
for(let r=0;r<t.length;r++)e[r]=t[r]
t=this.valueHexView=new Uint8Array(r)}}this.blockLength=e+1,t[e-1]=127&o[e]
const n=new Uint8Array(e)
for(let i=0;i<e;i++)n[i]=t[i]
t=this.valueHexView=new Uint8Array(e),t.set(n),this.blockLength<=9?this.tagNumber=i.utilFromBase(t,7):(this.isHexOnly=!0,this.warnings.push("Tag too long, represented as hex-coded"))}if(1===this.tagClass&&this.isConstructed)switch(this.tagNumber){case 1:case 2:case 5:case 6:case 9:case 13:case 14:case 23:case 24:case 31:case 32:case 33:case 34:return this.error="Constructed encoding used for primitive type",-1}return t+this.blockLength}toJSON(){return{...super.toJSON(),tagClass:this.tagClass,tagNumber:this.tagNumber,isConstructed:this.isConstructed}}}k.NAME="identificationBlock"
class x extends w{constructor({lenBlock:e={}}={}){var t,r,n
super(),this.isIndefiniteForm=null!==(t=e.isIndefiniteForm)&&void 0!==t&&t,this.longFormUsed=null!==(r=e.longFormUsed)&&void 0!==r&&r,this.length=null!==(n=e.length)&&void 0!==n?n:0}fromBER(e,t,r){const s=n.vJ.toUint8Array(e)
if(!a(this,s,t,r))return-1
const o=s.subarray(t,t+r)
if(0===o.length)return this.error="Zero buffer length",-1
if(255===o[0])return this.error="Length block 0xFF is reserved by standard",-1
if(this.isIndefiniteForm=128===o[0],this.isIndefiniteForm)return this.blockLength=1,t+this.blockLength
if(this.longFormUsed=!!(128&o[0]),!1===this.longFormUsed)return this.length=o[0],this.blockLength=1,t+this.blockLength
const l=127&o[0]
if(l>8)return this.error="Too big integer",-1
if(l+1>o.length)return this.error="End of input reached before message was fully decoded",-1
const c=t+1,u=s.subarray(c,c+l)
return 0===u[l-1]&&this.warnings.push("Needlessly long encoded length"),this.length=i.utilFromBase(u,8),this.longFormUsed&&this.length<=127&&this.warnings.push("Unnecessary usage of long length form"),this.blockLength=l+1,t+this.blockLength}toBER(e=!1){let t,r
if(this.length>127&&(this.longFormUsed=!0),this.isIndefiniteForm)return t=new ArrayBuffer(1),!1===e&&(r=new Uint8Array(t),r[0]=128),t
if(this.longFormUsed){const n=i.utilToBase(this.length,8)
if(n.byteLength>127)return this.error="Too big length",f
if(t=new ArrayBuffer(n.byteLength+1),e)return t
const s=new Uint8Array(n)
r=new Uint8Array(t),r[0]=128|n.byteLength
for(let e=0;e<n.byteLength;e++)r[e+1]=s[e]
return t}return t=new ArrayBuffer(1),!1===e&&(r=new Uint8Array(t),r[0]=this.length),t}toJSON(){return{...super.toJSON(),isIndefiniteForm:this.isIndefiniteForm,longFormUsed:this.longFormUsed,length:this.length}}}x.NAME="lengthBlock"
const E={}
class N extends w{constructor({name:e="",optional:t=!1,primitiveSchema:r,...n}={},i){super(n),this.name=e,this.optional=t,r&&(this.primitiveSchema=r),this.idBlock=new k(n),this.lenBlock=new x(n),this.valueBlock=i?new i(n):new S(n)}fromBER(e,t,r){const n=this.valueBlock.fromBER(e,t,this.lenBlock.isIndefiniteForm?r:this.lenBlock.length)
return-1===n?(this.error=this.valueBlock.error,n):(this.idBlock.error.length||(this.blockLength+=this.idBlock.blockLength),this.lenBlock.error.length||(this.blockLength+=this.lenBlock.blockLength),this.valueBlock.error.length||(this.blockLength+=this.valueBlock.blockLength),n)}toBER(e,t){const r=t||new l
t||_(this)
const n=this.idBlock.toBER(e)
if(r.write(n),this.lenBlock.isIndefiniteForm)r.write(new Uint8Array([128]).buffer),this.valueBlock.toBER(e,r),r.write(new ArrayBuffer(2))
else{const t=this.valueBlock.toBER(e)
this.lenBlock.length=t.byteLength
const n=this.lenBlock.toBER(e)
r.write(n),r.write(t)}return t?f:r.final()}toJSON(){const e={...super.toJSON(),idBlock:this.idBlock.toJSON(),lenBlock:this.lenBlock.toJSON(),valueBlock:this.valueBlock.toJSON(),name:this.name,optional:this.optional}
return this.primitiveSchema&&(e.primitiveSchema=this.primitiveSchema.toJSON()),e}toString(e="ascii"){return"ascii"===e?this.onAsciiEncoding():n.ep.ToHex(this.toBER())}onAsciiEncoding(){return`${this.constructor.NAME} : ${n.ep.ToHex(this.valueBlock.valueBeforeDecodeView)}`}isEqual(e){if(this===e)return!0
if(!(e instanceof this.constructor))return!1
const t=this.toBER(),r=e.toBER()
return i.isEqualBuffer(t,r)}}function _(e){if(e instanceof E.Constructed)for(const t of e.valueBlock.value)_(t)&&(e.lenBlock.isIndefiniteForm=!0)
return!!e.lenBlock.isIndefiniteForm}N.NAME="BaseBlock"
class C extends N{constructor({value:e="",...t}={},r){super(t,r),e&&this.fromString(e)}getValue(){return this.valueBlock.value}setValue(e){this.valueBlock.value=e}fromBER(e,t,r){const n=this.valueBlock.fromBER(e,t,this.lenBlock.isIndefiniteForm?r:this.lenBlock.length)
return-1===n?(this.error=this.valueBlock.error,n):(this.fromBuffer(this.valueBlock.valueHexView),this.idBlock.error.length||(this.blockLength+=this.idBlock.blockLength),this.lenBlock.error.length||(this.blockLength+=this.lenBlock.blockLength),this.valueBlock.error.length||(this.blockLength+=this.valueBlock.blockLength),n)}onAsciiEncoding(){return`${this.constructor.NAME} : '${this.valueBlock.value}'`}}C.NAME="BaseStringBlock"
class A extends(b(S)){constructor({isHexOnly:e=!0,...t}={}){super(t),this.isHexOnly=e}}var O,P,T,I,j,D,M,B,R,L,z,F,V,$,U,H,q,W,K,Z,J,G,Y,X,Q,ee,te,re,ne,ie,se,oe,ae
A.NAME="PrimitiveValueBlock"
class le extends N{constructor(e={}){super(e,A),this.idBlock.isConstructed=!1}}function ce(e,t=0,r=e.length){const n=t
let i=new N({},S)
const s=new w
if(!a(s,e,t,r))return i.error=s.error,{offset:-1,result:i}
if(!e.subarray(t,t+r).length)return i.error="Zero buffer length",{offset:-1,result:i}
let o=i.idBlock.fromBER(e,t,r)
if(i.idBlock.warnings.length&&i.warnings.concat(i.idBlock.warnings),-1===o)return i.error=i.idBlock.error,{offset:-1,result:i}
if(t=o,r-=i.idBlock.blockLength,o=i.lenBlock.fromBER(e,t,r),i.lenBlock.warnings.length&&i.warnings.concat(i.lenBlock.warnings),-1===o)return i.error=i.lenBlock.error,{offset:-1,result:i}
if(t=o,r-=i.lenBlock.blockLength,!i.idBlock.isConstructed&&i.lenBlock.isIndefiniteForm)return i.error="Indefinite length form used for primitive encoding form",{offset:-1,result:i}
let l=N
if(1===i.idBlock.tagClass){if(i.idBlock.tagNumber>=37&&!1===i.idBlock.isHexOnly)return i.error="UNIVERSAL 37 and upper tags are reserved by ASN.1 standard",{offset:-1,result:i}
switch(i.idBlock.tagNumber){case 0:if(i.idBlock.isConstructed&&i.lenBlock.length>0)return i.error="Type [UNIVERSAL 0] is reserved",{offset:-1,result:i}
l=E.EndOfContent
break
case 1:l=E.Boolean
break
case 2:l=E.Integer
break
case 3:l=E.BitString
break
case 4:l=E.OctetString
break
case 5:l=E.Null
break
case 6:l=E.ObjectIdentifier
break
case 10:l=E.Enumerated
break
case 12:l=E.Utf8String
break
case 13:l=E.RelativeObjectIdentifier
break
case 14:l=E.TIME
break
case 15:return i.error="[UNIVERSAL 15] is reserved by ASN.1 standard",{offset:-1,result:i}
case 16:l=E.Sequence
break
case 17:l=E.Set
break
case 18:l=E.NumericString
break
case 19:l=E.PrintableString
break
case 20:l=E.TeletexString
break
case 21:l=E.VideotexString
break
case 22:l=E.IA5String
break
case 23:l=E.UTCTime
break
case 24:l=E.GeneralizedTime
break
case 25:l=E.GraphicString
break
case 26:l=E.VisibleString
break
case 27:l=E.GeneralString
break
case 28:l=E.UniversalString
break
case 29:l=E.CharacterString
break
case 30:l=E.BmpString
break
case 31:l=E.DATE
break
case 32:l=E.TimeOfDay
break
case 33:l=E.DateTime
break
case 34:l=E.Duration
break
default:{const e=i.idBlock.isConstructed?new E.Constructed:new E.Primitive
e.idBlock=i.idBlock,e.lenBlock=i.lenBlock,e.warnings=i.warnings,i=e}}}else l=i.idBlock.isConstructed?E.Constructed:E.Primitive
return i=function(e,t){if(e instanceof t)return e
const r=new t
return r.idBlock=e.idBlock,r.lenBlock=e.lenBlock,r.warnings=e.warnings,r.valueBeforeDecodeView=e.valueBeforeDecodeView,r}(i,l),o=i.fromBER(e,t,i.lenBlock.isIndefiniteForm?r:i.lenBlock.length),i.valueBeforeDecodeView=e.subarray(n,n+i.blockLength),{offset:o,result:i}}function ue(e){if(!e.byteLength){const e=new N({},S)
return e.error="Input buffer has zero length",{offset:-1,result:e}}return ce(n.vJ.toUint8Array(e).slice(),0,e.byteLength)}O=le,E.Primitive=O,le.NAME="PRIMITIVE"
class he extends S{constructor({value:e=[],isIndefiniteForm:t=!1,...r}={}){super(r),this.value=e,this.isIndefiniteForm=t}fromBER(e,t,r){const i=n.vJ.toUint8Array(e)
if(!a(this,i,t,r))return-1
if(this.valueBeforeDecodeView=i.subarray(t,t+r),0===this.valueBeforeDecodeView.length)return this.warnings.push("Zero buffer length"),t
let s=t
for(;(this.isIndefiniteForm?1:r)>0;){const e=ce(i,s,r)
if(-1===e.offset)return this.error=e.result.error,this.warnings.concat(e.result.warnings),-1
if(s=e.offset,this.blockLength+=e.result.blockLength,r-=e.result.blockLength,this.value.push(e.result),this.isIndefiniteForm&&e.result.constructor.NAME===g)break}return this.isIndefiniteForm&&(this.value[this.value.length-1].constructor.NAME===g?this.value.pop():this.warnings.push("No EndOfContent block encoded")),s}toBER(e,t){const r=t||new l
for(let n=0;n<this.value.length;n++)this.value[n].toBER(e,r)
return t?f:r.final()}toJSON(){const e={...super.toJSON(),isIndefiniteForm:this.isIndefiniteForm,value:[]}
for(const t of this.value)e.value.push(t.toJSON())
return e}}he.NAME="ConstructedValueBlock"
class de extends N{constructor(e={}){super(e,he),this.idBlock.isConstructed=!0}fromBER(e,t,r){this.valueBlock.isIndefiniteForm=this.lenBlock.isIndefiniteForm
const n=this.valueBlock.fromBER(e,t,this.lenBlock.isIndefiniteForm?r:this.lenBlock.length)
return-1===n?(this.error=this.valueBlock.error,n):(this.idBlock.error.length||(this.blockLength+=this.idBlock.blockLength),this.lenBlock.error.length||(this.blockLength+=this.lenBlock.blockLength),this.valueBlock.error.length||(this.blockLength+=this.valueBlock.blockLength),n)}onAsciiEncoding(){const e=[]
for(const r of this.valueBlock.value)e.push(r.toString("ascii").split("\n").map((e=>`  ${e}`)).join("\n"))
const t=3===this.idBlock.tagClass?`[${this.idBlock.tagNumber}]`:this.constructor.NAME
return e.length?`${t} :\n${e.join("\n")}`:`${t} :`}}P=de,E.Constructed=P,de.NAME="CONSTRUCTED"
class pe extends S{fromBER(e,t,r){return t}toBER(e){return f}}pe.override="EndOfContentValueBlock"
class fe extends N{constructor(e={}){super(e,pe),this.idBlock.tagClass=1,this.idBlock.tagNumber=0}}T=fe,E.EndOfContent=T,fe.NAME=g
class me extends N{constructor(e={}){super(e,S),this.idBlock.tagClass=1,this.idBlock.tagNumber=5}fromBER(e,t,r){return this.lenBlock.length>0&&this.warnings.push("Non-zero length of value block for Null type"),this.idBlock.error.length||(this.blockLength+=this.idBlock.blockLength),this.lenBlock.error.length||(this.blockLength+=this.lenBlock.blockLength),this.blockLength+=r,t+r>e.byteLength?(this.error="End of input reached before message was fully decoded (inconsistent offset and length values)",-1):t+r}toBER(e,t){const r=new ArrayBuffer(2)
if(!e){const e=new Uint8Array(r)
e[0]=5,e[1]=0}return t&&t.write(r),r}onAsciiEncoding(){return`${this.constructor.NAME}`}}I=me,E.Null=I,me.NAME="NULL"
class ge extends(b(S)){constructor({value:e,...t}={}){super(t),t.valueHex?this.valueHexView=n.vJ.toUint8Array(t.valueHex):this.valueHexView=new Uint8Array(1),e&&(this.value=e)}get value(){for(const e of this.valueHexView)if(e>0)return!0
return!1}set value(e){this.valueHexView[0]=e?255:0}fromBER(e,t,r){const s=n.vJ.toUint8Array(e)
return a(this,s,t,r)?(this.valueHexView=s.subarray(t,t+r),r>1&&this.warnings.push("Boolean value encoded in more then 1 octet"),this.isHexOnly=!0,i.utilDecodeTC.call(this),this.blockLength=r,t+r):-1}toBER(){return this.valueHexView.slice()}toJSON(){return{...super.toJSON(),value:this.value}}}ge.NAME="BooleanValueBlock"
class ye extends N{constructor(e={}){super(e,ge),this.idBlock.tagClass=1,this.idBlock.tagNumber=1}getValue(){return this.valueBlock.value}setValue(e){this.valueBlock.value=e}onAsciiEncoding(){return`${this.constructor.NAME} : ${this.getValue}`}}j=ye,E.Boolean=j,ye.NAME="BOOLEAN"
class ve extends(b(he)){constructor({isConstructed:e=!1,...t}={}){super(t),this.isConstructed=e}fromBER(e,t,r){let n=0
if(this.isConstructed){if(this.isHexOnly=!1,n=he.prototype.fromBER.call(this,e,t,r),-1===n)return n
for(let e=0;e<this.value.length;e++){const t=this.value[e].constructor.NAME
if(t===g){if(this.isIndefiniteForm)break
return this.error="EndOfContent is unexpected, OCTET STRING may consists of OCTET STRINGs only",-1}if(t!==y)return this.error="OCTET STRING may consists of OCTET STRINGs only",-1}}else this.isHexOnly=!0,n=super.fromBER(e,t,r),this.blockLength=r
return n}toBER(e,t){return this.isConstructed?he.prototype.toBER.call(this,e,t):e?new ArrayBuffer(this.valueHexView.byteLength):this.valueHexView.slice().buffer}toJSON(){return{...super.toJSON(),isConstructed:this.isConstructed}}}ve.NAME="OctetStringValueBlock"
class be extends N{constructor({idBlock:e={},lenBlock:t={},...r}={}){var n,i
null!==(n=r.isConstructed)&&void 0!==n||(r.isConstructed=!!(null===(i=r.value)||void 0===i?void 0:i.length)),super({idBlock:{isConstructed:r.isConstructed,...e},lenBlock:{...t,isIndefiniteForm:!!r.isIndefiniteForm},...r},ve),this.idBlock.tagClass=1,this.idBlock.tagNumber=4}fromBER(e,t,r){if(this.valueBlock.isConstructed=this.idBlock.isConstructed,this.valueBlock.isIndefiniteForm=this.lenBlock.isIndefiniteForm,0===r)return 0===this.idBlock.error.length&&(this.blockLength+=this.idBlock.blockLength),0===this.lenBlock.error.length&&(this.blockLength+=this.lenBlock.blockLength),t
if(!this.valueBlock.isConstructed){const n=(e instanceof ArrayBuffer?new Uint8Array(e):e).subarray(t,t+r)
try{if(n.byteLength){const e=ce(n,0,n.byteLength);-1!==e.offset&&e.offset===r&&(this.valueBlock.value=[e.result])}}catch(e){}}return super.fromBER(e,t,r)}onAsciiEncoding(){return this.valueBlock.isConstructed||this.valueBlock.value&&this.valueBlock.value.length?de.prototype.onAsciiEncoding.call(this):`${this.constructor.NAME} : ${n.ep.ToHex(this.valueBlock.valueHexView)}`}getValue(){if(!this.idBlock.isConstructed)return this.valueBlock.valueHexView.slice().buffer
const e=[]
for(const t of this.valueBlock.value)t instanceof be&&e.push(t.valueBlock.valueHexView)
return n.vJ.concat(e)}}D=be,E.OctetString=D,be.NAME=y
class we extends(b(he)){constructor({unusedBits:e=0,isConstructed:t=!1,...r}={}){super(r),this.unusedBits=e,this.isConstructed=t,this.blockLength=this.valueHexView.byteLength}fromBER(e,t,r){if(!r)return t
let i=-1
if(this.isConstructed){if(i=he.prototype.fromBER.call(this,e,t,r),-1===i)return i
for(const e of this.value){const t=e.constructor.NAME
if(t===g){if(this.isIndefiniteForm)break
return this.error="EndOfContent is unexpected, BIT STRING may consists of BIT STRINGs only",-1}if(t!==v)return this.error="BIT STRING may consists of BIT STRINGs only",-1
const r=e.valueBlock
if(this.unusedBits>0&&r.unusedBits>0)return this.error='Using of "unused bits" inside constructive BIT STRING allowed for least one only',-1
this.unusedBits=r.unusedBits}return i}const s=n.vJ.toUint8Array(e)
if(!a(this,s,t,r))return-1
const o=s.subarray(t,t+r)
if(this.unusedBits=o[0],this.unusedBits>7)return this.error="Unused bits for BitString must be in range 0-7",-1
if(!this.unusedBits){const t=o.subarray(1)
try{if(t.byteLength){const e=ce(t,0,t.byteLength);-1!==e.offset&&e.offset===r-1&&(this.value=[e.result])}}catch(e){}}return this.valueHexView=o.subarray(1),this.blockLength=o.length,t+r}toBER(e,t){if(this.isConstructed)return he.prototype.toBER.call(this,e,t)
if(e)return new ArrayBuffer(this.valueHexView.byteLength+1)
if(!this.valueHexView.byteLength)return f
const r=new Uint8Array(this.valueHexView.length+1)
return r[0]=this.unusedBits,r.set(this.valueHexView,1),r.buffer}toJSON(){return{...super.toJSON(),unusedBits:this.unusedBits,isConstructed:this.isConstructed}}}we.NAME="BitStringValueBlock"
class Se extends N{constructor({idBlock:e={},lenBlock:t={},...r}={}){var n,i
null!==(n=r.isConstructed)&&void 0!==n||(r.isConstructed=!!(null===(i=r.value)||void 0===i?void 0:i.length)),super({idBlock:{isConstructed:r.isConstructed,...e},lenBlock:{...t,isIndefiniteForm:!!r.isIndefiniteForm},...r},we),this.idBlock.tagClass=1,this.idBlock.tagNumber=3}fromBER(e,t,r){return this.valueBlock.isConstructed=this.idBlock.isConstructed,this.valueBlock.isIndefiniteForm=this.lenBlock.isIndefiniteForm,super.fromBER(e,t,r)}onAsciiEncoding(){if(this.valueBlock.isConstructed||this.valueBlock.value&&this.valueBlock.value.length)return de.prototype.onAsciiEncoding.call(this)
{const e=[],t=this.valueBlock.valueHexView
for(const n of t)e.push(n.toString(2).padStart(8,"0"))
const r=e.join("")
return`${this.constructor.NAME} : ${r.substring(0,r.length-this.valueBlock.unusedBits)}`}}}function ke(e,t){const r=new Uint8Array([0]),n=new Uint8Array(e),s=new Uint8Array(t)
let o=n.slice(0)
const a=o.length-1,l=s.slice(0),c=l.length-1
let u=0,h=0
for(let d=c<a?a:c;d>=0;d--,h++)u=1==h<l.length?o[a-h]+l[c-h]+r[0]:o[a-h]+r[0],r[0]=u/10,1==h>=o.length?o=i.utilConcatView(new Uint8Array([u%10]),o):o[a-h]=u%10
return r[0]>0&&(o=i.utilConcatView(r,o)),o}function xe(e){if(e>=c.length)for(let t=c.length;t<=e;t++){const e=new Uint8Array([0])
let r=c[t-1].slice(0)
for(let t=r.length-1;t>=0;t--){const n=new Uint8Array([(r[t]<<1)+e[0]])
e[0]=n[0]/10,r[t]=n[0]%10}e[0]>0&&(r=i.utilConcatView(e,r)),c.push(r)}return c[e]}function Ee(e,t){let r=0
const n=new Uint8Array(e),i=new Uint8Array(t),s=n.slice(0),o=s.length-1,a=i.slice(0),l=a.length-1
let c,u=0
for(let h=l;h>=0;h--,u++)c=s[o-u]-a[l-u]-r,1==c<0?(r=1,s[o-u]=c+10):(r=0,s[o-u]=c)
if(r>0)for(let h=o-l+1;h>=0;h--,u++){if(c=s[o-u]-r,!(c<0)){r=0,s[o-u]=c
break}r=1,s[o-u]=c+10}return s.slice()}M=Se,E.BitString=M,Se.NAME=v
class Ne extends(b(S)){constructor({value:e,...t}={}){super(t),this._valueDec=0,t.valueHex&&this.setValueHex(),void 0!==e&&(this.valueDec=e)}setValueHex(){this.valueHexView.length>=4?(this.warnings.push("Too big Integer for decoding, hex only"),this.isHexOnly=!0,this._valueDec=0):(this.isHexOnly=!1,this.valueHexView.length>0&&(this._valueDec=i.utilDecodeTC.call(this)))}set valueDec(e){this._valueDec=e,this.isHexOnly=!1,this.valueHexView=new Uint8Array(i.utilEncodeTC(e))}get valueDec(){return this._valueDec}fromDER(e,t,r,n=0){const i=this.fromBER(e,t,r)
if(-1===i)return i
const s=this.valueHexView
return 0===s[0]&&128&s[1]?this.valueHexView=s.subarray(1):0!==n&&s.length<n&&(n-s.length>1&&(n=s.length+1),this.valueHexView=s.subarray(n-s.length)),i}toDER(e=!1){const t=this.valueHexView
switch(!0){case!!(128&t[0]):{const e=new Uint8Array(this.valueHexView.length+1)
e[0]=0,e.set(t,1),this.valueHexView=e}break
case 0===t[0]&&!(128&t[1]):this.valueHexView=this.valueHexView.subarray(1)}return this.toBER(e)}fromBER(e,t,r){const n=super.fromBER(e,t,r)
return-1===n||this.setValueHex(),n}toBER(e){return e?new ArrayBuffer(this.valueHexView.length):this.valueHexView.slice().buffer}toJSON(){return{...super.toJSON(),valueDec:this.valueDec}}toString(){const e=8*this.valueHexView.length-1
let t,r=new Uint8Array(8*this.valueHexView.length/3),n=0
const i=this.valueHexView
let s="",o=!1
for(let a=i.byteLength-1;a>=0;a--){t=i[a]
for(let i=0;i<8;i++)1&~t||(n===e?(r=Ee(xe(n),r),s="-"):r=ke(r,xe(n))),n++,t>>=1}for(let a=0;a<r.length;a++)r[a]&&(o=!0),o&&(s+=u.charAt(r[a]))
return!1===o&&(s+=u.charAt(0)),s}}B=Ne,Ne.NAME="IntegerValueBlock",Object.defineProperty(B.prototype,"valueHex",{set:function(e){this.valueHexView=new Uint8Array(e),this.setValueHex()},get:function(){return this.valueHexView.slice().buffer}})
class _e extends N{constructor(e={}){super(e,Ne),this.idBlock.tagClass=1,this.idBlock.tagNumber=2}toBigInt(){return s(),BigInt(this.valueBlock.toString())}static fromBigInt(e){s()
const t=BigInt(e),r=new l,i=t.toString(16).replace(/^-/,""),o=new Uint8Array(n.ep.FromHex(i))
if(t<0){const e=new Uint8Array(o.length+(128&o[0]?1:0))
e[0]|=128
const i=BigInt(`0x${n.ep.ToHex(e)}`)+t,s=n.vJ.toUint8Array(n.ep.FromHex(i.toString(16)))
s[0]|=128,r.write(s)}else 128&o[0]&&r.write(new Uint8Array([0])),r.write(o)
return new _e({valueHex:r.final()})}convertToDER(){const e=new _e({valueHex:this.valueBlock.valueHexView})
return e.valueBlock.toDER(),e}convertFromDER(){return new _e({valueHex:0===this.valueBlock.valueHexView[0]?this.valueBlock.valueHexView.subarray(1):this.valueBlock.valueHexView})}onAsciiEncoding(){return`${this.constructor.NAME} : ${this.valueBlock.toString()}`}}R=_e,E.Integer=R,_e.NAME="INTEGER"
class Ce extends _e{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=10}}L=Ce,E.Enumerated=L,Ce.NAME="ENUMERATED"
class Ae extends(b(S)){constructor({valueDec:e=-1,isFirstSid:t=!1,...r}={}){super(r),this.valueDec=e,this.isFirstSid=t}fromBER(e,t,r){if(!r)return t
const s=n.vJ.toUint8Array(e)
if(!a(this,s,t,r))return-1
const o=s.subarray(t,t+r)
this.valueHexView=new Uint8Array(r)
for(let n=0;n<r&&(this.valueHexView[n]=127&o[n],this.blockLength++,128&o[n]);n++);const l=new Uint8Array(this.blockLength)
for(let n=0;n<this.blockLength;n++)l[n]=this.valueHexView[n]
return this.valueHexView=l,128&o[this.blockLength-1]?(this.error="End of input reached before message was fully decoded",-1):(0===this.valueHexView[0]&&this.warnings.push("Needlessly long format of SID encoding"),this.blockLength<=8?this.valueDec=i.utilFromBase(this.valueHexView,7):(this.isHexOnly=!0,this.warnings.push("Too big SID for decoding, hex only")),t+this.blockLength)}set valueBigInt(e){s()
let t=BigInt(e).toString(2)
for(;t.length%7;)t="0"+t
const r=new Uint8Array(t.length/7)
for(let n=0;n<r.length;n++)r[n]=parseInt(t.slice(7*n,7*n+7),2)+(n+1<r.length?128:0)
this.fromBER(r.buffer,0,r.length)}toBER(e){if(this.isHexOnly){if(e)return new ArrayBuffer(this.valueHexView.byteLength)
const t=this.valueHexView,r=new Uint8Array(this.blockLength)
for(let e=0;e<this.blockLength-1;e++)r[e]=128|t[e]
return r[this.blockLength-1]=t[this.blockLength-1],r.buffer}const t=i.utilToBase(this.valueDec,7)
if(0===t.byteLength)return this.error="Error during encoding SID value",f
const r=new Uint8Array(t.byteLength)
if(!e){const e=new Uint8Array(t),n=t.byteLength-1
for(let t=0;t<n;t++)r[t]=128|e[t]
r[n]=e[n]}return r}toString(){let e=""
if(this.isHexOnly)e=n.ep.ToHex(this.valueHexView)
else if(this.isFirstSid){let t=this.valueDec
this.valueDec<=39?e="0.":this.valueDec<=79?(e="1.",t-=40):(e="2.",t-=80),e+=t.toString()}else e=this.valueDec.toString()
return e}toJSON(){return{...super.toJSON(),valueDec:this.valueDec,isFirstSid:this.isFirstSid}}}Ae.NAME="sidBlock"
class Oe extends S{constructor({value:e="",...t}={}){super(t),this.value=[],e&&this.fromString(e)}fromBER(e,t,r){let n=t
for(;r>0;){const t=new Ae
if(n=t.fromBER(e,n,r),-1===n)return this.blockLength=0,this.error=t.error,n
0===this.value.length&&(t.isFirstSid=!0),this.blockLength+=t.blockLength,r-=t.blockLength,this.value.push(t)}return n}toBER(e){const t=[]
for(let r=0;r<this.value.length;r++){const n=this.value[r].toBER(e)
if(0===n.byteLength)return this.error=this.value[r].error,f
t.push(n)}return o(t)}fromString(e){this.value=[]
let t=0,r=0,n="",i=!1
do{if(r=e.indexOf(".",t),n=-1===r?e.substring(t):e.substring(t,r),t=r+1,i){const e=this.value[0]
let t=0
switch(e.valueDec){case 0:break
case 1:t=40
break
case 2:t=80
break
default:return void(this.value=[])}const r=parseInt(n,10)
if(isNaN(r))return
e.valueDec=r+t,i=!1}else{const e=new Ae
if(n>Number.MAX_SAFE_INTEGER){s()
const t=BigInt(n)
e.valueBigInt=t}else if(e.valueDec=parseInt(n,10),isNaN(e.valueDec))return
this.value.length||(e.isFirstSid=!0,i=!0),this.value.push(e)}}while(-1!==r)}toString(){let e="",t=!1
for(let r=0;r<this.value.length;r++){t=this.value[r].isHexOnly
let n=this.value[r].toString()
0!==r&&(e=`${e}.`),t?(n=`{${n}}`,this.value[r].isFirstSid?e=`2.{${n} - 80}`:e+=n):e+=n}return e}toJSON(){const e={...super.toJSON(),value:this.toString(),sidArray:[]}
for(let t=0;t<this.value.length;t++)e.sidArray.push(this.value[t].toJSON())
return e}}Oe.NAME="ObjectIdentifierValueBlock"
class Pe extends N{constructor(e={}){super(e,Oe),this.idBlock.tagClass=1,this.idBlock.tagNumber=6}getValue(){return this.valueBlock.toString()}setValue(e){this.valueBlock.fromString(e)}onAsciiEncoding(){return`${this.constructor.NAME} : ${this.valueBlock.toString()||"empty"}`}toJSON(){return{...super.toJSON(),value:this.getValue()}}}z=Pe,E.ObjectIdentifier=z,Pe.NAME="OBJECT IDENTIFIER"
class Te extends(b(w)){constructor({valueDec:e=0,...t}={}){super(t),this.valueDec=e}fromBER(e,t,r){if(0===r)return t
const s=n.vJ.toUint8Array(e)
if(!a(this,s,t,r))return-1
const o=s.subarray(t,t+r)
this.valueHexView=new Uint8Array(r)
for(let n=0;n<r&&(this.valueHexView[n]=127&o[n],this.blockLength++,128&o[n]);n++);const l=new Uint8Array(this.blockLength)
for(let n=0;n<this.blockLength;n++)l[n]=this.valueHexView[n]
return this.valueHexView=l,128&o[this.blockLength-1]?(this.error="End of input reached before message was fully decoded",-1):(0===this.valueHexView[0]&&this.warnings.push("Needlessly long format of SID encoding"),this.blockLength<=8?this.valueDec=i.utilFromBase(this.valueHexView,7):(this.isHexOnly=!0,this.warnings.push("Too big SID for decoding, hex only")),t+this.blockLength)}toBER(e){if(this.isHexOnly){if(e)return new ArrayBuffer(this.valueHexView.byteLength)
const t=this.valueHexView,r=new Uint8Array(this.blockLength)
for(let e=0;e<this.blockLength-1;e++)r[e]=128|t[e]
return r[this.blockLength-1]=t[this.blockLength-1],r.buffer}const t=i.utilToBase(this.valueDec,7)
if(0===t.byteLength)return this.error="Error during encoding SID value",f
const r=new Uint8Array(t.byteLength)
if(!e){const e=new Uint8Array(t),n=t.byteLength-1
for(let t=0;t<n;t++)r[t]=128|e[t]
r[n]=e[n]}return r.buffer}toString(){let e=""
return e=this.isHexOnly?n.ep.ToHex(this.valueHexView):this.valueDec.toString(),e}toJSON(){return{...super.toJSON(),valueDec:this.valueDec}}}Te.NAME="relativeSidBlock"
class Ie extends S{constructor({value:e="",...t}={}){super(t),this.value=[],e&&this.fromString(e)}fromBER(e,t,r){let n=t
for(;r>0;){const t=new Te
if(n=t.fromBER(e,n,r),-1===n)return this.blockLength=0,this.error=t.error,n
this.blockLength+=t.blockLength,r-=t.blockLength,this.value.push(t)}return n}toBER(e,t){const r=[]
for(let n=0;n<this.value.length;n++){const t=this.value[n].toBER(e)
if(0===t.byteLength)return this.error=this.value[n].error,f
r.push(t)}return o(r)}fromString(e){this.value=[]
let t=0,r=0,n=""
do{r=e.indexOf(".",t),n=-1===r?e.substring(t):e.substring(t,r),t=r+1
const i=new Te
if(i.valueDec=parseInt(n,10),isNaN(i.valueDec))return!0
this.value.push(i)}while(-1!==r)
return!0}toString(){let e="",t=!1
for(let r=0;r<this.value.length;r++){t=this.value[r].isHexOnly
let n=this.value[r].toString()
0!==r&&(e=`${e}.`),t?(n=`{${n}}`,e+=n):e+=n}return e}toJSON(){const e={...super.toJSON(),value:this.toString(),sidArray:[]}
for(let t=0;t<this.value.length;t++)e.sidArray.push(this.value[t].toJSON())
return e}}Ie.NAME="RelativeObjectIdentifierValueBlock"
class je extends N{constructor(e={}){super(e,Ie),this.idBlock.tagClass=1,this.idBlock.tagNumber=13}getValue(){return this.valueBlock.toString()}setValue(e){this.valueBlock.fromString(e)}onAsciiEncoding(){return`${this.constructor.NAME} : ${this.valueBlock.toString()||"empty"}`}toJSON(){return{...super.toJSON(),value:this.getValue()}}}F=je,E.RelativeObjectIdentifier=F,je.NAME="RelativeObjectIdentifier"
class De extends de{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=16}}V=De,E.Sequence=V,De.NAME="SEQUENCE"
class Me extends de{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=17}}$=Me,E.Set=$,Me.NAME="SET"
class Be extends(b(S)){constructor({...e}={}){super(e),this.isHexOnly=!0,this.value=p}toJSON(){return{...super.toJSON(),value:this.value}}}Be.NAME="StringValueBlock"
class Re extends Be{}Re.NAME="SimpleStringValueBlock"
class Le extends C{constructor({...e}={}){super(e,Re)}fromBuffer(e){this.valueBlock.value=String.fromCharCode.apply(null,n.vJ.toUint8Array(e))}fromString(e){const t=e.length,r=this.valueBlock.valueHexView=new Uint8Array(t)
for(let n=0;n<t;n++)r[n]=e.charCodeAt(n)
this.valueBlock.value=e}}Le.NAME="SIMPLE STRING"
class ze extends Le{fromBuffer(e){this.valueBlock.valueHexView=n.vJ.toUint8Array(e)
try{this.valueBlock.value=n.ep.ToUtf8String(e)}catch(t){this.warnings.push(`Error during "decodeURIComponent": ${t}, using raw string`),this.valueBlock.value=n.ep.ToBinary(e)}}fromString(e){this.valueBlock.valueHexView=new Uint8Array(n.ep.FromUtf8String(e)),this.valueBlock.value=e}}ze.NAME="Utf8StringValueBlock"
class Fe extends ze{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=12}}U=Fe,E.Utf8String=U,Fe.NAME="UTF8String"
class Ve extends Le{fromBuffer(e){this.valueBlock.value=n.ep.ToUtf16String(e),this.valueBlock.valueHexView=n.vJ.toUint8Array(e)}fromString(e){this.valueBlock.value=e,this.valueBlock.valueHexView=new Uint8Array(n.ep.FromUtf16String(e))}}Ve.NAME="BmpStringValueBlock"
class $e extends Ve{constructor({...e}={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=30}}H=$e,E.BmpString=H,$e.NAME="BMPString"
class Ue extends Le{fromBuffer(e){const t=ArrayBuffer.isView(e)?e.slice().buffer:e.slice(0),r=new Uint8Array(t)
for(let n=0;n<r.length;n+=4)r[n]=r[n+3],r[n+1]=r[n+2],r[n+2]=0,r[n+3]=0
this.valueBlock.value=String.fromCharCode.apply(null,new Uint32Array(t))}fromString(e){const t=e.length,r=this.valueBlock.valueHexView=new Uint8Array(4*t)
for(let n=0;n<t;n++){const t=i.utilToBase(e.charCodeAt(n),8),s=new Uint8Array(t)
if(s.length>4)continue
const o=4-s.length
for(let e=s.length-1;e>=0;e--)r[4*n+e+o]=s[e]}this.valueBlock.value=e}}Ue.NAME="UniversalStringValueBlock"
class He extends Ue{constructor({...e}={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=28}}q=He,E.UniversalString=q,He.NAME="UniversalString"
class qe extends Le{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=18}}W=qe,E.NumericString=W,qe.NAME="NumericString"
class We extends Le{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=19}}K=We,E.PrintableString=K,We.NAME="PrintableString"
class Ke extends Le{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=20}}Z=Ke,E.TeletexString=Z,Ke.NAME="TeletexString"
class Ze extends Le{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=21}}J=Ze,E.VideotexString=J,Ze.NAME="VideotexString"
class Je extends Le{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=22}}G=Je,E.IA5String=G,Je.NAME="IA5String"
class Ge extends Le{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=25}}Y=Ge,E.GraphicString=Y,Ge.NAME="GraphicString"
class Ye extends Le{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=26}}X=Ye,E.VisibleString=X,Ye.NAME="VisibleString"
class Xe extends Le{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=27}}Q=Xe,E.GeneralString=Q,Xe.NAME="GeneralString"
class Qe extends Le{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=29}}ee=Qe,E.CharacterString=ee,Qe.NAME="CharacterString"
class et extends Ye{constructor({value:e,valueDate:t,...r}={}){if(super(r),this.year=0,this.month=0,this.day=0,this.hour=0,this.minute=0,this.second=0,e){this.fromString(e),this.valueBlock.valueHexView=new Uint8Array(e.length)
for(let t=0;t<e.length;t++)this.valueBlock.valueHexView[t]=e.charCodeAt(t)}t&&(this.fromDate(t),this.valueBlock.valueHexView=new Uint8Array(this.toBuffer())),this.idBlock.tagClass=1,this.idBlock.tagNumber=23}fromBuffer(e){this.fromString(String.fromCharCode.apply(null,n.vJ.toUint8Array(e)))}toBuffer(){const e=this.toString(),t=new ArrayBuffer(e.length),r=new Uint8Array(t)
for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n)
return t}fromDate(e){this.year=e.getUTCFullYear(),this.month=e.getUTCMonth()+1,this.day=e.getUTCDate(),this.hour=e.getUTCHours(),this.minute=e.getUTCMinutes(),this.second=e.getUTCSeconds()}toDate(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second))}fromString(e){const t=/(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})Z/gi.exec(e)
if(null===t)return void(this.error="Wrong input string for conversion")
const r=parseInt(t[1],10)
this.year=r>=50?1900+r:2e3+r,this.month=parseInt(t[2],10),this.day=parseInt(t[3],10),this.hour=parseInt(t[4],10),this.minute=parseInt(t[5],10),this.second=parseInt(t[6],10)}toString(e="iso"){if("iso"===e){const e=new Array(7)
return e[0]=i.padNumber(this.year<2e3?this.year-1900:this.year-2e3,2),e[1]=i.padNumber(this.month,2),e[2]=i.padNumber(this.day,2),e[3]=i.padNumber(this.hour,2),e[4]=i.padNumber(this.minute,2),e[5]=i.padNumber(this.second,2),e[6]="Z",e.join("")}return super.toString(e)}onAsciiEncoding(){return`${this.constructor.NAME} : ${this.toDate().toISOString()}`}toJSON(){return{...super.toJSON(),year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second}}}te=et,E.UTCTime=te,et.NAME="UTCTime"
class tt extends et{constructor(e={}){var t
super(e),null!==(t=this.millisecond)&&void 0!==t||(this.millisecond=0),this.idBlock.tagClass=1,this.idBlock.tagNumber=24}fromDate(e){super.fromDate(e),this.millisecond=e.getUTCMilliseconds()}toDate(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond))}fromString(e){let t,r=!1,n="",i="",s=0,o=0,a=0
if("Z"===e[e.length-1])n=e.substring(0,e.length-1),r=!0
else{const t=new Number(e[e.length-1])
if(isNaN(t.valueOf()))throw new Error("Wrong input string for conversion")
n=e}if(r){if(-1!==n.indexOf("+"))throw new Error("Wrong input string for conversion")
if(-1!==n.indexOf("-"))throw new Error("Wrong input string for conversion")}else{let e=1,t=n.indexOf("+"),r=""
if(-1===t&&(t=n.indexOf("-"),e=-1),-1!==t){if(r=n.substring(t+1),n=n.substring(0,t),2!==r.length&&4!==r.length)throw new Error("Wrong input string for conversion")
let i=parseInt(r.substring(0,2),10)
if(isNaN(i.valueOf()))throw new Error("Wrong input string for conversion")
if(o=e*i,4===r.length){if(i=parseInt(r.substring(2,4),10),isNaN(i.valueOf()))throw new Error("Wrong input string for conversion")
a=e*i}}}let l=n.indexOf(".")
if(-1===l&&(l=n.indexOf(",")),-1!==l){const e=new Number(`0${n.substring(l)}`)
if(isNaN(e.valueOf()))throw new Error("Wrong input string for conversion")
s=e.valueOf(),i=n.substring(0,l)}else i=n
switch(!0){case 8===i.length:if(t=/(\d{4})(\d{2})(\d{2})/gi,-1!==l)throw new Error("Wrong input string for conversion")
break
case 10===i.length:if(t=/(\d{4})(\d{2})(\d{2})(\d{2})/gi,-1!==l){let e=60*s
this.minute=Math.floor(e),e=60*(e-this.minute),this.second=Math.floor(e),e=1e3*(e-this.second),this.millisecond=Math.floor(e)}break
case 12===i.length:if(t=/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})/gi,-1!==l){let e=60*s
this.second=Math.floor(e),e=1e3*(e-this.second),this.millisecond=Math.floor(e)}break
case 14===i.length:if(t=/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})/gi,-1!==l){const e=1e3*s
this.millisecond=Math.floor(e)}break
default:throw new Error("Wrong input string for conversion")}const c=t.exec(i)
if(null===c)throw new Error("Wrong input string for conversion")
for(let u=1;u<c.length;u++)switch(u){case 1:this.year=parseInt(c[u],10)
break
case 2:this.month=parseInt(c[u],10)
break
case 3:this.day=parseInt(c[u],10)
break
case 4:this.hour=parseInt(c[u],10)+o
break
case 5:this.minute=parseInt(c[u],10)+a
break
case 6:this.second=parseInt(c[u],10)
break
default:throw new Error("Wrong input string for conversion")}if(!1===r){const e=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)
this.year=e.getUTCFullYear(),this.month=e.getUTCMonth(),this.day=e.getUTCDay(),this.hour=e.getUTCHours(),this.minute=e.getUTCMinutes(),this.second=e.getUTCSeconds(),this.millisecond=e.getUTCMilliseconds()}}toString(e="iso"){if("iso"===e){const e=[]
return e.push(i.padNumber(this.year,4)),e.push(i.padNumber(this.month,2)),e.push(i.padNumber(this.day,2)),e.push(i.padNumber(this.hour,2)),e.push(i.padNumber(this.minute,2)),e.push(i.padNumber(this.second,2)),0!==this.millisecond&&(e.push("."),e.push(i.padNumber(this.millisecond,3))),e.push("Z"),e.join("")}return super.toString(e)}toJSON(){return{...super.toJSON(),millisecond:this.millisecond}}}re=tt,E.GeneralizedTime=re,tt.NAME="GeneralizedTime"
class rt extends Fe{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=31}}ne=rt,E.DATE=ne,rt.NAME="DATE"
class nt extends Fe{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=32}}ie=nt,E.TimeOfDay=ie,nt.NAME="TimeOfDay"
class it extends Fe{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=33}}se=it,E.DateTime=se,it.NAME="DateTime"
class st extends Fe{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=34}}oe=st,E.Duration=oe,st.NAME="Duration"
class ot extends Fe{constructor(e={}){super(e),this.idBlock.tagClass=1,this.idBlock.tagNumber=14}}ae=ot,E.TIME=ae,ot.NAME="TIME"
class at{constructor({name:e="",optional:t=!1}={}){this.name=e,this.optional=t}}class lt extends at{constructor({value:e=[],...t}={}){super(t),this.value=e}}class ct extends at{constructor({value:e=new at,local:t=!1,...r}={}){super(r),this.value=e,this.local=t}}class ut{constructor({data:e=m}={}){this.dataView=n.vJ.toUint8Array(e)}get data(){return this.dataView.slice().buffer}set data(e){this.dataView=n.vJ.toUint8Array(e)}fromBER(e,t,r){const i=t+r
return this.dataView=n.vJ.toUint8Array(e).subarray(t,i),i}toBER(e){return this.dataView.slice().buffer}}function ht(e,t,r){if(r instanceof lt){for(let n=0;n<r.value.length;n++)if(ht(e,t,r.value[n]).verified)return{verified:!0,result:e}
{const e={verified:!1,result:{error:"Wrong values for Choice type"}}
return r.hasOwnProperty(h)&&(e.name=r.name),e}}if(r instanceof at)return r.hasOwnProperty(h)&&(e[r.name]=t),{verified:!0,result:e}
if(e instanceof Object==0)return{verified:!1,result:{error:"Wrong root object"}}
if(t instanceof Object==0)return{verified:!1,result:{error:"Wrong ASN.1 data"}}
if(r instanceof Object==0)return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if("idBlock"in r==0)return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if("fromBER"in r.idBlock==0)return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if("toBER"in r.idBlock==0)return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
const n=r.idBlock.toBER(!1)
if(0===n.byteLength)return{verified:!1,result:{error:"Error encoding idBlock for ASN.1 schema"}}
if(-1===r.idBlock.fromBER(n,0,n.byteLength))return{verified:!1,result:{error:"Error decoding idBlock for ASN.1 schema"}}
if(!1===r.idBlock.hasOwnProperty("tagClass"))return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if(r.idBlock.tagClass!==t.idBlock.tagClass)return{verified:!1,result:e}
if(!1===r.idBlock.hasOwnProperty("tagNumber"))return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if(r.idBlock.tagNumber!==t.idBlock.tagNumber)return{verified:!1,result:e}
if(!1===r.idBlock.hasOwnProperty("isConstructed"))return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if(r.idBlock.isConstructed!==t.idBlock.isConstructed)return{verified:!1,result:e}
if(!("isHexOnly"in r.idBlock))return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
if(r.idBlock.isHexOnly!==t.idBlock.isHexOnly)return{verified:!1,result:e}
if(r.idBlock.isHexOnly){if(d in r.idBlock==0)return{verified:!1,result:{error:"Wrong ASN.1 schema"}}
const n=r.idBlock.valueHexView,i=t.idBlock.valueHexView
if(n.length!==i.length)return{verified:!1,result:e}
for(let t=0;t<n.length;t++)if(n[t]!==i[1])return{verified:!1,result:e}}if(r.name&&(r.name=r.name.replace(/^\s+|\s+$/g,p),r.name&&(e[r.name]=t)),r instanceof E.Constructed){let n=0,i={verified:!1,result:{error:"Unknown error"}},s=r.valueBlock.value.length
if(s>0&&r.valueBlock.value[0]instanceof ct&&(s=t.valueBlock.value.length),0===s)return{verified:!0,result:e}
if(0===t.valueBlock.value.length&&0!==r.valueBlock.value.length){let t=!0
for(let e=0;e<r.valueBlock.value.length;e++)t=t&&(r.valueBlock.value[e].optional||!1)
return t?{verified:!0,result:e}:(r.name&&(r.name=r.name.replace(/^\s+|\s+$/g,p),r.name&&delete e[r.name]),e.error="Inconsistent object length",{verified:!1,result:e})}for(let o=0;o<s;o++)if(o-n>=t.valueBlock.value.length){if(!1===r.valueBlock.value[o].optional){const t={verified:!1,result:e}
return e.error="Inconsistent length between ASN.1 data and schema",r.name&&(r.name=r.name.replace(/^\s+|\s+$/g,p),r.name&&(delete e[r.name],t.name=r.name)),t}}else if(r.valueBlock.value[0]instanceof ct){if(i=ht(e,t.valueBlock.value[o],r.valueBlock.value[0].value),!1===i.verified){if(!r.valueBlock.value[0].optional)return r.name&&(r.name=r.name.replace(/^\s+|\s+$/g,p),r.name&&delete e[r.name]),i
n++}if(h in r.valueBlock.value[0]&&r.valueBlock.value[0].name.length>0){let n={}
n="local"in r.valueBlock.value[0]&&r.valueBlock.value[0].local?t:e,void 0===n[r.valueBlock.value[0].name]&&(n[r.valueBlock.value[0].name]=[]),n[r.valueBlock.value[0].name].push(t.valueBlock.value[o])}}else if(i=ht(e,t.valueBlock.value[o-n],r.valueBlock.value[o]),!1===i.verified){if(!r.valueBlock.value[o].optional)return r.name&&(r.name=r.name.replace(/^\s+|\s+$/g,p),r.name&&delete e[r.name]),i
n++}if(!1===i.verified){const t={verified:!1,result:e}
return r.name&&(r.name=r.name.replace(/^\s+|\s+$/g,p),r.name&&(delete e[r.name],t.name=r.name)),t}return{verified:!0,result:e}}if(r.primitiveSchema&&d in t.valueBlock){const n=ce(t.valueBlock.valueHexView)
if(-1===n.offset){const t={verified:!1,result:n.result}
return r.name&&(r.name=r.name.replace(/^\s+|\s+$/g,p),r.name&&(delete e[r.name],t.name=r.name)),t}return ht(e,n.result,r.primitiveSchema)}return{verified:!0,result:e}}class dt{constructor(e={}){this.algorithmId=(0,i.getParametersValue)(e,"algorithmId",dt.defaultValues("algorithmId")),"algorithmParams"in e&&(this.algorithmParams=(0,i.getParametersValue)(e,"algorithmParams",dt.defaultValues("algorithmParams"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"algorithmId":return""
case"algorithmParams":return new at
default:throw new Error(`Invalid member name for AlgorithmIdentifier class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"algorithmId":return""===t
case"algorithmParams":return t instanceof at
default:throw new Error(`Invalid member name for AlgorithmIdentifier class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",optional:t.optional||!1,value:[new Pe({name:t.algorithmIdentifier||""}),new at({name:t.algorithmParams||"",optional:!0})]})}fromSchema(e){(0,i.clearProps)(e,["algorithm","params"])
const t=ht(e,e,dt.schema({names:{algorithmIdentifier:"algorithm",algorithmParams:"params"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for AlgorithmIdentifier")
this.algorithmId=t.result.algorithm.valueBlock.toString(),"params"in t.result&&(this.algorithmParams=t.result.params)}toSchema(){const e=[]
return e.push(new Pe({value:this.algorithmId})),"algorithmParams"in this&&this.algorithmParams instanceof at==0&&e.push(this.algorithmParams),new De({value:e})}toJSON(){const e={algorithmId:this.algorithmId}
return"algorithmParams"in this&&this.algorithmParams instanceof at==0&&(e.algorithmParams=this.algorithmParams.toJSON()),e}isEqual(e){return e instanceof dt!=0&&this.algorithmId===e.algorithmId&&("algorithmParams"in this?"algorithmParams"in e&&JSON.stringify(this.algorithmParams)===JSON.stringify(e.algorithmParams):!("algorithmParams"in e))}}class pt{static register(e,t,r){this.namedCurves[e.toLowerCase()]=this.namedCurves[t]={name:e,id:t,size:r}}static find(e){return this.namedCurves[e.toLowerCase()]||null}}pt.namedCurves={},pt.register("P-256","1.2.840.10045.3.1.7",32),pt.register("P-384","1.3.132.0.34",48),pt.register("P-521","1.3.132.0.35",66),pt.register("brainpoolP256r1","1.3.36.3.3.2.8.1.1.7",32),pt.register("brainpoolP384r1","1.3.36.3.3.2.8.1.1.11",48),pt.register("brainpoolP512r1","1.3.36.3.3.2.8.1.1.13",64)
class ft{constructor(e={}){this.x=(0,i.getParametersValue)(e,"x",ft.defaultValues("x")),this.y=(0,i.getParametersValue)(e,"y",ft.defaultValues("y")),this.namedCurve=(0,i.getParametersValue)(e,"namedCurve",ft.defaultValues("namedCurve")),"schema"in e&&this.fromSchema(e.schema),"json"in e&&this.fromJSON(e.json)}static defaultValues(e){switch(e){case"x":case"y":return new ArrayBuffer(0)
case"namedCurve":return""
default:throw new Error(`Invalid member name for ECCPublicKey class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"x":case"y":return(0,i.isEqualBuffer)(t,ft.defaultValues(e))
case"namedCurve":return""===t
default:throw new Error(`Invalid member name for ECCPublicKey class: ${e}`)}}static schema(e={}){return new ut}fromSchema(e){if(e instanceof ArrayBuffer==0)throw new Error("Object's schema was not verified against input data for ECPublicKey")
if(4!==new Uint8Array(e)[0])throw new Error("Object's schema was not verified against input data for ECPublicKey")
const t=pt.find(this.namedCurve)
if(!t)throw new Error(`Incorrect curve OID: ${this.namedCurve}`)
const r=t.size
if(e.byteLength!==2*r+1)throw new Error("Object's schema was not verified against input data for ECPublicKey")
this.x=e.slice(1,r+1),this.y=e.slice(1+r,2*r+1)}toSchema(){return new ut({data:(0,i.utilConcatBuf)(new Uint8Array([4]).buffer,this.x,this.y)})}toJSON(){const e=pt.find(this.namedCurve)
return{crv:e?e.name:this.namedCurve,x:(0,i.toBase64)((0,i.arrayBufferToString)(this.x),!0,!0,!1),y:(0,i.toBase64)((0,i.arrayBufferToString)(this.y),!0,!0,!1)}}fromJSON(e){let t=0
if(!("crv"in e))throw new Error('Absent mandatory parameter "crv"')
{const r=pt.find(e.crv)
r&&(this.namedCurve=r.id,t=r.size)}if(!("x"in e))throw new Error('Absent mandatory parameter "x"')
{const r=(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.x,!0))
if(r.byteLength<t){this.x=new ArrayBuffer(t)
const e=new Uint8Array(this.x),n=new Uint8Array(r)
e.set(n,1)}else this.x=r.slice(0,t)}if(!("y"in e))throw new Error('Absent mandatory parameter "y"')
{const r=(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.y,!0))
if(r.byteLength<t){this.y=new ArrayBuffer(t)
const e=new Uint8Array(this.y),n=new Uint8Array(r)
e.set(n,1)}else this.y=r.slice(0,t)}}}class mt{constructor(e={}){this.modulus=(0,i.getParametersValue)(e,"modulus",mt.defaultValues("modulus")),this.publicExponent=(0,i.getParametersValue)(e,"publicExponent",mt.defaultValues("publicExponent")),"schema"in e&&this.fromSchema(e.schema),"json"in e&&this.fromJSON(e.json)}static defaultValues(e){switch(e){case"modulus":case"publicExponent":return new _e
default:throw new Error(`Invalid member name for RSAPublicKey class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.modulus||""}),new _e({name:t.publicExponent||""})]})}fromSchema(e){(0,i.clearProps)(e,["modulus","publicExponent"])
const t=ht(e,e,mt.schema({names:{modulus:"modulus",publicExponent:"publicExponent"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for RSAPublicKey")
this.modulus=t.result.modulus.convertFromDER(256),this.publicExponent=t.result.publicExponent}toSchema(){return new De({value:[this.modulus.convertToDER(),this.publicExponent]})}toJSON(){return{n:(0,i.toBase64)((0,i.arrayBufferToString)(this.modulus.valueBlock.valueHex),!0,!0,!0),e:(0,i.toBase64)((0,i.arrayBufferToString)(this.publicExponent.valueBlock.valueHex),!0,!0,!0)}}fromJSON(e){if(!("n"in e))throw new Error('Absent mandatory parameter "n"')
{const t=(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.n,!0))
this.modulus=new _e({valueHex:t.slice(0,Math.pow(2,(0,i.nearestPowerOf2)(t.byteLength)))})}if(!("e"in e))throw new Error('Absent mandatory parameter "e"')
this.publicExponent=new _e({valueHex:(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.e,!0)).slice(0,3)})}}class gt{constructor(e={}){this.algorithm=(0,i.getParametersValue)(e,"algorithm",gt.defaultValues("algorithm")),this.subjectPublicKey=(0,i.getParametersValue)(e,"subjectPublicKey",gt.defaultValues("subjectPublicKey")),"parsedKey"in e&&(this.parsedKey=(0,i.getParametersValue)(e,"parsedKey",gt.defaultValues("parsedKey"))),"schema"in e&&this.fromSchema(e.schema),"json"in e&&this.fromJSON(e.json)}static defaultValues(e){switch(e){case"algorithm":return new dt
case"subjectPublicKey":return new Se
default:throw new Error(`Invalid member name for PublicKeyInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[dt.schema(t.algorithm||{}),new Se({name:t.subjectPublicKey||""})]})}fromSchema(e){(0,i.clearProps)(e,["algorithm","subjectPublicKey"])
const t=ht(e,e,gt.schema({names:{algorithm:{names:{blockName:"algorithm"}},subjectPublicKey:"subjectPublicKey"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PublicKeyInfo")
switch(this.algorithm=new dt({schema:t.result.algorithm}),this.subjectPublicKey=t.result.subjectPublicKey,this.algorithm.algorithmId){case"1.2.840.10045.2.1":if("algorithmParams"in this.algorithm&&this.algorithm.algorithmParams.constructor.blockName()===Pe.blockName())try{this.parsedKey=new ft({namedCurve:this.algorithm.algorithmParams.valueBlock.toString(),schema:this.subjectPublicKey.valueBlock.valueHex})}catch(e){}break
case"1.2.840.113549.1.1.1":{const t=ue(this.subjectPublicKey.valueBlock.valueHex)
if(-1!==t.offset)try{this.parsedKey=new mt({schema:t.result})}catch(e){}}}}toSchema(){return new De({value:[this.algorithm.toSchema(),this.subjectPublicKey]})}toJSON(){if("parsedKey"in this==0)return{algorithm:this.algorithm.toJSON(),subjectPublicKey:this.subjectPublicKey.toJSON()}
const e={}
switch(this.algorithm.algorithmId){case"1.2.840.10045.2.1":e.kty="EC"
break
case"1.2.840.113549.1.1.1":e.kty="RSA"}const t=this.parsedKey.toJSON()
for(const r of Object.keys(t))e[r]=t[r]
return e}fromJSON(e){if("kty"in e){switch(e.kty.toUpperCase()){case"EC":this.parsedKey=new ft({json:e}),this.algorithm=new dt({algorithmId:"1.2.840.10045.2.1",algorithmParams:new Pe({value:this.parsedKey.namedCurve})})
break
case"RSA":this.parsedKey=new mt({json:e}),this.algorithm=new dt({algorithmId:"1.2.840.113549.1.1.1",algorithmParams:new me})
break
default:throw new Error(`Invalid value for "kty" parameter: ${e.kty}`)}this.subjectPublicKey=new Se({valueHex:this.parsedKey.toSchema().toBER(!1)})}}importKey(e){let t=Promise.resolve()
const r=this
if(void 0===e)return Promise.reject("Need to provide publicKey input parameter")
const n=Tt()
return void 0===n?Promise.reject("Unable to create WebCrypto object"):(t=t.then((()=>n.exportKey("spki",e))),t=t.then((e=>{const t=ue(e)
try{r.fromSchema(t.result)}catch(e){return Promise.reject("Error during initializing object from schema")}}),(e=>Promise.reject(`Error during exporting public key: ${e}`))),t)}}class yt{constructor(e={}){this.type=(0,i.getParametersValue)(e,"type",yt.defaultValues("type")),this.values=(0,i.getParametersValue)(e,"values",yt.defaultValues("values")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"type":return""
case"values":return[]
default:throw new Error(`Invalid member name for Attribute class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"type":return""===t
case"values":return 0===t.length
default:throw new Error(`Invalid member name for Attribute class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.type||""}),new Me({name:t.setName||"",value:[new ct({name:t.values||"",value:new at})]})]})}fromSchema(e){(0,i.clearProps)(e,["type","values"])
const t=ht(e,e,yt.schema({names:{type:"type",values:"values"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for Attribute")
this.type=t.result.type.valueBlock.toString(),this.values=t.result.values}toSchema(){return new De({value:[new Pe({value:this.type}),new Me({value:this.values})]})}toJSON(){return{type:this.type,values:Array.from(this.values,(e=>e.toJSON()))}}}class vt{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",vt.defaultValues("version")),this.privateKey=(0,i.getParametersValue)(e,"privateKey",vt.defaultValues("privateKey")),"namedCurve"in e&&(this.namedCurve=(0,i.getParametersValue)(e,"namedCurve",vt.defaultValues("namedCurve"))),"publicKey"in e&&(this.publicKey=(0,i.getParametersValue)(e,"publicKey",vt.defaultValues("publicKey"))),"schema"in e&&this.fromSchema(e.schema),"json"in e&&this.fromJSON(e.json)}static defaultValues(e){switch(e){case"version":return 1
case"privateKey":return new be
case"namedCurve":return""
case"publicKey":return new ft
default:throw new Error(`Invalid member name for ECCPrivateKey class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"version":return t===vt.defaultValues(e)
case"privateKey":return t.isEqual(vt.defaultValues(e))
case"namedCurve":return""===t
case"publicKey":return ft.compareWithDefault("namedCurve",t.namedCurve)&&ft.compareWithDefault("x",t.x)&&ft.compareWithDefault("y",t.y)
default:throw new Error(`Invalid member name for ECCPrivateKey class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.version||""}),new be({name:t.privateKey||""}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new Pe({name:t.namedCurve||""})]}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[new Se({name:t.publicKey||""})]})]})}fromSchema(e){(0,i.clearProps)(e,["version","privateKey","namedCurve","publicKey"])
const t=ht(e,e,vt.schema({names:{version:"version",privateKey:"privateKey",namedCurve:"namedCurve",publicKey:"publicKey"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for ECPrivateKey")
if(this.version=t.result.version.valueBlock.valueDec,this.privateKey=t.result.privateKey,"namedCurve"in t.result&&(this.namedCurve=t.result.namedCurve.valueBlock.toString()),"publicKey"in t.result){const e={schema:t.result.publicKey.valueBlock.valueHex}
"namedCurve"in this&&(e.namedCurve=this.namedCurve),this.publicKey=new ft(e)}}toSchema(){const e=[new _e({value:this.version}),this.privateKey]
return"namedCurve"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:[new Pe({value:this.namedCurve})]})),"publicKey"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:1},value:[new Se({valueHex:this.publicKey.toSchema().toBER(!1)})]})),new De({value:e})}toJSON(){if("namedCurve"in this==0||vt.compareWithDefault("namedCurve",this.namedCurve))throw new Error('Not enough information for making JSON: absent "namedCurve" value')
let e=""
switch(this.namedCurve){case"1.2.840.10045.3.1.7":e="P-256"
break
case"1.3.132.0.34":e="P-384"
break
case"1.3.132.0.35":e="P-521"}const t={crv:e,d:(0,i.toBase64)((0,i.arrayBufferToString)(this.privateKey.valueBlock.valueHex),!0,!0,!1)}
if("publicKey"in this){const e=this.publicKey.toJSON()
t.x=e.x,t.y=e.y}return t}fromJSON(e){let t=0
if(!("crv"in e))throw new Error('Absent mandatory parameter "crv"')
switch(e.crv.toUpperCase()){case"P-256":this.namedCurve="1.2.840.10045.3.1.7",t=32
break
case"P-384":this.namedCurve="1.3.132.0.34",t=48
break
case"P-521":this.namedCurve="1.3.132.0.35",t=66}if(!("d"in e))throw new Error('Absent mandatory parameter "d"')
{const r=(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.d,!0))
if(r.byteLength<t){const e=new ArrayBuffer(t),n=new Uint8Array(e),i=new Uint8Array(r)
n.set(i,1),this.privateKey=new be({valueHex:e})}else this.privateKey=new be({valueHex:r.slice(0,t)})}"x"in e&&"y"in e&&(this.publicKey=new ft({json:e}))}}class bt{constructor(e={}){this.prime=(0,i.getParametersValue)(e,"prime",bt.defaultValues("prime")),this.exponent=(0,i.getParametersValue)(e,"exponent",bt.defaultValues("exponent")),this.coefficient=(0,i.getParametersValue)(e,"coefficient",bt.defaultValues("coefficient")),"schema"in e&&this.fromSchema(e.schema),"json"in e&&this.fromJSON(e.json)}static defaultValues(e){switch(e){case"prime":case"exponent":case"coefficient":return new _e
default:throw new Error(`Invalid member name for OtherPrimeInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.prime||""}),new _e({name:t.exponent||""}),new _e({name:t.coefficient||""})]})}fromSchema(e){(0,i.clearProps)(e,["prime","exponent","coefficient"])
const t=ht(e,e,bt.schema({names:{prime:"prime",exponent:"exponent",coefficient:"coefficient"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for OtherPrimeInfo")
this.prime=t.result.prime.convertFromDER(),this.exponent=t.result.exponent.convertFromDER(),this.coefficient=t.result.coefficient.convertFromDER()}toSchema(){return new De({value:[this.prime.convertToDER(),this.exponent.convertToDER(),this.coefficient.convertToDER()]})}toJSON(){return{r:(0,i.toBase64)((0,i.arrayBufferToString)(this.prime.valueBlock.valueHex),!0,!0),d:(0,i.toBase64)((0,i.arrayBufferToString)(this.exponent.valueBlock.valueHex),!0,!0),t:(0,i.toBase64)((0,i.arrayBufferToString)(this.coefficient.valueBlock.valueHex),!0,!0)}}fromJSON(e){if(!("r"in e))throw new Error('Absent mandatory parameter "r"')
if(this.prime=new _e({valueHex:(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.r,!0))}),!("d"in e))throw new Error('Absent mandatory parameter "d"')
if(this.exponent=new _e({valueHex:(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.d,!0))}),!("t"in e))throw new Error('Absent mandatory parameter "t"')
this.coefficient=new _e({valueHex:(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.t,!0))})}}class wt{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",wt.defaultValues("version")),this.modulus=(0,i.getParametersValue)(e,"modulus",wt.defaultValues("modulus")),this.publicExponent=(0,i.getParametersValue)(e,"publicExponent",wt.defaultValues("publicExponent")),this.privateExponent=(0,i.getParametersValue)(e,"privateExponent",wt.defaultValues("privateExponent")),this.prime1=(0,i.getParametersValue)(e,"prime1",wt.defaultValues("prime1")),this.prime2=(0,i.getParametersValue)(e,"prime2",wt.defaultValues("prime2")),this.exponent1=(0,i.getParametersValue)(e,"exponent1",wt.defaultValues("exponent1")),this.exponent2=(0,i.getParametersValue)(e,"exponent2",wt.defaultValues("exponent2")),this.coefficient=(0,i.getParametersValue)(e,"coefficient",wt.defaultValues("coefficient")),"otherPrimeInfos"in e&&(this.otherPrimeInfos=(0,i.getParametersValue)(e,"otherPrimeInfos",wt.defaultValues("otherPrimeInfos"))),"schema"in e&&this.fromSchema(e.schema),"json"in e&&this.fromJSON(e.json)}static defaultValues(e){switch(e){case"version":return 0
case"modulus":case"publicExponent":case"privateExponent":case"prime1":case"prime2":case"exponent1":case"exponent2":case"coefficient":return new _e
case"otherPrimeInfos":return[]
default:throw new Error(`Invalid member name for RSAPrivateKey class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.version||""}),new _e({name:t.modulus||""}),new _e({name:t.publicExponent||""}),new _e({name:t.privateExponent||""}),new _e({name:t.prime1||""}),new _e({name:t.prime2||""}),new _e({name:t.exponent1||""}),new _e({name:t.exponent2||""}),new _e({name:t.coefficient||""}),new De({optional:!0,value:[new ct({name:t.otherPrimeInfosName||"",value:bt.schema(t.otherPrimeInfo||{})})]})]})}fromSchema(e){(0,i.clearProps)(e,["version","modulus","publicExponent","privateExponent","prime1","prime2","exponent1","exponent2","coefficient","otherPrimeInfos"])
const t=ht(e,e,wt.schema({names:{version:"version",modulus:"modulus",publicExponent:"publicExponent",privateExponent:"privateExponent",prime1:"prime1",prime2:"prime2",exponent1:"exponent1",exponent2:"exponent2",coefficient:"coefficient",otherPrimeInfo:{names:{blockName:"otherPrimeInfos"}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for RSAPrivateKey")
this.version=t.result.version.valueBlock.valueDec,this.modulus=t.result.modulus.convertFromDER(256),this.publicExponent=t.result.publicExponent,this.privateExponent=t.result.privateExponent.convertFromDER(256),this.prime1=t.result.prime1.convertFromDER(128),this.prime2=t.result.prime2.convertFromDER(128),this.exponent1=t.result.exponent1.convertFromDER(128),this.exponent2=t.result.exponent2.convertFromDER(128),this.coefficient=t.result.coefficient.convertFromDER(128),"otherPrimeInfos"in t.result&&(this.otherPrimeInfos=Array.from(t.result.otherPrimeInfos,(e=>new bt({schema:e}))))}toSchema(){const e=[]
return e.push(new _e({value:this.version})),e.push(this.modulus.convertToDER()),e.push(this.publicExponent),e.push(this.privateExponent.convertToDER()),e.push(this.prime1.convertToDER()),e.push(this.prime2.convertToDER()),e.push(this.exponent1.convertToDER()),e.push(this.exponent2.convertToDER()),e.push(this.coefficient.convertToDER()),"otherPrimeInfos"in this&&e.push(new De({value:Array.from(this.otherPrimeInfos,(e=>e.toSchema()))})),new De({value:e})}toJSON(){const e={n:(0,i.toBase64)((0,i.arrayBufferToString)(this.modulus.valueBlock.valueHex),!0,!0,!0),e:(0,i.toBase64)((0,i.arrayBufferToString)(this.publicExponent.valueBlock.valueHex),!0,!0,!0),d:(0,i.toBase64)((0,i.arrayBufferToString)(this.privateExponent.valueBlock.valueHex),!0,!0,!0),p:(0,i.toBase64)((0,i.arrayBufferToString)(this.prime1.valueBlock.valueHex),!0,!0,!0),q:(0,i.toBase64)((0,i.arrayBufferToString)(this.prime2.valueBlock.valueHex),!0,!0,!0),dp:(0,i.toBase64)((0,i.arrayBufferToString)(this.exponent1.valueBlock.valueHex),!0,!0,!0),dq:(0,i.toBase64)((0,i.arrayBufferToString)(this.exponent2.valueBlock.valueHex),!0,!0,!0),qi:(0,i.toBase64)((0,i.arrayBufferToString)(this.coefficient.valueBlock.valueHex),!0,!0,!0)}
return"otherPrimeInfos"in this&&(e.oth=Array.from(this.otherPrimeInfos,(e=>e.toJSON()))),e}fromJSON(e){if(!("n"in e))throw new Error('Absent mandatory parameter "n"')
if(this.modulus=new _e({valueHex:(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.n,!0,!0))}),!("e"in e))throw new Error('Absent mandatory parameter "e"')
if(this.publicExponent=new _e({valueHex:(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.e,!0,!0))}),!("d"in e))throw new Error('Absent mandatory parameter "d"')
if(this.privateExponent=new _e({valueHex:(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.d,!0,!0))}),!("p"in e))throw new Error('Absent mandatory parameter "p"')
if(this.prime1=new _e({valueHex:(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.p,!0,!0))}),!("q"in e))throw new Error('Absent mandatory parameter "q"')
if(this.prime2=new _e({valueHex:(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.q,!0,!0))}),!("dp"in e))throw new Error('Absent mandatory parameter "dp"')
if(this.exponent1=new _e({valueHex:(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.dp,!0,!0))}),!("dq"in e))throw new Error('Absent mandatory parameter "dq"')
if(this.exponent2=new _e({valueHex:(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.dq,!0,!0))}),!("qi"in e))throw new Error('Absent mandatory parameter "qi"')
this.coefficient=new _e({valueHex:(0,i.stringToArrayBuffer)((0,i.fromBase64)(e.qi,!0,!0))}),"oth"in e&&(this.otherPrimeInfos=Array.from(e.oth,(e=>new bt({json:e}))))}}class St{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",St.defaultValues("version")),this.privateKeyAlgorithm=(0,i.getParametersValue)(e,"privateKeyAlgorithm",St.defaultValues("privateKeyAlgorithm")),this.privateKey=(0,i.getParametersValue)(e,"privateKey",St.defaultValues("privateKey")),"attributes"in e&&(this.attributes=(0,i.getParametersValue)(e,"attributes",St.defaultValues("attributes"))),"parsedKey"in e&&(this.parsedKey=(0,i.getParametersValue)(e,"parsedKey",St.defaultValues("parsedKey"))),"schema"in e&&this.fromSchema(e.schema),"json"in e&&this.fromJSON(e.json)}static defaultValues(e){switch(e){case"version":return 0
case"privateKeyAlgorithm":return new dt
case"privateKey":return new be
case"attributes":return[]
case"parsedKey":return{}
default:throw new Error(`Invalid member name for PrivateKeyInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.version||""}),dt.schema(t.privateKeyAlgorithm||{}),new be({name:t.privateKey||""}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new ct({name:t.attributes||"",value:yt.schema()})]})]})}fromSchema(e){(0,i.clearProps)(e,["version","privateKeyAlgorithm","privateKey","attributes"])
const t=ht(e,e,St.schema({names:{version:"version",privateKeyAlgorithm:{names:{blockName:"privateKeyAlgorithm"}},privateKey:"privateKey",attributes:"attributes"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PrivateKeyInfo")
switch(this.version=t.result.version.valueBlock.valueDec,this.privateKeyAlgorithm=new dt({schema:t.result.privateKeyAlgorithm}),this.privateKey=t.result.privateKey,"attributes"in t.result&&(this.attributes=Array.from(t.result.attributes,(e=>new yt({schema:e})))),this.privateKeyAlgorithm.algorithmId){case"1.2.840.113549.1.1.1":{const e=ue(this.privateKey.valueBlock.valueHex);-1!==e.offset&&(this.parsedKey=new wt({schema:e.result}))}break
case"1.2.840.10045.2.1":if("algorithmParams"in this.privateKeyAlgorithm&&this.privateKeyAlgorithm.algorithmParams instanceof Pe){const e=ue(this.privateKey.valueBlock.valueHex);-1!==e.offset&&(this.parsedKey=new vt({namedCurve:this.privateKeyAlgorithm.algorithmParams.valueBlock.toString(),schema:e.result}))}}}toSchema(){const e=[new _e({value:this.version}),this.privateKeyAlgorithm.toSchema(),this.privateKey]
return"attributes"in this&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:Array.from(this.attributes,(e=>e.toSchema()))})),new De({value:e})}toJSON(){if("parsedKey"in this==0){const e={version:this.version,privateKeyAlgorithm:this.privateKeyAlgorithm.toJSON(),privateKey:this.privateKey.toJSON()}
return"attributes"in this&&(e.attributes=Array.from(this.attributes,(e=>e.toJSON()))),e}const e={}
switch(this.privateKeyAlgorithm.algorithmId){case"1.2.840.10045.2.1":e.kty="EC"
break
case"1.2.840.113549.1.1.1":e.kty="RSA"}const t=this.parsedKey.toJSON()
for(const r of Object.keys(t))e[r]=t[r]
return e}fromJSON(e){if("kty"in e){switch(e.kty.toUpperCase()){case"EC":this.parsedKey=new vt({json:e}),this.privateKeyAlgorithm=new dt({algorithmId:"1.2.840.10045.2.1",algorithmParams:new Pe({value:this.parsedKey.namedCurve})})
break
case"RSA":this.parsedKey=new wt({json:e}),this.privateKeyAlgorithm=new dt({algorithmId:"1.2.840.113549.1.1.1",algorithmParams:new me})
break
default:throw new Error(`Invalid value for "kty" parameter: ${e.kty}`)}this.privateKey=new be({valueHex:this.parsedKey.toSchema().toBER(!1)})}}}class kt{constructor(e={}){if(this.contentType=(0,i.getParametersValue)(e,"contentType",kt.defaultValues("contentType")),this.contentEncryptionAlgorithm=(0,i.getParametersValue)(e,"contentEncryptionAlgorithm",kt.defaultValues("contentEncryptionAlgorithm")),"encryptedContent"in e&&(this.encryptedContent=e.encryptedContent,1===this.encryptedContent.idBlock.tagClass&&4===this.encryptedContent.idBlock.tagNumber&&!1===this.encryptedContent.idBlock.isConstructed)){const e=new be({idBlock:{isConstructed:!0},isConstructed:!0})
let t=0,r=this.encryptedContent.valueBlock.valueHex.byteLength
for(;r>0;){const n=new Uint8Array(this.encryptedContent.valueBlock.valueHex,t,t+1024>this.encryptedContent.valueBlock.valueHex.byteLength?this.encryptedContent.valueBlock.valueHex.byteLength-t:1024),i=new ArrayBuffer(n.length),s=new Uint8Array(i)
for(let e=0;e<s.length;e++)s[e]=n[e]
e.valueBlock.value.push(new be({valueHex:i})),r-=n.length,t+=n.length}this.encryptedContent=e}"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"contentType":return""
case"contentEncryptionAlgorithm":return new dt
case"encryptedContent":return new be
default:throw new Error(`Invalid member name for EncryptedContentInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"contentType":return""===t
case"contentEncryptionAlgorithm":return""===t.algorithmId&&"algorithmParams"in t==0
case"encryptedContent":return t.isEqual(kt.defaultValues(e))
default:throw new Error(`Invalid member name for EncryptedContentInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.contentType||""}),dt.schema(t.contentEncryptionAlgorithm||{}),new lt({value:[new de({name:t.encryptedContent||"",idBlock:{tagClass:3,tagNumber:0},value:[new ct({value:new be})]}),new le({name:t.encryptedContent||"",idBlock:{tagClass:3,tagNumber:0}})]})]})}fromSchema(e){(0,i.clearProps)(e,["contentType","contentEncryptionAlgorithm","encryptedContent"])
const t=ht(e,e,kt.schema({names:{contentType:"contentType",contentEncryptionAlgorithm:{names:{blockName:"contentEncryptionAlgorithm"}},encryptedContent:"encryptedContent"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for EncryptedContentInfo")
this.contentType=t.result.contentType.valueBlock.toString(),this.contentEncryptionAlgorithm=new dt({schema:t.result.contentEncryptionAlgorithm}),"encryptedContent"in t.result&&(this.encryptedContent=t.result.encryptedContent,this.encryptedContent.idBlock.tagClass=1,this.encryptedContent.idBlock.tagNumber=4)}toSchema(){const e={isIndefiniteForm:!1},t=[]
if(t.push(new Pe({value:this.contentType})),t.push(this.contentEncryptionAlgorithm.toSchema()),"encryptedContent"in this){e.isIndefiniteForm=this.encryptedContent.idBlock.isConstructed
const r=this.encryptedContent
r.idBlock.tagClass=3,r.idBlock.tagNumber=0,r.lenBlock.isIndefiniteForm=this.encryptedContent.idBlock.isConstructed,t.push(r)}return new De({lenBlock:e,value:t})}toJSON(){const e={contentType:this.contentType,contentEncryptionAlgorithm:this.contentEncryptionAlgorithm.toJSON()}
return"encryptedContent"in this&&(e.encryptedContent=this.encryptedContent.toJSON()),e}}class xt{constructor(e={}){this.hashAlgorithm=(0,i.getParametersValue)(e,"hashAlgorithm",xt.defaultValues("hashAlgorithm")),this.maskGenAlgorithm=(0,i.getParametersValue)(e,"maskGenAlgorithm",xt.defaultValues("maskGenAlgorithm")),this.saltLength=(0,i.getParametersValue)(e,"saltLength",xt.defaultValues("saltLength")),this.trailerField=(0,i.getParametersValue)(e,"trailerField",xt.defaultValues("trailerField")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"hashAlgorithm":return new dt({algorithmId:"1.3.14.3.2.26",algorithmParams:new me})
case"maskGenAlgorithm":return new dt({algorithmId:"1.2.840.113549.1.1.8",algorithmParams:new dt({algorithmId:"1.3.14.3.2.26",algorithmParams:new me}).toSchema()})
case"saltLength":return 20
case"trailerField":return 1
default:throw new Error(`Invalid member name for RSASSAPSSParams class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new de({idBlock:{tagClass:3,tagNumber:0},optional:!0,value:[dt.schema(t.hashAlgorithm||{})]}),new de({idBlock:{tagClass:3,tagNumber:1},optional:!0,value:[dt.schema(t.maskGenAlgorithm||{})]}),new de({idBlock:{tagClass:3,tagNumber:2},optional:!0,value:[new _e({name:t.saltLength||""})]}),new de({idBlock:{tagClass:3,tagNumber:3},optional:!0,value:[new _e({name:t.trailerField||""})]})]})}fromSchema(e){(0,i.clearProps)(e,["hashAlgorithm","maskGenAlgorithm","saltLength","trailerField"])
const t=ht(e,e,xt.schema({names:{hashAlgorithm:{names:{blockName:"hashAlgorithm"}},maskGenAlgorithm:{names:{blockName:"maskGenAlgorithm"}},saltLength:"saltLength",trailerField:"trailerField"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for RSASSAPSSParams")
"hashAlgorithm"in t.result&&(this.hashAlgorithm=new dt({schema:t.result.hashAlgorithm})),"maskGenAlgorithm"in t.result&&(this.maskGenAlgorithm=new dt({schema:t.result.maskGenAlgorithm})),"saltLength"in t.result&&(this.saltLength=t.result.saltLength.valueBlock.valueDec),"trailerField"in t.result&&(this.trailerField=t.result.trailerField.valueBlock.valueDec)}toSchema(){const e=[]
return this.hashAlgorithm.isEqual(xt.defaultValues("hashAlgorithm"))||e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:[this.hashAlgorithm.toSchema()]})),this.maskGenAlgorithm.isEqual(xt.defaultValues("maskGenAlgorithm"))||e.push(new de({idBlock:{tagClass:3,tagNumber:1},value:[this.maskGenAlgorithm.toSchema()]})),this.saltLength!==xt.defaultValues("saltLength")&&e.push(new de({idBlock:{tagClass:3,tagNumber:2},value:[new _e({value:this.saltLength})]})),this.trailerField!==xt.defaultValues("trailerField")&&e.push(new de({idBlock:{tagClass:3,tagNumber:3},value:[new _e({value:this.trailerField})]})),new De({value:e})}toJSON(){const e={}
return this.hashAlgorithm.isEqual(xt.defaultValues("hashAlgorithm"))||(e.hashAlgorithm=this.hashAlgorithm.toJSON()),this.maskGenAlgorithm.isEqual(xt.defaultValues("maskGenAlgorithm"))||(e.maskGenAlgorithm=this.maskGenAlgorithm.toJSON()),this.saltLength!==xt.defaultValues("saltLength")&&(e.saltLength=this.saltLength),this.trailerField!==xt.defaultValues("trailerField")&&(e.trailerField=this.trailerField),e}}class Et{constructor(e={}){this.salt=(0,i.getParametersValue)(e,"salt",Et.defaultValues("salt")),this.iterationCount=(0,i.getParametersValue)(e,"iterationCount",Et.defaultValues("iterationCount")),"keyLength"in e&&(this.keyLength=(0,i.getParametersValue)(e,"keyLength",Et.defaultValues("keyLength"))),"prf"in e&&(this.prf=(0,i.getParametersValue)(e,"prf",Et.defaultValues("prf"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"salt":return{}
case"iterationCount":return-1
case"keyLength":return 0
case"prf":return new dt({algorithmId:"1.3.14.3.2.26",algorithmParams:new me})
default:throw new Error(`Invalid member name for PBKDF2Params class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new lt({value:[new be({name:t.saltPrimitive||""}),dt.schema(t.saltConstructed||{})]}),new _e({name:t.iterationCount||""}),new _e({name:t.keyLength||"",optional:!0}),dt.schema(t.prf||{names:{optional:!0}})]})}fromSchema(e){(0,i.clearProps)(e,["salt","iterationCount","keyLength","prf"])
const t=ht(e,e,Et.schema({names:{saltPrimitive:"salt",saltConstructed:{names:{blockName:"salt"}},iterationCount:"iterationCount",keyLength:"keyLength",prf:{names:{blockName:"prf",optional:!0}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PBKDF2Params")
this.salt=t.result.salt,this.iterationCount=t.result.iterationCount.valueBlock.valueDec,"keyLength"in t.result&&(this.keyLength=t.result.keyLength.valueBlock.valueDec),"prf"in t.result&&(this.prf=new dt({schema:t.result.prf}))}toSchema(){const e=[]
return e.push(this.salt),e.push(new _e({value:this.iterationCount})),"keyLength"in this&&Et.defaultValues("keyLength")!==this.keyLength&&e.push(new _e({value:this.keyLength})),"prf"in this&&!1===Et.defaultValues("prf").isEqual(this.prf)&&e.push(this.prf.toSchema()),new De({value:e})}toJSON(){const e={salt:this.salt.toJSON(),iterationCount:this.iterationCount}
return"keyLength"in this&&Et.defaultValues("keyLength")!==this.keyLength&&(e.keyLength=this.keyLength),"prf"in this&&!1===Et.defaultValues("prf").isEqual(this.prf)&&(e.prf=this.prf.toJSON()),e}}class Nt{constructor(e={}){this.keyDerivationFunc=(0,i.getParametersValue)(e,"keyDerivationFunc",Nt.defaultValues("keyDerivationFunc")),this.encryptionScheme=(0,i.getParametersValue)(e,"encryptionScheme",Nt.defaultValues("encryptionScheme")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"keyDerivationFunc":case"encryptionScheme":return new dt
default:throw new Error(`Invalid member name for PBES2Params class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[dt.schema(t.keyDerivationFunc||{}),dt.schema(t.encryptionScheme||{})]})}fromSchema(e){(0,i.clearProps)(e,["keyDerivationFunc","encryptionScheme"])
const t=ht(e,e,Nt.schema({names:{keyDerivationFunc:{names:{blockName:"keyDerivationFunc"}},encryptionScheme:{names:{blockName:"encryptionScheme"}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PBES2Params")
this.keyDerivationFunc=new dt({schema:t.result.keyDerivationFunc}),this.encryptionScheme=new dt({schema:t.result.encryptionScheme})}toSchema(){return new De({value:[this.keyDerivationFunc.toSchema(),this.encryptionScheme.toSchema()]})}toJSON(){return{keyDerivationFunc:this.keyDerivationFunc.toJSON(),encryptionScheme:this.encryptionScheme.toJSON()}}}function _t(e,t,r,n,i,s){let o,a
const l=[]
switch(t.toUpperCase()){case"SHA-1":o=20,a=64
break
case"SHA-256":o=32,a=64
break
case"SHA-384":o=48,a=128
break
case"SHA-512":o=64,a=128
break
default:throw new Error("Unsupported hashing algorithm")}const c=new Uint8Array(n),u=new ArrayBuffer(2*n.byteLength+2),h=new Uint8Array(u)
for(let O=0;O<c.length;O++)h[2*O]=0,h[2*O+1]=c[O]
h[h.length-2]=0,h[h.length-1]=0,n=u.slice(0)
const d=new ArrayBuffer(a),p=new Uint8Array(d)
for(let O=0;O<d.byteLength;O++)p[O]=3
const f=i.byteLength,m=a*Math.ceil(f/a),g=new ArrayBuffer(m),y=new Uint8Array(g),v=new Uint8Array(i)
for(let O=0;O<m;O++)y[O]=v[O%f]
const b=n.byteLength,w=a*Math.ceil(b/a),S=new ArrayBuffer(w),k=new Uint8Array(S),x=new Uint8Array(n)
for(let O=0;O<w;O++)k[O]=x[O%b]
const E=g.byteLength+S.byteLength
let N=new ArrayBuffer(E),_=new Uint8Array(N)
_.set(y),_.set(k,y.length)
const C=Math.ceil((r>>3)/o)
let A=Promise.resolve(N)
for(let O=0;O<=C;O++){A=A.then((e=>{const t=new ArrayBuffer(d.byteLength+e.byteLength),r=new Uint8Array(t)
return r.set(p),r.set(_,p.length),t}))
for(let r=0;r<s;r++)A=A.then((r=>e.digest({name:t},new Uint8Array(r))))
A=A.then((e=>{const t=new ArrayBuffer(a),r=new Uint8Array(t)
for(let a=0;a<t.byteLength;a++)r[a]=e[a%e.length]
const n=Math.ceil(f/a)+Math.ceil(b/a),i=[]
let s=0,o=a
for(let l=0;l<n;l++){const e=Array.from(new Uint8Array(N.slice(s,s+o)))
s+=a,s+a>N.byteLength&&(o=N.byteLength-s)
let n=511
for(let i=t.byteLength-1;i>=0;i--)n>>=8,n+=r[i]+e[i],e[i]=255&n
i.push(...e)}return N=new ArrayBuffer(i.length),_=new Uint8Array(N),_.set(i),l.push(...new Uint8Array(e)),N}))}return A=A.then((()=>{const e=new ArrayBuffer(r>>3)
return new Uint8Array(e).set(new Uint8Array(l).slice(0,r>>3)),e})),A}class Ct{constructor(e={}){this.crypto=(0,i.getParametersValue)(e,"crypto",{}),this.subtle=(0,i.getParametersValue)(e,"subtle",{}),this.name=(0,i.getParametersValue)(e,"name","")}importKey(e,t,r,n,s){let o={}
switch(t instanceof Uint8Array&&(t=t.buffer),e.toLowerCase()){case"raw":return this.subtle.importKey("raw",t,r,n,s)
case"spki":{const i=ue(t)
if(-1===i.offset)return Promise.reject("Incorrect keyData")
const a=new gt
try{a.fromSchema(i.result)}catch(e){return Promise.reject("Incorrect keyData")}switch(r.name.toUpperCase()){case"RSA-PSS":switch(r.hash.name.toUpperCase()){case"SHA-1":o.alg="PS1"
break
case"SHA-256":o.alg="PS256"
break
case"SHA-384":o.alg="PS384"
break
case"SHA-512":o.alg="PS512"
break
default:return Promise.reject(`Incorrect hash algorithm: ${r.hash.name.toUpperCase()}`)}case"RSASSA-PKCS1-V1_5":{if(s=["verify"],o.kty="RSA",o.ext=n,o.key_ops=s,"1.2.840.113549.1.1.1"!==a.algorithm.algorithmId)return Promise.reject(`Incorrect public key algorithm: ${a.algorithm.algorithmId}`)
if("alg"in o==0)switch(r.hash.name.toUpperCase()){case"SHA-1":o.alg="RS1"
break
case"SHA-256":o.alg="RS256"
break
case"SHA-384":o.alg="RS384"
break
case"SHA-512":o.alg="RS512"
break
default:return Promise.reject(`Incorrect hash algorithm: ${r.hash.name.toUpperCase()}`)}const e=a.toJSON()
for(const t of Object.keys(e))o[t]=e[t]}break
case"ECDSA":s=["verify"]
case"ECDH":{if(o={kty:"EC",ext:n,key_ops:s},"1.2.840.10045.2.1"!==a.algorithm.algorithmId)return Promise.reject(`Incorrect public key algorithm: ${a.algorithm.algorithmId}`)
const e=a.toJSON()
for(const t of Object.keys(e))o[t]=e[t]}break
case"RSA-OAEP":{if(o.kty="RSA",o.ext=n,o.key_ops=s,"safari"===this.name.toLowerCase())o.alg="RSA-OAEP"
else switch(r.hash.name.toUpperCase()){case"SHA-1":o.alg="RSA-OAEP"
break
case"SHA-256":o.alg="RSA-OAEP-256"
break
case"SHA-384":o.alg="RSA-OAEP-384"
break
case"SHA-512":o.alg="RSA-OAEP-512"
break
default:return Promise.reject(`Incorrect hash algorithm: ${r.hash.name.toUpperCase()}`)}const e=a.toJSON()
for(const t of Object.keys(e))o[t]=e[t]}break
case"RSAES-PKCS1-V1_5":{o.kty="RSA",o.ext=n,o.key_ops=s,o.alg="PS1"
const e=a.toJSON()
for(const t of Object.keys(e))o[t]=e[t]}break
default:return Promise.reject(`Incorrect algorithm name: ${r.name.toUpperCase()}`)}}break
case"pkcs8":{const i=new St,a=ue(t)
if(-1===a.offset)return Promise.reject("Incorrect keyData")
try{i.fromSchema(a.result)}catch(e){return Promise.reject("Incorrect keyData")}if("parsedKey"in i==0)return Promise.reject("Incorrect keyData")
switch(r.name.toUpperCase()){case"RSA-PSS":switch(r.hash.name.toUpperCase()){case"SHA-1":o.alg="PS1"
break
case"SHA-256":o.alg="PS256"
break
case"SHA-384":o.alg="PS384"
break
case"SHA-512":o.alg="PS512"
break
default:return Promise.reject(`Incorrect hash algorithm: ${r.hash.name.toUpperCase()}`)}case"RSASSA-PKCS1-V1_5":{if(s=["sign"],o.kty="RSA",o.ext=n,o.key_ops=s,"1.2.840.113549.1.1.1"!==i.privateKeyAlgorithm.algorithmId)return Promise.reject(`Incorrect private key algorithm: ${i.privateKeyAlgorithm.algorithmId}`)
if("alg"in o==0)switch(r.hash.name.toUpperCase()){case"SHA-1":o.alg="RS1"
break
case"SHA-256":o.alg="RS256"
break
case"SHA-384":o.alg="RS384"
break
case"SHA-512":o.alg="RS512"
break
default:return Promise.reject(`Incorrect hash algorithm: ${r.hash.name.toUpperCase()}`)}const e=i.toJSON()
for(const t of Object.keys(e))o[t]=e[t]}break
case"ECDSA":s=["sign"]
case"ECDH":{if(o={kty:"EC",ext:n,key_ops:s},"1.2.840.10045.2.1"!==i.privateKeyAlgorithm.algorithmId)return Promise.reject(`Incorrect algorithm: ${i.privateKeyAlgorithm.algorithmId}`)
const e=i.toJSON()
for(const t of Object.keys(e))o[t]=e[t]}break
case"RSA-OAEP":{if(o.kty="RSA",o.ext=n,o.key_ops=s,"safari"===this.name.toLowerCase())o.alg="RSA-OAEP"
else switch(r.hash.name.toUpperCase()){case"SHA-1":o.alg="RSA-OAEP"
break
case"SHA-256":o.alg="RSA-OAEP-256"
break
case"SHA-384":o.alg="RSA-OAEP-384"
break
case"SHA-512":o.alg="RSA-OAEP-512"
break
default:return Promise.reject(`Incorrect hash algorithm: ${r.hash.name.toUpperCase()}`)}const e=i.toJSON()
for(const t of Object.keys(e))o[t]=e[t]}break
case"RSAES-PKCS1-V1_5":{s=["decrypt"],o.kty="RSA",o.ext=n,o.key_ops=s,o.alg="PS1"
const e=i.toJSON()
for(const t of Object.keys(e))o[t]=e[t]}break
default:return Promise.reject(`Incorrect algorithm name: ${r.name.toUpperCase()}`)}}break
case"jwk":o=t
break
default:return Promise.reject(`Incorrect format: ${e}`)}return"safari"===this.name.toLowerCase()?Promise.resolve().then((()=>this.subtle.importKey("jwk",(0,i.stringToArrayBuffer)(JSON.stringify(o)),r,n,s))).then((e=>e),(()=>this.subtle.importKey("jwk",o,r,n,s))):this.subtle.importKey("jwk",o,r,n,s)}exportKey(e,t){let r=this.subtle.exportKey("jwk",t)
switch("safari"===this.name.toLowerCase()&&(r=r.then((e=>e instanceof ArrayBuffer?JSON.parse((0,i.arrayBufferToString)(e)):e))),e.toLowerCase()){case"raw":return this.subtle.exportKey("raw",t)
case"spki":r=r.then((e=>{const t=new gt
try{t.fromJSON(e)}catch(e){return Promise.reject("Incorrect key data")}return t.toSchema().toBER(!1)}))
break
case"pkcs8":r=r.then((e=>{const t=new St
try{t.fromJSON(e)}catch(e){return Promise.reject("Incorrect key data")}return t.toSchema().toBER(!1)}))
break
case"jwk":break
default:return Promise.reject(`Incorrect format: ${e}`)}return r}convert(e,t,r,n,i,s){switch(e.toLowerCase()){case"raw":switch(t.toLowerCase()){case"raw":return Promise.resolve(r)
case"spki":return Promise.resolve().then((()=>this.importKey("raw",r,n,i,s))).then((e=>this.exportKey("spki",e)))
case"pkcs8":return Promise.resolve().then((()=>this.importKey("raw",r,n,i,s))).then((e=>this.exportKey("pkcs8",e)))
case"jwk":return Promise.resolve().then((()=>this.importKey("raw",r,n,i,s))).then((e=>this.exportKey("jwk",e)))
default:return Promise.reject(`Incorrect outputFormat: ${t}`)}case"spki":switch(t.toLowerCase()){case"raw":return Promise.resolve().then((()=>this.importKey("spki",r,n,i,s))).then((e=>this.exportKey("raw",e)))
case"spki":return Promise.resolve(r)
case"pkcs8":return Promise.reject("Impossible to convert between SPKI/PKCS8")
case"jwk":return Promise.resolve().then((()=>this.importKey("spki",r,n,i,s))).then((e=>this.exportKey("jwk",e)))
default:return Promise.reject(`Incorrect outputFormat: ${t}`)}case"pkcs8":switch(t.toLowerCase()){case"raw":return Promise.resolve().then((()=>this.importKey("pkcs8",r,n,i,s))).then((e=>this.exportKey("raw",e)))
case"spki":return Promise.reject("Impossible to convert between SPKI/PKCS8")
case"pkcs8":return Promise.resolve(r)
case"jwk":return Promise.resolve().then((()=>this.importKey("pkcs8",r,n,i,s))).then((e=>this.exportKey("jwk",e)))
default:return Promise.reject(`Incorrect outputFormat: ${t}`)}case"jwk":switch(t.toLowerCase()){case"raw":return Promise.resolve().then((()=>this.importKey("jwk",r,n,i,s))).then((e=>this.exportKey("raw",e)))
case"spki":return Promise.resolve().then((()=>this.importKey("jwk",r,n,i,s))).then((e=>this.exportKey("spki",e)))
case"pkcs8":return Promise.resolve().then((()=>this.importKey("jwk",r,n,i,s))).then((e=>this.exportKey("pkcs8",e)))
case"jwk":return Promise.resolve(r)
default:return Promise.reject(`Incorrect outputFormat: ${t}`)}default:return Promise.reject(`Incorrect inputFormat: ${e}`)}}encrypt(...e){return this.subtle.encrypt(...e)}decrypt(...e){return this.subtle.decrypt(...e)}sign(...e){return this.subtle.sign(...e)}verify(...e){return this.subtle.verify(...e)}digest(...e){return this.subtle.digest(...e)}generateKey(...e){return this.subtle.generateKey(...e)}deriveKey(...e){return this.subtle.deriveKey(...e)}deriveBits(...e){return this.subtle.deriveBits(...e)}wrapKey(...e){return this.subtle.wrapKey(...e)}unwrapKey(...e){return this.subtle.unwrapKey(...e)}getRandomValues(e){if("getRandomValues"in this.crypto==0)throw new Error("No support for getRandomValues")
return this.crypto.getRandomValues(e)}getAlgorithmByOID(e){switch(e){case"1.2.840.113549.1.1.1":return{name:"RSAES-PKCS1-v1_5"}
case"1.2.840.113549.1.1.5":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-1"}}
case"1.2.840.113549.1.1.11":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}}
case"1.2.840.113549.1.1.12":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-384"}}
case"1.2.840.113549.1.1.13":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-512"}}
case"1.2.840.113549.1.1.10":return{name:"RSA-PSS"}
case"1.2.840.113549.1.1.7":return{name:"RSA-OAEP"}
case"1.2.840.10045.2.1":case"1.2.840.10045.4.1":return{name:"ECDSA",hash:{name:"SHA-1"}}
case"1.2.840.10045.4.3.2":return{name:"ECDSA",hash:{name:"SHA-256"}}
case"1.2.840.10045.4.3.3":return{name:"ECDSA",hash:{name:"SHA-384"}}
case"1.2.840.10045.4.3.4":return{name:"ECDSA",hash:{name:"SHA-512"}}
case"1.3.133.16.840.63.0.2":return{name:"ECDH",kdf:"SHA-1"}
case"1.3.132.1.11.1":return{name:"ECDH",kdf:"SHA-256"}
case"1.3.132.1.11.2":return{name:"ECDH",kdf:"SHA-384"}
case"1.3.132.1.11.3":return{name:"ECDH",kdf:"SHA-512"}
case"2.16.840.1.101.3.4.1.2":return{name:"AES-CBC",length:128}
case"2.16.840.1.101.3.4.1.22":return{name:"AES-CBC",length:192}
case"2.16.840.1.101.3.4.1.42":return{name:"AES-CBC",length:256}
case"2.16.840.1.101.3.4.1.6":return{name:"AES-GCM",length:128}
case"2.16.840.1.101.3.4.1.26":return{name:"AES-GCM",length:192}
case"2.16.840.1.101.3.4.1.46":return{name:"AES-GCM",length:256}
case"2.16.840.1.101.3.4.1.4":return{name:"AES-CFB",length:128}
case"2.16.840.1.101.3.4.1.24":return{name:"AES-CFB",length:192}
case"2.16.840.1.101.3.4.1.44":return{name:"AES-CFB",length:256}
case"2.16.840.1.101.3.4.1.5":return{name:"AES-KW",length:128}
case"2.16.840.1.101.3.4.1.25":return{name:"AES-KW",length:192}
case"2.16.840.1.101.3.4.1.45":return{name:"AES-KW",length:256}
case"1.2.840.113549.2.7":return{name:"HMAC",hash:{name:"SHA-1"}}
case"1.2.840.113549.2.9":return{name:"HMAC",hash:{name:"SHA-256"}}
case"1.2.840.113549.2.10":return{name:"HMAC",hash:{name:"SHA-384"}}
case"1.2.840.113549.2.11":return{name:"HMAC",hash:{name:"SHA-512"}}
case"1.2.840.113549.1.9.16.3.5":return{name:"DH"}
case"1.3.14.3.2.26":return{name:"SHA-1"}
case"2.16.840.1.101.3.4.2.1":return{name:"SHA-256"}
case"2.16.840.1.101.3.4.2.2":return{name:"SHA-384"}
case"2.16.840.1.101.3.4.2.3":return{name:"SHA-512"}
case"1.2.840.113549.1.5.12":return{name:"PBKDF2"}
case"1.2.840.10045.3.1.7":return{name:"P-256"}
case"1.3.132.0.34":return{name:"P-384"}
case"1.3.132.0.35":return{name:"P-521"}}return{}}getOIDByAlgorithm(e){let t=""
switch(e.name.toUpperCase()){case"RSAES-PKCS1-V1_5":t="1.2.840.113549.1.1.1"
break
case"RSASSA-PKCS1-V1_5":switch(e.hash.name.toUpperCase()){case"SHA-1":t="1.2.840.113549.1.1.5"
break
case"SHA-256":t="1.2.840.113549.1.1.11"
break
case"SHA-384":t="1.2.840.113549.1.1.12"
break
case"SHA-512":t="1.2.840.113549.1.1.13"}break
case"RSA-PSS":t="1.2.840.113549.1.1.10"
break
case"RSA-OAEP":t="1.2.840.113549.1.1.7"
break
case"ECDSA":switch(e.hash.name.toUpperCase()){case"SHA-1":t="1.2.840.10045.4.1"
break
case"SHA-256":t="1.2.840.10045.4.3.2"
break
case"SHA-384":t="1.2.840.10045.4.3.3"
break
case"SHA-512":t="1.2.840.10045.4.3.4"}break
case"ECDH":switch(e.kdf.toUpperCase()){case"SHA-1":t="1.3.133.16.840.63.0.2"
break
case"SHA-256":t="1.3.132.1.11.1"
break
case"SHA-384":t="1.3.132.1.11.2"
break
case"SHA-512":t="1.3.132.1.11.3"}break
case"AES-CTR":case"AES-CMAC":case"CONCAT":case"HKDF":break
case"AES-CBC":switch(e.length){case 128:t="2.16.840.1.101.3.4.1.2"
break
case 192:t="2.16.840.1.101.3.4.1.22"
break
case 256:t="2.16.840.1.101.3.4.1.42"}break
case"AES-GCM":switch(e.length){case 128:t="2.16.840.1.101.3.4.1.6"
break
case 192:t="2.16.840.1.101.3.4.1.26"
break
case 256:t="2.16.840.1.101.3.4.1.46"}break
case"AES-CFB":switch(e.length){case 128:t="2.16.840.1.101.3.4.1.4"
break
case 192:t="2.16.840.1.101.3.4.1.24"
break
case 256:t="2.16.840.1.101.3.4.1.44"}break
case"AES-KW":switch(e.length){case 128:t="2.16.840.1.101.3.4.1.5"
break
case 192:t="2.16.840.1.101.3.4.1.25"
break
case 256:t="2.16.840.1.101.3.4.1.45"}break
case"HMAC":switch(e.hash.name.toUpperCase()){case"SHA-1":t="1.2.840.113549.2.7"
break
case"SHA-256":t="1.2.840.113549.2.9"
break
case"SHA-384":t="1.2.840.113549.2.10"
break
case"SHA-512":t="1.2.840.113549.2.11"}break
case"DH":t="1.2.840.113549.1.9.16.3.5"
break
case"SHA-1":t="1.3.14.3.2.26"
break
case"SHA-256":t="2.16.840.1.101.3.4.2.1"
break
case"SHA-384":t="2.16.840.1.101.3.4.2.2"
break
case"SHA-512":t="2.16.840.1.101.3.4.2.3"
break
case"PBKDF2":t="1.2.840.113549.1.5.12"
break
case"P-256":t="1.2.840.10045.3.1.7"
break
case"P-384":t="1.3.132.0.34"
break
case"P-521":t="1.3.132.0.35"}return t}getAlgorithmParameters(e,t){let r={algorithm:{},usages:[]}
switch(e.toUpperCase()){case"RSAES-PKCS1-V1_5":case"RSASSA-PKCS1-V1_5":switch(t.toLowerCase()){case"generatekey":r={algorithm:{name:"RSASSA-PKCS1-v1_5",modulusLength:2048,publicExponent:new Uint8Array([1,0,1]),hash:{name:"SHA-256"}},usages:["sign","verify"]}
break
case"verify":case"sign":case"importkey":r={algorithm:{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},usages:["verify"]}
break
default:return{algorithm:{name:"RSASSA-PKCS1-v1_5"},usages:[]}}break
case"RSA-PSS":switch(t.toLowerCase()){case"sign":case"verify":r={algorithm:{name:"RSA-PSS",hash:{name:"SHA-1"},saltLength:20},usages:["sign","verify"]}
break
case"generatekey":r={algorithm:{name:"RSA-PSS",modulusLength:2048,publicExponent:new Uint8Array([1,0,1]),hash:{name:"SHA-1"}},usages:["sign","verify"]}
break
case"importkey":r={algorithm:{name:"RSA-PSS",hash:{name:"SHA-1"}},usages:["verify"]}
break
default:return{algorithm:{name:"RSA-PSS"},usages:[]}}break
case"RSA-OAEP":switch(t.toLowerCase()){case"encrypt":case"decrypt":r={algorithm:{name:"RSA-OAEP"},usages:["encrypt","decrypt"]}
break
case"generatekey":r={algorithm:{name:"RSA-OAEP",modulusLength:2048,publicExponent:new Uint8Array([1,0,1]),hash:{name:"SHA-256"}},usages:["encrypt","decrypt","wrapKey","unwrapKey"]}
break
case"importkey":r={algorithm:{name:"RSA-OAEP",hash:{name:"SHA-256"}},usages:["encrypt"]}
break
default:return{algorithm:{name:"RSA-OAEP"},usages:[]}}break
case"ECDSA":switch(t.toLowerCase()){case"generatekey":r={algorithm:{name:"ECDSA",namedCurve:"P-256"},usages:["sign","verify"]}
break
case"importkey":r={algorithm:{name:"ECDSA",namedCurve:"P-256"},usages:["verify"]}
break
case"verify":case"sign":r={algorithm:{name:"ECDSA",hash:{name:"SHA-256"}},usages:["sign"]}
break
default:return{algorithm:{name:"ECDSA"},usages:[]}}break
case"ECDH":switch(t.toLowerCase()){case"exportkey":case"importkey":case"generatekey":r={algorithm:{name:"ECDH",namedCurve:"P-256"},usages:["deriveKey","deriveBits"]}
break
case"derivekey":case"derivebits":r={algorithm:{name:"ECDH",namedCurve:"P-256",public:[]},usages:["encrypt","decrypt"]}
break
default:return{algorithm:{name:"ECDH"},usages:[]}}break
case"AES-CTR":switch(t.toLowerCase()){case"importkey":case"exportkey":case"generatekey":r={algorithm:{name:"AES-CTR",length:256},usages:["encrypt","decrypt","wrapKey","unwrapKey"]}
break
case"decrypt":case"encrypt":r={algorithm:{name:"AES-CTR",counter:new Uint8Array(16),length:10},usages:["encrypt","decrypt","wrapKey","unwrapKey"]}
break
default:return{algorithm:{name:"AES-CTR"},usages:[]}}break
case"AES-CBC":switch(t.toLowerCase()){case"importkey":case"exportkey":case"generatekey":r={algorithm:{name:"AES-CBC",length:256},usages:["encrypt","decrypt","wrapKey","unwrapKey"]}
break
case"decrypt":case"encrypt":r={algorithm:{name:"AES-CBC",iv:this.getRandomValues(new Uint8Array(16))},usages:["encrypt","decrypt","wrapKey","unwrapKey"]}
break
default:return{algorithm:{name:"AES-CBC"},usages:[]}}break
case"AES-GCM":switch(t.toLowerCase()){case"importkey":case"exportkey":case"generatekey":r={algorithm:{name:"AES-GCM",length:256},usages:["encrypt","decrypt","wrapKey","unwrapKey"]}
break
case"decrypt":case"encrypt":r={algorithm:{name:"AES-GCM",iv:this.getRandomValues(new Uint8Array(16))},usages:["encrypt","decrypt","wrapKey","unwrapKey"]}
break
default:return{algorithm:{name:"AES-GCM"},usages:[]}}break
case"AES-KW":switch(t.toLowerCase()){case"importkey":case"exportkey":case"generatekey":case"wrapkey":case"unwrapkey":r={algorithm:{name:"AES-KW",length:256},usages:["wrapKey","unwrapKey"]}
break
default:return{algorithm:{name:"AES-KW"},usages:[]}}break
case"HMAC":switch(t.toLowerCase()){case"sign":case"verify":r={algorithm:{name:"HMAC"},usages:["sign","verify"]}
break
case"importkey":case"exportkey":case"generatekey":r={algorithm:{name:"HMAC",length:32,hash:{name:"SHA-256"}},usages:["sign","verify"]}
break
default:return{algorithm:{name:"HMAC"},usages:[]}}break
case"HKDF":if("derivekey"!==t.toLowerCase())return{algorithm:{name:"HKDF"},usages:[]}
r={algorithm:{name:"HKDF",hash:"SHA-256",salt:new Uint8Array([]),info:new Uint8Array([])},usages:["encrypt","decrypt"]}
break
case"PBKDF2":if("derivekey"!==t.toLowerCase())return{algorithm:{name:"PBKDF2"},usages:[]}
r={algorithm:{name:"PBKDF2",hash:{name:"SHA-256"},salt:new Uint8Array([]),iterations:1e4},usages:["encrypt","decrypt"]}}return r}getHashAlgorithm(e){let t=""
switch(e.algorithmId){case"1.2.840.10045.4.1":case"1.2.840.113549.1.1.5":t="SHA-1"
break
case"1.2.840.10045.4.3.2":case"1.2.840.113549.1.1.11":t="SHA-256"
break
case"1.2.840.10045.4.3.3":case"1.2.840.113549.1.1.12":t="SHA-384"
break
case"1.2.840.10045.4.3.4":case"1.2.840.113549.1.1.13":t="SHA-512"
break
case"1.2.840.113549.1.1.10":try{const r=new xt({schema:e.algorithmParams})
if("hashAlgorithm"in r){const e=this.getAlgorithmByOID(r.hashAlgorithm.algorithmId)
if("name"in e==0)return""
t=e.name}else t="SHA-1"}catch(e){}}return t}encryptEncryptedContentInfo(e){if(e instanceof Object==0)return Promise.reject('Parameters must have type "Object"')
if("password"in e==0)return Promise.reject('Absent mandatory parameter "password"')
if("contentEncryptionAlgorithm"in e==0)return Promise.reject('Absent mandatory parameter "contentEncryptionAlgorithm"')
if("hmacHashAlgorithm"in e==0)return Promise.reject('Absent mandatory parameter "hmacHashAlgorithm"')
if("iterationCount"in e==0)return Promise.reject('Absent mandatory parameter "iterationCount"')
if("contentToEncrypt"in e==0)return Promise.reject('Absent mandatory parameter "contentToEncrypt"')
if("contentType"in e==0)return Promise.reject('Absent mandatory parameter "contentType"')
const t=this.getOIDByAlgorithm(e.contentEncryptionAlgorithm)
if(""===t)return Promise.reject('Wrong "contentEncryptionAlgorithm" value')
const r=this.getOIDByAlgorithm({name:"PBKDF2"})
if(""===r)return Promise.reject("Can not find OID for PBKDF2")
const n=this.getOIDByAlgorithm({name:"HMAC",hash:{name:e.hmacHashAlgorithm}})
if(""===n)return Promise.reject(`Incorrect value for "hmacHashAlgorithm": ${e.hmacHashAlgorithm}`)
let i=Promise.resolve()
const s=new ArrayBuffer(16),o=new Uint8Array(s)
this.getRandomValues(o)
const a=new ArrayBuffer(64),l=new Uint8Array(a)
this.getRandomValues(l)
const c=new Uint8Array(e.contentToEncrypt),u=new Et({salt:new be({valueHex:a}),iterationCount:e.iterationCount,prf:new dt({algorithmId:n,algorithmParams:new me})})
return i=i.then((()=>{const t=new Uint8Array(e.password)
return this.importKey("raw",t,"PBKDF2",!1,["deriveKey"])}),(e=>Promise.reject(e))),i=i.then((t=>this.deriveKey({name:"PBKDF2",hash:{name:e.hmacHashAlgorithm},salt:l,iterations:e.iterationCount},t,e.contentEncryptionAlgorithm,!1,["encrypt"])),(e=>Promise.reject(e))),i=i.then((t=>this.encrypt({name:e.contentEncryptionAlgorithm.name,iv:o},t,c)),(e=>Promise.reject(e))),i=i.then((n=>{const i=new Nt({keyDerivationFunc:new dt({algorithmId:r,algorithmParams:u.toSchema()}),encryptionScheme:new dt({algorithmId:t,algorithmParams:new be({valueHex:s})})})
return new kt({contentType:e.contentType,contentEncryptionAlgorithm:new dt({algorithmId:"1.2.840.113549.1.5.13",algorithmParams:i.toSchema()}),encryptedContent:new be({valueHex:n})})}),(e=>Promise.reject(e))),i}decryptEncryptedContentInfo(e){if(e instanceof Object==0)return Promise.reject('Parameters must have type "Object"')
if("password"in e==0)return Promise.reject('Absent mandatory parameter "password"')
if("encryptedContentInfo"in e==0)return Promise.reject('Absent mandatory parameter "encryptedContentInfo"')
if("1.2.840.113549.1.5.13"!==e.encryptedContentInfo.contentEncryptionAlgorithm.algorithmId)return Promise.reject(`Unknown "contentEncryptionAlgorithm": ${e.encryptedContentInfo.contentEncryptionAlgorithm.algorithmId}`)
let t,r,n=Promise.resolve()
try{t=new Nt({schema:e.encryptedContentInfo.contentEncryptionAlgorithm.algorithmParams})}catch(e){return Promise.reject('Incorrectly encoded "pbes2Parameters"')}try{r=new Et({schema:t.keyDerivationFunc.algorithmParams})}catch(e){return Promise.reject('Incorrectly encoded "pbkdf2Params"')}const s=this.getAlgorithmByOID(t.encryptionScheme.algorithmId)
if("name"in s==0)return Promise.reject(`Incorrect OID for "contentEncryptionAlgorithm": ${t.encryptionScheme.algorithmId}`)
const o=t.encryptionScheme.algorithmParams.valueBlock.valueHex,a=new Uint8Array(o),l=r.salt.valueBlock.valueHex,c=new Uint8Array(l),u=r.iterationCount
let h="SHA-1"
if("prf"in r){const e=this.getAlgorithmByOID(r.prf.algorithmId)
if("name"in e==0)return Promise.reject("Incorrect OID for HMAC hash algorithm")
h=e.hash.name}return n=n.then((()=>this.importKey("raw",e.password,"PBKDF2",!1,["deriveKey"])),(e=>Promise.reject(e))),n=n.then((e=>this.deriveKey({name:"PBKDF2",hash:{name:h},salt:c,iterations:u},e,s,!1,["decrypt"])),(e=>Promise.reject(e))),n=n.then((t=>{let r=new ArrayBuffer(0)
if(!1===e.encryptedContentInfo.encryptedContent.idBlock.isConstructed)r=e.encryptedContentInfo.encryptedContent.valueBlock.valueHex
else for(const n of e.encryptedContentInfo.encryptedContent.valueBlock.value)r=(0,i.utilConcatBuf)(r,n.valueBlock.valueHex)
return this.decrypt({name:s.name,iv:a},t,r)}),(e=>Promise.reject(e))),n}stampDataWithPassword(e){if(e instanceof Object==0)return Promise.reject('Parameters must have type "Object"')
if("password"in e==0)return Promise.reject('Absent mandatory parameter "password"')
if("hashAlgorithm"in e==0)return Promise.reject('Absent mandatory parameter "hashAlgorithm"')
if("salt"in e==0)return Promise.reject('Absent mandatory parameter "iterationCount"')
if("iterationCount"in e==0)return Promise.reject('Absent mandatory parameter "salt"')
if("contentToStamp"in e==0)return Promise.reject('Absent mandatory parameter "contentToStamp"')
let t
switch(e.hashAlgorithm.toLowerCase()){case"sha-1":t=160
break
case"sha-256":t=256
break
case"sha-384":t=384
break
case"sha-512":t=512
break
default:return Promise.reject(`Incorrect "parameters.hashAlgorithm" parameter: ${e.hashAlgorithm}`)}let r=Promise.resolve()
const n={name:"HMAC",length:t,hash:{name:e.hashAlgorithm}}
return r=r.then((()=>_t(this,e.hashAlgorithm,t,e.password,e.salt,e.iterationCount))),r=r.then((e=>this.importKey("raw",new Uint8Array(e),n,!1,["sign"]))),r=r.then((t=>this.sign(n,t,new Uint8Array(e.contentToStamp))),(e=>Promise.reject(e))),r}verifyDataStampedWithPassword(e){if(e instanceof Object==0)return Promise.reject('Parameters must have type "Object"')
if("password"in e==0)return Promise.reject('Absent mandatory parameter "password"')
if("hashAlgorithm"in e==0)return Promise.reject('Absent mandatory parameter "hashAlgorithm"')
if("salt"in e==0)return Promise.reject('Absent mandatory parameter "iterationCount"')
if("iterationCount"in e==0)return Promise.reject('Absent mandatory parameter "salt"')
if("contentToVerify"in e==0)return Promise.reject('Absent mandatory parameter "contentToVerify"')
if("signatureToVerify"in e==0)return Promise.reject('Absent mandatory parameter "signatureToVerify"')
let t
switch(e.hashAlgorithm.toLowerCase()){case"sha-1":t=160
break
case"sha-256":t=256
break
case"sha-384":t=384
break
case"sha-512":t=512
break
default:return Promise.reject(`Incorrect "parameters.hashAlgorithm" parameter: ${e.hashAlgorithm}`)}let r=Promise.resolve()
const n={name:"HMAC",length:t,hash:{name:e.hashAlgorithm}}
return r=r.then((()=>_t(this,e.hashAlgorithm,t,e.password,e.salt,e.iterationCount))),r=r.then((e=>this.importKey("raw",new Uint8Array(e),n,!1,["verify"]))),r=r.then((t=>this.verify(n,t,new Uint8Array(e.signatureToVerify),new Uint8Array(e.contentToVerify))),(e=>Promise.reject(e))),r}getSignatureParameters(e,t="SHA-1"){if(""===this.getOIDByAlgorithm({name:t}))return Promise.reject(`Unsupported hash algorithm: ${t}`)
const r=new dt,n=this.getAlgorithmParameters(e.algorithm.name,"sign")
switch(n.algorithm.hash.name=t,e.algorithm.name.toUpperCase()){case"RSASSA-PKCS1-V1_5":case"ECDSA":r.algorithmId=this.getOIDByAlgorithm(n.algorithm)
break
case"RSA-PSS":{switch(t.toUpperCase()){case"SHA-256":n.algorithm.saltLength=32
break
case"SHA-384":n.algorithm.saltLength=48
break
case"SHA-512":n.algorithm.saltLength=64}const e={}
if("SHA-1"!==t.toUpperCase()){const r=this.getOIDByAlgorithm({name:t})
if(""===r)return Promise.reject(`Unsupported hash algorithm: ${t}`)
e.hashAlgorithm=new dt({algorithmId:r,algorithmParams:new me}),e.maskGenAlgorithm=new dt({algorithmId:"1.2.840.113549.1.1.8",algorithmParams:e.hashAlgorithm.toSchema()})}20!==n.algorithm.saltLength&&(e.saltLength=n.algorithm.saltLength)
const i=new xt(e)
r.algorithmId="1.2.840.113549.1.1.10",r.algorithmParams=i.toSchema()}break
default:return Promise.reject(`Unsupported signature algorithm: ${e.algorithm.name}`)}return Promise.resolve().then((()=>({signatureAlgorithm:r,parameters:n})))}signWithPrivateKey(e,t,r){return this.sign(r.algorithm,t,new Uint8Array(e)).then((e=>("ECDSA"===r.algorithm.name&&(e=Mt(e)),e)),(e=>Promise.reject(`Signing error: ${e}`)))}fillPublicKeyParameters(e,t){const r={},n=this.getHashAlgorithm(t)
if(""===n)return Promise.reject(`Unsupported signature algorithm: ${t.algorithmId}`)
let i
i="1.2.840.113549.1.1.10"===t.algorithmId?t.algorithmId:e.algorithm.algorithmId
const s=this.getAlgorithmByOID(i)
if("name"in s==="")return Promise.reject(`Unsupported public key algorithm: ${t.algorithmId}`)
if(r.algorithm=this.getAlgorithmParameters(s.name,"importkey"),"hash"in r.algorithm.algorithm&&(r.algorithm.algorithm.hash.name=n),"ECDSA"===s.name){let t=!1
if("algorithmParams"in e.algorithm==1&&"idBlock"in e.algorithm.algorithmParams&&1===e.algorithm.algorithmParams.idBlock.tagClass&&6===e.algorithm.algorithmParams.idBlock.tagNumber&&(t=!0),!1===t)return Promise.reject("Incorrect type for ECDSA public key parameters")
const n=this.getAlgorithmByOID(e.algorithm.algorithmParams.valueBlock.toString())
if("name"in n==0)return Promise.reject(`Unsupported named curve algorithm: ${e.algorithm.algorithmParams.valueBlock.toString()}`)
r.algorithm.algorithm.namedCurve=n.name}return r}getPublicKey(e,t,r=null){null===r&&(r=this.fillPublicKeyParameters(e,t))
const n=e.toSchema().toBER(!1),i=new Uint8Array(n)
return this.importKey("spki",i,r.algorithm.algorithm,!0,r.algorithm.usages)}verifyWithPublicKey(e,t,r,n,i=null){let s=Promise.resolve()
if(null===i){if(""===(i=this.getHashAlgorithm(n)))return Promise.reject(`Unsupported signature algorithm: ${n.algorithmId}`)
s=s.then((()=>this.getPublicKey(r,n)))}else{const e={}
let t
t="1.2.840.113549.1.1.10"===n.algorithmId?n.algorithmId:r.algorithm.algorithmId
const o=this.getAlgorithmByOID(t)
if("name"in o==="")return Promise.reject(`Unsupported public key algorithm: ${n.algorithmId}`)
if(e.algorithm=this.getAlgorithmParameters(o.name,"importkey"),"hash"in e.algorithm.algorithm&&(e.algorithm.algorithm.hash.name=i),"ECDSA"===o.name){let t=!1
if("algorithmParams"in r.algorithm==1&&"idBlock"in r.algorithm.algorithmParams&&1===r.algorithm.algorithmParams.idBlock.tagClass&&6===r.algorithm.algorithmParams.idBlock.tagNumber&&(t=!0),!1===t)return Promise.reject("Incorrect type for ECDSA public key parameters")
const n=this.getAlgorithmByOID(r.algorithm.algorithmParams.valueBlock.toString())
if("name"in n==0)return Promise.reject(`Unsupported named curve algorithm: ${r.algorithm.algorithmParams.valueBlock.toString()}`)
e.algorithm.algorithm.namedCurve=n.name}s=s.then((()=>this.getPublicKey(r,null,e)))}return s=s.then((r=>{const s=this.getAlgorithmParameters(r.algorithm.name,"verify")
"hash"in s.algorithm&&(s.algorithm.hash.name=i)
let o=t.valueBlock.valueHex
if("ECDSA"===r.algorithm.name&&(o=Rt(ue(o).result)),"RSA-PSS"===r.algorithm.name){let t
try{t=new xt({schema:n.algorithmParams})}catch(e){return Promise.reject(e)}s.algorithm.saltLength="saltLength"in t?t.saltLength:20
let r="SHA-1"
if("hashAlgorithm"in t){const e=this.getAlgorithmByOID(t.hashAlgorithm.algorithmId)
if("name"in e==0)return Promise.reject(`Unrecognized hash algorithm: ${t.hashAlgorithm.algorithmId}`)
r=e.name}s.algorithm.hash.name=r}return this.verify(s.algorithm,r,new Uint8Array(o),new Uint8Array(e))})),s}}let At={name:"none",crypto:null,subtle:null}
function Ot(e,t,r){if("undefined"!=typeof process&&"pid"in process&&"undefined"!=typeof global&&"undefined"==typeof window){if(void 0===global[process.pid])global[process.pid]={}
else if("object"!=typeof global[process.pid])throw new Error(`Name global.${process.pid} already exists and it is not an object`)
if(void 0===global[process.pid].pkijs)global[process.pid].pkijs={}
else if("object"!=typeof global[process.pid].pkijs)throw new Error(`Name global.${process.pid}.pkijs already exists and it is not an object`)
global[process.pid].pkijs.engine={name:e,crypto:t,subtle:r}}else At.name!==e&&(At={name:e,crypto:t,subtle:r})}function Pt(){if("undefined"!=typeof process&&"pid"in process&&"undefined"!=typeof global&&"undefined"==typeof window){let t
try{t=global[process.pid].pkijs.engine}catch(e){throw new Error('Please call "setEngine" before call to "getEngine"')}return t}return At}function Tt(){const e=Pt()
if(null!==e.subtle)return e.subtle}function It(e){return Pt().subtle.getRandomValues(e)}function jt(e){return Pt().subtle.getOIDByAlgorithm(e)}function Dt(e,t){return Pt().subtle.getAlgorithmParameters(e,t)}function Mt(e){if(e.byteLength%2!=0)return new ArrayBuffer(0)
const t=e.byteLength/2,r=new ArrayBuffer(t)
new Uint8Array(r).set(new Uint8Array(e,0,t))
const n=new _e({valueHex:r}),i=new ArrayBuffer(t)
new Uint8Array(i).set(new Uint8Array(e,t,t))
const s=new _e({valueHex:i})
return new De({value:[n.convertToDER(),s.convertToDER()]}).toBER(!1)}function Bt(e){let t=!1,r=""
const n=e.trim()
for(let i=0;i<n.length;i++)32===n.charCodeAt(i)?!1===t&&(t=!0):(t&&(r+=" ",t=!1),r+=n[i])
return r.toLowerCase()}function Rt(e){if(e instanceof De==0)return new ArrayBuffer(0)
if(2!==e.valueBlock.value.length)return new ArrayBuffer(0)
if(e.valueBlock.value[0]instanceof _e==0)return new ArrayBuffer(0)
if(e.valueBlock.value[1]instanceof _e==0)return new ArrayBuffer(0)
const t=e.valueBlock.value[0].convertFromDER(),r=e.valueBlock.value[1].convertFromDER()
switch(!0){case t.valueBlock.valueHex.byteLength<r.valueBlock.valueHex.byteLength:{if(r.valueBlock.valueHex.byteLength-t.valueBlock.valueHex.byteLength!=1)throw new Error("Incorrect DER integer decoding")
const e=r.valueBlock.valueHex.byteLength,n=new Uint8Array(t.valueBlock.valueHex),s=new ArrayBuffer(e),o=new Uint8Array(s)
return o.set(n,1),o[0]=0,(0,i.utilConcatBuf)(s,r.valueBlock.valueHex)}case t.valueBlock.valueHex.byteLength>r.valueBlock.valueHex.byteLength:{if(t.valueBlock.valueHex.byteLength-r.valueBlock.valueHex.byteLength!=1)throw new Error("Incorrect DER integer decoding")
const e=t.valueBlock.valueHex.byteLength,n=new Uint8Array(r.valueBlock.valueHex),s=new ArrayBuffer(e),o=new Uint8Array(s)
return o.set(n,1),o[0]=0,(0,i.utilConcatBuf)(t.valueBlock.valueHex,s)}default:if(t.valueBlock.valueHex.byteLength%2){const e=t.valueBlock.valueHex.byteLength+1,n=new Uint8Array(t.valueBlock.valueHex),s=new ArrayBuffer(e),o=new Uint8Array(s)
o.set(n,1),o[0]=0
const a=new Uint8Array(r.valueBlock.valueHex),l=new ArrayBuffer(e),c=new Uint8Array(l)
return c.set(a,1),c[0]=0,(0,i.utilConcatBuf)(s,l)}}return(0,i.utilConcatBuf)(t.valueBlock.valueHex,r.valueBlock.valueHex)}function Lt(e){return Pt().subtle.getAlgorithmByOID(e)}function zt(e){return Pt().subtle.getHashAlgorithm(e)}function Ft(e,t,r,n){switch(e.toUpperCase()){case"SHA-1":case"SHA-256":case"SHA-384":case"SHA-512":break
default:return Promise.reject(`Unknown hash function: ${e}`)}if(t instanceof ArrayBuffer==0)return Promise.reject('Please set "Zbuffer" as "ArrayBuffer"')
if(0===t.byteLength)return Promise.reject('"Zbuffer" has zero length, error')
if(n instanceof ArrayBuffer==0)return Promise.reject('Please set "SharedInfo" as "ArrayBuffer"')
if(r>255)return Promise.reject('Please set "Counter" variable to value less or equal to 255')
const s=new ArrayBuffer(4),o=new Uint8Array(s)
o[0]=0,o[1]=0,o[2]=0,o[3]=r
let a=new ArrayBuffer(0)
const l=Tt()
return void 0===l?Promise.reject("Unable to create WebCrypto object"):(a=(0,i.utilConcatBuf)(a,t),a=(0,i.utilConcatBuf)(a,s),a=(0,i.utilConcatBuf)(a,n),l.digest({name:e},a).then((e=>({counter:r,result:e}))))}function Vt(e,t,r,n){let s=0,o=1
const a=[]
switch(e.toUpperCase()){case"SHA-1":s=160
break
case"SHA-256":s=256
break
case"SHA-384":s=384
break
case"SHA-512":s=512
break
default:return Promise.reject(`Unknown hash function: ${e}`)}if(t instanceof ArrayBuffer==0)return Promise.reject('Please set "Zbuffer" as "ArrayBuffer"')
if(0===t.byteLength)return Promise.reject('"Zbuffer" has zero length, error')
if(n instanceof ArrayBuffer==0)return Promise.reject('Please set "SharedInfo" as "ArrayBuffer"')
const l=r/s
Math.floor(l)>0&&(o=Math.floor(l),l-o>0&&o++)
for(let i=1;i<=o;i++)a.push(Ft(e,t,i,n))
return Promise.all(a).then((e=>{let t=new ArrayBuffer(0),n=1,s=!0
for(;s;){s=!1
for(const r of e)if(r.counter===n){t=(0,i.utilConcatBuf)(t,r.result),s=!0
break}n++}if(r>>=3,t.byteLength>r){const e=new ArrayBuffer(r),n=new Uint8Array(e),i=new Uint8Array(t)
for(let t=0;t<r;t++)n[t]=i[t]
return e}return t}))}!function(){if("undefined"!=typeof self&&"crypto"in self){let t="webcrypto"
const r=self.crypto
let n
if("webkitSubtle"in self.crypto){try{n=self.crypto.webkitSubtle}catch(e){n=self.crypto.subtle}t="safari"}"subtle"in self.crypto&&(n=self.crypto.subtle),At=void 0===n?{name:t,crypto:r,subtle:null}:{name:t,crypto:r,subtle:new Ct({name:t,crypto:self.crypto,subtle:n})}}Ot(At.name,At.crypto,At.subtle)}()
class $t{constructor(e={}){this.type=(0,i.getParametersValue)(e,"type",$t.defaultValues("type")),this.value=(0,i.getParametersValue)(e,"value",$t.defaultValues("value")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"type":return""
case"value":return{}
default:throw new Error(`Invalid member name for AttributeTypeAndValue class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.type||""}),new at({name:t.value||""})]})}static blockName(){return"AttributeTypeAndValue"}fromSchema(e){(0,i.clearProps)(e,["type","typeValue"])
const t=ht(e,e,$t.schema({names:{type:"type",value:"typeValue"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for AttributeTypeAndValue")
this.type=t.result.type.valueBlock.toString(),this.value=t.result.typeValue}toSchema(){return new De({value:[new Pe({value:this.type}),this.value]})}toJSON(){const e={type:this.type}
return 0!==Object.keys(this.value).length?e.value=this.value.toJSON():e.value=this.value,e}isEqual(e){const t=[Fe.blockName(),$e.blockName(),He.blockName(),qe.blockName(),We.blockName(),Ke.blockName(),Ze.blockName(),Je.blockName(),Ge.blockName(),Ye.blockName(),Xe.blockName(),Qe.blockName()]
if(e.constructor.blockName()===$t.blockName()){if(this.type!==e.type)return!1
let r=[!1,!1]
const n=this.value.constructor.blockName()
for(const i of t)n===i&&(r[0]=!0),e.value.constructor.blockName()===i&&(r[1]=!0)
if(r[0]^r[1])return!1
if(r=r[0]&&r[1],r){const t=Bt(this.value.valueBlock.value),r=Bt(e.value.valueBlock.value)
if(0!==t.localeCompare(r))return!1}else if(!1===(0,i.isEqualBuffer)(this.value.valueBeforeDecode,e.value.valueBeforeDecode))return!1
return!0}return e instanceof ArrayBuffer&&(0,i.isEqualBuffer)(this.value.valueBeforeDecode,e)}}class Ut{constructor(e={}){this.typesAndValues=(0,i.getParametersValue)(e,"typesAndValues",Ut.defaultValues("typesAndValues")),this.valueBeforeDecode=(0,i.getParametersValue)(e,"valueBeforeDecode",Ut.defaultValues("valueBeforeDecode")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"typesAndValues":return[]
case"valueBeforeDecode":return new ArrayBuffer(0)
default:throw new Error(`Invalid member name for RelativeDistinguishedNames class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"typesAndValues":return 0===t.length
case"valueBeforeDecode":return 0===t.byteLength
default:throw new Error(`Invalid member name for RelativeDistinguishedNames class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ct({name:t.repeatedSequence||"",value:new Me({value:[new ct({name:t.repeatedSet||"",value:$t.schema(t.typeAndValue||{})})]})})]})}fromSchema(e){(0,i.clearProps)(e,["RDN","typesAndValues"])
const t=ht(e,e,Ut.schema({names:{blockName:"RDN",repeatedSet:"typesAndValues"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for RelativeDistinguishedNames")
"typesAndValues"in t.result&&(this.typesAndValues=Array.from(t.result.typesAndValues,(e=>new $t({schema:e})))),this.valueBeforeDecode=t.result.RDN.valueBeforeDecode}toSchema(){return 0===this.valueBeforeDecode.byteLength?new De({value:[new Me({value:Array.from(this.typesAndValues,(e=>e.toSchema()))})]}):ue(this.valueBeforeDecode).result}toJSON(){return{typesAndValues:Array.from(this.typesAndValues,(e=>e.toJSON()))}}isEqual(e){if(e instanceof Ut){if(this.typesAndValues.length!==e.typesAndValues.length)return!1
for(const[t,r]of this.typesAndValues.entries())if(!1===r.isEqual(e.typesAndValues[t]))return!1
return!0}return e instanceof ArrayBuffer&&(0,i.isEqualBuffer)(this.valueBeforeDecode,e)}}function Ht(e={},t=!1){const r=(0,i.getParametersValue)(e,"names",{})
return new De({optional:t,value:[new de({optional:!0,idBlock:{tagClass:2,tagNumber:1},name:r.country_name||"",value:[new lt({value:[new qe,new We]})]}),new de({optional:!0,idBlock:{tagClass:2,tagNumber:2},name:r.administration_domain_name||"",value:[new lt({value:[new qe,new We]})]}),new le({optional:!0,idBlock:{tagClass:3,tagNumber:0},name:r.network_address||"",isHexOnly:!0}),new le({optional:!0,idBlock:{tagClass:3,tagNumber:1},name:r.terminal_identifier||"",isHexOnly:!0}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:2},name:r.private_domain_name||"",value:[new lt({value:[new qe,new We]})]}),new le({optional:!0,idBlock:{tagClass:3,tagNumber:3},name:r.organization_name||"",isHexOnly:!0}),new le({optional:!0,name:r.numeric_user_identifier||"",idBlock:{tagClass:3,tagNumber:4},isHexOnly:!0}),new de({optional:!0,name:r.personal_name||"",idBlock:{tagClass:3,tagNumber:5},value:[new le({idBlock:{tagClass:3,tagNumber:0},isHexOnly:!0}),new le({optional:!0,idBlock:{tagClass:3,tagNumber:1},isHexOnly:!0}),new le({optional:!0,idBlock:{tagClass:3,tagNumber:2},isHexOnly:!0}),new le({optional:!0,idBlock:{tagClass:3,tagNumber:3},isHexOnly:!0})]}),new de({optional:!0,name:r.organizational_unit_names||"",idBlock:{tagClass:3,tagNumber:6},value:[new ct({value:new We})]})]})}function qt(e=!1){return new De({optional:e,value:[new We,new We]})}function Wt(e=!1){return new Me({optional:e,value:[new le({optional:!0,idBlock:{tagClass:3,tagNumber:0},isHexOnly:!0}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[new at]})]})}class Kt{constructor(e={}){this.type=(0,i.getParametersValue)(e,"type",Kt.defaultValues("type")),this.value=(0,i.getParametersValue)(e,"value",Kt.defaultValues("value")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"type":return 9
case"value":return{}
default:throw new Error(`Invalid member name for GeneralName class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"type":return t===Kt.defaultValues(e)
case"value":return 0===Object.keys(t).length
default:throw new Error(`Invalid member name for GeneralName class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new lt({value:[new de({idBlock:{tagClass:3,tagNumber:0},name:t.blockName||"",value:[new Pe,new de({idBlock:{tagClass:3,tagNumber:0},value:[new at]})]}),new le({name:t.blockName||"",idBlock:{tagClass:3,tagNumber:1}}),new le({name:t.blockName||"",idBlock:{tagClass:3,tagNumber:2}}),new de({idBlock:{tagClass:3,tagNumber:3},name:t.blockName||"",value:[Ht(t.builtInStandardAttributes||{},!1),qt(!0),Wt(!0)]}),new de({idBlock:{tagClass:3,tagNumber:4},name:t.blockName||"",value:[Ut.schema(t.directoryName||{})]}),new de({idBlock:{tagClass:3,tagNumber:5},name:t.blockName||"",value:[new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new lt({value:[new Ke,new We,new He,new Fe,new $e]})]}),new de({idBlock:{tagClass:3,tagNumber:1},value:[new lt({value:[new Ke,new We,new He,new Fe,new $e]})]})]}),new le({name:t.blockName||"",idBlock:{tagClass:3,tagNumber:6}}),new le({name:t.blockName||"",idBlock:{tagClass:3,tagNumber:7}}),new le({name:t.blockName||"",idBlock:{tagClass:3,tagNumber:8}})]})}fromSchema(e){(0,i.clearProps)(e,["blockName","otherName","rfc822Name","dNSName","x400Address","directoryName","ediPartyName","uniformResourceIdentifier","iPAddress","registeredID"])
const t=ht(e,e,Kt.schema({names:{blockName:"blockName",otherName:"otherName",rfc822Name:"rfc822Name",dNSName:"dNSName",x400Address:"x400Address",directoryName:{names:{blockName:"directoryName"}},ediPartyName:"ediPartyName",uniformResourceIdentifier:"uniformResourceIdentifier",iPAddress:"iPAddress",registeredID:"registeredID"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for GeneralName")
switch(this.type=t.result.blockName.idBlock.tagNumber,this.type){case 0:case 3:this.value=t.result.blockName
break
case 1:case 2:case 6:{const e=t.result.blockName
e.idBlock.tagClass=1,e.idBlock.tagNumber=22
const r=e.toBER(!1)
this.value=ue(r).result.valueBlock.value}break
case 4:this.value=new Ut({schema:t.result.directoryName})
break
case 5:this.value=t.result.ediPartyName
break
case 7:this.value=new be({valueHex:t.result.blockName.valueBlock.valueHex})
break
case 8:{const e=t.result.blockName
e.idBlock.tagClass=1,e.idBlock.tagNumber=6
const r=e.toBER(!1)
this.value=ue(r).result.valueBlock.toString()}}}toSchema(){switch(this.type){case 0:case 3:case 5:return new de({idBlock:{tagClass:3,tagNumber:this.type},value:[this.value]})
case 1:case 2:case 6:{const e=new Je({value:this.value})
return e.idBlock.tagClass=3,e.idBlock.tagNumber=this.type,e}case 4:return new de({idBlock:{tagClass:3,tagNumber:4},value:[this.value.toSchema()]})
case 7:{const e=this.value
return e.idBlock.tagClass=3,e.idBlock.tagNumber=this.type,e}case 8:{const e=new Pe({value:this.value})
return e.idBlock.tagClass=3,e.idBlock.tagNumber=this.type,e}default:return Kt.schema()}}toJSON(){const e={type:this.type,value:""}
if("string"==typeof this.value)e.value=this.value
else try{e.value=this.value.toJSON()}catch(e){}return e}}class Zt{constructor(e={}){this.accessMethod=(0,i.getParametersValue)(e,"accessMethod",Zt.defaultValues("accessMethod")),this.accessLocation=(0,i.getParametersValue)(e,"accessLocation",Zt.defaultValues("accessLocation")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"accessMethod":return""
case"accessLocation":return new Kt
default:throw new Error(`Invalid member name for AccessDescription class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.accessMethod||""}),Kt.schema(t.accessLocation||{})]})}fromSchema(e){(0,i.clearProps)(e,["accessMethod","accessLocation"])
const t=ht(e,e,Zt.schema({names:{accessMethod:"accessMethod",accessLocation:{names:{blockName:"accessLocation"}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for AccessDescription")
this.accessMethod=t.result.accessMethod.valueBlock.toString(),this.accessLocation=new Kt({schema:t.result.accessLocation})}toSchema(){return new De({value:[new Pe({value:this.accessMethod}),this.accessLocation.toSchema()]})}toJSON(){return{accessMethod:this.accessMethod,accessLocation:this.accessLocation.toJSON()}}}class Jt{constructor(e={}){"seconds"in e&&(this.seconds=(0,i.getParametersValue)(e,"seconds",Jt.defaultValues("seconds"))),"millis"in e&&(this.millis=(0,i.getParametersValue)(e,"millis",Jt.defaultValues("millis"))),"micros"in e&&(this.micros=(0,i.getParametersValue)(e,"micros",Jt.defaultValues("micros"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"seconds":case"millis":case"micros":return 0
default:throw new Error(`Invalid member name for Accuracy class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"seconds":case"millis":case"micros":return t===Jt.defaultValues(e)
default:throw new Error(`Invalid member name for Accuracy class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",optional:!0,value:[new _e({optional:!0,name:t.seconds||""}),new le({name:t.millis||"",optional:!0,idBlock:{tagClass:3,tagNumber:0}}),new le({name:t.micros||"",optional:!0,idBlock:{tagClass:3,tagNumber:1}})]})}fromSchema(e){(0,i.clearProps)(e,["seconds","millis","micros"])
const t=ht(e,e,Jt.schema({names:{seconds:"seconds",millis:"millis",micros:"micros"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for Accuracy")
if("seconds"in t.result&&(this.seconds=t.result.seconds.valueBlock.valueDec),"millis"in t.result){const e=new _e({valueHex:t.result.millis.valueBlock.valueHex})
this.millis=e.valueBlock.valueDec}if("micros"in t.result){const e=new _e({valueHex:t.result.micros.valueBlock.valueHex})
this.micros=e.valueBlock.valueDec}}toSchema(){const e=[]
if("seconds"in this&&e.push(new _e({value:this.seconds})),"millis"in this){const t=new _e({value:this.millis})
e.push(new le({idBlock:{tagClass:3,tagNumber:0},valueHex:t.valueBlock.valueHex}))}if("micros"in this){const t=new _e({value:this.micros})
e.push(new le({idBlock:{tagClass:3,tagNumber:1},valueHex:t.valueBlock.valueHex}))}return new De({value:e})}toJSON(){const e={}
return"seconds"in this&&(e.seconds=this.seconds),"millis"in this&&(e.millis=this.millis),"micros"in this&&(e.micros=this.micros),e}}class Gt{constructor(e={}){this.altNames=(0,i.getParametersValue)(e,"altNames",Gt.defaultValues("altNames")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("altNames"===e)return[]
throw new Error(`Invalid member name for AltName class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ct({name:t.altNames||"",value:Kt.schema()})]})}fromSchema(e){(0,i.clearProps)(e,["altNames"])
const t=ht(e,e,Gt.schema({names:{altNames:"altNames"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for AltName")
"altNames"in t.result&&(this.altNames=Array.from(t.result.altNames,(e=>new Kt({schema:e}))))}toSchema(){return new De({value:Array.from(this.altNames,(e=>e.toSchema()))})}toJSON(){return{altNames:Array.from(this.altNames,(e=>e.toJSON()))}}}class Yt{constructor(e={}){this.contentType=(0,i.getParametersValue)(e,"contentType",Yt.defaultValues("contentType")),this.content=(0,i.getParametersValue)(e,"content",Yt.defaultValues("content")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"contentType":return""
case"content":return new at
default:throw new Error(`Invalid member name for ContentInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"contentType":return""===t
case"content":return t instanceof at
default:throw new Error(`Invalid member name for ContentInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return"optional"in t==0&&(t.optional=!1),new De({name:t.blockName||"ContentInfo",optional:t.optional,value:[new Pe({name:t.contentType||"contentType"}),new de({idBlock:{tagClass:3,tagNumber:0},value:[new at({name:t.content||"content"})]})]})}fromSchema(e){(0,i.clearProps)(e,["contentType","content"])
const t=ht(e,e,Yt.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for ContentInfo")
this.contentType=t.result.contentType.valueBlock.toString(),this.content=t.result.content}toSchema(){return new De({value:[new Pe({value:this.contentType}),new de({idBlock:{tagClass:3,tagNumber:0},value:[this.content]})]})}toJSON(){const e={contentType:this.contentType}
return this.content instanceof at||(e.content=this.content.toJSON()),e}}class Xt{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",Xt.defaultValues("version")),this.encryptedContentInfo=(0,i.getParametersValue)(e,"encryptedContentInfo",Xt.defaultValues("encryptedContentInfo")),"unprotectedAttrs"in e&&(this.unprotectedAttrs=(0,i.getParametersValue)(e,"unprotectedAttrs",Xt.defaultValues("unprotectedAttrs"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return 0
case"encryptedContentInfo":return new kt
case"unprotectedAttrs":return[]
default:throw new Error(`Invalid member name for EncryptedData class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"version":return 0===t
case"encryptedContentInfo":return kt.compareWithDefault("contentType",t.contentType)&&kt.compareWithDefault("contentEncryptionAlgorithm",t.contentEncryptionAlgorithm)&&kt.compareWithDefault("encryptedContent",t.encryptedContent)
case"unprotectedAttrs":return 0===t.length
default:throw new Error(`Invalid member name for EncryptedData class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.version||""}),kt.schema(t.encryptedContentInfo||{}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[new ct({name:t.unprotectedAttrs||"",value:yt.schema()})]})]})}fromSchema(e){(0,i.clearProps)(e,["version","encryptedContentInfo","unprotectedAttrs"])
const t=ht(e,e,Xt.schema({names:{version:"version",encryptedContentInfo:{names:{blockName:"encryptedContentInfo"}},unprotectedAttrs:"unprotectedAttrs"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for EncryptedData")
this.version=t.result.version.valueBlock.valueDec,this.encryptedContentInfo=new kt({schema:t.result.encryptedContentInfo}),"unprotectedAttrs"in t.result&&(this.unprotectedAttrs=Array.from(t.result.unprotectedAttrs,(e=>new yt({schema:e}))))}toSchema(){const e=[]
return e.push(new _e({value:this.version})),e.push(this.encryptedContentInfo.toSchema()),"unprotectedAttrs"in this&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:Array.from(this.unprotectedAttrs,(e=>e.toSchema()))})),new De({value:e})}toJSON(){const e={version:this.version,encryptedContentInfo:this.encryptedContentInfo.toJSON()}
return"unprotectedAttrs"in this&&(e.unprotectedAttrs=Array.from(this.unprotectedAttrs,(e=>e.toJSON()))),e}encrypt(e){if(e instanceof Object==0)return Promise.reject('Parameters must have type "Object"')
const t=Pt()
return void 0===t?Promise.reject("Unable to initialize cryptographic engine"):(e.contentType="1.2.840.113549.1.7.1","encryptEncryptedContentInfo"in t.subtle?t.subtle.encryptEncryptedContentInfo(e).then((e=>{this.encryptedContentInfo=e})):Promise.reject(`No support for "encryptEncryptedContentInfo" in current crypto engine ${t.name}`))}decrypt(e){if(e instanceof Object==0)return Promise.reject('Parameters must have type "Object"')
const t=Pt()
return void 0===t?Promise.reject("Unable to initialize cryptographic engine"):(e.encryptedContentInfo=this.encryptedContentInfo,"decryptEncryptedContentInfo"in t.subtle?t.subtle.decryptEncryptedContentInfo(e):Promise.reject(`No support for "decryptEncryptedContentInfo" in current crypto engine ${t.name}`))}}class Qt{constructor(e={}){this.encryptionAlgorithm=(0,i.getParametersValue)(e,"encryptionAlgorithm",Qt.defaultValues("encryptionAlgorithm")),this.encryptedData=(0,i.getParametersValue)(e,"encryptedData",Qt.defaultValues("encryptedData")),"parsedValue"in e&&(this.parsedValue=(0,i.getParametersValue)(e,"parsedValue",Qt.defaultValues("parsedValue"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"encryptionAlgorithm":return new dt
case"encryptedData":return new be
case"parsedValue":return{}
default:throw new Error(`Invalid member name for PKCS8ShroudedKeyBag class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"encryptionAlgorithm":return dt.compareWithDefault("algorithmId",t.algorithmId)&&"algorithmParams"in t==0
case"encryptedData":return t.isEqual(Qt.defaultValues(e))
case"parsedValue":return t instanceof Object&&0===Object.keys(t).length
default:throw new Error(`Invalid member name for PKCS8ShroudedKeyBag class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[dt.schema(t.encryptionAlgorithm||{names:{blockName:"encryptionAlgorithm"}}),new lt({value:[new be({name:t.encryptedData||"encryptedData"}),new be({idBlock:{isConstructed:!0},name:t.encryptedData||"encryptedData"})]})]})}fromSchema(e){(0,i.clearProps)(e,["encryptionAlgorithm","encryptedData"])
const t=ht(e,e,Qt.schema({names:{encryptionAlgorithm:{names:{blockName:"encryptionAlgorithm"}},encryptedData:"encryptedData"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PKCS8ShroudedKeyBag")
this.encryptionAlgorithm=new dt({schema:t.result.encryptionAlgorithm}),this.encryptedData=t.result.encryptedData}toSchema(){return new De({value:[this.encryptionAlgorithm.toSchema(),this.encryptedData]})}toJSON(){return{encryptionAlgorithm:this.encryptionAlgorithm.toJSON(),encryptedData:this.encryptedData.toJSON()}}parseInternalValues(e){let t=Promise.resolve()
const r=new Xt({encryptedContentInfo:new kt({contentEncryptionAlgorithm:this.encryptionAlgorithm,encryptedContent:this.encryptedData})})
return t=t.then((()=>r.decrypt(e)),(e=>Promise.reject(e))),t=t.then((e=>{const t=ue(e)
return-1===t.offset?Promise.reject("Error during parsing ASN.1 data"):(this.parsedValue=new St({schema:t.result}),Promise.resolve())}),(e=>Promise.reject(e))),t}makeInternalValues(e){if("parsedValue"in this==0)return Promise.reject('Please initialize "parsedValue" first')
let t=Promise.resolve()
const r=new Xt
return t=t.then((()=>(e.contentToEncrypt=this.parsedValue.toSchema().toBER(!1),r.encrypt(e))),(e=>Promise.reject(e))),t=t.then((()=>{this.encryptionAlgorithm=r.encryptedContentInfo.contentEncryptionAlgorithm,this.encryptedData=r.encryptedContentInfo.encryptedContent})),t}}class er{constructor(e={}){this.type=(0,i.getParametersValue)(e,"type",er.defaultValues("type")),this.value=(0,i.getParametersValue)(e,"value",er.defaultValues("value")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"type":return 0
case"value":return new Date(0,0,0)
default:throw new Error(`Invalid member name for Time class: ${e}`)}}static schema(e={},t=!1){const r=(0,i.getParametersValue)(e,"names",{})
return new lt({optional:t,value:[new et({name:r.utcTimeName||""}),new tt({name:r.generalTimeName||""})]})}fromSchema(e){(0,i.clearProps)(e,["utcTimeName","generalTimeName"])
const t=ht(e,e,er.schema({names:{utcTimeName:"utcTimeName",generalTimeName:"generalTimeName"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for Time")
"utcTimeName"in t.result&&(this.type=0,this.value=t.result.utcTimeName.toDate()),"generalTimeName"in t.result&&(this.type=1,this.value=t.result.generalTimeName.toDate())}toSchema(){let e={}
return 0===this.type&&(e=new et({valueDate:this.value})),1===this.type&&(e=new tt({valueDate:this.value})),e}toJSON(){return{type:this.type,value:this.value}}}class tr{constructor(e={}){this.attributes=(0,i.getParametersValue)(e,"attributes",tr.defaultValues("attributes")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("attributes"===e)return[]
throw new Error(`Invalid member name for SubjectDirectoryAttributes class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ct({name:t.attributes||"",value:yt.schema()})]})}fromSchema(e){(0,i.clearProps)(e,["attributes"])
const t=ht(e,e,tr.schema({names:{attributes:"attributes"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for SubjectDirectoryAttributes")
this.attributes=Array.from(t.result.attributes,(e=>new yt({schema:e})))}toSchema(){return new De({value:Array.from(this.attributes,(e=>e.toSchema()))})}toJSON(){return{attributes:Array.from(this.attributes,(e=>e.toJSON()))}}}class rr{constructor(e={}){"notBefore"in e&&(this.notBefore=(0,i.getParametersValue)(e,"notBefore",rr.defaultValues("notBefore"))),"notAfter"in e&&(this.notAfter=(0,i.getParametersValue)(e,"notAfter",rr.defaultValues("notAfter"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"notBefore":case"notAfter":return new Date
default:throw new Error(`Invalid member name for PrivateKeyUsagePeriod class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new le({name:t.notBefore||"",optional:!0,idBlock:{tagClass:3,tagNumber:0}}),new le({name:t.notAfter||"",optional:!0,idBlock:{tagClass:3,tagNumber:1}})]})}fromSchema(e){(0,i.clearProps)(e,["notBefore","notAfter"])
const t=ht(e,e,rr.schema({names:{notBefore:"notBefore",notAfter:"notAfter"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PrivateKeyUsagePeriod")
if("notBefore"in t.result){const e=new tt
e.fromBuffer(t.result.notBefore.valueBlock.valueHex),this.notBefore=e.toDate()}if("notAfter"in t.result){const e=new tt({valueHex:t.result.notAfter.valueBlock.valueHex})
e.fromBuffer(t.result.notAfter.valueBlock.valueHex),this.notAfter=e.toDate()}}toSchema(){const e=[]
return"notBefore"in this&&e.push(new le({idBlock:{tagClass:3,tagNumber:0},valueHex:new tt({valueDate:this.notBefore}).valueBlock.valueHex})),"notAfter"in this&&e.push(new le({idBlock:{tagClass:3,tagNumber:1},valueHex:new tt({valueDate:this.notAfter}).valueBlock.valueHex})),new De({value:e})}toJSON(){const e={}
return"notBefore"in this&&(e.notBefore=this.notBefore),"notAfter"in this&&(e.notAfter=this.notAfter),e}}class nr{constructor(e={}){this.cA=(0,i.getParametersValue)(e,"cA",!1),"pathLenConstraint"in e&&(this.pathLenConstraint=(0,i.getParametersValue)(e,"pathLenConstraint",0)),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("cA"===e)return!1
throw new Error(`Invalid member name for BasicConstraints class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ye({optional:!0,name:t.cA||""}),new _e({optional:!0,name:t.pathLenConstraint||""})]})}fromSchema(e){(0,i.clearProps)(e,["cA","pathLenConstraint"])
const t=ht(e,e,nr.schema({names:{cA:"cA",pathLenConstraint:"pathLenConstraint"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for BasicConstraints")
"cA"in t.result&&(this.cA=t.result.cA.valueBlock.value),"pathLenConstraint"in t.result&&(t.result.pathLenConstraint.valueBlock.isHexOnly?this.pathLenConstraint=t.result.pathLenConstraint:this.pathLenConstraint=t.result.pathLenConstraint.valueBlock.valueDec)}toSchema(){const e=[]
return this.cA!==nr.defaultValues("cA")&&e.push(new ye({value:this.cA})),"pathLenConstraint"in this&&(this.pathLenConstraint instanceof _e?e.push(this.pathLenConstraint):e.push(new _e({value:this.pathLenConstraint}))),new De({value:e})}toJSON(){const e={}
return this.cA!==nr.defaultValues("cA")&&(e.cA=this.cA),"pathLenConstraint"in this&&(this.pathLenConstraint instanceof _e?e.pathLenConstraint=this.pathLenConstraint.toJSON():e.pathLenConstraint=this.pathLenConstraint),e}}class ir{constructor(e={}){"distributionPoint"in e&&(this.distributionPoint=(0,i.getParametersValue)(e,"distributionPoint",ir.defaultValues("distributionPoint"))),this.onlyContainsUserCerts=(0,i.getParametersValue)(e,"onlyContainsUserCerts",ir.defaultValues("onlyContainsUserCerts")),this.onlyContainsCACerts=(0,i.getParametersValue)(e,"onlyContainsCACerts",ir.defaultValues("onlyContainsCACerts")),"onlySomeReasons"in e&&(this.onlySomeReasons=(0,i.getParametersValue)(e,"onlySomeReasons",ir.defaultValues("onlySomeReasons"))),this.indirectCRL=(0,i.getParametersValue)(e,"indirectCRL",ir.defaultValues("indirectCRL")),this.onlyContainsAttributeCerts=(0,i.getParametersValue)(e,"onlyContainsAttributeCerts",ir.defaultValues("onlyContainsAttributeCerts")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"distributionPoint":return[]
case"onlyContainsUserCerts":case"onlyContainsCACerts":case"indirectCRL":case"onlyContainsAttributeCerts":return!1
case"onlySomeReasons":return 0
default:throw new Error(`Invalid member name for IssuingDistributionPoint class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new lt({value:[new de({name:t.distributionPoint||"",idBlock:{tagClass:3,tagNumber:0},value:[new ct({name:t.distributionPointNames||"",value:Kt.schema()})]}),new de({name:t.distributionPoint||"",idBlock:{tagClass:3,tagNumber:1},value:Ut.schema().valueBlock.value})]})]}),new le({name:t.onlyContainsUserCerts||"",optional:!0,idBlock:{tagClass:3,tagNumber:1}}),new le({name:t.onlyContainsCACerts||"",optional:!0,idBlock:{tagClass:3,tagNumber:2}}),new le({name:t.onlySomeReasons||"",optional:!0,idBlock:{tagClass:3,tagNumber:3}}),new le({name:t.indirectCRL||"",optional:!0,idBlock:{tagClass:3,tagNumber:4}}),new le({name:t.onlyContainsAttributeCerts||"",optional:!0,idBlock:{tagClass:3,tagNumber:5}})]})}fromSchema(e){(0,i.clearProps)(e,["distributionPoint","distributionPointNames","onlyContainsUserCerts","onlyContainsCACerts","onlySomeReasons","indirectCRL","onlyContainsAttributeCerts"])
const t=ht(e,e,ir.schema({names:{distributionPoint:"distributionPoint",distributionPointNames:"distributionPointNames",onlyContainsUserCerts:"onlyContainsUserCerts",onlyContainsCACerts:"onlyContainsCACerts",onlySomeReasons:"onlySomeReasons",indirectCRL:"indirectCRL",onlyContainsAttributeCerts:"onlyContainsAttributeCerts"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for IssuingDistributionPoint")
if("distributionPoint"in t.result)switch(!0){case 0===t.result.distributionPoint.idBlock.tagNumber:this.distributionPoint=Array.from(t.result.distributionPointNames,(e=>new Kt({schema:e})))
break
case 1===t.result.distributionPoint.idBlock.tagNumber:this.distributionPoint=new Ut({schema:new De({value:t.result.distributionPoint.valueBlock.value})})
break
default:throw new Error("Unknown tagNumber for distributionPoint: {$asn1.result.distributionPoint.idBlock.tagNumber}")}if("onlyContainsUserCerts"in t.result){const e=new Uint8Array(t.result.onlyContainsUserCerts.valueBlock.valueHex)
this.onlyContainsUserCerts=0!==e[0]}if("onlyContainsCACerts"in t.result){const e=new Uint8Array(t.result.onlyContainsCACerts.valueBlock.valueHex)
this.onlyContainsCACerts=0!==e[0]}if("onlySomeReasons"in t.result){const e=new Uint8Array(t.result.onlySomeReasons.valueBlock.valueHex)
this.onlySomeReasons=e[0]}if("indirectCRL"in t.result){const e=new Uint8Array(t.result.indirectCRL.valueBlock.valueHex)
this.indirectCRL=0!==e[0]}if("onlyContainsAttributeCerts"in t.result){const e=new Uint8Array(t.result.onlyContainsAttributeCerts.valueBlock.valueHex)
this.onlyContainsAttributeCerts=0!==e[0]}}toSchema(){const e=[]
if("distributionPoint"in this){let t
this.distributionPoint instanceof Array?t=new de({idBlock:{tagClass:3,tagNumber:0},value:Array.from(this.distributionPoint,(e=>e.toSchema()))}):(t=this.distributionPoint.toSchema(),t.idBlock.tagClass=3,t.idBlock.tagNumber=1),e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:[t]}))}if(this.onlyContainsUserCerts!==ir.defaultValues("onlyContainsUserCerts")&&e.push(new le({idBlock:{tagClass:3,tagNumber:1},valueHex:new Uint8Array([255]).buffer})),this.onlyContainsCACerts!==ir.defaultValues("onlyContainsCACerts")&&e.push(new le({idBlock:{tagClass:3,tagNumber:2},valueHex:new Uint8Array([255]).buffer})),"onlySomeReasons"in this){const t=new ArrayBuffer(1)
new Uint8Array(t)[0]=this.onlySomeReasons,e.push(new le({idBlock:{tagClass:3,tagNumber:3},valueHex:t}))}return this.indirectCRL!==ir.defaultValues("indirectCRL")&&e.push(new le({idBlock:{tagClass:3,tagNumber:4},valueHex:new Uint8Array([255]).buffer})),this.onlyContainsAttributeCerts!==ir.defaultValues("onlyContainsAttributeCerts")&&e.push(new le({idBlock:{tagClass:3,tagNumber:5},valueHex:new Uint8Array([255]).buffer})),new De({value:e})}toJSON(){const e={}
return"distributionPoint"in this&&(this.distributionPoint instanceof Array?e.distributionPoint=Array.from(this.distributionPoint,(e=>e.toJSON())):e.distributionPoint=this.distributionPoint.toJSON()),this.onlyContainsUserCerts!==ir.defaultValues("onlyContainsUserCerts")&&(e.onlyContainsUserCerts=this.onlyContainsUserCerts),this.onlyContainsCACerts!==ir.defaultValues("onlyContainsCACerts")&&(e.onlyContainsCACerts=this.onlyContainsCACerts),"onlySomeReasons"in this&&(e.onlySomeReasons=this.onlySomeReasons),this.indirectCRL!==ir.defaultValues("indirectCRL")&&(e.indirectCRL=this.indirectCRL),this.onlyContainsAttributeCerts!==ir.defaultValues("onlyContainsAttributeCerts")&&(e.onlyContainsAttributeCerts=this.onlyContainsAttributeCerts),e}}class sr{constructor(e={}){this.names=(0,i.getParametersValue)(e,"names",sr.defaultValues("names")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("names"===e)return[]
throw new Error(`Invalid member name for GeneralNames class: ${e}`)}static schema(e={},t=!1){const r=(0,i.getParametersValue)(e,"names",{})
return new De({optional:t,name:r.blockName||"",value:[new ct({name:r.generalNames||"",value:Kt.schema()})]})}fromSchema(e){(0,i.clearProps)(e,["names","generalNames"])
const t=ht(e,e,sr.schema({names:{blockName:"names",generalNames:"generalNames"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for GeneralNames")
this.names=Array.from(t.result.generalNames,(e=>new Kt({schema:e})))}toSchema(){return new De({value:Array.from(this.names,(e=>e.toSchema()))})}toJSON(){return{names:Array.from(this.names,(e=>e.toJSON()))}}}class or{constructor(e={}){this.base=(0,i.getParametersValue)(e,"base",or.defaultValues("base")),this.minimum=(0,i.getParametersValue)(e,"minimum",or.defaultValues("minimum")),"maximum"in e&&(this.maximum=(0,i.getParametersValue)(e,"maximum",or.defaultValues("maximum"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"base":return new Kt
case"minimum":case"maximum":return 0
default:throw new Error(`Invalid member name for GeneralSubtree class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[Kt.schema(t.base||{}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new _e({name:t.minimum||""})]}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[new _e({name:t.maximum||""})]})]})}fromSchema(e){(0,i.clearProps)(e,["base","minimum","maximum"])
const t=ht(e,e,or.schema({names:{base:{names:{blockName:"base"}},minimum:"minimum",maximum:"maximum"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for GeneralSubtree")
this.base=new Kt({schema:t.result.base}),"minimum"in t.result&&(t.result.minimum.valueBlock.isHexOnly?this.minimum=t.result.minimum:this.minimum=t.result.minimum.valueBlock.valueDec),"maximum"in t.result&&(t.result.maximum.valueBlock.isHexOnly?this.maximum=t.result.maximum:this.maximum=t.result.maximum.valueBlock.valueDec)}toSchema(){const e=[]
if(e.push(this.base.toSchema()),0!==this.minimum){let t=0
t=this.minimum instanceof _e?this.minimum:new _e({value:this.minimum}),e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[t]}))}if("maximum"in this){let t=0
t=this.maximum instanceof _e?this.maximum:new _e({value:this.maximum}),e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[t]}))}return new De({value:e})}toJSON(){const e={base:this.base.toJSON()}
return 0!==this.minimum&&("number"==typeof this.minimum?e.minimum=this.minimum:e.minimum=this.minimum.toJSON()),"maximum"in this&&("number"==typeof this.maximum?e.maximum=this.maximum:e.maximum=this.maximum.toJSON()),e}}class ar{constructor(e={}){"permittedSubtrees"in e&&(this.permittedSubtrees=(0,i.getParametersValue)(e,"permittedSubtrees",ar.defaultValues("permittedSubtrees"))),"excludedSubtrees"in e&&(this.excludedSubtrees=(0,i.getParametersValue)(e,"excludedSubtrees",ar.defaultValues("excludedSubtrees"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"permittedSubtrees":case"excludedSubtrees":return[]
default:throw new Error(`Invalid member name for NameConstraints class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new ct({name:t.permittedSubtrees||"",value:or.schema()})]}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[new ct({name:t.excludedSubtrees||"",value:or.schema()})]})]})}fromSchema(e){(0,i.clearProps)(e,["permittedSubtrees","excludedSubtrees"])
const t=ht(e,e,ar.schema({names:{permittedSubtrees:"permittedSubtrees",excludedSubtrees:"excludedSubtrees"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for NameConstraints")
"permittedSubtrees"in t.result&&(this.permittedSubtrees=Array.from(t.result.permittedSubtrees,(e=>new or({schema:e})))),"excludedSubtrees"in t.result&&(this.excludedSubtrees=Array.from(t.result.excludedSubtrees,(e=>new or({schema:e}))))}toSchema(){const e=[]
return"permittedSubtrees"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:Array.from(this.permittedSubtrees,(e=>e.toSchema()))})),"excludedSubtrees"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:1},value:Array.from(this.excludedSubtrees,(e=>e.toSchema()))})),new De({value:e})}toJSON(){const e={}
return"permittedSubtrees"in this&&(e.permittedSubtrees=Array.from(this.permittedSubtrees,(e=>e.toJSON()))),"excludedSubtrees"in this&&(e.excludedSubtrees=Array.from(this.excludedSubtrees,(e=>e.toJSON()))),e}}class lr{constructor(e={}){"distributionPoint"in e&&(this.distributionPoint=(0,i.getParametersValue)(e,"distributionPoint",lr.defaultValues("distributionPoint"))),"reasons"in e&&(this.reasons=(0,i.getParametersValue)(e,"reasons",lr.defaultValues("reasons"))),"cRLIssuer"in e&&(this.cRLIssuer=(0,i.getParametersValue)(e,"cRLIssuer",lr.defaultValues("cRLIssuer"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"distributionPoint":case"cRLIssuer":return[]
case"reasons":return new Se
default:throw new Error(`Invalid member name for DistributionPoint class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new lt({value:[new de({name:t.distributionPoint||"",optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new ct({name:t.distributionPointNames||"",value:Kt.schema()})]}),new de({name:t.distributionPoint||"",optional:!0,idBlock:{tagClass:3,tagNumber:1},value:Ut.schema().valueBlock.value})]})]}),new le({name:t.reasons||"",optional:!0,idBlock:{tagClass:3,tagNumber:1}}),new de({name:t.cRLIssuer||"",optional:!0,idBlock:{tagClass:3,tagNumber:2},value:[new ct({name:t.cRLIssuerNames||"",value:Kt.schema()})]})]})}fromSchema(e){(0,i.clearProps)(e,["distributionPoint","distributionPointNames","reasons","cRLIssuer","cRLIssuerNames"])
const t=ht(e,e,lr.schema({names:{distributionPoint:"distributionPoint",distributionPointNames:"distributionPointNames",reasons:"reasons",cRLIssuer:"cRLIssuer",cRLIssuerNames:"cRLIssuerNames"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for DistributionPoint")
"distributionPoint"in t.result&&(0===t.result.distributionPoint.idBlock.tagNumber&&(this.distributionPoint=Array.from(t.result.distributionPointNames,(e=>new Kt({schema:e})))),1===t.result.distributionPoint.idBlock.tagNumber&&(this.distributionPoint=new Ut({schema:new De({value:t.result.distributionPoint.valueBlock.value})}))),"reasons"in t.result&&(this.reasons=new Se({valueHex:t.result.reasons.valueBlock.valueHex})),"cRLIssuer"in t.result&&(this.cRLIssuer=Array.from(t.result.cRLIssuerNames,(e=>new Kt({schema:e}))))}toSchema(){const e=[]
if("distributionPoint"in this){let t
t=this.distributionPoint instanceof Array?new de({idBlock:{tagClass:3,tagNumber:0},value:Array.from(this.distributionPoint,(e=>e.toSchema()))}):new de({idBlock:{tagClass:3,tagNumber:1},value:[this.distributionPoint.toSchema()]}),e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:[t]}))}return"reasons"in this&&e.push(new le({idBlock:{tagClass:3,tagNumber:1},valueHex:this.reasons.valueBlock.valueHex})),"cRLIssuer"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:2},value:Array.from(this.cRLIssuer,(e=>e.toSchema()))})),new De({value:e})}toJSON(){const e={}
return"distributionPoint"in this&&(this.distributionPoint instanceof Array?e.distributionPoint=Array.from(this.distributionPoint,(e=>e.toJSON())):e.distributionPoint=this.distributionPoint.toJSON()),"reasons"in this&&(e.reasons=this.reasons.toJSON()),"cRLIssuer"in this&&(e.cRLIssuer=Array.from(this.cRLIssuer,(e=>e.toJSON()))),e}}class cr{constructor(e={}){this.distributionPoints=(0,i.getParametersValue)(e,"distributionPoints",cr.defaultValues("distributionPoints")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("distributionPoints"===e)return[]
throw new Error(`Invalid member name for CRLDistributionPoints class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ct({name:t.distributionPoints||"",value:lr.schema()})]})}fromSchema(e){(0,i.clearProps)(e,["distributionPoints"])
const t=ht(e,e,cr.schema({names:{distributionPoints:"distributionPoints"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for CRLDistributionPoints")
this.distributionPoints=Array.from(t.result.distributionPoints,(e=>new lr({schema:e})))}toSchema(){return new De({value:Array.from(this.distributionPoints,(e=>e.toSchema()))})}toJSON(){return{distributionPoints:Array.from(this.distributionPoints,(e=>e.toJSON()))}}}class ur{constructor(e={}){this.policyQualifierId=(0,i.getParametersValue)(e,"policyQualifierId",ur.defaultValues("policyQualifierId")),this.qualifier=(0,i.getParametersValue)(e,"qualifier",ur.defaultValues("qualifier")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"policyQualifierId":return""
case"qualifier":return new at
default:throw new Error(`Invalid member name for PolicyQualifierInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.policyQualifierId||""}),new at({name:t.qualifier||""})]})}fromSchema(e){(0,i.clearProps)(e,["policyQualifierId","qualifier"])
const t=ht(e,e,ur.schema({names:{policyQualifierId:"policyQualifierId",qualifier:"qualifier"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PolicyQualifierInfo")
this.policyQualifierId=t.result.policyQualifierId.valueBlock.toString(),this.qualifier=t.result.qualifier}toSchema(){return new De({value:[new Pe({value:this.policyQualifierId}),this.qualifier]})}toJSON(){return{policyQualifierId:this.policyQualifierId,qualifier:this.qualifier.toJSON()}}}class hr{constructor(e={}){this.policyIdentifier=(0,i.getParametersValue)(e,"policyIdentifier",hr.defaultValues("policyIdentifier")),"policyQualifiers"in e&&(this.policyQualifiers=(0,i.getParametersValue)(e,"policyQualifiers",hr.defaultValues("policyQualifiers"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"policyIdentifier":return""
case"policyQualifiers":return[]
default:throw new Error(`Invalid member name for PolicyInformation class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.policyIdentifier||""}),new De({optional:!0,value:[new ct({name:t.policyQualifiers||"",value:ur.schema()})]})]})}fromSchema(e){(0,i.clearProps)(e,["policyIdentifier","policyQualifiers"])
const t=ht(e,e,hr.schema({names:{policyIdentifier:"policyIdentifier",policyQualifiers:"policyQualifiers"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PolicyInformation")
this.policyIdentifier=t.result.policyIdentifier.valueBlock.toString(),"policyQualifiers"in t.result&&(this.policyQualifiers=Array.from(t.result.policyQualifiers,(e=>new ur({schema:e}))))}toSchema(){const e=[]
return e.push(new Pe({value:this.policyIdentifier})),"policyQualifiers"in this&&e.push(new De({value:Array.from(this.policyQualifiers,(e=>e.toSchema()))})),new De({value:e})}toJSON(){const e={policyIdentifier:this.policyIdentifier}
return"policyQualifiers"in this&&(e.policyQualifiers=Array.from(this.policyQualifiers,(e=>e.toJSON()))),e}}class dr{constructor(e={}){this.certificatePolicies=(0,i.getParametersValue)(e,"certificatePolicies",dr.defaultValues("certificatePolicies")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("certificatePolicies"===e)return[]
throw new Error(`Invalid member name for CertificatePolicies class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ct({name:t.certificatePolicies||"",value:hr.schema()})]})}fromSchema(e){(0,i.clearProps)(e,["certificatePolicies"])
const t=ht(e,e,dr.schema({names:{certificatePolicies:"certificatePolicies"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for CertificatePolicies")
this.certificatePolicies=Array.from(t.result.certificatePolicies,(e=>new hr({schema:e})))}toSchema(){return new De({value:Array.from(this.certificatePolicies,(e=>e.toSchema()))})}toJSON(){return{certificatePolicies:Array.from(this.certificatePolicies,(e=>e.toJSON()))}}}class pr{constructor(e={}){this.issuerDomainPolicy=(0,i.getParametersValue)(e,"issuerDomainPolicy",pr.defaultValues("issuerDomainPolicy")),this.subjectDomainPolicy=(0,i.getParametersValue)(e,"subjectDomainPolicy",pr.defaultValues("subjectDomainPolicy")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"issuerDomainPolicy":case"subjectDomainPolicy":return""
default:throw new Error(`Invalid member name for PolicyMapping class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.issuerDomainPolicy||""}),new Pe({name:t.subjectDomainPolicy||""})]})}fromSchema(e){(0,i.clearProps)(e,["issuerDomainPolicy","subjectDomainPolicy"])
const t=ht(e,e,pr.schema({names:{issuerDomainPolicy:"issuerDomainPolicy",subjectDomainPolicy:"subjectDomainPolicy"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PolicyMapping")
this.issuerDomainPolicy=t.result.issuerDomainPolicy.valueBlock.toString(),this.subjectDomainPolicy=t.result.subjectDomainPolicy.valueBlock.toString()}toSchema(){return new De({value:[new Pe({value:this.issuerDomainPolicy}),new Pe({value:this.subjectDomainPolicy})]})}toJSON(){return{issuerDomainPolicy:this.issuerDomainPolicy,subjectDomainPolicy:this.subjectDomainPolicy}}}class fr{constructor(e={}){this.mappings=(0,i.getParametersValue)(e,"mappings",fr.defaultValues("mappings")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("mappings"===e)return[]
throw new Error(`Invalid member name for PolicyMappings class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ct({name:t.mappings||"",value:pr.schema()})]})}fromSchema(e){(0,i.clearProps)(e,["mappings"])
const t=ht(e,e,fr.schema({names:{mappings:"mappings"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PolicyMappings")
this.mappings=Array.from(t.result.mappings,(e=>new pr({schema:e})))}toSchema(){return new De({value:Array.from(this.mappings,(e=>e.toSchema()))})}toJSON(){return{mappings:Array.from(this.mappings,(e=>e.toJSON()))}}}class mr{constructor(e={}){"keyIdentifier"in e&&(this.keyIdentifier=(0,i.getParametersValue)(e,"keyIdentifier",mr.defaultValues("keyIdentifier"))),"authorityCertIssuer"in e&&(this.authorityCertIssuer=(0,i.getParametersValue)(e,"authorityCertIssuer",mr.defaultValues("authorityCertIssuer"))),"authorityCertSerialNumber"in e&&(this.authorityCertSerialNumber=(0,i.getParametersValue)(e,"authorityCertSerialNumber",mr.defaultValues("authorityCertSerialNumber"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"keyIdentifier":return new be
case"authorityCertIssuer":return[]
case"authorityCertSerialNumber":return new _e
default:throw new Error(`Invalid member name for AuthorityKeyIdentifier class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new le({name:t.keyIdentifier||"",optional:!0,idBlock:{tagClass:3,tagNumber:0}}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[new ct({name:t.authorityCertIssuer||"",value:Kt.schema()})]}),new le({name:t.authorityCertSerialNumber||"",optional:!0,idBlock:{tagClass:3,tagNumber:2}})]})}fromSchema(e){(0,i.clearProps)(e,["keyIdentifier","authorityCertIssuer","authorityCertSerialNumber"])
const t=ht(e,e,mr.schema({names:{keyIdentifier:"keyIdentifier",authorityCertIssuer:"authorityCertIssuer",authorityCertSerialNumber:"authorityCertSerialNumber"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for AuthorityKeyIdentifier")
"keyIdentifier"in t.result&&(this.keyIdentifier=new be({valueHex:t.result.keyIdentifier.valueBlock.valueHex})),"authorityCertIssuer"in t.result&&(this.authorityCertIssuer=Array.from(t.result.authorityCertIssuer,(e=>new Kt({schema:e})))),"authorityCertSerialNumber"in t.result&&(this.authorityCertSerialNumber=new _e({valueHex:t.result.authorityCertSerialNumber.valueBlock.valueHex}))}toSchema(){const e=[]
return"keyIdentifier"in this&&e.push(new le({idBlock:{tagClass:3,tagNumber:0},valueHex:this.keyIdentifier.valueBlock.valueHex})),"authorityCertIssuer"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:1},value:Array.from(this.authorityCertIssuer,(e=>e.toSchema()))})),"authorityCertSerialNumber"in this&&e.push(new le({idBlock:{tagClass:3,tagNumber:2},valueHex:this.authorityCertSerialNumber.valueBlock.valueHex})),new De({value:e})}toJSON(){const e={}
return"keyIdentifier"in this&&(e.keyIdentifier=this.keyIdentifier.toJSON()),"authorityCertIssuer"in this&&(e.authorityCertIssuer=Array.from(this.authorityCertIssuer,(e=>e.toJSON()))),"authorityCertSerialNumber"in this&&(e.authorityCertSerialNumber=this.authorityCertSerialNumber.toJSON()),e}}class gr{constructor(e={}){"requireExplicitPolicy"in e&&(this.requireExplicitPolicy=(0,i.getParametersValue)(e,"requireExplicitPolicy",gr.defaultValues("requireExplicitPolicy"))),"inhibitPolicyMapping"in e&&(this.inhibitPolicyMapping=(0,i.getParametersValue)(e,"inhibitPolicyMapping",gr.defaultValues("inhibitPolicyMapping"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"requireExplicitPolicy":case"inhibitPolicyMapping":return 0
default:throw new Error(`Invalid member name for PolicyConstraints class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new le({name:t.requireExplicitPolicy||"",optional:!0,idBlock:{tagClass:3,tagNumber:0}}),new le({name:t.inhibitPolicyMapping||"",optional:!0,idBlock:{tagClass:3,tagNumber:1}})]})}fromSchema(e){(0,i.clearProps)(e,["requireExplicitPolicy","inhibitPolicyMapping"])
const t=ht(e,e,gr.schema({names:{requireExplicitPolicy:"requireExplicitPolicy",inhibitPolicyMapping:"inhibitPolicyMapping"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PolicyConstraints")
if("requireExplicitPolicy"in t.result){const e=t.result.requireExplicitPolicy
e.idBlock.tagClass=1,e.idBlock.tagNumber=2
const r=ue(e.toBER(!1))
this.requireExplicitPolicy=r.result.valueBlock.valueDec}if("inhibitPolicyMapping"in t.result){const e=t.result.inhibitPolicyMapping
e.idBlock.tagClass=1,e.idBlock.tagNumber=2
const r=ue(e.toBER(!1))
this.inhibitPolicyMapping=r.result.valueBlock.valueDec}}toSchema(){const e=[]
if("requireExplicitPolicy"in this){const t=new _e({value:this.requireExplicitPolicy})
t.idBlock.tagClass=3,t.idBlock.tagNumber=0,e.push(t)}if("inhibitPolicyMapping"in this){const t=new _e({value:this.inhibitPolicyMapping})
t.idBlock.tagClass=3,t.idBlock.tagNumber=1,e.push(t)}return new De({value:e})}toJSON(){const e={}
return"requireExplicitPolicy"in this&&(e.requireExplicitPolicy=this.requireExplicitPolicy),"inhibitPolicyMapping"in this&&(e.inhibitPolicyMapping=this.inhibitPolicyMapping),e}}class yr{constructor(e={}){this.keyPurposes=(0,i.getParametersValue)(e,"keyPurposes",yr.defaultValues("keyPurposes")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("keyPurposes"===e)return[]
throw new Error(`Invalid member name for ExtKeyUsage class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ct({name:t.keyPurposes||"",value:new Pe})]})}fromSchema(e){(0,i.clearProps)(e,["keyPurposes"])
const t=ht(e,e,yr.schema({names:{keyPurposes:"keyPurposes"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for ExtKeyUsage")
this.keyPurposes=Array.from(t.result.keyPurposes,(e=>e.valueBlock.toString()))}toSchema(){return new De({value:Array.from(this.keyPurposes,(e=>new Pe({value:e})))})}toJSON(){return{keyPurposes:Array.from(this.keyPurposes)}}}class vr{constructor(e={}){this.accessDescriptions=(0,i.getParametersValue)(e,"accessDescriptions",vr.defaultValues("accessDescriptions")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("accessDescriptions"===e)return[]
throw new Error(`Invalid member name for InfoAccess class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ct({name:t.accessDescriptions||"",value:Zt.schema()})]})}fromSchema(e){(0,i.clearProps)(e,["accessDescriptions"])
const t=ht(e,e,vr.schema({names:{accessDescriptions:"accessDescriptions"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for InfoAccess")
this.accessDescriptions=Array.from(t.result.accessDescriptions,(e=>new Zt({schema:e})))}toSchema(){return new De({value:Array.from(this.accessDescriptions,(e=>e.toSchema()))})}toJSON(){return{accessDescriptions:Array.from(this.accessDescriptions,(e=>e.toJSON()))}}}class br{constructor(e={}){if("view"in e)this.fromUint8Array(e.view)
else if("buffer"in e)this.fromArrayBuffer(e.buffer)
else if("string"in e)this.fromString(e.string)
else if("hexstring"in e)this.fromHexString(e.hexstring)
else if("length"in e&&e.length>0){if(this.length=e.length,e.stub)for(let t=0;t<this._view.length;t++)this._view[t]=e.stub}else this.length=0}set buffer(e){this._buffer=e,this._view=new Uint8Array(this._buffer)}get buffer(){return this._buffer}set view(e){this._buffer=new ArrayBuffer(e.length),this._view=new Uint8Array(this._buffer),this._view.set(e)}get view(){return this._view}get length(){return this.view.byteLength}set length(e){this._buffer=new ArrayBuffer(e),this._view=new Uint8Array(this._buffer)}clear(){this._buffer=new ArrayBuffer(0),this._view=new Uint8Array(this._buffer)}fromArrayBuffer(e){this._buffer=e,this._view=new Uint8Array(this._buffer)}fromUint8Array(e){this.fromArrayBuffer(new Uint8Array(e).buffer)}fromString(e){const t=e.length
this.length=t
for(let r=0;r<t;r++)this.view[r]=e.charCodeAt(r)}toString(e=0,t=this.view.length-e){let r="";(e>=this.view.length||e<0)&&(e=0),(t>=this.view.length||t<0)&&(t=this.view.length-e)
for(let n=e;n<e+t;n++)r+=String.fromCharCode(this.view[n])
return r}fromHexString(e){const t=e.length
this.buffer=new ArrayBuffer(t>>1),this.view=new Uint8Array(this.buffer)
const r=new Map
r.set("0",0),r.set("1",1),r.set("2",2),r.set("3",3),r.set("4",4),r.set("5",5),r.set("6",6),r.set("7",7),r.set("8",8),r.set("9",9),r.set("A",10),r.set("a",10),r.set("B",11),r.set("b",11),r.set("C",12),r.set("c",12),r.set("D",13),r.set("d",13),r.set("E",14),r.set("e",14),r.set("F",15),r.set("f",15)
let n=0,i=0
for(let s=0;s<t;s++)s%2?(i|=r.get(e.charAt(s)),this.view[n]=i,n++):i=r.get(e.charAt(s))<<4}toHexString(e=0,t=this.view.length-e){let r="";(e>=this.view.length||e<0)&&(e=0),(t>=this.view.length||t<0)&&(t=this.view.length-e)
for(let n=e;n<e+t;n++){const e=this.view[n].toString(16).toUpperCase()
r=r+(1==e.length?"0":"")+e}return r}copy(e=0,t=this.length-e){if(!e&&!this.length)return new br
if(e<0||e>this.length-1)throw new Error(`Wrong start position: ${e}`)
return new br({buffer:this._buffer.slice(e,e+t)})}slice(e=0,t=this.length){if(!e&&!this.length)return new br
if(e<0||e>this.length-1)throw new Error(`Wrong start position: ${e}`)
return new br({buffer:this._buffer.slice(e,t)})}realloc(e){const t=new ArrayBuffer(e),r=new Uint8Array(t)
e>this._view.length?r.set(this._view):r.set(new Uint8Array(this._buffer,0,e)),this._buffer=t,this._view=new Uint8Array(this._buffer)}append(e){const t=this.length,r=e.length,n=e._view.subarray()
this.realloc(t+r),this._view.set(n,t)}insert(e,t=0,r=this.length-t){return!(t>this.length-1||(r>this.length-t&&(r=this.length-t),r>e.length&&(r=e.length),r==e.length?this._view.set(e._view,t):this._view.set(e._view.subarray(0,r),t),0))}isEqual(e){if(this.length!=e.length)return!1
for(let t=0;t<e.length;t++)if(this.view[t]!=e.view[t])return!1
return!0}isEqualView(e){if(e.length!=this.view.length)return!1
for(let t=0;t<e.length;t++)if(this.view[t]!=e[t])return!1
return!0}findPattern(e,t,r,n){const{start:i,length:s,backward:o}=this.prepareFindParameters(t,r,n),a=e.length
if(a>s)return-1
const l=[]
for(let c=0;c<a;c++)l.push(e.view[c])
for(let c=0;c<=s-a;c++){let e=!0
const t=o?i-a-c:i+c
for(let r=0;r<a;r++)if(this.view[r+t]!=l[r]){e=!1
break}if(e)return o?i-a-c:i+a+c}return-1}findFirstIn(e,t,r,n){const{start:i,length:s,backward:o}=this.prepareFindParameters(t,r,n),a={id:-1,position:o?0:i+s,length:0}
for(let l=0;l<e.length;l++){const t=this.findPattern(e[l],i,s,o)
if(-1!=t){let r=!1
const n=e[l].length
o?t-n>=a.position-a.length&&(r=!0):t-n<=a.position-a.length&&(r=!0),r&&(a.position=t,a.id=l,a.length=n)}}return a}findAllIn(e,t,r){let{start:n,length:i}=this.prepareFindParameters(t,r)
const s=[]
let o={id:-1,position:n}
for(;;){const t=o.position
if(o=this.findFirstIn(e,o.position,i),-1==o.id)break
i-=o.position-t,s.push({id:o.id,position:o.position})}return s}findAllPatternIn(e,t,r){const{start:n,length:i}=this.prepareFindParameters(t,r),s=[],o=e.length
if(o>i)return-1
const a=Array.from(e.view)
for(let l=0;l<=i-o;l++){let e=!0
const t=n+l
for(let r=0;r<o;r++)if(this.view[r+t]!=a[r]){e=!1
break}e&&(s.push(n+o+l),l+=o-1)}return s}findFirstNotIn(e,t,r,n){let{start:i,length:s,backward:o}=this.prepareFindParameters(t,r,n)
const a={left:{id:-1,position:i},right:{id:-1,position:0},value:new br}
let l=s
for(;l>0;){if(a.right=this.findFirstIn(e,o?i-s+l:i+s-l,l,o),-1==a.right.id){s=l,o?i-=s:i=a.left.position,a.value=new br({buffer:this._buffer.slice(i,i+s)})
break}if(a.right.position!=(o?a.left.position-e[a.right.id].length:a.left.position+e[a.right.id].length)){o?(i=a.right.position+e[a.right.id].length,s=a.left.position-a.right.position-e[a.right.id].length):(i=a.left.position,s=a.right.position-a.left.position-e[a.right.id].length),a.value=new br({buffer:this._buffer.slice(i,i+s)})
break}a.left=a.right,l-=e[a.right.id].length}if(o){const e=a.right
a.right=a.left,a.left=e}return a}findAllNotIn(e,t,r){let{start:n,length:i}=this.prepareFindParameters(t,r)
const s=[]
let o={left:{id:-1,position:n},right:{id:-1,position:n},value:new br}
do{const t=o.right.position
o=this.findFirstNotIn(e,o.right.position,i),i-=o.right.position-t,s.push({left:{id:o.left.id,position:o.left.position},right:{id:o.right.id,position:o.right.position},value:o.value})}while(-1!=o.right.id)
return s}findFirstSequence(e,t,r,n){let{start:i,length:s,backward:o}=this.prepareFindParameters(t,r,n)
const a=this.skipNotPatterns(e,i,s,o)
if(-1==a)return{position:-1,value:new br}
const l=this.skipPatterns(e,a,s-(o?i-a:a-i),o)
return o?(i=l,s=a-l):(i=a,s=l-a),{position:l,value:new br({buffer:this._buffer.slice(i,i+s)})}}findAllSequences(e,t,r){let{start:n,length:i}=this.prepareFindParameters(t,r)
const s=[]
let o={position:n,value:new br}
do{const t=o.position
o=this.findFirstSequence(e,o.position,i),-1!=o.position&&(i-=o.position-t,s.push({position:o.position,value:o.value}))}while(-1!=o.position)
return s}findPairedPatterns(e,t,r,n){const i=[]
if(e.isEqual(t))return i
const{start:s,length:o}=this.prepareFindParameters(r,n)
let a=0
const l=this.findAllPatternIn(e,s,o)
if(!Array.isArray(l)||0==l.length)return i
const c=this.findAllPatternIn(t,s,o)
if(!Array.isArray(c)||0==c.length)return i
for(;a<l.length&&0!=c.length;)if(l[0]!=c[0]){if(l[a]>c[0])break
for(;l[a]<c[0]&&(a++,!(a>=l.length)););i.push({left:l[a-1],right:c[0]}),l.splice(a-1,1),c.splice(0,1),a=0}else i.push({left:l[0],right:c[0]}),l.splice(0,1),c.splice(0,1)
return i.sort(((e,t)=>e.left-t.left)),i}findPairedArrays(e,t,r,n){const{start:i,length:s}=this.prepareFindParameters(r,n),o=[]
let a=0
const l=this.findAllIn(e,i,s)
if(0==l.length)return o
const c=this.findAllIn(t,i,s)
if(0==c.length)return o
for(;a<l.length&&0!=c.length;)if(l[0].position!=c[0].position){if(l[a].position>c[0].position)break
for(;l[a].position<c[0].position&&(a++,!(a>=l.length)););o.push({left:l[a-1],right:c[0]}),l.splice(a-1,1),c.splice(0,1),a=0}else o.push({left:l[0],right:c[0]}),l.splice(0,1),c.splice(0,1)
return o.sort(((e,t)=>e.left.position-t.left.position)),o}replacePattern(e,t,r,n,i=null){let s,o=[]
const a={status:-1,searchPatternPositions:[],replacePatternPositions:[]},{start:l,length:c}=this.prepareFindParameters(r,n)
if(null==i){if(o=this.findAllIn([e],l,c),0==o.length)return a}else o=i
a.searchPatternPositions.push(...Array.from(o,(e=>e.position)))
const u=e.length-t.length,h=new ArrayBuffer(this.view.length-o.length*u),d=new Uint8Array(h)
for(d.set(new Uint8Array(this.buffer,0,l)),s=0;s<o.length;s++){const r=0==s?l:o[s-1].position
d.set(new Uint8Array(this.buffer,r,o[s].position-e.length-r),r-s*u),d.set(t.view,o[s].position-e.length-s*u),a.replacePatternPositions.push(o[s].position-e.length-s*u)}return s--,d.set(new Uint8Array(this.buffer,o[s].position,this.length-o[s].position),o[s].position-e.length+t.length-s*u),this.buffer=h,this.view=new Uint8Array(this.buffer),a.status=1,a}skipPatterns(e,t,r,n){const{start:i,length:s,backward:o}=this.prepareFindParameters(t,r,n)
let a=i
for(let l=0;l<e.length;l++){const t=e[l].length,r=o?a-t:a
let n=!0
for(let i=0;i<t;i++)if(this.view[i+r]!=e[l].view[i]){n=!1
break}if(n)if(l=-1,o){if(a-=t,a<=0)return a}else if(a+=t,a>=i+s)return a}return a}skipNotPatterns(e,t,r,n){const{start:i,length:s,backward:o}=this.prepareFindParameters(t,r,n)
let a=-1
for(let l=0;l<s;l++){for(let t=0;t<e.length;t++){const r=e[t].length,n=o?i-l-r:i+l
let s=!0
for(let i=0;i<r;i++)if(this.view[i+n]!=e[t].view[i]){s=!1
break}if(s){a=o?i-l:i+l
break}}if(-1!=a)break}return a}prepareFindParameters(e=null,t=null,r=!1){return null===e&&(e=r?this.length:0),e>this.length&&(e=this.length),r?(null===t&&(t=e),t>e&&(t=e)):(null===t&&(t=this.length-e),t>this.length-e&&(t=this.length-e)),{start:e,length:t,backward:r}}}class wr{constructor(e={}){this._stream=new br,this._length=0,this._start=0,this.backward=!1,this.appendBlock=0,this.prevLength=0,this.prevStart=0,this.stream="view"in e?new br({view:e.view}):"buffer"in e?new br({buffer:e.buffer}):"string"in e?new br({string:e.string}):"hexstring"in e?new br({hexstring:e.hexstring}):"stream"in e?e.stream.slice():new br,"backward"in e&&e.backward&&(this.backward=e.backward,this._start=this.stream.length),"length"in e&&e.length>0&&(this._length=e.length),"start"in e&&e.start&&e.start>0&&(this._start=e.start),"appendBlock"in e&&e.appendBlock&&e.appendBlock>0&&(this.appendBlock=e.appendBlock)}set stream(e){this._stream=e,this.prevLength=this._length,this._length=e.length,this.prevStart=this._start,this._start=0}get stream(){return this._stream}set length(e){this.prevLength=this._length,this._length=e}get length(){return this.appendBlock?this.start:this._length}set start(e){e>this.stream.length||(this.prevStart=this._start,this.prevLength=this._length,this._length-=this.backward?this._start-e:e-this._start,this._start=e)}get start(){return this._start}get buffer(){return this._stream.buffer.slice(0,this._length)}resetPosition(){this._start=this.prevStart,this._length=this.prevLength}findPattern(e,t=null){(null==t||t>this.length)&&(t=this.length)
const r=this.stream.findPattern(e,this.start,this.length,this.backward)
if(-1==r)return r
if(this.backward){if(r<this.start-e.length-t)return-1}else if(r>this.start+e.length+t)return-1
return this.start=r,r}findFirstIn(e,t=null){(null==t||t>this.length)&&(t=this.length)
const r=this.stream.findFirstIn(e,this.start,this.length,this.backward)
if(-1==r.id)return r
if(this.backward){if(r.position<this.start-e[r.id].length-t)return{id:-1,position:this.backward?0:this.start+this.length}}else if(r.position>this.start+e[r.id].length+t)return{id:-1,position:this.backward?0:this.start+this.length}
return this.start=r.position,r}findAllIn(e){const t=this.backward?this.start-this.length:this.start
return this.stream.findAllIn(e,t,this.length)}findFirstNotIn(e,t=null){(null==t||t>this._length)&&(t=this._length)
const r=this._stream.findFirstNotIn(e,this._start,this._length,this.backward)
if(-1==r.left.id&&-1==r.right.id)return r
if(this.backward){if(-1!=r.right.id&&r.right.position<this._start-e[r.right.id].length-t)return{left:{id:-1,position:this._start},right:{id:-1,position:0},value:new br}}else if(-1!=r.left.id&&r.left.position>this._start+e[r.left.id].length+t)return{left:{id:-1,position:this._start},right:{id:-1,position:0},value:new br}
return this.backward?-1==r.left.id?this.start=0:this.start=r.left.position:-1==r.right.id?this.start=this._start+this._length:this.start=r.right.position,r}findAllNotIn(e){const t=this.backward?this._start-this._length:this._start
return this._stream.findAllNotIn(e,t,this._length)}findFirstSequence(e,t=null,r=null){(null==t||t>this._length)&&(t=this._length),(null==r||r>t)&&(r=t)
const n=this._stream.findFirstSequence(e,this._start,t,this.backward)
if(0==n.value.length)return n
if(this.backward){if(n.position<this._start-n.value.length-r)return{position:-1,value:new br}}else if(n.position>this._start+n.value.length+r)return{position:-1,value:new br}
return this.start=n.position,n}findAllSequences(e){const t=this.backward?this.start-this.length:this.start
return this.stream.findAllSequences(e,t,this.length)}findPairedPatterns(e,t,r=null){(null==r||r>this.length)&&(r=this.length)
const n=this.backward?this.start-this.length:this.start,i=this.stream.findPairedPatterns(e,t,n,this.length)
if(i.length)if(this.backward){if(i[0].right<this.start-t.length-r)return[]}else if(i[0].left>this.start+e.length+r)return[]
return i}findPairedArrays(e,t,r=null){(null==r||r>this.length)&&(r=this.length)
const n=this.backward?this.start-this.length:this.start,i=this.stream.findPairedArrays(e,t,n,this.length)
if(i.length)if(this.backward){if(i[0].right.position<this.start-t[i[0].right.id].length-r)return[]}else if(i[0].left.position>this.start+e[i[0].left.id].length+r)return[]
return i}replacePattern(e,t){const r=this.backward?this.start-this.length:this.start
return this.stream.replacePattern(e,t,r,this.length)}skipPatterns(e){const t=this.stream.skipPatterns(e,this.start,this.length,this.backward)
return this.start=t,t}skipNotPatterns(e){const t=this.stream.skipNotPatterns(e,this.start,this.length,this.backward)
return-1==t?-1:(this.start=t,t)}append(e){this.beforeAppend(e.length),this._stream.view.set(e.view,this._start),this._length+=2*e.length,this.start=this._start+e.length,this.prevLength-=2*e.length}appendView(e){this.beforeAppend(e.length),this._stream.view.set(e,this._start),this._length+=2*e.length,this.start=this._start+e.length,this.prevLength-=2*e.length}appendChar(e){this.beforeAppend(1),this._stream.view[this._start]=e,this._length+=2,this.start=this._start+1,this.prevLength-=2}appendUint16(e){this.beforeAppend(2)
const t=new Uint16Array([e]),r=new Uint8Array(t.buffer)
this.stream.view[this._start]=r[1],this._stream.view[this._start+1]=r[0],this._length+=4,this.start=this._start+2,this.prevLength-=4}appendUint24(e){this.beforeAppend(3)
const t=new Uint32Array([e]),r=new Uint8Array(t.buffer)
this._stream.view[this._start]=r[2],this._stream.view[this._start+1]=r[1],this._stream.view[this._start+2]=r[0],this._length+=6,this.start=this._start+3,this.prevLength-=6}appendUint32(e){this.beforeAppend(4)
const t=new Uint32Array([e]),r=new Uint8Array(t.buffer)
this._stream.view[this._start]=r[3],this._stream.view[this._start+1]=r[2],this._stream.view[this._start+2]=r[1],this._stream.view[this._start+3]=r[0],this._length+=8,this.start=this._start+4,this.prevLength-=8}appendInt16(e){this.beforeAppend(2)
const t=new Int16Array([e]),r=new Uint8Array(t.buffer)
this._stream.view[this._start]=r[1],this._stream.view[this._start+1]=r[0],this._length+=4,this.start=this._start+2,this.prevLength-=4}appendInt32(e){this.beforeAppend(4)
const t=new Int32Array([e]),r=new Uint8Array(t.buffer)
this._stream.view[this._start]=r[3],this._stream.view[this._start+1]=r[2],this._stream.view[this._start+2]=r[1],this._stream.view[this._start+3]=r[0],this._length+=8,this.start=this._start+4,this.prevLength-=8}getBlock(e,t=!0){if(this._length<=0)return new Uint8Array(0)
let r
if(this._length<e&&(e=this._length),this.backward){const t=this._stream.view.subarray(this._length-e,this._length)
r=new Uint8Array(e)
for(let n=0;n<e;n++)r[e-1-n]=t[n]}else r=this._stream.view.subarray(this._start,this._start+e)
return t&&(this.start+=this.backward?-1*e:e),r}getUint16(e=!0){const t=this.getBlock(2,e)
if(t.length<2)return 0
const r=new Uint16Array(1),n=new Uint8Array(r.buffer)
return n[0]=t[1],n[1]=t[0],r[0]}getInt16(e=!0){const t=this.getBlock(2,e)
if(t.length<2)return 0
const r=new Int16Array(1),n=new Uint8Array(r.buffer)
return n[0]=t[1],n[1]=t[0],r[0]}getUint24(e=!0){const t=this.getBlock(3,e)
if(t.length<3)return 0
const r=new Uint32Array(1),n=new Uint8Array(r.buffer)
for(let i=3;i>=1;i--)n[3-i]=t[i-1]
return r[0]}getUint32(e=!0){const t=this.getBlock(4,e)
if(t.length<4)return 0
const r=new Uint32Array(1),n=new Uint8Array(r.buffer)
for(let i=3;i>=0;i--)n[3-i]=t[i]
return r[0]}getInt32(e=!0){const t=this.getBlock(4,e)
if(t.length<4)return 0
const r=new Int32Array(1),n=new Uint8Array(r.buffer)
for(let i=3;i>=0;i--)n[3-i]=t[i]
return r[0]}beforeAppend(e){this._start+e>this._stream.length&&(e>this.appendBlock&&(this.appendBlock=e+wr.APPEND_BLOCK),this._stream.realloc(this._stream.length+this.appendBlock))}}wr.APPEND_BLOCK=1e3
class Sr{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",Sr.defaultValues("version")),this.logID=(0,i.getParametersValue)(e,"logID",Sr.defaultValues("logID")),this.timestamp=(0,i.getParametersValue)(e,"timestamp",Sr.defaultValues("timestamp")),this.extensions=(0,i.getParametersValue)(e,"extensions",Sr.defaultValues("extensions")),this.hashAlgorithm=(0,i.getParametersValue)(e,"hashAlgorithm",Sr.defaultValues("hashAlgorithm")),this.signatureAlgorithm=(0,i.getParametersValue)(e,"signatureAlgorithm",Sr.defaultValues("signatureAlgorithm")),this.signature=(0,i.getParametersValue)(e,"signature",Sr.defaultValues("signature")),"schema"in e&&this.fromSchema(e.schema),"stream"in e&&this.fromStream(e.stream)}static defaultValues(e){switch(e){case"version":return 0
case"logID":case"extensions":return new ArrayBuffer(0)
case"timestamp":return new Date(0)
case"hashAlgorithm":case"signatureAlgorithm":return""
case"signature":return new at
default:throw new Error(`Invalid member name for SignedCertificateTimestamp class: ${e}`)}}fromSchema(e){if(e instanceof ut==0)throw new Error("Object's schema was not verified against input data for SignedCertificateTimestamp")
const t=new wr({stream:new br({buffer:e.data})})
this.fromStream(t)}fromStream(e){const t=e.getUint16()
if(this.version=e.getBlock(1)[0],0===this.version){this.logID=new Uint8Array(e.getBlock(32)).buffer.slice(0),this.timestamp=new Date((0,i.utilFromBase)(new Uint8Array(e.getBlock(8)),8))
const r=e.getUint16()
switch(this.extensions=new Uint8Array(e.getBlock(r)).buffer.slice(0),e.getBlock(1)[0]){case 0:this.hashAlgorithm="none"
break
case 1:this.hashAlgorithm="md5"
break
case 2:this.hashAlgorithm="sha1"
break
case 3:this.hashAlgorithm="sha224"
break
case 4:this.hashAlgorithm="sha256"
break
case 5:this.hashAlgorithm="sha384"
break
case 6:this.hashAlgorithm="sha512"
break
default:throw new Error("Object's stream was not correct for SignedCertificateTimestamp")}switch(e.getBlock(1)[0]){case 0:this.signatureAlgorithm="anonymous"
break
case 1:this.signatureAlgorithm="rsa"
break
case 2:this.signatureAlgorithm="dsa"
break
case 3:this.signatureAlgorithm="ecdsa"
break
default:throw new Error("Object's stream was not correct for SignedCertificateTimestamp")}const n=e.getUint16(),s=ue(new Uint8Array(e.getBlock(n)).buffer.slice(0))
if(-1===s.offset)throw new Error("Object's stream was not correct for SignedCertificateTimestamp")
if(this.signature=s.result,t!==47+r+n)throw new Error("Object's stream was not correct for SignedCertificateTimestamp")}}toSchema(){const e=this.toStream()
return new ut({data:e.stream.buffer})}toStream(){const e=new wr
e.appendUint16(47+this.extensions.byteLength+this.signature.valueBeforeDecode.byteLength),e.appendChar(this.version),e.appendView(new Uint8Array(this.logID))
const t=new ArrayBuffer(8),r=new Uint8Array(t),n=(0,i.utilToBase)(this.timestamp.valueOf(),8)
let s,o
switch(r.set(new Uint8Array(n),8-n.byteLength),e.appendView(r),e.appendUint16(this.extensions.byteLength),this.extensions.byteLength&&e.appendView(new Uint8Array(this.extensions)),this.hashAlgorithm.toLowerCase()){case"none":s=0
break
case"md5":s=1
break
case"sha1":s=2
break
case"sha224":s=3
break
case"sha256":s=4
break
case"sha384":s=5
break
case"sha512":s=6
break
default:throw new Error(`Incorrect data for hashAlgorithm: ${this.hashAlgorithm}`)}switch(e.appendChar(s),this.signatureAlgorithm.toLowerCase()){case"anonymous":o=0
break
case"rsa":o=1
break
case"dsa":o=2
break
case"ecdsa":o=3
break
default:throw new Error(`Incorrect data for signatureAlgorithm: ${this.signatureAlgorithm}`)}e.appendChar(o)
const a=this.signature.toBER(!1)
return e.appendUint16(a.byteLength),e.appendView(new Uint8Array(a)),e}toJSON(){return{version:this.version,logID:(0,i.bufferToHexCodes)(this.logID),timestamp:this.timestamp,extensions:(0,i.bufferToHexCodes)(this.extensions),hashAlgorithm:this.hashAlgorithm,signatureAlgorithm:this.signatureAlgorithm,signature:this.signature.toJSON()}}async verify(e,t,r=0){let n,s=(0,i.toBase64)((0,i.arrayBufferToString)(this.logID)),o=null,a=new wr
for(const i of e)if(i.log_id===s){o=i.key
break}if(null===o)throw new Error(`Public key not found for CT with logId: ${s}`)
const l=ue((0,i.stringToArrayBuffer)((0,i.fromBase64)(o)))
if(-1===l.offset)throw new Error(`Incorrect key value for CT Log with logId: ${s}`)
n=new gt({schema:l.result}),a.appendChar(0),a.appendChar(0)
const c=new ArrayBuffer(8),u=new Uint8Array(c),h=(0,i.utilToBase)(this.timestamp.valueOf(),8)
return u.set(new Uint8Array(h),8-h.byteLength),a.appendView(u),a.appendUint16(r),0===r&&a.appendUint24(t.byteLength),a.appendView(new Uint8Array(t)),a.appendUint16(this.extensions.byteLength),0!==this.extensions.byteLength&&a.appendView(new Uint8Array(this.extensions)),Pt().subtle.verifyWithPublicKey(a._stream._buffer.slice(0,a._length),{valueBlock:{valueHex:this.signature.toBER(!1)}},n,{algorithmId:""},"SHA-256")}}class kr{constructor(e={}){this.timestamps=(0,i.getParametersValue)(e,"timestamps",kr.defaultValues("timestamps")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("timestamps"===e)return[]
throw new Error(`Invalid member name for SignedCertificateTimestampList class: ${e}`)}static compareWithDefault(e,t){if("timestamps"===e)return 0===t.length
throw new Error(`Invalid member name for SignedCertificateTimestampList class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return"optional"in t==0&&(t.optional=!1),new be({name:t.blockName||"SignedCertificateTimestampList",optional:t.optional})}fromSchema(e){if(e instanceof be==0)throw new Error("Object's schema was not verified against input data for SignedCertificateTimestampList")
const t=new wr({stream:new br({buffer:e.valueBlock.valueHex})})
if(t.getUint16()!==t.length)throw new Error("Object's schema was not verified against input data for SignedCertificateTimestampList")
for(;t.length;)this.timestamps.push(new Sr({stream:t}))}toSchema(){const e=new wr
let t=0
const r=[]
for(const n of this.timestamps){const e=n.toStream()
r.push(e),t+=e.stream.buffer.byteLength}e.appendUint16(t)
for(const n of r)e.appendView(n.stream.view)
return new be({valueHex:e.stream.buffer.slice(0)})}toJSON(){return{timestamps:Array.from(this.timestamps,(e=>e.toJSON()))}}}async function xr(e,t,r,n=-1){let i,s,o=null
const a=new wr
let l
const c=Tt()
if(void 0===c)return Promise.reject("Unable to create WebCrypto object")
for(let u=0;u<e.extensions.length;u++)if("1.3.6.1.4.1.11129.2.4.2"===e.extensions[u].extnID){if(o=e.extensions[u].parsedValue,0===o.timestamps.length)throw new Error("Nothing to verify in the certificate")
e.extensions.splice(u,1)}if(null===o)throw new Error("No SignedCertificateTimestampList extension in the specified certificate")
if(i=e.encodeTBS().toBER(!1),s=await c.digest({name:"SHA-256"},new Uint8Array(t.subjectPublicKeyInfo.toSchema().toBER(!1))),a.appendView(new Uint8Array(s)),a.appendUint24(i.byteLength),a.appendView(new Uint8Array(i)),l=a._stream._buffer.slice(0,a._length),-1===n){const e=[]
for(const t of o.timestamps){const n=await t.verify(r,l,1)
e.push(n)}return e}return n>=o.timestamps.length&&(n=o.timestamps.length-1),[await o.timestamps[n].verify(r,l,1)]}class Er{constructor(e={}){this.templateID=(0,i.getParametersValue)(e,"templateID",Er.defaultValues("templateID")),"templateMajorVersion"in e&&(this.templateMajorVersion=(0,i.getParametersValue)(e,"templateMajorVersion",Er.defaultValues("templateMajorVersion"))),"templateMinorVersion"in e&&(this.templateMinorVersion=(0,i.getParametersValue)(e,"templateMinorVersion",Er.defaultValues("templateMinorVersion"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"templateID":return""
case"templateMajorVersion":case"templateMinorVersion":return 0
default:throw new Error(`Invalid member name for CertificateTemplate class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.templateID||""}),new _e({name:t.templateMajorVersion||"",optional:!0}),new _e({name:t.templateMinorVersion||"",optional:!0})]})}fromSchema(e){(0,i.clearProps)(e,["templateID","templateMajorVersion","templateMinorVersion"])
let t=ht(e,e,Er.schema({names:{templateID:"templateID",templateMajorVersion:"templateMajorVersion",templateMinorVersion:"templateMinorVersion"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for CertificateTemplate")
this.templateID=t.result.templateID.valueBlock.toString(),"templateMajorVersion"in t.result&&(this.templateMajorVersion=t.result.templateMajorVersion.valueBlock.valueDec),"templateMinorVersion"in t.result&&(this.templateMinorVersion=t.result.templateMinorVersion.valueBlock.valueDec)}toSchema(){const e=[]
return e.push(new Pe({value:this.templateID})),"templateMajorVersion"in this&&e.push(new _e({value:this.templateMajorVersion})),"templateMinorVersion"in this&&e.push(new _e({value:this.templateMinorVersion})),new De({value:e})}toJSON(){const e={extnID:this.templateID}
return"templateMajorVersion"in this&&(e.templateMajorVersion=this.templateMajorVersion),"templateMinorVersion"in this&&(e.templateMinorVersion=this.templateMinorVersion),e}}class Nr{constructor(e={}){this.certificateIndex=(0,i.getParametersValue)(e,"certificateIndex",Nr.defaultValues("certificateIndex")),this.keyIndex=(0,i.getParametersValue)(e,"keyIndex",Nr.defaultValues("keyIndex")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"certificateIndex":case"keyIndex":return 0
default:throw new Error(`Invalid member name for CAVersion class: ${e}`)}}static schema(e={}){return new _e}fromSchema(e){if(e.constructor.blockName()!==_e.blockName())throw new Error("Object's schema was not verified against input data for CAVersion")
let t=e.valueBlock.valueHex.slice(0)
const r=new Uint8Array(t)
switch(!0){case t.byteLength<4:{const e=new ArrayBuffer(4)
new Uint8Array(e).set(r,4-t.byteLength),t=e.slice(0)}break
case t.byteLength>4:{const e=new ArrayBuffer(4)
new Uint8Array(e).set(r.slice(0,4)),t=e.slice(0)}}const n=t.slice(0,2),i=new Uint8Array(n)
let s=i[0]
i[0]=i[1],i[1]=s
const o=new Uint16Array(n)
this.keyIndex=o[0]
const a=t.slice(2),l=new Uint8Array(a)
s=l[0],l[0]=l[1],l[1]=s
const c=new Uint16Array(a)
this.certificateIndex=c[0]}toSchema(){const e=new ArrayBuffer(2)
new Uint16Array(e)[0]=this.certificateIndex
const t=new Uint8Array(e)
let r=t[0]
t[0]=t[1],t[1]=r
const n=new ArrayBuffer(2)
new Uint16Array(n)[0]=this.keyIndex
const s=new Uint8Array(n)
return r=s[0],s[0]=s[1],s[1]=r,new _e({valueHex:(0,i.utilConcatBuf)(n,e)})}toJSON(){return{certificateIndex:this.certificateIndex,keyIndex:this.keyIndex}}}class _r{constructor(e={}){this.id=(0,i.getParametersValue)(e,"id",_r.defaultValues("id")),"type"in e&&(this.type=(0,i.getParametersValue)(e,"type",_r.defaultValues("type"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"id":return""
case"type":return new me
default:throw new Error(`Invalid member name for QCStatement class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"id":return""===t
case"type":return t instanceof me
default:throw new Error(`Invalid member name for QCStatement class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.id||""}),new at({name:t.type||"",optional:!0})]})}fromSchema(e){(0,i.clearProps)(e,["id","type"])
const t=ht(e,e,_r.schema({names:{id:"id",type:"type"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for QCStatement")
this.id=t.result.id.valueBlock.toString(),"type"in t.result&&(this.type=t.result.type)}toSchema(){const e=[new Pe({value:this.id})]
return"type"in this&&e.push(this.type),new De({value:e})}toJSON(){const e={id:this.id}
return"type"in this&&(e.type=this.type.toJSON()),e}}class Cr{constructor(e={}){this.values=(0,i.getParametersValue)(e,"values",Cr.defaultValues("values")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("values"===e)return[]
throw new Error(`Invalid member name for QCStatements class: ${e}`)}static compareWithDefault(e,t){if("values"===e)return 0===t.length
throw new Error(`Invalid member name for QCStatements class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ct({name:t.values||"",value:_r.schema(t.value||{})})]})}fromSchema(e){(0,i.clearProps)(e,["values"])
const t=ht(e,e,Cr.schema({names:{values:"values"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for QCStatements")
this.values=Array.from(t.result.values,(e=>new _r({schema:e})))}toSchema(){return new De({value:Array.from(this.values,(e=>e.toSchema()))})}toJSON(){return{extensions:Array.from(this.values,(e=>e.toJSON()))}}}class Ar{constructor(e={}){this.extnID=(0,i.getParametersValue)(e,"extnID",Ar.defaultValues("extnID")),this.critical=(0,i.getParametersValue)(e,"critical",Ar.defaultValues("critical")),this.extnValue="extnValue"in e?new be({valueHex:e.extnValue}):Ar.defaultValues("extnValue"),"parsedValue"in e&&(this.parsedValue=(0,i.getParametersValue)(e,"parsedValue",Ar.defaultValues("parsedValue"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"extnID":return""
case"critical":return!1
case"extnValue":return new be
case"parsedValue":return{}
default:throw new Error(`Invalid member name for Extension class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.extnID||""}),new ye({name:t.critical||"",optional:!0}),new be({name:t.extnValue||""})]})}fromSchema(e){(0,i.clearProps)(e,["extnID","critical","extnValue"])
let t=ht(e,e,Ar.schema({names:{extnID:"extnID",critical:"critical",extnValue:"extnValue"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for Extension")
if(this.extnID=t.result.extnID.valueBlock.toString(),"critical"in t.result&&(this.critical=t.result.critical.valueBlock.value),this.extnValue=t.result.extnValue,t=ue(this.extnValue.valueBlock.valueHex),-1!==t.offset)switch(this.extnID){case"2.5.29.9":try{this.parsedValue=new tr({schema:t.result})}catch(e){this.parsedValue=new tr,this.parsedValue.parsingError="Incorrectly formated SubjectDirectoryAttributes"}break
case"2.5.29.14":case"2.5.29.15":case"2.5.29.20":case"2.5.29.27":case"2.5.29.21":case"2.5.29.24":case"2.5.29.54":case"1.3.6.1.4.1.311.20.2":case"1.3.6.1.4.1.311.21.2":this.parsedValue=t.result
break
case"2.5.29.16":try{this.parsedValue=new rr({schema:t.result})}catch(e){this.parsedValue=new rr,this.parsedValue.parsingError="Incorrectly formated PrivateKeyUsagePeriod"}break
case"2.5.29.17":case"2.5.29.18":try{this.parsedValue=new Gt({schema:t.result})}catch(e){this.parsedValue=new Gt,this.parsedValue.parsingError="Incorrectly formated AltName"}break
case"2.5.29.19":try{this.parsedValue=new nr({schema:t.result})}catch(e){this.parsedValue=new nr,this.parsedValue.parsingError="Incorrectly formated BasicConstraints"}break
case"2.5.29.28":try{this.parsedValue=new ir({schema:t.result})}catch(e){this.parsedValue=new ir,this.parsedValue.parsingError="Incorrectly formated IssuingDistributionPoint"}break
case"2.5.29.29":try{this.parsedValue=new sr({schema:t.result})}catch(e){this.parsedValue=new sr,this.parsedValue.parsingError="Incorrectly formated GeneralNames"}break
case"2.5.29.30":try{this.parsedValue=new ar({schema:t.result})}catch(e){this.parsedValue=new ar,this.parsedValue.parsingError="Incorrectly formated NameConstraints"}break
case"2.5.29.31":case"2.5.29.46":try{this.parsedValue=new cr({schema:t.result})}catch(e){this.parsedValue=new cr,this.parsedValue.parsingError="Incorrectly formated CRLDistributionPoints"}break
case"2.5.29.32":case"1.3.6.1.4.1.311.21.10":try{this.parsedValue=new dr({schema:t.result})}catch(e){this.parsedValue=new dr,this.parsedValue.parsingError="Incorrectly formated CertificatePolicies"}break
case"2.5.29.33":try{this.parsedValue=new fr({schema:t.result})}catch(e){this.parsedValue=new fr,this.parsedValue.parsingError="Incorrectly formated CertificatePolicies"}break
case"2.5.29.35":try{this.parsedValue=new mr({schema:t.result})}catch(e){this.parsedValue=new mr,this.parsedValue.parsingError="Incorrectly formated AuthorityKeyIdentifier"}break
case"2.5.29.36":try{this.parsedValue=new gr({schema:t.result})}catch(e){this.parsedValue=new gr,this.parsedValue.parsingError="Incorrectly formated PolicyConstraints"}break
case"2.5.29.37":try{this.parsedValue=new yr({schema:t.result})}catch(e){this.parsedValue=new yr,this.parsedValue.parsingError="Incorrectly formated ExtKeyUsage"}break
case"1.3.6.1.5.5.7.1.1":case"1.3.6.1.5.5.7.1.11":try{this.parsedValue=new vr({schema:t.result})}catch(e){this.parsedValue=new vr,this.parsedValue.parsingError="Incorrectly formated InfoAccess"}break
case"1.3.6.1.4.1.11129.2.4.2":try{this.parsedValue=new kr({schema:t.result})}catch(e){this.parsedValue=new kr,this.parsedValue.parsingError="Incorrectly formated SignedCertificateTimestampList"}break
case"1.3.6.1.4.1.311.21.7":try{this.parsedValue=new Er({schema:t.result})}catch(e){this.parsedValue=new Er,this.parsedValue.parsingError="Incorrectly formated CertificateTemplate"}break
case"1.3.6.1.4.1.311.21.1":try{this.parsedValue=new Nr({schema:t.result})}catch(e){this.parsedValue=new Nr,this.parsedValue.parsingError="Incorrectly formated CAVersion"}break
case"1.3.6.1.5.5.7.1.3":try{this.parsedValue=new Cr({schema:t.result})}catch(e){this.parsedValue=new Cr,this.parsedValue.parsingError="Incorrectly formated QCStatements"}}}toSchema(){const e=[]
return e.push(new Pe({value:this.extnID})),this.critical!==Ar.defaultValues("critical")&&e.push(new ye({value:this.critical})),e.push(this.extnValue),new De({value:e})}toJSON(){const e={extnID:this.extnID,extnValue:this.extnValue.toJSON()}
return this.critical!==Ar.defaultValues("critical")&&(e.critical=this.critical),"parsedValue"in this&&"toJSON"in this.parsedValue&&(e.parsedValue=this.parsedValue.toJSON()),e}}class Or{constructor(e={}){this.extensions=(0,i.getParametersValue)(e,"extensions",Or.defaultValues("extensions")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("extensions"===e)return[]
throw new Error(`Invalid member name for Extensions class: ${e}`)}static schema(e={},t=!1){const r=(0,i.getParametersValue)(e,"names",{})
return new De({optional:t,name:r.blockName||"",value:[new ct({name:r.extensions||"",value:Ar.schema(r.extension||{})})]})}fromSchema(e){(0,i.clearProps)(e,["extensions"])
const t=ht(e,e,Or.schema({names:{extensions:"extensions"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for Extensions")
this.extensions=Array.from(t.result.extensions,(e=>new Ar({schema:e})))}toSchema(){return new De({value:Array.from(this.extensions,(e=>e.toSchema()))})}toJSON(){return{extensions:Array.from(this.extensions,(e=>e.toJSON()))}}}function Pr(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"tbsCertificate",value:[new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new _e({name:t.tbsCertificateVersion||"tbsCertificate.version"})]}),new _e({name:t.tbsCertificateSerialNumber||"tbsCertificate.serialNumber"}),dt.schema(t.signature||{names:{blockName:"tbsCertificate.signature"}}),Ut.schema(t.issuer||{names:{blockName:"tbsCertificate.issuer"}}),new De({name:t.tbsCertificateValidity||"tbsCertificate.validity",value:[er.schema(t.notBefore||{names:{utcTimeName:"tbsCertificate.notBefore",generalTimeName:"tbsCertificate.notBefore"}}),er.schema(t.notAfter||{names:{utcTimeName:"tbsCertificate.notAfter",generalTimeName:"tbsCertificate.notAfter"}})]}),Ut.schema(t.subject||{names:{blockName:"tbsCertificate.subject"}}),gt.schema(t.subjectPublicKeyInfo||{names:{blockName:"tbsCertificate.subjectPublicKeyInfo"}}),new le({name:t.tbsCertificateIssuerUniqueID||"tbsCertificate.issuerUniqueID",optional:!0,idBlock:{tagClass:3,tagNumber:1}}),new le({name:t.tbsCertificateSubjectUniqueID||"tbsCertificate.subjectUniqueID",optional:!0,idBlock:{tagClass:3,tagNumber:2}}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:3},value:[Or.schema(t.extensions||{names:{blockName:"tbsCertificate.extensions"}})]})]})}class Tr{constructor(e={}){this.tbs=(0,i.getParametersValue)(e,"tbs",Tr.defaultValues("tbs")),this.version=(0,i.getParametersValue)(e,"version",Tr.defaultValues("version")),this.serialNumber=(0,i.getParametersValue)(e,"serialNumber",Tr.defaultValues("serialNumber")),this.signature=(0,i.getParametersValue)(e,"signature",Tr.defaultValues("signature")),this.issuer=(0,i.getParametersValue)(e,"issuer",Tr.defaultValues("issuer")),this.notBefore=(0,i.getParametersValue)(e,"notBefore",Tr.defaultValues("notBefore")),this.notAfter=(0,i.getParametersValue)(e,"notAfter",Tr.defaultValues("notAfter")),this.subject=(0,i.getParametersValue)(e,"subject",Tr.defaultValues("subject")),this.subjectPublicKeyInfo=(0,i.getParametersValue)(e,"subjectPublicKeyInfo",Tr.defaultValues("subjectPublicKeyInfo")),"issuerUniqueID"in e&&(this.issuerUniqueID=(0,i.getParametersValue)(e,"issuerUniqueID",Tr.defaultValues("issuerUniqueID"))),"subjectUniqueID"in e&&(this.subjectUniqueID=(0,i.getParametersValue)(e,"subjectUniqueID",Tr.defaultValues("subjectUniqueID"))),"extensions"in e&&(this.extensions=(0,i.getParametersValue)(e,"extensions",Tr.defaultValues("extensions"))),this.signatureAlgorithm=(0,i.getParametersValue)(e,"signatureAlgorithm",Tr.defaultValues("signatureAlgorithm")),this.signatureValue=(0,i.getParametersValue)(e,"signatureValue",Tr.defaultValues("signatureValue")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"tbs":case"issuerUniqueID":case"subjectUniqueID":return new ArrayBuffer(0)
case"version":return 0
case"serialNumber":return new _e
case"signature":case"signatureAlgorithm":return new dt
case"issuer":case"subject":return new Ut
case"notBefore":case"notAfter":return new er
case"subjectPublicKeyInfo":return new gt
case"extensions":return[]
case"signatureValue":return new Se
default:throw new Error(`Invalid member name for Certificate class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[Pr(t.tbsCertificate),dt.schema(t.signatureAlgorithm||{names:{blockName:"signatureAlgorithm"}}),new Se({name:t.signatureValue||"signatureValue"})]})}fromSchema(e){(0,i.clearProps)(e,["tbsCertificate","tbsCertificate.extensions","tbsCertificate.version","tbsCertificate.serialNumber","tbsCertificate.signature","tbsCertificate.issuer","tbsCertificate.notBefore","tbsCertificate.notAfter","tbsCertificate.subject","tbsCertificate.subjectPublicKeyInfo","tbsCertificate.issuerUniqueID","tbsCertificate.subjectUniqueID","signatureAlgorithm","signatureValue"])
const t=ht(e,e,Tr.schema({names:{tbsCertificate:{names:{extensions:{names:{extensions:"tbsCertificate.extensions"}}}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for Certificate")
this.tbs=t.result.tbsCertificate.valueBeforeDecode,"tbsCertificate.version"in t.result&&(this.version=t.result["tbsCertificate.version"].valueBlock.valueDec),this.serialNumber=t.result["tbsCertificate.serialNumber"],this.signature=new dt({schema:t.result["tbsCertificate.signature"]}),this.issuer=new Ut({schema:t.result["tbsCertificate.issuer"]}),this.notBefore=new er({schema:t.result["tbsCertificate.notBefore"]}),this.notAfter=new er({schema:t.result["tbsCertificate.notAfter"]}),this.subject=new Ut({schema:t.result["tbsCertificate.subject"]}),this.subjectPublicKeyInfo=new gt({schema:t.result["tbsCertificate.subjectPublicKeyInfo"]}),"tbsCertificate.issuerUniqueID"in t.result&&(this.issuerUniqueID=t.result["tbsCertificate.issuerUniqueID"].valueBlock.valueHex),"tbsCertificate.subjectUniqueID"in t.result&&(this.subjectUniqueID=t.result["tbsCertificate.subjectUniqueID"].valueBlock.valueHex),"tbsCertificate.extensions"in t.result&&(this.extensions=Array.from(t.result["tbsCertificate.extensions"],(e=>new Ar({schema:e})))),this.signatureAlgorithm=new dt({schema:t.result.signatureAlgorithm}),this.signatureValue=t.result.signatureValue}encodeTBS(){const e=[]
return"version"in this&&this.version!==Tr.defaultValues("version")&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new _e({value:this.version})]})),e.push(this.serialNumber),e.push(this.signature.toSchema()),e.push(this.issuer.toSchema()),e.push(new De({value:[this.notBefore.toSchema(),this.notAfter.toSchema()]})),e.push(this.subject.toSchema()),e.push(this.subjectPublicKeyInfo.toSchema()),"issuerUniqueID"in this&&e.push(new le({optional:!0,idBlock:{tagClass:3,tagNumber:1},valueHex:this.issuerUniqueID})),"subjectUniqueID"in this&&e.push(new le({optional:!0,idBlock:{tagClass:3,tagNumber:2},valueHex:this.subjectUniqueID})),"extensions"in this&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:3},value:[new De({value:Array.from(this.extensions,(e=>e.toSchema()))})]})),new De({value:e})}toSchema(e=!1){let t={}
if(!1===e){if(0===this.tbs.length)return Tr.schema().value[0]
t=ue(this.tbs).result}else t=this.encodeTBS()
return new De({value:[t,this.signatureAlgorithm.toSchema(),this.signatureValue]})}toJSON(){const e={tbs:(0,i.bufferToHexCodes)(this.tbs,0,this.tbs.byteLength),serialNumber:this.serialNumber.toJSON(),signature:this.signature.toJSON(),issuer:this.issuer.toJSON(),notBefore:this.notBefore.toJSON(),notAfter:this.notAfter.toJSON(),subject:this.subject.toJSON(),subjectPublicKeyInfo:this.subjectPublicKeyInfo.toJSON(),signatureAlgorithm:this.signatureAlgorithm.toJSON(),signatureValue:this.signatureValue.toJSON()}
return"version"in this&&this.version!==Tr.defaultValues("version")&&(e.version=this.version),"issuerUniqueID"in this&&(e.issuerUniqueID=(0,i.bufferToHexCodes)(this.issuerUniqueID,0,this.issuerUniqueID.byteLength)),"subjectUniqueID"in this&&(e.subjectUniqueID=(0,i.bufferToHexCodes)(this.subjectUniqueID,0,this.subjectUniqueID.byteLength)),"extensions"in this&&(e.extensions=Array.from(this.extensions,(e=>e.toJSON()))),e}getPublicKey(e=null){return Pt().subtle.getPublicKey(this.subjectPublicKeyInfo,this.signatureAlgorithm,e)}getKeyHash(e="SHA-1"){const t=Tt()
return void 0===t?Promise.reject("Unable to create WebCrypto object"):t.digest({name:e},new Uint8Array(this.subjectPublicKeyInfo.subjectPublicKey.valueBlock.valueHex))}sign(e,t="SHA-1"){if(void 0===e)return Promise.reject("Need to provide a private key for signing")
let r,n=Promise.resolve()
const i=Pt()
return n=n.then((()=>i.subtle.getSignatureParameters(e,t))),n=n.then((e=>{r=e.parameters,this.signature=e.signatureAlgorithm,this.signatureAlgorithm=e.signatureAlgorithm})),n=n.then((()=>{this.tbs=this.encodeTBS().toBER(!1)})),n=n.then((()=>i.subtle.signWithPrivateKey(this.tbs,e,r))),n=n.then((e=>{this.signatureValue=new Se({valueHex:e})})),n}verify(e=null){let t={}
return null!==e?t=e.subjectPublicKeyInfo:this.issuer.isEqual(this.subject)&&(t=this.subjectPublicKeyInfo),t instanceof gt==0?Promise.reject("Please provide issuer certificate as a parameter"):Pt().subtle.verifyWithPublicKey(this.tbs,this.signatureValue,t,this.signatureAlgorithm)}}class Ir{constructor(e={}){this.notBeforeTime=(0,i.getParametersValue)(e,"notBeforeTime",Ir.defaultValues("notBeforeTime")),this.notAfterTime=(0,i.getParametersValue)(e,"notAfterTime",Ir.defaultValues("notAfterTime")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"notBeforeTime":case"notAfterTime":return new Date(0,0,0)
default:throw new Error(`Invalid member name for AttCertValidityPeriod class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new tt({name:t.notBeforeTime||""}),new tt({name:t.notAfterTime||""})]})}fromSchema(e){(0,i.clearProps)(e,["notBeforeTime","notAfterTime"])
const t=ht(e,e,Ir.schema({names:{notBeforeTime:"notBeforeTime",notAfterTime:"notAfterTime"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for AttCertValidityPeriod")
this.notBeforeTime=t.result.notBeforeTime.toDate(),this.notAfterTime=t.result.notAfterTime.toDate()}toSchema(){return new De({value:[new tt({valueDate:this.notBeforeTime}),new tt({valueDate:this.notAfterTime})]})}toJSON(){return{notBeforeTime:this.notBeforeTime,notAfterTime:this.notAfterTime}}}class jr{constructor(e={}){this.issuer=(0,i.getParametersValue)(e,"issuer",jr.defaultValues("issuer")),this.serialNumber=(0,i.getParametersValue)(e,"serialNumber",jr.defaultValues("serialNumber")),"issuerUID"in e&&(this.issuerUID=(0,i.getParametersValue)(e,"issuerUID",jr.defaultValues("issuerUID"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"issuer":return new sr
case"serialNumber":return new _e
case"issuerUID":return new Se
default:throw new Error(`Invalid member name for IssuerSerial class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[sr.schema(t.issuer||{}),new _e({name:t.serialNumber||""}),new Se({optional:!0,name:t.issuerUID||""})]})}fromSchema(e){(0,i.clearProps)(e,["issuer","serialNumber","issuerUID"])
const t=ht(e,e,jr.schema({names:{issuer:{names:{blockName:"issuer"}},serialNumber:"serialNumber",issuerUID:"issuerUID"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for IssuerSerial")
this.issuer=new sr({schema:t.result.issuer}),this.serialNumber=t.result.serialNumber,"issuerUID"in t.result&&(this.issuerUID=t.result.issuerUID)}toSchema(){const e=new De({value:[this.issuer.toSchema(),this.serialNumber]})
return"issuerUID"in this&&e.valueBlock.value.push(this.issuerUID),e}toJSON(){const e={issuer:this.issuer.toJSON(),serialNumber:this.serialNumber.toJSON()}
return"issuerUID"in this&&(e.issuerUID=this.issuerUID.toJSON()),e}}class Dr{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",Dr.defaultValues("version")),"baseCertificateID"in e&&(this.baseCertificateID=(0,i.getParametersValue)(e,"baseCertificateID",Dr.defaultValues("baseCertificateID"))),"subjectName"in e&&(this.subjectName=(0,i.getParametersValue)(e,"subjectName",Dr.defaultValues("subjectName"))),this.issuer=(0,i.getParametersValue)(e,"issuer",Dr.defaultValues("issuer")),this.signature=(0,i.getParametersValue)(e,"signature",Dr.defaultValues("signature")),this.serialNumber=(0,i.getParametersValue)(e,"serialNumber",Dr.defaultValues("serialNumber")),this.attrCertValidityPeriod=(0,i.getParametersValue)(e,"attrCertValidityPeriod",Dr.defaultValues("attrCertValidityPeriod")),this.attributes=(0,i.getParametersValue)(e,"attributes",Dr.defaultValues("attributes")),"issuerUniqueID"in e&&(this.issuerUniqueID=(0,i.getParametersValue)(e,"issuerUniqueID",Dr.defaultValues("issuerUniqueID"))),"extensions"in e&&(this.extensions=(0,i.getParametersValue)(e,"extensions",Dr.defaultValues("extensions"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return 0
case"baseCertificateID":return new jr
case"subjectName":return new sr
case"issuer":return{}
case"signature":return new dt
case"serialNumber":return new _e
case"attrCertValidityPeriod":return new Ir
case"attributes":return[]
case"issuerUniqueID":return new Se
case"extensions":return new Or
default:throw new Error(`Invalid member name for AttributeCertificateInfoV1 class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.version||""}),new lt({value:[new de({name:t.baseCertificateID||"",idBlock:{tagClass:3,tagNumber:0},value:jr.schema().valueBlock.value}),new de({name:t.subjectName||"",idBlock:{tagClass:3,tagNumber:1},value:sr.schema().valueBlock.value})]}),sr.schema({names:{blockName:t.issuer||""}}),dt.schema(t.signature||{}),new _e({name:t.serialNumber||""}),Ir.schema(t.attrCertValidityPeriod||{}),new De({name:t.attributes||"",value:[new ct({value:yt.schema()})]}),new Se({optional:!0,name:t.issuerUniqueID||""}),Or.schema(t.extensions||{},!0)]})}fromSchema(e){(0,i.clearProps)(e,["version","baseCertificateID","subjectName","issuer","signature","serialNumber","attrCertValidityPeriod","attributes","issuerUniqueID","extensions"])
const t=ht(e,e,Dr.schema({names:{version:"version",baseCertificateID:"baseCertificateID",subjectName:"subjectName",issuer:"issuer",signature:{names:{blockName:"signature"}},serialNumber:"serialNumber",attrCertValidityPeriod:{names:{blockName:"attrCertValidityPeriod"}},attributes:"attributes",issuerUniqueID:"issuerUniqueID",extensions:{names:{blockName:"extensions"}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for AttributeCertificateInfoV1")
this.version=t.result.version.valueBlock.valueDec,"baseCertificateID"in t.result&&(this.baseCertificateID=new jr({schema:new De({value:t.result.baseCertificateID.valueBlock.value})})),"subjectName"in t.result&&(this.subjectName=new sr({schema:new De({value:t.result.subjectName.valueBlock.value})})),this.issuer=t.result.issuer,this.signature=new dt({schema:t.result.signature}),this.serialNumber=t.result.serialNumber,this.attrCertValidityPeriod=new Ir({schema:t.result.attrCertValidityPeriod}),this.attributes=Array.from(t.result.attributes.valueBlock.value,(e=>new yt({schema:e}))),"issuerUniqueID"in t.result&&(this.issuerUniqueID=t.result.issuerUniqueID),"extensions"in t.result&&(this.extensions=new Or({schema:t.result.extensions}))}toSchema(){const e=new De({value:[new _e({value:this.version})]})
return"baseCertificateID"in this&&e.valueBlock.value.push(new de({idBlock:{tagClass:3,tagNumber:0},value:this.baseCertificateID.toSchema().valueBlock.value})),"subjectName"in this&&e.valueBlock.value.push(new de({idBlock:{tagClass:3,tagNumber:1},value:this.subjectName.toSchema().valueBlock.value})),e.valueBlock.value.push(this.issuer.toSchema()),e.valueBlock.value.push(this.signature.toSchema()),e.valueBlock.value.push(this.serialNumber),e.valueBlock.value.push(this.attrCertValidityPeriod.toSchema()),e.valueBlock.value.push(new De({value:Array.from(this.attributes,(e=>e.toSchema()))})),"issuerUniqueID"in this&&e.valueBlock.value.push(this.issuerUniqueID),"extensions"in this&&e.valueBlock.value.push(this.extensions.toSchema()),e}toJSON(){const e={version:this.version}
return"baseCertificateID"in this&&(e.baseCertificateID=this.baseCertificateID.toJSON()),"subjectName"in this&&(e.subjectName=this.subjectName.toJSON()),e.issuer=this.issuer.toJSON(),e.signature=this.signature.toJSON(),e.serialNumber=this.serialNumber.toJSON(),e.attrCertValidityPeriod=this.attrCertValidityPeriod.toJSON(),e.attributes=Array.from(this.attributes,(e=>e.toJSON())),"issuerUniqueID"in this&&(e.issuerUniqueID=this.issuerUniqueID.toJSON()),"extensions"in this&&(e.extensions=this.extensions.toJSON()),e}}class Mr{constructor(e={}){this.acinfo=(0,i.getParametersValue)(e,"acinfo",Mr.defaultValues("acinfo")),this.signatureAlgorithm=(0,i.getParametersValue)(e,"signatureAlgorithm",Mr.defaultValues("signatureAlgorithm")),this.signatureValue=(0,i.getParametersValue)(e,"signatureValue",Mr.defaultValues("signatureValue")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"acinfo":return new Dr
case"signatureAlgorithm":return new dt
case"signatureValue":return new Se
default:throw new Error(`Invalid member name for AttributeCertificateV1 class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[Dr.schema(t.acinfo||{}),dt.schema(t.signatureAlgorithm||{}),new Se({name:t.signatureValue||""})]})}fromSchema(e){(0,i.clearProps)(e,["acinfo","signatureValue","signatureAlgorithm"])
const t=ht(e,e,Mr.schema({names:{acinfo:{names:{blockName:"acinfo"}},signatureAlgorithm:{names:{blockName:"signatureAlgorithm"}},signatureValue:"signatureValue"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for AttributeCertificateV1")
this.acinfo=new Dr({schema:t.result.acinfo}),this.signatureAlgorithm=new dt({schema:t.result.signatureAlgorithm}),this.signatureValue=t.result.signatureValue}toSchema(){return new De({value:[this.acinfo.toSchema(),this.signatureAlgorithm.toSchema(),this.signatureValue]})}toJSON(){return{acinfo:this.acinfo.toJSON(),signatureAlgorithm:this.signatureAlgorithm.toJSON(),signatureValue:this.signatureValue.toJSON()}}}class Br{constructor(e={}){this.digestedObjectType=(0,i.getParametersValue)(e,"digestedObjectType",Br.defaultValues("digestedObjectType")),"otherObjectTypeID"in e&&(this.otherObjectTypeID=(0,i.getParametersValue)(e,"otherObjectTypeID",Br.defaultValues("otherObjectTypeID"))),this.digestAlgorithm=(0,i.getParametersValue)(e,"digestAlgorithm",Br.defaultValues("digestAlgorithm")),this.objectDigest=(0,i.getParametersValue)(e,"objectDigest",Br.defaultValues("objectDigest")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"digestedObjectType":return new Ce
case"otherObjectTypeID":return new Pe
case"digestAlgorithm":return new dt
case"objectDigest":return new Se
default:throw new Error(`Invalid member name for ObjectDigestInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Ce({name:t.digestedObjectType||""}),new Pe({optional:!0,name:t.otherObjectTypeID||""}),dt.schema(t.digestAlgorithm||{}),new Se({name:t.objectDigest||""})]})}fromSchema(e){(0,i.clearProps)(e,["digestedObjectType","otherObjectTypeID","digestAlgorithm","objectDigest"])
const t=ht(e,e,Br.schema({names:{digestedObjectType:"digestedObjectType",otherObjectTypeID:"otherObjectTypeID",digestAlgorithm:{names:{blockName:"digestAlgorithm"}},objectDigest:"objectDigest"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for ObjectDigestInfo")
this.digestedObjectType=t.result.digestedObjectType,"otherObjectTypeID"in t.result&&(this.otherObjectTypeID=t.result.otherObjectTypeID),this.digestAlgorithm=new dt({schema:t.result.digestAlgorithm}),this.objectDigest=t.result.objectDigest}toSchema(){const e=new De({value:[this.digestedObjectType]})
return"otherObjectTypeID"in this&&e.valueBlock.value.push(this.otherObjectTypeID),e.valueBlock.value.push(this.digestAlgorithm.toSchema()),e.valueBlock.value.push(this.objectDigest),e}toJSON(){const e={digestedObjectType:this.digestedObjectType.toJSON()}
return"otherObjectTypeID"in this&&(e.otherObjectTypeID=this.otherObjectTypeID.toJSON()),e.digestAlgorithm=this.digestAlgorithm.toJSON(),e.objectDigest=this.objectDigest.toJSON(),e}}class Rr{constructor(e={}){"issuerName"in e&&(this.issuerName=(0,i.getParametersValue)(e,"issuerName",Rr.defaultValues("issuerName"))),"baseCertificateID"in e&&(this.baseCertificateID=(0,i.getParametersValue)(e,"baseCertificateID",Rr.defaultValues("baseCertificateID"))),"objectDigestInfo"in e&&(this.objectDigestInfo=(0,i.getParametersValue)(e,"objectDigestInfo",Rr.defaultValues("objectDigestInfo"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"issuerName":return new sr
case"baseCertificateID":return new jr
case"objectDigestInfo":return new Br
default:throw new Error(`Invalid member name for V2Form class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[sr.schema({names:{blockName:t.issuerName}},!0),new de({optional:!0,name:t.baseCertificateID||"",idBlock:{tagClass:3,tagNumber:0},value:jr.schema().valueBlock.value}),new de({optional:!0,name:t.objectDigestInfo||"",idBlock:{tagClass:3,tagNumber:1},value:Br.schema().valueBlock.value})]})}fromSchema(e){(0,i.clearProps)(e,["issuerName","baseCertificateID","objectDigestInfo"])
const t=ht(e,e,Rr.schema({names:{issuerName:"issuerName",baseCertificateID:"baseCertificateID",objectDigestInfo:"objectDigestInfo"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for V2Form")
"issuerName"in t.result&&(this.issuerName=new sr({schema:t.result.issuerName})),"baseCertificateID"in t.result&&(this.baseCertificateID=new jr({schema:new De({value:t.result.baseCertificateID.valueBlock.value})})),"objectDigestInfo"in t.result&&(this.objectDigestInfo=new Br({schema:new De({value:t.result.objectDigestInfo.valueBlock.value})}))}toSchema(){const e=new De
return"issuerName"in this&&e.valueBlock.value.push(this.issuerName.toSchema()),"baseCertificateID"in this&&e.valueBlock.value.push(new de({idBlock:{tagClass:3,tagNumber:0},value:this.baseCertificateID.toSchema().valueBlock.value})),"objectDigestInfo"in this&&e.valueBlock.value.push(new de({idBlock:{tagClass:3,tagNumber:1},value:this.objectDigestInfo.toSchema().valueBlock.value})),e}toJSON(){const e={}
return"issuerName"in this&&(e.issuerName=this.issuerName.toJSON()),"baseCertificateID"in this&&(e.baseCertificateID=this.baseCertificateID.toJSON()),"objectDigestInfo"in this&&(e.objectDigestInfo=this.objectDigestInfo.toJSON()),e}}class Lr{constructor(e={}){"baseCertificateID"in e&&(this.baseCertificateID=(0,i.getParametersValue)(e,"baseCertificateID",Lr.defaultValues("baseCertificateID"))),"entityName"in e&&(this.entityName=(0,i.getParametersValue)(e,"entityName",Lr.defaultValues("entityName"))),"objectDigestInfo"in e&&(this.objectDigestInfo=(0,i.getParametersValue)(e,"objectDigestInfo",Lr.defaultValues("objectDigestInfo"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"baseCertificateID":return new jr
case"entityName":return new sr
case"objectDigestInfo":return new Br
default:throw new Error(`Invalid member name for Holder class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new de({optional:!0,name:t.baseCertificateID||"",idBlock:{tagClass:3,tagNumber:0},value:jr.schema().valueBlock.value}),new de({optional:!0,name:t.entityName||"",idBlock:{tagClass:3,tagNumber:1},value:sr.schema().valueBlock.value}),new de({optional:!0,name:t.objectDigestInfo||"",idBlock:{tagClass:3,tagNumber:2},value:Br.schema().valueBlock.value})]})}fromSchema(e){(0,i.clearProps)(e,["baseCertificateID","entityName","objectDigestInfo"])
const t=ht(e,e,Lr.schema({names:{baseCertificateID:"baseCertificateID",entityName:"entityName",objectDigestInfo:"objectDigestInfo"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for Holder")
"baseCertificateID"in t.result&&(this.baseCertificateID=new jr({schema:new De({value:t.result.baseCertificateID.valueBlock.value})})),"entityName"in t.result&&(this.entityName=new sr({schema:new De({value:t.result.entityName.valueBlock.value})})),"objectDigestInfo"in t.result&&(this.objectDigestInfo=new Br({schema:new De({value:t.result.objectDigestInfo.valueBlock.value})}))}toSchema(){const e=new De
return"baseCertificateID"in this&&e.valueBlock.value.push(new de({idBlock:{tagClass:3,tagNumber:0},value:this.baseCertificateID.toSchema().valueBlock.value})),"entityName"in this&&e.valueBlock.value.push(new de({idBlock:{tagClass:3,tagNumber:1},value:this.entityName.toSchema().valueBlock.value})),"objectDigestInfo"in this&&e.valueBlock.value.push(new de({idBlock:{tagClass:3,tagNumber:2},value:this.objectDigestInfo.toSchema().valueBlock.value})),e}toJSON(){const e={}
return"baseCertificateID"in this&&(e.baseCertificateID=this.baseCertificateID.toJSON()),"entityName"in this&&(e.entityName=this.entityName.toJSON()),"objectDigestInfo"in this&&(e.objectDigestInfo=this.objectDigestInfo.toJSON()),e}}class zr{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",zr.defaultValues("version")),this.holder=(0,i.getParametersValue)(e,"holder",zr.defaultValues("holder")),this.issuer=(0,i.getParametersValue)(e,"issuer",zr.defaultValues("issuer")),this.signature=(0,i.getParametersValue)(e,"signature",zr.defaultValues("signature")),this.serialNumber=(0,i.getParametersValue)(e,"serialNumber",zr.defaultValues("serialNumber")),this.attrCertValidityPeriod=(0,i.getParametersValue)(e,"attrCertValidityPeriod",zr.defaultValues("attrCertValidityPeriod")),this.attributes=(0,i.getParametersValue)(e,"attributes",zr.defaultValues("attributes")),"issuerUniqueID"in e&&(this.issuerUniqueID=(0,i.getParametersValue)(e,"issuerUniqueID",zr.defaultValues("issuerUniqueID"))),"extensions"in e&&(this.extensions=(0,i.getParametersValue)(e,"extensions",zr.defaultValues("extensions"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return 1
case"holder":return new Lr
case"issuer":return{}
case"signature":return new dt
case"serialNumber":return new _e
case"attrCertValidityPeriod":return new Ir
case"attributes":return[]
case"issuerUniqueID":return new Se
case"extensions":return new Or
default:throw new Error(`Invalid member name for AttributeCertificateInfoV2 class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.version||""}),Lr.schema(t.holder||{}),new lt({value:[sr.schema({names:{blockName:t.issuer||""}}),new de({name:t.issuer||"",idBlock:{tagClass:3,tagNumber:0},value:Rr.schema().valueBlock.value})]}),dt.schema(t.signature||{}),new _e({name:t.serialNumber||""}),Ir.schema(t.attrCertValidityPeriod||{}),new De({name:t.attributes||"",value:[new ct({value:yt.schema()})]}),new Se({optional:!0,name:t.issuerUniqueID||""}),Or.schema(t.extensions||{},!0)]})}fromSchema(e){(0,i.clearProps)(e,["version","holder","issuer","signature","serialNumber","attrCertValidityPeriod","attributes","issuerUniqueID","extensions"])
const t=ht(e,e,zr.schema({names:{version:"version",holder:{names:{blockName:"holder"}},issuer:"issuer",signature:{names:{blockName:"signature"}},serialNumber:"serialNumber",attrCertValidityPeriod:{names:{blockName:"attrCertValidityPeriod"}},attributes:"attributes",issuerUniqueID:"issuerUniqueID",extensions:{names:{blockName:"extensions"}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for AttributeCertificateInfoV2")
if(this.version=t.result.version.valueBlock.valueDec,this.holder=new Lr({schema:t.result.holder}),3!==t.result.issuer.idBlock.tagClass)throw new Error("Incorect value for 'issuer' in AttributeCertificateInfoV2")
this.issuer=new Rr({schema:new De({value:t.result.issuer.valueBlock.value})}),this.signature=new dt({schema:t.result.signature}),this.serialNumber=t.result.serialNumber,this.attrCertValidityPeriod=new Ir({schema:t.result.attrCertValidityPeriod}),this.attributes=Array.from(t.result.attributes.valueBlock.value,(e=>new yt({schema:e}))),"issuerUniqueID"in t.result&&(this.issuerUniqueID=t.result.issuerUniqueID),"extensions"in t.result&&(this.extensions=new Or({schema:t.result.extensions}))}toSchema(){const e=new De({value:[new _e({value:this.version}),this.holder.toSchema(),new de({idBlock:{tagClass:3,tagNumber:0},value:this.issuer.toSchema().valueBlock.value}),this.signature.toSchema(),this.serialNumber,this.attrCertValidityPeriod.toSchema(),new De({value:Array.from(this.attributes,(e=>e.toSchema()))})]})
return"issuerUniqueID"in this&&e.valueBlock.value.push(this.issuerUniqueID),"extensions"in this&&e.valueBlock.value.push(this.extensions.toSchema()),e}toJSON(){const e={version:this.version,holder:this.holder.toJSON(),issuer:this.issuer.toJSON(),signature:this.signature.toJSON(),serialNumber:this.serialNumber.toJSON(),attrCertValidityPeriod:this.attrCertValidityPeriod.toJSON(),attributes:Array.from(this.attributes,(e=>e.toJSON()))}
return"issuerUniqueID"in this&&(e.issuerUniqueID=this.issuerUniqueID.toJSON()),"extensions"in this&&(e.extensions=this.extensions.toJSON()),e}}class Fr{constructor(e={}){this.acinfo=(0,i.getParametersValue)(e,"acinfo",Fr.defaultValues("acinfo")),this.signatureAlgorithm=(0,i.getParametersValue)(e,"signatureAlgorithm",Fr.defaultValues("signatureAlgorithm")),this.signatureValue=(0,i.getParametersValue)(e,"signatureValue",Fr.defaultValues("signatureValue")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"acinfo":return new zr
case"signatureAlgorithm":return new dt
case"signatureValue":return new Se
default:throw new Error(`Invalid member name for AttributeCertificateV2 class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[zr.schema(t.acinfo||{}),dt.schema(t.signatureAlgorithm||{}),new Se({name:t.signatureValue||""})]})}fromSchema(e){(0,i.clearProps)(e,["acinfo","signatureAlgorithm","signatureValue"])
const t=ht(e,e,Fr.schema({names:{acinfo:{names:{blockName:"acinfo"}},signatureAlgorithm:{names:{blockName:"signatureAlgorithm"}},signatureValue:"signatureValue"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for AttributeCertificateV2")
this.acinfo=new zr({schema:t.result.acinfo}),this.signatureAlgorithm=new dt({schema:t.result.signatureAlgorithm}),this.signatureValue=t.result.signatureValue}toSchema(){return new De({value:[this.acinfo.toSchema(),this.signatureAlgorithm.toSchema(),this.signatureValue]})}toJSON(){return{acinfo:this.acinfo.toJSON(),signatureAlgorithm:this.signatureAlgorithm.toJSON(),signatureValue:this.signatureValue.toJSON()}}}class Vr{constructor(e={}){this.certId=(0,i.getParametersValue)(e,"certId",Vr.defaultValues("certId")),this.certValue=(0,i.getParametersValue)(e,"certValue",Vr.defaultValues("certValue")),"parsedValue"in e&&(this.parsedValue=(0,i.getParametersValue)(e,"parsedValue",Vr.defaultValues("parsedValue"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"certId":return""
case"certValue":return new at
case"parsedValue":return{}
default:throw new Error(`Invalid member name for CertBag class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"certId":return""===t
case"certValue":return t instanceof at
case"parsedValue":return t instanceof Object&&0===Object.keys(t).length
default:throw new Error(`Invalid member name for CertBag class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.id||"id"}),new de({idBlock:{tagClass:3,tagNumber:0},value:[new at({name:t.value||"value"})]})]})}fromSchema(e){(0,i.clearProps)(e,["certId","certValue"])
const t=ht(e,e,Vr.schema({names:{id:"certId",value:"certValue"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for CertBag")
switch(this.certId=t.result.certId.valueBlock.toString(),this.certValue=t.result.certValue,this.certId){case"1.2.840.113549.1.9.22.1":{const e=ue(this.certValue.valueBlock.valueHex)
try{this.parsedValue=new Tr({schema:e.result})}catch(t){this.parsedValue=new Fr({schema:e.result})}}break
case"1.2.840.113549.1.9.22.3":{const e=ue(this.certValue.valueBlock.valueHex)
this.parsedValue=new Fr({schema:e.result})}break
default:throw new Error(`Incorrect "certId" value in CertBag: ${this.certId}`)}}toSchema(){return"parsedValue"in this&&("acinfo"in this.parsedValue?this.certId="1.2.840.113549.1.9.22.3":this.certId="1.2.840.113549.1.9.22.1",this.certValue=new be({valueHex:this.parsedValue.toSchema().toBER(!1)})),new De({value:[new Pe({value:this.certId}),new de({idBlock:{tagClass:3,tagNumber:0},value:["toSchema"in this.certValue?this.certValue.toSchema():this.certValue]})]})}toJSON(){return{certId:this.certId,certValue:this.certValue.toJSON()}}}class $r{constructor(e={}){this.userCertificate=(0,i.getParametersValue)(e,"userCertificate",$r.defaultValues("userCertificate")),this.revocationDate=(0,i.getParametersValue)(e,"revocationDate",$r.defaultValues("revocationDate")),"crlEntryExtensions"in e&&(this.crlEntryExtensions=(0,i.getParametersValue)(e,"crlEntryExtensions",$r.defaultValues("crlEntryExtensions"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"userCertificate":return new _e
case"revocationDate":return new er
case"crlEntryExtensions":return new Or
default:throw new Error(`Invalid member name for RevokedCertificate class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.userCertificate||"userCertificate"}),er.schema({names:{utcTimeName:t.revocationDate||"revocationDate",generalTimeName:t.revocationDate||"revocationDate"}}),Or.schema({names:{blockName:t.crlEntryExtensions||"crlEntryExtensions"}},!0)]})}fromSchema(e){(0,i.clearProps)(e,["userCertificate","revocationDate","crlEntryExtensions"])
const t=ht(e,e,$r.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for RevokedCertificate")
this.userCertificate=t.result.userCertificate,this.revocationDate=new er({schema:t.result.revocationDate}),"crlEntryExtensions"in t.result&&(this.crlEntryExtensions=new Or({schema:t.result.crlEntryExtensions}))}toSchema(){const e=[this.userCertificate,this.revocationDate.toSchema()]
return"crlEntryExtensions"in this&&e.push(this.crlEntryExtensions.toSchema()),new De({value:e})}toJSON(){const e={userCertificate:this.userCertificate.toJSON(),revocationDate:this.revocationDate.toJSON}
return"crlEntryExtensions"in this&&(e.crlEntryExtensions=this.crlEntryExtensions.toJSON()),e}}function Ur(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"tbsCertList",value:[new _e({optional:!0,name:t.tbsCertListVersion||"tbsCertList.version",value:2}),dt.schema(t.signature||{names:{blockName:"tbsCertList.signature"}}),Ut.schema(t.issuer||{names:{blockName:"tbsCertList.issuer"}}),er.schema(t.tbsCertListThisUpdate||{names:{utcTimeName:"tbsCertList.thisUpdate",generalTimeName:"tbsCertList.thisUpdate"}}),er.schema(t.tbsCertListNextUpdate||{names:{utcTimeName:"tbsCertList.nextUpdate",generalTimeName:"tbsCertList.nextUpdate"}},!0),new De({optional:!0,value:[new ct({name:t.tbsCertListRevokedCertificates||"tbsCertList.revokedCertificates",value:new De({value:[new _e,er.schema(),Or.schema({},!0)]})})]}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[Or.schema(t.crlExtensions||{names:{blockName:"tbsCertList.extensions"}})]})]})}class Hr{constructor(e={}){this.tbs=(0,i.getParametersValue)(e,"tbs",Hr.defaultValues("tbs")),this.version=(0,i.getParametersValue)(e,"version",Hr.defaultValues("version")),this.signature=(0,i.getParametersValue)(e,"signature",Hr.defaultValues("signature")),this.issuer=(0,i.getParametersValue)(e,"issuer",Hr.defaultValues("issuer")),this.thisUpdate=(0,i.getParametersValue)(e,"thisUpdate",Hr.defaultValues("thisUpdate")),"nextUpdate"in e&&(this.nextUpdate=(0,i.getParametersValue)(e,"nextUpdate",Hr.defaultValues("nextUpdate"))),"revokedCertificates"in e&&(this.revokedCertificates=(0,i.getParametersValue)(e,"revokedCertificates",Hr.defaultValues("revokedCertificates"))),"crlExtensions"in e&&(this.crlExtensions=(0,i.getParametersValue)(e,"crlExtensions",Hr.defaultValues("crlExtensions"))),this.signatureAlgorithm=(0,i.getParametersValue)(e,"signatureAlgorithm",Hr.defaultValues("signatureAlgorithm")),this.signatureValue=(0,i.getParametersValue)(e,"signatureValue",Hr.defaultValues("signatureValue")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"tbs":return new ArrayBuffer(0)
case"version":return 1
case"signature":case"signatureAlgorithm":return new dt
case"issuer":return new Ut
case"thisUpdate":case"nextUpdate":return new er
case"revokedCertificates":return[]
case"crlExtensions":return new Or
case"signatureValue":return new Se
default:throw new Error(`Invalid member name for CertificateRevocationList class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"CertificateList",value:[Ur(e),dt.schema(t.signatureAlgorithm||{names:{blockName:"signatureAlgorithm"}}),new Se({name:t.signatureValue||"signatureValue"})]})}fromSchema(e){(0,i.clearProps)(e,["tbsCertList","tbsCertList.version","tbsCertList.signature","tbsCertList.issuer","tbsCertList.thisUpdate","tbsCertList.nextUpdate","tbsCertList.revokedCertificates","tbsCertList.extensions","signatureAlgorithm","signatureValue"])
const t=ht(e,e,Hr.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for CertificateRevocationList")
this.tbs=t.result.tbsCertList.valueBeforeDecode,"tbsCertList.version"in t.result&&(this.version=t.result["tbsCertList.version"].valueBlock.valueDec),this.signature=new dt({schema:t.result["tbsCertList.signature"]}),this.issuer=new Ut({schema:t.result["tbsCertList.issuer"]}),this.thisUpdate=new er({schema:t.result["tbsCertList.thisUpdate"]}),"tbsCertList.nextUpdate"in t.result&&(this.nextUpdate=new er({schema:t.result["tbsCertList.nextUpdate"]})),"tbsCertList.revokedCertificates"in t.result&&(this.revokedCertificates=Array.from(t.result["tbsCertList.revokedCertificates"],(e=>new $r({schema:e})))),"tbsCertList.extensions"in t.result&&(this.crlExtensions=new Or({schema:t.result["tbsCertList.extensions"]})),this.signatureAlgorithm=new dt({schema:t.result.signatureAlgorithm}),this.signatureValue=t.result.signatureValue}encodeTBS(){const e=[]
return this.version!==Hr.defaultValues("version")&&e.push(new _e({value:this.version})),e.push(this.signature.toSchema()),e.push(this.issuer.toSchema()),e.push(this.thisUpdate.toSchema()),"nextUpdate"in this&&e.push(this.nextUpdate.toSchema()),"revokedCertificates"in this&&e.push(new De({value:Array.from(this.revokedCertificates,(e=>e.toSchema()))})),"crlExtensions"in this&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[this.crlExtensions.toSchema()]})),new De({value:e})}toSchema(e=!1){let t
if(!1===e){if(0===this.tbs.length)return Hr.schema()
t=ue(this.tbs).result}else t=this.encodeTBS()
return new De({value:[t,this.signatureAlgorithm.toSchema(),this.signatureValue]})}toJSON(){const e={tbs:(0,i.bufferToHexCodes)(this.tbs,0,this.tbs.byteLength),signature:this.signature.toJSON(),issuer:this.issuer.toJSON(),thisUpdate:this.thisUpdate.toJSON(),signatureAlgorithm:this.signatureAlgorithm.toJSON(),signatureValue:this.signatureValue.toJSON()}
return this.version!==Hr.defaultValues("version")&&(e.version=this.version),"nextUpdate"in this&&(e.nextUpdate=this.nextUpdate.toJSON()),"revokedCertificates"in this&&(e.revokedCertificates=Array.from(this.revokedCertificates,(e=>e.toJSON()))),"crlExtensions"in this&&(e.crlExtensions=this.crlExtensions.toJSON()),e}isCertificateRevoked(e){if(!1===this.issuer.isEqual(e.issuer))return!1
if("revokedCertificates"in this==0)return!1
for(const t of this.revokedCertificates)if(t.userCertificate.isEqual(e.serialNumber))return!0
return!1}sign(e,t="SHA-1"){if(void 0===e)return Promise.reject("Need to provide a private key for signing")
let r,n=Promise.resolve()
const i=Pt()
return n=n.then((()=>i.subtle.getSignatureParameters(e,t))),n=n.then((e=>{r=e.parameters,this.signature=e.signatureAlgorithm,this.signatureAlgorithm=e.signatureAlgorithm})),n=n.then((()=>{this.tbs=this.encodeTBS().toBER(!1)})),n=n.then((()=>i.subtle.signWithPrivateKey(this.tbs,e,r))),n=n.then((e=>{this.signatureValue=new Se({valueHex:e})})),n}verify(e={}){let t=Promise.resolve(),r=-1
const n=Pt()
if("issuerCertificate"in e&&(r=e.issuerCertificate.subjectPublicKeyInfo,!1===this.issuer.isEqual(e.issuerCertificate.subject)))return Promise.resolve(!1)
if("publicKeyInfo"in e&&(r=e.publicKeyInfo),"subjectPublicKey"in r==0)return Promise.reject("Issuer's certificate must be provided as an input parameter")
if("crlExtensions"in this)for(const i of this.crlExtensions.extensions)if(i.critical&&"parsedValue"in i==0)return Promise.resolve(!1)
return t=t.then((()=>n.subtle.verifyWithPublicKey(this.tbs,this.signatureValue,r,this.signatureAlgorithm))),t}}class qr{constructor(e={}){this.crlId=(0,i.getParametersValue)(e,"crlId",qr.defaultValues("crlId")),this.crlValue=(0,i.getParametersValue)(e,"crlValue",qr.defaultValues("crlValue")),"parsedValue"in e&&(this.parsedValue=(0,i.getParametersValue)(e,"parsedValue",qr.defaultValues("parsedValue"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"crlId":return""
case"crlValue":return new at
case"parsedValue":return{}
default:throw new Error(`Invalid member name for CRLBag class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"crlId":return""===t
case"crlValue":return t instanceof at
case"parsedValue":return t instanceof Object&&0===Object.keys(t).length
default:throw new Error(`Invalid member name for CRLBag class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.id||"id"}),new de({idBlock:{tagClass:3,tagNumber:0},value:[new at({name:t.value||"value"})]})]})}fromSchema(e){(0,i.clearProps)(e,["crlId","crlValue"])
const t=ht(e,e,qr.schema({names:{id:"crlId",value:"crlValue"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for CRLBag")
if(this.crlId=t.result.crlId.valueBlock.toString(),this.crlValue=t.result.crlValue,"1.2.840.113549.1.9.23.1"!==this.crlId)throw new Error(`Incorrect "crlId" value in CRLBag: ${this.crlId}`)
{const e=ue(this.certValue.valueBlock.valueHex)
this.parsedValue=new Hr({schema:e.result})}}toSchema(){return"parsedValue"in this&&(this.certId="1.2.840.113549.1.9.23.1",this.certValue=new be({valueHex:this.parsedValue.toSchema().toBER(!1)})),new De({value:[new Pe({value:this.crlId}),new de({idBlock:{tagClass:3,tagNumber:0},value:[this.crlValue.toSchema()]})]})}toJSON(){return{crlId:this.crlId,crlValue:this.crlValue.toJSON()}}}class Wr{constructor(e={}){this.secretTypeId=(0,i.getParametersValue)(e,"secretTypeId",Wr.defaultValues("secretTypeId")),this.secretValue=(0,i.getParametersValue)(e,"secretValue",Wr.defaultValues("secretValue")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"secretTypeId":return""
case"secretValue":return new at
default:throw new Error(`Invalid member name for SecretBag class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"secretTypeId":return""===t
case"secretValue":return t instanceof at
default:throw new Error(`Invalid member name for SecretBag class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.id||"id"}),new de({idBlock:{tagClass:3,tagNumber:0},value:[new at({name:t.value||"value"})]})]})}fromSchema(e){(0,i.clearProps)(e,["secretTypeId","secretValue"])
const t=ht(e,e,Wr.schema({names:{id:"secretTypeId",value:"secretValue"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for SecretBag")
this.secretTypeId=t.result.secretTypeId.valueBlock.toString(),this.secretValue=t.result.secretValue}toSchema(){return new De({value:[new Pe({value:this.secretTypeId}),new de({idBlock:{tagClass:3,tagNumber:0},value:[this.secretValue.toSchema()]})]})}toJSON(){return{secretTypeId:this.secretTypeId,secretValue:this.secretValue.toJSON()}}}class Kr{constructor(e={}){this.bagId=(0,i.getParametersValue)(e,"bagId",Kr.defaultValues("bagId")),this.bagValue=(0,i.getParametersValue)(e,"bagValue",Kr.defaultValues("bagValue")),"bagAttributes"in e&&(this.bagAttributes=(0,i.getParametersValue)(e,"bagAttributes",Kr.defaultValues("bagAttributes"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"bagId":return""
case"bagValue":return new at
case"bagAttributes":return[]
default:throw new Error(`Invalid member name for SafeBag class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"bagId":return""===t
case"bagValue":return t instanceof at
case"bagAttributes":return 0===t.length
default:throw new Error(`Invalid member name for SafeBag class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.bagId||"bagId"}),new de({idBlock:{tagClass:3,tagNumber:0},value:[new at({name:t.bagValue||"bagValue"})]}),new Me({optional:!0,value:[new ct({name:t.bagAttributes||"bagAttributes",value:yt.schema()})]})]})}fromSchema(e){(0,i.clearProps)(e,["bagId","bagValue","bagAttributes"])
const t=ht(e,e,Kr.schema({names:{bagId:"bagId",bagValue:"bagValue",bagAttributes:"bagAttributes"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for SafeBag")
switch(this.bagId=t.result.bagId.valueBlock.toString(),this.bagId){case"1.2.840.113549.1.12.10.1.1":this.bagValue=new St({schema:t.result.bagValue})
break
case"1.2.840.113549.1.12.10.1.2":this.bagValue=new Qt({schema:t.result.bagValue})
break
case"1.2.840.113549.1.12.10.1.3":this.bagValue=new Vr({schema:t.result.bagValue})
break
case"1.2.840.113549.1.12.10.1.4":this.bagValue=new qr({schema:t.result.bagValue})
break
case"1.2.840.113549.1.12.10.1.5":this.bagValue=new Wr({schema:t.result.bagValue})
break
case"1.2.840.113549.1.12.10.1.6":this.bagValue=new Zr({schema:t.result.bagValue})
break
default:throw new Error(`Invalid "bagId" for SafeBag: ${this.bagId}`)}"bagAttributes"in t.result&&(this.bagAttributes=Array.from(t.result.bagAttributes,(e=>new yt({schema:e}))))}toSchema(){const e=[new Pe({value:this.bagId}),new de({idBlock:{tagClass:3,tagNumber:0},value:[this.bagValue.toSchema()]})]
return"bagAttributes"in this&&e.push(new Me({value:Array.from(this.bagAttributes,(e=>e.toSchema()))})),new De({value:e})}toJSON(){const e={bagId:this.bagId,bagValue:this.bagValue.toJSON()}
return"bagAttributes"in this&&(e.bagAttributes=Array.from(this.bagAttributes,(e=>e.toJSON()))),e}}class Zr{constructor(e={}){this.safeBags=(0,i.getParametersValue)(e,"safeBags",Zr.defaultValues("safeBags")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("safeBags"===e)return[]
throw new Error(`Invalid member name for SafeContents class: ${e}`)}static compareWithDefault(e,t){if("safeBags"===e)return 0===t.length
throw new Error(`Invalid member name for SafeContents class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ct({name:t.safeBags||"",value:Kr.schema()})]})}fromSchema(e){(0,i.clearProps)(e,["safeBags"])
const t=ht(e,e,Zr.schema({names:{safeBags:"safeBags"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for SafeContents")
this.safeBags=Array.from(t.result.safeBags,(e=>new Kr({schema:e})))}toSchema(){return new De({value:Array.from(this.safeBags,(e=>e.toSchema()))})}toJSON(){return{safeBags:Array.from(this.safeBags,(e=>e.toJSON()))}}}class Jr{constructor(e={}){this.otherCertFormat=(0,i.getParametersValue)(e,"otherCertFormat",Jr.defaultValues("otherCertFormat")),this.otherCert=(0,i.getParametersValue)(e,"otherCert",Jr.defaultValues("otherCert")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"otherCertFormat":return""
case"otherCert":return new at
default:throw new Error(`Invalid member name for OtherCertificateFormat class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.otherCertFormat||"otherCertFormat"}),new at({name:t.otherCert||"otherCert"})]})}fromSchema(e){(0,i.clearProps)(e,["otherCertFormat","otherCert"])
const t=ht(e,e,Jr.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for OtherCertificateFormat")
this.otherCertFormat=t.result.otherCertFormat.valueBlock.toString(),this.otherCert=t.result.otherCert}toSchema(){return new De({value:[new Pe({value:this.otherCertFormat}),this.otherCert]})}toJSON(){const e={otherCertFormat:this.otherCertFormat}
return this.otherCert instanceof at||(e.otherCert=this.otherCert.toJSON()),e}}class Gr{constructor(e={}){this.certificates=(0,i.getParametersValue)(e,"certificates",Gr.defaultValues("certificates")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("certificates"===e)return[]
throw new Error(`Invalid member name for Attribute class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new Me({name:t.blockName||"",value:[new ct({name:t.certificates||"certificates",value:new lt({value:[Tr.schema(),new de({idBlock:{tagClass:3,tagNumber:0},value:[new at]}),new de({idBlock:{tagClass:3,tagNumber:1},value:[new De]}),new de({idBlock:{tagClass:3,tagNumber:2},value:Fr.schema().valueBlock.value}),new de({idBlock:{tagClass:3,tagNumber:3},value:Jr.schema().valueBlock.value})]})})]})}fromSchema(e){(0,i.clearProps)(e,["certificates"])
const t=ht(e,e,Gr.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for CertificateSet")
this.certificates=Array.from(t.result.certificates||[],(e=>{const t=e.idBlock.tagNumber
if(1===e.idBlock.tagClass)return new Tr({schema:e})
const r=new De({value:e.valueBlock.value})
switch(t){case 1:return 1===r.valueBlock.value[0].valueBlock.value[0].valueBlock.valueDec?new Fr({schema:r}):new Mr({schema:r})
case 2:return new Fr({schema:r})
case 3:return new Jr({schema:r})}return e}))}toSchema(){return new Me({value:Array.from(this.certificates,(e=>{switch(!0){case e instanceof Tr:return e.toSchema()
case e instanceof Mr:return new de({idBlock:{tagClass:3,tagNumber:1},value:e.toSchema().valueBlock.value})
case e instanceof Fr:return new de({idBlock:{tagClass:3,tagNumber:2},value:e.toSchema().valueBlock.value})
case e instanceof Jr:return new de({idBlock:{tagClass:3,tagNumber:3},value:e.toSchema().valueBlock.value})}return e}))})}toJSON(){return{certificates:Array.from(this.certificates,(e=>e.toJSON()))}}}class Yr{constructor(e={}){this.otherRevInfoFormat=(0,i.getParametersValue)(e,"otherRevInfoFormat",Yr.defaultValues("otherRevInfoFormat")),this.otherRevInfo=(0,i.getParametersValue)(e,"otherRevInfo",Yr.defaultValues("otherRevInfo")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"otherRevInfoFormat":return""
case"otherRevInfo":return new at
default:throw new Error(`Invalid member name for OtherRevocationInfoFormat class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.otherRevInfoFormat||"otherRevInfoFormat"}),new at({name:t.otherRevInfo||"otherRevInfo"})]})}fromSchema(e){(0,i.clearProps)(e,["otherRevInfoFormat","otherRevInfo"])
const t=ht(e,e,Yr.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for OtherRevocationInfoFormat")
this.otherRevInfoFormat=t.result.otherRevInfoFormat.valueBlock.toString(),this.otherRevInfo=t.result.otherRevInfo}toSchema(){return new De({value:[new Pe({value:this.otherRevInfoFormat}),this.otherRevInfo]})}toJSON(){const e={otherRevInfoFormat:this.otherRevInfoFormat}
return this.otherRevInfo instanceof at||(e.otherRevInfo=this.otherRevInfo.toJSON()),e}}class Xr{constructor(e={}){this.crls=(0,i.getParametersValue)(e,"crls",Xr.defaultValues("crls")),this.otherRevocationInfos=(0,i.getParametersValue)(e,"otherRevocationInfos",Xr.defaultValues("otherRevocationInfos")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"crls":case"otherRevocationInfos":return[]
default:throw new Error(`Invalid member name for RevocationInfoChoices class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new Me({name:t.blockName||"",value:[new ct({name:t.crls||"",value:new lt({value:[Hr.schema(),new de({idBlock:{tagClass:3,tagNumber:1},value:[new Pe,new at]})]})})]})}fromSchema(e){(0,i.clearProps)(e,["crls"])
const t=ht(e,e,Xr.schema({names:{crls:"crls"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for RevocationInfoChoices")
for(const r of t.result.crls)1===r.idBlock.tagClass?this.crls.push(new Hr({schema:r})):this.otherRevocationInfos.push(new Yr({schema:r}))}toSchema(){const e=[]
return e.push(...Array.from(this.crls,(e=>e.toSchema()))),e.push(...Array.from(this.otherRevocationInfos,(e=>{const t=e.toSchema()
return t.idBlock.tagClass=3,t.idBlock.tagNumber=1,t}))),new Me({value:e})}toJSON(){return{crls:Array.from(this.crls,(e=>e.toJSON())),otherRevocationInfos:Array.from(this.otherRevocationInfos,(e=>e.toJSON()))}}}class Qr{constructor(e={}){"certs"in e&&(this.certs=(0,i.getParametersValue)(e,"certs",Qr.defaultValues("certs"))),"crls"in e&&(this.crls=(0,i.getParametersValue)(e,"crls",Qr.defaultValues("crls"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"certs":return new Gr
case"crls":return new Xr
default:throw new Error(`Invalid member name for OriginatorInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"certs":return 0===t.certificates.length
case"crls":return 0===t.crls.length&&0===t.otherRevocationInfos.length
default:throw new Error(`Invalid member name for OriginatorInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new de({name:t.certs||"",optional:!0,idBlock:{tagClass:3,tagNumber:0},value:Gr.schema().valueBlock.value}),new de({name:t.crls||"",optional:!0,idBlock:{tagClass:3,tagNumber:1},value:Xr.schema().valueBlock.value})]})}fromSchema(e){(0,i.clearProps)(e,["certs","crls"])
const t=ht(e,e,Qr.schema({names:{certs:"certs",crls:"crls"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for OriginatorInfo")
"certs"in t.result&&(this.certs=new Gr({schema:new Me({value:t.result.certs.valueBlock.value})})),"crls"in t.result&&(this.crls=new Xr({schema:new Me({value:t.result.crls.valueBlock.value})}))}toSchema(){const e=[]
return"certs"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:this.certs.toSchema().valueBlock.value})),"crls"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:1},value:this.crls.toSchema().valueBlock.value})),new De({value:e})}toJSON(){const e={}
return"certs"in this&&(e.certs=this.certs.toJSON()),"crls"in this&&(e.crls=this.crls.toJSON()),e}}class en{constructor(e={}){this.issuer=(0,i.getParametersValue)(e,"issuer",en.defaultValues("issuer")),this.serialNumber=(0,i.getParametersValue)(e,"serialNumber",en.defaultValues("serialNumber")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"issuer":return new Ut
case"serialNumber":return new _e
default:throw new Error(`Invalid member name for IssuerAndSerialNumber class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[Ut.schema(t.issuer||{}),new _e({name:t.serialNumber||""})]})}fromSchema(e){(0,i.clearProps)(e,["issuer","serialNumber"])
const t=ht(e,e,en.schema({names:{issuer:{names:{blockName:"issuer"}},serialNumber:"serialNumber"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for IssuerAndSerialNumber")
this.issuer=new Ut({schema:t.result.issuer}),this.serialNumber=t.result.serialNumber}toSchema(){return new De({value:[this.issuer.toSchema(),this.serialNumber]})}toJSON(){return{issuer:this.issuer.toJSON(),serialNumber:this.serialNumber.toJSON()}}}class tn{constructor(e={}){this.variant=(0,i.getParametersValue)(e,"variant",tn.defaultValues("variant")),"value"in e&&(this.value=(0,i.getParametersValue)(e,"value",tn.defaultValues("value"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"variant":return-1
case"value":return{}
default:throw new Error(`Invalid member name for RecipientIdentifier class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"variant":return-1===t
case"values":return 0===Object.keys(t).length
default:throw new Error(`Invalid member name for RecipientIdentifier class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new lt({value:[en.schema({names:{blockName:t.blockName||""}}),new le({name:t.blockName||"",idBlock:{tagClass:3,tagNumber:0}})]})}fromSchema(e){(0,i.clearProps)(e,["blockName"])
const t=ht(e,e,tn.schema({names:{blockName:"blockName"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for RecipientIdentifier")
1===t.result.blockName.idBlock.tagClass?(this.variant=1,this.value=new en({schema:t.result.blockName})):(this.variant=2,this.value=new be({valueHex:t.result.blockName.valueBlock.valueHex}))}toSchema(){switch(this.variant){case 1:return this.value.toSchema()
case 2:return new le({idBlock:{tagClass:3,tagNumber:0},valueHex:this.value.valueBlock.valueHex})
default:return new at}}toJSON(){const e={variant:this.variant}
return 1!==this.variant&&2!==this.variant||(e.value=this.value.toJSON()),e}}class rn{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",rn.defaultValues("version")),this.rid=(0,i.getParametersValue)(e,"rid",rn.defaultValues("rid")),this.keyEncryptionAlgorithm=(0,i.getParametersValue)(e,"keyEncryptionAlgorithm",rn.defaultValues("keyEncryptionAlgorithm")),this.encryptedKey=(0,i.getParametersValue)(e,"encryptedKey",rn.defaultValues("encryptedKey")),this.recipientCertificate=(0,i.getParametersValue)(e,"recipientCertificate",rn.defaultValues("recipientCertificate")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return-1
case"rid":return{}
case"keyEncryptionAlgorithm":return new dt
case"encryptedKey":return new be
case"recipientCertificate":return new Tr
default:throw new Error(`Invalid member name for KeyTransRecipientInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"version":return t===rn.defaultValues("version")
case"rid":return 0===Object.keys(t).length
case"keyEncryptionAlgorithm":case"encryptedKey":return t.isEqual(rn.defaultValues(e))
case"recipientCertificate":return!1
default:throw new Error(`Invalid member name for KeyTransRecipientInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.version||""}),tn.schema(t.rid||{}),dt.schema(t.keyEncryptionAlgorithm||{}),new be({name:t.encryptedKey||""})]})}fromSchema(e){(0,i.clearProps)(e,["version","rid","keyEncryptionAlgorithm","encryptedKey"])
const t=ht(e,e,rn.schema({names:{version:"version",rid:{names:{blockName:"rid"}},keyEncryptionAlgorithm:{names:{blockName:"keyEncryptionAlgorithm"}},encryptedKey:"encryptedKey"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for KeyTransRecipientInfo")
this.version=t.result.version.valueBlock.valueDec,3===t.result.rid.idBlock.tagClass?this.rid=new be({valueHex:t.result.rid.valueBlock.valueHex}):this.rid=new en({schema:t.result.rid}),this.keyEncryptionAlgorithm=new dt({schema:t.result.keyEncryptionAlgorithm}),this.encryptedKey=t.result.encryptedKey}toSchema(){const e=[]
return this.rid instanceof en?(this.version=0,e.push(new _e({value:this.version})),e.push(this.rid.toSchema())):(this.version=2,e.push(new _e({value:this.version})),e.push(new le({idBlock:{tagClass:3,tagNumber:0},valueHex:this.rid.valueBlock.valueHex}))),e.push(this.keyEncryptionAlgorithm.toSchema()),e.push(this.encryptedKey),new De({value:e})}toJSON(){return{version:this.version,rid:this.rid.toJSON(),keyEncryptionAlgorithm:this.keyEncryptionAlgorithm.toJSON(),encryptedKey:this.encryptedKey.toJSON()}}}class nn{constructor(e={}){this.algorithm=(0,i.getParametersValue)(e,"algorithm",nn.defaultValues("algorithm")),this.publicKey=(0,i.getParametersValue)(e,"publicKey",nn.defaultValues("publicKey")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"algorithm":return new dt
case"publicKey":return new Se
default:throw new Error(`Invalid member name for OriginatorPublicKey class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"algorithm":case"publicKey":return t.isEqual(nn.defaultValues(e))
default:throw new Error(`Invalid member name for OriginatorPublicKey class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[dt.schema(t.algorithm||{}),new Se({name:t.publicKey||""})]})}fromSchema(e){(0,i.clearProps)(e,["algorithm","publicKey"])
const t=ht(e,e,nn.schema({names:{algorithm:{names:{blockName:"algorithm"}},publicKey:"publicKey"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for OriginatorPublicKey")
this.algorithm=new dt({schema:t.result.algorithm}),this.publicKey=t.result.publicKey}toSchema(){return new De({value:[this.algorithm.toSchema(),this.publicKey]})}toJSON(){return{algorithm:this.algorithm.toJSON(),publicKey:this.publicKey.toJSON()}}}class sn{constructor(e={}){this.variant=(0,i.getParametersValue)(e,"variant",sn.defaultValues("variant")),"value"in e&&(this.value=(0,i.getParametersValue)(e,"value",sn.defaultValues("value"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"variant":return-1
case"value":return{}
default:throw new Error(`Invalid member name for OriginatorIdentifierOrKey class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"variant":return-1===t
case"value":return 0===Object.keys(t).length
default:throw new Error(`Invalid member name for OriginatorIdentifierOrKey class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new lt({value:[en.schema({names:{blockName:t.blockName||""}}),new le({idBlock:{tagClass:3,tagNumber:0},name:t.blockName||""}),new de({idBlock:{tagClass:3,tagNumber:1},name:t.blockName||"",value:nn.schema().valueBlock.value})]})}fromSchema(e){(0,i.clearProps)(e,["blockName"])
const t=ht(e,e,sn.schema({names:{blockName:"blockName"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for OriginatorIdentifierOrKey")
1===t.result.blockName.idBlock.tagClass?(this.variant=1,this.value=new en({schema:t.result.blockName})):0===t.result.blockName.idBlock.tagNumber?(t.result.blockName.idBlock.tagClass=1,t.result.blockName.idBlock.tagNumber=4,this.variant=2,this.value=t.result.blockName):(this.variant=3,this.value=new nn({schema:new De({value:t.result.blockName.valueBlock.value})}))}toSchema(){switch(this.variant){case 1:return this.value.toSchema()
case 2:return this.value.idBlock.tagClass=3,this.value.idBlock.tagNumber=0,this.value
case 3:{const e=this.value.toSchema()
return e.idBlock.tagClass=3,e.idBlock.tagNumber=1,e}default:return new at}}toJSON(){const e={variant:this.variant}
return 1!==this.variant&&2!==this.variant&&3!==this.variant||(e.value=this.value.toJSON()),e}}class on{constructor(e={}){this.keyAttrId=(0,i.getParametersValue)(e,"keyAttrId",on.defaultValues("keyAttrId")),"keyAttr"in e&&(this.keyAttr=(0,i.getParametersValue)(e,"keyAttr",on.defaultValues("keyAttr"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"keyAttrId":return""
case"keyAttr":return{}
default:throw new Error(`Invalid member name for OtherKeyAttribute class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"keyAttrId":return""===t
case"keyAttr":return 0===Object.keys(t).length
default:throw new Error(`Invalid member name for OtherKeyAttribute class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({optional:t.optional||!0,name:t.blockName||"",value:[new Pe({name:t.keyAttrId||""}),new at({optional:!0,name:t.keyAttr||""})]})}fromSchema(e){(0,i.clearProps)(e,["keyAttrId","keyAttr"])
const t=ht(e,e,on.schema({names:{keyAttrId:"keyAttrId",keyAttr:"keyAttr"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for OtherKeyAttribute")
this.keyAttrId=t.result.keyAttrId.valueBlock.toString(),"keyAttr"in t.result&&(this.keyAttr=t.result.keyAttr)}toSchema(){const e=[]
return e.push(new Pe({value:this.keyAttrId})),"keyAttr"in this&&e.push(this.keyAttr),new De({value:e})}toJSON(){const e={keyAttrId:this.keyAttrId}
return"keyAttr"in this&&(e.keyAttr=this.keyAttr.toJSON()),e}}class an{constructor(e={}){this.subjectKeyIdentifier=(0,i.getParametersValue)(e,"subjectKeyIdentifier",an.defaultValues("subjectKeyIdentifier")),"date"in e&&(this.date=(0,i.getParametersValue)(e,"date",an.defaultValues("date"))),"other"in e&&(this.other=(0,i.getParametersValue)(e,"other",an.defaultValues("other"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"subjectKeyIdentifier":return new be
case"date":return new tt
case"other":return new on
default:throw new Error(`Invalid member name for RecipientKeyIdentifier class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"subjectKeyIdentifier":return t.isEqual(an.defaultValues("subjectKeyIdentifier"))
case"date":return 0===t.year&&0===t.month&&0===t.day&&0===t.hour&&0===t.minute&&0===t.second&&0===t.millisecond
case"other":return""===t.keyAttrId&&"keyAttr"in t==0
default:throw new Error(`Invalid member name for RecipientKeyIdentifier class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new be({name:t.subjectKeyIdentifier||""}),new tt({optional:!0,name:t.date||""}),on.schema(t.other||{})]})}fromSchema(e){(0,i.clearProps)(e,["subjectKeyIdentifier","date","other"])
const t=ht(e,e,an.schema({names:{subjectKeyIdentifier:"subjectKeyIdentifier",date:"date",other:{names:{blockName:"other"}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for RecipientKeyIdentifier")
this.subjectKeyIdentifier=t.result.subjectKeyIdentifier,"date"in t.result&&(this.date=t.result.date),"other"in t.result&&(this.other=new on({schema:t.result.other}))}toSchema(){const e=[]
return e.push(this.subjectKeyIdentifier),"date"in this&&e.push(this.date),"other"in this&&e.push(this.other.toSchema()),new De({value:e})}toJSON(){const e={subjectKeyIdentifier:this.subjectKeyIdentifier.toJSON()}
return"date"in this&&(e.date=this.date),"other"in this&&(e.other=this.other.toJSON()),e}}class ln{constructor(e={}){this.variant=(0,i.getParametersValue)(e,"variant",ln.defaultValues("variant")),this.value=(0,i.getParametersValue)(e,"value",ln.defaultValues("value")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"variant":return-1
case"value":return{}
default:throw new Error(`Invalid member name for KeyAgreeRecipientIdentifier class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"variant":return-1===t
case"value":return 0===Object.keys(t).length
default:throw new Error(`Invalid member name for KeyAgreeRecipientIdentifier class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new lt({value:[en.schema(t.issuerAndSerialNumber||{names:{blockName:t.blockName||""}}),new de({name:t.blockName||"",idBlock:{tagClass:3,tagNumber:0},value:an.schema(t.rKeyId||{names:{blockName:t.blockName||""}}).valueBlock.value})]})}fromSchema(e){(0,i.clearProps)(e,["blockName"])
const t=ht(e,e,ln.schema({names:{blockName:"blockName"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for KeyAgreeRecipientIdentifier")
1===t.result.blockName.idBlock.tagClass?(this.variant=1,this.value=new en({schema:t.result.blockName})):(this.variant=2,this.value=new an({schema:new De({value:t.result.blockName.valueBlock.value})}))}toSchema(){switch(this.variant){case 1:return this.value.toSchema()
case 2:return new de({idBlock:{tagClass:3,tagNumber:0},value:this.value.toSchema().valueBlock.value})
default:return new at}}toJSON(){const e={variant:this.variant}
return 1!==this.variant&&2!==this.variant||(e.value=this.value.toJSON()),e}}class cn{constructor(e={}){this.rid=(0,i.getParametersValue)(e,"rid",cn.defaultValues("rid")),this.encryptedKey=(0,i.getParametersValue)(e,"encryptedKey",cn.defaultValues("encryptedKey")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"rid":return new ln
case"encryptedKey":return new be
default:throw new Error(`Invalid member name for RecipientEncryptedKey class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"rid":return-1===t.variant&&"value"in t==0
case"encryptedKey":return t.isEqual(cn.defaultValues("encryptedKey"))
default:throw new Error(`Invalid member name for RecipientEncryptedKey class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[ln.schema(t.rid||{}),new be({name:t.encryptedKey||""})]})}fromSchema(e){(0,i.clearProps)(e,["rid","encryptedKey"])
const t=ht(e,e,cn.schema({names:{rid:{names:{blockName:"rid"}},encryptedKey:"encryptedKey"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for RecipientEncryptedKey")
this.rid=new ln({schema:t.result.rid}),this.encryptedKey=t.result.encryptedKey}toSchema(){return new De({value:[this.rid.toSchema(),this.encryptedKey]})}toJSON(){return{rid:this.rid.toJSON(),encryptedKey:this.encryptedKey.toJSON()}}}class un{constructor(e={}){this.encryptedKeys=(0,i.getParametersValue)(e,"encryptedKeys",un.defaultValues("encryptedKeys")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){if("encryptedKeys"===e)return[]
throw new Error(`Invalid member name for RecipientEncryptedKeys class: ${e}`)}static compareWithDefault(e,t){if("encryptedKeys"===e)return 0===t.length
throw new Error(`Invalid member name for RecipientEncryptedKeys class: ${e}`)}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ct({name:t.RecipientEncryptedKeys||"",value:cn.schema()})]})}fromSchema(e){(0,i.clearProps)(e,["RecipientEncryptedKeys"])
const t=ht(e,e,un.schema({names:{RecipientEncryptedKeys:"RecipientEncryptedKeys"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for RecipientEncryptedKeys")
this.encryptedKeys=Array.from(t.result.RecipientEncryptedKeys,(e=>new cn({schema:e})))}toSchema(){return new De({value:Array.from(this.encryptedKeys,(e=>e.toSchema()))})}toJSON(){return{encryptedKeys:Array.from(this.encryptedKeys,(e=>e.toJSON()))}}}class hn{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",hn.defaultValues("version")),this.originator=(0,i.getParametersValue)(e,"originator",hn.defaultValues("originator")),"ukm"in e&&(this.ukm=(0,i.getParametersValue)(e,"ukm",hn.defaultValues("ukm"))),this.keyEncryptionAlgorithm=(0,i.getParametersValue)(e,"keyEncryptionAlgorithm",hn.defaultValues("keyEncryptionAlgorithm")),this.recipientEncryptedKeys=(0,i.getParametersValue)(e,"recipientEncryptedKeys",hn.defaultValues("recipientEncryptedKeys")),this.recipientCertificate=(0,i.getParametersValue)(e,"recipientCertificate",hn.defaultValues("recipientCertificate")),this.recipientPublicKey=(0,i.getParametersValue)(e,"recipientPublicKey",hn.defaultValues("recipientPublicKey")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return 0
case"originator":return new sn
case"ukm":return new be
case"keyEncryptionAlgorithm":return new dt
case"recipientEncryptedKeys":return new un
case"recipientCertificate":return new Tr
case"recipientPublicKey":return null
default:throw new Error(`Invalid member name for KeyAgreeRecipientInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"version":return 0===t
case"originator":return-1===t.variant&&"value"in t==0
case"ukm":return t.isEqual(hn.defaultValues("ukm"))
case"keyEncryptionAlgorithm":return""===t.algorithmId&&"algorithmParams"in t==0
case"recipientEncryptedKeys":return 0===t.encryptedKeys.length
case"recipientCertificate":case"recipientPublicKey":return!1
default:throw new Error(`Invalid member name for KeyAgreeRecipientInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.version||""}),new de({idBlock:{tagClass:3,tagNumber:0},value:[sn.schema(t.originator||{})]}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[new be({name:t.ukm||""})]}),dt.schema(t.keyEncryptionAlgorithm||{}),un.schema(t.recipientEncryptedKeys||{})]})}fromSchema(e){(0,i.clearProps)(e,["version","originator","ukm","keyEncryptionAlgorithm","recipientEncryptedKeys"])
const t=ht(e,e,hn.schema({names:{version:"version",originator:{names:{blockName:"originator"}},ukm:"ukm",keyEncryptionAlgorithm:{names:{blockName:"keyEncryptionAlgorithm"}},recipientEncryptedKeys:{names:{blockName:"recipientEncryptedKeys"}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for KeyAgreeRecipientInfo")
this.version=t.result.version.valueBlock.valueDec,this.originator=new sn({schema:t.result.originator}),"ukm"in t.result&&(this.ukm=t.result.ukm),this.keyEncryptionAlgorithm=new dt({schema:t.result.keyEncryptionAlgorithm}),this.recipientEncryptedKeys=new un({schema:t.result.recipientEncryptedKeys})}toSchema(){const e=[]
return e.push(new _e({value:this.version})),e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:[this.originator.toSchema()]})),"ukm"in this&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[this.ukm]})),e.push(this.keyEncryptionAlgorithm.toSchema()),e.push(this.recipientEncryptedKeys.toSchema()),new De({value:e})}toJSON(){const e={version:this.version,originator:this.originator.toJSON()}
return"ukm"in this&&(e.ukm=this.ukm.toJSON()),e.keyEncryptionAlgorithm=this.keyEncryptionAlgorithm.toJSON(),e.recipientEncryptedKeys=this.recipientEncryptedKeys.toJSON(),e}}class dn{constructor(e={}){this.keyIdentifier=(0,i.getParametersValue)(e,"keyIdentifier",dn.defaultValues("keyIdentifier")),"date"in e&&(this.date=(0,i.getParametersValue)(e,"date",dn.defaultValues("date"))),"other"in e&&(this.other=(0,i.getParametersValue)(e,"other",dn.defaultValues("other"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"keyIdentifier":return new be
case"date":return new tt
case"other":return new on
default:throw new Error(`Invalid member name for KEKIdentifier class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"keyIdentifier":return t.isEqual(dn.defaultValues("keyIdentifier"))
case"date":return 0===t.year&&0===t.month&&0===t.day&&0===t.hour&&0===t.minute&&0===t.second&&0===t.millisecond
case"other":return t.compareWithDefault("keyAttrId",t.keyAttrId)&&"keyAttr"in t==0
default:throw new Error(`Invalid member name for KEKIdentifier class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new be({name:t.keyIdentifier||""}),new tt({optional:!0,name:t.date||""}),on.schema(t.other||{})]})}fromSchema(e){(0,i.clearProps)(e,["keyIdentifier","date","other"])
const t=ht(e,e,dn.schema({names:{keyIdentifier:"keyIdentifier",date:"date",other:{names:{blockName:"other"}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for KEKIdentifier")
this.keyIdentifier=t.result.keyIdentifier,"date"in t.result&&(this.date=t.result.date),"other"in t.result&&(this.other=new on({schema:t.result.other}))}toSchema(){const e=[]
return e.push(this.keyIdentifier),"date"in this&&e.push(this.date),"other"in this&&e.push(this.other.toSchema()),new De({value:e})}toJSON(){const e={keyIdentifier:this.keyIdentifier.toJSON()}
return"date"in this&&(e.date=this.date),"other"in this&&(e.other=this.other.toJSON()),e}}class pn{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",pn.defaultValues("version")),this.kekid=(0,i.getParametersValue)(e,"kekid",pn.defaultValues("kekid")),this.keyEncryptionAlgorithm=(0,i.getParametersValue)(e,"keyEncryptionAlgorithm",pn.defaultValues("keyEncryptionAlgorithm")),this.encryptedKey=(0,i.getParametersValue)(e,"encryptedKey",pn.defaultValues("encryptedKey")),this.preDefinedKEK=(0,i.getParametersValue)(e,"preDefinedKEK",pn.defaultValues("preDefinedKEK")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return 0
case"kekid":return new dn
case"keyEncryptionAlgorithm":return new dt
case"encryptedKey":return new be
case"preDefinedKEK":return new ArrayBuffer(0)
default:throw new Error(`Invalid member name for KEKRecipientInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"KEKRecipientInfo":return t===pn.defaultValues("version")
case"kekid":return t.compareWithDefault("keyIdentifier",t.keyIdentifier)&&"date"in t==0&&"other"in t==0
case"keyEncryptionAlgorithm":return""===t.algorithmId&&"algorithmParams"in t==0
case"encryptedKey":return t.isEqual(pn.defaultValues("encryptedKey"))
case"preDefinedKEK":return 0===t.byteLength
default:throw new Error(`Invalid member name for KEKRecipientInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.version||""}),dn.schema(t.kekid||{}),dt.schema(t.keyEncryptionAlgorithm||{}),new be({name:t.encryptedKey||""})]})}fromSchema(e){(0,i.clearProps)(e,["version","kekid","keyEncryptionAlgorithm","encryptedKey"])
const t=ht(e,e,pn.schema({names:{version:"version",kekid:{names:{blockName:"kekid"}},keyEncryptionAlgorithm:{names:{blockName:"keyEncryptionAlgorithm"}},encryptedKey:"encryptedKey"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for KEKRecipientInfo")
this.version=t.result.version.valueBlock.valueDec,this.kekid=new dn({schema:t.result.kekid}),this.keyEncryptionAlgorithm=new dt({schema:t.result.keyEncryptionAlgorithm}),this.encryptedKey=t.result.encryptedKey}toSchema(){return new De({value:[new _e({value:this.version}),this.kekid.toSchema(),this.keyEncryptionAlgorithm.toSchema(),this.encryptedKey]})}toJSON(){return{version:this.version,kekid:this.kekid.toJSON(),keyEncryptionAlgorithm:this.keyEncryptionAlgorithm.toJSON(),encryptedKey:this.encryptedKey.toJSON()}}}class fn{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",fn.defaultValues("version")),"keyDerivationAlgorithm"in e&&(this.keyDerivationAlgorithm=(0,i.getParametersValue)(e,"keyDerivationAlgorithm",fn.defaultValues("keyDerivationAlgorithm"))),this.keyEncryptionAlgorithm=(0,i.getParametersValue)(e,"keyEncryptionAlgorithm",fn.defaultValues("keyEncryptionAlgorithm")),this.encryptedKey=(0,i.getParametersValue)(e,"encryptedKey",fn.defaultValues("encryptedKey")),this.password=(0,i.getParametersValue)(e,"password",fn.defaultValues("password")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return-1
case"keyDerivationAlgorithm":case"keyEncryptionAlgorithm":return new dt
case"encryptedKey":return new be
case"password":return new ArrayBuffer(0)
default:throw new Error(`Invalid member name for PasswordRecipientinfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"version":return-1===t
case"keyDerivationAlgorithm":case"keyEncryptionAlgorithm":return""===t.algorithmId&&"algorithmParams"in t==0
case"encryptedKey":return t.isEqual(fn.defaultValues("encryptedKey"))
case"password":return 0===t.byteLength
default:throw new Error(`Invalid member name for PasswordRecipientinfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.version||""}),new de({name:t.keyDerivationAlgorithm||"",optional:!0,idBlock:{tagClass:3,tagNumber:0},value:dt.schema().valueBlock.value}),dt.schema(t.keyEncryptionAlgorithm||{}),new be({name:t.encryptedKey||""})]})}fromSchema(e){(0,i.clearProps)(e,["version","keyDerivationAlgorithm","keyEncryptionAlgorithm","encryptedKey"])
const t=ht(e,e,fn.schema({names:{version:"version",keyDerivationAlgorithm:"keyDerivationAlgorithm",keyEncryptionAlgorithm:{names:{blockName:"keyEncryptionAlgorithm"}},encryptedKey:"encryptedKey"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PasswordRecipientinfo")
this.version=t.result.version.valueBlock.valueDec,"keyDerivationAlgorithm"in t.result&&(this.keyDerivationAlgorithm=new dt({schema:new De({value:t.result.keyDerivationAlgorithm.valueBlock.value})})),this.keyEncryptionAlgorithm=new dt({schema:t.result.keyEncryptionAlgorithm}),this.encryptedKey=t.result.encryptedKey}toSchema(){const e=[]
return e.push(new _e({value:this.version})),"keyDerivationAlgorithm"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:this.keyDerivationAlgorithm.toSchema().valueBlock.value})),e.push(this.keyEncryptionAlgorithm.toSchema()),e.push(this.encryptedKey),new De({value:e})}toJSON(){return{version:this.version,keyDerivationAlgorithm:this.keyDerivationAlgorithm.toJSON(),keyEncryptionAlgorithm:this.keyEncryptionAlgorithm.toJSON(),encryptedKey:this.encryptedKey.toJSON()}}}class mn{constructor(e={}){this.oriType=(0,i.getParametersValue)(e,"oriType",mn.defaultValues("oriType")),this.oriValue=(0,i.getParametersValue)(e,"oriValue",mn.defaultValues("oriValue")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"oriType":return""
case"oriValue":return{}
default:throw new Error(`Invalid member name for OtherRecipientInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"oriType":return""===t
case"oriValue":return 0===Object.keys(t).length
default:throw new Error(`Invalid member name for OtherRecipientInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.oriType||""}),new at({name:t.oriValue||""})]})}fromSchema(e){(0,i.clearProps)(e,["oriType","oriValue"])
const t=ht(e,e,mn.schema({names:{oriType:"oriType",oriValue:"oriValue"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for OtherRecipientInfo")
this.oriType=t.result.oriType.valueBlock.toString(),this.oriValue=t.result.oriValue}toSchema(){return new De({value:[new Pe({value:this.oriType}),this.oriValue]})}toJSON(){const e={oriType:this.oriType}
return!1===mn.compareWithDefault("oriValue",this.oriValue)&&(e.oriValue=this.oriValue.toJSON()),e}}class gn{constructor(e={}){this.variant=(0,i.getParametersValue)(e,"variant",gn.defaultValues("variant")),"value"in e&&(this.value=(0,i.getParametersValue)(e,"value",gn.defaultValues("value"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"variant":return-1
case"value":return{}
default:throw new Error(`Invalid member name for RecipientInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"variant":return t===gn.defaultValues(e)
case"value":return 0===Object.keys(t).length
default:throw new Error(`Invalid member name for RecipientInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new lt({value:[rn.schema({names:{blockName:t.blockName||""}}),new de({name:t.blockName||"",idBlock:{tagClass:3,tagNumber:1},value:hn.schema().valueBlock.value}),new de({name:t.blockName||"",idBlock:{tagClass:3,tagNumber:2},value:pn.schema().valueBlock.value}),new de({name:t.blockName||"",idBlock:{tagClass:3,tagNumber:3},value:fn.schema().valueBlock.value}),new de({name:t.blockName||"",idBlock:{tagClass:3,tagNumber:4},value:mn.schema().valueBlock.value})]})}fromSchema(e){(0,i.clearProps)(e,["blockName"])
const t=ht(e,e,gn.schema({names:{blockName:"blockName"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for RecipientInfo")
if(1===t.result.blockName.idBlock.tagClass)this.variant=1,this.value=new rn({schema:t.result.blockName})
else{const e=new De({value:t.result.blockName.valueBlock.value})
switch(t.result.blockName.idBlock.tagNumber){case 1:this.variant=2,this.value=new hn({schema:e})
break
case 2:this.variant=3,this.value=new pn({schema:e})
break
case 3:this.variant=4,this.value=new fn({schema:e})
break
case 4:this.variant=5,this.value=new mn({schema:e})
break
default:throw new Error("Incorrect structure of RecipientInfo block")}}}toSchema(){const e=this.value.toSchema()
switch(this.variant){case 1:return e
case 2:case 3:case 4:return e.idBlock.tagClass=3,e.idBlock.tagNumber=this.variant-1,e
default:return new at}}toJSON(){const e={variant:this.variant}
return this.variant>=1&&this.variant<=4&&(e.value=this.value.toJSON()),e}}class yn{constructor(e={}){this.hashAlgorithm=(0,i.getParametersValue)(e,"hashAlgorithm",yn.defaultValues("hashAlgorithm")),this.maskGenAlgorithm=(0,i.getParametersValue)(e,"maskGenAlgorithm",yn.defaultValues("maskGenAlgorithm")),this.pSourceAlgorithm=(0,i.getParametersValue)(e,"pSourceAlgorithm",yn.defaultValues("pSourceAlgorithm")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"hashAlgorithm":return new dt({algorithmId:"1.3.14.3.2.26",algorithmParams:new me})
case"maskGenAlgorithm":return new dt({algorithmId:"1.2.840.113549.1.1.8",algorithmParams:new dt({algorithmId:"1.3.14.3.2.26",algorithmParams:new me}).toSchema()})
case"pSourceAlgorithm":return new dt({algorithmId:"1.2.840.113549.1.1.9",algorithmParams:new be({valueHex:new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9]).buffer})})
default:throw new Error(`Invalid member name for RSAESOAEPParams class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new de({idBlock:{tagClass:3,tagNumber:0},optional:!0,value:[dt.schema(t.hashAlgorithm||{})]}),new de({idBlock:{tagClass:3,tagNumber:1},optional:!0,value:[dt.schema(t.maskGenAlgorithm||{})]}),new de({idBlock:{tagClass:3,tagNumber:2},optional:!0,value:[dt.schema(t.pSourceAlgorithm||{})]})]})}fromSchema(e){(0,i.clearProps)(e,["hashAlgorithm","maskGenAlgorithm","pSourceAlgorithm"])
const t=ht(e,e,yn.schema({names:{hashAlgorithm:{names:{blockName:"hashAlgorithm"}},maskGenAlgorithm:{names:{blockName:"maskGenAlgorithm"}},pSourceAlgorithm:{names:{blockName:"pSourceAlgorithm"}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for RSAESOAEPParams")
"hashAlgorithm"in t.result&&(this.hashAlgorithm=new dt({schema:t.result.hashAlgorithm})),"maskGenAlgorithm"in t.result&&(this.maskGenAlgorithm=new dt({schema:t.result.maskGenAlgorithm})),"pSourceAlgorithm"in t.result&&(this.pSourceAlgorithm=new dt({schema:t.result.pSourceAlgorithm}))}toSchema(){const e=[]
return this.hashAlgorithm.isEqual(yn.defaultValues("hashAlgorithm"))||e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:[this.hashAlgorithm.toSchema()]})),this.maskGenAlgorithm.isEqual(yn.defaultValues("maskGenAlgorithm"))||e.push(new de({idBlock:{tagClass:3,tagNumber:1},value:[this.maskGenAlgorithm.toSchema()]})),this.pSourceAlgorithm.isEqual(yn.defaultValues("pSourceAlgorithm"))||e.push(new de({idBlock:{tagClass:3,tagNumber:2},value:[this.pSourceAlgorithm.toSchema()]})),new De({value:e})}toJSON(){const e={}
return this.hashAlgorithm.isEqual(yn.defaultValues("hashAlgorithm"))||(e.hashAlgorithm=this.hashAlgorithm.toJSON()),this.maskGenAlgorithm.isEqual(yn.defaultValues("maskGenAlgorithm"))||(e.maskGenAlgorithm=this.maskGenAlgorithm.toJSON()),this.pSourceAlgorithm.isEqual(yn.defaultValues("pSourceAlgorithm"))||(e.pSourceAlgorithm=this.pSourceAlgorithm.toJSON()),e}}class vn{constructor(e={}){this.keyInfo=(0,i.getParametersValue)(e,"keyInfo",vn.defaultValues("keyInfo")),"entityUInfo"in e&&(this.entityUInfo=(0,i.getParametersValue)(e,"entityUInfo",vn.defaultValues("entityUInfo"))),this.suppPubInfo=(0,i.getParametersValue)(e,"suppPubInfo",vn.defaultValues("suppPubInfo")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"keyInfo":return new dt
case"entityUInfo":case"suppPubInfo":return new be
default:throw new Error(`Invalid member name for ECCCMSSharedInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"keyInfo":case"entityUInfo":case"suppPubInfo":return t.isEqual(vn.defaultValues(e))
default:throw new Error(`Invalid member name for ECCCMSSharedInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[dt.schema(t.keyInfo||{}),new de({name:t.entityUInfo||"",idBlock:{tagClass:3,tagNumber:0},optional:!0,value:[new be]}),new de({name:t.suppPubInfo||"",idBlock:{tagClass:3,tagNumber:2},value:[new be]})]})}fromSchema(e){(0,i.clearProps)(e,["keyInfo","entityUInfo","suppPubInfo"])
const t=ht(e,e,vn.schema({names:{keyInfo:{names:{blockName:"keyInfo"}},entityUInfo:"entityUInfo",suppPubInfo:"suppPubInfo"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for ECCCMSSharedInfo")
this.keyInfo=new dt({schema:t.result.keyInfo}),"entityUInfo"in t.result&&(this.entityUInfo=t.result.entityUInfo.valueBlock.value[0]),this.suppPubInfo=t.result.suppPubInfo.valueBlock.value[0]}toSchema(){const e=[]
return e.push(this.keyInfo.toSchema()),"entityUInfo"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:[this.entityUInfo]})),e.push(new de({idBlock:{tagClass:3,tagNumber:2},value:[this.suppPubInfo]})),new De({value:e})}toJSON(){const e={keyInfo:this.keyInfo.toJSON()}
return"entityUInfo"in this&&(e.entityUInfo=this.entityUInfo.toJSON()),e.suppPubInfo=this.suppPubInfo.toJSON(),e}}const bn={kdfAlgorithm:"SHA-512",kekEncryptionLength:256},wn={"P-256":256,"P-384":384,"P-521":528}
class Sn{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",Sn.defaultValues("version")),"originatorInfo"in e&&(this.originatorInfo=(0,i.getParametersValue)(e,"originatorInfo",Sn.defaultValues("originatorInfo"))),this.recipientInfos=(0,i.getParametersValue)(e,"recipientInfos",Sn.defaultValues("recipientInfos")),this.encryptedContentInfo=(0,i.getParametersValue)(e,"encryptedContentInfo",Sn.defaultValues("encryptedContentInfo")),"unprotectedAttrs"in e&&(this.unprotectedAttrs=(0,i.getParametersValue)(e,"unprotectedAttrs",Sn.defaultValues("unprotectedAttrs"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return 0
case"originatorInfo":return new Qr
case"recipientInfos":case"unprotectedAttrs":return[]
case"encryptedContentInfo":return new kt
default:throw new Error(`Invalid member name for EnvelopedData class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"version":return t===Sn.defaultValues(e)
case"originatorInfo":return 0===t.certs.certificates.length&&0===t.crls.crls.length
case"recipientInfos":case"unprotectedAttrs":return 0===t.length
case"encryptedContentInfo":return kt.compareWithDefault("contentType",t.contentType)&&kt.compareWithDefault("contentEncryptionAlgorithm",t.contentEncryptionAlgorithm)&&kt.compareWithDefault("encryptedContent",t.encryptedContent)
default:throw new Error(`Invalid member name for EnvelopedData class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.version||""}),new de({name:t.originatorInfo||"",optional:!0,idBlock:{tagClass:3,tagNumber:0},value:Qr.schema().valueBlock.value}),new Me({value:[new ct({name:t.recipientInfos||"",value:gn.schema()})]}),kt.schema(t.encryptedContentInfo||{}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[new ct({name:t.unprotectedAttrs||"",value:yt.schema()})]})]})}fromSchema(e){(0,i.clearProps)(e,["version","originatorInfo","recipientInfos","encryptedContentInfo","unprotectedAttrs"])
const t=ht(e,e,Sn.schema({names:{version:"version",originatorInfo:"originatorInfo",recipientInfos:"recipientInfos",encryptedContentInfo:{names:{blockName:"encryptedContentInfo"}},unprotectedAttrs:"unprotectedAttrs"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for EnvelopedData")
this.version=t.result.version.valueBlock.valueDec,"originatorInfo"in t.result&&(this.originatorInfo=new Qr({schema:new De({value:t.result.originatorInfo.valueBlock.value})})),this.recipientInfos=Array.from(t.result.recipientInfos,(e=>new gn({schema:e}))),this.encryptedContentInfo=new kt({schema:t.result.encryptedContentInfo}),"unprotectedAttrs"in t.result&&(this.unprotectedAttrs=Array.from(t.result.unprotectedAttrs,(e=>new yt({schema:e}))))}toSchema(){const e=[]
return e.push(new _e({value:this.version})),"originatorInfo"in this&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:this.originatorInfo.toSchema().valueBlock.value})),e.push(new Me({value:Array.from(this.recipientInfos,(e=>e.toSchema()))})),e.push(this.encryptedContentInfo.toSchema()),"unprotectedAttrs"in this&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:Array.from(this.unprotectedAttrs,(e=>e.toSchema()))})),new De({value:e})}toJSON(){const e={version:this.version}
return"originatorInfo"in this&&(e.originatorInfo=this.originatorInfo.toJSON()),e.recipientInfos=Array.from(this.recipientInfos,(e=>e.toJSON())),e.encryptedContentInfo=this.encryptedContentInfo.toJSON(),"unprotectedAttrs"in this&&(e.unprotectedAttrs=Array.from(this.unprotectedAttrs,(e=>e.toJSON()))),e}addRecipientByCertificate(e,t,r){const n=Object.assign({useOAEP:!0,oaepHashAlgorithm:"SHA-512"},bn,t||{})
if(-1!==e.subjectPublicKeyInfo.algorithm.algorithmId.indexOf("1.2.840.113549"))r=1
else{if(-1===e.subjectPublicKeyInfo.algorithm.algorithmId.indexOf("1.2.840.10045"))throw new Error(`Unknown type of certificate's public key: ${e.subjectPublicKeyInfo.algorithm.algorithmId}`)
r=2}switch(r){case 1:{let t,r
if(!0===n.useOAEP){if(t=jt({name:"RSA-OAEP"}),""===t)throw new Error("Can not find OID for RSA-OAEP")
const e=jt({name:n.oaepHashAlgorithm})
if(""===e)throw new Error(`Unknown OAEP hash algorithm: ${n.oaepHashAlgorithm}`)
const i=new dt({algorithmId:e,algorithmParams:new me})
r=new yn({hashAlgorithm:i,maskGenAlgorithm:new dt({algorithmId:"1.2.840.113549.1.1.8",algorithmParams:i.toSchema()})}).toSchema()}else{if(t=jt({name:"RSAES-PKCS1-v1_5"}),""===t)throw new Error("Can not find OID for RSAES-PKCS1-v1_5")
r=new me}const i=new rn({version:0,rid:new en({issuer:e.issuer,serialNumber:e.serialNumber}),keyEncryptionAlgorithm:new dt({algorithmId:t,algorithmParams:r}),recipientCertificate:e})
this.recipientInfos.push(new gn({variant:1,value:i}))}break
case 2:{const t=new ln({variant:1,value:new en({issuer:e.issuer,serialNumber:e.serialNumber})})
this._addKeyAgreeRecipientInfo(t,n,{recipientCertificate:e})}break
default:throw new Error(`Unknown "variant" value: ${r}`)}return!0}addRecipientByPreDefinedData(e,t,r){const n=t||{}
if(e instanceof ArrayBuffer==0)throw new Error('Please pass "preDefinedData" in ArrayBuffer type')
if(0===e.byteLength)throw new Error("Pre-defined data could have zero length")
if("keyIdentifier"in n==0){const e=new ArrayBuffer(16)
It(new Uint8Array(e)),n.keyIdentifier=e}switch("hmacHashAlgorithm"in n==0&&(n.hmacHashAlgorithm="SHA-512"),"iterationCount"in n==0&&(n.iterationCount=2048),"keyEncryptionAlgorithm"in n==0&&(n.keyEncryptionAlgorithm={name:"AES-KW",length:256}),"keyEncryptionAlgorithmParams"in n==0&&(n.keyEncryptionAlgorithmParams=new me),r){case 1:{const t=jt(n.keyEncryptionAlgorithm)
if(""===t)throw new Error('Incorrect value for "keyEncryptionAlgorithm"')
const r=new pn({version:4,kekid:new dn({keyIdentifier:new be({valueHex:n.keyIdentifier})}),keyEncryptionAlgorithm:new dt({algorithmId:t,algorithmParams:n.keyEncryptionAlgorithmParams}),preDefinedKEK:e})
this.recipientInfos.push(new gn({variant:3,value:r}))}break
case 2:{const t=jt({name:"PBKDF2"})
if(""===t)throw new Error("Can not find OID for PBKDF2")
const r=new ArrayBuffer(64)
It(new Uint8Array(r))
const i=jt({name:"HMAC",hash:{name:n.hmacHashAlgorithm}})
if(""===i)throw new Error(`Incorrect value for "hmacHashAlgorithm": ${n.hmacHashAlgorithm}`)
const s=new Et({salt:new be({valueHex:r}),iterationCount:n.iterationCount,prf:new dt({algorithmId:i,algorithmParams:new me})}),o=jt(n.keyEncryptionAlgorithm)
if(""===o)throw new Error('Incorrect value for "keyEncryptionAlgorithm"')
const a=new fn({version:0,keyDerivationAlgorithm:new dt({algorithmId:t,algorithmParams:s.toSchema()}),keyEncryptionAlgorithm:new dt({algorithmId:o,algorithmParams:n.keyEncryptionAlgorithmParams}),password:e})
this.recipientInfos.push(new gn({variant:4,value:a}))}break
default:throw new Error(`Unknown value for "variant": ${r}`)}}addRecipientByKeyIdentifier(e,t,r){const n=Object.assign({},bn,r||{}),i=new ln({variant:2,value:new an({subjectKeyIdentifier:new be({valueHex:t})})})
this._addKeyAgreeRecipientInfo(i,n,{recipientPublicKey:e})}_addKeyAgreeRecipientInfo(e,t,r){const n=new cn({rid:e}),i=jt({name:"AES-KW",length:t.kekEncryptionLength})
if(""===i)throw new Error(`Unknown length for key encryption algorithm: ${t.kekEncryptionLength}`)
const s=new dt({algorithmId:i}),o=jt({name:"ECDH",kdf:t.kdfAlgorithm})
if(""===o)throw new Error(`Unknown KDF algorithm: ${t.kdfAlgorithm}`)
const a=new ArrayBuffer(64)
It(new Uint8Array(a))
const l={version:3,ukm:new be({valueHex:a}),keyEncryptionAlgorithm:new dt({algorithmId:o,algorithmParams:s.toSchema()}),recipientEncryptedKeys:new un({encryptedKeys:[n]})},c=new hn(Object.assign(l,r))
this.recipientInfos.push(new gn({variant:2,value:c}))}encrypt(e,t){let r=Promise.resolve()
const n=new ArrayBuffer(16),i=new Uint8Array(n)
It(i)
const s=new Uint8Array(t)
let o,a,l
const c=[],u=this,h=jt(e)
if(""===h)return Promise.reject('Wrong "contentEncryptionAlgorithm" value')
const d=Tt()
if(void 0===d)return Promise.reject("Unable to create WebCrypto object")
function p(e){let t=Promise.resolve()
const r=u.recipientInfos[e]
let n,i,s,a,l,c
return t=t.then((()=>{if(r.value.recipientPublicKey)return a=r.value.recipientPublicKey.algorithm.namedCurve,r.value.recipientPublicKey
{const t=r.value.recipientCertificate.subjectPublicKeyInfo.algorithm.algorithmParams
if(t.constructor.blockName()!==Pe.blockName())return Promise.reject(`Incorrect "recipientCertificate" for index ${e}`)
switch(t.valueBlock.toString()){case"1.2.840.10045.3.1.7":a="P-256"
break
case"1.3.132.0.34":a="P-384"
break
case"1.3.132.0.35":a="P-521"
break
default:return Promise.reject(`Incorrect curve OID for index ${e}`)}return r.value.recipientCertificate.getPublicKey({algorithm:{algorithm:{name:"ECDH",namedCurve:a},usages:[]}})}}),(e=>Promise.reject(e))),t=t.then((e=>(s=e,l=wn[a],d.generateKey({name:"ECDH",namedCurve:a},!0,["deriveBits"]))),(e=>Promise.reject(e))),t=t.then((e=>(n=e.publicKey,i=e.privateKey,d.exportKey("spki",n))),(e=>Promise.reject(e))),t=t.then((e=>{c=e}),(e=>Promise.reject(e))),t=t.then((()=>d.deriveBits({name:"ECDH",public:s},i,l)),(e=>Promise.reject(e))),t=t.then((e=>{const t=new dt({schema:r.value.keyEncryptionAlgorithm.algorithmParams}),n=Lt(t.algorithmId)
if("name"in n==0)return Promise.reject(`Incorrect OID for key encryption algorithm: ${t.algorithmId}`)
let i=n.length
const s=new ArrayBuffer(4),o=new Uint8Array(s)
for(let r=3;r>=0;r--)o[r]=i,i>>=8
const a=new vn({keyInfo:new dt({algorithmId:t.algorithmId}),entityUInfo:r.value.ukm,suppPubInfo:new be({valueHex:s})}).toSchema().toBER(!1),l=Lt(r.value.keyEncryptionAlgorithm.algorithmId)
return"name"in l==0?Promise.reject(`Incorrect OID for key encryption algorithm: ${r.value.keyEncryptionAlgorithm.algorithmId}`):Vt(l.kdf,e,n.length,a)}),(e=>Promise.reject(e))),t=t.then((e=>d.importKey("raw",e,{name:"AES-KW"},!0,["wrapKey"])),(e=>Promise.reject(e))),t=t.then((e=>d.wrapKey("raw",o,e,{name:"AES-KW"})),(e=>Promise.reject(e))),t=t.then((e=>{const t=ue(c),n=new sn
return n.variant=3,n.value=new nn({schema:t.result}),r.value.originator=n,r.value.recipientEncryptedKeys.encryptedKeys[0].encryptedKey=new be({valueHex:e}),{ecdhPrivateKey:i}}),(e=>Promise.reject(e))),t}async function f(e){const t=Lt(u.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId)
if("name"in t==0)throw new Error(`Unknown keyEncryptionAlgorithm: ${u.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId}`)
if("RSA-OAEP"===t.name){const r=u.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmParams,n=new yn({schema:r})
if(t.hash=Lt(n.hashAlgorithm.algorithmId),"name"in t.hash==0)throw new Error(`Incorrect OID for hash algorithm: ${n.hashAlgorithm.algorithmId}`)}try{const r=await u.recipientInfos[e].value.recipientCertificate.getPublicKey({algorithm:{algorithm:t,usages:["encrypt","wrapKey"]}}),n=await d.encrypt(r.algorithm,r,l)
u.recipientInfos[e].value.encryptedKey=new be({valueHex:n})}catch(e){}}function m(e){let t,r=Promise.resolve()
return r=r.then((()=>(t=Lt(u.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId),"name"in t==0?Promise.reject(`Incorrect OID for "keyEncryptionAlgorithm": ${u.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId}`):d.importKey("raw",new Uint8Array(u.recipientInfos[e].value.preDefinedKEK),t,!0,["wrapKey"]))),(e=>Promise.reject(e))),r=r.then((e=>d.wrapKey("raw",o,e,t)),(e=>Promise.reject(e))),r=r.then((t=>{u.recipientInfos[e].value.encryptedKey=new be({valueHex:t})}),(e=>Promise.reject(e))),r}function g(e){let t,r,n=Promise.resolve()
return n=n.then((()=>{if("keyDerivationAlgorithm"in u.recipientInfos[e].value==0)return Promise.reject('Please append encoded "keyDerivationAlgorithm"')
if("algorithmParams"in u.recipientInfos[e].value.keyDerivationAlgorithm==0)return Promise.reject('Incorrectly encoded "keyDerivationAlgorithm"')
try{t=new Et({schema:u.recipientInfos[e].value.keyDerivationAlgorithm.algorithmParams})}catch(e){return Promise.reject('Incorrectly encoded "keyDerivationAlgorithm"')}return Promise.resolve()}),(e=>Promise.reject(e))),n=n.then((()=>{const t=new Uint8Array(u.recipientInfos[e].value.password)
return d.importKey("raw",t,"PBKDF2",!1,["deriveKey"])}),(e=>Promise.reject(e))),n=n.then((n=>{if(r=Lt(u.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId),"name"in r==0)return Promise.reject(`Incorrect OID for "keyEncryptionAlgorithm": ${u.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId}`)
let i="SHA-1"
if("prf"in t){const e=Lt(t.prf.algorithmId)
if("name"in e==0)return Promise.reject("Incorrect OID for HMAC hash algorithm")
i=e.hash.name}const s=new Uint8Array(t.salt.valueBlock.valueHex),o=t.iterationCount
return d.deriveKey({name:"PBKDF2",hash:{name:i},salt:s,iterations:o},n,r,!0,["wrapKey"])}),(e=>Promise.reject(e))),n=n.then((e=>d.wrapKey("raw",o,e,r)),(e=>Promise.reject(e))),n=n.then((t=>{u.recipientInfos[e].value.encryptedKey=new be({valueHex:t})}),(e=>Promise.reject(e))),n}return r=r.then((()=>d.generateKey(e,!0,["encrypt"]))),r=r.then((t=>(o=t,d.encrypt({name:e.name,iv:i},o,s))),(e=>Promise.reject(e))),r=r.then((e=>(a=e,d.exportKey("raw",o))),(e=>Promise.reject(e))).then((e=>(l=e,!0)),(e=>Promise.reject(e))),r=r.then((()=>{this.version=2,this.encryptedContentInfo=new kt({contentType:"1.2.840.113549.1.7.1",contentEncryptionAlgorithm:new dt({algorithmId:h,algorithmParams:new be({valueHex:n})}),encryptedContent:new be({valueHex:a})})}),(e=>Promise.reject(e))),r=r.then((()=>{for(let e=0;e<this.recipientInfos.length;e++){let t=Promise.resolve()
switch(this.recipientInfos[e].variant){case 1:t=f(e)
break
case 2:t=p(e)
break
case 3:t=m(e)
break
case 4:t=g(e)
break
default:return Promise.reject(`Uknown recipient type in array with index ${e}`)}c.push(t)}return Promise.all(c)}),(e=>Promise.reject(e))),r}decrypt(e,t){let r=Promise.resolve()
const n=t||{},s=this
if(e+1>this.recipientInfos.length)return Promise.reject('Maximum value for "index" is: '+(this.recipientInfos.length-1))
const o=Tt()
return void 0===o?Promise.reject("Unable to create WebCrypto object"):(r=r.then((()=>{let t=Promise.resolve()
switch(this.recipientInfos[e].variant){case 1:t=async function(e){if("recipientPrivateKey"in n==0)throw new Error('Parameter "recipientPrivateKey" is mandatory for "KeyTransRecipientInfo"')
const t=Lt(s.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId)
if("name"in t==0)throw new Error(`Unknown keyEncryptionAlgorithm: ${s.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId}`)
if("RSA-OAEP"===t.name){const r=s.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmParams,n=new yn({schema:r})
if(t.hash=Lt(n.hashAlgorithm.algorithmId),"name"in t.hash==0)throw new Error(`Incorrect OID for hash algorithm: ${n.hashAlgorithm.algorithmId}`)}const r=await o.importKey("pkcs8",n.recipientPrivateKey,t,!0,["decrypt"]),i=await o.decrypt(r.algorithm,r,s.recipientInfos[e].value.encryptedKey.valueBlock.valueHex),a=Lt(s.encryptedContentInfo.contentEncryptionAlgorithm.algorithmId)
if("name"in a==0)throw new Error(`Incorrect "contentEncryptionAlgorithm": ${s.encryptedContentInfo.contentEncryptionAlgorithm.algorithmId}`)
return o.importKey("raw",i,a,!0,["decrypt"])}(e)
break
case 2:t=function(e){let t,r,i,a,l=Promise.resolve()
const c=s.recipientInfos[e].value.originator
function u(t){t=t||!1
const r=new dt({schema:s.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmParams}),n=Lt(r.algorithmId)
if("name"in n==0)return Promise.reject(`Incorrect OID for key encryption algorithm: ${r.algorithmId}`)
let i=n.length
const o=new ArrayBuffer(4),a=new Uint8Array(o)
for(let e=3;e>=0;e--)a[e]=i,i>>=8
const l={algorithmId:r.algorithmId}
t&&(l.algorithmParams=new me)
const c=new vn({keyInfo:new dt(l),entityUInfo:s.recipientInfos[e].value.ukm,suppPubInfo:new be({valueHex:o})}).toSchema().toBER(!1),u=Lt(s.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId)
return"name"in u==0?Promise.reject(`Incorrect OID for key encryption algorithm: ${s.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId}`):Vt(u.kdf,h,n.length,c)}let h
function d(e){return o.importKey("raw",e,{name:"AES-KW"},!0,["unwrapKey"])}function p(t){const r=Lt(s.encryptedContentInfo.contentEncryptionAlgorithm.algorithmId)
return"name"in r==0?Promise.reject(`Incorrect "contentEncryptionAlgorithm": ${s.encryptedContentInfo.contentEncryptionAlgorithm.algorithmId}`):o.unwrapKey("raw",s.recipientInfos[e].value.recipientEncryptedKeys.encryptedKeys[0].encryptedKey.valueBlock.valueHex,t,{name:"AES-KW"},r,!0,["decrypt"])}return l=l.then((()=>{if("recipientCertificate"in n){const t=n.recipientCertificate.subjectPublicKeyInfo.algorithm.algorithmParams
if(t.constructor.blockName()!==Pe.blockName())return Promise.reject(`Incorrect "recipientCertificate" for index ${e}`)
i=t.valueBlock.toString()}else{if(!("algorithmParams"in c.value.algorithm))return Promise.reject('Parameter "recipientCertificate" is mandatory for "KeyAgreeRecipientInfo" if algorithm params are missing from originator')
{const t=c.value.algorithm.algorithmParams
if(t.constructor.blockName()!==Pe.blockName())return Promise.reject(`Incorrect originator for index ${e}`)
i=t.valueBlock.toString()}}if("recipientPrivateKey"in n==0)return Promise.reject('Parameter "recipientPrivateKey" is mandatory for "KeyAgreeRecipientInfo"')
switch(i){case"1.2.840.10045.3.1.7":t="P-256",r=256
break
case"1.3.132.0.34":t="P-384",r=384
break
case"1.3.132.0.35":t="P-521",r=528
break
default:return Promise.reject(`Incorrect curve OID for index ${e}`)}return o.importKey("pkcs8",n.recipientPrivateKey,{name:"ECDH",namedCurve:t},!0,["deriveBits"])}),(e=>Promise.reject(e))),l=l.then((e=>{a=e,"algorithmParams"in c.value.algorithm==0&&(c.value.algorithm.algorithmParams=new Pe({value:i}))
const r=c.value.toSchema().toBER(!1)
return o.importKey("spki",r,{name:"ECDH",namedCurve:t},!0,[])}),(e=>Promise.reject(e))),l=l.then((e=>o.deriveBits({name:"ECDH",public:e},a,r)),(e=>Promise.reject(e))),l=l.then((e=>(h=e,u())),(e=>Promise.reject(e))),l=l.then(d,(e=>Promise.reject(e))),l=l.then((e=>p(e).catch((()=>u(!0).then(d).then(p)))),(e=>Promise.reject(e))),l}(e)
break
case 3:t=function(e){let t,r=Promise.resolve()
return r=r.then((()=>"preDefinedData"in n==0?Promise.reject('Parameter "preDefinedData" is mandatory for "KEKRecipientInfo"'):(t=Lt(s.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId),"name"in t==0?Promise.reject(`Incorrect OID for "keyEncryptionAlgorithm": ${s.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId}`):o.importKey("raw",n.preDefinedData,t,!0,["unwrapKey"]))),(e=>Promise.reject(e))),r=r.then((r=>{const n=Lt(s.encryptedContentInfo.contentEncryptionAlgorithm.algorithmId)
return"name"in n==0?Promise.reject(`Incorrect "contentEncryptionAlgorithm": ${s.encryptedContentInfo.contentEncryptionAlgorithm.algorithmId}`):o.unwrapKey("raw",s.recipientInfos[e].value.encryptedKey.valueBlock.valueHex,r,t,n,!0,["decrypt"])}),(e=>Promise.reject(e))),r}(e)
break
case 4:t=function(e){let t,r,i=Promise.resolve()
return i=i.then((()=>{if("preDefinedData"in n==0)return Promise.reject('Parameter "preDefinedData" is mandatory for "KEKRecipientInfo"')
if("keyDerivationAlgorithm"in s.recipientInfos[e].value==0)return Promise.reject('Please append encoded "keyDerivationAlgorithm"')
if("algorithmParams"in s.recipientInfos[e].value.keyDerivationAlgorithm==0)return Promise.reject('Incorrectly encoded "keyDerivationAlgorithm"')
try{t=new Et({schema:s.recipientInfos[e].value.keyDerivationAlgorithm.algorithmParams})}catch(e){return Promise.reject('Incorrectly encoded "keyDerivationAlgorithm"')}return o.importKey("raw",n.preDefinedData,"PBKDF2",!1,["deriveKey"])}),(e=>Promise.reject(e))),i=i.then((n=>{if(r=Lt(s.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId),"name"in r==0)return Promise.reject(`Incorrect OID for "keyEncryptionAlgorithm": ${s.recipientInfos[e].value.keyEncryptionAlgorithm.algorithmId}`)
let i="SHA-1"
if("prf"in t){const e=Lt(t.prf.algorithmId)
if("name"in e==0)return Promise.reject("Incorrect OID for HMAC hash algorithm")
i=e.hash.name}const a=new Uint8Array(t.salt.valueBlock.valueHex),l=t.iterationCount
return o.deriveKey({name:"PBKDF2",hash:{name:i},salt:a,iterations:l},n,r,!0,["unwrapKey"])}),(e=>Promise.reject(e))),i=i.then((t=>{const n=Lt(s.encryptedContentInfo.contentEncryptionAlgorithm.algorithmId)
return"name"in n==0?Promise.reject(`Incorrect "contentEncryptionAlgorithm": ${s.encryptedContentInfo.contentEncryptionAlgorithm.algorithmId}`):o.unwrapKey("raw",s.recipientInfos[e].value.encryptedKey.valueBlock.valueHex,t,r,n,!0,["decrypt"])}),(e=>Promise.reject(e))),i}(e)
break
default:return Promise.reject(`Uknown recipient type in array with index ${e}`)}return t}),(e=>Promise.reject(e))),r=r.then((e=>{const t=Lt(this.encryptedContentInfo.contentEncryptionAlgorithm.algorithmId)
if("name"in t==0)return Promise.reject(`Incorrect "contentEncryptionAlgorithm": ${this.encryptedContentInfo.contentEncryptionAlgorithm.algorithmId}`)
const r=this.encryptedContentInfo.contentEncryptionAlgorithm.algorithmParams.valueBlock.valueHex,n=new Uint8Array(r)
let s=new ArrayBuffer(0)
if(!1===this.encryptedContentInfo.encryptedContent.idBlock.isConstructed)s=this.encryptedContentInfo.encryptedContent.valueBlock.valueHex
else for(const o of this.encryptedContentInfo.encryptedContent.valueBlock.value)s=(0,i.utilConcatBuf)(s,o.valueBlock.valueHex)
return o.decrypt({name:t.name,iv:n},e,s)}),(e=>Promise.reject(e))),r)}}class kn{constructor(e={}){this.safeContents=(0,i.getParametersValue)(e,"safeContents",kn.defaultValues("safeContents")),"parsedValue"in e&&(this.parsedValue=(0,i.getParametersValue)(e,"parsedValue",kn.defaultValues("parsedValue"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"safeContents":return[]
case"parsedValue":return{}
default:throw new Error(`Invalid member name for AuthenticatedSafe class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"safeContents":return 0===t.length
case"parsedValue":return t instanceof Object&&0===Object.keys(t).length
default:throw new Error(`Invalid member name for AuthenticatedSafe class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new ct({name:t.contentInfos||"",value:Yt.schema()})]})}fromSchema(e){(0,i.clearProps)(e,["contentInfos"])
const t=ht(e,e,kn.schema({names:{contentInfos:"contentInfos"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for AuthenticatedSafe")
this.safeContents=Array.from(t.result.contentInfos,(e=>new Yt({schema:e})))}toSchema(){return new De({value:Array.from(this.safeContents,(e=>e.toSchema()))})}toJSON(){return{safeContents:Array.from(this.safeContents,(e=>e.toJSON()))}}parseInternalValues(e){if(e instanceof Object==0)return Promise.reject('The "parameters" must has "Object" type')
if("safeContents"in e==0)return Promise.reject('Absent mandatory parameter "safeContents"')
if(e.safeContents instanceof Array==0)return Promise.reject('The "parameters.safeContents" must has "Array" type')
if(e.safeContents.length!==this.safeContents.length)return Promise.reject('Length of "parameters.safeContents" must be equal to "this.safeContents.length"')
let t=Promise.resolve()
this.parsedValue={safeContents:[]}
for(const[r,n]of this.safeContents.entries())switch(n.contentType){case"1.2.840.113549.1.7.1":{if(n.content instanceof be==0)return Promise.reject('Wrong type of "this.safeContents[j].content"')
let e=new ArrayBuffer(0)
if(n.content.valueBlock.isConstructed)for(const r of n.content.valueBlock.value)e=(0,i.utilConcatBuf)(e,r.valueBlock.valueHex)
else e=n.content.valueBlock.valueHex
const t=ue(e)
if(-1===t.offset)return Promise.reject('Error during parsing of ASN.1 data inside "content.content"')
this.parsedValue.safeContents.push({privacyMode:0,value:new Zr({schema:t.result})})}break
case"1.2.840.113549.1.7.3":{const i=new Sn({schema:n.content})
if("recipientCertificate"in e.safeContents[r]==0)return Promise.reject('Absent mandatory parameter "recipientCertificate" in "parameters.safeContents[j]"')
const s=e.safeContents[r].recipientCertificate
if("recipientKey"in e.safeContents[r]==0)return Promise.reject('Absent mandatory parameter "recipientKey" in "parameters.safeContents[j]"')
const o=e.safeContents[r].recipientKey
t=t.then((()=>i.decrypt(0,{recipientCertificate:s,recipientPrivateKey:o}))),t=t.then((e=>{const t=ue(e)
return-1===t.offset?Promise.reject("Error during parsing of decrypted data"):(this.parsedValue.safeContents.push({privacyMode:2,value:new Zr({schema:t.result})}),Promise.resolve())}))}break
case"1.2.840.113549.1.7.6":{const i=new Xt({schema:n.content})
if("password"in e.safeContents[r]==0)return Promise.reject('Absent mandatory parameter "password" in "parameters.safeContents[j]"')
const s=e.safeContents[r].password
t=t.then((()=>i.decrypt({password:s})),(e=>Promise.reject(e))),t=t.then((e=>{const t=ue(e)
return-1===t.offset?Promise.reject("Error during parsing of decrypted data"):(this.parsedValue.safeContents.push({privacyMode:1,value:new Zr({schema:t.result})}),Promise.resolve())}),(e=>Promise.reject(e)))}break
default:throw new Error(`Unknown "contentType" for AuthenticatedSafe: " ${n.contentType}`)}return t}makeInternalValues(e){if("parsedValue"in this==0)return Promise.reject('Please run "parseValues" first or add "parsedValue" manually')
if(this.parsedValue instanceof Object==0)return Promise.reject('The "this.parsedValue" must has "Object" type')
if(this.parsedValue.safeContents instanceof Array==0)return Promise.reject('The "this.parsedValue.safeContents" must has "Array" type')
if(e instanceof Object==0)return Promise.reject('The "parameters" must has "Object" type')
if("safeContents"in e==0)return Promise.reject('Absent mandatory parameter "safeContents"')
if(e.safeContents instanceof Array==0)return Promise.reject('The "parameters.safeContents" must has "Array" type')
if(e.safeContents.length!==this.parsedValue.safeContents.length)return Promise.reject('Length of "parameters.safeContents" must be equal to "this.parsedValue.safeContents"')
let t=Promise.resolve()
this.safeContents=[]
for(const[r,n]of this.parsedValue.safeContents.entries()){if("privacyMode"in n==0)return Promise.reject('The "privacyMode" is a mandatory parameter for "content"')
if("value"in n==0)return Promise.reject('The "value" is a mandatory parameter for "content"')
if(n.value instanceof Zr==0)return Promise.reject('The "content.value" must has "SafeContents" type')
switch(n.privacyMode){case 0:{const e=n.value.toSchema().toBER(!1)
t=t.then((()=>{this.safeContents.push(new Yt({contentType:"1.2.840.113549.1.7.1",content:new be({valueHex:e})}))}))}break
case 1:{const i=new Xt,s=e.safeContents[r]
s.contentToEncrypt=n.value.toSchema().toBER(!1),t=t.then((()=>i.encrypt(s)),(e=>Promise.reject(e))),t=t.then((()=>{this.safeContents.push(new Yt({contentType:"1.2.840.113549.1.7.6",content:i.toSchema()}))}),(e=>Promise.reject(e)))}break
case 2:{const i=new Sn,s=n.value.toSchema().toBER(!1)
if("encryptingCertificate"in e.safeContents[r]==0)return Promise.reject('Absent mandatory parameter "encryptingCertificate" in "parameters.safeContents[i]"')
if("encryptionAlgorithm"in e.safeContents[r]==0)return Promise.reject('Absent mandatory parameter "encryptionAlgorithm" in "parameters.safeContents[i]"')
switch(!0){case"aes-cbc"===e.safeContents[r].encryptionAlgorithm.name.toLowerCase():case"aes-gcm"===e.safeContents[r].encryptionAlgorithm.name.toLowerCase():break
default:return Promise.reject(`Incorrect parameter "encryptionAlgorithm" in "parameters.safeContents[i]": ${e.safeContents[r].encryptionAlgorithm}`)}switch(!0){case 128===e.safeContents[r].encryptionAlgorithm.length:case 192===e.safeContents[r].encryptionAlgorithm.length:case 256===e.safeContents[r].encryptionAlgorithm.length:break
default:return Promise.reject(`Incorrect parameter "encryptionAlgorithm.length" in "parameters.safeContents[i]": ${e.safeContents[r].encryptionAlgorithm.length}`)}const o=e.safeContents[r].encryptionAlgorithm
i.addRecipientByCertificate(e.safeContents[r].encryptingCertificate),t=t.then((()=>i.encrypt(o,s))),t=t.then((()=>{this.safeContents.push(new Yt({contentType:"1.2.840.113549.1.7.3",content:i.toSchema()}))}))}break
default:return Promise.reject(`Incorrect value for "content.privacyMode": ${n.privacyMode}`)}}return t.then((()=>this),(e=>Promise.reject(`Error during parsing: ${e}`)))}}class xn{constructor(e={}){this.hashAlgorithm=(0,i.getParametersValue)(e,"hashAlgorithm",xn.defaultValues("hashAlgorithm")),this.issuerNameHash=(0,i.getParametersValue)(e,"issuerNameHash",xn.defaultValues("issuerNameHash")),this.issuerKeyHash=(0,i.getParametersValue)(e,"issuerKeyHash",xn.defaultValues("issuerKeyHash")),this.serialNumber=(0,i.getParametersValue)(e,"serialNumber",xn.defaultValues("serialNumber")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"hashAlgorithm":return new dt
case"issuerNameHash":case"issuerKeyHash":return new be
case"serialNumber":return new _e
default:throw new Error(`Invalid member name for CertID class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"hashAlgorithm":return""===t.algorithmId&&"algorithmParams"in t==0
case"issuerNameHash":case"issuerKeyHash":case"serialNumber":return t.isEqual(xn.defaultValues(e))
default:throw new Error(`Invalid member name for CertID class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[dt.schema(t.hashAlgorithmObject||{names:{blockName:t.hashAlgorithm||""}}),new be({name:t.issuerNameHash||""}),new be({name:t.issuerKeyHash||""}),new _e({name:t.serialNumber||""})]})}fromSchema(e){(0,i.clearProps)(e,["hashAlgorithm","issuerNameHash","issuerKeyHash","serialNumber"])
const t=ht(e,e,xn.schema({names:{hashAlgorithm:"hashAlgorithm",issuerNameHash:"issuerNameHash",issuerKeyHash:"issuerKeyHash",serialNumber:"serialNumber"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for CertID")
this.hashAlgorithm=new dt({schema:t.result.hashAlgorithm}),this.issuerNameHash=t.result.issuerNameHash,this.issuerKeyHash=t.result.issuerKeyHash,this.serialNumber=t.result.serialNumber}toSchema(){return new De({value:[this.hashAlgorithm.toSchema(),this.issuerNameHash,this.issuerKeyHash,this.serialNumber]})}toJSON(){return{hashAlgorithm:this.hashAlgorithm.toJSON(),issuerNameHash:this.issuerNameHash.toJSON(),issuerKeyHash:this.issuerKeyHash.toJSON(),serialNumber:this.serialNumber.toJSON()}}isEqual(e){return!this.hashAlgorithm.algorithmId!==e.hashAlgorithm.algorithmId&&!1!==(0,i.isEqualBuffer)(this.issuerNameHash.valueBlock.valueHex,e.issuerNameHash.valueBlock.valueHex)&&!1!==(0,i.isEqualBuffer)(this.issuerKeyHash.valueBlock.valueHex,e.issuerKeyHash.valueBlock.valueHex)&&!!this.serialNumber.isEqual(e.serialNumber)}createForCertificate(e,t){let r,n=Promise.resolve()
const i=Tt()
if(void 0===i)return Promise.reject("Unable to create WebCrypto object")
if("hashAlgorithm"in t==0)return Promise.reject('Parameter "hashAlgorithm" is mandatory for "OCSP_REQUEST.createForCertificate"')
const s=jt({name:t.hashAlgorithm})
return""===s?Promise.reject(`Incorrect "hashAlgorithm": ${this.hashAlgorithm}`):(this.hashAlgorithm=new dt({algorithmId:s,algorithmParams:new me}),"issuerCertificate"in t?(r=t.issuerCertificate,this.serialNumber=e.serialNumber,n=n.then((()=>i.digest({name:t.hashAlgorithm},r.subject.toSchema().toBER(!1))),(e=>Promise.reject(e))),n=n.then((e=>{this.issuerNameHash=new be({valueHex:e})
const n=r.subjectPublicKeyInfo.subjectPublicKey.valueBlock.valueHex
return i.digest({name:t.hashAlgorithm},n)}),(e=>Promise.reject(e))).then((e=>{this.issuerKeyHash=new be({valueHex:e})}),(e=>Promise.reject(e))),n):Promise.reject('Parameter "issuerCertificate" is mandatory for "OCSP_REQUEST.createForCertificate"'))}}class En{constructor(e={}){this.certID=(0,i.getParametersValue)(e,"certID",En.defaultValues("certID")),this.certStatus=(0,i.getParametersValue)(e,"certStatus",En.defaultValues("certStatus")),this.thisUpdate=(0,i.getParametersValue)(e,"thisUpdate",En.defaultValues("thisUpdate")),"nextUpdate"in e&&(this.nextUpdate=(0,i.getParametersValue)(e,"nextUpdate",En.defaultValues("nextUpdate"))),"singleExtensions"in e&&(this.singleExtensions=(0,i.getParametersValue)(e,"singleExtensions",En.defaultValues("singleExtensions"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"certID":return new xn
case"certStatus":return{}
case"thisUpdate":case"nextUpdate":return new Date(0,0,0)
case"singleExtensions":return[]
default:throw new Error(`Invalid member name for SingleResponse class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"certID":return xn.compareWithDefault("hashAlgorithm",t.hashAlgorithm)&&xn.compareWithDefault("issuerNameHash",t.issuerNameHash)&&xn.compareWithDefault("issuerKeyHash",t.issuerKeyHash)&&xn.compareWithDefault("serialNumber",t.serialNumber)
case"certStatus":return 0===Object.keys(t).length
case"thisUpdate":case"nextUpdate":return t===En.defaultValues(e)
default:throw new Error(`Invalid member name for SingleResponse class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[xn.schema(t.certID||{}),new lt({value:[new le({name:t.certStatus||"",idBlock:{tagClass:3,tagNumber:0},lenBlockLength:1}),new de({name:t.certStatus||"",idBlock:{tagClass:3,tagNumber:1},value:[new tt,new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new Ce]})]}),new le({name:t.certStatus||"",idBlock:{tagClass:3,tagNumber:2},lenBlock:{length:1}})]}),new tt({name:t.thisUpdate||""}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new tt({name:t.nextUpdate||""})]}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[Or.schema(t.singleExtensions||{})]})]})}fromSchema(e){(0,i.clearProps)(e,["certID","certStatus","thisUpdate","nextUpdate","singleExtensions"])
const t=ht(e,e,En.schema({names:{certID:{names:{blockName:"certID"}},certStatus:"certStatus",thisUpdate:"thisUpdate",nextUpdate:"nextUpdate",singleExtensions:{names:{blockName:"singleExtensions"}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for SingleResponse")
this.certID=new xn({schema:t.result.certID}),this.certStatus=t.result.certStatus,this.thisUpdate=t.result.thisUpdate.toDate(),"nextUpdate"in t.result&&(this.nextUpdate=t.result.nextUpdate.toDate()),"singleExtensions"in t.result&&(this.singleExtensions=Array.from(t.result.singleExtensions.valueBlock.value,(e=>new Ar({schema:e}))))}toSchema(){const e=[]
return e.push(this.certID.toSchema()),e.push(this.certStatus),e.push(new tt({valueDate:this.thisUpdate})),"nextUpdate"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:[new tt({valueDate:this.nextUpdate})]})),"singleExtensions"in this&&e.push(new De({value:Array.from(this.singleExtensions,(e=>e.toSchema()))})),new De({value:e})}toJSON(){const e={certID:this.certID.toJSON(),certStatus:this.certStatus.toJSON(),thisUpdate:this.thisUpdate}
return"nextUpdate"in this&&(e.nextUpdate=this.nextUpdate),"singleExtensions"in this&&(e.singleExtensions=Array.from(this.singleExtensions,(e=>e.toJSON()))),e}}class Nn{constructor(e={}){this.tbs=(0,i.getParametersValue)(e,"tbs",Nn.defaultValues("tbs")),this.responderID=(0,i.getParametersValue)(e,"responderID",Nn.defaultValues("responderID")),this.producedAt=(0,i.getParametersValue)(e,"producedAt",Nn.defaultValues("producedAt")),this.responses=(0,i.getParametersValue)(e,"responses",Nn.defaultValues("responses")),"responseExtensions"in e&&(this.responseExtensions=(0,i.getParametersValue)(e,"responseExtensions",Nn.defaultValues("responseExtensions"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"tbs":return new ArrayBuffer(0)
case"responderID":return{}
case"producedAt":return new Date(0,0,0)
case"responses":case"responseExtensions":return[]
default:throw new Error(`Invalid member name for ResponseData class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"tbs":return 0===t.byteLength
case"responderID":return 0===Object.keys(t).length
case"producedAt":return t===Nn.defaultValues(e)
case"responses":case"responseExtensions":return 0===t.length
default:throw new Error(`Invalid member name for ResponseData class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"ResponseData",value:[new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new _e({name:t.version||"ResponseData.version"})]}),new lt({value:[new de({name:t.responderID||"ResponseData.responderID",idBlock:{tagClass:3,tagNumber:1},value:[Ut.schema(t.ResponseDataByName||{names:{blockName:"ResponseData.byName"}})]}),new de({name:t.responderID||"ResponseData.responderID",idBlock:{tagClass:3,tagNumber:2},value:[new be({name:t.ResponseDataByKey||"ResponseData.byKey"})]})]}),new tt({name:t.producedAt||"ResponseData.producedAt"}),new De({value:[new ct({name:"ResponseData.responses",value:En.schema(t.response||{})})]}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[Or.schema(t.extensions||{names:{blockName:"ResponseData.responseExtensions"}})]})]})}fromSchema(e){(0,i.clearProps)(e,["ResponseData","ResponseData.version","ResponseData.responderID","ResponseData.producedAt","ResponseData.responses","ResponseData.responseExtensions"])
const t=ht(e,e,Nn.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for ResponseData")
this.tbs=t.result.ResponseData.valueBeforeDecode,"ResponseData.version"in t.result&&(this.version=t.result["ResponseData.version"].valueBlock.valueDec),1===t.result["ResponseData.responderID"].idBlock.tagNumber?this.responderID=new Ut({schema:t.result["ResponseData.responderID"].valueBlock.value[0]}):this.responderID=t.result["ResponseData.responderID"].valueBlock.value[0],this.producedAt=t.result["ResponseData.producedAt"].toDate(),this.responses=Array.from(t.result["ResponseData.responses"],(e=>new En({schema:e}))),"ResponseData.responseExtensions"in t.result&&(this.responseExtensions=Array.from(t.result["ResponseData.responseExtensions"].valueBlock.value,(e=>new Ar({schema:e}))))}toSchema(e=!1){let t
if(!1===e){if(0===this.tbs.length)return Nn.schema()
t=ue(this.tbs).result}else{const e=[]
"version"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:[new _e({value:this.version})]})),this.responderID instanceof Ut?e.push(new de({idBlock:{tagClass:3,tagNumber:1},value:[this.responderID.toSchema()]})):e.push(new de({idBlock:{tagClass:3,tagNumber:2},value:[this.responderID]})),e.push(new tt({valueDate:this.producedAt})),e.push(new De({value:Array.from(this.responses,(e=>e.toSchema()))})),"responseExtensions"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:1},value:[new De({value:Array.from(this.responseExtensions,(e=>e.toSchema()))})]})),t=new De({value:e})}return t}toJSON(){const e={}
return"version"in this&&(e.version=this.version),"responderID"in this&&(e.responderID=this.responderID),"producedAt"in this&&(e.producedAt=this.producedAt),"responses"in this&&(e.responses=Array.from(this.responses,(e=>e.toJSON()))),"responseExtensions"in this&&(e.responseExtensions=Array.from(this.responseExtensions,(e=>e.toJSON()))),e}}class _n{constructor(e={}){this.trustedCerts=(0,i.getParametersValue)(e,"trustedCerts",this.defaultValues("trustedCerts")),this.certs=(0,i.getParametersValue)(e,"certs",this.defaultValues("certs")),this.crls=(0,i.getParametersValue)(e,"crls",this.defaultValues("crls")),this.ocsps=(0,i.getParametersValue)(e,"ocsps",this.defaultValues("ocsps")),this.checkDate=(0,i.getParametersValue)(e,"checkDate",this.defaultValues("checkDate")),this.findOrigin=(0,i.getParametersValue)(e,"findOrigin",this.defaultValues("findOrigin")),this.findIssuer=(0,i.getParametersValue)(e,"findIssuer",this.defaultValues("findIssuer"))}static defaultFindOrigin(e,t){0===e.tbs.byteLength&&(e.tbs=e.encodeTBS())
for(const r of t.certs)if(0===r.tbs.byteLength&&(r.tbs=r.encodeTBS()),(0,i.isEqualBuffer)(e.tbs,r.tbs))return"Intermediate Certificates"
for(const r of t.trustedCerts)if(0===r.tbs.byteLength&&(r.tbs=r.encodeTBS()),(0,i.isEqualBuffer)(e.tbs,r.tbs))return"Trusted Certificates"
return"Unknown"}async defaultFindIssuer(e,t){let r=[],n=null,s=null,o=null
if(e.subject.isEqual(e.issuer))try{if(!0===await e.verify())return[e]}catch(e){}if("extensions"in e)for(const i of e.extensions)if("2.5.29.35"===i.extnID){"keyIdentifier"in i.parsedValue?n=i.parsedValue.keyIdentifier:("authorityCertIssuer"in i.parsedValue&&(s=i.parsedValue.authorityCertIssuer),"authorityCertSerialNumber"in i.parsedValue&&(o=i.parsedValue.authorityCertSerialNumber))
break}function a(t){if(null!==n&&"extensions"in t){let e=!1
for(const s of t.extensions)if("2.5.29.14"===s.extnID){e=!0,(0,i.isEqualBuffer)(s.parsedValue.valueBlock.valueHex,n.valueBlock.valueHex)&&r.push(t)
break}if(e)return}let a=!1
null!==o&&(a=t.serialNumber.isEqual(o)),null!==s?t.subject.isEqual(s)&&a&&r.push(t):e.issuer.isEqual(t.subject)&&r.push(t)}for(const i of t.trustedCerts)a(i)
for(const i of t.certs)a(i)
for(let i=0;i<r.length;i++)try{!1===await e.verify(r[i])&&r.splice(i,1)}catch(e){r.splice(i,1)}return r}defaultValues(e){switch(e){case"trustedCerts":case"certs":case"crls":case"ocsps":return[]
case"checkDate":return new Date
case"findOrigin":return _n.defaultFindOrigin
case"findIssuer":return this.defaultFindIssuer
default:throw new Error(`Invalid member name for CertificateChainValidationEngine class: ${e}`)}}async sort(e=!1){const t=[],r=this
async function n(e){const n=[],i=[],s=[]
if(n.push(...t.filter((t=>e.issuer.isEqual(t.subject)))),0===n.length)return{status:1,statusMessage:"No certificate's issuers"}
if(i.push(...r.crls.filter((t=>t.issuer.isEqual(e.issuer)))),0===i.length)return{status:2,statusMessage:"No CRLs for specific certificate issuer"}
for(let t=0;t<i.length;t++)if(!(i[t].nextUpdate.value<r.checkDate))for(let r=0;r<n.length;r++)try{if(await i[t].verify({issuerCertificate:n[r]})){s.push({crl:i[t],certificate:n[r]})
break}}catch(e){}return s.length?{status:0,statusMessage:"",result:s}:{status:3,statusMessage:"No valid CRLs found"}}async function s(e,t){const n=Lt(e.signatureAlgorithm.algorithmId)
if("name"in n==0)return 1
if("hash"in n==0)return 1
for(let i=0;i<r.ocsps.length;i++){const n=await r.ocsps[i].getCertificateStatus(e,t)
if(n.isForCertificate)return 0===n.status?0:1}return 2}async function o(e,t=!1){let r=!1,n=!1,i=!1,s=!1
if("extensions"in e){for(let t=0;t<e.extensions.length;t++){if(!0===e.extensions[t].critical&&"parsedValue"in e.extensions[t]==0)return{result:!1,resultCode:6,resultMessage:`Unable to parse critical certificate extension: ${e.extensions[t].extnID}`}
if("2.5.29.15"===e.extensions[t].extnID){i=!0
const r=new Uint8Array(e.extensions[t].parsedValue.valueBlock.valueHex)
4&~r[0]||(n=!0),2&~r[0]||(s=!0)}"2.5.29.19"===e.extensions[t].extnID&&"cA"in e.extensions[t].parsedValue&&!0===e.extensions[t].parsedValue.cA&&(r=!0)}if(!0===n&&!1===r)return{result:!1,resultCode:3,resultMessage:'Unable to build certificate chain - using "keyCertSign" flag set without BasicConstaints'}
if(!0===i&&!0===r&&!1===n)return{result:!1,resultCode:4,resultMessage:'Unable to build certificate chain - "keyCertSign" flag was not set'}
if(!0===r&&!0===i&&t&&!1===s)return{result:!1,resultCode:5,resultMessage:'Unable to build certificate chain - intermediate certificate must have "cRLSign" key usage flag'}}return!1===r?{result:!1,resultCode:7,resultMessage:"Unable to build certificate chain - more than one possible end-user certificate"}:{result:!0,resultCode:0,resultMessage:""}}t.push(...r.trustedCerts),t.push(...r.certs)
for(let h=0;h<t.length;h++)for(let e=0;e<t.length;e++)if(h!==e&&(0,i.isEqualBuffer)(t[h].tbs,t[e].tbs)){t.splice(e,1),h=0
break}let a
const l=[t[t.length-1]]
if(a=await async function e(t){const n=[]
function s(e){let t=!0
for(let r=0;r<e.length;r++){for(let n=0;n<e.length;n++)if(n!==r&&e[r]===e[n]){t=!1
break}if(!t)break}return t}const o=await r.findIssuer(t,r)
if(0===o.length)throw new Error("No valid certificate paths found")
for(let r=0;r<o.length;r++){if((0,i.isEqualBuffer)(o[r].tbs,t.tbs)){n.push([o[r]])
continue}const a=await e(o[r])
for(let e=0;e<a.length;e++){const t=a[e].slice()
t.splice(0,0,o[r]),s(t)?n.push(t):n.push(a[e])}}return n}(t[t.length-1]),0===a.length)return{result:!1,resultCode:60,resultMessage:"Unable to find certificate path"}
for(let h=0;h<a.length;h++){let e=!1
for(let t=0;t<a[h].length;t++){const n=a[h][t]
for(let t=0;t<r.trustedCerts.length;t++)if((0,i.isEqualBuffer)(n.tbs,r.trustedCerts[t].tbs)){e=!0
break}if(e)break}e||(a.splice(h,1),h=0)}if(0===a.length)throw{result:!1,resultCode:97,resultMessage:"No valid certificate paths found"}
let c=a[0].length,u=0
for(let i=0;i<a.length;i++)a[i].length<c&&(c=a[i].length,u=i)
for(let i=0;i<a[u].length;i++)l.push(a[u][i])
if(a=await async function(t,i){for(let e=0;e<t.length;e++)if(t[e].notBefore.value>i||t[e].notAfter.value<i)return{result:!1,resultCode:8,resultMessage:"The certificate is either not yet valid or expired"}
if(t.length<2)return{result:!1,resultCode:9,resultMessage:"Too short certificate path"}
for(let e=t.length-2;e>=0;e--)if(!1===t[e].issuer.isEqual(t[e].subject)&&!1===t[e].issuer.isEqual(t[e+1].subject))return{result:!1,resultCode:10,resultMessage:"Incorrect name chaining"}
if(0!==r.crls.length||0!==r.ocsps.length)for(let a=0;a<t.length-1;a++){let i=2,l={status:0,statusMessage:""}
if(0!==r.ocsps.length)switch(i=await s(t[a],t[a+1]),i){case 0:continue
case 1:return{result:!1,resultCode:12,resultMessage:"One of certificates was revoked via OCSP response"}}if(0!==r.crls.length){if(l=await n(t[a]),0===l.status)for(let e=0;e<l.result.length;e++){if(l.result[e].crl.isCertificateRevoked(t[a]))return{result:!1,resultCode:12,resultMessage:"One of certificates had been revoked"}
if(!1===(await o(l.result[e].certificate,!0)).result)return{result:!1,resultCode:13,resultMessage:"CRL issuer certificate is not a CA certificate or does not have crlSign flag"}}else if(!1===e)throw{result:!1,resultCode:11,resultMessage:`No revocation values found for one of certificates: ${l.statusMessage}`}}else if(2===i)return{result:!1,resultCode:11,resultMessage:"No revocation values found for one of certificates"}
if(2===i&&2===l.status&&e){const e=t[a+1]
let r=!1
if("extensions"in e)for(const t of e.extensions)switch(t.extnID){case"2.5.29.31":case"2.5.29.46":case"1.3.6.1.5.5.7.1.1":r=!0}if(r)throw{result:!1,resultCode:11,resultMessage:`No revocation values found for one of certificates: ${l.statusMessage}`}}}for(let e=1;e<t.length;e++)if(!1===(await o(t[e])).result)return{result:!1,resultCode:14,resultMessage:"One of intermediate certificates is not a CA certificate"}
return{result:!0}}(l,r.checkDate),!1===a.result)throw a
return l}async verify(e={}){function t(e,t){const r=Bt(e),n=Bt(t),i=r.split("."),s=n.split("."),o=i.length,a=s.length
if(0===o||0===a||o<a)return!1
for(let l=0;l<o;l++)if(0===i[l].length)return!1
for(let l=0;l<a;l++)if(0===s[l].length){if(0===l){if(1===a)return!1
continue}return!1}for(let l=0;l<a;l++)if(0!==s[a-1-l].length&&0!==i[o-1-l].localeCompare(s[a-1-l]))return!1
return!0}function r(e,r){const n=Bt(e),i=Bt(r),s=n.split("@"),o=i.split("@")
if(0===s.length||0===o.length||s.length<o.length)return!1
if(1===o.length){if(t(s[1],o[0])){const e=s[1].split("."),t=o[0].split(".")
return 0===t[0].length||e.length===t.length}return!1}return 0===n.localeCompare(i)}function n(e,r){let n=Bt(e)
const i=Bt(r),s=n.split("/")
if(i.split("/").length>1)return!1
if(s.length>1)for(let t=0;t<s.length;t++)if(s[t].length>0&&":"!==s[t].charAt(s[t].length-1)){n=s[t].split(":")[0]
break}if(t(n,i)){const e=n.split("."),t=i.split(".")
return 0===t[0].length||e.length===t.length}return!1}function i(e,t){const r=new Uint8Array(e.valueBlock.valueHex),n=new Uint8Array(t.valueBlock.valueHex)
if(4===r.length&&8===n.length){for(let e=0;e<4;e++)if((r[e]^n[e])&n[e+4])return!1
return!0}if(16===r.length&&32===n.length){for(let e=0;e<16;e++)if((r[e]^n[e])&n[e+16])return!1
return!0}return!1}function s(e,t){if(0===e.typesAndValues.length||0===t.typesAndValues.length)return!0
if(e.typesAndValues.length<t.typesAndValues.length)return!1
let r=!0,n=0
for(let i=0;i<t.typesAndValues.length;i++){let s=!1
for(let o=n;o<e.typesAndValues.length;o++)if(s=e.typesAndValues[o].isEqual(t.typesAndValues[i]),e.typesAndValues[o].type===t.typesAndValues[i].type&&(r=r&&s),!0===s){if(0===n||n===o){n=o+1
break}return!1}if(!1===s)return!1}return 0!==n&&r}try{if(0===this.certs.length)throw"Empty certificate array"
let o=!1
"passedWhenNotRevValues"in e&&(o=e.passedWhenNotRevValues)
let a=[]
a.push("2.5.29.32.0")
let l=!1,c=!1,u=!1,h=[],d=[],p=[]
"initialPolicySet"in e&&(a=e.initialPolicySet),"initialExplicitPolicy"in e&&(l=e.initialExplicitPolicy),"initialPolicyMappingInhibit"in e&&(c=e.initialPolicyMappingInhibit),"initialInhibitPolicy"in e&&(u=e.initialInhibitPolicy),"initialPermittedSubtreesSet"in e&&(h=e.initialPermittedSubtreesSet),"initialExcludedSubtreesSet"in e&&(d=e.initialExcludedSubtreesSet),"initialRequiredNameForms"in e&&(p=e.initialRequiredNameForms)
let f=l,m=c,g=u
const y=new Array(3)
y[0]=!1,y[1]=!1,y[2]=!1
let v=0,b=0,w=0,S=h,k=d
const x=p
let E=1
this.certs=await this.sort(o)
const N=[]
N.push("2.5.29.32.0")
const _=[],C=new Array(this.certs.length-1)
for(let e=0;e<this.certs.length-1;e++)C[e]=!0
_.push(C)
const A=new Array(this.certs.length-1),O=new Array(this.certs.length-1)
let P=f?this.certs.length-1:-1
for(let e=this.certs.length-2;e>=0;e--,E++)if("extensions"in this.certs[e]){for(let t=0;t<this.certs[e].extensions.length;t++){if("2.5.29.32"===this.certs[e].extensions[t].extnID){O[e]=this.certs[e].extensions[t].parsedValue
for(let t=0;t<N.length;t++)if("2.5.29.32.0"===N[t]){delete _[t][e]
break}for(let r=0;r<this.certs[e].extensions[t].parsedValue.certificatePolicies.length;r++){let n=-1
for(let i=0;i<N.length;i++)if(this.certs[e].extensions[t].parsedValue.certificatePolicies[r].policyIdentifier===N[i]){n=i
break}if(-1===n){N.push(this.certs[e].extensions[t].parsedValue.certificatePolicies[r].policyIdentifier)
const n=new Array(this.certs.length-1)
n[e]=!0,_.push(n)}else _[n][e]=!0}}if("2.5.29.33"===this.certs[e].extensions[t].extnID){if(m)return{result:!1,resultCode:98,resultMessage:"Policy mapping prohibited"}
A[e]=this.certs[e].extensions[t].parsedValue}"2.5.29.36"===this.certs[e].extensions[t].extnID&&!1===f&&(0===this.certs[e].extensions[t].parsedValue.requireExplicitPolicy?(f=!0,P=e):!1===y[0]?(y[0]=!0,v=this.certs[e].extensions[t].parsedValue.requireExplicitPolicy):v=v>this.certs[e].extensions[t].parsedValue.requireExplicitPolicy?this.certs[e].extensions[t].parsedValue.requireExplicitPolicy:v,0===this.certs[e].extensions[t].parsedValue.inhibitPolicyMapping?m=!0:!1===y[1]?(y[1]=!0,b=this.certs[e].extensions[t].parsedValue.inhibitPolicyMapping+1):b=b>this.certs[e].extensions[t].parsedValue.inhibitPolicyMapping+1?this.certs[e].extensions[t].parsedValue.inhibitPolicyMapping+1:b),"2.5.29.54"===this.certs[e].extensions[t].extnID&&!1===g&&(0===this.certs[e].extensions[t].parsedValue.valueBlock.valueDec?g=!0:!1===y[2]?(y[2]=!0,w=this.certs[e].extensions[t].parsedValue.valueBlock.valueDec):w=w>this.certs[e].extensions[t].parsedValue.valueBlock.valueDec?this.certs[e].extensions[t].parsedValue.valueBlock.valueDec:w)}if(!0===g){let t=-1
for(let e=0;e<N.length;e++)if("2.5.29.32.0"===N[e]){t=e
break}-1!==t&&delete _[0][e]}!1===f&&!0===y[0]&&(v--,0===v&&(f=!0,P=e,y[0]=!1)),!1===m&&!0===y[1]&&(b--,0===b&&(m=!0,y[1]=!1)),!1===g&&!0===y[2]&&(w--,0===w&&(g=!0,y[2]=!1))}for(let e=0;e<this.certs.length-1;e++)if(e<this.certs.length-2&&void 0!==A[e+1])for(let t=0;t<A[e+1].mappings.length;t++){if("2.5.29.32.0"===A[e+1].mappings[t].issuerDomainPolicy||"2.5.29.32.0"===A[e+1].mappings[t].subjectDomainPolicy)return{result:!1,resultCode:99,resultMessage:'The "anyPolicy" should not be a part of policy mapping scheme'}
let r=-1,n=-1
for(let i=0;i<N.length;i++)N[i]===A[e+1].mappings[t].issuerDomainPolicy&&(r=i),N[i]===A[e+1].mappings[t].subjectDomainPolicy&&(n=i)
void 0!==_[r][e]&&delete _[r][e]
for(let i=0;i<O[e].certificatePolicies.length;i++)if(A[e+1].mappings[t].subjectDomainPolicy===O[e].certificatePolicies[i].policyIdentifier&&-1!==r&&-1!==n)for(let t=0;t<=e;t++)void 0!==_[n][t]&&(_[r][t]=!0,delete _[n][t])}for(let e=0;e<N.length;e++)if("2.5.29.32.0"===N[e])for(let t=0;t<P;t++)delete _[e][t]
const T=[]
for(let e=0;e<_.length;e++){let t=!0
for(let r=0;r<this.certs.length-1;r++){let n=!1
if(r<P&&"2.5.29.32.0"===N[e]&&N.length>1){t=!1
break}if(void 0===_[e][r]){if(r>=P)for(let e=0;e<N.length;e++)if("2.5.29.32.0"===N[e]){!0===_[e][r]&&(n=!0)
break}if(!n){t=!1
break}}}!0===t&&T.push(N[e])}let I=[]
if(1===a.length&&"2.5.29.32.0"===a[0]&&!1===f)I=a
else if(1===T.length&&"2.5.29.32.0"===T[0])I=a
else for(let e=0;e<T.length;e++)for(let t=0;t<a.length;t++)if(a[t]===T[e]||"2.5.29.32.0"===a[t]){I.push(T[e])
break}const j={result:I.length>0,resultCode:0,resultMessage:I.length>0?"":'Zero "userConstrPolicies" array, no intersections with "authConstrPolicies"',authConstrPolicies:T,userConstrPolicies:I,explicitPolicyIndicator:f,policyMappings:A,certificatePath:this.certs}
if(0===I.length)return j
if(!1===j.result)return j
E=1
for(let e=this.certs.length-2;e>=0;e--,E++){let o=[],a=[],l=[]
if("extensions"in this.certs[e])for(let t=0;t<this.certs[e].extensions.length;t++)"2.5.29.30"===this.certs[e].extensions[t].extnID&&("permittedSubtrees"in this.certs[e].extensions[t].parsedValue&&(a=a.concat(this.certs[e].extensions[t].parsedValue.permittedSubtrees)),"excludedSubtrees"in this.certs[e].extensions[t].parsedValue&&(l=l.concat(this.certs[e].extensions[t].parsedValue.excludedSubtrees))),"2.5.29.17"===this.certs[e].extensions[t].extnID&&(o=o.concat(this.certs[e].extensions[t].parsedValue.altNames))
let c=x.length<=0
for(let t=0;t<x.length;t++)switch(x[t].base.type){case 4:if(x[t].base.value.typesAndValues.length!==this.certs[e].subject.typesAndValues.length)continue
c=!0
for(let r=0;r<this.certs[e].subject.typesAndValues.length;r++)if(this.certs[e].subject.typesAndValues[r].type!==x[t].base.value.typesAndValues[r].type){c=!1
break}if(!0===c)break}if(!1===c)throw j.result=!1,j.resultCode=21,j.resultMessage="No neccessary name form found",j
const u=[]
u[0]=[],u[1]=[],u[2]=[],u[3]=[],u[4]=[]
for(let e=0;e<S.length;e++)switch(S[e].base.type){case 1:u[0].push(S[e])
break
case 2:u[1].push(S[e])
break
case 4:u[2].push(S[e])
break
case 6:u[3].push(S[e])
break
case 7:u[4].push(S[e])}for(let d=0;d<5;d++){let a=!1,l=!1
const c=u[d]
for(let u=0;u<c.length;u++){switch(d){case 0:if(o.length>0)for(let e=0;e<o.length;e++)1===o[e].type&&(l=!0,a=a||r(o[e].value,c[u].base.value))
else for(let t=0;t<this.certs[e].subject.typesAndValues.length;t++)"1.2.840.113549.1.9.1"!==this.certs[e].subject.typesAndValues[t].type&&"0.9.2342.19200300.100.1.3"!==this.certs[e].subject.typesAndValues[t].type||(l=!0,a=a||r(this.certs[e].subject.typesAndValues[t].value.valueBlock.value,c[u].base.value))
break
case 1:if(o.length>0)for(let e=0;e<o.length;e++)2===o[e].type&&(l=!0,a=a||t(o[e].value,c[u].base.value))
break
case 2:l=!0,a=s(this.certs[e].subject,c[u].base.value)
break
case 3:if(o.length>0)for(let e=0;e<o.length;e++)6===o[e].type&&(l=!0,a=a||n(o[e].value,c[u].base.value))
break
case 4:if(o.length>0)for(let e=0;e<o.length;e++)7===o[e].type&&(l=!0,a=a||i(o[e].value,c[u].base.value))}if(a)break}if(!1===a&&c.length>0&&l)throw j.result=!1,j.resultCode=41,j.resultMessage='Failed to meet "permitted sub-trees" name constraint',j}let h=!1
for(let d=0;d<k.length;d++){switch(k[d].base.type){case 1:if(o.length>=0)for(let e=0;e<o.length;e++)1===o[e].type&&(h=h||r(o[e].value,k[d].base.value))
else for(let t=0;t<this.certs[e].subject.typesAndValues.length;t++)"1.2.840.113549.1.9.1"!==this.certs[e].subject.typesAndValues[t].type&&"0.9.2342.19200300.100.1.3"!==this.certs[e].subject.typesAndValues[t].type||(h=h||r(this.certs[e].subject.typesAndValues[t].value.valueBlock.value,k[d].base.value))
break
case 2:if(o.length>0)for(let e=0;e<o.length;e++)2===o[e].type&&(h=h||t(o[e].value,k[d].base.value))
break
case 4:h=h||s(this.certs[e].subject,k[d].base.value)
break
case 6:if(o.length>0)for(let e=0;e<o.length;e++)6===o[e].type&&(h=h||n(o[e].value,k[d].base.value))
break
case 7:if(o.length>0)for(let e=0;e<o.length;e++)7===o[e].type&&(h=h||i(o[e].value,k[d].base.value))}if(h)break}if(!0===h)throw j.result=!1,j.resultCode=42,j.resultMessage='Failed to meet "excluded sub-trees" name constraint',j
S=S.concat(a),k=k.concat(l)}return j}catch(e){if(e instanceof Object){if("resultMessage"in e)return e
if("message"in e)return{result:!1,resultCode:-1,resultMessage:e.message}}return{result:!1,resultCode:-1,resultMessage:e}}}}class Cn{constructor(e={}){this.tbsResponseData=(0,i.getParametersValue)(e,"tbsResponseData",Cn.defaultValues("tbsResponseData")),this.signatureAlgorithm=(0,i.getParametersValue)(e,"signatureAlgorithm",Cn.defaultValues("signatureAlgorithm")),this.signature=(0,i.getParametersValue)(e,"signature",Cn.defaultValues("signature")),"certs"in e&&(this.certs=(0,i.getParametersValue)(e,"certs",Cn.defaultValues("certs"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"tbsResponseData":return new Nn
case"signatureAlgorithm":return new dt
case"signature":return new Se
case"certs":return[]
default:throw new Error(`Invalid member name for BasicOCSPResponse class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"type":{let e=Nn.compareWithDefault("tbs",t.tbs)&&Nn.compareWithDefault("responderID",t.responderID)&&Nn.compareWithDefault("producedAt",t.producedAt)&&Nn.compareWithDefault("responses",t.responses)
return"responseExtensions"in t&&(e=e&&Nn.compareWithDefault("responseExtensions",t.responseExtensions)),e}case"signatureAlgorithm":return""===t.algorithmId&&"algorithmParams"in t==0
case"signature":return t.isEqual(Cn.defaultValues(e))
case"certs":return 0===t.length
default:throw new Error(`Invalid member name for BasicOCSPResponse class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"BasicOCSPResponse",value:[Nn.schema(t.tbsResponseData||{names:{blockName:"BasicOCSPResponse.tbsResponseData"}}),dt.schema(t.signatureAlgorithm||{names:{blockName:"BasicOCSPResponse.signatureAlgorithm"}}),new Se({name:t.signature||"BasicOCSPResponse.signature"}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new De({value:[new ct({name:"BasicOCSPResponse.certs",value:Tr.schema(t.certs||{})})]})]})]})}fromSchema(e){(0,i.clearProps)(e,["BasicOCSPResponse.tbsResponseData","BasicOCSPResponse.signatureAlgorithm","BasicOCSPResponse.signature","BasicOCSPResponse.certs"])
const t=ht(e,e,Cn.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for BasicOCSPResponse")
this.tbsResponseData=new Nn({schema:t.result["BasicOCSPResponse.tbsResponseData"]}),this.signatureAlgorithm=new dt({schema:t.result["BasicOCSPResponse.signatureAlgorithm"]}),this.signature=t.result["BasicOCSPResponse.signature"],"BasicOCSPResponse.certs"in t.result&&(this.certs=Array.from(t.result["BasicOCSPResponse.certs"],(e=>new Tr({schema:e}))))}toSchema(){const e=[]
return e.push(this.tbsResponseData.toSchema()),e.push(this.signatureAlgorithm.toSchema()),e.push(this.signature),"certs"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:[new De({value:Array.from(this.certs,(e=>e.toSchema()))})]})),new De({value:e})}toJSON(){const e={tbsResponseData:this.tbsResponseData.toJSON(),signatureAlgorithm:this.signatureAlgorithm.toJSON(),signature:this.signature.toJSON()}
return"certs"in this&&(e.certs=Array.from(this.certs,(e=>e.toJSON()))),e}getCertificateStatus(e,t){let r=Promise.resolve()
const n={isForCertificate:!1,status:2},i={},s=[],o=[]
for(const a of this.tbsResponseData.responses){const r=Lt(a.certID.hashAlgorithm.algorithmId)
if("name"in r==0)return Promise.reject(`Wrong CertID hashing algorithm: ${a.certID.hashAlgorithm.algorithmId}`)
if(r.name in i==0){i[r.name]=1
const n=new xn
s.push(n),o.push(n.createForCertificate(e,{hashAlgorithm:r.name,issuerCertificate:t}))}}return r=r.then((()=>Promise.all(o))),r=r.then((()=>{for(const t of this.tbsResponseData.responses)for(const r of s)if(t.certID.isEqual(r)){n.isForCertificate=!0
try{switch(t.certStatus.idBlock.isConstructed){case!0:1===t.certStatus.idBlock.tagNumber&&(n.status=1)
break
case!1:switch(t.certStatus.idBlock.tagNumber){case 0:n.status=0
break
case 2:n.status=2}}}catch(e){}return n}return n})),r}sign(e,t="SHA-1"){if(void 0===e)return Promise.reject("Need to provide a private key for signing")
let r,n=Promise.resolve()
const i=Pt()
return n=n.then((()=>i.subtle.getSignatureParameters(e,t))),n=n.then((e=>{r=e.parameters,this.signatureAlgorithm=e.signatureAlgorithm})),n=n.then((()=>{this.tbsResponseData.tbs=this.tbsResponseData.toSchema(!0).toBER(!1)})),n=n.then((()=>i.subtle.signWithPrivateKey(this.tbsResponseData.tbs,e,r))),n=n.then((e=>{this.signature=new Se({valueHex:e})})),n}verify(e={}){let t=null,r=-1,n=Promise.resolve(),s=[]
const o=this,a=Pt()
if("certs"in this==0)return Promise.reject("No certificates attached to the BasicOCSPResponce")
"trustedCerts"in e&&(s=e.trustedCerts)
const l=Tt()
if(void 0===l)return Promise.reject("Unable to create WebCrypto object")
switch(!0){case this.tbsResponseData.responderID instanceof Ut:n=n.then((()=>{for(const[e,t]of o.certs.entries())if(t.subject.isEqual(o.tbsResponseData.responderID)){r=e
break}}))
break
case this.tbsResponseData.responderID instanceof be:n=n.then((()=>Promise.all(Array.from(o.certs,(e=>l.digest({name:"sha-1"},new Uint8Array(e.subjectPublicKeyInfo.subjectPublicKey.valueBlock.valueHex))))).then((e=>{for(const[t]of o.certs.entries())if((0,i.isEqualBuffer)(e[t],o.tbsResponseData.responderID.valueBlock.valueHex)){r=t
break}}))))
break
default:return Promise.reject("Wrong value for responderID")}return n=n.then((()=>-1===r?Promise.reject("Correct certificate was not found in OCSP response"):(t=this.certs[r],Promise.all(Array.from(o.certs,(e=>function(e){if(!0===e.issuer.isEqual(t.issuer)&&!0===e.serialNumber.isEqual(t.serialNumber))return null
let r=!1
for(const t of e.extensions)"2.5.29.19"===t.extnID&&"cA"in t.parsedValue&&!0===t.parsedValue.cA&&(r=!0)
return r?e:null}(e)))).then((e=>{const r=[]
r.push(t)
for(const t of e)null!==t&&r.push(t)
return new _n({certs:r,trustedCerts:s}).verify().then((e=>!0===e.result?Promise.resolve():Promise.reject("Validation of signer's certificate failed")),(e=>Promise.reject(`Validation of signer's certificate failed with error: ${e instanceof Object?e.resultMessage:e}`)))}),(e=>Promise.reject(`Error during checking certificates for CA flag: ${e}`)))))),n=n.then((()=>a.subtle.verifyWithPublicKey(this.tbsResponseData.tbs,this.signature,this.certs[r].subjectPublicKeyInfo,this.signatureAlgorithm))),n}}function An(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.CertificationRequestInfo||"CertificationRequestInfo",value:[new _e({name:t.CertificationRequestInfoVersion||"CertificationRequestInfo.version"}),Ut.schema(t.subject||{names:{blockName:"CertificationRequestInfo.subject"}}),gt.schema({names:{blockName:"CertificationRequestInfo.subjectPublicKeyInfo"}}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new ct({optional:!0,name:t.CertificationRequestInfoAttributes||"CertificationRequestInfo.attributes",value:yt.schema(t.attributes||{})})]})]})}class On{constructor(e={}){this.tbs=(0,i.getParametersValue)(e,"tbs",On.defaultValues("tbs")),this.version=(0,i.getParametersValue)(e,"version",On.defaultValues("version")),this.subject=(0,i.getParametersValue)(e,"subject",On.defaultValues("subject")),this.subjectPublicKeyInfo=(0,i.getParametersValue)(e,"subjectPublicKeyInfo",On.defaultValues("subjectPublicKeyInfo")),"attributes"in e&&(this.attributes=(0,i.getParametersValue)(e,"attributes",On.defaultValues("attributes"))),this.signatureAlgorithm=(0,i.getParametersValue)(e,"signatureAlgorithm",On.defaultValues("signatureAlgorithm")),this.signatureValue=(0,i.getParametersValue)(e,"signatureValue",On.defaultValues("signatureValue")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"tbs":return new ArrayBuffer(0)
case"version":return 0
case"subject":return new Ut
case"subjectPublicKeyInfo":return new gt
case"attributes":return[]
case"signatureAlgorithm":return new dt
case"signatureValue":return new Se
default:throw new Error(`Invalid member name for CertificationRequest class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({value:[An(t.certificationRequestInfo||{}),new De({name:t.signatureAlgorithm||"signatureAlgorithm",value:[new Pe,new at({optional:!0})]}),new Se({name:t.signatureValue||"signatureValue"})]})}fromSchema(e){(0,i.clearProps)(e,["CertificationRequestInfo","CertificationRequestInfo.version","CertificationRequestInfo.subject","CertificationRequestInfo.subjectPublicKeyInfo","CertificationRequestInfo.attributes","signatureAlgorithm","signatureValue"])
const t=ht(e,e,On.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for CertificationRequest")
this.tbs=t.result.CertificationRequestInfo.valueBeforeDecode,this.version=t.result["CertificationRequestInfo.version"].valueBlock.valueDec,this.subject=new Ut({schema:t.result["CertificationRequestInfo.subject"]}),this.subjectPublicKeyInfo=new gt({schema:t.result["CertificationRequestInfo.subjectPublicKeyInfo"]}),"CertificationRequestInfo.attributes"in t.result&&(this.attributes=Array.from(t.result["CertificationRequestInfo.attributes"],(e=>new yt({schema:e})))),this.signatureAlgorithm=new dt({schema:t.result.signatureAlgorithm}),this.signatureValue=t.result.signatureValue}encodeTBS(){const e=[new _e({value:this.version}),this.subject.toSchema(),this.subjectPublicKeyInfo.toSchema()]
return"attributes"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:Array.from(this.attributes,(e=>e.toSchema()))})),new De({value:e})}toSchema(e=!1){let t
if(!1===e){if(0===this.tbs.byteLength)return On.schema()
t=ue(this.tbs).result}else t=this.encodeTBS()
return new De({value:[t,this.signatureAlgorithm.toSchema(),this.signatureValue]})}toJSON(){const e={tbs:(0,i.bufferToHexCodes)(this.tbs,0,this.tbs.byteLength),version:this.version,subject:this.subject.toJSON(),subjectPublicKeyInfo:this.subjectPublicKeyInfo.toJSON(),signatureAlgorithm:this.signatureAlgorithm.toJSON(),signatureValue:this.signatureValue.toJSON()}
return"attributes"in this&&(e.attributes=Array.from(this.attributes,(e=>e.toJSON()))),e}sign(e,t="SHA-1"){if(void 0===e)return Promise.reject("Need to provide a private key for signing")
let r,n=Promise.resolve()
const i=Pt()
return n=n.then((()=>i.subtle.getSignatureParameters(e,t))),n=n.then((e=>{r=e.parameters,this.signatureAlgorithm=e.signatureAlgorithm})),n=n.then((()=>{this.tbs=this.encodeTBS().toBER(!1)})),n=n.then((()=>i.subtle.signWithPrivateKey(this.tbs,e,r))),n=n.then((e=>{this.signatureValue=new Se({valueHex:e})})),n}verify(){return Pt().subtle.verifyWithPublicKey(this.tbs,this.signatureValue,this.subjectPublicKeyInfo,this.signatureAlgorithm)}getPublicKey(e=null){return Pt().getPublicKey(this.subjectPublicKeyInfo,this.signatureAlgorithm,e)}}class Pn{constructor(e={}){this.digestAlgorithm=(0,i.getParametersValue)(e,"digestAlgorithm",Pn.defaultValues("digestAlgorithm")),this.digest=(0,i.getParametersValue)(e,"digest",Pn.defaultValues("digest")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"digestAlgorithm":return new dt
case"digest":return new be
default:throw new Error(`Invalid member name for DigestInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"digestAlgorithm":return dt.compareWithDefault("algorithmId",t.algorithmId)&&"algorithmParams"in t==0
case"digest":return t.isEqual(Pn.defaultValues(e))
default:throw new Error(`Invalid member name for DigestInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[dt.schema(t.digestAlgorithm||{names:{blockName:"digestAlgorithm"}}),new be({name:t.digest||"digest"})]})}fromSchema(e){(0,i.clearProps)(e,["digestAlgorithm","digest"])
const t=ht(e,e,Pn.schema({names:{digestAlgorithm:{names:{blockName:"digestAlgorithm"}},digest:"digest"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for DigestInfo")
this.digestAlgorithm=new dt({schema:t.result.digestAlgorithm}),this.digest=t.result.digest}toSchema(){return new De({value:[this.digestAlgorithm.toSchema(),this.digest]})}toJSON(){return{digestAlgorithm:this.digestAlgorithm.toJSON(),digest:this.digest.toJSON()}}}class Tn{constructor(e={}){if(this.eContentType=(0,i.getParametersValue)(e,"eContentType",Tn.defaultValues("eContentType")),"eContent"in e&&(this.eContent=(0,i.getParametersValue)(e,"eContent",Tn.defaultValues("eContent")),1===this.eContent.idBlock.tagClass&&4===this.eContent.idBlock.tagNumber&&!1===this.eContent.idBlock.isConstructed)){const e=new be({idBlock:{isConstructed:!0},isConstructed:!0})
let t=0,r=this.eContent.valueBlock.valueHex.byteLength
for(;r>0;){const n=new Uint8Array(this.eContent.valueBlock.valueHex,t,t+65536>this.eContent.valueBlock.valueHex.byteLength?this.eContent.valueBlock.valueHex.byteLength-t:65536),i=new ArrayBuffer(n.length),s=new Uint8Array(i)
for(let e=0;e<s.length;e++)s[e]=n[e]
e.valueBlock.value.push(new be({valueHex:i})),r-=n.length,t+=n.length}this.eContent=e}"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"eContentType":return""
case"eContent":return new be
default:throw new Error(`Invalid member name for EncapsulatedContentInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"eContentType":return""===t
case"eContent":return 1===t.idBlock.tagClass&&4===t.idBlock.tagNumber&&t.isEqual(Tn.defaultValues("eContent"))
default:throw new Error(`Invalid member name for EncapsulatedContentInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.eContentType||""}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new at({name:t.eContent||""})]})]})}fromSchema(e){(0,i.clearProps)(e,["eContentType","eContent"])
const t=ht(e,e,Tn.schema({names:{eContentType:"eContentType",eContent:"eContent"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for EncapsulatedContentInfo")
this.eContentType=t.result.eContentType.valueBlock.toString(),"eContent"in t.result&&(this.eContent=t.result.eContent)}toSchema(){const e=[]
return e.push(new Pe({value:this.eContentType})),"eContent"in this&&!1===Tn.compareWithDefault("eContent",this.eContent)&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[this.eContent]})),new De({value:e})}toJSON(){const e={eContentType:this.eContentType}
return"eContent"in this&&!1===Tn.compareWithDefault("eContent",this.eContent)&&(e.eContent=this.eContent.toJSON()),e}}class In extends St{constructor(e={}){super(e)}}class jn{constructor(e={}){this.mac=(0,i.getParametersValue)(e,"mac",jn.defaultValues("mac")),this.macSalt=(0,i.getParametersValue)(e,"macSalt",jn.defaultValues("macSalt")),"iterations"in e&&(this.iterations=(0,i.getParametersValue)(e,"iterations",jn.defaultValues("iterations"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"mac":return new Pn
case"macSalt":return new be
case"iterations":return 1
default:throw new Error(`Invalid member name for MacData class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"mac":return Pn.compareWithDefault("digestAlgorithm",t.digestAlgorithm)&&Pn.compareWithDefault("digest",t.digest)
case"macSalt":return t.isEqual(jn.defaultValues(e))
case"iterations":return t===jn.defaultValues(e)
default:throw new Error(`Invalid member name for MacData class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",optional:t.optional||!0,value:[Pn.schema(t.mac||{names:{blockName:"mac"}}),new be({name:t.macSalt||"macSalt"}),new _e({optional:!0,name:t.iterations||"iterations"})]})}fromSchema(e){(0,i.clearProps)(e,["mac","macSalt","iterations"])
const t=ht(e,e,jn.schema({names:{mac:{names:{blockName:"mac"}},macSalt:"macSalt",iterations:"iterations"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for MacData")
this.mac=new Pn({schema:t.result.mac}),this.macSalt=t.result.macSalt,"iterations"in t.result&&(this.iterations=t.result.iterations.valueBlock.valueDec)}toSchema(){const e=[this.mac.toSchema(),this.macSalt]
return"iterations"in this&&e.push(new _e({value:this.iterations})),new De({value:e})}toJSON(){const e={mac:this.mac.toJSON(),macSalt:this.macSalt.toJSON()}
return"iterations"in this&&(e.iterations=this.iterations.toJSON()),e}}class Dn{constructor(e={}){this.hashAlgorithm=(0,i.getParametersValue)(e,"hashAlgorithm",Dn.defaultValues("hashAlgorithm")),this.hashedMessage=(0,i.getParametersValue)(e,"hashedMessage",Dn.defaultValues("hashedMessage")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"hashAlgorithm":return new dt
case"hashedMessage":return new be
default:throw new Error(`Invalid member name for MessageImprint class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"hashAlgorithm":return""===t.algorithmId&&"algorithmParams"in t==0
case"hashedMessage":return 0===t.isEqual(Dn.defaultValues(e))
default:throw new Error(`Invalid member name for MessageImprint class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[dt.schema(t.hashAlgorithm||{}),new be({name:t.hashedMessage||""})]})}fromSchema(e){(0,i.clearProps)(e,["hashAlgorithm","hashedMessage"])
const t=ht(e,e,Dn.schema({names:{hashAlgorithm:{names:{blockName:"hashAlgorithm"}},hashedMessage:"hashedMessage"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for MessageImprint")
this.hashAlgorithm=new dt({schema:t.result.hashAlgorithm}),this.hashedMessage=t.result.hashedMessage}toSchema(){return new De({value:[this.hashAlgorithm.toSchema(),this.hashedMessage]})}toJSON(){return{hashAlgorithm:this.hashAlgorithm.toJSON(),hashedMessage:this.hashedMessage.toJSON()}}}class Mn{constructor(e={}){this.reqCert=(0,i.getParametersValue)(e,"reqCert",Mn.defaultValues("reqCert")),"singleRequestExtensions"in e&&(this.singleRequestExtensions=(0,i.getParametersValue)(e,"singleRequestExtensions",Mn.defaultValues("singleRequestExtensions"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"reqCert":return new xn
case"singleRequestExtensions":return[]
default:throw new Error(`Invalid member name for Request class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"reqCert":return t.isEqual(Mn.defaultValues(e))
case"singleRequestExtensions":return 0===t.length
default:throw new Error(`Invalid member name for Request class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[xn.schema(t.reqCert||{}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[Ar.schema(t.extensions||{names:{blockName:t.singleRequestExtensions||""}})]})]})}fromSchema(e){(0,i.clearProps)(e,["reqCert","singleRequestExtensions"])
const t=ht(e,e,Mn.schema({names:{reqCert:{names:{blockName:"reqCert"}},singleRequestExtensions:{names:{blockName:"singleRequestExtensions"}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for Request")
this.reqCert=new xn({schema:t.result.reqCert}),"singleRequestExtensions"in t.result&&(this.singleRequestExtensions=Array.from(t.result.singleRequestExtensions.valueBlock.value,(e=>new Ar({schema:e}))))}toSchema(){const e=[]
return e.push(this.reqCert.toSchema()),"singleRequestExtensions"in this&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new De({value:Array.from(this.singleRequestExtensions,(e=>e.toSchema()))})]})),new De({value:e})}toJSON(){const e={reqCert:this.reqCert.toJSON()}
return"singleRequestExtensions"in this&&(e.singleRequestExtensions=Array.from(this.singleRequestExtensions,(e=>e.toJSON()))),e}}class Bn{constructor(e={}){this.tbs=(0,i.getParametersValue)(e,"tbs",Bn.defaultValues("tbs")),"version"in e&&(this.version=(0,i.getParametersValue)(e,"version",Bn.defaultValues("version"))),"requestorName"in e&&(this.requestorName=(0,i.getParametersValue)(e,"requestorName",Bn.defaultValues("requestorName"))),this.requestList=(0,i.getParametersValue)(e,"requestList",Bn.defaultValues("requestList")),"requestExtensions"in e&&(this.requestExtensions=(0,i.getParametersValue)(e,"requestExtensions",Bn.defaultValues("requestExtensions"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"tbs":return new ArrayBuffer(0)
case"version":return 0
case"requestorName":return new Kt
case"requestList":case"requestExtensions":return[]
default:throw new Error(`Invalid member name for TBSRequest class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"tbs":return 0===t.byteLength
case"version":return t===Bn.defaultValues(e)
case"requestorName":return t.type===Kt.defaultValues("type")&&0===Object.keys(t.value).length
case"requestList":case"requestExtensions":return 0===t.length
default:throw new Error(`Invalid member name for TBSRequest class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"TBSRequest",value:[new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new _e({name:t.TBSRequestVersion||"TBSRequest.version"})]}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[Kt.schema(t.requestorName||{names:{blockName:"TBSRequest.requestorName"}})]}),new De({name:t.requestList||"TBSRequest.requestList",value:[new ct({name:t.requests||"TBSRequest.requests",value:Mn.schema(t.requestNames||{})})]}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:2},value:[Or.schema(t.extensions||{names:{blockName:t.requestExtensions||"TBSRequest.requestExtensions"}})]})]})}fromSchema(e){(0,i.clearProps)(e,["TBSRequest","TBSRequest.version","TBSRequest.requestorName","TBSRequest.requests","TBSRequest.requestExtensions"])
const t=ht(e,e,Bn.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for TBSRequest")
this.tbs=t.result.TBSRequest.valueBeforeDecode,"TBSRequest.version"in t.result&&(this.version=t.result["TBSRequest.version"].valueBlock.valueDec),"TBSRequest.requestorName"in t.result&&(this.requestorName=new Kt({schema:t.result["TBSRequest.requestorName"]})),this.requestList=Array.from(t.result["TBSRequest.requests"],(e=>new Mn({schema:e}))),"TBSRequest.requestExtensions"in t.result&&(this.requestExtensions=Array.from(t.result["TBSRequest.requestExtensions"].valueBlock.value,(e=>new Ar({schema:e}))))}toSchema(e=!1){let t
if(!1===e){if(0===this.tbs.byteLength)return Bn.schema()
t=ue(this.tbs).result}else{const e=[]
"version"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:[new _e({value:this.version})]})),"requestorName"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:1},value:[this.requestorName.toSchema()]})),e.push(new De({value:Array.from(this.requestList,(e=>e.toSchema()))})),"requestExtensions"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:2},value:[new De({value:Array.from(this.requestExtensions,(e=>e.toSchema()))})]})),t=new De({value:e})}return t}toJSON(){const e={}
return"version"in this&&(e.version=this.version),"requestorName"in this&&(e.requestorName=this.requestorName.toJSON()),e.requestList=Array.from(this.requestList,(e=>e.toJSON())),"requestExtensions"in this&&(e.requestExtensions=Array.from(this.requestExtensions,(e=>e.toJSON()))),e}}class Rn{constructor(e={}){this.signatureAlgorithm=(0,i.getParametersValue)(e,"signatureAlgorithm",Rn.defaultValues("signatureAlgorithm")),this.signature=(0,i.getParametersValue)(e,"signature",Rn.defaultValues("signature")),"certs"in e&&(this.certs=(0,i.getParametersValue)(e,"certs",Rn.defaultValues("certs"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"signatureAlgorithm":return new dt
case"signature":return new Se
case"certs":return[]
default:throw new Error(`Invalid member name for Signature class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"signatureAlgorithm":return""===t.algorithmId&&"algorithmParams"in t==0
case"signature":return t.isEqual(Rn.defaultValues(e))
case"certs":return 0===t.length
default:throw new Error(`Invalid member name for Signature class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[dt.schema(t.signatureAlgorithm||{}),new Se({name:t.signature||""}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new De({value:[new ct({name:t.certs||"",value:Tr.schema(t.certs||{})})]})]})]})}fromSchema(e){(0,i.clearProps)(e,["signatureAlgorithm","signature","certs"])
const t=ht(e,e,Rn.schema({names:{signatureAlgorithm:{names:{blockName:"signatureAlgorithm"}},signature:"signature",certs:"certs"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for Signature")
this.signatureAlgorithm=new dt({schema:t.result.signatureAlgorithm}),this.signature=t.result.signature,"certs"in t.result&&(this.certs=Array.from(t.result.certs,(e=>new Tr({schema:e}))))}toSchema(){const e=[]
return e.push(this.signatureAlgorithm.toSchema()),e.push(this.signature),"certs"in this&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new De({value:Array.from(this.certs,(e=>e.toSchema()))})]})),new De({value:e})}toJSON(){const e={signatureAlgorithm:this.signatureAlgorithm.toJSON(),signature:this.signature.toJSON()}
return"certs"in this&&(e.certs=Array.from(this.certs,(e=>e.toJSON()))),e}}class Ln{constructor(e={}){this.tbsRequest=(0,i.getParametersValue)(e,"tbsRequest",Ln.defaultValues("tbsRequest")),"optionalSignature"in e&&(this.optionalSignature=(0,i.getParametersValue)(e,"optionalSignature",Ln.defaultValues("optionalSignature"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"tbsRequest":return new Bn
case"optionalSignature":return new Rn
default:throw new Error(`Invalid member name for OCSPRequest class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"tbsRequest":return Bn.compareWithDefault("tbs",t.tbs)&&Bn.compareWithDefault("version",t.version)&&Bn.compareWithDefault("requestorName",t.requestorName)&&Bn.compareWithDefault("requestList",t.requestList)&&Bn.compareWithDefault("requestExtensions",t.requestExtensions)
case"optionalSignature":return Rn.compareWithDefault("signatureAlgorithm",t.signatureAlgorithm)&&Rn.compareWithDefault("signature",t.signature)&&Rn.compareWithDefault("certs",t.certs)
default:throw new Error(`Invalid member name for OCSPRequest class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"OCSPRequest",value:[Bn.schema(t.tbsRequest||{names:{blockName:"tbsRequest"}}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[Rn.schema(t.optionalSignature||{names:{blockName:"optionalSignature"}})]})]})}fromSchema(e){(0,i.clearProps)(e,["tbsRequest","optionalSignature"])
const t=ht(e,e,Ln.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for OCSPRequest")
this.tbsRequest=new Bn({schema:t.result.tbsRequest}),"optionalSignature"in t.result&&(this.optionalSignature=new Rn({schema:t.result.optionalSignature}))}toSchema(e=!1){const t=[]
return t.push(this.tbsRequest.toSchema(e)),"optionalSignature"in this&&t.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[this.optionalSignature.toSchema()]})),new De({value:t})}toJSON(){const e={tbsRequest:this.tbsRequest.toJSON()}
return"optionalSignature"in this&&(e.optionalSignature=this.optionalSignature.toJSON()),e}createForCertificate(e,t){let r=Promise.resolve()
const n=new xn
return r=r.then((()=>n.createForCertificate(e,t))),r=r.then((()=>{this.tbsRequest=new Bn({requestList:[new Mn({reqCert:n})]})}),(e=>Promise.reject(e))),r}sign(e,t="SHA-1"){if(void 0===e)return Promise.reject("Need to provide a private key for signing")
if("optionalSignature"in this==0)return Promise.reject('Need to create "optionalSignature" field before signing')
let r,n,i=Promise.resolve()
const s=Pt()
return i=i.then((()=>s.subtle.getSignatureParameters(e,t))),i=i.then((e=>{r=e.parameters,this.optionalSignature.signatureAlgorithm=e.signatureAlgorithm})),i=i.then((()=>{n=this.tbsRequest.toSchema(!0).toBER(!1)})),i=i.then((()=>s.subtle.signWithPrivateKey(n,e,r))),i=i.then((e=>{this.optionalSignature.signature=new Se({valueHex:e})})),i}verify(){}}class zn{constructor(e={}){this.responseType=(0,i.getParametersValue)(e,"responseType",zn.defaultValues("responseType")),this.response=(0,i.getParametersValue)(e,"response",zn.defaultValues("response")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"responseType":return""
case"response":return new be
default:throw new Error(`Invalid member name for ResponseBytes class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"responseType":return""===t
case"response":return t.isEqual(zn.defaultValues(e))
default:throw new Error(`Invalid member name for ResponseBytes class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new Pe({name:t.responseType||""}),new be({name:t.response||""})]})}fromSchema(e){(0,i.clearProps)(e,["responseType","response"])
const t=ht(e,e,zn.schema({names:{responseType:"responseType",response:"response"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for ResponseBytes")
this.responseType=t.result.responseType.valueBlock.toString(),this.response=t.result.response}toSchema(){return new De({value:[new Pe({value:this.responseType}),this.response]})}toJSON(){return{responseType:this.responseType,response:this.response.toJSON()}}}class Fn{constructor(e={}){this.responseStatus=(0,i.getParametersValue)(e,"responseStatus",Fn.defaultValues("responseStatus")),"responseBytes"in e&&(this.responseBytes=(0,i.getParametersValue)(e,"responseBytes",Fn.defaultValues("responseBytes"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"responseStatus":return new Ce
case"responseBytes":return new zn
default:throw new Error(`Invalid member name for OCSPResponse class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"responseStatus":return t.isEqual(Fn.defaultValues(e))
case"responseBytes":return zn.compareWithDefault("responseType",t.responseType)&&zn.compareWithDefault("response",t.response)
default:throw new Error(`Invalid member name for OCSPResponse class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"OCSPResponse",value:[new Ce({name:t.responseStatus||"responseStatus"}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[zn.schema(t.responseBytes||{names:{blockName:"responseBytes"}})]})]})}fromSchema(e){(0,i.clearProps)(e,["responseStatus","responseBytes"])
const t=ht(e,e,Fn.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for OCSPResponse")
this.responseStatus=t.result.responseStatus,"responseBytes"in t.result&&(this.responseBytes=new zn({schema:t.result.responseBytes}))}toSchema(){const e=[]
return e.push(this.responseStatus),"responseBytes"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:[this.responseBytes.toSchema()]})),new De({value:e})}toJSON(){const e={responseStatus:this.responseStatus.toJSON()}
return"responseBytes"in this&&(e.responseBytes=this.responseBytes.toJSON()),e}getCertificateStatus(e,t){let r
const n={isForCertificate:!1,status:2}
if("responseBytes"in this==0)return n
if("1.3.6.1.5.5.7.48.1.1"!==this.responseBytes.responseType)return n
try{const e=ue(this.responseBytes.response.valueBlock.valueHex)
r=new Cn({schema:e.result})}catch(e){return n}return r.getCertificateStatus(e,t)}sign(e,t){if("1.3.6.1.5.5.7.48.1.1"===this.responseBytes.responseType){const r=ue(this.responseBytes.response.valueBlock.valueHex)
return new Cn({schema:r.result}).sign(e,t)}return Promise.reject(`Unknown ResponseBytes type: ${this.responseBytes.responseType}`)}verify(e=null){if("responseBytes"in this==0)return Promise.reject("Empty ResponseBytes field")
if("1.3.6.1.5.5.7.48.1.1"===this.responseBytes.responseType){const t=ue(this.responseBytes.response.valueBlock.valueHex),r=new Cn({schema:t.result})
return null!==e&&("certs"in r==0&&(r.certs=[]),r.certs.push(e)),r.verify()}return Promise.reject(`Unknown ResponseBytes type: ${this.responseBytes.responseType}`)}}class Vn{constructor(e={}){this.type=(0,i.getParametersValue)(e,"type",Vn.defaultValues("type")),this.attributes=(0,i.getParametersValue)(e,"attributes",Vn.defaultValues("attributes")),this.encodedValue=(0,i.getParametersValue)(e,"encodedValue",Vn.defaultValues("encodedValue")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"type":return-1
case"attributes":return[]
case"encodedValue":return new ArrayBuffer(0)
default:throw new Error(`Invalid member name for SignedAndUnsignedAttributes class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"type":return t===Vn.defaultValues("type")
case"attributes":return 0===t.length
case"encodedValue":return 0===t.byteLength
default:throw new Error(`Invalid member name for SignedAndUnsignedAttributes class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new de({name:t.blockName||"",optional:!0,idBlock:{tagClass:3,tagNumber:t.tagNumber},value:[new ct({name:t.attributes||"",value:yt.schema()})]})}fromSchema(e){(0,i.clearProps)(e,["attributes"])
const t=ht(e,e,Vn.schema({names:{tagNumber:this.type,attributes:"attributes"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for SignedAndUnsignedAttributes")
if(this.type=t.result.idBlock.tagNumber,this.encodedValue=t.result.valueBeforeDecode,new Uint8Array(this.encodedValue)[0]=49,"attributes"in t.result!=0)this.attributes=Array.from(t.result.attributes,(e=>new yt({schema:e})))
else if(0===this.type)throw new Error("Wrong structure of SignedUnsignedAttributes")}toSchema(){if(Vn.compareWithDefault("type",this.type)||Vn.compareWithDefault("attributes",this.attributes))throw new Error('Incorrectly initialized "SignedAndUnsignedAttributes" class')
return new de({optional:!0,idBlock:{tagClass:3,tagNumber:this.type},value:Array.from(this.attributes,(e=>e.toSchema()))})}toJSON(){if(Vn.compareWithDefault("type",this.type)||Vn.compareWithDefault("attributes",this.attributes))throw new Error('Incorrectly initialized "SignedAndUnsignedAttributes" class')
return{type:this.type,attributes:Array.from(this.attributes,(e=>e.toJSON()))}}}class $n{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",$n.defaultValues("version")),this.sid=(0,i.getParametersValue)(e,"sid",$n.defaultValues("sid")),this.digestAlgorithm=(0,i.getParametersValue)(e,"digestAlgorithm",$n.defaultValues("digestAlgorithm")),"signedAttrs"in e&&(this.signedAttrs=(0,i.getParametersValue)(e,"signedAttrs",$n.defaultValues("signedAttrs"))),this.signatureAlgorithm=(0,i.getParametersValue)(e,"signatureAlgorithm",$n.defaultValues("signatureAlgorithm")),this.signature=(0,i.getParametersValue)(e,"signature",$n.defaultValues("signature")),"unsignedAttrs"in e&&(this.unsignedAttrs=(0,i.getParametersValue)(e,"unsignedAttrs",$n.defaultValues("unsignedAttrs"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return 0
case"sid":return new at
case"digestAlgorithm":case"signatureAlgorithm":return new dt
case"signedAttrs":return new Vn({type:0})
case"signature":return new be
case"unsignedAttrs":return new Vn({type:1})
default:throw new Error(`Invalid member name for SignerInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"version":return $n.defaultValues("version")===t
case"sid":return t instanceof at
case"digestAlgorithm":return t instanceof dt!=0&&t.isEqual($n.defaultValues("digestAlgorithm"))
case"signedAttrs":case"signature":case"unsignedAttrs":return Vn.compareWithDefault("type",t.type)&&Vn.compareWithDefault("attributes",t.attributes)&&Vn.compareWithDefault("encodedValue",t.encodedValue)
case"signatureAlgorithm":return t instanceof dt!=0&&t.isEqual($n.defaultValues("signatureAlgorithm"))
default:throw new Error(`Invalid member name for SignerInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:"SignerInfo",value:[new _e({name:t.version||"SignerInfo.version"}),new lt({value:[en.schema(t.sid||{names:{blockName:"SignerInfo.sid"}}),new lt({value:[new de({optional:!0,name:t.sid||"SignerInfo.sid",idBlock:{tagClass:3,tagNumber:0},value:[new be]}),new le({optional:!0,name:t.sid||"SignerInfo.sid",idBlock:{tagClass:3,tagNumber:0},value:[new be]})]})]}),dt.schema(t.digestAlgorithm||{names:{blockName:"SignerInfo.digestAlgorithm"}}),Vn.schema(t.signedAttrs||{names:{blockName:"SignerInfo.signedAttrs",tagNumber:0}}),dt.schema(t.signatureAlgorithm||{names:{blockName:"SignerInfo.signatureAlgorithm"}}),new be({name:t.signature||"SignerInfo.signature"}),Vn.schema(t.unsignedAttrs||{names:{blockName:"SignerInfo.unsignedAttrs",tagNumber:1}})]})}fromSchema(e){(0,i.clearProps)(e,["SignerInfo.version","SignerInfo.sid","SignerInfo.digestAlgorithm","SignerInfo.signedAttrs","SignerInfo.signatureAlgorithm","SignerInfo.signature","SignerInfo.unsignedAttrs"])
const t=ht(e,e,$n.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for SignerInfo")
this.version=t.result["SignerInfo.version"].valueBlock.valueDec
const r=t.result["SignerInfo.sid"]
1===r.idBlock.tagClass?this.sid=new en({schema:r}):this.sid=r,this.digestAlgorithm=new dt({schema:t.result["SignerInfo.digestAlgorithm"]}),"SignerInfo.signedAttrs"in t.result&&(this.signedAttrs=new Vn({type:0,schema:t.result["SignerInfo.signedAttrs"]})),this.signatureAlgorithm=new dt({schema:t.result["SignerInfo.signatureAlgorithm"]}),this.signature=t.result["SignerInfo.signature"],"SignerInfo.unsignedAttrs"in t.result&&(this.unsignedAttrs=new Vn({type:1,schema:t.result["SignerInfo.unsignedAttrs"]}))}toSchema(){if($n.compareWithDefault("sid",this.sid))throw new Error('Incorrectly initialized "SignerInfo" class')
const e=[]
return e.push(new _e({value:this.version})),this.sid instanceof en?e.push(this.sid.toSchema()):e.push(this.sid),e.push(this.digestAlgorithm.toSchema()),"signedAttrs"in this&&!1===$n.compareWithDefault("signedAttrs",this.signedAttrs)&&e.push(this.signedAttrs.toSchema()),e.push(this.signatureAlgorithm.toSchema()),e.push(this.signature),"unsignedAttrs"in this&&!1===$n.compareWithDefault("unsignedAttrs",this.unsignedAttrs)&&e.push(this.unsignedAttrs.toSchema()),new De({value:e})}toJSON(){if($n.compareWithDefault("sid",this.sid))throw new Error('Incorrectly initialized "SignerInfo" class')
const e={version:this.version}
return this.sid instanceof at||(e.sid=this.sid.toJSON()),e.digestAlgorithm=this.digestAlgorithm.toJSON(),!1===$n.compareWithDefault("signedAttrs",this.signedAttrs)&&(e.signedAttrs=this.signedAttrs.toJSON()),e.signatureAlgorithm=this.signatureAlgorithm.toJSON(),e.signature=this.signature.toJSON(),!1===$n.compareWithDefault("unsignedAttrs",this.unsignedAttrs)&&(e.unsignedAttrs=this.unsignedAttrs.toJSON()),e}}class Un{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",Un.defaultValues("version")),this.policy=(0,i.getParametersValue)(e,"policy",Un.defaultValues("policy")),this.messageImprint=(0,i.getParametersValue)(e,"messageImprint",Un.defaultValues("messageImprint")),this.serialNumber=(0,i.getParametersValue)(e,"serialNumber",Un.defaultValues("serialNumber")),this.genTime=(0,i.getParametersValue)(e,"genTime",Un.defaultValues("genTime")),"accuracy"in e&&(this.accuracy=(0,i.getParametersValue)(e,"accuracy",Un.defaultValues("accuracy"))),"ordering"in e&&(this.ordering=(0,i.getParametersValue)(e,"ordering",Un.defaultValues("ordering"))),"nonce"in e&&(this.nonce=(0,i.getParametersValue)(e,"nonce",Un.defaultValues("nonce"))),"tsa"in e&&(this.tsa=(0,i.getParametersValue)(e,"tsa",Un.defaultValues("tsa"))),"extensions"in e&&(this.extensions=(0,i.getParametersValue)(e,"extensions",Un.defaultValues("extensions"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return 0
case"policy":return""
case"messageImprint":return new Dn
case"serialNumber":case"nonce":return new _e
case"genTime":return new Date(0,0,0)
case"accuracy":return new Jt
case"ordering":return!1
case"tsa":return new Kt
case"extensions":return[]
default:throw new Error(`Invalid member name for TSTInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"version":case"policy":case"genTime":case"ordering":return t===Un.defaultValues(e)
case"messageImprint":return Dn.compareWithDefault("hashAlgorithm",t.hashAlgorithm)&&Dn.compareWithDefault("hashedMessage",t.hashedMessage)
case"serialNumber":case"nonce":return t.isEqual(Un.defaultValues(e))
case"accuracy":return Jt.compareWithDefault("seconds",t.seconds)&&Jt.compareWithDefault("millis",t.millis)&&Jt.compareWithDefault("micros",t.micros)
case"tsa":return Kt.compareWithDefault("type",t.type)&&Kt.compareWithDefault("value",t.value)
case"extensions":return 0===t.length
default:throw new Error(`Invalid member name for TSTInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"TSTInfo",value:[new _e({name:t.version||"TSTInfo.version"}),new Pe({name:t.policy||"TSTInfo.policy"}),Dn.schema(t.messageImprint||{names:{blockName:"TSTInfo.messageImprint"}}),new _e({name:t.serialNumber||"TSTInfo.serialNumber"}),new tt({name:t.genTime||"TSTInfo.genTime"}),Jt.schema(t.accuracy||{names:{blockName:"TSTInfo.accuracy"}}),new ye({name:t.ordering||"TSTInfo.ordering",optional:!0}),new _e({name:t.nonce||"TSTInfo.nonce",optional:!0}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[Kt.schema(t.tsa||{names:{blockName:"TSTInfo.tsa"}})]}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:[new ct({name:t.extensions||"TSTInfo.extensions",value:Ar.schema(t.extension||{})})]})]})}fromSchema(e){(0,i.clearProps)(e,["TSTInfo.version","TSTInfo.policy","TSTInfo.messageImprint","TSTInfo.serialNumber","TSTInfo.genTime","TSTInfo.accuracy","TSTInfo.ordering","TSTInfo.nonce","TSTInfo.tsa","TSTInfo.extensions"])
const t=ht(e,e,Un.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for TSTInfo")
this.version=t.result["TSTInfo.version"].valueBlock.valueDec,this.policy=t.result["TSTInfo.policy"].valueBlock.toString(),this.messageImprint=new Dn({schema:t.result["TSTInfo.messageImprint"]}),this.serialNumber=t.result["TSTInfo.serialNumber"],this.genTime=t.result["TSTInfo.genTime"].toDate(),"TSTInfo.accuracy"in t.result&&(this.accuracy=new Jt({schema:t.result["TSTInfo.accuracy"]})),"TSTInfo.ordering"in t.result&&(this.ordering=t.result["TSTInfo.ordering"].valueBlock.value),"TSTInfo.nonce"in t.result&&(this.nonce=t.result["TSTInfo.nonce"]),"TSTInfo.tsa"in t.result&&(this.tsa=new Kt({schema:t.result["TSTInfo.tsa"]})),"TSTInfo.extensions"in t.result&&(this.extensions=Array.from(t.result["TSTInfo.extensions"],(e=>new Ar({schema:e}))))}toSchema(){const e=[]
return e.push(new _e({value:this.version})),e.push(new Pe({value:this.policy})),e.push(this.messageImprint.toSchema()),e.push(this.serialNumber),e.push(new tt({valueDate:this.genTime})),"accuracy"in this&&e.push(this.accuracy.toSchema()),"ordering"in this&&e.push(new ye({value:this.ordering})),"nonce"in this&&e.push(this.nonce),"tsa"in this&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[this.tsa.toSchema()]})),"extensions"in this&&e.push(new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:Array.from(this.extensions,(e=>e.toSchema()))})),new De({value:e})}toJSON(){const e={version:this.version,policy:this.policy,messageImprint:this.messageImprint.toJSON(),serialNumber:this.serialNumber.toJSON(),genTime:this.genTime}
return"accuracy"in this&&(e.accuracy=this.accuracy.toJSON()),"ordering"in this&&(e.ordering=this.ordering),"nonce"in this&&(e.nonce=this.nonce.toJSON()),"tsa"in this&&(e.tsa=this.tsa.toJSON()),"extensions"in this&&(e.extensions=Array.from(this.extensions,(e=>e.toJSON()))),e}verify(e={}){let t,r=Promise.resolve(),n=null,s=null
const o=Tt()
if(void 0===o)return Promise.reject("Unable to create WebCrypto object")
if(!("data"in e))return Promise.reject('"data" is a mandatory attribute for TST_INFO verification')
if(t=e.data,"notBefore"in e&&(n=e.notBefore),"notAfter"in e&&(s=e.notAfter),null!==n&&this.genTime<n)return Promise.reject("Generation time for TSTInfo object is less than notBefore value")
if(null!==s&&this.genTime>s)return Promise.reject("Generation time for TSTInfo object is more than notAfter value")
const a=Lt(this.messageImprint.hashAlgorithm.algorithmId)
return"name"in a==0?Promise.reject(`Unsupported signature algorithm: ${this.messageImprint.hashAlgorithm.algorithmId}`):(r=r.then((()=>o.digest(a.name,new Uint8Array(t)))).then((e=>(0,i.isEqualBuffer)(e,this.messageImprint.hashedMessage.valueBlock.valueHex))),r)}}class Hn{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",Hn.defaultValues("version")),this.digestAlgorithms=(0,i.getParametersValue)(e,"digestAlgorithms",Hn.defaultValues("digestAlgorithms")),this.encapContentInfo=(0,i.getParametersValue)(e,"encapContentInfo",Hn.defaultValues("encapContentInfo")),"certificates"in e&&(this.certificates=(0,i.getParametersValue)(e,"certificates",Hn.defaultValues("certificates"))),"crls"in e&&(this.crls=(0,i.getParametersValue)(e,"crls",Hn.defaultValues("crls"))),"ocsps"in e&&(this.ocsps=(0,i.getParametersValue)(e,"ocsps",Hn.defaultValues("ocsps"))),this.signerInfos=(0,i.getParametersValue)(e,"signerInfos",Hn.defaultValues("signerInfos")),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return 0
case"digestAlgorithms":case"certificates":case"crls":case"ocsps":case"signerInfos":return[]
case"encapContentInfo":return new Tn
default:throw new Error(`Invalid member name for SignedData class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"version":return t===Hn.defaultValues("version")
case"encapContentInfo":return new Tn
case"digestAlgorithms":case"certificates":case"crls":case"ocsps":case"signerInfos":return 0===t.length
default:throw new Error(`Invalid member name for SignedData class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return"optional"in t==0&&(t.optional=!1),new De({name:t.blockName||"SignedData",optional:t.optional,value:[new _e({name:t.version||"SignedData.version"}),new Me({value:[new ct({name:t.digestAlgorithms||"SignedData.digestAlgorithms",value:dt.schema()})]}),Tn.schema(t.encapContentInfo||{names:{blockName:"SignedData.encapContentInfo"}}),new de({name:t.certificates||"SignedData.certificates",optional:!0,idBlock:{tagClass:3,tagNumber:0},value:Gr.schema().valueBlock.value}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:1},value:Xr.schema(t.crls||{names:{crls:"SignedData.crls"}}).valueBlock.value}),new Me({value:[new ct({name:t.signerInfos||"SignedData.signerInfos",value:$n.schema()})]})]})}fromSchema(e){(0,i.clearProps)(e,["SignedData.version","SignedData.digestAlgorithms","SignedData.encapContentInfo","SignedData.certificates","SignedData.crls","SignedData.signerInfos"])
const t=ht(e,e,Hn.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for SignedData")
if(this.version=t.result["SignedData.version"].valueBlock.valueDec,"SignedData.digestAlgorithms"in t.result&&(this.digestAlgorithms=Array.from(t.result["SignedData.digestAlgorithms"],(e=>new dt({schema:e})))),this.encapContentInfo=new Tn({schema:t.result["SignedData.encapContentInfo"]}),"SignedData.certificates"in t.result){const e=new Gr({schema:new Me({value:t.result["SignedData.certificates"].valueBlock.value})})
this.certificates=e.certificates.slice(0)}"SignedData.crls"in t.result&&(this.crls=Array.from(t.result["SignedData.crls"],(e=>1===e.idBlock.tagClass?new Hr({schema:e}):(e.idBlock.tagClass=1,e.idBlock.tagNumber=16,new Yr({schema:e}))))),"SignedData.signerInfos"in t.result&&(this.signerInfos=Array.from(t.result["SignedData.signerInfos"],(e=>new $n({schema:e}))))}toSchema(e=!1){const t=[]
if(this.certificates&&this.certificates.length&&this.certificates.some((e=>e instanceof Jr))||this.crls&&this.crls.length&&this.crls.some((e=>e instanceof Yr))?this.version=5:this.certificates&&this.certificates.length&&this.certificates.some((e=>e instanceof Fr))?this.version=4:this.certificates&&this.certificates.length&&this.certificates.some((e=>e instanceof Mr))||this.signerInfos.some((e=>3===e.version))||this.encapContentInfo.eContentType!==Hn.ID_DATA?this.version=3:this.version=1,t.push(new _e({value:this.version})),t.push(new Me({value:Array.from(this.digestAlgorithms,(t=>t.toSchema(e)))})),t.push(this.encapContentInfo.toSchema()),"certificates"in this){const e=new Gr({certificates:this.certificates}).toSchema()
t.push(new de({idBlock:{tagClass:3,tagNumber:0},value:e.valueBlock.value}))}return"crls"in this&&t.push(new de({idBlock:{tagClass:3,tagNumber:1},value:Array.from(this.crls,(t=>{if(t instanceof Yr){const r=t.toSchema(e)
return r.idBlock.tagClass=3,r.idBlock.tagNumber=1,r}return t.toSchema(e)}))})),t.push(new Me({value:Array.from(this.signerInfos,(t=>t.toSchema(e)))})),new De({value:t})}toJSON(){const e={version:this.version,digestAlgorithms:Array.from(this.digestAlgorithms,(e=>e.toJSON())),encapContentInfo:this.encapContentInfo.toJSON()}
return"certificates"in this&&(e.certificates=Array.from(this.certificates,(e=>e.toJSON()))),"crls"in this&&(e.crls=Array.from(this.crls,(e=>e.toJSON()))),e.signerInfos=Array.from(this.signerInfos,(e=>e.toJSON())),e}verify({signer:e=-1,data:t=new ArrayBuffer(0),trustedCerts:r=[],checkDate:n=new Date,checkChain:s=!1,extendedMode:o=!1,passedWhenNotRevValues:a=!1,findOrigin:l=null,findIssuer:c=null}={}){let u=Promise.resolve(),h=new ArrayBuffer(0),d="",p={},f=null,m=[]
const g=Pt(),y=Tt()
return void 0===y?Promise.reject("Unable to create WebCrypto object"):-1===e?o?Promise.reject({date:n,code:1,message:"Unable to get signer index from input parameters",signatureVerified:null,signerCertificate:null,signerCertificateVerified:null}):Promise.reject("Unable to get signer index from input parameters"):"certificates"in this==0?o?Promise.reject({date:n,code:2,message:"No certificates attached to this signed data",signatureVerified:null,signerCertificate:null,signerCertificateVerified:null}):Promise.reject("No certificates attached to this signed data"):(u=this.signerInfos[e].sid instanceof en?u.then((()=>{for(const t of this.certificates)if(t instanceof Tr!=0&&t.issuer.isEqual(this.signerInfos[e].sid.issuer)&&t.serialNumber.isEqual(this.signerInfos[e].sid.serialNumber))return p=t,Promise.resolve()
return o?Promise.reject({date:n,code:3,message:"Unable to find signer certificate",signatureVerified:null,signerCertificate:null,signerCertificateVerified:null}):Promise.reject("Unable to find signer certificate")})):(async()=>{try{const t=this.signerInfos[e].sid,r=t.idBlock.isConstructed?t.valueBlock.value[0].valueBlock.valueHex:t.valueBlock.valueHex
for(const e of this.certificates){if(!(e instanceof Tr))continue
const t=await y.digest({name:"sha-1"},new Uint8Array(e.subjectPublicKeyInfo.subjectPublicKey.valueBlock.valueHex))
if((0,i.isEqualBuffer)(t,r)){p=e
break}}if(!p)throw new Error("Signing certificate not found")}catch(e){if(o)return Promise.reject({date:n,code:3,message:"Unable to find signer certificate",signatureVerified:null,signerCertificate:null,signerCertificateVerified:null})
throw"Unable to find signer certificate"}})(),u=u.then((()=>{if("1.2.840.113549.1.9.16.1.4"===this.encapContentInfo.eContentType){if("eContent"in this.encapContentInfo==0)return!1
const r=ue(this.encapContentInfo.eContent.valueBlock.valueHex)
let i
try{i=new Un({schema:r.result})}catch(e){return!1}return n=i.genTime,f=i.serialNumber.valueBlock.valueHex,0===t.byteLength?o?Promise.reject({date:n,code:4,message:"Missed detached data input array",signatureVerified:null,signerCertificate:p,signerCertificateVerified:null}):Promise.reject("Missed detached data input array"):i.verify({data:t})}return!0})),s&&(u=u.then((e=>{if(!1===e)return!1
const t=Array.from(this.certificates.filter((e=>e instanceof Tr)),(e=>function(e){if(!0===e.issuer.isEqual(p.issuer)&&!0===e.serialNumber.isEqual(p.serialNumber))return null
let t=!1
if("extensions"in e)for(const r of e.extensions)"2.5.29.19"===r.extnID&&"cA"in r.parsedValue&&!0===r.parsedValue.cA&&(t=!0)
return t?e:null}(e))),i={checkDate:n,certs:Array.from(t.filter((e=>null!==e))),trustedCerts:r}
null!==c&&(i.findIssuer=c),null!==l&&(i.findOrigin=l)
const s=new _n(i)
if(s.certs.push(p),"crls"in this)for(const r of this.crls)"thisUpdate"in r?s.crls.push(r):"1.3.6.1.5.5.7.48.1.1"===r.otherRevInfoFormat&&s.ocsps.push(new Cn({schema:r.otherRevInfo}))
return"ocsps"in this&&s.ocsps.push(...this.ocsps),s.verify({passedWhenNotRevValues:a}).then((e=>("certificatePath"in e&&(m=e.certificatePath),!0===e.result?Promise.resolve(!0):o?Promise.reject({date:n,code:5,message:`Validation of signer's certificate failed: ${e.resultMessage}`,signatureVerified:null,signerCertificate:p,signerCertificateVerified:!1}):Promise.reject("Validation of signer's certificate failed"))),(e=>o?Promise.reject({date:n,code:5,message:`Validation of signer's certificate failed with error: ${e instanceof Object?e.resultMessage:e}`,signatureVerified:null,signerCertificate:p,signerCertificateVerified:!1}):Promise.reject(`Validation of signer's certificate failed with error: ${e instanceof Object?e.resultMessage:e}`)))}))),u=u.then((t=>{if(!1===t)return!1
const r=Lt(this.signerInfos[e].digestAlgorithm.algorithmId)
return"name"in r==0?o?Promise.reject({date:n,code:7,message:`Unsupported signature algorithm: ${this.signerInfos[e].digestAlgorithm.algorithmId}`,signatureVerified:null,signerCertificate:p,signerCertificateVerified:!0}):Promise.reject(`Unsupported signature algorithm: ${this.signerInfos[e].digestAlgorithm.algorithmId}`):(d=r.name,!0)})),u=u.then((r=>{if(!1===r)return!1
if("eContent"in this.encapContentInfo)if(1===this.encapContentInfo.eContent.idBlock.tagClass&&4===this.encapContentInfo.eContent.idBlock.tagNumber)if(!1===this.encapContentInfo.eContent.idBlock.isConstructed)t=this.encapContentInfo.eContent.valueBlock.valueHex
else for(const e of this.encapContentInfo.eContent.valueBlock.value)t=(0,i.utilConcatBuf)(t,e.valueBlock.valueHex)
else t=this.encapContentInfo.eContent.valueBlock.valueBeforeDecode
else if(0===t.byteLength)return o?Promise.reject({date:n,code:8,message:"Missed detached data input array",signatureVerified:null,signerCertificate:p,signerCertificateVerified:!0}):Promise.reject("Missed detached data input array")
if("signedAttrs"in this.signerInfos[e]){let t=!1,r=!1
for(const n of this.signerInfos[e].signedAttrs.attributes)if("1.2.840.113549.1.9.3"===n.type&&(t=!0),"1.2.840.113549.1.9.4"===n.type&&(r=!0,h=n.values[0].valueBlock.valueHex),t&&r)break
if(!1===t)return o?Promise.reject({date:n,code:9,message:'Attribute "content-type" is a mandatory attribute for "signed attributes"',signatureVerified:null,signerCertificate:p,signerCertificateVerified:!0}):Promise.reject('Attribute "content-type" is a mandatory attribute for "signed attributes"')
if(!1===r)return o?Promise.reject({date:n,code:10,message:'Attribute "message-digest" is a mandatory attribute for "signed attributes"',signatureVerified:null,signerCertificate:p,signerCertificateVerified:!0}):Promise.reject('Attribute "message-digest" is a mandatory attribute for "signed attributes"')}return!0})),u=u.then((r=>!1!==r&&(!("signedAttrs"in this.signerInfos[e])||y.digest(d,new Uint8Array(t))))).then((r=>!1!==r&&(!("signedAttrs"in this.signerInfos[e])||!!(0,i.isEqualBuffer)(r,h)&&(t=this.signerInfos[e].signedAttrs.encodedValue,!0)))),u=u.then((r=>!1!==r&&g.subtle.verifyWithPublicKey(t,this.signerInfos[e].signature,p.subjectPublicKeyInfo,p.signatureAlgorithm,d))),u=u.then((e=>o?{date:n,code:14,message:"",signatureVerified:e,signerCertificate:p,timestampSerial:f,signerCertificateVerified:!0,certificatePath:m}:e),(e=>o?"code"in e?Promise.reject(e):Promise.reject({date:n,code:15,message:`Error during verification: ${e.message}`,signatureVerified:null,signerCertificate:p,timestampSerial:f,signerCertificateVerified:!0}):Promise.reject(e))),u)}sign(e,t,r="SHA-1",n=new ArrayBuffer(0)){if(void 0===e)return Promise.reject("Need to provide a private key for signing")
let s,o=Promise.resolve()
const a=Pt(),l=jt({name:r})
return""===l?Promise.reject(`Unsupported hash algorithm: ${r}`):(0===this.digestAlgorithms.filter((e=>e.algorithmId===l)).length&&this.digestAlgorithms.push(new dt({algorithmId:l,algorithmParams:new me})),this.signerInfos[t].digestAlgorithm=new dt({algorithmId:l,algorithmParams:new me}),o=o.then((()=>a.subtle.getSignatureParameters(e,r))),o=o.then((e=>{s=e.parameters,this.signerInfos[t].signatureAlgorithm=e.signatureAlgorithm})),o=o.then((()=>{if("signedAttrs"in this.signerInfos[t])0!==this.signerInfos[t].signedAttrs.encodedValue.byteLength?n=this.signerInfos[t].signedAttrs.encodedValue:(n=this.signerInfos[t].signedAttrs.toSchema(!0).toBER(!1),new Uint8Array(n)[0]=49)
else if("eContent"in this.encapContentInfo)if(1===this.encapContentInfo.eContent.idBlock.tagClass&&4===this.encapContentInfo.eContent.idBlock.tagNumber)if(!1===this.encapContentInfo.eContent.idBlock.isConstructed)n=this.encapContentInfo.eContent.valueBlock.valueHex
else for(const e of this.encapContentInfo.eContent.valueBlock.value)n=(0,i.utilConcatBuf)(n,e.valueBlock.valueHex)
else n=this.encapContentInfo.eContent.valueBlock.valueBeforeDecode
else if(0===n.byteLength)return Promise.reject("Missed detached data input array")
return Promise.resolve()})),o=o.then((()=>a.subtle.signWithPrivateKey(n,e,s))),o=o.then((e=>(this.signerInfos[t].signature=new be({valueHex:e}),e))),o)}}Hn.ID_DATA="1.2.840.113549.1.7.1"
class qn{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",qn.defaultValues("version")),this.authSafe=(0,i.getParametersValue)(e,"authSafe",qn.defaultValues("authSafe")),"macData"in e&&(this.macData=(0,i.getParametersValue)(e,"macData",qn.defaultValues("macData"))),"parsedValue"in e&&(this.parsedValue=(0,i.getParametersValue)(e,"parsedValue",qn.defaultValues("parsedValue"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return 3
case"authSafe":return new Yt
case"macData":return new jn
case"parsedValue":return{}
default:throw new Error(`Invalid member name for PFX class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"version":return t===qn.defaultValues(e)
case"authSafe":return Yt.compareWithDefault("contentType",t.contentType)&&Yt.compareWithDefault("content",t.content)
case"macData":return jn.compareWithDefault("mac",t.mac)&&jn.compareWithDefault("macSalt",t.macSalt)&&jn.compareWithDefault("iterations",t.iterations)
case"parsedValue":return t instanceof Object&&0===Object.keys(t).length
default:throw new Error(`Invalid member name for PFX class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.version||"version"}),Yt.schema(t.authSafe||{names:{blockName:"authSafe"}}),jn.schema(t.macData||{names:{blockName:"macData",optional:!0}})]})}fromSchema(e){(0,i.clearProps)(e,["version","authSafe","macData"])
const t=ht(e,e,qn.schema({names:{version:"version",authSafe:{names:{blockName:"authSafe"}},macData:{names:{blockName:"macData"}}}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PFX")
this.version=t.result.version.valueBlock.valueDec,this.authSafe=new Yt({schema:t.result.authSafe}),"macData"in t.result&&(this.macData=new jn({schema:t.result.macData}))}toSchema(){const e=[new _e({value:this.version}),this.authSafe.toSchema()]
return"macData"in this&&e.push(this.macData.toSchema()),new De({value:e})}toJSON(){const e={version:this.version,authSafe:this.authSafe.toJSON()}
return"macData"in this&&(e.macData=this.macData.toJSON()),e}makeInternalValues(e={}){if(e instanceof Object==0)return Promise.reject('The "parameters" must has "Object" type')
if("parsedValue"in this==0)return Promise.reject('Please call "parseValues" function first in order to make "parsedValue" data')
if("integrityMode"in this.parsedValue==0)return Promise.reject('Absent mandatory parameter "integrityMode" inside "parsedValue"')
let t=Promise.resolve()
const r=Tt()
if(void 0===r)return Promise.reject("Unable to create WebCrypto object")
if("authenticatedSafe"in this.parsedValue==0)return Promise.reject('Absent mandatory parameter "authenticatedSafe" in "parsedValue"')
switch(this.parsedValue.integrityMode){case 0:{if("iterations"in e==0)return Promise.reject('Absent mandatory parameter "iterations"')
if("pbkdf2HashAlgorithm"in e==0)return Promise.reject('Absent mandatory parameter "pbkdf2HashAlgorithm"')
if("hmacHashAlgorithm"in e==0)return Promise.reject('Absent mandatory parameter "hmacHashAlgorithm"')
if("password"in e==0)return Promise.reject('Absent mandatory parameter "password"')
const r=new ArrayBuffer(64)
It(new Uint8Array(r))
const n=this.parsedValue.authenticatedSafe.toSchema().toBER(!1)
this.authSafe=new Yt({contentType:"1.2.840.113549.1.7.1",content:new be({valueHex:n})})
const i=Pt()
if("stampDataWithPassword"in i.subtle==0)return Promise.reject(`No support for "stampDataWithPassword" in current engine "${i.name}"`)
t=t.then((()=>i.subtle.stampDataWithPassword({password:e.password,hashAlgorithm:e.hmacHashAlgorithm,salt:r,iterationCount:e.iterations,contentToStamp:n}))),t=t.then((t=>{this.macData=new jn({mac:new Pn({digestAlgorithm:new dt({algorithmId:jt({name:e.hmacHashAlgorithm})}),digest:new be({valueHex:t})}),macSalt:new be({valueHex:r}),iterations:e.iterations})}),(e=>Promise.reject(e)))}break
case 1:{if("signingCertificate"in e==0)return Promise.reject('Absent mandatory parameter "signingCertificate"')
if("privateKey"in e==0)return Promise.reject('Absent mandatory parameter "privateKey"')
if("hashAlgorithm"in e==0)return Promise.reject('Absent mandatory parameter "hashAlgorithm"')
const n=this.parsedValue.authenticatedSafe.toSchema().toBER(!1),i=new Hn({version:1,encapContentInfo:new Tn({eContentType:"1.2.840.113549.1.7.1",eContent:new be({valueHex:n})}),certificates:[e.signingCertificate]})
t=t.then((()=>r.digest({name:e.hashAlgorithm},new Uint8Array(n)))),t=t.then((t=>{const r=[]
r.push(new yt({type:"1.2.840.113549.1.9.3",values:[new Pe({value:"1.2.840.113549.1.7.1"})]})),r.push(new yt({type:"1.2.840.113549.1.9.5",values:[new et({valueDate:new Date})]})),r.push(new yt({type:"1.2.840.113549.1.9.4",values:[new be({valueHex:t})]})),i.signerInfos.push(new $n({version:1,sid:new en({issuer:e.signingCertificate.issuer,serialNumber:e.signingCertificate.serialNumber}),signedAttrs:new Vn({type:0,attributes:r})}))}),(e=>Promise.reject(`Error during making digest for message: ${e}`))),t=t.then((()=>i.sign(e.privateKey,0,e.hashAlgorithm))),t=t.then((()=>{this.authSafe=new Yt({contentType:"1.2.840.113549.1.7.2",content:i.toSchema(!0)})}),(e=>Promise.reject(`Error during making signature: ${e}`)))}break
default:return Promise.reject(`Parameter "integrityMode" has unknown value: ${e.integrityMode}`)}return t}parseInternalValues(e){if(e instanceof Object==0)return Promise.reject('The "parameters" must has "Object" type')
"checkIntegrity"in e==0&&(e.checkIntegrity=!0)
let t=Promise.resolve()
if(void 0===Tt())return Promise.reject("Unable to create WebCrypto object")
switch(this.parsedValue={},this.authSafe.contentType){case"1.2.840.113549.1.7.1":{if("password"in e==0)return Promise.reject('Absent mandatory parameter "password"')
if(this.parsedValue.integrityMode=0,this.authSafe.content instanceof be==0)return Promise.reject('Wrong type of "this.authSafe.content"')
let r=new ArrayBuffer(0)
if(this.authSafe.content.valueBlock.isConstructed)for(const e of this.authSafe.content.valueBlock.value)r=(0,i.utilConcatBuf)(r,e.valueBlock.valueHex)
else r=this.authSafe.content.valueBlock.valueHex
const n=ue(r)
if(-1===n.offset)return Promise.reject('Error during parsing of ASN.1 data inside "this.authSafe.content"')
if(this.parsedValue.authenticatedSafe=new kn({schema:n.result}),e.checkIntegrity){if("macData"in this==0)return Promise.reject('Absent "macData" value, can not check PKCS#12 data integrity')
const n=Lt(this.macData.mac.digestAlgorithm.algorithmId)
if("name"in n==0)return Promise.reject(`Unsupported digest algorithm: ${this.macData.mac.digestAlgorithm.algorithmId}`)
const i=Pt()
t=t.then((()=>i.subtle.verifyDataStampedWithPassword({password:e.password,hashAlgorithm:n.name,salt:this.macData.macSalt.valueBlock.valueHex,iterationCount:this.macData.iterations,contentToVerify:r,signatureToVerify:this.macData.mac.digest.valueBlock.valueHex}))),t=t.then((e=>!1===e?Promise.reject("Integrity for the PKCS#12 data is broken!"):Promise.resolve()),(e=>Promise.reject(e)))}}break
case"1.2.840.113549.1.7.2":{this.parsedValue.integrityMode=1
const e=new Hn({schema:this.authSafe.content})
if("eContent"in e.encapContentInfo==0)return Promise.reject('Absent of attached data in "cmsSigned.encapContentInfo"')
if(e.encapContentInfo.eContent instanceof be==0)return Promise.reject('Wrong type of "cmsSigned.encapContentInfo.eContent"')
let r=new ArrayBuffer(0)
if(!1===e.encapContentInfo.eContent.idBlock.isConstructed)r=e.encapContentInfo.eContent.valueBlock.valueHex
else for(let t=0;t<e.encapContentInfo.eContent.valueBlock.value.length;t++)r=(0,i.utilConcatBuf)(r,e.encapContentInfo.eContent.valueBlock.value[t].valueBlock.valueHex)
const n=ue(r)
if(-1===n.offset)return Promise.reject('Error during parsing of ASN.1 data inside "this.authSafe.content"')
this.parsedValue.authenticatedSafe=new kn({schema:n.result}),t=t.then((()=>e.verify({signer:0,checkChain:!1}))).then((e=>!1===e?Promise.reject("Integrity for the PKCS#12 data is broken!"):Promise.resolve()),(e=>Promise.reject(`Error during integrity verification: ${e}`)))}break
default:return Promise.reject(`Incorrect value for "this.authSafe.contentType": ${this.authSafe.contentType}`)}return t.then((()=>this),(e=>Promise.reject(`Error during parsing: ${e}`)))}}class Wn{constructor(e={}){this.status=(0,i.getParametersValue)(e,"status",Wn.defaultValues("status")),"statusStrings"in e&&(this.statusStrings=(0,i.getParametersValue)(e,"statusStrings",Wn.defaultValues("statusStrings"))),"failInfo"in e&&(this.failInfo=(0,i.getParametersValue)(e,"failInfo",Wn.defaultValues("failInfo"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"status":return 2
case"statusStrings":return[]
case"failInfo":return new Se
default:throw new Error(`Invalid member name for PKIStatusInfo class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"status":return t===Wn.defaultValues(e)
case"statusStrings":return 0===t.length
case"failInfo":return t.isEqual(Wn.defaultValues(e))
default:throw new Error(`Invalid member name for PKIStatusInfo class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"",value:[new _e({name:t.status||""}),new De({optional:!0,value:[new ct({name:t.statusStrings||"",value:new Fe})]}),new Se({name:t.failInfo||"",optional:!0})]})}fromSchema(e){(0,i.clearProps)(e,["status","statusStrings","failInfo"])
const t=ht(e,e,Wn.schema({names:{status:"status",statusStrings:"statusStrings",failInfo:"failInfo"}}))
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for PKIStatusInfo")
const r=t.result.status
if(!0===r.valueBlock.isHexOnly||r.valueBlock.valueDec<0||r.valueBlock.valueDec>5)throw new Error('PKIStatusInfo "status" has invalid value')
this.status=r.valueBlock.valueDec,"statusStrings"in t.result&&(this.statusStrings=t.result.statusStrings),"failInfo"in t.result&&(this.failInfo=t.result.failInfo)}toSchema(){const e=[]
return e.push(new _e({value:this.status})),"statusStrings"in this&&e.push(new De({optional:!0,value:this.statusStrings})),"failInfo"in this&&e.push(this.failInfo),new De({value:e})}toJSON(){const e={status:this.status}
return"statusStrings"in this&&(e.statusStrings=Array.from(this.statusStrings,(e=>e.toJSON()))),"failInfo"in this&&(e.failInfo=this.failInfo.toJSON()),e}}class Kn{constructor(e={}){this.version=(0,i.getParametersValue)(e,"version",Kn.defaultValues("version")),this.messageImprint=(0,i.getParametersValue)(e,"messageImprint",Kn.defaultValues("messageImprint")),"reqPolicy"in e&&(this.reqPolicy=(0,i.getParametersValue)(e,"reqPolicy",Kn.defaultValues("reqPolicy"))),"nonce"in e&&(this.nonce=(0,i.getParametersValue)(e,"nonce",Kn.defaultValues("nonce"))),"certReq"in e&&(this.certReq=(0,i.getParametersValue)(e,"certReq",Kn.defaultValues("certReq"))),"extensions"in e&&(this.extensions=(0,i.getParametersValue)(e,"extensions",Kn.defaultValues("extensions"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"version":return 0
case"messageImprint":return new Dn
case"reqPolicy":return""
case"nonce":return new _e
case"certReq":return!1
case"extensions":return[]
default:throw new Error(`Invalid member name for TimeStampReq class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"version":case"reqPolicy":case"certReq":return t===Kn.defaultValues(e)
case"messageImprint":return Dn.compareWithDefault("hashAlgorithm",t.hashAlgorithm)&&Dn.compareWithDefault("hashedMessage",t.hashedMessage)
case"nonce":return t.isEqual(Kn.defaultValues(e))
case"extensions":return 0===t.length
default:throw new Error(`Invalid member name for TimeStampReq class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"TimeStampReq",value:[new _e({name:t.version||"TimeStampReq.version"}),Dn.schema(t.messageImprint||{names:{blockName:"TimeStampReq.messageImprint"}}),new Pe({name:t.reqPolicy||"TimeStampReq.reqPolicy",optional:!0}),new _e({name:t.nonce||"TimeStampReq.nonce",optional:!0}),new ye({name:t.certReq||"TimeStampReq.certReq",optional:!0}),new de({optional:!0,idBlock:{tagClass:3,tagNumber:0},value:[new ct({name:t.extensions||"TimeStampReq.extensions",value:Ar.schema()})]})]})}fromSchema(e){(0,i.clearProps)(e,["TimeStampReq.version","TimeStampReq.messageImprint","TimeStampReq.reqPolicy","TimeStampReq.nonce","TimeStampReq.certReq","TimeStampReq.extensions"])
const t=ht(e,e,Kn.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for TimeStampReq")
this.version=t.result["TimeStampReq.version"].valueBlock.valueDec,this.messageImprint=new Dn({schema:t.result["TimeStampReq.messageImprint"]}),"TimeStampReq.reqPolicy"in t.result&&(this.reqPolicy=t.result["TimeStampReq.reqPolicy"].valueBlock.toString()),"TimeStampReq.nonce"in t.result&&(this.nonce=t.result["TimeStampReq.nonce"]),"TimeStampReq.certReq"in t.result&&(this.certReq=t.result["TimeStampReq.certReq"].valueBlock.value),"TimeStampReq.extensions"in t.result&&(this.extensions=Array.from(t.result["TimeStampReq.extensions"],(e=>new Ar({schema:e}))))}toSchema(){const e=[]
return e.push(new _e({value:this.version})),e.push(this.messageImprint.toSchema()),"reqPolicy"in this&&e.push(new Pe({value:this.reqPolicy})),"nonce"in this&&e.push(this.nonce),"certReq"in this&&!1===Kn.compareWithDefault("certReq",this.certReq)&&e.push(new ye({value:this.certReq})),"extensions"in this&&e.push(new de({idBlock:{tagClass:3,tagNumber:0},value:Array.from(this.extensions,(e=>e.toSchema()))})),new De({value:e})}toJSON(){const e={version:this.version,messageImprint:this.messageImprint.toJSON()}
return"reqPolicy"in this&&(e.reqPolicy=this.reqPolicy),"nonce"in this&&(e.nonce=this.nonce.toJSON()),"certReq"in this&&!1===Kn.compareWithDefault("certReq",this.certReq)&&(e.certReq=this.certReq),"extensions"in this&&(e.extensions=Array.from(this.extensions,(e=>e.toJSON()))),e}}class Zn{constructor(e={}){this.status=(0,i.getParametersValue)(e,"status",Zn.defaultValues("status")),"timeStampToken"in e&&(this.timeStampToken=(0,i.getParametersValue)(e,"timeStampToken",Zn.defaultValues("timeStampToken"))),"schema"in e&&this.fromSchema(e.schema)}static defaultValues(e){switch(e){case"status":return new Wn
case"timeStampToken":return new Yt
default:throw new Error(`Invalid member name for TimeStampResp class: ${e}`)}}static compareWithDefault(e,t){switch(e){case"status":return Wn.compareWithDefault("status",t.status)&&"statusStrings"in t==0&&"failInfo"in t==0
case"timeStampToken":return""===t.contentType&&t.content instanceof at
default:throw new Error(`Invalid member name for TimeStampResp class: ${e}`)}}static schema(e={}){const t=(0,i.getParametersValue)(e,"names",{})
return new De({name:t.blockName||"TimeStampResp",value:[Wn.schema(t.status||{names:{blockName:"TimeStampResp.status"}}),Yt.schema(t.timeStampToken||{names:{blockName:"TimeStampResp.timeStampToken",optional:!0}})]})}fromSchema(e){(0,i.clearProps)(e,["TimeStampResp.status","TimeStampResp.timeStampToken"])
const t=ht(e,e,Zn.schema())
if(!1===t.verified)throw new Error("Object's schema was not verified against input data for TimeStampResp")
this.status=new Wn({schema:t.result["TimeStampResp.status"]}),"TimeStampResp.timeStampToken"in t.result&&(this.timeStampToken=new Yt({schema:t.result["TimeStampResp.timeStampToken"]}))}toSchema(){const e=[]
return e.push(this.status.toSchema()),"timeStampToken"in this&&e.push(this.timeStampToken.toSchema()),new De({value:e})}toJSON(){const e={status:this.status}
return"timeStampToken"in this&&(e.timeStampToken=this.timeStampToken.toJSON()),e}sign(e,t){return"timeStampToken"in this==0?Promise.reject("timeStampToken is absent in TSP response"):"1.2.840.113549.1.7.2"!==this.timeStampToken.contentType?Promise.reject(`Wrong format of timeStampToken: ${this.timeStampToken.contentType}`):new Yt({schema:this.timeStampToken.content}).sign(e,0,t)}verify(e={signer:0,trustedCerts:[],data:new ArrayBuffer(0)}){return"timeStampToken"in this==0?Promise.reject("timeStampToken is absent in TSP response"):"1.2.840.113549.1.7.2"!==this.timeStampToken.contentType?Promise.reject(`Wrong format of timeStampToken: ${this.timeStampToken.contentType}`):new Hn({schema:this.timeStampToken.content}).verify(e)}}},49241:()=>{!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/}
e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash
for(var i=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=n.variable[1].inside,o=0;o<i.length;o++)s[i[o]]=e.languages.bash[i[o]]
e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(Prism)},66175:()=>{Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"]},10751:()=>{var e;(e=Prism).languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars,e.languages.mustache=e.languages.handlebars},9402:()=>{Prism.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}},11420:()=>{Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},1335:()=>{Prism.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:Prism.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}},52443:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,n,i,s){if(r.language===n){var o=r.tokenStack=[]
r.code=r.code.replace(i,(function(e){if("function"==typeof s&&!s(e))return e
for(var i,a=o.length;-1!==r.code.indexOf(i=t(n,a));)++a
return o[a]=e,i})),r.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(r,n){if(r.language===n&&r.tokenStack){r.grammar=e.languages[n]
var i=0,s=Object.keys(r.tokenStack)
!function o(a){for(var l=0;l<a.length&&!(i>=s.length);l++){var c=a[l]
if("string"==typeof c||c.content&&"string"==typeof c.content){var u=s[i],h=r.tokenStack[u],d="string"==typeof c?c:c.content,p=t(n,u),f=d.indexOf(p)
if(f>-1){++i
var m=d.substring(0,f),g=new e.Token(n,e.tokenize(h,r.grammar),"language-"+n,h),y=d.substring(f+p.length),v=[]
m&&v.push.apply(v,o([m])),v.push(g),y&&v.push.apply(v,o([y])),"string"==typeof c?a.splice.apply(a,[l,1].concat(v)):c.content=v}}else c.content&&o(c.content)}return a}(r.tokens)}}}})}(Prism)},51386:()=>{!function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}})
var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}}
delete e.languages.ruby.function
var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source
e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(Prism)},42069:()=>{var e,t
e=Prism,t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,(function(){return t})),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]},94399:()=>{!function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+r.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source
function o(e,t){t=(t||"").replace(/m/g,"")+"m"
var r=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return n})).replace(/<<value>>/g,(function(){return e}))
return RegExp(r,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return n}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return n})).replace(/<<key>>/g,(function(){return"(?:"+i+"|"+s+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(s),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(Prism)},66813:()=>{!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document&&document.querySelector){var e,t="line-numbers",r="linkable-line-numbers",n=/\n(?!$)/g,i=!0
Prism.plugins.lineHighlight={highlightLines:function(s,c,u){var h=(c="string"==typeof c?c:s.getAttribute("data-line")||"").replace(/\s+/g,"").split(",").filter(Boolean),d=+s.getAttribute("data-line-offset")||0,p=(function(){if(void 0===e){var t=document.createElement("div")
t.style.fontSize="13px",t.style.lineHeight="1.5",t.style.padding="0",t.style.border="0",t.innerHTML="&nbsp;<br />&nbsp;",document.body.appendChild(t),e=38===t.offsetHeight,document.body.removeChild(t)}return e}()?parseInt:parseFloat)(getComputedStyle(s).lineHeight),f=Prism.util.isActive(s,t),m=s.querySelector("code"),g=f?s:m||s,y=[],v=m.textContent.match(n),b=v?v.length+1:1,w=m&&g!=m?function(e,t){var r=getComputedStyle(e),n=getComputedStyle(t)
function i(e){return+e.substr(0,e.length-2)}return t.offsetTop+i(n.borderTopWidth)+i(n.paddingTop)-i(r.paddingTop)}(s,m):0
h.forEach((function(e){var t=e.split("-"),r=+t[0],n=+t[1]||r
if(!((n=Math.min(b+d,n))<r)){var i=s.querySelector('.line-highlight[data-range="'+e+'"]')||document.createElement("div")
if(y.push((function(){i.setAttribute("aria-hidden","true"),i.setAttribute("data-range",e),i.className=(u||"")+" line-highlight"})),f&&Prism.plugins.lineNumbers){var o=Prism.plugins.lineNumbers.getLine(s,r),a=Prism.plugins.lineNumbers.getLine(s,n)
if(o){var l=o.offsetTop+w+"px"
y.push((function(){i.style.top=l}))}if(a){var c=a.offsetTop-o.offsetTop+a.offsetHeight+"px"
y.push((function(){i.style.height=c}))}}else y.push((function(){i.setAttribute("data-start",String(r)),n>r&&i.setAttribute("data-end",String(n)),i.style.top=(r-d-1)*p+w+"px",i.textContent=new Array(n-r+2).join(" \n")}))
y.push((function(){i.style.width=s.scrollWidth+"px"})),y.push((function(){g.appendChild(i)}))}}))
var S=s.id
if(f&&Prism.util.isActive(s,r)&&S){a(s,r)||y.push((function(){s.classList.add(r)}))
var k=parseInt(s.getAttribute("data-start")||"1")
o(".line-numbers-rows > span",s).forEach((function(e,t){var r=t+k
e.onclick=function(){var e=S+"."+r
i=!1,location.hash=e,setTimeout((function(){i=!0}),1)}}))}return function(){y.forEach(l)}}}
var s=0
Prism.hooks.add("before-sanity-check",(function(e){var t=e.element.parentElement
if(c(t)){var r=0
o(".line-highlight",t).forEach((function(e){r+=e.textContent.length,e.parentNode.removeChild(e)})),r&&/^(?: \n)+$/.test(e.code.slice(-r))&&(e.code=e.code.slice(0,-r))}})),Prism.hooks.add("complete",(function e(r){var n=r.element.parentElement
if(c(n)){clearTimeout(s)
var i=Prism.plugins.lineNumbers,o=r.plugins&&r.plugins.lineNumbers
a(n,t)&&i&&!o?Prism.hooks.add("line-numbers",e):(Prism.plugins.lineHighlight.highlightLines(n)(),s=setTimeout(u,1))}})),window.addEventListener("hashchange",u),window.addEventListener("resize",(function(){o("pre").filter(c).map((function(e){return Prism.plugins.lineHighlight.highlightLines(e)})).forEach(l)}))}function o(e,t){return Array.prototype.slice.call((t||document).querySelectorAll(e))}function a(e,t){return e.classList.contains(t)}function l(e){e()}function c(e){return!!(e&&/pre/i.test(e.nodeName)&&(e.hasAttribute("data-line")||e.id&&Prism.util.isActive(e,r)))}function u(){var e=location.hash.slice(1)
o(".temporary.line-highlight").forEach((function(e){e.parentNode.removeChild(e)}))
var t=(e.match(/\.([\d,-]+)$/)||[,""])[1]
if(t&&!document.getElementById(e)){var r=e.slice(0,e.lastIndexOf(".")),n=document.getElementById(r)
n&&(n.hasAttribute("data-line")||n.setAttribute("data-line",""),Prism.plugins.lineHighlight.highlightLines(n,t,"temporary ")(),i&&document.querySelector(".temporary.line-highlight").scrollIntoView())}}}()},74312:()=>{!function(){if("undefined"!=typeof Prism&&"undefined"!=typeof document){var e="line-numbers",t=/\n(?!$)/g,r=Prism.plugins.lineNumbers={getLine:function(t,r){if("PRE"===t.tagName&&t.classList.contains(e)){var n=t.querySelector(".line-numbers-rows")
if(n){var i=parseInt(t.getAttribute("data-start"),10)||1,s=i+(n.children.length-1)
r<i&&(r=i),r>s&&(r=s)
var o=r-i
return n.children[o]}}},resize:function(e){i([e])},assumeViewportIndependence:!0},n=void 0
window.addEventListener("resize",(function(){r.assumeViewportIndependence&&n===window.innerWidth||(n=window.innerWidth,i(Array.prototype.slice.call(document.querySelectorAll("pre."+e))))})),Prism.hooks.add("complete",(function(r){if(r.code){var n=r.element,s=n.parentNode
if(s&&/pre/i.test(s.nodeName)&&!n.querySelector(".line-numbers-rows")&&Prism.util.isActive(n,e)){n.classList.remove(e),s.classList.add(e)
var o,a=r.code.match(t),l=a?a.length+1:1,c=new Array(l+1).join("<span></span>");(o=document.createElement("span")).setAttribute("aria-hidden","true"),o.className="line-numbers-rows",o.innerHTML=c,s.hasAttribute("data-start")&&(s.style.counterReset="linenumber "+(parseInt(s.getAttribute("data-start"),10)-1)),r.element.appendChild(o),i([s]),Prism.hooks.run("line-numbers",r)}}})),Prism.hooks.add("line-numbers",(function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0}))}function i(e){if(0!=(e=e.filter((function(e){var t,r=(t=e,t?window.getComputedStyle?getComputedStyle(t):t.currentStyle||null:null)["white-space"]
return"pre-wrap"===r||"pre-line"===r}))).length){var r=e.map((function(e){var r=e.querySelector("code"),n=e.querySelector(".line-numbers-rows")
if(r&&n){var i=e.querySelector(".line-numbers-sizer"),s=r.textContent.split(t)
i||((i=document.createElement("span")).className="line-numbers-sizer",r.appendChild(i)),i.innerHTML="0",i.style.display="block"
var o=i.getBoundingClientRect().height
return i.innerHTML="",{element:e,lines:s,lineHeights:[],oneLinerHeight:o,sizer:i}}})).filter(Boolean)
r.forEach((function(e){var t=e.sizer,r=e.lines,n=e.lineHeights,i=e.oneLinerHeight
n[r.length-1]=void 0,r.forEach((function(e,r){if(e&&e.length>1){var s=t.appendChild(document.createElement("span"))
s.style.display="block",s.textContent=e}else n[r]=i}))})),r.forEach((function(e){for(var t=e.sizer,r=e.lineHeights,n=0,i=0;i<r.length;i++)void 0===r[i]&&(r[i]=t.children[n++].getBoundingClientRect().height)})),r.forEach((function(e){var t=e.sizer,r=e.element.querySelector(".line-numbers-rows")
t.style.display="none",t.innerHTML="",e.lineHeights.forEach((function(e,t){r.children[t].style.height=e+"px"}))}))}}}()},5730:e=>{var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,n={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof s?new s(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++r}),e.__id},clone:function e(t,r){var n,s
switch(r=r||{},i.util.type(t)){case"Object":if(s=i.util.objId(t),r[s])return r[s]
for(var o in n={},r[s]=n,t)t.hasOwnProperty(o)&&(n[o]=e(t[o],r))
return n
case"Array":return s=i.util.objId(t),r[s]?r[s]:(n=[],r[s]=n,t.forEach((function(t,i){n[i]=e(t,r)})),n)
default:return t}},getLanguage:function(e){for(;e;){var r=t.exec(e.className)
if(r)return r[1].toLowerCase()
e=e.parentElement}return"none"},setLanguage:function(e,r){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+r)},currentScript:function(){if("undefined"==typeof document)return null
if("currentScript"in document)return document.currentScript
try{throw new Error}catch(n){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1]
if(e){var t=document.getElementsByTagName("script")
for(var r in t)if(t[r].src==e)return t[r]}return null}},isActive:function(e,t,r){for(var n="no-"+t;e;){var i=e.classList
if(i.contains(t))return!0
if(i.contains(n))return!1
e=e.parentElement}return!!r}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var r=i.util.clone(i.languages[e])
for(var n in t)r[n]=t[n]
return r},insertBefore:function(e,t,r,n){var s=(n=n||i.languages)[e],o={}
for(var a in s)if(s.hasOwnProperty(a)){if(a==t)for(var l in r)r.hasOwnProperty(l)&&(o[l]=r[l])
r.hasOwnProperty(a)||(o[a]=s[a])}var c=n[e]
return n[e]=o,i.languages.DFS(i.languages,(function(t,r){r===c&&t!=e&&(this[t]=o)})),o},DFS:function e(t,r,n,s){s=s||{}
var o=i.util.objId
for(var a in t)if(t.hasOwnProperty(a)){r.call(t,a,t[a],n||a)
var l=t[a],c=i.util.type(l)
"Object"!==c||s[o(l)]?"Array"!==c||s[o(l)]||(s[o(l)]=!0,e(l,r,a,s)):(s[o(l)]=!0,e(l,r,null,s))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,r){var n={callback:r,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'}
i.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),i.hooks.run("before-all-elements-highlight",n)
for(var s,o=0;s=n.elements[o++];)i.highlightElement(s,!0===t,n.callback)},highlightElement:function(t,r,n){var s=i.util.getLanguage(t),o=i.languages[s]
i.util.setLanguage(t,s)
var a=t.parentElement
a&&"pre"===a.nodeName.toLowerCase()&&i.util.setLanguage(a,s)
var l={element:t,language:s,grammar:o,code:t.textContent}
function c(e){l.highlightedCode=e,i.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,i.hooks.run("after-highlight",l),i.hooks.run("complete",l),n&&n.call(l.element)}if(i.hooks.run("before-sanity-check",l),(a=l.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!l.code)return i.hooks.run("complete",l),void(n&&n.call(l.element))
if(i.hooks.run("before-highlight",l),l.grammar)if(r&&e.Worker){var u=new Worker(i.filename)
u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(i.highlight(l.code,l.grammar,l.language))
else c(i.util.encode(l.code))},highlight:function(e,t,r){var n={code:e,grammar:t,language:r}
if(i.hooks.run("before-tokenize",n),!n.grammar)throw new Error('The language "'+n.language+'" has no grammar.')
return n.tokens=i.tokenize(n.code,n.grammar),i.hooks.run("after-tokenize",n),s.stringify(i.util.encode(n.tokens),n.language)},tokenize:function(e,t){var r=t.rest
if(r){for(var n in r)t[n]=r[n]
delete t.rest}var i=new l
return c(i,i.head,e),a(e,i,t,i.head,0),function(e){for(var t=[],r=e.head.next;r!==e.tail;)t.push(r.value),r=r.next
return t}(i)},hooks:{all:{},add:function(e,t){var r=i.hooks.all
r[e]=r[e]||[],r[e].push(t)},run:function(e,t){var r=i.hooks.all[e]
if(r&&r.length)for(var n,s=0;n=r[s++];)n(t)}},Token:s}
function s(e,t,r,n){this.type=e,this.content=t,this.alias=r,this.length=0|(n||"").length}function o(e,t,r,n){e.lastIndex=t
var i=e.exec(r)
if(i&&n&&i[1]){var s=i[1].length
i.index+=s,i[0]=i[0].slice(s)}return i}function a(e,t,r,n,l,h){for(var d in r)if(r.hasOwnProperty(d)&&r[d]){var p=r[d]
p=Array.isArray(p)?p:[p]
for(var f=0;f<p.length;++f){if(h&&h.cause==d+","+f)return
var m=p[f],g=m.inside,y=!!m.lookbehind,v=!!m.greedy,b=m.alias
if(v&&!m.pattern.global){var w=m.pattern.toString().match(/[imsuy]*$/)[0]
m.pattern=RegExp(m.pattern.source,w+"g")}for(var S=m.pattern||m,k=n.next,x=l;k!==t.tail&&!(h&&x>=h.reach);x+=k.value.length,k=k.next){var E=k.value
if(t.length>e.length)return
if(!(E instanceof s)){var N,_=1
if(v){if(!(N=o(S,x,e,y))||N.index>=e.length)break
var C=N.index,A=N.index+N[0].length,O=x
for(O+=k.value.length;C>=O;)O+=(k=k.next).value.length
if(x=O-=k.value.length,k.value instanceof s)continue
for(var P=k;P!==t.tail&&(O<A||"string"==typeof P.value);P=P.next)_++,O+=P.value.length
_--,E=e.slice(x,O),N.index-=x}else if(!(N=o(S,0,E,y)))continue
C=N.index
var T=N[0],I=E.slice(0,C),j=E.slice(C+T.length),D=x+E.length
h&&D>h.reach&&(h.reach=D)
var M=k.prev
if(I&&(M=c(t,M,I),x+=I.length),u(t,M,_),k=c(t,M,new s(d,g?i.tokenize(T,g):T,b,T)),j&&c(t,k,j),_>1){var B={cause:d+","+f,reach:D}
a(e,t,r,k.prev,x,B),h&&B.reach>h.reach&&(h.reach=B.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null}
e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,r){var n=t.next,i={value:r,prev:t,next:n}
return t.next=i,n.prev=i,e.length++,i}function u(e,t,r){for(var n=t.next,i=0;i<r&&n!==e.tail;i++)n=n.next
t.next=n,n.prev=t,e.length-=i}if(e.Prism=i,s.stringify=function e(t,r){if("string"==typeof t)return t
if(Array.isArray(t)){var n=""
return t.forEach((function(t){n+=e(t,r)})),n}var s={type:t.type,content:e(t.content,r),tag:"span",classes:["token",t.type],attributes:{},language:r},o=t.alias
o&&(Array.isArray(o)?Array.prototype.push.apply(s.classes,o):s.classes.push(o)),i.hooks.run("wrap",s)
var a=""
for(var l in s.attributes)a+=" "+l+'="'+(s.attributes[l]||"").replace(/"/g,"&quot;")+'"'
return"<"+s.tag+' class="'+s.classes.join(" ")+'"'+a+">"+s.content+"</"+s.tag+">"},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var r=JSON.parse(t.data),n=r.language,s=r.code,o=r.immediateClose
e.postMessage(i.highlight(s,i.languages[n],n)),o&&e.close()}),!1),i):i
var h=i.util.currentScript()
function d(){i.manual||i.highlightAll()}if(h&&(i.filename=h.src,h.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var p=document.readyState
"loading"===p||"interactive"===p&&h&&h.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{})
e.exports&&(e.exports=t),"undefined"!=typeof global&&(global.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))})),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,r){var n={}
n["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},n.cdata=/^<!\[CDATA\[|\]\]>$/i
var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}
i["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]}
var s={}
s[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:i},t.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/
e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css
var r=e.languages.markup
r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector)
var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",n="loading",i="loaded",s="pre[data-src]:not(["+r+'="'+i+'"]):not(['+r+'="'+n+'"])'
t.hooks.add("before-highlightall",(function(e){e.selector+=", "+s})),t.hooks.add("before-sanity-check",(function(o){var a=o.element
if(a.matches(s)){o.code="",a.setAttribute(r,n)
var l=a.appendChild(document.createElement("CODE"))
l.textContent="Loading…"
var c=a.getAttribute("data-src"),u=o.language
if("none"===u){var h=(/\.(\w+)$/.exec(c)||[,"none"])[1]
u=e[h]||h}t.util.setLanguage(l,u),t.util.setLanguage(a,u)
var d=t.plugins.autoloader
d&&d.loadLanguages(u),function(e,n,s){var o=new XMLHttpRequest
o.open("GET",e,!0),o.onreadystatechange=function(){4==o.readyState&&(o.status<400&&o.responseText?function(e){a.setAttribute(r,i)
var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"")
if(t){var r=Number(t[1]),n=t[2],i=t[3]
return n?i?[r,Number(i)]:[r,void 0]:[r,r]}}(a.getAttribute("data-range"))
if(n){var s=e.split(/\r\n?|\n/g),o=n[0],c=null==n[1]?s.length:n[1]
o<0&&(o+=s.length),o=Math.max(0,Math.min(o-1,s.length)),c<0&&(c+=s.length),c=Math.max(0,Math.min(c,s.length)),e=s.slice(o,c).join("\n"),a.hasAttribute("data-start")||a.setAttribute("data-start",String(o+1))}l.textContent=e,t.highlightElement(l)}(o.responseText):o.status>=400?s("✖ Error "+o.status+" while fetching file: "+o.statusText):s("✖ Error: File does not exist or is empty"))},o.send(null)}(c,0,(function(e){a.setAttribute(r,"failed"),l.textContent=e}))}})),t.plugins.fileHighlight={highlight:function(e){for(var r,n=(e||document).querySelectorAll(s),i=0;r=n[i++];)t.highlightElement(r)}}
var o=!1
t.fileHighlight=function(){o||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),o=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},19157:(e,t)=>{"use strict"
class r{static isArrayBuffer(e){return"[object ArrayBuffer]"===Object.prototype.toString.call(e)}static toArrayBuffer(e){return this.isArrayBuffer(e)?e:e.byteLength===e.buffer.byteLength||0===e.byteOffset&&e.byteLength===e.buffer.byteLength?e.buffer:this.toUint8Array(e.buffer).slice(e.byteOffset,e.byteOffset+e.byteLength).buffer}static toUint8Array(e){return this.toView(e,Uint8Array)}static toView(e,t){if(e.constructor===t)return e
if(this.isArrayBuffer(e))return new t(e)
if(this.isArrayBufferView(e))return new t(e.buffer,e.byteOffset,e.byteLength)
throw new TypeError("The provided value is not of type '(ArrayBuffer or ArrayBufferView)'")}static isBufferSource(e){return this.isArrayBufferView(e)||this.isArrayBuffer(e)}static isArrayBufferView(e){return ArrayBuffer.isView(e)||e&&this.isArrayBuffer(e.buffer)}static isEqual(e,t){const n=r.toUint8Array(e),i=r.toUint8Array(t)
if(n.length!==i.byteLength)return!1
for(let r=0;r<n.length;r++)if(n[r]!==i[r])return!1
return!0}static concat(...e){let t
t=!Array.isArray(e[0])||e[1]instanceof Function?Array.isArray(e[0])&&e[1]instanceof Function?e[0]:e[e.length-1]instanceof Function?e.slice(0,e.length-1):e:e[0]
let r=0
for(const s of t)r+=s.byteLength
const n=new Uint8Array(r)
let i=0
for(const s of t){const e=this.toUint8Array(s)
n.set(e,i),i+=e.length}return e[e.length-1]instanceof Function?this.toView(n,e[e.length-1]):n.buffer}}const n="string",i=/^[0-9a-f]+$/i,s=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,o=/^[a-zA-Z0-9-_]+$/
class a{static fromString(e){const t=unescape(encodeURIComponent(e)),r=new Uint8Array(t.length)
for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n)
return r.buffer}static toString(e){const t=r.toUint8Array(e)
let n=""
for(let r=0;r<t.length;r++)n+=String.fromCharCode(t[r])
return decodeURIComponent(escape(n))}}class l{static toString(e,t=!1){const n=r.toArrayBuffer(e),i=new DataView(n)
let s=""
for(let r=0;r<n.byteLength;r+=2){const e=i.getUint16(r,t)
s+=String.fromCharCode(e)}return s}static fromString(e,t=!1){const r=new ArrayBuffer(2*e.length),n=new DataView(r)
for(let i=0;i<e.length;i++)n.setUint16(2*i,e.charCodeAt(i),t)
return r}}class c{static isHex(e){return typeof e===n&&i.test(e)}static isBase64(e){return typeof e===n&&s.test(e)}static isBase64Url(e){return typeof e===n&&o.test(e)}static ToString(e,t="utf8"){const n=r.toUint8Array(e)
switch(t.toLowerCase()){case"utf8":return this.ToUtf8String(n)
case"binary":return this.ToBinary(n)
case"hex":return this.ToHex(n)
case"base64":return this.ToBase64(n)
case"base64url":return this.ToBase64Url(n)
case"utf16le":return l.toString(n,!0)
case"utf16":case"utf16be":return l.toString(n)
default:throw new Error(`Unknown type of encoding '${t}'`)}}static FromString(e,t="utf8"){if(!e)return new ArrayBuffer(0)
switch(t.toLowerCase()){case"utf8":return this.FromUtf8String(e)
case"binary":return this.FromBinary(e)
case"hex":return this.FromHex(e)
case"base64":return this.FromBase64(e)
case"base64url":return this.FromBase64Url(e)
case"utf16le":return l.fromString(e,!0)
case"utf16":case"utf16be":return l.fromString(e)
default:throw new Error(`Unknown type of encoding '${t}'`)}}static ToBase64(e){const t=r.toUint8Array(e)
if("undefined"!=typeof btoa){const e=this.ToString(t,"binary")
return btoa(e)}return Buffer.from(t).toString("base64")}static FromBase64(e){const t=this.formatString(e)
if(!t)return new ArrayBuffer(0)
if(!c.isBase64(t))throw new TypeError("Argument 'base64Text' is not Base64 encoded")
return"undefined"!=typeof atob?this.FromBinary(atob(t)):new Uint8Array(Buffer.from(t,"base64")).buffer}static FromBase64Url(e){const t=this.formatString(e)
if(!t)return new ArrayBuffer(0)
if(!c.isBase64Url(t))throw new TypeError("Argument 'base64url' is not Base64Url encoded")
return this.FromBase64(this.Base64Padding(t.replace(/\-/g,"+").replace(/\_/g,"/")))}static ToBase64Url(e){return this.ToBase64(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/\=/g,"")}static FromUtf8String(e,t=c.DEFAULT_UTF8_ENCODING){switch(t){case"ascii":return this.FromBinary(e)
case"utf8":return a.fromString(e)
case"utf16":case"utf16be":return l.fromString(e)
case"utf16le":case"usc2":return l.fromString(e,!0)
default:throw new Error(`Unknown type of encoding '${t}'`)}}static ToUtf8String(e,t=c.DEFAULT_UTF8_ENCODING){switch(t){case"ascii":return this.ToBinary(e)
case"utf8":return a.toString(e)
case"utf16":case"utf16be":return l.toString(e)
case"utf16le":case"usc2":return l.toString(e,!0)
default:throw new Error(`Unknown type of encoding '${t}'`)}}static FromBinary(e){const t=e.length,r=new Uint8Array(t)
for(let n=0;n<t;n++)r[n]=e.charCodeAt(n)
return r.buffer}static ToBinary(e){const t=r.toUint8Array(e)
let n=""
for(let r=0;r<t.length;r++)n+=String.fromCharCode(t[r])
return n}static ToHex(e){const t=r.toUint8Array(e)
let n=""
const i=t.length
for(let r=0;r<i;r++){const e=t[r]
e<16&&(n+="0"),n+=e.toString(16)}return n}static FromHex(e){let t=this.formatString(e)
if(!t)return new ArrayBuffer(0)
if(!c.isHex(t))throw new TypeError("Argument 'hexString' is not HEX encoded")
t.length%2&&(t=`0${t}`)
const r=new Uint8Array(t.length/2)
for(let n=0;n<t.length;n+=2){const e=t.slice(n,n+2)
r[n/2]=parseInt(e,16)}return r.buffer}static ToUtf16String(e,t=!1){return l.toString(e,t)}static FromUtf16String(e,t=!1){return l.fromString(e,t)}static Base64Padding(e){const t=4-e.length%4
if(t<4)for(let r=0;r<t;r++)e+="="
return e}static formatString(e){return(null==e?void 0:e.replace(/[\n\r\t ]/g,""))||""}}c.DEFAULT_UTF8_ENCODING="utf8",t.vJ=r,t.ep=c},90899:(e,t,r)=>{"use strict"
function n(e){return new Date(e.getTime()+6e4*e.getTimezoneOffset())}function i(e,t,r){var n
return e instanceof Object==0?r:null!==(n=e[t])&&void 0!==n?n:r}function s(e,t=0,r=e.byteLength-t,n=!1){let i=""
for(const s of new Uint8Array(e,t,r)){const e=s.toString(16).toUpperCase()
1===e.length&&(i+="0"),i+=e,n&&(i+=" ")}return i.trim()}function o(e,t,r,n){return t instanceof ArrayBuffer?t.byteLength?r<0?(e.error="Wrong parameter: inputOffset less than zero",!1):n<0?(e.error="Wrong parameter: inputLength less than zero",!1):!(t.byteLength-r-n<0&&(e.error="End of input reached before message was fully decoded (inconsistent offset and length values)",1)):(e.error="Wrong parameter: inputBuffer has zero length",!1):(e.error='Wrong parameter: inputBuffer must be "ArrayBuffer"',!1)}function a(e,t){let r=0
if(1===e.length)return e[0]
for(let n=e.length-1;n>=0;n--)r+=e[e.length-1-n]*Math.pow(2,t*n)
return r}function l(e,t,r=-1){const n=r
let i=e,s=0,o=Math.pow(2,t)
for(let a=1;a<8;a++){if(e<o){let e
if(n<0)e=new ArrayBuffer(a),s=a
else{if(n<a)return new ArrayBuffer(0)
e=new ArrayBuffer(n),s=n}const r=new Uint8Array(e)
for(let n=a-1;n>=0;n--){const e=Math.pow(2,n*t)
r[s-n-1]=Math.floor(i/e),i-=r[s-n-1]*e}return e}o*=Math.pow(2,t)}return new ArrayBuffer(0)}function c(...e){let t=0,r=0
for(const s of e)t+=s.byteLength
const n=new ArrayBuffer(t),i=new Uint8Array(n)
for(const s of e)i.set(new Uint8Array(s),r),r+=s.byteLength
return n}function u(...e){let t=0,r=0
for(const s of e)t+=s.length
const n=new ArrayBuffer(t),i=new Uint8Array(n)
for(const s of e)i.set(s,r),r+=s.length
return i}function h(){const e=new Uint8Array(this.valueHex)
if(this.valueHex.byteLength>=2){const t=255===e[0]&&128&e[1],r=0===e[0]&&!(128&e[1]);(t||r)&&this.warnings.push("Needlessly long format")}const t=new ArrayBuffer(this.valueHex.byteLength),r=new Uint8Array(t)
for(let o=0;o<this.valueHex.byteLength;o++)r[o]=0
r[0]=128&e[0]
const n=a(r,8),i=new ArrayBuffer(this.valueHex.byteLength),s=new Uint8Array(i)
for(let o=0;o<this.valueHex.byteLength;o++)s[o]=e[o]
return s[0]&=127,a(s,8)-n}function d(e){const t=e<0?-1*e:e
let r=128
for(let n=1;n<8;n++){if(t<=r){if(e<0){const e=l(r-t,8,n)
return new Uint8Array(e)[0]|=128,e}let i=l(t,8,n),s=new Uint8Array(i)
if(128&s[0]){const e=i.slice(0),t=new Uint8Array(e)
i=new ArrayBuffer(i.byteLength+1),s=new Uint8Array(i)
for(let r=0;r<e.byteLength;r++)s[r+1]=t[r]
s[0]=0}return i}r*=Math.pow(2,8)}return new ArrayBuffer(0)}function p(e,t){if(e.byteLength!==t.byteLength)return!1
const r=new Uint8Array(e),n=new Uint8Array(t)
for(let i=0;i<r.length;i++)if(r[i]!==n[i])return!1
return!0}function f(e,t){const r=e.toString(10)
if(t<r.length)return""
const n=t-r.length,i=new Array(n)
for(let s=0;s<n;s++)i[s]="0"
return i.join("").concat(r)}r.r(t),r.d(t,{arrayBufferToString:()=>b,bufferToHexCodes:()=>s,checkBufferParams:()=>o,clearProps:()=>x,fromBase64:()=>v,getParametersValue:()=>i,getUTCDate:()=>n,isEqualBuffer:()=>p,nearestPowerOf2:()=>k,padNumber:()=>f,stringToArrayBuffer:()=>w,toBase64:()=>y,utilConcatBuf:()=>c,utilConcatView:()=>u,utilDecodeTC:()=>h,utilEncodeTC:()=>d,utilFromBase:()=>a,utilToBase:()=>l})
const m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_="
function y(e,t=!1,r=!1,n=!1){let i=0,s=0,o=0,a=""
const l=t?g:m
if(n){let t=0
for(let r=0;r<e.length;r++)if(0!==e.charCodeAt(r)){t=r
break}e=e.slice(t)}for(;i<e.length;){const t=e.charCodeAt(i++)
i>=e.length&&(s=1)
const n=e.charCodeAt(i++)
i>=e.length&&(o=1)
const c=e.charCodeAt(i++),u=t>>2,h=(3&t)<<4|n>>4
let d=(15&n)<<2|c>>6,p=63&c
1===s?d=p=64:1===o&&(p=64),a+=r?64===d?`${l.charAt(u)}${l.charAt(h)}`:64===p?`${l.charAt(u)}${l.charAt(h)}${l.charAt(d)}`:`${l.charAt(u)}${l.charAt(h)}${l.charAt(d)}${l.charAt(p)}`:`${l.charAt(u)}${l.charAt(h)}${l.charAt(d)}${l.charAt(p)}`}return a}function v(e,t=!1,r=!1){const n=t?g:m
function i(e){for(let t=0;t<64;t++)if(n.charAt(t)===e)return t
return 64}function s(e){return 64===e?0:e}let o=0,a=""
for(;o<e.length;){const t=i(e.charAt(o++)),r=o>=e.length?0:i(e.charAt(o++)),n=o>=e.length?0:i(e.charAt(o++)),l=o>=e.length?0:i(e.charAt(o++)),c=s(t)<<2|s(r)>>4,u=(15&s(r))<<4|s(n)>>2,h=(3&s(n))<<6|s(l)
a+=String.fromCharCode(c),64!==n&&(a+=String.fromCharCode(u)),64!==l&&(a+=String.fromCharCode(h))}if(r){let e=-1
for(let t=a.length-1;t>=0;t--)if(0!==a.charCodeAt(t)){e=t
break}a=-1!==e?a.slice(0,e+1):""}return a}function b(e){let t=""
const r=new Uint8Array(e)
for(const n of r)t+=String.fromCharCode(n)
return t}function w(e){const t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r)
for(let i=0;i<t;i++)n[i]=e.charCodeAt(i)
return r}const S=Math.log(2)
function k(e){const t=Math.log(e)/S,r=Math.floor(t),n=Math.round(t)
return r===n?r:n}function x(e,t){for(const r of t)delete e[r]}},42022:(e,t,r)=>{"use strict"
function n(e){var t=e._promiseCallbacks
return t||(t=e._promiseCallbacks={}),t}r.d(t,{JD:()=>I,PQ:()=>z,ZP:()=>de})
var i={mixin:function(e){return e.on=this.on,e.off=this.off,e.trigger=this.trigger,e._promiseCallbacks=void 0,e},on:function(e,t){if("function"!=typeof t)throw new TypeError("Callback must be a function")
var r=n(this),i=r[e]
i||(i=r[e]=[]),-1===i.indexOf(t)&&i.push(t)},off:function(e,t){var r=n(this)
if(t){var i=r[e],s=i.indexOf(t);-1!==s&&i.splice(s,1)}else r[e]=[]},trigger:function(e,t,r){var i=n(this)[e]
if(i)for(var s=0;s<i.length;s++)(0,i[s])(t,r)}},s={instrument:!1}
function o(e,t){if(2!==arguments.length)return s[e]
s[e]=t}i.mixin(s)
var a=[]
function l(e,t,r){1===a.push({name:e,payload:{key:t._guidKey,id:t._id,eventName:e,detail:t._result,childId:r&&r._id,label:t._label,timeStamp:Date.now(),error:s["instrument-with-stack"]?new Error(t._label):null}})&&setTimeout((function(){for(var e=0;e<a.length;e++){var t=a[e],r=t.payload
r.guid=r.key+r.id,r.childGuid=r.key+r.childId,r.error&&(r.stack=r.error.stack),s.trigger(t.name,t.payload)}a.length=0}),50)}function c(e,t){if(e&&"object"==typeof e&&e.constructor===this)return e
var r=new this(u,t)
return w(r,e),r}function u(){}var h=void 0,d=1,p=2,f={error:null}
function m(e){try{return e.then}catch(e){return f.error=e,f}}var g=void 0
function y(){try{var e=g
return g=null,e.apply(this,arguments)}catch(e){return f.error=e,f}}function v(e){return g=e,y}function b(e,t,r){if(t.constructor===e.constructor&&r===C&&e.constructor.resolve===c)!function(e,t){t._state===d?k(e,t._result):t._state===p?(t._onError=null,x(e,t._result)):E(t,void 0,(function(r){t===r?k(e,r):w(e,r)}),(function(t){return x(e,t)}))}(e,t)
else if(r===f){var n=f.error
f.error=null,x(e,n)}else"function"==typeof r?function(e,t,r){s.async((function(e){var n=!1,i=v(r).call(t,(function(r){n||(n=!0,t===r?k(e,r):w(e,r))}),(function(t){n||(n=!0,x(e,t))}),"Settle: "+(e._label||" unknown promise"))
if(!n&&i===f){n=!0
var s=f.error
f.error=null,x(e,s)}}),e)}(e,t,r):k(e,t)}function w(e,t){var r,n
e===t?k(e,t):(n=typeof(r=t),null===r||"object"!==n&&"function"!==n?k(e,t):b(e,t,m(t)))}function S(e){e._onError&&e._onError(e._result),N(e)}function k(e,t){e._state===h&&(e._result=t,e._state=d,0===e._subscribers.length?s.instrument&&l("fulfilled",e):s.async(N,e))}function x(e,t){e._state===h&&(e._state=p,e._result=t,s.async(S,e))}function E(e,t,r,n){var i=e._subscribers,o=i.length
e._onError=null,i[o]=t,i[o+d]=r,i[o+p]=n,0===o&&e._state&&s.async(N,e)}function N(e){var t=e._subscribers,r=e._state
if(s.instrument&&l(r===d?"fulfilled":"rejected",e),0!==t.length){for(var n=void 0,i=void 0,o=e._result,a=0;a<t.length;a+=3)n=t[a],i=t[a+r],n?_(r,n,i,o):i(o)
e._subscribers.length=0}}function _(e,t,r,n){var i,s="function"==typeof r
if(i=s?v(r)(n):n,t._state!==h);else if(i===t)x(t,new TypeError("A promises callback cannot return that same promise."))
else if(i===f){var o=f.error
f.error=null,x(t,o)}else s?w(t,i):e===d?k(t,i):e===p&&x(t,i)}function C(e,t,r){var n=this,i=n._state
if(i===d&&!e||i===p&&!t)return s.instrument&&l("chained",n,n),n
n._onError=null
var o=new n.constructor(u,r),a=n._result
if(s.instrument&&l("chained",n,o),i===h)E(n,o,e,t)
else{var c=i===d?e:t
s.async((function(){return _(i,o,c,a)}))}return o}var A=function(){function e(e,t,r,n){this._instanceConstructor=e,this.promise=new e(u,n),this._abortOnReject=r,this._isUsingOwnPromise=e===I,this._isUsingOwnResolve=e.resolve===c,this._init.apply(this,arguments)}return e.prototype._init=function(e,t){var r=t.length||0
this.length=r,this._remaining=r,this._result=new Array(r),this._enumerate(t)},e.prototype._enumerate=function(e){for(var t=this.length,r=this.promise,n=0;r._state===h&&n<t;n++)this._eachEntry(e[n],n,!0)
this._checkFullfillment()},e.prototype._checkFullfillment=function(){if(0===this._remaining){var e=this._result
k(this.promise,e),this._result=null}},e.prototype._settleMaybeThenable=function(e,t,r){var n=this._instanceConstructor
if(this._isUsingOwnResolve){var i=m(e)
if(i===C&&e._state!==h)e._onError=null,this._settledAt(e._state,t,e._result,r)
else if("function"!=typeof i)this._settledAt(d,t,e,r)
else if(this._isUsingOwnPromise){var s=new n(u)
b(s,e,i),this._willSettleAt(s,t,r)}else this._willSettleAt(new n((function(t){return t(e)})),t,r)}else this._willSettleAt(n.resolve(e),t,r)},e.prototype._eachEntry=function(e,t,r){null!==e&&"object"==typeof e?this._settleMaybeThenable(e,t,r):this._setResultAt(d,t,e,r)},e.prototype._settledAt=function(e,t,r,n){var i=this.promise
i._state===h&&(this._abortOnReject&&e===p?x(i,r):(this._setResultAt(e,t,r,n),this._checkFullfillment()))},e.prototype._setResultAt=function(e,t,r,n){this._remaining--,this._result[t]=r},e.prototype._willSettleAt=function(e,t,r){var n=this
E(e,void 0,(function(e){return n._settledAt(d,t,e,r)}),(function(e){return n._settledAt(p,t,e,r)}))},e}()
function O(e,t,r){this._remaining--,this._result[t]=e===d?{state:"fulfilled",value:r}:{state:"rejected",reason:r}}var P="rsvp_"+Date.now()+"-",T=0,I=function(){function e(t,r){this._id=T++,this._label=r,this._state=void 0,this._result=void 0,this._subscribers=[],s.instrument&&l("created",this),u!==t&&("function"!=typeof t&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof e?function(e,t){var r=!1
try{t((function(t){r||(r=!0,w(e,t))}),(function(t){r||(r=!0,x(e,t))}))}catch(t){x(e,t)}}(this,t):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return e.prototype._onError=function(e){var t=this
s.after((function(){t._onError&&s.trigger("error",e,t._label)}))},e.prototype.catch=function(e,t){return this.then(void 0,e,t)},e.prototype.finally=function(e,t){var r=this,n=r.constructor
return"function"==typeof e?r.then((function(t){return n.resolve(e()).then((function(){return t}))}),(function(t){return n.resolve(e()).then((function(){throw t}))})):r.then(e,e)},e}()
function j(e,t){return{then:function(r,n){return e.call(t,r,n)}}}function D(e,t,r,n){if(v(r).apply(n,t)===f){var i=f.error
f.error=null,x(e,i)}return e}function M(e){return null!==e&&"object"==typeof e&&(e.constructor===I||m(e))}I.cast=c,I.all=function(e,t){return Array.isArray(e)?new A(this,e,!0,t).promise:this.reject(new TypeError("Promise.all must be called with an array"),t)},I.race=function(e,t){var r=new this(u,t)
if(!Array.isArray(e))return x(r,new TypeError("Promise.race must be called with an array")),r
for(var n=0;r._state===h&&n<e.length;n++)E(this.resolve(e[n]),void 0,(function(e){return w(r,e)}),(function(e){return x(r,e)}))
return r},I.resolve=c,I.reject=function(e,t){var r=new this(u,t)
return x(r,e),r},I.prototype._guidKey=P,I.prototype.then=C
var B=function(e){function t(t,r,n){return function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,t,r,!1,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t)
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(A)
B.prototype._setResultAt=O
var R=function(e){function t(t,r){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments[3]
return function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,t,r,n,i))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t)
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype._init=function(e,t){this._result={},this._enumerate(t)},t.prototype._enumerate=function(e){var t=Object.keys(e),r=t.length,n=this.promise
this._remaining=r
for(var i=void 0,s=void 0,o=0;n._state===h&&o<r;o++)s=e[i=t[o]],this._eachEntry(s,i,!0)
this._checkFullfillment()},t}(A),L=function(e){function t(t,r,n){return function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,t,r,!1,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t)
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(R)
function z(e){var t={resolve:void 0,reject:void 0}
return t.promise=new I((function(e,r){t.resolve=e,t.reject=r}),e),t}L.prototype._setResultAt=O
var F=function(e){function t(t,r,n,i){return function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,t,r,!0,i,n))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t)
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype._init=function(e,t,r,n,i){var s=t.length||0
this.length=s,this._remaining=s,this._result=new Array(s),this._mapFn=i,this._enumerate(t)},t.prototype._setResultAt=function(e,t,r,n){if(n){var i=v(this._mapFn)(r,t)
i===f?this._settledAt(p,t,i.error,!1):this._eachEntry(i,t,!1)}else this._remaining--,this._result[t]=r},t}(A)
function V(e,t){return I.resolve(e,t)}var $={},U=function(e){function t(){return function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t)
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype._checkFullfillment=function(){if(0===this._remaining&&null!==this._result){var e=this._result.filter((function(e){return e!==$}))
k(this.promise,e),this._result=null}},t.prototype._setResultAt=function(e,t,r,n){if(n){this._result[t]=r
var i=v(this._mapFn)(r,t)
i===f?this._settledAt(p,t,i.error,!1):this._eachEntry(i,t,!1)}else this._remaining--,r||(this._result[t]=$)},t}(F),H=0,q=void 0
function W(e,t){Q[H]=e,Q[H+1]=t,2===(H+=2)&&ae()}var K="undefined"!=typeof window?window:void 0,Z=K||{},J=Z.MutationObserver||Z.WebKitMutationObserver,G="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),Y="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel
function X(){return function(){return setTimeout(ee,1)}}var Q=new Array(1e3)
function ee(){for(var e=0;e<H;e+=2)(0,Q[e])(Q[e+1]),Q[e]=void 0,Q[e+1]=void 0
H=0}var te,re,ne,ie,se,oe,ae=void 0
G?(se=process.nextTick,oe=process.versions.node.match(/^(?:(\d+)\.)?(?:(\d+)\.)?(\*|\d+)$/),Array.isArray(oe)&&"0"===oe[1]&&"10"===oe[2]&&(se=setImmediate),ae=function(){return se(ee)}):J?(re=0,ne=new J(ee),ie=document.createTextNode(""),ne.observe(ie,{characterData:!0}),ae=function(){return ie.data=re=++re%2}):Y?((te=new MessageChannel).port1.onmessage=ee,ae=function(){return te.port2.postMessage(0)}):ae=void 0===K?function(){try{var e=Function("return this")().require("vertx")
return void 0!==(q=e.runOnLoop||e.runOnContext)?function(){q(ee)}:X()}catch(e){return X()}}():X(),s.async=W,s.after=function(e){return setTimeout(e,0)}
var le=V
function ce(){s.on.apply(s,arguments)}if("undefined"!=typeof window&&"object"==typeof window.__PROMISE_INSTRUMENTATION__){var ue=window.__PROMISE_INSTRUMENTATION__
for(var he in o("instrument",!0),ue)ue.hasOwnProperty(he)&&ce(he,ue[he])}const de={asap:W,cast:le,Promise:I,EventTarget:i,all:function(e,t){return I.all(e,t)},allSettled:function(e,t){return Array.isArray(e)?new B(I,e,t).promise:I.reject(new TypeError("Promise.allSettled must be called with an array"),t)},race:function(e,t){return I.race(e,t)},hash:function(e,t){return I.resolve(e,t).then((function(e){if(null===e||"object"!=typeof e)throw new TypeError("Promise.hash must be called with an object")
return new R(I,e,t).promise}))},hashSettled:function(e,t){return I.resolve(e,t).then((function(e){if(null===e||"object"!=typeof e)throw new TypeError("hashSettled must be called with an object")
return new L(I,e,!1,t).promise}))},rethrow:function(e){throw setTimeout((function(){throw e})),e},defer:z,denodeify:function(e,t){var r=function(){for(var r=arguments.length,n=new Array(r+1),i=!1,s=0;s<r;++s){var o=arguments[s]
if(!i){if((i=M(o))===f){var a=f.error
f.error=null
var l=new I(u)
return x(l,a),l}i&&!0!==i&&(o=j(i,o))}n[s]=o}var c=new I(u)
return n[r]=function(e,r){e?x(c,e):void 0===t?w(c,r):!0===t?w(c,function(e){for(var t=e.length,r=new Array(t-1),n=1;n<t;n++)r[n-1]=e[n]
return r}(arguments)):Array.isArray(t)?w(c,function(e,t){for(var r={},n=e.length,i=new Array(n),s=0;s<n;s++)i[s]=e[s]
for(var o=0;o<t.length;o++)r[t[o]]=i[o+1]
return r}(arguments,t)):w(c,r)},i?function(e,t,r,n){return I.all(t).then((function(t){return D(e,t,r,n)}))}(c,n,e,this):D(c,n,e,this)}
return r.__proto__=e,r},configure:o,on:ce,off:function(){s.off.apply(s,arguments)},resolve:V,reject:function(e,t){return I.reject(e,t)},map:function(e,t,r){return"function"!=typeof t?I.reject(new TypeError("map expects a function as a second argument"),r):I.resolve(e,r).then((function(e){if(!Array.isArray(e))throw new TypeError("map must be called with an array")
return new F(I,e,t,r).promise}))},async:function(e,t){return s.async(e,t)},filter:function(e,t,r){return"function"!=typeof t?I.reject(new TypeError("filter expects function as a second argument"),r):I.resolve(e,r).then((function(e){if(!Array.isArray(e))throw new TypeError("filter must be called with an array")
return new U(I,e,t,r).promise}))}}},53919:(e,t,r)=>{"use strict"
t.quote=r(34716),t.parse=r(1197)},1197:e=>{"use strict"
for(var t="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",r=new RegExp("^"+t+"$"),n="|&;()<> \\t",i=/^#$/,s="",o=0;o<4;o++)s+=(4294967296*Math.random()).toString(16)
var a=new RegExp("^"+s)
e.exports=function(e,o,l){var c=function(e,o,a){a||(a={})
var l=a.escape||"\\",c=new RegExp(["("+t+")","((\\"+l+"['\""+n+"]|[^\\s'\""+n+"])+|\"((\\\\\"|[^\"])*?)\"|'((\\\\'|[^'])*?)')+"].join("|"),"g"),u=function(e,t){for(var r,n=t.lastIndex,i=[];r=t.exec(e);)i.push(r),t.lastIndex===r.index&&(t.lastIndex+=1)
return t.lastIndex=n,i}(e,c)
if(0===u.length)return[]
o||(o={})
var h=!1
return u.map((function(t){var n=t[0]
if(n&&!h){if(r.test(n))return{op:n}
var a,c=!1,u=!1,d="",p=!1
for(a=0;a<n.length;a++){var f=n.charAt(a)
if(p=p||!c&&("*"===f||"?"===f),u)d+=f,u=!1
else if(c)f===c?c=!1:"'"==c?d+=f:f===l?(a+=1,d+='"'===(f=n.charAt(a))||f===l||"$"===f?f:l+f):d+="$"===f?g():f
else if('"'===f||"'"===f)c=f
else{if(r.test(f))return{op:n}
if(i.test(f)){h=!0
var m={comment:e.slice(t.index+a+1)}
return d.length?[d,m]:[m]}f===l?u=!0:d+="$"===f?g():f}}return p?{op:"glob",pattern:d}:d}function g(){var e,t
a+=1
var r=n.charAt(a)
if("{"===r){if(a+=1,"}"===n.charAt(a))throw new Error("Bad substitution: "+n.slice(a-2,a+1))
if((e=n.indexOf("}",a))<0)throw new Error("Bad substitution: "+n.slice(a))
t=n.slice(a,e),a=e}else if(/[*@#?$!_-]/.test(r))t=r,a+=1
else{var i=n.slice(a);(e=i.match(/[^\w\d_]/))?(t=i.slice(0,e.index),a+=e.index-1):(t=i,a=n.length)}return function(e,t,r){var n="function"==typeof e?e(r):e[r]
return void 0===n&&""!=r?n="":void 0===n&&(n="$"),"object"==typeof n?""+s+JSON.stringify(n)+s:""+n}(o,0,t)}})).reduce((function(e,t){return void 0===t?e:e.concat(t)}),[])}(e,o,l)
return"function"!=typeof o?c:c.reduce((function(e,t){if("object"==typeof t)return e.concat(t)
var r=t.split(RegExp("("+s+".*?"+s+")","g"))
return 1===r.length?e.concat(r[0]):e.concat(r.filter(Boolean).map((function(e){return a.test(e)?JSON.parse(e.split(s)[1]):e})))}),[])}},34716:e=>{"use strict"
e.exports=function(e){return e.map((function(e){return e&&"object"==typeof e?e.op.replace(/(.)/g,"\\$1"):/["\s]/.test(e)&&!/'/.test(e)?"'"+e.replace(/(['\\])/g,"\\$1")+"'":/["'\s]/.test(e)?'"'+e.replace(/(["\\$`!])/g,"\\$1")+'"':String(e).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")})).join(" ")}},29992:(e,t,r)=>{"use strict"
const n=r(8947)
e.exports=e=>"string"==typeof e?e.replace(n(),""):e},8947:e=>{"use strict"
e.exports=({onlyFirst:e=!1}={})=>{const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|")
return new RegExp(t,e?void 0:"g")}},97127:function(e){function t(e,t,r){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,r)}function r(e,t){return e.get(i(e,t))}function n(e,t,r){return e.set(i(e,t),r),r}function i(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r
throw new TypeError("Private element is not present on this object")}function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o
o=()=>(()=>{var e,i,o={69119:(e,t)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.BLANK_URL=t.relativeFirstCharacters=t.whitespaceEscapeCharsRegex=t.urlSchemeRegex=t.ctrlCharactersRegex=t.htmlCtrlEntityRegex=t.htmlEntitiesRegex=t.invalidProtocolRegex=void 0,t.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,t.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,t.htmlCtrlEntityRegex=/&(newline|tab);/gi,t.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,t.urlSchemeRegex=/^.+(:|&colon;)/gim,t.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,t.relativeFirstCharacters=[".","/"],t.BLANK_URL="about:blank"},16750:(e,t,r)=>{"use strict"
t.J=void 0
var n=r(69119)
function i(e){try{return decodeURIComponent(e)}catch(t){return e}}t.J=function(e){if(!e)return n.BLANK_URL
var t,r,s=i(e)
do{t=(s=i(s=(r=s,r.replace(n.ctrlCharactersRegex,"").replace(n.htmlEntitiesRegex,(function(e,t){return String.fromCharCode(t)}))).replace(n.htmlCtrlEntityRegex,"").replace(n.ctrlCharactersRegex,"").replace(n.whitespaceEscapeCharsRegex,"").trim())).match(n.ctrlCharactersRegex)||s.match(n.htmlEntitiesRegex)||s.match(n.htmlCtrlEntityRegex)||s.match(n.whitespaceEscapeCharsRegex)}while(t&&t.length>0)
var o=s
if(!o)return n.BLANK_URL
if(function(e){return n.relativeFirstCharacters.indexOf(e[0])>-1}(o))return o
var a=o.match(n.urlSchemeRegex)
if(!a)return o
var l=a[0]
return n.invalidProtocolRegex.test(l)?n.BLANK_URL:o}},67526:(e,t)=>{"use strict"
t.byteLength=function(e){var t=a(e),r=t[0],n=t[1]
return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,s=a(e),o=s[0],l=s[1],c=new i(function(e,t,r){return 3*(t+r)/4-r}(0,o,l)),u=0,h=l>0?o-4:o
for(r=0;r<h;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t
return 2===l&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===l&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,s=[],o=16383,a=0,c=n-i;a<c;a+=o)s.push(l(e,a,a+o>c?c:a+o))
return 1===i?(t=e[n-1],s.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],s.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),s.join("")}
for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0;o<64;++o)r[o]=s[o],n[s.charCodeAt(o)]=o
function a(e){var t=e.length
if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4")
var r=e.indexOf("=")
return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,n){for(var i,s,o=[],a=t;a<n;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[(s=i)>>18&63]+r[s>>12&63]+r[s>>6&63]+r[63&s])
return o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},48287:(e,t,r)=>{"use strict"
const n=r(67526),i=r(251),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null
t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50
const o=2147483647
function a(e){if(e>o)throw new RangeError('The value "'+e+'" is invalid for option "size"')
const t=new Uint8Array(e)
return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number')
return h(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t)
const r=0|m(e,t)
let n=a(r)
const i=n.write(e,t)
return i!==r&&(n=n.slice(0,i)),n}(e,t)
if(ArrayBuffer.isView(e))return function(e){if(J(e,Uint8Array)){const t=new Uint8Array(e)
return p(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(e)
if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)
if(J(e,ArrayBuffer)||e&&J(e.buffer,ArrayBuffer))return p(e,t,r)
if("undefined"!=typeof SharedArrayBuffer&&(J(e,SharedArrayBuffer)||e&&J(e.buffer,SharedArrayBuffer)))return p(e,t,r)
if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number')
const n=e.valueOf&&e.valueOf()
if(null!=n&&n!==e)return l.from(n,t,r)
const i=function(e){if(l.isBuffer(e)){const t=0|f(e.length),r=a(t)
return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||G(e.length)?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e)
if(i)return i
if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,r)
throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number')
if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function h(e){return u(e),a(e<0?0:0|f(e))}function d(e){const t=e.length<0?0:0|f(e.length),r=a(t)
for(let n=0;n<t;n+=1)r[n]=255&e[n]
return r}function p(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds')
if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds')
let n
return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,l.prototype),n}function f(e){if(e>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes")
return 0|e}function m(e,t){if(l.isBuffer(e))return e.length
if(ArrayBuffer.isView(e)||J(e,ArrayBuffer))return e.byteLength
if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e)
const r=e.length,n=arguments.length>2&&!0===arguments[2]
if(!n&&0===r)return 0
let i=!1
for(;;)switch(t){case"ascii":case"latin1":case"binary":return r
case"utf8":case"utf-8":return W(e).length
case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r
case"hex":return r>>>1
case"base64":return K(e).length
default:if(i)return n?-1:W(e).length
t=(""+t).toLowerCase(),i=!0}}function g(e,t,r){let n=!1
if((void 0===t||t<0)&&(t=0),t>this.length)return""
if((void 0===r||r>this.length)&&(r=this.length),r<=0)return""
if((r>>>=0)<=(t>>>=0))return""
for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,r)
case"utf8":case"utf-8":return _(this,t,r)
case"ascii":return A(this,t,r)
case"latin1":case"binary":return O(this,t,r)
case"base64":return N(this,t,r)
case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,r)
default:if(n)throw new TypeError("Unknown encoding: "+e)
e=(e+"").toLowerCase(),n=!0}}function y(e,t,r){const n=e[t]
e[t]=e[r],e[r]=n}function v(e,t,r,n,i){if(0===e.length)return-1
if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),G(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1
r=e.length-1}else if(r<0){if(!i)return-1
r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i)
if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i)
throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){let s,o=1,a=e.length,l=t.length
if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1
o=2,a/=2,l/=2,r/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){let n=-1
for(s=r;s<a;s++)if(c(e,s)===c(t,-1===n?0:s-n)){if(-1===n&&(n=s),s-n+1===l)return n*o}else-1!==n&&(s-=s-n),n=-1}else for(r+l>a&&(r=a-l),s=r;s>=0;s--){let r=!0
for(let n=0;n<l;n++)if(c(e,s+n)!==c(t,n)){r=!1
break}if(r)return s}return-1}function w(e,t,r,n){r=Number(r)||0
const i=e.length-r
n?(n=Number(n))>i&&(n=i):n=i
const s=t.length
let o
for(n>s/2&&(n=s/2),o=0;o<n;++o){const n=parseInt(t.substr(2*o,2),16)
if(G(n))return o
e[r+o]=n}return o}function S(e,t,r,n){return Z(W(t,e.length-r),e,r,n)}function k(e,t,r,n){return Z(function(e){const t=[]
for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r))
return t}(t),e,r,n)}function x(e,t,r,n){return Z(K(t),e,r,n)}function E(e,t,r,n){return Z(function(e,t){let r,n,i
const s=[]
for(let o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),n=r>>8,i=r%256,s.push(i),s.push(n)
return s}(t,e.length-r),e,r,n)}function N(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function _(e,t,r){r=Math.min(e.length,r)
const n=[]
let i=t
for(;i<r;){const t=e[i]
let s=null,o=t>239?4:t>223?3:t>191?2:1
if(i+o<=r){let r,n,a,l
switch(o){case 1:t<128&&(s=t)
break
case 2:r=e[i+1],128==(192&r)&&(l=(31&t)<<6|63&r,l>127&&(s=l))
break
case 3:r=e[i+1],n=e[i+2],128==(192&r)&&128==(192&n)&&(l=(15&t)<<12|(63&r)<<6|63&n,l>2047&&(l<55296||l>57343)&&(s=l))
break
case 4:r=e[i+1],n=e[i+2],a=e[i+3],128==(192&r)&&128==(192&n)&&128==(192&a)&&(l=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&a,l>65535&&l<1114112&&(s=l))}}null===s?(s=65533,o=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=o}return function(e){const t=e.length
if(t<=C)return String.fromCharCode.apply(String,e)
let r="",n=0
for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=C))
return r}(n)}t.kMaxLength=o,l.TYPED_ARRAY_SUPPORT=function(){try{const e=new Uint8Array(1),t={foo:function(){return 42}}
return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,r){return function(e,t,r){return u(e),e<=0?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)}(e,t,r)},l.allocUnsafe=function(e){return h(e)},l.allocUnsafeSlow=function(e){return h(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(J(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),J(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array')
if(e===t)return 0
let r=e.length,n=t.length
for(let i=0,s=Math.min(r,n);i<s;++i)if(e[i]!==t[i]){r=e[i],n=t[i]
break}return r<n?-1:n<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0
default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers')
if(0===e.length)return l.alloc(0)
let r
if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length
const n=l.allocUnsafe(t)
let i=0
for(r=0;r<e.length;++r){let t=e[r]
if(J(t,Uint8Array))i+t.length>n.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i)
else{if(!l.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers')
t.copy(n,i)}i+=t.length}return n},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){const e=this.length
if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits")
for(let t=0;t<e;t+=2)y(this,t,t+1)
return this},l.prototype.swap32=function(){const e=this.length
if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits")
for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2)
return this},l.prototype.swap64=function(){const e=this.length
if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits")
for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4)
return this},l.prototype.toString=function(){const e=this.length
return 0===e?"":0===arguments.length?_(this,0,e):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer")
return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){let e=""
const r=t.INSPECT_MAX_BYTES
return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},s&&(l.prototype[s]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,i){if(J(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e)
if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index")
if(n>=i&&t>=r)return 0
if(n>=i)return-1
if(t>=r)return 1
if(this===e)return 0
let s=(i>>>=0)-(n>>>=0),o=(r>>>=0)-(t>>>=0)
const a=Math.min(s,o),c=this.slice(n,i),u=e.slice(t,r)
for(let l=0;l<a;++l)if(c[l]!==u[l]){s=c[l],o=u[l]
break}return s<o?-1:o<s?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0
else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0
else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported")
t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}const i=this.length-t
if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds")
n||(n="utf8")
let s=!1
for(;;)switch(n){case"hex":return w(this,e,t,r)
case"utf8":case"utf-8":return S(this,e,t,r)
case"ascii":case"latin1":case"binary":return k(this,e,t,r)
case"base64":return x(this,e,t,r)
case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r)
default:if(s)throw new TypeError("Unknown encoding: "+n)
n=(""+n).toLowerCase(),s=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}}
const C=4096
function A(e,t,r){let n=""
r=Math.min(e.length,r)
for(let i=t;i<r;++i)n+=String.fromCharCode(127&e[i])
return n}function O(e,t,r){let n=""
r=Math.min(e.length,r)
for(let i=t;i<r;++i)n+=String.fromCharCode(e[i])
return n}function P(e,t,r){const n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n)
let i=""
for(let s=t;s<r;++s)i+=Y[e[s]]
return i}function T(e,t,r){const n=e.slice(t,r)
let i=""
for(let s=0;s<n.length-1;s+=2)i+=String.fromCharCode(n[s]+256*n[s+1])
return i}function I(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint")
if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function j(e,t,r,n,i,s){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance')
if(t>i||t<s)throw new RangeError('"value" argument is out of bounds')
if(r+n>e.length)throw new RangeError("Index out of range")}function D(e,t,r,n,i){$(t,n,i,e,r,7)
let s=Number(t&BigInt(4294967295))
e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s
let o=Number(t>>BigInt(32)&BigInt(4294967295))
return e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,r}function M(e,t,r,n,i){$(t,n,i,e,r,7)
let s=Number(t&BigInt(4294967295))
e[r+7]=s,s>>=8,e[r+6]=s,s>>=8,e[r+5]=s,s>>=8,e[r+4]=s
let o=Number(t>>BigInt(32)&BigInt(4294967295))
return e[r+3]=o,o>>=8,e[r+2]=o,o>>=8,e[r+1]=o,o>>=8,e[r]=o,r+8}function B(e,t,r,n,i,s){if(r+n>e.length)throw new RangeError("Index out of range")
if(r<0)throw new RangeError("Index out of range")}function R(e,t,r,n,s){return t=+t,r>>>=0,s||B(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function L(e,t,r,n,s){return t=+t,r>>>=0,s||B(e,0,r,8),i.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){const r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e)
const n=this.subarray(e,t)
return Object.setPrototypeOf(n,l.prototype),n},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length)
let n=this[e],i=1,s=0
for(;++s<t&&(i*=256);)n+=this[e+s]*i
return n},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length)
let n=this[e+--t],i=1
for(;t>0&&(i*=256);)n+=this[e+--t]*i
return n},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||I(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=X((function(e){U(e>>>=0,"offset")
const t=this[e],r=this[e+7]
void 0!==t&&void 0!==r||H(e,this.length-8)
const n=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+r*2**24
return BigInt(n)+(BigInt(i)<<BigInt(32))})),l.prototype.readBigUInt64BE=X((function(e){U(e>>>=0,"offset")
const t=this[e],r=this[e+7]
void 0!==t&&void 0!==r||H(e,this.length-8)
const n=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+r
return(BigInt(n)<<BigInt(32))+BigInt(i)})),l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length)
let n=this[e],i=1,s=0
for(;++s<t&&(i*=256);)n+=this[e+s]*i
return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||I(e,t,this.length)
let n=t,i=1,s=this[e+--n]
for(;n>0&&(i*=256);)s+=this[e+--n]*i
return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s},l.prototype.readInt8=function(e,t){return e>>>=0,t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||I(e,2,this.length)
const r=this[e]|this[e+1]<<8
return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||I(e,2,this.length)
const r=this[e+1]|this[e]<<8
return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=X((function(e){U(e>>>=0,"offset")
const t=this[e],r=this[e+7]
void 0!==t&&void 0!==r||H(e,this.length-8)
const n=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24)
return(BigInt(n)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),l.prototype.readBigInt64BE=X((function(e){U(e>>>=0,"offset")
const t=this[e],r=this[e+7]
void 0!==t&&void 0!==r||H(e,this.length-8)
const n=(t<<24)+65536*this[++e]+256*this[++e]+this[++e]
return(BigInt(n)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+r)})),l.prototype.readFloatLE=function(e,t){return e>>>=0,t||I(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||I(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||I(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||I(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||j(this,e,t,r,Math.pow(2,8*r)-1,0)
let i=1,s=0
for(this[t]=255&e;++s<r&&(i*=256);)this[t+s]=e/i&255
return t+r},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||j(this,e,t,r,Math.pow(2,8*r)-1,0)
let i=r-1,s=1
for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255
return t+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=X((function(e,t=0){return D(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeBigUInt64BE=X((function(e,t=0){return M(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1)
j(this,e,t,r,n-1,-n)}let i=0,s=1,o=0
for(this[t]=255&e;++i<r&&(s*=256);)e<0&&0===o&&0!==this[t+i-1]&&(o=1),this[t+i]=(e/s|0)-o&255
return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){const n=Math.pow(2,8*r-1)
j(this,e,t,r,n-1,-n)}let i=r-1,s=1,o=0
for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/s|0)-o&255
return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=X((function(e,t=0){return D(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeBigInt64BE=X((function(e,t=0){return M(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),l.prototype.writeFloatLE=function(e,t,r){return R(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return R(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return L(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return L(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer")
if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0
if(0===e.length||0===this.length)return 0
if(t<0)throw new RangeError("targetStart out of bounds")
if(r<0||r>=this.length)throw new RangeError("Index out of range")
if(n<0)throw new RangeError("sourceEnd out of bounds")
n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r)
const i=n-r
return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string")
if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)
if(1===e.length){const t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e))
if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index")
if(r<=t)return this
let i
if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e
else{const s=l.isBuffer(e)?e:l.from(e,n),o=s.length
if(0===o)throw new TypeError('The value "'+e+'" is invalid for argument "value"')
for(i=0;i<r-t;++i)this[i+t]=s[i%o]}return this}
const z={}
function F(e,t,r){z[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function V(e){let t="",r=e.length
const n="-"===e[0]?1:0
for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`
return`${e.slice(0,r)}${t}`}function $(e,t,r,n,i,s){if(e>r||e<t){const n="bigint"==typeof t?"n":""
let i
throw i=s>3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(s+1)}${n}`:`>= -(2${n} ** ${8*(s+1)-1}${n}) and < 2 ** ${8*(s+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new z.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,r){U(t,"offset"),void 0!==e[t]&&void 0!==e[t+r]||H(t,e.length-(r+1))}(n,i,s)}function U(e,t){if("number"!=typeof e)throw new z.ERR_INVALID_ARG_TYPE(t,"number",e)}function H(e,t,r){if(Math.floor(e)!==e)throw U(e,r),new z.ERR_OUT_OF_RANGE(r||"offset","an integer",e)
if(t<0)throw new z.ERR_BUFFER_OUT_OF_BOUNDS
throw new z.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}F("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),F("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),F("ERR_OUT_OF_RANGE",(function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r
return Number.isInteger(r)&&Math.abs(r)>2**32?i=V(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=V(i)),i+="n"),n+=` It must be ${t}. Received ${i}`,n}),RangeError)
const q=/[^+/0-9A-Za-z-_]/g
function W(e,t){let r
t=t||1/0
const n=e.length
let i=null
const s=[]
for(let o=0;o<n;++o){if(r=e.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189)
continue}if(o+1===n){(t-=3)>-1&&s.push(239,191,189)
continue}i=r
continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r
continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189)
if(i=null,r<128){if((t-=1)<0)break
s.push(r)}else if(r<2048){if((t-=2)<0)break
s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break
s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point")
if((t-=4)<0)break
s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function K(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(q,"")).length<2)return""
for(;e.length%4!=0;)e+="="
return e}(e))}function Z(e,t,r,n){let i
for(i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i]
return i}function J(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function G(e){return e!=e}const Y=function(){const e="0123456789abcdef",t=new Array(256)
for(let r=0;r<16;++r){const n=16*r
for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}()
function X(e){return"undefined"==typeof BigInt?Q:e}function Q(){throw new Error("BigInt not supported")}},38075:(e,t,r)=>{"use strict"
var n=r(70453),i=r(10487),s=i(n("String.prototype.indexOf"))
e.exports=function(e,t){var r=n(e,!!t)
return"function"==typeof r&&s(e,".prototype.")>-1?i(r):r}},10487:(e,t,r)=>{"use strict"
var n=r(66743),i=r(70453),s=r(96897),o=r(69675),a=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||n.call(l,a),u=r(30655),h=i("%Math.max%")
e.exports=function(e){if("function"!=typeof e)throw new o("a function is required")
var t=c(n,l,arguments)
return s(t,1+h(0,e.length-(arguments.length-1)),!0)}
var d=function(){return c(n,a,arguments)}
u?u(e.exports,"apply",{value:d}):e.exports.apply=d},57427:(e,t)=>{"use strict"
t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string")
for(var r={},n=(t||{}).decode||i,s=0;s<e.length;){var a=e.indexOf("=",s)
if(-1===a)break
var l=e.indexOf(";",s)
if(-1===l)l=e.length
else if(l<a){s=e.lastIndexOf(";",a-1)+1
continue}var c=e.slice(s,a).trim()
if(void 0===r[c]){var u=e.slice(a+1,l).trim()
34===u.charCodeAt(0)&&(u=u.slice(1,-1)),r[c]=o(u,n)}s=l+1}return r},t.serialize=function(e,t,i){var o=i||{},a=o.encode||s
if("function"!=typeof a)throw new TypeError("option encode is invalid")
if(!n.test(e))throw new TypeError("argument name is invalid")
var l=a(t)
if(l&&!n.test(l))throw new TypeError("argument val is invalid")
var c=e+"="+l
if(null!=o.maxAge){var u=o.maxAge-0
if(isNaN(u)||!isFinite(u))throw new TypeError("option maxAge is invalid")
c+="; Max-Age="+Math.floor(u)}if(o.domain){if(!n.test(o.domain))throw new TypeError("option domain is invalid")
c+="; Domain="+o.domain}if(o.path){if(!n.test(o.path))throw new TypeError("option path is invalid")
c+="; Path="+o.path}if(o.expires){var h=o.expires
if(!function(e){return"[object Date]"===r.call(e)||e instanceof Date}(h)||isNaN(h.valueOf()))throw new TypeError("option expires is invalid")
c+="; Expires="+h.toUTCString()}if(o.httpOnly&&(c+="; HttpOnly"),o.secure&&(c+="; Secure"),o.partitioned&&(c+="; Partitioned"),o.priority)switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":c+="; Priority=Low"
break
case"medium":c+="; Priority=Medium"
break
case"high":c+="; Priority=High"
break
default:throw new TypeError("option priority is invalid")}if(o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:c+="; SameSite=Strict"
break
case"lax":c+="; SameSite=Lax"
break
case"strict":c+="; SameSite=Strict"
break
case"none":c+="; SameSite=None"
break
default:throw new TypeError("option sameSite is invalid")}return c}
var r=Object.prototype.toString,n=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/
function i(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function s(e){return encodeURIComponent(e)}function o(e,t){try{return t(e)}catch(t){return e}}},17965:(e,t,r)=>{"use strict"
var n=r(16426),i={"text/plain":"Text","text/html":"Url",default:"Text"}
e.exports=function(e,t){var r,s,o,a,l,c,u=!1
t||(t={}),r=t.debug||!1
try{if(o=n(),a=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData()
var s=i[t.format]||i.default
window.clipboardData.setData(s,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)
t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))})),document.body.appendChild(c),a.selectNodeContents(c),l.addRange(a),!document.execCommand("copy"))throw new Error("copy command was unsuccessful")
u=!0}catch(n){r&&console.error("unable to copy using execCommand: ",n),r&&console.warn("trying IE specific stuff")
try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(n){r&&console.error("unable to copy using clipboardData: ",n),r&&console.error("falling back to prompt"),s=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C"
return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(s,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(a):l.removeAllRanges()),c&&document.body.removeChild(c),o()}return u}},2205:function(e,t,r){var n
n=void 0!==r.g?r.g:this,e.exports=function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape
var t=function(e){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.")
for(var t,r=String(e),n=r.length,i=-1,s="",o=r.charCodeAt(0);++i<n;)0!=(t=r.charCodeAt(i))?s+=t>=1&&t<=31||127==t||0==i&&t>=48&&t<=57||1==i&&t>=48&&t<=57&&45==o?"\\"+t.toString(16)+" ":0==i&&1==n&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+r.charAt(i):r.charAt(i):s+="�"
return s}
return e.CSS||(e.CSS={}),e.CSS.escape=t,t}(n)},81919:(e,t,r)=>{"use strict"
var n=r(48287).Buffer
function i(e){return e instanceof n||e instanceof Date||e instanceof RegExp}function s(e){if(e instanceof n){var t=n.alloc?n.alloc(e.length):new n(e.length)
return e.copy(t),t}if(e instanceof Date)return new Date(e.getTime())
if(e instanceof RegExp)return new RegExp(e)
throw new Error("Unexpected situation")}function o(e){var t=[]
return e.forEach((function(e,r){"object"==typeof e&&null!==e?Array.isArray(e)?t[r]=o(e):i(e)?t[r]=s(e):t[r]=l({},e):t[r]=e})),t}function a(e,t){return"__proto__"===t?void 0:e[t]}var l=e.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1
if(arguments.length<2)return arguments[0]
var e,t,r=arguments[0]
return Array.prototype.slice.call(arguments,1).forEach((function(n){"object"!=typeof n||null===n||Array.isArray(n)||Object.keys(n).forEach((function(c){return t=a(r,c),(e=a(n,c))===r?void 0:"object"!=typeof e||null===e?void(r[c]=e):Array.isArray(e)?void(r[c]=o(e)):i(e)?void(r[c]=s(e)):"object"!=typeof t||null===t||Array.isArray(t)?void(r[c]=l({},e)):void(r[c]=l(t,e))}))})),r}},14744:e=>{"use strict"
var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e)
return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103
function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function i(e,t,r){return e.concat(t).map((function(e){return n(e,r)}))}function s(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function o(e,t){try{return t in e}catch(e){return!1}}function a(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n
var c=Array.isArray(r)
return c===Array.isArray(e)?c?l.arrayMerge(e,r,l):function(e,t,r){var i={}
return r.isMergeableObject(e)&&s(e).forEach((function(t){i[t]=n(e[t],r)})),s(t).forEach((function(s){(function(e,t){return o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,s)||(o(e,s)&&r.isMergeableObject(t[s])?i[s]=function(e,t){if(!t.customMerge)return a
var r=t.customMerge(e)
return"function"==typeof r?r:a}(s,r)(e[s],t[s],r):i[s]=n(t[s],r))})),i}(e,r,l):n(r,l)}a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array")
return e.reduce((function(e,r){return a(e,r,t)}),{})}
var l=a
e.exports=l},30041:(e,t,r)=>{"use strict"
var n=r(30655),i=r(58068),s=r(69675),o=r(75795)
e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new s("`obj` must be an object or a function`")
if("string"!=typeof t&&"symbol"!=typeof t)throw new s("`property` must be a string or a symbol`")
if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null")
if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null")
if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null")
if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean")
var a=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],h=!!o&&o(e,t)
if(n)n(e,t,{configurable:null===c&&h?h.configurable:!c,enumerable:null===a&&h?h.enumerable:!a,value:r,writable:null===l&&h?h.writable:!l})
else{if(!u&&(a||l||c))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")
e[t]=r}}},42838:function(e){e.exports=function(){"use strict"
const{entries:e,setPrototypeOf:t,isFrozen:r,getPrototypeOf:n,getOwnPropertyDescriptor:i}=Object
let{freeze:s,seal:o,create:a}=Object,{apply:l,construct:c}="undefined"!=typeof Reflect&&Reflect
s||(s=function(e){return e}),o||(o=function(e){return e}),l||(l=function(e,t,r){return e.apply(t,r)}),c||(c=function(e,t){return new e(...t)})
const u=x(Array.prototype.forEach),h=x(Array.prototype.pop),d=x(Array.prototype.push),p=x(String.prototype.toLowerCase),f=x(String.prototype.toString),m=x(String.prototype.match),g=x(String.prototype.replace),y=x(String.prototype.indexOf),v=x(String.prototype.trim),b=x(Object.prototype.hasOwnProperty),w=x(RegExp.prototype.test),S=function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
return c(e,r)}}(TypeError)
function k(e){return"number"==typeof e&&isNaN(e)}function x(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i]
return l(e,t,n)}}function E(e,n){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p
t&&t(e,null)
let s=n.length
for(;s--;){let t=n[s]
if("string"==typeof t){const e=i(t)
e!==t&&(r(n)||(n[s]=e),t=e)}e[t]=!0}return e}function N(e){for(let t=0;t<e.length;t++)b(e,t)||(e[t]=null)
return e}function _(t){const r=a(null)
for(const[n,i]of e(t))b(t,n)&&(Array.isArray(i)?r[n]=N(i):i&&"object"==typeof i&&i.constructor===Object?r[n]=_(i):r[n]=i)
return r}function C(e,t){for(;null!==e;){const r=i(e,t)
if(r){if(r.get)return x(r.get)
if("function"==typeof r.value)return x(r.value)}e=n(e)}return function(){return null}}const A=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),O=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),P=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),T=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),j=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),D=s(["#text"]),M=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),B=s(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),R=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),L=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=o(/\{\{[\w\W]*|[\w\W]*\}\}/gm),F=o(/<%[\w\W]*|[\w\W]*%>/gm),V=o(/\${[\w\W]*}/gm),$=o(/^data-[\-\w.\u00B7-\uFFFF]/),U=o(/^aria-[\-\w]+$/),H=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=o(/^(?:\w+script|data):/i),W=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K=o(/^html$/i),Z=o(/^[a-z][.\w]*(-[.\w]+)+$/i)
var J=Object.freeze({__proto__:null,MUSTACHE_EXPR:z,ERB_EXPR:F,TMPLIT_EXPR:V,DATA_ATTR:$,ARIA_ATTR:U,IS_ALLOWED_URI:H,IS_SCRIPT_OR_DATA:q,ATTR_WHITESPACE:W,DOCTYPE_NAME:K,CUSTOM_ELEMENT:Z})
return function t(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window
const n=e=>t(e)
if(n.version="3.1.4",n.removed=[],!r||!r.document||9!==r.document.nodeType)return n.isSupported=!1,n
let{document:i}=r
const o=i,l=o.currentScript,{DocumentFragment:c,HTMLTemplateElement:x,Node:N,Element:z,NodeFilter:F,NamedNodeMap:V=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:$,DOMParser:U,trustedTypes:q}=r,W=z.prototype,Z=C(W,"cloneNode"),G=C(W,"nextSibling"),Y=C(W,"childNodes"),X=C(W,"parentNode")
if("function"==typeof x){const e=i.createElement("template")
e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let Q,ee=""
const{implementation:te,createNodeIterator:re,createDocumentFragment:ne,getElementsByTagName:ie}=i,{importNode:se}=o
let oe={}
n.isSupported="function"==typeof e&&"function"==typeof X&&te&&void 0!==te.createHTMLDocument
const{MUSTACHE_EXPR:ae,ERB_EXPR:le,TMPLIT_EXPR:ce,DATA_ATTR:ue,ARIA_ATTR:he,IS_SCRIPT_OR_DATA:de,ATTR_WHITESPACE:pe,CUSTOM_ELEMENT:fe}=J
let{IS_ALLOWED_URI:me}=J,ge=null
const ye=E({},[...A,...O,...P,...I,...D])
let ve=null
const be=E({},[...M,...B,...R,...L])
let we=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,ke=null,xe=!0,Ee=!0,Ne=!1,_e=!0,Ce=!1,Ae=!0,Oe=!1,Pe=!1,Te=!1,Ie=!1,je=!1,De=!1,Me=!0,Be=!1,Re=!0,Le=!1,ze={},Fe=null
const Ve=E({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"])
let $e=null
const Ue=E({},["audio","video","img","source","image","track"])
let He=null
const qe=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),We="http://www.w3.org/1998/Math/MathML",Ke="http://www.w3.org/2000/svg",Ze="http://www.w3.org/1999/xhtml"
let Je=Ze,Ge=!1,Ye=null
const Xe=E({},[We,Ke,Ze],f)
let Qe=null
const et=["application/xhtml+xml","text/html"]
let tt=null,rt=null
const nt=i.createElement("form"),it=function(e){return e instanceof RegExp||e instanceof Function},st=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
if(!rt||rt!==e){if(e&&"object"==typeof e||(e={}),e=_(e),Qe=-1===et.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,tt="application/xhtml+xml"===Qe?f:p,ge=b(e,"ALLOWED_TAGS")?E({},e.ALLOWED_TAGS,tt):ye,ve=b(e,"ALLOWED_ATTR")?E({},e.ALLOWED_ATTR,tt):be,Ye=b(e,"ALLOWED_NAMESPACES")?E({},e.ALLOWED_NAMESPACES,f):Xe,He=b(e,"ADD_URI_SAFE_ATTR")?E(_(qe),e.ADD_URI_SAFE_ATTR,tt):qe,$e=b(e,"ADD_DATA_URI_TAGS")?E(_(Ue),e.ADD_DATA_URI_TAGS,tt):Ue,Fe=b(e,"FORBID_CONTENTS")?E({},e.FORBID_CONTENTS,tt):Ve,Se=b(e,"FORBID_TAGS")?E({},e.FORBID_TAGS,tt):{},ke=b(e,"FORBID_ATTR")?E({},e.FORBID_ATTR,tt):{},ze=!!b(e,"USE_PROFILES")&&e.USE_PROFILES,xe=!1!==e.ALLOW_ARIA_ATTR,Ee=!1!==e.ALLOW_DATA_ATTR,Ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,_e=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ce=e.SAFE_FOR_TEMPLATES||!1,Ae=!1!==e.SAFE_FOR_XML,Oe=e.WHOLE_DOCUMENT||!1,Ie=e.RETURN_DOM||!1,je=e.RETURN_DOM_FRAGMENT||!1,De=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Me=!1!==e.SANITIZE_DOM,Be=e.SANITIZE_NAMED_PROPS||!1,Re=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,me=e.ALLOWED_URI_REGEXP||H,Je=e.NAMESPACE||Ze,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&it(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&it(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ce&&(Ee=!1),je&&(Ie=!0),ze&&(ge=E({},D),ve=[],!0===ze.html&&(E(ge,A),E(ve,M)),!0===ze.svg&&(E(ge,O),E(ve,B),E(ve,L)),!0===ze.svgFilters&&(E(ge,P),E(ve,B),E(ve,L)),!0===ze.mathMl&&(E(ge,I),E(ve,R),E(ve,L))),e.ADD_TAGS&&(ge===ye&&(ge=_(ge)),E(ge,e.ADD_TAGS,tt)),e.ADD_ATTR&&(ve===be&&(ve=_(ve)),E(ve,e.ADD_ATTR,tt)),e.ADD_URI_SAFE_ATTR&&E(He,e.ADD_URI_SAFE_ATTR,tt),e.FORBID_CONTENTS&&(Fe===Ve&&(Fe=_(Fe)),E(Fe,e.FORBID_CONTENTS,tt)),Re&&(ge["#text"]=!0),Oe&&E(ge,["html","head","body"]),ge.table&&(E(ge,["tbody"]),delete Se.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.')
if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw S('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.')
Q=e.TRUSTED_TYPES_POLICY,ee=Q.createHTML("")}else void 0===Q&&(Q=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null
let r=null
const n="data-tt-policy-suffix"
t&&t.hasAttribute(n)&&(r=t.getAttribute(n))
const i="dompurify"+(r?"#"+r:"")
try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(q,l)),null!==Q&&"string"==typeof ee&&(ee=Q.createHTML(""))
s&&s(e),rt=e}},ot=E({},["mi","mo","mn","ms","mtext"]),at=E({},["foreignobject","annotation-xml"]),lt=E({},["title","style","font","a","script"]),ct=E({},[...O,...P,...T]),ut=E({},[...I,...j]),ht=function(e){d(n.removed,{element:e})
try{e.parentNode.removeChild(e)}catch(t){e.remove()}},dt=function(e,t){try{d(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){d(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ve[e])if(Ie||je)try{ht(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},pt=function(e){let t=null,r=null
if(Te)e="<remove></remove>"+e
else{const t=m(e,/^[\r\n\t ]+/)
r=t&&t[0]}"application/xhtml+xml"===Qe&&Je===Ze&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>")
const n=Q?Q.createHTML(e):e
if(Je===Ze)try{t=(new U).parseFromString(n,Qe)}catch(e){}if(!t||!t.documentElement){t=te.createDocument(Je,"template",null)
try{t.documentElement.innerHTML=Ge?ee:n}catch(e){}}const s=t.body||t.documentElement
return e&&r&&s.insertBefore(i.createTextNode(r),s.childNodes[0]||null),Je===Ze?ie.call(t,Oe?"html":"body")[0]:Oe?t.documentElement:s},ft=function(e){return re.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},mt=function(e){return e instanceof $&&(void 0!==e.__depth&&"number"!=typeof e.__depth||void 0!==e.__removalCount&&"number"!=typeof e.__removalCount||"string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof V)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},gt=function(e){return"function"==typeof N&&e instanceof N},yt=function(e,t,r){oe[e]&&u(oe[e],(e=>{e.call(n,t,r,rt)}))},vt=function(e){let t=null
if(yt("beforeSanitizeElements",e,null),mt(e))return ht(e),!0
const r=tt(e.nodeName)
if(yt("uponSanitizeElement",e,{tagName:r,allowedTags:ge}),e.hasChildNodes()&&!gt(e.firstElementChild)&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return ht(e),!0
if(7===e.nodeType)return ht(e),!0
if(Ae&&8===e.nodeType&&w(/<[/\w]/g,e.data))return ht(e),!0
if(!ge[r]||Se[r]){if(!Se[r]&&wt(r)){if(we.tagNameCheck instanceof RegExp&&w(we.tagNameCheck,r))return!1
if(we.tagNameCheck instanceof Function&&we.tagNameCheck(r))return!1}if(Re&&!Fe[r]){const t=X(e)||e.parentNode,r=Y(e)||e.childNodes
if(r&&t)for(let n=r.length-1;n>=0;--n){const i=Z(r[n],!0)
i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,G(e))}}return ht(e),!0}return e instanceof z&&!function(e){let t=X(e)
t&&t.tagName||(t={namespaceURI:Je,tagName:"template"})
const r=p(e.tagName),n=p(t.tagName)
return!!Ye[e.namespaceURI]&&(e.namespaceURI===Ke?t.namespaceURI===Ze?"svg"===r:t.namespaceURI===We?"svg"===r&&("annotation-xml"===n||ot[n]):Boolean(ct[r]):e.namespaceURI===We?t.namespaceURI===Ze?"math"===r:t.namespaceURI===Ke?"math"===r&&at[n]:Boolean(ut[r]):e.namespaceURI===Ze?!(t.namespaceURI===Ke&&!at[n])&&!(t.namespaceURI===We&&!ot[n])&&!ut[r]&&(lt[r]||!ct[r]):!("application/xhtml+xml"!==Qe||!Ye[e.namespaceURI]))}(e)?(ht(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!w(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ce&&3===e.nodeType&&(t=e.textContent,u([ae,le,ce],(e=>{t=g(t,e," ")})),e.textContent!==t&&(d(n.removed,{element:e.cloneNode()}),e.textContent=t)),yt("afterSanitizeElements",e,null),!1):(ht(e),!0)},bt=function(e,t,r){if(Me&&("id"===t||"name"===t)&&(r in i||r in nt||"__depth"===r||"__removalCount"===r))return!1
if(Ee&&!ke[t]&&w(ue,t));else if(xe&&w(he,t));else if(!ve[t]||ke[t]){if(!(wt(e)&&(we.tagNameCheck instanceof RegExp&&w(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&w(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&w(we.tagNameCheck,r)||we.tagNameCheck instanceof Function&&we.tagNameCheck(r))))return!1}else if(He[t]);else if(w(me,g(r,pe,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(r,"data:")||!$e[e])if(Ne&&!w(de,g(r,pe,"")));else if(r)return!1
return!0},wt=function(e){return"annotation-xml"!==e&&m(e,fe)},St=function(e){yt("beforeSanitizeAttributes",e,null)
const{attributes:t}=e
if(!t)return
const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ve}
let i=t.length
for(;i--;){const s=t[i],{name:o,namespaceURI:a,value:l}=s,c=tt(o)
let d="value"===o?l:v(l)
if(r.attrName=c,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,yt("uponSanitizeAttribute",e,r),d=r.attrValue,r.forceKeepAttr)continue
if(dt(o,e),!r.keepAttr)continue
if(!_e&&w(/\/>/i,d)){dt(o,e)
continue}if(Ae&&w(/((--!?|])>)|<\/(style|title)/i,d)){dt(o,e)
continue}Ce&&u([ae,le,ce],(e=>{d=g(d,e," ")}))
const p=tt(e.nodeName)
if(bt(p,c,d)){if(!Be||"id"!==c&&"name"!==c||(dt(o,e),d="user-content-"+d),Q&&"object"==typeof q&&"function"==typeof q.getAttributeType)if(a);else switch(q.getAttributeType(p,c)){case"TrustedHTML":d=Q.createHTML(d)
break
case"TrustedScriptURL":d=Q.createScriptURL(d)}try{a?e.setAttributeNS(a,o,d):e.setAttribute(o,d),mt(e)?ht(e):h(n.removed)}catch(e){}}}yt("afterSanitizeAttributes",e,null)},kt=function e(t){let r=null
const n=ft(t)
for(yt("beforeSanitizeShadowDOM",t,null);r=n.nextNode();){if(yt("uponSanitizeShadowNode",r,null),vt(r))continue
const t=X(r)
1===r.nodeType&&(t&&t.__depth?r.__depth=(r.__removalCount||0)+t.__depth+1:r.__depth=1),(r.__depth>=255||r.__depth<0||k(r.__depth))&&ht(r),r.content instanceof c&&(r.content.__depth=r.__depth,e(r.content)),St(r)}yt("afterSanitizeShadowDOM",t,null)}
return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,a=null
if(Ge=!e,Ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!gt(e)){if("function"!=typeof e.toString)throw S("toString is not a function")
if("string"!=typeof(e=e.toString()))throw S("dirty is not a string, aborting")}if(!n.isSupported)return e
if(Pe||st(t),n.removed=[],"string"==typeof e&&(Le=!1),Le){if(e.nodeName){const t=tt(e.nodeName)
if(!ge[t]||Se[t])throw S("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof N)r=pt("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i)
else{if(!Ie&&!Ce&&!Oe&&-1===e.indexOf("<"))return Q&&De?Q.createHTML(e):e
if(r=pt(e),!r)return Ie?null:De?ee:""}r&&Te&&ht(r.firstChild)
const l=ft(Le?e:r)
for(;s=l.nextNode();){if(vt(s))continue
const e=X(s)
1===s.nodeType&&(e&&e.__depth?s.__depth=(s.__removalCount||0)+e.__depth+1:s.__depth=1),(s.__depth>=255||s.__depth<0||k(s.__depth))&&ht(s),s.content instanceof c&&(s.content.__depth=s.__depth,kt(s.content)),St(s)}if(Le)return e
if(Ie){if(je)for(a=ne.call(r.ownerDocument);r.firstChild;)a.appendChild(r.firstChild)
else a=r
return(ve.shadowroot||ve.shadowrootmode)&&(a=se.call(o,a,!0)),a}let h=Oe?r.outerHTML:r.innerHTML
return Oe&&ge["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&w(K,r.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+h),Ce&&u([ae,le,ce],(e=>{h=g(h,e," ")})),Q&&De?Q.createHTML(h):h},n.setConfig=function(){st(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},n.clearConfig=function(){rt=null,Pe=!1},n.isValidAttribute=function(e,t,r){rt||st({})
const n=tt(e),i=tt(t)
return bt(n,i,r)},n.addHook=function(e,t){"function"==typeof t&&(oe[e]=oe[e]||[],d(oe[e],t))},n.removeHook=function(e){if(oe[e])return h(oe[e])},n.removeHooks=function(e){oe[e]&&(oe[e]=[])},n.removeAllHooks=function(){oe={}},n}()}()},78004:e=>{"use strict"
class t{constructor(e,t){this.low=e,this.high=t,this.length=1+t-e}overlaps(e){return!(this.high<e.low||this.low>e.high)}touches(e){return!(this.high+1<e.low||this.low-1>e.high)}add(e){return new t(Math.min(this.low,e.low),Math.max(this.high,e.high))}subtract(e){return e.low<=this.low&&e.high>=this.high?[]:e.low>this.low&&e.high<this.high?[new t(this.low,e.low-1),new t(e.high+1,this.high)]:e.low<=this.low?[new t(e.high+1,this.high)]:[new t(this.low,e.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}class r{constructor(e,t){this.ranges=[],this.length=0,null!=e&&this.add(e,t)}_update_length(){this.length=this.ranges.reduce(((e,t)=>e+t.length),0)}add(e,n){var i=e=>{for(var t=0;t<this.ranges.length&&!e.touches(this.ranges[t]);)t++
for(var r=this.ranges.slice(0,t);t<this.ranges.length&&e.touches(this.ranges[t]);)e=e.add(this.ranges[t]),t++
r.push(e),this.ranges=r.concat(this.ranges.slice(t)),this._update_length()}
return e instanceof r?e.ranges.forEach(i):(null==n&&(n=e),i(new t(e,n))),this}subtract(e,n){var i=e=>{for(var t=0;t<this.ranges.length&&!e.overlaps(this.ranges[t]);)t++
for(var r=this.ranges.slice(0,t);t<this.ranges.length&&e.overlaps(this.ranges[t]);)r=r.concat(this.ranges[t].subtract(e)),t++
this.ranges=r.concat(this.ranges.slice(t)),this._update_length()}
return e instanceof r?e.ranges.forEach(i):(null==n&&(n=e),i(new t(e,n))),this}intersect(e,n){var i=[],s=e=>{for(var r=0;r<this.ranges.length&&!e.overlaps(this.ranges[r]);)r++
for(;r<this.ranges.length&&e.overlaps(this.ranges[r]);){var n=Math.max(this.ranges[r].low,e.low),s=Math.min(this.ranges[r].high,e.high)
i.push(new t(n,s)),r++}}
return e instanceof r?e.ranges.forEach(s):(null==n&&(n=e),s(new t(e,n))),this.ranges=i,this._update_length(),this}index(e){for(var t=0;t<this.ranges.length&&this.ranges[t].length<=e;)e-=this.ranges[t].length,t++
return this.ranges[t].low+e}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new r(this)}numbers(){return this.ranges.reduce(((e,t)=>{for(var r=t.low;r<=t.high;)e.push(r),r++
return e}),[])}subranges(){return this.ranges.map((e=>({low:e.low,high:e.high,length:1+e.high-e.low})))}}e.exports=r},30655:(e,t,r)=>{"use strict"
var n=r(70453)("%Object.defineProperty%",!0)||!1
if(n)try{n({},"a",{value:1})}catch(e){n=!1}e.exports=n},41237:e=>{"use strict"
e.exports=EvalError},69383:e=>{"use strict"
e.exports=Error},79290:e=>{"use strict"
e.exports=RangeError},79538:e=>{"use strict"
e.exports=ReferenceError},58068:e=>{"use strict"
e.exports=SyntaxError},69675:e=>{"use strict"
e.exports=TypeError},35345:e=>{"use strict"
e.exports=URIError},37007:e=>{"use strict"
var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)}
t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)}
var i=Number.isNaN||function(e){return e!=e}
function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,s),n(r)}function s(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}m(e,t,s,{once:!0}),"error"!==t&&function(e,t){"function"==typeof e.on&&m(e,"error",t,{once:!0})}(e,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0
var o=10
function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function c(e,t,r,n){var i,s,o
if(a(r),void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),s=e._events),o=s[t]),void 0===o)o=s[t]=r,++e._eventsCount
else if("function"==typeof o?o=s[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),(i=l(e))>0&&o.length>i&&!o.warned){o.warned=!0
var c=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit")
c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=o.length,function(e){console&&console.warn&&console.warn(e)}(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=u.bind(n)
return i.listener=r,n.wrapFn=i,i}function d(e,t,r){var n=e._events
if(void 0===n)return[]
var i=n[t]
return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r]
return t}(i):f(i,i.length)}function p(e){var t=this._events
if(void 0!==t){var r=t[e]
if("function"==typeof r)return 1
if(void 0!==r)return r.length}return 0}function f(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n]
return r}function m(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r)
else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)
e.addEventListener(t,(function i(s){n.once&&e.removeEventListener(t,i),r(s)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".")
o=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".")
return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r])
var i="error"===e,s=this._events
if(void 0!==s)i=i&&void 0===s.error
else if(!i)return!1
if(i){var o
if(t.length>0&&(o=t[0]),o instanceof Error)throw o
var a=new Error("Unhandled error."+(o?" ("+o.message+")":""))
throw a.context=o,a}var l=s[e]
if(void 0===l)return!1
if("function"==typeof l)n(l,this,t)
else{var c=l.length,u=f(l,c)
for(r=0;r<c;++r)n(u[r],this,t)}return!0},s.prototype.addListener=function(e,t){return c(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return c(this,e,t,!0)},s.prototype.once=function(e,t){return a(t),this.on(e,h(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,h(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,i,s,o
if(a(t),void 0===(n=this._events))return this
if(void 0===(r=n[e]))return this
if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t))
else if("function"!=typeof r){for(i=-1,s=r.length-1;s>=0;s--)if(r[s]===t||r[s].listener===t){o=r[s].listener,i=s
break}if(i<0)return this
0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1]
e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,o||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n
if(void 0===(r=this._events))return this
if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this
if(0===arguments.length){var i,s=Object.keys(r)
for(n=0;n<s.length;++n)"removeListener"!==(i=s[n])&&this.removeAllListeners(i)
return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t)
else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n])
return this},s.prototype.listeners=function(e){return d(this,e,!0)},s.prototype.rawListeners=function(e){return d(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},s.prototype.listenerCount=p,s.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},85587:(e,t,r)=>{"use strict"
var n=r(26311),i=s(Error)
function s(e){return t.displayName=e.displayName||e.name,t
function t(t){return t&&(t=n.apply(null,arguments)),new e(t)}}e.exports=i,i.eval=s(EvalError),i.range=s(RangeError),i.reference=s(ReferenceError),i.syntax=s(SyntaxError),i.type=s(TypeError),i.uri=s(URIError),i.create=s},26311:e=>{!function(){var t
function r(e){for(var t,r,n,i,s=1,o=[].slice.call(arguments),a=0,l=e.length,c="",u=!1,h=!1,d=function(){return o[s++]},p=function(){for(var r="";/\d/.test(e[a]);)r+=e[a++],t=e[a]
return r.length>0?parseInt(r):null};a<l;++a)if(t=e[a],u)switch(u=!1,"."==t?(h=!1,t=e[++a]):"0"==t&&"."==e[a+1]?(h=!0,t=e[a+=2]):h=!0,i=p(),t){case"b":c+=parseInt(d(),10).toString(2)
break
case"c":c+="string"==typeof(r=d())||r instanceof String?r:String.fromCharCode(parseInt(r,10))
break
case"d":c+=parseInt(d(),10)
break
case"f":n=String(parseFloat(d()).toFixed(i||6)),c+=h?n:n.replace(/^0/,"")
break
case"j":c+=JSON.stringify(d())
break
case"o":c+="0"+parseInt(d(),10).toString(8)
break
case"s":c+=d()
break
case"x":c+="0x"+parseInt(d(),10).toString(16)
break
case"X":c+="0x"+parseInt(d(),10).toString(16).toUpperCase()
break
default:c+=t}else"%"===t?u=!0:c+=t
return c}(t=e.exports=r).format=r,t.vsprintf=function(e,t){return r.apply(null,[e].concat(t))},"undefined"!=typeof console&&"function"==typeof console.log&&(t.printf=function(){console.log(r.apply(null,arguments))})}()},89353:e=>{"use strict"
var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n]
for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i]
return r}
e.exports=function(e){var i=this
if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i)
for(var s,o=function(e){for(var t=[],r=1,n=0;r<e.length;r+=1,n+=1)t[n]=e[r]
return t}(arguments),a=r(0,i.length-o.length),l=[],c=0;c<a;c++)l[c]="$"+c
if(s=Function("binder","return function ("+function(e){for(var t="",r=0;r<e.length;r+=1)t+=e[r],r+1<e.length&&(t+=",")
return t}(l)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof s){var t=i.apply(this,n(o,arguments))
return Object(t)===t?t:this}return i.apply(e,n(o,arguments))})),i.prototype){var u=function(){}
u.prototype=i.prototype,s.prototype=new u,u.prototype=null}return s}},66743:(e,t,r)=>{"use strict"
var n=r(89353)
e.exports=Function.prototype.bind||n},70453:(e,t,r)=>{"use strict"
var n,i=r(69383),s=r(41237),o=r(79290),a=r(79538),l=r(58068),c=r(69675),u=r(35345),h=Function,d=function(e){try{return h('"use strict"; return ('+e+").constructor;")()}catch(e){}},p=Object.getOwnPropertyDescriptor
if(p)try{p({},"")}catch(e){p=null}var f=function(){throw new c},m=p?function(){try{return f}catch(e){try{return p(arguments,"callee").get}catch(e){return f}}}():f,g=r(64039)(),y=r(80024)(),v=Object.getPrototypeOf||(y?function(e){return e.__proto__}:null),b={},w="undefined"!=typeof Uint8Array&&v?v(Uint8Array):n,S={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":g&&v?v([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":s,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":h,"%GeneratorFunction%":b,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&v?v(v([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&v?v((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":o,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&v?v((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&v?v(""[Symbol.iterator]()):n,"%Symbol%":g?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":w,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet}
if(v)try{null.error}catch(e){var k=v(v(e))
S["%Error.prototype%"]=k}var x=function e(t){var r
if("%AsyncFunction%"===t)r=d("async function () {}")
else if("%GeneratorFunction%"===t)r=d("function* () {}")
else if("%AsyncGeneratorFunction%"===t)r=d("async function* () {}")
else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%")
n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%")
i&&v&&(r=v(i.prototype))}return S[t]=r,r},E={__proto__:null,"%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"]},N=r(66743),_=r(9957),C=N.call(Function.call,Array.prototype.concat),A=N.call(Function.apply,Array.prototype.splice),O=N.call(Function.call,String.prototype.replace),P=N.call(Function.call,String.prototype.slice),T=N.call(Function.call,RegExp.prototype.exec),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,j=/\\(\\)?/g,D=function(e,t){var r,n=e
if(_(E,n)&&(n="%"+(r=E[n])[0]+"%"),_(S,n)){var i=S[n]
if(i===b&&(i=x(n)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!")
return{alias:r,name:n,value:i}}throw new l("intrinsic "+e+" does not exist!")}
e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string")
if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean')
if(null===T(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name")
var r=function(e){var t=P(e,0,1),r=P(e,-1)
if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`")
if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`")
var n=[]
return O(e,I,(function(e,t,r,i){n[n.length]=r?O(i,j,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",i=D("%"+n+"%",t),s=i.name,o=i.value,a=!1,u=i.alias
u&&(n=u[0],A(r,C([0,1],u)))
for(var h=1,d=!0;h<r.length;h+=1){var f=r[h],m=P(f,0,1),g=P(f,-1)
if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new l("property names with quotes must have matching quotes")
if("constructor"!==f&&d||(a=!0),_(S,s="%"+(n+="."+f)+"%"))o=S[s]
else if(null!=o){if(!(f in o)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.")
return}if(p&&h+1>=r.length){var y=p(o,f)
o=(d=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:o[f]}else d=_(o,f),o=o[f]
d&&!a&&(S[s]=o)}}return o}},75795:(e,t,r)=>{"use strict"
var n=r(70453)("%Object.getOwnPropertyDescriptor%",!0)
if(n)try{n([],"length")}catch(e){n=null}e.exports=n},30592:(e,t,r)=>{"use strict"
var n=r(30655),i=function(){return!!n}
i.hasArrayLengthDefineBug=function(){if(!n)return null
try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},80024:e=>{"use strict"
var t={__proto__:null,foo:{}},r=Object
e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof r)}},64039:(e,t,r)=>{"use strict"
var n="undefined"!=typeof Symbol&&Symbol,i=r(41333)
e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},41333:e=>{"use strict"
e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1
if("symbol"==typeof Symbol.iterator)return!0
var e={},t=Symbol("test"),r=Object(t)
if("string"==typeof t)return!1
if("[object Symbol]"!==Object.prototype.toString.call(t))return!1
if("[object Symbol]"!==Object.prototype.toString.call(r))return!1
for(t in e[t]=42,e)return!1
if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1
if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1
var n=Object.getOwnPropertySymbols(e)
if(1!==n.length||n[0]!==t)return!1
if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1
if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t)
if(42!==i.value||!0!==i.enumerable)return!1}return!0}},9957:(e,t,r)=>{"use strict"
var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,s=r(66743)
e.exports=s.call(n,i)},45981:e=>{function t(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(r){var n=e[r]
"object"!=typeof n||Object.isFrozen(n)||t(n)})),e}var r=t,n=t
r.default=n
class i{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function s(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function o(e,...t){const r=Object.create(null)
for(const n in e)r[n]=e[n]
return t.forEach((function(e){for(const t in e)r[t]=e[t]})),r}const a=e=>!!e.kind
class l{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=s(e)}openNode(e){if(!a(e))return
let t=e.kind
e.sublanguage||(t=`${this.classPrefix}${t}`),this.span(t)}closeNode(e){a(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}class c{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t={kind:e,children:[]}
this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{c._collapse(e)})))}}class u extends c{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const r=e.root
r.kind=t,r.sublanguage=!0,this.add(r)}toHTML(){return new l(this,this.options).value()}finalize(){return!0}}function h(e){return e?"string"==typeof e?e:e.source:null}const d=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,p="[a-zA-Z]\\w*",f="[a-zA-Z_]\\w*",m="\\b\\d+(\\.\\d+)?",g="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",y="\\b(0b[01]+)",v={begin:"\\\\[\\s\\S]",relevance:0},b={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[v]},w={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[v]},S={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},k=function(e,t,r={}){const n=o({className:"comment",begin:e,end:t,contains:[]},r)
return n.contains.push(S),n.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),n},x=k("//","$"),E=k("/\\*","\\*/"),N=k("#","$"),_={className:"number",begin:m,relevance:0},C={className:"number",begin:g,relevance:0},A={className:"number",begin:y,relevance:0},O={className:"number",begin:m+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},P={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[v,{begin:/\[/,end:/\]/,relevance:0,contains:[v]}]}]},T={className:"title",begin:p,relevance:0},I={className:"title",begin:f,relevance:0},j={begin:"\\.\\s*"+f,relevance:0}
var D=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:p,UNDERSCORE_IDENT_RE:f,NUMBER_RE:m,C_NUMBER_RE:g,BINARY_NUMBER_RE:y,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//
return e.binary&&(e.begin=function(...e){return e.map((e=>h(e))).join("")}(t,/.*\b/,e.binary,/\b.*/)),o({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:v,APOS_STRING_MODE:b,QUOTE_STRING_MODE:w,PHRASAL_WORDS_MODE:S,COMMENT:k,C_LINE_COMMENT_MODE:x,C_BLOCK_COMMENT_MODE:E,HASH_COMMENT_MODE:N,NUMBER_MODE:_,C_NUMBER_MODE:C,BINARY_NUMBER_MODE:A,CSS_NUMBER_MODE:O,REGEXP_MODE:P,TITLE_MODE:T,UNDERSCORE_TITLE_MODE:I,METHOD_GUARD:j,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})}})
function M(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function B(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=M,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function R(e,t){Array.isArray(e.illegal)&&(e.illegal=function(...e){return"("+e.map((e=>h(e))).join("|")+")"}(...e.illegal))}function L(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match")
e.begin=e.match,delete e.match}}function z(e,t){void 0===e.relevance&&(e.relevance=1)}const F=["of","and","for","in","not","or","if","then","parent","list","value"],V="keyword"
function $(e,t,r=V){const n={}
return"string"==typeof e?i(r,e.split(" ")):Array.isArray(e)?i(r,e):Object.keys(e).forEach((function(r){Object.assign(n,$(e[r],t,r))})),n
function i(e,r){t&&(r=r.map((e=>e.toLowerCase()))),r.forEach((function(t){const r=t.split("|")
n[r[0]]=[e,U(r[0],r[1])]}))}}function U(e,t){return t?Number(t):function(e){return F.includes(e.toLowerCase())}(e)?0:1}function H(e,{plugins:t}){function r(t,r){return new RegExp(h(t),"m"+(e.case_insensitive?"i":"")+(r?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=function(e){return new RegExp(e.toString()+"|").exec("").length-1}(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null)
const e=this.regexes.map((e=>e[1]))
this.matcherRe=r(function(e,t="|"){let r=0
return e.map((e=>{r+=1
const t=r
let n=h(e),i=""
for(;n.length>0;){const e=d.exec(n)
if(!e){i+=n
break}i+=n.substring(0,e.index),n=n.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+t):(i+=e[0],"("===e[0]&&r++)}return i})).map((e=>`(${e})`)).join(t)}(e),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex
const t=this.matcherRe.exec(e)
if(!t)return null
const r=t.findIndex(((e,t)=>t>0&&void 0!==e)),n=this.matchIndexes[r]
return t.splice(0,r),Object.assign(t,n)}}class i{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e]
const t=new n
return this.rules.slice(e).forEach((([e,r])=>t.addRule(e,r))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex)
t.lastIndex=this.lastIndex
let r=t.exec(e)
if(this.resumingScanAtSamePosition())if(r&&r.index===this.lastIndex);else{const t=this.getMatcher(0)
t.lastIndex=this.lastIndex+1,r=t.exec(e)}return r&&(this.regexIndex+=r.position+1,this.regexIndex===this.count&&this.considerAll()),r}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.")
return e.classNameAliases=o(e.classNameAliases||{}),function t(n,s){const a=n
if(n.isCompiled)return a;[L].forEach((e=>e(n,s))),e.compilerExtensions.forEach((e=>e(n,s))),n.__beforeBegin=null,[B,R,z].forEach((e=>e(n,s))),n.isCompiled=!0
let l=null
if("object"==typeof n.keywords&&(l=n.keywords.$pattern,delete n.keywords.$pattern),n.keywords&&(n.keywords=$(n.keywords,e.case_insensitive)),n.lexemes&&l)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ")
return l=l||n.lexemes||/\w+/,a.keywordPatternRe=r(l,!0),s&&(n.begin||(n.begin=/\B|\b/),a.beginRe=r(n.begin),n.endSameAsBegin&&(n.end=n.begin),n.end||n.endsWithParent||(n.end=/\B|\b/),n.end&&(a.endRe=r(n.end)),a.terminatorEnd=h(n.end)||"",n.endsWithParent&&s.terminatorEnd&&(a.terminatorEnd+=(n.end?"|":"")+s.terminatorEnd)),n.illegal&&(a.illegalRe=r(n.illegal)),n.contains||(n.contains=[]),n.contains=[].concat(...n.contains.map((function(e){return function(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return o(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:q(e)?o(e,{starts:e.starts?o(e.starts):null}):Object.isFrozen(e)?o(e):e}("self"===e?n:e)}))),n.contains.forEach((function(e){t(e,a)})),n.starts&&t(n.starts,s),a.matcher=function(e){const t=new i
return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(a),a}(e)}function q(e){return!!e&&(e.endsWithParent||q(e.starts))}function W(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,s(this.code)
let t={}
return this.autoDetect?(t=e.highlightAuto(this.code),this.detectedLanguage=t.language):(t=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),t.value},autoDetect(){return!this.language||function(e){return Boolean(e||""===e)}(this.autodetect)},ignoreIllegals:()=>!0},render(e){return e("pre",{},[e("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}}
return{Component:t,VuePlugin:{install(e){e.component("highlightjs",t)}}}}const K={"after:highlightElement":({el:e,result:t,text:r})=>{const n=J(e)
if(!n.length)return
const i=document.createElement("div")
i.innerHTML=t.value,t.value=function(e,t,r){let n=0,i=""
const o=[]
function a(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:"start"===t[0].event?e:t:e.length?e:t}function l(e){i+="<"+Z(e)+[].map.call(e.attributes,(function(e){return" "+e.nodeName+'="'+s(e.value)+'"'})).join("")+">"}function c(e){i+="</"+Z(e)+">"}function u(e){("start"===e.event?l:c)(e.node)}for(;e.length||t.length;){let t=a()
if(i+=s(r.substring(n,t[0].offset)),n=t[0].offset,t===e){o.reverse().forEach(c)
do{u(t.splice(0,1)[0]),t=a()}while(t===e&&t.length&&t[0].offset===n)
o.reverse().forEach(l)}else"start"===t[0].event?o.push(t[0].node):o.pop(),u(t.splice(0,1)[0])}return i+s(r.substr(n))}(n,J(i),r)}}
function Z(e){return e.nodeName.toLowerCase()}function J(e){const t=[]
return function e(r,n){for(let i=r.firstChild;i;i=i.nextSibling)3===i.nodeType?n+=i.nodeValue.length:1===i.nodeType&&(t.push({event:"start",offset:n,node:i}),n=e(i,n),Z(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:n,node:i}))
return n}(e,0),t}const G={},Y=e=>{console.error(e)},X=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Q=(e,t)=>{G[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),G[`${e}/${t}`]=!0)},ee=s,te=o,re=Symbol("nomatch")
var ne=function(e){const t=Object.create(null),n=Object.create(null),s=[]
let o=!0
const a=/(^(<[^>]+>|\t|)+|\n)/gm,l="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]}
let h={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:u}
function d(e){return h.noHighlightRe.test(e)}function p(e,t,r,n){let i="",s=""
"object"==typeof t?(i=e,r=t.ignoreIllegals,s=t.language,n=void 0):(Q("10.7.0","highlight(lang, code, ...args) has been deprecated."),Q("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),s=e,i=t)
const o={code:i,language:s}
_("before:highlight",o)
const a=o.result?o.result:f(o.language,o.code,r,n)
return a.code=o.code,_("after:highlight",a),a}function f(e,r,n,a){function c(e,t){const r=b.case_insensitive?t[0].toLowerCase():t[0]
return Object.prototype.hasOwnProperty.call(e.keywords,r)&&e.keywords[r]}function u(){null!=k.subLanguage?function(){if(""===_)return
let e=null
if("string"==typeof k.subLanguage){if(!t[k.subLanguage])return void N.addText(_)
e=f(k.subLanguage,_,!0,E[k.subLanguage]),E[k.subLanguage]=e.top}else e=m(_,k.subLanguage.length?k.subLanguage:null)
k.relevance>0&&(C+=e.relevance),N.addSublanguage(e.emitter,e.language)}():function(){if(!k.keywords)return void N.addText(_)
let e=0
k.keywordPatternRe.lastIndex=0
let t=k.keywordPatternRe.exec(_),r=""
for(;t;){r+=_.substring(e,t.index)
const n=c(k,t)
if(n){const[e,i]=n
if(N.addText(r),r="",C+=i,e.startsWith("_"))r+=t[0]
else{const r=b.classNameAliases[e]||e
N.addKeyword(t[0],r)}}else r+=t[0]
e=k.keywordPatternRe.lastIndex,t=k.keywordPatternRe.exec(_)}r+=_.substr(e),N.addText(r)}(),_=""}function d(e){return e.className&&N.openNode(b.classNameAliases[e.className]||e.className),k=Object.create(e,{parent:{value:k}}),k}function p(e,t,r){let n=function(e,t){const r=e&&e.exec(t)
return r&&0===r.index}(e.endRe,r)
if(n){if(e["on:end"]){const r=new i(e)
e["on:end"](t,r),r.isMatchIgnored&&(n=!1)}if(n){for(;e.endsParent&&e.parent;)e=e.parent
return e}}if(e.endsWithParent)return p(e.parent,t,r)}function g(e){return 0===k.matcher.regexIndex?(_+=e[0],1):(P=!0,0)}let y={}
function v(t,s){const a=s&&s[0]
if(_+=t,null==a)return u(),0
if("begin"===y.type&&"end"===s.type&&y.index===s.index&&""===a){if(_+=r.slice(s.index,s.index+1),!o){const t=new Error("0 width match regex")
throw t.languageName=e,t.badRule=y.rule,t}return 1}if(y=s,"begin"===s.type)return function(e){const t=e[0],r=e.rule,n=new i(r),s=[r.__beforeBegin,r["on:begin"]]
for(const i of s)if(i&&(i(e,n),n.isMatchIgnored))return g(t)
return r&&r.endSameAsBegin&&(r.endRe=function(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(t)),r.skip?_+=t:(r.excludeBegin&&(_+=t),u(),r.returnBegin||r.excludeBegin||(_=t)),d(r),r.returnBegin?0:t.length}(s)
if("illegal"===s.type&&!n){const e=new Error('Illegal lexeme "'+a+'" for mode "'+(k.className||"<unnamed>")+'"')
throw e.mode=k,e}if("end"===s.type){const e=function(e){const t=e[0],n=r.substr(e.index),i=p(k,e,n)
if(!i)return re
const s=k
s.skip?_+=t:(s.returnEnd||s.excludeEnd||(_+=t),u(),s.excludeEnd&&(_=t))
do{k.className&&N.closeNode(),k.skip||k.subLanguage||(C+=k.relevance),k=k.parent}while(k!==i.parent)
return i.starts&&(i.endSameAsBegin&&(i.starts.endRe=i.endRe),d(i.starts)),s.returnEnd?0:t.length}(s)
if(e!==re)return e}if("illegal"===s.type&&""===a)return 1
if(O>1e5&&O>3*s.index)throw new Error("potential infinite loop, way more iterations than matches")
return _+=a,a.length}const b=x(e)
if(!b)throw Y(l.replace("{}",e)),new Error('Unknown language: "'+e+'"')
const w=H(b,{plugins:s})
let S="",k=a||w
const E={},N=new h.__emitter(h)
!function(){const e=[]
for(let t=k;t!==b;t=t.parent)t.className&&e.unshift(t.className)
e.forEach((e=>N.openNode(e)))}()
let _="",C=0,A=0,O=0,P=!1
try{for(k.matcher.considerAll();;){O++,P?P=!1:k.matcher.considerAll(),k.matcher.lastIndex=A
const e=k.matcher.exec(r)
if(!e)break
const t=v(r.substring(A,e.index),e)
A=e.index+t}return v(r.substr(A)),N.closeAllNodes(),N.finalize(),S=N.toHTML(),{relevance:Math.floor(C),value:S,language:e,illegal:!1,emitter:N,top:k}}catch(t){if(t.message&&t.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:t.message,context:r.slice(A-100,A+100),mode:t.mode},sofar:S,relevance:0,value:ee(r),emitter:N}
if(o)return{illegal:!1,relevance:0,value:ee(r),emitter:N,language:e,top:k,errorRaised:t}
throw t}}function m(e,r){r=r||h.languages||Object.keys(t)
const n=function(e){const t={relevance:0,emitter:new h.__emitter(h),value:ee(e),illegal:!1,top:c}
return t.emitter.addText(e),t}(e),i=r.filter(x).filter(N).map((t=>f(t,e,!1)))
i.unshift(n)
const s=i.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance
if(e.language&&t.language){if(x(e.language).supersetOf===t.language)return 1
if(x(t.language).supersetOf===e.language)return-1}return 0})),[o,a]=s,l=o
return l.second_best=a,l}const g={"before:highlightElement":({el:e})=>{h.useBR&&(e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,"\n"))},"after:highlightElement":({result:e})=>{h.useBR&&(e.value=e.value.replace(/\n/g,"<br>"))}},y=/^(<[^>]+>|\t)+/gm,v={"after:highlightElement":({result:e})=>{h.tabReplace&&(e.value=e.value.replace(y,(e=>e.replace(/\t/g,h.tabReplace))))}}
function b(e){let t=null
const r=function(e){let t=e.className+" "
t+=e.parentNode?e.parentNode.className:""
const r=h.languageDetectRe.exec(t)
if(r){const t=x(r[1])
return t||(X(l.replace("{}",r[1])),X("Falling back to no-highlight mode for this block.",e)),t?r[1]:"no-highlight"}return t.split(/\s+/).find((e=>d(e)||x(e)))}(e)
if(d(r))return
_("before:highlightElement",{el:e,language:r}),t=e
const i=t.textContent,s=r?p(i,{language:r,ignoreIllegals:!0}):m(i)
_("after:highlightElement",{el:e,result:s,text:i}),e.innerHTML=s.value,function(e,t,r){const i=t?n[t]:r
e.classList.add("hljs"),i&&e.classList.add(i)}(e,r,s.language),e.result={language:s.language,re:s.relevance,relavance:s.relevance},s.second_best&&(e.second_best={language:s.second_best.language,re:s.second_best.relevance,relavance:s.second_best.relevance})}const w=()=>{w.called||(w.called=!0,Q("10.6.0","initHighlighting() is deprecated.  Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(b))}
let S=!1
function k(){"loading"!==document.readyState?document.querySelectorAll("pre code").forEach(b):S=!0}function x(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function E(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{n[e.toLowerCase()]=t}))}function N(e){const t=x(e)
return t&&!t.disableAutodetect}function _(e,t){const r=e
s.forEach((function(e){e[r]&&e[r](t)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){S&&k()}),!1),Object.assign(e,{highlight:p,highlightAuto:m,highlightAll:k,fixMarkup:function(e){return Q("10.2.0","fixMarkup will be removed entirely in v11.0"),Q("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function(e){return h.tabReplace||h.useBR?e.replace(a,(e=>"\n"===e?h.useBR?"<br>":e:h.tabReplace?e.replace(/\t/g,h.tabReplace):e)):e}(e)},highlightElement:b,highlightBlock:function(e){return Q("10.7.0","highlightBlock will be removed entirely in v12.0"),Q("10.7.0","Please use highlightElement now."),b(e)},configure:function(e){e.useBR&&(Q("10.3.0","'useBR' will be removed entirely in v11.0"),Q("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),h=te(h,e)},initHighlighting:w,initHighlightingOnLoad:function(){Q("10.6.0","initHighlightingOnLoad() is deprecated.  Use highlightAll() instead."),S=!0},registerLanguage:function(r,n){let i=null
try{i=n(e)}catch(e){if(Y("Language definition for '{}' could not be registered.".replace("{}",r)),!o)throw e
Y(e),i=c}i.name||(i.name=r),t[r]=i,i.rawDefinition=n.bind(null,e),i.aliases&&E(i.aliases,{languageName:r})},unregisterLanguage:function(e){delete t[e]
for(const t of Object.keys(n))n[t]===e&&delete n[t]},listLanguages:function(){return Object.keys(t)},getLanguage:x,registerAliases:E,requireLanguage:function(e){Q("10.4.0","requireLanguage will be removed entirely in v11."),Q("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844")
const t=x(e)
if(t)return t
throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:N,inherit:te,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),s.push(e)},vuePlugin:W(e).VuePlugin}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString="10.7.3"
for(const i in D)"object"==typeof D[i]&&r(D[i])
return Object.assign(e,D),e.addPlugin(g),e.addPlugin(K),e.addPlugin(v),e}({})
e.exports=ne},35344:e=>{function t(...e){return e.map((e=>function(e){return e?"string"==typeof e?e:e.source:null}(e))).join("")}e.exports=function(e){const r={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]}
Object.assign(r,{className:"variable",variants:[{begin:t(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]})
const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r,i]}
i.contains.push(o)
const a={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,r]},l=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),c={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0}
return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[l,e.SHEBANG(),c,a,e.HASH_COMMENT_MODE,s,o,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},r]}}},73402:e=>{function t(...e){return e.map((e=>function(e){return e?"string"==typeof e?e:e.source:null}(e))).join("")}e.exports=function(e){const r="HTTP/(2|1\\.[01])",n={className:"attribute",begin:t("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},i=[n,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}]
return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+r+" \\d{3})",end:/$/,contains:[{className:"meta",begin:r},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},{begin:"(?=^[A-Z]+ (.*?) "+r+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:r},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},e.inherit(n,{relevance:0})]}}},95089:e=>{const t="[A-Za-z$_][0-9A-Za-z$_]*",r=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],i=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"])
function s(e){return o("(?=",e,")")}function o(...e){return e.map((e=>function(e){return e?"string"==typeof e?e:e.source:null}(e))).join("")}e.exports=function(e){const a=t,l={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{const r=e[0].length+e.index,n=e.input[r]
"<"!==n?">"===n&&(((e,{after:t})=>{const r="</"+e[0].slice(1)
return-1!==e.input.indexOf(r,t)})(e,{after:r})||t.ignoreMatch()):t.ignoreMatch()}},c={$pattern:t,keyword:r,literal:n,built_in:i},u="[0-9](_?[0-9])*",h=`\\.(${u})`,d="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:`(\\b(${d})((${h})|\\.)?|(${h}))[eE][+-]?(${u})\\b`},{begin:`\\b(${d})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},f={className:"subst",begin:"\\$\\{",end:"\\}",keywords:c,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"xml"}},g={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"css"}},y={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},v={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:a+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},b=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,g,y,p,e.REGEXP_MODE]
f.contains=b.concat({begin:/\{/,end:/\}/,keywords:c,contains:["self"].concat(b)})
const w=[].concat(v,f.contains),S=w.concat([{begin:/\(/,end:/\)/,keywords:c,contains:["self"].concat(w)}]),k={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:S}
return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:S},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,g,y,v,p,{begin:o(/[{,\n]\s*/,s(o(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,a+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:a+s("\\s*:"),relevance:0}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[v,e.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:S}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:"<>",end:"</>"},{begin:l.begin,"on:begin":l.isTrulyOpeningTag,end:l.end}],subLanguage:"xml",contains:[{begin:l.begin,end:l.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:c,contains:["self",e.inherit(e.TITLE_MODE,{begin:a}),k],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[k,e.inherit(e.TITLE_MODE,{begin:a})]},{variants:[{begin:"\\."+a},{begin:"\\$"+a}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:a}),"self",k]},{begin:"(get|set)\\s+(?="+a+"\\()",end:/\{/,keywords:"get set",contains:[e.inherit(e.TITLE_MODE,{begin:a}),{begin:/\(\)/},k]},{begin:/\$[(.]/}]}}},65772:e=>{e.exports=function(e){const t={literal:"true false null"},r=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],n=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:n,keywords:t},s={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(i,{begin:/:/})].concat(r),illegal:"\\S"},o={begin:"\\[",end:"\\]",contains:[e.inherit(i)],illegal:"\\S"}
return n.push(s,o),r.forEach((function(e){n.push(e)})),{name:"JSON",contains:n,keywords:t,illegal:"\\S"}}},26571:e=>{e.exports=function(e){const t={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},r={begin:"`[\\s\\S]",relevance:0},n={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},i={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[r,n,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},s={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},o=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),a={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},l={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},c={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[n]}]},u={begin:/using\s/,end:/$/,returnBegin:!0,contains:[i,s,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},h={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},d={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(t.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},p=[d,o,r,e.NUMBER_MODE,i,s,a,n,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],f={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",p,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})}
return d.contains.unshift(f),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:t,contains:p.concat(l,c,u,h,f)}}},17285:e=>{function t(e){return e?"string"==typeof e?e:e.source:null}function r(e){return n("(?=",e,")")}function n(...e){return e.map((e=>t(e))).join("")}function i(...e){return"("+e.map((e=>t(e))).join("|")+")"}e.exports=function(e){const t=n(/[A-Z_]/,n("(",/[A-Z0-9_.-]*:/,")?"),/[A-Z0-9_.-]*/),s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(o,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),c=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),u={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]}
return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,c,l,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,a,c,l]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},s,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[u],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[u],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n(/</,r(n(t,i(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:u}]},{className:"tag",begin:n(/<\//,r(n(t,/>/))),contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},17533:e=>{e.exports=function(e){var t="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},i=e.inherit(n,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),s={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},o={begin:/\{/,end:/\}/,contains:[s],illegal:"\\n",relevance:0},a={begin:"\\[",end:"\\]",contains:[s],illegal:"\\n",relevance:0},l=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},o,a,n],c=[...l]
return c.pop(),c.push(i),s.contains=c,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:l}}},251:(e,t)=>{t.read=function(e,t,r,n,i){var s,o,a=8*i-n-1,l=(1<<a)-1,c=l>>1,u=-7,h=r?i-1:0,d=r?-1:1,p=e[t+h]
for(h+=d,s=p&(1<<-u)-1,p>>=-u,u+=a;u>0;s=256*s+e[t+h],h+=d,u-=8);for(o=s&(1<<-u)-1,s>>=-u,u+=n;u>0;o=256*o+e[t+h],h+=d,u-=8);if(0===s)s=1-c
else{if(s===l)return o?NaN:1/0*(p?-1:1)
o+=Math.pow(2,n),s-=c}return(p?-1:1)*o*Math.pow(2,s-n)},t.write=function(e,t,r,n,i,s){var o,a,l,c=8*s-i-1,u=(1<<c)-1,h=u>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:s-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0
for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(o++,l/=2),o+h>=u?(a=0,o=u):o+h>=1?(a=(t*l-1)*Math.pow(2,i),o+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;e[r+p]=255&a,p+=f,a/=256,i-=8);for(o=o<<i|a,c+=i;c>0;e[r+p]=255&o,p+=f,o/=256,c-=8);e[r+p-f]|=128*m}},9404:function(e){e.exports=function(){"use strict"
var e=Array.prototype.slice
function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function r(e){return o(e)?e:K(e)}function n(e){return a(e)?e:Z(e)}function i(e){return l(e)?e:J(e)}function s(e){return o(e)&&!c(e)?e:G(e)}function o(e){return!(!e||!e[h])}function a(e){return!(!e||!e[d])}function l(e){return!(!e||!e[p])}function c(e){return a(e)||l(e)}function u(e){return!(!e||!e[f])}t(n,r),t(i,r),t(s,r),r.isIterable=o,r.isKeyed=a,r.isIndexed=l,r.isAssociative=c,r.isOrdered=u,r.Keyed=n,r.Indexed=i,r.Set=s
var h="@@__IMMUTABLE_ITERABLE__@@",d="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",f="@@__IMMUTABLE_ORDERED__@@",m="delete",g=5,y=1<<g,v=y-1,b={},w={value:!1},S={value:!1}
function k(e){return e.value=!1,e}function x(e){e&&(e.value=!0)}function E(){}function N(e,t){t=t||0
for(var r=Math.max(0,e.length-t),n=new Array(r),i=0;i<r;i++)n[i]=e[i+t]
return n}function _(e){return void 0===e.size&&(e.size=e.__iterate(A)),e.size}function C(e,t){if("number"!=typeof t){var r=t>>>0
if(""+r!==t||4294967295===r)return NaN
t=r}return t<0?_(e)+t:t}function A(){return!0}function O(e,t,r){return(0===e||void 0!==r&&e<=-r)&&(void 0===t||void 0!==r&&t>=r)}function P(e,t){return I(e,t,0)}function T(e,t){return I(e,t,t)}function I(e,t,r){return void 0===e?r:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var j=0,D=1,M=2,B="function"==typeof Symbol&&Symbol.iterator,R="@@iterator",L=B||R
function z(e){this.next=e}function F(e,t,r,n){var i=0===e?t:1===e?r:[t,r]
return n?n.value=i:n={value:i,done:!1},n}function V(){return{value:void 0,done:!0}}function $(e){return!!q(e)}function U(e){return e&&"function"==typeof e.next}function H(e){var t=q(e)
return t&&t.call(e)}function q(e){var t=e&&(B&&e[B]||e[R])
if("function"==typeof t)return t}function W(e){return e&&"number"==typeof e.length}function K(e){return null==e?oe():o(e)?e.toSeq():function(e){var t=ce(e)||"object"==typeof e&&new re(e)
if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e)
return t}(e)}function Z(e){return null==e?oe().toKeyedSeq():o(e)?a(e)?e.toSeq():e.fromEntrySeq():ae(e)}function J(e){return null==e?oe():o(e)?a(e)?e.entrySeq():e.toIndexedSeq():le(e)}function G(e){return(null==e?oe():o(e)?a(e)?e.entrySeq():e:le(e)).toSetSeq()}z.prototype.toString=function(){return"[Iterator]"},z.KEYS=j,z.VALUES=D,z.ENTRIES=M,z.prototype.inspect=z.prototype.toSource=function(){return this.toString()},z.prototype[L]=function(){return this},t(K,r),K.of=function(){return K(arguments)},K.prototype.toSeq=function(){return this},K.prototype.toString=function(){return this.__toString("Seq {","}")},K.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},K.prototype.__iterate=function(e,t){return ue(this,e,t,!0)},K.prototype.__iterator=function(e,t){return he(this,e,t,!0)},t(Z,K),Z.prototype.toKeyedSeq=function(){return this},t(J,K),J.of=function(){return J(arguments)},J.prototype.toIndexedSeq=function(){return this},J.prototype.toString=function(){return this.__toString("Seq [","]")},J.prototype.__iterate=function(e,t){return ue(this,e,t,!1)},J.prototype.__iterator=function(e,t){return he(this,e,t,!1)},t(G,K),G.of=function(){return G(arguments)},G.prototype.toSetSeq=function(){return this},K.isSeq=se,K.Keyed=Z,K.Set=G,K.Indexed=J
var Y,X,Q,ee="@@__IMMUTABLE_SEQ__@@"
function te(e){this._array=e,this.size=e.length}function re(e){var t=Object.keys(e)
this._object=e,this._keys=t,this.size=t.length}function ne(e){this._iterable=e,this.size=e.length||e.size}function ie(e){this._iterator=e,this._iteratorCache=[]}function se(e){return!(!e||!e[ee])}function oe(){return Y||(Y=new te([]))}function ae(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():U(e)?new ie(e).fromEntrySeq():$(e)?new ne(e).fromEntrySeq():"object"==typeof e?new re(e):void 0
if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e)
return t}function le(e){var t=ce(e)
if(!t)throw new TypeError("Expected Array or iterable object of values: "+e)
return t}function ce(e){return W(e)?new te(e):U(e)?new ie(e):$(e)?new ne(e):void 0}function ue(e,t,r,n){var i=e._cache
if(i){for(var s=i.length-1,o=0;o<=s;o++){var a=i[r?s-o:o]
if(!1===t(a[1],n?a[0]:o,e))return o+1}return o}return e.__iterateUncached(t,r)}function he(e,t,r,n){var i=e._cache
if(i){var s=i.length-1,o=0
return new z((function(){var e=i[r?s-o:o]
return o++>s?{value:void 0,done:!0}:F(t,n?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,r)}function de(e,t){return t?pe(t,e,"",{"":e}):fe(e)}function pe(e,t,r,n){return Array.isArray(t)?e.call(n,r,J(t).map((function(r,n){return pe(e,r,n,t)}))):me(t)?e.call(n,r,Z(t).map((function(r,n){return pe(e,r,n,t)}))):t}function fe(e){return Array.isArray(e)?J(e).map(fe).toList():me(e)?Z(e).map(fe).toMap():e}function me(e){return e&&(e.constructor===Object||void 0===e.constructor)}function ge(e,t){if(e===t||e!=e&&t!=t)return!0
if(!e||!t)return!1
if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0
if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ye(e,t){if(e===t)return!0
if(!o(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||a(e)!==a(t)||l(e)!==l(t)||u(e)!==u(t))return!1
if(0===e.size&&0===t.size)return!0
var r=!c(e)
if(u(e)){var n=e.entries()
return t.every((function(e,t){var i=n.next().value
return i&&ge(i[1],e)&&(r||ge(i[0],t))}))&&n.next().done}var i=!1
if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult()
else{i=!0
var s=e
e=t,t=s}var h=!0,d=t.__iterate((function(t,n){if(r?!e.has(t):i?!ge(t,e.get(n,b)):!ge(e.get(n,b),t))return h=!1,!1}))
return h&&e.size===d}function ve(e,t){if(!(this instanceof ve))return new ve(e,t)
if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(X)return X
X=this}}function be(e,t){if(!e)throw new Error(t)}function we(e,t,r){if(!(this instanceof we))return new we(e,t,r)
if(be(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),r=void 0===r?1:Math.abs(r),t<e&&(r=-r),this._start=e,this._end=t,this._step=r,this.size=Math.max(0,Math.ceil((t-e)/r-1)+1),0===this.size){if(Q)return Q
Q=this}}function Se(){throw TypeError("Abstract")}function ke(){}function xe(){}function Ee(){}K.prototype[ee]=!0,t(te,J),te.prototype.get=function(e,t){return this.has(e)?this._array[C(this,e)]:t},te.prototype.__iterate=function(e,t){for(var r=this._array,n=r.length-1,i=0;i<=n;i++)if(!1===e(r[t?n-i:i],i,this))return i+1
return i},te.prototype.__iterator=function(e,t){var r=this._array,n=r.length-1,i=0
return new z((function(){return i>n?{value:void 0,done:!0}:F(e,i,r[t?n-i++:i++])}))},t(re,Z),re.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},re.prototype.has=function(e){return this._object.hasOwnProperty(e)},re.prototype.__iterate=function(e,t){for(var r=this._object,n=this._keys,i=n.length-1,s=0;s<=i;s++){var o=n[t?i-s:s]
if(!1===e(r[o],o,this))return s+1}return s},re.prototype.__iterator=function(e,t){var r=this._object,n=this._keys,i=n.length-1,s=0
return new z((function(){var o=n[t?i-s:s]
return s++>i?{value:void 0,done:!0}:F(e,o,r[o])}))},re.prototype[f]=!0,t(ne,J),ne.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t)
var r=H(this._iterable),n=0
if(U(r))for(var i;!(i=r.next()).done&&!1!==e(i.value,n++,this););return n},ne.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t)
var r=H(this._iterable)
if(!U(r))return new z(V)
var n=0
return new z((function(){var t=r.next()
return t.done?t:F(e,n++,t.value)}))},t(ie,J),ie.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t)
for(var r,n=this._iterator,i=this._iteratorCache,s=0;s<i.length;)if(!1===e(i[s],s++,this))return s
for(;!(r=n.next()).done;){var o=r.value
if(i[s]=o,!1===e(o,s++,this))break}return s},ie.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t)
var r=this._iterator,n=this._iteratorCache,i=0
return new z((function(){if(i>=n.length){var t=r.next()
if(t.done)return t
n[i]=t.value}return F(e,i,n[i++])}))},t(ve,J),ve.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ve.prototype.get=function(e,t){return this.has(e)?this._value:t},ve.prototype.includes=function(e){return ge(this._value,e)},ve.prototype.slice=function(e,t){var r=this.size
return O(e,t,r)?this:new ve(this._value,T(t,r)-P(e,r))},ve.prototype.reverse=function(){return this},ve.prototype.indexOf=function(e){return ge(this._value,e)?0:-1},ve.prototype.lastIndexOf=function(e){return ge(this._value,e)?this.size:-1},ve.prototype.__iterate=function(e,t){for(var r=0;r<this.size;r++)if(!1===e(this._value,r,this))return r+1
return r},ve.prototype.__iterator=function(e,t){var r=this,n=0
return new z((function(){return n<r.size?F(e,n++,r._value):{value:void 0,done:!0}}))},ve.prototype.equals=function(e){return e instanceof ve?ge(this._value,e._value):ye(e)},t(we,J),we.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},we.prototype.get=function(e,t){return this.has(e)?this._start+C(this,e)*this._step:t},we.prototype.includes=function(e){var t=(e-this._start)/this._step
return t>=0&&t<this.size&&t===Math.floor(t)},we.prototype.slice=function(e,t){return O(e,t,this.size)?this:(e=P(e,this.size),(t=T(t,this.size))<=e?new we(0,0):new we(this.get(e,this._end),this.get(t,this._end),this._step))},we.prototype.indexOf=function(e){var t=e-this._start
if(t%this._step==0){var r=t/this._step
if(r>=0&&r<this.size)return r}return-1},we.prototype.lastIndexOf=function(e){return this.indexOf(e)},we.prototype.__iterate=function(e,t){for(var r=this.size-1,n=this._step,i=t?this._start+r*n:this._start,s=0;s<=r;s++){if(!1===e(i,s,this))return s+1
i+=t?-n:n}return s},we.prototype.__iterator=function(e,t){var r=this.size-1,n=this._step,i=t?this._start+r*n:this._start,s=0
return new z((function(){var o=i
return i+=t?-n:n,s>r?{value:void 0,done:!0}:F(e,s++,o)}))},we.prototype.equals=function(e){return e instanceof we?this._start===e._start&&this._end===e._end&&this._step===e._step:ye(this,e)},t(Se,r),t(ke,Se),t(xe,Se),t(Ee,Se),Se.Keyed=ke,Se.Indexed=xe,Se.Set=Ee
var Ne="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var r=65535&(e|=0),n=65535&(t|=0)
return r*n+((e>>>16)*n+r*(t>>>16)<<16>>>0)|0}
function _e(e){return e>>>1&1073741824|3221225471&e}function Ce(e){if(!1===e||null==e)return 0
if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0
if(!0===e)return 1
var t=typeof e
if("number"===t){if(e!=e||e===1/0)return 0
var r=0|e
for(r!==e&&(r^=4294967295*e);e>4294967295;)r^=e/=4294967295
return _e(r)}if("string"===t)return e.length>Me?function(e){var t=Le[e]
return void 0===t&&(t=Ae(e),Re===Be&&(Re=0,Le={}),Re++,Le[e]=t),t}(e):Ae(e)
if("function"==typeof e.hashCode)return e.hashCode()
if("object"===t)return function(e){var t
if(Ie&&void 0!==(t=Oe.get(e)))return t
if(void 0!==(t=e[De]))return t
if(!Te){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[De]))return t
if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID
case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=++je,1073741824&je&&(je=0),Ie)Oe.set(e,t)
else{if(void 0!==Pe&&!1===Pe(e))throw new Error("Non-extensible objects are not allowed as keys.")
if(Te)Object.defineProperty(e,De,{enumerable:!1,configurable:!1,writable:!1,value:t})
else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[De]=t
else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.")
e[De]=t}}return t}(e)
if("function"==typeof e.toString)return Ae(e.toString())
throw new Error("Value type "+t+" cannot be hashed.")}function Ae(e){for(var t=0,r=0;r<e.length;r++)t=31*t+e.charCodeAt(r)|0
return _e(t)}var Oe,Pe=Object.isExtensible,Te=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Ie="function"==typeof WeakMap
Ie&&(Oe=new WeakMap)
var je=0,De="__immutablehash__"
"function"==typeof Symbol&&(De=Symbol(De))
var Me=16,Be=255,Re=0,Le={}
function ze(e){be(e!==1/0,"Cannot perform this action with an infinite size.")}function Fe(e){return null==e?et():Ve(e)&&!u(e)?e:et().withMutations((function(t){var r=n(e)
ze(r.size),r.forEach((function(e,r){return t.set(r,e)}))}))}function Ve(e){return!(!e||!e[Ue])}t(Fe,ke),Fe.of=function(){var t=e.call(arguments,0)
return et().withMutations((function(e){for(var r=0;r<t.length;r+=2){if(r+1>=t.length)throw new Error("Missing value for key: "+t[r])
e.set(t[r],t[r+1])}}))},Fe.prototype.toString=function(){return this.__toString("Map {","}")},Fe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Fe.prototype.set=function(e,t){return tt(this,e,t)},Fe.prototype.setIn=function(e,t){return this.updateIn(e,b,(function(){return t}))},Fe.prototype.remove=function(e){return tt(this,e,b)},Fe.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return b}))},Fe.prototype.update=function(e,t,r){return 1===arguments.length?e(this):this.updateIn([e],t,r)},Fe.prototype.updateIn=function(e,t,r){r||(r=t,t=void 0)
var n=ut(this,or(e),t,r)
return n===b?void 0:n},Fe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):et()},Fe.prototype.merge=function(){return ot(this,void 0,arguments)},Fe.prototype.mergeWith=function(t){return ot(this,t,e.call(arguments,1))},Fe.prototype.mergeIn=function(t){var r=e.call(arguments,1)
return this.updateIn(t,et(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,r):r[r.length-1]}))},Fe.prototype.mergeDeep=function(){return ot(this,at,arguments)},Fe.prototype.mergeDeepWith=function(t){var r=e.call(arguments,1)
return ot(this,lt(t),r)},Fe.prototype.mergeDeepIn=function(t){var r=e.call(arguments,1)
return this.updateIn(t,et(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,r):r[r.length-1]}))},Fe.prototype.sort=function(e){return jt(Jt(this,e))},Fe.prototype.sortBy=function(e,t){return jt(Jt(this,t,e))},Fe.prototype.withMutations=function(e){var t=this.asMutable()
return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Fe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new E)},Fe.prototype.asImmutable=function(){return this.__ensureOwner()},Fe.prototype.wasAltered=function(){return this.__altered},Fe.prototype.__iterator=function(e,t){return new Ge(this,e,t)},Fe.prototype.__iterate=function(e,t){var r=this,n=0
return this._root&&this._root.iterate((function(t){return n++,e(t[1],t[0],r)}),t),n},Fe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Qe(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Fe.isMap=Ve
var $e,Ue="@@__IMMUTABLE_MAP__@@",He=Fe.prototype
function qe(e,t){this.ownerID=e,this.entries=t}function We(e,t,r){this.ownerID=e,this.bitmap=t,this.nodes=r}function Ke(e,t,r){this.ownerID=e,this.count=t,this.nodes=r}function Ze(e,t,r){this.ownerID=e,this.keyHash=t,this.entries=r}function Je(e,t,r){this.ownerID=e,this.keyHash=t,this.entry=r}function Ge(e,t,r){this._type=t,this._reverse=r,this._stack=e._root&&Xe(e._root)}function Ye(e,t){return F(e,t[0],t[1])}function Xe(e,t){return{node:e,index:0,__prev:t}}function Qe(e,t,r,n){var i=Object.create(He)
return i.size=e,i._root=t,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function et(){return $e||($e=Qe(0))}function tt(e,t,r){var n,i
if(e._root){var s=k(w),o=k(S)
if(n=rt(e._root,e.__ownerID,0,void 0,t,r,s,o),!o.value)return e
i=e.size+(s.value?r===b?-1:1:0)}else{if(r===b)return e
i=1,n=new qe(e.__ownerID,[[t,r]])}return e.__ownerID?(e.size=i,e._root=n,e.__hash=void 0,e.__altered=!0,e):n?Qe(i,n):et()}function rt(e,t,r,n,i,s,o,a){return e?e.update(t,r,n,i,s,o,a):s===b?e:(x(a),x(o),new Je(t,n,[i,s]))}function nt(e){return e.constructor===Je||e.constructor===Ze}function it(e,t,r,n,i){if(e.keyHash===n)return new Ze(t,n,[e.entry,i])
var s,o=(0===r?e.keyHash:e.keyHash>>>r)&v,a=(0===r?n:n>>>r)&v
return new We(t,1<<o|1<<a,o===a?[it(e,t,r+g,n,i)]:(s=new Je(t,n,i),o<a?[e,s]:[s,e]))}function st(e,t,r,n,i){for(var s=0,o=new Array(y),a=0;0!==r;a++,r>>>=1)o[a]=1&r?t[s++]:void 0
return o[n]=i,new Ke(e,s+1,o)}function ot(e,t,r){for(var i=[],s=0;s<r.length;s++){var a=r[s],l=n(a)
o(a)||(l=l.map((function(e){return de(e)}))),i.push(l)}return ct(e,t,i)}function at(e,t,r){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):ge(e,t)?e:t}function lt(e){return function(t,r,n){if(t&&t.mergeDeepWith&&o(r))return t.mergeDeepWith(e,r)
var i=e(t,r,n)
return ge(t,i)?t:i}}function ct(e,t,r){return 0===(r=r.filter((function(e){return 0!==e.size}))).length?e:0!==e.size||e.__ownerID||1!==r.length?e.withMutations((function(e){for(var n=t?function(r,n){e.update(n,b,(function(e){return e===b?r:t(e,r,n)}))}:function(t,r){e.set(r,t)},i=0;i<r.length;i++)r[i].forEach(n)})):e.constructor(r[0])}function ut(e,t,r,n){var i=e===b,s=t.next()
if(s.done){var o=i?r:e,a=n(o)
return a===o?e:a}be(i||e&&e.set,"invalid keyPath")
var l=s.value,c=i?b:e.get(l,b),u=ut(c,t,r,n)
return u===c?e:u===b?e.remove(l):(i?et():e).set(l,u)}function ht(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,127&(e+=e>>8)+(e>>16)}function dt(e,t,r,n){var i=n?e:N(e)
return i[t]=r,i}He[Ue]=!0,He[m]=He.remove,He.removeIn=He.deleteIn,qe.prototype.get=function(e,t,r,n){for(var i=this.entries,s=0,o=i.length;s<o;s++)if(ge(r,i[s][0]))return i[s][1]
return n},qe.prototype.update=function(e,t,r,n,i,s,o){for(var a=i===b,l=this.entries,c=0,u=l.length;c<u&&!ge(n,l[c][0]);c++);var h=c<u
if(h?l[c][1]===i:a)return this
if(x(o),(a||!h)&&x(s),!a||1!==l.length){if(!h&&!a&&l.length>=pt)return function(e,t,r,n){e||(e=new E)
for(var i=new Je(e,Ce(r),[r,n]),s=0;s<t.length;s++){var o=t[s]
i=i.update(e,0,void 0,o[0],o[1])}return i}(e,l,n,i)
var d=e&&e===this.ownerID,p=d?l:N(l)
return h?a?c===u-1?p.pop():p[c]=p.pop():p[c]=[n,i]:p.push([n,i]),d?(this.entries=p,this):new qe(e,p)}},We.prototype.get=function(e,t,r,n){void 0===t&&(t=Ce(r))
var i=1<<((0===e?t:t>>>e)&v),s=this.bitmap
return s&i?this.nodes[ht(s&i-1)].get(e+g,t,r,n):n},We.prototype.update=function(e,t,r,n,i,s,o){void 0===r&&(r=Ce(n))
var a=(0===t?r:r>>>t)&v,l=1<<a,c=this.bitmap,u=!!(c&l)
if(!u&&i===b)return this
var h=ht(c&l-1),d=this.nodes,p=u?d[h]:void 0,f=rt(p,e,t+g,r,n,i,s,o)
if(f===p)return this
if(!u&&f&&d.length>=ft)return st(e,d,c,a,f)
if(u&&!f&&2===d.length&&nt(d[1^h]))return d[1^h]
if(u&&f&&1===d.length&&nt(f))return f
var m=e&&e===this.ownerID,y=u?f?c:c^l:c|l,w=u?f?dt(d,h,f,m):function(e,t,r){var n=e.length-1
if(r&&t===n)return e.pop(),e
for(var i=new Array(n),s=0,o=0;o<n;o++)o===t&&(s=1),i[o]=e[o+s]
return i}(d,h,m):function(e,t,r,n){var i=e.length+1
if(n&&t+1===i)return e[t]=r,e
for(var s=new Array(i),o=0,a=0;a<i;a++)a===t?(s[a]=r,o=-1):s[a]=e[a+o]
return s}(d,h,f,m)
return m?(this.bitmap=y,this.nodes=w,this):new We(e,y,w)},Ke.prototype.get=function(e,t,r,n){void 0===t&&(t=Ce(r))
var i=(0===e?t:t>>>e)&v,s=this.nodes[i]
return s?s.get(e+g,t,r,n):n},Ke.prototype.update=function(e,t,r,n,i,s,o){void 0===r&&(r=Ce(n))
var a=(0===t?r:r>>>t)&v,l=i===b,c=this.nodes,u=c[a]
if(l&&!u)return this
var h=rt(u,e,t+g,r,n,i,s,o)
if(h===u)return this
var d=this.count
if(u){if(!h&&--d<mt)return function(e,t,r,n){for(var i=0,s=0,o=new Array(r),a=0,l=1,c=t.length;a<c;a++,l<<=1){var u=t[a]
void 0!==u&&a!==n&&(i|=l,o[s++]=u)}return new We(e,i,o)}(e,c,d,a)}else d++
var p=e&&e===this.ownerID,f=dt(c,a,h,p)
return p?(this.count=d,this.nodes=f,this):new Ke(e,d,f)},Ze.prototype.get=function(e,t,r,n){for(var i=this.entries,s=0,o=i.length;s<o;s++)if(ge(r,i[s][0]))return i[s][1]
return n},Ze.prototype.update=function(e,t,r,n,i,s,o){void 0===r&&(r=Ce(n))
var a=i===b
if(r!==this.keyHash)return a?this:(x(o),x(s),it(this,e,t,r,[n,i]))
for(var l=this.entries,c=0,u=l.length;c<u&&!ge(n,l[c][0]);c++);var h=c<u
if(h?l[c][1]===i:a)return this
if(x(o),(a||!h)&&x(s),a&&2===u)return new Je(e,this.keyHash,l[1^c])
var d=e&&e===this.ownerID,p=d?l:N(l)
return h?a?c===u-1?p.pop():p[c]=p.pop():p[c]=[n,i]:p.push([n,i]),d?(this.entries=p,this):new Ze(e,this.keyHash,p)},Je.prototype.get=function(e,t,r,n){return ge(r,this.entry[0])?this.entry[1]:n},Je.prototype.update=function(e,t,r,n,i,s,o){var a=i===b,l=ge(n,this.entry[0])
return(l?i===this.entry[1]:a)?this:(x(o),a?void x(s):l?e&&e===this.ownerID?(this.entry[1]=i,this):new Je(e,this.keyHash,[n,i]):(x(s),it(this,e,t,Ce(n),[n,i])))},qe.prototype.iterate=Ze.prototype.iterate=function(e,t){for(var r=this.entries,n=0,i=r.length-1;n<=i;n++)if(!1===e(r[t?i-n:n]))return!1},We.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var r=this.nodes,n=0,i=r.length-1;n<=i;n++){var s=r[t?i-n:n]
if(s&&!1===s.iterate(e,t))return!1}},Je.prototype.iterate=function(e,t){return e(this.entry)},t(Ge,z),Ge.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var r,n=t.node,i=t.index++
if(n.entry){if(0===i)return Ye(e,n.entry)}else if(n.entries){if(i<=(r=n.entries.length-1))return Ye(e,n.entries[this._reverse?r-i:i])}else if(i<=(r=n.nodes.length-1)){var s=n.nodes[this._reverse?r-i:i]
if(s){if(s.entry)return Ye(e,s.entry)
t=this._stack=Xe(s,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}}
var pt=y/4,ft=y/2,mt=y/4
function gt(e){var t=_t()
if(null==e)return t
if(yt(e))return e
var r=i(e),n=r.size
return 0===n?t:(ze(n),n>0&&n<y?Nt(0,n,g,null,new wt(r.toArray())):t.withMutations((function(e){e.setSize(n),r.forEach((function(t,r){return e.set(r,t)}))})))}function yt(e){return!(!e||!e[vt])}t(gt,xe),gt.of=function(){return this(arguments)},gt.prototype.toString=function(){return this.__toString("List [","]")},gt.prototype.get=function(e,t){if((e=C(this,e))>=0&&e<this.size){var r=Ot(this,e+=this._origin)
return r&&r.array[e&v]}return t},gt.prototype.set=function(e,t){return function(e,t,r){if((t=C(e,t))!=t)return e
if(t>=e.size||t<0)return e.withMutations((function(e){t<0?Pt(e,t).set(0,r):Pt(e,0,t+1).set(t,r)}))
t+=e._origin
var n=e._tail,i=e._root,s=k(S)
return t>=It(e._capacity)?n=Ct(n,e.__ownerID,0,t,r,s):i=Ct(i,e.__ownerID,e._level,t,r,s),s.value?e.__ownerID?(e._root=i,e._tail=n,e.__hash=void 0,e.__altered=!0,e):Nt(e._origin,e._capacity,e._level,i,n):e}(this,e,t)},gt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},gt.prototype.insert=function(e,t){return this.splice(e,0,t)},gt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=g,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):_t()},gt.prototype.push=function(){var e=arguments,t=this.size
return this.withMutations((function(r){Pt(r,0,t+e.length)
for(var n=0;n<e.length;n++)r.set(t+n,e[n])}))},gt.prototype.pop=function(){return Pt(this,0,-1)},gt.prototype.unshift=function(){var e=arguments
return this.withMutations((function(t){Pt(t,-e.length)
for(var r=0;r<e.length;r++)t.set(r,e[r])}))},gt.prototype.shift=function(){return Pt(this,1)},gt.prototype.merge=function(){return Tt(this,void 0,arguments)},gt.prototype.mergeWith=function(t){return Tt(this,t,e.call(arguments,1))},gt.prototype.mergeDeep=function(){return Tt(this,at,arguments)},gt.prototype.mergeDeepWith=function(t){var r=e.call(arguments,1)
return Tt(this,lt(t),r)},gt.prototype.setSize=function(e){return Pt(this,0,e)},gt.prototype.slice=function(e,t){var r=this.size
return O(e,t,r)?this:Pt(this,P(e,r),T(t,r))},gt.prototype.__iterator=function(e,t){var r=0,n=Et(this,t)
return new z((function(){var t=n()
return t===xt?{value:void 0,done:!0}:F(e,r++,t)}))},gt.prototype.__iterate=function(e,t){for(var r,n=0,i=Et(this,t);(r=i())!==xt&&!1!==e(r,n++,this););return n},gt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Nt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},gt.isList=yt
var vt="@@__IMMUTABLE_LIST__@@",bt=gt.prototype
function wt(e,t){this.array=e,this.ownerID=t}bt[vt]=!0,bt[m]=bt.remove,bt.setIn=He.setIn,bt.deleteIn=bt.removeIn=He.removeIn,bt.update=He.update,bt.updateIn=He.updateIn,bt.mergeIn=He.mergeIn,bt.mergeDeepIn=He.mergeDeepIn,bt.withMutations=He.withMutations,bt.asMutable=He.asMutable,bt.asImmutable=He.asImmutable,bt.wasAltered=He.wasAltered,wt.prototype.removeBefore=function(e,t,r){if(r===t?1<<t:0===this.array.length)return this
var n=r>>>t&v
if(n>=this.array.length)return new wt([],e)
var i,s=0===n
if(t>0){var o=this.array[n]
if((i=o&&o.removeBefore(e,t-g,r))===o&&s)return this}if(s&&!i)return this
var a=At(this,e)
if(!s)for(var l=0;l<n;l++)a.array[l]=void 0
return i&&(a.array[n]=i),a},wt.prototype.removeAfter=function(e,t,r){if(r===(t?1<<t:0)||0===this.array.length)return this
var n,i=r-1>>>t&v
if(i>=this.array.length)return this
if(t>0){var s=this.array[i]
if((n=s&&s.removeAfter(e,t-g,r))===s&&i===this.array.length-1)return this}var o=At(this,e)
return o.array.splice(i+1),n&&(o.array[i]=n),o}
var St,kt,xt={}
function Et(e,t){var r=e._origin,n=e._capacity,i=It(n),s=e._tail
return o(e._root,e._level,0)
function o(e,t,r){return 0===t?a(e,r):l(e,t,r)}function a(e,o){var a=o===i?s&&s.array:e&&e.array,l=o>r?0:r-o,c=n-o
return c>y&&(c=y),function(){if(l===c)return xt
var e=t?--c:l++
return a&&a[e]}}function l(e,i,s){var a,l=e&&e.array,c=s>r?0:r-s>>i,u=1+(n-s>>i)
return u>y&&(u=y),function(){for(;;){if(a){var e=a()
if(e!==xt)return e
a=null}if(c===u)return xt
var r=t?--u:c++
a=o(l&&l[r],i-g,s+(r<<i))}}}}function Nt(e,t,r,n,i,s,o){var a=Object.create(bt)
return a.size=t-e,a._origin=e,a._capacity=t,a._level=r,a._root=n,a._tail=i,a.__ownerID=s,a.__hash=o,a.__altered=!1,a}function _t(){return St||(St=Nt(0,0,g))}function Ct(e,t,r,n,i,s){var o,a=n>>>r&v,l=e&&a<e.array.length
if(!l&&void 0===i)return e
if(r>0){var c=e&&e.array[a],u=Ct(c,t,r-g,n,i,s)
return u===c?e:((o=At(e,t)).array[a]=u,o)}return l&&e.array[a]===i?e:(x(s),o=At(e,t),void 0===i&&a===o.array.length-1?o.array.pop():o.array[a]=i,o)}function At(e,t){return t&&e&&t===e.ownerID?e:new wt(e?e.array.slice():[],t)}function Ot(e,t){if(t>=It(e._capacity))return e._tail
if(t<1<<e._level+g){for(var r=e._root,n=e._level;r&&n>0;)r=r.array[t>>>n&v],n-=g
return r}}function Pt(e,t,r){void 0!==t&&(t|=0),void 0!==r&&(r|=0)
var n=e.__ownerID||new E,i=e._origin,s=e._capacity,o=i+t,a=void 0===r?s:r<0?s+r:i+r
if(o===i&&a===s)return e
if(o>=a)return e.clear()
for(var l=e._level,c=e._root,u=0;o+u<0;)c=new wt(c&&c.array.length?[void 0,c]:[],n),u+=1<<(l+=g)
u&&(o+=u,i+=u,a+=u,s+=u)
for(var h=It(s),d=It(a);d>=1<<l+g;)c=new wt(c&&c.array.length?[c]:[],n),l+=g
var p=e._tail,f=d<h?Ot(e,a-1):d>h?new wt([],n):p
if(p&&d>h&&o<s&&p.array.length){for(var m=c=At(c,n),y=l;y>g;y-=g){var b=h>>>y&v
m=m.array[b]=At(m.array[b],n)}m.array[h>>>g&v]=p}if(a<s&&(f=f&&f.removeAfter(n,0,a)),o>=d)o-=d,a-=d,l=g,c=null,f=f&&f.removeBefore(n,0,o)
else if(o>i||d<h){for(u=0;c;){var w=o>>>l&v
if(w!==d>>>l&v)break
w&&(u+=(1<<l)*w),l-=g,c=c.array[w]}c&&o>i&&(c=c.removeBefore(n,l,o-u)),c&&d<h&&(c=c.removeAfter(n,l,d-u)),u&&(o-=u,a-=u)}return e.__ownerID?(e.size=a-o,e._origin=o,e._capacity=a,e._level=l,e._root=c,e._tail=f,e.__hash=void 0,e.__altered=!0,e):Nt(o,a,l,c,f)}function Tt(e,t,r){for(var n=[],s=0,a=0;a<r.length;a++){var l=r[a],c=i(l)
c.size>s&&(s=c.size),o(l)||(c=c.map((function(e){return de(e)}))),n.push(c)}return s>e.size&&(e=e.setSize(s)),ct(e,t,n)}function It(e){return e<y?0:e-1>>>g<<g}function jt(e){return null==e?Bt():Dt(e)?e:Bt().withMutations((function(t){var r=n(e)
ze(r.size),r.forEach((function(e,r){return t.set(r,e)}))}))}function Dt(e){return Ve(e)&&u(e)}function Mt(e,t,r,n){var i=Object.create(jt.prototype)
return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=r,i.__hash=n,i}function Bt(){return kt||(kt=Mt(et(),_t()))}function Rt(e,t,r){var n,i,s=e._map,o=e._list,a=s.get(t),l=void 0!==a
if(r===b){if(!l)return e
o.size>=y&&o.size>=2*s.size?(n=(i=o.filter((function(e,t){return void 0!==e&&a!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(n.__ownerID=i.__ownerID=e.__ownerID)):(n=s.remove(t),i=a===o.size-1?o.pop():o.set(a,void 0))}else if(l){if(r===o.get(a)[1])return e
n=s,i=o.set(a,[t,r])}else n=s.set(t,o.size),i=o.set(o.size,[t,r])
return e.__ownerID?(e.size=n.size,e._map=n,e._list=i,e.__hash=void 0,e):Mt(n,i)}function Lt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function zt(e){this._iter=e,this.size=e.size}function Ft(e){this._iter=e,this.size=e.size}function Vt(e){this._iter=e,this.size=e.size}function $t(e){var t=nr(e)
return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this)
return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=ir,t.__iterateUncached=function(t,r){var n=this
return e.__iterate((function(e,r){return!1!==t(r,e,n)}),r)},t.__iteratorUncached=function(t,r){if(t===M){var n=e.__iterator(t,r)
return new z((function(){var e=n.next()
if(!e.done){var t=e.value[0]
e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(t===D?j:D,r)},t}function Ut(e,t,r){var n=nr(e)
return n.size=e.size,n.has=function(t){return e.has(t)},n.get=function(n,i){var s=e.get(n,b)
return s===b?i:t.call(r,s,n,e)},n.__iterateUncached=function(n,i){var s=this
return e.__iterate((function(e,i,o){return!1!==n(t.call(r,e,i,o),i,s)}),i)},n.__iteratorUncached=function(n,i){var s=e.__iterator(M,i)
return new z((function(){var i=s.next()
if(i.done)return i
var o=i.value,a=o[0]
return F(n,a,t.call(r,o[1],a,e),i)}))},n}function Ht(e,t){var r=nr(e)
return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=$t(e)
return t.reverse=function(){return e.flip()},t}),r.get=function(r,n){return e.get(t?r:-1-r,n)},r.has=function(r){return e.has(t?r:-1-r)},r.includes=function(t){return e.includes(t)},r.cacheResult=ir,r.__iterate=function(t,r){var n=this
return e.__iterate((function(e,r){return t(e,r,n)}),!r)},r.__iterator=function(t,r){return e.__iterator(t,!r)},r}function qt(e,t,r,n){var i=nr(e)
return n&&(i.has=function(n){var i=e.get(n,b)
return i!==b&&!!t.call(r,i,n,e)},i.get=function(n,i){var s=e.get(n,b)
return s!==b&&t.call(r,s,n,e)?s:i}),i.__iterateUncached=function(i,s){var o=this,a=0
return e.__iterate((function(e,s,l){if(t.call(r,e,s,l))return a++,i(e,n?s:a-1,o)}),s),a},i.__iteratorUncached=function(i,s){var o=e.__iterator(M,s),a=0
return new z((function(){for(;;){var s=o.next()
if(s.done)return s
var l=s.value,c=l[0],u=l[1]
if(t.call(r,u,c,e))return F(i,n?c:a++,u,s)}}))},i}function Wt(e,t,r,n){var i=e.size
if(void 0!==t&&(t|=0),void 0!==r&&(r===1/0?r=i:r|=0),O(t,r,i))return e
var s=P(t,i),o=T(r,i)
if(s!=s||o!=o)return Wt(e.toSeq().cacheResult(),t,r,n)
var a,l=o-s
l==l&&(a=l<0?0:l)
var c=nr(e)
return c.size=0===a?a:e.size&&a||void 0,!n&&se(e)&&a>=0&&(c.get=function(t,r){return(t=C(this,t))>=0&&t<a?e.get(t+s,r):r}),c.__iterateUncached=function(t,r){var i=this
if(0===a)return 0
if(r)return this.cacheResult().__iterate(t,r)
var o=0,l=!0,c=0
return e.__iterate((function(e,r){if(!l||!(l=o++<s))return c++,!1!==t(e,n?r:c-1,i)&&c!==a})),c},c.__iteratorUncached=function(t,r){if(0!==a&&r)return this.cacheResult().__iterator(t,r)
var i=0!==a&&e.__iterator(t,r),o=0,l=0
return new z((function(){for(;o++<s;)i.next()
if(++l>a)return{value:void 0,done:!0}
var e=i.next()
return n||t===D?e:F(t,l-1,t===j?void 0:e.value[1],e)}))},c}function Kt(e,t,r,n){var i=nr(e)
return i.__iterateUncached=function(i,s){var o=this
if(s)return this.cacheResult().__iterate(i,s)
var a=!0,l=0
return e.__iterate((function(e,s,c){if(!a||!(a=t.call(r,e,s,c)))return l++,i(e,n?s:l-1,o)})),l},i.__iteratorUncached=function(i,s){var o=this
if(s)return this.cacheResult().__iterator(i,s)
var a=e.__iterator(M,s),l=!0,c=0
return new z((function(){var e,s,u
do{if((e=a.next()).done)return n||i===D?e:F(i,c++,i===j?void 0:e.value[1],e)
var h=e.value
s=h[0],u=h[1],l&&(l=t.call(r,u,s,o))}while(l)
return i===M?e:F(i,s,u,e)}))},i}function Zt(e,t,r){var n=nr(e)
return n.__iterateUncached=function(n,i){var s=0,a=!1
return function e(l,c){var u=this
l.__iterate((function(i,l){return(!t||c<t)&&o(i)?e(i,c+1):!1===n(i,r?l:s++,u)&&(a=!0),!a}),i)}(e,0),s},n.__iteratorUncached=function(n,i){var s=e.__iterator(n,i),a=[],l=0
return new z((function(){for(;s;){var e=s.next()
if(!1===e.done){var c=e.value
if(n===M&&(c=c[1]),t&&!(a.length<t)||!o(c))return r?e:F(n,l++,c,e)
a.push(s),s=c.__iterator(n,i)}else s=a.pop()}return{value:void 0,done:!0}}))},n}function Jt(e,t,r){t||(t=sr)
var n=a(e),i=0,s=e.toSeq().map((function(t,n){return[n,t,i++,r?r(t,n,e):t]})).toArray()
return s.sort((function(e,r){return t(e[3],r[3])||e[2]-r[2]})).forEach(n?function(e,t){s[t].length=2}:function(e,t){s[t]=e[1]}),n?Z(s):l(e)?J(s):G(s)}function Gt(e,t,r){if(t||(t=sr),r){var n=e.toSeq().map((function(t,n){return[t,r(t,n,e)]})).reduce((function(e,r){return Yt(t,e[1],r[1])?r:e}))
return n&&n[0]}return e.reduce((function(e,r){return Yt(t,e,r)?r:e}))}function Yt(e,t,r){var n=e(r,t)
return 0===n&&r!==t&&(null==r||r!=r)||n>0}function Xt(e,t,n){var i=nr(e)
return i.size=new te(n).map((function(e){return e.size})).min(),i.__iterate=function(e,t){for(var r,n=this.__iterator(D,t),i=0;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},i.__iteratorUncached=function(e,i){var s=n.map((function(e){return e=r(e),H(i?e.reverse():e)})),o=0,a=!1
return new z((function(){var r
return a||(r=s.map((function(e){return e.next()})),a=r.some((function(e){return e.done}))),a?{value:void 0,done:!0}:F(e,o++,t.apply(null,r.map((function(e){return e.value}))))}))},i}function Qt(e,t){return se(e)?t:e.constructor(t)}function er(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function tr(e){return ze(e.size),_(e)}function rr(e){return a(e)?n:l(e)?i:s}function nr(e){return Object.create((a(e)?Z:l(e)?J:G).prototype)}function ir(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):K.prototype.cacheResult.call(this)}function sr(e,t){return e>t?1:e<t?-1:0}function or(e){var t=H(e)
if(!t){if(!W(e))throw new TypeError("Expected iterable or array-like: "+e)
t=H(r(e))}return t}function ar(e,t){var r,n=function(s){if(s instanceof n)return s
if(!(this instanceof n))return new n(s)
if(!r){r=!0
var o=Object.keys(e);(function(e,t){try{t.forEach(hr.bind(void 0,e))}catch(e){}})(i,o),i.size=o.length,i._name=t,i._keys=o,i._defaultValues=e}this._map=Fe(s)},i=n.prototype=Object.create(lr)
return i.constructor=n,n}t(jt,Fe),jt.of=function(){return this(arguments)},jt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},jt.prototype.get=function(e,t){var r=this._map.get(e)
return void 0!==r?this._list.get(r)[1]:t},jt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Bt()},jt.prototype.set=function(e,t){return Rt(this,e,t)},jt.prototype.remove=function(e){return Rt(this,e,b)},jt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},jt.prototype.__iterate=function(e,t){var r=this
return this._list.__iterate((function(t){return t&&e(t[1],t[0],r)}),t)},jt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},jt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this
var t=this._map.__ensureOwner(e),r=this._list.__ensureOwner(e)
return e?Mt(t,r,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=r,this)},jt.isOrderedMap=Dt,jt.prototype[f]=!0,jt.prototype[m]=jt.prototype.remove,t(Lt,Z),Lt.prototype.get=function(e,t){return this._iter.get(e,t)},Lt.prototype.has=function(e){return this._iter.has(e)},Lt.prototype.valueSeq=function(){return this._iter.valueSeq()},Lt.prototype.reverse=function(){var e=this,t=Ht(this,!0)
return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Lt.prototype.map=function(e,t){var r=this,n=Ut(this,e,t)
return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(e,t)}),n},Lt.prototype.__iterate=function(e,t){var r,n=this
return this._iter.__iterate(this._useKeys?function(t,r){return e(t,r,n)}:(r=t?tr(this):0,function(i){return e(i,t?--r:r++,n)}),t)},Lt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t)
var r=this._iter.__iterator(D,t),n=t?tr(this):0
return new z((function(){var i=r.next()
return i.done?i:F(e,t?--n:n++,i.value,i)}))},Lt.prototype[f]=!0,t(zt,J),zt.prototype.includes=function(e){return this._iter.includes(e)},zt.prototype.__iterate=function(e,t){var r=this,n=0
return this._iter.__iterate((function(t){return e(t,n++,r)}),t)},zt.prototype.__iterator=function(e,t){var r=this._iter.__iterator(D,t),n=0
return new z((function(){var t=r.next()
return t.done?t:F(e,n++,t.value,t)}))},t(Ft,G),Ft.prototype.has=function(e){return this._iter.includes(e)},Ft.prototype.__iterate=function(e,t){var r=this
return this._iter.__iterate((function(t){return e(t,t,r)}),t)},Ft.prototype.__iterator=function(e,t){var r=this._iter.__iterator(D,t)
return new z((function(){var t=r.next()
return t.done?t:F(e,t.value,t.value,t)}))},t(Vt,Z),Vt.prototype.entrySeq=function(){return this._iter.toSeq()},Vt.prototype.__iterate=function(e,t){var r=this
return this._iter.__iterate((function(t){if(t){er(t)
var n=o(t)
return e(n?t.get(1):t[1],n?t.get(0):t[0],r)}}),t)},Vt.prototype.__iterator=function(e,t){var r=this._iter.__iterator(D,t)
return new z((function(){for(;;){var t=r.next()
if(t.done)return t
var n=t.value
if(n){er(n)
var i=o(n)
return F(e,i?n.get(0):n[0],i?n.get(1):n[1],t)}}}))},zt.prototype.cacheResult=Lt.prototype.cacheResult=Ft.prototype.cacheResult=Vt.prototype.cacheResult=ir,t(ar,ke),ar.prototype.toString=function(){return this.__toString(ur(this)+" {","}")},ar.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},ar.prototype.get=function(e,t){if(!this.has(e))return t
var r=this._defaultValues[e]
return this._map?this._map.get(e,r):r},ar.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this
var e=this.constructor
return e._empty||(e._empty=cr(this,et()))},ar.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+ur(this))
if(this._map&&!this._map.has(e)&&t===this._defaultValues[e])return this
var r=this._map&&this._map.set(e,t)
return this.__ownerID||r===this._map?this:cr(this,r)},ar.prototype.remove=function(e){if(!this.has(e))return this
var t=this._map&&this._map.remove(e)
return this.__ownerID||t===this._map?this:cr(this,t)},ar.prototype.wasAltered=function(){return this._map.wasAltered()},ar.prototype.__iterator=function(e,t){var r=this
return n(this._defaultValues).map((function(e,t){return r.get(t)})).__iterator(e,t)},ar.prototype.__iterate=function(e,t){var r=this
return n(this._defaultValues).map((function(e,t){return r.get(t)})).__iterate(e,t)},ar.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this
var t=this._map&&this._map.__ensureOwner(e)
return e?cr(this,t,e):(this.__ownerID=e,this._map=t,this)}
var lr=ar.prototype
function cr(e,t,r){var n=Object.create(Object.getPrototypeOf(e))
return n._map=t,n.__ownerID=r,n}function ur(e){return e._name||e.constructor.name||"Record"}function hr(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){be(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}function dr(e){return null==e?br():pr(e)&&!u(e)?e:br().withMutations((function(t){var r=s(e)
ze(r.size),r.forEach((function(e){return t.add(e)}))}))}function pr(e){return!(!e||!e[mr])}lr[m]=lr.remove,lr.deleteIn=lr.removeIn=He.removeIn,lr.merge=He.merge,lr.mergeWith=He.mergeWith,lr.mergeIn=He.mergeIn,lr.mergeDeep=He.mergeDeep,lr.mergeDeepWith=He.mergeDeepWith,lr.mergeDeepIn=He.mergeDeepIn,lr.setIn=He.setIn,lr.update=He.update,lr.updateIn=He.updateIn,lr.withMutations=He.withMutations,lr.asMutable=He.asMutable,lr.asImmutable=He.asImmutable,t(dr,Ee),dr.of=function(){return this(arguments)},dr.fromKeys=function(e){return this(n(e).keySeq())},dr.prototype.toString=function(){return this.__toString("Set {","}")},dr.prototype.has=function(e){return this._map.has(e)},dr.prototype.add=function(e){return yr(this,this._map.set(e,!0))},dr.prototype.remove=function(e){return yr(this,this._map.remove(e))},dr.prototype.clear=function(){return yr(this,this._map.clear())},dr.prototype.union=function(){var t=e.call(arguments,0)
return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(e){for(var r=0;r<t.length;r++)s(t[r]).forEach((function(t){return e.add(t)}))})):this.constructor(t[0])},dr.prototype.intersect=function(){var t=e.call(arguments,0)
if(0===t.length)return this
t=t.map((function(e){return s(e)}))
var r=this
return this.withMutations((function(e){r.forEach((function(r){t.every((function(e){return e.includes(r)}))||e.remove(r)}))}))},dr.prototype.subtract=function(){var t=e.call(arguments,0)
if(0===t.length)return this
t=t.map((function(e){return s(e)}))
var r=this
return this.withMutations((function(e){r.forEach((function(r){t.some((function(e){return e.includes(r)}))&&e.remove(r)}))}))},dr.prototype.merge=function(){return this.union.apply(this,arguments)},dr.prototype.mergeWith=function(t){var r=e.call(arguments,1)
return this.union.apply(this,r)},dr.prototype.sort=function(e){return wr(Jt(this,e))},dr.prototype.sortBy=function(e,t){return wr(Jt(this,t,e))},dr.prototype.wasAltered=function(){return this._map.wasAltered()},dr.prototype.__iterate=function(e,t){var r=this
return this._map.__iterate((function(t,n){return e(n,n,r)}),t)},dr.prototype.__iterator=function(e,t){return this._map.map((function(e,t){return t})).__iterator(e,t)},dr.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this
var t=this._map.__ensureOwner(e)
return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},dr.isSet=pr
var fr,mr="@@__IMMUTABLE_SET__@@",gr=dr.prototype
function yr(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function vr(e,t){var r=Object.create(gr)
return r.size=e?e.size:0,r._map=e,r.__ownerID=t,r}function br(){return fr||(fr=vr(et()))}function wr(e){return null==e?Nr():Sr(e)?e:Nr().withMutations((function(t){var r=s(e)
ze(r.size),r.forEach((function(e){return t.add(e)}))}))}function Sr(e){return pr(e)&&u(e)}gr[mr]=!0,gr[m]=gr.remove,gr.mergeDeep=gr.merge,gr.mergeDeepWith=gr.mergeWith,gr.withMutations=He.withMutations,gr.asMutable=He.asMutable,gr.asImmutable=He.asImmutable,gr.__empty=br,gr.__make=vr,t(wr,dr),wr.of=function(){return this(arguments)},wr.fromKeys=function(e){return this(n(e).keySeq())},wr.prototype.toString=function(){return this.__toString("OrderedSet {","}")},wr.isOrderedSet=Sr
var kr,xr=wr.prototype
function Er(e,t){var r=Object.create(xr)
return r.size=e?e.size:0,r._map=e,r.__ownerID=t,r}function Nr(){return kr||(kr=Er(Bt()))}function _r(e){return null==e?Ir():Cr(e)?e:Ir().unshiftAll(e)}function Cr(e){return!(!e||!e[Or])}xr[f]=!0,xr.__empty=Nr,xr.__make=Er,t(_r,xe),_r.of=function(){return this(arguments)},_r.prototype.toString=function(){return this.__toString("Stack [","]")},_r.prototype.get=function(e,t){var r=this._head
for(e=C(this,e);r&&e--;)r=r.next
return r?r.value:t},_r.prototype.peek=function(){return this._head&&this._head.value},_r.prototype.push=function(){if(0===arguments.length)return this
for(var e=this.size+arguments.length,t=this._head,r=arguments.length-1;r>=0;r--)t={value:arguments[r],next:t}
return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Tr(e,t)},_r.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this
ze(e.size)
var t=this.size,r=this._head
return e.reverse().forEach((function(e){t++,r={value:e,next:r}})),this.__ownerID?(this.size=t,this._head=r,this.__hash=void 0,this.__altered=!0,this):Tr(t,r)},_r.prototype.pop=function(){return this.slice(1)},_r.prototype.unshift=function(){return this.push.apply(this,arguments)},_r.prototype.unshiftAll=function(e){return this.pushAll(e)},_r.prototype.shift=function(){return this.pop.apply(this,arguments)},_r.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Ir()},_r.prototype.slice=function(e,t){if(O(e,t,this.size))return this
var r=P(e,this.size)
if(T(t,this.size)!==this.size)return xe.prototype.slice.call(this,e,t)
for(var n=this.size-r,i=this._head;r--;)i=i.next
return this.__ownerID?(this.size=n,this._head=i,this.__hash=void 0,this.__altered=!0,this):Tr(n,i)},_r.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Tr(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},_r.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e)
for(var r=0,n=this._head;n&&!1!==e(n.value,r++,this);)n=n.next
return r},_r.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e)
var r=0,n=this._head
return new z((function(){if(n){var t=n.value
return n=n.next,F(e,r++,t)}return{value:void 0,done:!0}}))},_r.isStack=Cr
var Ar,Or="@@__IMMUTABLE_STACK__@@",Pr=_r.prototype
function Tr(e,t,r,n){var i=Object.create(Pr)
return i.size=e,i._head=t,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function Ir(){return Ar||(Ar=Tr(0))}function jr(e,t){var r=function(r){e.prototype[r]=t[r]}
return Object.keys(t).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(r),e}Pr[Or]=!0,Pr.withMutations=He.withMutations,Pr.asMutable=He.asMutable,Pr.asImmutable=He.asImmutable,Pr.wasAltered=He.wasAltered,r.Iterator=z,jr(r,{toArray:function(){ze(this.size)
var e=new Array(this.size||0)
return this.valueSeq().__iterate((function(t,r){e[r]=t})),e},toIndexedSeq:function(){return new zt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Lt(this,!0)},toMap:function(){return Fe(this.toKeyedSeq())},toObject:function(){ze(this.size)
var e={}
return this.__iterate((function(t,r){e[r]=t})),e},toOrderedMap:function(){return jt(this.toKeyedSeq())},toOrderedSet:function(){return wr(a(this)?this.valueSeq():this)},toSet:function(){return dr(a(this)?this.valueSeq():this)},toSetSeq:function(){return new Ft(this)},toSeq:function(){return l(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return _r(a(this)?this.valueSeq():this)},toList:function(){return gt(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return Qt(this,function(e,t){var r=a(e),i=[e].concat(t).map((function(e){return o(e)?r&&(e=n(e)):e=r?ae(e):le(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}))
if(0===i.length)return e
if(1===i.length){var s=i[0]
if(s===e||r&&a(s)||l(e)&&l(s))return s}var c=new te(i)
return r?c=c.toKeyedSeq():l(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce((function(e,t){if(void 0!==e){var r=t.size
if(void 0!==r)return e+r}}),0),c}(this,e.call(arguments,0)))},includes:function(e){return this.some((function(t){return ge(t,e)}))},entries:function(){return this.__iterator(M)},every:function(e,t){ze(this.size)
var r=!0
return this.__iterate((function(n,i,s){if(!e.call(t,n,i,s))return r=!1,!1})),r},filter:function(e,t){return Qt(this,qt(this,e,t,!0))},find:function(e,t,r){var n=this.findEntry(e,t)
return n?n[1]:r},forEach:function(e,t){return ze(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){ze(this.size),e=void 0!==e?""+e:","
var t="",r=!0
return this.__iterate((function(n){r?r=!1:t+=e,t+=null!=n?n.toString():""})),t},keys:function(){return this.__iterator(j)},map:function(e,t){return Qt(this,Ut(this,e,t))},reduce:function(e,t,r){var n,i
return ze(this.size),arguments.length<2?i=!0:n=t,this.__iterate((function(t,s,o){i?(i=!1,n=t):n=e.call(r,n,t,s,o)})),n},reduceRight:function(e,t,r){var n=this.toKeyedSeq().reverse()
return n.reduce.apply(n,arguments)},reverse:function(){return Qt(this,Ht(this,!0))},slice:function(e,t){return Qt(this,Wt(this,e,t,!0))},some:function(e,t){return!this.every(Lr(e),t)},sort:function(e){return Qt(this,Jt(this,e))},values:function(){return this.__iterator(D)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return _(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,r){var n=Fe().asMutable()
return e.__iterate((function(i,s){n.update(t.call(r,i,s,e),0,(function(e){return e+1}))})),n.asImmutable()}(this,e,t)},equals:function(e){return ye(this,e)},entrySeq:function(){var e=this
if(e._cache)return new te(e._cache)
var t=e.toSeq().map(Rr).toIndexedSeq()
return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Lr(e),t)},findEntry:function(e,t,r){var n=r
return this.__iterate((function(r,i,s){if(e.call(t,r,i,s))return n=[i,r],!1})),n},findKey:function(e,t){var r=this.findEntry(e,t)
return r&&r[0]},findLast:function(e,t,r){return this.toKeyedSeq().reverse().find(e,t,r)},findLastEntry:function(e,t,r){return this.toKeyedSeq().reverse().findEntry(e,t,r)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(A)},flatMap:function(e,t){return Qt(this,function(e,t,r){var n=rr(e)
return e.toSeq().map((function(i,s){return n(t.call(r,i,s,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return Qt(this,Zt(this,e,!0))},fromEntrySeq:function(){return new Vt(this)},get:function(e,t){return this.find((function(t,r){return ge(r,e)}),void 0,t)},getIn:function(e,t){for(var r,n=this,i=or(e);!(r=i.next()).done;){var s=r.value
if((n=n&&n.get?n.get(s,b):b)===b)return t}return n},groupBy:function(e,t){return function(e,t,r){var n=a(e),i=(u(e)?jt():Fe()).asMutable()
e.__iterate((function(s,o){i.update(t.call(r,s,o,e),(function(e){return(e=e||[]).push(n?[o,s]:s),e}))}))
var s=rr(e)
return i.map((function(t){return Qt(e,s(t))}))}(this,e,t)},has:function(e){return this.get(e,b)!==b},hasIn:function(e){return this.getIn(e,b)!==b},isSubset:function(e){return e="function"==typeof e.includes?e:r(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:r(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return ge(t,e)}))},keySeq:function(){return this.toSeq().map(Br).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Gt(this,e)},maxBy:function(e,t){return Gt(this,t,e)},min:function(e){return Gt(this,e?zr(e):$r)},minBy:function(e,t){return Gt(this,t?zr(t):$r,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Qt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Qt(this,Kt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Lr(e),t)},sortBy:function(e,t){return Qt(this,Jt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Qt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Qt(this,function(e,t,r){var n=nr(e)
return n.__iterateUncached=function(n,i){var s=this
if(i)return this.cacheResult().__iterate(n,i)
var o=0
return e.__iterate((function(e,i,a){return t.call(r,e,i,a)&&++o&&n(e,i,s)})),o},n.__iteratorUncached=function(n,i){var s=this
if(i)return this.cacheResult().__iterator(n,i)
var o=e.__iterator(M,i),a=!0
return new z((function(){if(!a)return{value:void 0,done:!0}
var e=o.next()
if(e.done)return e
var i=e.value,l=i[0],c=i[1]
return t.call(r,c,l,s)?n===M?e:F(n,l,c,e):(a=!1,{value:void 0,done:!0})}))},n}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Lr(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0
var t=u(e),r=a(e),n=t?1:0
return function(e,t){return t=Ne(t,3432918353),t=Ne(t<<15|t>>>-15,461845907),t=Ne(t<<13|t>>>-13,5),t=Ne((t=t+3864292196^e)^t>>>16,2246822507),_e((t=Ne(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(r?t?function(e,t){n=31*n+Ur(Ce(e),Ce(t))|0}:function(e,t){n=n+Ur(Ce(e),Ce(t))|0}:t?function(e){n=31*n+Ce(e)|0}:function(e){n=n+Ce(e)|0}),n)}(this))}})
var Dr=r.prototype
Dr[h]=!0,Dr[L]=Dr.values,Dr.__toJS=Dr.toArray,Dr.__toStringMapper=Fr,Dr.inspect=Dr.toSource=function(){return this.toString()},Dr.chain=Dr.flatMap,Dr.contains=Dr.includes,jr(n,{flip:function(){return Qt(this,$t(this))},mapEntries:function(e,t){var r=this,n=0
return Qt(this,this.toSeq().map((function(i,s){return e.call(t,[s,i],n++,r)})).fromEntrySeq())},mapKeys:function(e,t){var r=this
return Qt(this,this.toSeq().flip().map((function(n,i){return e.call(t,n,i,r)})).flip())}})
var Mr=n.prototype
function Br(e,t){return t}function Rr(e,t){return[t,e]}function Lr(e){return function(){return!e.apply(this,arguments)}}function zr(e){return function(){return-e.apply(this,arguments)}}function Fr(e){return"string"==typeof e?JSON.stringify(e):String(e)}function Vr(){return N(arguments)}function $r(e,t){return e<t?1:e>t?-1:0}function Ur(e,t){return e^t+2654435769+(e<<6)+(e>>2)}return Mr[d]=!0,Mr[L]=Dr.entries,Mr.__toJS=Dr.toObject,Mr.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+Fr(e)},jr(i,{toKeyedSeq:function(){return new Lt(this,!1)},filter:function(e,t){return Qt(this,qt(this,e,t,!1))},findIndex:function(e,t){var r=this.findEntry(e,t)
return r?r[0]:-1},indexOf:function(e){var t=this.keyOf(e)
return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e)
return void 0===t?-1:t},reverse:function(){return Qt(this,Ht(this,!1))},slice:function(e,t){return Qt(this,Wt(this,e,t,!1))},splice:function(e,t){var r=arguments.length
if(t=Math.max(0|t,0),0===r||2===r&&!t)return this
e=P(e,e<0?this.count():this.size)
var n=this.slice(0,e)
return Qt(this,1===r?n:n.concat(N(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var r=this.findLastEntry(e,t)
return r?r[0]:-1},first:function(){return this.get(0)},flatten:function(e){return Qt(this,Zt(this,e,!1))},get:function(e,t){return(e=C(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,r){return r===e}),void 0,t)},has:function(e){return(e=C(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Qt(this,function(e,t){var r=nr(e)
return r.size=e.size&&2*e.size-1,r.__iterateUncached=function(r,n){var i=this,s=0
return e.__iterate((function(e,n){return(!s||!1!==r(t,s++,i))&&!1!==r(e,s++,i)}),n),s},r.__iteratorUncached=function(r,n){var i,s=e.__iterator(D,n),o=0
return new z((function(){return(!i||o%2)&&(i=s.next()).done?i:o%2?F(r,o++,t):F(r,o++,i.value,i)}))},r}(this,e))},interleave:function(){var e=[this].concat(N(arguments)),t=Xt(this.toSeq(),J.of,e),r=t.flatten(!0)
return t.size&&(r.size=t.size*e.length),Qt(this,r)},keySeq:function(){return we(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(e,t){return Qt(this,Kt(this,e,t,!1))},zip:function(){return Qt(this,Xt(this,Vr,[this].concat(N(arguments))))},zipWith:function(e){var t=N(arguments)
return t[0]=this,Qt(this,Xt(this,e,t))}}),i.prototype[p]=!0,i.prototype[f]=!0,jr(s,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),s.prototype.has=Dr.includes,s.prototype.contains=s.prototype.includes,jr(Z,n.prototype),jr(J,i.prototype),jr(G,s.prototype),jr(ke,n.prototype),jr(xe,i.prototype),jr(Ee,s.prototype),{Iterable:r,Seq:K,Collection:Se,Map:Fe,OrderedMap:jt,List:gt,Stack:_r,Set:dr,OrderedSet:wr,Record:ar,Range:we,Repeat:ve,is:ge,fromJS:de}}()},56698:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t
var r=function(){}
r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},5419:e=>{e.exports=function(e,t,r,n){var i=new Blob(void 0!==n?[n,e]:[e],{type:r||"application/octet-stream"})
if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(i,t)
else{var s=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(i):window.webkitURL.createObjectURL(i),o=document.createElement("a")
o.style.display="none",o.href=s,o.setAttribute("download",t),void 0===o.download&&o.setAttribute("target","_blank"),document.body.appendChild(o),o.click(),setTimeout((function(){document.body.removeChild(o),window.URL.revokeObjectURL(s)}),200)}}},20181:(e,t,r)=>{var n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt,l="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),h=Object.prototype.toString,d=Math.max,p=Math.min,f=function(){return u.Date.now()}
function m(e){var t=typeof e
return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e
if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==h.call(e)}(e))return NaN
if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e
e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e
e=e.replace(n,"")
var r=s.test(e)
return r||o.test(e)?a(e.slice(2),r?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,r){var n,i,s,o,a,l,c=0,u=!1,h=!1,y=!0
if("function"!=typeof e)throw new TypeError("Expected a function")
function v(t){var r=n,s=i
return n=i=void 0,c=t,o=e.apply(s,r)}function b(e){var r=e-l
return void 0===l||r>=t||r<0||h&&e-c>=s}function w(){var e=f()
if(b(e))return S(e)
a=setTimeout(w,function(e){var r=t-(e-l)
return h?p(r,s-(e-c)):r}(e))}function S(e){return a=void 0,y&&n?v(e):(n=i=void 0,o)}function k(){var e=f(),r=b(e)
if(n=arguments,i=this,l=e,r){if(void 0===a)return function(e){return c=e,a=setTimeout(w,t),u?v(e):o}(l)
if(h)return a=setTimeout(w,t),v(l)}return void 0===a&&(a=setTimeout(w,t)),o}return t=g(t)||0,m(r)&&(u=!!r.leading,s=(h="maxWait"in r)?d(g(r.maxWait)||0,t):s,y="trailing"in r?!!r.trailing:y),k.cancel=function(){void 0!==a&&clearTimeout(a),c=0,n=l=i=a=void 0},k.flush=function(){return void 0===a?o:S(f())},k}},55580:(e,t,r)=>{var n=r(56110)(r(9325),"DataView")
e.exports=n},21549:(e,t,r)=>{var n=r(22032),i=r(63862),s=r(66721),o=r(12749),a=r(35749)
function l(e){var t=-1,r=null==e?0:e.length
for(this.clear();++t<r;){var n=e[t]
this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,e.exports=l},30980:(e,t,r)=>{var n=r(39344),i=r(94033)
function s(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}s.prototype=n(i.prototype),s.prototype.constructor=s,e.exports=s},80079:(e,t,r)=>{var n=r(63702),i=r(70080),s=r(24739),o=r(48655),a=r(31175)
function l(e){var t=-1,r=null==e?0:e.length
for(this.clear();++t<r;){var n=e[t]
this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,e.exports=l},56017:(e,t,r)=>{var n=r(39344),i=r(94033)
function s(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}s.prototype=n(i.prototype),s.prototype.constructor=s,e.exports=s},68223:(e,t,r)=>{var n=r(56110)(r(9325),"Map")
e.exports=n},53661:(e,t,r)=>{var n=r(63040),i=r(17670),s=r(90289),o=r(4509),a=r(72949)
function l(e){var t=-1,r=null==e?0:e.length
for(this.clear();++t<r;){var n=e[t]
this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,e.exports=l},32804:(e,t,r)=>{var n=r(56110)(r(9325),"Promise")
e.exports=n},76545:(e,t,r)=>{var n=r(56110)(r(9325),"Set")
e.exports=n},38859:(e,t,r)=>{var n=r(53661),i=r(31380),s=r(51459)
function o(e){var t=-1,r=null==e?0:e.length
for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=i,o.prototype.has=s,e.exports=o},37217:(e,t,r)=>{var n=r(80079),i=r(51420),s=r(90938),o=r(63605),a=r(29817),l=r(80945)
function c(e){var t=this.__data__=new n(e)
this.size=t.size}c.prototype.clear=i,c.prototype.delete=s,c.prototype.get=o,c.prototype.has=a,c.prototype.set=l,e.exports=c},51873:(e,t,r)=>{var n=r(9325).Symbol
e.exports=n},37828:(e,t,r)=>{var n=r(9325).Uint8Array
e.exports=n},28303:(e,t,r)=>{var n=r(56110)(r(9325),"WeakMap")
e.exports=n},91033:e=>{e.exports=function(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)}},83729:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},79770:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,s=[];++r<n;){var o=e[r]
t(o,r,e)&&(s[i++]=o)}return s}},15325:(e,t,r)=>{var n=r(96131)
e.exports=function(e,t){return!(null==e||!e.length)&&n(e,t,0)>-1}},70695:(e,t,r)=>{var n=r(78096),i=r(72428),s=r(56449),o=r(3656),a=r(30361),l=r(37167),c=Object.prototype.hasOwnProperty
e.exports=function(e,t){var r=s(e),u=!r&&i(e),h=!r&&!u&&o(e),d=!r&&!u&&!h&&l(e),p=r||u||h||d,f=p?n(e.length,String):[],m=f.length
for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||h&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||a(g,m))||f.push(g)
return f}},34932:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e)
return i}},14528:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r]
return e}},40882:e=>{e.exports=function(e,t,r,n){var i=-1,s=null==e?0:e.length
for(n&&s&&(r=e[++i]);++i<s;)r=t(r,e[i],i,e)
return r}},14248:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0
return!1}},61074:e=>{e.exports=function(e){return e.split("")}},1733:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g
e.exports=function(e){return e.match(t)||[]}},87805:(e,t,r)=>{var n=r(43360),i=r(75288)
e.exports=function(e,t,r){(void 0!==r&&!i(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},16547:(e,t,r)=>{var n=r(43360),i=r(75288),s=Object.prototype.hasOwnProperty
e.exports=function(e,t,r){var o=e[t]
s.call(e,t)&&i(o,r)&&(void 0!==r||t in e)||n(e,t,r)}},26025:(e,t,r)=>{var n=r(75288)
e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r
return-1}},74733:(e,t,r)=>{var n=r(21791),i=r(95950)
e.exports=function(e,t){return e&&n(t,i(t),e)}},43838:(e,t,r)=>{var n=r(21791),i=r(37241)
e.exports=function(e,t){return e&&n(t,i(t),e)}},43360:(e,t,r)=>{var n=r(93243)
e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},9999:(e,t,r)=>{var n=r(37217),i=r(83729),s=r(16547),o=r(74733),a=r(43838),l=r(93290),c=r(23007),u=r(92271),h=r(48948),d=r(50002),p=r(83349),f=r(5861),m=r(76189),g=r(77199),y=r(35529),v=r(56449),b=r(3656),w=r(87730),S=r(23805),k=r(38440),x=r(95950),E=r(37241),N="[object Arguments]",_="[object Function]",C="[object Object]",A={}
A[N]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[C]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[_]=A["[object WeakMap]"]=!1,e.exports=function e(t,r,O,P,T,I){var j,D=1&r,M=2&r,B=4&r
if(O&&(j=T?O(t,P,T,I):O(t)),void 0!==j)return j
if(!S(t))return t
var R=v(t)
if(R){if(j=m(t),!D)return c(t,j)}else{var L=f(t),z=L==_||"[object GeneratorFunction]"==L
if(b(t))return l(t,D)
if(L==C||L==N||z&&!T){if(j=M||z?{}:y(t),!D)return M?h(t,a(j,t)):u(t,o(j,t))}else{if(!A[L])return T?t:{}
j=g(t,L,D)}}I||(I=new n)
var F=I.get(t)
if(F)return F
I.set(t,j),k(t)?t.forEach((function(n){j.add(e(n,r,O,n,t,I))})):w(t)&&t.forEach((function(n,i){j.set(i,e(n,r,O,i,t,I))}))
var V=R?void 0:(B?M?p:d:M?E:x)(t)
return i(V||t,(function(n,i){V&&(n=t[i=n]),s(j,i,e(n,r,O,i,t,I))})),j}},39344:(e,t,r)=>{var n=r(23805),i=Object.create,s=function(){function e(){}return function(t){if(!n(t))return{}
if(i)return i(t)
e.prototype=t
var r=new e
return e.prototype=void 0,r}}()
e.exports=s},80909:(e,t,r)=>{var n=r(30641),i=r(38329)(n)
e.exports=i},2523:e=>{e.exports=function(e,t,r,n){for(var i=e.length,s=r+(n?1:-1);n?s--:++s<i;)if(t(e[s],s,e))return s
return-1}},83120:(e,t,r)=>{var n=r(14528),i=r(45891)
e.exports=function e(t,r,s,o,a){var l=-1,c=t.length
for(s||(s=i),a||(a=[]);++l<c;){var u=t[l]
r>0&&s(u)?r>1?e(u,r-1,s,o,a):n(a,u):o||(a[a.length]=u)}return a}},86649:(e,t,r)=>{var n=r(83221)()
e.exports=n},30641:(e,t,r)=>{var n=r(86649),i=r(95950)
e.exports=function(e,t){return e&&n(e,t,i)}},47422:(e,t,r)=>{var n=r(31769),i=r(77797)
e.exports=function(e,t){for(var r=0,s=(t=n(t,e)).length;null!=e&&r<s;)e=e[i(t[r++])]
return r&&r==s?e:void 0}},82199:(e,t,r)=>{var n=r(14528),i=r(56449)
e.exports=function(e,t,r){var s=t(e)
return i(e)?s:n(s,r(e))}},72552:(e,t,r)=>{var n=r(51873),i=r(659),s=r(59350),o=n?n.toStringTag:void 0
e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?i(e):s(e)}},20426:e=>{var t=Object.prototype.hasOwnProperty
e.exports=function(e,r){return null!=e&&t.call(e,r)}},28077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},96131:(e,t,r)=>{var n=r(2523),i=r(85463),s=r(76959)
e.exports=function(e,t,r){return t==t?s(e,t,r):n(e,i,r)}},27534:(e,t,r)=>{var n=r(72552),i=r(40346)
e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},60270:(e,t,r)=>{var n=r(87068),i=r(40346)
e.exports=function e(t,r,s,o,a){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,s,o,e,a))}},87068:(e,t,r)=>{var n=r(37217),i=r(25911),s=r(21986),o=r(50689),a=r(5861),l=r(56449),c=r(3656),u=r(37167),h="[object Arguments]",d="[object Array]",p="[object Object]",f=Object.prototype.hasOwnProperty
e.exports=function(e,t,r,m,g,y){var v=l(e),b=l(t),w=v?d:a(e),S=b?d:a(t),k=(w=w==h?p:w)==p,x=(S=S==h?p:S)==p,E=w==S
if(E&&c(e)){if(!c(t))return!1
v=!0,k=!1}if(E&&!k)return y||(y=new n),v||u(e)?i(e,t,r,m,g,y):s(e,t,w,r,m,g,y)
if(!(1&r)){var N=k&&f.call(e,"__wrapped__"),_=x&&f.call(t,"__wrapped__")
if(N||_){var C=N?e.value():e,A=_?t.value():t
return y||(y=new n),g(C,A,r,m,y)}}return!!E&&(y||(y=new n),o(e,t,r,m,g,y))}},29172:(e,t,r)=>{var n=r(5861),i=r(40346)
e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},41799:(e,t,r)=>{var n=r(37217),i=r(60270)
e.exports=function(e,t,r,s){var o=r.length,a=o,l=!s
if(null==e)return!a
for(e=Object(e);o--;){var c=r[o]
if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<a;){var u=(c=r[o])[0],h=e[u],d=c[1]
if(l&&c[2]){if(void 0===h&&!(u in e))return!1}else{var p=new n
if(s)var f=s(h,d,u,e,t,p)
if(!(void 0===f?i(d,h,3,s,p):f))return!1}}return!0}},85463:e=>{e.exports=function(e){return e!=e}},45083:(e,t,r)=>{var n=r(1882),i=r(87296),s=r(23805),o=r(47473),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,h=c.hasOwnProperty,d=RegExp("^"+u.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$")
e.exports=function(e){return!(!s(e)||i(e))&&(n(e)?d:a).test(o(e))}},16038:(e,t,r)=>{var n=r(5861),i=r(40346)
e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},4901:(e,t,r)=>{var n=r(72552),i=r(30294),s=r(40346),o={}
o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return s(e)&&i(e.length)&&!!o[n(e)]}},15389:(e,t,r)=>{var n=r(93663),i=r(87978),s=r(83488),o=r(56449),a=r(50583)
e.exports=function(e){return"function"==typeof e?e:null==e?s:"object"==typeof e?o(e)?i(e[0],e[1]):n(e):a(e)}},88984:(e,t,r)=>{var n=r(55527),i=r(3650),s=Object.prototype.hasOwnProperty
e.exports=function(e){if(!n(e))return i(e)
var t=[]
for(var r in Object(e))s.call(e,r)&&"constructor"!=r&&t.push(r)
return t}},72903:(e,t,r)=>{var n=r(23805),i=r(55527),s=r(90181),o=Object.prototype.hasOwnProperty
e.exports=function(e){if(!n(e))return s(e)
var t=i(e),r=[]
for(var a in e)("constructor"!=a||!t&&o.call(e,a))&&r.push(a)
return r}},94033:e=>{e.exports=function(){}},93663:(e,t,r)=>{var n=r(41799),i=r(10776),s=r(67197)
e.exports=function(e){var t=i(e)
return 1==t.length&&t[0][2]?s(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},87978:(e,t,r)=>{var n=r(60270),i=r(58156),s=r(80631),o=r(28586),a=r(30756),l=r(67197),c=r(77797)
e.exports=function(e,t){return o(e)&&a(t)?l(c(e),t):function(r){var o=i(r,e)
return void 0===o&&o===t?s(r,e):n(t,o,3)}}},85250:(e,t,r)=>{var n=r(37217),i=r(87805),s=r(86649),o=r(42824),a=r(23805),l=r(37241),c=r(14974)
e.exports=function e(t,r,u,h,d){t!==r&&s(r,(function(s,l){if(d||(d=new n),a(s))o(t,r,l,u,e,h,d)
else{var p=h?h(c(t,l),s,l+"",t,r,d):void 0
void 0===p&&(p=s),i(t,l,p)}}),l)}},42824:(e,t,r)=>{var n=r(87805),i=r(93290),s=r(71961),o=r(23007),a=r(35529),l=r(72428),c=r(56449),u=r(83693),h=r(3656),d=r(1882),p=r(23805),f=r(11331),m=r(37167),g=r(14974),y=r(69884)
e.exports=function(e,t,r,v,b,w,S){var k=g(e,r),x=g(t,r),E=S.get(x)
if(E)n(e,r,E)
else{var N=w?w(k,x,r+"",e,t,S):void 0,_=void 0===N
if(_){var C=c(x),A=!C&&h(x),O=!C&&!A&&m(x)
N=x,C||A||O?c(k)?N=k:u(k)?N=o(k):A?(_=!1,N=i(x,!0)):O?(_=!1,N=s(x,!0)):N=[]:f(x)||l(x)?(N=k,l(k)?N=y(k):p(k)&&!d(k)||(N=a(x))):_=!1}_&&(S.set(x,N),b(N,x,v,w,S),S.delete(x)),n(e,r,N)}}},47237:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},17255:(e,t,r)=>{var n=r(47422)
e.exports=function(e){return function(t){return n(t,e)}}},54552:e=>{e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},85558:e=>{e.exports=function(e,t,r,n,i){return i(e,(function(e,i,s){r=n?(n=!1,e):t(r,e,i,s)})),r}},69302:(e,t,r)=>{var n=r(83488),i=r(56757),s=r(32865)
e.exports=function(e,t){return s(i(e,t,n),e+"")}},73170:(e,t,r)=>{var n=r(16547),i=r(31769),s=r(30361),o=r(23805),a=r(77797)
e.exports=function(e,t,r,l){if(!o(e))return e
for(var c=-1,u=(t=i(t,e)).length,h=u-1,d=e;null!=d&&++c<u;){var p=a(t[c]),f=r
if("__proto__"===p||"constructor"===p||"prototype"===p)return e
if(c!=h){var m=d[p]
void 0===(f=l?l(m,p,d):void 0)&&(f=o(m)?m:s(t[c+1])?[]:{})}n(d,p,f),d=d[p]}return e}},68882:(e,t,r)=>{var n=r(83488),i=r(48152),s=i?function(e,t){return i.set(e,t),e}:n
e.exports=s},19570:(e,t,r)=>{var n=r(37334),i=r(93243),s=r(83488),o=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:s
e.exports=o},25160:e=>{e.exports=function(e,t,r){var n=-1,i=e.length
t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0
for(var s=Array(i);++n<i;)s[n]=e[n+t]
return s}},90916:(e,t,r)=>{var n=r(80909)
e.exports=function(e,t){var r
return n(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r}},78096:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r)
return n}},77556:(e,t,r)=>{var n=r(51873),i=r(34932),s=r(56449),o=r(44394),a=n?n.prototype:void 0,l=a?a.toString:void 0
e.exports=function e(t){if("string"==typeof t)return t
if(s(t))return i(t,e)+""
if(o(t))return l?l.call(t):""
var r=t+""
return"0"==r&&1/t==-1/0?"-0":r}},54128:(e,t,r)=>{var n=r(31800),i=/^\s+/
e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},27301:e=>{e.exports=function(e){return function(t){return e(t)}}},19931:(e,t,r)=>{var n=r(31769),i=r(68090),s=r(68969),o=r(77797)
e.exports=function(e,t){return t=n(t,e),null==(e=s(e,t))||delete e[o(i(t))]}},51234:e=>{e.exports=function(e,t,r){for(var n=-1,i=e.length,s=t.length,o={};++n<i;){var a=n<s?t[n]:void 0
r(o,e[n],a)}return o}},19219:e=>{e.exports=function(e,t){return e.has(t)}},31769:(e,t,r)=>{var n=r(56449),i=r(28586),s=r(61802),o=r(13222)
e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:s(o(e))}},28754:(e,t,r)=>{var n=r(25160)
e.exports=function(e,t,r){var i=e.length
return r=void 0===r?i:r,!t&&r>=i?e:n(e,t,r)}},49653:(e,t,r)=>{var n=r(37828)
e.exports=function(e){var t=new e.constructor(e.byteLength)
return new n(t).set(new n(e)),t}},93290:(e,t,r)=>{e=r.nmd(e)
var n=r(9325),i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,o=s&&s.exports===i?n.Buffer:void 0,a=o?o.allocUnsafe:void 0
e.exports=function(e,t){if(t)return e.slice()
var r=e.length,n=a?a(r):new e.constructor(r)
return e.copy(n),n}},76169:(e,t,r)=>{var n=r(49653)
e.exports=function(e,t){var r=t?n(e.buffer):e.buffer
return new e.constructor(r,e.byteOffset,e.byteLength)}},73201:e=>{var t=/\w*$/
e.exports=function(e){var r=new e.constructor(e.source,t.exec(e))
return r.lastIndex=e.lastIndex,r}},93736:(e,t,r)=>{var n=r(51873),i=n?n.prototype:void 0,s=i?i.valueOf:void 0
e.exports=function(e){return s?Object(s.call(e)):{}}},71961:(e,t,r)=>{var n=r(49653)
e.exports=function(e,t){var r=t?n(e.buffer):e.buffer
return new e.constructor(r,e.byteOffset,e.length)}},91596:e=>{var t=Math.max
e.exports=function(e,r,n,i){for(var s=-1,o=e.length,a=n.length,l=-1,c=r.length,u=t(o-a,0),h=Array(c+u),d=!i;++l<c;)h[l]=r[l]
for(;++s<a;)(d||s<o)&&(h[n[s]]=e[s])
for(;u--;)h[l++]=e[s++]
return h}},53320:e=>{var t=Math.max
e.exports=function(e,r,n,i){for(var s=-1,o=e.length,a=-1,l=n.length,c=-1,u=r.length,h=t(o-l,0),d=Array(h+u),p=!i;++s<h;)d[s]=e[s]
for(var f=s;++c<u;)d[f+c]=r[c]
for(;++a<l;)(p||s<o)&&(d[f+n[a]]=e[s++])
return d}},23007:e=>{e.exports=function(e,t){var r=-1,n=e.length
for(t||(t=Array(n));++r<n;)t[r]=e[r]
return t}},21791:(e,t,r)=>{var n=r(16547),i=r(43360)
e.exports=function(e,t,r,s){var o=!r
r||(r={})
for(var a=-1,l=t.length;++a<l;){var c=t[a],u=s?s(r[c],e[c],c,r,e):void 0
void 0===u&&(u=e[c]),o?i(r,c,u):n(r,c,u)}return r}},92271:(e,t,r)=>{var n=r(21791),i=r(4664)
e.exports=function(e,t){return n(e,i(e),t)}},48948:(e,t,r)=>{var n=r(21791),i=r(86375)
e.exports=function(e,t){return n(e,i(e),t)}},55481:(e,t,r)=>{var n=r(9325)["__core-js_shared__"]
e.exports=n},58523:e=>{e.exports=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n
return n}},20999:(e,t,r)=>{var n=r(69302),i=r(36800)
e.exports=function(e){return n((function(t,r){var n=-1,s=r.length,o=s>1?r[s-1]:void 0,a=s>2?r[2]:void 0
for(o=e.length>3&&"function"==typeof o?(s--,o):void 0,a&&i(r[0],r[1],a)&&(o=s<3?void 0:o,s=1),t=Object(t);++n<s;){var l=r[n]
l&&e(t,l,n,o)}return t}))}},38329:(e,t,r)=>{var n=r(64894)
e.exports=function(e,t){return function(r,i){if(null==r)return r
if(!n(r))return e(r,i)
for(var s=r.length,o=t?s:-1,a=Object(r);(t?o--:++o<s)&&!1!==i(a[o],o,a););return r}}},83221:e=>{e.exports=function(e){return function(t,r,n){for(var i=-1,s=Object(t),o=n(t),a=o.length;a--;){var l=o[e?a:++i]
if(!1===r(s[l],l,s))break}return t}}},11842:(e,t,r)=>{var n=r(82819),i=r(9325)
e.exports=function(e,t,r){var s=1&t,o=n(e)
return function t(){return(this&&this!==i&&this instanceof t?o:e).apply(s?r:this,arguments)}}},12507:(e,t,r)=>{var n=r(28754),i=r(49698),s=r(63912),o=r(13222)
e.exports=function(e){return function(t){t=o(t)
var r=i(t)?s(t):void 0,a=r?r[0]:t.charAt(0),l=r?n(r,1).join(""):t.slice(1)
return a[e]()+l}}},45539:(e,t,r)=>{var n=r(40882),i=r(50828),s=r(66645),o=RegExp("['’]","g")
e.exports=function(e){return function(t){return n(s(i(t).replace(o,"")),e,"")}}},82819:(e,t,r)=>{var n=r(39344),i=r(23805)
e.exports=function(e){return function(){var t=arguments
switch(t.length){case 0:return new e
case 1:return new e(t[0])
case 2:return new e(t[0],t[1])
case 3:return new e(t[0],t[1],t[2])
case 4:return new e(t[0],t[1],t[2],t[3])
case 5:return new e(t[0],t[1],t[2],t[3],t[4])
case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5])
case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=n(e.prototype),s=e.apply(r,t)
return i(s)?s:r}}},77078:(e,t,r)=>{var n=r(91033),i=r(82819),s=r(37471),o=r(18073),a=r(11287),l=r(36306),c=r(9325)
e.exports=function(e,t,r){var u=i(e)
return function i(){for(var h=arguments.length,d=Array(h),p=h,f=a(i);p--;)d[p]=arguments[p]
var m=h<3&&d[0]!==f&&d[h-1]!==f?[]:l(d,f)
return(h-=m.length)<r?o(e,t,s,i.placeholder,void 0,d,m,void 0,void 0,r-h):n(this&&this!==c&&this instanceof i?u:e,this,d)}}},62006:(e,t,r)=>{var n=r(15389),i=r(64894),s=r(95950)
e.exports=function(e){return function(t,r,o){var a=Object(t)
if(!i(t)){var l=n(r,3)
t=s(t),r=function(e){return l(a[e],e,a)}}var c=e(t,r,o)
return c>-1?a[l?t[c]:c]:void 0}}},37471:(e,t,r)=>{var n=r(91596),i=r(53320),s=r(58523),o=r(82819),a=r(18073),l=r(11287),c=r(68294),u=r(36306),h=r(9325)
e.exports=function e(t,r,d,p,f,m,g,y,v,b){var w=128&r,S=1&r,k=2&r,x=24&r,E=512&r,N=k?void 0:o(t)
return function _(){for(var C=arguments.length,A=Array(C),O=C;O--;)A[O]=arguments[O]
if(x)var P=l(_),T=s(A,P)
if(p&&(A=n(A,p,f,x)),m&&(A=i(A,m,g,x)),C-=T,x&&C<b){var I=u(A,P)
return a(t,r,e,_.placeholder,d,A,I,y,v,b-C)}var j=S?d:this,D=k?j[t]:t
return C=A.length,y?A=c(A,y):E&&C>1&&A.reverse(),w&&v<C&&(A.length=v),this&&this!==h&&this instanceof _&&(D=N||o(D)),D.apply(j,A)}}},24168:(e,t,r)=>{var n=r(91033),i=r(82819),s=r(9325)
e.exports=function(e,t,r,o){var a=1&t,l=i(e)
return function t(){for(var i=-1,c=arguments.length,u=-1,h=o.length,d=Array(h+c),p=this&&this!==s&&this instanceof t?l:e;++u<h;)d[u]=o[u]
for(;c--;)d[u++]=arguments[++i]
return n(p,a?r:this,d)}}},18073:(e,t,r)=>{var n=r(85087),i=r(54641),s=r(70981)
e.exports=function(e,t,r,o,a,l,c,u,h,d){var p=8&t
t|=p?32:64,4&(t&=~(p?64:32))||(t&=-4)
var f=[e,t,a,p?l:void 0,p?c:void 0,p?void 0:l,p?void 0:c,u,h,d],m=r.apply(void 0,f)
return n(e)&&i(m,f),m.placeholder=o,s(m,e,t)}},66977:(e,t,r)=>{var n=r(68882),i=r(11842),s=r(77078),o=r(37471),a=r(24168),l=r(37381),c=r(3209),u=r(54641),h=r(70981),d=r(61489),p=Math.max
e.exports=function(e,t,r,f,m,g,y,v){var b=2&t
if(!b&&"function"!=typeof e)throw new TypeError("Expected a function")
var w=f?f.length:0
if(w||(t&=-97,f=m=void 0),y=void 0===y?y:p(d(y),0),v=void 0===v?v:d(v),w-=m?m.length:0,64&t){var S=f,k=m
f=m=void 0}var x=b?void 0:l(e),E=[e,t,r,f,m,S,k,g,y,v]
if(x&&c(E,x),e=E[0],t=E[1],r=E[2],f=E[3],m=E[4],!(v=E[9]=void 0===E[9]?b?0:e.length:p(E[9]-w,0))&&24&t&&(t&=-25),t&&1!=t)N=8==t||16==t?s(e,t,v):32!=t&&33!=t||m.length?o.apply(void 0,E):a(e,t,r,f)
else var N=i(e,t,r)
return h((x?n:u)(N,E),e,t)}},53138:(e,t,r)=>{var n=r(11331)
e.exports=function(e){return n(e)?void 0:e}},24647:(e,t,r)=>{var n=r(54552)({"À":"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","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"})
e.exports=n},93243:(e,t,r)=>{var n=r(56110),i=function(){try{var e=n(Object,"defineProperty")
return e({},"",{}),e}catch(e){}}()
e.exports=i},25911:(e,t,r)=>{var n=r(38859),i=r(14248),s=r(19219)
e.exports=function(e,t,r,o,a,l){var c=1&r,u=e.length,h=t.length
if(u!=h&&!(c&&h>u))return!1
var d=l.get(e),p=l.get(t)
if(d&&p)return d==t&&p==e
var f=-1,m=!0,g=2&r?new n:void 0
for(l.set(e,t),l.set(t,e);++f<u;){var y=e[f],v=t[f]
if(o)var b=c?o(v,y,f,t,e,l):o(y,v,f,e,t,l)
if(void 0!==b){if(b)continue
m=!1
break}if(g){if(!i(t,(function(e,t){if(!s(g,t)&&(y===e||a(y,e,r,o,l)))return g.push(t)}))){m=!1
break}}else if(y!==v&&!a(y,v,r,o,l)){m=!1
break}}return l.delete(e),l.delete(t),m}},21986:(e,t,r)=>{var n=r(51873),i=r(37828),s=r(75288),o=r(25911),a=r(20317),l=r(84247),c=n?n.prototype:void 0,u=c?c.valueOf:void 0
e.exports=function(e,t,r,n,c,h,d){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1
e=e.buffer,t=t.buffer
case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!h(new i(e),new i(t)))
case"[object Boolean]":case"[object Date]":case"[object Number]":return s(+e,+t)
case"[object Error]":return e.name==t.name&&e.message==t.message
case"[object RegExp]":case"[object String]":return e==t+""
case"[object Map]":var p=a
case"[object Set]":var f=1&n
if(p||(p=l),e.size!=t.size&&!f)return!1
var m=d.get(e)
if(m)return m==t
n|=2,d.set(e,t)
var g=o(p(e),p(t),n,c,h,d)
return d.delete(e),g
case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},50689:(e,t,r)=>{var n=r(50002),i=Object.prototype.hasOwnProperty
e.exports=function(e,t,r,s,o,a){var l=1&r,c=n(e),u=c.length
if(u!=n(t).length&&!l)return!1
for(var h=u;h--;){var d=c[h]
if(!(l?d in t:i.call(t,d)))return!1}var p=a.get(e),f=a.get(t)
if(p&&f)return p==t&&f==e
var m=!0
a.set(e,t),a.set(t,e)
for(var g=l;++h<u;){var y=e[d=c[h]],v=t[d]
if(s)var b=l?s(v,y,d,t,e,a):s(y,v,d,e,t,a)
if(!(void 0===b?y===v||o(y,v,r,s,a):b)){m=!1
break}g||(g="constructor"==d)}if(m&&!g){var w=e.constructor,S=t.constructor
w==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(m=!1)}return a.delete(e),a.delete(t),m}},38816:(e,t,r)=>{var n=r(35970),i=r(56757),s=r(32865)
e.exports=function(e){return s(i(e,void 0,n),e+"")}},34840:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g
e.exports=n},50002:(e,t,r)=>{var n=r(82199),i=r(4664),s=r(95950)
e.exports=function(e){return n(e,s,i)}},83349:(e,t,r)=>{var n=r(82199),i=r(86375),s=r(37241)
e.exports=function(e){return n(e,s,i)}},37381:(e,t,r)=>{var n=r(48152),i=r(63950),s=n?function(e){return n.get(e)}:i
e.exports=s},62284:(e,t,r)=>{var n=r(84629),i=Object.prototype.hasOwnProperty
e.exports=function(e){for(var t=e.name+"",r=n[t],s=i.call(n,t)?r.length:0;s--;){var o=r[s],a=o.func
if(null==a||a==e)return o.name}return t}},11287:e=>{e.exports=function(e){return e.placeholder}},12651:(e,t,r)=>{var n=r(74218)
e.exports=function(e,t){var r=e.__data__
return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},10776:(e,t,r)=>{var n=r(30756),i=r(95950)
e.exports=function(e){for(var t=i(e),r=t.length;r--;){var s=t[r],o=e[s]
t[r]=[s,o,n(o)]}return t}},56110:(e,t,r)=>{var n=r(45083),i=r(10392)
e.exports=function(e,t){var r=i(e,t)
return n(r)?r:void 0}},28879:(e,t,r)=>{var n=r(74335)(Object.getPrototypeOf,Object)
e.exports=n},659:(e,t,r)=>{var n=r(51873),i=Object.prototype,s=i.hasOwnProperty,o=i.toString,a=n?n.toStringTag:void 0
e.exports=function(e){var t=s.call(e,a),r=e[a]
try{e[a]=void 0
var n=!0}catch(e){}var i=o.call(e)
return n&&(t?e[a]=r:delete e[a]),i}},4664:(e,t,r)=>{var n=r(79770),i=r(63345),s=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,a=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return s.call(e,t)})))}:i
e.exports=a},86375:(e,t,r)=>{var n=r(14528),i=r(28879),s=r(4664),o=r(63345),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,s(e)),e=i(e)
return t}:o
e.exports=a},5861:(e,t,r)=>{var n=r(55580),i=r(68223),s=r(32804),o=r(76545),a=r(28303),l=r(72552),c=r(47473),u="[object Map]",h="[object Promise]",d="[object Set]",p="[object WeakMap]",f="[object DataView]",m=c(n),g=c(i),y=c(s),v=c(o),b=c(a),w=l;(n&&w(new n(new ArrayBuffer(1)))!=f||i&&w(new i)!=u||s&&w(s.resolve())!=h||o&&w(new o)!=d||a&&w(new a)!=p)&&(w=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):""
if(n)switch(n){case m:return f
case g:return u
case y:return h
case v:return d
case b:return p}return t}),e.exports=w},10392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},75251:e=>{var t=/\{\n\/\* \[wrapped with (.+)\] \*/,r=/,? & /
e.exports=function(e){var n=e.match(t)
return n?n[1].split(r):[]}},49326:(e,t,r)=>{var n=r(31769),i=r(72428),s=r(56449),o=r(30361),a=r(30294),l=r(77797)
e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,h=!1;++c<u;){var d=l(t[c])
if(!(h=null!=e&&r(e,d)))break
e=e[d]}return h||++c!=u?h:!!(u=null==e?0:e.length)&&a(u)&&o(d,u)&&(s(e)||i(e))}},49698:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]")
e.exports=function(e){return t.test(e)}},45434:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/
e.exports=function(e){return t.test(e)}},22032:(e,t,r)=>{var n=r(81042)
e.exports=function(){this.__data__=n?n(null):{},this.size=0}},63862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e]
return this.size-=t?1:0,t}},66721:(e,t,r)=>{var n=r(81042),i=Object.prototype.hasOwnProperty
e.exports=function(e){var t=this.__data__
if(n){var r=t[e]
return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},12749:(e,t,r)=>{var n=r(81042),i=Object.prototype.hasOwnProperty
e.exports=function(e){var t=this.__data__
return n?void 0!==t[e]:i.call(t,e)}},35749:(e,t,r)=>{var n=r(81042)
e.exports=function(e,t){var r=this.__data__
return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},76189:e=>{var t=Object.prototype.hasOwnProperty
e.exports=function(e){var r=e.length,n=new e.constructor(r)
return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},77199:(e,t,r)=>{var n=r(49653),i=r(76169),s=r(73201),o=r(93736),a=r(71961)
e.exports=function(e,t,r){var l=e.constructor
switch(t){case"[object ArrayBuffer]":return n(e)
case"[object Boolean]":case"[object Date]":return new l(+e)
case"[object DataView]":return i(e,r)
case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(e,r)
case"[object Map]":case"[object Set]":return new l
case"[object Number]":case"[object String]":return new l(e)
case"[object RegExp]":return s(e)
case"[object Symbol]":return o(e)}}},35529:(e,t,r)=>{var n=r(39344),i=r(28879),s=r(55527)
e.exports=function(e){return"function"!=typeof e.constructor||s(e)?{}:n(i(e))}},62060:e=>{var t=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/
e.exports=function(e,r){var n=r.length
if(!n)return e
var i=n-1
return r[i]=(n>1?"& ":"")+r[i],r=r.join(n>2?", ":" "),e.replace(t,"{\n/* [wrapped with "+r+"] */\n")}},45891:(e,t,r)=>{var n=r(51873),i=r(72428),s=r(56449),o=n?n.isConcatSpreadable:void 0
e.exports=function(e){return s(e)||i(e)||!!(o&&e&&e[o])}},30361:e=>{var t=/^(?:0|[1-9]\d*)$/
e.exports=function(e,r){var n=typeof e
return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},36800:(e,t,r)=>{var n=r(75288),i=r(64894),s=r(30361),o=r(23805)
e.exports=function(e,t,r){if(!o(r))return!1
var a=typeof t
return!!("number"==a?i(r)&&s(t,r.length):"string"==a&&t in r)&&n(r[t],e)}},28586:(e,t,r)=>{var n=r(56449),i=r(44394),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/
e.exports=function(e,t){if(n(e))return!1
var r=typeof e
return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||o.test(e)||!s.test(e)||null!=t&&e in Object(t)}},74218:e=>{e.exports=function(e){var t=typeof e
return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},85087:(e,t,r)=>{var n=r(30980),i=r(37381),s=r(62284),o=r(53758)
e.exports=function(e){var t=s(e),r=o[t]
if("function"!=typeof r||!(t in n.prototype))return!1
if(e===r)return!0
var a=i(r)
return!!a&&e===a[0]}},87296:(e,t,r)=>{var n,i=r(55481),s=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:""
e.exports=function(e){return!!s&&s in e}},55527:e=>{var t=Object.prototype
e.exports=function(e){var r=e&&e.constructor
return e===("function"==typeof r&&r.prototype||t)}},30756:(e,t,r)=>{var n=r(23805)
e.exports=function(e){return e==e&&!n(e)}},63702:e=>{e.exports=function(){this.__data__=[],this.size=0}},70080:(e,t,r)=>{var n=r(26025),i=Array.prototype.splice
e.exports=function(e){var t=this.__data__,r=n(t,e)
return!(r<0||(r==t.length-1?t.pop():i.call(t,r,1),--this.size,0))}},24739:(e,t,r)=>{var n=r(26025)
e.exports=function(e){var t=this.__data__,r=n(t,e)
return r<0?void 0:t[r][1]}},48655:(e,t,r)=>{var n=r(26025)
e.exports=function(e){return n(this.__data__,e)>-1}},31175:(e,t,r)=>{var n=r(26025)
e.exports=function(e,t){var r=this.__data__,i=n(r,e)
return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},63040:(e,t,r)=>{var n=r(21549),i=r(80079),s=r(68223)
e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(s||i),string:new n}}},17670:(e,t,r)=>{var n=r(12651)
e.exports=function(e){var t=n(this,e).delete(e)
return this.size-=t?1:0,t}},90289:(e,t,r)=>{var n=r(12651)
e.exports=function(e){return n(this,e).get(e)}},4509:(e,t,r)=>{var n=r(12651)
e.exports=function(e){return n(this,e).has(e)}},72949:(e,t,r)=>{var n=r(12651)
e.exports=function(e,t){var r=n(this,e),i=r.size
return r.set(e,t),this.size+=r.size==i?0:1,this}},20317:e=>{e.exports=function(e){var t=-1,r=Array(e.size)
return e.forEach((function(e,n){r[++t]=[n,e]})),r}},67197:e=>{e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},62224:(e,t,r)=>{var n=r(50104)
e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache
return t}},3209:(e,t,r)=>{var n=r(91596),i=r(53320),s=r(36306),o="__lodash_placeholder__",a=Math.min
e.exports=function(e,t){var r=e[1],l=t[1],c=r|l,u=c<131,h=128==l&&8==r||128==l&&256==r&&e[7].length<=t[8]||384==l&&t[7].length<=t[8]&&8==r
if(!u&&!h)return e
1&l&&(e[2]=t[2],c|=1&r?0:4)
var d=t[3]
if(d){var p=e[3]
e[3]=p?n(p,d,t[4]):d,e[4]=p?s(e[3],o):t[4]}return(d=t[5])&&(p=e[5],e[5]=p?i(p,d,t[6]):d,e[6]=p?s(e[5],o):t[6]),(d=t[7])&&(e[7]=d),128&l&&(e[8]=null==e[8]?t[8]:a(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=c,e}},48152:(e,t,r)=>{var n=r(28303),i=n&&new n
e.exports=i},81042:(e,t,r)=>{var n=r(56110)(Object,"create")
e.exports=n},3650:(e,t,r)=>{var n=r(74335)(Object.keys,Object)
e.exports=n},90181:e=>{e.exports=function(e){var t=[]
if(null!=e)for(var r in Object(e))t.push(r)
return t}},86009:(e,t,r)=>{e=r.nmd(e)
var n=r(34840),i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,o=s&&s.exports===i&&n.process,a=function(){try{return s&&s.require&&s.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}()
e.exports=a},59350:e=>{var t=Object.prototype.toString
e.exports=function(e){return t.call(e)}},74335:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},56757:(e,t,r)=>{var n=r(91033),i=Math.max
e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var s=arguments,o=-1,a=i(s.length-t,0),l=Array(a);++o<a;)l[o]=s[t+o]
o=-1
for(var c=Array(t+1);++o<t;)c[o]=s[o]
return c[t]=r(l),n(e,this,c)}}},68969:(e,t,r)=>{var n=r(47422),i=r(25160)
e.exports=function(e,t){return t.length<2?e:n(e,i(t,0,-1))}},84629:e=>{e.exports={}},68294:(e,t,r)=>{var n=r(23007),i=r(30361),s=Math.min
e.exports=function(e,t){for(var r=e.length,o=s(t.length,r),a=n(e);o--;){var l=t[o]
e[o]=i(l,r)?a[l]:void 0}return e}},36306:e=>{var t="__lodash_placeholder__"
e.exports=function(e,r){for(var n=-1,i=e.length,s=0,o=[];++n<i;){var a=e[n]
a!==r&&a!==t||(e[n]=t,o[s++]=n)}return o}},9325:(e,t,r)=>{var n=r(34840),i="object"==typeof self&&self&&self.Object===Object&&self,s=n||i||Function("return this")()
e.exports=s},14974:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},31380:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459:e=>{e.exports=function(e){return this.__data__.has(e)}},54641:(e,t,r)=>{var n=r(68882),i=r(51811)(n)
e.exports=i},84247:e=>{e.exports=function(e){var t=-1,r=Array(e.size)
return e.forEach((function(e){r[++t]=e})),r}},32865:(e,t,r)=>{var n=r(19570),i=r(51811)(n)
e.exports=i},70981:(e,t,r)=>{var n=r(75251),i=r(62060),s=r(32865),o=r(75948)
e.exports=function(e,t,r){var a=t+""
return s(e,i(a,o(n(a),r)))}},51811:e=>{var t=Date.now
e.exports=function(e){var r=0,n=0
return function(){var i=t(),s=16-(i-n)
if(n=i,s>0){if(++r>=800)return arguments[0]}else r=0
return e.apply(void 0,arguments)}}},51420:(e,t,r)=>{var n=r(80079)
e.exports=function(){this.__data__=new n,this.size=0}},90938:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e)
return this.size=t.size,r}},63605:e=>{e.exports=function(e){return this.__data__.get(e)}},29817:e=>{e.exports=function(e){return this.__data__.has(e)}},80945:(e,t,r)=>{var n=r(80079),i=r(68223),s=r(53661)
e.exports=function(e,t){var r=this.__data__
if(r instanceof n){var o=r.__data__
if(!i||o.length<199)return o.push([e,t]),this.size=++r.size,this
r=this.__data__=new s(o)}return r.set(e,t),this.size=r.size,this}},76959:e=>{e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n
return-1}},63912:(e,t,r)=>{var n=r(61074),i=r(49698),s=r(42054)
e.exports=function(e){return i(e)?s(e):n(e)}},61802:(e,t,r)=>{var n=r(62224),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,o=n((function(e){var t=[]
return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,r,n,i){t.push(n?i.replace(s,"$1"):r||e)})),t}))
e.exports=o},77797:(e,t,r)=>{var n=r(44394)
e.exports=function(e){if("string"==typeof e||n(e))return e
var t=e+""
return"0"==t&&1/e==-1/0?"-0":t}},47473:e=>{var t=Function.prototype.toString
e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},31800:e=>{var t=/\s/
e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},42054:e=>{var t="\\ud800-\\udfff",r="["+t+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",s="[^"+t+"]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+n+"|"+i+")?",c="[\\ufe0e\\ufe0f]?",u=c+l+"(?:\\u200d(?:"+[s,o,a].join("|")+")"+c+l+")*",h="(?:"+[s+n+"?",n,o,a,r].join("|")+")",d=RegExp(i+"(?="+i+")|"+h+u,"g")
e.exports=function(e){return e.match(d)||[]}},22225:e=>{var t="\\ud800-\\udfff",r="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",s="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="["+s+"]",a="\\d+",l="["+r+"]",c="["+n+"]",u="[^"+t+s+a+r+n+i+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+i+"]",f="(?:"+c+"|"+u+")",m="(?:"+p+"|"+u+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",y="(?:['’](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",w=b+v+"(?:\\u200d(?:"+["[^"+t+"]",h,d].join("|")+")"+b+v+")*",S="(?:"+[l,h,d].join("|")+")"+w,k=RegExp([p+"?"+c+"+"+g+"(?="+[o,p,"$"].join("|")+")",m+"+"+y+"(?="+[o,p+f,"$"].join("|")+")",p+"?"+f+"+"+g,p+"+"+y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,S].join("|"),"g")
e.exports=function(e){return e.match(k)||[]}},75948:(e,t,r)=>{var n=r(83729),i=r(15325),s=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]]
e.exports=function(e,t){return n(s,(function(r){var n="_."+r[0]
t&r[1]&&!i(e,n)&&e.push(n)})),e.sort()}},80257:(e,t,r)=>{var n=r(30980),i=r(56017),s=r(23007)
e.exports=function(e){if(e instanceof n)return e.clone()
var t=new i(e.__wrapped__,e.__chain__)
return t.__actions__=s(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}},64626:(e,t,r)=>{var n=r(66977)
e.exports=function(e,t,r){return t=r?void 0:t,t=e&&null==t?e.length:t,n(e,128,void 0,void 0,void 0,void 0,t)}},84058:(e,t,r)=>{var n=r(14792),i=r(45539)((function(e,t,r){return t=t.toLowerCase(),e+(r?n(t):t)}))
e.exports=i},14792:(e,t,r)=>{var n=r(13222),i=r(55808)
e.exports=function(e){return i(n(e).toLowerCase())}},32629:(e,t,r)=>{var n=r(9999)
e.exports=function(e){return n(e,4)}},37334:e=>{e.exports=function(e){return function(){return e}}},49747:(e,t,r)=>{var n=r(66977)
function i(e,t,r){var s=n(e,8,void 0,void 0,void 0,void 0,void 0,t=r?void 0:t)
return s.placeholder=i.placeholder,s}i.placeholder={},e.exports=i},38221:(e,t,r)=>{var n=r(23805),i=r(10124),s=r(99374),o=Math.max,a=Math.min
e.exports=function(e,t,r){var l,c,u,h,d,p,f=0,m=!1,g=!1,y=!0
if("function"!=typeof e)throw new TypeError("Expected a function")
function v(t){var r=l,n=c
return l=c=void 0,f=t,h=e.apply(n,r)}function b(e){var r=e-p
return void 0===p||r>=t||r<0||g&&e-f>=u}function w(){var e=i()
if(b(e))return S(e)
d=setTimeout(w,function(e){var r=t-(e-p)
return g?a(r,u-(e-f)):r}(e))}function S(e){return d=void 0,y&&l?v(e):(l=c=void 0,h)}function k(){var e=i(),r=b(e)
if(l=arguments,c=this,p=e,r){if(void 0===d)return function(e){return f=e,d=setTimeout(w,t),m?v(e):h}(p)
if(g)return clearTimeout(d),d=setTimeout(w,t),v(p)}return void 0===d&&(d=setTimeout(w,t)),h}return t=s(t)||0,n(r)&&(m=!!r.leading,u=(g="maxWait"in r)?o(s(r.maxWait)||0,t):u,y="trailing"in r?!!r.trailing:y),k.cancel=function(){void 0!==d&&clearTimeout(d),f=0,l=p=c=d=void 0},k.flush=function(){return void 0===d?h:S(i())},k}},50828:(e,t,r)=>{var n=r(24647),i=r(13222),s=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,o=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g")
e.exports=function(e){return(e=i(e))&&e.replace(s,n).replace(o,"")}},75288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},60680:(e,t,r)=>{var n=r(13222),i=/[\\^$.*+?()[\]{}|]/g,s=RegExp(i.source)
e.exports=function(e){return(e=n(e))&&s.test(e)?e.replace(i,"\\$&"):e}},7309:(e,t,r)=>{var n=r(62006)(r(24713))
e.exports=n},24713:(e,t,r)=>{var n=r(2523),i=r(15389),s=r(61489),o=Math.max
e.exports=function(e,t,r){var a=null==e?0:e.length
if(!a)return-1
var l=null==r?0:s(r)
return l<0&&(l=o(a+l,0)),n(e,i(t,3),l)}},35970:(e,t,r)=>{var n=r(83120)
e.exports=function(e){return null!=e&&e.length?n(e,1):[]}},73424:(e,t,r)=>{var n=r(16962),i=r(2874),s=Array.prototype.push
function o(e,t){return 2==t?function(t,r){return e(t,r)}:function(t){return e(t)}}function a(e){for(var t=e?e.length:0,r=Array(t);t--;)r[t]=e[t]
return r}function l(e,t){return function(){var r=arguments.length
if(r){for(var n=Array(r);r--;)n[r]=arguments[r]
var i=n[0]=t.apply(void 0,n)
return e.apply(void 0,n),i}}}e.exports=function e(t,r,c,u){var h="function"==typeof r,d=r===Object(r)
if(d&&(u=c,c=r,r=void 0),null==c)throw new TypeError
u||(u={})
var p={cap:!("cap"in u)||u.cap,curry:!("curry"in u)||u.curry,fixed:!("fixed"in u)||u.fixed,immutable:!("immutable"in u)||u.immutable,rearg:!("rearg"in u)||u.rearg},f=h?c:i,m="curry"in u&&u.curry,g="fixed"in u&&u.fixed,y="rearg"in u&&u.rearg,v=h?c.runInContext():void 0,b=h?c:{ary:t.ary,assign:t.assign,clone:t.clone,curry:t.curry,forEach:t.forEach,isArray:t.isArray,isError:t.isError,isFunction:t.isFunction,isWeakMap:t.isWeakMap,iteratee:t.iteratee,keys:t.keys,rearg:t.rearg,toInteger:t.toInteger,toPath:t.toPath},w=b.ary,S=b.assign,k=b.clone,x=b.curry,E=b.forEach,N=b.isArray,_=b.isError,C=b.isFunction,A=b.isWeakMap,O=b.keys,P=b.rearg,T=b.toInteger,I=b.toPath,j=O(n.aryMethod),D={castArray:function(e){return function(){var t=arguments[0]
return N(t)?e(a(t)):e.apply(void 0,arguments)}},iteratee:function(e){return function(){var t=arguments[1],r=e(arguments[0],t),n=r.length
return p.cap&&"number"==typeof t?(t=t>2?t-2:1,n&&n<=t?r:o(r,t)):r}},mixin:function(e){return function(t){var r=this
if(!C(r))return e(r,Object(t))
var n=[]
return E(O(t),(function(e){C(t[e])&&n.push([e,r.prototype[e]])})),e(r,Object(t)),E(n,(function(e){var t=e[1]
C(t)?r.prototype[e[0]]=t:delete r.prototype[e[0]]})),r}},nthArg:function(e){return function(t){var r=t<0?1:T(t)+1
return x(e(t),r)}},rearg:function(e){return function(t,r){var n=r?r.length:0
return x(e(t,r),n)}},runInContext:function(r){return function(n){return e(t,r(n),u)}}}
function M(e,t){if(p.cap){var r=n.iterateeRearg[e]
if(r)return function(e,t){return F(e,(function(e){var r=t.length
return function(e,t){return 2==t?function(t,r){return e.apply(void 0,arguments)}:function(t){return e.apply(void 0,arguments)}}(P(o(e,r),t),r)}))}(t,r)
var i=!h&&n.iterateeAry[e]
if(i)return function(e,t){return F(e,(function(e){return"function"==typeof e?o(e,t):e}))}(t,i)}return t}function B(e,t,r){if(p.fixed&&(g||!n.skipFixed[e])){var i=n.methodSpread[e],o=i&&i.start
return void 0===o?w(t,r):function(e,t){return function(){for(var r=arguments.length,n=r-1,i=Array(r);r--;)i[r]=arguments[r]
var o=i[t],a=i.slice(0,t)
return o&&s.apply(a,o),t!=n&&s.apply(a,i.slice(t+1)),e.apply(this,a)}}(t,o)}return t}function R(e,t,r){return p.rearg&&r>1&&(y||!n.skipRearg[e])?P(t,n.methodRearg[e]||n.aryRearg[r]):t}function L(e,t){for(var r=-1,n=(t=I(t)).length,i=n-1,s=k(Object(e)),o=s;null!=o&&++r<n;){var a=t[r],l=o[a]
null==l||C(l)||_(l)||A(l)||(o[a]=k(r==i?l:Object(l))),o=o[a]}return s}function z(t,r){var i=n.aliasToReal[t]||t,s=n.remap[i]||i,o=u
return function(t){var n=h?v:b,a=h?v[s]:r,l=S(S({},o),t)
return e(n,i,a,l)}}function F(e,t){return function(){var r=arguments.length
if(!r)return e()
for(var n=Array(r);r--;)n[r]=arguments[r]
var i=p.rearg?0:r-1
return n[i]=t(n[i]),e.apply(void 0,n)}}function V(e,t,r){var i,s=n.aliasToReal[e]||e,o=t,c=D[s]
return c?o=c(t):p.immutable&&(n.mutate.array[s]?o=l(t,a):n.mutate.object[s]?o=l(t,function(e){return function(t){return e({},t)}}(t)):n.mutate.set[s]&&(o=l(t,L))),E(j,(function(e){return E(n.aryMethod[e],(function(t){if(s==t){var r=n.methodSpread[s],a=r&&r.afterRearg
return i=a?B(s,R(s,o,e),e):R(s,B(s,o,e),e),i=function(e,t,r){return m||p.curry&&r>1?x(t,r):t}(0,i=M(s,i),e),!1}})),!i})),i||(i=o),i==t&&(i=m?x(i,1):function(){return t.apply(this,arguments)}),i.convert=z(s,t),i.placeholder=t.placeholder=r,i}if(!d)return V(r,c,f)
var $=c,U=[]
return E(j,(function(e){E(n.aryMethod[e],(function(e){var t=$[n.remap[e]||e]
t&&U.push([e,V(e,t,$)])}))})),E(O($),(function(e){var t=$[e]
if("function"==typeof t){for(var r=U.length;r--;)if(U[r][0]==e)return
t.convert=z(e,t),U.push([e,t])}})),E(U,(function(e){$[e[0]]=e[1]})),$.convert=function(e){return $.runInContext.convert(e)(void 0)},$.placeholder=$,E(O($),(function(e){E(n.realToAlias[e]||[],(function(t){$[t]=$[e]}))})),$}},16962:(e,t)=>{t.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},t.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},t.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},t.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},t.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},t.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},t.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},t.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},t.realToAlias=function(){var e=Object.prototype.hasOwnProperty,r=t.aliasToReal,n={}
for(var i in r){var s=r[i]
e.call(n,s)?n[s].push(i):n[s]=[i]}return n}(),t.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},t.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},t.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},47934:(e,t,r)=>{e.exports={ary:r(64626),assign:r(74733),clone:r(32629),curry:r(49747),forEach:r(83729),isArray:r(56449),isError:r(23546),isFunction:r(1882),isWeakMap:r(47886),iteratee:r(33855),keys:r(88984),rearg:r(84195),toInteger:r(61489),toPath:r(42072)}},56367:(e,t,r)=>{e.exports=r(77731)},79920:(e,t,r)=>{var n=r(73424),i=r(47934)
e.exports=function(e,t,r){return n(i,e,t,r)}},2874:e=>{e.exports={}},77731:(e,t,r)=>{var n=r(79920)("set",r(63560))
n.placeholder=r(2874),e.exports=n},58156:(e,t,r)=>{var n=r(47422)
e.exports=function(e,t,r){var i=null==e?void 0:n(e,t)
return void 0===i?r:i}},61448:(e,t,r)=>{var n=r(20426),i=r(49326)
e.exports=function(e,t){return null!=e&&i(e,t,n)}},80631:(e,t,r)=>{var n=r(28077),i=r(49326)
e.exports=function(e,t){return null!=e&&i(e,t,n)}},83488:e=>{e.exports=function(e){return e}},72428:(e,t,r)=>{var n=r(27534),i=r(40346),s=Object.prototype,o=s.hasOwnProperty,a=s.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return i(e)&&o.call(e,"callee")&&!a.call(e,"callee")}
e.exports=l},56449:e=>{var t=Array.isArray
e.exports=t},64894:(e,t,r)=>{var n=r(1882),i=r(30294)
e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},83693:(e,t,r)=>{var n=r(64894),i=r(40346)
e.exports=function(e){return i(e)&&n(e)}},53812:(e,t,r)=>{var n=r(72552),i=r(40346)
e.exports=function(e){return!0===e||!1===e||i(e)&&"[object Boolean]"==n(e)}},3656:(e,t,r)=>{e=r.nmd(e)
var n=r(9325),i=r(89935),s=t&&!t.nodeType&&t,o=s&&e&&!e.nodeType&&e,a=o&&o.exports===s?n.Buffer:void 0,l=(a?a.isBuffer:void 0)||i
e.exports=l},62193:(e,t,r)=>{var n=r(88984),i=r(5861),s=r(72428),o=r(56449),a=r(64894),l=r(3656),c=r(55527),u=r(37167),h=Object.prototype.hasOwnProperty
e.exports=function(e){if(null==e)return!0
if(a(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||s(e)))return!e.length
var t=i(e)
if("[object Map]"==t||"[object Set]"==t)return!e.size
if(c(e))return!n(e).length
for(var r in e)if(h.call(e,r))return!1
return!0}},2404:(e,t,r)=>{var n=r(60270)
e.exports=function(e,t){return n(e,t)}},23546:(e,t,r)=>{var n=r(72552),i=r(40346),s=r(11331)
e.exports=function(e){if(!i(e))return!1
var t=n(e)
return"[object Error]"==t||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!s(e)}},1882:(e,t,r)=>{var n=r(72552),i=r(23805)
e.exports=function(e){if(!i(e))return!1
var t=n(e)
return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},87730:(e,t,r)=>{var n=r(29172),i=r(27301),s=r(86009),o=s&&s.isMap,a=o?i(o):n
e.exports=a},5187:e=>{e.exports=function(e){return null===e}},98023:(e,t,r)=>{var n=r(72552),i=r(40346)
e.exports=function(e){return"number"==typeof e||i(e)&&"[object Number]"==n(e)}},23805:e=>{e.exports=function(e){var t=typeof e
return null!=e&&("object"==t||"function"==t)}},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},11331:(e,t,r)=>{var n=r(72552),i=r(28879),s=r(40346),o=Function.prototype,a=Object.prototype,l=o.toString,c=a.hasOwnProperty,u=l.call(Object)
e.exports=function(e){if(!s(e)||"[object Object]"!=n(e))return!1
var t=i(e)
if(null===t)return!0
var r=c.call(t,"constructor")&&t.constructor
return"function"==typeof r&&r instanceof r&&l.call(r)==u}},38440:(e,t,r)=>{var n=r(16038),i=r(27301),s=r(86009),o=s&&s.isSet,a=o?i(o):n
e.exports=a},85015:(e,t,r)=>{var n=r(72552),i=r(56449),s=r(40346)
e.exports=function(e){return"string"==typeof e||!i(e)&&s(e)&&"[object String]"==n(e)}},44394:(e,t,r)=>{var n=r(72552),i=r(40346)
e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},37167:(e,t,r)=>{var n=r(4901),i=r(27301),s=r(86009),o=s&&s.isTypedArray,a=o?i(o):n
e.exports=a},47886:(e,t,r)=>{var n=r(5861),i=r(40346)
e.exports=function(e){return i(e)&&"[object WeakMap]"==n(e)}},33855:(e,t,r)=>{var n=r(9999),i=r(15389)
e.exports=function(e){return i("function"==typeof e?e:n(e,1))}},95950:(e,t,r)=>{var n=r(70695),i=r(88984),s=r(64894)
e.exports=function(e){return s(e)?n(e):i(e)}},37241:(e,t,r)=>{var n=r(70695),i=r(72903),s=r(64894)
e.exports=function(e){return s(e)?n(e,!0):i(e)}},68090:e=>{e.exports=function(e){var t=null==e?0:e.length
return t?e[t-1]:void 0}},50104:(e,t,r)=>{var n=r(53661)
function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function")
var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],s=r.cache
if(s.has(i))return s.get(i)
var o=e.apply(this,n)
return r.cache=s.set(i,o)||s,o}
return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},55364:(e,t,r)=>{var n=r(85250),i=r(20999)((function(e,t,r){n(e,t,r)}))
e.exports=i},6048:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function")
return function(){var t=arguments
switch(t.length){case 0:return!e.call(this)
case 1:return!e.call(this,t[0])
case 2:return!e.call(this,t[0],t[1])
case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},63950:e=>{e.exports=function(){}},10124:(e,t,r)=>{var n=r(9325)
e.exports=function(){return n.Date.now()}},90179:(e,t,r)=>{var n=r(34932),i=r(9999),s=r(19931),o=r(31769),a=r(21791),l=r(53138),c=r(38816),u=r(83349),h=c((function(e,t){var r={}
if(null==e)return r
var c=!1
t=n(t,(function(t){return t=o(t,e),c||(c=t.length>1),t})),a(e,u(e),r),c&&(r=i(r,7,l))
for(var h=t.length;h--;)s(r,t[h])
return r}))
e.exports=h},50583:(e,t,r)=>{var n=r(47237),i=r(17255),s=r(28586),o=r(77797)
e.exports=function(e){return s(e)?n(o(e)):i(e)}},84195:(e,t,r)=>{var n=r(66977),i=r(38816)((function(e,t){return n(e,256,void 0,void 0,void 0,t)}))
e.exports=i},40860:(e,t,r)=>{var n=r(40882),i=r(80909),s=r(15389),o=r(85558),a=r(56449)
e.exports=function(e,t,r){var l=a(e)?n:o,c=arguments.length<3
return l(e,s(t,4),r,c,i)}},63560:(e,t,r)=>{var n=r(73170)
e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},42426:(e,t,r)=>{var n=r(14248),i=r(15389),s=r(90916),o=r(56449),a=r(36800)
e.exports=function(e,t,r){var l=o(e)?n:s
return r&&a(e,t,r)&&(t=void 0),l(e,i(t,3))}},63345:e=>{e.exports=function(){return[]}},89935:e=>{e.exports=function(){return!1}},17400:(e,t,r)=>{var n=r(99374),i=1/0
e.exports=function(e){return e?(e=n(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},61489:(e,t,r)=>{var n=r(17400)
e.exports=function(e){var t=n(e),r=t%1
return t==t?r?t-r:t:0}},80218:(e,t,r)=>{var n=r(13222)
e.exports=function(e){return n(e).toLowerCase()}},99374:(e,t,r)=>{var n=r(54128),i=r(23805),s=r(44394),o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt
e.exports=function(e){if("number"==typeof e)return e
if(s(e))return NaN
if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e
e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e
e=n(e)
var r=a.test(e)
return r||l.test(e)?c(e.slice(2),r?2:8):o.test(e)?NaN:+e}},42072:(e,t,r)=>{var n=r(34932),i=r(23007),s=r(56449),o=r(44394),a=r(61802),l=r(77797),c=r(13222)
e.exports=function(e){return s(e)?n(e,l):o(e)?[e]:i(a(c(e)))}},69884:(e,t,r)=>{var n=r(21791),i=r(37241)
e.exports=function(e){return n(e,i(e))}},13222:(e,t,r)=>{var n=r(77556)
e.exports=function(e){return null==e?"":n(e)}},55808:(e,t,r)=>{var n=r(12507)("toUpperCase")
e.exports=n},66645:(e,t,r)=>{var n=r(1733),i=r(45434),s=r(13222),o=r(22225)
e.exports=function(e,t,r){return e=s(e),void 0===(t=r?void 0:t)?i(e)?o(e):n(e):e.match(t)||[]}},53758:(e,t,r)=>{var n=r(30980),i=r(56017),s=r(94033),o=r(56449),a=r(40346),l=r(80257),c=Object.prototype.hasOwnProperty
function u(e){if(a(e)&&!o(e)&&!(e instanceof n)){if(e instanceof i)return e
if(c.call(e,"__wrapped__"))return l(e)}return new i(e)}u.prototype=s.prototype,u.prototype.constructor=u,e.exports=u},47248:(e,t,r)=>{var n=r(16547),i=r(51234)
e.exports=function(e,t){return i(e||[],t||[],n)}},43768:(e,t,r)=>{"use strict"
var n=r(45981),i=r(85587)
t.highlight=o,t.highlightAuto=function(e,t){var r,a,l,c,u=t||{},h=u.subset||n.listLanguages(),d=u.prefix,p=h.length,f=-1
if(null==d&&(d=s),"string"!=typeof e)throw i("Expected `string` for value, got `%s`",e)
for(a={relevance:0,language:null,value:[]},r={relevance:0,language:null,value:[]};++f<p;)c=h[f],n.getLanguage(c)&&((l=o(c,e,t)).language=c,l.relevance>a.relevance&&(a=l),l.relevance>r.relevance&&(a=r,r=l))
return a.language&&(r.secondBest=a),r},t.registerLanguage=function(e,t){n.registerLanguage(e,t)},t.listLanguages=function(){return n.listLanguages()},t.registerAlias=function(e,t){var r,i=e
for(r in t&&((i={})[e]=t),i)n.registerAliases(i[r],{languageName:r})},a.prototype.addText=function(e){var t,r,n=this.stack
""!==e&&((r=(t=n[n.length-1]).children[t.children.length-1])&&"text"===r.type?r.value+=e:t.children.push({type:"text",value:e}))},a.prototype.addKeyword=function(e,t){this.openNode(t),this.addText(e),this.closeNode()},a.prototype.addSublanguage=function(e,t){var r=this.stack,n=r[r.length-1],i=e.rootNode.children,s=t?{type:"element",tagName:"span",properties:{className:[t]},children:i}:i
n.children=n.children.concat(s)},a.prototype.openNode=function(e){var t=this.stack,r={type:"element",tagName:"span",properties:{className:[this.options.classPrefix+e]},children:[]}
t[t.length-1].children.push(r),t.push(r)},a.prototype.closeNode=function(){this.stack.pop()},a.prototype.closeAllNodes=l,a.prototype.finalize=l,a.prototype.toHTML=function(){return""}
var s="hljs-"
function o(e,t,r){var o,l=n.configure({}),c=(r||{}).prefix
if("string"!=typeof e)throw i("Expected `string` for name, got `%s`",e)
if(!n.getLanguage(e))throw i("Unknown language: `%s` is not registered",e)
if("string"!=typeof t)throw i("Expected `string` for value, got `%s`",t)
if(null==c&&(c=s),n.configure({__emitter:a,classPrefix:c}),o=n.highlight(t,{language:e,ignoreIllegals:!0}),n.configure(l||{}),o.errorRaised)throw o.errorRaised
return{relevance:o.relevance,language:o.language,value:o.emitter.rootNode.children}}function a(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function l(){}},92340:(e,t,r)=>{const n=r(6048)
function i(e){return"string"==typeof e?t=>t.element===e:e.constructor&&e.extend?t=>t instanceof e:e}class s{constructor(e){this.elements=e||[]}toValue(){return this.elements.map((e=>e.toValue()))}map(e,t){return this.elements.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const r=[]
return this.forEach((n=>{const i=e.bind(t)(n)
i&&r.push(i)})),r}filter(e,t){return e=i(e),new s(this.elements.filter(e,t))}reject(e,t){return e=i(e),new s(this.elements.filter(n(e),t))}find(e,t){return e=i(e),this.elements.find(e,t)}forEach(e,t){this.elements.forEach(e,t)}reduce(e,t){return this.elements.reduce(e,t)}includes(e){return this.elements.some((t=>t.equals(e)))}shift(){return this.elements.shift()}unshift(e){this.elements.unshift(this.refract(e))}push(e){return this.elements.push(this.refract(e)),this}add(e){this.push(e)}get(e){return this.elements[e]}getValue(e){const t=this.elements[e]
if(t)return t.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(s.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),e.exports=s},55973:e=>{class t{constructor(e,t){this.key=e,this.value=t}clone(){const e=new t
return this.key&&(e.key=this.key.clone()),this.value&&(e.value=this.value.clone()),e}}e.exports=t},3110:(e,t,r)=>{const n=r(5187),i=r(85015),s=r(98023),o=r(53812),a=r(23805),l=r(85105),c=r(86804)
class u{constructor(e){this.elementMap={},this.elementDetection=[],this.Element=c.Element,this.KeyValuePair=c.KeyValuePair,e&&e.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(e){return e.namespace&&e.namespace({base:this}),e.load&&e.load({base:this}),this}useDefault(){return this.register("null",c.NullElement).register("string",c.StringElement).register("number",c.NumberElement).register("boolean",c.BooleanElement).register("array",c.ArrayElement).register("object",c.ObjectElement).register("member",c.MemberElement).register("ref",c.RefElement).register("link",c.LinkElement),this.detect(n,c.NullElement,!1).detect(i,c.StringElement,!1).detect(s,c.NumberElement,!1).detect(o,c.BooleanElement,!1).detect(Array.isArray,c.ArrayElement,!1).detect(a,c.ObjectElement,!1),this}register(e,t){return this._elements=void 0,this.elementMap[e]=t,this}unregister(e){return this._elements=void 0,delete this.elementMap[e],this}detect(e,t,r){return void 0===r||r?this.elementDetection.unshift([e,t]):this.elementDetection.push([e,t]),this}toElement(e){if(e instanceof this.Element)return e
let t
for(let r=0;r<this.elementDetection.length;r+=1){const n=this.elementDetection[r][0],i=this.elementDetection[r][1]
if(n(e)){t=new i(e)
break}}return t}getElementClass(e){const t=this.elementMap[e]
return void 0===t?this.Element:t}fromRefract(e){return this.serialiser.deserialise(e)}toRefract(e){return this.serialiser.serialise(e)}get elements(){return void 0===this._elements&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((e=>{const t=e[0].toUpperCase()+e.substr(1)
this._elements[t]=this.elementMap[e]}))),this._elements}get serialiser(){return new l(this)}}l.prototype.Namespace=u,e.exports=u},10866:(e,t,r)=>{const n=r(6048),i=r(92340)
class s extends i{map(e,t){return this.elements.map((r=>e.bind(t)(r.value,r.key,r)))}filter(e,t){return new s(this.elements.filter((r=>e.bind(t)(r.value,r.key,r))))}reject(e,t){return this.filter(n(e.bind(t)))}forEach(e,t){return this.elements.forEach(((r,n)=>{e.bind(t)(r.value,r.key,r,n)}))}keys(){return this.map(((e,t)=>t.toValue()))}values(){return this.map((e=>e.toValue()))}}e.exports=s},86804:(e,t,r)=>{const n=r(10316),i=r(41067),s=r(71167),o=r(40239),a=r(12242),l=r(6233),c=r(87726),u=r(61045),h=r(86303),d=r(14540),p=r(92340),f=r(10866),m=r(55973)
function g(e){return e instanceof n?e:"string"==typeof e?new s(e):"number"==typeof e?new o(e):"boolean"==typeof e?new a(e):null===e?new i:Array.isArray(e)?new l(e.map(g)):"object"==typeof e?new u(e):e}n.prototype.ObjectElement=u,n.prototype.RefElement=d,n.prototype.MemberElement=c,n.prototype.refract=g,p.prototype.refract=g,e.exports={Element:n,NullElement:i,StringElement:s,NumberElement:o,BooleanElement:a,ArrayElement:l,MemberElement:c,ObjectElement:u,LinkElement:h,RefElement:d,refract:g,ArraySlice:p,ObjectSlice:f,KeyValuePair:m}},86303:(e,t,r)=>{const n=r(10316)
e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(e){this.attributes.set("relation",e)}get href(){return this.attributes.get("href")}set href(e){this.attributes.set("href",e)}}},14540:(e,t,r)=>{const n=r(10316)
e.exports=class extends n{constructor(e,t,r){super(e||[],t,r),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(e){this.attributes.set("path",e)}}},34035:(e,t,r)=>{const n=r(3110),i=r(86804)
t.g$=n,t.KeyValuePair=r(55973),t.G6=i.ArraySlice,t.ot=i.ObjectSlice,t.Hg=i.Element,t.Om=i.StringElement,t.kT=i.NumberElement,t.bd=i.BooleanElement,t.Os=i.NullElement,t.wE=i.ArrayElement,t.Sh=i.ObjectElement,t.Pr=i.MemberElement,t.sI=i.RefElement,t.Ft=i.LinkElement,t.e=i.refract,r(85105),r(75147)},6233:(e,t,r)=>{const n=r(6048),i=r(10316),s=r(92340)
class o extends i{constructor(e,t,r){super(e||[],t,r),this.element="array"}primitive(){return"array"}get(e){return this.content[e]}getValue(e){const t=this.get(e)
if(t)return t.toValue()}getIndex(e){return this.content[e]}set(e,t){return this.content[e]=this.refract(t),this}remove(e){const t=this.content.splice(e,1)
return t.length?t[0]:null}map(e,t){return this.content.map(e,t)}flatMap(e,t){return this.map(e,t).reduce(((e,t)=>e.concat(t)),[])}compactMap(e,t){const r=[]
return this.forEach((n=>{const i=e.bind(t)(n)
i&&r.push(i)})),r}filter(e,t){return new s(this.content.filter(e,t))}reject(e,t){return this.filter(n(e),t)}reduce(e,t){let r,n
void 0!==t?(r=0,n=this.refract(t)):(r=1,n="object"===this.primitive()?this.first.value:this.first)
for(let i=r;i<this.length;i+=1){const t=this.content[i]
n="object"===this.primitive()?this.refract(e(n,t.value,t.key,t,this)):this.refract(e(n,t,i,this))}return n}forEach(e,t){this.content.forEach(((r,n)=>{e.bind(t)(r,this.refract(n))}))}shift(){return this.content.shift()}unshift(e){this.content.unshift(this.refract(e))}push(e){return this.content.push(this.refract(e)),this}add(e){this.push(e)}findElements(e,t){const r=t||{},n=!!r.recursive,i=void 0===r.results?[]:r.results
return this.forEach(((t,r,s)=>{n&&void 0!==t.findElements&&t.findElements(e,{results:i,recursive:n}),e(t,r,s)&&i.push(t)})),i}find(e){return new s(this.findElements(e,{recursive:!0}))}findByElement(e){return this.find((t=>t.element===e))}findByClass(e){return this.find((t=>t.classes.includes(e)))}getById(e){return this.find((t=>t.id.toValue()===e)).first}includes(e){return this.content.some((t=>t.equals(e)))}contains(e){return this.includes(e)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(e){return new this.constructor(this.content.concat(e.content))}"fantasy-land/concat"(e){return this.concat(e)}"fantasy-land/map"(e){return new this.constructor(this.map(e))}"fantasy-land/chain"(e){return this.map((t=>e(t)),this).reduce(((e,t)=>e.concat(t)),this.empty())}"fantasy-land/filter"(e){return new this.constructor(this.content.filter(e))}"fantasy-land/reduce"(e,t){return this.content.reduce(e,t)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}o.empty=function(){return new this},o["fantasy-land/empty"]=o.empty,"undefined"!=typeof Symbol&&(o.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),e.exports=o},12242:(e,t,r)=>{const n=r(10316)
e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="boolean"}primitive(){return"boolean"}}},10316:(e,t,r)=>{const n=r(2404),i=r(55973),s=r(92340)
class o{constructor(e,t,r){t&&(this.meta=t),r&&(this.attributes=r),this.content=e}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((e=>{e.parent=this,e.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const e=new this.constructor
return e.element=this.element,this.meta.length&&(e._meta=this.meta.clone()),this.attributes.length&&(e._attributes=this.attributes.clone()),this.content?this.content.clone?e.content=this.content.clone():Array.isArray(this.content)?e.content=this.content.map((e=>e.clone())):e.content=this.content:e.content=this.content,e}toValue(){return this.content instanceof o?this.content.toValue():this.content instanceof i?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((e=>e.toValue()),this):this.content}toRef(e){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID")
const t=new this.RefElement(this.id.toValue())
return e&&(t.path=e),t}findRecursive(...e){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`")
const t=e.pop()
let r=new s
const n=(e,t)=>(e.push(t),e),o=(e,r)=>{r.element===t&&e.push(r)
const s=r.findRecursive(t)
return s&&s.reduce(n,e),r.content instanceof i&&(r.content.key&&o(e,r.content.key),r.content.value&&o(e,r.content.value)),e}
return this.content&&(this.content.element&&o(r,this.content),Array.isArray(this.content)&&this.content.reduce(o,r)),e.isEmpty||(r=r.filter((t=>{let r=t.parents.map((e=>e.element))
for(const n in e){const t=e[n],i=r.indexOf(t)
if(-1===i)return!1
r=r.splice(0,i)}return!0}))),r}set(e){return this.content=e,this}equals(e){return n(this.toValue(),e)}getMetaProperty(e,t){if(!this.meta.hasKey(e)){if(this.isFrozen){const e=this.refract(t)
return e.freeze(),e}this.meta.set(e,t)}return this.meta.get(e)}setMetaProperty(e,t){this.meta.set(e,t)}get element(){return this._storedElement||"element"}set element(e){this._storedElement=e}get content(){return this._content}set content(e){if(e instanceof o)this._content=e
else if(e instanceof s)this.content=e.elements
else if("string"==typeof e||"number"==typeof e||"boolean"==typeof e||"null"===e||null==e)this._content=e
else if(e instanceof i)this._content=e
else if(Array.isArray(e))this._content=e.map(this.refract)
else{if("object"!=typeof e)throw new Error("Cannot set content to given value")
this._content=Object.keys(e).map((t=>new this.MemberElement(t,e[t])))}}get meta(){if(!this._meta){if(this.isFrozen){const e=new this.ObjectElement
return e.freeze(),e}this._meta=new this.ObjectElement}return this._meta}set meta(e){e instanceof this.ObjectElement?this._meta=e:this.meta.set(e||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const e=new this.ObjectElement
return e.freeze(),e}this._attributes=new this.ObjectElement}return this._attributes}set attributes(e){e instanceof this.ObjectElement?this._attributes=e:this.attributes.set(e||{})}get id(){return this.getMetaProperty("id","")}set id(e){this.setMetaProperty("id",e)}get classes(){return this.getMetaProperty("classes",[])}set classes(e){this.setMetaProperty("classes",e)}get title(){return this.getMetaProperty("title","")}set title(e){this.setMetaProperty("title",e)}get description(){return this.getMetaProperty("description","")}set description(e){this.setMetaProperty("description",e)}get links(){return this.getMetaProperty("links",[])}set links(e){this.setMetaProperty("links",e)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:e}=this
const t=new s
for(;e;)t.push(e),e=e.parent
return t}get children(){if(Array.isArray(this.content))return new s(this.content)
if(this.content instanceof i){const e=new s([this.content.key])
return this.content.value&&e.push(this.content.value),e}return this.content instanceof o?new s([this.content]):new s}get recursiveChildren(){const e=new s
return this.children.forEach((t=>{e.push(t),t.recursiveChildren.forEach((t=>{e.push(t)}))})),e}}e.exports=o},87726:(e,t,r)=>{const n=r(55973),i=r(10316)
e.exports=class extends i{constructor(e,t,r,i){super(new n,r,i),this.element="member",this.key=e,this.value=t}get key(){return this.content.key}set key(e){this.content.key=this.refract(e)}get value(){return this.content.value}set value(e){this.content.value=this.refract(e)}}},41067:(e,t,r)=>{const n=r(10316)
e.exports=class extends n{constructor(e,t,r){super(e||null,t,r),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},40239:(e,t,r)=>{const n=r(10316)
e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="number"}primitive(){return"number"}}},61045:(e,t,r)=>{const n=r(6048),i=r(23805),s=r(6233),o=r(87726),a=r(10866)
e.exports=class extends s{constructor(e,t,r){super(e||[],t,r),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((e,t)=>(e[t.key.toValue()]=t.value?t.value.toValue():void 0,e)),{})}get(e){const t=this.getMember(e)
if(t)return t.value}getMember(e){if(void 0!==e)return this.content.find((t=>t.key.toValue()===e))}remove(e){let t=null
return this.content=this.content.filter((r=>r.key.toValue()!==e||(t=r,!1))),t}getKey(e){const t=this.getMember(e)
if(t)return t.key}set(e,t){if(i(e))return Object.keys(e).forEach((t=>{this.set(t,e[t])})),this
const r=e,n=this.getMember(r)
return n?n.value=t:this.content.push(new o(r,t)),this}keys(){return this.content.map((e=>e.key.toValue()))}values(){return this.content.map((e=>e.value.toValue()))}hasKey(e){return this.content.some((t=>t.key.equals(e)))}items(){return this.content.map((e=>[e.key.toValue(),e.value.toValue()]))}map(e,t){return this.content.map((r=>e.bind(t)(r.value,r.key,r)))}compactMap(e,t){const r=[]
return this.forEach(((n,i,s)=>{const o=e.bind(t)(n,i,s)
o&&r.push(o)})),r}filter(e,t){return new a(this.content).filter(e,t)}reject(e,t){return this.filter(n(e),t)}forEach(e,t){return this.content.forEach((r=>e.bind(t)(r.value,r.key,r)))}}},71167:(e,t,r)=>{const n=r(10316)
e.exports=class extends n{constructor(e,t,r){super(e,t,r),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},75147:(e,t,r)=>{const n=r(85105)
e.exports=class extends n{serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`)
let t
e._attributes&&e.attributes.get("variable")&&(t=e.attributes.get("variable"))
const r={element:e.element}
e._meta&&e._meta.length>0&&(r.meta=this.serialiseObject(e.meta))
const n="enum"===e.element||-1!==e.attributes.keys().indexOf("enumerations")
if(n){const t=this.enumSerialiseAttributes(e)
t&&(r.attributes=t)}else if(e._attributes&&e._attributes.length>0){let{attributes:n}=e
n.get("metadata")&&(n=n.clone(),n.set("meta",n.get("metadata")),n.remove("metadata")),"member"===e.element&&t&&(n=n.clone(),n.remove("variable")),n.length>0&&(r.attributes=this.serialiseObject(n))}if(n)r.content=this.enumSerialiseContent(e,r)
else if(this[`${e.element}SerialiseContent`])r.content=this[`${e.element}SerialiseContent`](e,r)
else if(void 0!==e.content){let n
t&&e.content.key?(n=e.content.clone(),n.key.attributes.set("variable",t),n=this.serialiseContent(n)):n=this.serialiseContent(e.content),this.shouldSerialiseContent(e,n)&&(r.content=n)}else this.shouldSerialiseContent(e,e.content)&&e instanceof this.namespace.elements.Array&&(r.content=[])
return r}shouldSerialiseContent(e,t){return"parseResult"===e.element||"httpRequest"===e.element||"httpResponse"===e.element||"category"===e.element||"link"===e.element||void 0!==t&&(!Array.isArray(t)||0!==t.length)}refSerialiseContent(e,t){return delete t.attributes,{href:e.toValue(),path:e.path.toValue()}}sourceMapSerialiseContent(e){return e.toValue()}dataStructureSerialiseContent(e){return[this.serialiseContent(e.content)]}enumSerialiseAttributes(e){const t=e.attributes.clone(),r=t.remove("enumerations")||new this.namespace.elements.Array([]),n=t.get("default")
let i=t.get("samples")||new this.namespace.elements.Array([])
if(n&&n.content&&(n.content.attributes&&n.content.attributes.remove("typeAttributes"),t.set("default",new this.namespace.elements.Array([n.content]))),i.forEach((e=>{e.content&&e.content.element&&e.content.attributes.remove("typeAttributes")})),e.content&&0!==r.length&&i.unshift(e.content),i=i.map((e=>e instanceof this.namespace.elements.Array?[e]:new this.namespace.elements.Array([e.content]))),i.length&&t.set("samples",i),t.length>0)return this.serialiseObject(t)}enumSerialiseContent(e){if(e._attributes){const t=e.attributes.get("enumerations")
if(t&&t.length>0)return t.content.map((e=>{const t=e.clone()
return t.attributes.remove("typeAttributes"),this.serialise(t)}))}if(e.content){const t=e.content.clone()
return t.attributes.remove("typeAttributes"),[this.serialise(t)]}return[]}deserialise(e){if("string"==typeof e)return new this.namespace.elements.String(e)
if("number"==typeof e)return new this.namespace.elements.Number(e)
if("boolean"==typeof e)return new this.namespace.elements.Boolean(e)
if(null===e)return new this.namespace.elements.Null
if(Array.isArray(e))return new this.namespace.elements.Array(e.map(this.deserialise,this))
const t=this.namespace.getElementClass(e.element),r=new t
r.element!==e.element&&(r.element=e.element),e.meta&&this.deserialiseObject(e.meta,r.meta),e.attributes&&this.deserialiseObject(e.attributes,r.attributes)
const n=this.deserialiseContent(e.content)
if(void 0===n&&null!==r.content||(r.content=n),"enum"===r.element){r.content&&r.attributes.set("enumerations",r.content)
let e=r.attributes.get("samples")
if(r.attributes.remove("samples"),e){const n=e
e=new this.namespace.elements.Array,n.forEach((n=>{n.forEach((n=>{const i=new t(n)
i.element=r.element,e.push(i)}))}))
const i=e.shift()
r.content=i?i.content:void 0,r.attributes.set("samples",e)}else r.content=void 0
let n=r.attributes.get("default")
if(n&&n.length>0){n=n.get(0)
const e=new t(n)
e.element=r.element,r.attributes.set("default",e)}}else if("dataStructure"===r.element&&Array.isArray(r.content))[r.content]=r.content
else if("category"===r.element){const e=r.attributes.get("meta")
e&&(r.attributes.set("metadata",e),r.attributes.remove("meta"))}else"member"===r.element&&r.key&&r.key._attributes&&r.key._attributes.getValue("variable")&&(r.attributes.set("variable",r.key.attributes.get("variable")),r.key.attributes.remove("variable"))
return r}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e)
if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)}
return e.value&&(t.value=this.serialise(e.value)),t}return e&&e.map?e.map(this.serialise,this):e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e)
if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key))
return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}shouldRefract(e){return!!(e._attributes&&e.attributes.keys().length||e._meta&&e.meta.keys().length)||"enum"!==e.element&&(e.element!==e.primitive()||"member"===e.element)}convertKeyToRefract(e,t){return this.shouldRefract(t)?this.serialise(t):"enum"===t.element?this.serialiseEnum(t):"array"===t.element?t.map((t=>this.shouldRefract(t)||"default"===e?this.serialise(t):"array"===t.element||"object"===t.element||"enum"===t.element?t.children.map((e=>this.serialise(e))):t.toValue())):"object"===t.element?(t.content||[]).map(this.serialise,this):t.toValue()}serialiseEnum(e){return e.children.map((e=>this.serialise(e)))}serialiseObject(e){const t={}
return e.forEach(((e,r)=>{if(e){const n=r.toValue()
t[n]=this.convertKeyToRefract(n,e)}})),t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},85105:e=>{e.exports=class{constructor(e){this.namespace=e||new this.Namespace}serialise(e){if(!(e instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${e}\` is not an Element instance`)
const t={element:e.element}
e._meta&&e._meta.length>0&&(t.meta=this.serialiseObject(e.meta)),e._attributes&&e._attributes.length>0&&(t.attributes=this.serialiseObject(e.attributes))
const r=this.serialiseContent(e.content)
return void 0!==r&&(t.content=r),t}deserialise(e){if(!e.element)throw new Error("Given value is not an object containing an element name")
const t=new(this.namespace.getElementClass(e.element))
t.element!==e.element&&(t.element=e.element),e.meta&&this.deserialiseObject(e.meta,t.meta),e.attributes&&this.deserialiseObject(e.attributes,t.attributes)
const r=this.deserialiseContent(e.content)
return void 0===r&&null!==t.content||(t.content=r),t}serialiseContent(e){if(e instanceof this.namespace.elements.Element)return this.serialise(e)
if(e instanceof this.namespace.KeyValuePair){const t={key:this.serialise(e.key)}
return e.value&&(t.value=this.serialise(e.value)),t}if(e&&e.map){if(0===e.length)return
return e.map(this.serialise,this)}return e}deserialiseContent(e){if(e){if(e.element)return this.deserialise(e)
if(e.key){const t=new this.namespace.KeyValuePair(this.deserialise(e.key))
return e.value&&(t.value=this.deserialise(e.value)),t}if(e.map)return e.map(this.deserialise,this)}return e}serialiseObject(e){const t={}
if(e.forEach(((e,r)=>{e&&(t[r.toValue()]=this.serialise(e))})),0!==Object.keys(t).length)return t}deserialiseObject(e,t){Object.keys(e).forEach((r=>{t.set(r,this.deserialise(e[r]))}))}}},58859:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,s=n&&i&&"function"==typeof i.get?i.get:null,o=n&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&l&&"function"==typeof l.get?l.get:null,u=a&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,S=String.prototype.toLowerCase,k=RegExp.prototype.test,x=Array.prototype.concat,E=Array.prototype.join,N=Array.prototype.slice,_=Math.floor,C="function"==typeof BigInt?BigInt.prototype.valueOf:null,A=Object.getOwnPropertySymbols,O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"==typeof Symbol&&"object"==typeof Symbol.iterator,T="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,j=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null)
function D(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||k.call(/e/,t))return t
var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g
if("number"==typeof e){var n=e<0?-_(-e):_(e)
if(n!==e){var i=String(n),s=v.call(t,i.length+1)
return b.call(i,r,"$&_")+"."+b.call(b.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var M=r(42634),B=M.custom,R=$(B)?B:null
function L(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'"
return n+e+n}function z(e){return b.call(String(e),/"/g,"&quot;")}function F(e){return!("[object Array]"!==q(e)||T&&"object"==typeof e&&T in e)}function V(e){return!("[object RegExp]"!==q(e)||T&&"object"==typeof e&&T in e)}function $(e){if(P)return e&&"object"==typeof e&&e instanceof Symbol
if("symbol"==typeof e)return!0
if(!e||"object"!=typeof e||!O)return!1
try{return O.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,i,a){var l=n||{}
if(H(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"')
if(H(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`')
var m=!H(l,"customInspect")||l.customInspect
if("boolean"!=typeof m&&"symbol"!==m)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`")
if(H(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`')
if(H(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`')
var w=l.numericSeparator
if(void 0===t)return"undefined"
if(null===t)return"null"
if("boolean"==typeof t)return t?"true":"false"
if("string"==typeof t)return K(t,l)
if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0"
var k=String(t)
return w?D(t,k):k}if("bigint"==typeof t){var _=String(t)+"n"
return w?D(t,_):_}var A=void 0===l.depth?5:l.depth
if(void 0===i&&(i=0),i>=A&&A>0&&"object"==typeof t)return F(t)?"[Array]":"[Object]"
var B=function(e,t){var r
if("\t"===e.indent)r="\t"
else{if(!("number"==typeof e.indent&&e.indent>0))return null
r=E.call(Array(e.indent+1)," ")}return{base:r,prev:E.call(Array(t+1),r)}}(l,i)
if(void 0===a)a=[]
else if(W(a,t)>=0)return"[Circular]"
function U(t,r,n){if(r&&(a=N.call(a)).push(r),n){var s={depth:l.depth}
return H(l,"quoteStyle")&&(s.quoteStyle=l.quoteStyle),e(t,s,i+1,a)}return e(t,l,i+1,a)}if("function"==typeof t&&!V(t)){var Z=function(e){if(e.name)return e.name
var t=y.call(g.call(e),/^function\s*([\w$]+)/)
return t?t[1]:null}(t),ee=Q(t,U)
return"[Function"+(Z?": "+Z:" (anonymous)")+"]"+(ee.length>0?" { "+E.call(ee,", ")+" }":"")}if($(t)){var te=P?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t)
return"object"!=typeof t||P?te:J(te)}if(function(e){return!(!e||"object"!=typeof e)&&("undefined"!=typeof HTMLElement&&e instanceof HTMLElement||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)}(t)){for(var re="<"+S.call(String(t.nodeName)),ne=t.attributes||[],ie=0;ie<ne.length;ie++)re+=" "+ne[ie].name+"="+L(z(ne[ie].value),"double",l)
return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+"</"+S.call(String(t.nodeName))+">"}if(F(t)){if(0===t.length)return"[]"
var se=Q(t,U)
return B&&!function(e){for(var t=0;t<e.length;t++)if(W(e[t],"\n")>=0)return!1
return!0}(se)?"["+X(se,B)+"]":"[ "+E.call(se,", ")+" ]"}if(function(e){return!("[object Error]"!==q(e)||T&&"object"==typeof e&&T in e)}(t)){var oe=Q(t,U)
return"cause"in Error.prototype||!("cause"in t)||I.call(t,"cause")?0===oe.length?"["+String(t)+"]":"{ ["+String(t)+"] "+E.call(oe,", ")+" }":"{ ["+String(t)+"] "+E.call(x.call("[cause]: "+U(t.cause),oe),", ")+" }"}if("object"==typeof t&&m){if(R&&"function"==typeof t[R]&&M)return M(t,{depth:A-i})
if("symbol"!==m&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!s||!e||"object"!=typeof e)return!1
try{s.call(e)
try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ae=[]
return o&&o.call(t,(function(e,r){ae.push(U(r,t,!0)+" => "+U(e,t))})),Y("Map",s.call(t),ae,B)}if(function(e){if(!c||!e||"object"!=typeof e)return!1
try{c.call(e)
try{s.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[]
return u&&u.call(t,(function(e){le.push(U(e,t))})),Y("Set",c.call(t),le,B)}if(function(e){if(!h||!e||"object"!=typeof e)return!1
try{h.call(e,h)
try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return G("WeakMap")
if(function(e){if(!d||!e||"object"!=typeof e)return!1
try{d.call(e,d)
try{h.call(e,h)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return G("WeakSet")
if(function(e){if(!p||!e||"object"!=typeof e)return!1
try{return p.call(e),!0}catch(e){}return!1}(t))return G("WeakRef")
if(function(e){return!("[object Number]"!==q(e)||T&&"object"==typeof e&&T in e)}(t))return J(U(Number(t)))
if(function(e){if(!e||"object"!=typeof e||!C)return!1
try{return C.call(e),!0}catch(e){}return!1}(t))return J(U(C.call(t)))
if(function(e){return!("[object Boolean]"!==q(e)||T&&"object"==typeof e&&T in e)}(t))return J(f.call(t))
if(function(e){return!("[object String]"!==q(e)||T&&"object"==typeof e&&T in e)}(t))return J(U(String(t)))
if("undefined"!=typeof window&&t===window)return"{ [object Window] }"
if(t===r.g)return"{ [object globalThis] }"
if(!function(e){return!("[object Date]"!==q(e)||T&&"object"==typeof e&&T in e)}(t)&&!V(t)){var ce=Q(t,U),ue=j?j(t)===Object.prototype:t instanceof Object||t.constructor===Object,he=t instanceof Object?"":"null prototype",de=!ue&&T&&Object(t)===t&&T in t?v.call(q(t),8,-1):he?"Object":"",pe=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||he?"["+E.call(x.call([],de||[],he||[]),": ")+"] ":"")
return 0===ce.length?pe+"{}":B?pe+"{"+X(ce,B)+"}":pe+"{ "+E.call(ce,", ")+" }"}return String(t)}
var U=Object.prototype.hasOwnProperty||function(e){return e in this}
function H(e,t){return U.call(e,t)}function q(e){return m.call(e)}function W(e,t){if(e.indexOf)return e.indexOf(t)
for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r
return-1}function K(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"")
return K(v.call(e,0,t.maxStringLength),t)+n}return L(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Z),"single",t)}function Z(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":"")+w.call(t.toString(16))}function J(e){return"Object("+e+")"}function G(e){return e+" { ? }"}function Y(e,t,r,n){return e+" ("+t+") {"+(n?X(r,n):E.call(r,", "))+"}"}function X(e,t){if(0===e.length)return""
var r="\n"+t.prev+t.base
return r+E.call(e,","+r)+"\n"+t.prev}function Q(e,t){var r=F(e),n=[]
if(r){n.length=e.length
for(var i=0;i<e.length;i++)n[i]=H(e,i)?t(e[i],e):""}var s,o="function"==typeof A?A(e):[]
if(P){s={}
for(var a=0;a<o.length;a++)s["$"+o[a]]=o[a]}for(var l in e)H(e,l)&&(r&&String(Number(l))===l&&l<e.length||P&&s["$"+l]instanceof Symbol||(k.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))))
if("function"==typeof A)for(var c=0;c<o.length;c++)I.call(e,o[c])&&n.push("["+t(o[c])+"]: "+t(e[o[c]],e))
return n}},65606:e=>{var t,r,n=e.exports={}
function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(t===setTimeout)return setTimeout(e,0)
if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0)
try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}()
var a,l=[],c=!1,u=-1
function h(){c&&a&&(c=!1,a.length?l=a.concat(l):u=-1,l.length&&d())}function d(){if(!c){var e=o(h)
c=!0
for(var t=l.length;t;){for(a=l,l=[];++u<t;)a&&a[u].run()
u=-1,t=l.length}a=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e)
if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e)
try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}n.nextTick=function(e){var t=new Array(arguments.length-1)
if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r]
l.push(new p(e,t)),1!==l.length||c||o(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=f,n.addListener=f,n.once=f,n.off=f,n.removeListener=f,n.removeAllListeners=f,n.emit=f,n.prependListener=f,n.prependOnceListener=f,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},2694:(e,t,r)=>{"use strict"
var n=r(6925)
function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,s,o){if(o!==n){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")
throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e
var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:i}
return r.PropTypes=r,r}},5556:(e,t,r)=>{e.exports=r(2694)()},6925:e=>{"use strict"
e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},74765:e=>{"use strict"
var t=String.prototype.replace,r=/%20/g,n="RFC3986"
e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},55373:(e,t,r)=>{"use strict"
var n=r(98636),i=r(62642),s=r(74765)
e.exports={formats:s,parse:i,stringify:n}},62642:(e,t,r)=>{"use strict"
var n=r(37720),i=Object.prototype.hasOwnProperty,s=Array.isArray,o={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,r,n){if(e){var s=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,a=r.depth>0&&/(\[[^[\]]*])/.exec(s),c=a?s.slice(0,a.index):s,u=[]
if(c){if(!r.plainObjects&&i.call(Object.prototype,c)&&!r.allowPrototypes)return
u.push(c)}for(var h=0;r.depth>0&&null!==(a=o.exec(s))&&h<r.depth;){if(h+=1,!r.plainObjects&&i.call(Object.prototype,a[1].slice(1,-1))&&!r.allowPrototypes)return
u.push(a[1])}return a&&u.push("["+s.slice(a.index)+"]"),function(e,t,r,n){for(var i=n?t:l(t,r),s=e.length-1;s>=0;--s){var o,a=e[s]
if("[]"===a&&r.parseArrays)o=[].concat(i)
else{o=r.plainObjects?Object.create(null):{}
var c="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,u=parseInt(c,10)
r.parseArrays||""!==c?!isNaN(u)&&a!==c&&String(u)===c&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(o=[])[u]=i:"__proto__"!==c&&(o[c]=i):o={0:i}}i=o}return i}(u,t,r,n)}}
e.exports=function(e,t){var r=function(e){if(!e)return o
if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.")
if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")
var t=void 0===e.charset?o.charset:e.charset
return{allowDots:void 0===e.allowDots?o.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:o.comma,decoder:"function"==typeof e.decoder?e.decoder:o.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:o.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling}}(t)
if(""===e||null==e)return r.plainObjects?Object.create(null):{}
for(var u="string"==typeof e?function(e,t){var r,c={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,h=t.parameterLimit===1/0?void 0:t.parameterLimit,d=u.split(t.delimiter,h),p=-1,f=t.charset
if(t.charsetSentinel)for(r=0;r<d.length;++r)0===d[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[r]?f="utf-8":"utf8=%26%2310003%3B"===d[r]&&(f="iso-8859-1"),p=r,r=d.length)
for(r=0;r<d.length;++r)if(r!==p){var m,g,y=d[r],v=y.indexOf("]="),b=-1===v?y.indexOf("="):v+1;-1===b?(m=t.decoder(y,o.decoder,f,"key"),g=t.strictNullHandling?null:""):(m=t.decoder(y.slice(0,b),o.decoder,f,"key"),g=n.maybeMap(l(y.slice(b+1),t),(function(e){return t.decoder(e,o.decoder,f,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===f&&(g=a(g)),y.indexOf("[]=")>-1&&(g=s(g)?[g]:g),i.call(c,m)?c[m]=n.combine(c[m],g):c[m]=g}return c}(e,r):e,h=r.plainObjects?Object.create(null):{},d=Object.keys(u),p=0;p<d.length;++p){var f=d[p],m=c(f,u[f],r,"string"==typeof e)
h=n.merge(h,m,r)}return!0===r.allowSparse?h:n.compact(h)}},98636:(e,t,r)=>{"use strict"
var n=r(920),i=r(37720),s=r(74765),o=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=String.prototype.split,u=Array.prototype.push,h=function(e,t){u.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,p=s.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:p,formatter:s.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},m={},g=function e(t,r,s,o,a,u,d,p,g,y,v,b,w,S,k,x){for(var E=t,N=x,_=0,C=!1;void 0!==(N=N.get(m))&&!C;){var A=N.get(t)
if(_+=1,void 0!==A){if(A===_)throw new RangeError("Cyclic object value")
C=!0}void 0===N.get(m)&&(_=0)}if("function"==typeof p?E=p(r,E):E instanceof Date?E=v(E):"comma"===s&&l(E)&&(E=i.maybeMap(E,(function(e){return e instanceof Date?v(e):e}))),null===E){if(a)return d&&!S?d(r,f.encoder,k,"key",b):r
E=""}if(function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||"symbol"==typeof e||"bigint"==typeof e}(E)||i.isBuffer(E)){if(d){var O=S?r:d(r,f.encoder,k,"key",b)
if("comma"===s&&S){for(var P=c.call(String(E),","),T="",I=0;I<P.length;++I)T+=(0===I?"":",")+w(d(P[I],f.encoder,k,"value",b))
return[w(O)+(o&&l(E)&&1===P.length?"[]":"")+"="+T]}return[w(O)+"="+w(d(E,f.encoder,k,"value",b))]}return[w(r)+"="+w(String(E))]}var j,D=[]
if(void 0===E)return D
if("comma"===s&&l(E))j=[{value:E.length>0?E.join(",")||null:void 0}]
else if(l(p))j=p
else{var M=Object.keys(E)
j=g?M.sort(g):M}for(var B=o&&l(E)&&1===E.length?r+"[]":r,R=0;R<j.length;++R){var L=j[R],z="object"==typeof L&&void 0!==L.value?L.value:E[L]
if(!u||null!==z){var F=l(E)?"function"==typeof s?s(B,L):B:B+(y?"."+L:"["+L+"]")
x.set(t,_)
var V=n()
V.set(m,x),h(D,e(z,F,s,o,a,u,d,p,g,y,v,b,w,S,k,V))}}return D}
e.exports=function(e,t){var r,i=e,c=function(e){if(!e)return f
if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.")
var t=e.charset||f.charset
if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")
var r=s.default
if(void 0!==e.format){if(!o.call(s.formatters,e.format))throw new TypeError("Unknown format option provided.")
r=e.format}var n=s.formatters[r],i=f.filter
return("function"==typeof e.filter||l(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:void 0===e.allowDots?f.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:i,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t)
"function"==typeof c.filter?i=(0,c.filter)("",i):l(c.filter)&&(r=c.filter)
var u,d=[]
if("object"!=typeof i||null===i)return""
u=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices"
var p=a[u]
if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent")
var m="comma"===p&&t&&t.commaRoundTrip
r||(r=Object.keys(i)),c.sort&&r.sort(c.sort)
for(var y=n(),v=0;v<r.length;++v){var b=r[v]
c.skipNulls&&null===i[b]||h(d,g(i[b],b,p,m,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,y))}var w=d.join(c.delimiter),S=!0===c.addQueryPrefix?"?":""
return c.charsetSentinel&&("iso-8859-1"===c.charset?S+="utf8=%26%2310003%3B&":S+="utf8=%E2%9C%93&"),w.length>0?S+w:""}},37720:(e,t,r)=>{"use strict"
var n=r(74765),i=Object.prototype.hasOwnProperty,s=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase())
return e}(),a=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n])
return r}
e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var i=t[n],o=i.obj[i.prop],a=Object.keys(o),l=0;l<a.length;++l){var c=a[l],u=o[c]
"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:o,prop:c}),r.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop]
if(s(r)){for(var n=[],i=0;i<r.length;++i)void 0!==r[i]&&n.push(r[i])
t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ")
if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape)
try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,i,s){if(0===e.length)return e
var a=e
if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===r)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}))
for(var l="",c=0;c<a.length;++c){var u=a.charCodeAt(c)
45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||s===n.RFC1738&&(40===u||41===u)?l+=a.charAt(c):u<128?l+=o[u]:u<2048?l+=o[192|u>>6]+o[128|63&u]:u<55296||u>=57344?l+=o[224|u>>12]+o[128|u>>6&63]+o[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&a.charCodeAt(c)),l+=o[240|u>>18]+o[128|u>>12&63]+o[128|u>>6&63]+o[128|63&u])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(s(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]))
return r}return t(e)},merge:function e(t,r,n){if(!r)return t
if("object"!=typeof r){if(s(t))t.push(r)
else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!i.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r)
var o=t
return s(t)&&!s(r)&&(o=a(t,n)),s(t)&&s(r)?(r.forEach((function(r,s){if(i.call(t,s)){var o=t[s]
o&&"object"==typeof o&&r&&"object"==typeof r?t[s]=e(o,r,n):t.push(r)}else t[s]=r})),t):Object.keys(r).reduce((function(t,s){var o=r[s]
return i.call(t,s)?t[s]=e(t[s],o,n):t[s]=o,t}),o)}}},73992:(e,t)=>{"use strict"
var r=Object.prototype.hasOwnProperty
function n(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function i(e){try{return encodeURIComponent(e)}catch(e){return null}}t.stringify=function(e,t){t=t||""
var n,s,o=[]
for(s in"string"!=typeof t&&(t="?"),e)if(r.call(e,s)){if((n=e[s])||null!=n&&!isNaN(n)||(n=""),s=i(s),n=i(n),null===s||null===n)continue
o.push(s+"="+n)}return o.length?t+o.join("&"):""},t.parse=function(e){for(var t,r=/([^=?#&]+)=?([^&]*)/g,i={};t=r.exec(e);){var s=n(t[1]),o=n(t[2])
null===s||null===o||s in i||(i[s]=o)}return i}},41859:(e,t,r)=>{const n=r(27096),i=r(78004),s=n.types
e.exports=class e{constructor(e,t){if(this._setDefaults(e),e instanceof RegExp)this.ignoreCase=e.ignoreCase,this.multiline=e.multiline,e=e.source
else{if("string"!=typeof e)throw new Error("Expected a regexp or string")
this.ignoreCase=t&&-1!==t.indexOf("i"),this.multiline=t&&-1!==t.indexOf("m")}this.tokens=n(e)}_setDefaults(t){this.max=null!=t.max?t.max:null!=e.prototype.max?e.prototype.max:100,this.defaultRange=t.defaultRange?t.defaultRange:this.defaultRange.clone(),t.randInt&&(this.randInt=t.randInt)}gen(){return this._gen(this.tokens,[])}_gen(e,t){var r,n,i,o,a
switch(e.type){case s.ROOT:case s.GROUP:if(e.followedBy||e.notFollowedBy)return""
for(e.remember&&void 0===e.groupNumber&&(e.groupNumber=t.push(null)-1),n="",o=0,a=(r=e.options?this._randSelect(e.options):e.stack).length;o<a;o++)n+=this._gen(r[o],t)
return e.remember&&(t[e.groupNumber]=n),n
case s.POSITION:return""
case s.SET:var l=this._expand(e)
return l.length?String.fromCharCode(this._randSelect(l)):""
case s.REPETITION:for(i=this.randInt(e.min,e.max===1/0?e.min+this.max:e.max),n="",o=0;o<i;o++)n+=this._gen(e.value,t)
return n
case s.REFERENCE:return t[e.value-1]||""
case s.CHAR:var c=this.ignoreCase&&this._randBool()?this._toOtherCase(e.value):e.value
return String.fromCharCode(c)}}_toOtherCase(e){return e+(97<=e&&e<=122?-32:65<=e&&e<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(e){return e instanceof i?e.index(this.randInt(0,e.length-1)):e[this.randInt(0,e.length-1)]}_expand(e){if(e.type===n.types.CHAR)return new i(e.value)
if(e.type===n.types.RANGE)return new i(e.from,e.to)
{let t=new i
for(let r=0;r<e.set.length;r++){let n=this._expand(e.set[r])
if(t.add(n),this.ignoreCase)for(let e=0;e<n.length;e++){let r=n.index(e),i=this._toOtherCase(r)
r!==i&&t.add(i)}}return e.not?this.defaultRange.clone().subtract(t):this.defaultRange.clone().intersect(t)}}randInt(e,t){return e+Math.floor(Math.random()*(1+t-e))}get defaultRange(){return this._range=this._range||new i(32,126)}set defaultRange(e){this._range=e}static randexp(t,r){var n
return"string"==typeof t&&(t=new RegExp(t,r)),void 0===t._randexp?(n=new e(t,r),t._randexp=n):(n=t._randexp)._setDefaults(t),n.gen()}static sugar(){RegExp.prototype.gen=function(){return e.randexp(this)}}}},53209:(e,t,r)=>{"use strict"
var n=r(65606),i=65536,s=r(92861).Buffer,o=r.g.crypto||r.g.msCrypto
o&&o.getRandomValues?e.exports=function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes")
var r=s.allocUnsafe(e)
if(e>0)if(e>i)for(var a=0;a<e;a+=i)o.getRandomValues(r.slice(a,a+i))
else o.getRandomValues(r)
return"function"==typeof t?n.nextTick((function(){t(null,r)})):r}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},25264:(e,t,r)=>{"use strict"
function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0
var i=a(r(96540)),s=a(r(17965)),o=["text","onCopy","options","children"]
function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e)
if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{}
t%2?l(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(r,e)
var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
if(Reflect.construct.sham)return!1
if("function"==typeof Proxy)return!0
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
return function(){var r,i=d(e)
if(t){var s=d(this).constructor
r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments)
return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
return h(e)}(this,r)}}(r)
function r(){var e
!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r)
for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a]
return p(h(e=t.call.apply(t,[this].concat(o))),"onClick",(function(t){var r=e.props,n=r.text,o=r.onCopy,a=r.children,l=r.options,c=i.default.Children.only(a),u=(0,s.default)(n,l)
o&&o(n,u),c&&c.props&&"function"==typeof c.props.onClick&&c.props.onClick(t)})),e}return function(e,t){t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r]
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1})}(r,[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),r=function(e,t){if(null==e)return{}
var r,n,i=function(e,t){if(null==e)return{}
var r,n,i={},s=Object.keys(e)
for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r])
return i}(e,t)
if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e)
for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,o),n=i.default.Children.only(t)
return i.default.cloneElement(n,c(c({},r),{},{onClick:this.onClick}))}}]),r}(i.default.PureComponent)
t.CopyToClipboard=f,p(f,"defaultProps",{onCopy:void 0,options:void 0})},59399:(e,t,r)=>{"use strict"
var n=r(25264).CopyToClipboard
n.CopyToClipboard=n,e.exports=n},81214:(e,t,r)=>{"use strict"
function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.DebounceInput=void 0
var i=a(r(96540)),s=a(r(20181)),o=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"]
function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e)
if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{}
t%2?l(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return e}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(r,e)
var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1
if(Reflect.construct.sham)return!1
if("function"==typeof Proxy)return!0
try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()
return function(){var r,i=d(e)
if(t){var s=d(this).constructor
r=Reflect.construct(i,arguments,s)}else r=i.apply(this,arguments)
return function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t
if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined")
return h(e)}(this,r)}}(r)
function r(e){var n
!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),p(h(n=t.call(this,e)),"onChange",(function(e){e.persist()
var t=n.state.value,r=n.props.minLength
n.setState({value:e.target.value},(function(){var i=n.state.value
i.length>=r?n.notify(e):t.length>i.length&&n.notify(c(c({},e),{},{target:c(c({},e.target),{},{value:""})}))}))})),p(h(n),"onKeyDown",(function(e){"Enter"===e.key&&n.forceNotify(e)
var t=n.props.onKeyDown
t&&(e.persist(),t(e))})),p(h(n),"onBlur",(function(e){n.forceNotify(e)
var t=n.props.onBlur
t&&(e.persist(),t(e))})),p(h(n),"createNotifier",(function(e){if(e<0)n.notify=function(){return null}
else if(0===e)n.notify=n.doNotify
else{var t=(0,s.default)((function(e){n.isDebouncing=!1,n.doNotify(e)}),e)
n.notify=function(e){n.isDebouncing=!0,t(e)},n.flush=function(){return t.flush()},n.cancel=function(){n.isDebouncing=!1,t.cancel()}}})),p(h(n),"doNotify",(function(){n.props.onChange.apply(void 0,arguments)})),p(h(n),"forceNotify",(function(e){var t=n.props.debounceTimeout
if(n.isDebouncing||!(t>0)){n.cancel&&n.cancel()
var r=n.state.value,i=n.props.minLength
r.length>=i?n.doNotify(e):n.doNotify(c(c({},e),{},{target:c(c({},e.target),{},{value:r})}))}})),n.isDebouncing=!1,n.state={value:void 0===e.value||null===e.value?"":e.value}
var i=n.props.debounceTimeout
return n.createNotifier(i),n}return function(e,t){t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r]
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1})}(r,[{key:"componentDidUpdate",value:function(e){if(!this.isDebouncing){var t=this.props,r=t.value,n=t.debounceTimeout,i=e.debounceTimeout,s=e.value,o=this.state.value
void 0!==r&&s!==r&&o!==r&&this.setState({value:r}),n!==i&&this.createNotifier(n)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var e,t,r=this.props,n=r.element,s=(r.onChange,r.value,r.minLength,r.debounceTimeout,r.forceNotifyByEnter),a=r.forceNotifyOnBlur,l=r.onKeyDown,u=r.onBlur,h=r.inputRef,d=function(e,t){if(null==e)return{}
var r,n,i=function(e,t){if(null==e)return{}
var r,n,i={},s=Object.keys(e)
for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r])
return i}(e,t)
if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e)
for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,o),p=this.state.value
e=s?{onKeyDown:this.onKeyDown}:l?{onKeyDown:l}:{},t=a?{onBlur:this.onBlur}:u?{onBlur:u}:{}
var f=h?{ref:h}:{}
return i.default.createElement(n,c(c(c(c({},d),{},{onChange:this.onChange,value:p},e),t),f))}}]),r}(i.default.PureComponent)
t.DebounceInput=f,p(f,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0})},24677:(e,t,r)=>{"use strict"
var n=r(81214).DebounceInput
n.DebounceInput=n,e.exports=n},22551:(e,t,r)=>{"use strict"
var n=r(96540),i=r(69982)
function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])
return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,a={}
function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(a[e]=t,e=0;e<t.length;e++)o.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),h=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},f={}
function m(e,t,r,n,i,s,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var g={}
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0]
g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}))
var y=/[\-:]([a-z])/g
function v(e){return e[1].toUpperCase()}function b(e,t,r,n){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1
switch(typeof t){case"function":case"symbol":return!0
case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e)
default:return!1}}(e,t,r,n))return!0
if(n)return!1
if(null!==r)switch(r.type){case 3:return!t
case 4:return!1===t
case 5:return isNaN(t)
case 6:return isNaN(t)||1>t}return!1}(t,r,i,n)&&(r=null),n||null===i?function(e){return!!h.call(f,e)||!h.call(p,e)&&(d.test(e)?f[e]=!0:(p[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=null===r?3!==i.type&&"":r:(t=i.attributeName,n=i.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,v)
g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,v)
g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,v)
g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}))
var w=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=Symbol.for("react.element"),k=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),C=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),I=Symbol.for("react.lazy")
Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode")
var j=Symbol.for("react.offscreen")
Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker")
var D=Symbol.iterator
function M(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=D&&e[D]||e["@@iterator"])?e:null}var B,R=Object.assign
function L(e){if(void 0===B)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/)
B=t&&t[1]||""}return"\n"+B+e}var z=!1
function F(e,t){if(!e||z)return""
z=!0
var r=Error.prepareStackTrace
Error.prepareStackTrace=void 0
try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),s=n.stack.split("\n"),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--
for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(1!==o||1!==a)do{if(o--,0>--a||i[o]!==s[a]){var l="\n"+i[o].replace(" at new "," at ")
return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=o&&0<=a)
break}}}finally{z=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?L(e):""}function V(e){switch(e.tag){case 5:return L(e.type)
case 16:return L("Lazy")
case 13:return L("Suspense")
case 19:return L("SuspenseList")
case 0:case 2:case 15:return F(e.type,!1)
case 11:return F(e.type.render,!1)
case 1:return F(e.type,!0)
default:return""}}function $(e){if(null==e)return null
if("function"==typeof e)return e.displayName||e.name||null
if("string"==typeof e)return e
switch(e){case x:return"Fragment"
case k:return"Portal"
case N:return"Profiler"
case E:return"StrictMode"
case O:return"Suspense"
case P:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer"
case _:return(e._context.displayName||"Context")+".Provider"
case A:var t=e.render
return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e
case T:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo"
case I:t=e._payload,e=e._init
try{return $(e(t))}catch(e){}}return null}function U(e){var t=e.type
switch(e.tag){case 24:return"Cache"
case 9:return(t.displayName||"Context")+".Consumer"
case 10:return(t._context.displayName||"Context")+".Provider"
case 18:return"DehydratedFragment"
case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef")
case 7:return"Fragment"
case 5:return t
case 4:return"Portal"
case 3:return"Root"
case 6:return"Text"
case 16:return $(t)
case 8:return t===E?"StrictMode":"Mode"
case 22:return"Offscreen"
case 12:return"Profiler"
case 21:return"Scope"
case 13:return"Suspense"
case 19:return"SuspenseList"
case 25:return"TracingMarker"
case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null
if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e
default:return""}}function q(e){var t=e.type
return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function W(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t]
if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var i=r.get,s=r.set
return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,s.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1
var t=e._valueTracker
if(!t)return!0
var r=t.getValue(),n=""
return e&&(n=q(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function Z(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null
try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var r=t.checked
return R({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function G(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked
r=H(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function X(e,t){Y(e,t)
var r=H(t.value),n=t.type
if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r)
else if("submit"===n||"reset"===n)return void e.removeAttribute("value")
t.hasOwnProperty("value")?ee(e,t.type,r):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Q(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type
if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return
t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ee(e,t,r){"number"===t&&Z(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var te=Array.isArray
function re(e,t,r,n){if(e=e.options,t){t={}
for(var i=0;i<r.length;i++)t["$"+r[i]]=!0
for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+H(r),t=null,i=0;i<e.length;i++){if(e[i].value===r)return e[i].selected=!0,void(n&&(e[i].defaultSelected=!0))
null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(s(91))
return R({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var r=t.value
if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(s(92))
if(te(r)){if(1<r.length)throw Error(s(93))
r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:H(r)}}function se(e,t){var r=H(t.value),n=H(t.defaultValue)
null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function oe(e){var t=e.textContent
t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ae(e){switch(e){case"svg":return"http://www.w3.org/2000/svg"
case"math":return"http://www.w3.org/1998/Math/MathML"
default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ae(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,he=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t
else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild)
for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue)
function de(e,t){if(t){var r=e.firstChild
if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fe=["Webkit","ms","Moz","O"]
function me(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=me(r,t[r],n)
"float"===r&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}Object.keys(pe).forEach((function(e){fe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}))
var ye=R({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0})
function ve(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(s(137,e))
if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(s(60))
if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(s(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is
switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1
default:return!0}}var we=null
function Se(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,xe=null,Ee=null
function Ne(e){if(e=bi(e)){if("function"!=typeof ke)throw Error(s(280))
var t=e.stateNode
t&&(t=Si(t),ke(e.stateNode,e.type,t))}}function _e(e){xe?Ee?Ee.push(e):Ee=[e]:xe=e}function Ce(){if(xe){var e=xe,t=Ee
if(Ee=xe=null,Ne(e),t)for(e=0;e<t.length;e++)Ne(t[e])}}function Ae(e,t){return e(t)}function Oe(){}var Pe=!1
function Te(e,t,r){if(Pe)return e(t,r)
Pe=!0
try{return Ae(e,t,r)}finally{Pe=!1,(null!==xe||null!==Ee)&&(Oe(),Ce())}}function Ie(e,t){var r=e.stateNode
if(null===r)return null
var n=Si(r)
if(null===n)return null
r=n[t]
e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n
break e
default:e=!1}if(e)return null
if(r&&"function"!=typeof r)throw Error(s(231,t,typeof r))
return r}var je=!1
if(u)try{var De={}
Object.defineProperty(De,"passive",{get:function(){je=!0}}),window.addEventListener("test",De,De),window.removeEventListener("test",De,De)}catch(ue){je=!1}function Me(e,t,r,n,i,s,o,a,l){var c=Array.prototype.slice.call(arguments,3)
try{t.apply(r,c)}catch(e){this.onError(e)}}var Be=!1,Re=null,Le=!1,ze=null,Fe={onError:function(e){Be=!0,Re=e}}
function Ve(e,t,r,n,i,s,o,a,l){Be=!1,Re=null,Me.apply(Fe,arguments)}function $e(e){var t=e,r=e
if(e.alternate)for(;t.return;)t=t.return
else{e=t
do{!!(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function Ue(e){if(13===e.tag){var t=e.memoizedState
if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function He(e){if($e(e)!==e)throw Error(s(188))}function qe(e){return null!==(e=function(e){var t=e.alternate
if(!t){if(null===(t=$e(e)))throw Error(s(188))
return t!==e?null:e}for(var r=e,n=t;;){var i=r.return
if(null===i)break
var o=i.alternate
if(null===o){if(null!==(n=i.return)){r=n
continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return He(i),e
if(o===n)return He(i),t
o=o.sibling}throw Error(s(188))}if(r.return!==n.return)r=i,n=o
else{for(var a=!1,l=i.child;l;){if(l===r){a=!0,r=i,n=o
break}if(l===n){a=!0,n=i,r=o
break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===r){a=!0,r=o,n=i
break}if(l===n){a=!0,n=o,r=i
break}l=l.sibling}if(!a)throw Error(s(189))}}if(r.alternate!==n)throw Error(s(190))}if(3!==r.tag)throw Error(s(188))
return r.stateNode.current===r?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e
for(e=e.child;null!==e;){var t=We(e)
if(null!==t)return t
e=e.sibling}return null}var Ke=i.unstable_scheduleCallback,Ze=i.unstable_cancelCallback,Je=i.unstable_shouldYield,Ge=i.unstable_requestPaint,Ye=i.unstable_now,Xe=i.unstable_getCurrentPriorityLevel,Qe=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,rt=i.unstable_LowPriority,nt=i.unstable_IdlePriority,it=null,st=null,ot=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(at(e)/lt|0)|0},at=Math.log,lt=Math.LN2,ct=64,ut=4194304
function ht(e){switch(e&-e){case 1:return 1
case 2:return 2
case 4:return 4
case 8:return 8
case 16:return 16
case 32:return 32
case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e
case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e
case 134217728:return 134217728
case 268435456:return 268435456
case 536870912:return 536870912
case 1073741824:return 1073741824
default:return e}}function dt(e,t){var r=e.pendingLanes
if(0===r)return 0
var n=0,i=e.suspendedLanes,s=e.pingedLanes,o=268435455&r
if(0!==o){var a=o&~i
0!==a?n=ht(a):0!=(s&=o)&&(n=ht(s))}else 0!=(o=r&~i)?n=ht(o):0!==s&&(n=ht(s))
if(0===n)return 0
if(0!==t&&t!==n&&!(t&i)&&((i=n&-n)>=(s=t&-t)||16===i&&4194240&s))return t
if(4&n&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)i=1<<(r=31-ot(t)),n|=e[r],t&=~i
return n}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250
case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3
default:return-1}}function ft(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct
return!(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],r=0;31>r;r++)t.push(e)
return t}function yt(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=r}function vt(e,t){var r=e.entangledLanes|=t
for(e=e.entanglements;r;){var n=31-ot(r),i=1<<n
i&t|e[n]&t&&(e[n]|=t),r&=~i}}var bt=0
function wt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var St,kt,xt,Et,Nt,_t=!1,Ct=[],At=null,Ot=null,Pt=null,Tt=new Map,It=new Map,jt=[],Dt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ")
function Mt(e,t){switch(e){case"focusin":case"focusout":At=null
break
case"dragenter":case"dragleave":Ot=null
break
case"mouseover":case"mouseout":Pt=null
break
case"pointerover":case"pointerout":Tt.delete(t.pointerId)
break
case"gotpointercapture":case"lostpointercapture":It.delete(t.pointerId)}}function Bt(e,t,r,n,i,s){return null===e||e.nativeEvent!==s?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:s,targetContainers:[i]},null!==t&&null!==(t=bi(t))&&kt(t),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Rt(e){var t=vi(e.target)
if(null!==t){var r=$e(t)
if(null!==r)if(13===(t=r.tag)){if(null!==(t=Ue(r)))return e.blockedOn=t,void Nt(e.priority,(function(){xt(r)}))}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1
for(var t=e.targetContainers;0<t.length;){var r=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent)
if(null!==r)return null!==(t=bi(r))&&kt(t),e.blockedOn=r,!1
var n=new(r=e.nativeEvent).constructor(r.type,r)
we=n,r.target.dispatchEvent(n),we=null,t.shift()}return!0}function zt(e,t,r){Lt(e)&&r.delete(t)}function Ft(){_t=!1,null!==At&&Lt(At)&&(At=null),null!==Ot&&Lt(Ot)&&(Ot=null),null!==Pt&&Lt(Pt)&&(Pt=null),Tt.forEach(zt),It.forEach(zt)}function Vt(e,t){e.blockedOn===t&&(e.blockedOn=null,_t||(_t=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ft)))}function $t(e){function t(t){return Vt(t,e)}if(0<Ct.length){Vt(Ct[0],e)
for(var r=1;r<Ct.length;r++){var n=Ct[r]
n.blockedOn===e&&(n.blockedOn=null)}}for(null!==At&&Vt(At,e),null!==Ot&&Vt(Ot,e),null!==Pt&&Vt(Pt,e),Tt.forEach(t),It.forEach(t),r=0;r<jt.length;r++)(n=jt[r]).blockedOn===e&&(n.blockedOn=null)
for(;0<jt.length&&null===(r=jt[0]).blockedOn;)Rt(r),null===r.blockedOn&&jt.shift()}var Ut=w.ReactCurrentBatchConfig,Ht=!0
function qt(e,t,r,n){var i=bt,s=Ut.transition
Ut.transition=null
try{bt=1,Kt(e,t,r,n)}finally{bt=i,Ut.transition=s}}function Wt(e,t,r,n){var i=bt,s=Ut.transition
Ut.transition=null
try{bt=4,Kt(e,t,r,n)}finally{bt=i,Ut.transition=s}}function Kt(e,t,r,n){if(Ht){var i=Jt(e,t,r,n)
if(null===i)Hn(e,t,n,Zt,r),Mt(e,n)
else if(function(e,t,r,n,i){switch(t){case"focusin":return At=Bt(At,e,t,r,n,i),!0
case"dragenter":return Ot=Bt(Ot,e,t,r,n,i),!0
case"mouseover":return Pt=Bt(Pt,e,t,r,n,i),!0
case"pointerover":var s=i.pointerId
return Tt.set(s,Bt(Tt.get(s)||null,e,t,r,n,i)),!0
case"gotpointercapture":return s=i.pointerId,It.set(s,Bt(It.get(s)||null,e,t,r,n,i)),!0}return!1}(i,e,t,r,n))n.stopPropagation()
else if(Mt(e,n),4&t&&-1<Dt.indexOf(e)){for(;null!==i;){var s=bi(i)
if(null!==s&&St(s),null===(s=Jt(e,t,r,n))&&Hn(e,t,n,Zt,r),s===i)break
i=s}null!==i&&n.stopPropagation()}else Hn(e,t,n,null,r)}}var Zt=null
function Jt(e,t,r,n){if(Zt=null,null!==(e=vi(e=Se(n))))if(null===(t=$e(e)))e=null
else if(13===(r=t.tag)){if(null!==(e=Ue(t)))return e
e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null
e=null}else t!==e&&(e=null)
return Zt=e,null}function Gt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1
case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4
case"message":switch(Xe()){case Qe:return 1
case et:return 4
case tt:case rt:return 16
case nt:return 536870912
default:return 16}default:return 16}}var Yt=null,Xt=null,Qt=null
function er(){if(Qt)return Qt
var e,t,r=Xt,n=r.length,i="value"in Yt?Yt.value:Yt.textContent,s=i.length
for(e=0;e<n&&r[e]===i[e];e++);var o=n-e
for(t=1;t<=o&&r[n-t]===i[s-t];t++);return Qt=i.slice(e,1<t?1-t:void 0)}function tr(e){var t=e.keyCode
return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rr(){return!0}function nr(){return!1}function ir(e){function t(t,r,n,i,s){for(var o in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o])
return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?rr:nr,this.isPropagationStopped=nr,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0
var e=this.nativeEvent
e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rr)},stopPropagation:function(){var e=this.nativeEvent
e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rr)},persist:function(){},isPersistent:rr}),t}var sr,or,ar,lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cr=ir(lr),ur=R({},lr,{view:0,detail:0}),hr=ir(ur),dr=R({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Er,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ar&&(ar&&"mousemove"===e.type?(sr=e.screenX-ar.screenX,or=e.screenY-ar.screenY):or=sr=0,ar=e),sr)},movementY:function(e){return"movementY"in e?e.movementY:or}}),pr=ir(dr),fr=ir(R({},dr,{dataTransfer:0})),mr=ir(R({},ur,{relatedTarget:0})),gr=ir(R({},lr,{animationName:0,elapsedTime:0,pseudoElement:0})),yr=R({},lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vr=ir(yr),br=ir(R({},lr,{data:0})),wr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"}
function xr(e){var t=this.nativeEvent
return t.getModifierState?t.getModifierState(e):!!(e=kr[e])&&!!t[e]}function Er(){return xr}var Nr=R({},ur,{key:function(e){if(e.key){var t=wr[e.key]||e.key
if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Er,charCode:function(e){return"keypress"===e.type?tr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),_r=ir(Nr),Cr=ir(R({},dr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ar=ir(R({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Er})),Or=ir(R({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pr=R({},dr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Tr=ir(Pr),Ir=[9,13,27,32],jr=u&&"CompositionEvent"in window,Dr=null
u&&"documentMode"in document&&(Dr=document.documentMode)
var Mr=u&&"TextEvent"in window&&!Dr,Br=u&&(!jr||Dr&&8<Dr&&11>=Dr),Rr=String.fromCharCode(32),Lr=!1
function zr(e,t){switch(e){case"keyup":return-1!==Ir.indexOf(t.keyCode)
case"keydown":return 229!==t.keyCode
case"keypress":case"mousedown":case"focusout":return!0
default:return!1}}function Fr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Vr=!1,$r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0}
function Ur(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase()
return"input"===t?!!$r[e.type]:"textarea"===t}function Hr(e,t,r,n){_e(n),0<(t=Wn(t,"onChange")).length&&(r=new cr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var qr=null,Wr=null
function Kr(e){Ln(e,0)}function Zr(e){if(K(wi(e)))return e}function Jr(e,t){if("change"===e)return t}var Gr=!1
if(u){var Yr
if(u){var Xr="oninput"in document
if(!Xr){var Qr=document.createElement("div")
Qr.setAttribute("oninput","return;"),Xr="function"==typeof Qr.oninput}Yr=Xr}else Yr=!1
Gr=Yr&&(!document.documentMode||9<document.documentMode)}function en(){qr&&(qr.detachEvent("onpropertychange",tn),Wr=qr=null)}function tn(e){if("value"===e.propertyName&&Zr(Wr)){var t=[]
Hr(t,Wr,e,Se(e)),Te(Kr,t)}}function rn(e,t,r){"focusin"===e?(en(),Wr=r,(qr=t).attachEvent("onpropertychange",tn)):"focusout"===e&&en()}function nn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zr(Wr)}function sn(e,t){if("click"===e)return Zr(t)}function on(e,t){if("input"===e||"change"===e)return Zr(t)}var an="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}
function ln(e,t){if(an(e,t))return!0
if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1
var r=Object.keys(e),n=Object.keys(t)
if(r.length!==n.length)return!1
for(n=0;n<r.length;n++){var i=r[n]
if(!h.call(t,i)||!an(e[i],t[i]))return!1}return!0}function cn(e){for(;e&&e.firstChild;)e=e.firstChild
return e}function un(e,t){var r,n=cn(e)
for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e}
e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling
break e}n=n.parentNode}n=void 0}n=cn(n)}}function hn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dn(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break
t=Z((e=t.contentWindow).document)}return t}function pn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase()
return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function fn(e){var t=dn(),r=e.focusedElem,n=e.selectionRange
if(t!==r&&r&&r.ownerDocument&&hn(r.ownerDocument.documentElement,r)){if(null!==n&&pn(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length)
else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection()
var i=r.textContent.length,s=Math.min(n.start,i)
n=void 0===n.end?s:Math.min(n.end,i),!e.extend&&s>n&&(i=n,n=s,s=i),i=un(r,s)
var o=un(r,n)
i&&o&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),s>n?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop})
for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mn=u&&"documentMode"in document&&11>=document.documentMode,gn=null,yn=null,vn=null,bn=!1
function wn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument
bn||null==gn||gn!==Z(n)||(n="selectionStart"in(n=gn)&&pn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},vn&&ln(vn,n)||(vn=n,0<(n=Wn(yn,"onSelect")).length&&(t=new cr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=gn)))}function Sn(e,t){var r={}
return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var kn={animationend:Sn("Animation","AnimationEnd"),animationiteration:Sn("Animation","AnimationIteration"),animationstart:Sn("Animation","AnimationStart"),transitionend:Sn("Transition","TransitionEnd")},xn={},En={}
function Nn(e){if(xn[e])return xn[e]
if(!kn[e])return e
var t,r=kn[e]
for(t in r)if(r.hasOwnProperty(t)&&t in En)return xn[e]=r[t]
return e}u&&(En=document.createElement("div").style,"AnimationEvent"in window||(delete kn.animationend.animation,delete kn.animationiteration.animation,delete kn.animationstart.animation),"TransitionEvent"in window||delete kn.transitionend.transition)
var _n=Nn("animationend"),Cn=Nn("animationiteration"),An=Nn("animationstart"),On=Nn("transitionend"),Pn=new Map,Tn="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ")
function In(e,t){Pn.set(e,t),l(t,[e])}for(var jn=0;jn<Tn.length;jn++){var Dn=Tn[jn]
In(Dn.toLowerCase(),"on"+(Dn[0].toUpperCase()+Dn.slice(1)))}In(_n,"onAnimationEnd"),In(Cn,"onAnimationIteration"),In(An,"onAnimationStart"),In("dblclick","onDoubleClick"),In("focusin","onFocus"),In("focusout","onBlur"),In(On,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "))
var Mn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Bn=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mn))
function Rn(e,t,r){var n=e.type||"unknown-event"
e.currentTarget=r,function(e,t,r,n,i,o,a,l,c){if(Ve.apply(this,arguments),Be){if(!Be)throw Error(s(198))
var u=Re
Be=!1,Re=null,Le||(Le=!0,ze=u)}}(n,t,void 0,e),e.currentTarget=null}function Ln(e,t){t=!!(4&t)
for(var r=0;r<e.length;r++){var n=e[r],i=n.event
n=n.listeners
e:{var s=void 0
if(t)for(var o=n.length-1;0<=o;o--){var a=n[o],l=a.instance,c=a.currentTarget
if(a=a.listener,l!==s&&i.isPropagationStopped())break e
Rn(i,a,c),s=l}else for(o=0;o<n.length;o++){if(l=(a=n[o]).instance,c=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e
Rn(i,a,c),s=l}}}if(Le)throw e=ze,Le=!1,ze=null,e}function zn(e,t){var r=t[mi]
void 0===r&&(r=t[mi]=new Set)
var n=e+"__bubble"
r.has(n)||(Un(t,e,2,!1),r.add(n))}function Fn(e,t,r){var n=0
t&&(n|=4),Un(r,e,n,t)}var Vn="_reactListening"+Math.random().toString(36).slice(2)
function $n(e){if(!e[Vn]){e[Vn]=!0,o.forEach((function(t){"selectionchange"!==t&&(Bn.has(t)||Fn(t,!1,e),Fn(t,!0,e))}))
var t=9===e.nodeType?e:e.ownerDocument
null===t||t[Vn]||(t[Vn]=!0,Fn("selectionchange",!1,t))}}function Un(e,t,r,n){switch(Gt(t)){case 1:var i=qt
break
case 4:i=Wt
break
default:i=Kt}r=i.bind(null,t,r,e),i=void 0,!je||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),n?void 0!==i?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):void 0!==i?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function Hn(e,t,r,n,i){var s=n
if(!(1&t||2&t||null===n))e:for(;;){if(null===n)return
var o=n.tag
if(3===o||4===o){var a=n.stateNode.containerInfo
if(a===i||8===a.nodeType&&a.parentNode===i)break
if(4===o)for(o=n.return;null!==o;){var l=o.tag
if((3===l||4===l)&&((l=o.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return
o=o.return}for(;null!==a;){if(null===(o=vi(a)))return
if(5===(l=o.tag)||6===l){n=s=o
continue e}a=a.parentNode}}n=n.return}Te((function(){var n=s,i=Se(r),o=[]
e:{var a=Pn.get(e)
if(void 0!==a){var l=cr,c=e
switch(e){case"keypress":if(0===tr(r))break e
case"keydown":case"keyup":l=_r
break
case"focusin":c="focus",l=mr
break
case"focusout":c="blur",l=mr
break
case"beforeblur":case"afterblur":l=mr
break
case"click":if(2===r.button)break e
case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pr
break
case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=fr
break
case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Ar
break
case _n:case Cn:case An:l=gr
break
case On:l=Or
break
case"scroll":l=hr
break
case"wheel":l=Tr
break
case"copy":case"cut":case"paste":l=vr
break
case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Cr}var u=!!(4&t),h=!u&&"scroll"===e,d=u?null!==a?a+"Capture":null:a
u=[]
for(var p,f=n;null!==f;){var m=(p=f).stateNode
if(5===p.tag&&null!==m&&(p=m,null!==d&&null!=(m=Ie(f,d))&&u.push(qn(f,m,p))),h)break
f=f.return}0<u.length&&(a=new l(a,c,null,r,i),o.push({event:a,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(a="mouseover"===e||"pointerover"===e)||r===we||!(c=r.relatedTarget||r.fromElement)||!vi(c)&&!c[fi])&&(l||a)&&(a=i.window===i?i:(a=i.ownerDocument)?a.defaultView||a.parentWindow:window,l?(l=n,null!==(c=(c=r.relatedTarget||r.toElement)?vi(c):null)&&(c!==(h=$e(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=n),l!==c)){if(u=pr,m="onMouseLeave",d="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(u=Cr,m="onPointerLeave",d="onPointerEnter",f="pointer"),h=null==l?a:wi(l),p=null==c?a:wi(c),(a=new u(m,f+"leave",l,r,i)).target=h,a.relatedTarget=p,m=null,vi(i)===n&&((u=new u(d,f+"enter",c,r,i)).target=p,u.relatedTarget=h,m=u),h=m,l&&c)e:{for(d=c,f=0,p=u=l;p;p=Kn(p))f++
for(p=0,m=d;m;m=Kn(m))p++
for(;0<f-p;)u=Kn(u),f--
for(;0<p-f;)d=Kn(d),p--
for(;f--;){if(u===d||null!==d&&u===d.alternate)break e
u=Kn(u),d=Kn(d)}u=null}else u=null
null!==l&&Zn(o,a,l,u,!1),null!==c&&null!==h&&Zn(o,h,c,u,!0)}if("select"===(l=(a=n?wi(n):window).nodeName&&a.nodeName.toLowerCase())||"input"===l&&"file"===a.type)var g=Jr
else if(Ur(a))if(Gr)g=on
else{g=nn
var y=rn}else(l=a.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(g=sn)
switch(g&&(g=g(e,n))?Hr(o,g,r,i):(y&&y(e,a,n),"focusout"===e&&(y=a._wrapperState)&&y.controlled&&"number"===a.type&&ee(a,"number",a.value)),y=n?wi(n):window,e){case"focusin":(Ur(y)||"true"===y.contentEditable)&&(gn=y,yn=n,vn=null)
break
case"focusout":vn=yn=gn=null
break
case"mousedown":bn=!0
break
case"contextmenu":case"mouseup":case"dragend":bn=!1,wn(o,r,i)
break
case"selectionchange":if(mn)break
case"keydown":case"keyup":wn(o,r,i)}var v
if(jr)e:{switch(e){case"compositionstart":var b="onCompositionStart"
break e
case"compositionend":b="onCompositionEnd"
break e
case"compositionupdate":b="onCompositionUpdate"
break e}b=void 0}else Vr?zr(e,r)&&(b="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(b="onCompositionStart")
b&&(Br&&"ko"!==r.locale&&(Vr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vr&&(v=er()):(Xt="value"in(Yt=i)?Yt.value:Yt.textContent,Vr=!0)),0<(y=Wn(n,b)).length&&(b=new br(b,e,null,r,i),o.push({event:b,listeners:y}),(v||null!==(v=Fr(r)))&&(b.data=v))),(v=Mr?function(e,t){switch(e){case"compositionend":return Fr(t)
case"keypress":return 32!==t.which?null:(Lr=!0,Rr)
case"textInput":return(e=t.data)===Rr&&Lr?null:e
default:return null}}(e,r):function(e,t){if(Vr)return"compositionend"===e||!jr&&zr(e,t)?(e=er(),Qt=Xt=Yt=null,Vr=!1,e):null
switch(e){case"paste":default:return null
case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char
if(t.which)return String.fromCharCode(t.which)}return null
case"compositionend":return Br&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(n=Wn(n,"onBeforeInput")).length&&(i=new br("onBeforeInput","beforeinput",null,r,i),o.push({event:i,listeners:n}),i.data=v)}Ln(o,t)}))}function qn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Wn(e,t){for(var r=t+"Capture",n=[];null!==e;){var i=e,s=i.stateNode
5===i.tag&&null!==s&&(i=s,null!=(s=Ie(e,r))&&n.unshift(qn(e,s,i)),null!=(s=Ie(e,t))&&n.push(qn(e,s,i))),e=e.return}return n}function Kn(e){if(null===e)return null
do{e=e.return}while(e&&5!==e.tag)
return e||null}function Zn(e,t,r,n,i){for(var s=t._reactName,o=[];null!==r&&r!==n;){var a=r,l=a.alternate,c=a.stateNode
if(null!==l&&l===n)break
5===a.tag&&null!==c&&(a=c,i?null!=(l=Ie(r,s))&&o.unshift(qn(r,l,a)):i||null!=(l=Ie(r,s))&&o.push(qn(r,l,a))),r=r.return}0!==o.length&&e.push({event:t,listeners:o})}var Jn=/\r\n?/g,Gn=/\u0000|\uFFFD/g
function Yn(e){return("string"==typeof e?e:""+e).replace(Jn,"\n").replace(Gn,"")}function Xn(e,t,r){if(t=Yn(t),Yn(e)!==t&&r)throw Error(s(425))}function Qn(){}var ei=null,ti=null
function ri(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ni="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,si="function"==typeof Promise?Promise:void 0,oi="function"==typeof queueMicrotask?queueMicrotask:void 0!==si?function(e){return si.resolve(null).then(e).catch(ai)}:ni
function ai(e){setTimeout((function(){throw e}))}function li(e,t){var r=t,n=0
do{var i=r.nextSibling
if(e.removeChild(r),i&&8===i.nodeType)if("/$"===(r=i.data)){if(0===n)return e.removeChild(i),void $t(t)
n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++
r=i}while(r)
$t(t)}function ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType
if(1===t||3===t)break
if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break
if("/$"===t)return null}}return e}function ui(e){e=e.previousSibling
for(var t=0;e;){if(8===e.nodeType){var r=e.data
if("$"===r||"$!"===r||"$?"===r){if(0===t)return e
t--}else"/$"===r&&t++}e=e.previousSibling}return null}var hi=Math.random().toString(36).slice(2),di="__reactFiber$"+hi,pi="__reactProps$"+hi,fi="__reactContainer$"+hi,mi="__reactEvents$"+hi,gi="__reactListeners$"+hi,yi="__reactHandles$"+hi
function vi(e){var t=e[di]
if(t)return t
for(var r=e.parentNode;r;){if(t=r[fi]||r[di]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=ui(e);null!==e;){if(r=e[di])return r
e=ui(e)}return t}r=(e=r).parentNode}return null}function bi(e){return!(e=e[di]||e[fi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wi(e){if(5===e.tag||6===e.tag)return e.stateNode
throw Error(s(33))}function Si(e){return e[pi]||null}var ki=[],xi=-1
function Ei(e){return{current:e}}function Ni(e){0>xi||(e.current=ki[xi],ki[xi]=null,xi--)}function _i(e,t){xi++,ki[xi]=e.current,e.current=t}var Ci={},Ai=Ei(Ci),Oi=Ei(!1),Pi=Ci
function Ti(e,t){var r=e.type.contextTypes
if(!r)return Ci
var n=e.stateNode
if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext
var i,s={}
for(i in r)s[i]=t[i]
return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function Ii(e){return null!=e.childContextTypes}function ji(){Ni(Oi),Ni(Ai)}function Di(e,t,r){if(Ai.current!==Ci)throw Error(s(168))
_i(Ai,t),_i(Oi,r)}function Mi(e,t,r){var n=e.stateNode
if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r
for(var i in n=n.getChildContext())if(!(i in t))throw Error(s(108,U(e)||"Unknown",i))
return R({},r,n)}function Bi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ci,Pi=Ai.current,_i(Ai,e),_i(Oi,Oi.current),!0}function Ri(e,t,r){var n=e.stateNode
if(!n)throw Error(s(169))
r?(e=Mi(e,t,Pi),n.__reactInternalMemoizedMergedChildContext=e,Ni(Oi),Ni(Ai),_i(Ai,e)):Ni(Oi),_i(Oi,r)}var Li=null,zi=!1,Fi=!1
function Vi(e){null===Li?Li=[e]:Li.push(e)}function $i(){if(!Fi&&null!==Li){Fi=!0
var e=0,t=bt
try{var r=Li
for(bt=1;e<r.length;e++){var n=r[e]
do{n=n(!0)}while(null!==n)}Li=null,zi=!1}catch(t){throw null!==Li&&(Li=Li.slice(e+1)),Ke(Qe,$i),t}finally{bt=t,Fi=!1}}return null}var Ui=[],Hi=0,qi=null,Wi=0,Ki=[],Zi=0,Ji=null,Gi=1,Yi=""
function Xi(e,t){Ui[Hi++]=Wi,Ui[Hi++]=qi,qi=e,Wi=t}function Qi(e,t,r){Ki[Zi++]=Gi,Ki[Zi++]=Yi,Ki[Zi++]=Ji,Ji=e
var n=Gi
e=Yi
var i=32-ot(n)-1
n&=~(1<<i),r+=1
var s=32-ot(t)+i
if(30<s){var o=i-i%5
s=(n&(1<<o)-1).toString(32),n>>=o,i-=o,Gi=1<<32-ot(t)+i|r<<i|n,Yi=s+e}else Gi=1<<s|r<<i|n,Yi=e}function es(e){null!==e.return&&(Xi(e,1),Qi(e,1,0))}function ts(e){for(;e===qi;)qi=Ui[--Hi],Ui[Hi]=null,Wi=Ui[--Hi],Ui[Hi]=null
for(;e===Ji;)Ji=Ki[--Zi],Ki[Zi]=null,Yi=Ki[--Zi],Ki[Zi]=null,Gi=Ki[--Zi],Ki[Zi]=null}var rs=null,ns=null,is=!1,ss=null
function os(e,t){var r=Tc(5,null,null,0)
r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function as(e,t){switch(e.tag){case 5:var r=e.type
return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,rs=e,ns=ci(t.firstChild),!0)
case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,rs=e,ns=null,!0)
case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Ji?{id:Gi,overflow:Yi}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=Tc(18,null,null,0)).stateNode=t,r.return=e,e.child=r,rs=e,ns=null,!0)
default:return!1}}function ls(e){return!(!(1&e.mode)||128&e.flags)}function cs(e){if(is){var t=ns
if(t){var r=t
if(!as(e,t)){if(ls(e))throw Error(s(418))
t=ci(r.nextSibling)
var n=rs
t&&as(e,t)?os(n,r):(e.flags=-4097&e.flags|2,is=!1,rs=e)}}else{if(ls(e))throw Error(s(418))
e.flags=-4097&e.flags|2,is=!1,rs=e}}}function us(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return
rs=e}function hs(e){if(e!==rs)return!1
if(!is)return us(e),is=!0,!1
var t
if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ri(e.type,e.memoizedProps)),t&&(t=ns)){if(ls(e))throw ds(),Error(s(418))
for(;t;)os(e,t),t=ci(t.nextSibling)}if(us(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(s(317))
e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data
if("/$"===r){if(0===t){ns=ci(e.nextSibling)
break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}ns=null}}else ns=rs?ci(e.stateNode.nextSibling):null
return!0}function ds(){for(var e=ns;e;)e=ci(e.nextSibling)}function ps(){ns=rs=null,is=!1}function fs(e){null===ss?ss=[e]:ss.push(e)}var ms=w.ReactCurrentBatchConfig
function gs(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(s(309))
var n=r.stateNode}if(!n)throw Error(s(147,e))
var i=n,o=""+e
return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=i.refs
null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(s(284))
if(!r._owner)throw Error(s(290,e))}return e}function ys(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function vs(e){return(0,e._init)(e._payload)}function bs(e){function t(t,r){if(e){var n=t.deletions
null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null
for(;null!==n;)t(r,n),n=n.sibling
return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling
return e}function i(e,t){return(e=jc(e,t)).index=0,e.sibling=null,e}function o(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Rc(r,e.mode,n)).return=e,t):((t=i(t,r)).return=e,t)}function c(e,t,r,n){var s=r.type
return s===x?h(e,t,r.props.children,n,r.key):null!==t&&(t.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===I&&vs(s)===t.type)?((n=i(t,r.props)).ref=gs(e,t,r),n.return=e,n):((n=Dc(r.type,r.key,r.props,null,e.mode,n)).ref=gs(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Lc(r,e.mode,n)).return=e,t):((t=i(t,r.children||[])).return=e,t)}function h(e,t,r,n,s){return null===t||7!==t.tag?((t=Mc(r,e.mode,n,s)).return=e,t):((t=i(t,r)).return=e,t)}function d(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Rc(""+t,e.mode,r)).return=e,t
if("object"==typeof t&&null!==t){switch(t.$$typeof){case S:return(r=Dc(t.type,t.key,t.props,null,e.mode,r)).ref=gs(e,null,t),r.return=e,r
case k:return(t=Lc(t,e.mode,r)).return=e,t
case I:return d(e,(0,t._init)(t._payload),r)}if(te(t)||M(t))return(t=Mc(t,e.mode,r,null)).return=e,t
ys(e,t)}return null}function p(e,t,r,n){var i=null!==t?t.key:null
if("string"==typeof r&&""!==r||"number"==typeof r)return null!==i?null:l(e,t,""+r,n)
if("object"==typeof r&&null!==r){switch(r.$$typeof){case S:return r.key===i?c(e,t,r,n):null
case k:return r.key===i?u(e,t,r,n):null
case I:return p(e,t,(i=r._init)(r._payload),n)}if(te(r)||M(r))return null!==i?null:h(e,t,r,n,null)
ys(e,r)}return null}function f(e,t,r,n,i){if("string"==typeof n&&""!==n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,i)
if("object"==typeof n&&null!==n){switch(n.$$typeof){case S:return c(t,e=e.get(null===n.key?r:n.key)||null,n,i)
case k:return u(t,e=e.get(null===n.key?r:n.key)||null,n,i)
case I:return f(e,t,r,(0,n._init)(n._payload),i)}if(te(n)||M(n))return h(t,e=e.get(r)||null,n,i,null)
ys(t,n)}return null}function m(i,s,a,l){for(var c=null,u=null,h=s,m=s=0,g=null;null!==h&&m<a.length;m++){h.index>m?(g=h,h=null):g=h.sibling
var y=p(i,h,a[m],l)
if(null===y){null===h&&(h=g)
break}e&&h&&null===y.alternate&&t(i,h),s=o(y,s,m),null===u?c=y:u.sibling=y,u=y,h=g}if(m===a.length)return r(i,h),is&&Xi(i,m),c
if(null===h){for(;m<a.length;m++)null!==(h=d(i,a[m],l))&&(s=o(h,s,m),null===u?c=h:u.sibling=h,u=h)
return is&&Xi(i,m),c}for(h=n(i,h);m<a.length;m++)null!==(g=f(h,i,m,a[m],l))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),s=o(g,s,m),null===u?c=g:u.sibling=g,u=g)
return e&&h.forEach((function(e){return t(i,e)})),is&&Xi(i,m),c}function g(i,a,l,c){var u=M(l)
if("function"!=typeof u)throw Error(s(150))
if(null==(l=u.call(l)))throw Error(s(151))
for(var h=u=null,m=a,g=a=0,y=null,v=l.next();null!==m&&!v.done;g++,v=l.next()){m.index>g?(y=m,m=null):y=m.sibling
var b=p(i,m,v.value,c)
if(null===b){null===m&&(m=y)
break}e&&m&&null===b.alternate&&t(i,m),a=o(b,a,g),null===h?u=b:h.sibling=b,h=b,m=y}if(v.done)return r(i,m),is&&Xi(i,g),u
if(null===m){for(;!v.done;g++,v=l.next())null!==(v=d(i,v.value,c))&&(a=o(v,a,g),null===h?u=v:h.sibling=v,h=v)
return is&&Xi(i,g),u}for(m=n(i,m);!v.done;g++,v=l.next())null!==(v=f(m,i,g,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),a=o(v,a,g),null===h?u=v:h.sibling=v,h=v)
return e&&m.forEach((function(e){return t(i,e)})),is&&Xi(i,g),u}return function e(n,s,o,l){if("object"==typeof o&&null!==o&&o.type===x&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case S:e:{for(var c=o.key,u=s;null!==u;){if(u.key===c){if((c=o.type)===x){if(7===u.tag){r(n,u.sibling),(s=i(u,o.props.children)).return=n,n=s
break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===I&&vs(c)===u.type){r(n,u.sibling),(s=i(u,o.props)).ref=gs(n,u,o),s.return=n,n=s
break e}r(n,u)
break}t(n,u),u=u.sibling}o.type===x?((s=Mc(o.props.children,n.mode,l,o.key)).return=n,n=s):((l=Dc(o.type,o.key,o.props,null,n.mode,l)).ref=gs(n,s,o),l.return=n,n=l)}return a(n)
case k:e:{for(u=o.key;null!==s;){if(s.key===u){if(4===s.tag&&s.stateNode.containerInfo===o.containerInfo&&s.stateNode.implementation===o.implementation){r(n,s.sibling),(s=i(s,o.children||[])).return=n,n=s
break e}r(n,s)
break}t(n,s),s=s.sibling}(s=Lc(o,n.mode,l)).return=n,n=s}return a(n)
case I:return e(n,s,(u=o._init)(o._payload),l)}if(te(o))return m(n,s,o,l)
if(M(o))return g(n,s,o,l)
ys(n,o)}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==s&&6===s.tag?(r(n,s.sibling),(s=i(s,o)).return=n,n=s):(r(n,s),(s=Rc(o,n.mode,l)).return=n,n=s),a(n)):r(n,s)}}var ws=bs(!0),Ss=bs(!1),ks=Ei(null),xs=null,Es=null,Ns=null
function _s(){Ns=Es=xs=null}function Cs(e){var t=ks.current
Ni(ks),e._currentValue=t}function As(e,t,r){for(;null!==e;){var n=e.alternate
if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break
e=e.return}}function Os(e,t){xs=e,Ns=Es=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(ba=!0),e.firstContext=null)}function Ps(e){var t=e._currentValue
if(Ns!==e)if(e={context:e,memoizedValue:t,next:null},null===Es){if(null===xs)throw Error(s(308))
Es=e,xs.dependencies={lanes:0,firstContext:e}}else Es=Es.next=e
return t}var Ts=null
function Is(e){null===Ts?Ts=[e]:Ts.push(e)}function js(e,t,r,n){var i=t.interleaved
return null===i?(r.next=r,Is(t)):(r.next=i.next,i.next=r),t.interleaved=r,Ds(e,n)}function Ds(e,t){e.lanes|=t
var r=e.alternate
for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return
return 3===r.tag?r.stateNode:null}var Ms=!1
function Bs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Rs(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ls(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function zs(e,t,r){var n=e.updateQueue
if(null===n)return null
if(n=n.shared,2&Al){var i=n.pending
return null===i?t.next=t:(t.next=i.next,i.next=t),n.pending=t,Ds(e,r)}return null===(i=n.interleaved)?(t.next=t,Is(n)):(t.next=i.next,i.next=t),n.interleaved=t,Ds(e,r)}function Fs(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&r)){var n=t.lanes
r|=n&=e.pendingLanes,t.lanes=r,vt(e,r)}}function Vs(e,t){var r=e.updateQueue,n=e.alternate
if(null!==n&&r===(n=n.updateQueue)){var i=null,s=null
if(null!==(r=r.firstBaseUpdate)){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null}
null===s?i=s=o:s=s.next=o,r=r.next}while(null!==r)
null===s?i=s=t:s=s.next=t}else i=s=t
return r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function $s(e,t,r,n){var i=e.updateQueue
Ms=!1
var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending
if(null!==a){i.shared.pending=null
var l=a,c=l.next
l.next=null,null===o?s=c:o.next=c,o=l
var u=e.alternate
null!==u&&(a=(u=u.updateQueue).lastBaseUpdate)!==o&&(null===a?u.firstBaseUpdate=c:a.next=c,u.lastBaseUpdate=l)}if(null!==s){var h=i.baseState
for(o=0,u=c=l=null,a=s;;){var d=a.lane,p=a.eventTime
if((n&d)===d){null!==u&&(u=u.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null})
e:{var f=e,m=a
switch(d=t,p=r,m.tag){case 1:if("function"==typeof(f=m.payload)){h=f.call(p,h,d)
break e}h=f
break e
case 3:f.flags=-65537&f.flags|128
case 0:if(null==(d="function"==typeof(f=m.payload)?f.call(p,h,d):f))break e
h=R({},h,d)
break e
case 2:Ms=!0}}null!==a.callback&&0!==a.lane&&(e.flags|=64,null===(d=i.effects)?i.effects=[a]:d.push(a))}else p={eventTime:p,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===u?(c=u=p,l=h):u=u.next=p,o|=d
if(null===(a=a.next)){if(null===(a=i.shared.pending))break
a=(d=a).next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}if(null===u&&(l=h),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null!==(t=i.shared.interleaved)){i=t
do{o|=i.lane,i=i.next}while(i!==t)}else null===s&&(i.shared.lanes=0)
Bl|=o,e.lanes=o,e.memoizedState=h}}function Us(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],i=n.callback
if(null!==i){if(n.callback=null,n=r,"function"!=typeof i)throw Error(s(191,i))
i.call(n)}}}var Hs={},qs=Ei(Hs),Ws=Ei(Hs),Ks=Ei(Hs)
function Zs(e){if(e===Hs)throw Error(s(174))
return e}function Js(e,t){switch(_i(Ks,t),_i(Ws,e),_i(qs,Hs),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"")
break
default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ni(qs),_i(qs,t)}function Gs(){Ni(qs),Ni(Ws),Ni(Ks)}function Ys(e){Zs(Ks.current)
var t=Zs(qs.current),r=le(t,e.type)
t!==r&&(_i(Ws,e),_i(qs,r))}function Xs(e){Ws.current===e&&(Ni(qs),Ni(Ws))}var Qs=Ei(0)
function eo(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState
if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child
continue}if(t===e)break
for(;null===t.sibling;){if(null===t.return||t.return===e)return null
t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var to=[]
function ro(){for(var e=0;e<to.length;e++)to[e]._workInProgressVersionPrimary=null
to.length=0}var no=w.ReactCurrentDispatcher,io=w.ReactCurrentBatchConfig,so=0,oo=null,ao=null,lo=null,co=!1,uo=!1,ho=0,po=0
function fo(){throw Error(s(321))}function mo(e,t){if(null===t)return!1
for(var r=0;r<t.length&&r<e.length;r++)if(!an(e[r],t[r]))return!1
return!0}function go(e,t,r,n,i,o){if(so=o,oo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,no.current=null===e||null===e.memoizedState?Qo:ea,e=r(n,i),uo){o=0
do{if(uo=!1,ho=0,25<=o)throw Error(s(301))
o+=1,lo=ao=null,t.updateQueue=null,no.current=ta,e=r(n,i)}while(uo)}if(no.current=Xo,t=null!==ao&&null!==ao.next,so=0,lo=ao=oo=null,co=!1,t)throw Error(s(300))
return e}function yo(){var e=0!==ho
return ho=0,e}function vo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null}
return null===lo?oo.memoizedState=lo=e:lo=lo.next=e,lo}function bo(){if(null===ao){var e=oo.alternate
e=null!==e?e.memoizedState:null}else e=ao.next
var t=null===lo?oo.memoizedState:lo.next
if(null!==t)lo=t,ao=e
else{if(null===e)throw Error(s(310))
e={memoizedState:(ao=e).memoizedState,baseState:ao.baseState,baseQueue:ao.baseQueue,queue:ao.queue,next:null},null===lo?oo.memoizedState=lo=e:lo=lo.next=e}return lo}function wo(e,t){return"function"==typeof t?t(e):t}function So(e){var t=bo(),r=t.queue
if(null===r)throw Error(s(311))
r.lastRenderedReducer=e
var n=ao,i=n.baseQueue,o=r.pending
if(null!==o){if(null!==i){var a=i.next
i.next=o.next,o.next=a}n.baseQueue=i=o,r.pending=null}if(null!==i){o=i.next,n=n.baseState
var l=a=null,c=null,u=o
do{var h=u.lane
if((so&h)===h)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action)
else{var d={lane:h,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}
null===c?(l=c=d,a=n):c=c.next=d,oo.lanes|=h,Bl|=h}u=u.next}while(null!==u&&u!==o)
null===c?a=n:c.next=l,an(n,t.memoizedState)||(ba=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=c,r.lastRenderedState=n}if(null!==(e=r.interleaved)){i=e
do{o=i.lane,oo.lanes|=o,Bl|=o,i=i.next}while(i!==e)}else null===i&&(r.lanes=0)
return[t.memoizedState,r.dispatch]}function ko(e){var t=bo(),r=t.queue
if(null===r)throw Error(s(311))
r.lastRenderedReducer=e
var n=r.dispatch,i=r.pending,o=t.memoizedState
if(null!==i){r.pending=null
var a=i=i.next
do{o=e(o,a.action),a=a.next}while(a!==i)
an(o,t.memoizedState)||(ba=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function xo(){}function Eo(e,t){var r=oo,n=bo(),i=t(),o=!an(n.memoizedState,i)
if(o&&(n.memoizedState=i,ba=!0),n=n.queue,Bo(Co.bind(null,r,n,e),[e]),n.getSnapshot!==t||o||null!==lo&&1&lo.memoizedState.tag){if(r.flags|=2048,To(9,_o.bind(null,r,n,i,t),void 0,null),null===Ol)throw Error(s(349))
30&so||No(r,t,i)}return i}function No(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=oo.updateQueue)?(t={lastEffect:null,stores:null},oo.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function _o(e,t,r,n){t.value=r,t.getSnapshot=n,Ao(t)&&Oo(e)}function Co(e,t,r){return r((function(){Ao(t)&&Oo(e)}))}function Ao(e){var t=e.getSnapshot
e=e.value
try{var r=t()
return!an(e,r)}catch(e){return!0}}function Oo(e){var t=Ds(e,1)
null!==t&&rc(t,e,1,-1)}function Po(e){var t=vo()
return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wo,lastRenderedState:e},t.queue=e,e=e.dispatch=Zo.bind(null,oo,e),[t.memoizedState,e]}function To(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=oo.updateQueue)?(t={lastEffect:null,stores:null},oo.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function Io(){return bo().memoizedState}function jo(e,t,r,n){var i=vo()
oo.flags|=e,i.memoizedState=To(1|t,r,void 0,void 0===n?null:n)}function Do(e,t,r,n){var i=bo()
n=void 0===n?null:n
var s=void 0
if(null!==ao){var o=ao.memoizedState
if(s=o.destroy,null!==n&&mo(n,o.deps))return void(i.memoizedState=To(t,r,s,n))}oo.flags|=e,i.memoizedState=To(1|t,r,s,n)}function Mo(e,t){return jo(8390656,8,e,t)}function Bo(e,t){return Do(2048,8,e,t)}function Ro(e,t){return Do(4,2,e,t)}function Lo(e,t){return Do(4,4,e,t)}function zo(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Fo(e,t,r){return r=null!=r?r.concat([e]):null,Do(4,4,zo.bind(null,t,e),r)}function Vo(){}function $o(e,t){var r=bo()
t=void 0===t?null:t
var n=r.memoizedState
return null!==n&&null!==t&&mo(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Uo(e,t){var r=bo()
t=void 0===t?null:t
var n=r.memoizedState
return null!==n&&null!==t&&mo(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Ho(e,t,r){return 21&so?(an(r,t)||(r=mt(),oo.lanes|=r,Bl|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ba=!0),e.memoizedState=r)}function qo(e,t){var r=bt
bt=0!==r&&4>r?r:4,e(!0)
var n=io.transition
io.transition={}
try{e(!1),t()}finally{bt=r,io.transition=n}}function Wo(){return bo().memoizedState}function Ko(e,t,r){var n=tc(e)
r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Jo(e)?Go(t,r):null!==(r=js(e,t,r,n))&&(rc(r,e,n,ec()),Yo(r,t,n))}function Zo(e,t,r){var n=tc(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null}
if(Jo(e))Go(t,i)
else{var s=e.alternate
if(0===e.lanes&&(null===s||0===s.lanes)&&null!==(s=t.lastRenderedReducer))try{var o=t.lastRenderedState,a=s(o,r)
if(i.hasEagerState=!0,i.eagerState=a,an(a,o)){var l=t.interleaved
return null===l?(i.next=i,Is(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(e){}null!==(r=js(e,t,i,n))&&(rc(r,e,n,i=ec()),Yo(r,t,n))}}function Jo(e){var t=e.alternate
return e===oo||null!==t&&t===oo}function Go(e,t){uo=co=!0
var r=e.pending
null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Yo(e,t,r){if(4194240&r){var n=t.lanes
r|=n&=e.pendingLanes,t.lanes=r,vt(e,r)}}var Xo={readContext:Ps,useCallback:fo,useContext:fo,useEffect:fo,useImperativeHandle:fo,useInsertionEffect:fo,useLayoutEffect:fo,useMemo:fo,useReducer:fo,useRef:fo,useState:fo,useDebugValue:fo,useDeferredValue:fo,useTransition:fo,useMutableSource:fo,useSyncExternalStore:fo,useId:fo,unstable_isNewReconciler:!1},Qo={readContext:Ps,useCallback:function(e,t){return vo().memoizedState=[e,void 0===t?null:t],e},useContext:Ps,useEffect:Mo,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,jo(4194308,4,zo.bind(null,t,e),r)},useLayoutEffect:function(e,t){return jo(4194308,4,e,t)},useInsertionEffect:function(e,t){return jo(4,2,e,t)},useMemo:function(e,t){var r=vo()
return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=vo()
return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Ko.bind(null,oo,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},vo().memoizedState=e},useState:Po,useDebugValue:Vo,useDeferredValue:function(e){return vo().memoizedState=e},useTransition:function(){var e=Po(!1),t=e[0]
return e=qo.bind(null,e[1]),vo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=oo,i=vo()
if(is){if(void 0===r)throw Error(s(407))
r=r()}else{if(r=t(),null===Ol)throw Error(s(349))
30&so||No(n,t,r)}i.memoizedState=r
var o={value:r,getSnapshot:t}
return i.queue=o,Mo(Co.bind(null,n,o,e),[e]),n.flags|=2048,To(9,_o.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=vo(),t=Ol.identifierPrefix
if(is){var r=Yi
t=":"+t+"R"+(r=(Gi&~(1<<32-ot(Gi)-1)).toString(32)+r),0<(r=ho++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=po++).toString(32)+":"
return e.memoizedState=t},unstable_isNewReconciler:!1},ea={readContext:Ps,useCallback:$o,useContext:Ps,useEffect:Bo,useImperativeHandle:Fo,useInsertionEffect:Ro,useLayoutEffect:Lo,useMemo:Uo,useReducer:So,useRef:Io,useState:function(){return So(wo)},useDebugValue:Vo,useDeferredValue:function(e){return Ho(bo(),ao.memoizedState,e)},useTransition:function(){return[So(wo)[0],bo().memoizedState]},useMutableSource:xo,useSyncExternalStore:Eo,useId:Wo,unstable_isNewReconciler:!1},ta={readContext:Ps,useCallback:$o,useContext:Ps,useEffect:Bo,useImperativeHandle:Fo,useInsertionEffect:Ro,useLayoutEffect:Lo,useMemo:Uo,useReducer:ko,useRef:Io,useState:function(){return ko(wo)},useDebugValue:Vo,useDeferredValue:function(e){var t=bo()
return null===ao?t.memoizedState=e:Ho(t,ao.memoizedState,e)},useTransition:function(){return[ko(wo)[0],bo().memoizedState]},useMutableSource:xo,useSyncExternalStore:Eo,useId:Wo,unstable_isNewReconciler:!1}
function ra(e,t){if(e&&e.defaultProps){for(var r in t=R({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r])
return t}return t}function na(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:R({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var ia={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals
var n=ec(),i=tc(e),s=Ls(n,i)
s.payload=t,null!=r&&(s.callback=r),null!==(t=zs(e,s,i))&&(rc(t,e,i,n),Fs(t,e,i))},enqueueReplaceState:function(e,t,r){e=e._reactInternals
var n=ec(),i=tc(e),s=Ls(n,i)
s.tag=1,s.payload=t,null!=r&&(s.callback=r),null!==(t=zs(e,s,i))&&(rc(t,e,i,n),Fs(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals
var r=ec(),n=tc(e),i=Ls(r,n)
i.tag=2,null!=t&&(i.callback=t),null!==(t=zs(e,i,n))&&(rc(t,e,n,r),Fs(t,e,n))}}
function sa(e,t,r,n,i,s,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,s,o):!(t.prototype&&t.prototype.isPureReactComponent&&ln(r,n)&&ln(i,s))}function oa(e,t,r){var n=!1,i=Ci,s=t.contextType
return"object"==typeof s&&null!==s?s=Ps(s):(i=Ii(t)?Pi:Ai.current,s=(n=null!=(n=t.contextTypes))?Ti(e,i):Ci),t=new t(r,s),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ia,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function aa(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&ia.enqueueReplaceState(t,t.state,null)}function la(e,t,r,n){var i=e.stateNode
i.props=r,i.state=e.memoizedState,i.refs={},Bs(e)
var s=t.contextType
"object"==typeof s&&null!==s?i.context=Ps(s):(s=Ii(t)?Pi:Ai.current,i.context=Ti(e,s)),i.state=e.memoizedState,"function"==typeof(s=t.getDerivedStateFromProps)&&(na(e,t,s,r),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ia.enqueueReplaceState(i,i.state,null),$s(e,r,i,n),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function ca(e,t){try{var r="",n=t
do{r+=V(n),n=n.return}while(n)
var i=r}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function ua(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function ha(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var da="function"==typeof WeakMap?WeakMap:Map
function pa(e,t,r){(r=Ls(-1,r)).tag=3,r.payload={element:null}
var n=t.value
return r.callback=function(){Hl||(Hl=!0,ql=n),ha(0,t)},r}function fa(e,t,r){(r=Ls(-1,r)).tag=3
var n=e.type.getDerivedStateFromError
if("function"==typeof n){var i=t.value
r.payload=function(){return n(i)},r.callback=function(){ha(0,t)}}var s=e.stateNode
return null!==s&&"function"==typeof s.componentDidCatch&&(r.callback=function(){ha(0,t),"function"!=typeof n&&(null===Wl?Wl=new Set([this]):Wl.add(this))
var e=t.stack
this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function ma(e,t,r){var n=e.pingCache
if(null===n){n=e.pingCache=new da
var i=new Set
n.set(t,i)}else void 0===(i=n.get(t))&&(i=new Set,n.set(t,i))
i.has(r)||(i.add(r),e=Nc.bind(null,e,t,r),t.then(e,e))}function ga(e){do{var t
if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e
e=e.return}while(null!==e)
return null}function ya(e,t,r,n,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Ls(-1,1)).tag=2,zs(r,t,1))),r.lanes|=1),e)}var va=w.ReactCurrentOwner,ba=!1
function wa(e,t,r,n){t.child=null===e?Ss(t,null,r,n):ws(t,e.child,r,n)}function Sa(e,t,r,n,i){r=r.render
var s=t.ref
return Os(t,i),n=go(e,t,r,n,s,i),r=yo(),null===e||ba?(is&&r&&es(t),t.flags|=1,wa(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ha(e,t,i))}function ka(e,t,r,n,i){if(null===e){var s=r.type
return"function"!=typeof s||Ic(s)||void 0!==s.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Dc(r.type,null,n,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=s,xa(e,t,s,n,i))}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps
if((r=null!==(r=r.compare)?r:ln)(o,n)&&e.ref===t.ref)return Ha(e,t,i)}return t.flags|=1,(e=jc(s,n)).ref=t.ref,e.return=t,t.child=e}function xa(e,t,r,n,i){if(null!==e){var s=e.memoizedProps
if(ln(s,n)&&e.ref===t.ref){if(ba=!1,t.pendingProps=n=s,!(e.lanes&i))return t.lanes=e.lanes,Ha(e,t,i)
131072&e.flags&&(ba=!0)}}return _a(e,t,r,n,i)}function Ea(e,t,r){var n=t.pendingProps,i=n.children,s=null!==e?e.memoizedState:null
if("hidden"===n.mode)if(1&t.mode){if(!(1073741824&r))return e=null!==s?s.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_i(jl,Il),Il|=e,null
t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==s?s.baseLanes:r,_i(jl,Il),Il|=n}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_i(jl,Il),Il|=r
else null!==s?(n=s.baseLanes|r,t.memoizedState=null):n=r,_i(jl,Il),Il|=n
return wa(e,t,i,r),t.child}function Na(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function _a(e,t,r,n,i){var s=Ii(r)?Pi:Ai.current
return s=Ti(t,s),Os(t,i),r=go(e,t,r,n,s,i),n=yo(),null===e||ba?(is&&n&&es(t),t.flags|=1,wa(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ha(e,t,i))}function Ca(e,t,r,n,i){if(Ii(r)){var s=!0
Bi(t)}else s=!1
if(Os(t,i),null===t.stateNode)Ua(e,t),oa(t,r,n),la(t,r,n,i),n=!0
else if(null===e){var o=t.stateNode,a=t.memoizedProps
o.props=a
var l=o.context,c=r.contextType
c="object"==typeof c&&null!==c?Ps(c):Ti(t,c=Ii(r)?Pi:Ai.current)
var u=r.getDerivedStateFromProps,h="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate
h||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==n||l!==c)&&aa(t,o,n,c),Ms=!1
var d=t.memoizedState
o.state=d,$s(t,n,o,i),l=t.memoizedState,a!==n||d!==l||Oi.current||Ms?("function"==typeof u&&(na(t,r,u,n),l=t.memoizedState),(a=Ms||sa(t,r,a,n,d,l,c))?(h||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),o.props=n,o.state=l,o.context=c,n=a):("function"==typeof o.componentDidMount&&(t.flags|=4194308),n=!1)}else{o=t.stateNode,Rs(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:ra(t.type,a),o.props=c,h=t.pendingProps,d=o.context,l="object"==typeof(l=r.contextType)&&null!==l?Ps(l):Ti(t,l=Ii(r)?Pi:Ai.current)
var p=r.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==h||d!==l)&&aa(t,o,n,l),Ms=!1,d=t.memoizedState,o.state=d,$s(t,n,o,i)
var f=t.memoizedState
a!==h||d!==f||Oi.current||Ms?("function"==typeof p&&(na(t,r,p,n),f=t.memoizedState),(c=Ms||sa(t,r,c,n,d,f,l)||!1)?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(n,f,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(n,f,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=f),o.props=n,o.state=f,o.context=l,n=c):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),n=!1)}return Aa(e,t,r,n,s,i)}function Aa(e,t,r,n,i,s){Na(e,t)
var o=!!(128&t.flags)
if(!n&&!o)return i&&Ri(t,r,!1),Ha(e,t,s)
n=t.stateNode,va.current=t
var a=o&&"function"!=typeof r.getDerivedStateFromError?null:n.render()
return t.flags|=1,null!==e&&o?(t.child=ws(t,e.child,null,s),t.child=ws(t,null,a,s)):wa(e,t,a,s),t.memoizedState=n.state,i&&Ri(t,r,!0),t.child}function Oa(e){var t=e.stateNode
t.pendingContext?Di(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Di(0,t.context,!1),Js(e,t.containerInfo)}function Pa(e,t,r,n,i){return ps(),fs(i),t.flags|=256,wa(e,t,r,n),t.child}var Ta,Ia,ja,Da,Ma={dehydrated:null,treeContext:null,retryLane:0}
function Ba(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ra(e,t,r){var n,i=t.pendingProps,o=Qs.current,a=!1,l=!!(128&t.flags)
if((n=l)||(n=(null===e||null!==e.memoizedState)&&!!(2&o)),n?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),_i(Qs,1&o),null===e)return cs(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=i.children,e=i.fallback,a?(i=t.mode,a=t.child,l={mode:"hidden",children:l},1&i||null===a?a=Bc(l,i,0,null):(a.childLanes=0,a.pendingProps=l),e=Mc(e,i,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Ba(r),t.memoizedState=Ma,e):La(t,l))
if(null!==(o=e.memoizedState)&&null!==(n=o.dehydrated))return function(e,t,r,n,i,o,a){if(r)return 256&t.flags?(t.flags&=-257,za(e,t,a,n=ua(Error(s(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=n.fallback,i=t.mode,n=Bc({mode:"visible",children:n.children},i,0,null),(o=Mc(o,i,a,null)).flags|=2,n.return=t,o.return=t,n.sibling=o,t.child=n,1&t.mode&&ws(t,e.child,null,a),t.child.memoizedState=Ba(a),t.memoizedState=Ma,o)
if(!(1&t.mode))return za(e,t,a,null)
if("$!"===i.data){if(n=i.nextSibling&&i.nextSibling.dataset)var l=n.dgst
return n=l,za(e,t,a,n=ua(o=Error(s(419)),n,void 0))}if(l=!!(a&e.childLanes),ba||l){if(null!==(n=Ol)){switch(a&-a){case 4:i=2
break
case 16:i=8
break
case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32
break
case 536870912:i=268435456
break
default:i=0}0!==(i=i&(n.suspendedLanes|a)?0:i)&&i!==o.retryLane&&(o.retryLane=i,Ds(e,i),rc(n,e,i,-1))}return mc(),za(e,t,a,n=ua(Error(s(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Cc.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,ns=ci(i.nextSibling),rs=t,is=!0,ss=null,null!==e&&(Ki[Zi++]=Gi,Ki[Zi++]=Yi,Ki[Zi++]=Ji,Gi=e.id,Yi=e.overflow,Ji=t),(t=La(t,n.children)).flags|=4096,t)}(e,t,l,i,n,o,r)
if(a){a=i.fallback,l=t.mode,n=(o=e.child).sibling
var c={mode:"hidden",children:i.children}
return 1&l||t.child===o?(i=jc(o,c)).subtreeFlags=14680064&o.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null),null!==n?a=jc(n,a):(a=Mc(a,l,r,null)).flags|=2,a.return=t,i.return=t,i.sibling=a,t.child=i,i=a,a=t.child,l=null===(l=e.child.memoizedState)?Ba(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},a.memoizedState=l,a.childLanes=e.childLanes&~r,t.memoizedState=Ma,i}return e=(a=e.child).sibling,i=jc(a,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=r),i.return=t,i.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=i,t.memoizedState=null,i}function La(e,t){return(t=Bc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function za(e,t,r,n){return null!==n&&fs(n),ws(t,e.child,null,r),(e=La(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Fa(e,t,r){e.lanes|=t
var n=e.alternate
null!==n&&(n.lanes|=t),As(e.return,t,r)}function Va(e,t,r,n,i){var s=e.memoizedState
null===s?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=r,s.tailMode=i)}function $a(e,t,r){var n=t.pendingProps,i=n.revealOrder,s=n.tail
if(wa(e,t,n.children,r),2&(n=Qs.current))n=1&n|2,t.flags|=128
else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Fa(e,r,t)
else if(19===e.tag)Fa(e,r,t)
else if(null!==e.child){e.child.return=e,e=e.child
continue}if(e===t)break e
for(;null===e.sibling;){if(null===e.return||e.return===t)break e
e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(_i(Qs,n),1&t.mode)switch(i){case"forwards":for(r=t.child,i=null;null!==r;)null!==(e=r.alternate)&&null===eo(e)&&(i=r),r=r.sibling
null===(r=i)?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Va(t,!1,i,r,s)
break
case"backwards":for(r=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===eo(e)){t.child=i
break}e=i.sibling,i.sibling=r,r=i,i=e}Va(t,!0,r,null,s)
break
case"together":Va(t,!1,null,null,void 0)
break
default:t.memoizedState=null}else t.memoizedState=null
return t.child}function Ua(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ha(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Bl|=t.lanes,!(r&t.childLanes))return null
if(null!==e&&t.child!==e.child)throw Error(s(153))
if(null!==t.child){for(r=jc(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=jc(e,e.pendingProps)).return=t
r.sibling=null}return t.child}function qa(e,t){if(!is)switch(e.tailMode){case"hidden":t=e.tail
for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling
null===r?e.tail=null:r.sibling=null
break
case"collapsed":r=e.tail
for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling
null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Wa(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0
if(t)for(var i=e.child;null!==i;)r|=i.lanes|i.childLanes,n|=14680064&i.subtreeFlags,n|=14680064&i.flags,i.return=e,i=i.sibling
else for(i=e.child;null!==i;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=e,i=i.sibling
return e.subtreeFlags|=n,e.childLanes=r,t}function Ka(e,t,r){var n=t.pendingProps
switch(ts(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Wa(t),null
case 1:case 17:return Ii(t.type)&&ji(),Wa(t),null
case 3:return n=t.stateNode,Gs(),Ni(Oi),Ni(Ai),ro(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(hs(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ss&&(oc(ss),ss=null))),Ia(e,t),Wa(t),null
case 5:Xs(t)
var i=Zs(Ks.current)
if(r=t.type,null!==e&&null!=t.stateNode)ja(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152)
else{if(!n){if(null===t.stateNode)throw Error(s(166))
return Wa(t),null}if(e=Zs(qs.current),hs(t)){n=t.stateNode,r=t.type
var o=t.memoizedProps
switch(n[di]=t,n[pi]=o,e=!!(1&t.mode),r){case"dialog":zn("cancel",n),zn("close",n)
break
case"iframe":case"object":case"embed":zn("load",n)
break
case"video":case"audio":for(i=0;i<Mn.length;i++)zn(Mn[i],n)
break
case"source":zn("error",n)
break
case"img":case"image":case"link":zn("error",n),zn("load",n)
break
case"details":zn("toggle",n)
break
case"input":G(n,o),zn("invalid",n)
break
case"select":n._wrapperState={wasMultiple:!!o.multiple},zn("invalid",n)
break
case"textarea":ie(n,o),zn("invalid",n)}for(var l in ve(r,o),i=null,o)if(o.hasOwnProperty(l)){var c=o[l]
"children"===l?"string"==typeof c?n.textContent!==c&&(!0!==o.suppressHydrationWarning&&Xn(n.textContent,c,e),i=["children",c]):"number"==typeof c&&n.textContent!==""+c&&(!0!==o.suppressHydrationWarning&&Xn(n.textContent,c,e),i=["children",""+c]):a.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&zn("scroll",n)}switch(r){case"input":W(n),Q(n,o,!0)
break
case"textarea":W(n),oe(n)
break
case"select":case"option":break
default:"function"==typeof o.onClick&&(n.onclick=Qn)}n=i,t.updateQueue=n,null!==n&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ae(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),"select"===r&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[di]=t,e[pi]=n,Ta(e,t,!1,!1),t.stateNode=e
e:{switch(l=be(r,n),r){case"dialog":zn("cancel",e),zn("close",e),i=n
break
case"iframe":case"object":case"embed":zn("load",e),i=n
break
case"video":case"audio":for(i=0;i<Mn.length;i++)zn(Mn[i],e)
i=n
break
case"source":zn("error",e),i=n
break
case"img":case"image":case"link":zn("error",e),zn("load",e),i=n
break
case"details":zn("toggle",e),i=n
break
case"input":G(e,n),i=J(e,n),zn("invalid",e)
break
case"option":default:i=n
break
case"select":e._wrapperState={wasMultiple:!!n.multiple},i=R({},n,{value:void 0}),zn("invalid",e)
break
case"textarea":ie(e,n),i=ne(e,n),zn("invalid",e)}for(o in ve(r,i),c=i)if(c.hasOwnProperty(o)){var u=c[o]
"style"===o?ge(e,u):"dangerouslySetInnerHTML"===o?null!=(u=u?u.__html:void 0)&&he(e,u):"children"===o?"string"==typeof u?("textarea"!==r||""!==u)&&de(e,u):"number"==typeof u&&de(e,""+u):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(a.hasOwnProperty(o)?null!=u&&"onScroll"===o&&zn("scroll",e):null!=u&&b(e,o,u,l))}switch(r){case"input":W(e),Q(e,n,!1)
break
case"textarea":W(e),oe(e)
break
case"option":null!=n.value&&e.setAttribute("value",""+H(n.value))
break
case"select":e.multiple=!!n.multiple,null!=(o=n.value)?re(e,!!n.multiple,o,!1):null!=n.defaultValue&&re(e,!!n.multiple,n.defaultValue,!0)
break
default:"function"==typeof i.onClick&&(e.onclick=Qn)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus
break e
case"img":n=!0
break e
default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Wa(t),null
case 6:if(e&&null!=t.stateNode)Da(e,t,e.memoizedProps,n)
else{if("string"!=typeof n&&null===t.stateNode)throw Error(s(166))
if(r=Zs(Ks.current),Zs(qs.current),hs(t)){if(n=t.stateNode,r=t.memoizedProps,n[di]=t,(o=n.nodeValue!==r)&&null!==(e=rs))switch(e.tag){case 3:Xn(n.nodeValue,r,!!(1&e.mode))
break
case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xn(n.nodeValue,r,!!(1&e.mode))}o&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[di]=t,t.stateNode=n}return Wa(t),null
case 13:if(Ni(Qs),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(is&&null!==ns&&1&t.mode&&!(128&t.flags))ds(),ps(),t.flags|=98560,o=!1
else if(o=hs(t),null!==n&&null!==n.dehydrated){if(null===e){if(!o)throw Error(s(318))
if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(s(317))
o[di]=t}else ps(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4
Wa(t),o=!1}else null!==ss&&(oc(ss),ss=null),o=!0
if(!o)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((n=null!==n)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,1&t.mode&&(null===e||1&Qs.current?0===Dl&&(Dl=3):mc())),null!==t.updateQueue&&(t.flags|=4),Wa(t),null)
case 4:return Gs(),Ia(e,t),null===e&&$n(t.stateNode.containerInfo),Wa(t),null
case 10:return Cs(t.type._context),Wa(t),null
case 19:if(Ni(Qs),null===(o=t.memoizedState))return Wa(t),null
if(n=!!(128&t.flags),null===(l=o.rendering))if(n)qa(o,!1)
else{if(0!==Dl||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=eo(e))){for(t.flags|=128,qa(o,!1),null!==(n=l.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)e=n,(o=r).flags&=14680066,null===(l=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling
return _i(Qs,1&Qs.current|2),t.child}e=e.sibling}null!==o.tail&&Ye()>$l&&(t.flags|=128,n=!0,qa(o,!1),t.lanes=4194304)}else{if(!n)if(null!==(e=eo(l))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),qa(o,!0),null===o.tail&&"hidden"===o.tailMode&&!l.alternate&&!is)return Wa(t),null}else 2*Ye()-o.renderingStartTime>$l&&1073741824!==r&&(t.flags|=128,n=!0,qa(o,!1),t.lanes=4194304)
o.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=o.last)?r.sibling=l:t.child=l,o.last=l)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ye(),t.sibling=null,r=Qs.current,_i(Qs,n?1&r|2:1&r),t):(Wa(t),null)
case 22:case 23:return hc(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&1&t.mode?!!(1073741824&Il)&&(Wa(t),6&t.subtreeFlags&&(t.flags|=8192)):Wa(t),null
case 24:case 25:return null}throw Error(s(156,t.tag))}function Za(e,t){switch(ts(t),t.tag){case 1:return Ii(t.type)&&ji(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null
case 3:return Gs(),Ni(Oi),Ni(Ai),ro(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null
case 5:return Xs(t),null
case 13:if(Ni(Qs),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(s(340))
ps()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null
case 19:return Ni(Qs),null
case 4:return Gs(),null
case 10:return Cs(t.type._context),null
case 22:case 23:return hc(),null
default:return null}}Ta=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode)
else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child
continue}if(r===t)break
for(;null===r.sibling;){if(null===r.return||r.return===t)return
r=r.return}r.sibling.return=r.return,r=r.sibling}},Ia=function(){},ja=function(e,t,r,n){var i=e.memoizedProps
if(i!==n){e=t.stateNode,Zs(qs.current)
var s,o=null
switch(r){case"input":i=J(e,i),n=J(e,n),o=[]
break
case"select":i=R({},i,{value:void 0}),n=R({},n,{value:void 0}),o=[]
break
case"textarea":i=ne(e,i),n=ne(e,n),o=[]
break
default:"function"!=typeof i.onClick&&"function"==typeof n.onClick&&(e.onclick=Qn)}for(u in ve(r,n),r=null,i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var l=i[u]
for(s in l)l.hasOwnProperty(s)&&(r||(r={}),r[s]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(a.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null))
for(u in n){var c=n[u]
if(l=null!=i?i[u]:void 0,n.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(s in l)!l.hasOwnProperty(s)||c&&c.hasOwnProperty(s)||(r||(r={}),r[s]="")
for(s in c)c.hasOwnProperty(s)&&l[s]!==c[s]&&(r||(r={}),r[s]=c[s])}else r||(o||(o=[]),o.push(u,r)),r=c
else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(o=o||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(o=o||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(a.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&zn("scroll",e),o||l===c||(o=[])):(o=o||[]).push(u,c))}r&&(o=o||[]).push("style",r)
var u=o;(t.updateQueue=u)&&(t.flags|=4)}},Da=function(e,t,r,n){r!==n&&(t.flags|=4)}
var Ja=!1,Ga=!1,Ya="function"==typeof WeakSet?WeakSet:Set,Xa=null
function Qa(e,t){var r=e.ref
if(null!==r)if("function"==typeof r)try{r(null)}catch(r){Ec(e,t,r)}else r.current=null}function el(e,t,r){try{r()}catch(r){Ec(e,t,r)}}var tl=!1
function rl(e,t,r){var n=t.updateQueue
if(null!==(n=null!==n?n.lastEffect:null)){var i=n=n.next
do{if((i.tag&e)===e){var s=i.destroy
i.destroy=void 0,void 0!==s&&el(t,r,s)}i=i.next}while(i!==n)}}function nl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next
do{if((r.tag&e)===e){var n=r.create
r.destroy=n()}r=r.next}while(r!==t)}}function il(e){var t=e.ref
if(null!==t){var r=e.stateNode
e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function sl(e){var t=e.alternate
null!==t&&(e.alternate=null,sl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[di],delete t[pi],delete t[mi],delete t[gi],delete t[yi]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ol(e){return 5===e.tag||3===e.tag||4===e.tag}function al(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ol(e.return))return null
e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e
if(null===e.child||4===e.tag)continue e
e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,r){var n=e.tag
if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=Qn))
else if(4!==n&&null!==(e=e.child))for(ll(e,t,r),e=e.sibling;null!==e;)ll(e,t,r),e=e.sibling}function cl(e,t,r){var n=e.tag
if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e)
else if(4!==n&&null!==(e=e.child))for(cl(e,t,r),e=e.sibling;null!==e;)cl(e,t,r),e=e.sibling}var ul=null,hl=!1
function dl(e,t,r){for(r=r.child;null!==r;)pl(e,t,r),r=r.sibling}function pl(e,t,r){if(st&&"function"==typeof st.onCommitFiberUnmount)try{st.onCommitFiberUnmount(it,r)}catch(e){}switch(r.tag){case 5:Ga||Qa(r,t)
case 6:var n=ul,i=hl
ul=null,dl(e,t,r),hl=i,null!==(ul=n)&&(hl?(e=ul,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):ul.removeChild(r.stateNode))
break
case 18:null!==ul&&(hl?(e=ul,r=r.stateNode,8===e.nodeType?li(e.parentNode,r):1===e.nodeType&&li(e,r),$t(e)):li(ul,r.stateNode))
break
case 4:n=ul,i=hl,ul=r.stateNode.containerInfo,hl=!0,dl(e,t,r),ul=n,hl=i
break
case 0:case 11:case 14:case 15:if(!Ga&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){i=n=n.next
do{var s=i,o=s.destroy
s=s.tag,void 0!==o&&(2&s||4&s)&&el(r,t,o),i=i.next}while(i!==n)}dl(e,t,r)
break
case 1:if(!Ga&&(Qa(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){Ec(r,t,e)}dl(e,t,r)
break
case 21:dl(e,t,r)
break
case 22:1&r.mode?(Ga=(n=Ga)||null!==r.memoizedState,dl(e,t,r),Ga=n):dl(e,t,r)
break
default:dl(e,t,r)}}function fl(e){var t=e.updateQueue
if(null!==t){e.updateQueue=null
var r=e.stateNode
null===r&&(r=e.stateNode=new Ya),t.forEach((function(t){var n=Ac.bind(null,e,t)
r.has(t)||(r.add(t),t.then(n,n))}))}}function ml(e,t){var r=t.deletions
if(null!==r)for(var n=0;n<r.length;n++){var i=r[n]
try{var o=e,a=t,l=a
e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,hl=!1
break e
case 3:case 4:ul=l.stateNode.containerInfo,hl=!0
break e}l=l.return}if(null===ul)throw Error(s(160))
pl(o,a,i),ul=null,hl=!1
var c=i.alternate
null!==c&&(c.return=null),i.return=null}catch(e){Ec(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var r=e.alternate,n=e.flags
switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),yl(e),4&n){try{rl(3,e,e.return),nl(3,e)}catch(t){Ec(e,e.return,t)}try{rl(5,e,e.return)}catch(t){Ec(e,e.return,t)}}break
case 1:ml(t,e),yl(e),512&n&&null!==r&&Qa(r,r.return)
break
case 5:if(ml(t,e),yl(e),512&n&&null!==r&&Qa(r,r.return),32&e.flags){var i=e.stateNode
try{de(i,"")}catch(t){Ec(e,e.return,t)}}if(4&n&&null!=(i=e.stateNode)){var o=e.memoizedProps,a=null!==r?r.memoizedProps:o,l=e.type,c=e.updateQueue
if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===o.type&&null!=o.name&&Y(i,o),be(l,a)
var u=be(l,o)
for(a=0;a<c.length;a+=2){var h=c[a],d=c[a+1]
"style"===h?ge(i,d):"dangerouslySetInnerHTML"===h?he(i,d):"children"===h?de(i,d):b(i,h,d,u)}switch(l){case"input":X(i,o)
break
case"textarea":se(i,o)
break
case"select":var p=i._wrapperState.wasMultiple
i._wrapperState.wasMultiple=!!o.multiple
var f=o.value
null!=f?re(i,!!o.multiple,f,!1):p!==!!o.multiple&&(null!=o.defaultValue?re(i,!!o.multiple,o.defaultValue,!0):re(i,!!o.multiple,o.multiple?[]:"",!1))}i[pi]=o}catch(t){Ec(e,e.return,t)}}break
case 6:if(ml(t,e),yl(e),4&n){if(null===e.stateNode)throw Error(s(162))
i=e.stateNode,o=e.memoizedProps
try{i.nodeValue=o}catch(t){Ec(e,e.return,t)}}break
case 3:if(ml(t,e),yl(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{$t(t.containerInfo)}catch(t){Ec(e,e.return,t)}break
case 4:default:ml(t,e),yl(e)
break
case 13:ml(t,e),yl(e),8192&(i=e.child).flags&&(o=null!==i.memoizedState,i.stateNode.isHidden=o,!o||null!==i.alternate&&null!==i.alternate.memoizedState||(Vl=Ye())),4&n&&fl(e)
break
case 22:if(h=null!==r&&null!==r.memoizedState,1&e.mode?(Ga=(u=Ga)||h,ml(t,e),Ga=u):ml(t,e),yl(e),8192&n){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!h&&1&e.mode)for(Xa=e,h=e.child;null!==h;){for(d=Xa=h;null!==Xa;){switch(f=(p=Xa).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return)
break
case 1:Qa(p,p.return)
var m=p.stateNode
if("function"==typeof m.componentWillUnmount){n=p,r=p.return
try{t=n,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Ec(n,r,e)}}break
case 5:Qa(p,p.return)
break
case 22:if(null!==p.memoizedState){Sl(d)
continue}}null!==f?(f.return=p,Xa=f):Sl(d)}h=h.sibling}e:for(h=null,d=e;;){if(5===d.tag){if(null===h){h=d
try{i=d.stateNode,u?"function"==typeof(o=i.style).setProperty?o.setProperty("display","none","important"):o.display="none":(l=d.stateNode,a=null!=(c=d.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",a))}catch(t){Ec(e,e.return,t)}}}else if(6===d.tag){if(null===h)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(t){Ec(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child
continue}if(d===e)break e
for(;null===d.sibling;){if(null===d.return||d.return===e)break e
h===d&&(h=null),d=d.return}h===d&&(h=null),d.sibling.return=d.return,d=d.sibling}}break
case 19:ml(t,e),yl(e),4&n&&fl(e)
case 21:}}function yl(e){var t=e.flags
if(2&t){try{e:{for(var r=e.return;null!==r;){if(ol(r)){var n=r
break e}r=r.return}throw Error(s(160))}switch(n.tag){case 5:var i=n.stateNode
32&n.flags&&(de(i,""),n.flags&=-33),cl(e,al(e),i)
break
case 3:case 4:var o=n.stateNode.containerInfo
ll(e,al(e),o)
break
default:throw Error(s(161))}}catch(t){Ec(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,r){Xa=e,bl(e,t,r)}function bl(e,t,r){for(var n=!!(1&e.mode);null!==Xa;){var i=Xa,s=i.child
if(22===i.tag&&n){var o=null!==i.memoizedState||Ja
if(!o){var a=i.alternate,l=null!==a&&null!==a.memoizedState||Ga
a=Ja
var c=Ga
if(Ja=o,(Ga=l)&&!c)for(Xa=i;null!==Xa;)l=(o=Xa).child,22===o.tag&&null!==o.memoizedState?kl(i):null!==l?(l.return=o,Xa=l):kl(i)
for(;null!==s;)Xa=s,bl(s,t,r),s=s.sibling
Xa=i,Ja=a,Ga=c}wl(e)}else 8772&i.subtreeFlags&&null!==s?(s.return=i,Xa=s):wl(e)}}function wl(e){for(;null!==Xa;){var t=Xa
if(8772&t.flags){var r=t.alternate
try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Ga||nl(5,t)
break
case 1:var n=t.stateNode
if(4&t.flags&&!Ga)if(null===r)n.componentDidMount()
else{var i=t.elementType===t.type?r.memoizedProps:ra(t.type,r.memoizedProps)
n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue
null!==o&&Us(t,o,n)
break
case 3:var a=t.updateQueue
if(null!==a){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Us(t,a,r)}break
case 5:var l=t.stateNode
if(null===r&&4&t.flags){r=l
var c=t.memoizedProps
switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus()
break
case"img":c.src&&(r.src=c.src)}}break
case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break
case 13:if(null===t.memoizedState){var u=t.alternate
if(null!==u){var h=u.memoizedState
if(null!==h){var d=h.dehydrated
null!==d&&$t(d)}}}break
default:throw Error(s(163))}Ga||512&t.flags&&il(t)}catch(e){Ec(t,t.return,e)}}if(t===e){Xa=null
break}if(null!==(r=t.sibling)){r.return=t.return,Xa=r
break}Xa=t.return}}function Sl(e){for(;null!==Xa;){var t=Xa
if(t===e){Xa=null
break}var r=t.sibling
if(null!==r){r.return=t.return,Xa=r
break}Xa=t.return}}function kl(e){for(;null!==Xa;){var t=Xa
try{switch(t.tag){case 0:case 11:case 15:var r=t.return
try{nl(4,t)}catch(e){Ec(t,r,e)}break
case 1:var n=t.stateNode
if("function"==typeof n.componentDidMount){var i=t.return
try{n.componentDidMount()}catch(e){Ec(t,i,e)}}var s=t.return
try{il(t)}catch(e){Ec(t,s,e)}break
case 5:var o=t.return
try{il(t)}catch(e){Ec(t,o,e)}}}catch(e){Ec(t,t.return,e)}if(t===e){Xa=null
break}var a=t.sibling
if(null!==a){a.return=t.return,Xa=a
break}Xa=t.return}}var xl,El=Math.ceil,Nl=w.ReactCurrentDispatcher,_l=w.ReactCurrentOwner,Cl=w.ReactCurrentBatchConfig,Al=0,Ol=null,Pl=null,Tl=0,Il=0,jl=Ei(0),Dl=0,Ml=null,Bl=0,Rl=0,Ll=0,zl=null,Fl=null,Vl=0,$l=1/0,Ul=null,Hl=!1,ql=null,Wl=null,Kl=!1,Zl=null,Jl=0,Gl=0,Yl=null,Xl=-1,Ql=0
function ec(){return 6&Al?Ye():-1!==Xl?Xl:Xl=Ye()}function tc(e){return 1&e.mode?2&Al&&0!==Tl?Tl&-Tl:null!==ms.transition?(0===Ql&&(Ql=mt()),Ql):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Gt(e.type):1}function rc(e,t,r,n){if(50<Gl)throw Gl=0,Yl=null,Error(s(185))
yt(e,r,n),2&Al&&e===Ol||(e===Ol&&(!(2&Al)&&(Rl|=r),4===Dl&&ac(e,Tl)),nc(e,n),1===r&&0===Al&&!(1&t.mode)&&($l=Ye()+500,zi&&$i()))}function nc(e,t){var r=e.callbackNode
!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-ot(s),a=1<<o,l=i[o];-1===l?a&r&&!(a&n)||(i[o]=pt(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}(e,t)
var n=dt(e,e===Ol?Tl:0)
if(0===n)null!==r&&Ze(r),e.callbackNode=null,e.callbackPriority=0
else if(t=n&-n,e.callbackPriority!==t){if(null!=r&&Ze(r),1===t)0===e.tag?function(e){zi=!0,Vi(e)}(lc.bind(null,e)):Vi(lc.bind(null,e)),oi((function(){!(6&Al)&&$i()})),r=null
else{switch(wt(n)){case 1:r=Qe
break
case 4:r=et
break
case 16:default:r=tt
break
case 536870912:r=nt}r=Oc(r,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function ic(e,t){if(Xl=-1,Ql=0,6&Al)throw Error(s(327))
var r=e.callbackNode
if(kc()&&e.callbackNode!==r)return null
var n=dt(e,e===Ol?Tl:0)
if(0===n)return null
if(30&n||n&e.expiredLanes||t)t=gc(e,n)
else{t=n
var i=Al
Al|=2
var o=fc()
for(Ol===e&&Tl===t||(Ul=null,$l=Ye()+500,dc(e,t));;)try{vc()
break}catch(t){pc(e,t)}_s(),Nl.current=o,Al=i,null!==Pl?t=0:(Ol=null,Tl=0,t=Dl)}if(0!==t){if(2===t&&0!==(i=ft(e))&&(n=i,t=sc(e,i)),1===t)throw r=Ml,dc(e,0),ac(e,n),nc(e,Ye()),r
if(6===t)ac(e,n)
else{if(i=e.current.alternate,!(30&n||function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue
if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var i=r[n],s=i.getSnapshot
i=i.value
try{if(!an(s(),i))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r
else{if(t===e)break
for(;null===t.sibling;){if(null===t.return||t.return===e)return!0
t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=gc(e,n),2===t&&(o=ft(e),0!==o&&(n=o,t=sc(e,o))),1!==t)))throw r=Ml,dc(e,0),ac(e,n),nc(e,Ye()),r
switch(e.finishedWork=i,e.finishedLanes=n,t){case 0:case 1:throw Error(s(345))
case 2:case 5:Sc(e,Fl,Ul)
break
case 3:if(ac(e,n),(130023424&n)===n&&10<(t=Vl+500-Ye())){if(0!==dt(e,0))break
if(((i=e.suspendedLanes)&n)!==n){ec(),e.pingedLanes|=e.suspendedLanes&i
break}e.timeoutHandle=ni(Sc.bind(null,e,Fl,Ul),t)
break}Sc(e,Fl,Ul)
break
case 4:if(ac(e,n),(4194240&n)===n)break
for(t=e.eventTimes,i=-1;0<n;){var a=31-ot(n)
o=1<<a,(a=t[a])>i&&(i=a),n&=~o}if(n=i,10<(n=(120>(n=Ye()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*El(n/1960))-n)){e.timeoutHandle=ni(Sc.bind(null,e,Fl,Ul),n)
break}Sc(e,Fl,Ul)
break
default:throw Error(s(329))}}}return nc(e,Ye()),e.callbackNode===r?ic.bind(null,e):null}function sc(e,t){var r=zl
return e.current.memoizedState.isDehydrated&&(dc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Fl,Fl=r,null!==t&&oc(t)),e}function oc(e){null===Fl?Fl=e:Fl.push.apply(Fl,e)}function ac(e,t){for(t&=~Ll,t&=~Rl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-ot(t),n=1<<r
e[r]=-1,t&=~n}}function lc(e){if(6&Al)throw Error(s(327))
kc()
var t=dt(e,0)
if(!(1&t))return nc(e,Ye()),null
var r=gc(e,t)
if(0!==e.tag&&2===r){var n=ft(e)
0!==n&&(t=n,r=sc(e,n))}if(1===r)throw r=Ml,dc(e,0),ac(e,t),nc(e,Ye()),r
if(6===r)throw Error(s(345))
return e.finishedWork=e.current.alternate,e.finishedLanes=t,Sc(e,Fl,Ul),nc(e,Ye()),null}function cc(e,t){var r=Al
Al|=1
try{return e(t)}finally{0===(Al=r)&&($l=Ye()+500,zi&&$i())}}function uc(e){null!==Zl&&0===Zl.tag&&!(6&Al)&&kc()
var t=Al
Al|=1
var r=Cl.transition,n=bt
try{if(Cl.transition=null,bt=1,e)return e()}finally{bt=n,Cl.transition=r,!(6&(Al=t))&&$i()}}function hc(){Il=jl.current,Ni(jl)}function dc(e,t){e.finishedWork=null,e.finishedLanes=0
var r=e.timeoutHandle
if(-1!==r&&(e.timeoutHandle=-1,ii(r)),null!==Pl)for(r=Pl.return;null!==r;){var n=r
switch(ts(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&ji()
break
case 3:Gs(),Ni(Oi),Ni(Ai),ro()
break
case 5:Xs(n)
break
case 4:Gs()
break
case 13:case 19:Ni(Qs)
break
case 10:Cs(n.type._context)
break
case 22:case 23:hc()}r=r.return}if(Ol=e,Pl=e=jc(e.current,null),Tl=Il=t,Dl=0,Ml=null,Ll=Rl=Bl=0,Fl=zl=null,null!==Ts){for(t=0;t<Ts.length;t++)if(null!==(n=(r=Ts[t]).interleaved)){r.interleaved=null
var i=n.next,s=r.pending
if(null!==s){var o=s.next
s.next=i,n.next=o}r.pending=n}Ts=null}return e}function pc(e,t){for(;;){var r=Pl
try{if(_s(),no.current=Xo,co){for(var n=oo.memoizedState;null!==n;){var i=n.queue
null!==i&&(i.pending=null),n=n.next}co=!1}if(so=0,lo=ao=oo=null,uo=!1,ho=0,_l.current=null,null===r||null===r.return){Dl=1,Ml=t,Pl=null
break}e:{var o=e,a=r.return,l=r,c=t
if(t=Tl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,h=l,d=h.tag
if(!(1&h.mode||0!==d&&11!==d&&15!==d)){var p=h.alternate
p?(h.updateQueue=p.updateQueue,h.memoizedState=p.memoizedState,h.lanes=p.lanes):(h.updateQueue=null,h.memoizedState=null)}var f=ga(a)
if(null!==f){f.flags&=-257,ya(f,a,l,0,t),1&f.mode&&ma(o,u,t),c=u
var m=(t=f).updateQueue
if(null===m){var g=new Set
g.add(c),t.updateQueue=g}else m.add(c)
break e}if(!(1&t)){ma(o,u,t),mc()
break e}c=Error(s(426))}else if(is&&1&l.mode){var y=ga(a)
if(null!==y){!(65536&y.flags)&&(y.flags|=256),ya(y,a,l,0,t),fs(ca(c,l))
break e}}o=c=ca(c,l),4!==Dl&&(Dl=2),null===zl?zl=[o]:zl.push(o),o=a
do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,Vs(o,pa(0,c,t))
break e
case 1:l=c
var v=o.type,b=o.stateNode
if(!(128&o.flags||"function"!=typeof v.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Wl&&Wl.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t,Vs(o,fa(o,l,t))
break e}}o=o.return}while(null!==o)}wc(r)}catch(e){t=e,Pl===r&&null!==r&&(Pl=r=r.return)
continue}break}}function fc(){var e=Nl.current
return Nl.current=Xo,null===e?Xo:e}function mc(){0!==Dl&&3!==Dl&&2!==Dl||(Dl=4),null===Ol||!(268435455&Bl)&&!(268435455&Rl)||ac(Ol,Tl)}function gc(e,t){var r=Al
Al|=2
var n=fc()
for(Ol===e&&Tl===t||(Ul=null,dc(e,t));;)try{yc()
break}catch(t){pc(e,t)}if(_s(),Al=r,Nl.current=n,null!==Pl)throw Error(s(261))
return Ol=null,Tl=0,Dl}function yc(){for(;null!==Pl;)bc(Pl)}function vc(){for(;null!==Pl&&!Je();)bc(Pl)}function bc(e){var t=xl(e.alternate,e,Il)
e.memoizedProps=e.pendingProps,null===t?wc(e):Pl=t,_l.current=null}function wc(e){var t=e
do{var r=t.alternate
if(e=t.return,32768&t.flags){if(null!==(r=Za(r,t)))return r.flags&=32767,void(Pl=r)
if(null===e)return Dl=6,void(Pl=null)
e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(r=Ka(r,t,Il)))return void(Pl=r)
if(null!==(t=t.sibling))return void(Pl=t)
Pl=t=e}while(null!==t)
0===Dl&&(Dl=5)}function Sc(e,t,r){var n=bt,i=Cl.transition
try{Cl.transition=null,bt=1,function(e,t,r,n){do{kc()}while(null!==Zl)
if(6&Al)throw Error(s(327))
r=e.finishedWork
var i=e.finishedLanes
if(null===r)return null
if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(s(177))
e.callbackNode=null,e.callbackPriority=0
var o=r.lanes|r.childLanes
if(function(e,t){var r=e.pendingLanes&~t
e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements
var n=e.eventTimes
for(e=e.expirationTimes;0<r;){var i=31-ot(r),s=1<<i
t[i]=0,n[i]=-1,e[i]=-1,r&=~s}}(e,o),e===Ol&&(Pl=Ol=null,Tl=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||Kl||(Kl=!0,Oc(tt,(function(){return kc(),null}))),o=!!(15990&r.flags),15990&r.subtreeFlags||o){o=Cl.transition,Cl.transition=null
var a=bt
bt=1
var l=Al
Al|=4,_l.current=null,function(e,t){if(ei=Ht,pn(e=dn())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd}
else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection()
if(n&&0!==n.rangeCount){r=n.anchorNode
var i=n.anchorOffset,o=n.focusNode
n=n.focusOffset
try{r.nodeType,o.nodeType}catch(e){r=null
break e}var a=0,l=-1,c=-1,u=0,h=0,d=e,p=null
t:for(;;){for(var f;d!==r||0!==i&&3!==d.nodeType||(l=a+i),d!==o||0!==n&&3!==d.nodeType||(c=a+n),3===d.nodeType&&(a+=d.nodeValue.length),null!==(f=d.firstChild);)p=d,d=f
for(;;){if(d===e)break t
if(p===r&&++u===i&&(l=a),p===o&&++h===n&&(c=a),null!==(f=d.nextSibling))break
p=(d=p).parentNode}d=f}r=-1===l||-1===c?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null
for(ti={focusedElem:e,selectionRange:r},Ht=!1,Xa=t;null!==Xa;)if(e=(t=Xa).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xa=e
else for(;null!==Xa;){t=Xa
try{var m=t.alternate
if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break
case 1:if(null!==m){var g=m.memoizedProps,y=m.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:ra(t.type,g),y)
v.__reactInternalSnapshotBeforeUpdate=b}break
case 3:var w=t.stateNode.containerInfo
1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement)
break
default:throw Error(s(163))}}catch(e){Ec(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Xa=e
break}Xa=t.return}m=tl,tl=!1}(e,r),gl(r,e),fn(ti),Ht=!!ei,ti=ei=null,e.current=r,vl(r,e,i),Ge(),Al=l,bt=a,Cl.transition=o}else e.current=r
if(Kl&&(Kl=!1,Zl=e,Jl=i),0===(o=e.pendingLanes)&&(Wl=null),function(e){if(st&&"function"==typeof st.onCommitFiberRoot)try{st.onCommitFiberRoot(it,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),nc(e,Ye()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n((i=t[r]).value,{componentStack:i.stack,digest:i.digest})
if(Hl)throw Hl=!1,e=ql,ql=null,e
!!(1&Jl)&&0!==e.tag&&kc(),1&(o=e.pendingLanes)?e===Yl?Gl++:(Gl=0,Yl=e):Gl=0,$i()}(e,t,r,n)}finally{Cl.transition=i,bt=n}return null}function kc(){if(null!==Zl){var e=wt(Jl),t=Cl.transition,r=bt
try{if(Cl.transition=null,bt=16>e?16:e,null===Zl)var n=!1
else{if(e=Zl,Zl=null,Jl=0,6&Al)throw Error(s(331))
var i=Al
for(Al|=4,Xa=e.current;null!==Xa;){var o=Xa,a=o.child
if(16&Xa.flags){var l=o.deletions
if(null!==l){for(var c=0;c<l.length;c++){var u=l[c]
for(Xa=u;null!==Xa;){var h=Xa
switch(h.tag){case 0:case 11:case 15:rl(8,h,o)}var d=h.child
if(null!==d)d.return=h,Xa=d
else for(;null!==Xa;){var p=(h=Xa).sibling,f=h.return
if(sl(h),h===u){Xa=null
break}if(null!==p){p.return=f,Xa=p
break}Xa=f}}}var m=o.alternate
if(null!==m){var g=m.child
if(null!==g){m.child=null
do{var y=g.sibling
g.sibling=null,g=y}while(null!==g)}}Xa=o}}if(2064&o.subtreeFlags&&null!==a)a.return=o,Xa=a
else e:for(;null!==Xa;){if(2048&(o=Xa).flags)switch(o.tag){case 0:case 11:case 15:rl(9,o,o.return)}var v=o.sibling
if(null!==v){v.return=o.return,Xa=v
break e}Xa=o.return}}var b=e.current
for(Xa=b;null!==Xa;){var w=(a=Xa).child
if(2064&a.subtreeFlags&&null!==w)w.return=a,Xa=w
else e:for(a=b;null!==Xa;){if(2048&(l=Xa).flags)try{switch(l.tag){case 0:case 11:case 15:nl(9,l)}}catch(e){Ec(l,l.return,e)}if(l===a){Xa=null
break e}var S=l.sibling
if(null!==S){S.return=l.return,Xa=S
break e}Xa=l.return}}if(Al=i,$i(),st&&"function"==typeof st.onPostCommitFiberRoot)try{st.onPostCommitFiberRoot(it,e)}catch(e){}n=!0}return n}finally{bt=r,Cl.transition=t}}return!1}function xc(e,t,r){e=zs(e,t=pa(0,t=ca(r,t),1),1),t=ec(),null!==e&&(yt(e,1,t),nc(e,t))}function Ec(e,t,r){if(3===e.tag)xc(e,e,r)
else for(;null!==t;){if(3===t.tag){xc(t,e,r)
break}if(1===t.tag){var n=t.stateNode
if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Wl||!Wl.has(n))){t=zs(t,e=fa(t,e=ca(r,e),1),1),e=ec(),null!==t&&(yt(t,1,e),nc(t,e))
break}}t=t.return}}function Nc(e,t,r){var n=e.pingCache
null!==n&&n.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&r,Ol===e&&(Tl&r)===r&&(4===Dl||3===Dl&&(130023424&Tl)===Tl&&500>Ye()-Vl?dc(e,0):Ll|=r),nc(e,t)}function _c(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1)
var r=ec()
null!==(e=Ds(e,t))&&(yt(e,t,r),nc(e,r))}function Cc(e){var t=e.memoizedState,r=0
null!==t&&(r=t.retryLane),_c(e,r)}function Ac(e,t){var r=0
switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState
null!==i&&(r=i.retryLane)
break
case 19:n=e.stateNode
break
default:throw Error(s(314))}null!==n&&n.delete(t),_c(e,r)}function Oc(e,t){return Ke(e,t)}function Pc(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tc(e,t,r,n){return new Pc(e,t,r,n)}function Ic(e){return!(!(e=e.prototype)||!e.isReactComponent)}function jc(e,t){var r=e.alternate
return null===r?((r=Tc(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Dc(e,t,r,n,i,o){var a=2
if(n=e,"function"==typeof e)Ic(e)&&(a=1)
else if("string"==typeof e)a=5
else e:switch(e){case x:return Mc(r.children,i,o,t)
case E:a=8,i|=8
break
case N:return(e=Tc(12,r,t,2|i)).elementType=N,e.lanes=o,e
case O:return(e=Tc(13,r,t,i)).elementType=O,e.lanes=o,e
case P:return(e=Tc(19,r,t,i)).elementType=P,e.lanes=o,e
case j:return Bc(r,i,o,t)
default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:a=10
break e
case C:a=9
break e
case A:a=11
break e
case T:a=14
break e
case I:a=16,n=null
break e}throw Error(s(130,null==e?e:typeof e,""))}return(t=Tc(a,r,t,i)).elementType=e,t.type=n,t.lanes=o,t}function Mc(e,t,r,n){return(e=Tc(7,e,n,t)).lanes=r,e}function Bc(e,t,r,n){return(e=Tc(22,e,n,t)).elementType=j,e.lanes=r,e.stateNode={isHidden:!1},e}function Rc(e,t,r){return(e=Tc(6,e,null,t)).lanes=r,e}function Lc(e,t,r){return(t=Tc(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zc(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Fc(e,t,r,n,i,s,o,a,l){return e=new zc(e,t,r,a,l),1===t?(t=1,!0===s&&(t|=8)):t=0,s=Tc(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bs(s),e}function Vc(e){if(!e)return Ci
e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(s(170))
var t=e
do{switch(t.tag){case 3:t=t.stateNode.context
break e
case 1:if(Ii(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext
break e}}t=t.return}while(null!==t)
throw Error(s(171))}if(1===e.tag){var r=e.type
if(Ii(r))return Mi(e,r,t)}return t}function $c(e,t,r,n,i,s,o,a,l){return(e=Fc(r,n,!0,e,0,s,0,a,l)).context=Vc(null),r=e.current,(s=Ls(n=ec(),i=tc(r))).callback=null!=t?t:null,zs(r,s,i),e.current.lanes=i,yt(e,i,n),nc(e,n),e}function Uc(e,t,r,n){var i=t.current,s=ec(),o=tc(i)
return r=Vc(r),null===t.context?t.context=r:t.pendingContext=r,(t=Ls(s,o)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=zs(i,t,o))&&(rc(e,i,o,s),Fs(e,i,o)),o}function Hc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane
e.retryLane=0!==r&&r<t?r:t}}function Wc(e,t){qc(e,t),(e=e.alternate)&&qc(e,t)}xl=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Oi.current)ba=!0
else{if(!(e.lanes&r||128&t.flags))return ba=!1,function(e,t,r){switch(t.tag){case 3:Oa(t),ps()
break
case 5:Ys(t)
break
case 1:Ii(t.type)&&Bi(t)
break
case 4:Js(t,t.stateNode.containerInfo)
break
case 10:var n=t.type._context,i=t.memoizedProps.value
_i(ks,n._currentValue),n._currentValue=i
break
case 13:if(null!==(n=t.memoizedState))return null!==n.dehydrated?(_i(Qs,1&Qs.current),t.flags|=128,null):r&t.child.childLanes?Ra(e,t,r):(_i(Qs,1&Qs.current),null!==(e=Ha(e,t,r))?e.sibling:null)
_i(Qs,1&Qs.current)
break
case 19:if(n=!!(r&t.childLanes),128&e.flags){if(n)return $a(e,t,r)
t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),_i(Qs,Qs.current),n)break
return null
case 22:case 23:return t.lanes=0,Ea(e,t,r)}return Ha(e,t,r)}(e,t,r)
ba=!!(131072&e.flags)}else ba=!1,is&&1048576&t.flags&&Qi(t,Wi,t.index)
switch(t.lanes=0,t.tag){case 2:var n=t.type
Ua(e,t),e=t.pendingProps
var i=Ti(t,Ai.current)
Os(t,r),i=go(null,t,n,e,i,r)
var o=yo()
return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ii(n)?(o=!0,Bi(t)):o=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Bs(t),i.updater=ia,t.stateNode=i,i._reactInternals=t,la(t,n,e,r),t=Aa(null,t,n,!0,o,r)):(t.tag=0,is&&o&&es(t),wa(null,t,i,r),t=t.child),t
case 16:n=t.elementType
e:{switch(Ua(e,t),e=t.pendingProps,n=(i=n._init)(n._payload),t.type=n,i=t.tag=function(e){if("function"==typeof e)return Ic(e)?1:0
if(null!=e){if((e=e.$$typeof)===A)return 11
if(e===T)return 14}return 2}(n),e=ra(n,e),i){case 0:t=_a(null,t,n,e,r)
break e
case 1:t=Ca(null,t,n,e,r)
break e
case 11:t=Sa(null,t,n,e,r)
break e
case 14:t=ka(null,t,n,ra(n.type,e),r)
break e}throw Error(s(306,n,""))}return t
case 0:return n=t.type,i=t.pendingProps,_a(e,t,n,i=t.elementType===n?i:ra(n,i),r)
case 1:return n=t.type,i=t.pendingProps,Ca(e,t,n,i=t.elementType===n?i:ra(n,i),r)
case 3:e:{if(Oa(t),null===e)throw Error(s(387))
n=t.pendingProps,i=(o=t.memoizedState).element,Rs(e,t),$s(t,n,null,r)
var a=t.memoizedState
if(n=a.element,o.isDehydrated){if(o={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Pa(e,t,n,r,i=ca(Error(s(423)),t))
break e}if(n!==i){t=Pa(e,t,n,r,i=ca(Error(s(424)),t))
break e}for(ns=ci(t.stateNode.containerInfo.firstChild),rs=t,is=!0,ss=null,r=Ss(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(ps(),n===i){t=Ha(e,t,r)
break e}wa(e,t,n,r)}t=t.child}return t
case 5:return Ys(t),null===e&&cs(t),n=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,a=i.children,ri(n,i)?a=null:null!==o&&ri(n,o)&&(t.flags|=32),Na(e,t),wa(e,t,a,r),t.child
case 6:return null===e&&cs(t),null
case 13:return Ra(e,t,r)
case 4:return Js(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=ws(t,null,n,r):wa(e,t,n,r),t.child
case 11:return n=t.type,i=t.pendingProps,Sa(e,t,n,i=t.elementType===n?i:ra(n,i),r)
case 7:return wa(e,t,t.pendingProps,r),t.child
case 8:case 12:return wa(e,t,t.pendingProps.children,r),t.child
case 10:e:{if(n=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,_i(ks,n._currentValue),n._currentValue=a,null!==o)if(an(o.value,a)){if(o.children===i.children&&!Oi.current){t=Ha(e,t,r)
break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies
if(null!==l){a=o.child
for(var c=l.firstContext;null!==c;){if(c.context===n){if(1===o.tag){(c=Ls(-1,r&-r)).tag=2
var u=o.updateQueue
if(null!==u){var h=(u=u.shared).pending
null===h?c.next=c:(c.next=h.next,h.next=c),u.pending=c}}o.lanes|=r,null!==(c=o.alternate)&&(c.lanes|=r),As(o.return,r,t),l.lanes|=r
break}c=c.next}}else if(10===o.tag)a=o.type===t.type?null:o.child
else if(18===o.tag){if(null===(a=o.return))throw Error(s(341))
a.lanes|=r,null!==(l=a.alternate)&&(l.lanes|=r),As(a,r,t),a=o.sibling}else a=o.child
if(null!==a)a.return=o
else for(a=o;null!==a;){if(a===t){a=null
break}if(null!==(o=a.sibling)){o.return=a.return,a=o
break}a=a.return}o=a}wa(e,t,i.children,r),t=t.child}return t
case 9:return i=t.type,n=t.pendingProps.children,Os(t,r),n=n(i=Ps(i)),t.flags|=1,wa(e,t,n,r),t.child
case 14:return i=ra(n=t.type,t.pendingProps),ka(e,t,n,i=ra(n.type,i),r)
case 15:return xa(e,t,t.type,t.pendingProps,r)
case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:ra(n,i),Ua(e,t),t.tag=1,Ii(n)?(e=!0,Bi(t)):e=!1,Os(t,r),oa(t,n,i),la(t,n,i,r),Aa(null,t,n,!0,e,r)
case 19:return $a(e,t,r)
case 22:return Ea(e,t,r)}throw Error(s(156,t.tag))}
var Kc="function"==typeof reportError?reportError:function(e){console.error(e)}
function Zc(e){this._internalRoot=e}function Jc(e){this._internalRoot=e}function Gc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function Qc(e,t,r,n,i){var s=r._reactRootContainer
if(s){var o=s
if("function"==typeof i){var a=i
i=function(){var e=Hc(o)
a.call(e)}}Uc(t,o,e,i)}else o=function(e,t,r,n,i){if(i){if("function"==typeof n){var s=n
n=function(){var e=Hc(o)
s.call(e)}}var o=$c(t,n,e,0,null,!1,0,"",Xc)
return e._reactRootContainer=o,e[fi]=o.current,$n(8===e.nodeType?e.parentNode:e),uc(),o}for(;i=e.lastChild;)e.removeChild(i)
if("function"==typeof n){var a=n
n=function(){var e=Hc(l)
a.call(e)}}var l=Fc(e,0,!1,null,0,!1,0,"",Xc)
return e._reactRootContainer=l,e[fi]=l.current,$n(8===e.nodeType?e.parentNode:e),uc((function(){Uc(t,l,r,n)})),l}(r,t,e,i,n)
return Hc(o)}Jc.prototype.render=Zc.prototype.render=function(e){var t=this._internalRoot
if(null===t)throw Error(s(409))
Uc(e,t,null,null)},Jc.prototype.unmount=Zc.prototype.unmount=function(){var e=this._internalRoot
if(null!==e){this._internalRoot=null
var t=e.containerInfo
uc((function(){Uc(null,e,null,null)})),t[fi]=null}},Jc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et()
e={blockedOn:null,target:e,priority:t}
for(var r=0;r<jt.length&&0!==t&&t<jt[r].priority;r++);jt.splice(r,0,e),0===r&&Rt(e)}},St=function(e){switch(e.tag){case 3:var t=e.stateNode
if(t.current.memoizedState.isDehydrated){var r=ht(t.pendingLanes)
0!==r&&(vt(t,1|r),nc(t,Ye()),!(6&Al)&&($l=Ye()+500,$i()))}break
case 13:uc((function(){var t=Ds(e,1)
if(null!==t){var r=ec()
rc(t,e,1,r)}})),Wc(e,1)}},kt=function(e){if(13===e.tag){var t=Ds(e,134217728)
null!==t&&rc(t,e,134217728,ec()),Wc(e,134217728)}},xt=function(e){if(13===e.tag){var t=tc(e),r=Ds(e,t)
null!==r&&rc(r,e,t,ec()),Wc(e,t)}},Et=function(){return bt},Nt=function(e,t){var r=bt
try{return bt=e,t()}finally{bt=r}},ke=function(e,t,r){switch(t){case"input":if(X(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode
for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t]
if(n!==e&&n.form===e.form){var i=Si(n)
if(!i)throw Error(s(90))
K(n),X(n,i)}}}break
case"textarea":se(e,r)
break
case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},Ae=cc,Oe=uc
var eu={usingClientEntryPoint:!1,Events:[bi,wi,Si,_e,Ce,cc]},tu={findFiberByHostInstance:vi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ru={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=qe(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"}
if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var nu=__REACT_DEVTOOLS_GLOBAL_HOOK__
if(!nu.isDisabled&&nu.supportsFiber)try{it=nu.inject(ru),st=nu}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null
if(!Gc(t))throw Error(s(200))
return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null
return{$$typeof:k,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},t.createRoot=function(e,t){if(!Gc(e))throw Error(s(299))
var r=!1,n="",i=Kc
return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Fc(e,1,!1,null,0,r,0,n,i),e[fi]=t.current,$n(8===e.nodeType?e.parentNode:e),new Zc(t)},t.findDOMNode=function(e){if(null==e)return null
if(1===e.nodeType)return e
var t=e._reactInternals
if(void 0===t){if("function"==typeof e.render)throw Error(s(188))
throw e=Object.keys(e).join(","),Error(s(268,e))}return null===(e=qe(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,r){if(!Yc(t))throw Error(s(200))
return Qc(null,e,t,!0,r)},t.hydrateRoot=function(e,t,r){if(!Gc(e))throw Error(s(405))
var n=null!=r&&r.hydratedSources||null,i=!1,o="",a=Kc
if(null!=r&&(!0===r.unstable_strictMode&&(i=!0),void 0!==r.identifierPrefix&&(o=r.identifierPrefix),void 0!==r.onRecoverableError&&(a=r.onRecoverableError)),t=$c(t,null,e,1,null!=r?r:null,i,0,o,a),e[fi]=t.current,$n(e),n)for(e=0;e<n.length;e++)i=(i=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,i]:t.mutableSourceEagerHydrationData.push(r,i)
return new Jc(t)},t.render=function(e,t,r){if(!Yc(t))throw Error(s(200))
return Qc(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!Yc(e))throw Error(s(40))
return!!e._reactRootContainer&&(uc((function(){Qc(null,null,e,!1,(function(){e._reactRootContainer=null,e[fi]=null}))})),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Yc(r))throw Error(s(200))
if(null==e||void 0===e._reactInternals)throw Error(s(38))
return Qc(e,t,r,!1,n)},t.version="18.3.1-next-f1338f8080-20240426"},40961:(e,t,r)=>{"use strict"
!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(22551)},2209:(e,t,r)=>{"use strict"
var n,i=r(9404),s=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")}
s.isRequired=s
var o=function(){return s}
function a(e){var t=typeof e
return Array.isArray(e)?"array":e instanceof RegExp?"object":e instanceof i.Iterable?"Immutable."+e.toSource().split(" ")[0]:t}function l(e,t){return function(e,t){return function(e){function t(t,r,n,i,s,o){for(var a=arguments.length,l=Array(a>6?a-6:0),c=6;c<a;c++)l[c-6]=arguments[c]
return o=o||n,i=i||"<<anonymous>>",null!=r[n]?e.apply(void 0,[r,n,i,s,o].concat(l)):t?new Error("Required "+s+" `"+o+"` was not specified in `"+i+"`."):void 0}var r=t.bind(null,!1)
return r.isRequired=t.bind(null,!0),r}((function(r,n,i,s,o){var l=r[n]
if(!t(l)){var c=a(l)
return new Error("Invalid "+s+" `"+o+"` of type `"+c+"` supplied to `"+i+"`, expected `"+e+"`.")}return null}))}("Iterable."+e,(function(e){return i.Iterable.isIterable(e)&&t(e)}))}(n={listOf:o,mapOf:o,orderedMapOf:o,setOf:o,orderedSetOf:o,stackOf:o,iterableOf:o,recordOf:o,shape:o,contains:o,mapContains:o,orderedMapContains:o,list:s,map:s,orderedMap:s,set:s,orderedSet:s,stack:s,seq:s,record:s,iterable:s}).iterable.indexed=l("Indexed",i.Iterable.isIndexed),n.iterable.keyed=l("Keyed",i.Iterable.isKeyed),e.exports=n},15287:(e,t)=>{"use strict"
var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator,f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={}
function y(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||f}function v(){}function b(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||f}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.")
this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype
var w=b.prototype=new v
w.constructor=b,m(w,y.prototype),w.isPureReactComponent=!0
var S=Array.isArray,k=Object.prototype.hasOwnProperty,x={current:null},E={key:!0,ref:!0,__self:!0,__source:!0}
function N(e,t,n){var i,s={},o=null,a=null
if(null!=t)for(i in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(o=""+t.key),t)k.call(t,i)&&!E.hasOwnProperty(i)&&(s[i]=t[i])
var l=arguments.length-2
if(1===l)s.children=n
else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2]
s.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===s[i]&&(s[i]=l[i])
return{$$typeof:r,type:e,key:o,ref:a,props:s,_owner:x.current}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var C=/\/+/g
function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"}
return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,i,s,o){var a=typeof e
"undefined"!==a&&"boolean"!==a||(e=null)
var l=!1
if(null===e)l=!0
else switch(a){case"string":case"number":l=!0
break
case"object":switch(e.$$typeof){case r:case n:l=!0}}if(l)return o=o(l=e),e=""===s?"."+A(l,0):s,S(o)?(i="",null!=e&&(i=e.replace(C,"$&/")+"/"),O(o,t,i,"",(function(e){return e}))):null!=o&&(_(o)&&(o=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,i+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(C,"$&/")+"/")+e)),t.push(o)),1
if(l=0,s=""===s?".":s+":",S(e))for(var c=0;c<e.length;c++){var u=s+A(a=e[c],c)
l+=O(a,t,i,u,o)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(a=e.next()).done;)l+=O(a=a.value,t,i,u=s+A(a,c++),o)
else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")
return l}function P(e,t,r){if(null==e)return e
var n=[],i=0
return O(e,n,"","",(function(e){return t.call(r,e,i++)})),n}function T(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default
throw e._result}var I={current:null},j={transition:null},D={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:j,ReactCurrentOwner:x}
function M(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:P,forEach:function(e,t,r){P(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0
return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.")
return e}},t.Component=y,t.Fragment=i,t.Profiler=o,t.PureComponent=b,t.StrictMode=s,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,t.act=M,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".")
var i=m({},e.props),s=e.key,o=e.ref,a=e._owner
if(null!=t){if(void 0!==t.ref&&(o=t.ref,a=x.current),void 0!==t.key&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps
for(c in t)k.call(t,c)&&!E.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2
if(1===c)i.children=n
else if(1<c){l=Array(c)
for(var u=0;u<c;u++)l[u]=arguments[u+2]
i.children=l}return{$$typeof:r,type:e.type,key:s,ref:o,props:i,_owner:a}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=N,t.createFactory=function(e){var t=N.bind(null,e)
return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=j.transition
j.transition={}
try{e()}finally{j.transition=t}},t.unstable_act=M,t.useCallback=function(e,t){return I.current.useCallback(e,t)},t.useContext=function(e){return I.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return I.current.useDeferredValue(e)},t.useEffect=function(e,t){return I.current.useEffect(e,t)},t.useId=function(){return I.current.useId()},t.useImperativeHandle=function(e,t,r){return I.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return I.current.useMemo(e,t)},t.useReducer=function(e,t,r){return I.current.useReducer(e,t,r)},t.useRef=function(e){return I.current.useRef(e)},t.useState=function(e){return I.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return I.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return I.current.useTransition()},t.version="18.3.1"},96540:(e,t,r)=>{"use strict"
e.exports=r(15287)},86048:e=>{"use strict"
var t={}
function r(e,r,n){n||(n=Error)
var i=function(e){function t(t,n,i){return e.call(this,function(e,t,n){return"string"==typeof r?r:r(e,t,n)}(t,n,i))||this}return function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e),t}(n)
i.prototype.name=n.name,i.prototype.code=e,t[e]=i}function n(e,t){if(Array.isArray(e)){var r=e.length
return e=e.map((function(e){return String(e)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}r("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(e,t,r){var i,s
if("string"==typeof t&&function(e){return"not "===e.substr(0,4)}(t)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length)," argument"===e.substring(r-9,r)}(e))s="The ".concat(e," ").concat(i," ").concat(n(t,"type"))
else{var o=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+1>e.length)&&-1!==e.indexOf(".",r)}(e)?"property":"argument"
s='The "'.concat(e,'" ').concat(o," ").concat(i," ").concat(n(t,"type"))}return s+". Received type ".concat(typeof r)}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=t},25382:(e,t,r)=>{"use strict"
var n=r(65606),i=Object.keys||function(e){var t=[]
for(var r in e)t.push(r)
return t}
e.exports=u
var s=r(45412),o=r(16708)
r(56698)(u,s)
for(var a=i(o.prototype),l=0;l<a.length;l++){var c=a[l]
u.prototype[c]||(u.prototype[c]=o.prototype[c])}function u(e){if(!(this instanceof u))return new u(e)
s.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",h)))}function h(){this._writableState.ended||n.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},63600:(e,t,r)=>{"use strict"
e.exports=i
var n=r(74610)
function i(e){if(!(this instanceof i))return new i(e)
n.call(this,e)}r(56698)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},45412:(e,t,r)=>{"use strict"
var n,i=r(65606)
e.exports=N,N.ReadableState=E,r(37007).EventEmitter
var s,o=function(e,t){return e.listeners(t).length},a=r(40345),l=r(48287).Buffer,c=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},u=r(79838)
s=u&&u.debuglog?u.debuglog("stream"):function(){}
var h,d,p,f=r(80345),m=r(75896),g=r(65291).getHighWaterMark,y=r(86048).F,v=y.ERR_INVALID_ARG_TYPE,b=y.ERR_STREAM_PUSH_AFTER_EOF,w=y.ERR_METHOD_NOT_IMPLEMENTED,S=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT
r(56698)(N,a)
var k=m.errorOrDestroy,x=["error","close","destroy","pause","resume"]
function E(e,t,i){n=n||r(25382),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=g(this,e,"readableHighWaterMark",i),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(h||(h=r(83141).I),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function N(e){if(n=n||r(25382),!(this instanceof N))return new N(e)
var t=this instanceof n
this._readableState=new E(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function _(e,t,r,n,i){s("readableAddChunk",t)
var o,a=e._readableState
if(null===t)a.reading=!1,function(e,t){if(s("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end()
r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?P(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,T(e)))}}(e,a)
else if(i||(o=function(e,t){var r
return function(e){return l.isBuffer(e)||e instanceof c}(t)||"string"==typeof t||void 0===t||e.objectMode||(r=new v("chunk",["string","Buffer","Uint8Array"],t)),r}(a,t)),o)k(e,o)
else if(a.objectMode||t&&t.length>0)if("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),n)a.endEmitted?k(e,new S):C(e,a,t,!0)
else if(a.ended)k(e,new b)
else{if(a.destroyed)return!1
a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?C(e,a,t,!1):I(e,a)):C(e,a,t,!1)}else n||(a.reading=!1,I(e,a))
return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function C(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&P(e)),I(e,t)}Object.defineProperty(N.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),N.prototype.destroy=m.destroy,N.prototype._undestroy=m.undestroy,N.prototype._destroy=function(e,t){t(e)},N.prototype.push=function(e,t){var r,n=this._readableState
return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=l.from(e,t),t=""),r=!0),_(this,e,t,!1,r)},N.prototype.unshift=function(e){return _(this,e,null,!0,!1)},N.prototype.isPaused=function(){return!1===this._readableState.flowing},N.prototype.setEncoding=function(e){h||(h=r(83141).I)
var t=new h(e)
this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding
for(var n=this._readableState.buffer.head,i="";null!==n;)i+=t.write(n.data),n=n.next
return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this}
var A=1073741824
function O(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=A?e=A:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function P(e){var t=e._readableState
s("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(s("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(T,e))}function T(e){var t=e._readableState
s("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,R(e)}function I(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(j,e,t))}function j(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length
if(s("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function D(e){var t=e._readableState
t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function M(e){s("readable nexttick read 0"),e.read(0)}function B(e,t){s("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),R(e),t.flowing&&!t.reading&&e.read(0)}function R(e){var t=e._readableState
for(s("flow",t.flowing);t.flowing&&null!==e.read(););}function L(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)
var r}function z(e){var t=e._readableState
s("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(F,t,e))}function F(e,t){if(s("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function V(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r
return-1}N.prototype.read=function(e){s("read",e),e=parseInt(e,10)
var t=this._readableState,r=e
if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return s("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?z(this):P(this),null
if(0===(e=O(e,t))&&t.ended)return 0===t.length&&z(this),null
var n,i=t.needReadable
return s("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&s("length less than watermark",i=!0),t.ended||t.reading?s("reading or ended",i=!1):i&&(s("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=O(r,t))),null===(n=e>0?L(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&z(this)),null!==n&&this.emit("data",n),n},N.prototype._read=function(e){k(this,new w("_read()"))},N.prototype.pipe=function(e,t){var r=this,n=this._readableState
switch(n.pipesCount){case 0:n.pipes=e
break
case 1:n.pipes=[n.pipes,e]
break
default:n.pipes.push(e)}n.pipesCount+=1,s("pipe count=%d opts=%j",n.pipesCount,t)
var a=t&&!1===t.end||e===i.stdout||e===i.stderr?m:l
function l(){s("onend"),e.end()}n.endEmitted?i.nextTick(a):r.once("end",a),e.on("unpipe",(function t(i,o){s("onunpipe"),i===r&&o&&!1===o.hasUnpiped&&(o.hasUnpiped=!0,s("cleanup"),e.removeListener("close",p),e.removeListener("finish",f),e.removeListener("drain",c),e.removeListener("error",d),e.removeListener("unpipe",t),r.removeListener("end",l),r.removeListener("end",m),r.removeListener("data",h),u=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}))
var c=function(e){return function(){var t=e._readableState
s("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,R(e))}}(r)
e.on("drain",c)
var u=!1
function h(t){s("ondata")
var i=e.write(t)
s("dest.write",i),!1===i&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==V(n.pipes,e))&&!u&&(s("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function d(t){s("onerror",t),m(),e.removeListener("error",d),0===o(e,"error")&&k(e,t)}function p(){e.removeListener("finish",f),m()}function f(){s("onfinish"),e.removeListener("close",p),m()}function m(){s("unpipe"),r.unpipe(e)}return r.on("data",h),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r)
e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",d),e.once("close",p),e.once("finish",f),e.emit("pipe",r),n.flowing||(s("pipe resume"),r.resume()),e},N.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1}
if(0===t.pipesCount)return this
if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this
if(!e){var n=t.pipes,i=t.pipesCount
t.pipes=null,t.pipesCount=0,t.flowing=!1
for(var s=0;s<i;s++)n[s].emit("unpipe",this,{hasUnpiped:!1})
return this}var o=V(t.pipes,e)
return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},N.prototype.on=function(e,t){var r=a.prototype.on.call(this,e,t),n=this._readableState
return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===e&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,s("on readable",n.length,n.reading),n.length?P(this):n.reading||i.nextTick(M,this))),r},N.prototype.addListener=N.prototype.on,N.prototype.removeListener=function(e,t){var r=a.prototype.removeListener.call(this,e,t)
return"readable"===e&&i.nextTick(D,this),r},N.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments)
return"readable"!==e&&void 0!==e||i.nextTick(D,this),t},N.prototype.resume=function(){var e=this._readableState
return e.flowing||(s("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(B,e,t))}(this,e)),e.paused=!1,this},N.prototype.pause=function(){return s("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(s("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},N.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1
for(var i in e.on("end",(function(){if(s("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end()
e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){s("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i))
for(var o=0;o<x.length;o++)e.on(x[o],this.emit.bind(this,x[o]))
return this._read=function(t){s("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(N.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=r(2955)),d(this)}),Object.defineProperty(N.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(N.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(N.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),N._fromList=L,Object.defineProperty(N.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(N.from=function(e,t){return void 0===p&&(p=r(55157)),p(N,e,t)})},74610:(e,t,r)=>{"use strict"
e.exports=u
var n=r(86048).F,i=n.ERR_METHOD_NOT_IMPLEMENTED,s=n.ERR_MULTIPLE_CALLBACK,o=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(25382)
function c(e,t){var r=this._transformState
r.transforming=!1
var n=r.writecb
if(null===n)return this.emit("error",new s)
r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e)
var i=this._readableState
i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e)
l.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",h)}function h(){var e=this
"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush((function(t,r){d(e,t,r)}))}function d(e,t,r){if(t)return e.emit("error",t)
if(null!=r&&e.push(r),e._writableState.length)throw new a
if(e._transformState.transforming)throw new o
return e.push(null)}r(56698)(u,l),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,r){r(new i("_transform()"))},u.prototype._write=function(e,t,r){var n=this._transformState
if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState
null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,(function(e){t(e)}))}},16708:(e,t,r)=>{"use strict"
var n,i=r(65606)
function s(e){var t=this
this.next=null,this.entry=null,this.finish=function(){!function(e,t){var r=e.entry
for(e.entry=null;r;){var n=r.callback
t.pendingcb--,n(void 0),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=N,N.WritableState=E
var o,a={deprecate:r(94643)},l=r(40345),c=r(48287).Buffer,u=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},h=r(75896),d=r(65291).getHighWaterMark,p=r(86048).F,f=p.ERR_INVALID_ARG_TYPE,m=p.ERR_METHOD_NOT_IMPLEMENTED,g=p.ERR_MULTIPLE_CALLBACK,y=p.ERR_STREAM_CANNOT_PIPE,v=p.ERR_STREAM_DESTROYED,b=p.ERR_STREAM_NULL_VALUES,w=p.ERR_STREAM_WRITE_AFTER_END,S=p.ERR_UNKNOWN_ENCODING,k=h.errorOrDestroy
function x(){}function E(e,t,o){n=n||r(25382),e=e||{},"boolean"!=typeof o&&(o=t instanceof n),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1
var a=!1===e.decodeStrings
this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,s=r.writecb
if("function"!=typeof s)throw new g
if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,s){--t.pendingcb,r?(i.nextTick(s,n),i.nextTick(T,e,t),e._writableState.errorEmitted=!0,k(e,n)):(s(n),e._writableState.errorEmitted=!0,k(e,n),T(e,t))}(e,r,n,t,s)
else{var o=O(r)||e.destroyed
o||r.corked||r.bufferProcessing||!r.bufferedRequest||A(e,r),n?i.nextTick(C,e,r,o,s):C(e,r,o,s)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function N(e){var t=this instanceof(n=n||r(25382))
if(!t&&!o.call(N,this))return new N(e)
this._writableState=new E(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function _(e,t,r,n,i,s,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new v("write")):r?e._writev(i,t.onwrite):e._write(i,s,t.onwrite),t.sync=!1}function C(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),T(e,t)}function A(e,t){t.bufferProcessing=!0
var r=t.bufferedRequest
if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree
o.entry=r
for(var a=0,l=!0;r;)i[a]=r,r.isBuf||(l=!1),r=r.next,a+=1
i.allBuffers=l,_(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new s(t),t.bufferedRequestCount=0}else{for(;r;){var c=r.chunk,u=r.encoding,h=r.callback
if(_(e,t,!1,t.objectMode?1:c.length,c,u,h),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function O(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function P(e,t){e._final((function(r){t.pendingcb--,r&&k(e,r),t.prefinished=!0,e.emit("prefinish"),T(e,t)}))}function T(e,t){var r=O(t)
if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,i.nextTick(P,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}r(56698)(N,l),E.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next
return t},function(){try{Object.defineProperty(E.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(o=Function.prototype[Symbol.hasInstance],Object.defineProperty(N,Symbol.hasInstance,{value:function(e){return!!o.call(this,e)||this===N&&e&&e._writableState instanceof E}})):o=function(e){return e instanceof this},N.prototype.pipe=function(){k(this,new y)},N.prototype.write=function(e,t,r){var n=this._writableState,s=!1,o=!n.objectMode&&function(e){return c.isBuffer(e)||e instanceof u}(e)
return o&&!c.isBuffer(e)&&(e=function(e){return c.from(e)}(e)),"function"==typeof t&&(r=t,t=null),o?t="buffer":t||(t=n.defaultEncoding),"function"!=typeof r&&(r=x),n.ending?function(e,t){var r=new w
k(e,r),i.nextTick(t,r)}(this,r):(o||function(e,t,r,n){var s
return null===r?s=new b:"string"==typeof r||t.objectMode||(s=new f("chunk",["string","Buffer"],r)),!s||(k(e,s),i.nextTick(n,s),!1)}(this,n,e,r))&&(n.pendingcb++,s=function(e,t,r,n,i,s){if(!r){var o=function(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=c.from(t,r)),t}(t,n,i)
n!==o&&(r=!0,i="buffer",n=o)}var a=t.objectMode?1:n.length
t.length+=a
var l=t.length<t.highWaterMark
if(l||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest
t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else _(e,t,!1,a,n,i,s)
return l}(this,n,o,e,t,r)),s},N.prototype.cork=function(){this._writableState.corked++},N.prototype.uncork=function(){var e=this._writableState
e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||A(this,e))},N.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new S(e)
return this._writableState.defaultEncoding=e,this},Object.defineProperty(N.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(N.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),N.prototype._write=function(e,t,r){r(new m("_write()"))},N.prototype._writev=null,N.prototype.end=function(e,t,r){var n=this._writableState
return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,T(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r)),t.ended=!0,e.writable=!1}(this,n,r),this},Object.defineProperty(N.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(N.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),N.prototype.destroy=h.destroy,N.prototype._undestroy=h.undestroy,N.prototype._destroy=function(e,t){t(e)}},2955:(e,t,r)=>{"use strict"
var n,i=r(65606)
function s(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(86238),a=Symbol("lastResolve"),l=Symbol("lastReject"),c=Symbol("error"),u=Symbol("ended"),h=Symbol("lastPromise"),d=Symbol("handlePromise"),p=Symbol("stream")
function f(e,t){return{value:e,done:t}}function m(e){var t=e[a]
if(null!==t){var r=e[p].read()
null!==r&&(e[h]=null,e[a]=null,e[l]=null,t(f(r,!1)))}}function g(e){i.nextTick(m,e)}var y=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((s(n={get stream(){return this[p]},next:function(){var e=this,t=this[c]
if(null!==t)return Promise.reject(t)
if(this[u])return Promise.resolve(f(void 0,!0))
if(this[p].destroyed)return new Promise((function(t,r){i.nextTick((function(){e[c]?r(e[c]):t(f(void 0,!0))}))}))
var r,n=this[h]
if(n)r=new Promise(function(e,t){return function(r,n){e.then((function(){t[u]?r(f(void 0,!0)):t[d](r,n)}),n)}}(n,this))
else{var s=this[p].read()
if(null!==s)return Promise.resolve(f(s,!1))
r=new Promise(this[d])}return this[h]=r,r}},Symbol.asyncIterator,(function(){return this})),s(n,"return",(function(){var e=this
return new Promise((function(t,r){e[p].destroy(null,(function(e){e?r(e):t(f(void 0,!0))}))}))})),n),y)
e.exports=function(e){var t,r=Object.create(v,(s(t={},p,{value:e,writable:!0}),s(t,a,{value:null,writable:!0}),s(t,l,{value:null,writable:!0}),s(t,c,{value:null,writable:!0}),s(t,u,{value:e._readableState.endEmitted,writable:!0}),s(t,d,{value:function(e,t){var n=r[p].read()
n?(r[h]=null,r[a]=null,r[l]=null,e(f(n,!1))):(r[a]=e,r[l]=t)},writable:!0}),t))
return r[h]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l]
return null!==t&&(r[h]=null,r[a]=null,r[l]=null,t(e)),void(r[c]=e)}var n=r[a]
null!==n&&(r[h]=null,r[a]=null,r[l]=null,n(f(void 0,!0))),r[u]=!0})),e.on("readable",g.bind(null,r)),r}},80345:(e,t,r)=>{"use strict"
function n(e,t){var r=Object.keys(e)
if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{}
t%2?n(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t,r){return(t=o(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){var t=function(e){if("object"!=typeof e||null===e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:String(t)}var a=r(48287).Buffer,l=r(15340).inspect,c=l&&l.custom||"inspect"
e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return function(e,t){t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r]
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,o(n.key),n)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1})}(e,[{key:"push",value:function(e){var t={data:e,next:null}
this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head}
0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data
return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return""
for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data
return r}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0)
for(var t,r,n,i=a.allocUnsafe(e>>>0),s=this.head,o=0;s;)t=s.data,r=i,n=o,a.prototype.copy.call(t,r,n),o+=s.data.length,s=s.next
return i}},{key:"consume",value:function(e,t){var r
return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data
for(e-=n.length;t=t.next;){var i=t.data,s=e>i.length?i.length:e
if(s===i.length?n+=i:n+=i.slice(0,e),0==(e-=s)){s===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(s))
break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),r=this.head,n=1
for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,s=e>i.length?i.length:e
if(i.copy(t,t.length-e,0,s),0==(e-=s)){s===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(s))
break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return l(this,i(i({},t),{},{depth:0,customInspect:!1}))}}]),e}()},75896:(e,t,r)=>{"use strict"
var n=r(65606)
function i(e,t){o(e,t),s(e)}function s(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed
return a||l?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(o,this,e)):n.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted?n.nextTick(s,r):(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t?(n.nextTick(s,r),t(e)):n.nextTick(s,r)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState
r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},86238:(e,t,r)=>{"use strict"
var n=r(86048).F.ERR_STREAM_PREMATURE_CLOSE
function i(){}e.exports=function e(t,r,s){if("function"==typeof r)return e(t,null,r)
r||(r={}),s=function(e){var t=!1
return function(){if(!t){t=!0
for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i]
e.apply(this,n)}}}(s||i)
var o=r.readable||!1!==r.readable&&t.readable,a=r.writable||!1!==r.writable&&t.writable,l=function(){t.writable||u()},c=t._writableState&&t._writableState.finished,u=function(){a=!1,c=!0,o||s.call(t)},h=t._readableState&&t._readableState.endEmitted,d=function(){o=!1,h=!0,a||s.call(t)},p=function(e){s.call(t,e)},f=function(){var e
return o&&!h?(t._readableState&&t._readableState.ended||(e=new n),s.call(t,e)):a&&!c?(t._writableState&&t._writableState.ended||(e=new n),s.call(t,e)):void 0},m=function(){t.req.on("finish",u)}
return function(e){return e.setHeader&&"function"==typeof e.abort}(t)?(t.on("complete",u),t.on("abort",f),t.req?m():t.on("request",m)):a&&!t._writableState&&(t.on("end",l),t.on("close",l)),t.on("end",d),t.on("finish",u),!1!==r.error&&t.on("error",p),t.on("close",f),function(){t.removeListener("complete",u),t.removeListener("abort",f),t.removeListener("request",m),t.req&&t.req.removeListener("finish",u),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",u),t.removeListener("end",d),t.removeListener("error",p),t.removeListener("close",f)}}},55157:e=>{e.exports=function(){throw new Error("Readable.from is not available in the browser")}},57758:(e,t,r)=>{"use strict"
var n,i=r(86048).F,s=i.ERR_MISSING_ARGS,o=i.ERR_STREAM_DESTROYED
function a(e){if(e)throw e}function l(e){e()}function c(e,t){return e.pipe(t)}e.exports=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i]
var u,h=function(e){return e.length?"function"!=typeof e[e.length-1]?a:e.pop():a}(t)
if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new s("streams")
var d=t.map((function(e,i){var s=i<t.length-1
return function(e,t,i,s){s=function(e){var t=!1
return function(){t||(t=!0,e.apply(void 0,arguments))}}(s)
var a=!1
e.on("close",(function(){a=!0})),void 0===n&&(n=r(86238)),n(e,{readable:t,writable:i},(function(e){if(e)return s(e)
a=!0,s()}))
var l=!1
return function(t){if(!a&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void s(t||new o("pipe"))}}(e,s,i>0,(function(e){u||(u=e),e&&d.forEach(l),s||(d.forEach(l),h(u))}))}))
return t.reduce(c)}},65291:(e,t,r)=>{"use strict"
var n=r(86048).F.ERR_INVALID_OPT_VALUE
e.exports={getHighWaterMark:function(e,t,r,i){var s=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r)
if(null!=s){if(!isFinite(s)||Math.floor(s)!==s||s<0)throw new n(i?r:"highWaterMark",s)
return Math.floor(s)}return e.objectMode?16:16384}}},40345:(e,t,r)=>{e.exports=r(37007).EventEmitter},84977:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0})
var n=function(e){return e&&e.__esModule?e:{default:e}}(r(9404)),i=r(55674)
t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.Map,r=Object.keys(e)
return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t(),s=arguments[1]
return n.withMutations((function(t){r.forEach((function(r){var n=(0,e[r])(t.get(r),s);(0,i.validateNextState)(n,r,s),t.set(r,n)}))}))}},e.exports=t.default},89593:(e,t,r)=>{"use strict"
t.H=void 0
var n=function(e){return e&&e.__esModule?e:{default:e}}(r(84977))
t.H=n.default},48590:(e,t)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&"@@redux/INIT"===e.type?"initialState argument passed to createStore":"previous state received by the reducer"},e.exports=t.default},82261:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0})
var n=s(r(9404)),i=s(r(48590))
function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,r){var s=Object.keys(t)
if(!s.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers."
var o=(0,i.default)(r)
if(n.default.isImmutable?!n.default.isImmutable(e):!n.default.Iterable.isIterable(e))return"The "+o+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+s.join('", "')+'".'
var a=e.toSeq().keySeq().toArray().filter((function(e){return!t.hasOwnProperty(e)}))
return a.length>0?"Unexpected "+(1===a.length?"property":"properties")+' "'+a.join('", "')+'" found in '+o+'. Expected to find one of the known reducer property names instead: "'+s.join('", "')+'". Unexpected properties will be ignored.':null},e.exports=t.default},55674:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.validateNextState=t.getUnexpectedInvocationParameterMessage=t.getStateName=void 0
var n=o(r(48590)),i=o(r(82261)),s=o(r(27374))
function o(e){return e&&e.__esModule?e:{default:e}}t.getStateName=n.default,t.getUnexpectedInvocationParameterMessage=i.default,t.validateNextState=s.default},27374:(e,t)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(void 0===e)throw new Error('Reducer "'+t+'" returned undefined when handling "'+r.type+'" action. To ignore an action, you must explicitly return the previous state.')},e.exports=t.default},75208:e=>{"use strict"
var t,r=""
e.exports=function(e,n){if("string"!=typeof e)throw new TypeError("expected a string")
if(1===n)return e
if(2===n)return e+e
var i=e.length*n
if(t!==e||void 0===t)t=e,r=""
else if(r.length>=i)return r.substr(0,i)
for(;i>r.length&&n>1;)1&n&&(r+=e),n>>=1,e+=e
return r=(r+=e).substr(0,i)}},92063:e=>{"use strict"
e.exports=function(e,t){if(t=t.split(":")[0],!(e=+e))return!1
switch(t){case"http":case"ws":return 80!==e
case"https":case"wss":return 443!==e
case"ftp":return 21!==e
case"gopher":return 70!==e
case"file":return!1}return 0!==e}},27096:(e,t,r)=>{const n=r(87586),i=r(6205),s=r(10023),o=r(8048)
e.exports=e=>{var t,r,a=0,l={type:i.ROOT,stack:[]},c=l,u=l.stack,h=[],d=t=>{n.error(e,"Nothing to repeat at column "+(t-1))},p=n.strToChars(e)
for(t=p.length;a<t;)switch(r=p[a++]){case"\\":switch(r=p[a++]){case"b":u.push(o.wordBoundary())
break
case"B":u.push(o.nonWordBoundary())
break
case"w":u.push(s.words())
break
case"W":u.push(s.notWords())
break
case"d":u.push(s.ints())
break
case"D":u.push(s.notInts())
break
case"s":u.push(s.whitespace())
break
case"S":u.push(s.notWhitespace())
break
default:/\d/.test(r)?u.push({type:i.REFERENCE,value:parseInt(r,10)}):u.push({type:i.CHAR,value:r.charCodeAt(0)})}break
case"^":u.push(o.begin())
break
case"$":u.push(o.end())
break
case"[":var f
"^"===p[a]?(f=!0,a++):f=!1
var m=n.tokenizeClass(p.slice(a),e)
a+=m[1],u.push({type:i.SET,set:m[0],not:f})
break
case".":u.push(s.anyChar())
break
case"(":var g={type:i.GROUP,stack:[],remember:!0}
"?"===(r=p[a])&&(r=p[a+1],a+=2,"="===r?g.followedBy=!0:"!"===r?g.notFollowedBy=!0:":"!==r&&n.error(e,`Invalid group, character '${r}' after '?' at column `+(a-1)),g.remember=!1),u.push(g),h.push(c),c=g,u=g.stack
break
case")":0===h.length&&n.error(e,"Unmatched ) at column "+(a-1)),u=(c=h.pop()).options?c.options[c.options.length-1]:c.stack
break
case"|":c.options||(c.options=[c.stack],delete c.stack)
var y=[]
c.options.push(y),u=y
break
case"{":var v,b,w=/^(\d+)(,(\d+)?)?\}/.exec(p.slice(a))
null!==w?(0===u.length&&d(a),v=parseInt(w[1],10),b=w[2]?w[3]?parseInt(w[3],10):1/0:v,a+=w[0].length,u.push({type:i.REPETITION,min:v,max:b,value:u.pop()})):u.push({type:i.CHAR,value:123})
break
case"?":0===u.length&&d(a),u.push({type:i.REPETITION,min:0,max:1,value:u.pop()})
break
case"+":0===u.length&&d(a),u.push({type:i.REPETITION,min:1,max:1/0,value:u.pop()})
break
case"*":0===u.length&&d(a),u.push({type:i.REPETITION,min:0,max:1/0,value:u.pop()})
break
default:u.push({type:i.CHAR,value:r.charCodeAt(0)})}return 0!==h.length&&n.error(e,"Unterminated group"),l},e.exports.types=i},8048:(e,t,r)=>{const n=r(6205)
t.wordBoundary=()=>({type:n.POSITION,value:"b"}),t.nonWordBoundary=()=>({type:n.POSITION,value:"B"}),t.begin=()=>({type:n.POSITION,value:"^"}),t.end=()=>({type:n.POSITION,value:"$"})},10023:(e,t,r)=>{const n=r(6205),i=()=>[{type:n.RANGE,from:48,to:57}],s=()=>[{type:n.CHAR,value:95},{type:n.RANGE,from:97,to:122},{type:n.RANGE,from:65,to:90}].concat(i()),o=()=>[{type:n.CHAR,value:9},{type:n.CHAR,value:10},{type:n.CHAR,value:11},{type:n.CHAR,value:12},{type:n.CHAR,value:13},{type:n.CHAR,value:32},{type:n.CHAR,value:160},{type:n.CHAR,value:5760},{type:n.RANGE,from:8192,to:8202},{type:n.CHAR,value:8232},{type:n.CHAR,value:8233},{type:n.CHAR,value:8239},{type:n.CHAR,value:8287},{type:n.CHAR,value:12288},{type:n.CHAR,value:65279}]
t.words=()=>({type:n.SET,set:s(),not:!1}),t.notWords=()=>({type:n.SET,set:s(),not:!0}),t.ints=()=>({type:n.SET,set:i(),not:!1}),t.notInts=()=>({type:n.SET,set:i(),not:!0}),t.whitespace=()=>({type:n.SET,set:o(),not:!1}),t.notWhitespace=()=>({type:n.SET,set:o(),not:!0}),t.anyChar=()=>({type:n.SET,set:[{type:n.CHAR,value:10},{type:n.CHAR,value:13},{type:n.CHAR,value:8232},{type:n.CHAR,value:8233}],not:!0})},6205:e=>{e.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}},87586:(e,t,r)=>{const n=r(6205),i=r(10023),s={0:0,t:9,n:10,v:11,f:12,r:13}
t.strToChars=function(e){return e.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,(function(e,t,r,n,i,o,a,l){if(r)return e
var c=t?8:n?parseInt(n,16):i?parseInt(i,16):o?parseInt(o,8):a?"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?".indexOf(a):s[l],u=String.fromCharCode(c)
return/[[\]{}^$.|?*+()]/.test(u)&&(u="\\"+u),u}))},t.tokenizeClass=(e,r)=>{for(var s,o,a=[],l=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g;null!=(s=l.exec(e));)if(s[1])a.push(i.words())
else if(s[2])a.push(i.ints())
else if(s[3])a.push(i.whitespace())
else if(s[4])a.push(i.notWords())
else if(s[5])a.push(i.notInts())
else if(s[6])a.push(i.notWhitespace())
else if(s[7])a.push({type:n.RANGE,from:(s[8]||s[9]).charCodeAt(0),to:s[10].charCodeAt(0)})
else{if(!(o=s[12]))return[a,l.lastIndex]
a.push({type:n.CHAR,value:o.charCodeAt(0)})}t.error(r,"Unterminated character class")},t.error=(e,t)=>{throw new SyntaxError("Invalid regular expression: /"+e+"/: "+t)}},92861:(e,t,r)=>{var n=r(48287),i=n.Buffer
function s(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=o),o.prototype=Object.create(i.prototype),s(i,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number")
return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number")
var n=i(e)
return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number")
return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number")
return n.SlowBuffer(e)}},29844:(e,t)=>{"use strict"
function r(e,t){var r=e.length
e.push(t)
e:for(;0<r;){var n=r-1>>>1,i=e[n]
if(!(0<s(i,t)))break e
e[n]=t,e[r]=i,r=n}}function n(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null
var t=e[0],r=e.pop()
if(r!==t){e[0]=r
e:for(var n=0,i=e.length,o=i>>>1;n<o;){var a=2*(n+1)-1,l=e[a],c=a+1,u=e[c]
if(0>s(l,r))c<i&&0>s(u,l)?(e[n]=u,e[c]=r,n=c):(e[n]=l,e[a]=r,n=a)
else{if(!(c<i&&0>s(u,r)))break e
e[n]=u,e[c]=r,n=c}}}return t}function s(e,t){var r=e.sortIndex-t.sortIndex
return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance
t.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now()
t.unstable_now=function(){return a.now()-l}}var c=[],u=[],h=1,d=null,p=3,f=!1,m=!1,g=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null
function w(e){for(var t=n(u);null!==t;){if(null===t.callback)i(u)
else{if(!(t.startTime<=e))break
i(u),t.sortIndex=t.expirationTime,r(c,t)}t=n(u)}}function S(e){if(g=!1,w(e),!m)if(null!==n(c))m=!0,j(k)
else{var t=n(u)
null!==t&&D(S,t.startTime-e)}}function k(e,r){m=!1,g&&(g=!1,v(_),_=-1),f=!0
var s=p
try{for(w(r),d=n(c);null!==d&&(!(d.expirationTime>r)||e&&!O());){var o=d.callback
if("function"==typeof o){d.callback=null,p=d.priorityLevel
var a=o(d.expirationTime<=r)
r=t.unstable_now(),"function"==typeof a?d.callback=a:d===n(c)&&i(c),w(r)}else i(c)
d=n(c)}if(null!==d)var l=!0
else{var h=n(u)
null!==h&&D(S,h.startTime-r),l=!1}return l}finally{d=null,p=s,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling)
var x,E=!1,N=null,_=-1,C=5,A=-1
function O(){return!(t.unstable_now()-A<C)}function P(){if(null!==N){var e=t.unstable_now()
A=e
var r=!0
try{r=N(!0,e)}finally{r?x():(E=!1,N=null)}}else E=!1}if("function"==typeof b)x=function(){b(P)}
else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,I=T.port2
T.port1.onmessage=P,x=function(){I.postMessage(null)}}else x=function(){y(P,0)}
function j(e){N=e,E||(E=!0,x())}function D(e,r){_=y((function(){e(t.unstable_now())}),r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,j(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return n(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3
break
default:t=p}var r=p
p=t
try{return e()}finally{p=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break
default:e=3}var r=p
p=e
try{return t()}finally{p=r}},t.unstable_scheduleCallback=function(e,i,s){var o=t.unstable_now()
switch(s="object"==typeof s&&null!==s&&"number"==typeof(s=s.delay)&&0<s?o+s:o,e){case 1:var a=-1
break
case 2:a=250
break
case 5:a=1073741823
break
case 4:a=1e4
break
default:a=5e3}return e={id:h++,callback:i,priorityLevel:e,startTime:s,expirationTime:a=s+a,sortIndex:-1},s>o?(e.sortIndex=s,r(u,e),null===n(c)&&e===n(u)&&(g?(v(_),_=-1):g=!0,D(S,s-o))):(e.sortIndex=a,r(c,e),m||f||(m=!0,j(k))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=p
return function(){var r=p
p=t
try{return e.apply(this,arguments)}finally{p=r}}}},69982:(e,t,r)=>{"use strict"
e.exports=r(29844)},20334:(e,t,r)=>{"use strict"
var n=r(48287).Buffer
class i extends Error{constructor(e){super(i._prepareSuperMessage(e)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,i)}static _prepareSuperMessage(e){try{return JSON.stringify(e)}catch{return String(e)}}}const s=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],o=Symbol(".toJSON called"),a=({from:e,seen:t,to_:r,forceEnumerable:i,maxDepth:l,depth:c})=>{const u=r||(Array.isArray(e)?[]:{})
if(t.push(e),c>=l)return u
if("function"==typeof e.toJSON&&!0!==e[o])return(e=>{e[o]=!0
const t=e.toJSON()
return delete e[o],t})(e)
for(const[s,o]of Object.entries(e))"function"==typeof n&&n.isBuffer(o)?u[s]="[object Buffer]":"function"!=typeof o&&(o&&"object"==typeof o?t.includes(e[s])?u[s]="[Circular]":(c++,u[s]=a({from:e[s],seen:t.slice(),forceEnumerable:i,maxDepth:l,depth:c})):u[s]=o)
for(const{property:n,enumerable:o}of s)"string"==typeof e[n]&&Object.defineProperty(u,n,{value:e[n],enumerable:!!i||o,configurable:!0,writable:!0})
return u}
e.exports={serializeError:(e,t={})=>{const{maxDepth:r=Number.POSITIVE_INFINITY}=t
return"object"==typeof e&&null!==e?a({from:e,seen:[],forceEnumerable:!0,maxDepth:r,depth:0}):"function"==typeof e?`[Function: ${e.name||"anonymous"}]`:e},deserializeError:(e,t={})=>{const{maxDepth:r=Number.POSITIVE_INFINITY}=t
if(e instanceof Error)return e
if("object"==typeof e&&null!==e&&!Array.isArray(e)){const t=new Error
return a({from:e,seen:[],to_:t,maxDepth:r,depth:0}),t}return new i(e)}}},96897:(e,t,r)=>{"use strict"
var n=r(70453),i=r(30041),s=r(30592)(),o=r(75795),a=r(69675),l=n("%Math.floor%")
e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function")
if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new a("`length` must be a positive 32-bit integer")
var r=arguments.length>2&&!!arguments[2],n=!0,c=!0
if("length"in e&&o){var u=o(e,"length")
u&&!u.configurable&&(n=!1),u&&!u.writable&&(c=!1)}return(n||c||!r)&&(s?i(e,"length",t,!0,!0):i(e,"length",t)),e}},90392:(e,t,r)=>{var n=r(92861).Buffer
function i(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=n.from(e,t))
for(var r=this._block,i=this._blockSize,s=e.length,o=this._len,a=0;a<s;){for(var l=o%i,c=Math.min(s-a,i-l),u=0;u<c;u++)r[l+u]=e[a+u]
a+=c,(o+=c)%i==0&&this._update(r)}return this._len+=s,this},i.prototype.digest=function(e){var t=this._len%this._blockSize
this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0))
var r=8*this._len
if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4)
else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296
this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block)
var s=this._hash()
return e?s.toString(e):s},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},62802:(e,t,r)=>{var n=e.exports=function(e){e=e.toLowerCase()
var t=n[e]
if(!t)throw new Error(e+" is not supported (we accept pull requests)")
return new t}
n.sha=r(27816),n.sha1=r(63737),n.sha224=r(26710),n.sha256=r(24107),n.sha384=r(32827),n.sha512=r(82890)},27816:(e,t,r)=>{var n=r(56698),i=r(90392),s=r(92861).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80)
function l(){this.init(),this._w=a,i.call(this,64,56)}function c(e){return e<<30|e>>>2}function u(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,l=0|this._e,h=0;h<16;++h)r[h]=e.readInt32BE(4*h)
for(;h<80;++h)r[h]=r[h-3]^r[h-8]^r[h-14]^r[h-16]
for(var d=0;d<80;++d){var p=~~(d/20),f=0|((t=n)<<5|t>>>27)+u(p,i,s,a)+l+r[d]+o[p]
l=a,a=s,s=c(i),i=n,n=f}this._a=n+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=s.allocUnsafe(20)
return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},63737:(e,t,r)=>{var n=r(56698),i=r(90392),s=r(92861).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80)
function l(){this.init(),this._w=a,i.call(this,64,56)}function c(e){return e<<5|e>>>27}function u(e){return e<<30|e>>>2}function h(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,l=0|this._e,d=0;d<16;++d)r[d]=e.readInt32BE(4*d)
for(;d<80;++d)r[d]=(t=r[d-3]^r[d-8]^r[d-14]^r[d-16])<<1|t>>>31
for(var p=0;p<80;++p){var f=~~(p/20),m=c(n)+h(f,i,s,a)+l+r[p]+o[f]|0
l=a,a=s,s=u(i),i=n,n=m}this._a=n+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=l+this._e|0},l.prototype._hash=function(){var e=s.allocUnsafe(20)
return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},26710:(e,t,r)=>{var n=r(56698),i=r(24107),s=r(90392),o=r(92861).Buffer,a=new Array(64)
function l(){this.init(),this._w=a,s.call(this,64,56)}n(l,i),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=o.allocUnsafe(28)
return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=l},24107:(e,t,r)=>{var n=r(56698),i=r(90392),s=r(92861).Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],a=new Array(64)
function l(){this.init(),this._w=a,i.call(this,64,56)}function c(e,t,r){return r^e&(t^r)}function u(e,t,r){return e&t|r&(e|t)}function h(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function p(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t,r=this._w,n=0|this._a,i=0|this._b,s=0|this._c,a=0|this._d,l=0|this._e,f=0|this._f,m=0|this._g,g=0|this._h,y=0;y<16;++y)r[y]=e.readInt32BE(4*y)
for(;y<64;++y)r[y]=0|(((t=r[y-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[y-7]+p(r[y-15])+r[y-16]
for(var v=0;v<64;++v){var b=g+d(l)+c(l,f,m)+o[v]+r[v]|0,w=h(n)+u(n,i,s)|0
g=m,m=f,f=l,l=a+b|0,a=s,s=i,i=n,n=b+w|0}this._a=n+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=a+this._d|0,this._e=l+this._e|0,this._f=f+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},l.prototype._hash=function(){var e=s.allocUnsafe(32)
return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=l},32827:(e,t,r)=>{var n=r(56698),i=r(82890),s=r(90392),o=r(92861).Buffer,a=new Array(160)
function l(){this.init(),this._w=a,s.call(this,128,112)}n(l,i),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=o.allocUnsafe(48)
function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=l},82890:(e,t,r)=>{var n=r(56698),i=r(90392),s=r(92861).Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],a=new Array(160)
function l(){this.init(),this._w=a,i.call(this,128,112)}function c(e,t,r){return r^e&(t^r)}function u(e,t,r){return e&t|r&(e|t)}function h(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function y(e,t){return e>>>0<t>>>0?1:0}n(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,s=0|this._dh,a=0|this._eh,l=0|this._fh,v=0|this._gh,b=0|this._hh,w=0|this._al,S=0|this._bl,k=0|this._cl,x=0|this._dl,E=0|this._el,N=0|this._fl,_=0|this._gl,C=0|this._hl,A=0;A<32;A+=2)t[A]=e.readInt32BE(4*A),t[A+1]=e.readInt32BE(4*A+4)
for(;A<160;A+=2){var O=t[A-30],P=t[A-30+1],T=p(O,P),I=f(P,O),j=m(O=t[A-4],P=t[A-4+1]),D=g(P,O),M=t[A-14],B=t[A-14+1],R=t[A-32],L=t[A-32+1],z=I+B|0,F=T+M+y(z,I)|0
F=(F=F+j+y(z=z+D|0,D)|0)+R+y(z=z+L|0,L)|0,t[A]=F,t[A+1]=z}for(var V=0;V<160;V+=2){F=t[V],z=t[V+1]
var $=u(r,n,i),U=u(w,S,k),H=h(r,w),q=h(w,r),W=d(a,E),K=d(E,a),Z=o[V],J=o[V+1],G=c(a,l,v),Y=c(E,N,_),X=C+K|0,Q=b+W+y(X,C)|0
Q=(Q=(Q=Q+G+y(X=X+Y|0,Y)|0)+Z+y(X=X+J|0,J)|0)+F+y(X=X+z|0,z)|0
var ee=q+U|0,te=H+$+y(ee,q)|0
b=v,C=_,v=l,_=N,l=a,N=E,a=s+Q+y(E=x+X|0,x)|0,s=i,x=k,i=n,k=S,n=r,S=w,r=Q+te+y(w=X+ee|0,X)|0}this._al=this._al+w|0,this._bl=this._bl+S|0,this._cl=this._cl+k|0,this._dl=this._dl+x|0,this._el=this._el+E|0,this._fl=this._fl+N|0,this._gl=this._gl+_|0,this._hl=this._hl+C|0,this._ah=this._ah+r+y(this._al,w)|0,this._bh=this._bh+n+y(this._bl,S)|0,this._ch=this._ch+i+y(this._cl,k)|0,this._dh=this._dh+s+y(this._dl,x)|0,this._eh=this._eh+a+y(this._el,E)|0,this._fh=this._fh+l+y(this._fl,N)|0,this._gh=this._gh+v+y(this._gl,_)|0,this._hh=this._hh+b+y(this._hl,C)|0},l.prototype._hash=function(){var e=s.allocUnsafe(64)
function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=l},8068:e=>{"use strict"
var t=(()=>{var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,o=(t,r,n)=>r in t?e(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,a=(e,t)=>{for(var r in t||(t={}))i.call(t,r)&&o(e,r,t[r])
if(n)for(var r of n(t))s.call(t,r)&&o(e,r,t[r])
return e},l=(e,t,r)=>(o(e,"symbol"!=typeof t?t+"":t,r),r),c={};((t,r)=>{for(var n in r)e(t,n,{get:r[n],enumerable:!0})})(c,{DEFAULT_OPTIONS:()=>h,DEFAULT_UUID_LENGTH:()=>u,default:()=>f})
var u=6,h={dictionary:"alphanum",shuffle:!0,debug:!1,length:u,counter:0},d=class{constructor(e={}){l(this,"counter"),l(this,"debug"),l(this,"dict"),l(this,"version"),l(this,"dictIndex",0),l(this,"dictRange",[]),l(this,"lowerBound",0),l(this,"upperBound",0),l(this,"dictLength",0),l(this,"uuidLength"),l(this,"_digit_first_ascii",48),l(this,"_digit_last_ascii",58),l(this,"_alpha_lower_first_ascii",97),l(this,"_alpha_lower_last_ascii",123),l(this,"_hex_last_ascii",103),l(this,"_alpha_upper_first_ascii",65),l(this,"_alpha_upper_last_ascii",91),l(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),l(this,"_alpha_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),l(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),l(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),l(this,"_alphanum_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),l(this,"_alphanum_lower_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),l(this,"_alphanum_upper_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),l(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),l(this,"_dict_ranges",{_number_dict_ranges:this._number_dict_ranges,_alpha_dict_ranges:this._alpha_dict_ranges,_alpha_lower_dict_ranges:this._alpha_lower_dict_ranges,_alpha_upper_dict_ranges:this._alpha_upper_dict_ranges,_alphanum_dict_ranges:this._alphanum_dict_ranges,_alphanum_lower_dict_ranges:this._alphanum_lower_dict_ranges,_alphanum_upper_dict_ranges:this._alphanum_upper_dict_ranges,_hex_dict_ranges:this._hex_dict_ranges}),l(this,"log",((...e)=>{const t=[...e]
if(t[0]=`[short-unique-id] ${e[0]}`,!0===this.debug&&"undefined"!=typeof console&&null!==console)return console.log(...t)})),l(this,"_normalizeDictionary",((e,t)=>{let r
if(e&&Array.isArray(e)&&e.length>1)r=e
else{let t
r=[],this.dictIndex=t=0
const n=`_${e}_dict_ranges`,i=this._dict_ranges[n]
Object.keys(i).forEach((e=>{const n=e
for(this.dictRange=i[n],this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1],this.dictIndex=t=this.lowerBound;this.lowerBound<=this.upperBound?t<this.upperBound:t>this.upperBound;this.dictIndex=this.lowerBound<=this.upperBound?t+=1:t-=1)r.push(String.fromCharCode(this.dictIndex))}))}if(t){const e=.5
r=r.sort((()=>Math.random()-e))}return r})),l(this,"setDictionary",((e,t)=>{this.dict=this._normalizeDictionary(e,t),this.dictLength=this.dict.length,this.setCounter(0)})),l(this,"seq",(()=>this.sequentialUUID())),l(this,"sequentialUUID",(()=>{let e,t,r=""
e=this.counter
do{t=e%this.dictLength,e=Math.trunc(e/this.dictLength),r+=this.dict[t]}while(0!==e)
return this.counter+=1,r})),l(this,"rnd",((e=this.uuidLength||u)=>this.randomUUID(e))),l(this,"randomUUID",((e=this.uuidLength||u)=>{let t,r,n
if(null==e||e<1)throw new Error("Invalid UUID Length Provided")
for(t="",n=0;n<e;n+=1)r=parseInt((Math.random()*this.dictLength).toFixed(0),10)%this.dictLength,t+=this.dict[r]
return t})),l(this,"fmt",((e,t)=>this.formattedUUID(e,t))),l(this,"formattedUUID",((e,t)=>{const r={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp}
return e.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,(e=>{const n=e.slice(0,2),i=parseInt(e.slice(2),10)
return"$s"===n?r[n]().padStart(i,"0"):"$t"===n&&t?r[n](i,t):r[n](i)}))})),l(this,"availableUUIDs",((e=this.uuidLength)=>parseFloat(Math.pow([...new Set(this.dict)].length,e).toFixed(0)))),l(this,"approxMaxBeforeCollision",((e=this.availableUUIDs(this.uuidLength))=>parseFloat(Math.sqrt(Math.PI/2*e).toFixed(20)))),l(this,"collisionProbability",((e=this.availableUUIDs(this.uuidLength),t=this.uuidLength)=>parseFloat((this.approxMaxBeforeCollision(e)/this.availableUUIDs(t)).toFixed(20)))),l(this,"uniqueness",((e=this.availableUUIDs(this.uuidLength))=>{const t=parseFloat((1-this.approxMaxBeforeCollision(e)/e).toFixed(20))
return t>1?1:t<0?0:t})),l(this,"getVersion",(()=>this.version)),l(this,"stamp",((e,t)=>{const r=Math.floor(+(t||new Date)/1e3).toString(16)
if("number"==typeof e&&0===e)return r
if("number"!=typeof e||e<10)throw new Error(["Param finalLength must be a number greater than or equal to 10,","or 0 if you want the raw hexadecimal timestamp"].join("\n"))
const n=e-9,i=Math.round(Math.random()*(n>15?15:n)),s=this.randomUUID(n)
return`${s.substring(0,i)}${r}${s.substring(i)}${i.toString(16)}`})),l(this,"parseStamp",((e,t)=>{if(t&&!/t0|t[1-9]\d{1,}/.test(t))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format")
const r=t?t.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,(e=>{const t={$r:e=>[...Array(e)].map((()=>"r")).join(""),$s:e=>[...Array(e)].map((()=>"s")).join(""),$t:e=>[...Array(e)].map((()=>"t")).join("")},r=e.slice(0,2),n=parseInt(e.slice(2),10)
return t[r](n)})).replace(/^(.*?)(t{8,})(.*)$/g,((t,r,n)=>e.substring(r.length,r.length+n.length))):e
if(8===r.length)return new Date(1e3*parseInt(r,16))
if(r.length<10)throw new Error("Stamp length invalid")
const n=parseInt(r.substring(r.length-1),16)
return new Date(1e3*parseInt(r.substring(n,n+8),16))})),l(this,"setCounter",(e=>{this.counter=e})),l(this,"validate",((e,t)=>{const r=t?this._normalizeDictionary(t):this.dict
return e.split("").every((e=>r.includes(e)))}))
const t=a(a({},h),e)
this.counter=0,this.debug=!1,this.dict=[],this.version="5.2.0"
const{dictionary:r,shuffle:n,length:i,counter:s}=t
return this.uuidLength=i,this.setDictionary(r,n),this.setCounter(s),this.debug=t.debug,this.log(this.dict),this.log(`Generator instantiated with Dictionary Size ${this.dictLength} and counter set to ${this.counter}`),this.log=this.log.bind(this),this.setDictionary=this.setDictionary.bind(this),this.setCounter=this.setCounter.bind(this),this.seq=this.seq.bind(this),this.sequentialUUID=this.sequentialUUID.bind(this),this.rnd=this.rnd.bind(this),this.randomUUID=this.randomUUID.bind(this),this.fmt=this.fmt.bind(this),this.formattedUUID=this.formattedUUID.bind(this),this.availableUUIDs=this.availableUUIDs.bind(this),this.approxMaxBeforeCollision=this.approxMaxBeforeCollision.bind(this),this.collisionProbability=this.collisionProbability.bind(this),this.uniqueness=this.uniqueness.bind(this),this.getVersion=this.getVersion.bind(this),this.stamp=this.stamp.bind(this),this.parseStamp=this.parseStamp.bind(this),this}}
l(d,"default",d)
var p,f=d
return p=c,((n,s,o,a)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let l of r(s))i.call(n,l)||void 0===l||e(n,l,{get:()=>s[l],enumerable:!(a=t(s,l))||a.enumerable})
return n})(e({},"__esModule",{value:!0}),p)})()
e.exports=t.default,"undefined"!=typeof window&&(t=t.default)},920:(e,t,r)=>{"use strict"
var n=r(70453),i=r(38075),s=r(58859),o=r(69675),a=n("%WeakMap%",!0),l=n("%Map%",!0),c=i("WeakMap.prototype.get",!0),u=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),d=i("Map.prototype.get",!0),p=i("Map.prototype.set",!0),f=i("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r}
e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new o("Side channel does not contain "+s(e))},get:function(n){if(a&&n&&("object"==typeof n||"function"==typeof n)){if(e)return c(e,n)}else if(l){if(t)return d(t,n)}else if(r)return function(e,t){var r=m(e,t)
return r&&r.value}(r,n)},has:function(n){if(a&&n&&("object"==typeof n||"function"==typeof n)){if(e)return h(e,n)}else if(l){if(t)return f(t,n)}else if(r)return function(e,t){return!!m(e,t)}(r,n)
return!1},set:function(n,i){a&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new a),u(e,n,i)):l?(t||(t=new l),p(t,n,i)):(r||(r={key:{},next:null}),function(e,t,r){var n=m(e,t)
n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,i))}}
return n}},88310:(e,t,r)=>{e.exports=i
var n=r(37007).EventEmitter
function i(){n.call(this)}r(56698)(i,n),i.Readable=r(45412),i.Writable=r(16708),i.Duplex=r(25382),i.Transform=r(74610),i.PassThrough=r(63600),i.finished=r(86238),i.pipeline=r(57758),i.Stream=i,i.prototype.pipe=function(e,t){var r=this
function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function s(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",s),e._isStdio||t&&!1===t.end||(r.on("end",a),r.on("close",l))
var o=!1
function a(){o||(o=!0,e.end())}function l(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function c(e){if(u(),0===n.listenerCount(this,"error"))throw e}function u(){r.removeListener("data",i),e.removeListener("drain",s),r.removeListener("end",a),r.removeListener("close",l),r.removeListener("error",c),e.removeListener("error",c),r.removeListener("end",u),r.removeListener("close",u),e.removeListener("close",u)}return r.on("error",c),e.on("error",c),r.on("end",u),r.on("close",u),e.on("close",u),e.emit("pipe",r),e}},83141:(e,t,r)=>{"use strict"
var n=r(92861).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0
default:return!1}}
function s(e){var t
switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8"
for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8"
case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le"
case"latin1":case"binary":return"latin1"
case"base64":case"ascii":case"hex":return e
default:if(t)return
e=(""+e).toLowerCase(),t=!0}}(e)
if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e)
return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4
break
case"utf8":this.fillLast=a,t=4
break
case"base64":this.text=u,this.end=h,t=3
break
default:return this.write=d,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�"
if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�"
if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e)
return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t)
if(r){var n=r.charCodeAt(r.length-1)
if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):""
if(this.lastNeed){var r=this.lastTotal-this.lastNeed
return t+this.lastChar.toString("utf16le",0,r)}return t}function u(e,t){var r=(e.length-t)%3
return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function h(e){var t=e&&e.length?this.write(e):""
return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.I=s,s.prototype.write=function(e){if(0===e.length)return""
var t,r
if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return""
r=this.lastNeed,this.lastNeed=0}else r=0
return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},s.prototype.end=function(e){var t=e&&e.length?this.write(e):""
return this.lastNeed?t+"�":t},s.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1
if(n<r)return 0
var i=o(t[n])
return i>=0?(i>0&&(e.lastNeed=i-1),i):--n<r||-2===i?0:(i=o(t[n]))>=0?(i>0&&(e.lastNeed=i-2),i):--n<r||-2===i?0:(i=o(t[n]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t)
if(!this.lastNeed)return e.toString("utf8",t)
this.lastTotal=r
var n=e.length-(r-this.lastNeed)
return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},s.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)
e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},16426:e=>{e.exports=function(){var e=document.getSelection()
if(!e.rangeCount)return function(){}
for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n))
switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur()
break
default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},36623:e=>{"use strict"
function t(e){return Object.prototype.toString.call(e)}var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}
function n(e,t){if(e.forEach)return e.forEach(t)
for(var r=0;r<e.length;r++)t(e[r],r,e)}var i=Object.keys||function(e){var t=[]
for(var r in e)t.push(r)
return t},s=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols
function a(e){var t=i(e)
if(o)for(var r=o(e),n=0;n<r.length;n++)s.call(e,r[n])&&t.push(r[n])
return t}var l=Object.prototype.hasOwnProperty||function(e,t){return t in e}
function c(e){if("object"==typeof e&&null!==e){var i
if(r(e))i=[]
else if(function(e){return"[object Date]"===t(e)}(e))i=new Date(e.getTime?e.getTime():e)
else if(function(e){return"[object RegExp]"===t(e)}(e))i=new RegExp(e)
else if(function(e){return"[object Error]"===t(e)}(e))i={message:e.message}
else if(function(e){return"[object Boolean]"===t(e)}(e)||function(e){return"[object Number]"===t(e)}(e)||function(e){return"[object String]"===t(e)}(e))i=Object(e)
else if(Object.create&&Object.getPrototypeOf)i=Object.create(Object.getPrototypeOf(e))
else if(e.constructor===Object)i={}
else{var s=e.constructor&&e.constructor.prototype||e.__proto__||{},o=function(){}
o.prototype=s,i=new o}return n(a(e),(function(t){i[t]=e[t]})),i}return e}function u(e,t,i){var s=[],o=[],u=!0
return function e(h){var d=i?c(h):h,p={},f=!0,m={node:d,node_:h,path:[].concat(s),parent:o[o.length-1],parents:o,key:s[s.length-1],isRoot:0===s.length,level:s.length,circular:null,update:function(e,t){m.isRoot||(m.parent.node[m.key]=e),m.node=e,t&&(f=!1)},delete:function(e){delete m.parent.node[m.key],e&&(f=!1)},remove:function(e){r(m.parent.node)?m.parent.node.splice(m.key,1):delete m.parent.node[m.key],e&&(f=!1)},keys:null,before:function(e){p.before=e},after:function(e){p.after=e},pre:function(e){p.pre=e},post:function(e){p.post=e},stop:function(){u=!1},block:function(){f=!1}}
if(!u)return m
function g(){if("object"==typeof m.node&&null!==m.node){m.keys&&m.node_===m.node||(m.keys=a(m.node)),m.isLeaf=0===m.keys.length
for(var e=0;e<o.length;e++)if(o[e].node_===h){m.circular=o[e]
break}}else m.isLeaf=!0,m.keys=null
m.notLeaf=!m.isLeaf,m.notRoot=!m.isRoot}g()
var y=t.call(m,m.node)
return void 0!==y&&m.update&&m.update(y),p.before&&p.before.call(m,m.node),f?("object"!=typeof m.node||null===m.node||m.circular||(o.push(m),g(),n(m.keys,(function(t,r){s.push(t),p.pre&&p.pre.call(m,m.node[t],t)
var n=e(m.node[t])
i&&l.call(m.node,t)&&(m.node[t]=n.node),n.isLast=r===m.keys.length-1,n.isFirst=0===r,p.post&&p.post.call(m,n),s.pop()})),o.pop()),p.after&&p.after.call(m,m.node),m):m}(e).node}function h(e){this.value=e}function d(e){return new h(e)}h.prototype.get=function(e){for(var t=this.value,r=0;r<e.length;r++){var n=e[r]
if(!t||!l.call(t,n))return
t=t[n]}return t},h.prototype.has=function(e){for(var t=this.value,r=0;r<e.length;r++){var n=e[r]
if(!t||!l.call(t,n))return!1
t=t[n]}return!0},h.prototype.set=function(e,t){for(var r=this.value,n=0;n<e.length-1;n++){var i=e[n]
l.call(r,i)||(r[i]={}),r=r[i]}return r[e[n]]=t,t},h.prototype.map=function(e){return u(this.value,e,!0)},h.prototype.forEach=function(e){return this.value=u(this.value,e,!1),this.value},h.prototype.reduce=function(e,t){var r=1===arguments.length,n=r?this.value:t
return this.forEach((function(t){this.isRoot&&r||(n=e.call(this,n,t))})),n},h.prototype.paths=function(){var e=[]
return this.forEach((function(){e.push(this.path)})),e},h.prototype.nodes=function(){var e=[]
return this.forEach((function(){e.push(this.node)})),e},h.prototype.clone=function(){var e=[],t=[]
return function r(i){for(var s=0;s<e.length;s++)if(e[s]===i)return t[s]
if("object"==typeof i&&null!==i){var o=c(i)
return e.push(i),t.push(o),n(a(i),(function(e){o[e]=r(i[e])})),e.pop(),t.pop(),o}return i}(this.value)},n(a(h.prototype),(function(e){d[e]=function(t){var r=[].slice.call(arguments,1),n=new h(t)
return n[e].apply(n,r)}})),e.exports=d},61160:(e,t,r)=>{"use strict"
var n=r(92063),i=r(73992),s=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,o=/[\n\r\t]/g,a=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,l=/:\d+$/,c=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,u=/^[a-zA-Z]:/
function h(e){return(e||"").toString().replace(s,"")}var d=[["#","hash"],["?","query"],function(e,t){return m(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],p={hash:1,query:1}
function f(e){var t,n=("undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{}).location||{},i={},s=typeof(e=e||n)
if("blob:"===e.protocol)i=new y(unescape(e.pathname),{})
else if("string"===s)for(t in i=new y(e,{}),p)delete i[t]
else if("object"===s){for(t in e)t in p||(i[t]=e[t])
void 0===i.slashes&&(i.slashes=a.test(e.href))}return i}function m(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function g(e,t){e=(e=h(e)).replace(o,""),t=t||{}
var r,n=c.exec(e),i=n[1]?n[1].toLowerCase():"",s=!!n[2],a=!!n[3],l=0
return s?a?(r=n[2]+n[3]+n[4],l=n[2].length+n[3].length):(r=n[2]+n[4],l=n[2].length):a?(r=n[3]+n[4],l=n[3].length):r=n[4],"file:"===i?l>=2&&(r=r.slice(2)):m(i)?r=n[4]:i?s&&(r=r.slice(2)):l>=2&&m(t.protocol)&&(r=n[4]),{protocol:i,slashes:s||m(i),slashesCount:l,rest:r}}function y(e,t,r){if(e=(e=h(e)).replace(o,""),!(this instanceof y))return new y(e,t,r)
var s,a,l,c,p,v,b=d.slice(),w=typeof t,S=this,k=0
for("object"!==w&&"string"!==w&&(r=t,t=null),r&&"function"!=typeof r&&(r=i.parse),s=!(a=g(e||"",t=f(t))).protocol&&!a.slashes,S.slashes=a.slashes||s&&t.slashes,S.protocol=a.protocol||t.protocol||"",e=a.rest,("file:"===a.protocol&&(2!==a.slashesCount||u.test(e))||!a.slashes&&(a.protocol||a.slashesCount<2||!m(S.protocol)))&&(b[3]=[/(.*)/,"pathname"]);k<b.length;k++)"function"!=typeof(c=b[k])?(l=c[0],v=c[1],l!=l?S[v]=e:"string"==typeof l?~(p="@"===l?e.lastIndexOf(l):e.indexOf(l))&&("number"==typeof c[2]?(S[v]=e.slice(0,p),e=e.slice(p+c[2])):(S[v]=e.slice(p),e=e.slice(0,p))):(p=l.exec(e))&&(S[v]=p[1],e=e.slice(0,p.index)),S[v]=S[v]||s&&c[3]&&t[v]||"",c[4]&&(S[v]=S[v].toLowerCase())):e=c(e,S)
r&&(S.query=r(S.query)),s&&t.slashes&&"/"!==S.pathname.charAt(0)&&(""!==S.pathname||""!==t.pathname)&&(S.pathname=function(e,t){if(""===e)return t
for(var r=(t||"/").split("/").slice(0,-1).concat(e.split("/")),n=r.length,i=r[n-1],s=!1,o=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),o++):o&&(0===n&&(s=!0),r.splice(n,1),o--)
return s&&r.unshift(""),"."!==i&&".."!==i||r.push(""),r.join("/")}(S.pathname,t.pathname)),"/"!==S.pathname.charAt(0)&&m(S.protocol)&&(S.pathname="/"+S.pathname),n(S.port,S.protocol)||(S.host=S.hostname,S.port=""),S.username=S.password="",S.auth&&(~(p=S.auth.indexOf(":"))?(S.username=S.auth.slice(0,p),S.username=encodeURIComponent(decodeURIComponent(S.username)),S.password=S.auth.slice(p+1),S.password=encodeURIComponent(decodeURIComponent(S.password))):S.username=encodeURIComponent(decodeURIComponent(S.auth)),S.auth=S.password?S.username+":"+S.password:S.username),S.origin="file:"!==S.protocol&&m(S.protocol)&&S.host?S.protocol+"//"+S.host:"null",S.href=S.toString()}y.prototype={set:function(e,t,r){var s=this
switch(e){case"query":"string"==typeof t&&t.length&&(t=(r||i.parse)(t)),s[e]=t
break
case"port":s[e]=t,n(t,s.protocol)?t&&(s.host=s.hostname+":"+t):(s.host=s.hostname,s[e]="")
break
case"hostname":s[e]=t,s.port&&(t+=":"+s.port),s.host=t
break
case"host":s[e]=t,l.test(t)?(t=t.split(":"),s.port=t.pop(),s.hostname=t.join(":")):(s.hostname=t,s.port="")
break
case"protocol":s.protocol=t.toLowerCase(),s.slashes=!r
break
case"pathname":case"hash":if(t){var o="pathname"===e?"/":"#"
s[e]=t.charAt(0)!==o?o+t:t}else s[e]=t
break
case"username":case"password":s[e]=encodeURIComponent(t)
break
case"auth":var a=t.indexOf(":")
~a?(s.username=t.slice(0,a),s.username=encodeURIComponent(decodeURIComponent(s.username)),s.password=t.slice(a+1),s.password=encodeURIComponent(decodeURIComponent(s.password))):s.username=encodeURIComponent(decodeURIComponent(t))}for(var c=0;c<d.length;c++){var u=d[c]
u[4]&&(s[u[1]]=s[u[1]].toLowerCase())}return s.auth=s.password?s.username+":"+s.password:s.username,s.origin="file:"!==s.protocol&&m(s.protocol)&&s.host?s.protocol+"//"+s.host:"null",s.href=s.toString(),s},toString:function(e){e&&"function"==typeof e||(e=i.stringify)
var t,r=this,n=r.host,s=r.protocol
s&&":"!==s.charAt(s.length-1)&&(s+=":")
var o=s+(r.protocol&&r.slashes||m(r.protocol)?"//":"")
return r.username?(o+=r.username,r.password&&(o+=":"+r.password),o+="@"):r.password?(o+=":"+r.password,o+="@"):"file:"!==r.protocol&&m(r.protocol)&&!n&&"/"!==r.pathname&&(o+="@"),(":"===n[n.length-1]||l.test(r.hostname)&&!r.port)&&(n+=":"),o+=n+r.pathname,(t="object"==typeof r.query?e(r.query):r.query)&&(o+="?"!==t.charAt(0)?"?"+t:t),r.hash&&(o+=r.hash),o}},y.extractProtocol=g,y.location=f,y.trimLeft=h,y.qs=i,e.exports=y},77154:(e,t,r)=>{"use strict"
var n=r(96540),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=n.useSyncExternalStore,o=n.useRef,a=n.useEffect,l=n.useMemo,c=n.useDebugValue
t.useSyncExternalStoreWithSelector=function(e,t,r,n,u){var h=o(null)
if(null===h.current){var d={hasValue:!1,value:null}
h.current=d}else d=h.current
h=l((function(){function e(e){if(!a){if(a=!0,s=e,e=n(e),void 0!==u&&d.hasValue){var t=d.value
if(u(t,e))return o=t}return o=e}if(t=o,i(s,e))return t
var r=n(e)
return void 0!==u&&u(t,r)?t:(s=e,o=r)}var s,o,a=!1,l=void 0===r?null:r
return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,r,n,u])
var p=s(e,h[0],h[1])
return a((function(){d.hasValue=!0,d.value=p}),[p]),c(p),p}},78418:(e,t,r)=>{"use strict"
e.exports=r(77154)},94643:(e,t,r)=>{function n(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e]
return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e
var r=!1
return function(){if(!r){if(n("throwDeprecation"))throw new Error(t)
n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}},26657:(e,t,r)=>{"use strict"
var n=r(75208),i=function(e){return/<\/+[^>]+>/.test(e)},s=function(e){return/<[^>]+\/>/.test(e)}
function o(e){return i(e)?"ClosingTag":function(e){return function(e){return/<[^>!]+>/.test(e)}(e)&&!i(e)&&!s(e)}(e)?"OpeningTag":s(e)?"SelfClosingTag":"Text"}e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.indentor,i=t.textNodesOnSameLine,s=0,a=[]
r=r||"    "
var l=function(e){return function(e){return e.split(/(<\/?[^>]+>)/g).filter((function(e){return""!==e.trim()}))}(e).map((function(e){return{value:e,type:o(e)}}))}(e).map((function(e,t,o){var l=e.value,c=e.type
"ClosingTag"===c&&s--
var u=n(r,s),h=u+l
if("OpeningTag"===c&&s++,i){var d=o[t-1],p=o[t-2]
"ClosingTag"===c&&"Text"===d.type&&"OpeningTag"===p.type&&(h=""+u+p.value+d.value+l,a.push(t-2,t-1))}return h}))
return a.forEach((function(e){return l[e]=null})),l.filter((function(e){return!!e})).join("\n")}},31499:e=>{var t={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;"}
e.exports=function(e){return e&&e.replace?e.replace(/([&"<>'])/g,(function(e,r){return t[r]})):e}},19123:(e,t,r)=>{var n=r(65606),i=r(31499),s=r(88310).Stream
function o(e,t,r){var n,s=function(e,t){return new Array(t||0).join(e||"")}(t,r=r||0),a=e
if("object"==typeof e&&(a=e[n=Object.keys(e)[0]])&&a._elem)return a._elem.name=n,a._elem.icount=r,a._elem.indent=t,a._elem.indents=s,a._elem.interrupt=a,a._elem
var l,c=[],u=[]
function h(e){Object.keys(e).forEach((function(t){c.push(function(e,t){return e+'="'+i(t)+'"'}(t,e[t]))}))}switch(typeof a){case"object":if(null===a)break
a._attr&&h(a._attr),a._cdata&&u.push(("<![CDATA["+a._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),a.forEach&&(l=!1,u.push(""),a.forEach((function(e){"object"==typeof e?"_attr"==Object.keys(e)[0]?h(e._attr):u.push(o(e,t,r+1)):(u.pop(),l=!0,u.push(i(e)))})),l||u.push(""))
break
default:u.push(i(a))}return{name:n,interrupt:!1,attributes:c,content:u,icount:r,indents:s,indent:t}}function a(e,t,r){if("object"!=typeof t)return e(!1,t)
var n=t.interrupt?1:t.content.length
function i(){for(;t.content.length;){var i=t.content.shift()
if(void 0!==i){if(s(i))return
a(e,i)}}e(!1,(n>1?t.indents:"")+(t.name?"</"+t.name+">":"")+(t.indent&&!r?"\n":"")),r&&r()}function s(t){return!!t.interrupt&&(t.interrupt.append=e,t.interrupt.end=i,t.interrupt=!1,e(!0),!0)}if(e(!1,t.indents+(t.name?"<"+t.name:"")+(t.attributes.length?" "+t.attributes.join(" "):"")+(n?t.name?">":"":t.name?"/>":"")+(t.indent&&n>1?"\n":"")),!n)return e(!1,t.indent?"\n":"")
s(t)||i()}e.exports=function(e,t){"object"!=typeof t&&(t={indent:t})
var r=t.stream?new s:null,i="",l=!1,c=t.indent?!0===t.indent?"    ":t.indent:"",u=!0
function h(e){u?n.nextTick(e):e()}function d(e,t){if(void 0!==t&&(i+=t),e&&!l&&(r=r||new s,l=!0),e&&l){var n=i
h((function(){r.emit("data",n)})),i=""}}function p(e,t){a(d,o(e,c,c?1:0),t)}function f(){if(r){var e=i
h((function(){r.emit("data",e),r.emit("end"),r.readable=!1,r.emit("close")}))}}return h((function(){u=!1})),t.declaration&&function(e){var t={version:"1.0",encoding:e.encoding||"UTF-8"}
e.standalone&&(t.standalone=e.standalone),p({"?xml":{_attr:t}}),i=i.replace("/>","?>")}(t.declaration),e&&e.forEach?e.forEach((function(t,r){var n
r+1===e.length&&(n=f),p(t,n)})):p(e,f),r?(r.readable=!0,r):i},e.exports.element=e.exports.Element=function(){var e={_elem:o(Array.prototype.slice.call(arguments)),push:function(e){if(!this.append)throw new Error("not assigned to a parent!")
var t=this,r=this._elem.indent
a(this.append,o(e,r,this._elem.icount+(r?1:0)),(function(){t.append(!0)}))},close:function(e){void 0!==e&&this.push(e),this.end&&this.end()}}
return e}},86215:function(e,t){var r,n,i
n=[],r=function(){"use strict"
var e=function(e){return e&&"getComputedStyle"in window&&"smooth"===window.getComputedStyle(e)["scroll-behavior"]}
if("undefined"==typeof window||!("document"in window))return{}
var t=function(t,r,n){var i
r=r||999,n||0===n||(n=9)
var s=function(e){i=e},o=function(){clearTimeout(i),s(0)},a=function(e){return Math.max(0,t.getTopOf(e)-n)},l=function(n,i,a){if(o(),0===i||i&&i<0||e(t.body))t.toY(n),a&&a()
else{var l=t.getY(),c=Math.max(0,n)-l,u=(new Date).getTime()
i=i||Math.min(Math.abs(c),r),function e(){s(setTimeout((function(){var r=Math.min(1,((new Date).getTime()-u)/i),n=Math.max(0,Math.floor(l+c*(r<.5?2*r*r:r*(4-2*r)-1)))
t.toY(n),r<1&&t.getHeight()+n<t.body.scrollHeight?e():(setTimeout(o,99),a&&a())}),9))}()}},c=function(e,t,r){l(a(e),t,r)}
return{setup:function(e,t){return(0===e||e)&&(r=e),(0===t||t)&&(n=t),{defaultDuration:r,edgeOffset:n}},to:c,toY:l,intoView:function(e,r,i){var s=e.getBoundingClientRect().height,o=t.getTopOf(e)+s,u=t.getHeight(),h=t.getY(),d=h+u
a(e)<h||s+n>u?c(e,r,i):o+n>d?l(o-u+n,r,i):i&&i()},center:function(e,r,n,i){l(Math.max(0,t.getTopOf(e)-t.getHeight()/2+(n||e.getBoundingClientRect().height/2)),r,i)},stop:o,moving:function(){return!!i},getY:t.getY,getTopOf:t.getTopOf}},r=document.documentElement,n=function(){return window.scrollY||r.scrollTop},i=t({body:document.scrollingElement||document.body,toY:function(e){window.scrollTo(0,e)},getY:n,getHeight:function(){return window.innerHeight||r.clientHeight},getTopOf:function(e){return e.getBoundingClientRect().top+n()-r.offsetTop}})
if(i.createScroller=function(e,n,i){return t({body:e,toY:function(t){e.scrollTop=t},getY:function(){return e.scrollTop},getHeight:function(){return Math.min(e.clientHeight,window.innerHeight||r.clientHeight)},getTopOf:function(e){return e.offsetTop}},n,i)},"addEventListener"in window&&!window.noZensmooth&&!e(document.body)){var s="history"in window&&"pushState"in history,o=s&&"scrollRestoration"in history
o&&(history.scrollRestoration="auto"),window.addEventListener("load",(function(){o&&(setTimeout((function(){history.scrollRestoration="manual"}),9),window.addEventListener("popstate",(function(e){e.state&&"zenscrollY"in e.state&&i.toY(e.state.zenscrollY)}),!1)),window.location.hash&&setTimeout((function(){var e=i.setup().edgeOffset
if(e){var t=document.getElementById(window.location.href.split("#")[1])
if(t){var r=Math.max(0,i.getTopOf(t)-e),n=i.getY()-r
0<=n&&n<9&&window.scrollTo(0,r)}}}),9)}),!1)
var a=new RegExp("(^|\\s)noZensmooth(\\s|$)")
window.addEventListener("click",(function(e){for(var t=e.target;t&&"A"!==t.tagName;)t=t.parentNode
if(!(!t||1!==e.which||e.shiftKey||e.metaKey||e.ctrlKey||e.altKey)){if(o){var r=history.state&&"object"==typeof history.state?history.state:{}
r.zenscrollY=i.getY()
try{history.replaceState(r,"")}catch(e){}}var n=t.getAttribute("href")||""
if(0===n.indexOf("#")&&!a.test(t.className)){var l=0,c=document.getElementById(n.substring(1))
if("#"!==n){if(!c)return
l=i.getTopOf(c)}e.preventDefault()
var u=function(){window.location=n},h=i.setup().edgeOffset
h&&(l=Math.max(0,l-h),s&&(u=function(){history.pushState({},"",n)})),i.toY(l,null,u)}}}),!1)}return i}(),void 0===(i="function"==typeof r?r.apply(t,n):r)||(e.exports=i)},42634:()=>{},15340:()=>{},79838:()=>{},48675:(e,t,r)=>{e.exports=r(20850)},39584:(e,t,r)=>{e.exports=r(92983)},7666:(e,t,r)=>{var n=r(84851),i=r(953)
function s(){var t
return e.exports=s=n?i(t=n).call(t):function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]
for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,s.apply(this,arguments)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},46942:(e,t)=>{var r
!function(){"use strict"
var n={}.hasOwnProperty
function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t]
r&&(e=o(e,s(r)))}return e}function s(e){if("string"==typeof e||"number"==typeof e)return e
if("object"!=typeof e)return""
if(Array.isArray(e))return i.apply(null,e)
if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString()
var t=""
for(var r in e)n.call(e,r)&&e[r]&&(t=o(t,r))
return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},68623:(e,t,r)=>{"use strict"
var n=r(694)
e.exports=n},93700:(e,t,r)=>{"use strict"
var n=r(19709)
e.exports=n},4588:(e,t,r)=>{"use strict"
var n=r(96203)
e.exports=n},462:(e,t,r)=>{"use strict"
var n=r(40975)
e.exports=n},37257:(e,t,r)=>{"use strict"
r(96605),r(64502),r(36371),r(99363),r(7057)
var n=r(92046)
e.exports=n.AggregateError},32567:(e,t,r)=>{"use strict"
r(79307)
var n=r(61747)
e.exports=n("Function","bind")},23034:(e,t,r)=>{"use strict"
var n=r(88280),i=r(32567),s=Function.prototype
e.exports=function(e){var t=e.bind
return e===s||n(s,e)&&t===s.bind?i:t}},3258:(e,t,r)=>{"use strict"
var n=r(88280),i=r(16768),s=String.prototype
e.exports=function(e){var t=e.matchAll
return"string"==typeof e||e===s||n(s,e)&&t===s.matchAll?i:t}},9748:(e,t,r)=>{"use strict"
r(71340)
var n=r(92046)
e.exports=n.Object.assign},16768:(e,t,r)=>{"use strict"
r(86024),r(51398),r(79104)
var n=r(61747)
e.exports=n("String","matchAll")},20850:(e,t,r)=>{"use strict"
e.exports=r(46076)},953:(e,t,r)=>{"use strict"
e.exports=r(53375)},92983:(e,t,r)=>{"use strict"
e.exports=r(5077)},84851:(e,t,r)=>{"use strict"
e.exports=r(85401)},46076:(e,t,r)=>{"use strict"
r(91599)
var n=r(68623)
e.exports=n},53375:(e,t,r)=>{"use strict"
var n=r(93700)
e.exports=n},5077:(e,t,r)=>{"use strict"
r(37347)
var n=r(4588)
e.exports=n},85401:(e,t,r)=>{"use strict"
var n=r(462)
e.exports=n},82159:(e,t,r)=>{"use strict"
var n=r(62250),i=r(4640),s=TypeError
e.exports=function(e){if(n(e))return e
throw new s(i(e)+" is not a function")}},82235:(e,t,r)=>{"use strict"
var n=r(25468),i=r(4640),s=TypeError
e.exports=function(e){if(n(e))return e
throw new s(i(e)+" is not a constructor")}},10043:(e,t,r)=>{"use strict"
var n=r(54018),i=String,s=TypeError
e.exports=function(e){if(n(e))return e
throw new s("Can't set "+i(e)+" as a prototype")}},42156:e=>{"use strict"
e.exports=function(){}},25592:(e,t,r)=>{"use strict"
var n=r(11470).charAt
e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},36624:(e,t,r)=>{"use strict"
var n=r(46285),i=String,s=TypeError
e.exports=function(e){if(n(e))return e
throw new s(i(e)+" is not an object")}},74436:(e,t,r)=>{"use strict"
var n=r(4993),i=r(34849),s=r(20575),o=function(e){return function(t,r,o){var a=n(t),l=s(a)
if(0===l)return!e&&-1
var c,u=i(o,l)
if(e&&r!=r){for(;l>u;)if((c=a[u++])!=c)return!0}else for(;l>u;u++)if((e||u in a)&&a[u]===r)return e||u||0
return!e&&-1}}
e.exports={includes:o(!0),indexOf:o(!1)}},93427:(e,t,r)=>{"use strict"
var n=r(1907)
e.exports=n([].slice)},45807:(e,t,r)=>{"use strict"
var n=r(1907),i=n({}.toString),s=n("".slice)
e.exports=function(e){return s(i(e),8,-1)}},73948:(e,t,r)=>{"use strict"
var n=r(52623),i=r(62250),s=r(45807),o=r(76264)("toStringTag"),a=Object,l="Arguments"===s(function(){return arguments}())
e.exports=n?s:function(e){var t,r,n
return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),o))?r:l?s(t):"Object"===(n=s(t))&&i(t.callee)?"Arguments":n}},19595:(e,t,r)=>{"use strict"
var n=r(49724),i=r(11042),s=r(13846),o=r(74284)
e.exports=function(e,t,r){for(var a=i(t),l=o.f,c=s.f,u=0;u<a.length;u++){var h=a[u]
n(e,h)||r&&n(r,h)||l(e,h,c(t,h))}}},57382:(e,t,r)=>{"use strict"
var n=r(98828)
e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},59550:e=>{"use strict"
e.exports=function(e,t){return{value:e,done:t}}},61626:(e,t,r)=>{"use strict"
var n=r(39447),i=r(74284),s=r(75817)
e.exports=n?function(e,t,r){return i.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}},75817:e=>{"use strict"
e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},68055:(e,t,r)=>{"use strict"
var n=r(61626)
e.exports=function(e,t,r,i){return i&&i.enumerable?e[t]=r:n(e,t,r),e}},2532:(e,t,r)=>{"use strict"
var n=r(41010),i=Object.defineProperty
e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},39447:(e,t,r)=>{"use strict"
var n=r(98828)
e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},49552:(e,t,r)=>{"use strict"
var n=r(41010),i=r(46285),s=n.document,o=i(s)&&i(s.createElement)
e.exports=function(e){return o?s.createElement(e):{}}},19287:e=>{"use strict"
e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},64723:e=>{"use strict"
e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},15683:(e,t,r)=>{"use strict"
var n,i,s=r(41010),o=r(64723),a=s.process,l=s.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8
u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},80376:e=>{"use strict"
e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},85762:(e,t,r)=>{"use strict"
var n=r(1907),i=Error,s=n("".replace),o=String(new i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,l=a.test(o)
e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=s(e,a,"")
return e}},85884:(e,t,r)=>{"use strict"
var n=r(61626),i=r(85762),s=r(23888),o=Error.captureStackTrace
e.exports=function(e,t,r,a){s&&(o?o(e,t):n(e,"stack",i(r,a)))}},23888:(e,t,r)=>{"use strict"
var n=r(98828),i=r(75817)
e.exports=!n((function(){var e=new Error("a")
return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},11091:(e,t,r)=>{"use strict"
var n=r(41010),i=r(76024),s=r(92361),o=r(62250),a=r(13846).f,l=r(7463),c=r(92046),u=r(28311),h=r(61626),d=r(49724)
r(36128)
var p=function(e){var t=function(r,n,s){if(this instanceof t){switch(arguments.length){case 0:return new e
case 1:return new e(r)
case 2:return new e(r,n)}return new e(r,n,s)}return i(e,this,arguments)}
return t.prototype=e.prototype,t}
e.exports=function(e,t){var r,i,f,m,g,y,v,b,w,S=e.target,k=e.global,x=e.stat,E=e.proto,N=k?n:x?n[S]:n[S]&&n[S].prototype,_=k?c:c[S]||h(c,S,{})[S],C=_.prototype
for(m in t)i=!(r=l(k?m:S+(x?".":"#")+m,e.forced))&&N&&d(N,m),y=_[m],i&&(v=e.dontCallGetSet?(w=a(N,m))&&w.value:N[m]),g=i&&v?v:t[m],(r||E||typeof y!=typeof g)&&(b=e.bind&&i?u(g,n):e.wrap&&i?p(g):E&&o(g)?s(g):g,(e.sham||g&&g.sham||y&&y.sham)&&h(b,"sham",!0),h(_,m,b),E&&(d(c,f=S+"Prototype")||h(c,f,{}),h(c[f],m,g),e.real&&C&&(r||!C[m])&&h(C,m,g)))}},98828:e=>{"use strict"
e.exports=function(e){try{return!!e()}catch(e){return!0}}},76024:(e,t,r)=>{"use strict"
var n=r(41505),i=Function.prototype,s=i.apply,o=i.call
e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(s):function(){return o.apply(s,arguments)})},28311:(e,t,r)=>{"use strict"
var n=r(92361),i=r(82159),s=r(41505),o=n(n.bind)
e.exports=function(e,t){return i(e),void 0===t?e:s?o(e,t):function(){return e.apply(t,arguments)}}},41505:(e,t,r)=>{"use strict"
var n=r(98828)
e.exports=!n((function(){var e=function(){}.bind()
return"function"!=typeof e||e.hasOwnProperty("prototype")}))},44673:(e,t,r)=>{"use strict"
var n=r(1907),i=r(82159),s=r(46285),o=r(49724),a=r(93427),l=r(41505),c=Function,u=n([].concat),h=n([].join),d={}
e.exports=l?c.bind:function(e){var t=i(this),r=t.prototype,n=a(arguments,1),l=function(){var r=u(n,a(arguments))
return this instanceof l?function(e,t,r){if(!o(d,t)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]"
d[t]=c("C,a","return new C("+h(n,",")+")")}return d[t](e,r)}(t,r.length,r):t.apply(e,r)}
return s(r)&&(l.prototype=r),l}},13930:(e,t,r)=>{"use strict"
var n=r(41505),i=Function.prototype.call
e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},36833:(e,t,r)=>{"use strict"
var n=r(39447),i=r(49724),s=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=i(s,"name"),l=a&&"something"===function(){}.name,c=a&&(!n||n&&o(s,"name").configurable)
e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},51871:(e,t,r)=>{"use strict"
var n=r(1907),i=r(82159)
e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},92361:(e,t,r)=>{"use strict"
var n=r(45807),i=r(1907)
e.exports=function(e){if("Function"===n(e))return i(e)}},1907:(e,t,r)=>{"use strict"
var n=r(41505),i=Function.prototype,s=i.call,o=n&&i.bind.bind(s,s)
e.exports=n?o:function(e){return function(){return s.apply(e,arguments)}}},61747:(e,t,r)=>{"use strict"
var n=r(41010),i=r(92046)
e.exports=function(e,t){var r=i[e+"Prototype"],s=r&&r[t]
if(s)return s
var o=n[e],a=o&&o.prototype
return a&&a[t]}},85582:(e,t,r)=>{"use strict"
var n=r(92046),i=r(41010),s=r(62250),o=function(e){return s(e)?e:void 0}
e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},73448:(e,t,r)=>{"use strict"
var n=r(73948),i=r(29367),s=r(87136),o=r(93742),a=r(76264)("iterator")
e.exports=function(e){if(!s(e))return i(e,a)||i(e,"@@iterator")||o[n(e)]}},10300:(e,t,r)=>{"use strict"
var n=r(13930),i=r(82159),s=r(36624),o=r(4640),a=r(73448),l=TypeError
e.exports=function(e,t){var r=arguments.length<2?a(e):t
if(i(r))return s(n(r,e))
throw new l(o(e)+" is not iterable")}},29367:(e,t,r)=>{"use strict"
var n=r(82159),i=r(87136)
e.exports=function(e,t){var r=e[t]
return i(r)?void 0:n(r)}},41010:function(e,t,r){"use strict"
var n=function(e){return e&&e.Math===Math&&e}
e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},49724:(e,t,r)=>{"use strict"
var n=r(1907),i=r(39298),s=n({}.hasOwnProperty)
e.exports=Object.hasOwn||function(e,t){return s(i(e),t)}},38530:e=>{"use strict"
e.exports={}},62416:(e,t,r)=>{"use strict"
var n=r(85582)
e.exports=n("document","documentElement")},73648:(e,t,r)=>{"use strict"
var n=r(39447),i=r(98828),s=r(49552)
e.exports=!n&&!i((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},16946:(e,t,r)=>{"use strict"
var n=r(1907),i=r(98828),s=r(45807),o=Object,a=n("".split)
e.exports=i((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===s(e)?a(e,""):o(e)}:o},34084:(e,t,r)=>{"use strict"
var n=r(62250),i=r(46285),s=r(79192)
e.exports=function(e,t,r){var o,a
return s&&n(o=t.constructor)&&o!==r&&i(a=o.prototype)&&a!==r.prototype&&s(e,a),e}},12647:(e,t,r)=>{"use strict"
var n=r(1907),i=r(62250),s=r(36128),o=n(Function.toString)
i(s.inspectSource)||(s.inspectSource=function(e){return o(e)}),e.exports=s.inspectSource},39259:(e,t,r)=>{"use strict"
var n=r(46285),i=r(61626)
e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},64932:(e,t,r)=>{"use strict"
var n,i,s,o=r(40551),a=r(41010),l=r(46285),c=r(61626),u=r(49724),h=r(36128),d=r(92522),p=r(38530),f="Object already initialized",m=a.TypeError,g=a.WeakMap
if(o||h.state){var y=h.state||(h.state=new g)
y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw new m(f)
return t.facade=e,y.set(e,t),t},i=function(e){return y.get(e)||{}},s=function(e){return y.has(e)}}else{var v=d("state")
p[v]=!0,n=function(e,t){if(u(e,v))throw new m(f)
return t.facade=e,c(e,v,t),t},i=function(e){return u(e,v)?e[v]:{}},s=function(e){return u(e,v)}}e.exports={set:n,get:i,has:s,enforce:function(e){return s(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r
if(!l(t)||(r=i(t)).type!==e)throw new m("Incompatible receiver, "+e+" required")
return r}}}},37812:(e,t,r)=>{"use strict"
var n=r(76264),i=r(93742),s=n("iterator"),o=Array.prototype
e.exports=function(e){return void 0!==e&&(i.Array===e||o[s]===e)}},62250:e=>{"use strict"
var t="object"==typeof document&&document.all
e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},25468:(e,t,r)=>{"use strict"
var n=r(1907),i=r(98828),s=r(62250),o=r(73948),a=r(85582),l=r(12647),c=function(){},u=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,d=n(h.exec),p=!h.test(c),f=function(e){if(!s(e))return!1
try{return u(c,[],e),!0}catch(e){return!1}},m=function(e){if(!s(e))return!1
switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(h,l(e))}catch(e){return!0}}
m.sham=!0,e.exports=!u||i((function(){var e
return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?m:f},7463:(e,t,r)=>{"use strict"
var n=r(98828),i=r(62250),s=/#|\.prototype\./,o=function(e,t){var r=l[a(e)]
return r===u||r!==c&&(i(t)?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(s,".").toLowerCase()},l=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P"
e.exports=o},87136:e=>{"use strict"
e.exports=function(e){return null==e}},46285:(e,t,r)=>{"use strict"
var n=r(62250)
e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},54018:(e,t,r)=>{"use strict"
var n=r(46285)
e.exports=function(e){return n(e)||null===e}},7376:e=>{"use strict"
e.exports=!0},72087:(e,t,r)=>{"use strict"
var n=r(46285),i=r(45807),s=r(76264)("match")
e.exports=function(e){var t
return n(e)&&(void 0!==(t=e[s])?!!t:"RegExp"===i(e))}},25594:(e,t,r)=>{"use strict"
var n=r(85582),i=r(62250),s=r(88280),o=r(51175),a=Object
e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol")
return i(t)&&s(t.prototype,a(e))}},24823:(e,t,r)=>{"use strict"
var n=r(28311),i=r(13930),s=r(36624),o=r(4640),a=r(37812),l=r(20575),c=r(88280),u=r(10300),h=r(73448),d=r(40154),p=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype
e.exports=function(e,t,r){var g,y,v,b,w,S,k,x=r&&r.that,E=!(!r||!r.AS_ENTRIES),N=!(!r||!r.IS_RECORD),_=!(!r||!r.IS_ITERATOR),C=!(!r||!r.INTERRUPTED),A=n(t,x),O=function(e){return g&&d(g,"normal",e),new f(!0,e)},P=function(e){return E?(s(e),C?A(e[0],e[1],O):A(e[0],e[1])):C?A(e,O):A(e)}
if(N)g=e.iterator
else if(_)g=e
else{if(!(y=h(e)))throw new p(o(e)+" is not iterable")
if(a(y)){for(v=0,b=l(e);b>v;v++)if((w=P(e[v]))&&c(m,w))return w
return new f(!1)}g=u(e,y)}for(S=N?e.next:g.next;!(k=i(S,g)).done;){try{w=P(k.value)}catch(e){d(g,"throw",e)}if("object"==typeof w&&w&&c(m,w))return w}return new f(!1)}},40154:(e,t,r)=>{"use strict"
var n=r(13930),i=r(36624),s=r(29367)
e.exports=function(e,t,r){var o,a
i(e)
try{if(!(o=s(e,"return"))){if("throw"===t)throw r
return r}o=n(o,e)}catch(e){a=!0,o=e}if("throw"===t)throw r
if(a)throw o
return i(o),r}},47181:(e,t,r)=>{"use strict"
var n=r(95116).IteratorPrototype,i=r(58075),s=r(75817),o=r(14840),a=r(93742),l=function(){return this}
e.exports=function(e,t,r,c){var u=t+" Iterator"
return e.prototype=i(n,{next:s(+!c,r)}),o(e,u,!1,!0),a[u]=l,e}},60183:(e,t,r)=>{"use strict"
var n=r(11091),i=r(13930),s=r(7376),o=r(36833),a=r(62250),l=r(47181),c=r(15972),u=r(79192),h=r(14840),d=r(61626),p=r(68055),f=r(76264),m=r(93742),g=r(95116),y=o.PROPER,v=o.CONFIGURABLE,b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,S=f("iterator"),k="keys",x="values",E="entries",N=function(){return this}
e.exports=function(e,t,r,o,f,g,_){l(r,t,o)
var C,A,O,P=function(e){if(e===f&&M)return M
if(!w&&e&&e in j)return j[e]
switch(e){case k:case x:case E:return function(){return new r(this,e)}}return function(){return new r(this)}},T=t+" Iterator",I=!1,j=e.prototype,D=j[S]||j["@@iterator"]||f&&j[f],M=!w&&D||P(f),B="Array"===t&&j.entries||D
if(B&&(C=c(B.call(new e)))!==Object.prototype&&C.next&&(s||c(C)===b||(u?u(C,b):a(C[S])||p(C,S,N)),h(C,T,!0,!0),s&&(m[T]=N)),y&&f===x&&D&&D.name!==x&&(!s&&v?d(j,"name",x):(I=!0,M=function(){return i(D,this)})),f)if(A={values:P(x),keys:g?M:P(k),entries:P(E)},_)for(O in A)(w||I||!(O in j))&&p(j,O,A[O])
else n({target:t,proto:!0,forced:w||I},A)
return s&&!_||j[S]===M||p(j,S,M,{name:f}),m[t]=M,A}},95116:(e,t,r)=>{"use strict"
var n,i,s,o=r(98828),a=r(62250),l=r(46285),c=r(58075),u=r(15972),h=r(68055),d=r(76264),p=r(7376),f=d("iterator"),m=!1;[].keys&&("next"in(s=[].keys())?(i=u(u(s)))!==Object.prototype&&(n=i):m=!0),!l(n)||o((function(){var e={}
return n[f].call(e)!==e}))?n={}:p&&(n=c(n)),a(n[f])||h(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},93742:e=>{"use strict"
e.exports={}},20575:(e,t,r)=>{"use strict"
var n=r(3121)
e.exports=function(e){return n(e.length)}},41176:e=>{"use strict"
var t=Math.ceil,r=Math.floor
e.exports=Math.trunc||function(e){var n=+e
return(n>0?r:t)(n)}},32096:(e,t,r)=>{"use strict"
var n=r(90160)
e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},29538:(e,t,r)=>{"use strict"
var n=r(39447),i=r(1907),s=r(13930),o=r(98828),a=r(2875),l=r(87170),c=r(22574),u=r(39298),h=r(16946),d=Object.assign,p=Object.defineProperty,f=i([].concat)
e.exports=!d||o((function(){if(n&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0
var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst"
return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!==d({},e)[r]||a(d({},t)).join("")!==i}))?function(e,t){for(var r=u(e),i=arguments.length,o=1,d=l.f,p=c.f;i>o;)for(var m,g=h(arguments[o++]),y=d?f(a(g),d(g)):a(g),v=y.length,b=0;v>b;)m=y[b++],n&&!s(p,g,m)||(r[m]=g[m])
return r}:d},58075:(e,t,r)=>{"use strict"
var n,i=r(36624),s=r(42220),o=r(80376),a=r(38530),l=r(62416),c=r(49552),u=r(92522),h="prototype",d="script",p=u("IE_PROTO"),f=function(){},m=function(e){return"<"+d+">"+e+"</"+d+">"},g=function(e){e.write(m("")),e.close()
var t=e.parentWindow.Object
return e=null,t},y=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r
y="undefined"!=typeof document?document.domain&&n?g(n):(t=c("iframe"),r="java"+d+":",t.style.display="none",l.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(n)
for(var i=o.length;i--;)delete y[h][o[i]]
return y()}
a[p]=!0,e.exports=Object.create||function(e,t){var r
return null!==e?(f[h]=i(e),r=new f,f[h]=null,r[p]=e):r=y(),void 0===t?r:s.f(r,t)}},42220:(e,t,r)=>{"use strict"
var n=r(39447),i=r(58661),s=r(74284),o=r(36624),a=r(4993),l=r(2875)
t.f=n&&!i?Object.defineProperties:function(e,t){o(e)
for(var r,n=a(t),i=l(t),c=i.length,u=0;c>u;)s.f(e,r=i[u++],n[r])
return e}},74284:(e,t,r)=>{"use strict"
var n=r(39447),i=r(73648),s=r(58661),o=r(36624),a=r(70470),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",p="writable"
t.f=n?s?function(e,t,r){if(o(e),t=a(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&p in r&&!r[p]){var n=u(e,t)
n&&n[p]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:h in r?r[h]:n[h],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(o(e),t=a(t),o(r),i)try{return c(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new l("Accessors not supported")
return"value"in r&&(e[t]=r.value),e}},13846:(e,t,r)=>{"use strict"
var n=r(39447),i=r(13930),s=r(22574),o=r(75817),a=r(4993),l=r(70470),c=r(49724),u=r(73648),h=Object.getOwnPropertyDescriptor
t.f=n?h:function(e,t){if(e=a(e),t=l(t),u)try{return h(e,t)}catch(e){}if(c(e,t))return o(!i(s.f,e,t),e[t])}},24443:(e,t,r)=>{"use strict"
var n=r(23045),i=r(80376).concat("length","prototype")
t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},87170:(e,t)=>{"use strict"
t.f=Object.getOwnPropertySymbols},15972:(e,t,r)=>{"use strict"
var n=r(49724),i=r(62250),s=r(39298),o=r(92522),a=r(57382),l=o("IE_PROTO"),c=Object,u=c.prototype
e.exports=a?c.getPrototypeOf:function(e){var t=s(e)
if(n(t,l))return t[l]
var r=t.constructor
return i(r)&&t instanceof r?r.prototype:t instanceof c?u:null}},88280:(e,t,r)=>{"use strict"
var n=r(1907)
e.exports=n({}.isPrototypeOf)},23045:(e,t,r)=>{"use strict"
var n=r(1907),i=r(49724),s=r(4993),o=r(74436).indexOf,a=r(38530),l=n([].push)
e.exports=function(e,t){var r,n=s(e),c=0,u=[]
for(r in n)!i(a,r)&&i(n,r)&&l(u,r)
for(;t.length>c;)i(n,r=t[c++])&&(~o(u,r)||l(u,r))
return u}},2875:(e,t,r)=>{"use strict"
var n=r(23045),i=r(80376)
e.exports=Object.keys||function(e){return n(e,i)}},22574:(e,t)=>{"use strict"
var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1)
t.f=i?function(e){var t=n(this,e)
return!!t&&t.enumerable}:r},79192:(e,t,r)=>{"use strict"
var n=r(51871),i=r(46285),s=r(74239),o=r(10043)
e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={}
try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return s(r),o(n),i(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},54878:(e,t,r)=>{"use strict"
var n=r(52623),i=r(73948)
e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},60581:(e,t,r)=>{"use strict"
var n=r(13930),i=r(62250),s=r(46285),o=TypeError
e.exports=function(e,t){var r,a
if("string"===t&&i(r=e.toString)&&!s(a=n(r,e)))return a
if(i(r=e.valueOf)&&!s(a=n(r,e)))return a
if("string"!==t&&i(r=e.toString)&&!s(a=n(r,e)))return a
throw new o("Can't convert object to primitive value")}},11042:(e,t,r)=>{"use strict"
var n=r(85582),i=r(1907),s=r(24443),o=r(87170),a=r(36624),l=i([].concat)
e.exports=n("Reflect","ownKeys")||function(e){var t=s.f(a(e)),r=o.f
return r?l(t,r(e)):t}},92046:e=>{"use strict"
e.exports={}},54829:(e,t,r)=>{"use strict"
var n=r(74284).f
e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},70971:(e,t,r)=>{"use strict"
var n=r(13930),i=r(36624),s=r(62250),o=r(45807),a=r(16820),l=TypeError
e.exports=function(e,t){var r=e.exec
if(s(r)){var c=n(r,e,t)
return null!==c&&i(c),c}if("RegExp"===o(e))return n(a,e,t)
throw new l("RegExp#exec called on incompatible receiver")}},16820:e=>{"use strict"
e.exports=/./.exec},85606:(e,t,r)=>{"use strict"
var n=r(36624)
e.exports=function(){var e=n(this),t=""
return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},40663:(e,t,r)=>{"use strict"
var n=r(13930),i=r(49724),s=r(88280),o=r(85606),a=RegExp.prototype
e.exports=function(e){var t=e.flags
return void 0!==t||"flags"in a||i(e,"flags")||!s(a,e)?t:n(o,e)}},74239:(e,t,r)=>{"use strict"
var n=r(87136),i=TypeError
e.exports=function(e){if(n(e))throw new i("Can't call method on "+e)
return e}},14840:(e,t,r)=>{"use strict"
var n=r(52623),i=r(74284).f,s=r(61626),o=r(49724),a=r(54878),l=r(76264)("toStringTag")
e.exports=function(e,t,r,c){var u=r?e:e&&e.prototype
u&&(o(u,l)||i(u,l,{configurable:!0,value:t}),c&&!n&&s(u,"toString",a))}},92522:(e,t,r)=>{"use strict"
var n=r(85816),i=r(6499),s=n("keys")
e.exports=function(e){return s[e]||(s[e]=i(e))}},36128:(e,t,r)=>{"use strict"
var n=r(7376),i=r(41010),s=r(2532),o="__core-js_shared__",a=e.exports=i[o]||s(o,{});(a.versions||(a.versions=[])).push({version:"3.37.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},85816:(e,t,r)=>{"use strict"
var n=r(36128)
e.exports=function(e,t){return n[e]||(n[e]=t||{})}},28450:(e,t,r)=>{"use strict"
var n=r(36624),i=r(82235),s=r(87136),o=r(76264)("species")
e.exports=function(e,t){var r,a=n(e).constructor
return void 0===a||s(r=n(a)[o])?t:i(r)}},11470:(e,t,r)=>{"use strict"
var n=r(1907),i=r(65482),s=r(90160),o=r(74239),a=n("".charAt),l=n("".charCodeAt),c=n("".slice),u=function(e){return function(t,r){var n,u,h=s(o(t)),d=i(r),p=h.length
return d<0||d>=p?e?"":void 0:(n=l(h,d))<55296||n>56319||d+1===p||(u=l(h,d+1))<56320||u>57343?e?a(h,d):n:e?c(h,d,d+2):u-56320+(n-55296<<10)+65536}}
e.exports={codeAt:u(!1),charAt:u(!0)}},19846:(e,t,r)=>{"use strict"
var n=r(15683),i=r(98828),s=r(41010).String
e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection")
return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},34849:(e,t,r)=>{"use strict"
var n=r(65482),i=Math.max,s=Math.min
e.exports=function(e,t){var r=n(e)
return r<0?i(r+t,0):s(r,t)}},4993:(e,t,r)=>{"use strict"
var n=r(16946),i=r(74239)
e.exports=function(e){return n(i(e))}},65482:(e,t,r)=>{"use strict"
var n=r(41176)
e.exports=function(e){var t=+e
return t!=t||0===t?0:n(t)}},3121:(e,t,r)=>{"use strict"
var n=r(65482),i=Math.min
e.exports=function(e){var t=n(e)
return t>0?i(t,9007199254740991):0}},39298:(e,t,r)=>{"use strict"
var n=r(74239),i=Object
e.exports=function(e){return i(n(e))}},46028:(e,t,r)=>{"use strict"
var n=r(13930),i=r(46285),s=r(25594),o=r(29367),a=r(60581),l=r(76264),c=TypeError,u=l("toPrimitive")
e.exports=function(e,t){if(!i(e)||s(e))return e
var r,l=o(e,u)
if(l){if(void 0===t&&(t="default"),r=n(l,e,t),!i(r)||s(r))return r
throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},70470:(e,t,r)=>{"use strict"
var n=r(46028),i=r(25594)
e.exports=function(e){var t=n(e,"string")
return i(t)?t:t+""}},52623:(e,t,r)=>{"use strict"
var n={}
n[r(76264)("toStringTag")]="z",e.exports="[object z]"===String(n)},90160:(e,t,r)=>{"use strict"
var n=r(73948),i=String
e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string")
return i(e)}},4640:e=>{"use strict"
var t=String
e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},6499:(e,t,r)=>{"use strict"
var n=r(1907),i=0,s=Math.random(),o=n(1..toString)
e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+s,36)}},51175:(e,t,r)=>{"use strict"
var n=r(19846)
e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},58661:(e,t,r)=>{"use strict"
var n=r(39447),i=r(98828)
e.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},40551:(e,t,r)=>{"use strict"
var n=r(41010),i=r(62250),s=n.WeakMap
e.exports=i(s)&&/native code/.test(String(s))},76264:(e,t,r)=>{"use strict"
var n=r(41010),i=r(85816),s=r(49724),o=r(6499),a=r(19846),l=r(51175),c=n.Symbol,u=i("wks"),h=l?c.for||c:c&&c.withoutSetter||o
e.exports=function(e){return s(u,e)||(u[e]=a&&s(c,e)?c[e]:h("Symbol."+e)),u[e]}},19358:(e,t,r)=>{"use strict"
var n=r(85582),i=r(49724),s=r(61626),o=r(88280),a=r(79192),l=r(19595),c=r(54829),u=r(34084),h=r(32096),d=r(39259),p=r(85884),f=r(39447),m=r(7376)
e.exports=function(e,t,r,g){var y="stackTraceLimit",v=g?2:1,b=e.split("."),w=b[b.length-1],S=n.apply(null,b)
if(S){var k=S.prototype
if(!m&&i(k,"cause")&&delete k.cause,!r)return S
var x=n("Error"),E=t((function(e,t){var r=h(g?t:e,void 0),n=g?new S(e):new S
return void 0!==r&&s(n,"message",r),p(n,E,n.stack,2),this&&o(k,this)&&u(n,this,E),arguments.length>v&&d(n,arguments[v]),n}))
if(E.prototype=k,"Error"!==w?a?a(E,x):l(E,x,{name:!0}):f&&y in S&&(c(E,S,y),c(E,S,"prepareStackTrace")),l(E,S),!m)try{k.name!==w&&s(k,"name",w),k.constructor=E}catch(e){}return E}}},36371:(e,t,r)=>{"use strict"
var n=r(11091),i=r(85582),s=r(76024),o=r(98828),a=r(19358),l="AggregateError",c=i(l),u=!o((function(){return 1!==c([1]).errors[0]}))&&o((function(){return 7!==c([1],l,{cause:7}).cause}))
n({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:a(l,(function(e){return function(t,r){return s(e,this,arguments)}}),u,!0)})},82048:(e,t,r)=>{"use strict"
var n=r(11091),i=r(88280),s=r(15972),o=r(79192),a=r(19595),l=r(58075),c=r(61626),u=r(75817),h=r(39259),d=r(85884),p=r(24823),f=r(32096),m=r(76264)("toStringTag"),g=Error,y=[].push,v=function(e,t){var r,n=i(b,this)
o?r=o(new g,n?s(this):b):(r=n?this:l(b),c(r,m,"Error")),void 0!==t&&c(r,"message",f(t)),d(r,v,r.stack,1),arguments.length>2&&h(r,arguments[2])
var a=[]
return p(e,y,{that:a}),c(r,"errors",a),r}
o?o(v,g):a(v,g,{name:!0})
var b=v.prototype=l(g.prototype,{constructor:u(1,v),message:u(1,""),name:u(1,"AggregateError")})
n({global:!0,constructor:!0,arity:2},{AggregateError:v})},64502:(e,t,r)=>{"use strict"
r(82048)},99363:(e,t,r)=>{"use strict"
var n=r(4993),i=r(42156),s=r(93742),o=r(64932),a=r(74284).f,l=r(60183),c=r(59550),u=r(7376),h=r(39447),d="Array Iterator",p=o.set,f=o.getterFor(d)
e.exports=l(Array,"Array",(function(e,t){p(this,{type:d,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,r=e.index++
if(!t||r>=t.length)return e.target=void 0,c(void 0,!0)
switch(e.kind){case"keys":return c(r,!1)
case"values":return c(t[r],!1)}return c([r,t[r]],!1)}),"values")
var m=s.Arguments=s.Array
if(i("keys"),i("values"),i("entries"),!u&&h&&"values"!==m.name)try{a(m,"name",{value:"values"})}catch(e){}},96605:(e,t,r)=>{"use strict"
var n=r(11091),i=r(41010),s=r(76024),o=r(19358),a="WebAssembly",l=i[a],c=7!==new Error("e",{cause:7}).cause,u=function(e,t){var r={}
r[e]=o(e,t,c),n({global:!0,constructor:!0,arity:1,forced:c},r)},h=function(e,t){if(l&&l[e]){var r={}
r[e]=o(a+"."+e,t,c),n({target:a,stat:!0,constructor:!0,arity:1,forced:c},r)}}
u("Error",(function(e){return function(t){return s(e,this,arguments)}})),u("EvalError",(function(e){return function(t){return s(e,this,arguments)}})),u("RangeError",(function(e){return function(t){return s(e,this,arguments)}})),u("ReferenceError",(function(e){return function(t){return s(e,this,arguments)}})),u("SyntaxError",(function(e){return function(t){return s(e,this,arguments)}})),u("TypeError",(function(e){return function(t){return s(e,this,arguments)}})),u("URIError",(function(e){return function(t){return s(e,this,arguments)}})),h("CompileError",(function(e){return function(t){return s(e,this,arguments)}})),h("LinkError",(function(e){return function(t){return s(e,this,arguments)}})),h("RuntimeError",(function(e){return function(t){return s(e,this,arguments)}}))},79307:(e,t,r)=>{"use strict"
var n=r(11091),i=r(44673)
n({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},71340:(e,t,r)=>{"use strict"
var n=r(11091),i=r(29538)
n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},86024:()=>{},51398:()=>{},7057:(e,t,r)=>{"use strict"
var n=r(11470).charAt,i=r(90160),s=r(64932),o=r(60183),a=r(59550),l="String Iterator",c=s.set,u=s.getterFor(l)
o(String,"String",(function(e){c(this,{type:l,string:i(e),index:0})}),(function(){var e,t=u(this),r=t.string,i=t.index
return i>=r.length?a(void 0,!0):(e=n(r,i),t.index+=e.length,a(e,!1))}))},79104:(e,t,r)=>{"use strict"
var n=r(11091),i=r(13930),s=r(92361),o=r(47181),a=r(59550),l=r(74239),c=r(3121),u=r(90160),h=r(36624),d=r(87136),p=r(45807),f=r(72087),m=r(40663),g=r(29367),y=r(68055),v=r(98828),b=r(76264),w=r(28450),S=r(25592),k=r(70971),x=r(64932),E=r(7376),N=b("matchAll"),_="RegExp String",C=_+" Iterator",A=x.set,O=x.getterFor(C),P=RegExp.prototype,T=TypeError,I=s("".indexOf),j=s("".matchAll),D=!!j&&!v((function(){j("a",/./)})),M=o((function(e,t,r,n){A(this,{type:C,regexp:e,string:t,global:r,unicode:n,done:!1})}),_,(function(){var e=O(this)
if(e.done)return a(void 0,!0)
var t=e.regexp,r=e.string,n=k(t,r)
return null===n?(e.done=!0,a(void 0,!0)):e.global?(""===u(n[0])&&(t.lastIndex=S(r,c(t.lastIndex),e.unicode)),a(n,!1)):(e.done=!0,a(n,!1))})),B=function(e){var t,r,n,i=h(this),s=u(e),o=w(i,RegExp),a=u(m(i))
return t=new o(o===RegExp?i.source:i,a),r=!!~I(a,"g"),n=!!~I(a,"u"),t.lastIndex=c(i.lastIndex),new M(t,s,r,n)}
n({target:"String",proto:!0,forced:D},{matchAll:function(e){var t,r,n,s,o=l(this)
if(d(e)){if(D)return j(o,e)}else{if(f(e)&&(t=u(l(m(e))),!~I(t,"g")))throw new T("`.matchAll` does not allow non-global regexes")
if(D)return j(o,e)
if(void 0===(n=g(e,N))&&E&&"RegExp"===p(e)&&(n=B),n)return i(n,e,o)}return r=u(o),s=new RegExp(e,"g"),E?i(B,s,r):s[N](r)}}),E||N in P||y(P,N,B)},91599:(e,t,r)=>{"use strict"
r(64502)},37347:(e,t,r)=>{"use strict"
r(79104)},12560:(e,t,r)=>{"use strict"
r(99363)
var n=r(19287),i=r(41010),s=r(14840),o=r(93742)
for(var a in n)s(i[a],a),o[a]=o.Array},694:(e,t,r)=>{"use strict"
r(91599)
var n=r(37257)
r(12560),e.exports=n},19709:(e,t,r)=>{"use strict"
var n=r(23034)
e.exports=n},96203:(e,t,r)=>{"use strict"
var n=r(3258)
e.exports=n},40975:(e,t,r)=>{"use strict"
var n=r(9748)
e.exports=n}},a={}
function l(e){var t=a[e]
if(void 0!==t)return t.exports
var r=a[e]={id:e,loaded:!1,exports:{}}
return o[e].call(r.exports,r,r.exports,l),r.loaded=!0,r.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e
return l.d(t,{a:t}),t},i=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t
if("object"==typeof t&&t){if(4&r&&t.__esModule)return t
if(16&r&&"function"==typeof t.then)return t}var n=Object.create(null)
l.r(n)
var s={}
e=e||[null,i({}),i([]),i(i)]
for(var o=2&r&&t;"object"==typeof o&&!~e.indexOf(o);o=i(o))Object.getOwnPropertyNames(o).forEach((e=>s[e]=()=>t[e]))
return s.default=()=>t,l.d(n,s),n},l.d=(e,t)=>{for(var r in t)l.o(t,r)&&!l.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},l.g=function(){if("object"==typeof globalThis)return globalThis
try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=e=>(e.paths=[],e.children||(e.children=[]),e)
var c={}
return((e,i,o,a,u,h)=>{"use strict"
l.d(c,{default:()=>OU})
var d={}
l.r(d),l.d(d,{CLEAR:()=>ce,CLEAR_BY:()=>ue,NEW_AUTH_ERR:()=>le,NEW_SPEC_ERR:()=>oe,NEW_SPEC_ERR_BATCH:()=>ae,NEW_THROWN_ERR:()=>ie,NEW_THROWN_ERR_BATCH:()=>se,clear:()=>ge,clearBy:()=>ye,newAuthErr:()=>me,newSpecErr:()=>pe,newSpecErrBatch:()=>fe,newThrownErr:()=>he,newThrownErrBatch:()=>de})
var p={}
l.r(p),l.d(p,{AUTHORIZE:()=>Et,AUTHORIZE_OAUTH2:()=>Ct,CONFIGURE_AUTH:()=>Ot,LOGOUT:()=>Nt,PRE_AUTHORIZE_OAUTH2:()=>_t,RESTORE_AUTHORIZATION:()=>Pt,SHOW_AUTH_POPUP:()=>xt,VALIDATE:()=>At,authPopup:()=>Kt,authorize:()=>It,authorizeAccessCodeWithBasicAuthentication:()=>$t,authorizeAccessCodeWithFormParams:()=>Vt,authorizeApplication:()=>Ft,authorizeOauth2:()=>Rt,authorizeOauth2WithPersistOption:()=>Lt,authorizePassword:()=>zt,authorizeRequest:()=>Ut,authorizeWithPersistOption:()=>jt,configureAuth:()=>Ht,logout:()=>Dt,logoutWithPersistOption:()=>Mt,persistAuthorizationIfNeeded:()=>Wt,preAuthorizeImplicit:()=>Bt,restoreAuthorization:()=>qt,showDefinitions:()=>Tt})
var f={}
l.r(f),l.d(f,{authorized:()=>ar,definitionsForRequirements:()=>or,definitionsToAuthorize:()=>ir,getConfigs:()=>cr,getDefinitionsByNames:()=>sr,isAuthorized:()=>lr,shownDefinitions:()=>nr})
var m={}
l.r(m),l.d(m,{TOGGLE_CONFIGS:()=>fs,UPDATE_CONFIGS:()=>ps,downloadConfig:()=>vs,getConfigByUrl:()=>bs,loaded:()=>ys,toggle:()=>gs,update:()=>ms})
var g={}
l.r(g),l.d(g,{get:()=>ws})
var y={}
l.r(y),l.d(y,{transform:()=>Bs})
var v={}
l.r(v),l.d(v,{transform:()=>zs})
var b={}
l.r(b),l.d(b,{allErrors:()=>Us,lastError:()=>Hs})
var w={}
l.r(w),l.d(w,{SHOW:()=>ao,UPDATE_FILTER:()=>so,UPDATE_LAYOUT:()=>io,UPDATE_MODE:()=>oo,changeMode:()=>ho,show:()=>uo,updateFilter:()=>co,updateLayout:()=>lo})
var S={}
l.r(S),l.d(S,{current:()=>fo,currentFilter:()=>mo,isShown:()=>go,showSummary:()=>vo,whatMode:()=>yo})
var k={}
l.r(k),l.d(k,{taggedOperations:()=>bo})
var x={}
l.r(x),l.d(x,{requestSnippetGenerator_curl_bash:()=>Po,requestSnippetGenerator_curl_cmd:()=>To,requestSnippetGenerator_curl_powershell:()=>Oo})
var E={}
l.r(E),l.d(E,{getActiveLanguage:()=>Mo,getDefaultExpanded:()=>Bo,getGenerators:()=>jo,getSnippetGenerators:()=>Do})
var N={}
l.r(N),l.d(N,{JsonSchemaArrayItemFile:()=>Na,JsonSchemaArrayItemText:()=>Ea,JsonSchemaForm:()=>Sa,JsonSchema_array:()=>xa,JsonSchema_boolean:()=>_a,JsonSchema_object:()=>Aa,JsonSchema_string:()=>ka})
var _={}
l.r(_),l.d(_,{allowTryItOutFor:()=>Zl,basePath:()=>Dl,canExecuteScheme:()=>cc,consumes:()=>Al,consumesOptionsFor:()=>ac,contentTypeValues:()=>ic,currentProducesFor:()=>sc,definitions:()=>jl,externalDocs:()=>kl,findDefinition:()=>Il,getOAS3RequiredRequestBodyContentType:()=>dc,getParameter:()=>Ql,hasHost:()=>ec,host:()=>Ml,info:()=>Sl,isMediaTypeSchemaPropertiesEqual:()=>pc,isOAS3:()=>wl,lastError:()=>cl,mutatedRequestFor:()=>Kl,mutatedRequests:()=>Hl,operationScheme:()=>lc,operationWithMeta:()=>Xl,operations:()=>Cl,operationsWithRootInherited:()=>Rl,operationsWithTags:()=>Fl,parameterInclusionSettingFor:()=>Gl,parameterValues:()=>tc,parameterWithMeta:()=>Yl,parameterWithMetaByIdentity:()=>Jl,parametersIncludeIn:()=>rc,parametersIncludeType:()=>nc,paths:()=>Nl,produces:()=>Ol,producesOptionsFor:()=>oc,requestFor:()=>Wl,requests:()=>Ul,responseFor:()=>ql,responses:()=>$l,schemes:()=>Bl,security:()=>Pl,securityDefinitions:()=>Tl,semver:()=>El,spec:()=>bl,specJS:()=>fl,specJson:()=>pl,specJsonWithResolvedSubtrees:()=>vl,specResolved:()=>ml,specResolvedSubtree:()=>gl,specSource:()=>dl,specStr:()=>hl,tagDetails:()=>zl,taggedOperations:()=>Vl,tags:()=>Ll,url:()=>ul,validOperationMethods:()=>_l,validateBeforeExecute:()=>hc,validationErrors:()=>uc,version:()=>xl})
var C={}
l.r(C),l.d(C,{CLEAR_REQUEST:()=>Dc,CLEAR_RESPONSE:()=>jc,CLEAR_VALIDATE_PARAMS:()=>Mc,LOG_REQUEST:()=>Ic,SET_MUTATED_REQUEST:()=>Tc,SET_REQUEST:()=>Pc,SET_RESPONSE:()=>Oc,SET_SCHEME:()=>zc,UPDATE_EMPTY_PARAM_INCLUSION:()=>Cc,UPDATE_JSON:()=>Nc,UPDATE_OPERATION_META_VALUE:()=>Bc,UPDATE_PARAM:()=>_c,UPDATE_RESOLVED:()=>Rc,UPDATE_RESOLVED_SUBTREE:()=>Lc,UPDATE_SPEC:()=>xc,UPDATE_URL:()=>Ec,VALIDATE_PARAMS:()=>Ac,changeConsumesValue:()=>iu,changeParam:()=>Yc,changeParamByIdentity:()=>Xc,changeProducesValue:()=>su,clearRequest:()=>pu,clearResponse:()=>du,clearValidateParams:()=>nu,execute:()=>hu,executeRequest:()=>uu,invalidateResolvedSubtreeCache:()=>eu,logRequest:()=>cu,parseToJson:()=>qc,requestResolvedSubtree:()=>Gc,resolveSpec:()=>Kc,setMutatedRequest:()=>lu,setRequest:()=>au,setResponse:()=>ou,setScheme:()=>fu,updateEmptyParamInclusion:()=>ru,updateJsonSpec:()=>Hc,updateResolved:()=>$c,updateResolvedSubtree:()=>Qc,updateSpec:()=>Vc,updateUrl:()=>Uc,validateParams:()=>tu})
var A={}
l.r(A),l.d(A,{executeRequest:()=>vu,updateJsonSpec:()=>yu,updateSpec:()=>gu,validateParams:()=>bu})
var O={}
l.r(O),l.d(O,{JsonPatchError:()=>Iu,_areEquals:()=>$u,applyOperation:()=>Ru,applyPatch:()=>Lu,applyReducer:()=>zu,deepClone:()=>ju,getValueByPointer:()=>Bu,validate:()=>Vu,validator:()=>Fu})
var P={}
l.r(P),l.d(P,{compare:()=>Gu,generate:()=>Zu,observe:()=>Ku,unobserve:()=>Wu})
var T={}
l.r(T),l.d(T,{hasElementSourceMap:()=>ig,includesClasses:()=>og,includesSymbols:()=>sg,isAnnotationElement:()=>Qm,isArrayElement:()=>Jm,isBooleanElement:()=>Km,isCommentElement:()=>eg,isElement:()=>Um,isLinkElement:()=>Ym,isMemberElement:()=>Gm,isNullElement:()=>Wm,isNumberElement:()=>qm,isObjectElement:()=>Zm,isParseResultElement:()=>tg,isPrimitiveElement:()=>ng,isRefElement:()=>Xm,isSourceMapElement:()=>rg,isStringElement:()=>Hm})
var I={}
l.r(I),l.d(I,{isJSONReferenceElement:()=>mw,isJSONSchemaElement:()=>fw,isLinkDescriptionElement:()=>yw,isMediaElement:()=>gw})
var j={}
l.r(j),l.d(j,{isBooleanJsonSchemaElement:()=>$S,isCallbackElement:()=>kS,isComponentsElement:()=>xS,isContactElement:()=>ES,isExampleElement:()=>NS,isExternalDocumentationElement:()=>_S,isHeaderElement:()=>CS,isInfoElement:()=>AS,isLicenseElement:()=>OS,isLinkElement:()=>PS,isMediaTypeElement:()=>KS,isOpenApi3_0Element:()=>IS,isOpenapiElement:()=>TS,isOperationElement:()=>jS,isParameterElement:()=>DS,isPathItemElement:()=>MS,isPathsElement:()=>BS,isReferenceElement:()=>RS,isRequestBodyElement:()=>LS,isResponseElement:()=>zS,isResponsesElement:()=>FS,isSchemaElement:()=>VS,isSecurityRequirementElement:()=>US,isSecuritySchemeElement:()=>HS,isServerElement:()=>qS,isServerVariableElement:()=>WS,isServersElement:()=>ZS})
var D={}
l.r(D),l.d(D,{isBooleanJsonSchemaElement:()=>L_,isCallbackElement:()=>m_,isComponentsElement:()=>g_,isContactElement:()=>y_,isExampleElement:()=>v_,isExternalDocumentationElement:()=>b_,isHeaderElement:()=>w_,isInfoElement:()=>S_,isJsonSchemaDialectElement:()=>k_,isLicenseElement:()=>x_,isLinkElement:()=>E_,isMediaTypeElement:()=>U_,isOpenApi3_1Element:()=>__,isOpenapiElement:()=>N_,isOperationElement:()=>C_,isParameterElement:()=>A_,isPathItemElement:()=>O_,isPathItemElementExternal:()=>P_,isPathsElement:()=>T_,isReferenceElement:()=>I_,isReferenceElementExternal:()=>j_,isRequestBodyElement:()=>D_,isResponseElement:()=>M_,isResponsesElement:()=>B_,isSchemaElement:()=>R_,isSecurityRequirementElement:()=>z_,isSecuritySchemeElement:()=>F_,isServerElement:()=>V_,isServerVariableElement:()=>$_})
var M={}
l.r(M),l.d(M,{cookie:()=>yP,header:()=>gP,path:()=>pP,query:()=>fP})
var B={}
l.r(B),l.d(B,{Button:()=>aD,Col:()=>sD,Collapse:()=>pD,Container:()=>nD,Input:()=>cD,Link:()=>hD,Row:()=>oD,Select:()=>uD,TextArea:()=>lD})
var R={}
l.r(R),l.d(R,{basePath:()=>BR,consumes:()=>RR,definitions:()=>TR,findDefinition:()=>PR,hasHost:()=>IR,host:()=>MR,produces:()=>LR,schemes:()=>zR,securityDefinitions:()=>jR,validOperationMethods:()=>DR})
var L={}
l.r(L),l.d(L,{definitionsToAuthorize:()=>FR})
var z={}
l.r(z),l.d(z,{callbacksOperations:()=>JR,findSchema:()=>ZR,isOAS3:()=>qR,isOAS30:()=>HR,isSwagger2:()=>UR,servers:()=>KR})
var F={}
l.r(F),l.d(F,{CLEAR_REQUEST_BODY_VALIDATE_ERROR:()=>kL,CLEAR_REQUEST_BODY_VALUE:()=>xL,SET_REQUEST_BODY_VALIDATE_ERROR:()=>SL,UPDATE_ACTIVE_EXAMPLES_MEMBER:()=>yL,UPDATE_REQUEST_BODY_INCLUSION:()=>gL,UPDATE_REQUEST_BODY_VALUE:()=>fL,UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:()=>mL,UPDATE_REQUEST_CONTENT_TYPE:()=>vL,UPDATE_RESPONSE_CONTENT_TYPE:()=>bL,UPDATE_SELECTED_SERVER:()=>pL,UPDATE_SERVER_VARIABLE_VALUE:()=>wL,clearRequestBodyValidateError:()=>jL,clearRequestBodyValue:()=>ML,initRequestBodyValidateError:()=>DL,setActiveExamplesMember:()=>AL,setRequestBodyInclusion:()=>CL,setRequestBodyValidateError:()=>IL,setRequestBodyValue:()=>NL,setRequestContentType:()=>OL,setResponseContentType:()=>PL,setRetainRequestBodyValueFlag:()=>_L,setSelectedServer:()=>EL,setServerVariableValue:()=>TL})
var V={}
l.r(V),l.d(V,{activeExamplesMember:()=>WL,hasUserEditedBody:()=>UL,requestBodyErrors:()=>qL,requestBodyInclusionSetting:()=>HL,requestBodyValue:()=>FL,requestContentType:()=>KL,responseContentType:()=>ZL,selectDefaultRequestBodyValue:()=>$L,selectedServer:()=>zL,serverEffectiveValue:()=>YL,serverVariableValue:()=>JL,serverVariables:()=>GL,shouldRetainRequestBodyValue:()=>VL,validOperationMethods:()=>ez,validateBeforeExecute:()=>XL,validateShallowRequired:()=>QL})
var $=l(96540)
function U(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var H="function"==typeof Symbol&&Symbol.observable||"@@observable",q=()=>Math.random().toString(36).substring(7).split("").join("."),W={INIT:`@@redux/INIT${q()}`,REPLACE:`@@redux/REPLACE${q()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${q()}`}
function K(e,t,r){if("function"!=typeof e)throw new Error(U(2))
if("function"==typeof t&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(U(0))
if("function"==typeof t&&void 0===r&&(r=t,t=void 0),void 0!==r){if("function"!=typeof r)throw new Error(U(1))
return r(K)(e,t)}let n=e,i=t,s=new Map,o=s,a=0,l=!1
function c(){o===s&&(o=new Map,s.forEach(((e,t)=>{o.set(t,e)})))}function u(){if(l)throw new Error(U(3))
return i}function h(e){if("function"!=typeof e)throw new Error(U(4))
if(l)throw new Error(U(5))
let t=!0
c()
const r=a++
return o.set(r,e),function(){if(t){if(l)throw new Error(U(6))
t=!1,c(),o.delete(r),s=null}}}function d(e){if(!function(e){if("object"!=typeof e||null===e)return!1
let t=e
for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t)
return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}(e))throw new Error(U(7))
if(void 0===e.type)throw new Error(U(8))
if("string"!=typeof e.type)throw new Error(U(17))
if(l)throw new Error(U(9))
try{l=!0,i=n(i,e)}finally{l=!1}return(s=o).forEach((e=>{e()})),e}return d({type:W.INIT}),{dispatch:d,subscribe:h,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw new Error(U(10))
n=e,d({type:W.REPLACE})},[H]:function(){const e=h
return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(U(11))
function r(){const e=t
e.next&&e.next(u())}return r(),{unsubscribe:e(r)}},[H](){return this}}}}}function Z(e,t){return function(...r){return t(e.apply(this,r))}}function J(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...r)=>e(t(...r))))}var G=l(9404),Y=l.n(G),X=l(81919),Q=l.n(X),ee=l(89593),te=l(20334),re=l(55364),ne=l.n(re)
const ie="err_new_thrown_err",se="err_new_thrown_err_batch",oe="err_new_spec_err",ae="err_new_spec_err_batch",le="err_new_auth_err",ce="err_clear",ue="err_clear_by"
function he(e){return{type:ie,payload:(0,te.serializeError)(e)}}function de(e){return{type:se,payload:e}}function pe(e){return{type:oe,payload:e}}function fe(e){return{type:ae,payload:e}}function me(e){return{type:le,payload:e}}function ge(e={}){return{type:ce,payload:e}}function ye(e=()=>!0){return{type:ue,payload:e}}const ve=function(){var e={location:{},history:{},open:()=>{},close:()=>{},File:function(){},FormData:function(){}}
if("undefined"==typeof window)return e
try{for(var t of(e=window,["File","Blob","FormData"]))t in window&&(e[t]=window[t])}catch(e){console.error(e)}return e}()
var be=l(16750),we=(l(84058),l(55808),l(50104)),Se=l.n(we),ke=l(7309),xe=l.n(ke),Ee=l(42426),Ne=l.n(Ee),_e=l(75288),Ce=l.n(_e),Ae=l(1882),Oe=l.n(Ae),Pe=l(2205),Te=l.n(Pe),Ie=l(53209),je=l.n(Ie),De=l(62802),Me=l.n(De)
const Be=Y().Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf")
function Re(e,{isOAS3:t}={}){if(!Y().Map.isMap(e))return{schema:Y().Map(),parameterContentMediaType:null}
if(!t)return"body"===e.get("in")?{schema:e.get("schema",Y().Map()),parameterContentMediaType:null}:{schema:e.filter(((e,t)=>Be.includes(t))),parameterContentMediaType:null}
if(e.get("content")){const t=e.get("content",Y().Map({})).keySeq().first()
return{schema:e.getIn(["content",t,"schema"],Y().Map()),parameterContentMediaType:t}}return{schema:e.get("schema")?e.get("schema",Y().Map()):Y().Map(),parameterContentMediaType:null}}var Le=l(48287).Buffer
const ze="default",Fe=e=>Y().Iterable.isIterable(e)
function Ve(e){return qe(e)?Fe(e)?e.toJS():e:{}}function $e(e){if(Fe(e))return e
if(e instanceof ve.File)return e
if(!qe(e))return e
if(Array.isArray(e))return Y().Seq(e).map($e).toList()
if(Oe()(e.entries)){const t=function(e){if(!Oe()(e.entries))return e
const t={},r="_**[]",n={}
for(let i of e.entries())t[i[0]]||n[i[0]]&&n[i[0]].containsMultiple?(n[i[0]]||(n[i[0]]={containsMultiple:!0,length:1},t[`${i[0]}${r}${n[i[0]].length}`]=t[i[0]],delete t[i[0]]),n[i[0]].length+=1,t[`${i[0]}${r}${n[i[0]].length}`]=i[1]):t[i[0]]=i[1]
return t}(e)
return Y().OrderedMap(t).map($e)}return Y().OrderedMap(e).map($e)}function Ue(e){return Array.isArray(e)?e:[e]}function He(e){return"function"==typeof e}function qe(e){return!!e&&"object"==typeof e}function We(e){return"function"==typeof e}function Ke(e){return Array.isArray(e)}const Ze=Se()
function Je(e,t){return Object.keys(e).reduce(((r,n)=>(r[n]=t(e[n],n),r)),{})}function Ge(e,t){return Object.keys(e).reduce(((r,n)=>{let i=t(e[n],n)
return i&&"object"==typeof i&&Object.assign(r,i),r}),{})}function Ye(e){return({dispatch:t,getState:r})=>t=>r=>"function"==typeof r?r(e()):t(r)}function Xe(e,t,r,n,i){if(!t)return[]
let s=[],o=t.get("nullable"),a=t.get("required"),l=t.get("maximum"),c=t.get("minimum"),u=t.get("type"),h=t.get("format"),d=t.get("maxLength"),p=t.get("minLength"),f=t.get("uniqueItems"),m=t.get("maxItems"),g=t.get("minItems"),y=t.get("pattern")
const v=r||!0===a,b=null!=e,w=v||b&&"array"===u||!(!v&&!b),S=o&&null===e
if(v&&!b&&!S&&!n&&!u)return s.push("Required field is not provided"),s
if(S||!u||!w)return[]
let k="string"===u&&e,x="array"===u&&Array.isArray(e)&&e.length,E="array"===u&&Y().List.isList(e)&&e.count()
const N=[k,x,E,"array"===u&&"string"==typeof e&&e,"file"===u&&e instanceof ve.File,"boolean"===u&&(e||!1===e),"number"===u&&(e||0===e),"integer"===u&&(e||0===e),"object"===u&&"object"==typeof e&&null!==e,"object"===u&&"string"==typeof e&&e].some((e=>!!e))
if(v&&!N&&!n)return s.push("Required field is not provided"),s
if("object"===u&&(null===i||"application/json"===i)){let r=e
if("string"==typeof e)try{r=JSON.parse(e)}catch(e){return s.push("Parameter string value must be valid JSON"),s}t&&t.has("required")&&We(a.isList)&&a.isList()&&a.forEach((e=>{void 0===r[e]&&s.push({propKey:e,error:"Required property not found"})})),t&&t.has("properties")&&t.get("properties").forEach(((e,t)=>{const o=Xe(r[t],e,!1,n,i)
s.push(...o.map((e=>({propKey:t,error:e}))))}))}if(y){let t=((e,t)=>{if(!new RegExp(t).test(e))return"Value must follow pattern "+t})(e,y)
t&&s.push(t)}if(g&&"array"===u){let t=((e,t)=>{if(!e&&t>=1||e&&e.length<t)return`Array must contain at least ${t} item${1===t?"":"s"}`})(e,g)
t&&s.push(t)}if(m&&"array"===u){let t=((e,t)=>{if(e&&e.length>t)return`Array must not contain more then ${t} item${1===t?"":"s"}`})(e,m)
t&&s.push({needRemove:!0,error:t})}if(f&&"array"===u){let t=((e,t)=>{if(e&&("true"===t||!0===t)){const t=(0,G.fromJS)(e),r=t.toSet()
if(e.length>r.size){let e=(0,G.Set)()
if(t.forEach(((r,n)=>{t.filter((e=>We(e.equals)?e.equals(r):e===r)).size>1&&(e=e.add(n))})),0!==e.size)return e.map((e=>({index:e,error:"No duplicates allowed."}))).toArray()}}})(e,f)
t&&s.push(...t)}if(d||0===d){let t=((e,t)=>{if(e.length>t)return`Value must be no longer than ${t} character${1!==t?"s":""}`})(e,d)
t&&s.push(t)}if(p){let t=((e,t)=>{if(e.length<t)return`Value must be at least ${t} character${1!==t?"s":""}`})(e,p)
t&&s.push(t)}if(l||0===l){let t=((e,t)=>{if(e>t)return`Value must be less than ${t}`})(e,l)
t&&s.push(t)}if(c||0===c){let t=((e,t)=>{if(e<t)return`Value must be greater than ${t}`})(e,c)
t&&s.push(t)}if("string"===u){let t
if(t="date-time"===h?(e=>{if(isNaN(Date.parse(e)))return"Value must be a DateTime"})(e):"uuid"===h?(e=>{if(e=e.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(e))return"Value must be a Guid"})(e):(e=>{if(e&&"string"!=typeof e)return"Value must be a string"})(e),!t)return s
s.push(t)}else if("boolean"===u){let t=(e=>{if("true"!==e&&"false"!==e&&!0!==e&&!1!==e)return"Value must be a boolean"})(e)
if(!t)return s
s.push(t)}else if("number"===u){let t=(e=>{if(!/^-?\d+(\.?\d+)?$/.test(e))return"Value must be a number"})(e)
if(!t)return s
s.push(t)}else if("integer"===u){let t=(e=>{if(!/^-?\d+$/.test(e))return"Value must be an integer"})(e)
if(!t)return s
s.push(t)}else if("array"===u){if(!x&&!E)return s
e&&e.forEach(((e,r)=>{const o=Xe(e,t.get("items"),!1,n,i)
s.push(...o.map((e=>({index:r,error:e}))))}))}else if("file"===u){let t=(e=>{if(e&&!(e instanceof ve.File))return"Value must be a file"})(e)
if(!t)return s
s.push(t)}return s}const Qe=e=>{let t
return t=e instanceof Le?e:Le.from(e.toString(),"utf-8"),t.toString("base64")},et={operationsSorter:{alpha:(e,t)=>e.get("path").localeCompare(t.get("path")),method:(e,t)=>e.get("method").localeCompare(t.get("method"))},tagsSorter:{alpha:(e,t)=>e.localeCompare(t)}},tt=e=>{let t=[]
for(let r in e){let n=e[r]
void 0!==n&&""!==n&&t.push([r,"=",encodeURIComponent(n).replace(/%20/g,"+")].join(""))}return t.join("&")},rt=(e,t,r)=>!!xe()(r,(r=>Ce()(e[r],t[r])))
function nt(e){return"string"!=typeof e||""===e?"":(0,be.J)(e)}function it(e){return!(!e||e.indexOf("localhost")>=0||e.indexOf("127.0.0.1")>=0||"none"===e)}const st=e=>"string"==typeof e||e instanceof String?e.trim().replace(/\s/g,"%20"):"",ot=e=>Te()(st(e).replace(/%20/g,"_")),at=e=>e.filter(((e,t)=>/^x-/.test(t))),lt=e=>e.filter(((e,t)=>/^pattern|maxLength|minLength|maximum|minimum/.test(t)))
function ct(e,t,r=()=>!0){if("object"!=typeof e||Array.isArray(e)||null===e||!t)return e
const n=Object.assign({},e)
return Object.keys(n).forEach((e=>{e===t&&r(n[e],e)?delete n[e]:n[e]=ct(n[e],t,r)})),n}function ut(e){if("string"==typeof e)return e
if(e&&e.toJS&&(e=e.toJS()),"object"==typeof e&&null!==e)try{return JSON.stringify(e,null,2)}catch(t){return String(e)}return null==e?"":e.toString()}function ht(e,{returnAll:t=!1,allowHashes:r=!0}={}){if(!Y().Map.isMap(e))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input")
const n=e.get("name"),i=e.get("in")
let s=[]
return e&&e.hashCode&&i&&n&&r&&s.push(`${i}.${n}.hash-${e.hashCode()}`),i&&n&&s.push(`${i}.${n}`),s.push(n),t?s:s[0]||""}function dt(e,t){return ht(e,{returnAll:!0}).map((e=>t[e])).filter((e=>void 0!==e))[0]}function pt(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const ft=e=>!e||!(!Fe(e)||!e.isEmpty()),mt=e=>e
class gt{constructor(e={}){Q()(this,{state:{},plugins:[],system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}},e),this.getSystem=this._getSystem.bind(this),this.store=function(e,t,r){return function(e,t,r){let n=[Ye(r)]
return K(e,t,(ve.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||J)(function(...e){return t=>(r,n)=>{const i=t(r,n)
let s=()=>{throw new Error(U(15))}
const o={getState:i.getState,dispatch:(e,...t)=>s(e,...t)},a=e.map((e=>e(o)))
return s=J(...a)(i.dispatch),{...i,dispatch:s}}}(...n)))}(e,t,r)}(mt,(0,G.fromJS)(this.state),this.getSystem),this.buildSystem(!1),this.register(this.plugins)}getStore(){return this.store}register(e,t=!0){var r=yt(e,this.getSystem())
bt(this.system,r),t&&this.buildSystem(),vt.call(this.system,e,this.getSystem())&&this.buildSystem()}buildSystem(e=!0){let t=this.getStore().dispatch,r=this.getStore().getState
this.boundSystem=Object.assign({},this.getRootInjects(),this.getWrappedAndBoundActions(t),this.getWrappedAndBoundSelectors(r,this.getSystem),this.getStateThunks(r),this.getFn(),this.getConfigs()),e&&this.rebuildReducer()}_getSystem(){return this.boundSystem}getRootInjects(){return Object.assign({getSystem:this.getSystem,getStore:this.getStore.bind(this),getComponents:this.getComponents.bind(this),getState:this.getStore().getState,getConfigs:this._getConfigs.bind(this),Im:Y(),React:$},this.system.rootInjects||{})}_getConfigs(){return this.system.configs}getConfigs(){return{configs:this.system.configs}}setConfigs(e){this.system.configs=e}rebuildReducer(){this.store.replaceReducer(function(e){return function(e){let t=Object.keys(e).reduce(((t,r)=>(t[r]=function(e){return(t=new G.Map,r)=>{if(!e)return t
let n=e[r.type]
if(n){const e=wt(n)(t,r)
return null===e?t:e}return t}}(e[r]),t)),{})
return Object.keys(t).length?(0,ee.H)(t):mt}(Je(e,(e=>e.reducers)))}(this.system.statePlugins))}getType(e){let t=e[0].toUpperCase()+e.slice(1)
return Ge(this.system.statePlugins,((r,n)=>{let i=r[e]
if(i)return{[n+t]:i}}))}getSelectors(){return this.getType("selectors")}getActions(){return Je(this.getType("actions"),(e=>Ge(e,((e,t)=>{if(He(e))return{[t]:e}}))))}getWrappedAndBoundActions(e){return Je(this.getBoundActions(e),((e,t)=>{let r=this.system.statePlugins[t.slice(0,-7)].wrapActions
return r?Je(e,((e,t)=>{let n=r[t]
return n?(Array.isArray(n)||(n=[n]),n.reduce(((e,t)=>{let r=(...r)=>t(e,this.getSystem())(...r)
if(!He(r))throw new TypeError("wrapActions needs to return a function that returns a new function (ie the wrapped action)")
return wt(r)}),e||Function.prototype)):e})):e}))}getWrappedAndBoundSelectors(e,t){return Je(this.getBoundSelectors(e,t),((t,r)=>{let n=[r.slice(0,-9)],i=this.system.statePlugins[n].wrapSelectors
return i?Je(t,((t,r)=>{let s=i[r]
return s?(Array.isArray(s)||(s=[s]),s.reduce(((t,r)=>{let i=(...i)=>r(t,this.getSystem())(e().getIn(n),...i)
if(!He(i))throw new TypeError("wrapSelector needs to return a function that returns a new function (ie the wrapped action)")
return i}),t||Function.prototype)):t})):t}))}getStates(e){return Object.keys(this.system.statePlugins).reduce(((t,r)=>(t[r]=e.get(r),t)),{})}getStateThunks(e){return Object.keys(this.system.statePlugins).reduce(((t,r)=>(t[r]=()=>e().get(r),t)),{})}getFn(){return{fn:this.system.fn}}getComponents(e){const t=this.system.components[e]
return Array.isArray(t)?t.reduce(((e,t)=>t(e,this.getSystem()))):void 0!==e?this.system.components[e]:this.system.components}getBoundSelectors(e,t){return Je(this.getSelectors(),((r,n)=>{let i=[n.slice(0,-9)]
return Je(r,(r=>(...n)=>{let s=wt(r).apply(null,[e().getIn(i),...n])
return"function"==typeof s&&(s=wt(s)(t())),s}))}))}getBoundActions(e){e=e||this.getStore().dispatch
const t=this.getActions(),r=e=>"function"!=typeof e?Je(e,(e=>r(e))):(...t)=>{var r=null
try{r=e(...t)}catch(e){r={type:ie,error:!0,payload:(0,te.serializeError)(e)}}finally{return r}}
return Je(t,(t=>function(e,t){if("function"==typeof e)return Z(e,t)
if("object"!=typeof e||null===e)throw new Error(U(16))
const r={}
for(const n in e){const i=e[n]
"function"==typeof i&&(r[n]=Z(i,t))}return r}(r(t),e)))}getMapStateToProps(){return()=>Object.assign({},this.getSystem())}getMapDispatchToProps(e){return t=>Q()({},this.getWrappedAndBoundActions(t),this.getFn(),e)}}function yt(e,t){return qe(e)&&!Ke(e)?ne()({},e):We(e)?yt(e(t),t):Ke(e)?e.map((e=>yt(e,t))).reduce(bt,{components:t.getComponents()}):{}}function vt(e,t,{hasLoaded:r}={}){let n=r
return qe(e)&&!Ke(e)&&"function"==typeof e.afterLoad&&(n=!0,wt(e.afterLoad).call(this,t)),We(e)?vt.call(this,e(t),t,{hasLoaded:n}):Ke(e)?e.map((e=>vt.call(this,e,t,{hasLoaded:n}))):n}function bt(e={},t={}){if(!qe(e))return{}
if(!qe(t))return e
t.wrapComponents&&(Je(t.wrapComponents,((r,n)=>{const i=e.components&&e.components[n]
i&&Array.isArray(i)?(e.components[n]=i.concat([r]),delete t.wrapComponents[n]):i&&(e.components[n]=[i,r],delete t.wrapComponents[n])})),Object.keys(t.wrapComponents).length||delete t.wrapComponents)
const{statePlugins:r}=e
if(qe(r))for(let n in r){const e=r[n]
if(!qe(e))continue
const{wrapActions:i,wrapSelectors:s}=e
if(qe(i))for(let r in i){let e=i[r]
Array.isArray(e)||(e=[e],i[r]=e),t&&t.statePlugins&&t.statePlugins[n]&&t.statePlugins[n].wrapActions&&t.statePlugins[n].wrapActions[r]&&(t.statePlugins[n].wrapActions[r]=i[r].concat(t.statePlugins[n].wrapActions[r]))}if(qe(s))for(let r in s){let e=s[r]
Array.isArray(e)||(e=[e],s[r]=e),t&&t.statePlugins&&t.statePlugins[n]&&t.statePlugins[n].wrapSelectors&&t.statePlugins[n].wrapSelectors[r]&&(t.statePlugins[n].wrapSelectors[r]=s[r].concat(t.statePlugins[n].wrapSelectors[r]))}}return Q()(e,t)}function wt(e,{logErrors:t=!0}={}){return"function"!=typeof e?e:function(...r){try{return e.call(this,...r)}catch(e){return t&&console.error(e),null}}}var St=l(61160),kt=l.n(St)
const xt="show_popup",Et="authorize",Nt="logout",_t="pre_authorize_oauth2",Ct="authorize_oauth2",At="validate",Ot="configure_auth",Pt="restore_authorization"
function Tt(e){return{type:xt,payload:e}}function It(e){return{type:Et,payload:e}}const jt=e=>({authActions:t})=>{t.authorize(e),t.persistAuthorizationIfNeeded()}
function Dt(e){return{type:Nt,payload:e}}const Mt=e=>({authActions:t})=>{t.logout(e),t.persistAuthorizationIfNeeded()},Bt=e=>({authActions:t,errActions:r})=>{let{auth:n,token:i,isValid:s}=e,{schema:o,name:a}=n,l=o.get("flow")
delete ve.swaggerUIRedirectOauth2,"accessCode"===l||s||r.newAuthErr({authId:a,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),i.error?r.newAuthErr({authId:a,source:"auth",level:"error",message:JSON.stringify(i)}):t.authorizeOauth2WithPersistOption({auth:n,token:i})}
function Rt(e){return{type:Ct,payload:e}}const Lt=e=>({authActions:t})=>{t.authorizeOauth2(e),t.persistAuthorizationIfNeeded()},zt=e=>({authActions:t})=>{let{schema:r,name:n,username:i,password:s,passwordType:o,clientId:a,clientSecret:l}=e,c={grant_type:"password",scope:e.scopes.join(" "),username:i,password:s},u={}
switch(o){case"request-body":!function(e,t,r){t&&Object.assign(e,{client_id:t}),r&&Object.assign(e,{client_secret:r})}(c,a,l)
break
case"basic":u.Authorization="Basic "+Qe(a+":"+l)
break
default:console.warn(`Warning: invalid passwordType ${o} was passed, not including client id and secret`)}return t.authorizeRequest({body:tt(c),url:r.get("tokenUrl"),name:n,headers:u,query:{},auth:e})},Ft=e=>({authActions:t})=>{let{schema:r,scopes:n,name:i,clientId:s,clientSecret:o}=e,a={Authorization:"Basic "+Qe(s+":"+o)},l={grant_type:"client_credentials",scope:n.join(" ")}
return t.authorizeRequest({body:tt(l),name:i,url:r.get("tokenUrl"),auth:e,headers:a})},Vt=({auth:e,redirectUrl:t})=>({authActions:r})=>{let{schema:n,name:i,clientId:s,clientSecret:o,codeVerifier:a}=e,l={grant_type:"authorization_code",code:e.code,client_id:s,client_secret:o,redirect_uri:t,code_verifier:a}
return r.authorizeRequest({body:tt(l),name:i,url:n.get("tokenUrl"),auth:e})},$t=({auth:e,redirectUrl:t})=>({authActions:r})=>{let{schema:n,name:i,clientId:s,clientSecret:o,codeVerifier:a}=e,l={Authorization:"Basic "+Qe(s+":"+o)},c={grant_type:"authorization_code",code:e.code,client_id:s,redirect_uri:t,code_verifier:a}
return r.authorizeRequest({body:tt(c),name:i,url:n.get("tokenUrl"),auth:e,headers:l})},Ut=e=>({fn:t,getConfigs:r,authActions:n,errActions:i,oas3Selectors:s,specSelectors:o,authSelectors:a})=>{let l,{body:c,query:u={},headers:h={},name:d,url:p,auth:f}=e,{additionalQueryStringParams:m}=a.getConfigs()||{}
if(o.isOAS3()){let e=s.serverEffectiveValue(s.selectedServer())
l=kt()(p,e,!0)}else l=kt()(p,o.url(),!0)
"object"==typeof m&&(l.query=Object.assign({},l.query,m))
const g=l.toString()
let y=Object.assign({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},h)
t.fetch({url:g,method:"post",headers:y,query:u,body:c,requestInterceptor:r().requestInterceptor,responseInterceptor:r().responseInterceptor}).then((function(e){let t=JSON.parse(e.data),r=t&&(t.error||""),s=t&&(t.parseError||"")
e.ok?r||s?i.newAuthErr({authId:d,level:"error",source:"auth",message:JSON.stringify(t)}):n.authorizeOauth2WithPersistOption({auth:f,token:t}):i.newAuthErr({authId:d,level:"error",source:"auth",message:e.statusText})})).catch((e=>{let t=new Error(e).message
if(e.response&&e.response.data){const r=e.response.data
try{const e="string"==typeof r?JSON.parse(r):r
e.error&&(t+=`, error: ${e.error}`),e.error_description&&(t+=`, description: ${e.error_description}`)}catch(e){}}i.newAuthErr({authId:d,level:"error",source:"auth",message:t})}))}
function Ht(e){return{type:Ot,payload:e}}function qt(e){return{type:Pt,payload:e}}const Wt=()=>({authSelectors:e,getConfigs:t})=>{if(!t().persistAuthorization)return
const r=e.authorized().toJS()
localStorage.setItem("authorized",JSON.stringify(r))},Kt=(e,t)=>()=>{ve.swaggerUIRedirectOauth2=t,ve.open(e)},Zt={[xt]:(e,{payload:t})=>e.set("showDefinitions",t),[Et]:(e,{payload:t})=>{let r=(0,G.fromJS)(t),n=e.get("authorized")||(0,G.Map)()
return r.entrySeq().forEach((([t,r])=>{if(!We(r.getIn))return e.set("authorized",n)
let i=r.getIn(["schema","type"])
if("apiKey"===i||"http"===i)n=n.set(t,r)
else if("basic"===i){let e=r.getIn(["value","username"]),i=r.getIn(["value","password"])
n=n.setIn([t,"value"],{username:e,header:"Basic "+Qe(e+":"+i)}),n=n.setIn([t,"schema"],r.get("schema"))}})),e.set("authorized",n)},[Ct]:(e,{payload:t})=>{let r,{auth:n,token:i}=t
n.token=Object.assign({},i),r=(0,G.fromJS)(n)
let s=e.get("authorized")||(0,G.Map)()
return s=s.set(r.get("name"),r),e.set("authorized",s)},[Nt]:(e,{payload:t})=>{let r=e.get("authorized").withMutations((e=>{t.forEach((t=>{e.delete(t)}))}))
return e.set("authorized",r)},[Ot]:(e,{payload:t})=>e.set("configs",t),[Pt]:(e,{payload:t})=>e.set("authorized",(0,G.fromJS)(t.authorized))}
var Jt=e=>Array.isArray(e)?e:[e]
Symbol(),Object.getPrototypeOf({})
var Gt="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}},Yt=0
function Xt(){return{s:Yt,v:void 0,o:null,p:null}}function Qt(e,t={}){let r=Xt()
const{resultEqualityCheck:n}=t
let i,s=0
function o(){let t=r
const{length:o}=arguments
for(let e=0,r=o;e<r;e++){const r=arguments[e]
if("function"==typeof r||"object"==typeof r&&null!==r){let e=t.o
null===e&&(t.o=e=new WeakMap)
const n=e.get(r)
void 0===n?(t=Xt(),e.set(r,t)):t=n}else{let e=t.p
null===e&&(t.p=e=new Map)
const n=e.get(r)
void 0===n?(t=Xt(),e.set(r,t)):t=n}}const a=t
let l
if(1===t.s?l=t.v:(l=e.apply(null,arguments),s++),a.s=1,n){const e=i?.deref?.()??i
null!=e&&n(e,l)&&(l=e,0!==s&&s--),i="object"==typeof l&&null!==l||"function"==typeof l?new Gt(l):l}return a.v=l,l}return o.clearCache=()=>{r=Xt(),o.resetResultsCount()},o.resultsCount=()=>s,o.resetResultsCount=()=>{s=0},o}var er=function(e){const t="function"==typeof e?{memoize:e,memoizeOptions:[]}:e,r=(...e)=>{let r,n=0,i=0,s={},o=e.pop()
"object"==typeof o&&(s=o,o=e.pop()),function(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`)
const a={...t,...s},{memoize:l,memoizeOptions:c=[],argsMemoize:u=Qt,argsMemoizeOptions:h=[],devModeChecks:d={}}=a,p=Jt(c),f=Jt(h),m=function(e){const t=Array.isArray(e[0])?e[0]:e
return function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every((e=>"function"==typeof e))){const r=e.map((e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e)).join(", ")
throw new TypeError(`${t}[${r}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}(e),g=l((function(){return n++,o.apply(null,arguments)}),...p),y=u((function(){i++
const e=function(e,t){const r=[],{length:n}=e
for(let i=0;i<n;i++)r.push(e[i].apply(null,t))
return r}(m,arguments)
return r=g.apply(null,e),r}),...f)
return Object.assign(y,{resultFunc:o,memoizedResultFunc:g,dependencies:m,dependencyRecomputations:()=>i,resetDependencyRecomputations:()=>{i=0},lastResult:()=>r,recomputations:()=>n,resetRecomputations:()=>{n=0},memoize:l,argsMemoize:u})}
return Object.assign(r,{withTypes:()=>r}),r}(Qt),tr=Object.assign(((e,t=er)=>{!function(e,t="expected an object, instead received "+typeof e){if("object"!=typeof e)throw new TypeError(t)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e)
const r=Object.keys(e)
return t(r.map((t=>e[t])),((...e)=>e.reduce(((e,t,n)=>(e[r[n]]=t,e)),{})))}),{withTypes:()=>tr})
const rr=e=>e,nr=er(rr,(e=>e.get("showDefinitions"))),ir=er(rr,(()=>({specSelectors:e})=>{let t=e.securityDefinitions()||(0,G.Map)({}),r=(0,G.List)()
return t.entrySeq().forEach((([e,t])=>{let n=(0,G.Map)()
n=n.set(e,t),r=r.push(n)})),r})),sr=(e,t)=>({specSelectors:e})=>{console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.")
let r=e.securityDefinitions(),n=(0,G.List)()
return t.valueSeq().forEach((e=>{let t=(0,G.Map)()
e.entrySeq().forEach((([e,n])=>{let i,s=r.get(e)
"oauth2"===s.get("type")&&n.size&&(i=s.get("scopes"),i.keySeq().forEach((e=>{n.contains(e)||(i=i.delete(e))})),s=s.set("allowedScopes",i)),t=t.set(e,s)})),n=n.push(t)})),n},or=(e,t=(0,G.List)())=>({authSelectors:e})=>{const r=e.definitionsToAuthorize()||(0,G.List)()
let n=(0,G.List)()
return r.forEach((e=>{let r=t.find((t=>t.get(e.keySeq().first())))
r&&(e.forEach(((t,n)=>{if("oauth2"===t.get("type")){const i=r.get(n)
let s=t.get("scopes")
G.List.isList(i)&&G.Map.isMap(s)&&(s.keySeq().forEach((e=>{i.contains(e)||(s=s.delete(e))})),e=e.set(n,t.set("scopes",s)))}})),n=n.push(e))})),n},ar=er(rr,(e=>e.get("authorized")||(0,G.Map)())),lr=(e,t)=>({authSelectors:e})=>{let r=e.authorized()
return G.List.isList(t)?!!t.toJS().filter((e=>-1===Object.keys(e).map((e=>!!r.get(e))).indexOf(!1))).length:null},cr=er(rr,(e=>e.get("configs"))),ur=(e,{authSelectors:t,specSelectors:r})=>({path:n,method:i,operation:s,extras:o})=>{let a={authorized:t.authorized()&&t.authorized().toJS(),definitions:r.securityDefinitions()&&r.securityDefinitions().toJS(),specSecurity:r.security()&&r.security().toJS()}
return e({path:n,method:i,operation:s,securities:a,...o})},hr=(e,t)=>r=>{const{getConfigs:n,authActions:i}=t,s=n()
if(e(r),s.persistAuthorization){const e=localStorage.getItem("authorized")
e&&i.restoreAuthorization({authorized:JSON.parse(e)})}},dr=(e,t)=>r=>{if(e(r),t.getConfigs().persistAuthorization)try{const[{schema:e,value:t}]=Object.values(r),n="apiKey"===e.get("type"),i="cookie"===e.get("in")
n&&i&&(document.cookie=`${e.get("name")}=${t}; SameSite=None; Secure`)}catch(e){console.error("Error persisting cookie based apiKey in document.cookie.",e)}},pr=(e,t)=>r=>{const n=t.getConfigs(),i=t.authSelectors.authorized()
try{n.persistAuthorization&&Array.isArray(r)&&r.forEach((e=>{const t=i.get(e,{}),r="apiKey"===t.getIn(["schema","type"]),n="cookie"===t.getIn(["schema","in"])
if(r&&n){const e=t.getIn(["schema","name"])
document.cookie=`${e}=; Max-Age=-99999999`}}))}catch(e){console.error("Error deleting cookie based apiKey from document.cookie.",e)}e(r)}
var fr=l(90179),mr=l.n(fr)
class gr extends $.Component{mapStateToProps(e,t){return{state:e,ownProps:mr()(t,Object.keys(t.getSystem()))}}render(){const{getComponent:e,ownProps:t}=this.props,r=e("LockIcon")
return $.createElement(r,t)}}const yr=gr
class vr extends $.Component{mapStateToProps(e,t){return{state:e,ownProps:mr()(t,Object.keys(t.getSystem()))}}render(){const{getComponent:e,ownProps:t}=this.props,r=e("UnlockIcon")
return $.createElement(r,t)}}const br=vr
function wr(){return{afterLoad(e){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=e.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=kr.bind(null,e),this.rootInjects.preauthorizeBasic=Sr.bind(null,e)},components:{LockAuthIcon:yr,UnlockAuthIcon:br,LockAuthOperationIcon:yr,UnlockAuthOperationIcon:br},statePlugins:{auth:{reducers:Zt,actions:p,selectors:f,wrapActions:{authorize:dr,logout:pr}},configs:{wrapActions:{loaded:hr}},spec:{wrapActions:{execute:ur}}}}}function Sr(e,t,r,n){const{authActions:{authorize:i},specSelectors:{specJson:s,isOAS3:o}}=e,a=o()?["components","securitySchemes"]:["securityDefinitions"],l=s().getIn([...a,t])
return l?i({[t]:{value:{username:r,password:n},schema:l.toJS()}}):null}function kr(e,t,r){const{authActions:{authorize:n},specSelectors:{specJson:i,isOAS3:s}}=e,o=s()?["components","securitySchemes"]:["securityDefinitions"],a=i().getIn([...o,t])
return a?n({[t]:{value:r,schema:a.toJS()}}):null}function xr(e){return null==e}var Er={isNothing:xr,isObject:function(e){return"object"==typeof e&&null!==e},toArray:function(e){return Array.isArray(e)?e:xr(e)?[]:[e]},repeat:function(e,t){var r,n=""
for(r=0;r<t;r+=1)n+=e
return n},isNegativeZero:function(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e},extend:function(e,t){var r,n,i,s
if(t)for(r=0,n=(s=Object.keys(t)).length;r<n;r+=1)e[i=s[r]]=t[i]
return e}}
function Nr(e,t){var r="",n=e.reason||"(unknown reason)"
return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+="\n\n"+e.mark.snippet),n+" "+r):n}function _r(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=Nr(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}_r.prototype=Object.create(Error.prototype),_r.prototype.constructor=_r,_r.prototype.toString=function(e){return this.name+": "+Nr(this,e)}
var Cr=_r
function Ar(e,t,r,n,i){var s="",o="",a=Math.floor(i/2)-1
return n-t>a&&(t=n-a+(s=" ... ").length),r-n>a&&(r=n+a-(o=" ...").length),{str:s+e.slice(t,r).replace(/\t/g,"→")+o,pos:n-t+s.length}}function Or(e,t){return Er.repeat(" ",t-e.length)+e}var Pr=function(e,t){if(t=Object.create(t||null),!e.buffer)return null
t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2)
for(var r,n=/\r?\n|\r|\0/g,i=[0],s=[],o=-1;r=n.exec(e.buffer);)s.push(r.index),i.push(r.index+r[0].length),e.position<=r.index&&o<0&&(o=i.length-2)
o<0&&(o=i.length-1)
var a,l,c="",u=Math.min(e.line+t.linesAfter,s.length).toString().length,h=t.maxLength-(t.indent+u+3)
for(a=1;a<=t.linesBefore&&!(o-a<0);a++)l=Ar(e.buffer,i[o-a],s[o-a],e.position-(i[o]-i[o-a]),h),c=Er.repeat(" ",t.indent)+Or((e.line-a+1).toString(),u)+" | "+l.str+"\n"+c
for(l=Ar(e.buffer,i[o],s[o],e.position,h),c+=Er.repeat(" ",t.indent)+Or((e.line+1).toString(),u)+" | "+l.str+"\n",c+=Er.repeat("-",t.indent+u+3+l.pos)+"^\n",a=1;a<=t.linesAfter&&!(o+a>=s.length);a++)l=Ar(e.buffer,i[o+a],s[o+a],e.position-(i[o]-i[o+a]),h),c+=Er.repeat(" ",t.indent)+Or((e.line+a+1).toString(),u)+" | "+l.str+"\n"
return c.replace(/\n$/,"")},Tr=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Ir=["scalar","sequence","mapping"],jr=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===Tr.indexOf(t))throw new Cr('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=function(e){var t={}
return null!==e&&Object.keys(e).forEach((function(r){e[r].forEach((function(e){t[String(e)]=r}))})),t}(t.styleAliases||null),-1===Ir.indexOf(this.kind))throw new Cr('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}
function Dr(e,t){var r=[]
return e[t].forEach((function(e){var t=r.length
r.forEach((function(r,n){r.tag===e.tag&&r.kind===e.kind&&r.multi===e.multi&&(t=n)})),r[t]=e})),r}function Mr(e){return this.extend(e)}Mr.prototype.extend=function(e){var t=[],r=[]
if(e instanceof jr)r.push(e)
else if(Array.isArray(e))r=r.concat(e)
else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new Cr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })")
e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(r=r.concat(e.explicit))}t.forEach((function(e){if(!(e instanceof jr))throw new Cr("Specified list of YAML types (or a single Type object) contains a non-Type object.")
if(e.loadKind&&"scalar"!==e.loadKind)throw new Cr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")
if(e.multi)throw new Cr("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),r.forEach((function(e){if(!(e instanceof jr))throw new Cr("Specified list of YAML types (or a single Type object) contains a non-Type object.")}))
var n=Object.create(Mr.prototype)
return n.implicit=(this.implicit||[]).concat(t),n.explicit=(this.explicit||[]).concat(r),n.compiledImplicit=Dr(n,"implicit"),n.compiledExplicit=Dr(n,"explicit"),n.compiledTypeMap=function(){var e,t,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}}
function n(e){e.multi?(r.multi[e.kind].push(e),r.multi.fallback.push(e)):r[e.kind][e.tag]=r.fallback[e.tag]=e}for(e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(n)
return r}(n.compiledImplicit,n.compiledExplicit),n}
var Br=Mr,Rr=new jr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return null!==e?e:""}}),Lr=new jr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return null!==e?e:[]}}),zr=new jr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return null!==e?e:{}}}),Fr=new Br({explicit:[Rr,Lr,zr]}),Vr=new jr("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(null===e)return!0
var t=e.length
return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)},construct:function(){return null},predicate:function(e){return null===e},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),$r=new jr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(null===e)return!1
var t=e.length
return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)},construct:function(e){return"true"===e||"True"===e||"TRUE"===e},predicate:function(e){return"[object Boolean]"===Object.prototype.toString.call(e)},represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})
function Ur(e){return 48<=e&&e<=55}function Hr(e){return 48<=e&&e<=57}var qr=new jr("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(null===e)return!1
var t,r,n=e.length,i=0,s=!1
if(!n)return!1
if("-"!==(t=e[i])&&"+"!==t||(t=e[++i]),"0"===t){if(i+1===n)return!0
if("b"===(t=e[++i])){for(i++;i<n;i++)if("_"!==(t=e[i])){if("0"!==t&&"1"!==t)return!1
s=!0}return s&&"_"!==t}if("x"===t){for(i++;i<n;i++)if("_"!==(t=e[i])){if(!(48<=(r=e.charCodeAt(i))&&r<=57||65<=r&&r<=70||97<=r&&r<=102))return!1
s=!0}return s&&"_"!==t}if("o"===t){for(i++;i<n;i++)if("_"!==(t=e[i])){if(!Ur(e.charCodeAt(i)))return!1
s=!0}return s&&"_"!==t}}if("_"===t)return!1
for(;i<n;i++)if("_"!==(t=e[i])){if(!Hr(e.charCodeAt(i)))return!1
s=!0}return!(!s||"_"===t)},construct:function(e){var t,r=e,n=1
if(-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),"-"!==(t=r[0])&&"+"!==t||("-"===t&&(n=-1),t=(r=r.slice(1))[0]),"0"===r)return 0
if("0"===t){if("b"===r[1])return n*parseInt(r.slice(2),2)
if("x"===r[1])return n*parseInt(r.slice(2),16)
if("o"===r[1])return n*parseInt(r.slice(2),8)}return n*parseInt(r,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!Er.isNegativeZero(e)},represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Wr=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),Kr=/^[-+]?[0-9]+e/,Zr=new jr("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!Wr.test(e)||"_"===e[e.length-1])},construct:function(e){var t,r
return r="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===r?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:r*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||Er.isNegativeZero(e))},represent:function(e,t){var r
if(isNaN(e))switch(t){case"lowercase":return".nan"
case"uppercase":return".NAN"
case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf"
case"uppercase":return".INF"
case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf"
case"uppercase":return"-.INF"
case"camelcase":return"-.Inf"}else if(Er.isNegativeZero(e))return"-0.0"
return r=e.toString(10),Kr.test(r)?r.replace("e",".e"):r},defaultStyle:"lowercase"}),Jr=Fr.extend({implicit:[Vr,$r,qr,Zr]}),Gr=Jr,Yr=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Xr=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),Qr=new jr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==Yr.exec(e)||null!==Xr.exec(e))},construct:function(e){var t,r,n,i,s,o,a,l,c=0,u=null
if(null===(t=Yr.exec(e))&&(t=Xr.exec(e)),null===t)throw new Error("Date resolve error")
if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i))
if(s=+t[4],o=+t[5],a=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0"
c=+c}return t[9]&&(u=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(u=-u)),l=new Date(Date.UTC(r,n,i,s,o,a,c)),u&&l.setTime(l.getTime()-u),l},instanceOf:Date,represent:function(e){return e.toISOString()}}),en=new jr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}}),tn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",rn=new jr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1
var t,r,n=0,i=e.length,s=tn
for(r=0;r<i;r++)if(!((t=s.indexOf(e.charAt(r)))>64)){if(t<0)return!1
n+=6}return n%8==0},construct:function(e){var t,r,n=e.replace(/[\r\n=]/g,""),i=n.length,s=tn,o=0,a=[]
for(t=0;t<i;t++)t%4==0&&t&&(a.push(o>>16&255),a.push(o>>8&255),a.push(255&o)),o=o<<6|s.indexOf(n.charAt(t))
return 0==(r=i%4*6)?(a.push(o>>16&255),a.push(o>>8&255),a.push(255&o)):18===r?(a.push(o>>10&255),a.push(o>>2&255)):12===r&&a.push(o>>4&255),new Uint8Array(a)},predicate:function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)},represent:function(e){var t,r,n="",i=0,s=e.length,o=tn
for(t=0;t<s;t++)t%3==0&&t&&(n+=o[i>>18&63],n+=o[i>>12&63],n+=o[i>>6&63],n+=o[63&i]),i=(i<<8)+e[t]
return 0==(r=s%3)?(n+=o[i>>18&63],n+=o[i>>12&63],n+=o[i>>6&63],n+=o[63&i]):2===r?(n+=o[i>>10&63],n+=o[i>>4&63],n+=o[i<<2&63],n+=o[64]):1===r&&(n+=o[i>>2&63],n+=o[i<<4&63],n+=o[64],n+=o[64]),n}}),nn=Object.prototype.hasOwnProperty,sn=Object.prototype.toString,on=new jr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0
var t,r,n,i,s,o=[],a=e
for(t=0,r=a.length;t<r;t+=1){if(n=a[t],s=!1,"[object Object]"!==sn.call(n))return!1
for(i in n)if(nn.call(n,i)){if(s)return!1
s=!0}if(!s)return!1
if(-1!==o.indexOf(i))return!1
o.push(i)}return!0},construct:function(e){return null!==e?e:[]}}),an=Object.prototype.toString,ln=new jr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(null===e)return!0
var t,r,n,i,s,o=e
for(s=new Array(o.length),t=0,r=o.length;t<r;t+=1){if(n=o[t],"[object Object]"!==an.call(n))return!1
if(1!==(i=Object.keys(n)).length)return!1
s[t]=[i[0],n[i[0]]]}return!0},construct:function(e){if(null===e)return[]
var t,r,n,i,s,o=e
for(s=new Array(o.length),t=0,r=o.length;t<r;t+=1)n=o[t],i=Object.keys(n),s[t]=[i[0],n[i[0]]]
return s}}),cn=Object.prototype.hasOwnProperty,un=new jr("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(null===e)return!0
var t,r=e
for(t in r)if(cn.call(r,t)&&null!==r[t])return!1
return!0},construct:function(e){return null!==e?e:{}}}),hn=Gr.extend({implicit:[Qr,en],explicit:[rn,on,ln,un]}),dn=Object.prototype.hasOwnProperty,pn=1,fn=2,mn=3,gn=4,yn=1,vn=2,bn=3,wn=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Sn=/[\x85\u2028\u2029]/,kn=/[,\[\]\{\}]/,xn=/^(?:!|!!|![a-z\-]+!)$/i,En=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i
function Nn(e){return Object.prototype.toString.call(e)}function _n(e){return 10===e||13===e}function Cn(e){return 9===e||32===e}function An(e){return 9===e||32===e||10===e||13===e}function On(e){return 44===e||91===e||93===e||123===e||125===e}function Pn(e){var t
return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function Tn(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function In(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var jn=new Array(256),Dn=new Array(256),Mn=0;Mn<256;Mn++)jn[Mn]=Tn(Mn)?1:0,Dn[Mn]=Tn(Mn)
function Bn(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||hn,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Rn(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart}
return r.snippet=Pr(r),new Cr(t,r)}function Ln(e,t){throw Rn(e,t)}function zn(e,t){e.onWarning&&e.onWarning.call(null,Rn(e,t))}var Fn={YAML:function(e,t,r){var n,i,s
null!==e.version&&Ln(e,"duplication of %YAML directive"),1!==r.length&&Ln(e,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&Ln(e,"ill-formed argument of the YAML directive"),i=parseInt(n[1],10),s=parseInt(n[2],10),1!==i&&Ln(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=s<2,1!==s&&2!==s&&zn(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,i
2!==r.length&&Ln(e,"TAG directive accepts exactly two arguments"),n=r[0],i=r[1],xn.test(n)||Ln(e,"ill-formed tag handle (first argument) of the TAG directive"),dn.call(e.tagMap,n)&&Ln(e,'there is a previously declared suffix for "'+n+'" tag handle'),En.test(i)||Ln(e,"ill-formed tag prefix (second argument) of the TAG directive")
try{i=decodeURIComponent(i)}catch(t){Ln(e,"tag prefix is malformed: "+i)}e.tagMap[n]=i}}
function Vn(e,t,r,n){var i,s,o,a
if(t<r){if(a=e.input.slice(t,r),n)for(i=0,s=a.length;i<s;i+=1)9===(o=a.charCodeAt(i))||32<=o&&o<=1114111||Ln(e,"expected valid JSON character")
else wn.test(a)&&Ln(e,"the stream contains non-printable characters")
e.result+=a}}function $n(e,t,r,n){var i,s,o,a
for(Er.isObject(r)||Ln(e,"cannot merge mappings; the provided source object is unacceptable"),o=0,a=(i=Object.keys(r)).length;o<a;o+=1)s=i[o],dn.call(t,s)||(t[s]=r[s],n[s]=!0)}function Un(e,t,r,n,i,s,o,a,l){var c,u
if(Array.isArray(i))for(c=0,u=(i=Array.prototype.slice.call(i)).length;c<u;c+=1)Array.isArray(i[c])&&Ln(e,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===Nn(i[c])&&(i[c]="[object Object]")
if("object"==typeof i&&"[object Object]"===Nn(i)&&(i="[object Object]"),i=String(i),null===t&&(t={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(s))for(c=0,u=s.length;c<u;c+=1)$n(e,t,s[c],r)
else $n(e,t,s,r)
else e.json||dn.call(r,i)||!dn.call(t,i)||(e.line=o||e.line,e.lineStart=a||e.lineStart,e.position=l||e.position,Ln(e,"duplicated mapping key")),"__proto__"===i?Object.defineProperty(t,i,{configurable:!0,enumerable:!0,writable:!0,value:s}):t[i]=s,delete r[i]
return t}function Hn(e){var t
10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):Ln(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function qn(e,t,r){for(var n=0,i=e.input.charCodeAt(e.position);0!==i;){for(;Cn(i);)9===i&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position)
if(t&&35===i)do{i=e.input.charCodeAt(++e.position)}while(10!==i&&13!==i&&0!==i)
if(!_n(i))break
for(Hn(e),i=e.input.charCodeAt(e.position),n++,e.lineIndent=0;32===i;)e.lineIndent++,i=e.input.charCodeAt(++e.position)}return-1!==r&&0!==n&&e.lineIndent<r&&zn(e,"deficient indentation"),n}function Wn(e){var t,r=e.position
return!(45!==(t=e.input.charCodeAt(r))&&46!==t||t!==e.input.charCodeAt(r+1)||t!==e.input.charCodeAt(r+2)||(r+=3,0!==(t=e.input.charCodeAt(r))&&!An(t)))}function Kn(e,t){1===t?e.result+=" ":t>1&&(e.result+=Er.repeat("\n",t-1))}function Zn(e,t){var r,n,i=e.tag,s=e.anchor,o=[],a=!1
if(-1!==e.firstTabInLine)return!1
for(null!==e.anchor&&(e.anchorMap[e.anchor]=o),n=e.input.charCodeAt(e.position);0!==n&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,Ln(e,"tab characters must not be used in indentation")),45===n)&&An(e.input.charCodeAt(e.position+1));)if(a=!0,e.position++,qn(e,!0,-1)&&e.lineIndent<=t)o.push(null),n=e.input.charCodeAt(e.position)
else if(r=e.line,Yn(e,t,mn,!1,!0),o.push(e.result),qn(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&0!==n)Ln(e,"bad indentation of a sequence entry")
else if(e.lineIndent<t)break
return!!a&&(e.tag=i,e.anchor=s,e.kind="sequence",e.result=o,!0)}function Jn(e){var t,r,n,i,s=!1,o=!1
if(33!==(i=e.input.charCodeAt(e.position)))return!1
if(null!==e.tag&&Ln(e,"duplication of a tag property"),60===(i=e.input.charCodeAt(++e.position))?(s=!0,i=e.input.charCodeAt(++e.position)):33===i?(o=!0,r="!!",i=e.input.charCodeAt(++e.position)):r="!",t=e.position,s){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&62!==i)
e.position<e.length?(n=e.input.slice(t,e.position),i=e.input.charCodeAt(++e.position)):Ln(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!An(i);)33===i&&(o?Ln(e,"tag suffix cannot contain exclamation marks"):(r=e.input.slice(t-1,e.position+1),xn.test(r)||Ln(e,"named tag handle cannot contain such characters"),o=!0,t=e.position+1)),i=e.input.charCodeAt(++e.position)
n=e.input.slice(t,e.position),kn.test(n)&&Ln(e,"tag suffix cannot contain flow indicator characters")}n&&!En.test(n)&&Ln(e,"tag name cannot contain such characters: "+n)
try{n=decodeURIComponent(n)}catch(t){Ln(e,"tag name is malformed: "+n)}return s?e.tag=n:dn.call(e.tagMap,r)?e.tag=e.tagMap[r]+n:"!"===r?e.tag="!"+n:"!!"===r?e.tag="tag:yaml.org,2002:"+n:Ln(e,'undeclared tag handle "'+r+'"'),!0}function Gn(e){var t,r
if(38!==(r=e.input.charCodeAt(e.position)))return!1
for(null!==e.anchor&&Ln(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!An(r)&&!On(r);)r=e.input.charCodeAt(++e.position)
return e.position===t&&Ln(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function Yn(e,t,r,n,i){var s,o,a,l,c,u,h,d,p,f=1,m=!1,g=!1
if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,s=o=a=gn===r||mn===r,n&&qn(e,!0,-1)&&(m=!0,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)),1===f)for(;Jn(e)||Gn(e);)qn(e,!0,-1)?(m=!0,a=s,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)):a=!1
if(a&&(a=m||i),1!==f&&gn!==r||(d=pn===r||fn===r?t:t+1,p=e.position-e.lineStart,1===f?a&&(Zn(e,p)||function(e,t,r){var n,i,s,o,a,l,c,u=e.tag,h=e.anchor,d={},p=Object.create(null),f=null,m=null,g=null,y=!1,v=!1
if(-1!==e.firstTabInLine)return!1
for(null!==e.anchor&&(e.anchorMap[e.anchor]=d),c=e.input.charCodeAt(e.position);0!==c;){if(y||-1===e.firstTabInLine||(e.position=e.firstTabInLine,Ln(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),s=e.line,63!==c&&58!==c||!An(n)){if(o=e.line,a=e.lineStart,l=e.position,!Yn(e,r,fn,!1,!0))break
if(e.line===s){for(c=e.input.charCodeAt(e.position);Cn(c);)c=e.input.charCodeAt(++e.position)
if(58===c)An(c=e.input.charCodeAt(++e.position))||Ln(e,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(Un(e,d,p,f,m,null,o,a,l),f=m=g=null),v=!0,y=!1,i=!1,f=e.tag,m=e.result
else{if(!v)return e.tag=u,e.anchor=h,!0
Ln(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!v)return e.tag=u,e.anchor=h,!0
Ln(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(y&&(Un(e,d,p,f,m,null,o,a,l),f=m=g=null),v=!0,y=!0,i=!0):y?(y=!1,i=!0):Ln(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,c=n
if((e.line===s||e.lineIndent>t)&&(y&&(o=e.line,a=e.lineStart,l=e.position),Yn(e,t,gn,!0,i)&&(y?m=e.result:g=e.result),y||(Un(e,d,p,f,m,g,o,a,l),f=m=g=null),qn(e,!0,-1),c=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&0!==c)Ln(e,"bad indentation of a mapping entry")
else if(e.lineIndent<t)break}return y&&Un(e,d,p,f,m,null,o,a,l),v&&(e.tag=u,e.anchor=h,e.kind="mapping",e.result=d),v}(e,p,d))||function(e,t){var r,n,i,s,o,a,l,c,u,h,d,p,f=!0,m=e.tag,g=e.anchor,y=Object.create(null)
if(91===(p=e.input.charCodeAt(e.position)))o=93,c=!1,s=[]
else{if(123!==p)return!1
o=125,c=!0,s={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=s),p=e.input.charCodeAt(++e.position);0!==p;){if(qn(e,!0,t),(p=e.input.charCodeAt(e.position))===o)return e.position++,e.tag=m,e.anchor=g,e.kind=c?"mapping":"sequence",e.result=s,!0
f?44===p&&Ln(e,"expected the node content, but found ','"):Ln(e,"missed comma between flow collection entries"),d=null,a=l=!1,63===p&&An(e.input.charCodeAt(e.position+1))&&(a=l=!0,e.position++,qn(e,!0,t)),r=e.line,n=e.lineStart,i=e.position,Yn(e,t,pn,!1,!0),h=e.tag,u=e.result,qn(e,!0,t),p=e.input.charCodeAt(e.position),!l&&e.line!==r||58!==p||(a=!0,p=e.input.charCodeAt(++e.position),qn(e,!0,t),Yn(e,t,pn,!1,!0),d=e.result),c?Un(e,s,y,h,u,d,r,n,i):a?s.push(Un(e,null,y,h,u,d,r,n,i)):s.push(u),qn(e,!0,t),44===(p=e.input.charCodeAt(e.position))?(f=!0,p=e.input.charCodeAt(++e.position)):f=!1}Ln(e,"unexpected end of the stream within a flow collection")}(e,d)?g=!0:(o&&function(e,t){var r,n,i,s,o,a=yn,l=!1,c=!1,u=t,h=0,d=!1
if(124===(s=e.input.charCodeAt(e.position)))n=!1
else{if(62!==s)return!1
n=!0}for(e.kind="scalar",e.result="";0!==s;)if(43===(s=e.input.charCodeAt(++e.position))||45===s)yn===a?a=43===s?bn:vn:Ln(e,"repeat of a chomping mode identifier")
else{if(!((i=48<=(o=s)&&o<=57?o-48:-1)>=0))break
0===i?Ln(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?Ln(e,"repeat of an indentation width identifier"):(u=t+i-1,c=!0)}if(Cn(s)){do{s=e.input.charCodeAt(++e.position)}while(Cn(s))
if(35===s)do{s=e.input.charCodeAt(++e.position)}while(!_n(s)&&0!==s)}for(;0!==s;){for(Hn(e),e.lineIndent=0,s=e.input.charCodeAt(e.position);(!c||e.lineIndent<u)&&32===s;)e.lineIndent++,s=e.input.charCodeAt(++e.position)
if(!c&&e.lineIndent>u&&(u=e.lineIndent),_n(s))h++
else{if(e.lineIndent<u){a===bn?e.result+=Er.repeat("\n",l?1+h:h):a===yn&&l&&(e.result+="\n")
break}for(n?Cn(s)?(d=!0,e.result+=Er.repeat("\n",l?1+h:h)):d?(d=!1,e.result+=Er.repeat("\n",h+1)):0===h?l&&(e.result+=" "):e.result+=Er.repeat("\n",h):e.result+=Er.repeat("\n",l?1+h:h),l=!0,c=!0,h=0,r=e.position;!_n(s)&&0!==s;)s=e.input.charCodeAt(++e.position)
Vn(e,r,e.position,!1)}}return!0}(e,d)||function(e,t){var r,n,i
if(39!==(r=e.input.charCodeAt(e.position)))return!1
for(e.kind="scalar",e.result="",e.position++,n=i=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(Vn(e,n,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return!0
n=e.position,e.position++,i=e.position}else _n(r)?(Vn(e,n,i,!0),Kn(e,qn(e,!1,t)),n=i=e.position):e.position===e.lineStart&&Wn(e)?Ln(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position)
Ln(e,"unexpected end of the stream within a single quoted scalar")}(e,d)||function(e,t){var r,n,i,s,o,a,l
if(34!==(a=e.input.charCodeAt(e.position)))return!1
for(e.kind="scalar",e.result="",e.position++,r=n=e.position;0!==(a=e.input.charCodeAt(e.position));){if(34===a)return Vn(e,r,e.position,!0),e.position++,!0
if(92===a){if(Vn(e,r,e.position,!0),_n(a=e.input.charCodeAt(++e.position)))qn(e,!1,t)
else if(a<256&&jn[a])e.result+=Dn[a],e.position++
else if((o=120===(l=a)?2:117===l?4:85===l?8:0)>0){for(i=o,s=0;i>0;i--)(o=Pn(a=e.input.charCodeAt(++e.position)))>=0?s=(s<<4)+o:Ln(e,"expected hexadecimal character")
e.result+=In(s),e.position++}else Ln(e,"unknown escape sequence")
r=n=e.position}else _n(a)?(Vn(e,r,n,!0),Kn(e,qn(e,!1,t)),r=n=e.position):e.position===e.lineStart&&Wn(e)?Ln(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}Ln(e,"unexpected end of the stream within a double quoted scalar")}(e,d)?g=!0:function(e){var t,r,n
if(42!==(n=e.input.charCodeAt(e.position)))return!1
for(n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!An(n)&&!On(n);)n=e.input.charCodeAt(++e.position)
return e.position===t&&Ln(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),dn.call(e.anchorMap,r)||Ln(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],qn(e,!0,-1),!0}(e)?(g=!0,null===e.tag&&null===e.anchor||Ln(e,"alias node should not have any properties")):function(e,t,r){var n,i,s,o,a,l,c,u,h=e.kind,d=e.result
if(An(u=e.input.charCodeAt(e.position))||On(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u)return!1
if((63===u||45===u)&&(An(n=e.input.charCodeAt(e.position+1))||r&&On(n)))return!1
for(e.kind="scalar",e.result="",i=s=e.position,o=!1;0!==u;){if(58===u){if(An(n=e.input.charCodeAt(e.position+1))||r&&On(n))break}else if(35===u){if(An(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&Wn(e)||r&&On(u))break
if(_n(u)){if(a=e.line,l=e.lineStart,c=e.lineIndent,qn(e,!1,-1),e.lineIndent>=t){o=!0,u=e.input.charCodeAt(e.position)
continue}e.position=s,e.line=a,e.lineStart=l,e.lineIndent=c
break}}o&&(Vn(e,i,s,!1),Kn(e,e.line-a),i=s=e.position,o=!1),Cn(u)||(s=e.position+1),u=e.input.charCodeAt(++e.position)}return Vn(e,i,s,!1),!!e.result||(e.kind=h,e.result=d,!1)}(e,d,pn===r)&&(g=!0,null===e.tag&&(e.tag="?")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===f&&(g=a&&Zn(e,p))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)
else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&Ln(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,c=e.implicitTypes.length;l<c;l+=1)if((h=e.implicitTypes[l]).resolve(e.result)){e.result=h.construct(e.result),e.tag=h.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)
break}}else if("!"!==e.tag){if(dn.call(e.typeMap[e.kind||"fallback"],e.tag))h=e.typeMap[e.kind||"fallback"][e.tag]
else for(h=null,l=0,c=(u=e.typeMap.multi[e.kind||"fallback"]).length;l<c;l+=1)if(e.tag.slice(0,u[l].tag.length)===u[l].tag){h=u[l]
break}h||Ln(e,"unknown tag !<"+e.tag+">"),null!==e.result&&h.kind!==e.kind&&Ln(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+h.kind+'", not "'+e.kind+'"'),h.resolve(e.result,e.tag)?(e.result=h.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):Ln(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||g}function Xn(e){var t,r,n,i,s=e.position,o=!1
for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(i=e.input.charCodeAt(e.position))&&(qn(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==i));){for(o=!0,i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!An(i);)i=e.input.charCodeAt(++e.position)
for(n=[],(r=e.input.slice(t,e.position)).length<1&&Ln(e,"directive name must not be less than one character in length");0!==i;){for(;Cn(i);)i=e.input.charCodeAt(++e.position)
if(35===i){do{i=e.input.charCodeAt(++e.position)}while(0!==i&&!_n(i))
break}if(_n(i))break
for(t=e.position;0!==i&&!An(i);)i=e.input.charCodeAt(++e.position)
n.push(e.input.slice(t,e.position))}0!==i&&Hn(e),dn.call(Fn,r)?Fn[r](e,r,n):zn(e,'unknown document directive "'+r+'"')}qn(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,qn(e,!0,-1)):o&&Ln(e,"directives end mark is expected"),Yn(e,e.lineIndent-1,gn,!1,!0),qn(e,!0,-1),e.checkLineBreaks&&Sn.test(e.input.slice(s,e.position))&&zn(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Wn(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,qn(e,!0,-1)):e.position<e.length-1&&Ln(e,"end of the stream or a document separator is expected")}function Qn(e,t){t=t||{},0!==(e=String(e)).length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)))
var r=new Bn(e,t),n=e.indexOf("\0")
for(-1!==n&&(r.position=n,Ln(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1
for(;r.position<r.length-1;)Xn(r)
return r.documents}var ei=Object.prototype.toString,ti=Object.prototype.hasOwnProperty,ri=65279,ni=9,ii=10,si=13,oi=32,ai=33,li=34,ci=35,ui=37,hi=38,di=39,pi=42,fi=44,mi=45,gi=58,yi=61,vi=62,bi=63,wi=64,Si=91,ki=93,xi=96,Ei=123,Ni=124,_i=125,Ci={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},Ai=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],Oi=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/
function Pi(e){var t,r,n
if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2
else if(e<=65535)r="u",n=4
else{if(!(e<=4294967295))throw new Cr("code point within a string may not be greater than 0xFFFFFFFF")
r="U",n=8}return"\\"+r+Er.repeat("0",n-t.length)+t}var Ti=2
function Ii(e){this.schema=e.schema||hn,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=Er.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=function(e,t){var r,n,i,s,o,a,l
if(null===t)return{}
for(r={},i=0,s=(n=Object.keys(t)).length;i<s;i+=1)o=n[i],a=String(t[o]),"!!"===o.slice(0,2)&&(o="tag:yaml.org,2002:"+o.slice(2)),(l=e.compiledTypeMap.fallback[o])&&ti.call(l.styleAliases,a)&&(a=l.styleAliases[a]),r[o]=a
return r}(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType='"'===e.quotingType?Ti:1,this.forceQuotes=e.forceQuotes||!1,this.replacer="function"==typeof e.replacer?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function ji(e,t){for(var r,n=Er.repeat(" ",t),i=0,s=-1,o="",a=e.length;i<a;)-1===(s=e.indexOf("\n",i))?(r=e.slice(i),i=a):(r=e.slice(i,s+1),i=s+1),r.length&&"\n"!==r&&(o+=n),o+=r
return o}function Di(e,t){return"\n"+Er.repeat(" ",e.indent*t)}function Mi(e){return e===oi||e===ni}function Bi(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&e!==ri||65536<=e&&e<=1114111}function Ri(e){return Bi(e)&&e!==ri&&e!==si&&e!==ii}function Li(e,t,r){var n=Ri(e),i=n&&!Mi(e)
return(r?n:n&&e!==fi&&e!==Si&&e!==ki&&e!==Ei&&e!==_i)&&e!==ci&&!(t===gi&&!i)||Ri(t)&&!Mi(t)&&e===ci||t===gi&&i}function zi(e,t){var r,n=e.charCodeAt(t)
return n>=55296&&n<=56319&&t+1<e.length&&(r=e.charCodeAt(t+1))>=56320&&r<=57343?1024*(n-55296)+r-56320+65536:n}function Fi(e){return/^\n* /.test(e)}var Vi=1,$i=2,Ui=3,Hi=4,qi=5
function Wi(e,t){var r=Fi(e)?String(t):"",n="\n"===e[e.length-1]
return r+(!n||"\n"!==e[e.length-2]&&"\n"!==e?n?"":"-":"+")+"\n"}function Ki(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Zi(e,t){if(""===e||" "===e[0])return e
for(var r,n,i=/ [^ ]/g,s=0,o=0,a=0,l="";r=i.exec(e);)(a=r.index)-s>t&&(n=o>s?o:a,l+="\n"+e.slice(s,n),s=n+1),o=a
return l+="\n",e.length-s>t&&o>s?l+=e.slice(s,o)+"\n"+e.slice(o+1):l+=e.slice(s),l.slice(1)}function Ji(e,t,r,n){var i,s,o,a="",l=e.tag
for(i=0,s=r.length;i<s;i+=1)o=r[i],e.replacer&&(o=e.replacer.call(r,String(i),o)),(Yi(e,t+1,o,!0,!0,!1,!0)||void 0===o&&Yi(e,t+1,null,!0,!0,!1,!0))&&(n&&""===a||(a+=Di(e,t)),e.dump&&ii===e.dump.charCodeAt(0)?a+="-":a+="- ",a+=e.dump)
e.tag=l,e.dump=a||"[]"}function Gi(e,t,r){var n,i,s,o,a,l
for(s=0,o=(i=r?e.explicitTypes:e.implicitTypes).length;s<o;s+=1)if(((a=i[s]).instanceOf||a.predicate)&&(!a.instanceOf||"object"==typeof t&&t instanceof a.instanceOf)&&(!a.predicate||a.predicate(t))){if(r?a.multi&&a.representName?e.tag=a.representName(t):e.tag=a.tag:e.tag="?",a.represent){if(l=e.styleMap[a.tag]||a.defaultStyle,"[object Function]"===ei.call(a.represent))n=a.represent(t,l)
else{if(!ti.call(a.represent,l))throw new Cr("!<"+a.tag+'> tag resolver accepts not "'+l+'" style')
n=a.represent[l](t,l)}e.dump=n}return!0}return!1}function Yi(e,t,r,n,i,s,o){e.tag=null,e.dump=r,Gi(e,r,!1)||Gi(e,r,!0)
var a,l=ei.call(e.dump),c=n
n&&(n=e.flowLevel<0||e.flowLevel>t)
var u,h,d="[object Object]"===l||"[object Array]"===l
if(d&&(h=-1!==(u=e.duplicates.indexOf(r))),(null!==e.tag&&"?"!==e.tag||h||2!==e.indent&&t>0)&&(i=!1),h&&e.usedDuplicates[u])e.dump="*ref_"+u
else{if(d&&h&&!e.usedDuplicates[u]&&(e.usedDuplicates[u]=!0),"[object Object]"===l)n&&0!==Object.keys(e.dump).length?(function(e,t,r,n){var i,s,o,a,l,c,u="",h=e.tag,d=Object.keys(r)
if(!0===e.sortKeys)d.sort()
else if("function"==typeof e.sortKeys)d.sort(e.sortKeys)
else if(e.sortKeys)throw new Cr("sortKeys must be a boolean or a function")
for(i=0,s=d.length;i<s;i+=1)c="",n&&""===u||(c+=Di(e,t)),a=r[o=d[i]],e.replacer&&(a=e.replacer.call(r,o,a)),Yi(e,t+1,o,!0,!0,!0)&&((l=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024)&&(e.dump&&ii===e.dump.charCodeAt(0)?c+="?":c+="? "),c+=e.dump,l&&(c+=Di(e,t)),Yi(e,t+1,a,!0,l)&&(e.dump&&ii===e.dump.charCodeAt(0)?c+=":":c+=": ",u+=c+=e.dump))
e.tag=h,e.dump=u||"{}"}(e,t,e.dump,i),h&&(e.dump="&ref_"+u+e.dump)):(function(e,t,r){var n,i,s,o,a,l="",c=e.tag,u=Object.keys(r)
for(n=0,i=u.length;n<i;n+=1)a="",""!==l&&(a+=", "),e.condenseFlow&&(a+='"'),o=r[s=u[n]],e.replacer&&(o=e.replacer.call(r,s,o)),Yi(e,t,s,!1,!1)&&(e.dump.length>1024&&(a+="? "),a+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Yi(e,t,o,!1,!1)&&(l+=a+=e.dump))
e.tag=c,e.dump="{"+l+"}"}(e,t,e.dump),h&&(e.dump="&ref_"+u+" "+e.dump))
else if("[object Array]"===l)n&&0!==e.dump.length?(e.noArrayIndent&&!o&&t>0?Ji(e,t-1,e.dump,i):Ji(e,t,e.dump,i),h&&(e.dump="&ref_"+u+e.dump)):(function(e,t,r){var n,i,s,o="",a=e.tag
for(n=0,i=r.length;n<i;n+=1)s=r[n],e.replacer&&(s=e.replacer.call(r,String(n),s)),(Yi(e,t,s,!1,!1)||void 0===s&&Yi(e,t,null,!1,!1))&&(""!==o&&(o+=","+(e.condenseFlow?"":" ")),o+=e.dump)
e.tag=a,e.dump="["+o+"]"}(e,t,e.dump),h&&(e.dump="&ref_"+u+" "+e.dump))
else{if("[object String]"!==l){if("[object Undefined]"===l)return!1
if(e.skipInvalid)return!1
throw new Cr("unacceptable kind of an object to dump "+l)}"?"!==e.tag&&function(e,t,r,n,i){e.dump=function(){if(0===t.length)return e.quotingType===Ti?'""':"''"
if(!e.noCompatMode&&(-1!==Ai.indexOf(t)||Oi.test(t)))return e.quotingType===Ti?'"'+t+'"':"'"+t+"'"
var s=e.indent*Math.max(1,r),o=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),a=n||e.flowLevel>-1&&r>=e.flowLevel
switch(function(e,t,r,n,i,s,o,a){var l,c=0,u=null,h=!1,d=!1,p=-1!==n,f=-1,m=function(e){return Bi(e)&&e!==ri&&!Mi(e)&&e!==mi&&e!==bi&&e!==gi&&e!==fi&&e!==Si&&e!==ki&&e!==Ei&&e!==_i&&e!==ci&&e!==hi&&e!==pi&&e!==ai&&e!==Ni&&e!==yi&&e!==vi&&e!==di&&e!==li&&e!==ui&&e!==wi&&e!==xi}(zi(e,0))&&function(e){return!Mi(e)&&e!==gi}(zi(e,e.length-1))
if(t||o)for(l=0;l<e.length;c>=65536?l+=2:l++){if(!Bi(c=zi(e,l)))return qi
m=m&&Li(c,u,a),u=c}else{for(l=0;l<e.length;c>=65536?l+=2:l++){if((c=zi(e,l))===ii)h=!0,p&&(d=d||l-f-1>n&&" "!==e[f+1],f=l)
else if(!Bi(c))return qi
m=m&&Li(c,u,a),u=c}d=d||p&&l-f-1>n&&" "!==e[f+1]}return h||d?r>9&&Fi(e)?qi:o?s===Ti?qi:$i:d?Hi:Ui:!m||o||i(e)?s===Ti?qi:$i:Vi}(t,a,e.indent,o,(function(t){return function(e,t){var r,n
for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(e.implicitTypes[r].resolve(t))return!0
return!1}(e,t)}),e.quotingType,e.forceQuotes&&!n,i)){case Vi:return t
case $i:return"'"+t.replace(/'/g,"''")+"'"
case Ui:return"|"+Wi(t,e.indent)+Ki(ji(t,s))
case Hi:return">"+Wi(t,e.indent)+Ki(ji(function(e,t){for(var r,n,i,s=/(\n+)([^\n]*)/g,o=(i=-1!==(i=e.indexOf("\n"))?i:e.length,s.lastIndex=i,Zi(e.slice(0,i),t)),a="\n"===e[0]||" "===e[0];n=s.exec(e);){var l=n[1],c=n[2]
r=" "===c[0],o+=l+(a||r||""===c?"":"\n")+Zi(c,t),a=r}return o}(t,o),s))
case qi:return'"'+function(e){for(var t,r="",n=0,i=0;i<e.length;n>=65536?i+=2:i++)n=zi(e,i),!(t=Ci[n])&&Bi(n)?(r+=e[i],n>=65536&&(r+=e[i+1])):r+=t||Pi(n)
return r}(t)+'"'
default:throw new Cr("impossible error: invalid scalar style")}}()}(e,e.dump,t,s,c)}null!==e.tag&&"?"!==e.tag&&(a=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21"),a="!"===e.tag[0]?"!"+a:"tag:yaml.org,2002:"===a.slice(0,18)?"!!"+a.slice(18):"!<"+a+">",e.dump=a+" "+e.dump)}return!0}function Xi(e,t){var r,n,i=[],s=[]
for(Qi(e,i,s),r=0,n=s.length;r<n;r+=1)t.duplicates.push(i[s[r]])
t.usedDuplicates=new Array(n)}function Qi(e,t,r){var n,i,s
if(null!==e&&"object"==typeof e)if(-1!==(i=t.indexOf(e)))-1===r.indexOf(i)&&r.push(i)
else if(t.push(e),Array.isArray(e))for(i=0,s=e.length;i<s;i+=1)Qi(e[i],t,r)
else for(i=0,s=(n=Object.keys(e)).length;i<s;i+=1)Qi(e[n[i]],t,r)}function es(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var ts=jr,rs=Br,ns=Fr,is=Jr,ss=Gr,os=hn,as=Cr,ls={binary:rn,float:Zr,map:zr,null:Vr,pairs:ln,set:un,timestamp:Qr,bool:$r,int:qr,merge:en,omap:on,seq:Lr,str:Rr},cs=es("safeLoad","load"),us=es("safeLoadAll","loadAll"),hs=es("safeDump","dump")
const ds={Type:ts,Schema:rs,FAILSAFE_SCHEMA:ns,JSON_SCHEMA:is,CORE_SCHEMA:ss,DEFAULT_SCHEMA:os,load:function(e,t){var r=Qn(e,t)
if(0!==r.length){if(1===r.length)return r[0]
throw new Cr("expected a single document in the stream, but found more")}},loadAll:function(e,t,r){null!==t&&"object"==typeof t&&void 0===r&&(r=t,t=null)
var n=Qn(e,r)
if("function"!=typeof t)return n
for(var i=0,s=n.length;i<s;i+=1)t(n[i])},dump:function(e,t){var r=new Ii(t=t||{})
r.noRefs||Xi(e,r)
var n=e
return r.replacer&&(n=r.replacer.call({"":n},"",n)),Yi(r,0,n,!0,!0)?r.dump+"\n":""},YAMLException:as,types:ls,safeLoad:cs,safeLoadAll:us,safeDump:hs},ps="configs_update",fs="configs_toggle"
function ms(e,t){return{type:ps,payload:{[e]:t}}}function gs(e){return{type:fs,payload:e}}const ys=()=>()=>{},vs=e=>t=>{const{fn:{fetch:r}}=t
return r(e)},bs=(e,t)=>r=>{const{specActions:n,configsActions:i}=r
if(e)return i.downloadConfig(e).then(s,s)
function s(i){i instanceof Error||i.status>=400?(n.updateLoadingStatus("failedConfig"),n.updateLoadingStatus("failedConfig"),n.updateUrl(""),console.error(i.statusText+" "+e.url),t(null)):t(((e,t)=>{try{return ds.load(e)}catch(e){return t&&t.errActions.newThrownErr(new Error(e)),{}}})(i.text,r))}},ws=(e,t)=>e.getIn(Array.isArray(t)?t:[t]),Ss={[ps]:(e,t)=>e.merge((0,G.fromJS)(t.payload)),[fs]:(e,t)=>{const r=t.payload,n=e.get(r)
return e.set(r,!n)}}
function ks(){return{statePlugins:{configs:{reducers:Ss,actions:m,selectors:g}}}}const xs=e=>e?history.pushState(null,null,`#${e}`):window.location.hash=""
var Es=l(86215),Ns=l.n(Es)
const _s="layout_scroll_to",Cs="layout_clear_scroll",As={fn:{getScrollParent:function(e,t){const r=document.documentElement
let n=getComputedStyle(e)
const i="absolute"===n.position,s=t?/(auto|scroll|hidden)/:/(auto|scroll)/
if("fixed"===n.position)return r
for(let o=e;o=o.parentElement;)if(n=getComputedStyle(o),(!i||"static"!==n.position)&&s.test(n.overflow+n.overflowY+n.overflowX))return o
return r}},statePlugins:{layout:{actions:{scrollToElement:(e,t)=>r=>{try{t=t||r.fn.getScrollParent(e),Ns().createScroller(t).to(e)}catch(e){console.error(e)}},scrollTo:e=>({type:_s,payload:Array.isArray(e)?e:[e]}),clearScrollTo:()=>({type:Cs}),readyToScroll:(e,t)=>r=>{const n=r.layoutSelectors.getScrollToKey()
Y().is(n,(0,G.fromJS)(e))&&(r.layoutActions.scrollToElement(t),r.layoutActions.clearScrollTo())},parseDeepLinkHash:e=>({layoutActions:t,layoutSelectors:r,getConfigs:n})=>{if(n().deepLinking&&e){let n=e.slice(1)
"!"===n[0]&&(n=n.slice(1)),"/"===n[0]&&(n=n.slice(1))
const i=n.split("/").map((e=>e||"")),s=r.isShownKeyFromUrlHashArray(i),[o,a="",l=""]=s
if("operations"===o){const e=r.isShownKeyFromUrlHashArray([a])
a.indexOf("_")>-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),t.show(e.map((e=>e.replace(/_/g," "))),!0)),t.show(e,!0)}(a.indexOf("_")>-1||l.indexOf("_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),t.show(s.map((e=>e.replace(/_/g," "))),!0)),t.show(s,!0),t.scrollTo(s)}}},selectors:{getScrollToKey:e=>e.get("scrollToKey"),isShownKeyFromUrlHashArray(e,t){const[r,n]=t
return n?["operations",r,n]:r?["operations-tag",r]:[]},urlHashArrayFromIsShownKey(e,t){let[r,n,i]=t
return"operations"==r?[n,i]:"operations-tag"==r?[n]:[]}},reducers:{[_s]:(e,t)=>e.set("scrollToKey",Y().fromJS(t.payload)),[Cs]:e=>e.delete("scrollToKey")},wrapActions:{show:(e,{getConfigs:t,layoutSelectors:r})=>(...n)=>{if(e(...n),t().deepLinking)try{let[e,t]=n
e=Array.isArray(e)?e:[e]
const i=r.urlHashArrayFromIsShownKey(e)
if(!i.length)return
const[s,o]=i
if(!t)return xs("/")
2===i.length?xs(st(`/${encodeURIComponent(s)}/${encodeURIComponent(o)}`)):1===i.length&&xs(st(`/${encodeURIComponent(s)}`))}catch(e){console.error(e)}}}}}}
var Os=l(2209),Ps=l.n(Os)
const Ts=(e,t)=>class extends $.Component{constructor(...e){super(...e),s(this,"onLoad",(e=>{const{operation:r}=this.props,{tag:n,operationId:i}=r.toObject()
let{isShownKey:s}=r.toObject()
s=s||["operations",n,i],t.layoutActions.readyToScroll(s,e)}))}render(){return $.createElement("span",{ref:this.onLoad},$.createElement(e,this.props))}},Is=(e,t)=>class extends $.Component{constructor(...e){super(...e),s(this,"onLoad",(e=>{const{tag:r}=this.props,n=["operations-tag",r]
t.layoutActions.readyToScroll(n,e)}))}render(){return $.createElement("span",{ref:this.onLoad},$.createElement(e,this.props))}}
function js(){return[As,{statePlugins:{configs:{wrapActions:{loaded:(e,t)=>(...r)=>{e(...r)
const n=decodeURIComponent(window.location.hash)
t.layoutActions.parseDeepLinkHash(n)}}}},wrapComponents:{operation:Ts,OperationTag:Is}}]}var Ds=l(40860),Ms=l.n(Ds)
function Bs(e){return e.map((e=>{let t=e.get("message").indexOf("is not of a type(s)")
if(t>-1){let r=e.get("message").slice(t+19).split(",")
return e.set("message",e.get("message").slice(0,t)+function(e){return e.reduce(((e,t,r,n)=>r===n.length-1&&n.length>1?e+"or "+t:n[r+1]&&n.length>2?e+t+", ":n[r+1]?e+t+" ":e+t),"should be a")}(r))}return e}))}var Rs=l(58156),Ls=l.n(Rs)
function zs(e,{jsSpec:t}){return e}const Fs=[y,v]
function Vs(e){let t={jsSpec:{}},r=Ms()(Fs,((e,r)=>{try{return r.transform(e,t).filter((e=>!!e))}catch(t){return console.error("Transformer error:",t),e}}),e)
return r.filter((e=>!!e)).map((e=>(!e.get("line")&&e.get("path"),e)))}let $s={line:0,level:"error",message:"Unknown error"}
const Us=er((e=>e),(e=>e.get("errors",(0,G.List)()))),Hs=er(Us,(e=>e.last()))
function qs(e){return{statePlugins:{err:{reducers:{[ie]:(e,{payload:t})=>{let r=Object.assign($s,t,{type:"thrown"})
return e.update("errors",(e=>(e||(0,G.List)()).push((0,G.fromJS)(r)))).update("errors",(e=>Vs(e)))},[se]:(e,{payload:t})=>(t=t.map((e=>(0,G.fromJS)(Object.assign($s,e,{type:"thrown"})))),e.update("errors",(e=>(e||(0,G.List)()).concat((0,G.fromJS)(t)))).update("errors",(e=>Vs(e)))),[oe]:(e,{payload:t})=>{let r=(0,G.fromJS)(t)
return r=r.set("type","spec"),e.update("errors",(e=>(e||(0,G.List)()).push((0,G.fromJS)(r)).sortBy((e=>e.get("line"))))).update("errors",(e=>Vs(e)))},[ae]:(e,{payload:t})=>(t=t.map((e=>(0,G.fromJS)(Object.assign($s,e,{type:"spec"})))),e.update("errors",(e=>(e||(0,G.List)()).concat((0,G.fromJS)(t)))).update("errors",(e=>Vs(e)))),[le]:(e,{payload:t})=>{let r=(0,G.fromJS)(Object.assign({},t))
return r=r.set("type","auth"),e.update("errors",(e=>(e||(0,G.List)()).push((0,G.fromJS)(r)))).update("errors",(e=>Vs(e)))},[ce]:(e,{payload:t})=>{if(!t||!e.get("errors"))return e
let r=e.get("errors").filter((e=>e.keySeq().every((r=>{const n=e.get(r),i=t[r]
return!i||n!==i}))))
return e.merge({errors:r})},[ue]:(e,{payload:t})=>{if(!t||"function"!=typeof t)return e
let r=e.get("errors").filter((e=>t(e)))
return e.merge({errors:r})}},actions:d,selectors:b}}}}function Ws(e,t){return e.filter(((e,r)=>-1!==r.indexOf(t)))}function Ks(){return{fn:{opsFilter:Ws}}}var Zs=l(7666),Js=l.n(Zs)
const Gs=({className:e=null,width:t=20,height:r=20,...n})=>$.createElement("svg",Js()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),$.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 2.581 14.908 L 10 7.767 L 17.418 14.908 Z"})),Ys=({className:e=null,width:t=20,height:r=20,...n})=>$.createElement("svg",Js()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),$.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"})),Xs=({className:e=null,width:t=20,height:r=20,...n})=>$.createElement("svg",Js()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),$.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"})),Qs=({className:e=null,width:t=20,height:r=20,...n})=>$.createElement("svg",Js()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),$.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"})),eo=({className:e=null,width:t=15,height:r=16,...n})=>$.createElement("svg",Js()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 16",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),$.createElement("g",{transform:"translate(2, -1)"},$.createElement("path",{fill:"#ffffff",fillRule:"evenodd",d:"M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z"}))),to=({className:e=null,width:t=20,height:r=20,...n})=>$.createElement("svg",Js()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),$.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"})),ro=({className:e=null,width:t=20,height:r=20,...n})=>$.createElement("svg",Js()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),$.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"})),no=()=>({components:{ArrowUpIcon:Gs,ArrowDownIcon:Ys,ArrowIcon:Xs,CloseIcon:Qs,CopyIcon:eo,LockIcon:to,UnlockIcon:ro}}),io="layout_update_layout",so="layout_update_filter",oo="layout_update_mode",ao="layout_show"
function lo(e){return{type:io,payload:e}}function co(e){return{type:so,payload:e}}function uo(e,t=!0){return e=Ue(e),{type:ao,payload:{thing:e,shown:t}}}function ho(e,t=""){return e=Ue(e),{type:oo,payload:{thing:e,mode:t}}}const po={[io]:(e,t)=>e.set("layout",t.payload),[so]:(e,t)=>e.set("filter",t.payload),[ao]:(e,t)=>{const r=t.payload.shown,n=(0,G.fromJS)(t.payload.thing)
return e.update("shown",(0,G.fromJS)({}),(e=>e.set(n,r)))},[oo]:(e,t)=>{let r=t.payload.thing,n=t.payload.mode
return e.setIn(["modes"].concat(r),(n||"")+"")}},fo=e=>e.get("layout"),mo=e=>e.get("filter"),go=(e,t,r)=>(t=Ue(t),e.get("shown",(0,G.fromJS)({})).get((0,G.fromJS)(t),r)),yo=(e,t,r="")=>(t=Ue(t),e.getIn(["modes",...t],r)),vo=er((e=>e),(e=>!go(e,"editor"))),bo=(e,t)=>(r,...n)=>{let i=e(r,...n)
const{fn:s,layoutSelectors:o,getConfigs:a}=t.getSystem(),l=a(),{maxDisplayedTags:c}=l
let u=o.currentFilter()
return u&&!0!==u&&(i=s.opsFilter(i,u)),c>=0&&(i=i.slice(0,c)),i}
function wo(){return{statePlugins:{layout:{reducers:po,actions:w,selectors:S},spec:{wrapSelectors:k}}}}function So({configs:e}){const t={debug:0,info:1,log:2,warn:3,error:4},r=e=>t[e]||-1
let{logLevel:n}=e,i=r(n)
function s(e,...t){r(e)>=i&&console[e](...t)}return s.warn=s.bind(null,"warn"),s.error=s.bind(null,"error"),s.info=s.bind(null,"info"),s.debug=s.bind(null,"debug"),{rootInjects:{log:s}}}let ko=!1
function xo(){return{statePlugins:{spec:{wrapActions:{updateSpec:e=>(...t)=>(ko=!0,e(...t)),updateJsonSpec:(e,t)=>(...r)=>{const n=t.getConfigs().onComplete
return ko&&"function"==typeof n&&(setTimeout(n,0),ko=!1),e(...r)}}}}}}const Eo=e=>{const t="_**[]"
return e.indexOf(t)<0?e:e.split(t)[0].trim()},No=e=>"-d "===e||/^[_\/-]/g.test(e)?e:"'"+e.replace(/'/g,"'\\''")+"'",_o=e=>"-d "===(e=e.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,"^\n"))?e.replace(/-d /g,"-d ^\n"):/^[_\/-]/g.test(e)?e:'"'+e+'"',Co=e=>"-d "===e?e:/\n/.test(e)?`@"\n${e.replace(/`/g,"``").replace(/\$/g,"`$")}\n"@`:/^[_\/-]/.test(e)?e:`'${e.replace(/'/g,"''")}'`,Ao=(e,t,r,n="")=>{let i=!1,s=""
const o=(...e)=>s+=" "+e.map(t).join(" "),a=(...e)=>s+=e.map(t).join(" "),l=()=>s+=` ${r}`,c=(e=1)=>s+="  ".repeat(e)
let u=e.get("headers")
s+="curl"+n
const h=e.get("curlOptions")
if(G.List.isList(h)&&!h.isEmpty()&&o(...e.get("curlOptions")),o("-X",e.get("method")),l(),c(),a(`${e.get("url")}`),u&&u.size)for(let p of e.get("headers").entries()){l(),c()
let[e,t]=p
a("-H",`${e}: ${t}`),i=i||/^content-type$/i.test(e)&&/^multipart\/form-data$/i.test(t)}const d=e.get("body")
if(d)if(i&&["POST","PUT","PATCH"].includes(e.get("method")))for(let[p,f]of d.entrySeq()){let e=Eo(p)
l(),c(),a("-F"),f instanceof ve.File&&"string"==typeof f.valueOf()?o(`${e}=${f.data}${f.type?`;type=${f.type}`:""}`):f instanceof ve.File?o(`${e}=@${f.name}${f.type?`;type=${f.type}`:""}`):o(`${e}=${f}`)}else if(d instanceof ve.File)l(),c(),a(`--data-binary '@${d.name}'`)
else{l(),c(),a("-d ")
let t=d
G.Map.isMap(t)?a(function(e){let t=[]
for(let[r,n]of e.get("body").entrySeq()){let e=Eo(r)
n instanceof ve.File?t.push(`  "${e}": {\n    "name": "${n.name}"${n.type?`,\n    "type": "${n.type}"`:""}\n  }`):t.push(`  "${e}": ${JSON.stringify(n,null,2).replace(/(\r\n|\r|\n)/g,"\n  ")}`)}return`{\n${t.join(",\n")}\n}`}(e)):("string"!=typeof t&&(t=JSON.stringify(t)),a(t))}else d||"POST"!==e.get("method")||(l(),c(),a("-d ''"))
return s},Oo=e=>Ao(e,Co,"`\n",".exe"),Po=e=>Ao(e,No,"\\\n"),To=e=>Ao(e,_o,"^\n"),Io=e=>e||(0,G.Map)(),jo=er(Io,(e=>{const t=e.get("languages"),r=e.get("generators",(0,G.Map)())
return!t||t.isEmpty()?r:r.filter(((e,r)=>t.includes(r)))})),Do=e=>({fn:t})=>jo(e).map(((e,r)=>{const n=(e=>t[`requestSnippetGenerator_${e}`])(r)
return"function"!=typeof n?null:e.set("fn",n)})).filter((e=>e)),Mo=er(Io,(e=>e.get("activeLanguage"))),Bo=er(Io,(e=>e.get("defaultExpanded")))
var Ro=l(46942),Lo=l.n(Ro),zo=l(59399)
const Fo={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(250, 250, 250)",paddingBottom:"0",paddingTop:"0",border:"1px solid rgb(51, 51, 51)",borderRadius:"4px 4px 0 0",boxShadow:"none",borderBottom:"none"},Vo={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(51, 51, 51)",boxShadow:"none",border:"1px solid rgb(51, 51, 51)",paddingBottom:"0",paddingTop:"0",borderRadius:"4px 4px 0 0",marginTop:"-5px",marginRight:"-5px",marginLeft:"-5px",zIndex:"9999",borderBottom:"none"},$o=({request:e,requestSnippetsSelectors:t,getComponent:r})=>{const n=(0,$.useRef)(null),i=r("ArrowUpIcon"),s=r("ArrowDownIcon"),o=r("SyntaxHighlighter",!0),[a,l]=(0,$.useState)(t.getSnippetGenerators()?.keySeq().first()),[c,u]=(0,$.useState)(t?.getDefaultExpanded()),h=t.getSnippetGenerators(),d=h.get(a),p=d.get("fn")(e),f=()=>{u(!c)},m=e=>e===a?Vo:Fo,g=e=>{const{target:t,deltaY:r}=e,{scrollHeight:n,offsetHeight:i,scrollTop:s}=t
n>i&&(0===s&&r<0||i+s>=n&&r>0)&&e.preventDefault()}
return(0,$.useEffect)((()=>{}),[]),(0,$.useEffect)((()=>{const e=Array.from(n.current.childNodes).filter((e=>!!e.nodeType&&e.classList?.contains("curl-command")))
return e.forEach((e=>e.addEventListener("mousewheel",g,{passive:!1}))),()=>{e.forEach((e=>e.removeEventListener("mousewheel",g)))}}),[e]),$.createElement("div",{className:"request-snippets",ref:n},$.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},$.createElement("h4",{onClick:()=>f(),style:{cursor:"pointer"}},"Snippets"),$.createElement("button",{onClick:()=>f(),style:{border:"none",background:"none"},title:c?"Collapse operation":"Expand operation"},c?$.createElement(s,{className:"arrow",width:"10",height:"10"}):$.createElement(i,{className:"arrow",width:"10",height:"10"}))),c&&$.createElement("div",{className:"curl-command"},$.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},h.entrySeq().map((([e,t])=>$.createElement("div",{className:Lo()("btn",{active:e===a}),style:m(e),key:e,onClick:()=>(e=>{a!==e&&l(e)})(e)},$.createElement("h4",{style:e===a?{color:"white"}:{}},t.get("title")))))),$.createElement("div",{className:"copy-to-clipboard"},$.createElement(zo.CopyToClipboard,{text:p},$.createElement("button",null))),$.createElement("div",null,$.createElement(o,{language:d.get("syntax"),className:"curl microlight",renderPlainText:({children:e,PlainTextViewer:t})=>$.createElement(t,{className:"curl"},e)},p))))},Uo=()=>({components:{RequestSnippets:$o},fn:x,statePlugins:{requestSnippets:{selectors:E}}})
class Ho extends $.Component{constructor(e,t){super(e,t),s(this,"toggleCollapsed",(()=>{this.props.onToggle&&this.props.onToggle(this.props.modelName,!this.state.expanded),this.setState({expanded:!this.state.expanded})})),s(this,"onLoad",(e=>{if(e&&this.props.layoutSelectors){const t=this.props.layoutSelectors.getScrollToKey()
Y().is(t,this.props.specPath)&&this.toggleCollapsed(),this.props.layoutActions.readyToScroll(this.props.specPath,e.parentElement)}}))
let{expanded:r,collapsedContent:n}=this.props
this.state={expanded:r,collapsedContent:n||Ho.defaultProps.collapsedContent}}componentDidMount(){const{hideSelfOnExpand:e,expanded:t,modelName:r}=this.props
e&&t&&this.props.onToggle(r,t)}UNSAFE_componentWillReceiveProps(e){this.props.expanded!==e.expanded&&this.setState({expanded:e.expanded})}render(){const{title:e,classes:t}=this.props
return this.state.expanded&&this.props.hideSelfOnExpand?$.createElement("span",{className:t||""},this.props.children):$.createElement("span",{className:t||"",ref:this.onLoad},$.createElement("button",{"aria-expanded":this.state.expanded,className:"model-box-control",onClick:this.toggleCollapsed},e&&$.createElement("span",{className:"pointer"},e),$.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")}),!this.state.expanded&&$.createElement("span",null,this.state.collapsedContent)),this.state.expanded&&this.props.children)}}s(Ho,"defaultProps",{collapsedContent:"{...}",expanded:!1,title:null,onToggle:()=>{},hideSelfOnExpand:!1,specPath:Y().List([])})
const qo=({schema:e,example:t,isExecute:r=!1,specPath:n,includeWriteOnly:i=!1,includeReadOnly:s=!1,getComponent:o,getConfigs:a,specSelectors:l})=>{const{defaultModelRendering:c,defaultModelExpandDepth:u}=a(),h=o("ModelWrapper"),d=o("HighlightCode",!0),p=je()(5).toString("base64"),f=je()(5).toString("base64"),m=je()(5).toString("base64"),g=je()(5).toString("base64"),y=l.isOAS3(),{activeTab:v,tabs:b,onTabChange:w}=(({initialTab:e,isExecute:t,schema:r,example:n})=>{const i=(0,$.useMemo)((()=>({example:"example",model:"model"})),[]),s=(0,$.useMemo)((()=>Object.keys(i)),[i]).includes(e)&&r&&!t?e:i.example,o=(e=>{const t=(0,$.useRef)()
return(0,$.useEffect)((()=>{t.current=e})),t.current})(t),[a,l]=(0,$.useState)(s),c=(0,$.useCallback)((e=>{l(e.target.dataset.name)}),[])
return(0,$.useEffect)((()=>{o&&!t&&n&&l(i.example)}),[o,t,n]),{activeTab:a,onTabChange:c,tabs:i}})({initialTab:c,isExecute:r,schema:e,example:t})
return $.createElement("div",{className:"model-example"},$.createElement("ul",{className:"tab",role:"tablist"},$.createElement("li",{className:Lo()("tabitem",{active:v===b.example}),role:"presentation"},$.createElement("button",{"aria-controls":f,"aria-selected":v===b.example,className:"tablinks","data-name":"example",id:p,onClick:w,role:"tab"},r?"Edit Value":"Example Value")),e&&$.createElement("li",{className:Lo()("tabitem",{active:v===b.model}),role:"presentation"},$.createElement("button",{"aria-controls":g,"aria-selected":v===b.model,className:Lo()("tablinks",{inactive:r}),"data-name":"model",id:m,onClick:w,role:"tab"},y?"Schema":"Model"))),v===b.example&&$.createElement("div",{"aria-hidden":v!==b.example,"aria-labelledby":p,"data-name":"examplePanel",id:f,role:"tabpanel",tabIndex:"0"},t||$.createElement(d,null,"(no example available")),v===b.model&&$.createElement("div",{"aria-hidden":v===b.example,"aria-labelledby":m,"data-name":"modelPanel",id:g,role:"tabpanel",tabIndex:"0"},$.createElement(h,{schema:e,getComponent:o,getConfigs:a,specSelectors:l,expandDepth:u,specPath:n,includeReadOnly:s,includeWriteOnly:i})))}
class Wo extends $.Component{constructor(...e){super(...e),s(this,"onToggle",((e,t)=>{this.props.layoutActions&&this.props.layoutActions.show(this.props.fullPath,t)}))}render(){let{getComponent:e,getConfigs:t}=this.props
const r=e("Model")
let n
return this.props.layoutSelectors&&(n=this.props.layoutSelectors.isShown(this.props.fullPath)),$.createElement("div",{className:"model-box"},$.createElement(r,Js()({},this.props,{getConfigs:t,expanded:n,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||0})))}}function Ko(e){return Ko="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ko(e)}function Zo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jo(e,t){var r=Object.keys(e)
if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Go(e)}function Yo(e,t){return Yo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Yo(e,t)}var Xo={}
function Qo(e,t,r){return function(e){return null==e}(e)?r:function(e){return null!==e&&"object"===Ko(e)&&"function"==typeof e.get&&"function"==typeof e.has}(e)?e.has(t)?e.get(t):r:hasOwnProperty.call(e,t)?e[t]:r}function ea(e,t,r){for(var n=0;n!==t.length;)if((e=Qo(e,t[n++],Xo))===Xo)return r
return e}function ta(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=function(e,t){return function(r){if("string"==typeof r)return(0,G.is)(t[r],e[r])
if(Array.isArray(r))return(0,G.is)(ea(t,r),ea(e,r))
throw new TypeError("Invalid key: expected Array or string: "+r)}}(t,r),i=e||Object.keys(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{}
t%2?Jo(r,!0).forEach((function(t){Zo(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Jo(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{},t))
return i.every(n)}const ra=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return e}(e):t}(this,Go(t).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function")
e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yo(e,t)}(t,e),function(e,t){t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r]
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t)}(t,[{key:"shouldComponentUpdate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
return!ta(this.updateOnProps,this.props,e,"updateOnProps")||!ta(this.updateOnStates,this.state,t,"updateOnStates")}}]),t}($.Component)
var na,ia=l(5556),sa=l.n(ia)
function oa(){return oa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]
for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},oa.apply(this,arguments)}const aa=e=>$.createElement("svg",oa({xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"rolling-load_svg__lds-rolling",preserveAspectRatio:"xMidYMid",style:{backgroundImage:"none",backgroundPosition:"initial initial",backgroundRepeat:"initial initial"},viewBox:"0 0 100 100"},e),na||(na=$.createElement("circle",{cx:50,cy:50,r:35,fill:"none",stroke:"#555",strokeDasharray:"164.93361431346415 56.97787143782138",strokeWidth:10},$.createElement("animateTransform",{attributeName:"transform",begin:"0s",calcMode:"linear",dur:"1s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 50 50;360 50 50"})))),la=e=>{const t=e.replace(/~1/g,"/").replace(/~0/g,"~")
try{return decodeURIComponent(t)}catch{return t}}
class ca extends ra{constructor(...e){super(...e),s(this,"getModelName",(e=>-1!==e.indexOf("#/definitions/")?la(e.replace(/^.*#\/definitions\//,"")):-1!==e.indexOf("#/components/schemas/")?la(e.replace(/^.*#\/components\/schemas\//,"")):void 0)),s(this,"getRefSchema",(e=>{let{specSelectors:t}=this.props
return t.findDefinition(e)}))}render(){let{getComponent:e,getConfigs:t,specSelectors:r,schema:n,required:i,name:s,isRef:o,specPath:a,displayName:l,includeReadOnly:c,includeWriteOnly:u}=this.props
const h=e("ObjectModel"),d=e("ArrayModel"),p=e("PrimitiveModel")
let f="object",m=n&&n.get("$$ref"),g=n&&n.get("$ref")
if(!s&&m&&(s=this.getModelName(m)),g){const e=this.getModelName(g),t=this.getRefSchema(e)
G.Map.isMap(t)?(n=t.mergeDeep(n),m||(n=n.set("$$ref",g),m=g)):G.Map.isMap(n)&&1===n.size&&(n=null,s=g)}if(!n)return $.createElement("span",{className:"model model-title"},$.createElement("span",{className:"model-title__text"},l||s),!g&&$.createElement(aa,{height:"20px",width:"20px"}))
const y=r.isOAS3()&&n.get("deprecated")
switch(o=void 0!==o?o:!!m,f=n&&n.get("type")||f,f){case"object":return $.createElement(h,Js()({className:"object"},this.props,{specPath:a,getConfigs:t,schema:n,name:s,deprecated:y,isRef:o,includeReadOnly:c,includeWriteOnly:u}))
case"array":return $.createElement(d,Js()({className:"array"},this.props,{getConfigs:t,schema:n,name:s,deprecated:y,required:i,includeReadOnly:c,includeWriteOnly:u}))
default:return $.createElement(p,Js()({},this.props,{getComponent:e,getConfigs:t,schema:n,name:s,deprecated:y,required:i}))}}}s(ca,"propTypes",{schema:Ps().map.isRequired,getComponent:sa().func.isRequired,getConfigs:sa().func.isRequired,specSelectors:sa().object.isRequired,name:sa().string,displayName:sa().string,isRef:sa().bool,required:sa().bool,expandDepth:sa().number,depth:sa().number,specPath:Ps().list.isRequired,includeReadOnly:sa().bool,includeWriteOnly:sa().bool})
class ua extends $.Component{constructor(...e){super(...e),s(this,"getSchemaBasePath",(()=>this.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"])),s(this,"getCollapsedContent",(()=>" ")),s(this,"handleToggle",((e,t)=>{const{layoutActions:r}=this.props
r.show([...this.getSchemaBasePath(),e],t),t&&this.props.specActions.requestResolvedSubtree([...this.getSchemaBasePath(),e])})),s(this,"onLoadModels",(e=>{e&&this.props.layoutActions.readyToScroll(this.getSchemaBasePath(),e)})),s(this,"onLoadModel",(e=>{if(e){const t=e.getAttribute("data-name")
this.props.layoutActions.readyToScroll([...this.getSchemaBasePath(),t],e)}}))}render(){let{specSelectors:e,getComponent:t,layoutSelectors:r,layoutActions:n,getConfigs:i}=this.props,s=e.definitions(),{docExpansion:o,defaultModelsExpandDepth:a}=i()
if(!s.size||a<0)return null
const l=this.getSchemaBasePath()
let c=r.isShown(l,a>0&&"none"!==o)
const u=e.isOAS3(),h=t("ModelWrapper"),d=t("Collapse"),p=t("ModelCollapse"),f=t("JumpToPath",!0),m=t("ArrowUpIcon"),g=t("ArrowDownIcon")
return $.createElement("section",{className:c?"models is-open":"models",ref:this.onLoadModels},$.createElement("h4",null,$.createElement("button",{"aria-expanded":c,className:"models-control",onClick:()=>n.show(l,!c)},$.createElement("span",null,u?"Schemas":"Models"),c?$.createElement(m,null):$.createElement(g,null))),$.createElement(d,{isOpened:c},s.entrySeq().map((([s])=>{const o=[...l,s],c=Y().List(o),u=e.specResolvedSubtree(o),d=e.specJson().getIn(o),m=G.Map.isMap(u)?u:Y().Map(),g=G.Map.isMap(d)?d:Y().Map(),y=m.get("title")||g.get("title")||s,v=r.isShown(o,!1)
v&&0===m.size&&g.size>0&&this.props.specActions.requestResolvedSubtree(o)
const b=$.createElement(h,{name:s,expandDepth:a,schema:m||Y().Map(),displayName:y,fullPath:o,specPath:c,getComponent:t,specSelectors:e,getConfigs:i,layoutSelectors:r,layoutActions:n,includeReadOnly:!0,includeWriteOnly:!0}),w=$.createElement("span",{className:"model-box"},$.createElement("span",{className:"model model-title"},y))
return $.createElement("div",{id:`model-${s}`,className:"model-container",key:`models-section-${s}`,"data-name":s,ref:this.onLoadModel},$.createElement("span",{className:"models-jump-to-path"},$.createElement(f,{specPath:c})),$.createElement(p,{classes:"model-box",collapsedContent:this.getCollapsedContent(s),onToggle:this.handleToggle,title:w,displayName:y,modelName:s,specPath:c,layoutSelectors:r,layoutActions:n,hideSelfOnExpand:!0,expanded:a>0&&v},b))})).toArray()))}}const ha=({value:e,getComponent:t})=>{let r=t("ModelCollapse"),n=$.createElement("span",null,"Array [ ",e.count()," ]")
return $.createElement("span",{className:"prop-enum"},"Enum:",$.createElement("br",null),$.createElement(r,{collapsedContent:n},"[ ",e.map(String).join(", ")," ]"))}
class da extends $.Component{render(){let{schema:e,name:t,displayName:r,isRef:n,getComponent:i,getConfigs:s,depth:o,onToggle:a,expanded:l,specPath:c,...u}=this.props,{specSelectors:h,expandDepth:d,includeReadOnly:p,includeWriteOnly:f}=u
const{isOAS3:m}=h
if(!e)return null
const{showExtensions:g}=s()
let y=e.get("description"),v=e.get("properties"),b=e.get("additionalProperties"),w=e.get("title")||r||t,S=e.get("required"),k=e.filter(((e,t)=>-1!==["maxProperties","minProperties","nullable","example"].indexOf(t))),x=e.get("deprecated"),E=e.getIn(["externalDocs","url"]),N=e.getIn(["externalDocs","description"])
const _=i("JumpToPath",!0),C=i("Markdown",!0),A=i("Model"),O=i("ModelCollapse"),P=i("Property"),T=i("Link"),I=()=>$.createElement("span",{className:"model-jump-to-path"},$.createElement(_,{specPath:c})),j=$.createElement("span",null,$.createElement("span",null,"{"),"...",$.createElement("span",null,"}"),n?$.createElement(I,null):""),D=h.isOAS3()?e.get("allOf"):null,M=h.isOAS3()?e.get("anyOf"):null,B=h.isOAS3()?e.get("oneOf"):null,R=h.isOAS3()?e.get("not"):null,L=w&&$.createElement("span",{className:"model-title"},n&&e.get("$$ref")&&$.createElement("span",{className:"model-hint"},e.get("$$ref")),$.createElement("span",{className:"model-title__text"},w))
return $.createElement("span",{className:"model"},$.createElement(O,{modelName:t,title:L,onToggle:a,expanded:!!l||o<=d,collapsedContent:j},$.createElement("span",{className:"brace-open object"},"{"),n?$.createElement(I,null):null,$.createElement("span",{className:"inner-object"},$.createElement("table",{className:"model"},$.createElement("tbody",null,y?$.createElement("tr",{className:"description"},$.createElement("td",null,"description:"),$.createElement("td",null,$.createElement(C,{source:y}))):null,E&&$.createElement("tr",{className:"external-docs"},$.createElement("td",null,"externalDocs:"),$.createElement("td",null,$.createElement(T,{target:"_blank",href:nt(E)},N||E))),x?$.createElement("tr",{className:"property"},$.createElement("td",null,"deprecated:"),$.createElement("td",null,"true")):null,v&&v.size?v.entrySeq().filter((([,e])=>(!e.get("readOnly")||p)&&(!e.get("writeOnly")||f))).map((([e,r])=>{let n=m()&&r.get("deprecated"),a=G.List.isList(S)&&S.contains(e),l=["property-row"]
return n&&l.push("deprecated"),a&&l.push("required"),$.createElement("tr",{key:e,className:l.join(" ")},$.createElement("td",null,e,a&&$.createElement("span",{className:"star"},"*")),$.createElement("td",null,$.createElement(A,Js()({key:`object-${t}-${e}_${r}`},u,{required:a,getComponent:i,specPath:c.push("properties",e),getConfigs:s,schema:r,depth:o+1}))))})).toArray():null,g?$.createElement("tr",null,$.createElement("td",null," ")):null,g?e.entrySeq().map((([e,t])=>{if("x-"!==e.slice(0,2))return
const r=t?t.toJS?t.toJS():t:null
return $.createElement("tr",{key:e,className:"extension"},$.createElement("td",null,e),$.createElement("td",null,JSON.stringify(r)))})).toArray():null,b&&b.size?$.createElement("tr",null,$.createElement("td",null,"< * >:"),$.createElement("td",null,$.createElement(A,Js()({},u,{required:!1,getComponent:i,specPath:c.push("additionalProperties"),getConfigs:s,schema:b,depth:o+1})))):null,D?$.createElement("tr",null,$.createElement("td",null,"allOf ->"),$.createElement("td",null,D.map(((e,t)=>$.createElement("div",{key:t},$.createElement(A,Js()({},u,{required:!1,getComponent:i,specPath:c.push("allOf",t),getConfigs:s,schema:e,depth:o+1}))))))):null,M?$.createElement("tr",null,$.createElement("td",null,"anyOf ->"),$.createElement("td",null,M.map(((e,t)=>$.createElement("div",{key:t},$.createElement(A,Js()({},u,{required:!1,getComponent:i,specPath:c.push("anyOf",t),getConfigs:s,schema:e,depth:o+1}))))))):null,B?$.createElement("tr",null,$.createElement("td",null,"oneOf ->"),$.createElement("td",null,B.map(((e,t)=>$.createElement("div",{key:t},$.createElement(A,Js()({},u,{required:!1,getComponent:i,specPath:c.push("oneOf",t),getConfigs:s,schema:e,depth:o+1}))))))):null,R?$.createElement("tr",null,$.createElement("td",null,"not ->"),$.createElement("td",null,$.createElement("div",null,$.createElement(A,Js()({},u,{required:!1,getComponent:i,specPath:c.push("not"),getConfigs:s,schema:R,depth:o+1}))))):null))),$.createElement("span",{className:"brace-close"},"}")),k.size?k.entrySeq().map((([e,t])=>$.createElement(P,{key:`${e}-${t}`,propKey:e,propVal:t,propClass:"property"}))):null)}}class pa extends $.Component{render(){let{getComponent:e,getConfigs:t,schema:r,depth:n,expandDepth:i,name:s,displayName:o,specPath:a}=this.props,l=r.get("description"),c=r.get("items"),u=r.get("title")||o||s,h=r.filter(((e,t)=>-1===["type","items","description","$$ref","externalDocs"].indexOf(t))),d=r.getIn(["externalDocs","url"]),p=r.getIn(["externalDocs","description"])
const f=e("Markdown",!0),m=e("ModelCollapse"),g=e("Model"),y=e("Property"),v=e("Link"),b=u&&$.createElement("span",{className:"model-title"},$.createElement("span",{className:"model-title__text"},u))
return $.createElement("span",{className:"model"},$.createElement(m,{title:b,expanded:n<=i,collapsedContent:"[...]"},"[",h.size?h.entrySeq().map((([e,t])=>$.createElement(y,{key:`${e}-${t}`,propKey:e,propVal:t,propClass:"property"}))):null,l?$.createElement(f,{source:l}):h.size?$.createElement("div",{className:"markdown"}):null,d&&$.createElement("div",{className:"external-docs"},$.createElement(v,{target:"_blank",href:nt(d)},p||d)),$.createElement("span",null,$.createElement(g,Js()({},this.props,{getConfigs:t,specPath:a.push("items"),name:null,schema:c,required:!1,depth:n+1}))),"]"))}}const fa="property primitive"
class ma extends $.Component{render(){let{schema:e,getComponent:t,getConfigs:r,name:n,displayName:i,depth:s,expandDepth:o}=this.props
const{showExtensions:a}=r()
if(!e||!e.get)return $.createElement("div",null)
let l=e.get("type"),c=e.get("format"),u=e.get("xml"),h=e.get("enum"),d=e.get("title")||i||n,p=e.get("description"),f=at(e),m=e.filter(((e,t)=>-1===["enum","type","format","description","$$ref","externalDocs"].indexOf(t))).filterNot(((e,t)=>f.has(t))),g=e.getIn(["externalDocs","url"]),y=e.getIn(["externalDocs","description"])
const v=t("Markdown",!0),b=t("EnumModel"),w=t("Property"),S=t("ModelCollapse"),k=t("Link"),x=d&&$.createElement("span",{className:"model-title"},$.createElement("span",{className:"model-title__text"},d))
return $.createElement("span",{className:"model"},$.createElement(S,{title:x,expanded:s<=o,collapsedContent:"[...]"},$.createElement("span",{className:"prop"},n&&s>1&&$.createElement("span",{className:"prop-name"},d),$.createElement("span",{className:"prop-type"},l),c&&$.createElement("span",{className:"prop-format"},"($",c,")"),m.size?m.entrySeq().map((([e,t])=>$.createElement(w,{key:`${e}-${t}`,propKey:e,propVal:t,propClass:fa}))):null,a&&f.size?f.entrySeq().map((([e,t])=>$.createElement(w,{key:`${e}-${t}`,propKey:e,propVal:t,propClass:fa}))):null,p?$.createElement(v,{source:p}):null,g&&$.createElement("div",{className:"external-docs"},$.createElement(k,{target:"_blank",href:nt(g)},y||g)),u&&u.size?$.createElement("span",null,$.createElement("br",null),$.createElement("span",{className:fa},"xml:"),u.entrySeq().map((([e,t])=>$.createElement("span",{key:`${e}-${t}`,className:fa},$.createElement("br",null),"   ",e,": ",String(t)))).toArray()):null,h&&$.createElement(b,{value:h,getComponent:t}))))}}class ga extends $.Component{constructor(...e){super(...e),s(this,"onChange",(e=>{this.setScheme(e.target.value)})),s(this,"setScheme",(e=>{let{path:t,method:r,specActions:n}=this.props
n.setScheme(e,t,r)}))}UNSAFE_componentWillMount(){let{schemes:e}=this.props
this.setScheme(e.first())}UNSAFE_componentWillReceiveProps(e){this.props.currentScheme&&e.schemes.includes(this.props.currentScheme)||this.setScheme(e.schemes.first())}render(){let{schemes:e,currentScheme:t}=this.props
return $.createElement("label",{htmlFor:"schemes"},$.createElement("span",{className:"schemes-title"},"Schemes"),$.createElement("select",{onChange:this.onChange,value:t,id:"schemes"},e.valueSeq().map((e=>$.createElement("option",{value:e,key:e},e))).toArray()))}}class ya extends $.Component{render(){const{specActions:e,specSelectors:t,getComponent:r}=this.props,n=t.operationScheme(),i=t.schemes(),s=r("schemes")
return i&&i.size?$.createElement(s,{currentScheme:n,schemes:i,specActions:e}):null}}var va=l(24677),ba=l.n(va)
const wa={value:"",onChange:()=>{},schema:{},keyName:"",required:!1,errors:(0,G.List)()}
class Sa extends $.Component{componentDidMount(){const{dispatchInitialValue:e,value:t,onChange:r}=this.props
e?r(t):!1===e&&r("")}render(){let{schema:e,errors:t,value:r,onChange:n,getComponent:i,fn:s,disabled:o}=this.props
const a=e&&e.get?e.get("format"):null,l=e&&e.get?e.get("type"):null
let c=l?(e=>i(e,!1,{failSilently:!0}))(a?`JsonSchema_${l}_${a}`:`JsonSchema_${l}`):i("JsonSchema_string")
return c||(c=i("JsonSchema_string")),$.createElement(c,Js()({},this.props,{errors:t,fn:s,getComponent:i,value:r,onChange:n,schema:e,disabled:o}))}}s(Sa,"defaultProps",wa)
class ka extends $.Component{constructor(...e){super(...e),s(this,"onChange",(e=>{const t=this.props.schema&&"file"===this.props.schema.get("type")?e.target.files[0]:e.target.value
this.props.onChange(t,this.props.keyName)})),s(this,"onEnumChange",(e=>this.props.onChange(e)))}render(){let{getComponent:e,value:t,schema:r,errors:n,required:i,description:s,disabled:o}=this.props
const a=r&&r.get?r.get("enum"):null,l=r&&r.get?r.get("format"):null,c=r&&r.get?r.get("type"):null,u=r&&r.get?r.get("in"):null
if(t||(t=""),n=n.toJS?n.toJS():[],a){const r=e("Select")
return $.createElement(r,{className:n.length?"invalid":"",title:n.length?n:"",allowedValues:[...a],value:t,allowEmptyValue:!i,disabled:o,onChange:this.onEnumChange})}const h=o||u&&"formData"===u&&!("FormData"in window),d=e("Input")
return c&&"file"===c?$.createElement(d,{type:"file",className:n.length?"invalid":"",title:n.length?n:"",onChange:this.onChange,disabled:h}):$.createElement(ba(),{type:l&&"password"===l?"password":"text",className:n.length?"invalid":"",title:n.length?n:"",value:t,minLength:0,debounceTimeout:350,placeholder:s,onChange:this.onChange,disabled:h})}}s(ka,"defaultProps",wa)
class xa extends $.PureComponent{constructor(e,t){super(e,t),s(this,"onChange",(()=>{this.props.onChange(this.state.value)})),s(this,"onItemChange",((e,t)=>{this.setState((({value:r})=>({value:r.set(t,e)})),this.onChange)})),s(this,"removeItem",(e=>{this.setState((({value:t})=>({value:t.delete(e)})),this.onChange)})),s(this,"addItem",(()=>{const{fn:e}=this.props
let t=Oa(this.state.value)
this.setState((()=>({value:t.push(e.getSampleSchema(this.state.schema.get("items"),!1,{includeWriteOnly:!0}))})),this.onChange)})),s(this,"onEnumChange",(e=>{this.setState((()=>({value:e})),this.onChange)})),this.state={value:Oa(e.value),schema:e.schema}}UNSAFE_componentWillReceiveProps(e){const t=Oa(e.value)
t!==this.state.value&&this.setState({value:t}),e.schema!==this.state.schema&&this.setState({schema:e.schema})}render(){let{getComponent:e,required:t,schema:r,errors:n,fn:i,disabled:s}=this.props
n=n.toJS?n.toJS():Array.isArray(n)?n:[]
const o=n.filter((e=>"string"==typeof e)),a=n.filter((e=>void 0!==e.needRemove)).map((e=>e.error)),l=this.state.value,c=!!(l&&l.count&&l.count()>0),u=r.getIn(["items","enum"]),h=r.getIn(["items","type"]),d=r.getIn(["items","format"]),p=r.get("items")
let f,m=!1,g="file"===h||"string"===h&&"binary"===d
if(h&&d?f=e(`JsonSchema_${h}_${d}`):"boolean"!==h&&"array"!==h&&"object"!==h||(f=e(`JsonSchema_${h}`)),f||g||(m=!0),u){const r=e("Select")
return $.createElement(r,{className:n.length?"invalid":"",title:n.length?n:"",multiple:!0,value:l,disabled:s,allowedValues:u,allowEmptyValue:!t,onChange:this.onEnumChange})}const y=e("Button")
return $.createElement("div",{className:"json-schema-array"},c?l.map(((t,r)=>{const o=(0,G.fromJS)([...n.filter((e=>e.index===r)).map((e=>e.error))])
return $.createElement("div",{key:r,className:"json-schema-form-item"},g?$.createElement(Na,{value:t,onChange:e=>this.onItemChange(e,r),disabled:s,errors:o,getComponent:e}):m?$.createElement(Ea,{value:t,onChange:e=>this.onItemChange(e,r),disabled:s,errors:o}):$.createElement(f,Js()({},this.props,{value:t,onChange:e=>this.onItemChange(e,r),disabled:s,errors:o,schema:p,getComponent:e,fn:i})),s?null:$.createElement(y,{className:`btn btn-sm json-schema-form-item-remove ${a.length?"invalid":null}`,title:a.length?a:"",onClick:()=>this.removeItem(r)}," - "))})):null,s?null:$.createElement(y,{className:`btn btn-sm json-schema-form-item-add ${o.length?"invalid":null}`,title:o.length?o:"",onClick:this.addItem},"Add ",h?`${h} `:"","item"))}}s(xa,"defaultProps",wa)
class Ea extends $.Component{constructor(...e){super(...e),s(this,"onChange",(e=>{const t=e.target.value
this.props.onChange(t,this.props.keyName)}))}render(){let{value:e,errors:t,description:r,disabled:n}=this.props
return e||(e=""),t=t.toJS?t.toJS():[],$.createElement(ba(),{type:"text",className:t.length?"invalid":"",title:t.length?t:"",value:e,minLength:0,debounceTimeout:350,placeholder:r,onChange:this.onChange,disabled:n})}}s(Ea,"defaultProps",wa)
class Na extends $.Component{constructor(...e){super(...e),s(this,"onFileChange",(e=>{const t=e.target.files[0]
this.props.onChange(t,this.props.keyName)}))}render(){let{getComponent:e,errors:t,disabled:r}=this.props
const n=e("Input"),i=r||!("FormData"in window)
return $.createElement(n,{type:"file",className:t.length?"invalid":"",title:t.length?t:"",onChange:this.onFileChange,disabled:i})}}s(Na,"defaultProps",wa)
class _a extends $.Component{constructor(...e){super(...e),s(this,"onEnumChange",(e=>this.props.onChange(e)))}render(){let{getComponent:e,value:t,errors:r,schema:n,required:i,disabled:s}=this.props
r=r.toJS?r.toJS():[]
let o=n&&n.get?n.get("enum"):null,a=!o||!i,l=!o&&["true","false"]
const c=e("Select")
return $.createElement(c,{className:r.length?"invalid":"",title:r.length?r:"",value:String(t),disabled:s,allowedValues:o?[...o]:l,allowEmptyValue:a,onChange:this.onEnumChange})}}s(_a,"defaultProps",wa)
const Ca=e=>e.map((e=>{const t=void 0!==e.propKey?e.propKey:e.index
let r="string"==typeof e?e:"string"==typeof e.error?e.error:null
if(!t&&r)return r
let n=e.error,i=`/${e.propKey}`
for(;"object"==typeof n;){const e=void 0!==n.propKey?n.propKey:n.index
if(void 0===e)break
if(i+=`/${e}`,!n.error)break
n=n.error}return`${i}: ${n}`}))
class Aa extends $.PureComponent{constructor(){super(),s(this,"onChange",(e=>{this.props.onChange(e)})),s(this,"handleOnChange",(e=>{const t=e.target.value
this.onChange(t)}))}render(){let{getComponent:e,value:t,errors:r,disabled:n}=this.props
const i=e("TextArea")
return r=r.toJS?r.toJS():Array.isArray(r)?r:[],$.createElement("div",null,$.createElement(i,{className:Lo()({invalid:r.length}),title:r.length?Ca(r).join(", "):"",value:ut(t),disabled:n,onChange:this.handleOnChange}))}}function Oa(e){return G.List.isList(e)?e:Array.isArray(e)?(0,G.fromJS)(e):(0,G.List)()}s(Aa,"defaultProps",wa)
const Pa=()=>({components:{modelExample:qo,ModelWrapper:Wo,ModelCollapse:Ho,Model:ca,Models:ua,EnumModel:ha,ObjectModel:da,ArrayModel:pa,PrimitiveModel:ma,schemes:ga,SchemesContainer:ya,...N}})
var Ta=l(19123),Ia=l.n(Ta),ja=l(41859),Da=l.n(ja),Ma=l(62193),Ba=l.n(Ma)
const Ra=e=>t=>Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every(((e,r)=>e===t[r])),La=(...e)=>e
class za extends Map{delete(e){const t=Array.from(this.keys()).find(Ra(e))
return super.delete(t)}get(e){const t=Array.from(this.keys()).find(Ra(e))
return super.get(t)}has(e){return-1!==Array.from(this.keys()).findIndex(Ra(e))}}const Fa=(e,t=La)=>{const{Cache:r}=Se()
Se().Cache=za
const n=Se()(e,t)
return Se().Cache=r,n},Va={string:e=>e.pattern?(e=>{try{return new(Da())(e).gen()}catch(e){return"string"}})(e.pattern):"string",string_email:()=>"user@example.com","string_date-time":()=>(new Date).toISOString(),string_date:()=>(new Date).toISOString().substring(0,10),string_uuid:()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",string_hostname:()=>"example.com",string_ipv4:()=>"198.51.100.42",string_ipv6:()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",number:()=>0,number_float:()=>0,integer:()=>0,boolean:e=>"boolean"!=typeof e.default||e.default},$a=e=>{e=Ve(e)
let{type:t,format:r}=e,n=Va[`${t}_${r}`]||Va[t]
return We(n)?n(e):"Unknown Type: "+e.type},Ua=e=>ct(e,"$$ref",(e=>"string"==typeof e&&e.indexOf("#")>-1)),Ha=["maxProperties","minProperties"],qa=["minItems","maxItems"],Wa=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],Ka=["minLength","maxLength"],Za=(e,t,r={})=>{const n={...e}
if(["example","default","enum","xml","type",...Ha,...qa,...Wa,...Ka].forEach((e=>(e=>{void 0===n[e]&&void 0!==t[e]&&(n[e]=t[e])})(e))),void 0!==t.required&&Array.isArray(t.required)&&(void 0!==n.required&&n.required.length||(n.required=[]),t.required.forEach((e=>{n.required.includes(e)||n.required.push(e)}))),t.properties){n.properties||(n.properties={})
let e=Ve(t.properties)
for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&(e[i]&&e[i].deprecated||e[i]&&e[i].readOnly&&!r.includeReadOnly||e[i]&&e[i].writeOnly&&!r.includeWriteOnly||n.properties[i]||(n.properties[i]=e[i],!t.required&&Array.isArray(t.required)&&-1!==t.required.indexOf(i)&&(n.required?n.required.push(i):n.required=[i])))}return t.items&&(n.items||(n.items={}),n.items=Za(n.items,t.items,r)),n},Ja=(e,t={},r=void 0,n=!1)=>{e&&We(e.toJS)&&(e=e.toJS())
let i=void 0!==r||e&&void 0!==e.example||e&&void 0!==e.default
const s=!i&&e&&e.oneOf&&e.oneOf.length>0,o=!i&&e&&e.anyOf&&e.anyOf.length>0
if(!i&&(s||o)){const r=Ve(s?e.oneOf[0]:e.anyOf[0])
if(!(e=Za(e,r,t)).xml&&r.xml&&(e.xml=r.xml),void 0!==e.example&&void 0!==r.example)i=!0
else if(r.properties){e.properties||(e.properties={})
let n=Ve(r.properties)
for(let i in n)Object.prototype.hasOwnProperty.call(n,i)&&(n[i]&&n[i].deprecated||n[i]&&n[i].readOnly&&!t.includeReadOnly||n[i]&&n[i].writeOnly&&!t.includeWriteOnly||e.properties[i]||(e.properties[i]=n[i],!r.required&&Array.isArray(r.required)&&-1!==r.required.indexOf(i)&&(e.required?e.required.push(i):e.required=[i])))}}const a={}
let{xml:l,type:c,example:u,properties:h,additionalProperties:d,items:p}=e||{},{includeReadOnly:f,includeWriteOnly:m}=t
l=l||{}
let g,{name:y,prefix:v,namespace:b}=l,w={}
n&&(y=y||"notagname",g=(v?v+":":"")+y,b)&&(a[v?"xmlns:"+v:"xmlns"]=b),n&&(w[g]=[])
const S=t=>t.some((t=>Object.prototype.hasOwnProperty.call(e,t)))
e&&!c&&(h||d||S(Ha)?c="object":p||S(qa)?c="array":S(Wa)?(c="number",e.type="number"):i||e.enum||(c="string",e.type="string"))
const k=t=>{if(null!=e?.maxItems&&(t=t.slice(0,e?.maxItems)),null!=e?.minItems){let r=0
for(;t.length<e?.minItems;)t.push(t[r++%t.length])}return t},x=Ve(h)
let E,N=0
const _=()=>e&&null!==e.maxProperties&&void 0!==e.maxProperties&&N>=e.maxProperties,C=t=>!e||null===e.maxProperties||void 0===e.maxProperties||!_()&&(!(t=>!(e&&e.required&&e.required.length&&e.required.includes(t)))(t)||e.maxProperties-N-(()=>{if(!e||!e.required)return 0
let t=0
return n?e.required.forEach((e=>t+=void 0===w[e]?0:1)):e.required.forEach((e=>t+=void 0===w[g]?.find((t=>void 0!==t[e]))?0:1)),e.required.length-t})()>0)
if(E=n?(r,i=void 0)=>{if(e&&x[r]){if(x[r].xml=x[r].xml||{},x[r].xml.attribute){const e=Array.isArray(x[r].enum)?x[r].enum[0]:void 0,t=x[r].example,n=x[r].default
return void(a[x[r].xml.name||r]=void 0!==t?t:void 0!==n?n:void 0!==e?e:$a(x[r]))}x[r].xml.name=x[r].xml.name||r}else x[r]||!1===d||(x[r]={xml:{name:r}})
let s=Ja(e&&x[r]||void 0,t,i,n)
C(r)&&(N++,Array.isArray(s)?w[g]=w[g].concat(s):w[g].push(s))}:(r,i)=>{if(C(r)){if(Object.prototype.hasOwnProperty.call(e,"discriminator")&&e.discriminator&&Object.prototype.hasOwnProperty.call(e.discriminator,"mapping")&&e.discriminator.mapping&&Object.prototype.hasOwnProperty.call(e,"$$ref")&&e.$$ref&&e.discriminator.propertyName===r){for(let t in e.discriminator.mapping)if(-1!==e.$$ref.search(e.discriminator.mapping[t])){w[r]=t
break}}else w[r]=Ja(x[r],t,i,n)
N++}},i){let i
if(i=Ua(void 0!==r?r:void 0!==u?u:e.default),!n){if("number"==typeof i&&"string"===c)return`${i}`
if("string"!=typeof i||"string"===c)return i
try{return JSON.parse(i)}catch(e){return i}}if(e||(c=Array.isArray(i)?"array":typeof i),"array"===c){if(!Array.isArray(i)){if("string"==typeof i)return i
i=[i]}const r=e?e.items:void 0
r&&(r.xml=r.xml||l||{},r.xml.name=r.xml.name||l.name)
let s=i.map((e=>Ja(r,t,e,n)))
return s=k(s),l.wrapped?(w[g]=s,Ba()(a)||w[g].push({_attr:a})):w=s,w}if("object"===c){if("string"==typeof i)return i
for(let t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e&&x[t]&&x[t].readOnly&&!f||e&&x[t]&&x[t].writeOnly&&!m||(e&&x[t]&&x[t].xml&&x[t].xml.attribute?a[x[t].xml.name||t]=i[t]:E(t,i[t])))
return Ba()(a)||w[g].push({_attr:a}),w}return w[g]=Ba()(a)?i:[{_attr:a},i],w}if("object"===c){for(let e in x)Object.prototype.hasOwnProperty.call(x,e)&&(x[e]&&x[e].deprecated||x[e]&&x[e].readOnly&&!f||x[e]&&x[e].writeOnly&&!m||E(e))
if(n&&a&&w[g].push({_attr:a}),_())return w
if(!0===d)n?w[g].push({additionalProp:"Anything can be here"}):w.additionalProp1={},N++
else if(d){const r=Ve(d),i=Ja(r,t,void 0,n)
if(n&&r.xml&&r.xml.name&&"notagname"!==r.xml.name)w[g].push(i)
else{const t=null!==e.minProperties&&void 0!==e.minProperties&&N<e.minProperties?e.minProperties-N:3
for(let e=1;e<=t;e++){if(_())return w
if(n){const t={}
t["additionalProp"+e]=i.notagname,w[g].push(t)}else w["additionalProp"+e]=i
N++}}}return w}if("array"===c){if(!p)return
let r
if(n&&(p.xml=p.xml||e?.xml||{},p.xml.name=p.xml.name||l.name),Array.isArray(p.anyOf))r=p.anyOf.map((e=>Ja(Za(e,p,t),t,void 0,n)))
else if(Array.isArray(p.oneOf))r=p.oneOf.map((e=>Ja(Za(e,p,t),t,void 0,n)))
else{if(!(!n||n&&l.wrapped))return Ja(p,t,void 0,n)
r=[Ja(p,t,void 0,n)]}return r=k(r),n&&l.wrapped?(w[g]=r,Ba()(a)||w[g].push({_attr:a}),w):r}let A
if(e&&Array.isArray(e.enum))A=Ue(e.enum)[0]
else{if(!e)return
if(A=$a(e),"number"==typeof A){let t=e.minimum
null!=t&&(e.exclusiveMinimum&&t++,A=t)
let r=e.maximum
null!=r&&(e.exclusiveMaximum&&r--,A=r)}if("string"==typeof A&&(null!==e.maxLength&&void 0!==e.maxLength&&(A=A.slice(0,e.maxLength)),null!==e.minLength&&void 0!==e.minLength)){let t=0
for(;A.length<e.minLength;)A+=A[t++%A.length]}}if("file"!==c)return n?(w[g]=Ba()(a)?A:[{_attr:a},A],w):A},Ga=e=>(e.schema&&(e=e.schema),e.properties&&(e.type="object"),e),Ya=(e,t,r)=>{const n=Ja(e,t,r,!0)
if(n)return"string"==typeof n?n:Ia()(n,{declaration:!0,indent:"\t"})},Xa=(e,t,r)=>Ja(e,t,r,!1),Qa=(e,t,r)=>[e,JSON.stringify(t),JSON.stringify(r)],el=Fa(Ya,Qa),tl=Fa(Xa,Qa),rl=[{when:/json/,shouldStringifyTypes:["string"]}],nl=["object"],il=({getSystem:e})=>{const t=(e=>(t,r,n,i)=>{const{fn:s}=e(),o=s.memoizedSampleFromSchema(t,r,i),a=typeof o,l=rl.reduce(((e,t)=>t.when.test(n)?[...e,...t.shouldStringifyTypes]:e),nl)
return Ne()(l,(e=>e===a))?JSON.stringify(o,null,2):o})(e),r=(e=>(t,r,n,i)=>{const{fn:s}=e(),o=s.getJsonSampleSchema(t,r,n,i)
let a
try{a=ds.dump(ds.load(o),{lineWidth:-1},{schema:is}),"\n"===a[a.length-1]&&(a=a.slice(0,a.length-1))}catch(e){return console.error(e),"error: could not generate yaml example"}return a.replace(/\t/g,"  ")})(e),n=(e=>(t,r,n)=>{const{fn:i}=e()
if(t&&!t.xml&&(t.xml={}),t&&!t.xml.name){if(!t.$$ref&&(t.type||t.items||t.properties||t.additionalProperties))return'<?xml version="1.0" encoding="UTF-8"?>\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e'
if(t.$$ref){let e=t.$$ref.match(/\S*\/(\S+)$/)
t.xml.name=e[1]}}return i.memoizedCreateXMLExample(t,r,n)})(e),i=(e=>(t,r="",n={},i=void 0)=>{const{fn:s}=e()
return"function"==typeof t?.toJS&&(t=t.toJS()),"function"==typeof i?.toJS&&(i=i.toJS()),/xml/.test(r)?s.getXmlSampleSchema(t,n,i):/(yaml|yml)/.test(r)?s.getYamlSampleSchema(t,n,r,i):s.getJsonSampleSchema(t,n,r,i)})(e)
return{fn:{jsonSchema5:{inferSchema:Ga,sampleFromSchema:Xa,sampleFromSchemaGeneric:Ja,createXMLExample:Ya,memoizedSampleFromSchema:tl,memoizedCreateXMLExample:el,getJsonSampleSchema:t,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:i,mergeJsonSchema:Za},inferSchema:Ga,sampleFromSchema:Xa,sampleFromSchemaGeneric:Ja,createXMLExample:Ya,memoizedSampleFromSchema:tl,memoizedCreateXMLExample:el,getJsonSampleSchema:t,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:i,mergeJsonSchema:Za}}}
var sl=l(37334),ol=l.n(sl)
const al=["get","put","post","delete","options","head","patch","trace"],ll=e=>e||(0,G.Map)(),cl=er(ll,(e=>e.get("lastError"))),ul=er(ll,(e=>e.get("url"))),hl=er(ll,(e=>e.get("spec")||"")),dl=er(ll,(e=>e.get("specSource")||"not-editor")),pl=er(ll,(e=>e.get("json",(0,G.Map)()))),fl=er(pl,(e=>e.toJS())),ml=er(ll,(e=>e.get("resolved",(0,G.Map)()))),gl=(e,t)=>e.getIn(["resolvedSubtrees",...t],void 0),yl=(e,t)=>G.Map.isMap(e)&&G.Map.isMap(t)?t.get("$$ref")?t:(0,G.OrderedMap)().mergeWith(yl,e,t):t,vl=er(ll,(e=>(0,G.OrderedMap)().mergeWith(yl,e.get("json"),e.get("resolvedSubtrees")))),bl=e=>pl(e),wl=er(bl,(()=>!1)),Sl=er(bl,(e=>fc(e&&e.get("info")))),kl=er(bl,(e=>fc(e&&e.get("externalDocs")))),xl=er(Sl,(e=>e&&e.get("version"))),El=er(xl,(e=>/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(e).slice(1))),Nl=er(vl,(e=>e.get("paths"))),_l=ol()(["get","put","post","delete","options","head","patch"]),Cl=er(Nl,(e=>{if(!e||e.size<1)return(0,G.List)()
let t=(0,G.List)()
return e&&e.forEach?(e.forEach(((e,r)=>{if(!e||!e.forEach)return{}
e.forEach(((e,n)=>{al.indexOf(n)<0||(t=t.push((0,G.fromJS)({path:r,method:n,operation:e,id:`${n}-${r}`})))}))})),t):(0,G.List)()})),Al=er(bl,(e=>(0,G.Set)(e.get("consumes")))),Ol=er(bl,(e=>(0,G.Set)(e.get("produces")))),Pl=er(bl,(e=>e.get("security",(0,G.List)()))),Tl=er(bl,(e=>e.get("securityDefinitions"))),Il=(e,t)=>{const r=e.getIn(["resolvedSubtrees","definitions",t],null),n=e.getIn(["json","definitions",t],null)
return r||n||null},jl=er(bl,(e=>{const t=e.get("definitions")
return G.Map.isMap(t)?t:(0,G.Map)()})),Dl=er(bl,(e=>e.get("basePath"))),Ml=er(bl,(e=>e.get("host"))),Bl=er(bl,(e=>e.get("schemes",(0,G.Map)()))),Rl=er([Cl,Al,Ol],((e,t,r)=>e.map((e=>e.update("operation",(e=>{if(e){if(!G.Map.isMap(e))return
return e.withMutations((e=>(e.get("consumes")||e.update("consumes",(e=>(0,G.Set)(e).merge(t))),e.get("produces")||e.update("produces",(e=>(0,G.Set)(e).merge(r))),e)))}return(0,G.Map)()})))))),Ll=er(bl,(e=>{const t=e.get("tags",(0,G.List)())
return G.List.isList(t)?t.filter((e=>G.Map.isMap(e))):(0,G.List)()})),zl=(e,t)=>(Ll(e)||(0,G.List)()).filter(G.Map.isMap).find((e=>e.get("name")===t),(0,G.Map)()),Fl=er(Rl,Ll,((e,t)=>e.reduce(((e,t)=>{let r=(0,G.Set)(t.getIn(["operation","tags"]))
return r.count()<1?e.update("default",(0,G.List)(),(e=>e.push(t))):r.reduce(((e,r)=>e.update(r,(0,G.List)(),(e=>e.push(t)))),e)}),t.reduce(((e,t)=>e.set(t.get("name"),(0,G.List)())),(0,G.OrderedMap)())))),Vl=e=>({getConfigs:t})=>{let{tagsSorter:r,operationsSorter:n}=t()
return Fl(e).sortBy(((e,t)=>t),((e,t)=>{let n="function"==typeof r?r:et.tagsSorter[r]
return n?n(e,t):null})).map(((t,r)=>{let i="function"==typeof n?n:et.operationsSorter[n],s=i?t.sort(i):t
return(0,G.Map)({tagDetails:zl(e,r),operations:s})}))},$l=er(ll,(e=>e.get("responses",(0,G.Map)()))),Ul=er(ll,(e=>e.get("requests",(0,G.Map)()))),Hl=er(ll,(e=>e.get("mutatedRequests",(0,G.Map)()))),ql=(e,t,r)=>$l(e).getIn([t,r],null),Wl=(e,t,r)=>Ul(e).getIn([t,r],null),Kl=(e,t,r)=>Hl(e).getIn([t,r],null),Zl=()=>!0,Jl=(e,t,r)=>{const n=vl(e).getIn(["paths",...t,"parameters"],(0,G.OrderedMap)()),i=e.getIn(["meta","paths",...t,"parameters"],(0,G.OrderedMap)())
return n.map((e=>{const t=i.get(`${r.get("in")}.${r.get("name")}`),n=i.get(`${r.get("in")}.${r.get("name")}.hash-${r.hashCode()}`)
return(0,G.OrderedMap)().merge(e,t,n)})).find((e=>e.get("in")===r.get("in")&&e.get("name")===r.get("name")),(0,G.OrderedMap)())},Gl=(e,t,r,n)=>{const i=`${n}.${r}`
return e.getIn(["meta","paths",...t,"parameter_inclusions",i],!1)},Yl=(e,t,r,n)=>{const i=vl(e).getIn(["paths",...t,"parameters"],(0,G.OrderedMap)()).find((e=>e.get("in")===n&&e.get("name")===r),(0,G.OrderedMap)())
return Jl(e,t,i)},Xl=(e,t,r)=>{const n=vl(e).getIn(["paths",t,r],(0,G.OrderedMap)()),i=e.getIn(["meta","paths",t,r],(0,G.OrderedMap)()),s=n.get("parameters",(0,G.List)()).map((n=>Jl(e,[t,r],n)))
return(0,G.OrderedMap)().merge(n,i).set("parameters",s)}
function Ql(e,t,r,n){return t=t||[],e.getIn(["meta","paths",...t,"parameters"],(0,G.fromJS)([])).find((e=>G.Map.isMap(e)&&e.get("name")===r&&e.get("in")===n))||(0,G.Map)()}const ec=er(bl,(e=>{const t=e.get("host")
return"string"==typeof t&&t.length>0&&"/"!==t[0]}))
function tc(e,t,r){return t=t||[],Xl(e,...t).get("parameters",(0,G.List)()).reduce(((e,t)=>{let n=r&&"body"===t.get("in")?t.get("value_xml"):t.get("value")
return G.List.isList(n)&&(n=n.filter((e=>""!==e))),e.set(ht(t,{allowHashes:!1}),n)}),(0,G.fromJS)({}))}function rc(e,t=""){if(G.List.isList(e))return e.some((e=>G.Map.isMap(e)&&e.get("in")===t))}function nc(e,t=""){if(G.List.isList(e))return e.some((e=>G.Map.isMap(e)&&e.get("type")===t))}function ic(e,t){t=t||[]
let r=vl(e).getIn(["paths",...t],(0,G.fromJS)({})),n=e.getIn(["meta","paths",...t],(0,G.fromJS)({})),i=sc(e,t)
const s=r.get("parameters")||new G.List,o=n.get("consumes_value")?n.get("consumes_value"):nc(s,"file")?"multipart/form-data":nc(s,"formData")?"application/x-www-form-urlencoded":void 0
return(0,G.fromJS)({requestContentType:o,responseContentType:i})}function sc(e,t){t=t||[]
const r=vl(e).getIn(["paths",...t],null)
if(null===r)return
const n=e.getIn(["meta","paths",...t,"produces_value"],null),i=r.getIn(["produces",0],null)
return n||i||"application/json"}function oc(e,t){t=t||[]
const r=vl(e),n=r.getIn(["paths",...t],null)
if(null===n)return
const[i]=t,s=n.get("produces",null),o=r.getIn(["paths",i,"produces"],null),a=r.getIn(["produces"],null)
return s||o||a}function ac(e,t){t=t||[]
const r=vl(e),n=r.getIn(["paths",...t],null)
if(null===n)return
const[i]=t,s=n.get("consumes",null),o=r.getIn(["paths",i,"consumes"],null),a=r.getIn(["consumes"],null)
return s||o||a}const lc=(e,t,r)=>{let n=e.get("url").match(/^([a-z][a-z0-9+\-.]*):/),i=Array.isArray(n)?n[1]:null
return e.getIn(["scheme",t,r])||e.getIn(["scheme","_defaultScheme"])||i||""},cc=(e,t,r)=>["http","https"].indexOf(lc(e,t,r))>-1,uc=(e,t)=>{t=t||[]
const r=e.getIn(["meta","paths",...t,"parameters"],(0,G.fromJS)([])),n=[]
if(0===r.length)return n
const i=(e,t=[])=>{const r=(e,t)=>{const r=[...t,e.get("propKey")||e.get("index")]
return G.Map.isMap(e.get("error"))?i(e.get("error"),r):{error:e.get("error"),path:r}}
return G.List.isList(e)?e.map((e=>G.Map.isMap(e)?r(e,t):{error:e,path:t})):r(e,t)}
return r.forEach(((e,t)=>{const r=t.split(".").slice(1,-1).join("."),s=e.get("errors")
s&&s.count()&&i(s).forEach((({error:e,path:t})=>{n.push(((e,t,r)=>`For '${r}'${(t=t.reduce(((e,t)=>"number"==typeof t?`${e}[${t}]`:e?`${e}.${t}`:t),""))?` at path '${t}'`:""}: ${e}.`)(e,t,r))}))})),n},hc=(e,t)=>0===uc(e,t).length,dc=(e,t)=>{let r={requestBody:!1,requestContentType:{}},n=e.getIn(["resolvedSubtrees","paths",...t,"requestBody"],(0,G.fromJS)([]))
return n.size<1||(n.getIn(["required"])&&(r.requestBody=n.getIn(["required"])),n.getIn(["content"]).entrySeq().forEach((e=>{const t=e[0]
if(e[1].getIn(["schema","required"])){const n=e[1].getIn(["schema","required"]).toJS()
r.requestContentType[t]=n}}))),r},pc=(e,t,r,n)=>{if((r||n)&&r===n)return!0
let i=e.getIn(["resolvedSubtrees","paths",...t,"requestBody","content"],(0,G.fromJS)([]))
if(i.size<2||!r||!n)return!1
let s=i.getIn([r,"schema","properties"],(0,G.fromJS)([])),o=i.getIn([n,"schema","properties"],(0,G.fromJS)([]))
return!!s.equals(o)}
function fc(e){return G.Map.isMap(e)?e:new G.Map}var mc=l(85015),gc=l.n(mc),yc=l(38221),vc=l.n(yc),bc=l(63560),wc=l.n(bc),Sc=l(56367),kc=l.n(Sc)
const xc="spec_update_spec",Ec="spec_update_url",Nc="spec_update_json",_c="spec_update_param",Cc="spec_update_empty_param_inclusion",Ac="spec_validate_param",Oc="spec_set_response",Pc="spec_set_request",Tc="spec_set_mutated_request",Ic="spec_log_request",jc="spec_clear_response",Dc="spec_clear_request",Mc="spec_clear_validate_param",Bc="spec_update_operation_meta_value",Rc="spec_update_resolved",Lc="spec_update_resolved_subtree",zc="set_scheme",Fc=e=>gc()(e)?e:""
function Vc(e){const t=Fc(e).replace(/\t/g,"  ")
if("string"==typeof e)return{type:xc,payload:t}}function $c(e){return{type:Rc,payload:e}}function Uc(e){return{type:Ec,payload:e}}function Hc(e){return{type:Nc,payload:e}}const qc=e=>({specActions:t,specSelectors:r,errActions:n})=>{let{specStr:i}=r,s=null
try{e=e||i(),n.clear({source:"parser"}),s=ds.load(e,{schema:is})}catch(e){return console.error(e),n.newSpecErr({source:"parser",level:"error",message:e.reason,line:e.mark&&e.mark.line?e.mark.line+1:void 0})}return s&&"object"==typeof s?t.updateJsonSpec(s):{}}
let Wc=!1
const Kc=(e,t)=>({specActions:r,specSelectors:n,errActions:i,fn:{fetch:s,resolve:o,AST:a={}},getConfigs:l})=>{Wc||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),Wc=!0)
const{modelPropertyMacro:c,parameterMacro:u,requestInterceptor:h,responseInterceptor:d}=l()
void 0===e&&(e=n.specJson()),void 0===t&&(t=n.url())
let p=a.getLineNumberForPath?a.getLineNumberForPath:()=>{},f=n.specStr()
return o({fetch:s,spec:e,baseDoc:String(new URL(t,document.baseURI)),modelPropertyMacro:c,parameterMacro:u,requestInterceptor:h,responseInterceptor:d}).then((({spec:e,errors:t})=>{if(i.clear({type:"thrown"}),Array.isArray(t)&&t.length>0){let e=t.map((e=>(console.error(e),e.line=e.fullPath?p(f,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",Object.defineProperty(e,"message",{enumerable:!0,value:e.message}),e)))
i.newThrownErrBatch(e)}return r.updateResolved(e)}))}
let Zc=[]
const Jc=vc()((()=>{const e=Zc.reduce(((e,{path:t,system:r})=>(e.has(r)||e.set(r,[]),e.get(r).push(t),e)),new Map)
Zc=[],e.forEach((async(e,t)=>{if(!t)return void console.error("debResolveSubtrees: don't have a system to operate on, aborting.")
if(!t.fn.resolveSubtree)return void console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing.")
const{errActions:r,errSelectors:n,fn:{resolveSubtree:i,fetch:s,AST:o={}},specSelectors:a,specActions:l}=t,c=o.getLineNumberForPath??ol()(void 0),u=a.specStr(),{modelPropertyMacro:h,parameterMacro:d,requestInterceptor:p,responseInterceptor:f}=t.getConfigs()
try{const t=await e.reduce((async(e,t)=>{let{resultMap:o,specWithCurrentSubtrees:l}=await e
const{errors:m,spec:g}=await i(l,t,{baseDoc:String(new URL(a.url(),document.baseURI)),modelPropertyMacro:h,parameterMacro:d,requestInterceptor:p,responseInterceptor:f})
if(n.allErrors().size&&r.clearBy((e=>"thrown"!==e.get("type")||"resolver"!==e.get("source")||!e.get("fullPath").every(((e,r)=>e===t[r]||void 0===t[r])))),Array.isArray(m)&&m.length>0){let e=m.map((e=>(e.line=e.fullPath?c(u,e.fullPath):null,e.path=e.fullPath?e.fullPath.join("."):null,e.level="error",e.type="thrown",e.source="resolver",Object.defineProperty(e,"message",{enumerable:!0,value:e.message}),e)))
r.newThrownErrBatch(e)}return g&&a.isOAS3()&&"components"===t[0]&&"securitySchemes"===t[1]&&await Promise.all(Object.values(g).filter((e=>"openIdConnect"===e.type)).map((async e=>{const t={url:e.openIdConnectUrl,requestInterceptor:p,responseInterceptor:f}
try{const r=await s(t)
r instanceof Error||r.status>=400?console.error(r.statusText+" "+t.url):e.openIdConnectData=JSON.parse(r.text)}catch(e){console.error(e)}}))),wc()(o,t,g),l=kc()(t,g,l),{resultMap:o,specWithCurrentSubtrees:l}}),Promise.resolve({resultMap:(a.specResolvedSubtree([])||(0,G.Map)()).toJS(),specWithCurrentSubtrees:a.specJS()}))
l.updateResolvedSubtree([],t.resultMap)}catch(e){console.error(e)}}))}),35),Gc=e=>t=>{Zc.find((({path:r,system:n})=>n===t&&r.toString()===e.toString()))||(Zc.push({path:e,system:t}),Jc())}
function Yc(e,t,r,n,i){return{type:_c,payload:{path:e,value:n,paramName:t,paramIn:r,isXml:i}}}function Xc(e,t,r,n){return{type:_c,payload:{path:e,param:t,value:r,isXml:n}}}const Qc=(e,t)=>({type:Lc,payload:{path:e,value:t}}),eu=()=>({type:Lc,payload:{path:[],value:(0,G.Map)()}}),tu=(e,t)=>({type:Ac,payload:{pathMethod:e,isOAS3:t}}),ru=(e,t,r,n)=>({type:Cc,payload:{pathMethod:e,paramName:t,paramIn:r,includeEmptyValue:n}})
function nu(e){return{type:Mc,payload:{pathMethod:e}}}function iu(e,t){return{type:Bc,payload:{path:e,value:t,key:"consumes_value"}}}function su(e,t){return{type:Bc,payload:{path:e,value:t,key:"produces_value"}}}const ou=(e,t,r)=>({payload:{path:e,method:t,res:r},type:Oc}),au=(e,t,r)=>({payload:{path:e,method:t,req:r},type:Pc}),lu=(e,t,r)=>({payload:{path:e,method:t,req:r},type:Tc}),cu=e=>({payload:e,type:Ic}),uu=e=>({fn:t,specActions:r,specSelectors:n,getConfigs:i,oas3Selectors:s})=>{let{pathName:o,method:a,operation:l}=e,{requestInterceptor:c,responseInterceptor:u}=i(),h=l.toJS()
if(l&&l.get("parameters")&&l.get("parameters").filter((e=>e&&!0===e.get("allowEmptyValue"))).forEach((t=>{if(n.parameterInclusionSettingFor([o,a],t.get("name"),t.get("in"))){e.parameters=e.parameters||{}
const r=dt(t,e.parameters);(!r||r&&0===r.size)&&(e.parameters[t.get("name")]="")}})),e.contextUrl=kt()(n.url()).toString(),h&&h.operationId?e.operationId=h.operationId:h&&o&&a&&(e.operationId=t.opId(h,o,a)),n.isOAS3()){const t=`${o}:${a}`
e.server=s.selectedServer(t)||s.selectedServer()
const r=s.serverVariables({server:e.server,namespace:t}).toJS(),n=s.serverVariables({server:e.server}).toJS()
e.serverVariables=Object.keys(r).length?r:n,e.requestContentType=s.requestContentType(o,a),e.responseContentType=s.responseContentType(o,a)||"*/*"
const i=s.requestBodyValue(o,a),l=s.requestBodyInclusionSetting(o,a)
i&&i.toJS?e.requestBody=i.map((e=>G.Map.isMap(e)?e.get("value"):e)).filter(((e,t)=>(Array.isArray(e)?0!==e.length:!ft(e))||l.get(t))).toJS():e.requestBody=i}let d=Object.assign({},e)
d=t.buildRequest(d),r.setRequest(e.pathName,e.method,d),e.requestInterceptor=async t=>{let n=await c.apply(void 0,[t]),i=Object.assign({},n)
return r.setMutatedRequest(e.pathName,e.method,i),n},e.responseInterceptor=u
const p=Date.now()
return t.execute(e).then((t=>{t.duration=Date.now()-p,r.setResponse(e.pathName,e.method,t)})).catch((t=>{"Failed to fetch"===t.message&&(t.name="",t.message='**Failed to fetch.**  \n**Possible Reasons:** \n  - CORS \n  - Network Failure \n  - URL scheme must be "http" or "https" for CORS request.'),r.setResponse(e.pathName,e.method,{error:!0,err:t})}))},hu=({path:e,method:t,...r}={})=>n=>{let{fn:{fetch:i},specSelectors:s,specActions:o}=n,a=s.specJsonWithResolvedSubtrees().toJS(),l=s.operationScheme(e,t),{requestContentType:c,responseContentType:u}=s.contentTypeValues([e,t]).toJS(),h=/xml/i.test(c),d=s.parameterValues([e,t],h).toJS()
return o.executeRequest({...r,fetch:i,spec:a,pathName:e,method:t,parameters:d,requestContentType:c,scheme:l,responseContentType:u})}
function du(e,t){return{type:jc,payload:{path:e,method:t}}}function pu(e,t){return{type:Dc,payload:{path:e,method:t}}}function fu(e,t,r){return{type:zc,payload:{scheme:e,path:t,method:r}}}const mu={[xc]:(e,t)=>"string"==typeof t.payload?e.set("spec",t.payload):e,[Ec]:(e,t)=>e.set("url",t.payload+""),[Nc]:(e,t)=>e.set("json",$e(t.payload)),[Rc]:(e,t)=>e.setIn(["resolved"],$e(t.payload)),[Lc]:(e,t)=>{const{value:r,path:n}=t.payload
return e.setIn(["resolvedSubtrees",...n],$e(r))},[_c]:(e,{payload:t})=>{let{path:r,paramName:n,paramIn:i,param:s,value:o,isXml:a}=t,l=s?ht(s):`${i}.${n}`
const c=a?"value_xml":"value"
return e.setIn(["meta","paths",...r,"parameters",l,c],(0,G.fromJS)(o))},[Cc]:(e,{payload:t})=>{let{pathMethod:r,paramName:n,paramIn:i,includeEmptyValue:s}=t
if(!n||!i)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),e
const o=`${i}.${n}`
return e.setIn(["meta","paths",...r,"parameter_inclusions",o],s)},[Ac]:(e,{payload:{pathMethod:t,isOAS3:r}})=>{const n=vl(e).getIn(["paths",...t]),i=tc(e,t).toJS()
return e.updateIn(["meta","paths",...t,"parameters"],(0,G.fromJS)({}),(s=>n.get("parameters",(0,G.List)()).reduce(((n,s)=>{const o=dt(s,i),a=Gl(e,t,s.get("name"),s.get("in")),l=((e,t,{isOAS3:r=!1,bypassRequiredCheck:n=!1}={})=>{let i=e.get("required"),{schema:s,parameterContentMediaType:o}=Re(e,{isOAS3:r})
return Xe(t,s,i,n,o)})(s,o,{bypassRequiredCheck:a,isOAS3:r})
return n.setIn([ht(s),"errors"],(0,G.fromJS)(l))}),s)))},[Mc]:(e,{payload:{pathMethod:t}})=>e.updateIn(["meta","paths",...t,"parameters"],(0,G.fromJS)([]),(e=>e.map((e=>e.set("errors",(0,G.fromJS)([])))))),[Oc]:(e,{payload:{res:t,path:r,method:n}})=>{let i
i=t.error?Object.assign({error:!0,name:t.err.name,message:t.err.message,statusCode:t.err.statusCode},t.err.response):t,i.headers=i.headers||{}
let s=e.setIn(["responses",r,n],$e(i))
return ve.Blob&&i.data instanceof ve.Blob&&(s=s.setIn(["responses",r,n,"text"],i.data)),s},[Pc]:(e,{payload:{req:t,path:r,method:n}})=>e.setIn(["requests",r,n],$e(t)),[Tc]:(e,{payload:{req:t,path:r,method:n}})=>e.setIn(["mutatedRequests",r,n],$e(t)),[Bc]:(e,{payload:{path:t,value:r,key:n}})=>{let i=["paths",...t],s=["meta","paths",...t]
return e.getIn(["json",...i])||e.getIn(["resolved",...i])||e.getIn(["resolvedSubtrees",...i])?e.setIn([...s,n],(0,G.fromJS)(r)):e},[jc]:(e,{payload:{path:t,method:r}})=>e.deleteIn(["responses",t,r]),[Dc]:(e,{payload:{path:t,method:r}})=>e.deleteIn(["requests",t,r]),[zc]:(e,{payload:{scheme:t,path:r,method:n}})=>r&&n?e.setIn(["scheme",r,n],t):r||n?void 0:e.setIn(["scheme","_defaultScheme"],t)},gu=(e,{specActions:t})=>(...r)=>{e(...r),t.parseToJson(...r)},yu=(e,{specActions:t})=>(...r)=>{e(...r),t.invalidateResolvedSubtreeCache()
const[n]=r,i=Ls()(n,["paths"])||{}
Object.keys(i).forEach((e=>{Ls()(i,[e]).$ref&&t.requestResolvedSubtree(["paths",e])})),t.requestResolvedSubtree(["components","securitySchemes"])},vu=(e,{specActions:t})=>r=>(t.logRequest(r),e(r)),bu=(e,{specSelectors:t})=>r=>e(r,t.isOAS3()),wu=()=>({statePlugins:{spec:{wrapActions:{...A},reducers:{...mu},actions:{...C},selectors:{..._}}}})
var Su=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)}
return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ku=Object.prototype.hasOwnProperty
function xu(e,t){return ku.call(e,t)}function Eu(e){if(Array.isArray(e)){for(var t=new Array(e.length),r=0;r<t.length;r++)t[r]=""+r
return t}if(Object.keys)return Object.keys(e)
var n=[]
for(var i in e)xu(e,i)&&n.push(i)
return n}function Nu(e){switch(typeof e){case"object":return JSON.parse(JSON.stringify(e))
case"undefined":return null
default:return e}}function _u(e){for(var t,r=0,n=e.length;r<n;){if(!((t=e.charCodeAt(r))>=48&&t<=57))return!1
r++}return!0}function Cu(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function Au(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function Ou(e){if(void 0===e)return!0
if(e)if(Array.isArray(e)){for(var t=0,r=e.length;t<r;t++)if(Ou(e[t]))return!0}else if("object"==typeof e)for(var n=Eu(e),i=n.length,s=0;s<i;s++)if(Ou(e[n[s]]))return!0
return!1}function Pu(e,t){var r=[e]
for(var n in t){var i="object"==typeof t[n]?JSON.stringify(t[n],null,2):t[n]
void 0!==i&&r.push(n+": "+i)}return r.join("\n")}var Tu=function(e){function t(t,r,n,i,s){var o=this.constructor,a=e.call(this,Pu(t,{name:r,index:n,operation:i,tree:s}))||this
return a.name=r,a.index=n,a.operation=i,a.tree=s,Object.setPrototypeOf(a,o.prototype),a.message=Pu(t,{name:r,index:n,operation:i,tree:s}),a}return Su(t,e),t}(Error),Iu=Tu,ju=Nu,Du={add:function(e,t,r){return e[t]=this.value,{newDocument:r}},remove:function(e,t,r){var n=e[t]
return delete e[t],{newDocument:r,removed:n}},replace:function(e,t,r){var n=e[t]
return e[t]=this.value,{newDocument:r,removed:n}},move:function(e,t,r){var n=Bu(r,this.path)
n&&(n=Nu(n))
var i=Ru(r,{op:"remove",path:this.from}).removed
return Ru(r,{op:"add",path:this.path,value:i}),{newDocument:r,removed:n}},copy:function(e,t,r){var n=Bu(r,this.from)
return Ru(r,{op:"add",path:this.path,value:Nu(n)}),{newDocument:r}},test:function(e,t,r){return{newDocument:r,test:$u(e[t],this.value)}},_get:function(e,t,r){return this.value=e[t],{newDocument:r}}},Mu={add:function(e,t,r){return _u(t)?e.splice(t,0,this.value):e[t]=this.value,{newDocument:r,index:t}},remove:function(e,t,r){return{newDocument:r,removed:e.splice(t,1)[0]}},replace:function(e,t,r){var n=e[t]
return e[t]=this.value,{newDocument:r,removed:n}},move:Du.move,copy:Du.copy,test:Du.test,_get:Du._get}
function Bu(e,t){if(""==t)return e
var r={op:"_get",path:t}
return Ru(e,r),r.value}function Ru(e,t,r,n,i,s){if(void 0===r&&(r=!1),void 0===n&&(n=!0),void 0===i&&(i=!0),void 0===s&&(s=0),r&&("function"==typeof r?r(t,0,e,t.path):Fu(t,0)),""===t.path){var o={newDocument:e}
if("add"===t.op)return o.newDocument=t.value,o
if("replace"===t.op)return o.newDocument=t.value,o.removed=e,o
if("move"===t.op||"copy"===t.op)return o.newDocument=Bu(e,t.from),"move"===t.op&&(o.removed=e),o
if("test"===t.op){if(o.test=$u(e,t.value),!1===o.test)throw new Iu("Test operation failed","TEST_OPERATION_FAILED",s,t,e)
return o.newDocument=e,o}if("remove"===t.op)return o.removed=e,o.newDocument=null,o
if("_get"===t.op)return t.value=e,o
if(r)throw new Iu("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",s,t,e)
return o}n||(e=Nu(e))
var a=(t.path||"").split("/"),l=e,c=1,u=a.length,h=void 0,d=void 0,p=void 0
for(p="function"==typeof r?r:Fu;;){if((d=a[c])&&-1!=d.indexOf("~")&&(d=Au(d)),i&&("__proto__"==d||"prototype"==d&&c>0&&"constructor"==a[c-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README")
if(r&&void 0===h&&(void 0===l[d]?h=a.slice(0,c).join("/"):c==u-1&&(h=t.path),void 0!==h&&p(t,0,e,h)),c++,Array.isArray(l)){if("-"===d)d=l.length
else{if(r&&!_u(d))throw new Iu("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",s,t,e)
_u(d)&&(d=~~d)}if(c>=u){if(r&&"add"===t.op&&d>l.length)throw new Iu("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",s,t,e)
if(!1===(o=Mu[t.op].call(t,l,d,e)).test)throw new Iu("Test operation failed","TEST_OPERATION_FAILED",s,t,e)
return o}}else if(c>=u){if(!1===(o=Du[t.op].call(t,l,d,e)).test)throw new Iu("Test operation failed","TEST_OPERATION_FAILED",s,t,e)
return o}if(l=l[d],r&&c<u&&(!l||"object"!=typeof l))throw new Iu("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",s,t,e)}}function Lu(e,t,r,n,i){if(void 0===n&&(n=!0),void 0===i&&(i=!0),r&&!Array.isArray(t))throw new Iu("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY")
n||(e=Nu(e))
for(var s=new Array(t.length),o=0,a=t.length;o<a;o++)s[o]=Ru(e,t[o],r,!0,i,o),e=s[o].newDocument
return s.newDocument=e,s}function zu(e,t,r){var n=Ru(e,t)
if(!1===n.test)throw new Iu("Test operation failed","TEST_OPERATION_FAILED",r,t,e)
return n.newDocument}function Fu(e,t,r,n){if("object"!=typeof e||null===e||Array.isArray(e))throw new Iu("Operation is not an object","OPERATION_NOT_AN_OBJECT",t,e,r)
if(!Du[e.op])throw new Iu("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",t,e,r)
if("string"!=typeof e.path)throw new Iu("Operation `path` property is not a string","OPERATION_PATH_INVALID",t,e,r)
if(0!==e.path.indexOf("/")&&e.path.length>0)throw new Iu('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,r)
if(("move"===e.op||"copy"===e.op)&&"string"!=typeof e.from)throw new Iu("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,r)
if(("add"===e.op||"replace"===e.op||"test"===e.op)&&void 0===e.value)throw new Iu("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,r)
if(("add"===e.op||"replace"===e.op||"test"===e.op)&&Ou(e.value))throw new Iu("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,r)
if(r)if("add"==e.op){var i=e.path.split("/").length,s=n.split("/").length
if(i!==s+1&&i!==s)throw new Iu("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,r)}else if("replace"===e.op||"remove"===e.op||"_get"===e.op){if(e.path!==n)throw new Iu("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,r)}else if("move"===e.op||"copy"===e.op){var o=Vu([{op:"_get",path:e.from,value:void 0}],r)
if(o&&"OPERATION_PATH_UNRESOLVABLE"===o.name)throw new Iu("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,r)}}function Vu(e,t,r){try{if(!Array.isArray(e))throw new Iu("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY")
if(t)Lu(Nu(t),Nu(e),r||!0)
else{r=r||Fu
for(var n=0;n<e.length;n++)r(e[n],n,t,void 0)}}catch(e){if(e instanceof Iu)return e
throw e}}function $u(e,t){if(e===t)return!0
if(e&&t&&"object"==typeof e&&"object"==typeof t){var r,n,i,s=Array.isArray(e),o=Array.isArray(t)
if(s&&o){if((n=e.length)!=t.length)return!1
for(r=n;0!=r--;)if(!$u(e[r],t[r]))return!1
return!0}if(s!=o)return!1
var a=Object.keys(e)
if((n=a.length)!==Object.keys(t).length)return!1
for(r=n;0!=r--;)if(!t.hasOwnProperty(a[r]))return!1
for(r=n;0!=r--;)if(!$u(e[i=a[r]],t[i]))return!1
return!0}return e!=e&&t!=t}var Uu=new WeakMap,Hu=function(e){this.observers=new Map,this.obj=e},qu=function(e,t){this.callback=e,this.observer=t}
function Wu(e,t){t.unobserve()}function Ku(e,t){var r,n=function(e){return Uu.get(e)}(e)
if(n){var i=function(e,t){return e.observers.get(t)}(n,t)
r=i&&i.observer}else n=new Hu(e),Uu.set(e,n)
if(r)return r
if(r={},n.value=Nu(e),t){r.callback=t,r.next=null
var s=function(){Zu(r)},o=function(){clearTimeout(r.next),r.next=setTimeout(s)}
"undefined"!=typeof window&&(window.addEventListener("mouseup",o),window.addEventListener("keyup",o),window.addEventListener("mousedown",o),window.addEventListener("keydown",o),window.addEventListener("change",o))}return r.patches=[],r.object=e,r.unobserve=function(){Zu(r),clearTimeout(r.next),function(e,t){e.observers.delete(t.callback)}(n,r),"undefined"!=typeof window&&(window.removeEventListener("mouseup",o),window.removeEventListener("keyup",o),window.removeEventListener("mousedown",o),window.removeEventListener("keydown",o),window.removeEventListener("change",o))},n.observers.set(t,new qu(t,r)),r}function Zu(e,t){void 0===t&&(t=!1)
var r=Uu.get(e.object)
Ju(r.value,e.object,e.patches,"",t),e.patches.length&&Lu(r.value,e.patches)
var n=e.patches
return n.length>0&&(e.patches=[],e.callback&&e.callback(n)),n}function Ju(e,t,r,n,i){if(t!==e){"function"==typeof t.toJSON&&(t=t.toJSON())
for(var s=Eu(t),o=Eu(e),a=!1,l=o.length-1;l>=0;l--){var c=e[h=o[l]]
if(!xu(t,h)||void 0===t[h]&&void 0!==c&&!1===Array.isArray(t))Array.isArray(e)===Array.isArray(t)?(i&&r.push({op:"test",path:n+"/"+Cu(h),value:Nu(c)}),r.push({op:"remove",path:n+"/"+Cu(h)}),a=!0):(i&&r.push({op:"test",path:n,value:e}),r.push({op:"replace",path:n,value:t}))
else{var u=t[h]
"object"==typeof c&&null!=c&&"object"==typeof u&&null!=u&&Array.isArray(c)===Array.isArray(u)?Ju(c,u,r,n+"/"+Cu(h),i):c!==u&&(i&&r.push({op:"test",path:n+"/"+Cu(h),value:Nu(c)}),r.push({op:"replace",path:n+"/"+Cu(h),value:Nu(u)}))}}if(a||s.length!=o.length)for(l=0;l<s.length;l++){var h
xu(e,h=s[l])||void 0===t[h]||r.push({op:"add",path:n+"/"+Cu(h),value:Nu(t[h])})}}}function Gu(e,t,r){void 0===r&&(r=!1)
var n=[]
return Ju(e,t,n,"",r),n}Object.assign({},O,P,{JsonPatchError:Tu,deepClone:Nu,escapePathComponent:Cu,unescapePathComponent:Au})
var Yu=l(14744),Xu=l.n(Yu)
const Qu={add:function(e,t){return{op:"add",path:e,value:t}},replace:th,remove:function(e){return{op:"remove",path:e}},merge:function(e,t){return{type:"mutation",op:"merge",path:e,value:t}},mergeDeep:function(e,t){return{type:"mutation",op:"mergeDeep",path:e,value:t}},context:function(e,t){return{type:"context",path:e,value:t}},getIn:function(e,t){return t.reduce(((e,t)=>void 0!==t&&e?e[t]:e),e)},applyPatch:function(e,t,r){if(r=r||{},"merge"===(t={...t,path:t.path&&eh(t.path)}).op){const r=fh(e,t.path)
Object.assign(r,t.value),Lu(e,[th(t.path,r)])}else if("mergeDeep"===t.op){const r=fh(e,t.path),n=Xu()(r,t.value)
e=Lu(e,[th(t.path,n)]).newDocument}else if("add"===t.op&&""===t.path&&lh(t.value))Lu(e,Object.keys(t.value).reduce(((e,r)=>(e.push({op:"add",path:`/${eh(r)}`,value:t.value[r]}),e)),[]))
else if("replace"===t.op&&""===t.path){let{value:n}=t
r.allowMetaPatches&&t.meta&&dh(t)&&(Array.isArray(t.value)||lh(t.value))&&(n={...n,...t.meta}),e=n}else if(Lu(e,[t]),r.allowMetaPatches&&t.meta&&dh(t)&&(Array.isArray(t.value)||lh(t.value))){const r={...fh(e,t.path),...t.meta}
Lu(e,[th(t.path,r)])}return e},parentPathMatch:function(e,t){if(!Array.isArray(t))return!1
for(let r=0,n=t.length;r<n;r+=1)if(t[r]!==e[r])return!1
return!0},flatten:oh,fullyNormalizeArray:function(e){return ah(oh(sh(e)))},normalizeArray:sh,isPromise:function(e){return lh(e)&&ch(e.then)},forEachNew:function(e,t){try{return rh(e,ih,t)}catch(e){return e}},forEachNewPrimitive:function(e,t){try{return rh(e,nh,t)}catch(e){return e}},isJsonPatch:uh,isContextPatch:function(e){return ph(e)&&"context"===e.type},isPatch:ph,isMutation:hh,isAdditiveMutation:dh,isGenerator:function(e){return"[object GeneratorFunction]"===Object.prototype.toString.call(e)},isFunction:ch,isObject:lh,isError:function(e){return e instanceof Error}}
function eh(e){return Array.isArray(e)?e.length<1?"":`/${e.map((e=>(e+"").replace(/~/g,"~0").replace(/\//g,"~1"))).join("/")}`:e}function th(e,t,r){return{op:"replace",path:e,value:t,meta:r}}function rh(e,t,r){return ah(oh(e.filter(dh).map((e=>t(e.value,r,e.path)))||[]))}function nh(e,t,r){return r=r||[],Array.isArray(e)?e.map(((e,n)=>nh(e,t,r.concat(n)))):lh(e)?Object.keys(e).map((n=>nh(e[n],t,r.concat(n)))):t(e,r[r.length-1],r)}function ih(e,t,r){let n=[]
if((r=r||[]).length>0){const i=t(e,r[r.length-1],r)
i&&(n=n.concat(i))}if(Array.isArray(e)){const i=e.map(((e,n)=>ih(e,t,r.concat(n))))
i&&(n=n.concat(i))}else if(lh(e)){const i=Object.keys(e).map((n=>ih(e[n],t,r.concat(n))))
i&&(n=n.concat(i))}return n=oh(n),n}function sh(e){return Array.isArray(e)?e:[e]}function oh(e){return[].concat(...e.map((e=>Array.isArray(e)?oh(e):e)))}function ah(e){return e.filter((e=>void 0!==e))}function lh(e){return e&&"object"==typeof e}function ch(e){return e&&"function"==typeof e}function uh(e){if(ph(e)){const{op:t}=e
return"add"===t||"remove"===t||"replace"===t}return!1}function hh(e){return uh(e)||ph(e)&&"mutation"===e.type}function dh(e){return hh(e)&&("add"===e.op||"replace"===e.op||"merge"===e.op||"mergeDeep"===e.op)}function ph(e){return e&&"object"==typeof e}function fh(e,t){try{return Bu(e,t)}catch(e){return console.error(e),{}}}var mh=l(48675)
const gh=class extends mh{constructor(e,t,r){if(super(e,t,r),this.name=this.constructor.name,"string"==typeof t&&(this.message=t),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).stack,null!=r&&"object"==typeof r&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:e}=r
this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}}
class yh extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(gh,e)}constructor(e,t){if(super(e,t),this.name=this.constructor.name,"string"==typeof e&&(this.message=e),"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,null!=t&&"object"==typeof t&&Object.hasOwn(t,"cause")&&!("cause"in this)){const{cause:e}=t
this.cause=e,e instanceof Error&&"stack"in e&&(this.stack=`${this.stack}\nCAUSE: ${e.stack}`)}}}const vh=yh,bh=class extends vh{constructor(e,t){if(super(e,t),null!=t&&"object"==typeof t){const{cause:e,...r}=t
Object.assign(this,r)}}}
var wh=l(65606)
const Sh={"@@functional/placeholder":!0}
function kh(e){return e===Sh}function xh(e){return function t(r){return 0===arguments.length||kh(r)?t:e.apply(this,arguments)}}function Eh(e){return function t(r,n){switch(arguments.length){case 0:return t
case 1:return kh(r)?t:xh((function(t){return e(r,t)}))
default:return kh(r)&&kh(n)?t:kh(r)?xh((function(t){return e(t,n)})):kh(n)?xh((function(t){return e(r,t)})):e(r,n)}}}function Nh(e){return function t(r,n,i){switch(arguments.length){case 0:return t
case 1:return kh(r)?t:Eh((function(t,n){return e(r,t,n)}))
case 2:return kh(r)&&kh(n)?t:kh(r)?Eh((function(t,r){return e(t,n,r)})):kh(n)?Eh((function(t,n){return e(r,t,n)})):xh((function(t){return e(r,n,t)}))
default:return kh(r)&&kh(n)&&kh(i)?t:kh(r)&&kh(n)?Eh((function(t,r){return e(t,r,i)})):kh(r)&&kh(i)?Eh((function(t,r){return e(t,n,r)})):kh(n)&&kh(i)?Eh((function(t,n){return e(r,t,n)})):kh(r)?xh((function(t){return e(t,n,i)})):kh(n)?xh((function(t){return e(r,t,i)})):kh(i)?xh((function(t){return e(r,n,t)})):e(r,n,i)}}}const _h=Number.isInteger||function(e){return(0|e)===e}
function Ch(e){return"[object String]"===Object.prototype.toString.call(e)}function Ah(e,t){var r=e<0?t.length+e:e
return Ch(t)?t.charAt(r):t[r]}function Oh(e,t){for(var r=t,n=0;n<e.length;n+=1){if(null==r)return
var i=e[n]
r=_h(i)?Ah(i,r):r[i]}return r}const Ph=Nh((function(e,t,r){return e(Oh(t,r))}))
function Th(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}function Ih(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value)
return r}function jh(e,t,r){for(var n=0,i=r.length;n<i;){if(e(t,r[n]))return!0
n+=1}return!1}function Dh(e,t){return Object.prototype.hasOwnProperty.call(t,e)}const Mh="function"==typeof Object.is?Object.is:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}
var Bh=Object.prototype.toString
const Rh=function(){return"[object Arguments]"===Bh.call(arguments)?function(e){return"[object Arguments]"===Bh.call(e)}:function(e){return Dh("callee",e)}}()
var Lh=!{toString:null}.propertyIsEnumerable("toString"),zh=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Fh=function(){return arguments.propertyIsEnumerable("length")}(),Vh=function(e,t){for(var r=0;r<e.length;){if(e[r]===t)return!0
r+=1}return!1},$h="function"!=typeof Object.keys||Fh?xh((function(e){if(Object(e)!==e)return[]
var t,r,n=[],i=Fh&&Rh(e)
for(t in e)!Dh(t,e)||i&&"length"===t||(n[n.length]=t)
if(Lh)for(r=zh.length-1;r>=0;)Dh(t=zh[r],e)&&!Vh(n,t)&&(n[n.length]=t),r-=1
return n})):xh((function(e){return Object(e)!==e?[]:Object.keys(e)}))
const Uh=$h,Hh=xh((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}))
function qh(e,t,r,n){var i=Ih(e)
function s(e,t){return Wh(e,t,r.slice(),n.slice())}return!jh((function(e,t){return!jh(s,t,e)}),Ih(t),i)}function Wh(e,t,r,n){if(Mh(e,t))return!0
var i=Hh(e)
if(i!==Hh(t))return!1
if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)
if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e)
switch(i){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===function(e){var t=String(e).match(/^function (\w*)/)
return null==t?"":t[1]}(e.constructor))return e===t
break
case"Boolean":case"Number":case"String":if(typeof e!=typeof t||!Mh(e.valueOf(),t.valueOf()))return!1
break
case"Date":if(!Mh(e.valueOf(),t.valueOf()))return!1
break
case"Error":return e.name===t.name&&e.message===t.message
case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var s=r.length-1;s>=0;){if(r[s]===e)return n[s]===t
s-=1}switch(i){case"Map":return e.size===t.size&&qh(e.entries(),t.entries(),r.concat([e]),n.concat([t]))
case"Set":return e.size===t.size&&qh(e.values(),t.values(),r.concat([e]),n.concat([t]))
case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break
default:return!1}var o=Uh(e)
if(o.length!==Uh(t).length)return!1
var a=r.concat([e]),l=n.concat([t])
for(s=o.length-1;s>=0;){var c=o[s]
if(!Dh(c,t)||!Wh(t[c],e[c],a,l))return!1
s-=1}return!0}const Kh=Eh((function(e,t){return Wh(e,t,[],[])}))
function Zh(e,t){return function(e,t,r){var n,i
if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(n=1/t;r<e.length;){if(0===(i=e[r])&&1/i===n)return r
r+=1}return-1}if(t!=t){for(;r<e.length;){if("number"==typeof(i=e[r])&&i!=i)return r
r+=1}return-1}return e.indexOf(t,r)
case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r)
case"object":if(null===t)return e.indexOf(t,r)}for(;r<e.length;){if(Kh(e[r],t))return r
r+=1}return-1}(t,e,0)>=0}function Jh(e,t){for(var r=0,n=t.length,i=Array(n);r<n;)i[r]=e(t[r]),r+=1
return i}function Gh(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var Yh=function(e){return(e<10?"0":"")+e}
const Xh="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Yh(e.getUTCMonth()+1)+"-"+Yh(e.getUTCDate())+"T"+Yh(e.getUTCHours())+":"+Yh(e.getUTCMinutes())+":"+Yh(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"}
function Qh(e){return function(){return!e.apply(this,arguments)}}function ed(e,t,r){for(var n=0,i=r.length;n<i;)t=e(t,r[n]),n+=1
return t}const td=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}
function rd(e,t,r){return function(){if(0===arguments.length)return r()
var n=arguments[arguments.length-1]
if(!td(n)){for(var i=0;i<e.length;){if("function"==typeof n[e[i]])return n[e[i]].apply(n,Array.prototype.slice.call(arguments,0,-1))
i+=1}if(function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}(n))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function nd(e){return"[object Object]"===Object.prototype.toString.call(e)}const id=function(){return this.xf["@@transducer/init"]()},sd=function(e){return this.xf["@@transducer/result"](e)}
var od=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=id,e.prototype["@@transducer/result"]=sd,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}(),ad=Eh(rd(["fantasy-land/filter","filter"],(function(e){return function(t){return new od(e,t)}}),(function(e,t){return nd(t)?ed((function(r,n){return e(t[n])&&(r[n]=t[n]),r}),{},Uh(t)):function(e,t){for(var r=0,n=t.length,i=[];r<n;)e(t[r])&&(i[i.length]=t[r]),r+=1
return i}(e,t)})))
const ld=ad,cd=Eh((function(e,t){return ld(Qh(e),t)}))
function ud(e,t){var r=function(r){var n=t.concat([e])
return Zh(r,n)?"<Circular>":ud(r,n)},n=function(e,t){return Jh((function(t){return Gh(t)+": "+r(e[t])}),t.slice().sort())}
switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Jh(r,e).join(", ")+"))"
case"[object Array]":return"["+Jh(r,e).concat(n(e,cd((function(e){return/^\d+$/.test(e)}),Uh(e)))).join(", ")+"]"
case"[object Boolean]":return"object"==typeof e?"new Boolean("+r(e.valueOf())+")":e.toString()
case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):Gh(Xh(e)))+")"
case"[object Map]":return"new Map("+r(Array.from(e))+")"
case"[object Null]":return"null"
case"[object Number]":return"object"==typeof e?"new Number("+r(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10)
case"[object Set]":return"new Set("+r(Array.from(e).sort())+")"
case"[object String]":return"object"==typeof e?"new String("+r(e.valueOf())+")":Gh(e)
case"[object Undefined]":return"undefined"
default:if("function"==typeof e.toString){var i=e.toString()
if("[object Object]"!==i)return i}return"{"+n(e,Uh(e)).join(", ")+"}"}}const hd=xh((function(e){return ud(e,[])}))
var dd=Eh((function(e,t){if(!function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+hd(e))
return Th(e).test(t)}))
const pd=dd
function fd(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)}
case 1:return function(e){return t.apply(this,arguments)}
case 2:return function(e,r){return t.apply(this,arguments)}
case 3:return function(e,r,n){return t.apply(this,arguments)}
case 4:return function(e,r,n,i){return t.apply(this,arguments)}
case 5:return function(e,r,n,i,s){return t.apply(this,arguments)}
case 6:return function(e,r,n,i,s,o){return t.apply(this,arguments)}
case 7:return function(e,r,n,i,s,o,a){return t.apply(this,arguments)}
case 8:return function(e,r,n,i,s,o,a,l){return t.apply(this,arguments)}
case 9:return function(e,r,n,i,s,o,a,l,c){return t.apply(this,arguments)}
case 10:return function(e,r,n,i,s,o,a,l,c,u){return t.apply(this,arguments)}
default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function md(e,t){return function(){return t.call(this,e.apply(this,arguments))}}const gd=xh((function(e){return!!td(e)||!!e&&"object"==typeof e&&!Ch(e)&&(0===e.length||e.length>0&&e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1))}))
var yd="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator"
function vd(e,t,r){return function(n,i,s){if(gd(s))return e(n,i,s)
if(null==s)return i
if("function"==typeof s["fantasy-land/reduce"])return t(n,i,s,"fantasy-land/reduce")
if(null!=s[yd])return r(n,i,s[yd]())
if("function"==typeof s.next)return r(n,i,s)
if("function"==typeof s.reduce)return t(n,i,s,"reduce")
throw new TypeError("reduce: list must be array or iterable")}}var bd=Eh((function(e,t){return fd(e.length,(function(){return e.apply(t,arguments)}))}))
const wd=bd,Sd=vd((function(e,t,r){for(var n=0,i=r.length;n<i;){if((t=e["@@transducer/step"](t,r[n]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"]
break}n+=1}return e["@@transducer/result"](t)}),(function(e,t,r,n){return e["@@transducer/result"](r[n](wd(e["@@transducer/step"],e),t))}),(function(e,t,r){for(var n=r.next();!n.done;){if((t=e["@@transducer/step"](t,n.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"]
break}n=r.next()}return e["@@transducer/result"](t)}))
var kd=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}()
function xd(e){return new kd(e)}var Ed=Nh((function(e,t,r){return Sd("function"==typeof e?xd(e):e,t,r)}))
const Nd=Ed
function _d(e,t){return function(){var r=arguments.length
if(0===r)return t()
var n=arguments[r-1]
return td(n)||"function"!=typeof n[e]?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}var Cd=Nh(_d("slice",(function(e,t,r){return Array.prototype.slice.call(r,e,t)})))
const Ad=Cd,Od=xh(_d("tail",Ad(1,1/0)))
function Pd(){if(0===arguments.length)throw new Error("pipe requires at least one argument")
return fd(arguments[0].length,Nd(md,arguments[0],Od(arguments)))}const Td=Eh((function(e,t){return null==t||t!=t?e:t})),Id=Eh((function(e,t){if(null!=t)return _h(e)?Ah(e,t):t[e]})),jd=Nh((function(e,t,r){return Td(e,Id(t,r))}))
var Dd=xh((function(e){return Ah(-1,e)}))
const Md=Dd
function Bd(e,t,r){return function(){for(var n=[],i=0,s=e,o=0,a=!1;o<t.length||i<arguments.length;){var l
o<t.length&&(!kh(t[o])||i>=arguments.length)?l=t[o]:(l=arguments[i],i+=1),n[o]=l,kh(l)?a=!0:s-=1,o+=1}return!a&&s<=0?r.apply(this,n):fd(Math.max(0,s),Bd(e,n,r))}}var Rd=Eh((function(e,t){return 1===e?xh(t):fd(e,Bd(e,[],t))}))
const Ld=Rd
var zd=xh((function(e){return Ld(e.length,e)}))
const Fd=zd
function Vd(e){var t=Object.prototype.toString.call(e)
return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t}const $d=Eh((function(e,t){return Ld(e+1,(function(){var r=arguments[e]
if(null!=r&&Vd(r[t]))return r[t].apply(r,Array.prototype.slice.call(arguments,0,e))
throw new TypeError(hd(r)+' does not have a method named "'+t+'"')}))})),Ud=$d(1,"split")
var Hd=function(){function e(e,t){this.f=e,this.retained=[],this.xf=t}return e.prototype["@@transducer/init"]=id,e.prototype["@@transducer/result"]=function(e){return this.retained=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.retain(e,t):this.flush(e,t)},e.prototype.flush=function(e,t){return e=Sd(this.xf,e,this.retained),this.retained=[],this.xf["@@transducer/step"](e,t)},e.prototype.retain=function(e,t){return this.retained.push(t),e},e}()
const qd=Eh(rd([],(function(e){return function(t){return new Hd(e,t)}}),(function(e,t){for(var r=t.length-1;r>=0&&e(t[r]);)r-=1
return Ad(0,r+1,t)}))),Wd=$d(1,"join")
var Kd=xh((function(e){return Ld(e.length,(function(t,r){var n=Array.prototype.slice.call(arguments,0)
return n[0]=r,n[1]=t,e.apply(this,n)}))}))
const Zd=Kd(Eh(Zh)),Jd=Fd((function(e,t){return Pd(Ud(""),qd(Zd(e)),Wd(""))(t)})),Gd=vd(ed,(function(e,t,r,n){return r[n](e,t)}),(function(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next()
return t}))
var Yd=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=id,e.prototype["@@transducer/result"]=sd,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),Xd=Eh(rd(["fantasy-land/map","map"],(function(e){return function(t){return new Yd(e,t)}}),(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return Ld(t.length,(function(){return e.call(this,t.apply(this,arguments))}))
case"[object Object]":return ed((function(r,n){return r[n]=e(t[n]),r}),{},Uh(t))
default:return Jh(e,t)}})))
const Qd=Xd,ep=Eh((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(r){return e(r)(t(r))}:Gd((function(e,r){return function(e,t){var r
t=t||[]
var n=(e=e||[]).length,i=t.length,s=[]
for(r=0;r<n;)s[s.length]=e[r],r+=1
for(r=0;r<i;)s[s.length]=t[r],r+=1
return s}(e,Qd(r,t))}),[],e)}))
var tp=Eh((function(e,t){var r=Ld(e,t)
return Ld(e,(function(){return ed(ep,Qd(r,arguments[0]),Array.prototype.slice.call(arguments,1))}))}))
const rp=tp
var np=xh((function(e){return rp(e.length,e)}))
const ip=np,sp=ip(xh((function(e){return!e}))),op=xh((function(e){return function(){return e}})),ap=op(void 0),lp=Kh(ap()),cp=sp(lp),up=Eh((function(e,t){if(e===t)return t
function r(e,t){if(e>t!=t>e)return t>e?t:e}var n=r(e,t)
if(void 0!==n)return n
var i=r(typeof e,typeof t)
if(void 0!==i)return i===typeof e?e:t
var s=hd(e),o=r(s,hd(t))
return void 0!==o&&o===s?e:t}))
var hp=Eh((function(e,t){return Qd(Id(e),t)}))
const dp=hp,pp=xh((function(e){return Ld(Nd(up,0,dp("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(e[t].apply(this,arguments))return!0
t+=1}return!1}))}))
var fp=function(e,t){switch(arguments.length){case 0:return fp
case 1:return function t(r){return 0===arguments.length?t:Mh(e,r)}
default:return Mh(e,t)}}
const mp=fp,gp=Ld(1,Pd(Hh,mp("GeneratorFunction"))),yp=Ld(1,Pd(Hh,mp("AsyncFunction"))),vp=pp([Pd(Hh,mp("Function")),gp,yp])
var bp=Nh((function(e,t,r){return r.replace(e,t)}))
const wp=bp,Sp=Ld(1,Pd(Hh,mp("RegExp"))),kp=Nh((function(e,t,r){return e(r)?t(r):r})),xp=Ld(1,Pd(Hh,mp("String"))),Ep=kp(xp,wp(/[.*+?^${}()|[\]\\-]/g,"\\$&"))
var Np=function(e,t){if("string"!=typeof e&&!(e instanceof String))throw TypeError("`".concat(t,"` must be a string"))},_p=Ld(3,(function(e,t,r){!function(e,t,r){if(null==r||null==e||null==t)throw TypeError("Input values must not be `null` or `undefined`")}(e,t,r),Np(r,"str"),Np(t,"replaceValue"),function(e){if(!("string"==typeof e||e instanceof String||e instanceof RegExp))throw TypeError("`searchValue` must be a string or an regexp")}(e)
var n=new RegExp(Sp(e)?e:Ep(e),"g")
return wp(n,t,r)})),Cp=$d(2,"replaceAll")
const Ap=vp(String.prototype.replaceAll)?Cp:_p,Op=()=>Ph(pd(/^win/),["platform"],wh),Pp=e=>{try{const t=new URL(e)
return Jd(":",t.protocol)}catch{return}},Tp=(Pd(Pp,cp),e=>{if(wh.browser)return!1
const t=Pp(e)
return lp(t)||"file"===t||/^[a-zA-Z]$/.test(t)}),Ip=e=>{const t=Pp(e)
return"http"===t||"https"===t},jp=(e,t)=>{const r=[/%23/g,"#",/%24/g,"$",/%26/g,"&",/%2C/g,",",/%40/g,"@"],n=jd(!1,"keepFileProtocol",t),i=jd(Op,"isWindows",t)
let s=decodeURI(e)
for(let a=0;a<r.length;a+=2)s=s.replace(r[a],r[a+1])
let o="file://"===s.substring(0,7).toLowerCase()
return o&&(s="/"===s[7]?s.substring(8):s.substring(7),i()&&"/"===s[1]&&(s=`${s[0]}:${s.substring(1)}`),n?s=`file:///${s}`:(o=!1,s=i()?s:`/${s}`)),i()&&!o&&(s=Ap("/","\\",s),":\\"===s.substring(1,3)&&(s=s[0].toUpperCase()+s.substring(1))),s},Dp=e=>{const t=e.indexOf("#")
return-1!==t?e.substring(t):"#"},Mp=e=>{const t=e.indexOf("#")
let r=e
return t>=0&&(r=e.substring(0,t)),r},Bp=()=>{if(wh.browser)return Mp(globalThis.location.href)
const e=wh.cwd(),t=Md(e)
return["/","\\"].includes(t)?e:e+(Op()?"\\":"/")},Rp=(e,t)=>{const r=new URL(t,new URL(e,"resolve://"))
if("resolve:"===r.protocol){const{pathname:e,search:t,hash:n}=r
return e+t+n}return r.toString()},Lp=e=>{if(Tp(e))return(e=>{const t=[/\?/g,"%3F",/#/g,"%23"]
let r=e
Op()&&(r=r.replace(/\\/g,"/")),r=encodeURI(r)
for(let n=0;n<t.length;n+=2)r=r.replace(t[n],t[n+1])
return r})(jp(e))
try{return new URL(e).toString()}catch{return encodeURI(decodeURI(e)).replace(/%5B/g,"[").replace(/%5D/g,"]")}},zp=e=>Tp(e)?jp(e):decodeURI(e),{fetch:Fp,Response:Vp,Headers:$p,Request:Up,FormData:Hp,File:qp,Blob:Wp}=globalThis
void 0===globalThis.fetch&&(globalThis.fetch=Fp),void 0===globalThis.Headers&&(globalThis.Headers=$p),void 0===globalThis.Request&&(globalThis.Request=Up),void 0===globalThis.Response&&(globalThis.Response=Vp),void 0===globalThis.FormData&&(globalThis.FormData=Hp),void 0===globalThis.File&&(globalThis.File=qp),void 0===globalThis.Blob&&(globalThis.Blob=Wp)
var Kp=l(36623),Zp=l.n(Kp)
const Jp="application/json, application/yaml",Gp="https://swagger.io",Yp=Object.freeze({url:"/"}),Xp=["properties"],Qp=["properties"],ef=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],tf=["schema/example","items/example"]
function rf(e){const t=e[e.length-1],r=e[e.length-2],n=e.join("/")
return Xp.indexOf(t)>-1&&-1===Qp.indexOf(r)||ef.indexOf(n)>-1||tf.some((e=>n.indexOf(e)>-1))}function nf(e,t){const[r,n]=e.split("#"),i=null!=t?t:"",s=null!=r?r:""
let o
if(Ip(i))o=Rp(i,s)
else{const e=Rp(Gp,i),t=Rp(e,s).replace(Gp,"")
o=s.startsWith("/")?t:t.substring(1)}return n?`${o}#${n}`:o}const sf=/^([a-z]+:\/\/|\/\/)/i
class of extends bh{}const af={},lf=new WeakMap,cf=[e=>"paths"===e[0]&&"responses"===e[3]&&"examples"===e[5],e=>"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"example"===e[7],e=>"paths"===e[0]&&"responses"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9],e=>"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"example"===e[6],e=>"paths"===e[0]&&"requestBody"===e[3]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8],e=>"paths"===e[0]&&"parameters"===e[2]&&"example"===e[4],e=>"paths"===e[0]&&"parameters"===e[3]&&"example"===e[5],e=>"paths"===e[0]&&"parameters"===e[2]&&"examples"===e[4]&&"value"===e[6],e=>"paths"===e[0]&&"parameters"===e[3]&&"examples"===e[5]&&"value"===e[7],e=>"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"example"===e[6],e=>"paths"===e[0]&&"parameters"===e[2]&&"content"===e[4]&&"examples"===e[6]&&"value"===e[8],e=>"paths"===e[0]&&"parameters"===e[3]&&"content"===e[4]&&"example"===e[7],e=>"paths"===e[0]&&"parameters"===e[3]&&"content"===e[5]&&"examples"===e[7]&&"value"===e[9]],uf={key:"$ref",plugin:(e,t,r,n)=>{const i=n.getInstance(),s=r.slice(0,-1)
if(rf(s)||(e=>cf.some((t=>t(e))))(s))return
const{baseDoc:o}=n.getContext(r)
if("string"!=typeof e)return new of("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:o,fullPath:r})
const a=mf(e),l=a[0],c=a[1]||""
let u,h,d
try{u=o||l?pf(l,o):null}catch(t){return ff(t,{pointer:c,$ref:e,basePath:u,fullPath:r})}if(function(e,t,r,n){let i=lf.get(n)
i||(i={},lf.set(n,i))
const s=function(e){return 0===e.length?"":`/${e.map(Sf).join("/")}`}(r),o=`${t||"<specmap-base>"}#${e}`,a=s.replace(/allOf\/\d+\/?/g,"")
if(t===n.contextTree.get([]).baseDoc&&xf(a,e))return!0
let l=""
const c=r.some((e=>(l=`${l}/${Sf(e)}`,i[l]&&i[l].some((e=>xf(e,o)||xf(o,e))))))
if(c)return!0
i[a]=(i[a]||[]).concat(o)}(c,u,s,n)&&!i.useCircularStructures){const t=nf(e,u)
return e===t?null:Qu.replace(r,t)}if(null==u?(d=bf(c),h=n.get(d),void 0===h&&(h=new of(`Could not resolve reference: ${e}`,{pointer:c,$ref:e,baseDoc:o,fullPath:r}))):(h=gf(u,c),h=null!=h.__value?h.__value:h.catch((t=>{throw ff(t,{pointer:c,$ref:e,baseDoc:o,fullPath:r})}))),h instanceof Error)return[Qu.remove(r),h]
const p=nf(e,u),f=Qu.replace(s,h,{$$ref:p})
if(u&&u!==o)return[f,Qu.context(s,{baseDoc:u})]
try{if(!function(e,t){const r=[e]
return t.path.reduce(((e,t)=>(r.push(e[t]),e[t])),e),function e(t){return Qu.isObject(t)&&(r.indexOf(t)>=0||Object.keys(t).some((r=>e(t[r]))))}(t.value)}(n.state,f)||i.useCircularStructures)return f}catch(e){return null}}},hf=Object.assign(uf,{docCache:af,absoluteify:pf,clearCache:function(e){void 0!==e?delete af[e]:Object.keys(af).forEach((e=>{delete af[e]}))},JSONRefError:of,wrapError:ff,getDoc:yf,split:mf,extractFromDoc:gf,fetchJSON:function(e){return fetch(e,{headers:{Accept:Jp},loadSpec:!0}).then((e=>e.text())).then((e=>ds.load(e)))},extract:vf,jsonPointerToArray:bf,unescapeJsonPointerToken:wf}),df=hf
function pf(e,t){if(!sf.test(e)){if(!t)throw new of(`Tried to resolve a relative URL, without having a basePath. path: '${e}' basePath: '${t}'`)
return Rp(t,e)}return e}function ff(e,t){let r
return r=e&&e.response&&e.response.body?`${e.response.body.code} ${e.response.body.message}`:e.message,new of(`Could not resolve reference: ${r}`,{...t,cause:e})}function mf(e){return(e+"").split("#")}function gf(e,t){const r=af[e]
if(r&&!Qu.isPromise(r))try{const e=vf(t,r)
return Object.assign(Promise.resolve(e),{__value:e})}catch(e){return Promise.reject(e)}return yf(e).then((e=>vf(t,e)))}function yf(e){const t=af[e]
return t?Qu.isPromise(t)?t:Promise.resolve(t):(af[e]=hf.fetchJSON(e).then((t=>(af[e]=t,t))),af[e])}function vf(e,t){const r=bf(e)
if(r.length<1)return t
const n=Qu.getIn(t,r)
if(void 0===n)throw new of(`Could not resolve pointer: ${e} does not exist in document`,{pointer:e})
return n}function bf(e){if("string"!=typeof e)throw new TypeError("Expected a string, got a "+typeof e)
return"/"===e[0]&&(e=e.substr(1)),""===e?[]:e.split("/").map(wf)}function wf(e){return"string"!=typeof e?e:new URLSearchParams(`=${e.replace(/~1/g,"/").replace(/~0/g,"~")}`).get("")}function Sf(e){return new URLSearchParams([["",e.replace(/~/g,"~0").replace(/\//g,"~1")]]).toString().slice(1)}const kf=e=>!e||"/"===e||"#"===e
function xf(e,t){if(kf(t))return!0
const r=e.charAt(t.length),n=t.slice(-1)
return 0===e.indexOf(t)&&(!r||"/"===r||"#"===r)&&"#"!==n}const Ef={key:"allOf",plugin:(e,t,r,n,i)=>{if(i.meta&&i.meta.$$ref)return
const s=r.slice(0,-1)
if(rf(s))return
if(!Array.isArray(e)){const e=new TypeError("allOf must be an array")
return e.fullPath=r,e}let o=!1,a=i.value
if(s.forEach((e=>{a&&(a=a[e])})),a={...a},0===Object.keys(a).length)return
delete a.allOf
const l=[]
return l.push(n.replace(s,{})),e.forEach(((e,t)=>{if(!n.isObject(e)){if(o)return null
o=!0
const e=new TypeError("Elements in allOf must be objects")
return e.fullPath=r,l.push(e)}l.push(n.mergeDeep(s,e))
const i=function(e,t,{specmap:r,getBaseUrlForNodePath:n=e=>r.getContext([...t,...e]).baseDoc,targetKeys:i=["$ref","$$ref"]}={}){const s=[]
return Zp()(e).forEach((function(){if(i.includes(this.key)&&"string"==typeof this.node){const e=this.path,i=t.concat(this.path),o=nf(this.node,n(e))
s.push(r.replace(i,o))}})),s}(e,r.slice(0,-1),{getBaseUrlForNodePath:e=>n.getContext([...r,t,...e]).baseDoc,specmap:n})
l.push(...i)})),a.example&&l.push(n.remove([].concat(s,"example"))),l.push(n.mergeDeep(s,a)),a.$$ref||l.push(n.remove([].concat(s,"$$ref"))),l}},Nf={key:"parameters",plugin:(e,t,r,n)=>{if(Array.isArray(e)&&e.length){const t=Object.assign([],e),i=r.slice(0,-1),s={...Qu.getIn(n.spec,i)}
for(let o=0;o<e.length;o+=1){const i=e[o]
try{t[o].default=n.parameterMacro(s,i)}catch(e){const t=new Error(e)
return t.fullPath=r,t}}return Qu.replace(r,t)}return Qu.replace(r,e)}},_f={key:"properties",plugin:(e,t,r,n)=>{const i={...e}
for(const s in e)try{i[s].default=n.modelPropertyMacro(i[s])}catch(e){const t=new Error(e)
return t.fullPath=r,t}return Qu.replace(r,i)}}
class Cf{constructor(e){this.root=Af(e||{})}set(e,t){const r=this.getParent(e,!0)
if(!r)return void Of(this.root,t,null)
const n=e[e.length-1],{children:i}=r
i[n]?Of(i[n],t,r):i[n]=Af(t,r)}get(e){if((e=e||[]).length<1)return this.root.value
let t,r,n=this.root
for(let i=0;i<e.length&&(r=e[i],t=n.children,t[r]);i+=1)n=t[r]
return n&&n.protoValue}getParent(e,t){return!e||e.length<1?null:e.length<2?this.root:e.slice(0,-1).reduce(((e,r)=>{if(!e)return e
const{children:n}=e
return!n[r]&&t&&(n[r]=Af(null,e)),n[r]}),this.root)}}function Af(e,t){return Of({children:{}},e,t)}function Of(e,t,r){return e.value=t||{},e.protoValue=r?{...r.protoValue,...e.value}:e.value,Object.keys(e.children).forEach((t=>{const r=e.children[t]
e.children[t]=Of(r,r.value,e)})),e}const Pf=()=>{}
class Tf{static getPluginName(e){return e.pluginName}static getPatchesOfType(e,t){return e.filter(t)}constructor(e){Object.assign(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new Cf,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),Qu,{getInstance:()=>this}),allowMetaPatches:!1},e),this.get=this._get.bind(this),this.getContext=this._getContext.bind(this),this.hasRun=this._hasRun.bind(this),this.wrappedPlugins=this.plugins.map(this.wrapPlugin.bind(this)).filter(Qu.isFunction),this.patches.push(Qu.add([],this.spec)),this.patches.push(Qu.context([],this.context)),this.updatePatches(this.patches)}debug(e,...t){this.debugLevel===e&&console.log(...t)}verbose(e,...t){"verbose"===this.debugLevel&&console.log(`[${e}]   `,...t)}wrapPlugin(e,t){const{pathDiscriminator:r}=this
let n,i=null
return e[this.pluginProp]?(i=e,n=e[this.pluginProp]):Qu.isFunction(e)?n=e:Qu.isObject(e)&&(n=function(e){const t=(e,t)=>!Array.isArray(e)||e.every(((e,r)=>e===t[r]))
return function*(n,i){const s={}
for(const[e,t]of n.filter(Qu.isAdditiveMutation).entries()){if(!(e<3e3))return
yield*o(t.value,t.path,t)}function*o(n,a,l){if(Qu.isObject(n)){const c=a.length-1,u=a[c],h=a.indexOf("properties"),d="properties"===u&&c===h,p=i.allowMetaPatches&&s[n.$$ref]
for(const f of Object.keys(n)){const c=n[f],u=a.concat(f),h=Qu.isObject(c),m=n.$$ref
if(p||h&&(i.allowMetaPatches&&m&&(s[m]=!0),yield*o(c,u,l)),!d&&f===e.key){const n=t(r,a)
r&&!n||(yield e.plugin(c,f,u,i,l))}}}else e.key===a[a.length-1]&&(yield e.plugin(n,e.key,a,i))}}}(e)),Object.assign(n.bind(i),{pluginName:e.name||t,isGenerator:Qu.isGenerator(n)})}nextPlugin(){return this.wrappedPlugins.find((e=>this.getMutationsForPlugin(e).length>0))}nextPromisedPatch(){if(this.promisedPatches.length>0)return Promise.race(this.promisedPatches.map((e=>e.value)))}getPluginHistory(e){const t=this.constructor.getPluginName(e)
return this.pluginHistory[t]||[]}getPluginRunCount(e){return this.getPluginHistory(e).length}getPluginHistoryTip(e){const t=this.getPluginHistory(e)
return t&&t[t.length-1]||{}}getPluginMutationIndex(e){const t=this.getPluginHistoryTip(e).mutationIndex
return"number"!=typeof t?-1:t}updatePluginHistory(e,t){const r=this.constructor.getPluginName(e)
this.pluginHistory[r]=this.pluginHistory[r]||[],this.pluginHistory[r].push(t)}updatePatches(e){Qu.normalizeArray(e).forEach((e=>{if(e instanceof Error)this.errors.push(e)
else try{if(!Qu.isObject(e))return void this.debug("updatePatches","Got a non-object patch",e)
if(this.showDebug&&this.allPatches.push(e),Qu.isPromise(e.value))return this.promisedPatches.push(e),void this.promisedPatchThen(e)
if(Qu.isContextPatch(e))return void this.setContext(e.path,e.value)
Qu.isMutation(e)&&this.updateMutations(e)}catch(e){console.error(e),this.errors.push(e)}}))}updateMutations(e){"object"==typeof e.value&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value={...e.value})
const t=Qu.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches})
t&&(this.mutations.push(e),this.state=t)}removePromisedPatch(e){const t=this.promisedPatches.indexOf(e)
t<0?this.debug("Tried to remove a promisedPatch that isn't there!"):this.promisedPatches.splice(t,1)}promisedPatchThen(e){return e.value=e.value.then((t=>{const r={...e,value:t}
this.removePromisedPatch(e),this.updatePatches(r)})).catch((t=>{this.removePromisedPatch(e),this.updatePatches(t)})),e.value}getMutations(e,t){return e=e||0,"number"!=typeof t&&(t=this.mutations.length),this.mutations.slice(e,t)}getCurrentMutations(){return this.getMutationsForPlugin(this.getCurrentPlugin())}getMutationsForPlugin(e){const t=this.getPluginMutationIndex(e)
return this.getMutations(t+1)}getCurrentPlugin(){return this.currentPlugin}getLib(){return this.libMethods}_get(e){return Qu.getIn(this.state,e)}_getContext(e){return this.contextTree.get(e)}setContext(e,t){return this.contextTree.set(e,t)}_hasRun(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}dispatch(){const e=this,t=this.nextPlugin()
if(!t){const e=this.nextPromisedPatch()
if(e)return e.then((()=>this.dispatch())).catch((()=>this.dispatch()))
const t={spec:this.state,errors:this.errors}
return this.showDebug&&(t.patches=this.allPatches),Promise.resolve(t)}if(e.pluginCount=e.pluginCount||new WeakMap,e.pluginCount.set(t,(e.pluginCount.get(t)||0)+1),e.pluginCount[t]>100)return Promise.resolve({spec:e.state,errors:e.errors.concat(new Error("We've reached a hard limit of 100 plugin runs"))})
if(t!==this.currentPlugin&&this.promisedPatches.length){const e=this.promisedPatches.map((e=>e.value))
return Promise.all(e.map((e=>e.then(Pf,Pf)))).then((()=>this.dispatch()))}return function(){e.currentPlugin=t
const n=e.getCurrentMutations(),i=e.mutations.length-1
try{if(t.isGenerator)for(const i of t(n,e.getLib()))r(i)
else r(t(n,e.getLib()))}catch(e){console.error(e),r([Object.assign(Object.create(e),{plugin:t})])}finally{e.updatePluginHistory(t,{mutationIndex:i})}return e.dispatch()}()
function r(r){r&&(r=Qu.fullyNormalizeArray(r),e.updatePatches(r,t))}}}const If={refs:df,allOf:Ef,parameters:Nf,properties:_f},jf=e=>e.replace(/\W/gi,"_")
function Df(e,t,r="",{v2OperationIdCompatibilityMode:n}={}){return e&&"object"==typeof e?(e.operationId||"").replace(/\s/g,"").length?jf(e.operationId):function(e,t,{v2OperationIdCompatibilityMode:r}={}){if(r){let r=`${t.toLowerCase()}_${e}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_")
return r=r||`${e.substring(1)}_${t}`,r.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${t.toLowerCase()}${jf(e)}`}(t,r,{v2OperationIdCompatibilityMode:n}):null}function Mf(e){const{spec:t}=e,{paths:r}=t,n={}
if(!r||t.$$normalized)return e
for(const i in r){const e=r[i]
if(null==e||!["object","function"].includes(typeof e))continue
const s=e.parameters
for(const r in e){const o=e[r]
if(null==o||!["object","function"].includes(typeof o))continue
const a=Df(o,i,r)
if(a){n[a]?n[a].push(o):n[a]=[o]
const e=n[a]
if(e.length>1)e.forEach(((e,t)=>{e.__originalOperationId=e.__originalOperationId||e.operationId,e.operationId=`${a}${t+1}`}))
else if(void 0!==o.operationId){const t=e[0]
t.__originalOperationId=t.__originalOperationId||o.operationId,t.operationId=a}}if("parameters"!==r){const e=[],r={}
for(const n in t)"produces"!==n&&"consumes"!==n&&"security"!==n||(r[n]=t[n],e.push(r))
if(s&&(r.parameters=s,e.push(r)),e.length)for(const t of e)for(const e in t)if(o[e]){if("parameters"===e)for(const r of t[e])o[e].some((e=>e.name&&e.name===r.name||e.$ref&&e.$ref===r.$ref||e.$$ref&&e.$$ref===r.$$ref||e===r))||o[e].push(r)}else o[e]=t[e]}}}return t.$$normalized=!0,e}function Bf(e,t={}){const{requestInterceptor:r,responseInterceptor:n}=t,i=e.withCredentials?"include":"same-origin"
return t=>e({url:t,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:Jp},credentials:i}).then((e=>e.body))}var Rf=l(55373),Lf=l.n(Rf)
function zf(e,t){return t||"undefined"==typeof navigator||(t=navigator),t&&"ReactNative"===t.product?!(!e||"object"!=typeof e||"string"!=typeof e.uri):"undefined"!=typeof File&&e instanceof File||"undefined"!=typeof Blob&&e instanceof Blob||!!ArrayBuffer.isView(e)||null!==e&&"object"==typeof e&&"function"==typeof e.pipe}function Ff(e,t){return Array.isArray(e)&&e.some((e=>zf(e,t)))}class Vf extends File{constructor(e,t="",r={}){super([e],t,r),this.data=e}valueOf(){return this.data}toString(){return this.valueOf()}}const $f=e=>":/?#[]@!$&'()*+,;=".indexOf(e)>-1,Uf=e=>/^[a-z0-9\-._~]+$/i.test(e)
function Hf(e,t="reserved"){return[...e].map((e=>{if(Uf(e))return e
if($f(e)&&"unsafe"===t)return e
const r=new TextEncoder
return Array.from(r.encode(e)).map((e=>`0${e.toString(16).toUpperCase()}`.slice(-2))).map((e=>`%${e}`)).join("")})).join("")}function qf(e){const{value:t}=e
return Array.isArray(t)?function({key:e,value:t,style:r,explode:n,escape:i}){if("simple"===r)return t.map((e=>Wf(e,i))).join(",")
if("label"===r)return`.${t.map((e=>Wf(e,i))).join(".")}`
if("matrix"===r)return t.map((e=>Wf(e,i))).reduce(((t,r)=>!t||n?`${t||""};${e}=${r}`:`${t},${r}`),"")
if("form"===r){const r=n?`&${e}=`:","
return t.map((e=>Wf(e,i))).join(r)}if("spaceDelimited"===r){const r=n?`${e}=`:""
return t.map((e=>Wf(e,i))).join(` ${r}`)}if("pipeDelimited"===r){const r=n?`${e}=`:""
return t.map((e=>Wf(e,i))).join(`|${r}`)}}(e):"object"==typeof t?function({key:e,value:t,style:r,explode:n,escape:i}){const s=Object.keys(t)
return"simple"===r?s.reduce(((e,r)=>{const s=Wf(t[r],i)
return`${e?`${e},`:""}${r}${n?"=":","}${s}`}),""):"label"===r?s.reduce(((e,r)=>{const s=Wf(t[r],i)
return`${e?`${e}.`:"."}${r}${n?"=":"."}${s}`}),""):"matrix"===r&&n?s.reduce(((e,r)=>`${e?`${e};`:";"}${r}=${Wf(t[r],i)}`),""):"matrix"===r?s.reduce(((r,n)=>{const s=Wf(t[n],i)
return`${r?`${r},`:`;${e}=`}${n},${s}`}),""):"form"===r?s.reduce(((e,r)=>{const s=Wf(t[r],i)
return`${e?`${e}${n?"&":","}`:""}${r}${n?"=":","}${s}`}),""):void 0}(e):function({key:e,value:t,style:r,escape:n}){return"simple"===r?Wf(t,n):"label"===r?`.${Wf(t,n)}`:"matrix"===r?`;${e}=${Wf(t,n)}`:"form"===r||"deepObject"===r?Wf(t,n):void 0}(e)}function Wf(e,t=!1){return Array.isArray(e)||null!==e&&"object"==typeof e?e=JSON.stringify(e):"number"!=typeof e&&"boolean"!=typeof e||(e=String(e)),t&&e.length>0?Hf(e,t):e}const Kf={form:",",spaceDelimited:"%20",pipeDelimited:"|"},Zf={csv:",",ssv:"%20",tsv:"%09",pipes:"|"}
function Jf(e,t,r=!1){const{collectionFormat:n,allowEmptyValue:i,serializationOption:s,encoding:o}=t,a="object"!=typeof t||Array.isArray(t)?t:t.value,l=r?e=>e.toString():e=>encodeURIComponent(e),c=l(e)
if(void 0===a&&i)return[[c,""]]
if(zf(a)||Ff(a))return[[c,a]]
if(s)return Gf(e,a,r,s)
if(o){if([typeof o.style,typeof o.explode,typeof o.allowReserved].some((e=>"undefined"!==e))){const{style:t,explode:n,allowReserved:i}=o
return Gf(e,a,r,{style:t,explode:n,allowReserved:i})}if("string"==typeof o.contentType){if(o.contentType.startsWith("application/json")){const e=l("string"==typeof a?a:JSON.stringify(a))
return[[c,new Vf(e,"blob",{type:o.contentType})]]}const e=l(String(a))
return[[c,new Vf(e,"blob",{type:o.contentType})]]}return"object"!=typeof a?[[c,l(a)]]:Array.isArray(a)&&a.every((e=>"object"!=typeof e))?[[c,a.map(l).join(",")]]:[[c,l(JSON.stringify(a))]]}return"object"!=typeof a?[[c,l(a)]]:Array.isArray(a)?"multi"===n?[[c,a.map(l)]]:[[c,a.map(l).join(Zf[n||"csv"])]]:[[c,""]]}function Gf(e,t,r,n){const i=n.style||"form",s=void 0===n.explode?"form"===i:n.explode,o=!r&&(n&&n.allowReserved?"unsafe":"reserved"),a=e=>Wf(e,o),l=r?e=>e:e=>a(e)
return"object"!=typeof t?[[l(e),a(t)]]:Array.isArray(t)?s?[[l(e),t.map(a)]]:[[l(e),t.map(a).join(Kf[i])]]:"deepObject"===i?Object.keys(t).map((r=>[l(`${e}[${r}]`),a(t[r])])):s?Object.keys(t).map((e=>[l(e),a(t[e])])):[[l(e),Object.keys(t).map((e=>[`${l(e)},${a(t[e])}`])).join(",")]]}function Yf(e){const t=Object.keys(e).reduce(((t,r)=>{for(const[n,i]of Jf(r,e[r]))t[n]=i instanceof Vf?i.valueOf():i
return t}),{})
return Lf().stringify(t,{encode:!1,indices:!1})||""}function Xf(e={}){const{url:t="",query:r,form:n}=e
if(n){const t=Object.keys(n).some((e=>{const{value:t}=n[e]
return zf(t)||Ff(t)})),r=e.headers["content-type"]||e.headers["Content-Type"]
if(t||/multipart\/form-data/i.test(r)){const t=function(e){return Object.entries(e).reduce(((e,[t,r])=>{for(const[n,i]of Jf(t,r,!0))if(Array.isArray(i))for(const t of i)if(ArrayBuffer.isView(t)){const r=new Blob([t])
e.append(n,r)}else e.append(n,t)
else if(ArrayBuffer.isView(i)){const t=new Blob([i])
e.append(n,t)}else e.append(n,i)
return e}),new FormData)}(e.form)
e.formdata=t,e.body=t}else e.body=Yf(n)
delete e.form}if(r){const[n,i]=t.split("?")
let s=""
if(i){const e=Lf().parse(i)
Object.keys(r).forEach((t=>delete e[t])),s=Lf().stringify(e,{encode:!0})}const o=((...e)=>{const t=e.filter((e=>e)).join("&")
return t?`?${t}`:""})(s,Yf(r))
e.url=n+o,delete e.query}return e}const Qf=(e="")=>/(json|xml|yaml|text)\b/.test(e)
function em(e={}){return"function"!=typeof e.entries?{}:Array.from(e.entries()).reduce(((e,[t,r])=>(e[t]=function(e){return e.includes(", ")?e.split(", "):e}(r),e)),{})}function tm(e,t,{loadSpec:r=!1}={}){const n={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:em(e.headers)},i=n.headers["content-type"],s=r||Qf(i)
return(s?e.text:e.blob||e.buffer).call(e).then((e=>{if(n.text=e,n.data=e,s)try{const t=function(e,t){return t&&(0===t.indexOf("application/json")||t.indexOf("+json")>0)?JSON.parse(e):ds.load(e)}(e,i)
n.body=t,n.obj=t}catch(e){n.parseError=e}return n}))}async function rm(e,t={}){"object"==typeof e&&(e=(t=e).url),t.headers=t.headers||{},(t=Xf(t)).headers&&Object.keys(t.headers).forEach((e=>{const r=t.headers[e]
"string"==typeof r&&(t.headers[e]=r.replace(/\n+/g," "))})),t.requestInterceptor&&(t=await t.requestInterceptor(t)||t)
const r=t.headers["content-type"]||t.headers["Content-Type"]
let n;/multipart\/form-data/i.test(r)&&(delete t.headers["content-type"],delete t.headers["Content-Type"])
try{n=await(t.userFetch||fetch)(t.url,t),n=await tm(n,e,t),t.responseInterceptor&&(n=await t.responseInterceptor(n)||n)}catch(e){if(!n)throw e
const t=new Error(n.statusText||`response status is ${n.status}`)
throw t.status=n.status,t.statusCode=n.status,t.responseError=e,t}if(!n.ok){const e=new Error(n.statusText||`response status is ${n.status}`)
throw e.status=n.status,e.statusCode=n.status,e.response=n,e}return n}const nm=e=>{var t,r
const{baseDoc:n,url:i}=e,s=null!==(t=null!=n?n:i)&&void 0!==t?t:""
return"string"==typeof(null===(r=globalThis.document)||void 0===r?void 0:r.baseURI)?String(new URL(s,globalThis.document.baseURI)):s},im=e=>{const{fetch:t,http:r}=e
return t||r||rm}
async function sm(e){const{spec:t,mode:r,allowMetaPatches:n=!0,pathDiscriminator:i,modelPropertyMacro:s,parameterMacro:o,requestInterceptor:a,responseInterceptor:l,skipNormalization:c,useCircularStructures:u}=e,h=nm(e),d=im(e)
return function(e){h&&(If.refs.docCache[h]=e),If.refs.fetchJSON=Bf(d,{requestInterceptor:a,responseInterceptor:l})
const t=[If.refs]
return"function"==typeof o&&t.push(If.parameters),"function"==typeof s&&t.push(If.properties),"strict"!==r&&t.push(If.allOf),function(e){return new Tf(e).dispatch()}({spec:e,context:{baseDoc:h},plugins:t,allowMetaPatches:n,pathDiscriminator:i,parameterMacro:o,modelPropertyMacro:s,useCircularStructures:u}).then(c?async e=>e:Mf)}(t)}const om={name:"generic",match:()=>!0,normalize({spec:e}){const{spec:t}=Mf({spec:e})
return t},resolve:async e=>sm(e)},am=om,lm=e=>{try{const{openapi:t}=e
return"string"==typeof t&&/^3\.0\.([0123])(?:-rc[012])?$/.test(t)}catch{return!1}},cm=e=>{try{const{openapi:t}=e
return"string"==typeof t&&/^3\.1\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}},um=e=>lm(e)||cm(e),hm={name:"openapi-2",match:({spec:e})=>(e=>{try{const{swagger:t}=e
return"2.0"===t}catch{return!1}})(e),normalize({spec:e}){const{spec:t}=Mf({spec:e})
return t},resolve:async e=>async function(e){return sm(e)}(e)},dm=hm,pm={name:"openapi-3-0",match:({spec:e})=>lm(e),normalize({spec:e}){const{spec:t}=Mf({spec:e})
return t},resolve:async e=>async function(e){return sm(e)}(e)},fm=pm,mm=function(){return!0},gm=function(){return!1},ym=(e,t,r)=>{const n=e[t]
if(null!=n){if(!r&&"function"==typeof n)return n
const e=r?n.leave:n.enter
if("function"==typeof e)return e}else{const n=r?e.leave:e.enter
if(null!=n){if("function"==typeof n)return n
const e=n[t]
if("function"==typeof e)return e}}return null},vm={},bm=e=>null==e?void 0:e.type,wm=e=>"string"==typeof bm(e),Sm=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),km=(e,{visitFnGetter:t=ym,nodeTypeGetter:r=bm,breakSymbol:n=vm,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),l=new Array(e.length).fill(a)
return{enter(c,u,h,d,p,f){let m=c,g=!1
const y={...f,replaceWith(e,t){f.replaceWith(e,t),m=e}}
for(let v=0;v<e.length;v+=1)if(l[v]===a){const a=t(e[v],r(m),!1)
if("function"==typeof a){const t=a.call(e[v],m,u,h,d,p,y)
if("function"==typeof(null==t?void 0:t.then))throw new bh("Async visitor not supported in sync mode",{visitor:e[v],visitFn:a})
if(t===s)l[v]=m
else if(t===n)l[v]=n
else{if(t===i)return t
if(void 0!==t){if(!o)return t
m=t,g=!0}}}}return g?m:void 0},leave(i,o,c,u,h,d){let p=i
const f={...d,replaceWith(e,t){d.replaceWith(e,t),p=e}}
for(let m=0;m<e.length;m+=1)if(l[m]===a){const i=t(e[m],r(p),!0)
if("function"==typeof i){const t=i.call(e[m],p,o,c,u,h,f)
if("function"==typeof(null==t?void 0:t.then))throw new bh("Async visitor not supported in sync mode",{visitor:e[m],visitFn:i})
if(t===n)l[m]=n
else if(void 0!==t&&t!==s)return t}}else l[m]===p&&(l[m]=a)}}}
km[Symbol.for("nodejs.util.promisify.custom")]=(e,{visitFnGetter:t=ym,nodeTypeGetter:r=bm,breakSymbol:n=vm,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:s=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),l=new Array(e.length).fill(a)
return{async enter(c,u,h,d,p,f){let m=c,g=!1
const y={...f,replaceWith(e,t){f.replaceWith(e,t),m=e}}
for(let v=0;v<e.length;v+=1)if(l[v]===a){const a=t(e[v],r(m),!1)
if("function"==typeof a){const t=await a.call(e[v],m,u,h,d,p,y)
if(t===s)l[v]=m
else if(t===n)l[v]=n
else{if(t===i)return t
if(void 0!==t){if(!o)return t
m=t,g=!0}}}}return g?m:void 0},async leave(i,o,c,u,h,d){let p=i
const f={...d,replaceWith(e,t){d.replaceWith(e,t),p=e}}
for(let m=0;m<e.length;m+=1)if(l[m]===a){const i=t(e[m],r(p),!0)
if("function"==typeof i){const t=await i.call(e[m],p,o,c,u,h,f)
if(t===n)l[m]=n
else if(void 0!==t&&t!==s)return t}}else l[m]===p&&(l[m]=a)}}}
const xm=(e,t,{keyMap:r=null,state:n={},breakSymbol:i=vm,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=ym,nodeTypeGetter:l=bm,nodePredicate:c=wm,nodeCloneFn:u=Sm,detectCycles:h=!0}={})=>{const d=r||{}
let p,f,m=Array.isArray(e),g=[e],y=-1,v=[],b=e
const w=[],S=[]
do{y+=1
const e=y===g.length
let r
const E=e&&0!==v.length
if(e){if(r=0===S.length?void 0:w.pop(),b=f,f=S.pop(),E)if(m){b=b.slice()
let e=0
for(const[t,r]of v){const n=t-e
r===s?(b.splice(n,1),e+=1):b[n]=r}}else{b=u(b)
for(const[e,t]of v)b[e]=t}y=p.index,g=p.keys,v=p.edits,m=p.inArray,p=p.prev}else if(f!==s&&void 0!==f){if(r=m?y:g[y],b=f[r],b===s||void 0===b)continue
w.push(r)}let N
if(!Array.isArray(b)){var k
if(!c(b))throw new bh(`Invalid AST Node:  ${String(b)}`,{node:b})
if(h&&S.includes(b)){w.pop()
continue}const s=a(t,l(b),e)
if(s){for(const[e,r]of Object.entries(n))t[e]=r
const i={replaceWith(t,n){"function"==typeof n?n(t,b,r,f,w,S):f&&(f[r]=t),e||(b=t)}}
N=s.call(t,b,r,f,w,S,i)}if("function"==typeof(null===(k=N)||void 0===k?void 0:k.then))throw new bh("Async visitor not supported in sync mode",{visitor:t,visitFn:s})
if(N===i)break
if(N===o){if(!e){w.pop()
continue}}else if(void 0!==N&&(v.push([r,N]),!e)){if(!c(N)){w.pop()
continue}b=N}}var x
void 0===N&&E&&v.push([r,b]),e||(p={inArray:m,index:y,keys:g,edits:v,prev:p},m=Array.isArray(b),g=m?b:null!==(x=d[l(b)])&&void 0!==x?x:[],y=-1,v=[],f!==s&&void 0!==f&&S.push(f),f=b)}while(void 0!==p)
return 0!==v.length?v[v.length-1][1]:e}
xm[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:n={},breakSymbol:i=vm,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=ym,nodeTypeGetter:l=bm,nodePredicate:c=wm,nodeCloneFn:u=Sm,detectCycles:h=!0}={})=>{const d=r||{}
let p,f,m=Array.isArray(e),g=[e],y=-1,v=[],b=e
const w=[],S=[]
do{y+=1
const e=y===g.length
let r
const x=e&&0!==v.length
if(e){if(r=0===S.length?void 0:w.pop(),b=f,f=S.pop(),x)if(m){b=b.slice()
let e=0
for(const[t,r]of v){const n=t-e
r===s?(b.splice(n,1),e+=1):b[n]=r}}else{b=u(b)
for(const[e,t]of v)b[e]=t}y=p.index,g=p.keys,v=p.edits,m=p.inArray,p=p.prev}else if(f!==s&&void 0!==f){if(r=m?y:g[y],b=f[r],b===s||void 0===b)continue
w.push(r)}let E
if(!Array.isArray(b)){if(!c(b))throw new bh(`Invalid AST Node: ${String(b)}`,{node:b})
if(h&&S.includes(b)){w.pop()
continue}const s=a(t,l(b),e)
if(s){for(const[e,r]of Object.entries(n))t[e]=r
const i={replaceWith(t,n){"function"==typeof n?n(t,b,r,f,w,S):f&&(f[r]=t),e||(b=t)}}
E=await s.call(t,b,r,f,w,S,i)}if(E===i)break
if(E===o){if(!e){w.pop()
continue}}else if(void 0!==E&&(v.push([r,E]),!e)){if(!c(E)){w.pop()
continue}b=E}}var k
void 0===E&&x&&v.push([r,b]),e||(p={inArray:m,index:y,keys:g,edits:v,prev:p},m=Array.isArray(b),g=m?b:null!==(k=d[l(b)])&&void 0!==k?k:[],y=-1,v=[],f!==s&&void 0!==f&&S.push(f),f=b)}while(void 0!==p)
return 0!==v.length?v[v.length-1][1]:e}
var Em=l(34035)
function Nm(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var _m=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=id,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=Nm(this.xf["@@transducer/step"](e,!1))),e},e}(),Cm=Eh(rd(["all"],(function(e){return function(t){return new _m(e,t)}}),(function(e,t){for(var r=0;r<t.length;){if(!e(t[r]))return!1
r+=1}return!0})))
const Am=Cm
class Om extends Em.Om{constructor(e,t,r){super(e,t,r),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const Pm=Om
class Tm extends Em.Om{constructor(e,t,r){super(e,t,r),this.element="comment"}}const Im=Tm
class jm extends Em.wE{constructor(e,t,r){super(e,t,r),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>"annotation"===e.element))}get warnings(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>"annotation"===e.element&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>"annotation"===e.element)).isEmpty}replaceResult(e){const{result:t}=this
if(lp(t))return!1
const r=this.content.findIndex((e=>e===t))
return-1!==r&&(this.content[r]=e,!0)}}const Dm=jm
class Mm extends Em.wE{constructor(e,t,r){super(e,t,r),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(void 0===e)return
const t=new Em.wE([e.start.row,e.start.column,e.start.char]),r=new Em.wE([e.end.row,e.end.column,e.end.char])
t.classes.push("position"),r.classes.push("position"),this.push(t).push(r)}}const Bm=Mm,Rm=(e,t)=>"object"==typeof t&&null!==t&&e in t&&"function"==typeof t[e],Lm=e=>"object"==typeof e&&null!=e&&"_storedElement"in e&&"string"==typeof e._storedElement&&"_content"in e,zm=(e,t)=>"object"==typeof t&&null!==t&&"primitive"in t&&"function"==typeof t.primitive&&t.primitive()===e,Fm=(e,t)=>"object"==typeof t&&null!==t&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof Em.wE)&&t.classes.includes(e),Vm=(e,t)=>"object"==typeof t&&null!==t&&"element"in t&&t.element===e,$m=e=>e({hasMethod:Rm,hasBasicElementProps:Lm,primitiveEq:zm,isElementType:Vm,hasClass:Fm}),Um=$m((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Em.Hg||e(r)&&t(void 0,r))),Hm=$m((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Em.Om||e(r)&&t("string",r))),qm=$m((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Em.kT||e(r)&&t("number",r))),Wm=$m((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Em.Os||e(r)&&t("null",r))),Km=$m((({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof Em.bd||e(r)&&t("boolean",r))),Zm=$m((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof Em.Sh||e(n)&&t("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),Jm=$m((({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof Em.wE&&!(n instanceof Em.Sh)||e(n)&&t("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),Gm=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Em.Pr||e(n)&&t("member",n)&&r(void 0,n))),Ym=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Em.Ft||e(n)&&t("link",n)&&r(void 0,n))),Xm=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Em.sI||e(n)&&t("ref",n)&&r(void 0,n))),Qm=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Pm||e(n)&&t("annotation",n)&&r("array",n))),eg=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Im||e(n)&&t("comment",n)&&r("string",n))),tg=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Dm||e(n)&&t("parseResult",n)&&r("array",n))),rg=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Bm||e(n)&&t("sourceMap",n)&&r("array",n))),ng=e=>Vm("object",e)||Vm("array",e)||Vm("boolean",e)||Vm("number",e)||Vm("string",e)||Vm("null",e)||Vm("member",e),ig=e=>rg(e.meta.get("sourceMap")),sg=(e,t)=>{if(0===e.length)return!0
const r=t.attributes.get("symbols")
return!!Jm(r)&&Am(Zd(r.toValue()),e)},og=(e,t)=>0===e.length||Am(Zd(t.classes.toValue()),e),ag=class extends bh{constructor(e,t){super(e,t),s(this,"value",void 0),void 0!==t&&(this.value=t.value)}},lg=class extends ag{},cg=class extends ag{},ug=(e,t={})=>{const{visited:r=new WeakMap}=t,n={...t,visited:r}
if(r.has(e))return r.get(e)
if(e instanceof Em.KeyValuePair){const{key:t,value:i}=e,s=Um(t)?ug(t,n):t,o=Um(i)?ug(i,n):i,a=new Em.KeyValuePair(s,o)
return r.set(e,a),a}if(e instanceof Em.ot){const t=e=>ug(e,n),i=[...e].map(t),s=new Em.ot(i)
return r.set(e,s),s}if(e instanceof Em.G6){const t=e=>ug(e,n),i=[...e].map(t),s=new Em.G6(i)
return r.set(e,s),s}if(Um(e)){const t=pg(e)
if(r.set(e,t),e.content)if(Um(e.content))t.content=ug(e.content,n)
else if(e.content instanceof Em.KeyValuePair)t.content=ug(e.content,n)
else if(Array.isArray(e.content)){const r=e=>ug(e,n)
t.content=e.content.map(r)}else t.content=e.content
else t.content=e.content
return t}throw new lg("Value provided to cloneDeep function couldn't be cloned",{value:e})}
ug.safe=e=>{try{return ug(e)}catch{return e}}
const hg=e=>{const{key:t,value:r}=e
return new Em.KeyValuePair(t,r)},dg=e=>{const t=new e.constructor
if(t.element=e.element,e.meta.length>0&&(t._meta=ug(e.meta)),e.attributes.length>0&&(t._attributes=ug(e.attributes)),Um(e.content)){const r=e.content
t.content=dg(r)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof Em.KeyValuePair?t.content=hg(e.content):t.content=e.content
return t},pg=e=>{if(e instanceof Em.KeyValuePair)return hg(e)
if(e instanceof Em.ot)return(e=>{const t=[...e]
return new Em.ot(t)})(e)
if(e instanceof Em.G6)return(e=>{const t=[...e]
return new Em.G6(t)})(e)
if(Um(e))return dg(e)
throw new cg("Value provided to cloneShallow function couldn't be cloned",{value:e})}
pg.safe=e=>{try{return pg(e)}catch{return e}}
const fg=e=>Zm(e)?"ObjectElement":Jm(e)?"ArrayElement":Gm(e)?"MemberElement":Hm(e)?"StringElement":Km(e)?"BooleanElement":qm(e)?"NumberElement":Wm(e)?"NullElement":Ym(e)?"LinkElement":Xm(e)?"RefElement":void 0,mg=e=>Um(e)?pg(e):Sm(e),gg=Pd(fg,xp),yg={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]}
class vg{constructor({predicate:e=gm,returnOnTrue:t,returnOnFalse:r}={}){s(this,"result",void 0),s(this,"predicate",void 0),s(this,"returnOnTrue",void 0),s(this,"returnOnFalse",void 0),this.result=[],this.predicate=e,this.returnOnTrue=t,this.returnOnFalse=r}enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}const bg=(e,t,{keyMap:r=yg,...n}={})=>xm(e,t,{keyMap:r,nodeTypeGetter:fg,nodePredicate:gg,nodeCloneFn:mg,...n})
bg[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=yg,...n}={})=>xm[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:r,nodeTypeGetter:fg,nodePredicate:gg,nodeCloneFn:mg,...n})
const wg=e=>"string"==typeof(null==e?void 0:e.type)?e.type:fg(e),Sg={EphemeralObject:["content"],EphemeralArray:["content"],...yg},kg=(e,t,{keyMap:r=Sg,...n}={})=>bg(e,t,{keyMap:r,nodeTypeGetter:wg,nodePredicate:mm,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n})
kg[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=Sg,...r}={})=>bg[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,nodeTypeGetter:wg,nodePredicate:mm,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r})
const xg=class{constructor(e){s(this,"type","EphemeralArray"),s(this,"content",[]),s(this,"reference",void 0),this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}},Eg=class{constructor(e){s(this,"type","EphemeralObject"),s(this,"content",[]),s(this,"reference",void 0),this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}}
class Ng{constructor(){s(this,"ObjectElement",{enter:e=>{if(this.references.has(e))return this.references.get(e).toReference()
const t=new Eg(e.content)
return this.references.set(e,t),t}}),s(this,"EphemeralObject",{leave:e=>e.toObject()}),s(this,"MemberElement",{enter:e=>[e.key,e.value]}),s(this,"ArrayElement",{enter:e=>{if(this.references.has(e))return this.references.get(e).toReference()
const t=new xg(e.content)
return this.references.set(e,t),t}}),s(this,"EphemeralArray",{leave:e=>e.toArray()}),s(this,"references",new WeakMap)}BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}RefElement(e,...t){var r
const n=t[3]
return"EphemeralObject"===(null===(r=n[n.length-1])||void 0===r?void 0:r.type)?Symbol.for("delete-node"):String(e.toValue())}LinkElement(e){return Hm(e.href)?e.href.toValue():""}}const _g=e=>Um(e)?Hm(e)||qm(e)||Km(e)||Wm(e)?e.toValue():kg(e,new Ng):e
var Cg=Nh((function(e,t,r){var n,i={}
for(n in r=r||{},t=t||{})Dh(n,t)&&(i[n]=Dh(n,r)?e(n,t[n],r[n]):t[n])
for(n in r)Dh(n,r)&&!Dh(n,i)&&(i[n]=r[n])
return i}))
const Ag=Cg
var Og=Nh((function e(t,r,n){return Ag((function(r,n,i){return nd(n)&&nd(i)?e(t,n,i):t(r,n,i)}),r,n)}))
const Pg=Og,Tg=Eh((function(e,t){return Pg((function(e,t,r){return r}),e,t)})),Ig=Eh(Oh),jg=Ad(0,-1)
var Dg=Eh((function(e,t){return e.apply(this,t)}))
const Mg=Dg,Bg=sp(vp),Rg=Eh((function(e,t){return e&&t})),Lg=Eh((function(e,t){return Vd(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:ip(Rg)(e,t)}))
var zg=xh((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():td(e)?[]:Ch(e)?"":nd(e)?{}:Rh(e)?function(){return arguments}():function(e){var t=Object.prototype.toString.call(e)
return"[object Uint8ClampedArray]"===t||"[object Int8Array]"===t||"[object Uint8Array]"===t||"[object Int16Array]"===t||"[object Uint16Array]"===t||"[object Int32Array]"===t||"[object Uint32Array]"===t||"[object Float32Array]"===t||"[object Float64Array]"===t||"[object BigInt64Array]"===t||"[object BigUint64Array]"===t}(e)?e.constructor.from(""):void 0}))
const Fg=zg,Vg=xh((function(e){return null!=e&&Kh(e,Fg(e))})),$g=Ld(1,vp(Array.isArray)?Array.isArray:Pd(Hh,mp("Array"))),Ug=Lg($g,Vg)
var Hg=Ld(3,(function(e,t,r){var n=Ig(e,r),i=Ig(jg(e),r)
if(!Bg(n)&&!Ug(e)){var s=wd(n,i)
return Mg(s,t)}}))
const qg=Hg,Wg=Kh(null),Kg=sp(Wg)
function Zg(e){return Zg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zg(e)}const Jg=function(e){return"object"===Zg(e)},Gg=Ld(1,Lg(Kg,Jg))
var Yg=Pd(Hh,mp("Object")),Xg=Pd(hd,Kh(hd(Object))),Qg=Ph(Lg(vp,Xg),["constructor"]),ey=Ld(1,(function(e){if(!Gg(e)||!Yg(e))return!1
var t=Object.getPrototypeOf(e)
return!!Wg(t)||Qg(t)}))
const ty=ey
class ry extends Em.g${constructor(){super(),this.register("annotation",Pm),this.register("comment",Im),this.register("parseResult",Dm),this.register("sourceMap",Bm)}}const ny=new ry,iy=e=>{const t=new ry
return ty(e)&&t.use(e),t},sy=ny,oy=()=>({predicates:{...T},namespace:sy}),ay={toolboxCreator:oy,visitorOptions:{nodeTypeGetter:fg,exposeEdits:!0}},ly=(e,t,r={})=>{if(0===t.length)return e
const n=Tg(ay,r),{toolboxCreator:i,visitorOptions:s}=n,o=i(),a=t.map((e=>e(o))),l=km(a.map(jd({},"visitor")),{...s})
a.forEach(qg(["pre"],[]))
const c=bg(e,l,s)
return a.forEach(qg(["post"],[])),c}
ly[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,r={})=>{if(0===t.length)return e
const n=Tg(ay,r),{toolboxCreator:i,visitorOptions:s}=n,o=i(),a=t.map((e=>e(o))),l=km[Symbol.for("nodejs.util.promisify.custom")],c=bg[Symbol.for("nodejs.util.promisify.custom")],u=l(a.map(jd({},"visitor")),{...s})
await Promise.allSettled(a.map(qg(["pre"],[])))
const h=await c(e,u,s)
return await Promise.allSettled(a.map(qg(["post"],[]))),h}
const cy=e=>(t,r={})=>((e,{Type:t,plugins:r=[]})=>{const n=new t(e)
return Um(e)&&(e.meta.length>0&&(n.meta=ug(e.meta)),e.attributes.length>0&&(n.attributes=ug(e.attributes))),ly(n,r,{toolboxCreator:oy,visitorOptions:{nodeTypeGetter:fg}})})(t,{...r,Type:e})
Em.Sh.refract=cy(Em.Sh),Em.wE.refract=cy(Em.wE),Em.Om.refract=cy(Em.Om),Em.bd.refract=cy(Em.bd),Em.Os.refract=cy(Em.Os),Em.kT.refract=cy(Em.kT),Em.Ft.refract=cy(Em.Ft),Em.sI.refract=cy(Em.sI),Pm.refract=cy(Pm),Im.refract=cy(Im),Dm.refract=cy(Dm),Bm.refract=cy(Bm)
const uy=(e,t=new WeakMap)=>(Gm(e)?(t.set(e.key,e),uy(e.key,t),t.set(e.value,e),uy(e.value,t)):e.children.forEach((r=>{t.set(r,e),uy(r,t)})),t),hy=class{constructor({element:e}){s(this,"element",void 0),s(this,"edges",void 0),this.element=e}transclude(e,t){var r
if(e===this.element)return t
if(e===t)return this.element
this.edges=null!==(r=this.edges)&&void 0!==r?r:uy(this.element)
const n=this.edges.get(e)
return lp(n)?void 0:(Zm(n)?((e,t,r)=>{const n=r.get(e)
Zm(n)&&(n.content=n.map(((i,s,o)=>o===e?(r.delete(e),r.set(t,n),t):o)))})(e,t,this.edges):Jm(n)?((e,t,r)=>{const n=r.get(e)
Jm(n)&&(n.content=n.map((i=>i===e?(r.delete(e),r.set(t,n),t):i)))})(e,t,this.edges):Gm(n)&&((e,t,r)=>{const n=r.get(e)
Gm(n)&&(n.key===e&&(n.key=t,r.delete(e),r.set(t,n)),n.value===e&&(n.value=t,r.delete(e),r.set(t,n)))})(e,t,this.edges),this.element)}},dy=Pd(wp(/~/g,"~0"),wp(/\//g,"~1"),encodeURIComponent),py=class extends bh{},fy=class extends py{constructor(e,t){super(e,t),s(this,"tokens",void 0),void 0!==t&&(this.tokens=[...t.tokens])}}
var my=Eh((function(e,t){return Ld(Nd(up,0,dp("length",t)),(function(){var r=arguments,n=this
return e.apply(n,Jh((function(e){return e.apply(n,r)}),t))}))}))
const gy=my,yy=xh((function(e){return e}))
var vy=Lg(Ld(1,Pd(Hh,mp("Number"))),isFinite),by=Ld(1,vy),wy=Lg(vp(Number.isFinite)?Ld(1,wd(Number.isFinite,Number)):by,gy(Kh,[Math.floor,yy])),Sy=Ld(1,wy)
const ky=vp(Number.isInteger)?Ld(1,wd(Number.isInteger,Number)):Sy
var xy=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=id,e.prototype["@@transducer/result"]=sd,e.prototype["@@transducer/step"]=function(e,t){this.i+=1
var r=0===this.n?e:this.xf["@@transducer/step"](e,t)
return this.n>=0&&this.i>=this.n?Nm(r):r},e}()
const Ey=Eh(rd(["take"],(function(e){return function(t){return new xy(e,t)}}),(function(e,t){return Ad(0,e<0?1/0:e,t)})))
var Ny=Eh((function(e,t){return Kh(Ey(e.length,t),e)}))
const _y=Ny,Cy=Kh("")
var Ay=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=id,e.prototype["@@transducer/result"]=sd,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e
this.f=null}return this.xf["@@transducer/step"](e,t)},e}()
const Oy=Eh(rd(["dropWhile"],(function(e){return function(t){return new Ay(e,t)}}),(function(e,t){for(var r=0,n=t.length;r<n&&e(t[r]);)r+=1
return Ad(r,1/0,t)}))),Py=Fd((function(e,t){return Pd(Ud(""),Oy(Zd(e)),Wd(""))(t)})),Ty=Pd(wp(/~1/g,"/"),wp(/~0/g,"~"),(e=>{try{return decodeURIComponent(e)}catch{return e}})),Iy=class extends py{constructor(e,t){super(e,t),s(this,"pointer",void 0),void 0!==t&&(this.pointer=t.pointer)}},jy=e=>{const t=(e=>{const t=e.indexOf("#")
return-1!==t?e.substring(t):"#"})(e)
return Py("#",t)},Dy=class extends py{constructor(e,t){super(e,t),s(this,"pointer",void 0),s(this,"tokens",void 0),s(this,"failedToken",void 0),s(this,"failedTokenPosition",void 0),s(this,"element",void 0),void 0!==t&&(this.pointer=t.pointer,Array.isArray(t.tokens)&&(this.tokens=[...t.tokens]),this.failedToken=t.failedToken,this.failedTokenPosition=t.failedTokenPosition,this.element=t.element)}},My=(e,t)=>{let r
try{r=(e=>{if(Cy(e))return[]
if(!_y("/",e))throw new Iy(`Invalid JSON Pointer "${e}". JSON Pointers must begin with "/"`,{pointer:e})
try{const t=Pd(Ud("/"),Qd(Ty))(e)
return Od(t)}catch(t){throw new Iy(`JSON Pointer parsing of "${e}" encountered an error.`,{pointer:e,cause:t})}})(e)}catch(r){throw new Dy(`JSON Pointer evaluation failed while parsing the pointer "${e}".`,{pointer:e,element:ug(t),cause:r})}return r.reduce(((t,n,i)=>{if(Zm(t)){if(!t.hasKey(n))throw new Dy(`JSON Pointer evaluation failed while evaluating token "${n}" against an ObjectElement`,{pointer:e,tokens:r,failedToken:n,failedTokenPosition:i,element:ug(t)})
return t.get(n)}if(Jm(t)){if(!(n in t.content)||!ky(Number(n)))throw new Dy(`JSON Pointer evaluation failed while evaluating token "${n}" against an ArrayElement`,{pointer:e,tokens:r,failedToken:n,failedTokenPosition:i,element:ug(t)})
return t.get(Number(n))}throw new Dy(`JSON Pointer evaluation failed while evaluating token "${n}" against an unexpected Element`,{pointer:e,tokens:r,failedToken:n,failedTokenPosition:i,element:ug(t)})}),t)}
class By extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="callback"}}const Ry=By
class Ly extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}}const zy=Ly
class Fy extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const Vy=Fy
class $y extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}}const Uy=$y
class Hy extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}}const qy=Hy
class Wy extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="example"}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}}const Ky=Wy
class Zy extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const Jy=Zy
class Gy extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new Em.bd(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Em.bd(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(Gy.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0})
const Yy=Gy
class Xy extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const Qy=Xy
class ev extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const tv=ev
class rv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){var e,t
return Hm(this.operationRef)?null===(e=this.operationRef)||void 0===e?void 0:e.meta.get("operation"):Hm(this.operationId)?null===(t=this.operationId)||void 0===t?void 0:t.meta.get("operation"):void 0}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}}const nv=rv
class iv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}}const sv=iv
class ov extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const av=ov
class lv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const cv=lv
class uv extends Em.Om{constructor(e,t,r){super(e,t,r),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const hv=uv
class dv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const pv=dv
class fv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Em.bd(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}}const mv=fv
class gv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="parameter"}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get required(){return this.hasKey("required")?this.get("required"):new Em.bd(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Em.bd(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(gv.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0})
const yv=gv
class vv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const bv=vv
class wv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="paths"}}const Sv=wv
class kv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const xv=kv
class Ev extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new Em.bd(!1)}set required(e){this.set("required",e)}}const Nv=Ev
class _v extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}}const Cv=_v
class Av extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const Ov=Av,Pv=class extends vh{}
class Tv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Iv=Tv
class jv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Dv=jv
class Mv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Bv=Mv
class Rv extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const Lv=Rv
var zv=Eh((function(e,t){return ed((function(r,n){return r[n]=e(t[n],n,t),r}),{},Uh(t))}))
const Fv=zv,Vv=xh((function(e){return null==e}))
var $v=Eh((function(e,t){if(0===e.length||Vv(t))return!1
for(var r=t,n=0;n<e.length;){if(Vv(r)||!Dh(e[n],r))return!1
r=r[e[n]],n+=1}return!0}))
const Uv=$v
var Hv=Eh((function(e,t){return Uv([e],t)}))
const qv=Hv,Wv=Nh((function(e,t,r){return e(Id(t,r))})),Kv=(e,t)=>{const r=Td(e,t)
return Fv((e=>{if(ty(e)&&qv("$ref",e)&&Wv(xp,"$ref",e)){const t=Ig(["$ref"],e),n=Py("#/",t)
return Ig(n.split("/"),r)}return ty(e)?Kv(e,r):e}),e)},Zv=e=>{const t=e.meta.length>0?ug(e.meta):void 0,r=e.attributes.length>0?ug(e.attributes):void 0
return new e.constructor(void 0,t,r)},Jv=(e,t)=>t.clone&&t.isMergeableElement(e)?Qv(Zv(e),e,t):e,Gv=e=>"function"!=typeof e.customMetaMerge?e=>ug(e):e.customMetaMerge,Yv=e=>"function"!=typeof e.customAttributesMerge?e=>ug(e):e.customAttributesMerge,Xv={clone:!0,isMergeableElement:e=>Zm(e)||Jm(e),arrayElementMerge:(e,t,r)=>e.concat(t)["fantasy-land/map"]((e=>Jv(e,r))),objectElementMerge:(e,t,r)=>{const n=Zm(e)?Zv(e):Zv(t)
return Zm(e)&&e.forEach(((e,t,i)=>{const s=pg(i)
s.value=Jv(e,r),n.content.push(s)})),t.forEach(((t,i,s)=>{const o=_g(i)
let a
if(Zm(e)&&e.hasKey(o)&&r.isMergeableElement(t)){const n=e.get(o)
a=pg(s),a.value=((e,t)=>{if("function"!=typeof t.customMerge)return Qv
const r=t.customMerge(e,t)
return"function"==typeof r?r:Qv})(i,r)(n,t)}else a=pg(s),a.value=Jv(t,r)
n.remove(o),n.content.push(a)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0}
function Qv(e,t,r){var n,i,s
const o={...Xv,...r}
o.isMergeableElement=null!==(n=o.isMergeableElement)&&void 0!==n?n:Xv.isMergeableElement,o.arrayElementMerge=null!==(i=o.arrayElementMerge)&&void 0!==i?i:Xv.arrayElementMerge,o.objectElementMerge=null!==(s=o.objectElementMerge)&&void 0!==s?s:Xv.objectElementMerge
const a=Jm(t)
if(a!==Jm(e))return Jv(t,o)
const l=a&&"function"==typeof o.arrayElementMerge?o.arrayElementMerge(e,t,o):o.objectElementMerge(e,t,o)
return l.meta=Gv(o)(e.meta,t.meta),l.attributes=Yv(o)(e.attributes,t.attributes),l}Qv.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.")
return 0===e.length?new Em.Sh:e.reduce(((e,r)=>Qv(e,r,t)),Zv(e[0]))}
const eb=class{constructor(e){s(this,"element",void 0),Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=Qv(t.meta,e.meta),ig(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=Qv(t.attributes,e.attributes))}},tb=class extends eb{enter(e){return this.element=ug(e),vm}},rb=(e,t,r=[])=>{const n=Object.getOwnPropertyDescriptors(t)
for(let i of r)delete n[i]
Object.defineProperties(e,n)},nb=(e,t=[e])=>{const r=Object.getPrototypeOf(e)
return null===r?t:nb(r,[...t,r])},ib=(e,t,r=[])=>{var n
const i=null!==(n=((...e)=>{if(0===e.length)return
let t
const r=e.map((e=>nb(e)))
for(;r.every((e=>e.length>0));){const e=r.map((e=>e.pop())),n=e[0]
if(!e.every((e=>e===n)))break
t=n}return t})(...e))&&void 0!==n?n:Object.prototype,s=Object.create(i),o=nb(i)
for(let a of e){let e=nb(a)
for(let t=e.length-1;t>=0;t--){let n=e[t];-1===o.indexOf(n)&&(rb(s,n,["constructor",...r]),o.push(n))}}return s.constructor=t,s},sb=e=>e.filter(((t,r)=>e.indexOf(t)==r)),ob=new WeakMap,ab=e=>ob.get(e),lb=(e,t)=>{var r,n
const i=sb([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),s={}
for(let o of i)s[o]=sb([...null!==(r=null==e?void 0:e[o])&&void 0!==r?r:[],...null!==(n=null==t?void 0:t[o])&&void 0!==n?n:[]])
return s},cb=(e,t)=>{var r,n,i,s
return{property:lb(null!==(r=null==e?void 0:e.property)&&void 0!==r?r:{},null!==(n=null==t?void 0:t.property)&&void 0!==n?n:{}),method:lb(null!==(i=null==e?void 0:e.method)&&void 0!==i?i:{},null!==(s=null==t?void 0:t.method)&&void 0!==s?s:{})}},ub=new Map
function hb(...e){var t,r,n
const i=e.map((e=>e.prototype))
function s(...t){for(const r of e)rb(this,new r(...t))}s.prototype=ib(i,s),Object.setPrototypeOf(s,ib(e,null,["prototype"]))
let o=s
{const i=((...e)=>{const t=((...e)=>{var t
const r=new Set,n=new Set([...e])
for(;n.size>0;)for(let e of n){const i=[...nb(e.prototype).map((e=>e.constructor)),...null!==(t=ab(e))&&void 0!==t?t:[]].filter((e=>!r.has(e)))
for(let e of i)n.add(e)
r.add(e),n.delete(e)}return[...r]})(...e).map((e=>ub.get(e))).filter((e=>!!e))
return 0==t.length?{}:1==t.length?t[0]:t.reduce(((e,t)=>((e,t)=>{var r,n,i,s,o,a
return{class:sb([...null!==(r=null==e?void 0:e.class)&&void 0!==r?r:[],...null!==(n=null==t?void 0:t.class)&&void 0!==n?n:[]]),static:cb(null!==(i=null==e?void 0:e.static)&&void 0!==i?i:{},null!==(s=null==t?void 0:t.static)&&void 0!==s?s:{}),instance:cb(null!==(o=null==e?void 0:e.instance)&&void 0!==o?o:{},null!==(a=null==t?void 0:t.instance)&&void 0!==a?a:{})}})(e,t)))})(...e)
for(let e of null!==(t=null==i?void 0:i.class)&&void 0!==t?t:[]){const t=e(o)
t&&(o=t)}db(null!==(r=null==i?void 0:i.static)&&void 0!==r?r:{},o),db(null!==(n=null==i?void 0:i.instance)&&void 0!==n?n:{},o.prototype)}var a,l
return a=o,l=e,ob.set(a,l),o}const db=(e,t)=>{const r=e.property,n=e.method
if(r)for(let i in r)for(let e of r[i])e(t,i)
if(n)for(let i in n)for(let e of n[i])e(t,i,Object.getOwnPropertyDescriptor(t,i))},pb=Eh((function(e,t){for(var r={},n=0;n<e.length;)e[n]in t&&(r[e[n]]=t[e[n]]),n+=1
return r})),fb=class extends eb{constructor({specObj:e,...t}){super({...t}),s(this,"specObj",void 0),s(this,"passingOptionsNames",["specObj"]),this.specObj=e}retrievePassingOptions(){return pb(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Ig(["visitors",...e,"fixedFields"],this.specObj)
return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Ph(vp,["visitors",...e],this.specObj)?Ig(["visitors",...e],this.specObj):Ig(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions()
return new(this.retrieveVisitor(e))({...r,...t})}toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r)
return n instanceof tb&&(null==n?void 0:n.constructor)===tb?ug(t):(bg(t,n,r),n.element)}},mb=class extends fb{constructor({specPath:e,ignoredFields:t,...r}){super({...r}),s(this,"specPath",void 0),s(this,"ignoredFields",void 0),this.specPath=e,this.ignoredFields=t||[]}ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t)
return e.forEach(((e,n,i)=>{if(Hm(n)&&r.includes(_g(n))&&!this.ignoredFields.includes(_g(n))){const r=this.toRefractedElement([...t,"fixedFields",_g(n)],e),s=new Em.Pr(ug(n),r)
this.copyMetaAndAttributes(i,s),s.classes.push("fixed-field"),this.element.content.push(s)}else this.ignoredFields.includes(_g(n))||this.element.content.push(ug(i))})),this.copyMetaAndAttributes(e,this.element),vm}}
class gb extends(hb(mb,tb)){constructor(e){super(e),this.element=new Iv,this.specPath=op(["document","objects","JSONSchema"])}}const yb=gb,vb=class{constructor({parent:e}){s(this,"parent",void 0),this.parent=e}},bb=e=>Zm(e)&&e.hasKey("$ref")
class wb extends(hb(fb,vb,tb)){ObjectElement(e){const t=bb(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]
return this.element=this.toRefractedElement(t,e),vm}ArrayElement(e){return this.element=new Em.wE,this.element.classes.push("json-schema-items"),e.forEach((e=>{const t=bb(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e)
this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),vm}}const Sb=wb,kb=xh((function(e){return Ld(Nd(up,0,dp("length",e)),(function(){for(var t=0,r=e.length;t<r;){if(!e[t].apply(this,arguments))return!1
t+=1}return!0}))})),xb=xh((function(e){return!Vg(e)})),Eb=Eh((function(e,t){return e||t}))
var Nb=sp(Ld(1,Lg(Kg,Eh((function(e,t){return Vd(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:ip(Eb)(e,t)}))(Jg,vp))))
const _b=kb([xp,Nb,xb]),Cb=class extends fb{constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:r,...n}){super({...n}),s(this,"specPath",void 0),s(this,"ignoredFields",void 0),s(this,"fieldPatternPredicate",gm),this.specPath=e,this.ignoredFields=t||[],"function"==typeof r&&(this.fieldPatternPredicate=r)}ObjectElement(e){return e.forEach(((e,t,r)=>{if(!this.ignoredFields.includes(_g(t))&&this.fieldPatternPredicate(_g(t))){const n=this.specPath(e),i=this.toRefractedElement(n,e),s=new Em.Pr(ug(t),i)
this.copyMetaAndAttributes(r,s),s.classes.push("patterned-field"),this.element.content.push(s)}else this.ignoredFields.includes(_g(t))||this.element.content.push(ug(r))})),this.copyMetaAndAttributes(e,this.element),vm}},Ab=class extends Cb{constructor(e){super(e),this.fieldPatternPredicate=_b}}
class Ob extends(hb(Ab,vb,tb)){constructor(e){super(e),this.element=new Em.Sh,this.element.classes.push("json-schema-properties"),this.specPath=e=>bb(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const Pb=Ob
class Tb extends(hb(Ab,vb,tb)){constructor(e){super(e),this.element=new Em.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=e=>bb(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const Ib=Tb
class jb extends(hb(Ab,vb,tb)){constructor(e){super(e),this.element=new Em.Sh,this.element.classes.push("json-schema-dependencies"),this.specPath=e=>bb(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const Db=jb
class Mb extends(hb(fb,vb,tb)){constructor(e){super(e),this.element=new Em.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((e=>{const t=bb(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e)
this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),vm}}const Bb=Mb
class Rb extends(hb(fb,vb,tb)){constructor(e){super(e),this.element=new Em.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((e=>{const t=bb(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e)
this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),vm}}const Lb=Rb
class zb extends(hb(fb,vb,tb)){constructor(e){super(e),this.element=new Em.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((e=>{const t=bb(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],r=this.toRefractedElement(t,e)
this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),vm}}const Fb=zb
class Vb extends(hb(Ab,vb,tb)){constructor(e){super(e),this.element=new Em.Sh,this.element.classes.push("json-schema-definitions"),this.specPath=e=>bb(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const $b=Vb
class Ub extends(hb(fb,vb,tb)){constructor(e){super(e),this.element=new Em.wE,this.element.classes.push("json-schema-links")}ArrayElement(e){return e.forEach((e=>{const t=this.toRefractedElement(["document","objects","LinkDescription"],e)
this.element.push(t)})),this.copyMetaAndAttributes(e,this.element),vm}}const Hb=Ub
class qb extends(hb(mb,tb)){constructor(e){super(e),this.element=new Dv,this.specPath=op(["document","objects","JSONReference"])}ObjectElement(e){const t=mb.prototype.ObjectElement.call(this,e)
return Hm(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const Wb=qb,Kb=Nh((function(e,t,r){return Ld(Math.max(e.length,t.length,r.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):r.apply(this,arguments)}))})),Zb=xh((function(e){return function(t,r){return e(t,r)?-1:e(r,t)?1:0}}))
var Jb=Eh((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}))
const Gb=Jb
var Yb=xh((function(e){return Ah(0,e)}))
const Xb=Yb,Qb=xh(Nm),ew=sp(Vv),tw=Lg($g,xb)
function rw(e,t){(null==t||t>e.length)&&(t=e.length)
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
return n}var nw=Pd(Gb(Zb((function(e,t){return e.length>t.length}))),Xb,Id("length")),iw=Fd((function(e,t,r){var n=r.apply(void 0,function(e){return function(e){if(Array.isArray(e))return rw(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return rw(e,t)
var r=Object.prototype.toString.call(e).slice(8,-1)
return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rw(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e))
return ew(n)?Qb(n):t}))
const sw=Kb(tw,(function(e){var t=nw(e)
return Ld(t,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
return Nd(iw(r),void 0,e)}))}),ap),ow=class extends fb{constructor({alternator:e,...t}){super({...t}),s(this,"alternator",void 0),this.alternator=e}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>Kb(e,op(t),ap))),r=sw(t)(e)
return this.element=this.toRefractedElement(r,e),vm}},aw=class extends ow{constructor(e){super(e),this.alternator=[{predicate:bb,specPath:["document","objects","JSONReference"]},{predicate:mm,specPath:["document","objects","JSONSchema"]}]}}
class lw extends(hb(mb,tb)){constructor(e){super(e),this.element=new Bv,this.specPath=op(["document","objects","Media"])}}const cw=lw
class uw extends(hb(mb,tb)){constructor(e){super(e),this.element=new Lv,this.specPath=op(["document","objects","LinkDescription"])}}const hw={visitors:{value:tb,JSONSchemaOrJSONReferenceVisitor:aw,document:{objects:{JSONSchema:{$visitor:yb,fixedFields:{id:{$ref:"#/visitors/value"},$schema:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},additionalItems:aw,items:Sb,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:class extends tb{ArrayElement(e){const t=this.enter(e)
return this.element.classes.push("json-schema-required"),t}},properties:Pb,additionalProperties:aw,patternProperties:Ib,dependencies:Db,enum:class extends tb{ArrayElement(e){const t=this.enter(e)
return this.element.classes.push("json-schema-enum"),t}},type:class extends tb{StringElement(e){const t=this.enter(e)
return this.element.classes.push("json-schema-type"),t}ArrayElement(e){const t=this.enter(e)
return this.element.classes.push("json-schema-type"),t}},allOf:Bb,anyOf:Lb,oneOf:Fb,not:aw,definitions:$b,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:Hb,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:Wb,fixedFields:{$ref:class extends tb{StringElement(e){const t=this.enter(e)
return this.element.classes.push("reference-value"),t}}}},Media:{$visitor:cw,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:uw,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:aw,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:aw}}}}}},dw=e=>{if(Um(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},pw={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...yg},fw=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Iv||e(n)&&t("JSONSchemaDraft4",n)&&r("object",n))),mw=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Dv||e(n)&&t("JSONReference",n)&&r("object",n))),gw=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Bv||e(n)&&t("media",n)&&r("object",n))),yw=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Lv||e(n)&&t("linkDescription",n)&&r("object",n))),vw={namespace:e=>{const{base:t}=e
return t.register("jSONSchemaDraft4",Iv),t.register("jSONReference",Dv),t.register("media",Bv),t.register("linkDescription",Lv),t}},bw=vw,ww=()=>{const e=iy(bw)
return{predicates:{...I,isStringElement:Hm},namespace:e}},Sw=e=>(t,r={})=>((e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=hw}={})=>{const i=(0,Em.e)(e),s=Kv(n),o=new(Ig(t,s))({specObj:s})
return bg(i,o),ly(o.element,r,{toolboxCreator:ww,visitorOptions:{keyMap:pw,nodeTypeGetter:dw}})})(t,{specPath:e,...r})
Iv.refract=Sw(["visitors","document","objects","JSONSchema","$visitor"]),Dv.refract=Sw(["visitors","document","objects","JSONReference","$visitor"]),Bv.refract=Sw(["visitors","document","objects","Media","$visitor"]),Lv.refract=Sw(["visitors","document","objects","LinkDescription","$visitor"])
const kw=class extends Iv{constructor(e,t,r){super(e,t,r),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new Pv("idProp getter in Schema class is not not supported.")}set idProp(e){throw new Pv("idProp setter in Schema class is not not supported.")}get $schema(){throw new Pv("$schema getter in Schema class is not not supported.")}set $schema(e){throw new Pv("$schema setter in Schema class is not not supported.")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){throw new Pv("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new Pv("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new Pv("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new Pv("dependencies setter in Schema class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){throw new Pv("definitions getter in Schema class is not not supported.")}set definitions(e){throw new Pv("definitions setter in Schema class is not not supported.")}get base(){throw new Pv("base getter in Schema class is not not supported.")}set base(e){throw new Pv("base setter in Schema class is not not supported.")}get links(){throw new Pv("links getter in Schema class is not not supported.")}set links(e){throw new Pv("links setter in Schema class is not not supported.")}get media(){throw new Pv("media getter in Schema class is not not supported.")}set media(e){throw new Pv("media setter in Schema class is not not supported.")}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}}
class xw extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="securityRequirement"}}const Ew=xw
class Nw extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const _w=Nw
class Cw extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}}const Aw=Cw
class Ow extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}}const Pw=Ow
class Tw extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Iw=Tw
class jw extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const Dw=jw,Mw=class{constructor(e={}){s(this,"element",void 0),Object.assign(this,e)}copyMetaAndAttributes(e,t){(e.meta.length>0||t.meta.length>0)&&(t.meta=Qv(t.meta,e.meta),ig(e)&&t.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(t.attributes=Qv(t.attributes,e.attributes))}},Bw=class extends Mw{enter(e){return this.element=ug(e),vm}},Rw=class extends Mw{constructor({specObj:e,passingOptionsNames:t,openApiGenericElement:r,openApiSemanticElement:n,...i}){super({...i}),s(this,"specObj",void 0),s(this,"passingOptionsNames",["specObj","openApiGenericElement","openApiSemanticElement"]),s(this,"openApiGenericElement",void 0),s(this,"openApiSemanticElement",void 0),this.specObj=e,this.openApiGenericElement=r,this.openApiSemanticElement=n,Array.isArray(t)&&(this.passingOptionsNames=t)}retrievePassingOptions(){return pb(this.passingOptionsNames,this)}retrieveFixedFields(e){const t=Ig(["visitors",...e,"fixedFields"],this.specObj)
return"object"==typeof t&&null!==t?Object.keys(t):[]}retrieveVisitor(e){return Ph(vp,["visitors",...e],this.specObj)?Ig(["visitors",...e],this.specObj):Ig(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,t={}){const r=this.retrievePassingOptions()
return new(this.retrieveVisitor(e))({...r,...t})}toRefractedElement(e,t,r={}){const n=this.retrieveVisitorInstance(e,r)
return n instanceof Bw&&(null==n?void 0:n.constructor)===Bw?ug(t):(bg(t,n,r),n.element)}},Lw=e=>Zm(e)&&e.hasKey("$ref"),zw=Zm,Fw=Zm,Vw=e=>Hm(e.key)&&_y("x-",_g(e.key)),$w=class extends Rw{constructor({specPath:e,ignoredFields:t,canSupportSpecificationExtensions:r,specificationExtensionPredicate:n,...i}){super({...i}),s(this,"specPath",void 0),s(this,"ignoredFields",void 0),s(this,"canSupportSpecificationExtensions",!0),s(this,"specificationExtensionPredicate",Vw),this.specPath=e,this.ignoredFields=t||[],"boolean"==typeof r&&(this.canSupportSpecificationExtensions=r),"function"==typeof n&&(this.specificationExtensionPredicate=n)}ObjectElement(e){const t=this.specPath(e),r=this.retrieveFixedFields(t)
return e.forEach(((e,n,i)=>{if(Hm(n)&&r.includes(_g(n))&&!this.ignoredFields.includes(_g(n))){const r=this.toRefractedElement([...t,"fixedFields",_g(n)],e),s=new Em.Pr(ug(n),r)
this.copyMetaAndAttributes(i,s),s.classes.push("fixed-field"),this.element.content.push(s)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(i)){const e=this.toRefractedElement(["document","extension"],i)
this.element.content.push(e)}else this.ignoredFields.includes(_g(n))||this.element.content.push(ug(i))})),this.copyMetaAndAttributes(e,this.element),vm}}
class Uw extends(hb($w,Bw)){constructor(e){super(e),this.element=new pv,this.specPath=op(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return $w.prototype.ObjectElement.call(this,e)}}const Hw=Uw
class qw extends(hb(Rw,Bw)){StringElement(e){const t=new hv(_g(e))
return this.copyMetaAndAttributes(e,t),this.element=t,vm}}const Ww=qw
class Kw extends(hb($w,Bw)){constructor(e){super(e),this.element=new Qy,this.specPath=op(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const Zw=Kw
class Jw extends(hb($w,Bw)){constructor(e){super(e),this.element=new Vy,this.specPath=op(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const Gw=Jw
class Yw extends(hb($w,Bw)){constructor(e){super(e),this.element=new tv,this.specPath=op(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const Xw=Yw
class Qw extends(hb($w,Bw)){constructor(e){super(e),this.element=new nv,this.specPath=op(["document","objects","Link"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=$w.prototype.ObjectElement.call(this,e)
return(Hm(this.element.operationId)||Hm(this.element.operationRef))&&this.element.classes.push("reference-element"),t}}const eS=Qw,tS=class extends Rw{constructor({specPath:e,ignoredFields:t,fieldPatternPredicate:r,canSupportSpecificationExtensions:n,specificationExtensionPredicate:i,...o}){super({...o}),s(this,"specPath",void 0),s(this,"ignoredFields",void 0),s(this,"fieldPatternPredicate",gm),s(this,"canSupportSpecificationExtensions",!1),s(this,"specificationExtensionPredicate",Vw),this.specPath=e,this.ignoredFields=t||[],"function"==typeof r&&(this.fieldPatternPredicate=r),"boolean"==typeof n&&(this.canSupportSpecificationExtensions=n),"function"==typeof i&&(this.specificationExtensionPredicate=i)}ObjectElement(e){return e.forEach(((e,t,r)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(r)){const e=this.toRefractedElement(["document","extension"],r)
this.element.content.push(e)}else if(!this.ignoredFields.includes(_g(t))&&this.fieldPatternPredicate(_g(t))){const n=this.specPath(e),i=this.toRefractedElement(n,e),s=new Em.Pr(ug(t),i)
this.copyMetaAndAttributes(r,s),s.classes.push("patterned-field"),this.element.content.push(s)}else this.ignoredFields.includes(_g(t))||this.element.content.push(ug(r))})),this.copyMetaAndAttributes(e,this.element),vm}},rS=class extends tS{constructor(e){super(e),this.fieldPatternPredicate=_b}}
class nS extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(nS.primaryClass)}}s(nS,"primaryClass","link-parameters")
const iS=nS
class sS extends(hb(rS,Bw)){constructor(e){super(e),this.element=new iS,this.specPath=op(["value"])}}const oS=sS
class aS extends(hb($w,Bw)){constructor(e){super(e),this.element=new Aw,this.specPath=op(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const lS=aS
class cS extends Em.wE{constructor(e,t,r){super(e,t,r),this.classes.push(cS.primaryClass)}}s(cS,"primaryClass","servers")
const uS=cS
class hS extends(hb(Rw,Bw)){constructor(e){super(e),this.element=new uS}ArrayElement(e){return e.forEach((e=>{const t=zw(e)?["document","objects","Server"]:["value"],r=this.toRefractedElement(t,e)
this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),vm}}const dS=hS
class pS extends(hb($w,Bw)){constructor(e){super(e),this.element=new Pw,this.specPath=op(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const fS=pS
class mS extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(mS.primaryClass)}}s(mS,"primaryClass","server-variables")
const gS=mS
class yS extends(hb(rS,Bw)){constructor(e){super(e),this.element=new gS,this.specPath=op(["document","objects","ServerVariable"])}}const vS=yS
class bS extends(hb($w,Bw)){constructor(e){super(e),this.element=new sv,this.specPath=op(["document","objects","MediaType"]),this.canSupportSpecificationExtensions=!0}}const wS=bS,SS=class extends Rw{constructor({alternator:e,...t}){super({...t}),s(this,"alternator",void 0),this.alternator=e||[]}enter(e){const t=this.alternator.map((({predicate:e,specPath:t})=>Kb(e,op(t),ap))),r=sw(t)(e)
return this.element=this.toRefractedElement(r,e),vm}},kS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ry||e(n)&&t("callback",n)&&r("object",n))),xS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof zy||e(n)&&t("components",n)&&r("object",n))),ES=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Vy||e(n)&&t("contact",n)&&r("object",n))),NS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ky||e(n)&&t("example",n)&&r("object",n))),_S=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Jy||e(n)&&t("externalDocumentation",n)&&r("object",n))),CS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Yy||e(n)&&t("header",n)&&r("object",n))),AS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Qy||e(n)&&t("info",n)&&r("object",n))),OS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof tv||e(n)&&t("license",n)&&r("object",n))),PS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof nv||e(n)&&t("link",n)&&r("object",n))),TS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof hv||e(n)&&t("openapi",n)&&r("string",n))),IS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>i=>i instanceof pv||e(i)&&t("openApi3_0",i)&&r("object",i)&&n("api",i))),jS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof mv||e(n)&&t("operation",n)&&r("object",n))),DS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof yv||e(n)&&t("parameter",n)&&r("object",n))),MS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof bv||e(n)&&t("pathItem",n)&&r("object",n))),BS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Sv||e(n)&&t("paths",n)&&r("object",n))),RS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof xv||e(n)&&t("reference",n)&&r("object",n))),LS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Nv||e(n)&&t("requestBody",n)&&r("object",n))),zS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Cv||e(n)&&t("response",n)&&r("object",n))),FS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ov||e(n)&&t("responses",n)&&r("object",n))),VS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof kw||e(n)&&t("schema",n)&&r("object",n))),$S=e=>Km(e)&&e.classes.includes("boolean-json-schema"),US=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ew||e(n)&&t("securityRequirement",n)&&r("object",n))),HS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof _w||e(n)&&t("securityScheme",n)&&r("object",n))),qS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Aw||e(n)&&t("server",n)&&r("object",n))),WS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Pw||e(n)&&t("serverVariable",n)&&r("object",n))),KS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof sv||e(n)&&t("mediaType",n)&&r("object",n))),ZS=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>i=>i instanceof uS||e(i)&&t("array",i)&&r("array",i)&&n("servers",i)))
class JS extends(hb(SS,Bw)){constructor(e){super(e),this.alternator=[{predicate:Lw,specPath:["document","objects","Reference"]},{predicate:mm,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=SS.prototype.enter.call(this,e)
return RS(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const GS=JS
class YS extends(hb(rS,Bw)){constructor(e){super(e),this.element=new Em.Sh,this.element.classes.push("examples"),this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Example"],this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}const XS=YS
class QS extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(QS.primaryClass),this.classes.push("examples")}}s(QS,"primaryClass","media-type-examples")
const ek=QS
class tk extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(tk.primaryClass)}}s(tk,"primaryClass","media-type-encoding")
const rk=tk
class nk extends(hb(rS,Bw)){constructor(e){super(e),this.element=new rk,this.specPath=op(["document","objects","Encoding"])}}const ik=nk
class sk extends(hb(rS,Bw)){constructor(e){super(e),this.element=new Ew,this.specPath=op(["value"])}}const ok=sk
class ak extends Em.wE{constructor(e,t,r){super(e,t,r),this.classes.push(ak.primaryClass)}}s(ak,"primaryClass","security")
const lk=ak
class ck extends(hb(Rw,Bw)){constructor(e){super(e),this.element=new lk}ArrayElement(e){return e.forEach((e=>{if(Zm(e)){const t=this.toRefractedElement(["document","objects","SecurityRequirement"],e)
this.element.push(t)}else this.element.push(ug(e))})),this.copyMetaAndAttributes(e,this.element),vm}}const uk=ck
class hk extends(hb($w,Bw)){constructor(e){super(e),this.element=new zy,this.specPath=op(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const dk=hk
class pk extends(hb($w,Bw)){constructor(e){super(e),this.element=new Iw,this.specPath=op(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const fk=pk
class mk extends(hb($w,Bw)){constructor(e){super(e),this.element=new xv,this.specPath=op(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const t=$w.prototype.ObjectElement.call(this,e)
return Hm(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const gk=mk
class yk extends(hb($w,Bw)){constructor(e){super(e),this.element=new yv,this.specPath=op(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=$w.prototype.ObjectElement.call(this,e)
return Zm(this.element.contentProp)&&this.element.contentProp.filter(KS).forEach(((e,t)=>{e.setMetaProperty("media-type",_g(t))})),t}}const vk=yk
class bk extends(hb(SS,Bw)){constructor(e){super(e),this.alternator=[{predicate:Lw,specPath:["document","objects","Reference"]},{predicate:mm,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=SS.prototype.enter.call(this,e)
return RS(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const wk=bk
class Sk extends(hb($w,Bw)){constructor(e){super(e),this.element=new Yy,this.specPath=op(["document","objects","Header"]),this.canSupportSpecificationExtensions=!0}}const kk=Sk
class xk extends(hb(SS,Bw)){constructor(e){super(e),this.alternator=[{predicate:Lw,specPath:["document","objects","Reference"]},{predicate:mm,specPath:["document","objects","Schema"]}]}ObjectElement(e){const t=SS.prototype.enter.call(this,e)
return RS(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}const Ek=xk
class Nk extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(Nk.primaryClass),this.classes.push("examples")}}s(Nk,"primaryClass","header-examples")
const _k=Nk
class Ck extends(hb(rS,Bw)){constructor(e){super(e),this.element=new Em.Sh,this.element.classes.push("content"),this.specPath=op(["document","objects","MediaType"])}}const Ak=Ck
class Ok extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(Ok.primaryClass),this.classes.push("content")}}s(Ok,"primaryClass","header-content")
const Pk=Ok
class Tk extends(hb($w,Bw)){constructor(e){super(e),this.element=new kw,this.specPath=op(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}}const Ik=Tk,{allOf:jk}=hw.visitors.document.objects.JSONSchema.fixedFields,{anyOf:Dk}=hw.visitors.document.objects.JSONSchema.fixedFields,{oneOf:Mk}=hw.visitors.document.objects.JSONSchema.fixedFields,{items:Bk}=hw.visitors.document.objects.JSONSchema.fixedFields,{properties:Rk}=hw.visitors.document.objects.JSONSchema.fixedFields,{type:Lk}=hw.visitors.document.objects.JSONSchema.fixedFields,{JSONSchemaOrJSONReferenceVisitor:zk}=hw.visitors,Fk=class extends zk{ObjectElement(e){const t=zk.prototype.enter.call(this,e)
return RS(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}}
class Vk extends(hb($w,Bw)){constructor(e){super(e),this.element=new Uy,this.specPath=op(["document","objects","Discriminator"]),this.canSupportSpecificationExtensions=!1}}const $k=Vk
class Uk extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(Uk.primaryClass)}}s(Uk,"primaryClass","discriminator-mapping")
const Hk=Uk
class qk extends(hb(rS,Bw)){constructor(e){super(e),this.element=new Hk,this.specPath=op(["value"])}}const Wk=qk
class Kk extends(hb($w,Bw)){constructor(e){super(e),this.element=new Dw,this.specPath=op(["document","objects","XML"]),this.canSupportSpecificationExtensions=!0}}const Zk=Kk
class Jk extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(Jk.primaryClass),this.classes.push("examples")}}s(Jk,"primaryClass","parameter-examples")
const Gk=Jk
class Yk extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(Yk.primaryClass),this.classes.push("content")}}s(Yk,"primaryClass","parameter-content")
const Xk=Yk
class Qk extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(Qk.primaryClass)}}s(Qk,"primaryClass","components-schemas")
const ex=Qk
class tx extends(hb(rS,Bw)){constructor(e){super(e),this.element=new ex,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}}const rx=tx
class nx extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(nx.primaryClass)}}s(nx,"primaryClass","components-responses")
const ix=nx
class sx extends(hb(rS,Bw)){constructor(e){super(e),this.element=new ix,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Response"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(zS).forEach(((e,t)=>{e.setMetaProperty("http-status-code",_g(t))})),t}}const ox=sx
class ax extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(ax.primaryClass),this.classes.push("parameters")}}s(ax,"primaryClass","components-parameters")
const lx=ax
class cx extends(hb(rS,Bw)){constructor(e){super(e),this.element=new lx,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","parameter")})),t}}const ux=cx
class hx extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(hx.primaryClass),this.classes.push("examples")}}s(hx,"primaryClass","components-examples")
const dx=hx
class px extends(hb(rS,Bw)){constructor(e){super(e),this.element=new dx,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Example"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","example")})),t}}const fx=px
class mx extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(mx.primaryClass)}}s(mx,"primaryClass","components-request-bodies")
const gx=mx
class yx extends(hb(rS,Bw)){constructor(e){super(e),this.element=new gx,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","RequestBody"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","requestBody")})),t}}const vx=yx
class bx extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(bx.primaryClass)}}s(bx,"primaryClass","components-headers")
const wx=bx
class Sx extends(hb(rS,Bw)){constructor(e){super(e),this.element=new wx,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.filter(CS).forEach(((e,t)=>{e.setMetaProperty("header-name",_g(t))})),t}}const kx=Sx
class xx extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(xx.primaryClass)}}s(xx,"primaryClass","components-security-schemes")
const Ex=xx
class Nx extends(hb(rS,Bw)){constructor(e){super(e),this.element=new Ex,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","securityScheme")})),t}}const _x=Nx
class Cx extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(Cx.primaryClass)}}s(Cx,"primaryClass","components-links")
const Ax=Cx
class Ox extends(hb(rS,Bw)){constructor(e){super(e),this.element=new Ax,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}const Px=Ox
class Tx extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(Tx.primaryClass)}}s(Tx,"primaryClass","components-callbacks")
const Ix=Tx
class jx extends(hb(rS,Bw)){constructor(e){super(e),this.element=new Ix,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}const Dx=jx
class Mx extends(hb($w,Bw)){constructor(e){super(e),this.element=new Ky,this.specPath=op(["document","objects","Example"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=$w.prototype.ObjectElement.call(this,e)
return Hm(this.element.externalValue)&&this.element.classes.push("reference-element"),t}}const Bx=Mx
class Rx extends(hb($w,Bw)){constructor(e){super(e),this.element=new Jy,this.specPath=op(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const Lx=Rx
class zx extends(hb($w,Bw)){constructor(e){super(e),this.element=new qy,this.specPath=op(["document","objects","Encoding"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const t=$w.prototype.ObjectElement.call(this,e)
return Zm(this.element.headers)&&this.element.headers.filter(CS).forEach(((e,t)=>{e.setMetaProperty("header-name",_g(t))})),t}}const Fx=zx
class Vx extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(Vx.primaryClass)}}s(Vx,"primaryClass","encoding-headers")
const $x=Vx
class Ux extends(hb(rS,Bw)){constructor(e){super(e),this.element=new $x,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!CS(e))return
const r=_g(t)
e.setMetaProperty("headerName",r)})),t}}const Hx=Ux
class qx extends(hb(tS,Bw)){constructor(e){super(e),this.element=new Sv,this.specPath=op(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=mm}ObjectElement(e){const t=tS.prototype.ObjectElement.call(this,e)
return this.element.filter(MS).forEach(((e,t)=>{t.classes.push("openapi-path-template"),t.classes.push("path-template"),e.setMetaProperty("path",ug(t))})),t}}const Wx=qx
class Kx extends(hb($w,Bw)){constructor(e){super(e),this.element=new Nv,this.specPath=op(["document","objects","RequestBody"])}ObjectElement(e){const t=$w.prototype.ObjectElement.call(this,e)
return Zm(this.element.contentProp)&&this.element.contentProp.filter(KS).forEach(((e,t)=>{e.setMetaProperty("media-type",_g(t))})),t}}const Zx=Kx
class Jx extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(Jx.primaryClass),this.classes.push("content")}}s(Jx,"primaryClass","request-body-content")
const Gx=Jx
class Yx extends(hb(tS,Bw)){constructor(e){super(e),this.element=new Ry,this.specPath=op(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=e=>/{(?<expression>[^}]{1,2083})}/.test(String(e))}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(MS).forEach(((e,t)=>{e.setMetaProperty("runtime-expression",_g(t))})),t}}const Xx=Yx
class Qx extends(hb($w,Bw)){constructor(e){super(e),this.element=new Cv,this.specPath=op(["document","objects","Response"])}ObjectElement(e){const t=$w.prototype.ObjectElement.call(this,e)
return Zm(this.element.contentProp)&&this.element.contentProp.filter(KS).forEach(((e,t)=>{e.setMetaProperty("media-type",_g(t))})),Zm(this.element.headers)&&this.element.headers.filter(CS).forEach(((e,t)=>{e.setMetaProperty("header-name",_g(t))})),t}}const eE=Qx
class tE extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(tE.primaryClass)}}s(tE,"primaryClass","response-headers")
const rE=tE
class nE extends(hb(rS,Bw)){constructor(e){super(e),this.element=new rE,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","header")})),this.element.forEach(((e,t)=>{if(!CS(e))return
const r=_g(t)
e.setMetaProperty("header-name",r)})),t}}const iE=nE
class sE extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(sE.primaryClass),this.classes.push("content")}}s(sE,"primaryClass","response-content")
const oE=sE
class aE extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(aE.primaryClass)}}s(aE,"primaryClass","response-links")
const lE=aE
class cE extends(hb(rS,Bw)){constructor(e){super(e),this.element=new lE,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","link")})),t}}const uE=cE
function hE(e){return"[object Number]"===Object.prototype.toString.call(e)}var dE=Eh((function(e,t){if(!hE(e)||!hE(t))throw new TypeError("Both arguments to range must be numbers")
for(var r=Array(e<t?t-e:0),n=e<0?t+Math.abs(e):t-e,i=0;i<n;)r[i]=i+e,i+=1
return r}))
const pE=dE
function fE(e,t,r){var n,i=typeof e
switch(i){case"string":case"number":return 0===e&&1/e==-1/0?!!r._items["-0"]||(t&&(r._items["-0"]=!0),!1):null!==r._nativeSet?t?(n=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===n):r._nativeSet.has(e):i in r._items?e in r._items[i]||(t&&(r._items[i][e]=!0),!1):(t&&(r._items[i]={},r._items[i][e]=!0),!1)
case"boolean":if(i in r._items){var s=e?1:0
return!!r._items[i][s]||(t&&(r._items[i][s]=!0),!1)}return t&&(r._items[i]=e?[!1,!0]:[!0,!1]),!1
case"function":return null!==r._nativeSet?t?(n=r._nativeSet.size,r._nativeSet.add(e),r._nativeSet.size===n):r._nativeSet.has(e):i in r._items?!!Zh(e,r._items[i])||(t&&r._items[i].push(e),!1):(t&&(r._items[i]=[e]),!1)
case"undefined":return!!r._items[i]||(t&&(r._items[i]=!0),!1)
case"object":if(null===e)return!!r._items.null||(t&&(r._items.null=!0),!1)
default:return(i=Object.prototype.toString.call(e))in r._items?!!Zh(e,r._items[i])||(t&&r._items[i].push(e),!1):(t&&(r._items[i]=[e]),!1)}}const mE=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}return e.prototype.add=function(e){return!fE(e,!0,this)},e.prototype.has=function(e){return fE(e,!1,this)},e}()
var gE=Eh((function(e,t){for(var r=[],n=0,i=e.length,s=t.length,o=new mE,a=0;a<s;a+=1)o.add(t[a])
for(;n<i;)o.add(e[n])&&(r[r.length]=e[n]),n+=1
return r}))
const yE=gE
class vE extends(hb($w,tS)){constructor({specPathFixedFields:e,specPathPatternedFields:t,...r}){super({...r}),s(this,"specPathFixedFields",void 0),s(this,"specPathPatternedFields",void 0),this.specPathFixedFields=e,this.specPathPatternedFields=t}ObjectElement(e){const{specPath:t,ignoredFields:r}=this
try{this.specPath=this.specPathFixedFields
const t=this.retrieveFixedFields(this.specPath(e))
this.ignoredFields=[...r,...yE(e.keys(),t)],$w.prototype.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=t,tS.prototype.ObjectElement.call(this,e)}catch(e){throw this.specPath=t,e}return vm}}const bE=vE
class wE extends(hb(bE,Bw)){constructor(e){super(e),this.element=new Ov,this.specPathFixedFields=op(["document","objects","Responses"]),this.canSupportSpecificationExtensions=!0,this.specPathPatternedFields=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Response"],this.fieldPatternPredicate=e=>new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${pE(100,600).join("|")})$`).test(String(e))}ObjectElement(e){const t=bE.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","response")})),this.element.filter(zS).forEach(((e,t)=>{const r=ug(t)
this.fieldPatternPredicate(_g(r))&&e.setMetaProperty("http-status-code",r)})),t}}const SE=wE
class kE extends(hb(SS,Bw)){constructor(e){super(e),this.alternator=[{predicate:Lw,specPath:["document","objects","Reference"]},{predicate:mm,specPath:["document","objects","Response"]}]}ObjectElement(e){const t=SS.prototype.enter.call(this,e)
return RS(this.element)?this.element.setMetaProperty("referenced-element","response"):zS(this.element)&&this.element.setMetaProperty("http-status-code","default"),t}}const xE=kE
class EE extends(hb($w,Bw)){constructor(e){super(e),this.element=new mv,this.specPath=op(["document","objects","Operation"])}}const NE=EE
class _E extends Em.wE{constructor(e,t,r){super(e,t,r),this.classes.push(_E.primaryClass)}}s(_E,"primaryClass","operation-tags")
const CE=_E
class AE extends Em.wE{constructor(e,t,r){super(e,t,r),this.classes.push(AE.primaryClass),this.classes.push("parameters")}}s(AE,"primaryClass","operation-parameters")
const OE=AE
class PE extends(hb(Rw,Bw)){constructor(e){super(e),this.element=new Em.wE,this.element.classes.push("parameters")}ArrayElement(e){return e.forEach((e=>{const t=Lw(e)?["document","objects","Reference"]:["document","objects","Parameter"],r=this.toRefractedElement(t,e)
RS(r)&&r.setMetaProperty("referenced-element","parameter"),this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),vm}}const TE=PE
class IE extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(IE.primaryClass)}}s(IE,"primaryClass","operation-callbacks")
const jE=IE
class DE extends(hb(rS,Bw)){constructor(e){super(e),s(this,"specPath",void 0),this.element=new jE,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","callback")})),t}}const ME=DE
class BE extends Em.wE{constructor(e,t,r){super(e,t,r),this.classes.push(BE.primaryClass),this.classes.push("security")}}s(BE,"primaryClass","operation-security")
const RE=BE
class LE extends(hb(Rw,Bw)){constructor(e){super(e),this.element=new RE}ArrayElement(e){return e.forEach((e=>{const t=Zm(e)?["document","objects","SecurityRequirement"]:["value"],r=this.toRefractedElement(t,e)
this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),vm}}const zE=LE
class FE extends Em.wE{constructor(e,t,r){super(e,t,r),this.classes.push(FE.primaryClass),this.classes.push("servers")}}s(FE,"primaryClass","operation-servers")
const VE=FE
class $E extends(hb($w,Bw)){constructor(e){super(e),this.element=new bv,this.specPath=op(["document","objects","PathItem"])}ObjectElement(e){const t=$w.prototype.ObjectElement.call(this,e)
return this.element.filter(jS).forEach(((e,t)=>{const r=ug(t)
r.content=_g(r).toUpperCase(),e.setMetaProperty("http-method",r)})),Hm(this.element.$ref)&&this.element.classes.push("reference-element"),t}}const UE=$E
class HE extends Em.wE{constructor(e,t,r){super(e,t,r),this.classes.push(HE.primaryClass),this.classes.push("servers")}}s(HE,"primaryClass","path-item-servers")
const qE=HE
class WE extends Em.wE{constructor(e,t,r){super(e,t,r),this.classes.push(WE.primaryClass),this.classes.push("parameters")}}s(WE,"primaryClass","path-item-parameters")
const KE=WE
class ZE extends(hb($w,Bw)){constructor(e){super(e),this.element=new _w,this.specPath=op(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const JE=ZE
class GE extends(hb($w,Bw)){constructor(e){super(e),this.element=new cv,this.specPath=op(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const YE=GE
class XE extends(hb($w,Bw)){constructor(e){super(e),this.element=new av,this.specPath=op(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const QE=XE
class eN extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(eN.primaryClass)}}s(eN,"primaryClass","oauth-flow-scopes")
const tN=eN
class rN extends(hb(rS,Bw)){constructor(e){super(e),this.element=new tN,this.specPath=op(["value"])}}const nN=rN
class iN extends Em.wE{constructor(e,t,r){super(e,t,r),this.classes.push(iN.primaryClass)}}s(iN,"primaryClass","tags")
const sN=iN
class oN extends(hb(Rw,Bw)){constructor(e){super(e),this.element=new sN}ArrayElement(e){return e.forEach((e=>{const t=Fw(e)?["document","objects","Tag"]:["value"],r=this.toRefractedElement(t,e)
this.element.push(r)})),this.copyMetaAndAttributes(e,this.element),vm}}const aN=oN,{fixedFields:lN}=hw.visitors.document.objects.JSONSchema,cN={visitors:{value:Bw,document:{objects:{OpenApi:{$visitor:Hw,fixedFields:{openapi:Ww,info:{$ref:"#/visitors/document/objects/Info"},servers:dS,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:uk,tags:aN,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:Zw,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:class extends Bw{StringElement(e){const t=super.enter(e)
return this.element.classes.push("api-version"),this.element.classes.push("version"),t}}}},Contact:{$visitor:Gw,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:Xw,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Server:{$visitor:lS,fixedFields:{url:class extends Bw{StringElement(e){const t=super.enter(e)
return this.element.classes.push("server-url"),t}},description:{$ref:"#/visitors/value"},variables:vS}},ServerVariable:{$visitor:fS,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Components:{$visitor:dk,fixedFields:{schemas:rx,responses:ox,parameters:ux,examples:fx,requestBodies:vx,headers:kx,securitySchemes:_x,links:Px,callbacks:Dx}},Paths:{$visitor:Wx},PathItem:{$visitor:UE,fixedFields:{$ref:class extends Bw{StringElement(e){const t=super.enter(e)
return this.element.classes.push("reference-value"),t}},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:class extends dS{constructor(e){super(e),this.element=new qE}},parameters:class extends TE{constructor(e){super(e),this.element=new KE}}}},Operation:{$visitor:NE,fixedFields:{tags:class extends Bw{constructor(e){super(e),this.element=new CE}ArrayElement(e){return this.element=this.element.concat(ug(e)),vm}},summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},parameters:class extends TE{constructor(e){super(e),this.element=new OE}},requestBody:class extends SS{constructor(e){super(e),this.alternator=[{predicate:Lw,specPath:["document","objects","Reference"]},{predicate:mm,specPath:["document","objects","RequestBody"]}]}ObjectElement(e){const t=SS.prototype.enter.call(this,e)
return RS(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),t}},responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:ME,deprecated:{$ref:"#/visitors/value"},security:zE,servers:class extends dS{constructor(e){super(e),this.element=new VE}}}},ExternalDocumentation:{$visitor:Lx,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:vk,fixedFields:{name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},allowEmptyValue:{$ref:"#/visitors/value"},style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"},schema:wk,example:{$ref:"#/visitors/value"},examples:class extends XS{constructor(e){super(e),this.element=new Gk}},content:class extends Ak{constructor(e){super(e),this.element=new Xk}}}},RequestBody:{$visitor:Zx,fixedFields:{description:{$ref:"#/visitors/value"},content:class extends Ak{constructor(e){super(e),this.element=new Gx}},required:{$ref:"#/visitors/value"}}},MediaType:{$visitor:wS,fixedFields:{schema:GS,example:{$ref:"#/visitors/value"},examples:class extends XS{constructor(e){super(e),this.element=new ek}},encoding:ik}},Encoding:{$visitor:Fx,fixedFields:{contentType:{$ref:"#/visitors/value"},headers:Hx,style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"}}},Responses:{$visitor:SE,fixedFields:{default:xE}},Response:{$visitor:eE,fixedFields:{description:{$ref:"#/visitors/value"},headers:iE,content:class extends Ak{constructor(e){super(e),this.element=new oE}},links:uE}},Callback:{$visitor:Xx},Example:{$visitor:Bx,fixedFields:{summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},value:{$ref:"#/visitors/value"},externalValue:class extends Bw{StringElement(e){const t=super.enter(e)
return this.element.classes.push("reference-value"),t}}}},Link:{$visitor:eS,fixedFields:{operationRef:class extends Bw{StringElement(e){const t=super.enter(e)
return this.element.classes.push("reference-value"),t}},operationId:class extends Bw{StringElement(e){const t=super.enter(e)
return this.element.classes.push("reference-value"),t}},parameters:oS,requestBody:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:kk,fixedFields:{description:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},allowEmptyValue:{$ref:"#/visitors/value"},style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"},schema:Ek,example:{$ref:"#/visitors/value"},examples:class extends XS{constructor(e){super(e),this.element=new _k}},content:class extends Ak{constructor(e){super(e),this.element=new Pk}}}},Tag:{$visitor:fk,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:gk,fixedFields:{$ref:class extends Bw{StringElement(e){const t=super.enter(e)
return this.element.classes.push("reference-value"),t}}}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:Ik,fixedFields:{title:lN.title,multipleOf:lN.multipleOf,maximum:lN.maximum,exclusiveMaximum:lN.exclusiveMaximum,minimum:lN.minimum,exclusiveMinimum:lN.exclusiveMinimum,maxLength:lN.maxLength,minLength:lN.minLength,pattern:lN.pattern,maxItems:lN.maxItems,minItems:lN.minItems,uniqueItems:lN.uniqueItems,maxProperties:lN.maxProperties,minProperties:lN.minProperties,required:lN.required,enum:lN.enum,type:class extends Lk{ArrayElement(e){return this.enter(e)}},allOf:class extends jk{ArrayElement(e){const t=jk.prototype.ArrayElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},anyOf:class extends Dk{ArrayElement(e){const t=Dk.prototype.ArrayElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},oneOf:class extends Mk{ArrayElement(e){const t=Mk.prototype.ArrayElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},not:Fk,items:class extends Bk{ObjectElement(e){const t=Bk.prototype.ObjectElement.call(this,e)
return RS(this.element)&&this.element.setMetaProperty("referenced-element","schema"),t}ArrayElement(e){return this.enter(e)}},properties:class extends Rk{ObjectElement(e){const t=Rk.prototype.ObjectElement.call(this,e)
return this.element.filter(RS).forEach((e=>{e.setMetaProperty("referenced-element","schema")})),t}},additionalProperties:Fk,description:lN.description,format:lN.format,default:lN.default,nullable:{$ref:"#/visitors/value"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:{$ref:"#/visitors/value"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"}}},Discriminator:{$visitor:$k,fixedFields:{propertyName:{$ref:"#/visitors/value"},mapping:Wk}},XML:{$visitor:Zk,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},SecurityScheme:{$visitor:JE,fixedFields:{type:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},scheme:{$ref:"#/visitors/value"},bearerFormat:{$ref:"#/visitors/value"},flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:{$ref:"#/visitors/value"}}},OAuthFlows:{$visitor:YE,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:QE,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:nN}},SecurityRequirement:{$visitor:ok}},extension:{$visitor:class extends Rw{MemberElement(e){return this.element=ug(e),this.element.classes.push("specification-extension"),vm}}}}}},uN=e=>{if(Um(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},hN={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...yg},dN={namespace:e=>{const{base:t}=e
return t.register("callback",Ry),t.register("components",zy),t.register("contact",Vy),t.register("discriminator",Uy),t.register("encoding",qy),t.register("example",Ky),t.register("externalDocumentation",Jy),t.register("header",Yy),t.register("info",Qy),t.register("license",tv),t.register("link",nv),t.register("mediaType",sv),t.register("oAuthFlow",av),t.register("oAuthFlows",cv),t.register("openapi",hv),t.register("openApi3_0",pv),t.register("operation",mv),t.register("parameter",yv),t.register("pathItem",bv),t.register("paths",Sv),t.register("reference",xv),t.register("requestBody",Nv),t.register("response",Cv),t.register("responses",Ov),t.register("schema",kw),t.register("securityRequirement",Ew),t.register("securityScheme",_w),t.register("server",Aw),t.register("serverVariable",Pw),t.register("tag",Iw),t.register("xml",Dw),t}},pN=dN,fN=()=>{const e=iy(pN)
return{predicates:{...j,isElement:Um,isStringElement:Hm,isArrayElement:Jm,isObjectElement:Zm,isMemberElement:Gm,includesClasses:og,hasElementSourceMap:ig},namespace:e}},mN=e=>(t,r={})=>((e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=(0,Em.e)(e),i=Kv(cN),s=new(Ig(t,i))({specObj:i})
return bg(n,s),ly(s.element,r,{toolboxCreator:fN,visitorOptions:{keyMap:hN,nodeTypeGetter:uN}})})(t,{specPath:e,...r})
Ry.refract=mN(["visitors","document","objects","Callback","$visitor"]),zy.refract=mN(["visitors","document","objects","Components","$visitor"]),Vy.refract=mN(["visitors","document","objects","Contact","$visitor"]),Ky.refract=mN(["visitors","document","objects","Example","$visitor"]),Uy.refract=mN(["visitors","document","objects","Discriminator","$visitor"]),qy.refract=mN(["visitors","document","objects","Encoding","$visitor"]),Jy.refract=mN(["visitors","document","objects","ExternalDocumentation","$visitor"]),Yy.refract=mN(["visitors","document","objects","Header","$visitor"]),Qy.refract=mN(["visitors","document","objects","Info","$visitor"]),tv.refract=mN(["visitors","document","objects","License","$visitor"]),nv.refract=mN(["visitors","document","objects","Link","$visitor"]),sv.refract=mN(["visitors","document","objects","MediaType","$visitor"]),av.refract=mN(["visitors","document","objects","OAuthFlow","$visitor"]),cv.refract=mN(["visitors","document","objects","OAuthFlows","$visitor"]),hv.refract=mN(["visitors","document","objects","OpenApi","fixedFields","openapi"]),pv.refract=mN(["visitors","document","objects","OpenApi","$visitor"]),mv.refract=mN(["visitors","document","objects","Operation","$visitor"]),yv.refract=mN(["visitors","document","objects","Parameter","$visitor"]),bv.refract=mN(["visitors","document","objects","PathItem","$visitor"]),Sv.refract=mN(["visitors","document","objects","Paths","$visitor"]),xv.refract=mN(["visitors","document","objects","Reference","$visitor"]),Nv.refract=mN(["visitors","document","objects","RequestBody","$visitor"]),Cv.refract=mN(["visitors","document","objects","Response","$visitor"]),Ov.refract=mN(["visitors","document","objects","Responses","$visitor"]),kw.refract=mN(["visitors","document","objects","Schema","$visitor"]),Ew.refract=mN(["visitors","document","objects","SecurityRequirement","$visitor"]),_w.refract=mN(["visitors","document","objects","SecurityScheme","$visitor"]),Aw.refract=mN(["visitors","document","objects","Server","$visitor"]),Pw.refract=mN(["visitors","document","objects","ServerVariable","$visitor"]),Iw.refract=mN(["visitors","document","objects","Tag","$visitor"]),Dw.refract=mN(["visitors","document","objects","XML","$visitor"])
const gN=class extends Ry{},yN=class extends zy{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}},vN=class extends Vy{},bN=class extends Uy{},wN=class extends qy{},SN=class extends Ky{},kN=class extends Jy{},xN=class extends Yy{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},EN=class extends Qy{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}}
class NN extends Em.Om{constructor(e,t,r){super(e,t,r),this.element="jsonSchemaDialect"}}s(NN,"default",new NN("https://spec.openapis.org/oas/3.1/dialect/base"))
const _N=NN,CN=class extends tv{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}},AN=class extends nv{},ON=class extends sv{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},PN=class extends av{},TN=class extends cv{},IN=class extends hv{}
class jN extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(e){this.set("jsonSchemaDialect",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get webhooks(){return this.get("webhooks")}set webhooks(e){this.set("webhooks",e)}}const DN=jN,MN=class extends mv{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}},BN=class extends yv{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},RN=class extends bv{get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}},LN=class extends Sv{}
class zN extends xv{}Object.defineProperty(zN.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0}),Object.defineProperty(zN.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0})
const FN=zN,VN=class extends Nv{},$N=class extends Cv{},UN=class extends Ov{}
class HN extends Em.Sh{constructor(e,t,r){super(e,t,r),this.element="schema"}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(e){this.set("$vocabulary",e)}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get $anchor(){return this.get("$anchor")}set $anchor(e){this.set("$anchor",e)}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(e){this.set("$dynamicAnchor",e)}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(e){this.set("$dynamicRef",e)}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get $defs(){return this.get("$defs")}set $defs(e){this.set("$defs",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(e){this.set("dependentSchemas",e)}get prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(e){this.set("unevaluatedItems",e)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(e){this.set("unevaluatedProperties",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxContains(){return this.get("maxContains")}set maxContains(e){this.set("maxContains",e)}get minContains(){return this.get("minContains")}set minContains(e){this.set("minContains",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get dependentRequired(){return this.get("dependentRequired")}set dependentRequired(e){this.set("dependentRequired",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get contentSchema(){return this.get("contentSchema")}set contentSchema(e){this.set("contentSchema",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}}const qN=HN,WN=class extends Ew{},KN=class extends _w{},ZN=class extends Aw{},JN=class extends Pw{},GN=class extends Iw{},YN=class extends Dw{}
class XN extends(hb($w,Bw)){constructor(e){super(e),this.element=new DN,this.specPath=op(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0,this.openApiSemanticElement=this.element}ObjectElement(e){return this.openApiGenericElement=e,$w.prototype.ObjectElement.call(this,e)}}const QN=XN,{visitors:{document:{objects:{Info:{$visitor:e_}}}}}=cN,{visitors:{document:{objects:{Contact:{$visitor:t_}}}}}=cN,{visitors:{document:{objects:{License:{$visitor:r_}}}}}=cN,{visitors:{document:{objects:{Link:{$visitor:n_}}}}}=cN
class i_ extends(hb(Rw,Bw)){StringElement(e){const t=new _N(_g(e))
return this.copyMetaAndAttributes(e,t),this.element=t,vm}}const s_=i_,{visitors:{document:{objects:{Server:{$visitor:o_}}}}}=cN,{visitors:{document:{objects:{ServerVariable:{$visitor:a_}}}}}=cN,{visitors:{document:{objects:{MediaType:{$visitor:l_}}}}}=cN,{visitors:{document:{objects:{SecurityRequirement:{$visitor:c_}}}}}=cN,{visitors:{document:{objects:{Components:{$visitor:u_}}}}}=cN,{visitors:{document:{objects:{Tag:{$visitor:h_}}}}}=cN,{visitors:{document:{objects:{Reference:{$visitor:d_}}}}}=cN,{visitors:{document:{objects:{Parameter:{$visitor:p_}}}}}=cN,{visitors:{document:{objects:{Header:{$visitor:f_}}}}}=cN,m_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof gN||e(n)&&t("callback",n)&&r("object",n))),g_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof yN||e(n)&&t("components",n)&&r("object",n))),y_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof vN||e(n)&&t("contact",n)&&r("object",n))),v_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof SN||e(n)&&t("example",n)&&r("object",n))),b_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof kN||e(n)&&t("externalDocumentation",n)&&r("object",n))),w_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof xN||e(n)&&t("header",n)&&r("object",n))),S_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof EN||e(n)&&t("info",n)&&r("object",n))),k_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof _N||e(n)&&t("jsonSchemaDialect",n)&&r("string",n))),x_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof CN||e(n)&&t("license",n)&&r("object",n))),E_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof AN||e(n)&&t("link",n)&&r("object",n))),N_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof IN||e(n)&&t("openapi",n)&&r("string",n))),__=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>i=>i instanceof DN||e(i)&&t("openApi3_1",i)&&r("object",i)&&n("api",i))),C_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof MN||e(n)&&t("operation",n)&&r("object",n))),A_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof BN||e(n)&&t("parameter",n)&&r("object",n))),O_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof RN||e(n)&&t("pathItem",n)&&r("object",n))),P_=e=>{if(!O_(e))return!1
if(!Hm(e.$ref))return!1
const t=_g(e.$ref)
return"string"==typeof t&&t.length>0&&!t.startsWith("#")},T_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof LN||e(n)&&t("paths",n)&&r("object",n))),I_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof FN||e(n)&&t("reference",n)&&r("object",n))),j_=e=>{if(!I_(e))return!1
if(!Hm(e.$ref))return!1
const t=_g(e.$ref)
return"string"==typeof t&&t.length>0&&!t.startsWith("#")},D_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof VN||e(n)&&t("requestBody",n)&&r("object",n))),M_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof $N||e(n)&&t("response",n)&&r("object",n))),B_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof UN||e(n)&&t("responses",n)&&r("object",n))),R_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof qN||e(n)&&t("schema",n)&&r("object",n))),L_=e=>Km(e)&&e.classes.includes("boolean-json-schema"),z_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof WN||e(n)&&t("securityRequirement",n)&&r("object",n))),F_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof KN||e(n)&&t("securityScheme",n)&&r("object",n))),V_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ZN||e(n)&&t("server",n)&&r("object",n))),$_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof JN||e(n)&&t("serverVariable",n)&&r("object",n))),U_=$m((({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ON||e(n)&&t("mediaType",n)&&r("object",n))),H_=class{constructor({parent:e}){s(this,"parent",void 0),this.parent=e}}
class q_ extends(hb($w,H_,Bw)){constructor(e){super(e),this.element=new qN,this.specPath=op(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0,this.jsonSchemaDefaultDialect=_N.default,this.passingOptionsNames.push("parent")}ObjectElement(e){this.handle$schema(e),this.handle$id(e),this.parent=this.element
const t=$w.prototype.ObjectElement.call(this,e)
return Hm(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),t}BooleanElement(e){const t=super.enter(e)
return this.element.classes.push("boolean-json-schema"),t}getJsonSchemaDialect(){let e
return e=void 0!==this.openApiSemanticElement&&k_(this.openApiSemanticElement.jsonSchemaDialect)?_g(this.openApiSemanticElement.jsonSchemaDialect):void 0!==this.openApiGenericElement&&Hm(this.openApiGenericElement.get("jsonSchemaDialect"))?_g(this.openApiGenericElement.get("jsonSchemaDialect")):_g(this.jsonSchemaDefaultDialect),e}handle$schema(e){if(lp(this.parent)&&!Hm(e.get("$schema")))this.element.setMetaProperty("inherited$schema",this.getJsonSchemaDialect())
else if(R_(this.parent)&&!Hm(e.get("$schema"))){const e=Td(_g(this.parent.meta.get("inherited$schema")),_g(this.parent.$schema))
this.element.setMetaProperty("inherited$schema",e)}}handle$id(e){const t=void 0!==this.parent?ug(this.parent.getMetaProperty("inherited$id",[])):new Em.wE,r=_g(e.get("$id"))
_b(r)&&t.push(r),this.element.setMetaProperty("inherited$id",t)}}const W_=q_
class K_ extends(hb(rS,H_,Bw)){constructor(e){super(e),this.element=new Em.Sh,this.element.classes.push("json-schema-$defs"),this.specPath=op(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const Z_=K_
class J_ extends(hb(Rw,H_,Bw)){constructor(e){super(e),this.element=new Em.wE,this.element.classes.push("json-schema-allOf"),this.passingOptionsNames.push("parent")}ArrayElement(e){return e.forEach((e=>{if(Zm(e)){const t=this.toRefractedElement(["document","objects","Schema"],e)
this.element.push(t)}else{const t=ug(e)
this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),vm}}const G_=J_
class Y_ extends(hb(Rw,H_,Bw)){constructor(e){super(e),this.element=new Em.wE,this.element.classes.push("json-schema-anyOf"),this.passingOptionsNames.push("parent")}ArrayElement(e){return e.forEach((e=>{if(Zm(e)){const t=this.toRefractedElement(["document","objects","Schema"],e)
this.element.push(t)}else{const t=ug(e)
this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),vm}}const X_=Y_
class Q_ extends(hb(Rw,H_,Bw)){constructor(e){super(e),this.element=new Em.wE,this.element.classes.push("json-schema-oneOf"),this.passingOptionsNames.push("parent")}ArrayElement(e){return e.forEach((e=>{if(Zm(e)){const t=this.toRefractedElement(["document","objects","Schema"],e)
this.element.push(t)}else{const t=ug(e)
this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),vm}}const eC=Q_
class tC extends(hb(rS,H_,Bw)){constructor(e){super(e),this.element=new Em.Sh,this.element.classes.push("json-schema-dependentSchemas"),this.specPath=op(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const rC=tC
class nC extends(hb(Rw,H_,Bw)){constructor(e){super(e),this.element=new Em.wE,this.element.classes.push("json-schema-prefixItems"),this.passingOptionsNames.push("parent")}ArrayElement(e){return e.forEach((e=>{if(Zm(e)){const t=this.toRefractedElement(["document","objects","Schema"],e)
this.element.push(t)}else{const t=ug(e)
this.element.push(t)}})),this.copyMetaAndAttributes(e,this.element),vm}}const iC=nC
class sC extends(hb(rS,H_,Bw)){constructor(e){super(e),this.element=new Em.Sh,this.element.classes.push("json-schema-properties"),this.specPath=op(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const oC=sC
class aC extends(hb(rS,H_,Bw)){constructor(e){super(e),this.element=new Em.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=op(["document","objects","Schema"]),this.passingOptionsNames.push("parent")}}const lC=aC,{visitors:{document:{objects:{Discriminator:{$visitor:cC}}}}}=cN,{visitors:{document:{objects:{XML:{$visitor:uC}}}}}=cN
class hC extends(hb(rS,Bw)){constructor(e){super(e),this.element=new ex,this.specPath=op(["document","objects","Schema"])}}const dC=hC
class pC extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(pC.primaryClass)}}s(pC,"primaryClass","components-path-items")
const fC=pC
class mC extends(hb(rS,Bw)){constructor(e){super(e),this.element=new fC,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(I_).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),t}}const gC=mC,{visitors:{document:{objects:{Example:{$visitor:yC}}}}}=cN,{visitors:{document:{objects:{ExternalDocumentation:{$visitor:vC}}}}}=cN,{visitors:{document:{objects:{Encoding:{$visitor:bC}}}}}=cN,{visitors:{document:{objects:{Paths:{$visitor:wC}}}}}=cN,{visitors:{document:{objects:{RequestBody:{$visitor:SC}}}}}=cN,{visitors:{document:{objects:{Callback:{$visitor:kC}}}}}=cN,{visitors:{document:{objects:{Response:{$visitor:xC}}}}}=cN,{visitors:{document:{objects:{Responses:{$visitor:EC}}}}}=cN,{visitors:{document:{objects:{Operation:{$visitor:NC}}}}}=cN,{visitors:{document:{objects:{PathItem:{$visitor:_C}}}}}=cN,{visitors:{document:{objects:{SecurityScheme:{$visitor:CC}}}}}=cN,{visitors:{document:{objects:{OAuthFlows:{$visitor:AC}}}}}=cN,{visitors:{document:{objects:{OAuthFlow:{$visitor:OC}}}}}=cN
class PC extends Em.Sh{constructor(e,t,r){super(e,t,r),this.classes.push(PC.primaryClass)}}s(PC,"primaryClass","webhooks")
const TC=PC
class IC extends(hb(rS,Bw)){constructor(e){super(e),this.element=new TC,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const t=rS.prototype.ObjectElement.call(this,e)
return this.element.filter(I_).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),this.element.filter(O_).forEach(((e,t)=>{e.setMetaProperty("webhook-name",_g(t))})),t}}const jC=IC,DC={visitors:{value:cN.visitors.value,document:{objects:{OpenApi:{$visitor:QN,fixedFields:{openapi:cN.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:s_,servers:cN.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:jC,components:{$ref:"#/visitors/document/objects/Components"},security:cN.visitors.document.objects.OpenApi.fixedFields.security,tags:cN.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:class extends e_{constructor(e){super(e),this.element=new EN}},fixedFields:{title:cN.visitors.document.objects.Info.fixedFields.title,description:cN.visitors.document.objects.Info.fixedFields.description,summary:{$ref:"#/visitors/value"},termsOfService:cN.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:cN.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:class extends t_{constructor(e){super(e),this.element=new vN}},fixedFields:{name:cN.visitors.document.objects.Contact.fixedFields.name,url:cN.visitors.document.objects.Contact.fixedFields.url,email:cN.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:class extends r_{constructor(e){super(e),this.element=new CN}},fixedFields:{name:cN.visitors.document.objects.License.fixedFields.name,identifier:{$ref:"#/visitors/value"},url:cN.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:class extends o_{constructor(e){super(e),this.element=new ZN}},fixedFields:{url:cN.visitors.document.objects.Server.fixedFields.url,description:cN.visitors.document.objects.Server.fixedFields.description,variables:cN.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:class extends a_{constructor(e){super(e),this.element=new JN}},fixedFields:{enum:cN.visitors.document.objects.ServerVariable.fixedFields.enum,default:cN.visitors.document.objects.ServerVariable.fixedFields.default,description:cN.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:class extends u_{constructor(e){super(e),this.element=new yN}},fixedFields:{schemas:dC,responses:cN.visitors.document.objects.Components.fixedFields.responses,parameters:cN.visitors.document.objects.Components.fixedFields.parameters,examples:cN.visitors.document.objects.Components.fixedFields.examples,requestBodies:cN.visitors.document.objects.Components.fixedFields.requestBodies,headers:cN.visitors.document.objects.Components.fixedFields.headers,securitySchemes:cN.visitors.document.objects.Components.fixedFields.securitySchemes,links:cN.visitors.document.objects.Components.fixedFields.links,callbacks:cN.visitors.document.objects.Components.fixedFields.callbacks,pathItems:gC}},Paths:{$visitor:class extends wC{constructor(e){super(e),this.element=new LN}}},PathItem:{$visitor:class extends _C{constructor(e){super(e),this.element=new RN}},fixedFields:{$ref:cN.visitors.document.objects.PathItem.fixedFields.$ref,summary:cN.visitors.document.objects.PathItem.fixedFields.summary,description:cN.visitors.document.objects.PathItem.fixedFields.description,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:cN.visitors.document.objects.PathItem.fixedFields.servers,parameters:cN.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:class extends NC{constructor(e){super(e),this.element=new MN}},fixedFields:{tags:cN.visitors.document.objects.Operation.fixedFields.tags,summary:cN.visitors.document.objects.Operation.fixedFields.summary,description:cN.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:cN.visitors.document.objects.Operation.fixedFields.operationId,parameters:cN.visitors.document.objects.Operation.fixedFields.parameters,requestBody:cN.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:cN.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:cN.visitors.document.objects.Operation.fixedFields.deprecated,security:cN.visitors.document.objects.Operation.fixedFields.security,servers:cN.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:class extends vC{constructor(e){super(e),this.element=new kN}},fixedFields:{description:cN.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:cN.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:class extends p_{constructor(e){super(e),this.element=new BN}},fixedFields:{name:cN.visitors.document.objects.Parameter.fixedFields.name,in:cN.visitors.document.objects.Parameter.fixedFields.in,description:cN.visitors.document.objects.Parameter.fixedFields.description,required:cN.visitors.document.objects.Parameter.fixedFields.required,deprecated:cN.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:cN.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:cN.visitors.document.objects.Parameter.fixedFields.style,explode:cN.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:cN.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:cN.visitors.document.objects.Parameter.fixedFields.example,examples:cN.visitors.document.objects.Parameter.fixedFields.examples,content:cN.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:class extends SC{constructor(e){super(e),this.element=new VN}},fixedFields:{description:cN.visitors.document.objects.RequestBody.fixedFields.description,content:cN.visitors.document.objects.RequestBody.fixedFields.content,required:cN.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:class extends l_{constructor(e){super(e),this.element=new ON}},fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:cN.visitors.document.objects.MediaType.fixedFields.example,examples:cN.visitors.document.objects.MediaType.fixedFields.examples,encoding:cN.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:class extends bC{constructor(e){super(e),this.element=new wN}},fixedFields:{contentType:cN.visitors.document.objects.Encoding.fixedFields.contentType,headers:cN.visitors.document.objects.Encoding.fixedFields.headers,style:cN.visitors.document.objects.Encoding.fixedFields.style,explode:cN.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:cN.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:class extends EC{constructor(e){super(e),this.element=new UN}},fixedFields:{default:cN.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:class extends xC{constructor(e){super(e),this.element=new $N}},fixedFields:{description:cN.visitors.document.objects.Response.fixedFields.description,headers:cN.visitors.document.objects.Response.fixedFields.headers,content:cN.visitors.document.objects.Response.fixedFields.content,links:cN.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:class extends kC{constructor(e){super(e),this.element=new gN,this.specPath=e=>Lw(e)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const t=kC.prototype.ObjectElement.call(this,e)
return this.element.filter(I_).forEach((e=>{e.setMetaProperty("referenced-element","pathItem")})),t}}},Example:{$visitor:class extends yC{constructor(e){super(e),this.element=new SN}},fixedFields:{summary:cN.visitors.document.objects.Example.fixedFields.summary,description:cN.visitors.document.objects.Example.fixedFields.description,value:cN.visitors.document.objects.Example.fixedFields.value,externalValue:cN.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:class extends n_{constructor(e){super(e),this.element=new AN}},fixedFields:{operationRef:cN.visitors.document.objects.Link.fixedFields.operationRef,operationId:cN.visitors.document.objects.Link.fixedFields.operationId,parameters:cN.visitors.document.objects.Link.fixedFields.parameters,requestBody:cN.visitors.document.objects.Link.fixedFields.requestBody,description:cN.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:class extends f_{constructor(e){super(e),this.element=new xN}},fixedFields:{description:cN.visitors.document.objects.Header.fixedFields.description,required:cN.visitors.document.objects.Header.fixedFields.required,deprecated:cN.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:cN.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:cN.visitors.document.objects.Header.fixedFields.style,explode:cN.visitors.document.objects.Header.fixedFields.explode,allowReserved:cN.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:cN.visitors.document.objects.Header.fixedFields.example,examples:cN.visitors.document.objects.Header.fixedFields.examples,content:cN.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:class extends h_{constructor(e){super(e),this.element=new GN}},fixedFields:{name:cN.visitors.document.objects.Tag.fixedFields.name,description:cN.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:class extends d_{constructor(e){super(e),this.element=new FN}},fixedFields:{$ref:cN.visitors.document.objects.Reference.fixedFields.$ref,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Schema:{$visitor:W_,fixedFields:{$schema:{$ref:"#/visitors/value"},$vocabulary:class extends Bw{ObjectElement(e){const t=super.enter(e)
return this.element.classes.push("json-schema-$vocabulary"),t}},$id:{$ref:"#/visitors/value"},$anchor:{$ref:"#/visitors/value"},$dynamicAnchor:{$ref:"#/visitors/value"},$dynamicRef:{$ref:"#/visitors/value"},$ref:class extends Bw{StringElement(e){const t=super.enter(e)
return this.element.classes.push("reference-value"),t}},$defs:Z_,$comment:{$ref:"#/visitors/value"},allOf:G_,anyOf:X_,oneOf:eC,not:{$ref:"#/visitors/document/objects/Schema"},if:{$ref:"#/visitors/document/objects/Schema"},then:{$ref:"#/visitors/document/objects/Schema"},else:{$ref:"#/visitors/document/objects/Schema"},dependentSchemas:rC,prefixItems:iC,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:oC,patternProperties:lC,additionalProperties:{$ref:"#/visitors/document/objects/Schema"},propertyNames:{$ref:"#/visitors/document/objects/Schema"},unevaluatedItems:{$ref:"#/visitors/document/objects/Schema"},unevaluatedProperties:{$ref:"#/visitors/document/objects/Schema"},type:class extends Bw{StringElement(e){const t=super.enter(e)
return this.element.classes.push("json-schema-type"),t}ArrayElement(e){const t=super.enter(e)
return this.element.classes.push("json-schema-type"),t}},enum:class extends Bw{ArrayElement(e){const t=super.enter(e)
return this.element.classes.push("json-schema-enum"),t}},const:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxContains:{$ref:"#/visitors/value"},minContains:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},dependentRequired:class extends Bw{ObjectElement(e){const t=super.enter(e)
return this.element.classes.push("json-schema-dependentRequired"),t}},title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},readOnly:{$ref:"#/visitors/value"},writeOnly:{$ref:"#/visitors/value"},examples:class extends Bw{ArrayElement(e){const t=super.enter(e)
return this.element.classes.push("json-schema-examples"),t}},format:{$ref:"#/visitors/value"},contentEncoding:{$ref:"#/visitors/value"},contentMediaType:{$ref:"#/visitors/value"},contentSchema:{$ref:"#/visitors/document/objects/Schema"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"}}},Discriminator:{$visitor:class extends cC{constructor(e){super(e),this.element=new bN,this.canSupportSpecificationExtensions=!0}},fixedFields:{propertyName:cN.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:cN.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:class extends uC{constructor(e){super(e),this.element=new YN}},fixedFields:{name:cN.visitors.document.objects.XML.fixedFields.name,namespace:cN.visitors.document.objects.XML.fixedFields.namespace,prefix:cN.visitors.document.objects.XML.fixedFields.prefix,attribute:cN.visitors.document.objects.XML.fixedFields.attribute,wrapped:cN.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:class extends CC{constructor(e){super(e),this.element=new KN}},fixedFields:{type:cN.visitors.document.objects.SecurityScheme.fixedFields.type,description:cN.visitors.document.objects.SecurityScheme.fixedFields.description,name:cN.visitors.document.objects.SecurityScheme.fixedFields.name,in:cN.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:cN.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:cN.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:cN.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:class extends AC{constructor(e){super(e),this.element=new TN}},fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:class extends OC{constructor(e){super(e),this.element=new PN}},fixedFields:{authorizationUrl:cN.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:cN.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:cN.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:cN.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:class extends c_{constructor(e){super(e),this.element=new WN}}}},extension:{$visitor:cN.visitors.document.extension.$visitor}}}},MC=e=>{if(Um(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},BC={CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"],...yg},RC={namespace:e=>{const{base:t}=e
return t.register("callback",gN),t.register("components",yN),t.register("contact",vN),t.register("discriminator",bN),t.register("encoding",wN),t.register("example",SN),t.register("externalDocumentation",kN),t.register("header",xN),t.register("info",EN),t.register("jsonSchemaDialect",_N),t.register("license",CN),t.register("link",AN),t.register("mediaType",ON),t.register("oAuthFlow",PN),t.register("oAuthFlows",TN),t.register("openapi",IN),t.register("openApi3_1",DN),t.register("operation",MN),t.register("parameter",BN),t.register("pathItem",RN),t.register("paths",LN),t.register("reference",FN),t.register("requestBody",VN),t.register("response",$N),t.register("responses",UN),t.register("schema",qN),t.register("securityRequirement",WN),t.register("securityScheme",KN),t.register("server",ZN),t.register("serverVariable",JN),t.register("tag",GN),t.register("xml",YN),t}},LC=RC,zC=()=>{const e=iy(LC)
return{predicates:{...D,isElement:Um,isStringElement:Hm,isArrayElement:Jm,isObjectElement:Zm,isMemberElement:Gm,isServersElement:ZS,includesClasses:og,hasElementSourceMap:ig},namespace:e}},FC=e=>(t,r={})=>((e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=(0,Em.e)(e),i=Kv(DC),s=new(Ig(t,i))({specObj:i})
return bg(n,s),ly(s.element,r,{toolboxCreator:zC,visitorOptions:{keyMap:BC,nodeTypeGetter:MC}})})(t,{specPath:e,...r})
gN.refract=FC(["visitors","document","objects","Callback","$visitor"]),yN.refract=FC(["visitors","document","objects","Components","$visitor"]),vN.refract=FC(["visitors","document","objects","Contact","$visitor"]),SN.refract=FC(["visitors","document","objects","Example","$visitor"]),bN.refract=FC(["visitors","document","objects","Discriminator","$visitor"]),wN.refract=FC(["visitors","document","objects","Encoding","$visitor"]),kN.refract=FC(["visitors","document","objects","ExternalDocumentation","$visitor"]),xN.refract=FC(["visitors","document","objects","Header","$visitor"]),EN.refract=FC(["visitors","document","objects","Info","$visitor"]),_N.refract=FC(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]),CN.refract=FC(["visitors","document","objects","License","$visitor"]),AN.refract=FC(["visitors","document","objects","Link","$visitor"]),ON.refract=FC(["visitors","document","objects","MediaType","$visitor"]),PN.refract=FC(["visitors","document","objects","OAuthFlow","$visitor"]),TN.refract=FC(["visitors","document","objects","OAuthFlows","$visitor"]),IN.refract=FC(["visitors","document","objects","OpenApi","fixedFields","openapi"]),DN.refract=FC(["visitors","document","objects","OpenApi","$visitor"]),MN.refract=FC(["visitors","document","objects","Operation","$visitor"]),BN.refract=FC(["visitors","document","objects","Parameter","$visitor"]),RN.refract=FC(["visitors","document","objects","PathItem","$visitor"]),LN.refract=FC(["visitors","document","objects","Paths","$visitor"]),FN.refract=FC(["visitors","document","objects","Reference","$visitor"]),VN.refract=FC(["visitors","document","objects","RequestBody","$visitor"]),$N.refract=FC(["visitors","document","objects","Response","$visitor"]),UN.refract=FC(["visitors","document","objects","Responses","$visitor"]),qN.refract=FC(["visitors","document","objects","Schema","$visitor"]),WN.refract=FC(["visitors","document","objects","SecurityRequirement","$visitor"]),KN.refract=FC(["visitors","document","objects","SecurityScheme","$visitor"]),ZN.refract=FC(["visitors","document","objects","Server","$visitor"]),JN.refract=FC(["visitors","document","objects","ServerVariable","$visitor"]),GN.refract=FC(["visitors","document","objects","Tag","$visitor"]),YN.refract=FC(["visitors","document","objects","XML","$visitor"])
const VC=class extends Pv{},$C=class extends Array{constructor(...e){super(...e),s(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new VC("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new VC("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new VC("latest method in MediaTypes class is not yet implemented.")}}
class UC extends $C{filterByFormat(e="generic"){const t="generic"===e?"openapi;version":e
return this.filter((e=>e.includes(t)))}findBy(e="3.1.0",t="generic"){const r="generic"===t?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${t};version=${e}`
return this.find((e=>e.includes(r)))||this.unknownMediaType}latest(e="generic"){return Md(this.filterByFormat(e))}}const HC=new UC("application/vnd.oai.openapi;version=3.1.0","application/vnd.oai.openapi+json;version=3.1.0","application/vnd.oai.openapi+yaml;version=3.1.0"),qC=class{constructor({uri:e,depth:t=0,refSet:r,value:n}){s(this,"uri",void 0),s(this,"depth",void 0),s(this,"value",void 0),s(this,"refSet",void 0),s(this,"errors",void 0),this.uri=e,this.value=n,this.depth=t,this.refSet=r,this.errors=[]}},WC=class{constructor({refs:e=[],circular:t=!1}={}){s(this,"rootRef",void 0),s(this,"refs",void 0),s(this,"circular",void 0),this.refs=[],this.circular=t,e.forEach(this.add.bind(this))}get size(){return this.refs.length}add(e){return this.has(e)||(this.refs.push(e),this.rootRef=void 0===this.rootRef?e:this.rootRef,e.refSet=this),this}merge(e){for(const t of e.values())this.add(t)
return this}has(e){const t=xp(e)?e:e.uri
return cp(this.find((e=>e.uri===t)))}find(e){return this.refs.find(e)}*values(){yield*this.refs}clean(){this.refs.forEach((e=>{e.refSet=void 0})),this.rootRef=void 0,this.refs.length=0}},KC={parse:{mediaType:"text/plain",parsers:[],parserOpts:{}},resolve:{baseURI:"",resolvers:[],resolverOpts:{},strategies:[],strategyOpts:{},internal:!0,external:!0,maxDepth:1/0},dereference:{strategies:[],strategyOpts:{},refSet:null,maxDepth:1/0,circular:"ignore",circularReplacer:yy,immutable:!0},bundle:{strategies:[],refSet:null,maxDepth:1/0}},ZC=Eh((function(e,t){return function(r){return function(n){return Qd((function(e){return t(e,n)}),r(e(n)))}}}))
var JC=Nh((function e(t,r,n){if(0===t.length)return r
var i=t[0]
if(t.length>1){var s=!Vv(n)&&Dh(i,n)&&"object"==typeof n[i]?n[i]:_h(t[1])?[]:{}
r=e(Array.prototype.slice.call(t,1),r,s)}return function(e,t,r){if(_h(e)&&td(r)){var n=[].concat(r)
return n[e]=t,n}var i={}
for(var s in r)i[s]=r[s]
return i[e]=t,i}(i,r,n)}))
const GC=JC
var YC=function(e){return{value:e,map:function(t){return YC(t(e))}}},XC=Nh((function(e,t,r){return e((function(e){return YC(t(e))}))(r).value}))
const QC=XC,eA=ZC(Ig(["resolve","baseURI"]),GC(["resolve","baseURI"])),tA=e=>Cy(e)?Bp():e,rA=(e,t)=>{const r=Tg(e,t)
return QC(eA,tA,r)},nA=class{constructor({uri:e,mediaType:t="text/plain",data:r,parseResult:n}){s(this,"uri",void 0),s(this,"mediaType",void 0),s(this,"data",void 0),s(this,"parseResult",void 0),this.uri=e,this.mediaType=t,this.data=r,this.parseResult=n}get extension(){return xp(this.uri)?(e=>{const t=e.lastIndexOf(".")
return t>=0?e.substring(t).toLowerCase():""})(this.uri):""}toString(){return"string"==typeof this.data?this.data:this.data instanceof ArrayBuffer||["ArrayBuffer"].includes(Hh(this.data))||ArrayBuffer.isView(this.data)?new TextDecoder("utf-8").decode(this.data):String(this.data)}},iA=class extends vh{constructor(e,t){super(e,{cause:t.cause}),s(this,"plugin",void 0),this.plugin=t.plugin}},sA=async(e,t,r)=>{const n=await Promise.all(r.map(qg([e],t)))
return r.filter(((e,t)=>n[t]))},oA=async(e,t,r)=>{let n
for(const i of r)try{const r=await i[e].call(i,...t)
return{plugin:i,result:r}}catch(e){n=new iA("Error while running plugin",{cause:e,plugin:i})}return Promise.reject(n)},aA=class extends vh{},lA=class extends aA{},cA=class extends vh{},uA=class extends cA{},hA=class{constructor({name:e,allowEmpty:t=!0,sourceMap:r=!1,fileExtensions:n=[],mediaTypes:i=[]}){s(this,"name",void 0),s(this,"allowEmpty",void 0),s(this,"sourceMap",void 0),s(this,"fileExtensions",void 0),s(this,"mediaTypes",void 0),this.name=e,this.allowEmpty=t,this.sourceMap=r,this.fileExtensions=n,this.mediaTypes=i}},dA=class extends hA{constructor(e){super({...null!=e?e:{},name:"binary"})}canParse(e){return 0===this.fileExtensions.length||this.fileExtensions.includes(e.extension)}parse(e){try{const t=unescape(encodeURIComponent(e.toString())),r=btoa(t),n=new Dm
if(0!==r.length){const e=new Em.Om(r)
e.classes.push("result"),n.push(e)}return n}catch(t){throw new uA(`Error parsing "${e.uri}"`,{cause:t})}}},pA=class{constructor({name:e}){s(this,"name",void 0),this.name=e}},fA=class extends pA{constructor(e){super({...null!=e?e:{},name:"openapi-3-1"})}canResolve(e,t){const r=t.dereference.strategies.find((e=>"openapi-3-1"===e.name))
return void 0!==r&&r.canDereference(e,t)}async resolve(e,t){const r=t.dereference.strategies.find((e=>"openapi-3-1"===e.name))
if(void 0===r)throw new lA('"openapi-3-1" dereference strategy is not available.')
const n=new WC,i=rA(t,{resolve:{internal:!1},dereference:{refSet:n}})
return await r.dereference(e,i),n}}
function mA(e,t,r){if(r||(r=new gA),function(e){var t=typeof e
return null==e||"object"!=t&&"function"!=t}(e))return e
var n=function(n){var i=r.get(e)
if(i)return i
for(var s in r.set(e,n),e)Object.prototype.hasOwnProperty.call(e,s)&&(n[s]=t?mA(e[s],!0,r):e[s])
return n}
switch(Hh(e)){case"Object":return n(Object.create(Object.getPrototypeOf(e)))
case"Array":return n(Array(e.length))
case"Date":return new Date(e.valueOf())
case"RegExp":return Th(e)
case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return e.slice()
default:return e}}var gA=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(e,t){var r=this.hash(e),n=this.map[r]
n||(this.map[r]=n=[]),n.push([e,t]),this.length+=1},e.prototype.hash=function(e){var t=[]
for(var r in e)t.push(Object.prototype.toString.call(e[r]))
return t.join()},e.prototype.get=function(e){if(this.length<=180){for(var t in this.map)for(var r=this.map[t],n=0;n<r.length;n+=1)if((s=r[n])[0]===e)return s[1]}else{var i=this.hash(e)
if(r=this.map[i])for(n=0;n<r.length;n+=1){var s
if((s=r[n])[0]===e)return s[1]}}},e}(),yA=function(){function e(e,t,r,n){this.valueFn=e,this.valueAcc=t,this.keyFn=r,this.xf=n,this.inputs={}}return e.prototype["@@transducer/init"]=id,e.prototype["@@transducer/result"]=function(e){var t
for(t in this.inputs)if(Dh(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"]
break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var r=this.keyFn(t)
return this.inputs[r]=this.inputs[r]||[r,mA(this.valueAcc,!1)],this.inputs[r][1]=this.valueFn(this.inputs[r][1],t),e},e}(),vA=Bd(4,[],rd([],(function(e,t,r){return function(n){return new yA(e,t,r,n)}}),(function(e,t,r,n){var i=xd((function(n,i){var s=r(i),o=e(Dh(s,n)?n[s]:mA(t,!1),i)
return o&&o["@@transducer/reduced"]?Nm(n):(n[s]=o,n)}))
return Sd(i,{},n)})))
const bA=Eh(_d("groupBy",vA((function(e,t){return e.push(t),e}),[]))),wA=e=>e.replace(/\s/g,""),SA=e=>e.replace(/\W/gi,"_"),kA=(e,t,r)=>{const n=wA(e)
return n.length>0?SA(n):((e,t)=>`${SA(wA(t.toLowerCase()))}${SA(wA(e))}`)(t,r)},xA=({operationIdNormalizer:e=kA}={})=>({predicates:t,namespace:r})=>{const n=[],i=[],s=[]
return{visitor:{OpenApi3_1Element:{leave(){const e=bA((e=>_g(e.operationId)),i)
Object.entries(e).forEach((([e,t])=>{Array.isArray(t)&&(t.length<=1||t.forEach(((t,n)=>{const i=`${e}${n+1}`
t.operationId=new r.elements.String(i)})))})),s.forEach((e=>{if(void 0===e.operationId)return
const t=String(_g(e.operationId)),r=i.find((e=>_g(e.meta.get("originalOperationId"))===t))
void 0!==r&&(e.operationId=ug.safe(r.operationId),e.meta.set("originalOperationId",t),e.set("__originalOperationId",t))})),i.length=0,s.length=0}},PathItemElement:{enter(e){const t=Td("path",_g(e.meta.get("path")))
n.push(t)},leave(){n.pop()}},OperationElement:{enter(t){if(void 0===t.operationId)return
const s=String(_g(t.operationId)),o=Md(n),a=Td("method",_g(t.meta.get("http-method"))),l=e(s,o,a)
s!==l&&(t.operationId=new r.elements.String(l),t.set("__originalOperationId",s),t.meta.set("originalOperationId",s),i.push(t))}},LinkElement:{leave(e){t.isLinkElement(e)&&void 0!==e.operationId&&s.push(e)}}}}},EA=Nh((function(e,t,r){return Td(e,Oh(t,r))}))
var NA=function(){function e(e,t){this.xf=t,this.pred=e,this.items=[]}return e.prototype["@@transducer/init"]=id,e.prototype["@@transducer/result"]=sd,e.prototype["@@transducer/step"]=function(e,t){return jh(this.pred,t,this.items)?e:(this.items.push(t),this.xf["@@transducer/step"](e,t))},e}(),_A=Eh(rd([],(function(e){return function(t){return new NA(e,t)}}),(function(e,t){for(var r,n=0,i=t.length,s=[];n<i;)jh(e,r=t[n],s)||(s[s.length]=r),n+=1
return s})))
const CA=_A,AA=e=>t=>{if(null!=t&&t.$$normalized)return t
if(AA.cache.has(t))return AA.cache.get(t)
const r=DN.refract(t),n=e(r),i=_g(n)
return AA.cache.set(t,i),i}
AA.cache=new WeakMap
const OA=e=>{if(!Zm(e))return e
if(e.hasKey("$$normalized"))return e
const t=[xA({operationIdNormalizer:(e,t,r)=>Df({operationId:e},t,r,{v2OperationIdCompatibilityMode:!1})}),({predicates:e})=>{const t=(t,r)=>!!(e.isParameterElement(t)&&e.isParameterElement(r)&&e.isStringElement(t.name)&&e.isStringElement(t.in)&&e.isStringElement(r.name)&&e.isStringElement(r.in)&&_g(t.name)===_g(r.name)&&_g(t.in)===_g(r.in)),r=[]
return{visitor:{PathItemElement:{enter(t,n,i,s,o){if(o.some(e.isComponentsElement))return
const{parameters:a}=t
e.isArrayElement(a)?r.push([...a.content]):r.push([])},leave(){r.pop()}},OperationElement:{leave(e){const n=Md(r)
if(!Array.isArray(n)||0===n.length)return
const i=EA([],["parameters","content"],e),s=CA(t,[...i,...n])
e.parameters=new OE(s)}}}}},({predicates:e})=>{let t
return{visitor:{OpenApi3_1Element:{enter(r){e.isArrayElement(r.security)&&(t=r.security)},leave(){t=void 0}},OperationElement:{leave(r,n,i,s,o){var a
o.some(e.isComponentsElement)||void 0===r.security&&void 0!==t&&(r.security=new RE(null===(a=t)||void 0===a?void 0:a.content))}}}}},({predicates:e,namespace:t})=>({visitor:{OpenApi3_1Element(r){const n=void 0===r.servers,i=e.isArrayElement(r.servers),s=i&&0===r.servers.length,o=t.elements.Server.refract({url:"/"})
n||!i?r.servers=new uS([o]):i&&s&&r.servers.push(o)},PathItemElement(t,r,n,i,s){if(s.some(e.isComponentsElement))return
if(!s.some(e.isOpenApi3_1Element))return
const o=s.find(e.isOpenApi3_1Element),a=void 0===t.servers,l=e.isArrayElement(t.servers),c=l&&0===t.servers.length
if(e.isOpenApi3_1Element(o)){var u
const e=null===(u=o.servers)||void 0===u?void 0:u.content,r=null!=e?e:[]
a||!l?t.servers=new qE(r):l&&c&&r.forEach((e=>{t.servers.push(e)}))}},OperationElement(t,r,n,i,s){if(s.some(e.isComponentsElement))return
if(!s.some(e.isOpenApi3_1Element))return
const o=[...s].reverse().find(e.isPathItemElement),a=void 0===t.servers,l=e.isArrayElement(t.servers),c=l&&0===t.servers.length
if(e.isPathItemElement(o)){var u
const e=null===(u=o.servers)||void 0===u?void 0:u.content,r=null!=e?e:[]
a||!l?t.servers=new VE(r):l&&c&&r.forEach((e=>{t.servers.push(e)}))}}}}),({predicates:e})=>({visitor:{ParameterElement:{leave(t,r,n,i,s){var o,a
if(!s.some(e.isComponentsElement)&&void 0!==t.schema&&e.isSchemaElement(t.schema)&&(void 0!==(null===(o=t.schema)||void 0===o?void 0:o.example)||void 0!==(null===(a=t.schema)||void 0===a?void 0:a.examples))){if(void 0!==t.examples&&e.isObjectElement(t.examples)){const e=t.examples.map((e=>ug.safe(e.value)))
return void 0!==t.schema.examples&&t.schema.set("examples",e),void(void 0!==t.schema.example&&t.schema.set("example",e))}void 0!==t.example&&(void 0!==t.schema.examples&&t.schema.set("examples",[ug(t.example)]),void 0!==t.schema.example&&t.schema.set("example",ug(t.example)))}}}}}),({predicates:e})=>({visitor:{HeaderElement:{leave(t,r,n,i,s){var o,a
if(!s.some(e.isComponentsElement)&&void 0!==t.schema&&e.isSchemaElement(t.schema)&&(void 0!==(null===(o=t.schema)||void 0===o?void 0:o.example)||void 0!==(null===(a=t.schema)||void 0===a?void 0:a.examples))){if(void 0!==t.examples&&e.isObjectElement(t.examples)){const e=t.examples.map((e=>ug.safe(e.value)))
return void 0!==t.schema.examples&&t.schema.set("examples",e),void(void 0!==t.schema.example&&t.schema.set("example",e))}void 0!==t.example&&(void 0!==t.schema.examples&&t.schema.set("examples",[ug(t.example)]),void 0!==t.schema.example&&t.schema.set("example",ug(t.example)))}}}}})],r=ly(e,t,{toolboxCreator:zC,visitorOptions:{keyMap:BC,nodeTypeGetter:MC}})
return r.set("$$normalized",!0),r},PA=class{constructor({name:e}){s(this,"name",void 0),this.name=e}},TA=class extends PA{constructor(e){const{name:t="http-resolver",timeout:r=5e3,redirects:n=5,withCredentials:i=!1}=null!=e?e:{}
super({name:t}),s(this,"timeout",void 0),s(this,"redirects",void 0),s(this,"withCredentials",void 0),this.timeout=r,this.redirects=n,this.withCredentials=i}canRead(e){return Ip(e.uri)}},IA=class extends vh{},jA=class extends IA{},{AbortController:DA,AbortSignal:MA}=globalThis
void 0===globalThis.AbortController&&(globalThis.AbortController=DA),void 0===globalThis.AbortSignal&&(globalThis.AbortSignal=MA)
const BA=class extends TA{constructor({swaggerHTTPClient:e=rm,swaggerHTTPClientConfig:t={},...r}={}){super({...r,name:"http-swagger-client"}),s(this,"swaggerHTTPClient",rm),s(this,"swaggerHTTPClientConfig",void 0),this.swaggerHTTPClient=e,this.swaggerHTTPClientConfig=t}getHttpClient(){return this.swaggerHTTPClient}async read(e){const t=this.getHttpClient(),r=new AbortController,{signal:n}=r,i=setTimeout((()=>{r.abort()}),this.timeout),s=this.getHttpClient().withCredentials||this.withCredentials?"include":"same-origin",o=0===this.redirects?"error":"follow",a=this.redirects>0?this.redirects:void 0
try{return(await t({url:e.uri,signal:n,userFetch:async(e,t)=>{let r=await fetch(e,t)
try{r.headers.delete("Content-Type")}catch{r=new Response(r.body,{...r,headers:new Headers(r.headers)}),r.headers.delete("Content-Type")}return r},credentials:s,redirect:o,follow:a,...this.swaggerHTTPClientConfig})).text.arrayBuffer()}catch(t){throw new jA(`Error downloading "${e.uri}"`,{cause:t})}finally{clearTimeout(i)}}},RA=(e,t=sy)=>{if(xp(e))try{return t.fromRefract(JSON.parse(e))}catch{}return ty(e)&&qv("element",e)?t.fromRefract(e):t.toElement(e)},LA=class extends hA{constructor(e={}){super({...e,name:"json-swagger-client",fileExtensions:[".json"],mediaTypes:["application/json"]})}async canParse(e){const t=0===this.fileExtensions.length||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType)
if(!t)return!1
if(r)return!0
if(!r)try{return JSON.parse(e.toString()),!0}catch(e){return!1}return!1}async parse(e){if(this.sourceMap)throw new uA("json-swagger-client parser plugin doesn't support sourceMaps option")
const t=new Dm,r=e.toString()
if(this.allowEmpty&&""===r.trim())return t
try{const e=RA(JSON.parse(r))
return e.classes.push("result"),t.push(e),t}catch(t){throw new uA(`Error parsing "${e.uri}"`,{cause:t})}}},zA=class extends hA{constructor(e={}){super({...e,name:"yaml-1-2-swagger-client",fileExtensions:[".yaml",".yml"],mediaTypes:["text/yaml","application/yaml"]})}async canParse(e){const t=0===this.fileExtensions.length||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType)
if(!t)return!1
if(r)return!0
if(!r)try{return ds.load(e.toString(),{schema:is}),!0}catch(e){return!1}return!1}async parse(e){if(this.sourceMap)throw new uA("yaml-1-2-swagger-client parser plugin doesn't support sourceMaps option")
const t=new Dm,r=e.toString()
try{const e=ds.load(r,{schema:is})
if(this.allowEmpty&&void 0===e)return t
const n=RA(e)
return n.classes.push("result"),t.push(n),t}catch(t){throw new uA(`Error parsing "${e.uri}"`,{cause:t})}}},FA=class extends hA{constructor(e={}){super({...e,name:"openapi-json-3-1-swagger-client",fileExtensions:[".json"],mediaTypes:new UC(...HC.filterByFormat("generic"),...HC.filterByFormat("json"))}),s(this,"detectionRegExp",/"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))"/)}async canParse(e){const t=0===this.fileExtensions.length||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType)
if(!t)return!1
if(r)return!0
if(!r)try{const t=e.toString()
return JSON.parse(t),this.detectionRegExp.test(t)}catch(e){return!1}return!1}async parse(e){if(this.sourceMap)throw new uA("openapi-json-3-1-swagger-client parser plugin doesn't support sourceMaps option")
const t=new Dm,r=e.toString()
if(this.allowEmpty&&""===r.trim())return t
try{const e=JSON.parse(r),n=DN.refract(e,this.refractorOpts)
return n.classes.push("result"),t.push(n),t}catch(t){throw new uA(`Error parsing "${e.uri}"`,{cause:t})}}},VA=class extends hA{constructor(e={}){super({name:"openapi-yaml-3-1-swagger-client",...e,fileExtensions:[".yaml",".yml"],mediaTypes:new UC(...HC.filterByFormat("generic"),...HC.filterByFormat("yaml"))}),s(this,"detectionRegExp",/(?<YAML>^(["']?)openapi\2\s*:\s*(["']?)(?<version_yaml>3\.1\.(?:[1-9]\d*|0))\3(?:\s+|$))|(?<JSON>"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))")/m)}async canParse(e){const t=0===this.fileExtensions.length||this.fileExtensions.includes(e.extension),r=this.mediaTypes.includes(e.mediaType)
if(!t)return!1
if(r)return!0
if(!r)try{const t=e.toString()
return ds.load(t),this.detectionRegExp.test(t)}catch(e){return!1}return!1}async parse(e){if(this.sourceMap)throw new uA("openapi-yaml-3-1-swagger-client parser plugin doesn't support sourceMaps option")
const t=new Dm,r=e.toString()
try{const e=ds.load(r,{schema:is})
if(this.allowEmpty&&void 0===e)return t
const n=DN.refract(e,this.refractorOpts)
return n.classes.push("result"),t.push(n),t}catch(t){throw new uA(`Error parsing "${e.uri}"`,{cause:t})}}},$A=Nh((function(e,t,r){return Kh(e,Id(t,r))})),UA=class{constructor({name:e}){s(this,"name",void 0),this.name=e}}
var HA=Eh((function(e,t){return Am(Qh(e),t)}))
const qA=HA
var WA=l(8068)
const KA=class extends bh{constructor(e,t){super(e,t),s(this,"value",void 0),void 0!==t&&(this.value=t.value)}}
class ZA{constructor({length:e=6}={}){s(this,"uuid",void 0),s(this,"identityMap",void 0),this.uuid=new WA({length:e}),this.identityMap=new WeakMap}identify(e){if(!Um(e))throw new KA("Cannot not identify the element. `element` is neither structurally compatible nor a subclass of an Element class.",{value:e})
if(e.meta.hasKey("id")&&Hm(e.meta.get("id"))&&!e.meta.get("id").equals(""))return e.id
if(this.identityMap.has(e))return this.identityMap.get(e)
const t=new Em.Om(this.generateId())
return this.identityMap.set(e,t),t}forget(e){return!!this.identityMap.has(e)&&(this.identityMap.delete(e),!0)}generateId(){return this.uuid.randomUUID()}}new ZA
const JA=(e,t)=>{const r=new vg({predicate:e,returnOnTrue:vm})
return bg(t,r),EA(void 0,[0],r.result)},GA=class extends vh{},YA=class extends GA{},XA=class extends GA{constructor(e){super(`Invalid JSON Schema $anchor "${e}".`)}},QA=e=>/^[A-Za-z_][A-Za-z_0-9.-]*$/.test(e),eO=e=>{const t=Dp(e)
return Py("#",t)},tO=(e,t)=>{const r=(e=>{if(!QA(e))throw new XA(e)
return e})(e),n=JA((e=>R_(e)&&_g(e.$anchor)===r),t)
if(lp(n))throw new YA(`Evaluation failed on token: "${r}"`)
return n},rO=class extends vh{},nO=class extends rO{},iO=(e,t)=>{if(void 0===t.$ref)return
const r=Dp(_g(t.$ref)),n=_g(t.meta.get("inherited$id"))
return`${Nd(((e,t)=>Rp(e,Lp(Mp(t)))),e,[...n,_g(t.$ref)])}${"#"===r?"":r}`},sO=e=>{if(sO.cache.has(e))return sO.cache.get(e)
const t=qN.refract(e)
return sO.cache.set(e,t),t}
sO.cache=new WeakMap
const oO=e=>ng(e)?sO(e):e,aO=(e,t)=>{const{cache:r}=aO,n=Mp(e),i=e=>R_(e)&&void 0!==e.$id
if(!r.has(t)){const e=((e,t)=>{const r=new vg({predicate:e})
return bg(t,r),new Em.G6(r.result)})(i,t)
r.set(t,Array.from(e))}const s=r.get(t).find((e=>{const t=((e,t)=>{if(void 0===t.$id)return
const r=_g(t.meta.get("inherited$id"))
return Nd(((e,t)=>Rp(e,Lp(Mp(t)))),e,[...r,_g(t.$id)])})(n,e)
return t===n}))
if(lp(s))throw new nO(`Evaluation failed on URI: "${e}"`)
let o,a
return QA(eO(e))?(o=tO,a=eO(e)):(o=My,a=jy(e)),o(a,s)}
aO.cache=new WeakMap
const lO=class extends aA{},cO=class extends IA{},uO=class extends jA{}
class hO extends Array{includesCycle(e){return this.filter((t=>t.has(e))).length>1}includes(e,t){return e instanceof Set?super.includes(e,t):this.some((t=>t.has(e)))}findItem(e){for(const t of this)for(const r of t)if(Um(r)&&e(r))return r}}const dO=bg[Symbol.for("nodejs.util.promisify.custom")],pO=new ZA,fO=(e,t,r,n)=>{Gm(n)?n.value=e:Array.isArray(n)&&(n[r]=e)}
class mO{constructor({reference:e,namespace:t,options:r,indirections:n=[],ancestors:i=new hO,refractCache:o=new Map}){s(this,"indirections",void 0),s(this,"namespace",void 0),s(this,"reference",void 0),s(this,"options",void 0),s(this,"ancestors",void 0),s(this,"refractCache",void 0),this.indirections=n,this.namespace=t,this.reference=e,this.options=r,this.ancestors=new hO(...i),this.refractCache=o}toBaseURI(e){return Rp(this.reference.uri,Lp(Mp(e)))}async toReference(e){if(this.reference.depth>=this.options.resolve.maxDepth)throw new cO(`Maximum resolution depth of ${this.options.resolve.maxDepth} has been exceeded by file "${this.reference.uri}"`)
const t=this.toBaseURI(e),{refSet:r}=this.reference
if(r.has(t))return r.find($A(t,"uri"))
const n=await(async(e,t)=>{const r=new nA({uri:Lp(Mp(e)),mediaType:t.parse.mediaType}),n=await(async(e,t)=>{const r=t.resolve.resolvers.map((e=>{const r=Object.create(e)
return Object.assign(r,t.resolve.resolverOpts)})),n=await sA("canRead",[e,t],r)
if(Vg(n))throw new uO(e.uri)
try{const{result:t}=await oA("read",[e],n)
return t}catch(t){throw new IA(`Error while reading file "${e.uri}"`,{cause:t})}})(r,t)
return(async(e,t)=>{const r=t.parse.parsers.map((e=>{const r=Object.create(e)
return Object.assign(r,t.parse.parserOpts)})),n=await sA("canParse",[e,t],r)
if(Vg(n))throw new uO(e.uri)
try{const{plugin:r,result:i}=await oA("parse",[e,t],n)
return!r.allowEmpty&&i.isEmpty?Promise.reject(new cA(`Error while parsing file "${e.uri}". File is empty.`)):i}catch(t){throw new cA(`Error while parsing file "${e.uri}"`,{cause:t})}})(new nA({...r,data:n}),t)})(zp(t),{...this.options,parse:{...this.options.parse,mediaType:"text/plain"}}),i=new qC({uri:t,value:ug(n),depth:this.reference.depth+1})
if(r.add(i),this.options.dereference.immutable){const e=new qC({uri:`immutable://${t}`,value:n,depth:this.reference.depth+1})
r.add(e)}return i}toAncestorLineage(e){const t=new Set(e.filter(Um))
return[new hO(...this.ancestors,t),t]}async ReferenceElement(e,t,r,n,i,s){if(this.indirections.includes(e))return!1
const[o,a]=this.toAncestorLineage([...i,r]),l=this.toBaseURI(_g(e.$ref)),c=Mp(this.reference.uri)===l,u=!c
if(!this.options.resolve.internal&&c)return!1
if(!this.options.resolve.external&&u)return!1
const h=await this.toReference(_g(e.$ref)),d=Rp(l,_g(e.$ref))
this.indirections.push(e)
const p=jy(d)
let f=My(p,h.value.result)
if(f.id=pO.identify(f),ng(f)){const t=_g(e.meta.get("referenced-element")),r=`${t}-${_g(pO.identify(f))}`
this.refractCache.has(r)?f=this.refractCache.get(r):Lw(f)?(f=FN.refract(f),f.setMetaProperty("referenced-element",t),this.refractCache.set(r,f)):(f=this.namespace.getElementClass(t).refract(f),this.refractCache.set(r,f))}if(e===f)throw new vh("Recursive Reference Object detected")
if(this.indirections.length>this.options.dereference.maxDepth)throw new lO(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`)
if(o.includes(f)){if(h.refSet.circular=!0,"error"===this.options.dereference.circular)throw new vh("Circular reference detected")
if("replace"===this.options.dereference.circular){var m,g
const t=new Em.sI(f.id,{type:"reference",uri:h.uri,$ref:_g(e.$ref)}),n=(null!==(m=null===(g=this.options.dereference.strategyOpts["openapi-3-1"])||void 0===g?void 0:g.circularReplacer)&&void 0!==m?m:this.options.dereference.circularReplacer)(t)
return s.replaceWith(n,fO),!r&&n}}const y=Mp(h.refSet.rootRef.uri)!==h.uri,v=["error","replace"].includes(this.options.dereference.circular)
if((u||y||I_(f)||v)&&!o.includesCycle(f)){a.add(e)
const t=new mO({reference:h,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:o})
f=await dO(f,t,{keyMap:BC,nodeTypeGetter:MC}),a.delete(e)}this.indirections.pop()
const b=pg(f)
return b.setMetaProperty("id",pO.generateId()),b.setMetaProperty("ref-fields",{$ref:_g(e.$ref),description:_g(e.description),summary:_g(e.summary)}),b.setMetaProperty("ref-origin",h.uri),b.setMetaProperty("ref-referencing-element-id",ug(pO.identify(e))),Zm(f)&&Zm(b)&&(e.hasKey("description")&&"description"in f&&(b.remove("description"),b.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in f&&(b.remove("summary"),b.set("summary",e.get("summary")))),s.replaceWith(b,fO),!r&&b}async PathItemElement(e,t,r,n,i,s){if(!Hm(e.$ref))return
if(this.indirections.includes(e))return!1
const[o,a]=this.toAncestorLineage([...i,r]),l=this.toBaseURI(_g(e.$ref)),c=Mp(this.reference.uri)===l,u=!c
if(!this.options.resolve.internal&&c)return
if(!this.options.resolve.external&&u)return
const h=await this.toReference(_g(e.$ref)),d=Rp(l,_g(e.$ref))
this.indirections.push(e)
const p=jy(d)
let f=My(p,h.value.result)
if(f.id=pO.identify(f),ng(f)){const e=`path-item-${_g(pO.identify(f))}`
this.refractCache.has(e)?f=this.refractCache.get(e):(f=RN.refract(f),this.refractCache.set(e,f))}if(e===f)throw new vh("Recursive Path Item Object reference detected")
if(this.indirections.length>this.options.dereference.maxDepth)throw new lO(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`)
if(o.includes(f)){if(h.refSet.circular=!0,"error"===this.options.dereference.circular)throw new vh("Circular reference detected")
if("replace"===this.options.dereference.circular){var m,g
const t=new Em.sI(f.id,{type:"path-item",uri:h.uri,$ref:_g(e.$ref)}),n=(null!==(m=null===(g=this.options.dereference.strategyOpts["openapi-3-1"])||void 0===g?void 0:g.circularReplacer)&&void 0!==m?m:this.options.dereference.circularReplacer)(t)
return s.replaceWith(n,fO),!r&&n}}const y=Mp(h.refSet.rootRef.uri)!==h.uri,v=["error","replace"].includes(this.options.dereference.circular)
if((u||y||O_(f)&&Hm(f.$ref)||v)&&!o.includesCycle(f)){a.add(e)
const t=new mO({reference:h,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:o})
f=await dO(f,t,{keyMap:BC,nodeTypeGetter:MC}),a.delete(e)}if(this.indirections.pop(),O_(f)){const t=new RN([...f.content],ug(f.meta),ug(f.attributes))
t.setMetaProperty("id",pO.generateId()),e.forEach(((e,r,n)=>{t.remove(_g(r)),t.content.push(n)})),t.remove("$ref"),t.setMetaProperty("ref-fields",{$ref:_g(e.$ref)}),t.setMetaProperty("ref-origin",h.uri),t.setMetaProperty("ref-referencing-element-id",ug(pO.identify(e))),f=t}return s.replaceWith(f,fO),r?void 0:f}async LinkElement(e,t,r,n,i,s){if(!Hm(e.operationRef)&&!Hm(e.operationId))return
if(Hm(e.operationRef)&&Hm(e.operationId))throw new vh("LinkElement operationRef and operationId fields are mutually exclusive.")
let o
if(Hm(e.operationRef)){var a
const t=jy(_g(e.operationRef)),n=this.toBaseURI(_g(e.operationRef)),i=Mp(this.reference.uri)===n,l=!i
if(!this.options.resolve.internal&&i)return
if(!this.options.resolve.external&&l)return
const c=await this.toReference(_g(e.operationRef))
if(o=My(t,c.value.result),ng(o)){const e=`operation-${_g(pO.identify(o))}`
this.refractCache.has(e)?o=this.refractCache.get(e):(o=MN.refract(o),this.refractCache.set(e,o))}o=pg(o),o.setMetaProperty("ref-origin",c.uri)
const u=pg(e)
return null===(a=u.operationRef)||void 0===a||a.meta.set("operation",o),s.replaceWith(u,fO),r?void 0:u}if(Hm(e.operationId)){var l
const t=_g(e.operationId),n=await this.toReference(zp(this.reference.uri))
if(o=JA((e=>C_(e)&&Um(e.operationId)&&e.operationId.equals(t)),n.value.result),lp(o))throw new vh(`OperationElement(operationId=${t}) not found.`)
const i=pg(e)
return null===(l=i.operationId)||void 0===l||l.meta.set("operation",o),s.replaceWith(i,fO),r?void 0:i}}async ExampleElement(e,t,r,n,i,s){if(!Hm(e.externalValue))return
if(e.hasKey("value")&&Hm(e.externalValue))throw new vh("ExampleElement value and externalValue fields are mutually exclusive.")
const o=this.toBaseURI(_g(e.externalValue)),a=Mp(this.reference.uri)===o,l=!a
if(!this.options.resolve.internal&&a)return
if(!this.options.resolve.external&&l)return
const c=await this.toReference(_g(e.externalValue)),u=pg(c.value.result)
u.setMetaProperty("ref-origin",c.uri)
const h=pg(e)
return h.value=u,s.replaceWith(h,fO),r?void 0:h}async SchemaElement(e,t,r,n,i,s){if(!Hm(e.$ref))return
if(this.indirections.includes(e))return!1
const[o,a]=this.toAncestorLineage([...i,r])
let l=await this.toReference(zp(this.reference.uri)),{uri:c}=l
const u=iO(c,e),h=Mp(u),d=new nA({uri:h}),p=qA((e=>e.canRead(d)),this.options.resolve.resolvers),f=!p
let m,g=Mp(this.reference.uri)===u,y=!g
this.indirections.push(e)
try{if(p||f){c=this.toBaseURI(u)
const e=u,t=oO(l.value.result)
if(m=aO(e,t),m=oO(m),m.id=pO.identify(m),!this.options.resolve.internal&&g)return
if(!this.options.resolve.external&&y)return}else{if(c=this.toBaseURI(u),g=Mp(this.reference.uri)===c,y=!g,!this.options.resolve.internal&&g)return
if(!this.options.resolve.external&&y)return
l=await this.toReference(zp(u))
const e=jy(u),t=oO(l.value.result)
m=My(e,t),m=oO(m),m.id=pO.identify(m)}}catch(e){if(!(f&&e instanceof nO))throw e
if(QA(eO(u))){if(g=Mp(this.reference.uri)===c,y=!g,!this.options.resolve.internal&&g)return
if(!this.options.resolve.external&&y)return
l=await this.toReference(zp(u))
const e=eO(u),t=oO(l.value.result)
m=tO(e,t),m=oO(m),m.id=pO.identify(m)}else{if(c=this.toBaseURI(u),g=Mp(this.reference.uri)===c,y=!g,!this.options.resolve.internal&&g)return
if(!this.options.resolve.external&&y)return
l=await this.toReference(zp(u))
const e=jy(u),t=oO(l.value.result)
m=My(e,t),m=oO(m),m.id=pO.identify(m)}}if(e===m)throw new vh("Recursive Schema Object reference detected")
if(this.indirections.length>this.options.dereference.maxDepth)throw new lO(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`)
if(o.includes(m)){if(l.refSet.circular=!0,"error"===this.options.dereference.circular)throw new vh("Circular reference detected")
if("replace"===this.options.dereference.circular){var v,b
const t=new Em.sI(m.id,{type:"json-schema",uri:l.uri,$ref:_g(e.$ref)}),n=(null!==(v=null===(b=this.options.dereference.strategyOpts["openapi-3-1"])||void 0===b?void 0:b.circularReplacer)&&void 0!==v?v:this.options.dereference.circularReplacer)(t)
return s.replaceWith(n,fO),!r&&n}}const w=Mp(l.refSet.rootRef.uri)!==l.uri,S=["error","replace"].includes(this.options.dereference.circular)
if((y||w||R_(m)&&Hm(m.$ref)||S)&&!o.includesCycle(m)){a.add(e)
const t=new mO({reference:l,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:o})
m=await dO(m,t,{keyMap:BC,nodeTypeGetter:MC}),a.delete(e)}if(this.indirections.pop(),L_(m)){const t=ug(m)
return t.setMetaProperty("id",pO.generateId()),t.setMetaProperty("ref-fields",{$ref:_g(e.$ref)}),t.setMetaProperty("ref-origin",l.uri),t.setMetaProperty("ref-referencing-element-id",ug(pO.identify(e))),s.replaceWith(t,fO),!r&&t}if(R_(m)){const t=new qN([...m.content],ug(m.meta),ug(m.attributes))
t.setMetaProperty("id",pO.generateId()),e.forEach(((e,r,n)=>{t.remove(_g(r)),t.content.push(n)})),t.remove("$ref"),t.setMetaProperty("ref-fields",{$ref:_g(e.$ref)}),t.setMetaProperty("ref-origin",l.uri),t.setMetaProperty("ref-referencing-element-id",ug(pO.identify(e))),m=t}return s.replaceWith(m,fO),r?void 0:m}}const gO=mO,yO=bg[Symbol.for("nodejs.util.promisify.custom")],vO=class extends UA{constructor(e){super({...null!=e?e:{},name:"openapi-3-1"})}canDereference(e){var t
return"text/plain"!==e.mediaType?HC.includes(e.mediaType):__(null===(t=e.parseResult)||void 0===t?void 0:t.result)}async dereference(e,t){var r
const n=iy(LC),i=null!==(r=t.dereference.refSet)&&void 0!==r?r:new WC,s=new WC
let o,a=i
i.has(e.uri)?o=i.find($A(e.uri,"uri")):(o=new qC({uri:e.uri,value:e.parseResult}),i.add(o)),t.dereference.immutable&&(i.refs.map((e=>new qC({...e,value:ug(e.value)}))).forEach((e=>s.add(e))),o=s.find((t=>t.uri===e.uri)),a=s)
const l=new gO({reference:o,namespace:n,options:t}),c=await yO(a.rootRef.value,l,{keyMap:BC,nodeTypeGetter:MC})
return t.dereference.immutable&&s.refs.filter((e=>e.uri.startsWith("immutable://"))).map((e=>new qC({...e,uri:e.uri.replace(/^immutable:\/\//,"")}))).forEach((e=>i.add(e))),null===t.dereference.refSet&&i.clean(),s.clean(),c}},bO=e=>{const t=(e=>e.slice(2))(e)
return t.reduce(((e,r,n)=>{if(Gm(r)){const t=String(_g(r.key))
e.push(t)}else if(Jm(t[n-2])){const i=t[n-2].content.indexOf(r)
e.push(i)}return e}),[])},wO=class{constructor({modelPropertyMacro:e,options:t}){s(this,"modelPropertyMacro",void 0),s(this,"options",void 0),s(this,"SchemaElement",{leave:(e,t,r,n,i)=>{void 0!==e.properties&&Zm(e.properties)&&e.properties.forEach((t=>{if(Zm(t))try{const e=this.modelPropertyMacro(_g(t))
t.set("default",e)}catch(t){var n,s
const o=new Error(t,{cause:t})
o.fullPath=[...bO([...i,r,e]),"properties"],null===(n=this.options.dereference.dereferenceOpts)||void 0===n||null===(n=n.errors)||void 0===n||null===(s=n.push)||void 0===s||s.call(n,o)}}))}}),this.modelPropertyMacro=e,this.options=t}},SO=class{constructor({options:e}){s(this,"options",void 0),s(this,"SchemaElement",{leave(e,t,r,n,i){if(void 0!==e.allOf){if(!Jm(e.allOf)){var s,o
const t=new TypeError("allOf must be an array")
return t.fullPath=[...bO([...i,r,e]),"allOf"],void(null===(s=this.options.dereference.dereferenceOpts)||void 0===s||null===(s=s.errors)||void 0===s||null===(o=s.push)||void 0===o||o.call(s,t))}if(e.allOf.isEmpty)e.remove("allOf")
else{if(!e.allOf.content.every(R_)){var a,l
const t=new TypeError("Elements in allOf must be objects")
return t.fullPath=[...bO([...i,r,e]),"allOf"],void(null===(a=this.options.dereference.dereferenceOpts)||void 0===a||null===(a=a.errors)||void 0===a||null===(l=a.push)||void 0===l||l.call(a,t))}for(;e.hasKey("allOf");){const{allOf:t}=e
e.remove("allOf")
const r=Qv.all([...t.content,e])
if(e.hasKey("$$ref")||r.remove("$$ref"),e.hasKey("example")){const t=r.getMember("example")
t&&(t.value=e.get("example"))}if(e.hasKey("examples")){const t=r.getMember("examples")
t&&(t.value=e.get("examples"))}e.content=r.content}}}}}),this.options=e}},kO=(i=new WeakMap,class{constructor({parameterMacro:e,options:o}){s(this,"parameterMacro",void 0),s(this,"options",void 0),t(this,i,void 0),s(this,"OperationElement",{enter:e=>{n(i,this,e)},leave:()=>{n(i,this,void 0)}}),s(this,"ParameterElement",{leave:(e,t,n,s,o)=>{const a=r(i,this)?_g(r(i,this)):null,l=_g(e)
try{const t=this.parameterMacro(a,l)
e.set("default",t)}catch(e){var c,u
const t=new Error(e,{cause:e})
t.fullPath=bO([...o,n]),null===(c=this.options.dereference.dereferenceOpts)||void 0===c||null===(c=c.errors)||void 0===c||null===(u=c.push)||void 0===u||u.call(c,t)}}}),this.parameterMacro=e,this.options=o}}),xO=e=>{if(null==e.cause)return e
let{cause:t}=e
for(;null!=t.cause;)t=t.cause
return t},EO=class extends bh{},{wrapError:NO}=df,_O=bg[Symbol.for("nodejs.util.promisify.custom")],CO=new ZA,AO=(e,t,r,n)=>{Gm(n)?n.value=e:Array.isArray(n)&&(n[r]=e)}
class OO extends gO{constructor({allowMetaPatches:e=!0,useCircularStructures:t=!1,basePath:r=null,...n}){super(n),s(this,"useCircularStructures",void 0),s(this,"allowMetaPatches",void 0),s(this,"basePath",void 0),this.allowMetaPatches=e,this.useCircularStructures=t,this.basePath=r}async ReferenceElement(e,t,r,n,i,s){try{if(this.indirections.includes(e))return!1
const[t,n]=this.toAncestorLineage([...i,r]),c=this.toBaseURI(_g(e.$ref)),u=Mp(this.reference.uri)===c,h=!u
if(!this.options.resolve.internal&&u)return!1
if(!this.options.resolve.external&&h)return!1
const d=await this.toReference(_g(e.$ref)),p=Rp(c,_g(e.$ref))
this.indirections.push(e)
const f=jy(p)
let m=My(f,d.value.result)
if(m.id=CO.identify(m),ng(m)){const t=_g(e.meta.get("referenced-element")),r=`${t}-${_g(CO.identify(m))}`
this.refractCache.has(r)?m=this.refractCache.get(r):Lw(m)?(m=FN.refract(m),m.setMetaProperty("referenced-element",t),this.refractCache.set(r,m)):(m=this.namespace.getElementClass(t).refract(m),this.refractCache.set(r,m))}if(e===m)throw new vh("Recursive Reference Object detected")
if(this.indirections.length>this.options.dereference.maxDepth)throw new lO(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`)
if(t.includes(m)){if(d.refSet.circular=!0,"error"===this.options.dereference.circular)throw new vh("Circular reference detected")
if("replace"===this.options.dereference.circular){var o,a
const t=new Em.sI(m.id,{type:"reference",uri:d.uri,$ref:_g(e.$ref),baseURI:p,referencingElement:e}),n=(null!==(o=null===(a=this.options.dereference.strategyOpts["openapi-3-1"])||void 0===a?void 0:a.circularReplacer)&&void 0!==o?o:this.options.dereference.circularReplacer)(t)
return s.replaceWith(t,AO),!r&&n}}const g=Mp(d.refSet.rootRef.uri)!==d.uri,y=["error","replace"].includes(this.options.dereference.circular)
if((h||g||I_(m)||y)&&!t.includesCycle(m)){var l
n.add(e)
const s=new OO({reference:d,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:t,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:null!==(l=this.basePath)&&void 0!==l?l:[...bO([...i,r,e]),"$ref"]})
m=await _O(m,s,{keyMap:BC,nodeTypeGetter:MC}),n.delete(e)}this.indirections.pop()
const v=pg(m)
if(v.setMetaProperty("ref-fields",{$ref:_g(e.$ref),description:_g(e.description),summary:_g(e.summary)}),v.setMetaProperty("ref-origin",d.uri),v.setMetaProperty("ref-referencing-element-id",ug(CO.identify(e))),Zm(m)&&(e.hasKey("description")&&"description"in m&&(v.remove("description"),v.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in m&&(v.remove("summary"),v.set("summary",e.get("summary")))),this.allowMetaPatches&&Zm(v)&&!v.hasKey("$$ref")){const e=Rp(c,p)
v.set("$$ref",e)}return s.replaceWith(v,AO),!r&&v}catch(t){var c,u,h
const n=xO(t),s=NO(n,{baseDoc:this.reference.uri,$ref:_g(e.$ref),pointer:jy(_g(e.$ref)),fullPath:null!==(c=this.basePath)&&void 0!==c?c:[...bO([...i,r,e]),"$ref"]})
return void(null===(u=this.options.dereference.dereferenceOpts)||void 0===u||null===(u=u.errors)||void 0===u||null===(h=u.push)||void 0===h||h.call(u,s))}}async PathItemElement(e,t,r,n,i,s){try{if(!Hm(e.$ref))return
if(this.indirections.includes(e))return!1
if(og(["cycle"],e.$ref))return!1
const[t,n]=this.toAncestorLineage([...i,r]),c=this.toBaseURI(_g(e.$ref)),u=Mp(this.reference.uri)===c,h=!u
if(!this.options.resolve.internal&&u)return
if(!this.options.resolve.external&&h)return
const d=await this.toReference(_g(e.$ref)),p=Rp(c,_g(e.$ref))
this.indirections.push(e)
const f=jy(p)
let m=My(f,d.value.result)
if(m.id=CO.identify(m),ng(m)){const e=`path-item-${_g(CO.identify(m))}`
this.refractCache.has(e)?m=this.refractCache.get(e):(m=RN.refract(m),this.refractCache.set(e,m))}if(e===m)throw new vh("Recursive Path Item Object reference detected")
if(this.indirections.length>this.options.dereference.maxDepth)throw new lO(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`)
if(t.includes(m)){if(d.refSet.circular=!0,"error"===this.options.dereference.circular)throw new vh("Circular reference detected")
if("replace"===this.options.dereference.circular){var o,a
const t=new Em.sI(m.id,{type:"path-item",uri:d.uri,$ref:_g(e.$ref),baseURI:p,referencingElement:e}),n=(null!==(o=null===(a=this.options.dereference.strategyOpts["openapi-3-1"])||void 0===a?void 0:a.circularReplacer)&&void 0!==o?o:this.options.dereference.circularReplacer)(t)
return s.replaceWith(t,AO),!r&&n}}const g=Mp(d.refSet.rootRef.uri)!==d.uri,y=["error","replace"].includes(this.options.dereference.circular)
if((h||g||O_(m)&&Hm(m.$ref)||y)&&!t.includesCycle(m)){var l
n.add(e)
const s=new OO({reference:d,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:t,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:null!==(l=this.basePath)&&void 0!==l?l:[...bO([...i,r,e]),"$ref"]})
m=await _O(m,s,{keyMap:BC,nodeTypeGetter:MC}),n.delete(e)}if(this.indirections.pop(),O_(m)){const t=new RN([...m.content],ug(m.meta),ug(m.attributes))
if(e.forEach(((e,r,n)=>{t.remove(_g(r)),t.content.push(n)})),t.remove("$ref"),t.setMetaProperty("ref-fields",{$ref:_g(e.$ref)}),t.setMetaProperty("ref-origin",d.uri),t.setMetaProperty("ref-referencing-element-id",ug(CO.identify(e))),this.allowMetaPatches&&void 0===t.get("$$ref")){const e=Rp(c,p)
t.set("$$ref",e)}m=t}return s.replaceWith(m,AO),r?void 0:m}catch(t){var c,u,h
const n=xO(t),s=NO(n,{baseDoc:this.reference.uri,$ref:_g(e.$ref),pointer:jy(_g(e.$ref)),fullPath:null!==(c=this.basePath)&&void 0!==c?c:[...bO([...i,r,e]),"$ref"]})
return void(null===(u=this.options.dereference.dereferenceOpts)||void 0===u||null===(u=u.errors)||void 0===u||null===(h=u.push)||void 0===h||h.call(u,s))}}async SchemaElement(e,t,r,n,i,s){try{if(!Hm(e.$ref))return
if(this.indirections.includes(e))return!1
const[t,n]=this.toAncestorLineage([...i,r])
let c=await this.toReference(zp(this.reference.uri)),{uri:u}=c
const h=iO(u,e),d=Mp(h),p=new nA({uri:d}),f=!this.options.resolve.resolvers.some((e=>e.canRead(p))),m=!f
let g,y=Mp(this.reference.uri)===h,v=!y
this.indirections.push(e)
try{if(f||m){u=this.toBaseURI(h)
const e=h,t=oO(c.value.result)
if(g=aO(e,t),g=oO(g),g.id=CO.identify(g),!this.options.resolve.internal&&y)return
if(!this.options.resolve.external&&v)return}else{if(u=this.toBaseURI(h),y=Mp(this.reference.uri)===u,v=!y,!this.options.resolve.internal&&y)return
if(!this.options.resolve.external&&v)return
c=await this.toReference(zp(h))
const e=jy(h),t=oO(c.value.result)
g=My(e,t),g=oO(g),g.id=CO.identify(g)}}catch(e){if(!(m&&e instanceof nO))throw e
if(QA(eO(h))){if(y=Mp(this.reference.uri)===u,v=!y,!this.options.resolve.internal&&y)return
if(!this.options.resolve.external&&v)return
c=await this.toReference(zp(h))
const e=eO(h),t=oO(c.value.result)
g=tO(e,t),g=oO(g),g.id=CO.identify(g)}else{if(u=this.toBaseURI(_g(h)),y=Mp(this.reference.uri)===u,v=!y,!this.options.resolve.internal&&y)return
if(!this.options.resolve.external&&v)return
c=await this.toReference(zp(h))
const e=jy(h),t=oO(c.value.result)
g=My(e,t),g=oO(g),g.id=CO.identify(g)}}if(e===g)throw new vh("Recursive Schema Object reference detected")
if(this.indirections.length>this.options.dereference.maxDepth)throw new lO(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`)
if(t.includes(g)){if(c.refSet.circular=!0,"error"===this.options.dereference.circular)throw new vh("Circular reference detected")
if("replace"===this.options.dereference.circular){var o,a
const t=new Em.sI(g.id,{type:"json-schema",uri:c.uri,$ref:_g(e.$ref),baseURI:Rp(u,h),referencingElement:e}),n=(null!==(o=null===(a=this.options.dereference.strategyOpts["openapi-3-1"])||void 0===a?void 0:a.circularReplacer)&&void 0!==o?o:this.options.dereference.circularReplacer)(t)
return s.replaceWith(n,AO),!r&&n}}const b=Mp(c.refSet.rootRef.uri)!==c.uri,w=["error","replace"].includes(this.options.dereference.circular)
if((v||b||R_(g)&&Hm(g.$ref)||w)&&!t.includesCycle(g)){var l
n.add(e)
const s=new OO({reference:c,namespace:this.namespace,indirections:[...this.indirections],options:this.options,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:t,basePath:null!==(l=this.basePath)&&void 0!==l?l:[...bO([...i,r,e]),"$ref"]})
g=await _O(g,s,{keyMap:BC,nodeTypeGetter:MC}),n.delete(e)}if(this.indirections.pop(),L_(g)){const t=ug(g)
return t.setMetaProperty("ref-fields",{$ref:_g(e.$ref)}),t.setMetaProperty("ref-origin",c.uri),t.setMetaProperty("ref-referencing-element-id",ug(CO.identify(e))),s.replaceWith(t,AO),!r&&t}if(R_(g)){const t=new qN([...g.content],ug(g.meta),ug(g.attributes))
if(e.forEach(((e,r,n)=>{t.remove(_g(r)),t.content.push(n)})),t.remove("$ref"),t.setMetaProperty("ref-fields",{$ref:_g(e.$ref)}),t.setMetaProperty("ref-origin",c.uri),t.setMetaProperty("ref-referencing-element-id",ug(CO.identify(e))),this.allowMetaPatches&&void 0===t.get("$$ref")){const e=Rp(u,h)
t.set("$$ref",e)}g=t}return s.replaceWith(g,AO),r?void 0:g}catch(t){var c,u,h
const n=xO(t),s=new EO(`Could not resolve reference: ${n.message}`,{baseDoc:this.reference.uri,$ref:_g(e.$ref),fullPath:null!==(c=this.basePath)&&void 0!==c?c:[...bO([...i,r,e]),"$ref"],cause:n})
return void(null===(u=this.options.dereference.dereferenceOpts)||void 0===u||null===(u=u.errors)||void 0===u||null===(h=u.push)||void 0===h||h.call(u,s))}}async LinkElement(){}async ExampleElement(e,t,r,n,i,s){try{return await super.ExampleElement(e,t,r,n,i,s)}catch(t){var o,a,l
const n=xO(t),s=NO(n,{baseDoc:this.reference.uri,externalValue:_g(e.externalValue),fullPath:null!==(o=this.basePath)&&void 0!==o?o:[...bO([...i,r,e]),"externalValue"]})
return void(null===(a=this.options.dereference.dereferenceOpts)||void 0===a||null===(a=a.errors)||void 0===a||null===(l=a.push)||void 0===l||l.call(a,s))}}}const PO=OO,TO=km[Symbol.for("nodejs.util.promisify.custom")],IO=class{constructor({parameterMacro:e,modelPropertyMacro:t,mode:r,options:n,...i}){const s=[]
s.push(new PO({...i,options:n})),"function"==typeof t&&s.push(new wO({modelPropertyMacro:t,options:n})),"strict"!==r&&s.push(new SO({options:n})),"function"==typeof e&&s.push(new kO({parameterMacro:e,options:n}))
const o=TO(s,{nodeTypeGetter:MC})
Object.assign(this,o)}},jO=bg[Symbol.for("nodejs.util.promisify.custom")],DO=class extends vO{constructor({allowMetaPatches:e=!1,parameterMacro:t=null,modelPropertyMacro:r=null,mode:n="non-strict",ancestors:i=[],...o}={}){super({...o}),s(this,"allowMetaPatches",void 0),s(this,"parameterMacro",void 0),s(this,"modelPropertyMacro",void 0),s(this,"mode",void 0),s(this,"ancestors",void 0),this.name="openapi-3-1-swagger-client",this.allowMetaPatches=e,this.parameterMacro=t,this.modelPropertyMacro=r,this.mode=n,this.ancestors=[...i]}async dereference(e,t){var r
const n=iy(LC),i=null!==(r=t.dereference.refSet)&&void 0!==r?r:new WC,s=new WC
let o,a=i
i.has(e.uri)?o=i.find((t=>t.uri===e.uri)):(o=new qC({uri:e.uri,value:e.parseResult}),i.add(o)),t.dereference.immutable&&(i.refs.map((e=>new qC({...e,value:ug(e.value)}))).forEach((e=>s.add(e))),o=s.find((t=>t.uri===e.uri)),a=s)
const l=new IO({reference:o,namespace:n,options:t,allowMetaPatches:this.allowMetaPatches,ancestors:this.ancestors,modelPropertyMacro:this.modelPropertyMacro,mode:this.mode,parameterMacro:this.parameterMacro}),c=await jO(a.rootRef.value,l,{keyMap:BC,nodeTypeGetter:MC})
return t.dereference.immutable&&s.refs.filter((e=>e.uri.startsWith("immutable://"))).map((e=>new qC({...e,uri:e.uri.replace(/^immutable:\/\//,"")}))).forEach((e=>i.add(e))),null===t.dereference.refSet&&i.clean(),s.clean(),c}},MO=e=>{const t=_g(e.meta.get("baseURI")),r=e.meta.get("referencingElement")
return new Em.Sh({$ref:t},ug(r.meta),ug(r.attributes))},BO=async e=>{const{spec:t,timeout:r,redirects:n,requestInterceptor:i,responseInterceptor:s,pathDiscriminator:o=[],allowMetaPatches:a=!1,useCircularStructures:l=!1,skipNormalization:c=!1,parameterMacro:u=null,modelPropertyMacro:h=null,mode:d="non-strict"}=e
try{const{cache:p}=BO,f=Ip(Bp())?Bp():Gp,m=nm(e),g=Rp(f,m)
let y
p.has(t)?y=p.get(t):(y=DN.refract(t),y.classes.push("result"),p.set(t,y))
const v=new Dm([y]),b=(e=>{try{return 0===e.length?"":`/${e.map(dy).join("/")}`}catch(t){throw new fy("JSON Pointer compilation of tokens encountered an error.",{tokens:e,cause:t})}})(o),w=""===b?"":`#${b}`,S=My(b,y),k=new qC({uri:g,value:v}),x=new WC({refs:[k]})
""!==b&&(x.rootRef=void 0)
const E=[new Set([S])],N=[],_=await(async(e,t={})=>(async(e,t)=>{let r=e,n=!1
if(!tg(e)){const t=pg(e)
t.classes.push("result"),r=new Dm([t]),n=!0}const i=new nA({uri:t.resolve.baseURI,parseResult:r,mediaType:t.parse.mediaType}),s=await sA("canDereference",[i,t],t.dereference.strategies)
if(Vg(s))throw new lA(i.uri)
try{const{result:e}=await oA("dereference",[i,t],s)
return n?e.get(0):e}catch(e){throw new aA(`Error while dereferencing file "${i.uri}"`,{cause:e})}})(e,rA(KC,t)))(S,{resolve:{baseURI:`${g}${w}`,resolvers:[new BA({timeout:r||1e4,redirects:n||10})],resolverOpts:{swaggerHTTPClientConfig:{requestInterceptor:i,responseInterceptor:s}},strategies:[new fA]},parse:{mediaType:HC.latest(),parsers:[new FA({allowEmpty:!1,sourceMap:!1}),new VA({allowEmpty:!1,sourceMap:!1}),new LA({allowEmpty:!1,sourceMap:!1}),new zA({allowEmpty:!1,sourceMap:!1}),new dA({allowEmpty:!1,sourceMap:!1})]},dereference:{maxDepth:100,strategies:[new DO({allowMetaPatches:a,useCircularStructures:l,parameterMacro:u,modelPropertyMacro:h,mode:d,ancestors:E})],refSet:x,dereferenceOpts:{errors:N},immutable:!1,circular:l?"ignore":"replace",circularReplacer:l?KC.dereference.circularReplacer:MO}}),C=((e,t,r)=>new hy({element:r}).transclude(e,t))(S,_,y),A=c?C:OA(C)
return{spec:_g(A),errors:N}}catch(e){if(e instanceof Iy||e instanceof Dy)return{spec:null,errors:[]}
throw e}}
BO.cache=new WeakMap
const RO=BO,LO={name:"openapi-3-1-apidom",match:({spec:e})=>cm(e),normalize:({spec:e})=>AA(OA)(e),resolve:async e=>RO(e)},zO=LO,FO=e=>async t=>(async e=>{const{spec:t,requestInterceptor:r,responseInterceptor:n}=e,i=nm(e),s=im(e),o=t||await Bf(s,{requestInterceptor:r,responseInterceptor:n})(i),a={...e,spec:o}
return e.strategies.find((e=>e.match(a))).resolve(a)})({...e,...t}),VO=FO({strategies:[fm,dm,am]})
var $O=l(39584),UO=l.n($O),HO=l(57427)
function qO(e){return"[object Object]"===Object.prototype.toString.call(e)}function WO(e){var t,r
return!1!==qO(e)&&(void 0===(t=e.constructor)||!1!==qO(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}const KO=function(){const e=GO,t=JO,r=this,n="parser.js: Parser(): "
r.ast=void 0,r.stats=void 0,r.trace=void 0,r.callbacks=[]
let i,s,o,a,l,c,u,h=0,d=0,p=0,f=0,m=0,g=new function(){this.state=e.ACTIVE,this.phraseLength=0,this.refresh=()=>{this.state=e.ACTIVE,this.phraseLength=0}}
r.parse=(y,v,w,S)=>{const k=`${n}parse(): `
h=0,d=0,p=0,f=0,m=0,i=void 0,s=void 0,o=void 0,a=void 0,g.refresh(),l=void 0,c=void 0,u=void 0,a=t.stringToChars(w),i=y.rules,s=y.udts
const x=v.toLowerCase()
let E
for(const e in i)if(x===i[e].lower){E=i[e].index
break}if(void 0===E)throw new Error(`${k}start rule name '${startRule}' not recognized`);(()=>{const e=`${n}initializeCallbacks(): `
let t,o
for(l=[],c=[],t=0;t<i.length;t+=1)l[t]=void 0
for(t=0;t<s.length;t+=1)c[t]=void 0
const a=[]
for(t=0;t<i.length;t+=1)a.push(i[t].lower)
for(t=0;t<s.length;t+=1)a.push(s[t].lower)
for(const n in r.callbacks){if(t=a.indexOf(n.toLowerCase()),t<0)throw new Error(`${e}syntax callback '${n}' not a rule or udt name`)
if(o=r.callbacks[n]?r.callbacks[n]:void 0,"function"!=typeof o&&void 0!==o)throw new Error(`${e}syntax callback[${n}] must be function reference or falsy)`)
t<i.length?l[t]=o:c[t-i.length]=o}})(),r.trace&&r.trace.init(i,s,a),r.stats&&r.stats.init(i,s),r.ast&&r.ast.init(i,s,a),u=S,o=[{type:e.RNM,index:E}],b(0,0),o=void 0
let N=!1
switch(g.state){case e.ACTIVE:throw new Error(`${k}final state should never be 'ACTIVE'`)
case e.NOMATCH:N=!1
break
case e.EMPTY:case e.MATCH:N=g.phraseLength===a.length
break
default:throw new Error("unrecognized state")}return{success:N,state:g.state,stateName:e.idName(g.state),length:a.length,matched:g.phraseLength,maxMatched:m,maxTreeDepth:p,nodeHits:f}}
const y=(t,r,i,s)=>{if(r.phraseLength>i){let e=`${n}opRNM(${t.name}): callback function error: `
throw e+=`sysData.phraseLength: ${r.phraseLength}`,e+=` must be <= remaining chars: ${i}`,new Error(e)}switch(r.state){case e.ACTIVE:if(!s)throw new Error(`${n}opRNM(${t.name}): callback function return error. ACTIVE state not allowed.`)
break
case e.EMPTY:r.phraseLength=0
break
case e.MATCH:0===r.phraseLength&&(r.state=e.EMPTY)
break
case e.NOMATCH:r.phraseLength=0
break
default:throw new Error(`${n}opRNM(${t.name}): callback function return error. Unrecognized return state: ${r.state}`)}},v=(t,l)=>{let d,p,f
const m=o[t],y=s[m.index]
g.UdtIndex=y.index,h||(f=r.ast&&r.ast.udtDefined(m.index),f&&(p=i.length+m.index,d=r.ast.getLength(),r.ast.down(p,y.name)))
const v=a.length-l
c[m.index](g,a,l,u),((t,r,i)=>{if(r.phraseLength>i){let e=`${n}opUDT(${t.name}): callback function error: `
throw e+=`sysData.phraseLength: ${r.phraseLength}`,e+=` must be <= remaining chars: ${i}`,new Error(e)}switch(r.state){case e.ACTIVE:throw new Error(`${n}opUDT(${t.name}) ACTIVE state return not allowed.`)
case e.EMPTY:if(!t.empty)throw new Error(`${n}opUDT(${t.name}) may not return EMPTY.`)
r.phraseLength=0
break
case e.MATCH:if(0===r.phraseLength){if(!t.empty)throw new Error(`${n}opUDT(${t.name}) may not return EMPTY.`)
r.state=e.EMPTY}break
case e.NOMATCH:r.phraseLength=0
break
default:throw new Error(`${n}opUDT(${t.name}): callback function return error. Unrecognized return state: ${r.state}`)}})(y,g,v),h||f&&(g.state===e.NOMATCH?r.ast.setLength(d):r.ast.up(p,y.name,l,g.phraseLength))},b=(t,s)=>{const c=`${n}opExecute(): `,w=o[t]
switch(f+=1,d>p&&(p=d),d+=1,g.refresh(),r.trace&&r.trace.down(w,s),w.type){case e.ALT:((t,r)=>{const n=o[t]
for(let i=0;i<n.children.length&&(b(n.children[i],r),g.state===e.NOMATCH);i+=1);})(t,s)
break
case e.CAT:((t,n)=>{let i,s,a,l
const c=o[t]
r.ast&&(s=r.ast.getLength()),i=!0,a=n,l=0
for(let r=0;r<c.children.length;r+=1){if(b(c.children[r],a),g.state===e.NOMATCH){i=!1
break}a+=g.phraseLength,l+=g.phraseLength}i?(g.state=0===l?e.EMPTY:e.MATCH,g.phraseLength=l):(g.state=e.NOMATCH,g.phraseLength=0,r.ast&&r.ast.setLength(s))})(t,s)
break
case e.REP:((t,n)=>{let i,s,l,c
const u=o[t]
if(0===u.max)return g.state=e.EMPTY,void(g.phraseLength=0)
for(s=n,l=0,c=0,r.ast&&(i=r.ast.getLength());!(s>=a.length)&&(b(t+1,s),g.state!==e.NOMATCH)&&g.state!==e.EMPTY&&(c+=1,l+=g.phraseLength,s+=g.phraseLength,c!==u.max););g.state===e.EMPTY||c>=u.min?(g.state=0===l?e.EMPTY:e.MATCH,g.phraseLength=l):(g.state=e.NOMATCH,g.phraseLength=0,r.ast&&r.ast.setLength(i))})(t,s)
break
case e.RNM:((t,n)=>{let s,c,d
const p=o[t],f=i[p.index],m=l[f.index]
if(h||(c=r.ast&&r.ast.ruleDefined(p.index),c&&(s=r.ast.getLength(),r.ast.down(p.index,i[p.index].name))),m){const t=a.length-n
m(g,a,n,u),y(f,g,t,!0),g.state===e.ACTIVE&&(d=o,o=f.opcodes,b(0,n),o=d,m(g,a,n,u),y(f,g,t,!1))}else d=o,o=f.opcodes,b(0,n,g),o=d
h||c&&(g.state===e.NOMATCH?r.ast.setLength(s):r.ast.up(p.index,f.name,n,g.phraseLength))})(t,s)
break
case e.TRG:((t,r)=>{const n=o[t]
g.state=e.NOMATCH,r<a.length&&n.min<=a[r]&&a[r]<=n.max&&(g.state=e.MATCH,g.phraseLength=1)})(t,s)
break
case e.TBS:((t,r)=>{const n=o[t],i=n.string.length
if(g.state=e.NOMATCH,r+i<=a.length){for(let e=0;e<i;e+=1)if(a[r+e]!==n.string[e])return
g.state=e.MATCH,g.phraseLength=i}})(t,s)
break
case e.TLS:((t,r)=>{let n
const i=o[t]
g.state=e.NOMATCH
const s=i.string.length
if(0!==s){if(r+s<=a.length){for(let e=0;e<s;e+=1)if(n=a[r+e],n>=65&&n<=90&&(n+=32),n!==i.string[e])return
g.state=e.MATCH,g.phraseLength=s}}else g.state=e.EMPTY})(t,s)
break
case e.UDT:v(t,s)
break
case e.AND:((t,r)=>{switch(h+=1,b(t+1,r),h-=1,g.phraseLength=0,g.state){case e.EMPTY:case e.MATCH:g.state=e.EMPTY
break
case e.NOMATCH:g.state=e.NOMATCH
break
default:throw new Error(`opAND: invalid state ${g.state}`)}})(t,s)
break
case e.NOT:((t,r)=>{switch(h+=1,b(t+1,r),h-=1,g.phraseLength=0,g.state){case e.EMPTY:case e.MATCH:g.state=e.NOMATCH
break
case e.NOMATCH:g.state=e.EMPTY
break
default:throw new Error(`opNOT: invalid state ${g.state}`)}})(t,s)
break
default:throw new Error(`${c}unrecognized operator`)}h||s+g.phraseLength>m&&(m=s+g.phraseLength),r.stats&&r.stats.collect(w,g),r.trace&&r.trace.up(w,g.state,s,g.phraseLength),d-=1}},ZO=function(){const e=GO,t=JO,r=this
let n,i,s,o=0
const a=[],l=[],c=[]
function u(e){let t=""
for(;e-- >0;)t+=" "
return t}r.callbacks=[],r.init=(e,t,u)=>{let h
l.length=0,c.length=0,o=0,n=e,i=t,s=u
const d=[]
for(h=0;h<n.length;h+=1)d.push(n[h].lower)
for(h=0;h<i.length;h+=1)d.push(i[h].lower)
for(o=n.length+i.length,h=0;h<o;h+=1)a[h]=void 0
for(const n in r.callbacks){const e=n.toLowerCase()
if(h=d.indexOf(e),h<0)throw new Error(`parser.js: Ast()): init: node '${n}' not a rule or udt name`)
a[h]=r.callbacks[n]}},r.ruleDefined=e=>!!a[e],r.udtDefined=e=>!!a[n.length+e],r.down=(t,r)=>{const n=c.length
return l.push(n),c.push({name:r,thisIndex:n,thatIndex:void 0,state:e.SEM_PRE,callbackIndex:t,phraseIndex:void 0,phraseLength:void 0,stack:l.length}),n},r.up=(t,r,n,i)=>{const s=c.length,o=l.pop()
return c.push({name:r,thisIndex:s,thatIndex:o,state:e.SEM_POST,callbackIndex:t,phraseIndex:n,phraseLength:i,stack:l.length}),c[o].thatIndex=s,c[o].phraseIndex=n,c[o].phraseLength=i,s},r.translate=t=>{let r,n
for(let i=0;i<c.length;i+=1)n=c[i],r=a[n.callbackIndex],r&&(n.state===e.SEM_PRE?r(e.SEM_PRE,s,n.phraseIndex,n.phraseLength,t):r&&r(e.SEM_POST,s,n.phraseIndex,n.phraseLength,t))},r.setLength=e=>{c.length=e,l.length=e>0?c[e-1].stack:0},r.getLength=()=>c.length,r.toXml=()=>{let r="",n=0
return r+='<?xml version="1.0" encoding="utf-8"?>\n',r+=`<root nodes="${c.length/2}" characters="${s.length}">\n`,r+="\x3c!-- input string --\x3e\n",r+=u(n+2),r+=t.charsToString(s),r+="\n",c.forEach((i=>{i.state===e.SEM_PRE?(n+=1,r+=u(n),r+=`<node name="${i.name}" index="${i.phraseIndex}" length="${i.phraseLength}">\n`,r+=u(n+2),r+=t.charsToString(s,i.phraseIndex,i.phraseLength),r+="\n"):(r+=u(n),r+=`</node>\x3c!-- name="${i.name}" --\x3e\n`,n-=1)})),r+="</root>\n",r}},JO={stringToChars:e=>[...e].map((e=>e.codePointAt(0))),charsToString:(e,t,r)=>{let n=e
for(;!(void 0===t||t<0);){if(void 0===r){n=e.slice(t)
break}if(r<=0)return""
n=e.slice(t,t+r)
break}return String.fromCodePoint(...n)}},GO={ALT:1,CAT:2,REP:3,RNM:4,TRG:5,TBS:6,TLS:7,UDT:11,AND:12,NOT:13,ACTIVE:100,MATCH:101,EMPTY:102,NOMATCH:103,SEM_PRE:200,SEM_POST:201,SEM_OK:300,idName:e=>{switch(e){case GO.ALT:return"ALT"
case GO.CAT:return"CAT"
case GO.REP:return"REP"
case GO.RNM:return"RNM"
case GO.TRG:return"TRG"
case GO.TBS:return"TBS"
case GO.TLS:return"TLS"
case GO.UDT:return"UDT"
case GO.AND:return"AND"
case GO.NOT:return"NOT"
case GO.ACTIVE:return"ACTIVE"
case GO.EMPTY:return"EMPTY"
case GO.MATCH:return"MATCH"
case GO.NOMATCH:return"NOMATCH"
case GO.SEM_PRE:return"SEM_PRE"
case GO.SEM_POST:return"SEM_POST"
case GO.SEM_OK:return"SEM_OK"
default:return"UNRECOGNIZED STATE"}}},YO=(e,t,r,n,i)=>(e===GO.SEM_PRE?i.push(["slash",JO.charsToString(t,r,n)]):GO.SEM_POST,GO.SEM_OK),XO=(e,t,r,n,i)=>{if(e===GO.SEM_PRE){if(!1===Array.isArray(i))throw new Error("parser's user data must be an array")
i.push(["path-template",JO.charsToString(t,r,n)])}return GO.SEM_OK},QO=(e,t,r,n,i)=>(e===GO.SEM_PRE?i.push(["path",JO.charsToString(t,r,n)]):GO.SEM_POST,GO.SEM_OK),eP=(e,t,r,n,i)=>(e===GO.SEM_PRE?i.push(["path-literal",JO.charsToString(t,r,n)]):GO.SEM_POST,GO.SEM_OK),tP=(e,t,r,n,i)=>(e===GO.SEM_PRE?i.push(["query",JO.charsToString(t,r,n)]):GO.SEM_POST,GO.SEM_OK),rP=(e,t,r,n,i)=>(e===GO.SEM_PRE?i.push(["query-marker",JO.charsToString(t,r,n)]):GO.SEM_POST,GO.SEM_OK),nP=(e,t,r,n,i)=>(e===GO.SEM_PRE?i.push(["fragment",JO.charsToString(t,r,n)]):GO.SEM_POST,GO.SEM_OK),iP=(e,t,r,n,i)=>(e===GO.SEM_PRE?i.push(["fragment-marker",JO.charsToString(t,r,n)]):GO.SEM_POST,GO.SEM_OK),sP=(e,t,r,n,i)=>(e===GO.SEM_PRE?i.push(["template-expression",JO.charsToString(t,r,n)]):GO.SEM_POST,GO.SEM_OK),oP=(e,t,r,n,i)=>(e===GO.SEM_PRE?i.push(["template-expression-param-name",JO.charsToString(t,r,n)]):GO.SEM_POST,GO.SEM_OK),aP=new function(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"path-template",lower:"path-template",index:0,isBkr:!1},this.rules[1]={name:"path",lower:"path",index:1,isBkr:!1},this.rules[2]={name:"path-segment",lower:"path-segment",index:2,isBkr:!1},this.rules[3]={name:"query",lower:"query",index:3,isBkr:!1},this.rules[4]={name:"query-literal",lower:"query-literal",index:4,isBkr:!1},this.rules[5]={name:"query-marker",lower:"query-marker",index:5,isBkr:!1},this.rules[6]={name:"fragment",lower:"fragment",index:6,isBkr:!1},this.rules[7]={name:"fragment-literal",lower:"fragment-literal",index:7,isBkr:!1},this.rules[8]={name:"fragment-marker",lower:"fragment-marker",index:8,isBkr:!1},this.rules[9]={name:"slash",lower:"slash",index:9,isBkr:!1},this.rules[10]={name:"path-literal",lower:"path-literal",index:10,isBkr:!1},this.rules[11]={name:"template-expression",lower:"template-expression",index:11,isBkr:!1},this.rules[12]={name:"template-expression-param-name",lower:"template-expression-param-name",index:12,isBkr:!1},this.rules[13]={name:"unreserved",lower:"unreserved",index:13,isBkr:!1},this.rules[14]={name:"pct-encoded",lower:"pct-encoded",index:14,isBkr:!1},this.rules[15]={name:"sub-delims",lower:"sub-delims",index:15,isBkr:!1},this.rules[16]={name:"sub-delims-no-slash",lower:"sub-delims-no-slash",index:16,isBkr:!1},this.rules[17]={name:"ALPHA",lower:"alpha",index:17,isBkr:!1},this.rules[18]={name:"DIGIT",lower:"digit",index:18,isBkr:!1},this.rules[19]={name:"HEXDIG",lower:"hexdig",index:19,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,2,6]},this.rules[0].opcodes[1]={type:4,index:1},this.rules[0].opcodes[2]={type:3,min:0,max:1},this.rules[0].opcodes[3]={type:2,children:[4,5]},this.rules[0].opcodes[4]={type:4,index:5},this.rules[0].opcodes[5]={type:4,index:3},this.rules[0].opcodes[6]={type:3,min:0,max:1},this.rules[0].opcodes[7]={type:2,children:[8,9]},this.rules[0].opcodes[8]={type:4,index:8},this.rules[0].opcodes[9]={type:4,index:6},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:2,children:[1,2,6]},this.rules[1].opcodes[1]={type:4,index:9},this.rules[1].opcodes[2]={type:3,min:0,max:1/0},this.rules[1].opcodes[3]={type:2,children:[4,5]},this.rules[1].opcodes[4]={type:4,index:2},this.rules[1].opcodes[5]={type:4,index:9},this.rules[1].opcodes[6]={type:3,min:0,max:1},this.rules[1].opcodes[7]={type:4,index:2},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:3,min:1,max:1/0},this.rules[2].opcodes[1]={type:1,children:[2,3]},this.rules[2].opcodes[2]={type:4,index:10},this.rules[2].opcodes[3]={type:4,index:11},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:0,max:1/0},this.rules[3].opcodes[1]={type:4,index:4},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:3,min:1,max:1/0},this.rules[4].opcodes[1]={type:1,children:[2,3,4,5,6,7,8,9,10]},this.rules[4].opcodes[2]={type:4,index:13},this.rules[4].opcodes[3]={type:4,index:14},this.rules[4].opcodes[4]={type:4,index:15},this.rules[4].opcodes[5]={type:7,string:[58]},this.rules[4].opcodes[6]={type:7,string:[64]},this.rules[4].opcodes[7]={type:7,string:[47]},this.rules[4].opcodes[8]={type:7,string:[63]},this.rules[4].opcodes[9]={type:7,string:[38]},this.rules[4].opcodes[10]={type:7,string:[61]},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:7,string:[63]},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:3,min:0,max:1/0},this.rules[6].opcodes[1]={type:4,index:7},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:3,min:1,max:1/0},this.rules[7].opcodes[1]={type:1,children:[2,3,4,5,6,7,8]},this.rules[7].opcodes[2]={type:4,index:13},this.rules[7].opcodes[3]={type:4,index:14},this.rules[7].opcodes[4]={type:4,index:15},this.rules[7].opcodes[5]={type:7,string:[58]},this.rules[7].opcodes[6]={type:7,string:[64]},this.rules[7].opcodes[7]={type:7,string:[47]},this.rules[7].opcodes[8]={type:7,string:[63]},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:7,string:[35]},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:7,string:[47]},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:3,min:1,max:1/0},this.rules[10].opcodes[1]={type:1,children:[2,3,4,5,6]},this.rules[10].opcodes[2]={type:4,index:13},this.rules[10].opcodes[3]={type:4,index:14},this.rules[10].opcodes[4]={type:4,index:16},this.rules[10].opcodes[5]={type:7,string:[58]},this.rules[10].opcodes[6]={type:7,string:[64]},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:2,children:[1,2,3]},this.rules[11].opcodes[1]={type:7,string:[123]},this.rules[11].opcodes[2]={type:4,index:12},this.rules[11].opcodes[3]={type:7,string:[125]},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:3,min:1,max:1/0},this.rules[12].opcodes[1]={type:1,children:[2,3,4,5,6]},this.rules[12].opcodes[2]={type:4,index:13},this.rules[12].opcodes[3]={type:4,index:14},this.rules[12].opcodes[4]={type:4,index:16},this.rules[12].opcodes[5]={type:7,string:[58]},this.rules[12].opcodes[6]={type:7,string:[64]},this.rules[13].opcodes=[],this.rules[13].opcodes[0]={type:1,children:[1,2,3,4,5,6]},this.rules[13].opcodes[1]={type:4,index:17},this.rules[13].opcodes[2]={type:4,index:18},this.rules[13].opcodes[3]={type:7,string:[45]},this.rules[13].opcodes[4]={type:7,string:[46]},this.rules[13].opcodes[5]={type:7,string:[95]},this.rules[13].opcodes[6]={type:7,string:[126]},this.rules[14].opcodes=[],this.rules[14].opcodes[0]={type:2,children:[1,2,3]},this.rules[14].opcodes[1]={type:7,string:[37]},this.rules[14].opcodes[2]={type:4,index:19},this.rules[14].opcodes[3]={type:4,index:19},this.rules[15].opcodes=[],this.rules[15].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11]},this.rules[15].opcodes[1]={type:7,string:[33]},this.rules[15].opcodes[2]={type:7,string:[36]},this.rules[15].opcodes[3]={type:7,string:[38]},this.rules[15].opcodes[4]={type:7,string:[39]},this.rules[15].opcodes[5]={type:7,string:[40]},this.rules[15].opcodes[6]={type:7,string:[41]},this.rules[15].opcodes[7]={type:7,string:[42]},this.rules[15].opcodes[8]={type:7,string:[43]},this.rules[15].opcodes[9]={type:7,string:[44]},this.rules[15].opcodes[10]={type:7,string:[59]},this.rules[15].opcodes[11]={type:7,string:[61]},this.rules[16].opcodes=[],this.rules[16].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10]},this.rules[16].opcodes[1]={type:7,string:[33]},this.rules[16].opcodes[2]={type:7,string:[36]},this.rules[16].opcodes[3]={type:7,string:[38]},this.rules[16].opcodes[4]={type:7,string:[39]},this.rules[16].opcodes[5]={type:7,string:[40]},this.rules[16].opcodes[6]={type:7,string:[41]},this.rules[16].opcodes[7]={type:7,string:[42]},this.rules[16].opcodes[8]={type:7,string:[43]},this.rules[16].opcodes[9]={type:7,string:[44]},this.rules[16].opcodes[10]={type:7,string:[59]},this.rules[17].opcodes=[],this.rules[17].opcodes[0]={type:1,children:[1,2]},this.rules[17].opcodes[1]={type:5,min:65,max:90},this.rules[17].opcodes[2]={type:5,min:97,max:122},this.rules[18].opcodes=[],this.rules[18].opcodes[0]={type:5,min:48,max:57},this.rules[19].opcodes=[],this.rules[19].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[19].opcodes[1]={type:4,index:18},this.rules[19].opcodes[2]={type:7,string:[97]},this.rules[19].opcodes[3]={type:7,string:[98]},this.rules[19].opcodes[4]={type:7,string:[99]},this.rules[19].opcodes[5]={type:7,string:[100]},this.rules[19].opcodes[6]={type:7,string:[101]},this.rules[19].opcodes[7]={type:7,string:[102]},this.toString=function(){let e=""
return e+="; OpenAPI Path Templating ABNF syntax\n",e+="path-template                  = path [ query-marker query ] [ fragment-marker fragment ]\n",e+="path                           = slash *( path-segment slash ) [ path-segment ]\n",e+="path-segment                   = 1*( path-literal / template-expression )\n",e+="query                          = *( query-literal )\n",e+='query-literal                  = 1*( unreserved / pct-encoded / sub-delims / ":" / "@" / "/" / "?" / "&" / "=" )\n',e+='query-marker                   = "?"\n',e+="fragment                       = *( fragment-literal )\n",e+='fragment-literal               = 1*( unreserved / pct-encoded / sub-delims / ":" / "@" / "/" / "?" )\n',e+='fragment-marker                = "#"\n',e+='slash                          = "/"\n',e+='path-literal                   = 1*( unreserved / pct-encoded / sub-delims-no-slash / ":" / "@" )\n',e+='template-expression            = "{" template-expression-param-name "}"\n',e+='template-expression-param-name = 1*( unreserved / pct-encoded / sub-delims-no-slash / ":" / "@" )\n',e+="\n",e+="; Characters definitions (from RFC 3986)\n",e+='unreserved          = ALPHA / DIGIT / "-" / "." / "_" / "~"\n',e+='pct-encoded         = "%" HEXDIG HEXDIG\n',e+='sub-delims          = "!" / "$" / "&" / "\'" / "(" / ")"\n',e+='                    / "*" / "+" / "," / ";" / "="\n',e+='sub-delims-no-slash = "!" / "$" / "&" / "\'" / "(" / ")"\n',e+='                    / "*" / "+" / "," / ";"\n',e+="ALPHA               = %x41-5A / %x61-7A   ; A-Z / a-z\n",e+="DIGIT               = %x30-39            ; 0-9\n",e+='HEXDIG              = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n','; OpenAPI Path Templating ABNF syntax\npath-template                  = path [ query-marker query ] [ fragment-marker fragment ]\npath                           = slash *( path-segment slash ) [ path-segment ]\npath-segment                   = 1*( path-literal / template-expression )\nquery                          = *( query-literal )\nquery-literal                  = 1*( unreserved / pct-encoded / sub-delims / ":" / "@" / "/" / "?" / "&" / "=" )\nquery-marker                   = "?"\nfragment                       = *( fragment-literal )\nfragment-literal               = 1*( unreserved / pct-encoded / sub-delims / ":" / "@" / "/" / "?" )\nfragment-marker                = "#"\nslash                          = "/"\npath-literal                   = 1*( unreserved / pct-encoded / sub-delims-no-slash / ":" / "@" )\ntemplate-expression            = "{" template-expression-param-name "}"\ntemplate-expression-param-name = 1*( unreserved / pct-encoded / sub-delims-no-slash / ":" / "@" )\n\n; Characters definitions (from RFC 3986)\nunreserved          = ALPHA / DIGIT / "-" / "." / "_" / "~"\npct-encoded         = "%" HEXDIG HEXDIG\nsub-delims          = "!" / "$" / "&" / "\'" / "(" / ")"\n                    / "*" / "+" / "," / ";" / "="\nsub-delims-no-slash = "!" / "$" / "&" / "\'" / "(" / ")"\n                    / "*" / "+" / "," / ";"\nALPHA               = %x41-5A / %x61-7A   ; A-Z / a-z\nDIGIT               = %x30-39            ; 0-9\nHEXDIG              = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"\n'}},lP=e=>(e=>{try{return"string"==typeof e&&decodeURIComponent(e)!==e}catch(e){return!1}})(e)?e:encodeURIComponent(e),cP=["slash","path-literal","query-marker","query-literal","template-expression-param-name"],uP=(e,t={},r={})=>{const n={encoder:lP,...r},i=(e=>{const t=new KO
return t.ast=new ZO,t.ast.callbacks["path-template"]=XO,t.ast.callbacks.path=QO,t.ast.callbacks.query=tP,t.ast.callbacks["query-marker"]=rP,t.ast.callbacks.fragment=nP,t.ast.callbacks["fragment-marker"]=iP,t.ast.callbacks.slash=YO,t.ast.callbacks["path-literal"]=eP,t.ast.callbacks["template-expression"]=sP,t.ast.callbacks["template-expression-param-name"]=oP,{result:t.parse(aP,"path-template",e),ast:t.ast}})(e)
if(!i.result.success)return e
const s=[]
i.ast.translate(s)
const o=s.filter((([e])=>cP.includes(e))).map((([e,r])=>"template-expression-param-name"===e?Object.hasOwn(t,r)?n.encoder(t[r]):`{${r}}`:r))
return o.join("")},hP={body:function({req:e,value:t}){void 0!==t&&(e.body=t)},header:function({req:e,parameter:t,value:r}){e.headers=e.headers||{},void 0!==r&&(e.headers[t.name]=r)},query:function({req:e,value:t,parameter:r}){if(e.query=e.query||{},!1===t&&"boolean"===r.type&&(t="false"),0===t&&["number","integer"].indexOf(r.type)>-1&&(t="0"),t)e.query[r.name]={collectionFormat:r.collectionFormat,value:t}
else if(r.allowEmptyValue&&void 0!==t){const t=r.name
e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}},path:function({req:e,value:t,parameter:r,baseURL:n}){if(void 0!==t){const i=e.url.replace(n,""),s=uP(i,{[r.name]:t})
e.url=n+s}},formData:function({req:e,value:t,parameter:r}){if(!1===t&&"boolean"===r.type&&(t="false"),0===t&&["number","integer"].indexOf(r.type)>-1&&(t="0"),t)e.form=e.form||{},e.form[r.name]={collectionFormat:r.collectionFormat,value:t}
else if(r.allowEmptyValue&&void 0!==t){e.form=e.form||{}
const t=r.name
e.form[t]=e.form[t]||{},e.form[t].allowEmptyValue=!0}}}
function dP(e,t){return t.includes("application/json")?"string"==typeof e?e:(Array.isArray(e)&&(e=e.map((e=>{try{return JSON.parse(e)}catch(t){return e}}))),JSON.stringify(e)):String(e)}function pP({req:e,value:t,parameter:r,baseURL:n}){const{name:i,style:s,explode:o,content:a}=r
if(void 0===t)return
const l=e.url.replace(n,"")
let c
if(a){const e=Object.keys(a)[0]
c=uP(l,{[i]:t},{encoder:t=>Hf(dP(t,e))})}else c=uP(l,{[i]:t},{encoder:e=>qf({key:r.name,value:e,style:s||"simple",explode:o||!1,escape:"reserved"})})
e.url=n+c}function fP({req:e,value:t,parameter:r}){if(e.query=e.query||{},void 0!==t&&r.content){const n=dP(t,Object.keys(r.content)[0])
if(n)e.query[r.name]=n
else if(r.allowEmptyValue){const t=r.name
e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}}else if(!1===t&&(t="false"),0===t&&(t="0"),t){const{style:n,explode:i,allowReserved:s}=r
e.query[r.name]={value:t,serializationOption:{style:n,explode:i,allowReserved:s}}}else if(r.allowEmptyValue&&void 0!==t){const t=r.name
e.query[t]=e.query[t]||{},e.query[t].allowEmptyValue=!0}}const mP=["accept","authorization","content-type"]
function gP({req:e,parameter:t,value:r}){if(e.headers=e.headers||{},!(mP.indexOf(t.name.toLowerCase())>-1))if(void 0!==r&&t.content){const n=Object.keys(t.content)[0]
e.headers[t.name]=dP(r,n)}else void 0===r||Array.isArray(r)&&0===r.length||(e.headers[t.name]=qf({key:t.name,value:r,style:t.style||"simple",explode:void 0!==t.explode&&t.explode,escape:!1}))}function yP({req:e,parameter:t,value:r}){e.headers=e.headers||{}
const n=typeof r
if(void 0!==r&&t.content){const n=Object.keys(t.content)[0]
e.headers.Cookie=`${t.name}=${dP(r,n)}`}else if(void 0!==r&&(!Array.isArray(r)||0!==r.length)){const i="object"===n&&!Array.isArray(r)&&t.explode?"":`${t.name}=`
e.headers.Cookie=i+qf({key:t.name,value:r,escape:!1,style:t.style||"form",explode:void 0!==t.explode&&t.explode})}}const vP="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{btoa:bP}=vP,wP=bP
function SP(e,t){return`${t.toLowerCase()}-${e}`}const kP=e=>Array.isArray(e)?e:[],xP=e=>{try{return new URL(e)}catch{const t=new URL(e,Gp),r=String(e).startsWith("/")?t.pathname:t.pathname.substring(1)
return{hash:t.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:r,port:"",protocol:"",search:t.search,searchParams:t.searchParams}}}
class EP extends bh{}const NP=(e,t)=>t.filter((t=>t.name===e)),_P=e=>{const t={}
e.forEach((e=>{t[e.in]||(t[e.in]={}),t[e.in][e.name]=e}))
const r=[]
return Object.keys(t).forEach((e=>{Object.keys(t[e]).forEach((n=>{r.push(t[e][n])}))})),r},CP={buildRequest:OP}
function AP({http:e,fetch:t,spec:r,operationId:n,pathName:i,method:s,parameters:o,securities:a,...l}){const c=e||t||rm
i&&s&&!n&&(n=SP(i,s))
const u=CP.buildRequest({spec:r,operationId:n,parameters:o,securities:a,http:c,...l})
return u.body&&(WO(u.body)||Array.isArray(u.body))&&(u.body=JSON.stringify(u.body)),c(u)}function OP(e){const{spec:t,operationId:r,responseContentType:n,scheme:i,requestInterceptor:s,responseInterceptor:o,contextUrl:a,userFetch:l,server:c,serverVariables:u,http:h,signal:d}=e
let{parameters:p,parameterBuilders:f}=e
const m=um(t)
f||(f=m?M:hP)
let g={url:"",credentials:h&&h.withCredentials?"include":"same-origin",headers:{},cookies:{}}
d&&(g.signal=d),s&&(g.requestInterceptor=s),o&&(g.responseInterceptor=o),l&&(g.userFetch=l)
const y=function(e,t){return e&&e.paths?function(e,t){return function(e,t){if(!e||"object"!=typeof e||!e.paths||"object"!=typeof e.paths)return null
const{paths:r}=e
for(const n in r)for(const i in r[n]){if("PARAMETERS"===i.toUpperCase())continue
const s=r[n][i]
if(!s||"object"!=typeof s)continue
const o={spec:e,pathName:n,method:i.toUpperCase(),operation:s}
if(t(o))return o}}(e,t)||null}(e,(({pathName:e,method:r,operation:n})=>{if(!n||"object"!=typeof n)return!1
const i=n.operationId
return[Df(n,e,r),SP(e,r),i].some((e=>e&&e===t))})):null}(t,r)
if(!y)throw new EP(`Operation ${r} not found`)
const{operation:v={},method:b,pathName:w}=y,S=function(e){return um(e.spec)?function({spec:e,pathName:t,method:r,server:n,contextUrl:i,serverVariables:s={}}){var o,a
let l,c=[],u=""
const h=null==e||null===(o=e.paths)||void 0===o||null===(o=o[t])||void 0===o||null===(o=o[(r||"").toLowerCase()])||void 0===o?void 0:o.servers,d=null==e||null===(a=e.paths)||void 0===a||null===(a=a[t])||void 0===a?void 0:a.servers,p=null==e?void 0:e.servers
return c=TP(h)?h:TP(d)?d:TP(p)?p:[Yp],n&&(l=c.find((e=>e.url===n)),l&&(u=n)),u||([l]=c,u=l.url),u.includes("{")&&function(e){const t=UO()(e).call(e,/\{([^{}]+)}|([^{}]+)/g)
return Array.from(t,(([,e])=>e)).filter(Boolean)}(u).forEach((e=>{if(l.variables&&l.variables[e]){const t=l.variables[e],r=s[e]||t.default,n=new RegExp(`{${Ep(e)}}`,"g")
u=u.replace(n,r)}})),function(e="",t=""){const r=xP(e&&t?Rp(t,e):e),n=xP(t),i=PP(r.protocol)||PP(n.protocol),s=r.host||n.host,o=r.pathname
let a
return a=i&&s?`${i}://${s+o}`:o,"/"===a[a.length-1]?a.slice(0,-1):a}(u,i)}(e):function({spec:e,scheme:t,contextUrl:r=""}){const n=xP(r),i=Array.isArray(e.schemes)?e.schemes[0]:null,s=t||i||PP(n.protocol)||"http",o=e.host||n.host||"",a=e.basePath||""
let l
return l=s&&o?`${s}://${o+a}`:a,"/"===l[l.length-1]?l.slice(0,-1):l}(e)}({spec:t,scheme:i,contextUrl:a,server:c,serverVariables:u,pathName:w,method:b})
if(g.url+=S,!r)return delete g.cookies,g
g.url+=w,g.method=`${b}`.toUpperCase(),p=p||{}
const k=t.paths[w]||{}
n&&(g.headers.accept=n)
const x=_P([].concat(kP(v.parameters)).concat(kP(k.parameters)))
x.forEach((e=>{const r=f[e.in]
let n
if("body"===e.in&&e.schema&&e.schema.properties&&(n=p),n=e&&e.name&&p[e.name],void 0===n?n=e&&e.name&&p[`${e.in}.${e.name}`]:NP(e.name,x).length>1&&console.warn(`Parameter '${e.name}' is ambiguous because the defined spec has more than one parameter with the name: '${e.name}' and the passed-in parameter values did not define an 'in' value.`),null!==n){if(void 0!==e.default&&void 0===n&&(n=e.default),void 0===n&&e.required&&!e.allowEmptyValue)throw new Error(`Required parameter ${e.name} is not provided`)
if(m&&e.schema&&"object"===e.schema.type&&"string"==typeof n)try{n=JSON.parse(n)}catch(e){throw new Error("Could not parse object parameter value string as JSON")}r&&r({req:g,parameter:e,value:n,operation:v,spec:t,baseURL:S})}}))
const E={...e,operation:v}
if(g=m?function(e,t){const{operation:r,requestBody:n,securities:i,spec:s,attachContentTypeForEmptyPayload:o}=e
let{requestContentType:a}=e
t=function({request:e,securities:t={},operation:r={},spec:n}){var i
const s={...e},{authorized:o={}}=t,a=r.security||n.security||[],l=o&&!!Object.keys(o).length,c=(null==n||null===(i=n.components)||void 0===i?void 0:i.securitySchemes)||{}
return s.headers=s.headers||{},s.query=s.query||{},Object.keys(t).length&&l&&a&&(!Array.isArray(r.security)||r.security.length)?(a.forEach((e=>{Object.keys(e).forEach((e=>{const t=o[e],r=c[e]
if(!t)return
const n=t.value||t,{type:i}=r
if(t)if("apiKey"===i)"query"===r.in&&(s.query[r.name]=n),"header"===r.in&&(s.headers[r.name]=n),"cookie"===r.in&&(s.cookies[r.name]=n)
else if("http"===i){if(/^basic$/i.test(r.scheme)){const e=n.username||"",t=n.password||"",r=wP(`${e}:${t}`)
s.headers.Authorization=`Basic ${r}`}/^bearer$/i.test(r.scheme)&&(s.headers.Authorization=`Bearer ${n}`)}else if("oauth2"===i||"openIdConnect"===i){const e=t.token||{},n=e[r["x-tokenName"]||"access_token"]
let i=e.token_type
i&&"bearer"!==i.toLowerCase()||(i="Bearer"),s.headers.Authorization=`${i} ${n}`}}))})),s):e}({request:t,securities:i,operation:r,spec:s})
const l=r.requestBody||{},c=Object.keys(l.content||{}),u=a&&c.indexOf(a)>-1
if(n||o){if(a&&u)t.headers["Content-Type"]=a
else if(!a){const e=c[0]
e&&(t.headers["Content-Type"]=e,a=e)}}else a&&u&&(t.headers["Content-Type"]=a)
if(!e.responseContentType&&r.responses){const e=Object.entries(r.responses).filter((([e,t])=>{const r=parseInt(e,10)
return r>=200&&r<300&&WO(t.content)})).reduce(((e,[,t])=>e.concat(Object.keys(t.content))),[])
e.length>0&&(t.headers.accept=e.join(", "))}if(n)if(a){if(c.indexOf(a)>-1)if("application/x-www-form-urlencoded"===a||"multipart/form-data"===a)if("object"==typeof n){var h,d
const e=null!==(h=null===(d=l.content[a])||void 0===d?void 0:d.encoding)&&void 0!==h?h:{}
t.form={},Object.keys(n).forEach((r=>{let i
try{i=JSON.parse(n[r])}catch{i=n[r]}t.form[r]={value:i,encoding:e[r]||{}}}))}else if("string"==typeof n){var p,f
const e=null!==(p=null===(f=l.content[a])||void 0===f?void 0:f.encoding)&&void 0!==p?p:{}
try{t.form={}
const r=JSON.parse(n)
Object.entries(r).forEach((([r,n])=>{t.form[r]={value:n,encoding:e[r]||{}}}))}catch{t.form=n}}else t.form=n
else t.body=n}else t.body=n
return t}(E,g):function(e,t){const{spec:r,operation:n,securities:i,requestContentType:s,responseContentType:o,attachContentTypeForEmptyPayload:a}=e
if(t=function({request:e,securities:t={},operation:r={},spec:n}){const i={...e},{authorized:s={},specSecurity:o=[]}=t,a=r.security||o,l=s&&!!Object.keys(s).length,c=n.securityDefinitions
return i.headers=i.headers||{},i.query=i.query||{},Object.keys(t).length&&l&&a&&(!Array.isArray(r.security)||r.security.length)?(a.forEach((e=>{Object.keys(e).forEach((e=>{const t=s[e]
if(!t)return
const{token:r}=t,n=t.value||t,o=c[e],{type:a}=o,l=o["x-tokenName"]||"access_token",u=r&&r[l]
let h=r&&r.token_type
if(t)if("apiKey"===a){const e="query"===o.in?"query":"headers"
i[e]=i[e]||{},i[e][o.name]=n}else if("basic"===a)if(n.header)i.headers.authorization=n.header
else{const e=n.username||"",t=n.password||""
n.base64=wP(`${e}:${t}`),i.headers.authorization=`Basic ${n.base64}`}else"oauth2"===a&&u&&(h=h&&"bearer"!==h.toLowerCase()?h:"Bearer",i.headers.authorization=`${h} ${u}`)}))})),i):e}({request:t,securities:i,operation:n,spec:r}),t.body||t.form||a)s?t.headers["Content-Type"]=s:Array.isArray(n.consumes)?[t.headers["Content-Type"]]=n.consumes:Array.isArray(r.consumes)?[t.headers["Content-Type"]]=r.consumes:n.parameters&&n.parameters.filter((e=>"file"===e.type)).length?t.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter((e=>"formData"===e.in)).length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded")
else if(s){const e=n.parameters&&n.parameters.filter((e=>"body"===e.in)).length>0,r=n.parameters&&n.parameters.filter((e=>"formData"===e.in)).length>0;(e||r)&&(t.headers["Content-Type"]=s)}return!o&&Array.isArray(n.produces)&&n.produces.length>0&&(t.headers.accept=n.produces.join(", ")),t}(E,g),g.cookies&&Object.keys(g.cookies).length){const e=Object.keys(g.cookies).reduce(((e,t)=>{const r=g.cookies[t]
return e+(e?"&":"")+HO.serialize(t,r)}),"")
g.headers.Cookie=e}return g.cookies&&delete g.cookies,Xf(g)}const PP=e=>e?e.replace(/\W/g,""):null,TP=e=>Array.isArray(e)&&e.length>0,IP=e=>async(t,r,n={})=>(async(e,t,r={})=>{const{returnEntireTree:n,baseDoc:i,requestInterceptor:s,responseInterceptor:o,parameterMacro:a,modelPropertyMacro:l,useCircularStructures:c,strategies:u}=r,h={spec:e,pathDiscriminator:t,baseDoc:i,requestInterceptor:s,responseInterceptor:o,parameterMacro:a,modelPropertyMacro:l,useCircularStructures:c,strategies:u},d=u.find((e=>e.match(h))).normalize(h),p=await VO({...h,spec:d,allowMetaPatches:!0,skipNormalization:!0})
return!n&&Array.isArray(t)&&t.length&&(p.spec=t.reduce(((e,t)=>null==e?void 0:e[t]),p.spec)||null),p})(t,r,{...e,...n}),jP=(IP({strategies:[fm,dm,am]}),(e,t)=>(...r)=>{e(...r)
const n=t.getConfigs().withCredentials
t.fn.fetch.withCredentials=n})
function DP({configs:e,getConfigs:t}){return{fn:{fetch:(r=rm,n=e.preFetch,i=e.postFetch,i=i||(e=>e),n=n||(e=>e),e=>("string"==typeof e&&(e={url:e}),e=Xf(e),e=n(e),i(r(e)))),buildRequest:OP,execute:AP,resolve:FO({strategies:[zO,fm,dm,am]}),resolveSubtree:async(e,r,n={})=>{const i=t(),s={modelPropertyMacro:i.modelPropertyMacro,parameterMacro:i.parameterMacro,requestInterceptor:i.requestInterceptor,responseInterceptor:i.responseInterceptor,strategies:[zO,fm,dm,am]}
return IP(s)(e,r,n)},serializeRes:tm,opId:Df},statePlugins:{configs:{wrapActions:{loaded:jP}}}}
var r,n,i}function MP(){return{fn:{shallowEqualKeys:rt}}}var BP=l(40961),RP=l(78418),LP=$,zP=Symbol.for("react-redux-context"),FP="undefined"!=typeof globalThis?globalThis:{},VP=function(){if(!LP.createContext)return{}
const e=FP[zP]??(FP[zP]=new Map)
let t=e.get(LP.createContext)
return t||(t=LP.createContext(null),e.set(LP.createContext,t)),t}(),$P=Symbol.for("react.element"),UP=Symbol.for("react.portal"),HP=Symbol.for("react.fragment"),qP=Symbol.for("react.strict_mode"),WP=Symbol.for("react.profiler"),KP=Symbol.for("react.provider"),ZP=Symbol.for("react.context"),JP=Symbol.for("react.server_context"),GP=Symbol.for("react.forward_ref"),YP=Symbol.for("react.suspense"),XP=Symbol.for("react.suspense_list"),QP=Symbol.for("react.memo"),eT=Symbol.for("react.lazy"),tT=(Symbol.for("react.offscreen"),Symbol.for("react.client.reference"),GP),rT=QP
function nT(e){return function(t){const r=e(t)
function n(){return r}return n.dependsOnOwnProps=!1,n}}function iT(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function sT(e,t){return function(t,{displayName:r}){const n=function(e,t){return n.dependsOnOwnProps?n.mapToProps(e,t):n.mapToProps(e,void 0)}
return n.dependsOnOwnProps=!0,n.mapToProps=function(t,r){n.mapToProps=e,n.dependsOnOwnProps=iT(e)
let i=n(t,r)
return"function"==typeof i&&(n.mapToProps=i,n.dependsOnOwnProps=iT(i),i=n(t,r)),i},n}}function oT(e,t){return(r,n)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function aT(e,t,r){return{...r,...e,...t}}var lT={notify(){},get:()=>[]}
function cT(e,t){let r,n=lT,i=0,s=!1
function o(){c.onStateChange&&c.onStateChange()}function a(){i++,r||(r=t?t.addNestedSub(o):e.subscribe(o),n=function(){let e=null,t=null
return{clear(){e=null,t=null},notify(){!function(e){e()}((()=>{let t=e
for(;t;)t.callback(),t=t.next}))},get(){const t=[]
let r=e
for(;r;)t.push(r),r=r.next
return t},subscribe(r){let n=!0
const i=t={callback:r,next:null,prev:t}
return i.prev?i.prev.next=i:e=i,function(){n&&null!==e&&(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}())}function l(){i--,r&&0===i&&(r(),r=void 0,n.clear(),n=lT)}const c={addNestedSub:function(e){a()
const t=n.subscribe(e)
let r=!1
return()=>{r||(r=!0,t(),l())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:o,isSubscribed:function(){return s},trySubscribe:function(){s||(s=!0,a())},tryUnsubscribe:function(){s&&(s=!1,l())},getListeners:()=>n}
return c}var uT=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),hT="undefined"!=typeof navigator&&"ReactNative"===navigator.product,dT=uT||hT?LP.useLayoutEffect:LP.useEffect
function pT(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function fT(e,t){if(pT(e,t))return!0
if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1
const r=Object.keys(e),n=Object.keys(t)
if(r.length!==n.length)return!1
for(let i=0;i<r.length;i++)if(!Object.prototype.hasOwnProperty.call(t,r[i])||!pT(e[r[i]],t[r[i]]))return!1
return!0}var mT={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},gT={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},yT={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},vT={[tT]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[rT]:yT}
function bT(e){return function(e){return function(e){if("object"==typeof e&&null!==e){const t=e.$$typeof
switch(t){case $P:{const r=e.type
switch(r){case HP:case WP:case qP:case YP:case XP:return r
default:{const e=r&&r.$$typeof
switch(e){case JP:case ZP:case GP:case eT:case QP:case KP:return e
default:return t}}}}case UP:return t}}}(e)===QP}(e)?yT:vT[e.$$typeof]||mT}var wT=Object.defineProperty,ST=Object.getOwnPropertyNames,kT=Object.getOwnPropertySymbols,xT=Object.getOwnPropertyDescriptor,ET=Object.getPrototypeOf,NT=Object.prototype
function _T(e,t){if("string"!=typeof t){if(NT){const r=ET(t)
r&&r!==NT&&_T(e,r)}let r=ST(t)
kT&&(r=r.concat(kT(t)))
const n=bT(e),i=bT(t)
for(let s=0;s<r.length;++s){const o=r[s]
if(!(gT[o]||i&&i[o]||n&&n[o])){const r=xT(t,o)
try{wT(e,o,r)}catch(e){}}}}return e}var CT=()=>{throw new Error("uSES not initialized!")},AT=[null,null]
function OT(e,t,r,n,i,s){e.current=n,r.current=!1,i.current&&(i.current=null,s())}function PT(e,t){return e===t}var TT=function({store:e,context:t,children:r,serverState:n,stabilityCheck:i="once",identityFunctionCheck:s="once"}){const o=LP.useMemo((()=>{const t=cT(e)
return{store:e,subscription:t,getServerState:n?()=>n:void 0,stabilityCheck:i,identityFunctionCheck:s}}),[e,n,i,s]),a=LP.useMemo((()=>e.getState()),[e])
dT((()=>{const{subscription:t}=o
return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),a!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[o,a])
const l=t||VP
return LP.createElement(l.Provider,{value:o},r)}
RP.useSyncExternalStoreWithSelector,(e=>{CT=e})($.useSyncExternalStore)
var IT=l(83488),jT=l.n(IT)
const DT=e=>t=>{const{fn:r}=e()
class n extends $.Component{render(){return $.createElement(t,Js()({},e(),this.props,this.context))}}return n.displayName=`WithSystem(${r.getDisplayName(t)})`,n},MT=(e,t)=>r=>{const{fn:n}=e()
class i extends $.Component{render(){return $.createElement(TT,{store:t},$.createElement(r,Js()({},this.props,this.context)))}}return i.displayName=`WithRoot(${n.getDisplayName(r)})`,i},BT=(e,t,r)=>J(r?MT(e,r):jT(),function(e,t,r,{pure:n,areStatesEqual:i=PT,areOwnPropsEqual:s=fT,areStatePropsEqual:o=fT,areMergedPropsEqual:a=fT,forwardRef:l=!1,context:c=VP}={}){const u=c,h=function(e){return e?"function"==typeof e?sT(e):oT(e,"mapStateToProps"):nT((()=>({})))}(e),d=function(e){return e&&"object"==typeof e?nT((t=>function(e,t){const r={}
for(const n in e){const i=e[n]
"function"==typeof i&&(r[n]=(...e)=>t(i(...e)))}return r}(e,t))):e?"function"==typeof e?sT(e):oT(e,"mapDispatchToProps"):nT((e=>({dispatch:e})))}(t),p=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:r,areMergedPropsEqual:n}){let i,s=!1
return function(t,r,o){const a=e(t,r,o)
return s?n(a,i)||(i=a):(s=!0,i=a),i}}}(e):oT(e,"mergeProps"):()=>aT}(r),f=Boolean(e)
return e=>{const t=e.displayName||e.name||"Component",r=`Connect(${t})`,n={shouldHandleStateChanges:f,displayName:r,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:h,initMapDispatchToProps:d,initMergeProps:p,areStatesEqual:i,areStatePropsEqual:o,areOwnPropsEqual:s,areMergedPropsEqual:a}
function c(t){const[r,i,s]=LP.useMemo((()=>{const{reactReduxForwardedRef:e,...r}=t
return[t.context,e,r]}),[t]),o=LP.useMemo((()=>u),[r,u]),a=LP.useContext(o),l=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),c=Boolean(a)&&Boolean(a.store),h=l?t.store:a.store,d=c?a.getServerState:h.getState,p=LP.useMemo((()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:r,initMergeProps:n,...i}){return function(e,t,r,n,{areStatesEqual:i,areOwnPropsEqual:s,areStatePropsEqual:o}){let a,l,c,u,h,d=!1
function p(d,p){const f=!s(p,l),m=!i(d,a,p,l)
return a=d,l=p,f&&m?(c=e(a,l),t.dependsOnOwnProps&&(u=t(n,l)),h=r(c,u,l),h):f?(e.dependsOnOwnProps&&(c=e(a,l)),t.dependsOnOwnProps&&(u=t(n,l)),h=r(c,u,l),h):m?function(){const t=e(a,l),n=!o(t,c)
return c=t,n&&(h=r(c,u,l)),h}():h}return function(i,s){return d?p(i,s):function(i,s){return a=i,l=s,c=e(a,l),u=t(n,l),h=r(c,u,l),d=!0,h}(i,s)}}(t(e,i),r(e,i),n(e,i),e,i)}(h.dispatch,n)),[h]),[m,g]=LP.useMemo((()=>{if(!f)return AT
const e=cT(h,l?void 0:a.subscription),t=e.notifyNestedSubs.bind(e)
return[e,t]}),[h,l,a]),y=LP.useMemo((()=>l?a:{...a,subscription:m}),[l,a,m]),v=LP.useRef(void 0),b=LP.useRef(s),w=LP.useRef(void 0),S=LP.useRef(!1),k=LP.useRef(!1),x=LP.useRef(void 0)
dT((()=>(k.current=!0,()=>{k.current=!1})),[])
const E=LP.useMemo((()=>()=>w.current&&s===b.current?w.current:p(h.getState(),s)),[h,s]),N=LP.useMemo((()=>e=>m?function(e,t,r,n,i,s,o,a,l,c,u){if(!e)return()=>{}
let h=!1,d=null
const p=()=>{if(h||!a.current)return
const e=t.getState()
let r,p
try{r=n(e,i.current)}catch(e){p=e,d=e}p||(d=null),r===s.current?o.current||c():(s.current=r,l.current=r,o.current=!0,u())}
return r.onStateChange=p,r.trySubscribe(),p(),()=>{if(h=!0,r.tryUnsubscribe(),r.onStateChange=null,d)throw d}}(f,h,m,p,b,v,S,k,w,g,e):()=>{}),[m])
let _
!function(e,t){dT((()=>e(...t)),void 0)}(OT,[b,v,S,s,w,g])
try{_=CT(N,E,d?()=>p(d(),s):E)}catch(e){throw x.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${x.current.stack}\n\n`),e}dT((()=>{x.current=void 0,w.current=void 0,v.current=_}))
const C=LP.useMemo((()=>LP.createElement(e,{..._,ref:i})),[i,e,_])
return LP.useMemo((()=>f?LP.createElement(o.Provider,{value:y},C):C),[o,C,y])}const m=LP.memo(c)
if(m.WrappedComponent=e,m.displayName=c.displayName=r,l){const t=LP.forwardRef((function(e,t){return LP.createElement(m,{...e,reactReduxForwardedRef:t})}))
return t.displayName=r,t.WrappedComponent=e,_T(t,e)}return _T(m,e)}}(((r,n)=>{const i={...n,...e()},s=t.prototype?.mapStateToProps||(e=>({state:e}))
return s(r,i)})),DT(e))(t),RT=(e,t,r,n)=>{for(const i in t){const s=t[i]
"function"==typeof s&&s(r[i],n[i],e())}},LT=(e,t,r)=>(t,n)=>{const{fn:i}=e(),s=r(t,"root")
class o extends $.Component{constructor(t,r){super(t,r),RT(e,n,t,{})}UNSAFE_componentWillReceiveProps(t){RT(e,n,t,this.props)}render(){const e=mr()(this.props,n?Object.keys(n):[])
return $.createElement(s,e)}}return o.displayName=`WithMappedContainer(${i.getDisplayName(s)})`,o},zT=(e,t,r,n)=>i=>{const s=r(e,t,n)("App","root"),{createRoot:o}=BP
o(i).render($.createElement(s,null))},FT=(e,t,r)=>(n,i,s={})=>{if("string"!=typeof n)throw new TypeError("Need a string, to fetch a component. Was given a "+typeof n)
const o=r(n)
return o?i?"root"===i?BT(e,o,t()):BT(e,o):o:(s.failSilently||e().log.warn("Could not find component:",n),null)},VT=e=>e.displayName||e.name||"Component",$T=({getComponents:e,getStore:t,getSystem:r})=>{const n=(e=>Ze(e,((...e)=>JSON.stringify(e))))(FT(r,t,e)),i=(e=>Fa(e,((...e)=>e)))(LT(r,0,n))
return{rootInjects:{getComponent:n,makeMappedContainer:i,render:zT(r,t,FT,e)},fn:{getDisplayName:VT}}},UT=({React:e,getSystem:t,getStore:r,getComponents:n})=>{const i={},s=parseInt(e?.version,10)
return s>=16&&s<18&&(i.render=((e,t,r,n)=>i=>{const s=r(e,t,n)("App","root")
BP.render($.createElement(s,null),i)})(t,r,FT,n)),{rootInjects:i}}
function HT(e){let{fn:t}=e
const r={download:e=>({errActions:r,specSelectors:n,specActions:i,getConfigs:s})=>{let{fetch:o}=t
const a=s()
function l(t){if(t instanceof Error||t.status>=400)return i.updateLoadingStatus("failed"),r.newThrownErr(Object.assign(new Error((t.message||t.statusText)+" "+e),{source:"fetch"})),void(!t.status&&t instanceof Error&&function(){try{let t
if("URL"in ve?t=new URL(e):(t=document.createElement("a"),t.href=e),"https:"!==t.protocol&&"https:"===ve.location.protocol){const e=Object.assign(new Error(`Possible mixed-content issue? The page was loaded over https:// but a ${t.protocol}// URL was specified. Check that you are not attempting to load mixed content.`),{source:"fetch"})
return void r.newThrownErr(e)}if(t.origin!==ve.location.origin){const e=Object.assign(new Error(`Possible cross-origin (CORS) issue? The URL origin (${t.origin}) does not match the page (${ve.location.origin}). Check the server returns the correct 'Access-Control-Allow-*' headers.`),{source:"fetch"})
r.newThrownErr(e)}}catch(e){return}}())
i.updateLoadingStatus("success"),i.updateSpec(t.text),n.url()!==e&&i.updateUrl(e)}e=e||n.url(),i.updateLoadingStatus("loading"),r.clear({source:"fetch"}),o({url:e,loadSpec:!0,requestInterceptor:a.requestInterceptor||(e=>e),responseInterceptor:a.responseInterceptor||(e=>e),credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(l,l)},updateLoadingStatus:e=>{let t=[null,"loading","failed","success","failedConfig"]
return-1===t.indexOf(e)&&console.error(`Error: ${e} is not one of ${JSON.stringify(t)}`),{type:"spec_update_loading_status",payload:e}}}
let n={loadingStatus:er((e=>e||(0,G.Map)()),(e=>e.get("loadingStatus")||null))}
return{statePlugins:{spec:{actions:r,reducers:{spec_update_loading_status:(e,t)=>"string"==typeof t.payload?e.set("loadingStatus",t.payload):e},selectors:n}}}}function qT(e,t){(null==t||t>e.length)&&(t=e.length)
for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r]
return n}function WT(e){return function(e){if(Array.isArray(e))return qT(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return qT(e,t)
var r=Object.prototype.toString.call(e).slice(8,-1)
return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qT(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function KT(e){return KT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},KT(e)}function ZT(e,t,r){return(t=function(e){var t=function(e){if("object"!=KT(e)||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=KT(r))return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==KT(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function JT(){return JT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]
for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},JT.apply(this,arguments)}function GT(e,t){var r=Object.keys(e)
if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function YT(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{}
t%2?GT(Object(r),!0).forEach((function(t){ZT(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):GT(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var XT={}
function QT(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0
return function(e){if(0===e.length||1===e.length)return e
var t=e.join(".")
return XT[t]||(XT[t]=function(e){var t=e.length
return 0===t||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0}(e)),XT[t]}(e.filter((function(e){return"token"!==e}))).reduce((function(e,t){return YT(YT({},e),r[t])}),t)}function eI(e){return e.join(" ")}function tI(e){var t=e.node,r=e.stylesheet,n=e.style,i=void 0===n?{}:n,s=e.useInlineStyles,o=e.key,a=t.properties,l=t.type,c=t.tagName,u=t.value
if("text"===l)return u
if(c){var h,d=function(e,t){var r=0
return function(n){return r+=1,n.map((function(n,i){return tI({node:n,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(i)})}))}}(r,s)
if(s){var p=Object.keys(r).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),f=a.className&&a.className.includes("token")?["token"]:[],m=a.className&&f.concat(a.className.filter((function(e){return!p.includes(e)})))
h=YT(YT({},a),{},{className:eI(m)||void 0,style:QT(a.className,Object.assign({},a.style,i),r)})}else h=YT(YT({},a),{},{className:eI(a.className)})
var g=d(t.children)
return $.createElement(c,JT({key:o},h),g)}}var rI=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]
function nI(e,t){var r=Object.keys(e)
if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e)
t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function iI(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{}
t%2?nI(Object(r),!0).forEach((function(t){ZT(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nI(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var sI=/\n/g
function oI(e){var t=e.codeString,r=e.codeStyle,n=e.containerStyle,i=void 0===n?{float:"left",paddingRight:"10px"}:n,s=e.numberStyle,o=void 0===s?{}:s,a=e.startingLineNumber
return $.createElement("code",{style:Object.assign({},r,i)},function(e){var t=e.startingLineNumber,r=e.style
return e.lines.map((function(e,n){var i=n+t
return $.createElement("span",{key:"line-".concat(n),className:"react-syntax-highlighter-line-number",style:"function"==typeof r?r(i):r},"".concat(i,"\n"))}))}({lines:t.replace(/\n$/,"").split("\n"),style:o,startingLineNumber:a}))}function aI(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function lI(e,t,r){var n,i={display:"inline-block",minWidth:(n=r,"".concat(n.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},s="function"==typeof e?e(t):e
return iI(iI({},i),s)}function cI(e){var t=e.children,r=e.lineNumber,n=e.lineNumberStyle,i=e.largestLineNumber,s=e.showInlineLineNumbers,o=e.lineProps,a=void 0===o?{}:o,l=e.className,c=void 0===l?[]:l,u=e.showLineNumbers,h=e.wrapLongLines,d="function"==typeof a?a(r):a
if(d.className=c,r&&s){var p=lI(n,r,i)
t.unshift(aI(r,p))}return h&u&&(d.style=iI(iI({},d.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:d,children:t}}function uI(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=0;n<e.length;n++){var i=e[n]
if("text"===i.type)r.push(cI({children:[i],className:WT(new Set(t))}))
else if(i.children){var s=t.concat(i.properties.className)
uI(i.children,s).forEach((function(e){return r.push(e)}))}}return r}function hI(e,t,r,n,i,s,o,a,l){var c,u=uI(e.value),h=[],d=-1,p=0
function f(e,s){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[]
return t||c.length>0?function(e,t){return cI({children:e,lineNumber:t,lineNumberStyle:a,largestLineNumber:o,showInlineLineNumbers:i,lineProps:r,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:n,wrapLongLines:l})}(e,s,c):function(e,t){if(n&&t&&i){var r=lI(a,t,o)
e.unshift(aI(t,r))}return e}(e,s)}for(var m=function(){var e=u[p],t=e.children[0].value,r=function(e){return e.match(sI)}(t)
if(r){var i=t.split("\n")
i.forEach((function(t,r){var o=n&&h.length+s,a={type:"text",value:"".concat(t,"\n")}
if(0===r){var l=f(u.slice(d+1,p).concat(cI({children:[a],className:e.properties.className})),o)
h.push(l)}else if(r===i.length-1){var c=u[p+1]&&u[p+1].children&&u[p+1].children[0],m={type:"text",value:"".concat(t)}
if(c){var g=cI({children:[m],className:e.properties.className})
u.splice(p+1,0,g)}else{var y=f([m],o,e.properties.className)
h.push(y)}}else{var v=f([a],o,e.properties.className)
h.push(v)}})),d=p}p++};p<u.length;)m()
if(d!==u.length-1){var g=u.slice(d+1,u.length)
if(g&&g.length){var y=f(g,n&&h.length+s)
h.push(y)}}return t?h:(c=[]).concat.apply(c,h)}function dI(e){var t=e.rows,r=e.stylesheet,n=e.useInlineStyles
return t.map((function(e,t){return tI({node:e,stylesheet:r,useInlineStyles:n,key:"code-segement".concat(t)})}))}function pI(e){return e&&void 0!==e.highlightAuto}var fI=l(43768),mI=function(e,t){return function(r){var n=r.language,i=r.children,s=r.style,o=void 0===s?t:s,a=r.customStyle,l=void 0===a?{}:a,c=r.codeTagProps,u=void 0===c?{className:n?"language-".concat(n):void 0,style:iI(iI({},o['code[class*="language-"]']),o['code[class*="language-'.concat(n,'"]')])}:c,h=r.useInlineStyles,d=void 0===h||h,p=r.showLineNumbers,f=void 0!==p&&p,m=r.showInlineLineNumbers,g=void 0===m||m,y=r.startingLineNumber,v=void 0===y?1:y,b=r.lineNumberContainerStyle,w=r.lineNumberStyle,S=void 0===w?{}:w,k=r.wrapLines,x=r.wrapLongLines,E=void 0!==x&&x,N=r.lineProps,_=void 0===N?{}:N,C=r.renderer,A=r.PreTag,O=void 0===A?"pre":A,P=r.CodeTag,T=void 0===P?"code":P,I=r.code,j=void 0===I?(Array.isArray(i)?i[0]:i)||"":I,D=r.astGenerator,M=function(e,t){if(null==e)return{}
var r,n,i=function(e,t){if(null==e)return{}
var r={}
for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue
r[n]=e[n]}return r}(e,t)
if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e)
for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,rI)
D=D||e
var B=f?$.createElement(oI,{containerStyle:b,codeStyle:u.style||{},numberStyle:S,startingLineNumber:v,codeString:j}):null,R=o.hljs||o['pre[class*="language-"]']||{backgroundColor:"#fff"},L=pI(D)?"hljs":"prismjs",z=d?Object.assign({},M,{style:Object.assign({},R,l)}):Object.assign({},M,{className:M.className?"".concat(L," ").concat(M.className):L,style:Object.assign({},l)})
if(u.style=iI(iI({},u.style),{},E?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!D)return $.createElement(O,z,B,$.createElement(T,u,j));(void 0===k&&C||E)&&(k=!0),C=C||dI
var F=[{type:"text",value:j}],V=function(e){var t=e.astGenerator,r=e.language,n=e.code,i=e.defaultCodeValue
if(pI(t)){var s=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,r)
return"text"===r?{value:i,language:"text"}:s?t.highlight(r,n):t.highlightAuto(n)}try{return r&&"text"!==r?{value:t.highlight(n,r)}:{value:i}}catch(e){return{value:i}}}({astGenerator:D,language:n,code:j,defaultCodeValue:F})
null===V.language&&(V.value=F)
var U=hI(V,k,_,f,g,v,V.value.length+v,S,E)
return $.createElement(O,z,$.createElement(T,u,!g&&B,C({rows:U,stylesheet:o,useInlineStyles:d})))}}(fI,{})
mI.registerLanguage=fI.registerLanguage
const gI=mI
var yI=l(95089)
const vI=l.n(yI)()
var bI=l(65772)
const wI=l.n(bI)()
var SI=l(17285)
const kI=l.n(SI)()
var xI=l(35344)
const EI=l.n(xI)()
var NI=l(17533)
const _I=l.n(NI)()
var CI=l(73402)
const AI=l.n(CI)()
var OI=l(26571)
const PI=l.n(OI)(),TI=()=>{gI.registerLanguage("json",wI),gI.registerLanguage("js",vI),gI.registerLanguage("xml",kI),gI.registerLanguage("yaml",_I),gI.registerLanguage("http",AI),gI.registerLanguage("bash",EI),gI.registerLanguage("powershell",PI),gI.registerLanguage("javascript",vI)},II={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"white"},"hljs-name":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-code":{fontStyle:"italic",color:"#888"},"hljs-emphasis":{fontStyle:"italic"},"hljs-tag":{color:"#62c8f3"},"hljs-variable":{color:"#ade5fc"},"hljs-template-variable":{color:"#ade5fc"},"hljs-selector-id":{color:"#ade5fc"},"hljs-selector-class":{color:"#ade5fc"},"hljs-string":{color:"#a2fca2"},"hljs-bullet":{color:"#d36363"},"hljs-type":{color:"#ffa"},"hljs-title":{color:"#ffa"},"hljs-section":{color:"#ffa"},"hljs-attribute":{color:"#ffa"},"hljs-quote":{color:"#ffa"},"hljs-built_in":{color:"#ffa"},"hljs-builtin-name":{color:"#ffa"},"hljs-number":{color:"#d36363"},"hljs-symbol":{color:"#d36363"},"hljs-keyword":{color:"#fcc28c"},"hljs-selector-tag":{color:"#fcc28c"},"hljs-literal":{color:"#fcc28c"},"hljs-comment":{color:"#888"},"hljs-deletion":{color:"#333",backgroundColor:"#fc9b9b"},"hljs-regexp":{color:"#c6b4f0"},"hljs-link":{color:"#c6b4f0"},"hljs-meta":{color:"#fc9b9b"},"hljs-addition":{backgroundColor:"#a2fca2",color:"#333"}},jI={agate:II,arta:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#aaa"},"hljs-subst":{color:"#aaa"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-comment":{color:"#444"},"hljs-quote":{color:"#444"},"hljs-meta":{color:"#444"},"hljs-string":{color:"#ffcc33"},"hljs-symbol":{color:"#ffcc33"},"hljs-bullet":{color:"#ffcc33"},"hljs-regexp":{color:"#ffcc33"},"hljs-number":{color:"#00cc66"},"hljs-addition":{color:"#00cc66"},"hljs-built_in":{color:"#32aaee"},"hljs-builtin-name":{color:"#32aaee"},"hljs-literal":{color:"#32aaee"},"hljs-type":{color:"#32aaee"},"hljs-template-variable":{color:"#32aaee"},"hljs-attribute":{color:"#32aaee"},"hljs-link":{color:"#32aaee"},"hljs-keyword":{color:"#6644aa"},"hljs-selector-tag":{color:"#6644aa"},"hljs-name":{color:"#6644aa"},"hljs-selector-id":{color:"#6644aa"},"hljs-selector-class":{color:"#6644aa"},"hljs-title":{color:"#bb1166"},"hljs-variable":{color:"#bb1166"},"hljs-deletion":{color:"#bb1166"},"hljs-template-tag":{color:"#bb1166"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},monokai:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#272822",color:"#ddd"},"hljs-tag":{color:"#f92672"},"hljs-keyword":{color:"#f92672",fontWeight:"bold"},"hljs-selector-tag":{color:"#f92672",fontWeight:"bold"},"hljs-literal":{color:"#f92672",fontWeight:"bold"},"hljs-strong":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-code":{color:"#66d9ef"},"hljs-class .hljs-title":{color:"white"},"hljs-attribute":{color:"#bf79db"},"hljs-symbol":{color:"#bf79db"},"hljs-regexp":{color:"#bf79db"},"hljs-link":{color:"#bf79db"},"hljs-string":{color:"#a6e22e"},"hljs-bullet":{color:"#a6e22e"},"hljs-subst":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e",fontWeight:"bold"},"hljs-section":{color:"#a6e22e",fontWeight:"bold"},"hljs-emphasis":{color:"#a6e22e"},"hljs-type":{color:"#a6e22e",fontWeight:"bold"},"hljs-built_in":{color:"#a6e22e"},"hljs-builtin-name":{color:"#a6e22e"},"hljs-selector-attr":{color:"#a6e22e"},"hljs-selector-pseudo":{color:"#a6e22e"},"hljs-addition":{color:"#a6e22e"},"hljs-variable":{color:"#a6e22e"},"hljs-template-tag":{color:"#a6e22e"},"hljs-template-variable":{color:"#a6e22e"},"hljs-comment":{color:"#75715e"},"hljs-quote":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"},"hljs-doctag":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"}},nord:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2E3440",color:"#D8DEE9"},"hljs-subst":{color:"#D8DEE9"},"hljs-selector-tag":{color:"#81A1C1"},"hljs-selector-id":{color:"#8FBCBB",fontWeight:"bold"},"hljs-selector-class":{color:"#8FBCBB"},"hljs-selector-attr":{color:"#8FBCBB"},"hljs-selector-pseudo":{color:"#88C0D0"},"hljs-addition":{backgroundColor:"rgba(163, 190, 140, 0.5)"},"hljs-deletion":{backgroundColor:"rgba(191, 97, 106, 0.5)"},"hljs-built_in":{color:"#8FBCBB"},"hljs-type":{color:"#8FBCBB"},"hljs-class":{color:"#8FBCBB"},"hljs-function":{color:"#88C0D0"},"hljs-function > .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},obsidian:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},"tomorrow-night":{"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}},idea:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#000",background:"#fff"},"hljs-subst":{fontWeight:"normal",color:"#000"},"hljs-title":{fontWeight:"normal",color:"#000"},"hljs-comment":{color:"#808080",fontStyle:"italic"},"hljs-quote":{color:"#808080",fontStyle:"italic"},"hljs-meta":{color:"#808000"},"hljs-tag":{background:"#efefef"},"hljs-section":{fontWeight:"bold",color:"#000080"},"hljs-name":{fontWeight:"bold",color:"#000080"},"hljs-literal":{fontWeight:"bold",color:"#000080"},"hljs-keyword":{fontWeight:"bold",color:"#000080"},"hljs-selector-tag":{fontWeight:"bold",color:"#000080"},"hljs-type":{fontWeight:"bold",color:"#000080"},"hljs-selector-id":{fontWeight:"bold",color:"#000080"},"hljs-selector-class":{fontWeight:"bold",color:"#000080"},"hljs-attribute":{fontWeight:"bold",color:"#0000ff"},"hljs-number":{fontWeight:"normal",color:"#0000ff"},"hljs-regexp":{fontWeight:"normal",color:"#0000ff"},"hljs-link":{fontWeight:"normal",color:"#0000ff"},"hljs-string":{color:"#008000",fontWeight:"bold"},"hljs-symbol":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-bullet":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-formula":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-doctag":{textDecoration:"underline"},"hljs-variable":{color:"#660e7a"},"hljs-template-variable":{color:"#660e7a"},"hljs-addition":{background:"#baeeba"},"hljs-deletion":{background:"#ffc8bd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}}},DI=II,MI=({language:e,className:t="",getConfigs:r,syntaxHighlighting:n={},children:i=""})=>{const s=r().syntaxHighlight.theme,{styles:o,defaultStyle:a}=n,l=o?.[s]??a
return $.createElement(gI,{language:e,className:t,style:l},i)}
var BI=l(5419),RI=l.n(BI)
const LI=({fileName:e="response.txt",className:t,downloadable:r,getComponent:n,canCopy:i,language:s,children:o})=>{const a=(0,$.useRef)(null),l=n("SyntaxHighlighter",!0),c=e=>{const{target:t,deltaY:r}=e,{scrollHeight:n,offsetHeight:i,scrollTop:s}=t
n>i&&(0===s&&r<0||i+s>=n&&r>0)&&e.preventDefault()}
return(0,$.useEffect)((()=>{const e=Array.from(a.current.childNodes).filter((e=>!!e.nodeType&&e.classList.contains("microlight")))
return e.forEach((e=>e.addEventListener("mousewheel",c,{passive:!1}))),()=>{e.forEach((e=>e.removeEventListener("mousewheel",c)))}}),[o,t,s]),$.createElement("div",{className:"highlight-code",ref:a},i&&$.createElement("div",{className:"copy-to-clipboard"},$.createElement(zo.CopyToClipboard,{text:o},$.createElement("button",null))),r?$.createElement("button",{className:"download-contents",onClick:()=>{RI()(o,e)}},"Download"):null,$.createElement(l,{language:s,className:Lo()(t,"microlight"),renderPlainText:({children:e,PlainTextViewer:r})=>$.createElement(r,{className:t},e)},o))},zI=({className:e="",children:t})=>$.createElement("pre",{className:Lo()("microlight",e)},t),FI=(e,t)=>({renderPlainText:r,children:n,...i})=>{const s=t.getConfigs().syntaxHighlight.activated,o=t.getComponent("PlainTextViewer")
return s||"function"!=typeof r?s?$.createElement(e,i,n):$.createElement(o,null,n):r({children:n,PlainTextViewer:o})},VI=()=>({afterLoad:TI,rootInjects:{syntaxHighlighting:{styles:jI,defaultStyle:DI}},components:{SyntaxHighlighter:MI,HighlightCode:LI,PlainTextViewer:zI}}),$I=()=>({wrapComponents:{SyntaxHighlighter:FI}}),UI=()=>[VI,$I],HI=()=>{const{GIT_DIRTY:e,GIT_COMMIT:t,PACKAGE_VERSION:r,BUILD_TIME:n}={PACKAGE_VERSION:"5.17.14",GIT_COMMIT:"g8aa52920",GIT_DIRTY:!0,BUILD_TIME:"Tue, 28 May 2024 05:23:41 GMT"}
ve.versions=ve.versions||{},ve.versions.swaggerUI={version:r,gitRevision:t,gitDirty:e,buildTimestamp:n}},qI=()=>({afterLoad:HI})
var WI=l(47248),KI=l.n(WI)
const ZI=console.error,JI=e=>t=>{const{getComponent:r,fn:n}=e(),i=r("ErrorBoundary"),s=n.getDisplayName(t)
class o extends $.Component{render(){return $.createElement(i,{targetName:s,getComponent:r,fn:n},$.createElement(t,Js()({},this.props,this.context)))}}var a
return o.displayName=`WithErrorBoundary(${s})`,(a=t).prototype&&a.prototype.isReactComponent&&(o.prototype.mapStateToProps=t.prototype.mapStateToProps),o},GI=({name:e})=>$.createElement("div",{className:"fallback"},"😱 ",$.createElement("i",null,"Could not render ","t"===e?"this component":e,", see the console."))
class YI extends $.Component{static getDerivedStateFromError(e){return{hasError:!0,error:e}}constructor(...e){super(...e),this.state={hasError:!1,error:null}}componentDidCatch(e,t){this.props.fn.componentDidCatch(e,t)}render(){const{getComponent:e,targetName:t,children:r}=this.props
if(this.state.hasError){const r=e("Fallback")
return $.createElement(r,{name:t})}return r}}s(YI,"defaultProps",{targetName:"this component",getComponent:()=>GI,fn:{componentDidCatch:ZI},children:null})
const XI=YI,QI=({componentList:e=[],fullOverride:t=!1}={})=>({getSystem:r})=>{const n=t?e:["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper",...e],i=KI()(n,Array(n.length).fill(((e,{fn:t})=>t.withErrorBoundary(e))))
return{fn:{componentDidCatch:ZI,withErrorBoundary:JI(r)},components:{ErrorBoundary:XI,Fallback:GI},wrapComponents:i}}
class ej extends $.Component{getLayout(){const{getComponent:e,layoutSelectors:t}=this.props,r=t.current()
return e(r,!0)||(()=>$.createElement("h1",null,' No layout defined for "',r,'" '))}render(){const e=this.getLayout()
return $.createElement(e,null)}}const tj=ej
class rj extends $.Component{constructor(...e){super(...e),s(this,"close",(()=>{let{authActions:e}=this.props
e.showDefinitions(!1)}))}render(){let{authSelectors:e,authActions:t,getComponent:r,errSelectors:n,specSelectors:i,fn:{AST:s={}}}=this.props,o=e.shownDefinitions()
const a=r("auths"),l=r("CloseIcon")
return $.createElement("div",{className:"dialog-ux"},$.createElement("div",{className:"backdrop-ux"}),$.createElement("div",{className:"modal-ux"},$.createElement("div",{className:"modal-dialog-ux"},$.createElement("div",{className:"modal-ux-inner"},$.createElement("div",{className:"modal-ux-header"},$.createElement("h3",null,"Available authorizations"),$.createElement("button",{type:"button",className:"close-modal",onClick:this.close},$.createElement(l,null))),$.createElement("div",{className:"modal-ux-content"},o.valueSeq().map(((o,l)=>$.createElement(a,{key:l,AST:s,definitions:o,getComponent:r,errSelectors:n,authSelectors:e,authActions:t,specSelectors:i}))))))))}}class nj extends $.Component{render(){let{isAuthorized:e,showPopup:t,onClick:r,getComponent:n}=this.props
const i=n("authorizationPopup",!0),s=n("LockAuthIcon",!0),o=n("UnlockAuthIcon",!0)
return $.createElement("div",{className:"auth-wrapper"},$.createElement("button",{className:e?"btn authorize locked":"btn authorize unlocked",onClick:r},$.createElement("span",null,"Authorize"),e?$.createElement(s,null):$.createElement(o,null)),t&&$.createElement(i,null))}}class ij extends $.Component{render(){const{authActions:e,authSelectors:t,specSelectors:r,getComponent:n}=this.props,i=r.securityDefinitions(),s=t.definitionsToAuthorize(),o=n("authorizeBtn")
return i?$.createElement(o,{onClick:()=>e.showDefinitions(s),isAuthorized:!!t.authorized().size,showPopup:!!t.shownDefinitions(),getComponent:n}):null}}class sj extends $.Component{constructor(...e){super(...e),s(this,"onClick",(e=>{e.stopPropagation()
let{onClick:t}=this.props
t&&t()}))}render(){let{isAuthorized:e,getComponent:t}=this.props
const r=t("LockAuthOperationIcon",!0),n=t("UnlockAuthOperationIcon",!0)
return $.createElement("button",{className:"authorization__btn","aria-label":e?"authorization button locked":"authorization button unlocked",onClick:this.onClick},e?$.createElement(r,{className:"locked"}):$.createElement(n,{className:"unlocked"}))}}class oj extends $.Component{constructor(e,t){super(e,t),s(this,"onAuthChange",(e=>{let{name:t}=e
this.setState({[t]:e})})),s(this,"submitAuth",(e=>{e.preventDefault()
let{authActions:t}=this.props
t.authorizeWithPersistOption(this.state)})),s(this,"logoutClick",(e=>{e.preventDefault()
let{authActions:t,definitions:r}=this.props,n=r.map(((e,t)=>t)).toArray()
this.setState(n.reduce(((e,t)=>(e[t]="",e)),{})),t.logoutWithPersistOption(n)})),s(this,"close",(e=>{e.preventDefault()
let{authActions:t}=this.props
t.showDefinitions(!1)})),this.state={}}render(){let{definitions:e,getComponent:t,authSelectors:r,errSelectors:n}=this.props
const i=t("AuthItem"),s=t("oauth2",!0),o=t("Button")
let a=r.authorized(),l=e.filter(((e,t)=>!!a.get(t))),c=e.filter((e=>"oauth2"!==e.get("type"))),u=e.filter((e=>"oauth2"===e.get("type")))
return $.createElement("div",{className:"auth-container"},!!c.size&&$.createElement("form",{onSubmit:this.submitAuth},c.map(((e,r)=>$.createElement(i,{key:r,schema:e,name:r,getComponent:t,onAuthChange:this.onAuthChange,authorized:a,errSelectors:n}))).toArray(),$.createElement("div",{className:"auth-btn-wrapper"},c.size===l.size?$.createElement(o,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):$.createElement(o,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),$.createElement(o,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),u&&u.size?$.createElement("div",null,$.createElement("div",{className:"scope-def"},$.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),$.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),e.filter((e=>"oauth2"===e.get("type"))).map(((e,t)=>$.createElement("div",{key:t},$.createElement(s,{authorized:a,schema:e,name:t})))).toArray()):null)}}class aj extends $.Component{render(){let{schema:e,name:t,getComponent:r,onAuthChange:n,authorized:i,errSelectors:s}=this.props
const o=r("apiKeyAuth"),a=r("basicAuth")
let l
const c=e.get("type")
switch(c){case"apiKey":l=$.createElement(o,{key:t,schema:e,name:t,errSelectors:s,authorized:i,getComponent:r,onChange:n})
break
case"basic":l=$.createElement(a,{key:t,schema:e,name:t,errSelectors:s,authorized:i,getComponent:r,onChange:n})
break
default:l=$.createElement("div",{key:t},"Unknown security definition type ",c)}return $.createElement("div",{key:`${t}-jump`},l)}}class lj extends $.Component{render(){let{error:e}=this.props,t=e.get("level"),r=e.get("message"),n=e.get("source")
return $.createElement("div",{className:"errors"},$.createElement("b",null,n," ",t),$.createElement("span",null,r))}}class cj extends $.Component{constructor(e,t){super(e,t),s(this,"onChange",(e=>{let{onChange:t}=this.props,r=e.target.value,n=Object.assign({},this.state,{value:r})
this.setState(n),t(n)}))
let{name:r,schema:n}=this.props,i=this.getValue()
this.state={name:r,schema:n,value:i}}getValue(){let{name:e,authorized:t}=this.props
return t&&t.getIn([e,"value"])}render(){let{schema:e,getComponent:t,errSelectors:r,name:n}=this.props
const i=t("Input"),s=t("Row"),o=t("Col"),a=t("authError"),l=t("Markdown",!0),c=t("JumpToPath",!0)
let u=this.getValue(),h=r.allErrors().filter((e=>e.get("authId")===n))
return $.createElement("div",null,$.createElement("h4",null,$.createElement("code",null,n||e.get("name"))," (apiKey)",$.createElement(c,{path:["securityDefinitions",n]})),u&&$.createElement("h6",null,"Authorized"),$.createElement(s,null,$.createElement(l,{source:e.get("description")})),$.createElement(s,null,$.createElement("p",null,"Name: ",$.createElement("code",null,e.get("name")))),$.createElement(s,null,$.createElement("p",null,"In: ",$.createElement("code",null,e.get("in")))),$.createElement(s,null,$.createElement("label",{htmlFor:"api_key_value"},"Value:"),u?$.createElement("code",null," ****** "):$.createElement(o,null,$.createElement(i,{id:"api_key_value",type:"text",onChange:this.onChange,autoFocus:!0}))),h.valueSeq().map(((e,t)=>$.createElement(a,{error:e,key:t}))))}}class uj extends $.Component{constructor(e,t){super(e,t),s(this,"onChange",(e=>{let{onChange:t}=this.props,{value:r,name:n}=e.target,i=this.state.value
i[n]=r,this.setState({value:i}),t(this.state)}))
let{schema:r,name:n}=this.props,i=this.getValue().username
this.state={name:n,schema:r,value:i?{username:i}:{}}}getValue(){let{authorized:e,name:t}=this.props
return e&&e.getIn([t,"value"])||{}}render(){let{schema:e,getComponent:t,name:r,errSelectors:n}=this.props
const i=t("Input"),s=t("Row"),o=t("Col"),a=t("authError"),l=t("JumpToPath",!0),c=t("Markdown",!0)
let u=this.getValue().username,h=n.allErrors().filter((e=>e.get("authId")===r))
return $.createElement("div",null,$.createElement("h4",null,"Basic authorization",$.createElement(l,{path:["securityDefinitions",r]})),u&&$.createElement("h6",null,"Authorized"),$.createElement(s,null,$.createElement(c,{source:e.get("description")})),$.createElement(s,null,$.createElement("label",{htmlFor:"auth_username"},"Username:"),u?$.createElement("code",null," ",u," "):$.createElement(o,null,$.createElement(i,{id:"auth_username",type:"text",required:"required",name:"username",onChange:this.onChange,autoFocus:!0}))),$.createElement(s,null,$.createElement("label",{htmlFor:"auth_password"},"Password:"),u?$.createElement("code",null," ****** "):$.createElement(o,null,$.createElement(i,{id:"auth_password",autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),h.valueSeq().map(((e,t)=>$.createElement(a,{error:e,key:t}))))}}function hj(e){const{example:t,showValue:r,getComponent:n}=e,i=n("Markdown",!0),s=n("HighlightCode",!0)
return t?$.createElement("div",{className:"example"},t.get("description")?$.createElement("section",{className:"example__section"},$.createElement("div",{className:"example__section-header"},"Example Description"),$.createElement("p",null,$.createElement(i,{source:t.get("description")}))):null,r&&t.has("value")?$.createElement("section",{className:"example__section"},$.createElement("div",{className:"example__section-header"},"Example Value"),$.createElement(s,null,ut(t.get("value")))):null):null}class dj extends $.PureComponent{constructor(...e){super(...e),s(this,"_onSelect",((e,{isSyntheticChange:t=!1}={})=>{"function"==typeof this.props.onSelect&&this.props.onSelect(e,{isSyntheticChange:t})})),s(this,"_onDomSelect",(e=>{if("function"==typeof this.props.onSelect){const t=e.target.selectedOptions[0].getAttribute("value")
this._onSelect(t,{isSyntheticChange:!1})}})),s(this,"getCurrentExample",(()=>{const{examples:e,currentExampleKey:t}=this.props,r=e.get(t),n=e.keySeq().first(),i=e.get(n)
return r||i||Map({})}))}componentDidMount(){const{onSelect:e,examples:t}=this.props
if("function"==typeof e){const e=t.first(),r=t.keyOf(e)
this._onSelect(r,{isSyntheticChange:!0})}}UNSAFE_componentWillReceiveProps(e){const{currentExampleKey:t,examples:r}=e
if(r!==this.props.examples&&!r.has(t)){const e=r.first(),t=r.keyOf(e)
this._onSelect(t,{isSyntheticChange:!0})}}render(){const{examples:e,currentExampleKey:t,isValueModified:r,isModifiedValueAvailable:n,showLabels:i}=this.props
return $.createElement("div",{className:"examples-select"},i?$.createElement("span",{className:"examples-select__section-label"},"Examples: "):null,$.createElement("select",{className:"examples-select-element",onChange:this._onDomSelect,value:n&&r?"__MODIFIED__VALUE__":t||""},n?$.createElement("option",{value:"__MODIFIED__VALUE__"},"[Modified value]"):null,e.map(((e,t)=>$.createElement("option",{key:t,value:t},e.get("summary")||t))).valueSeq()))}}s(dj,"defaultProps",{examples:Y().Map({}),onSelect:(...e)=>console.log("DEBUG: ExamplesSelect was not given an onSelect callback",...e),currentExampleKey:null,showLabels:!0})
const pj=e=>G.List.isList(e)?e:ut(e)
class fj extends $.PureComponent{constructor(e){super(e),s(this,"_getStateForCurrentNamespace",(()=>{const{currentNamespace:e}=this.props
return(this.state[e]||(0,G.Map)()).toObject()})),s(this,"_setStateForCurrentNamespace",(e=>{const{currentNamespace:t}=this.props
return this._setStateForNamespace(t,e)})),s(this,"_setStateForNamespace",((e,t)=>{const r=(this.state[e]||(0,G.Map)()).mergeDeep(t)
return this.setState({[e]:r})})),s(this,"_isCurrentUserInputSameAsExampleValue",(()=>{const{currentUserInputValue:e}=this.props
return this._getCurrentExampleValue()===e})),s(this,"_getValueForExample",((e,t)=>{const{examples:r}=t||this.props
return pj((r||(0,G.Map)({})).getIn([e,"value"]))})),s(this,"_getCurrentExampleValue",(e=>{const{currentKey:t}=e||this.props
return this._getValueForExample(t,e||this.props)})),s(this,"_onExamplesSelect",((e,{isSyntheticChange:t}={},...r)=>{const{onSelect:n,updateValue:i,currentUserInputValue:s,userHasEditedBody:o}=this.props,{lastUserEditedValue:a}=this._getStateForCurrentNamespace(),l=this._getValueForExample(e)
if("__MODIFIED__VALUE__"===e)return i(pj(a)),this._setStateForCurrentNamespace({isModifiedValueSelected:!0})
"function"==typeof n&&n(e,{isSyntheticChange:t},...r),this._setStateForCurrentNamespace({lastDownstreamValue:l,isModifiedValueSelected:t&&o||!!s&&s!==l}),t||"function"==typeof i&&i(pj(l))}))
const t=this._getCurrentExampleValue()
this.state={[e.currentNamespace]:(0,G.Map)({lastUserEditedValue:this.props.currentUserInputValue,lastDownstreamValue:t,isModifiedValueSelected:this.props.userHasEditedBody||this.props.currentUserInputValue!==t})}}componentWillUnmount(){this.props.setRetainRequestBodyValueFlag(!1)}UNSAFE_componentWillReceiveProps(e){const{currentUserInputValue:t,examples:r,onSelect:n,userHasEditedBody:i}=e,{lastUserEditedValue:s,lastDownstreamValue:o}=this._getStateForCurrentNamespace(),a=this._getValueForExample(e.currentKey,e),l=r.filter((e=>e.get("value")===t||ut(e.get("value"))===t))
if(l.size){let t
t=l.has(e.currentKey)?e.currentKey:l.keySeq().first(),n(t,{isSyntheticChange:!0})}else t!==this.props.currentUserInputValue&&t!==s&&t!==o&&(this.props.setRetainRequestBodyValueFlag(!0),this._setStateForNamespace(e.currentNamespace,{lastUserEditedValue:e.currentUserInputValue,isModifiedValueSelected:i||t!==a}))}render(){const{currentUserInputValue:e,examples:t,currentKey:r,getComponent:n,userHasEditedBody:i}=this.props,{lastDownstreamValue:s,lastUserEditedValue:o,isModifiedValueSelected:a}=this._getStateForCurrentNamespace(),l=n("ExamplesSelect")
return $.createElement(l,{examples:t,currentExampleKey:r,onSelect:this._onExamplesSelect,isModifiedValueAvailable:!!o&&o!==s,isValueModified:void 0!==e&&a&&e!==this._getCurrentExampleValue()||i})}}s(fj,"defaultProps",{userHasEditedBody:!1,examples:(0,G.Map)({}),currentNamespace:"__DEFAULT__NAMESPACE__",setRetainRequestBodyValueFlag:()=>{},onSelect:(...e)=>console.log("ExamplesSelectValueRetainer: no `onSelect` function was provided",...e),updateValue:(...e)=>console.log("ExamplesSelectValueRetainer: no `updateValue` function was provided",...e)})
class mj extends $.Component{constructor(e,t){super(e,t),s(this,"close",(e=>{e.preventDefault()
let{authActions:t}=this.props
t.showDefinitions(!1)})),s(this,"authorize",(()=>{let{authActions:e,errActions:t,getConfigs:r,authSelectors:n,oas3Selectors:i}=this.props,s=r(),o=n.getConfigs()
t.clear({authId:name,type:"auth",source:"auth"}),function({auth:e,authActions:t,errActions:r,configs:n,authConfigs:i={},currentServer:s}){let{schema:o,scopes:a,name:l,clientId:c}=e,u=o.get("flow"),h=[]
switch(u){case"password":return void t.authorizePassword(e)
case"application":case"clientCredentials":case"client_credentials":return void t.authorizeApplication(e)
case"accessCode":case"authorizationCode":case"authorization_code":h.push("response_type=code")
break
case"implicit":h.push("response_type=token")}"string"==typeof c&&h.push("client_id="+encodeURIComponent(c))
let d=n.oauth2RedirectUrl
if(void 0===d)return void r.newAuthErr({authId:l,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."})
h.push("redirect_uri="+encodeURIComponent(d))
let p=[]
if(Array.isArray(a)?p=a:Y().List.isList(a)&&(p=a.toArray()),p.length>0){let e=i.scopeSeparator||" "
h.push("scope="+encodeURIComponent(p.join(e)))}let f=Qe(new Date)
if(h.push("state="+encodeURIComponent(f)),void 0!==i.realm&&h.push("realm="+encodeURIComponent(i.realm)),("authorizationCode"===u||"authorization_code"===u||"accessCode"===u)&&i.usePkceWithAuthorizationCodeGrant){const t=pt(je()(32).toString("base64")),r=function(e){return pt(Me()("sha256").update(e).digest("base64"))}(t)
h.push("code_challenge="+r),h.push("code_challenge_method=S256"),e.codeVerifier=t}let{additionalQueryStringParams:m}=i
for(let w in m)void 0!==m[w]&&h.push([w,m[w]].map(encodeURIComponent).join("="))
const g=o.get("authorizationUrl")
let y
y=s?kt()(nt(g),s,!0).toString():nt(g)
let v,b=[y,h.join("&")].join(-1===g.indexOf("?")?"?":"&")
v="implicit"===u?t.preAuthorizeImplicit:i.useBasicAuthenticationWithAccessCodeGrant?t.authorizeAccessCodeWithBasicAuthentication:t.authorizeAccessCodeWithFormParams,t.authPopup(b,{auth:e,state:f,redirectUrl:d,callback:v,errCb:r.newAuthErr})}({auth:this.state,currentServer:i.serverEffectiveValue(i.selectedServer()),authActions:e,errActions:t,configs:s,authConfigs:o})})),s(this,"onScopeChange",(e=>{let{target:t}=e,{checked:r}=t,n=t.dataset.value
if(r&&-1===this.state.scopes.indexOf(n)){let e=this.state.scopes.concat([n])
this.setState({scopes:e})}else!r&&this.state.scopes.indexOf(n)>-1&&this.setState({scopes:this.state.scopes.filter((e=>e!==n))})})),s(this,"onInputChange",(e=>{let{target:{dataset:{name:t},value:r}}=e,n={[t]:r}
this.setState(n)})),s(this,"selectScopes",(e=>{e.target.dataset.all?this.setState({scopes:Array.from((this.props.schema.get("allowedScopes")||this.props.schema.get("scopes")).keys())}):this.setState({scopes:[]})})),s(this,"logout",(e=>{e.preventDefault()
let{authActions:t,errActions:r,name:n}=this.props
r.clear({authId:n,type:"auth",source:"auth"}),t.logoutWithPersistOption([n])}))
let{name:r,schema:n,authorized:i,authSelectors:o}=this.props,a=i&&i.get(r),l=o.getConfigs()||{},c=a&&a.get("username")||"",u=a&&a.get("clientId")||l.clientId||"",h=a&&a.get("clientSecret")||l.clientSecret||"",d=a&&a.get("passwordType")||"basic",p=a&&a.get("scopes")||l.scopes||[]
"string"==typeof p&&(p=p.split(l.scopeSeparator||" ")),this.state={appName:l.appName,name:r,schema:n,scopes:p,clientId:u,clientSecret:h,username:c,password:"",passwordType:d}}render(){let{schema:e,getComponent:t,authSelectors:r,errSelectors:n,name:i,specSelectors:s}=this.props
const o=t("Input"),a=t("Row"),l=t("Col"),c=t("Button"),u=t("authError"),h=t("JumpToPath",!0),d=t("Markdown",!0),p=t("InitializedInput"),{isOAS3:f}=s
let m=f()?e.get("openIdConnectUrl"):null
const g="implicit",y="password",v=f()?m?"authorization_code":"authorizationCode":"accessCode",b=f()?m?"client_credentials":"clientCredentials":"application"
let w=!!(r.getConfigs()||{}).usePkceWithAuthorizationCodeGrant,S=e.get("flow"),k=S===v&&w?S+" with PKCE":S,x=e.get("allowedScopes")||e.get("scopes"),E=!!r.authorized().get(i),N=n.allErrors().filter((e=>e.get("authId")===i)),_=!N.filter((e=>"validation"===e.get("source"))).size,C=e.get("description")
return $.createElement("div",null,$.createElement("h4",null,i," (OAuth2, ",k,") ",$.createElement(h,{path:["securityDefinitions",i]})),this.state.appName?$.createElement("h5",null,"Application: ",this.state.appName," "):null,C&&$.createElement(d,{source:e.get("description")}),E&&$.createElement("h6",null,"Authorized"),m&&$.createElement("p",null,"OpenID Connect URL: ",$.createElement("code",null,m)),(S===g||S===v)&&$.createElement("p",null,"Authorization URL: ",$.createElement("code",null,e.get("authorizationUrl"))),(S===y||S===v||S===b)&&$.createElement("p",null,"Token URL:",$.createElement("code",null," ",e.get("tokenUrl"))),$.createElement("p",{className:"flow"},"Flow: ",$.createElement("code",null,k)),S!==y?null:$.createElement(a,null,$.createElement(a,null,$.createElement("label",{htmlFor:"oauth_username"},"username:"),E?$.createElement("code",null," ",this.state.username," "):$.createElement(l,{tablet:10,desktop:10},$.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange,autoFocus:!0}))),$.createElement(a,null,$.createElement("label",{htmlFor:"oauth_password"},"password:"),E?$.createElement("code",null," ****** "):$.createElement(l,{tablet:10,desktop:10},$.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}))),$.createElement(a,null,$.createElement("label",{htmlFor:"password_type"},"Client credentials location:"),E?$.createElement("code",null," ",this.state.passwordType," "):$.createElement(l,{tablet:10,desktop:10},$.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},$.createElement("option",{value:"basic"},"Authorization header"),$.createElement("option",{value:"request-body"},"Request body"))))),(S===b||S===g||S===v||S===y)&&(!E||E&&this.state.clientId)&&$.createElement(a,null,$.createElement("label",{htmlFor:`client_id_${S}`},"client_id:"),E?$.createElement("code",null," ****** "):$.createElement(l,{tablet:10,desktop:10},$.createElement(p,{id:`client_id_${S}`,type:"text",required:S===y,initialValue:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(S===b||S===v||S===y)&&$.createElement(a,null,$.createElement("label",{htmlFor:`client_secret_${S}`},"client_secret:"),E?$.createElement("code",null," ****** "):$.createElement(l,{tablet:10,desktop:10},$.createElement(p,{id:`client_secret_${S}`,initialValue:this.state.clientSecret,type:"password","data-name":"clientSecret",onChange:this.onInputChange}))),!E&&x&&x.size?$.createElement("div",{className:"scopes"},$.createElement("h2",null,"Scopes:",$.createElement("a",{onClick:this.selectScopes,"data-all":!0},"select all"),$.createElement("a",{onClick:this.selectScopes},"select none")),x.map(((e,t)=>$.createElement(a,{key:t},$.createElement("div",{className:"checkbox"},$.createElement(o,{"data-value":t,id:`${t}-${S}-checkbox-${this.state.name}`,disabled:E,checked:this.state.scopes.includes(t),type:"checkbox",onChange:this.onScopeChange}),$.createElement("label",{htmlFor:`${t}-${S}-checkbox-${this.state.name}`},$.createElement("span",{className:"item"}),$.createElement("div",{className:"text"},$.createElement("p",{className:"name"},t),$.createElement("p",{className:"description"},e))))))).toArray()):null,N.valueSeq().map(((e,t)=>$.createElement(u,{error:e,key:t}))),$.createElement("div",{className:"auth-btn-wrapper"},_&&(E?$.createElement(c,{className:"btn modal-btn auth authorize",onClick:this.logout,"aria-label":"Remove authorization"},"Logout"):$.createElement(c,{className:"btn modal-btn auth authorize",onClick:this.authorize,"aria-label":"Apply given OAuth2 credentials"},"Authorize")),$.createElement(c,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}class gj extends $.Component{constructor(...e){super(...e),s(this,"onClick",(()=>{let{specActions:e,path:t,method:r}=this.props
e.clearResponse(t,r),e.clearRequest(t,r)}))}render(){return $.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}const yj=({headers:e})=>$.createElement("div",null,$.createElement("h5",null,"Response headers"),$.createElement("pre",{className:"microlight"},e)),vj=({duration:e})=>$.createElement("div",null,$.createElement("h5",null,"Request duration"),$.createElement("pre",{className:"microlight"},e," ms"))
class bj extends $.Component{shouldComponentUpdate(e){return this.props.response!==e.response||this.props.path!==e.path||this.props.method!==e.method||this.props.displayRequestDuration!==e.displayRequestDuration}render(){const{response:e,getComponent:t,getConfigs:r,displayRequestDuration:n,specSelectors:i,path:s,method:o}=this.props,{showMutatedRequest:a,requestSnippetsEnabled:l}=r(),c=a?i.mutatedRequestFor(s,o):i.requestFor(s,o),u=e.get("status"),h=c.get("url"),d=e.get("headers").toJS(),p=e.get("notDocumented"),f=e.get("error"),m=e.get("text"),g=e.get("duration"),y=Object.keys(d),v=d["content-type"]||d["Content-Type"],b=t("responseBody"),w=y.map((e=>{var t=Array.isArray(d[e])?d[e].join():d[e]
return $.createElement("span",{className:"headerline",key:e}," ",e,": ",t," ")})),S=0!==w.length,k=t("Markdown",!0),x=t("RequestSnippets",!0),E=t("curl",!0)
return $.createElement("div",null,c&&l?$.createElement(x,{request:c}):$.createElement(E,{request:c}),h&&$.createElement("div",null,$.createElement("div",{className:"request-url"},$.createElement("h4",null,"Request URL"),$.createElement("pre",{className:"microlight"},h))),$.createElement("h4",null,"Server response"),$.createElement("table",{className:"responses-table live-responses-table"},$.createElement("thead",null,$.createElement("tr",{className:"responses-header"},$.createElement("td",{className:"col_header response-col_status"},"Code"),$.createElement("td",{className:"col_header response-col_description"},"Details"))),$.createElement("tbody",null,$.createElement("tr",{className:"response"},$.createElement("td",{className:"response-col_status"},u,p?$.createElement("div",{className:"response-undocumented"},$.createElement("i",null," Undocumented ")):null),$.createElement("td",{className:"response-col_description"},f?$.createElement(k,{source:`${""!==e.get("name")?`${e.get("name")}: `:""}${e.get("message")}`}):null,m?$.createElement(b,{content:m,contentType:v,url:h,headers:d,getConfigs:r,getComponent:t}):null,S?$.createElement(yj,{headers:w}):null,n&&g?$.createElement(vj,{duration:g}):null)))))}}class wj extends $.Component{constructor(e,t){super(e,t),s(this,"getDefinitionUrl",(()=>{let{specSelectors:e}=this.props
return new(kt())(e.url(),ve.location).toString()}))
let{getConfigs:r}=e,{validatorUrl:n}=r()
this.state={url:this.getDefinitionUrl(),validatorUrl:void 0===n?"https://validator.swagger.io/validator":n}}UNSAFE_componentWillReceiveProps(e){let{getConfigs:t}=e,{validatorUrl:r}=t()
this.setState({url:this.getDefinitionUrl(),validatorUrl:void 0===r?"https://validator.swagger.io/validator":r})}render(){let{getConfigs:e}=this.props,{spec:t}=e(),r=nt(this.state.validatorUrl)
return"object"==typeof t&&Object.keys(t).length?null:this.state.url&&it(this.state.validatorUrl)&&it(this.state.url)?$.createElement("span",{className:"float-right"},$.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:`${r}/debug?url=${encodeURIComponent(this.state.url)}`},$.createElement(Sj,{src:`${r}?url=${encodeURIComponent(this.state.url)}`,alt:"Online validator badge"}))):null}}class Sj extends $.Component{constructor(e){super(e),this.state={loaded:!1,error:!1}}componentDidMount(){const e=new Image
e.onload=()=>{this.setState({loaded:!0})},e.onerror=()=>{this.setState({error:!0})},e.src=this.props.src}UNSAFE_componentWillReceiveProps(e){if(e.src!==this.props.src){const t=new Image
t.onload=()=>{this.setState({loaded:!0})},t.onerror=()=>{this.setState({error:!0})},t.src=e.src}}render(){return this.state.error?$.createElement("img",{alt:"Error"}):this.state.loaded?$.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}class kj extends $.Component{constructor(...e){super(...e),s(this,"renderOperationTag",((e,t)=>{const{specSelectors:r,getComponent:n,oas3Selectors:i,layoutSelectors:s,layoutActions:o,getConfigs:a}=this.props,l=r.validOperationMethods(),c=n("OperationContainer",!0),u=n("OperationTag"),h=e.get("operations")
return $.createElement(u,{key:"operation-"+t,tagObj:e,tag:t,oas3Selectors:i,layoutSelectors:s,layoutActions:o,getConfigs:a,getComponent:n,specUrl:r.url()},$.createElement("div",{className:"operation-tag-content"},h.map((e=>{const r=e.get("path"),n=e.get("method"),i=Y().List(["paths",r,n])
return-1===l.indexOf(n)?null:$.createElement(c,{key:`${r}-${n}`,specPath:i,op:e,path:r,method:n,tag:t})})).toArray()))}))}render(){let{specSelectors:e}=this.props
const t=e.taggedOperations()
return 0===t.size?$.createElement("h3",null," No operations defined in spec!"):$.createElement("div",null,t.map(this.renderOperationTag).toArray(),t.size<1?$.createElement("h3",null," No operations defined in spec! "):null)}}function xj(e){return e.match(/^(?:[a-z]+:)?\/\//i)}function Ej(e,t,{selectedServer:r=""}={}){try{return function(e,t,{selectedServer:r=""}={}){if(!e)return
if(xj(e))return e
const n=function(e,t){return e?xj(e)?function(e){return e.match(/^\/\//i)?`${window.location.protocol}${e}`:e}(e):new URL(e,t).href:t}(r,t)
return xj(n)?new URL(e,n).href:new URL(e,window.location.href).href}(e,t,{selectedServer:r})}catch{return}}class Nj extends $.Component{render(){const{tagObj:e,tag:t,children:r,oas3Selectors:n,layoutSelectors:i,layoutActions:s,getConfigs:o,getComponent:a,specUrl:l}=this.props
let{docExpansion:c,deepLinking:u}=o()
const h=a("Collapse"),d=a("Markdown",!0),p=a("DeepLink"),f=a("Link"),m=a("ArrowUpIcon"),g=a("ArrowDownIcon")
let y,v=e.getIn(["tagDetails","description"],null),b=e.getIn(["tagDetails","externalDocs","description"]),w=e.getIn(["tagDetails","externalDocs","url"])
y=We(n)&&We(n.selectedServer)?Ej(w,l,{selectedServer:n.selectedServer()}):w
let S=["operations-tag",t],k=i.isShown(S,"full"===c||"list"===c)
return $.createElement("div",{className:k?"opblock-tag-section is-open":"opblock-tag-section"},$.createElement("h3",{onClick:()=>s.show(S,!k),className:v?"opblock-tag":"opblock-tag no-desc",id:S.map((e=>ot(e))).join("-"),"data-tag":t,"data-is-open":k},$.createElement(p,{enabled:u,isShown:k,path:st(t),text:t}),v?$.createElement("small",null,$.createElement(d,{source:v})):$.createElement("small",null),y?$.createElement("div",{className:"info__externaldocs"},$.createElement("small",null,$.createElement(f,{href:nt(y),onClick:e=>e.stopPropagation(),target:"_blank"},b||y))):null,$.createElement("button",{"aria-expanded":k,className:"expand-operation",title:k?"Collapse operation":"Expand operation",onClick:()=>s.show(S,!k)},k?$.createElement(m,{className:"arrow"}):$.createElement(g,{className:"arrow"}))),$.createElement(h,{isOpened:k},r))}}s(Nj,"defaultProps",{tagObj:Y().fromJS({}),tag:""})
class _j extends $.PureComponent{render(){let{specPath:e,response:t,request:r,toggleShown:n,onTryoutClick:i,onResetClick:s,onCancelClick:o,onExecute:a,fn:l,getComponent:c,getConfigs:u,specActions:h,specSelectors:d,authActions:p,authSelectors:f,oas3Actions:m,oas3Selectors:g}=this.props,y=this.props.operation,{deprecated:v,isShown:b,path:w,method:S,op:k,tag:x,operationId:E,allowTryItOut:N,displayRequestDuration:_,tryItOutEnabled:C,executeInProgress:A}=y.toJS(),{description:O,externalDocs:P,schemes:T}=k
const I=P?Ej(P.url,d.url(),{selectedServer:g.selectedServer()}):""
let j=y.getIn(["op"]),D=j.get("responses"),M=function(e,t){if(!Y().Iterable.isIterable(e))return Y().List()
let r=e.getIn(Array.isArray(t)?t:[t])
return Y().List.isList(r)?r:Y().List()}(j,["parameters"]),B=d.operationScheme(w,S),R=["operations",x,E],L=at(j)
const z=c("responses"),F=c("parameters"),V=c("execute"),U=c("clear"),H=c("Collapse"),q=c("Markdown",!0),W=c("schemes"),K=c("OperationServers"),Z=c("OperationExt"),J=c("OperationSummary"),G=c("Link"),{showExtensions:X}=u()
if(D&&t&&t.size>0){let e=!D.get(String(t.get("status")))&&!D.get("default")
t=t.set("notDocumented",e)}let Q=[w,S]
const ee=d.validationErrors([w,S])
return $.createElement("div",{className:v?"opblock opblock-deprecated":b?`opblock opblock-${S} is-open`:`opblock opblock-${S}`,id:ot(R.join("-"))},$.createElement(J,{operationProps:y,isShown:b,toggleShown:n,getComponent:c,authActions:p,authSelectors:f,specPath:e}),$.createElement(H,{isOpened:b},$.createElement("div",{className:"opblock-body"},j&&j.size||null===j?null:$.createElement(aa,{height:"32px",width:"32px",className:"opblock-loading-animation"}),v&&$.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),O&&$.createElement("div",{className:"opblock-description-wrapper"},$.createElement("div",{className:"opblock-description"},$.createElement(q,{source:O}))),I?$.createElement("div",{className:"opblock-external-docs-wrapper"},$.createElement("h4",{className:"opblock-title_normal"},"Find more details"),$.createElement("div",{className:"opblock-external-docs"},P.description&&$.createElement("span",{className:"opblock-external-docs__description"},$.createElement(q,{source:P.description})),$.createElement(G,{target:"_blank",className:"opblock-external-docs__link",href:nt(I)},I))):null,j&&j.size?$.createElement(F,{parameters:M,specPath:e.push("parameters"),operation:j,onChangeKey:Q,onTryoutClick:i,onResetClick:s,onCancelClick:o,tryItOutEnabled:C,allowTryItOut:N,fn:l,getComponent:c,specActions:h,specSelectors:d,pathMethod:[w,S],getConfigs:u,oas3Actions:m,oas3Selectors:g}):null,C?$.createElement(K,{getComponent:c,path:w,method:S,operationServers:j.get("servers"),pathServers:d.paths().getIn([w,"servers"]),getSelectedServer:g.selectedServer,setSelectedServer:m.setSelectedServer,setServerVariableValue:m.setServerVariableValue,getServerVariable:g.serverVariableValue,getEffectiveServerValue:g.serverEffectiveValue}):null,C&&N&&T&&T.size?$.createElement("div",{className:"opblock-schemes"},$.createElement(W,{schemes:T,path:w,method:S,specActions:h,currentScheme:B})):null,!C||!N||ee.length<=0?null:$.createElement("div",{className:"validation-errors errors-wrapper"},"Please correct the following validation errors and try again.",$.createElement("ul",null,ee.map(((e,t)=>$.createElement("li",{key:t}," ",e," "))))),$.createElement("div",{className:C&&t&&N?"btn-group":"execute-wrapper"},C&&N?$.createElement(V,{operation:j,specActions:h,specSelectors:d,oas3Selectors:g,oas3Actions:m,path:w,method:S,onExecute:a,disabled:A}):null,C&&t&&N?$.createElement(U,{specActions:h,path:w,method:S}):null),A?$.createElement("div",{className:"loading-container"},$.createElement("div",{className:"loading"})):null,D?$.createElement(z,{responses:D,request:r,tryItOutResponse:t,getComponent:c,getConfigs:u,specSelectors:d,oas3Actions:m,oas3Selectors:g,specActions:h,produces:d.producesOptionsFor([w,S]),producesValue:d.currentProducesFor([w,S]),specPath:e.push("responses"),path:w,method:S,displayRequestDuration:_,fn:l}):null,X&&L.size?$.createElement(Z,{extensions:L,getComponent:c}):null)))}}s(_j,"defaultProps",{operation:null,response:null,request:null,specPath:(0,G.List)(),summary:""})
class Cj extends $.PureComponent{constructor(e,t){super(e,t),s(this,"toggleShown",(()=>{let{layoutActions:e,tag:t,operationId:r,isShown:n}=this.props
const i=this.getResolvedSubtree()
n||void 0!==i||this.requestResolvedSubtree(),e.show(["operations",t,r],!n)})),s(this,"onCancelClick",(()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})})),s(this,"onTryoutClick",(()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})})),s(this,"onResetClick",(e=>{const t=this.props.oas3Selectors.selectDefaultRequestBodyValue(...e)
this.props.oas3Actions.setRequestBodyValue({value:t,pathMethod:e})})),s(this,"onExecute",(()=>{this.setState({executeInProgress:!0})})),s(this,"getResolvedSubtree",(()=>{const{specSelectors:e,path:t,method:r,specPath:n}=this.props
return n?e.specResolvedSubtree(n.toJS()):e.specResolvedSubtree(["paths",t,r])})),s(this,"requestResolvedSubtree",(()=>{const{specActions:e,path:t,method:r,specPath:n}=this.props
return n?e.requestResolvedSubtree(n.toJS()):e.requestResolvedSubtree(["paths",t,r])}))
const{tryItOutEnabled:r}=e.getConfigs()
this.state={tryItOutEnabled:r,executeInProgress:!1}}mapStateToProps(e,t){const{op:r,layoutSelectors:n,getConfigs:i}=t,{docExpansion:s,deepLinking:o,displayOperationId:a,displayRequestDuration:l,supportedSubmitMethods:c}=i(),u=n.showSummary(),h=r.getIn(["operation","__originalOperationId"])||r.getIn(["operation","operationId"])||Df(r.get("operation"),t.path,t.method)||r.get("id"),d=["operations",t.tag,h],p=c.indexOf(t.method)>=0&&(void 0===t.allowTryItOut?t.specSelectors.allowTryItOutFor(t.path,t.method):t.allowTryItOut),f=r.getIn(["operation","security"])||t.specSelectors.security()
return{operationId:h,isDeepLinkingEnabled:o,showSummary:u,displayOperationId:a,displayRequestDuration:l,allowTryItOut:p,security:f,isAuthorized:t.authSelectors.isAuthorized(f),isShown:n.isShown(d,"full"===s),jumpToKey:`paths.${t.path}.${t.method}`,response:t.specSelectors.responseFor(t.path,t.method),request:t.specSelectors.requestFor(t.path,t.method)}}componentDidMount(){const{isShown:e}=this.props,t=this.getResolvedSubtree()
e&&void 0===t&&this.requestResolvedSubtree()}UNSAFE_componentWillReceiveProps(e){const{response:t,isShown:r}=e,n=this.getResolvedSubtree()
t!==this.props.response&&this.setState({executeInProgress:!1}),r&&void 0===n&&this.requestResolvedSubtree()}render(){let{op:e,tag:t,path:r,method:n,security:i,isAuthorized:s,operationId:o,showSummary:a,isShown:l,jumpToKey:c,allowTryItOut:u,response:h,request:d,displayOperationId:p,displayRequestDuration:f,isDeepLinkingEnabled:m,specPath:g,specSelectors:y,specActions:v,getComponent:b,getConfigs:w,layoutSelectors:S,layoutActions:k,authActions:x,authSelectors:E,oas3Actions:N,oas3Selectors:_,fn:C}=this.props
const A=b("operation"),O=this.getResolvedSubtree()||(0,G.Map)(),P=(0,G.fromJS)({op:O,tag:t,path:r,summary:e.getIn(["operation","summary"])||"",deprecated:O.get("deprecated")||e.getIn(["operation","deprecated"])||!1,method:n,security:i,isAuthorized:s,operationId:o,originalOperationId:O.getIn(["operation","__originalOperationId"]),showSummary:a,isShown:l,jumpToKey:c,allowTryItOut:u,request:d,displayOperationId:p,displayRequestDuration:f,isDeepLinkingEnabled:m,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled})
return $.createElement(A,{operation:P,response:h,request:d,isShown:l,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onResetClick:this.onResetClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:g,specActions:v,specSelectors:y,oas3Actions:N,oas3Selectors:_,layoutActions:k,layoutSelectors:S,authActions:x,authSelectors:E,getComponent:b,getConfigs:w,fn:C})}}s(Cj,"defaultProps",{showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1})
var Aj=l(13222),Oj=l.n(Aj)
class Pj extends $.PureComponent{render(){let{isShown:e,toggleShown:t,getComponent:r,authActions:n,authSelectors:i,operationProps:s,specPath:o}=this.props,{summary:a,isAuthorized:l,method:c,op:u,showSummary:h,path:d,operationId:p,originalOperationId:f,displayOperationId:m}=s.toJS(),{summary:g}=u,y=s.get("security")
const v=r("authorizeOperationBtn",!0),b=r("OperationSummaryMethod"),w=r("OperationSummaryPath"),S=r("JumpToPath",!0),k=r("CopyToClipboardBtn",!0),x=r("ArrowUpIcon"),E=r("ArrowDownIcon"),N=y&&!!y.count(),_=N&&1===y.size&&y.first().isEmpty(),C=!N||_
return $.createElement("div",{className:`opblock-summary opblock-summary-${c}`},$.createElement("button",{"aria-expanded":e,className:"opblock-summary-control",onClick:t},$.createElement(b,{method:c}),$.createElement("div",{className:"opblock-summary-path-description-wrapper"},$.createElement(w,{getComponent:r,operationProps:s,specPath:o}),h?$.createElement("div",{className:"opblock-summary-description"},Oj()(g||a)):null),m&&(f||p)?$.createElement("span",{className:"opblock-summary-operation-id"},f||p):null),$.createElement(k,{textToCopy:`${o.get(1)}`}),C?null:$.createElement(v,{isAuthorized:l,onClick:()=>{const e=i.definitionsForRequirements(y)
n.showDefinitions(e)}}),$.createElement(S,{path:o}),$.createElement("button",{"aria-label":`${c} ${d.replace(/\//g,"​/")}`,className:"opblock-control-arrow","aria-expanded":e,tabIndex:"-1",onClick:t},e?$.createElement(x,{className:"arrow"}):$.createElement(E,{className:"arrow"})))}}s(Pj,"defaultProps",{operationProps:null,specPath:(0,G.List)(),summary:""})
class Tj extends $.PureComponent{render(){let{method:e}=this.props
return $.createElement("span",{className:"opblock-summary-method"},e.toUpperCase())}}s(Tj,"defaultProps",{operationProps:null})
class Ij extends $.PureComponent{render(){let{getComponent:e,operationProps:t}=this.props,{deprecated:r,isShown:n,path:i,tag:s,operationId:o,isDeepLinkingEnabled:a}=t.toJS()
const l=i.split(/(?=\/)/g)
for(let u=1;u<l.length;u+=2)l.splice(u,0,$.createElement("wbr",{key:u}))
const c=e("DeepLink")
return $.createElement("span",{className:r?"opblock-summary-path__deprecated":"opblock-summary-path","data-path":i},$.createElement(c,{enabled:a,isShown:n,path:st(`${s}/${o}`),text:l}))}}const jj=({extensions:e,getComponent:t})=>{let r=t("OperationExtRow")
return $.createElement("div",{className:"opblock-section"},$.createElement("div",{className:"opblock-section-header"},$.createElement("h4",null,"Extensions")),$.createElement("div",{className:"table-container"},$.createElement("table",null,$.createElement("thead",null,$.createElement("tr",null,$.createElement("td",{className:"col_header"},"Field"),$.createElement("td",{className:"col_header"},"Value"))),$.createElement("tbody",null,e.entrySeq().map((([e,t])=>$.createElement(r,{key:`${e}-${t}`,xKey:e,xVal:t})))))))},Dj=({xKey:e,xVal:t})=>{const r=t?t.toJS?t.toJS():t:null
return $.createElement("tr",null,$.createElement("td",null,e),$.createElement("td",null,JSON.stringify(r)))}
function Mj(e,t="_"){return e.replace(/[^\w-]/g,t)}class Bj extends $.Component{constructor(...e){super(...e),s(this,"onChangeProducesWrapper",(e=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],e))),s(this,"onResponseContentTypeChange",(({controlsAcceptHeader:e,value:t})=>{const{oas3Actions:r,path:n,method:i}=this.props
e&&r.setResponseContentType({value:t,path:n,method:i})}))}render(){let{responses:e,tryItOutResponse:t,getComponent:r,getConfigs:n,specSelectors:i,fn:s,producesValue:o,displayRequestDuration:a,specPath:l,path:c,method:u,oas3Selectors:h,oas3Actions:d}=this.props,p=function(e){let t=e.keySeq()
return t.contains(ze)?ze:t.filter((e=>"2"===(e+"")[0])).sort().first()}(e)
const f=r("contentType"),m=r("liveResponse"),g=r("response")
let y=this.props.produces&&this.props.produces.size?this.props.produces:Bj.defaultProps.produces
const v=i.isOAS3()?function(e){if(!Y().OrderedMap.isOrderedMap(e))return null
if(!e.size)return null
const t=e.find(((e,t)=>t.startsWith("2")&&Object.keys(e.get("content")||{}).length>0)),r=e.get("default")||Y().OrderedMap(),n=(r.get("content")||Y().OrderedMap()).keySeq().toJS().length?r:null
return t||n}(e):null,b=Mj(`${u}${c}_responses`),w=`${b}_select`
return $.createElement("div",{className:"responses-wrapper"},$.createElement("div",{className:"opblock-section-header"},$.createElement("h4",null,"Responses"),i.isOAS3()?null:$.createElement("label",{htmlFor:w},$.createElement("span",null,"Response content type"),$.createElement(f,{value:o,ariaControls:b,ariaLabel:"Response content type",className:"execute-content-type",contentTypes:y,controlId:w,onChange:this.onChangeProducesWrapper}))),$.createElement("div",{className:"responses-inner"},t?$.createElement("div",null,$.createElement(m,{response:t,getComponent:r,getConfigs:n,specSelectors:i,path:this.props.path,method:this.props.method,displayRequestDuration:a}),$.createElement("h4",null,"Responses")):null,$.createElement("table",{"aria-live":"polite",className:"responses-table",id:b,role:"region"},$.createElement("thead",null,$.createElement("tr",{className:"responses-header"},$.createElement("td",{className:"col_header response-col_status"},"Code"),$.createElement("td",{className:"col_header response-col_description"},"Description"),i.isOAS3()?$.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),$.createElement("tbody",null,e.entrySeq().map((([e,a])=>{let f=t&&t.get("status")==e?"response_current":""
return $.createElement(g,{key:e,path:c,method:u,specPath:l.push(e),isDefault:p===e,fn:s,className:f,code:e,response:a,specSelectors:i,controlsAcceptHeader:a===v,onContentTypeChange:this.onResponseContentTypeChange,contentType:o,getConfigs:n,activeExamplesKey:h.activeExamplesMember(c,u,"responses",e),oas3Actions:d,getComponent:r})})).toArray()))))}}function Rj(e){const t=function(e){try{return!!JSON.parse(e)}catch(e){return null}}(e)
return t?"json":null}s(Bj,"defaultProps",{tryItOutResponse:null,produces:(0,G.fromJS)(["application/json"]),displayRequestDuration:!1})
class Lj extends $.Component{constructor(e,t){super(e,t),s(this,"_onContentTypeChange",(e=>{const{onContentTypeChange:t,controlsAcceptHeader:r}=this.props
this.setState({responseContentType:e}),t({value:e,controlsAcceptHeader:r})})),s(this,"getTargetExamplesKey",(()=>{const{response:e,contentType:t,activeExamplesKey:r}=this.props,n=this.state.responseContentType||t,i=e.getIn(["content",n],(0,G.Map)({})).get("examples",null).keySeq().first()
return r||i})),this.state={responseContentType:""}}render(){let{path:e,method:t,code:r,response:n,className:i,specPath:s,fn:o,getComponent:a,getConfigs:l,specSelectors:c,contentType:u,controlsAcceptHeader:h,oas3Actions:d}=this.props,{inferSchema:p,getSampleSchema:f}=o,m=c.isOAS3()
const{showExtensions:g}=l()
let y=g?at(n):null,v=n.get("headers"),b=n.get("links")
const w=a("ResponseExtension"),S=a("headers"),k=a("HighlightCode",!0),x=a("modelExample"),E=a("Markdown",!0),N=a("operationLink"),_=a("contentType"),C=a("ExamplesSelect"),A=a("Example")
var O,P
const T=this.state.responseContentType||u,I=n.getIn(["content",T],(0,G.Map)({})),j=I.get("examples",null)
if(m){const e=I.get("schema")
O=e?p(e.toJS()):null,P=e?(0,G.List)(["content",this.state.responseContentType,"schema"]):s}else O=n.get("schema"),P=n.has("schema")?s.push("schema"):s
let D,M,B=!1,R={includeReadOnly:!0}
if(m)if(M=I.get("schema")?.toJS(),G.Map.isMap(j)&&!j.isEmpty()){const e=this.getTargetExamplesKey(),t=e=>e.get("value")
D=t(j.get(e,(0,G.Map)({}))),void 0===D&&(D=t(j.values().next().value)),B=!0}else void 0!==I.get("example")&&(D=I.get("example"),B=!0)
else{M=O,R={...R,includeWriteOnly:!0}
const e=n.getIn(["examples",T])
e&&(D=e,B=!0)}const L=((e,t)=>{if(null==e)return null
const r=Rj(e)?"json":null
return $.createElement("div",null,$.createElement(t,{className:"example",language:r},ut(e)))})(f(M,T,R,B?D:void 0),k)
return $.createElement("tr",{className:"response "+(i||""),"data-code":r},$.createElement("td",{className:"response-col_status"},r),$.createElement("td",{className:"response-col_description"},$.createElement("div",{className:"response-col_description__inner"},$.createElement(E,{source:n.get("description")})),g&&y.size?y.entrySeq().map((([e,t])=>$.createElement(w,{key:`${e}-${t}`,xKey:e,xVal:t}))):null,m&&n.get("content")?$.createElement("section",{className:"response-controls"},$.createElement("div",{className:Lo()("response-control-media-type",{"response-control-media-type--accept-controller":h})},$.createElement("small",{className:"response-control-media-type__title"},"Media type"),$.createElement(_,{value:this.state.responseContentType,contentTypes:n.get("content")?n.get("content").keySeq():(0,G.Seq)(),onChange:this._onContentTypeChange,ariaLabel:"Media Type"}),h?$.createElement("small",{className:"response-control-media-type__accept-message"},"Controls ",$.createElement("code",null,"Accept")," header."):null),G.Map.isMap(j)&&!j.isEmpty()?$.createElement("div",{className:"response-control-examples"},$.createElement("small",{className:"response-control-examples__title"},"Examples"),$.createElement(C,{examples:j,currentExampleKey:this.getTargetExamplesKey(),onSelect:n=>d.setActiveExamplesMember({name:n,pathMethod:[e,t],contextType:"responses",contextName:r}),showLabels:!1})):null):null,L||O?$.createElement(x,{specPath:P,getComponent:a,getConfigs:l,specSelectors:c,schema:$e(O),example:L,includeReadOnly:!0}):null,m&&j?$.createElement(A,{example:j.get(this.getTargetExamplesKey(),(0,G.Map)({})),getComponent:a,getConfigs:l,omitValue:!0}):null,v?$.createElement(S,{headers:v,getComponent:a}):null),m?$.createElement("td",{className:"response-col_links"},b?b.toSeq().entrySeq().map((([e,t])=>$.createElement(N,{key:e,name:e,link:t,getComponent:a}))):$.createElement("i",null,"No links")):null)}}s(Lj,"defaultProps",{response:(0,G.fromJS)({}),onContentTypeChange:()=>{}})
const zj=({xKey:e,xVal:t})=>$.createElement("div",{className:"response__extension"},e,": ",String(t))
var Fj=l(26657),Vj=l.n(Fj),$j=l(80218),Uj=l.n($j)
class Hj extends $.PureComponent{constructor(...e){super(...e),s(this,"state",{parsedContent:null}),s(this,"updateParsedContent",(e=>{const{content:t}=this.props
if(e!==t)if(t&&t instanceof Blob){var r=new FileReader
r.onload=()=>{this.setState({parsedContent:r.result})},r.readAsText(t)}else this.setState({parsedContent:t.toString()})}))}componentDidMount(){this.updateParsedContent(null)}componentDidUpdate(e){this.updateParsedContent(e.content)}render(){let{content:e,contentType:t,url:r,headers:n={},getComponent:i}=this.props
const{parsedContent:s}=this.state,o=i("HighlightCode",!0),a="response_"+(new Date).getTime()
let l,c
if(r=r||"",(/^application\/octet-stream/i.test(t)||n["Content-Disposition"]&&/attachment/i.test(n["Content-Disposition"])||n["content-disposition"]&&/attachment/i.test(n["content-disposition"])||n["Content-Description"]&&/File Transfer/i.test(n["Content-Description"])||n["content-description"]&&/File Transfer/i.test(n["content-description"]))&&(e.size>0||e.length>0))if("Blob"in window){let i=t||"text/html",s=e instanceof Blob?e:new Blob([e],{type:i}),o=window.URL.createObjectURL(s),a=[i,r.substr(r.lastIndexOf("/")+1),o].join(":"),l=n["content-disposition"]||n["Content-Disposition"]
if(void 0!==l){let e=function(e){let t
if([/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i].some((r=>(t=r.exec(e),null!==t))),null!==t&&t.length>1)try{return decodeURIComponent(t[1])}catch(e){console.error(e)}return null}(l)
null!==e&&(a=e)}c=ve.navigator&&ve.navigator.msSaveOrOpenBlob?$.createElement("div",null,$.createElement("a",{href:o,onClick:()=>ve.navigator.msSaveOrOpenBlob(s,a)},"Download file")):$.createElement("div",null,$.createElement("a",{href:o,download:a},"Download file"))}else c=$.createElement("pre",{className:"microlight"},"Download headers detected but your browser does not support downloading binary via XHR (Blob).")
else if(/json/i.test(t)){let r=null
Rj(e)&&(r="json")
try{l=JSON.stringify(JSON.parse(e),null,"  ")}catch(t){l="can't parse JSON.  Raw result:\n\n"+e}c=$.createElement(o,{language:r,downloadable:!0,fileName:`${a}.json`,canCopy:!0},l)}else/xml/i.test(t)?(l=Vj()(e,{textNodesOnSameLine:!0,indentor:"  "}),c=$.createElement(o,{downloadable:!0,fileName:`${a}.xml`,canCopy:!0},l)):c="text/html"===Uj()(t)||/text\/plain/.test(t)?$.createElement(o,{downloadable:!0,fileName:`${a}.html`,canCopy:!0},e):"text/csv"===Uj()(t)||/text\/csv/.test(t)?$.createElement(o,{downloadable:!0,fileName:`${a}.csv`,canCopy:!0},e):/^image\//i.test(t)?t.includes("svg")?$.createElement("div",null," ",e," "):$.createElement("img",{src:window.URL.createObjectURL(e)}):/^audio\//i.test(t)?$.createElement("pre",{className:"microlight"},$.createElement("audio",{controls:!0,key:r},$.createElement("source",{src:r,type:t}))):"string"==typeof e?$.createElement(o,{downloadable:!0,fileName:`${a}.txt`,canCopy:!0},e):e.size>0?s?$.createElement("div",null,$.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),$.createElement(o,{downloadable:!0,fileName:`${a}.txt`,canCopy:!0},s)):$.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null
return c?$.createElement("div",null,$.createElement("h5",null,"Response body"),c):null}}class qj extends $.Component{constructor(e){super(e),s(this,"onChange",((e,t,r)=>{let{specActions:{changeParamByIdentity:n},onChangeKey:i}=this.props
n(i,e,t,r)})),s(this,"onChangeConsumesWrapper",(e=>{let{specActions:{changeConsumesValue:t},onChangeKey:r}=this.props
t(r,e)})),s(this,"toggleTab",(e=>"parameters"===e?this.setState({parametersVisible:!0,callbackVisible:!1}):"callbacks"===e?this.setState({callbackVisible:!0,parametersVisible:!1}):void 0)),s(this,"onChangeMediaType",(({value:e,pathMethod:t})=>{let{specActions:r,oas3Selectors:n,oas3Actions:i}=this.props
const s=n.hasUserEditedBody(...t),o=n.shouldRetainRequestBodyValue(...t)
i.setRequestContentType({value:e,pathMethod:t}),i.initRequestBodyValidateError({pathMethod:t}),s||(o||i.setRequestBodyValue({value:void 0,pathMethod:t}),r.clearResponse(...t),r.clearRequest(...t),r.clearValidateParams(t))})),this.state={callbackVisible:!1,parametersVisible:!0}}render(){let{onTryoutClick:e,onResetClick:t,parameters:r,allowTryItOut:n,tryItOutEnabled:i,specPath:s,fn:o,getComponent:a,getConfigs:l,specSelectors:c,specActions:u,pathMethod:h,oas3Actions:d,oas3Selectors:p,operation:f}=this.props
const m=a("parameterRow"),g=a("TryItOutButton"),y=a("contentType"),v=a("Callbacks",!0),b=a("RequestBody",!0),w=i&&n,S=c.isOAS3(),k=`${Mj(`${h[1]}${h[0]}_requests`)}_select`,x=f.get("requestBody"),E=Object.values(r.reduce(((e,t)=>{const r=t.get("in")
return e[r]??=[],e[r].push(t),e}),{})).reduce(((e,t)=>e.concat(t)),[])
return $.createElement("div",{className:"opblock-section"},$.createElement("div",{className:"opblock-section-header"},S?$.createElement("div",{className:"tab-header"},$.createElement("div",{onClick:()=>this.toggleTab("parameters"),className:`tab-item ${this.state.parametersVisible&&"active"}`},$.createElement("h4",{className:"opblock-title"},$.createElement("span",null,"Parameters"))),f.get("callbacks")?$.createElement("div",{onClick:()=>this.toggleTab("callbacks"),className:`tab-item ${this.state.callbackVisible&&"active"}`},$.createElement("h4",{className:"opblock-title"},$.createElement("span",null,"Callbacks"))):null):$.createElement("div",{className:"tab-header"},$.createElement("h4",{className:"opblock-title"},"Parameters")),n?$.createElement(g,{isOAS3:c.isOAS3(),hasUserEditedBody:p.hasUserEditedBody(...h),enabled:i,onCancelClick:this.props.onCancelClick,onTryoutClick:e,onResetClick:()=>t(h)}):null),this.state.parametersVisible?$.createElement("div",{className:"parameters-container"},E.length?$.createElement("div",{className:"table-container"},$.createElement("table",{className:"parameters"},$.createElement("thead",null,$.createElement("tr",null,$.createElement("th",{className:"col_header parameters-col_name"},"Name"),$.createElement("th",{className:"col_header parameters-col_description"},"Description"))),$.createElement("tbody",null,E.map(((e,t)=>$.createElement(m,{fn:o,specPath:s.push(t.toString()),getComponent:a,getConfigs:l,rawParam:e,param:c.parameterWithMetaByIdentity(h,e),key:`${e.get("in")}.${e.get("name")}`,onChange:this.onChange,onChangeConsumes:this.onChangeConsumesWrapper,specSelectors:c,specActions:u,oas3Actions:d,oas3Selectors:p,pathMethod:h,isExecute:w})))))):$.createElement("div",{className:"opblock-description-wrapper"},$.createElement("p",null,"No parameters"))):null,this.state.callbackVisible?$.createElement("div",{className:"callbacks-container opblock-description-wrapper"},$.createElement(v,{callbacks:(0,G.Map)(f.get("callbacks")),specPath:s.slice(0,-1).push("callbacks")})):null,S&&x&&this.state.parametersVisible&&$.createElement("div",{className:"opblock-section opblock-section-request-body"},$.createElement("div",{className:"opblock-section-header"},$.createElement("h4",{className:`opblock-title parameter__name ${x.get("required")&&"required"}`},"Request body"),$.createElement("label",{id:k},$.createElement(y,{value:p.requestContentType(...h),contentTypes:x.get("content",(0,G.List)()).keySeq(),onChange:e=>{this.onChangeMediaType({value:e,pathMethod:h})},className:"body-param-content-type",ariaLabel:"Request content type",controlId:k}))),$.createElement("div",{className:"opblock-description-wrapper"},$.createElement(b,{setRetainRequestBodyValueFlag:e=>d.setRetainRequestBodyValueFlag({value:e,pathMethod:h}),userHasEditedBody:p.hasUserEditedBody(...h),specPath:s.slice(0,-1).push("requestBody"),requestBody:x,requestBodyValue:p.requestBodyValue(...h),requestBodyInclusionSetting:p.requestBodyInclusionSetting(...h),requestBodyErrors:p.requestBodyErrors(...h),isExecute:w,getConfigs:l,activeExamplesKey:p.activeExamplesMember(...h,"requestBody","requestBody"),updateActiveExamplesKey:e=>{this.props.oas3Actions.setActiveExamplesMember({name:e,pathMethod:this.props.pathMethod,contextType:"requestBody",contextName:"requestBody"})},onChange:(e,t)=>{if(t){const r=p.requestBodyValue(...h),n=G.Map.isMap(r)?r:(0,G.Map)()
return d.setRequestBodyValue({pathMethod:h,value:n.setIn(t,e)})}d.setRequestBodyValue({value:e,pathMethod:h})},onChangeIncludeEmpty:(e,t)=>{d.setRequestBodyInclusion({pathMethod:h,value:t,name:e})},contentType:p.requestContentType(...h)}))))}}s(qj,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[],specPath:[]})
const Wj=({xKey:e,xVal:t})=>$.createElement("div",{className:"parameter__extension"},e,": ",String(t))
class Kj extends $.Component{constructor(...e){super(...e),s(this,"onCheckboxChange",(e=>{const{onChange:t}=this.props
t(e.target.checked)}))}componentDidMount(){const{isIncludedOptions:e,onChange:t}=this.props,{shouldDispatchInit:r,defaultValue:n}=e
r&&t(n)}render(){let{isIncluded:e,isDisabled:t}=this.props
return $.createElement("div",null,$.createElement("label",{htmlFor:"include_empty_value",className:Lo()("parameter__empty_value_toggle",{disabled:t})},$.createElement("input",{id:"include_empty_value",type:"checkbox",disabled:t,checked:!t&&e,onChange:this.onCheckboxChange}),"Send empty value"))}}s(Kj,"defaultProps",{onChange:()=>{},isIncludedOptions:{}})
class Zj extends $.Component{constructor(e,t){super(e,t),s(this,"onChangeWrapper",((e,t=!1)=>{let r,{onChange:n,rawParam:i}=this.props
return r=""===e||e&&0===e.size?null:e,n(i,r,t)})),s(this,"_onExampleSelect",(e=>{this.props.oas3Actions.setActiveExamplesMember({name:e,pathMethod:this.props.pathMethod,contextType:"parameters",contextName:this.getParamKey()})})),s(this,"onChangeIncludeEmpty",(e=>{let{specActions:t,param:r,pathMethod:n}=this.props
const i=r.get("name"),s=r.get("in")
return t.updateEmptyParamInclusion(n,i,s,e)})),s(this,"setDefaultValue",(()=>{let{specSelectors:e,pathMethod:t,rawParam:r,oas3Selectors:n,fn:i}=this.props
const s=e.parameterWithMetaByIdentity(t,r)||(0,G.Map)()
let{schema:o}=Re(s,{isOAS3:e.isOAS3()})
const a=s.get("content",(0,G.Map)()).keySeq().first(),l=o?i.getSampleSchema(o.toJS(),a,{includeWriteOnly:!0}):null
if(s&&void 0===s.get("value")&&"body"!==s.get("in")){let r
if(e.isSwagger2())r=void 0!==s.get("x-example")?s.get("x-example"):void 0!==s.getIn(["schema","example"])?s.getIn(["schema","example"]):o&&o.getIn(["default"])
else if(e.isOAS3()){o=this.composeJsonSchema(o)
const e=n.activeExamplesMember(...t,"parameters",this.getParamKey())
r=void 0!==s.getIn(["examples",e,"value"])?s.getIn(["examples",e,"value"]):void 0!==s.getIn(["content",a,"example"])?s.getIn(["content",a,"example"]):void 0!==s.get("example")?s.get("example"):void 0!==(o&&o.get("example"))?o&&o.get("example"):void 0!==(o&&o.get("default"))?o&&o.get("default"):s.get("default")}void 0===r||G.List.isList(r)||(r=ut(r)),void 0!==r?this.onChangeWrapper(r):o&&"object"===o.get("type")&&l&&!s.get("examples")&&this.onChangeWrapper(G.List.isList(l)?l:ut(l))}})),this.setDefaultValue()}UNSAFE_componentWillReceiveProps(e){let t,{specSelectors:r,pathMethod:n,rawParam:i}=e,s=r.isOAS3(),o=r.parameterWithMetaByIdentity(n,i)||new G.Map
if(o=o.isEmpty()?i:o,s){let{schema:e}=Re(o,{isOAS3:s})
t=e?e.get("enum"):void 0}else t=o?o.get("enum"):void 0
let a,l=o?o.get("value"):void 0
void 0!==l?a=l:i.get("required")&&t&&t.size&&(a=t.first()),void 0!==a&&a!==l&&this.onChangeWrapper(function(e){return"number"==typeof e?e.toString():e}(a)),this.setDefaultValue()}getParamKey(){const{param:e}=this.props
return e?`${e.get("name")}-${e.get("in")}`:null}composeJsonSchema(e){const{fn:t}=this.props,r=e.get("oneOf")?.get(0)?.toJS(),n=e.get("anyOf")?.get(0)?.toJS()
return(0,G.fromJS)(t.mergeJsonSchema(e.toJS(),r??n??{}))}render(){let{param:e,rawParam:t,getComponent:r,getConfigs:n,isExecute:i,fn:s,onChangeConsumes:o,specSelectors:a,pathMethod:l,specPath:c,oas3Selectors:u}=this.props,h=a.isOAS3()
const{showExtensions:d,showCommonExtensions:p}=n()
if(e||(e=t),!t)return null
const f=r("JsonSchemaForm"),m=r("ParamBody")
let g=e.get("in"),y="body"!==g?null:$.createElement(m,{getComponent:r,getConfigs:n,fn:s,param:e,consumes:a.consumesOptionsFor(l),consumesValue:a.contentTypeValues(l).get("requestContentType"),onChange:this.onChangeWrapper,onChangeConsumes:o,isExecute:i,specSelectors:a,pathMethod:l})
const v=r("modelExample"),b=r("Markdown",!0),w=r("ParameterExt"),S=r("ParameterIncludeEmpty"),k=r("ExamplesSelectValueRetainer"),x=r("Example")
let{schema:E}=Re(e,{isOAS3:h}),N=a.parameterWithMetaByIdentity(l,t)||(0,G.Map)()
h&&(E=this.composeJsonSchema(E))
let _,C,A,O,P=E?E.get("format"):null,T=E?E.get("type"):null,I=E?E.getIn(["items","type"]):null,j="formData"===g,D="FormData"in ve,M=e.get("required"),B=N?N.get("value"):"",R=p?lt(E):null,L=d?at(e):null,z=!1
return void 0!==e&&E&&(_=E.get("items")),void 0!==_?(C=_.get("enum"),A=_.get("default")):E&&(C=E.get("enum")),C&&C.size&&C.size>0&&(z=!0),void 0!==e&&(E&&(A=E.get("default")),void 0===A&&(A=e.get("default")),O=e.get("example"),void 0===O&&(O=e.get("x-example"))),$.createElement("tr",{"data-param-name":e.get("name"),"data-param-in":e.get("in")},$.createElement("td",{className:"parameters-col_name"},$.createElement("div",{className:M?"parameter__name required":"parameter__name"},e.get("name"),M?$.createElement("span",null," *"):null),$.createElement("div",{className:"parameter__type"},T,I&&`[${I}]`,P&&$.createElement("span",{className:"prop-format"},"($",P,")")),$.createElement("div",{className:"parameter__deprecated"},h&&e.get("deprecated")?"deprecated":null),$.createElement("div",{className:"parameter__in"},"(",e.get("in"),")")),$.createElement("td",{className:"parameters-col_description"},e.get("description")?$.createElement(b,{source:e.get("description")}):null,!y&&i||!z?null:$.createElement(b,{className:"parameter__enum",source:"<i>Available values</i> : "+C.map((function(e){return e})).toArray().map(String).join(", ")}),!y&&i||void 0===A?null:$.createElement(b,{className:"parameter__default",source:"<i>Default value</i> : "+A}),!y&&i||void 0===O?null:$.createElement(b,{source:"<i>Example</i> : "+O}),j&&!D&&$.createElement("div",null,"Error: your browser does not support FormData"),h&&e.get("examples")?$.createElement("section",{className:"parameter-controls"},$.createElement(k,{examples:e.get("examples"),onSelect:this._onExampleSelect,updateValue:this.onChangeWrapper,getComponent:r,defaultToFirstExample:!0,currentKey:u.activeExamplesMember(...l,"parameters",this.getParamKey()),currentUserInputValue:B})):null,y?null:$.createElement(f,{fn:s,getComponent:r,value:B,required:M,disabled:!i,description:e.get("name"),onChange:this.onChangeWrapper,errors:N.get("errors"),schema:E}),y&&E?$.createElement(v,{getComponent:r,specPath:c.push("schema"),getConfigs:n,isExecute:i,specSelectors:a,schema:E,example:y,includeWriteOnly:!0}):null,!y&&i&&e.get("allowEmptyValue")?$.createElement(S,{onChange:this.onChangeIncludeEmpty,isIncluded:a.parameterInclusionSettingFor(l,e.get("name"),e.get("in")),isDisabled:!ft(B)}):null,h&&e.get("examples")?$.createElement(x,{example:e.getIn(["examples",u.activeExamplesMember(...l,"parameters",this.getParamKey())]),getComponent:r,getConfigs:n}):null,p&&R.size?R.entrySeq().map((([e,t])=>$.createElement(w,{key:`${e}-${t}`,xKey:e,xVal:t}))):null,d&&L.size?L.entrySeq().map((([e,t])=>$.createElement(w,{key:`${e}-${t}`,xKey:e,xVal:t}))):null))}}class Jj extends $.Component{constructor(...e){super(...e),s(this,"handleValidateParameters",(()=>{let{specSelectors:e,specActions:t,path:r,method:n}=this.props
return t.validateParams([r,n]),e.validateBeforeExecute([r,n])})),s(this,"handleValidateRequestBody",(()=>{let{path:e,method:t,specSelectors:r,oas3Selectors:n,oas3Actions:i}=this.props,s={missingBodyValue:!1,missingRequiredKeys:[]}
i.clearRequestBodyValidateError({path:e,method:t})
let o=r.getOAS3RequiredRequestBodyContentType([e,t]),a=n.requestBodyValue(e,t),l=n.validateBeforeExecute([e,t]),c=n.requestContentType(e,t)
if(!l)return s.missingBodyValue=!0,i.setRequestBodyValidateError({path:e,method:t,validationErrors:s}),!1
if(!o)return!0
let u=n.validateShallowRequired({oas3RequiredRequestBodyContentType:o,oas3RequestContentType:c,oas3RequestBodyValue:a})
return!u||u.length<1||(u.forEach((e=>{s.missingRequiredKeys.push(e)})),i.setRequestBodyValidateError({path:e,method:t,validationErrors:s}),!1)})),s(this,"handleValidationResultPass",(()=>{let{specActions:e,operation:t,path:r,method:n}=this.props
this.props.onExecute&&this.props.onExecute(),e.execute({operation:t,path:r,method:n})})),s(this,"handleValidationResultFail",(()=>{let{specActions:e,path:t,method:r}=this.props
e.clearValidateParams([t,r]),setTimeout((()=>{e.validateParams([t,r])}),40)})),s(this,"handleValidationResult",(e=>{e?this.handleValidationResultPass():this.handleValidationResultFail()})),s(this,"onClick",(()=>{let e=this.handleValidateParameters(),t=this.handleValidateRequestBody(),r=e&&t
this.handleValidationResult(r)})),s(this,"onChangeProducesWrapper",(e=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],e)))}render(){const{disabled:e}=this.props
return $.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick,disabled:e},"Execute")}}class Gj extends $.Component{render(){let{headers:e,getComponent:t}=this.props
const r=t("Property"),n=t("Markdown",!0)
return e&&e.size?$.createElement("div",{className:"headers-wrapper"},$.createElement("h4",{className:"headers__title"},"Headers:"),$.createElement("table",{className:"headers"},$.createElement("thead",null,$.createElement("tr",{className:"header-row"},$.createElement("th",{className:"header-col"},"Name"),$.createElement("th",{className:"header-col"},"Description"),$.createElement("th",{className:"header-col"},"Type"))),$.createElement("tbody",null,e.entrySeq().map((([e,t])=>{if(!Y().Map.isMap(t))return null
const i=t.get("description"),s=t.getIn(["schema"])?t.getIn(["schema","type"]):t.getIn(["type"]),o=t.getIn(["schema","example"])
return $.createElement("tr",{key:e},$.createElement("td",{className:"header-col"},e),$.createElement("td",{className:"header-col"},i?$.createElement(n,{source:i}):null),$.createElement("td",{className:"header-col"},s," ",o?$.createElement(r,{propKey:"Example",propVal:o,propClass:"header-example"}):null))})).toArray()))):null}}class Yj extends $.Component{render(){let{editorActions:e,errSelectors:t,layoutSelectors:r,layoutActions:n,getComponent:i}=this.props
const s=i("Collapse")
if(e&&e.jumpToLine)var o=e.jumpToLine
let a=t.allErrors().filter((e=>"thrown"===e.get("type")||"error"===e.get("level")))
if(!a||a.count()<1)return null
let l=r.isShown(["errorPane"],!0),c=a.sortBy((e=>e.get("line")))
return $.createElement("pre",{className:"errors-wrapper"},$.createElement("hgroup",{className:"error"},$.createElement("h4",{className:"errors__title"},"Errors"),$.createElement("button",{className:"btn errors__clear-btn",onClick:()=>n.show(["errorPane"],!l)},l?"Hide":"Show")),$.createElement(s,{isOpened:l,animated:!0},$.createElement("div",{className:"errors"},c.map(((e,t)=>{let r=e.get("type")
return"thrown"===r||"auth"===r?$.createElement(Xj,{key:t,error:e.get("error")||e,jumpToLine:o}):"spec"===r?$.createElement(Qj,{key:t,error:e,jumpToLine:o}):void 0})))))}}const Xj=({error:e,jumpToLine:t})=>{if(!e)return null
let r=e.get("line")
return $.createElement("div",{className:"error-wrapper"},e?$.createElement("div",null,$.createElement("h4",null,e.get("source")&&e.get("level")?eD(e.get("source"))+" "+e.get("level"):"",e.get("path")?$.createElement("small",null," at ",e.get("path")):null),$.createElement("span",{className:"message thrown"},e.get("message")),$.createElement("div",{className:"error-line"},r&&t?$.createElement("a",{onClick:t.bind(null,r)},"Jump to line ",r):null)):null)},Qj=({error:e,jumpToLine:t=null})=>{let r=null
return e.get("path")?r=G.List.isList(e.get("path"))?$.createElement("small",null,"at ",e.get("path").join(".")):$.createElement("small",null,"at ",e.get("path")):e.get("line")&&!t&&(r=$.createElement("small",null,"on line ",e.get("line"))),$.createElement("div",{className:"error-wrapper"},e?$.createElement("div",null,$.createElement("h4",null,eD(e.get("source"))+" "+e.get("level")," ",r),$.createElement("span",{className:"message"},e.get("message")),$.createElement("div",{className:"error-line"},t?$.createElement("a",{onClick:t.bind(null,e.get("line"))},"Jump to line ",e.get("line")):null)):null)}
function eD(e){return(e||"").split(" ").map((e=>e[0].toUpperCase()+e.slice(1))).join(" ")}class tD extends $.Component{constructor(...e){super(...e),s(this,"onChangeWrapper",(e=>this.props.onChange(e.target.value)))}componentDidMount(){this.props.contentTypes&&this.props.onChange(this.props.contentTypes.first())}UNSAFE_componentWillReceiveProps(e){e.contentTypes&&e.contentTypes.size&&(e.contentTypes.includes(e.value)||e.onChange(e.contentTypes.first()))}render(){let{ariaControls:e,ariaLabel:t,className:r,contentTypes:n,controlId:i,value:s}=this.props
return n&&n.size?$.createElement("div",{className:"content-type-wrapper "+(r||"")},$.createElement("select",{"aria-controls":e,"aria-label":t,className:"content-type",id:i,onChange:this.onChangeWrapper,value:s||""},n.map((e=>$.createElement("option",{key:e,value:e},e))).toArray())):null}}function rD(...e){return e.filter((e=>!!e)).join(" ").trim()}s(tD,"defaultProps",{onChange:()=>{},value:null,contentTypes:(0,G.fromJS)(["application/json"])})
class nD extends $.Component{render(){let{fullscreen:e,full:t,...r}=this.props
if(e)return $.createElement("section",r)
let n="swagger-container"+(t?"-full":"")
return $.createElement("section",Js()({},r,{className:rD(r.className,n)}))}}const iD={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"}
class sD extends $.Component{render(){const{hide:e,keepContents:t,mobile:r,tablet:n,desktop:i,large:s,...o}=this.props
if(e&&!t)return $.createElement("span",null)
let a=[]
for(let c in iD){if(!Object.prototype.hasOwnProperty.call(iD,c))continue
let e=iD[c]
if(c in this.props){let t=this.props[c]
if(t<1){a.push("none"+e)
continue}a.push("block"+e),a.push("col-"+t+e)}}e&&a.push("hidden")
let l=rD(o.className,...a)
return $.createElement("section",Js()({},o,{className:l}))}}class oD extends $.Component{render(){return $.createElement("div",Js()({},this.props,{className:rD(this.props.className,"wrapper")}))}}class aD extends $.Component{render(){return $.createElement("button",Js()({},this.props,{className:rD(this.props.className,"button")}))}}s(aD,"defaultProps",{className:""})
const lD=e=>$.createElement("textarea",e),cD=e=>$.createElement("input",e)
class uD extends $.Component{constructor(e,t){let r
super(e,t),s(this,"onChange",(e=>{let t,{onChange:r,multiple:n}=this.props,i=[].slice.call(e.target.options)
t=n?i.filter((function(e){return e.selected})).map((function(e){return e.value})):e.target.value,this.setState({value:t}),r&&r(t)})),r=e.value?e.value:e.multiple?[""]:"",this.state={value:r}}UNSAFE_componentWillReceiveProps(e){e.value!==this.props.value&&this.setState({value:e.value})}render(){let{allowedValues:e,multiple:t,allowEmptyValue:r,disabled:n}=this.props,i=this.state.value?.toJS?.()||this.state.value
return $.createElement("select",{className:this.props.className,multiple:t,value:i,onChange:this.onChange,disabled:n},r?$.createElement("option",{value:""},"--"):null,e.map((function(e,t){return $.createElement("option",{key:t,value:String(e)},String(e))})))}}s(uD,"defaultProps",{multiple:!1,allowEmptyValue:!0})
class hD extends $.Component{render(){return $.createElement("a",Js()({},this.props,{rel:"noopener noreferrer",className:rD(this.props.className,"link")}))}}const dD=({children:e})=>$.createElement("div",{className:"no-margin"}," ",e," ")
class pD extends $.Component{renderNotAnimated(){return this.props.isOpened?$.createElement(dD,null,this.props.children):$.createElement("noscript",null)}render(){let{animated:e,isOpened:t,children:r}=this.props
return e?(r=t?r:null,$.createElement(dD,null,r)):this.renderNotAnimated()}}s(pD,"defaultProps",{isOpened:!1,animated:!1})
class fD extends $.Component{constructor(...e){super(...e),this.setTagShown=this._setTagShown.bind(this)}_setTagShown(e,t){this.props.layoutActions.show(e,t)}showOp(e,t){let{layoutActions:r}=this.props
r.show(e,t)}render(){let{specSelectors:e,layoutSelectors:t,layoutActions:r,getComponent:n}=this.props,i=e.taggedOperations()
const s=n("Collapse")
return $.createElement("div",null,$.createElement("h4",{className:"overview-title"},"Overview"),i.map(((e,n)=>{let i=e.get("operations"),o=["overview-tags",n],a=t.isShown(o,!0)
return $.createElement("div",{key:"overview-"+n},$.createElement("h4",{onClick:()=>r.show(o,!a),className:"link overview-tag"}," ",a?"-":"+",n),$.createElement(s,{isOpened:a,animated:!0},i.map((e=>{let{path:n,method:i,id:s}=e.toObject(),o="operations",a=s,l=t.isShown([o,a])
return $.createElement(mD,{key:s,path:n,method:i,id:n+"-"+i,shown:l,showOpId:a,showOpIdPrefix:o,href:`#operation-${a}`,onClick:r.show})})).toArray()))})).toArray(),i.size<1&&$.createElement("h3",null," No operations defined in spec! "))}}class mD extends $.Component{constructor(e){super(e),this.onClick=this._onClick.bind(this)}_onClick(){let{showOpId:e,showOpIdPrefix:t,onClick:r,shown:n}=this.props
r([t,e],!n)}render(){let{id:e,method:t,shown:r,href:n}=this.props
return $.createElement(hD,{href:n,onClick:this.onClick,className:"block opblock-link "+(r?"shown":"")},$.createElement("div",null,$.createElement("small",{className:`bold-label-${t}`},t.toUpperCase()),$.createElement("span",{className:"bold-label"},e)))}}class gD extends $.Component{componentDidMount(){this.props.initialValue&&(this.inputRef.value=this.props.initialValue)}render(){const{value:e,defaultValue:t,initialValue:r,...n}=this.props
return $.createElement("input",Js()({},n,{ref:e=>this.inputRef=e}))}}class yD extends $.Component{render(){const{host:e,basePath:t}=this.props
return $.createElement("pre",{className:"base-url"},"[ Base URL: ",e,t," ]")}}class vD extends $.PureComponent{render(){const{url:e,getComponent:t}=this.props,r=t("Link")
return $.createElement(r,{target:"_blank",href:nt(e)},$.createElement("span",{className:"url"}," ",e))}}class bD extends $.Component{render(){const{info:e,url:t,host:r,basePath:n,getComponent:i,externalDocs:s,selectedServer:o,url:a}=this.props,l=e.get("version"),c=e.get("description"),u=e.get("title"),h=Ej(e.get("termsOfService"),a,{selectedServer:o}),d=e.get("contact"),p=e.get("license"),f=Ej(s&&s.get("url"),a,{selectedServer:o}),m=s&&s.get("description"),g=i("Markdown",!0),y=i("Link"),v=i("VersionStamp"),b=i("OpenAPIVersion"),w=i("InfoUrl"),S=i("InfoBasePath"),k=i("License"),x=i("Contact")
return $.createElement("div",{className:"info"},$.createElement("hgroup",{className:"main"},$.createElement("h2",{className:"title"},u,$.createElement("span",null,l&&$.createElement(v,{version:l}),$.createElement(b,{oasVersion:"2.0"}))),r||n?$.createElement(S,{host:r,basePath:n}):null,t&&$.createElement(w,{getComponent:i,url:t})),$.createElement("div",{className:"description"},$.createElement(g,{source:c})),h&&$.createElement("div",{className:"info__tos"},$.createElement(y,{target:"_blank",href:nt(h)},"Terms of service")),d?.size>0&&$.createElement(x,{getComponent:i,data:d,selectedServer:o,url:t}),p?.size>0&&$.createElement(k,{getComponent:i,license:p,selectedServer:o,url:t}),f?$.createElement(y,{className:"info__extdocs",target:"_blank",href:nt(f)},m||f):null)}}const wD=bD
class SD extends $.Component{render(){const{specSelectors:e,getComponent:t,oas3Selectors:r}=this.props,n=e.info(),i=e.url(),s=e.basePath(),o=e.host(),a=e.externalDocs(),l=r.selectedServer(),c=t("info")
return $.createElement("div",null,n&&n.count()?$.createElement(c,{info:n,url:i,host:o,basePath:s,externalDocs:a,getComponent:t,selectedServer:l}):null)}}class kD extends $.Component{render(){const{data:e,getComponent:t,selectedServer:r,url:n}=this.props,i=e.get("name","the developer"),s=Ej(e.get("url"),n,{selectedServer:r}),o=e.get("email"),a=t("Link")
return $.createElement("div",{className:"info__contact"},s&&$.createElement("div",null,$.createElement(a,{href:nt(s),target:"_blank"},i," - Website")),o&&$.createElement(a,{href:nt(`mailto:${o}`)},s?`Send email to ${i}`:`Contact ${i}`))}}const xD=kD
class ED extends $.Component{render(){const{license:e,getComponent:t,selectedServer:r,url:n}=this.props,i=e.get("name","License"),s=Ej(e.get("url"),n,{selectedServer:r}),o=t("Link")
return $.createElement("div",{className:"info__license"},s?$.createElement("div",{className:"info__license__url"},$.createElement(o,{target:"_blank",href:nt(s)},i)):$.createElement("span",null,i))}}const ND=ED
class _D extends $.Component{render(){return null}}class CD extends $.Component{render(){let{getComponent:e}=this.props
const t=e("CopyIcon")
return $.createElement("div",{className:"view-line-link copy-to-clipboard",title:"Copy to clipboard"},$.createElement(zo.CopyToClipboard,{text:this.props.textToCopy},$.createElement(t,null)))}}class AD extends $.Component{render(){return $.createElement("div",{className:"footer"})}}class OD extends $.Component{constructor(...e){super(...e),s(this,"onFilterChange",(e=>{const{target:{value:t}}=e
this.props.layoutActions.updateFilter(t)}))}render(){const{specSelectors:e,layoutSelectors:t,getComponent:r}=this.props,n=r("Col"),i="loading"===e.loadingStatus(),s="failed"===e.loadingStatus(),o=t.currentFilter(),a=["operation-filter-input"]
return s&&a.push("failed"),i&&a.push("loading"),$.createElement("div",null,!1===o?null:$.createElement("div",{className:"filter-container"},$.createElement(n,{className:"filter wrapper",mobile:12},$.createElement("input",{className:a.join(" "),placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:"string"==typeof o?o:"",disabled:i}))))}}const PD=Function.prototype
class TD extends $.PureComponent{constructor(e,t){super(e,t),s(this,"updateValues",(e=>{let{param:t,isExecute:r,consumesValue:n=""}=e,i=/xml/i.test(n),s=/json/i.test(n),o=i?t.get("value_xml"):t.get("value")
if(void 0!==o){let e=!o&&s?"{}":o
this.setState({value:e}),this.onChange(e,{isXml:i,isEditBox:r})}else i?this.onChange(this.sample("xml"),{isXml:i,isEditBox:r}):this.onChange(this.sample(),{isEditBox:r})})),s(this,"sample",(e=>{let{param:t,fn:r}=this.props,n=r.inferSchema(t.toJS())
return r.getSampleSchema(n,e,{includeWriteOnly:!0})})),s(this,"onChange",((e,{isEditBox:t,isXml:r})=>{this.setState({value:e,isEditBox:t}),this._onChange(e,r)})),s(this,"_onChange",((e,t)=>{(this.props.onChange||PD)(e,t)})),s(this,"handleOnChange",(e=>{const{consumesValue:t}=this.props,r=/xml/i.test(t),n=e.target.value
this.onChange(n,{isXml:r,isEditBox:this.state.isEditBox})})),s(this,"toggleIsEditBox",(()=>this.setState((e=>({isEditBox:!e.isEditBox}))))),this.state={isEditBox:!1,value:""}}componentDidMount(){this.updateValues.call(this,this.props)}UNSAFE_componentWillReceiveProps(e){this.updateValues.call(this,e)}render(){let{onChangeConsumes:e,param:t,isExecute:r,specSelectors:n,pathMethod:i,getComponent:s}=this.props
const o=s("Button"),a=s("TextArea"),l=s("HighlightCode",!0),c=s("contentType")
let u=(n?n.parameterWithMetaByIdentity(i,t):t).get("errors",(0,G.List)()),h=n.contentTypeValues(i).get("requestContentType"),d=this.props.consumes&&this.props.consumes.size?this.props.consumes:TD.defaultProp.consumes,{value:p,isEditBox:f}=this.state,m=null
Rj(p)&&(m="json")
const g=`${Mj(`${i[1]}${i[0]}_parameters`)}_select`
return $.createElement("div",{className:"body-param","data-param-name":t.get("name"),"data-param-in":t.get("in")},f&&r?$.createElement(a,{className:"body-param__text"+(u.count()?" invalid":""),value:p,onChange:this.handleOnChange}):p&&$.createElement(l,{className:"body-param__example",language:m},p),$.createElement("div",{className:"body-param-options"},r?$.createElement("div",{className:"body-param-edit"},$.createElement(o,{className:f?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},f?"Cancel":"Edit")):null,$.createElement("label",{htmlFor:g},$.createElement("span",null,"Parameter content type"),$.createElement(c,{value:h,contentTypes:d,onChange:e,className:"body-param-content-type",ariaLabel:"Parameter content type",controlId:g}))))}}s(TD,"defaultProp",{consumes:(0,G.fromJS)(["application/json"]),param:(0,G.fromJS)({}),onChange:PD,onChangeConsumes:PD})
class ID extends $.Component{render(){const{request:e,getComponent:t}=this.props,r=Po(e),n=t("SyntaxHighlighter",!0)
return $.createElement("div",{className:"curl-command"},$.createElement("h4",null,"Curl"),$.createElement("div",{className:"copy-to-clipboard"},$.createElement(zo.CopyToClipboard,{text:r},$.createElement("button",null))),$.createElement("div",null,$.createElement(n,{language:"bash",className:"curl microlight",renderPlainText:({children:e,PlainTextViewer:t})=>$.createElement(t,{className:"curl"},e)},r)))}}const jD=({propKey:e,propVal:t,propClass:r})=>$.createElement("span",{className:r},$.createElement("br",null),e,": ",String(t))
class DD extends $.Component{render(){const{onTryoutClick:e,onCancelClick:t,onResetClick:r,enabled:n,hasUserEditedBody:i,isOAS3:s}=this.props,o=s&&i
return $.createElement("div",{className:o?"try-out btn-group":"try-out"},n?$.createElement("button",{className:"btn try-out__btn cancel",onClick:t},"Cancel"):$.createElement("button",{className:"btn try-out__btn",onClick:e},"Try it out "),o&&$.createElement("button",{className:"btn try-out__btn reset",onClick:r},"Reset"))}}s(DD,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,onResetClick:Function.prototype,enabled:!1,hasUserEditedBody:!1,isOAS3:!1})
class MD extends $.PureComponent{render(){const{bypass:e,isSwagger2:t,isOAS3:r,alsoShow:n}=this.props
return e?$.createElement("div",null,this.props.children):t&&r?$.createElement("div",{className:"version-pragma"},n,$.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},$.createElement("div",null,$.createElement("h3",null,"Unable to render this definition"),$.createElement("p",null,$.createElement("code",null,"swagger")," and ",$.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),$.createElement("p",null,"Supported version fields are ",$.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",$.createElement("code",null,"openapi: 3.0.n")," (for example, ",$.createElement("code",null,"openapi: 3.0.0"),").")))):t||r?$.createElement("div",null,this.props.children):$.createElement("div",{className:"version-pragma"},n,$.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},$.createElement("div",null,$.createElement("h3",null,"Unable to render this definition"),$.createElement("p",null,"The provided definition does not specify a valid version field."),$.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",$.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",$.createElement("code",null,"openapi: 3.0.n")," (for example, ",$.createElement("code",null,"openapi: 3.0.0"),")."))))}}s(MD,"defaultProps",{alsoShow:null,children:null,bypass:!1})
const BD=({version:e})=>$.createElement("small",null,$.createElement("pre",{className:"version"}," ",e," ")),RD=({oasVersion:e})=>$.createElement("small",{className:"version-stamp"},$.createElement("pre",{className:"version"},"OAS ",e)),LD=({enabled:e,path:t,text:r})=>$.createElement("a",{className:"nostyle",onClick:e?e=>e.preventDefault():null,href:e?`#/${t}`:null},$.createElement("span",null,r)),zD=()=>$.createElement("div",null,$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"svg-assets"},$.createElement("defs",null,$.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},$.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"})),$.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},$.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"})),$.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},$.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"})),$.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},$.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"})),$.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},$.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"})),$.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-up"},$.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 2.581 14.908 L 10 7.767 L 17.418 14.908 Z"})),$.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},$.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),$.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},$.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})),$.createElement("symbol",{viewBox:"0 0 15 16",id:"copy"},$.createElement("g",{transform:"translate(2, -1)"},$.createElement("path",{fill:"#ffffff",fillRule:"evenodd",d:"M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z"}))))))
var FD
function VD(e){return(FD=FD||document.createElement("textarea")).innerHTML="&"+e+";",FD.value}var $D=Object.prototype.hasOwnProperty
function UD(e){return[].slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object")
Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e}var HD=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g
function qD(e){return e.indexOf("\\")<0?e:e.replace(HD,"$1")}function WD(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||!(65535&~e&&65534!=(65535&e))||e>=0&&e<=8||11===e||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function KD(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e)
return String.fromCharCode(t,r)}return String.fromCharCode(e)}var ZD=/&([a-z#][a-z0-9]{1,31});/gi,JD=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i
function GD(e,t){var r=0,n=VD(t)
return t!==n?n:35===t.charCodeAt(0)&&JD.test(t)&&WD(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?KD(r):e}function YD(e){return e.indexOf("&")<0?e:e.replace(ZD,GD)}var XD=/[&<>"]/,QD=/[&<>"]/g,eM={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"}
function tM(e){return eM[e]}function rM(e){return XD.test(e)?e.replace(QD,tM):e}var nM={}
function iM(e,t){return++t>=e.length-2?t:"paragraph_open"===e[t].type&&e[t].tight&&"inline"===e[t+1].type&&0===e[t+1].content.length&&"paragraph_close"===e[t+2].type&&e[t+2].tight?iM(e,t+2):t}nM.blockquote_open=function(){return"<blockquote>\n"},nM.blockquote_close=function(e,t){return"</blockquote>"+sM(e,t)},nM.code=function(e,t){return e[t].block?"<pre><code>"+rM(e[t].content)+"</code></pre>"+sM(e,t):"<code>"+rM(e[t].content)+"</code>"},nM.fence=function(e,t,r,n,i){var s,o,a=e[t],l="",c=r.langPrefix
if(a.params){if(o=(s=a.params.split(/\s+/g)).join(" "),function(e,t){return!!e&&$D.call(e,t)}(i.rules.fence_custom,s[0]))return i.rules.fence_custom[s[0]](e,t,r,n,i)
l=' class="'+c+rM(YD(qD(o)))+'"'}return"<pre><code"+l+">"+(r.highlight&&r.highlight.apply(r.highlight,[a.content].concat(s))||rM(a.content))+"</code></pre>"+sM(e,t)},nM.fence_custom={},nM.heading_open=function(e,t){return"<h"+e[t].hLevel+">"},nM.heading_close=function(e,t){return"</h"+e[t].hLevel+">\n"},nM.hr=function(e,t,r){return(r.xhtmlOut?"<hr />":"<hr>")+sM(e,t)},nM.bullet_list_open=function(){return"<ul>\n"},nM.bullet_list_close=function(e,t){return"</ul>"+sM(e,t)},nM.list_item_open=function(){return"<li>"},nM.list_item_close=function(){return"</li>\n"},nM.ordered_list_open=function(e,t){var r=e[t]
return"<ol"+(r.order>1?' start="'+r.order+'"':"")+">\n"},nM.ordered_list_close=function(e,t){return"</ol>"+sM(e,t)},nM.paragraph_open=function(e,t){return e[t].tight?"":"<p>"},nM.paragraph_close=function(e,t){var r=!(e[t].tight&&t&&"inline"===e[t-1].type&&!e[t-1].content)
return(e[t].tight?"":"</p>")+(r?sM(e,t):"")},nM.link_open=function(e,t,r){var n=e[t].title?' title="'+rM(YD(e[t].title))+'"':"",i=r.linkTarget?' target="'+r.linkTarget+'"':""
return'<a href="'+rM(e[t].href)+'"'+n+i+">"},nM.link_close=function(){return"</a>"},nM.image=function(e,t,r){var n=' src="'+rM(e[t].src)+'"',i=e[t].title?' title="'+rM(YD(e[t].title))+'"':""
return"<img"+n+' alt="'+(e[t].alt?rM(YD(qD(e[t].alt))):"")+'"'+i+(r.xhtmlOut?" /":"")+">"},nM.table_open=function(){return"<table>\n"},nM.table_close=function(){return"</table>\n"},nM.thead_open=function(){return"<thead>\n"},nM.thead_close=function(){return"</thead>\n"},nM.tbody_open=function(){return"<tbody>\n"},nM.tbody_close=function(){return"</tbody>\n"},nM.tr_open=function(){return"<tr>"},nM.tr_close=function(){return"</tr>\n"},nM.th_open=function(e,t){var r=e[t]
return"<th"+(r.align?' style="text-align:'+r.align+'"':"")+">"},nM.th_close=function(){return"</th>"},nM.td_open=function(e,t){var r=e[t]
return"<td"+(r.align?' style="text-align:'+r.align+'"':"")+">"},nM.td_close=function(){return"</td>"},nM.strong_open=function(){return"<strong>"},nM.strong_close=function(){return"</strong>"},nM.em_open=function(){return"<em>"},nM.em_close=function(){return"</em>"},nM.del_open=function(){return"<del>"},nM.del_close=function(){return"</del>"},nM.ins_open=function(){return"<ins>"},nM.ins_close=function(){return"</ins>"},nM.mark_open=function(){return"<mark>"},nM.mark_close=function(){return"</mark>"},nM.sub=function(e,t){return"<sub>"+rM(e[t].content)+"</sub>"},nM.sup=function(e,t){return"<sup>"+rM(e[t].content)+"</sup>"},nM.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},nM.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},nM.text=function(e,t){return rM(e[t].content)},nM.htmlblock=function(e,t){return e[t].content},nM.htmltag=function(e,t){return e[t].content},nM.abbr_open=function(e,t){return'<abbr title="'+rM(YD(e[t].title))+'">'},nM.abbr_close=function(){return"</abbr>"},nM.footnote_ref=function(e,t){var r=Number(e[t].id+1).toString(),n="fnref"+r
return e[t].subId>0&&(n+=":"+e[t].subId),'<sup class="footnote-ref"><a href="#fn'+r+'" id="'+n+'">['+r+"]</a></sup>"},nM.footnote_block_open=function(e,t,r){return(r.xhtmlOut?'<hr class="footnotes-sep" />\n':'<hr class="footnotes-sep">\n')+'<section class="footnotes">\n<ol class="footnotes-list">\n'},nM.footnote_block_close=function(){return"</ol>\n</section>\n"},nM.footnote_open=function(e,t){return'<li id="fn'+Number(e[t].id+1).toString()+'"  class="footnote-item">'},nM.footnote_close=function(){return"</li>\n"},nM.footnote_anchor=function(e,t){var r="fnref"+Number(e[t].id+1).toString()
return e[t].subId>0&&(r+=":"+e[t].subId),' <a href="#'+r+'" class="footnote-backref">↩</a>'},nM.dl_open=function(){return"<dl>\n"},nM.dt_open=function(){return"<dt>"},nM.dd_open=function(){return"<dd>"},nM.dl_close=function(){return"</dl>\n"},nM.dt_close=function(){return"</dt>\n"},nM.dd_close=function(){return"</dd>\n"}
var sM=nM.getBreak=function(e,t){return(t=iM(e,t))<e.length&&"list_item_close"===e[t].type?"":"\n"}
function oM(){this.rules=UD({},nM),this.getBreak=nM.getBreak}function aM(){this.__rules__=[],this.__cache__=null}function lM(e,t,r,n,i){this.src=e,this.env=n,this.options=r,this.parser=t,this.tokens=i,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}function cM(e,t){var r,n,i,s=-1,o=e.posMax,a=e.pos,l=e.isInLabel
if(e.isInLabel)return-1
if(e.labelUnmatchedScopes)return e.labelUnmatchedScopes--,-1
for(e.pos=t+1,e.isInLabel=!0,r=1;e.pos<o;){if(91===(i=e.src.charCodeAt(e.pos)))r++
else if(93===i&&0==--r){n=!0
break}e.parser.skipToken(e)}return n?(s=e.pos,e.labelUnmatchedScopes=0):e.labelUnmatchedScopes=r-1,e.pos=a,e.isInLabel=l,s}function uM(e,t,r,n){var i,s,o,a,l,c
if(42!==e.charCodeAt(0))return-1
if(91!==e.charCodeAt(1))return-1
if(-1===e.indexOf("]:"))return-1
if((s=cM(i=new lM(e,t,r,n,[]),1))<0||58!==e.charCodeAt(s+1))return-1
for(a=i.posMax,o=s+2;o<a&&10!==i.src.charCodeAt(o);o++);return l=e.slice(2,s),0===(c=e.slice(s+2,o).trim()).length?-1:(n.abbreviations||(n.abbreviations={}),void 0===n.abbreviations[":"+l]&&(n.abbreviations[":"+l]=c),o)}function hM(e){var t=YD(e)
try{t=decodeURI(t)}catch(e){}return encodeURI(t)}function dM(e,t){var r,n,i,s=t,o=e.posMax
if(60===e.src.charCodeAt(t)){for(t++;t<o;){if(10===(r=e.src.charCodeAt(t)))return!1
if(62===r)return i=hM(qD(e.src.slice(s+1,t))),!!e.parser.validateLink(i)&&(e.pos=t+1,e.linkContent=i,!0)
92===r&&t+1<o?t+=2:t++}return!1}for(n=0;t<o&&32!==(r=e.src.charCodeAt(t))&&!(r<32||127===r);)if(92===r&&t+1<o)t+=2
else{if(40===r&&++n>1)break
if(41===r&&--n<0)break
t++}return s!==t&&(i=qD(e.src.slice(s,t)),!!e.parser.validateLink(i)&&(e.linkContent=i,e.pos=t,!0))}function pM(e,t){var r,n=t,i=e.posMax,s=e.src.charCodeAt(t)
if(34!==s&&39!==s&&40!==s)return!1
for(t++,40===s&&(s=41);t<i;){if((r=e.src.charCodeAt(t))===s)return e.pos=t+1,e.linkContent=qD(e.src.slice(n+1,t)),!0
92===r&&t+1<i?t+=2:t++}return!1}function fM(e){return e.trim().replace(/\s+/g," ").toUpperCase()}function mM(e,t,r,n){var i,s,o,a,l,c,u,h,d
if(91!==e.charCodeAt(0))return-1
if(-1===e.indexOf("]:"))return-1
if((s=cM(i=new lM(e,t,r,n,[]),0))<0||58!==e.charCodeAt(s+1))return-1
for(a=i.posMax,o=s+2;o<a&&(32===(l=i.src.charCodeAt(o))||10===l);o++);if(!dM(i,o))return-1
for(u=i.linkContent,c=o=i.pos,o+=1;o<a&&(32===(l=i.src.charCodeAt(o))||10===l);o++);for(o<a&&c!==o&&pM(i,o)?(h=i.linkContent,o=i.pos):(h="",o=c);o<a&&32===i.src.charCodeAt(o);)o++
return o<a&&10!==i.src.charCodeAt(o)?-1:(d=fM(e.slice(1,s)),void 0===n.references[d]&&(n.references[d]={title:h,href:u}),o)}oM.prototype.renderInline=function(e,t,r){for(var n=this.rules,i=e.length,s=0,o="";i--;)o+=n[e[s].type](e,s++,t,r,this)
return o},oM.prototype.render=function(e,t,r){for(var n=this.rules,i=e.length,s=-1,o="";++s<i;)"inline"===e[s].type?o+=this.renderInline(e[s].children,t,r):o+=n[e[s].type](e,s,t,r,this)
return o},aM.prototype.__find__=function(e){for(var t=this.__rules__.length,r=-1;t--;)if(this.__rules__[++r].name===e)return r
return-1},aM.prototype.__compile__=function(){var e=this,t=[""]
e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(r){r.enabled&&(t&&r.alt.indexOf(t)<0||e.__cache__[t].push(r.fn))}))}))},aM.prototype.at=function(e,t,r){var n=this.__find__(e),i=r||{}
if(-1===n)throw new Error("Parser rule not found: "+e)
this.__rules__[n].fn=t,this.__rules__[n].alt=i.alt||[],this.__cache__=null},aM.prototype.before=function(e,t,r,n){var i=this.__find__(e),s=n||{}
if(-1===i)throw new Error("Parser rule not found: "+e)
this.__rules__.splice(i,0,{name:t,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},aM.prototype.after=function(e,t,r,n){var i=this.__find__(e),s=n||{}
if(-1===i)throw new Error("Parser rule not found: "+e)
this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},aM.prototype.push=function(e,t,r){var n=r||{}
this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null},aM.prototype.enable=function(e,t){e=Array.isArray(e)?e:[e],t&&this.__rules__.forEach((function(e){e.enabled=!1})),e.forEach((function(e){var t=this.__find__(e)
if(t<0)throw new Error("Rules manager: invalid rule name "+e)
this.__rules__[t].enabled=!0}),this),this.__cache__=null},aM.prototype.disable=function(e){(e=Array.isArray(e)?e:[e]).forEach((function(e){var t=this.__find__(e)
if(t<0)throw new Error("Rules manager: invalid rule name "+e)
this.__rules__[t].enabled=!1}),this),this.__cache__=null},aM.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},lM.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},lM.prototype.push=function(e){this.pending&&this.pushPending(),this.tokens.push(e),this.pendingLevel=this.level},lM.prototype.cacheSet=function(e,t){for(var r=this.cache.length;r<=e;r++)this.cache.push(0)
this.cache[e]=t},lM.prototype.cacheGet=function(e){return e<this.cache.length?this.cache[e]:0}
var gM=" \n()[]'\".,!?-"
function yM(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var vM=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,bM=/\((c|tm|r|p)\)/gi,wM={c:"©",r:"®",p:"§",tm:"™"}
function SM(e){return e.indexOf("(")<0?e:e.replace(bM,(function(e,t){return wM[t.toLowerCase()]}))}var kM=/['"]/,xM=/['"]/g,EM=/[-\s()\[\]]/
function NM(e,t){return!(t<0||t>=e.length||EM.test(e[t]))}function _M(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}var CM=[["block",function(e){e.inlineMode?e.tokens.push({type:"inline",content:e.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):e.block.parse(e.src,e.options,e.env,e.tokens)}],["abbr",function(e){var t,r,n,i,s=e.tokens
if(!e.inlineMode)for(t=1,r=s.length-1;t<r;t++)if("paragraph_open"===s[t-1].type&&"inline"===s[t].type&&"paragraph_close"===s[t+1].type){for(n=s[t].content;n.length&&!((i=uM(n,e.inline,e.options,e.env))<0);)n=n.slice(i).trim()
s[t].content=n,n.length||(s[t-1].tight=!0,s[t+1].tight=!0)}}],["references",function(e){var t,r,n,i,s=e.tokens
if(e.env.references=e.env.references||{},!e.inlineMode)for(t=1,r=s.length-1;t<r;t++)if("inline"===s[t].type&&"paragraph_open"===s[t-1].type&&"paragraph_close"===s[t+1].type){for(n=s[t].content;n.length&&!((i=mM(n,e.inline,e.options,e.env))<0);)n=n.slice(i).trim()
s[t].content=n,n.length||(s[t-1].tight=!0,s[t+1].tight=!0)}}],["inline",function(e){var t,r,n,i=e.tokens
for(r=0,n=i.length;r<n;r++)"inline"===(t=i[r]).type&&e.inline.parse(t.content,e.options,e.env,t.children)}],["footnote_tail",function(e){var t,r,n,i,s,o,a,l,c,u=0,h=!1,d={}
if(e.env.footnotes&&(e.tokens=e.tokens.filter((function(e){return"footnote_reference_open"===e.type?(h=!0,l=[],c=e.label,!1):"footnote_reference_close"===e.type?(h=!1,d[":"+c]=l,!1):(h&&l.push(e),!h)})),e.env.footnotes.list)){for(o=e.env.footnotes.list,e.tokens.push({type:"footnote_block_open",level:u++}),t=0,r=o.length;t<r;t++){for(e.tokens.push({type:"footnote_open",id:t,level:u++}),o[t].tokens?((a=[]).push({type:"paragraph_open",tight:!1,level:u++}),a.push({type:"inline",content:"",level:u,children:o[t].tokens}),a.push({type:"paragraph_close",tight:!1,level:--u})):o[t].label&&(a=d[":"+o[t].label]),e.tokens=e.tokens.concat(a),s="paragraph_close"===e.tokens[e.tokens.length-1].type?e.tokens.pop():null,i=o[t].count>0?o[t].count:1,n=0;n<i;n++)e.tokens.push({type:"footnote_anchor",id:t,subId:n,level:u})
s&&e.tokens.push(s),e.tokens.push({type:"footnote_close",level:--u})}e.tokens.push({type:"footnote_block_close",level:--u})}}],["abbr2",function(e){var t,r,n,i,s,o,a,l,c,u,h,d,p=e.tokens
if(e.env.abbreviations)for(e.env.abbrRegExp||(d="(^|["+gM.split("").map(yM).join("")+"])("+Object.keys(e.env.abbreviations).map((function(e){return e.substr(1)})).sort((function(e,t){return t.length-e.length})).map(yM).join("|")+")($|["+gM.split("").map(yM).join("")+"])",e.env.abbrRegExp=new RegExp(d,"g")),u=e.env.abbrRegExp,r=0,n=p.length;r<n;r++)if("inline"===p[r].type)for(t=(i=p[r].children).length-1;t>=0;t--)if("text"===(s=i[t]).type){for(l=0,o=s.content,u.lastIndex=0,c=s.level,a=[];h=u.exec(o);)u.lastIndex>l&&a.push({type:"text",content:o.slice(l,h.index+h[1].length),level:c}),a.push({type:"abbr_open",title:e.env.abbreviations[":"+h[2]],level:c++}),a.push({type:"text",content:h[2],level:c}),a.push({type:"abbr_close",level:--c}),l=u.lastIndex-h[3].length
a.length&&(l<o.length&&a.push({type:"text",content:o.slice(l),level:c}),p[r].children=i=[].concat(i.slice(0,t),a,i.slice(t+1)))}}],["replacements",function(e){var t,r,n,i,s
if(e.options.typographer)for(s=e.tokens.length-1;s>=0;s--)if("inline"===e.tokens[s].type)for(t=(i=e.tokens[s].children).length-1;t>=0;t--)"text"===(r=i[t]).type&&(n=SM(n=r.content),vM.test(n)&&(n=n.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),r.content=n)}],["smartquotes",function(e){var t,r,n,i,s,o,a,l,c,u,h,d,p,f,m,g,y
if(e.options.typographer)for(y=[],m=e.tokens.length-1;m>=0;m--)if("inline"===e.tokens[m].type)for(g=e.tokens[m].children,y.length=0,t=0;t<g.length;t++)if("text"===(r=g[t]).type&&!kM.test(r.text)){for(a=g[t].level,p=y.length-1;p>=0&&!(y[p].level<=a);p--);y.length=p+1,s=0,o=(n=r.content).length
e:for(;s<o&&(xM.lastIndex=s,i=xM.exec(n));)if(l=!NM(n,i.index-1),s=i.index+1,f="'"===i[0],(c=!NM(n,s))||l){if(h=!c,d=!l)for(p=y.length-1;p>=0&&(u=y[p],!(y[p].level<a));p--)if(u.single===f&&y[p].level===a){u=y[p],f?(g[u.token].content=_M(g[u.token].content,u.pos,e.options.quotes[2]),r.content=_M(r.content,i.index,e.options.quotes[3])):(g[u.token].content=_M(g[u.token].content,u.pos,e.options.quotes[0]),r.content=_M(r.content,i.index,e.options.quotes[1])),y.length=p
continue e}h?y.push({token:t,pos:i.index,single:f,level:a}):d&&f&&(r.content=_M(r.content,i.index,"’"))}else f&&(r.content=_M(r.content,i.index,"’"))}}]]
function AM(){this.options={},this.ruler=new aM
for(var e=0;e<CM.length;e++)this.ruler.push(CM[e][0],CM[e][1])}function OM(e,t,r,n,i){var s,o,a,l,c,u,h
for(this.src=e,this.parser=t,this.options=r,this.env=n,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",u=0,h=!1,a=l=u=0,c=(o=this.src).length;l<c;l++){if(s=o.charCodeAt(l),!h){if(32===s){u++
continue}h=!0}10!==s&&l!==c-1||(10!==s&&l++,this.bMarks.push(a),this.eMarks.push(l),this.tShift.push(u),h=!1,u=0,a=l+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}function PM(e,t){var r,n,i
return(n=e.bMarks[t]+e.tShift[t])>=(i=e.eMarks[t])||42!==(r=e.src.charCodeAt(n++))&&45!==r&&43!==r||n<i&&32!==e.src.charCodeAt(n)?-1:n}function TM(e,t){var r,n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t]
if(n+1>=i)return-1
if((r=e.src.charCodeAt(n++))<48||r>57)return-1
for(;;){if(n>=i)return-1
if(!((r=e.src.charCodeAt(n++))>=48&&r<=57)){if(41===r||46===r)break
return-1}}return n<i&&32!==e.src.charCodeAt(n)?-1:n}AM.prototype.process=function(e){var t,r,n
for(t=0,r=(n=this.ruler.getRules("")).length;t<r;t++)n[t](e)},OM.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},OM.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},OM.prototype.skipSpaces=function(e){for(var t=this.src.length;e<t&&32===this.src.charCodeAt(e);e++);return e},OM.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},OM.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e
for(;e>r;)if(t!==this.src.charCodeAt(--e))return e+1
return e},OM.prototype.getLines=function(e,t,r,n){var i,s,o,a,l,c=e
if(e>=t)return""
if(c+1===t)return s=this.bMarks[c]+Math.min(this.tShift[c],r),o=n?this.eMarks[c]+1:this.eMarks[c],this.src.slice(s,o)
for(a=new Array(t-e),i=0;c<t;c++,i++)(l=this.tShift[c])>r&&(l=r),l<0&&(l=0),s=this.bMarks[c]+l,o=c+1<t||n?this.eMarks[c]+1:this.eMarks[c],a[i]=this.src.slice(s,o)
return a.join("")}
var IM={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach((function(e){IM[e]=!0}))
var jM=/^<([a-zA-Z]{1,15})[\s\/>]/,DM=/^<\/([a-zA-Z]{1,15})[\s>]/
function MM(e,t){var r=e.bMarks[t]+e.blkIndent,n=e.eMarks[t]
return e.src.substr(r,n-r)}function BM(e,t){var r,n,i=e.bMarks[t]+e.tShift[t],s=e.eMarks[t]
return i>=s||126!==(n=e.src.charCodeAt(i++))&&58!==n||i===(r=e.skipSpaces(i))||r>=s?-1:r}var RM=[["code",function(e,t,r){var n,i
if(e.tShift[t]-e.blkIndent<4)return!1
for(i=n=t+1;n<r;)if(e.isEmpty(n))n++
else{if(!(e.tShift[n]-e.blkIndent>=4))break
i=++n}return e.line=n,e.tokens.push({type:"code",content:e.getLines(t,i,4+e.blkIndent,!0),block:!0,lines:[t,e.line],level:e.level}),!0}],["fences",function(e,t,r,n){var i,s,o,a,l,c=!1,u=e.bMarks[t]+e.tShift[t],h=e.eMarks[t]
if(u+3>h)return!1
if(126!==(i=e.src.charCodeAt(u))&&96!==i)return!1
if(l=u,(s=(u=e.skipChars(u,i))-l)<3)return!1
if((o=e.src.slice(u,h).trim()).indexOf("`")>=0)return!1
if(n)return!0
for(a=t;!(++a>=r||(u=l=e.bMarks[a]+e.tShift[a])<(h=e.eMarks[a])&&e.tShift[a]<e.blkIndent);)if(e.src.charCodeAt(u)===i&&!(e.tShift[a]-e.blkIndent>=4||(u=e.skipChars(u,i))-l<s||(u=e.skipSpaces(u))<h)){c=!0
break}return s=e.tShift[t],e.line=a+(c?1:0),e.tokens.push({type:"fence",params:o,content:e.getLines(t+1,a,s,!0),lines:[t,e.line],level:e.level}),!0},["paragraph","blockquote","list"]],["blockquote",function(e,t,r,n){var i,s,o,a,l,c,u,h,d,p,f,m=e.bMarks[t]+e.tShift[t],g=e.eMarks[t]
if(m>g)return!1
if(62!==e.src.charCodeAt(m++))return!1
if(e.level>=e.options.maxNesting)return!1
if(n)return!0
for(32===e.src.charCodeAt(m)&&m++,l=e.blkIndent,e.blkIndent=0,a=[e.bMarks[t]],e.bMarks[t]=m,s=(m=m<g?e.skipSpaces(m):m)>=g,o=[e.tShift[t]],e.tShift[t]=m-e.bMarks[t],h=e.parser.ruler.getRules("blockquote"),i=t+1;i<r&&!((m=e.bMarks[i]+e.tShift[i])>=(g=e.eMarks[i]));i++)if(62!==e.src.charCodeAt(m++)){if(s)break
for(f=!1,d=0,p=h.length;d<p;d++)if(h[d](e,i,r,!0)){f=!0
break}if(f)break
a.push(e.bMarks[i]),o.push(e.tShift[i]),e.tShift[i]=-1337}else 32===e.src.charCodeAt(m)&&m++,a.push(e.bMarks[i]),e.bMarks[i]=m,s=(m=m<g?e.skipSpaces(m):m)>=g,o.push(e.tShift[i]),e.tShift[i]=m-e.bMarks[i]
for(c=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:u=[t,0],level:e.level++}),e.parser.tokenize(e,t,i),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=c,u[1]=e.line,d=0;d<o.length;d++)e.bMarks[d+t]=a[d],e.tShift[d+t]=o[d]
return e.blkIndent=l,!0},["paragraph","blockquote","list"]],["hr",function(e,t,r,n){var i,s,o,a=e.bMarks[t],l=e.eMarks[t]
if((a+=e.tShift[t])>l)return!1
if(42!==(i=e.src.charCodeAt(a++))&&45!==i&&95!==i)return!1
for(s=1;a<l;){if((o=e.src.charCodeAt(a++))!==i&&32!==o)return!1
o===i&&s++}return!(s<3||(n||(e.line=t+1,e.tokens.push({type:"hr",lines:[t,e.line],level:e.level})),0))},["paragraph","blockquote","list"]],["list",function(e,t,r,n){var i,s,o,a,l,c,u,h,d,p,f,m,g,y,v,b,w,S,k,x,E,N=!0
if((h=TM(e,t))>=0)m=!0
else{if(!((h=PM(e,t))>=0))return!1
m=!1}if(e.level>=e.options.maxNesting)return!1
if(f=e.src.charCodeAt(h-1),n)return!0
for(y=e.tokens.length,m?(u=e.bMarks[t]+e.tShift[t],p=Number(e.src.substr(u,h-u-1)),e.tokens.push({type:"ordered_list_open",order:p,lines:b=[t,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:b=[t,0],level:e.level++}),i=t,v=!1,S=e.parser.ruler.getRules("list");!(!(i<r)||((d=(g=e.skipSpaces(h))>=e.eMarks[i]?1:g-h)>4&&(d=1),d<1&&(d=1),s=h-e.bMarks[i]+d,e.tokens.push({type:"list_item_open",lines:w=[t,0],level:e.level++}),a=e.blkIndent,l=e.tight,o=e.tShift[t],c=e.parentType,e.tShift[t]=g-e.bMarks[t],e.blkIndent=s,e.tight=!0,e.parentType="list",e.parser.tokenize(e,t,r,!0),e.tight&&!v||(N=!1),v=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=a,e.tShift[t]=o,e.tight=l,e.parentType=c,e.tokens.push({type:"list_item_close",level:--e.level}),i=t=e.line,w[1]=i,g=e.bMarks[t],i>=r)||e.isEmpty(i)||e.tShift[i]<e.blkIndent);){for(E=!1,k=0,x=S.length;k<x;k++)if(S[k](e,i,r,!0)){E=!0
break}if(E)break
if(m){if((h=TM(e,i))<0)break}else if((h=PM(e,i))<0)break
if(f!==e.src.charCodeAt(h-1))break}return e.tokens.push({type:m?"ordered_list_close":"bullet_list_close",level:--e.level}),b[1]=i,e.line=i,N&&function(e,t){var r,n,i=e.level+2
for(r=t+2,n=e.tokens.length-2;r<n;r++)e.tokens[r].level===i&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].tight=!0,e.tokens[r].tight=!0,r+=2)}(e,y),!0},["paragraph","blockquote"]],["footnote",function(e,t,r,n){var i,s,o,a,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t]
if(c+4>u)return!1
if(91!==e.src.charCodeAt(c))return!1
if(94!==e.src.charCodeAt(c+1))return!1
if(e.level>=e.options.maxNesting)return!1
for(a=c+2;a<u;a++){if(32===e.src.charCodeAt(a))return!1
if(93===e.src.charCodeAt(a))break}return a!==c+2&&!(a+1>=u||58!==e.src.charCodeAt(++a))&&(n||(a++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),l=e.src.slice(c+2,a-2),e.env.footnotes.refs[":"+l]=-1,e.tokens.push({type:"footnote_reference_open",label:l,level:e.level++}),i=e.bMarks[t],s=e.tShift[t],o=e.parentType,e.tShift[t]=e.skipSpaces(a)-a,e.bMarks[t]=a,e.blkIndent+=4,e.parentType="footnote",e.tShift[t]<e.blkIndent&&(e.tShift[t]+=e.blkIndent,e.bMarks[t]-=e.blkIndent),e.parser.tokenize(e,t,r,!0),e.parentType=o,e.blkIndent-=4,e.tShift[t]=s,e.bMarks[t]=i,e.tokens.push({type:"footnote_reference_close",level:--e.level})),!0)},["paragraph"]],["heading",function(e,t,r,n){var i,s,o,a=e.bMarks[t]+e.tShift[t],l=e.eMarks[t]
if(a>=l)return!1
if(35!==(i=e.src.charCodeAt(a))||a>=l)return!1
for(s=1,i=e.src.charCodeAt(++a);35===i&&a<l&&s<=6;)s++,i=e.src.charCodeAt(++a)
return!(s>6||a<l&&32!==i||(n||(l=e.skipCharsBack(l,32,a),(o=e.skipCharsBack(l,35,a))>a&&32===e.src.charCodeAt(o-1)&&(l=o),e.line=t+1,e.tokens.push({type:"heading_open",hLevel:s,lines:[t,e.line],level:e.level}),a<l&&e.tokens.push({type:"inline",content:e.src.slice(a,l).trim(),level:e.level+1,lines:[t,e.line],children:[]}),e.tokens.push({type:"heading_close",hLevel:s,level:e.level})),0))},["paragraph","blockquote"]],["lheading",function(e,t,r){var n,i,s,o=t+1
return!(o>=r||e.tShift[o]<e.blkIndent||e.tShift[o]-e.blkIndent>3||(i=e.bMarks[o]+e.tShift[o])>=(s=e.eMarks[o])||45!==(n=e.src.charCodeAt(i))&&61!==n||(i=e.skipChars(i,n),(i=e.skipSpaces(i))<s||(i=e.bMarks[t]+e.tShift[t],e.line=o+1,e.tokens.push({type:"heading_open",hLevel:61===n?1:2,lines:[t,e.line],level:e.level}),e.tokens.push({type:"inline",content:e.src.slice(i,e.eMarks[t]).trim(),level:e.level+1,lines:[t,e.line-1],children:[]}),e.tokens.push({type:"heading_close",hLevel:61===n?1:2,level:e.level}),0)))}],["htmlblock",function(e,t,r,n){var i,s,o,a=e.bMarks[t],l=e.eMarks[t],c=e.tShift[t]
if(a+=c,!e.options.html)return!1
if(c>3||a+2>=l)return!1
if(60!==e.src.charCodeAt(a))return!1
if(33===(i=e.src.charCodeAt(a+1))||63===i){if(n)return!0}else{if(47!==i&&!function(e){var t=32|e
return t>=97&&t<=122}(i))return!1
if(47===i){if(!(s=e.src.slice(a,l).match(DM)))return!1}else if(!(s=e.src.slice(a,l).match(jM)))return!1
if(!0!==IM[s[1].toLowerCase()])return!1
if(n)return!0}for(o=t+1;o<e.lineMax&&!e.isEmpty(o);)o++
return e.line=o,e.tokens.push({type:"htmlblock",level:e.level,lines:[t,e.line],content:e.getLines(t,o,0,!0)}),!0},["paragraph","blockquote"]],["table",function(e,t,r,n){var i,s,o,a,l,c,u,h,d,p,f
if(t+2>r)return!1
if(l=t+1,e.tShift[l]<e.blkIndent)return!1
if((o=e.bMarks[l]+e.tShift[l])>=e.eMarks[l])return!1
if(124!==(i=e.src.charCodeAt(o))&&45!==i&&58!==i)return!1
if(s=MM(e,t+1),!/^[-:| ]+$/.test(s))return!1
if((c=s.split("|"))<=2)return!1
for(h=[],a=0;a<c.length;a++){if(!(d=c[a].trim())){if(0===a||a===c.length-1)continue
return!1}if(!/^:?-+:?$/.test(d))return!1
58===d.charCodeAt(d.length-1)?h.push(58===d.charCodeAt(0)?"center":"right"):58===d.charCodeAt(0)?h.push("left"):h.push("")}if(-1===(s=MM(e,t).trim()).indexOf("|"))return!1
if(c=s.replace(/^\||\|$/g,"").split("|"),h.length!==c.length)return!1
if(n)return!0
for(e.tokens.push({type:"table_open",lines:p=[t,0],level:e.level++}),e.tokens.push({type:"thead_open",lines:[t,t+1],level:e.level++}),e.tokens.push({type:"tr_open",lines:[t,t+1],level:e.level++}),a=0;a<c.length;a++)e.tokens.push({type:"th_open",align:h[a],lines:[t,t+1],level:e.level++}),e.tokens.push({type:"inline",content:c[a].trim(),lines:[t,t+1],level:e.level,children:[]}),e.tokens.push({type:"th_close",level:--e.level})
for(e.tokens.push({type:"tr_close",level:--e.level}),e.tokens.push({type:"thead_close",level:--e.level}),e.tokens.push({type:"tbody_open",lines:f=[t+2,0],level:e.level++}),l=t+2;l<r&&!(e.tShift[l]<e.blkIndent)&&-1!==(s=MM(e,l).trim()).indexOf("|");l++){for(c=s.replace(/^\||\|$/g,"").split("|"),e.tokens.push({type:"tr_open",level:e.level++}),a=0;a<c.length;a++)e.tokens.push({type:"td_open",align:h[a],level:e.level++}),u=c[a].substring(124===c[a].charCodeAt(0)?1:0,124===c[a].charCodeAt(c[a].length-1)?c[a].length-1:c[a].length).trim(),e.tokens.push({type:"inline",content:u,level:e.level,children:[]}),e.tokens.push({type:"td_close",level:--e.level})
e.tokens.push({type:"tr_close",level:--e.level})}return e.tokens.push({type:"tbody_close",level:--e.level}),e.tokens.push({type:"table_close",level:--e.level}),p[1]=f[1]=l,e.line=l,!0},["paragraph"]],["deflist",function(e,t,r,n){var i,s,o,a,l,c,u,h,d,p,f,m,g,y
if(n)return!(e.ddIndent<0)&&BM(e,t)>=0
if(u=t+1,e.isEmpty(u)&&++u>r)return!1
if(e.tShift[u]<e.blkIndent)return!1
if((i=BM(e,u))<0)return!1
if(e.level>=e.options.maxNesting)return!1
c=e.tokens.length,e.tokens.push({type:"dl_open",lines:l=[t,0],level:e.level++}),o=t,s=u
e:for(;;){for(y=!0,g=!1,e.tokens.push({type:"dt_open",lines:[o,o],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(o,o+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[o,o],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:a=[u,0],level:e.level++}),m=e.tight,d=e.ddIndent,h=e.blkIndent,f=e.tShift[s],p=e.parentType,e.blkIndent=e.ddIndent=e.tShift[s]+2,e.tShift[s]=i-e.bMarks[s],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,s,r,!0),e.tight&&!g||(y=!1),g=e.line-s>1&&e.isEmpty(e.line-1),e.tShift[s]=f,e.tight=m,e.parentType=p,e.blkIndent=h,e.ddIndent=d,e.tokens.push({type:"dd_close",level:--e.level}),a[1]=u=e.line,u>=r)break e
if(e.tShift[u]<e.blkIndent)break e
if((i=BM(e,u))<0)break
s=u}if(u>=r)break
if(o=u,e.isEmpty(o))break
if(e.tShift[o]<e.blkIndent)break
if((s=o+1)>=r)break
if(e.isEmpty(s)&&s++,s>=r)break
if(e.tShift[s]<e.blkIndent)break
if((i=BM(e,s))<0)break}return e.tokens.push({type:"dl_close",level:--e.level}),l[1]=u,e.line=u,y&&function(e,t){var r,n,i=e.level+2
for(r=t+2,n=e.tokens.length-2;r<n;r++)e.tokens[r].level===i&&"paragraph_open"===e.tokens[r].type&&(e.tokens[r+2].tight=!0,e.tokens[r].tight=!0,r+=2)}(e,c),!0},["paragraph"]],["paragraph",function(e,t){var r,n,i,s,o,a,l=t+1
if(l<(r=e.lineMax)&&!e.isEmpty(l))for(a=e.parser.ruler.getRules("paragraph");l<r&&!e.isEmpty(l);l++)if(!(e.tShift[l]-e.blkIndent>3)){for(i=!1,s=0,o=a.length;s<o;s++)if(a[s](e,l,r,!0)){i=!0
break}if(i)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,n.length&&(e.tokens.push({type:"paragraph_open",tight:!1,lines:[t,e.line],level:e.level}),e.tokens.push({type:"inline",content:n,level:e.level+1,lines:[t,e.line],children:[]}),e.tokens.push({type:"paragraph_close",tight:!1,level:e.level})),!0}]]
function LM(){this.ruler=new aM
for(var e=0;e<RM.length;e++)this.ruler.push(RM[e][0],RM[e][1],{alt:(RM[e][2]||[]).slice()})}LM.prototype.tokenize=function(e,t,r){for(var n,i=this.ruler.getRules(""),s=i.length,o=t,a=!1;o<r&&(e.line=o=e.skipEmptyLines(o),!(o>=r))&&!(e.tShift[o]<e.blkIndent);){for(n=0;n<s&&!i[n](e,o,r,!1);n++);if(e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),(o=e.line)<r&&e.isEmpty(o)){if(a=!0,++o<r&&"list"===e.parentType&&e.isEmpty(o))break
e.line=o}}}
var zM=/[\n\t]/g,FM=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,VM=/\u00a0/g
function $M(e){switch(e){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0
default:return!1}}LM.prototype.parse=function(e,t,r,n){var i,s=0,o=0
if(!e)return[];(e=(e=e.replace(VM," ")).replace(FM,"\n")).indexOf("\t")>=0&&(e=e.replace(zM,(function(t,r){var n
return 10===e.charCodeAt(r)?(s=r+1,o=0,t):(n="    ".slice((r-s-o)%4),o=r-s+1,n)}))),i=new OM(e,this,t,r,n),this.tokenize(i,i.line,i.lineMax)}
for(var UM=[],HM=0;HM<256;HM++)UM.push(0)
function qM(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function WM(e,t){var r,n,i,s=t,o=!0,a=!0,l=e.posMax,c=e.src.charCodeAt(t)
for(r=t>0?e.src.charCodeAt(t-1):-1;s<l&&e.src.charCodeAt(s)===c;)s++
return s>=l&&(o=!1),(i=s-t)>=4?o=a=!1:(32!==(n=s<l?e.src.charCodeAt(s):-1)&&10!==n||(o=!1),32!==r&&10!==r||(a=!1),95===c&&(qM(r)&&(o=!1),qM(n)&&(a=!1))),{can_open:o,can_close:a,delims:i}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){UM[e.charCodeAt(0)]=1}))
var KM=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,ZM=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,JM=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],GM=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,YM=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/
function XM(e,t){return e=e.source,t=t||"",function r(n,i){return n?(i=i.source||i,e=e.replace(n,i),r):new RegExp(e,t)}}var QM=XM(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",/[^"'=<>`\x00-\x20]+/)("single_quoted",/'[^']*'/)("double_quoted",/"[^"]*"/)(),eB=XM(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",/[a-zA-Z_:][a-zA-Z0-9:._-]*/)("attr_value",QM)(),tB=XM(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",eB)(),rB=XM(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",tB)("close_tag",/<\/[A-Za-z][A-Za-z0-9]*\s*>/)("comment",/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/)("processing",/<[?].*?[?]>/)("declaration",/<![A-Z]+\s+[^>]*>/)("cdata",/<!\[CDATA\[[\s\S]*?\]\]>/)(),nB=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,iB=/^&([a-z][a-z0-9]{1,31});/i,sB=[["text",function(e,t){for(var r=e.pos;r<e.posMax&&!$M(e.src.charCodeAt(r));)r++
return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}],["newline",function(e,t){var r,n,i=e.pos
if(10!==e.src.charCodeAt(i))return!1
if(r=e.pending.length-1,n=e.posMax,!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){for(var s=r-2;s>=0;s--)if(32!==e.pending.charCodeAt(s)){e.pending=e.pending.substring(0,s+1)
break}e.push({type:"hardbreak",level:e.level})}else e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level})
else e.push({type:"softbreak",level:e.level})
for(i++;i<n&&32===e.src.charCodeAt(i);)i++
return e.pos=i,!0}],["escape",function(e,t){var r,n=e.pos,i=e.posMax
if(92!==e.src.charCodeAt(n))return!1
if(++n<i){if((r=e.src.charCodeAt(n))<256&&0!==UM[r])return t||(e.pending+=e.src[n]),e.pos+=2,!0
if(10===r){for(t||e.push({type:"hardbreak",level:e.level}),n++;n<i&&32===e.src.charCodeAt(n);)n++
return e.pos=n,!0}}return t||(e.pending+="\\"),e.pos++,!0}],["backticks",function(e,t){var r,n,i,s,o,a=e.pos
if(96!==e.src.charCodeAt(a))return!1
for(r=a,a++,n=e.posMax;a<n&&96===e.src.charCodeAt(a);)a++
for(i=e.src.slice(r,a),s=o=a;-1!==(s=e.src.indexOf("`",o));){for(o=s+1;o<n&&96===e.src.charCodeAt(o);)o++
if(o-s===i.length)return t||e.push({type:"code",content:e.src.slice(a,s).replace(/[ \n]+/g," ").trim(),block:!1,level:e.level}),e.pos=o,!0}return t||(e.pending+=i),e.pos+=i.length,!0}],["del",function(e,t){var r,n,i,s,o,a=e.posMax,l=e.pos
if(126!==e.src.charCodeAt(l))return!1
if(t)return!1
if(l+4>=a)return!1
if(126!==e.src.charCodeAt(l+1))return!1
if(e.level>=e.options.maxNesting)return!1
if(s=l>0?e.src.charCodeAt(l-1):-1,o=e.src.charCodeAt(l+2),126===s)return!1
if(126===o)return!1
if(32===o||10===o)return!1
for(n=l+2;n<a&&126===e.src.charCodeAt(n);)n++
if(n>l+3)return e.pos+=n-l,t||(e.pending+=e.src.slice(l,n)),!0
for(e.pos=l+2,i=1;e.pos+1<a;){if(126===e.src.charCodeAt(e.pos)&&126===e.src.charCodeAt(e.pos+1)&&(s=e.src.charCodeAt(e.pos-1),126!==(o=e.pos+2<a?e.src.charCodeAt(e.pos+2):-1)&&126!==s&&(32!==s&&10!==s?i--:32!==o&&10!==o&&i++,i<=0))){r=!0
break}e.parser.skipToken(e)}return r?(e.posMax=e.pos,e.pos=l+2,t||(e.push({type:"del_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"del_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=a,!0):(e.pos=l,!1)}],["ins",function(e,t){var r,n,i,s,o,a=e.posMax,l=e.pos
if(43!==e.src.charCodeAt(l))return!1
if(t)return!1
if(l+4>=a)return!1
if(43!==e.src.charCodeAt(l+1))return!1
if(e.level>=e.options.maxNesting)return!1
if(s=l>0?e.src.charCodeAt(l-1):-1,o=e.src.charCodeAt(l+2),43===s)return!1
if(43===o)return!1
if(32===o||10===o)return!1
for(n=l+2;n<a&&43===e.src.charCodeAt(n);)n++
if(n!==l+2)return e.pos+=n-l,t||(e.pending+=e.src.slice(l,n)),!0
for(e.pos=l+2,i=1;e.pos+1<a;){if(43===e.src.charCodeAt(e.pos)&&43===e.src.charCodeAt(e.pos+1)&&(s=e.src.charCodeAt(e.pos-1),43!==(o=e.pos+2<a?e.src.charCodeAt(e.pos+2):-1)&&43!==s&&(32!==s&&10!==s?i--:32!==o&&10!==o&&i++,i<=0))){r=!0
break}e.parser.skipToken(e)}return r?(e.posMax=e.pos,e.pos=l+2,t||(e.push({type:"ins_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"ins_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=a,!0):(e.pos=l,!1)}],["mark",function(e,t){var r,n,i,s,o,a=e.posMax,l=e.pos
if(61!==e.src.charCodeAt(l))return!1
if(t)return!1
if(l+4>=a)return!1
if(61!==e.src.charCodeAt(l+1))return!1
if(e.level>=e.options.maxNesting)return!1
if(s=l>0?e.src.charCodeAt(l-1):-1,o=e.src.charCodeAt(l+2),61===s)return!1
if(61===o)return!1
if(32===o||10===o)return!1
for(n=l+2;n<a&&61===e.src.charCodeAt(n);)n++
if(n!==l+2)return e.pos+=n-l,t||(e.pending+=e.src.slice(l,n)),!0
for(e.pos=l+2,i=1;e.pos+1<a;){if(61===e.src.charCodeAt(e.pos)&&61===e.src.charCodeAt(e.pos+1)&&(s=e.src.charCodeAt(e.pos-1),61!==(o=e.pos+2<a?e.src.charCodeAt(e.pos+2):-1)&&61!==s&&(32!==s&&10!==s?i--:32!==o&&10!==o&&i++,i<=0))){r=!0
break}e.parser.skipToken(e)}return r?(e.posMax=e.pos,e.pos=l+2,t||(e.push({type:"mark_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"mark_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=a,!0):(e.pos=l,!1)}],["emphasis",function(e,t){var r,n,i,s,o,a,l,c=e.posMax,u=e.pos,h=e.src.charCodeAt(u)
if(95!==h&&42!==h)return!1
if(t)return!1
if(r=(l=WM(e,u)).delims,!l.can_open)return e.pos+=r,t||(e.pending+=e.src.slice(u,e.pos)),!0
if(e.level>=e.options.maxNesting)return!1
for(e.pos=u+r,a=[r];e.pos<c;)if(e.src.charCodeAt(e.pos)!==h)e.parser.skipToken(e)
else{if(n=(l=WM(e,e.pos)).delims,l.can_close){for(s=a.pop(),o=n;s!==o;){if(o<s){a.push(s-o)
break}if(o-=s,0===a.length)break
e.pos+=s,s=a.pop()}if(0===a.length){r=s,i=!0
break}e.pos+=n
continue}l.can_open&&a.push(n),e.pos+=n}return i?(e.posMax=e.pos,e.pos=u+r,t||(2!==r&&3!==r||e.push({type:"strong_open",level:e.level++}),1!==r&&3!==r||e.push({type:"em_open",level:e.level++}),e.parser.tokenize(e),1!==r&&3!==r||e.push({type:"em_close",level:--e.level}),2!==r&&3!==r||e.push({type:"strong_close",level:--e.level})),e.pos=e.posMax+r,e.posMax=c,!0):(e.pos=u,!1)}],["sub",function(e,t){var r,n,i=e.posMax,s=e.pos
if(126!==e.src.charCodeAt(s))return!1
if(t)return!1
if(s+2>=i)return!1
if(e.level>=e.options.maxNesting)return!1
for(e.pos=s+1;e.pos<i;){if(126===e.src.charCodeAt(e.pos)){r=!0
break}e.parser.skipToken(e)}return r&&s+1!==e.pos?(n=e.src.slice(s+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=s,!1):(e.posMax=e.pos,e.pos=s+1,t||e.push({type:"sub",level:e.level,content:n.replace(KM,"$1")}),e.pos=e.posMax+1,e.posMax=i,!0):(e.pos=s,!1)}],["sup",function(e,t){var r,n,i=e.posMax,s=e.pos
if(94!==e.src.charCodeAt(s))return!1
if(t)return!1
if(s+2>=i)return!1
if(e.level>=e.options.maxNesting)return!1
for(e.pos=s+1;e.pos<i;){if(94===e.src.charCodeAt(e.pos)){r=!0
break}e.parser.skipToken(e)}return r&&s+1!==e.pos?(n=e.src.slice(s+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=s,!1):(e.posMax=e.pos,e.pos=s+1,t||e.push({type:"sup",level:e.level,content:n.replace(ZM,"$1")}),e.pos=e.posMax+1,e.posMax=i,!0):(e.pos=s,!1)}],["links",function(e,t){var r,n,i,s,o,a,l,c,u=!1,h=e.pos,d=e.posMax,p=e.pos,f=e.src.charCodeAt(p)
if(33===f&&(u=!0,f=e.src.charCodeAt(++p)),91!==f)return!1
if(e.level>=e.options.maxNesting)return!1
if(r=p+1,(n=cM(e,p))<0)return!1
if((a=n+1)<d&&40===e.src.charCodeAt(a)){for(a++;a<d&&(32===(c=e.src.charCodeAt(a))||10===c);a++);if(a>=d)return!1
for(p=a,dM(e,a)?(s=e.linkContent,a=e.pos):s="",p=a;a<d&&(32===(c=e.src.charCodeAt(a))||10===c);a++);if(a<d&&p!==a&&pM(e,a))for(o=e.linkContent,a=e.pos;a<d&&(32===(c=e.src.charCodeAt(a))||10===c);a++);else o=""
if(a>=d||41!==e.src.charCodeAt(a))return e.pos=h,!1
a++}else{if(e.linkLevel>0)return!1
for(;a<d&&(32===(c=e.src.charCodeAt(a))||10===c);a++);if(a<d&&91===e.src.charCodeAt(a)&&(p=a+1,(a=cM(e,a))>=0?i=e.src.slice(p,a++):a=p-1),i||(void 0===i&&(a=n+1),i=e.src.slice(r,n)),!(l=e.env.references[fM(i)]))return e.pos=h,!1
s=l.href,o=l.title}return t||(e.pos=r,e.posMax=n,u?e.push({type:"image",src:s,title:o,alt:e.src.substr(r,n-r),level:e.level}):(e.push({type:"link_open",href:s,title:o,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=a,e.posMax=d,!0}],["footnote_inline",function(e,t){var r,n,i,s,o=e.posMax,a=e.pos
return!(a+2>=o||94!==e.src.charCodeAt(a)||91!==e.src.charCodeAt(a+1)||e.level>=e.options.maxNesting||(r=a+2,(n=cM(e,a+1))<0||(t||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),i=e.env.footnotes.list.length,e.pos=r,e.posMax=n,e.push({type:"footnote_ref",id:i,level:e.level}),e.linkLevel++,s=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[i]={tokens:e.tokens.splice(s)},e.linkLevel--),e.pos=n+1,e.posMax=o,0)))}],["footnote_ref",function(e,t){var r,n,i,s,o=e.posMax,a=e.pos
if(a+3>o)return!1
if(!e.env.footnotes||!e.env.footnotes.refs)return!1
if(91!==e.src.charCodeAt(a))return!1
if(94!==e.src.charCodeAt(a+1))return!1
if(e.level>=e.options.maxNesting)return!1
for(n=a+2;n<o;n++){if(32===e.src.charCodeAt(n))return!1
if(10===e.src.charCodeAt(n))return!1
if(93===e.src.charCodeAt(n))break}return!(n===a+2||n>=o||(n++,r=e.src.slice(a+2,n-1),void 0===e.env.footnotes.refs[":"+r]||(t||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+r]<0?(i=e.env.footnotes.list.length,e.env.footnotes.list[i]={label:r,count:0},e.env.footnotes.refs[":"+r]=i):i=e.env.footnotes.refs[":"+r],s=e.env.footnotes.list[i].count,e.env.footnotes.list[i].count++,e.push({type:"footnote_ref",id:i,subId:s,level:e.level})),e.pos=n,e.posMax=o,0)))}],["autolink",function(e,t){var r,n,i,s,o,a=e.pos
return!(60!==e.src.charCodeAt(a)||(r=e.src.slice(a)).indexOf(">")<0||((n=r.match(YM))?JM.indexOf(n[1].toLowerCase())<0||(o=hM(s=n[0].slice(1,-1)),!e.parser.validateLink(s)||(t||(e.push({type:"link_open",href:o,level:e.level}),e.push({type:"text",content:s,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=n[0].length,0)):!(i=r.match(GM))||(o=hM("mailto:"+(s=i[0].slice(1,-1))),!e.parser.validateLink(o)||(t||(e.push({type:"link_open",href:o,level:e.level}),e.push({type:"text",content:s,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=i[0].length,0))))}],["htmltag",function(e,t){var r,n,i,s=e.pos
return!(!e.options.html||(i=e.posMax,60!==e.src.charCodeAt(s)||s+2>=i||33!==(r=e.src.charCodeAt(s+1))&&63!==r&&47!==r&&!function(e){var t=32|e
return t>=97&&t<=122}(r)||!(n=e.src.slice(s).match(rB))||(t||e.push({type:"htmltag",content:e.src.slice(s,s+n[0].length),level:e.level}),e.pos+=n[0].length,0)))}],["entity",function(e,t){var r,n,i=e.pos,s=e.posMax
if(38!==e.src.charCodeAt(i))return!1
if(i+1<s)if(35===e.src.charCodeAt(i+1)){if(n=e.src.slice(i).match(nB))return t||(r="x"===n[1][0].toLowerCase()?parseInt(n[1].slice(1),16):parseInt(n[1],10),e.pending+=WD(r)?KD(r):KD(65533)),e.pos+=n[0].length,!0}else if(n=e.src.slice(i).match(iB)){var o=VD(n[1])
if(n[1]!==o)return t||(e.pending+=o),e.pos+=n[0].length,!0}return t||(e.pending+="&"),e.pos++,!0}]]
function oB(){this.ruler=new aM
for(var e=0;e<sB.length;e++)this.ruler.push(sB[e][0],sB[e][1])
this.validateLink=aB}function aB(e){var t=e.trim().toLowerCase()
return-1===(t=YD(t)).indexOf(":")||-1===["vbscript","javascript","file","data"].indexOf(t.split(":")[0])}oB.prototype.skipToken=function(e){var t,r,n=this.ruler.getRules(""),i=n.length,s=e.pos
if((r=e.cacheGet(s))>0)e.pos=r
else{for(t=0;t<i;t++)if(n[t](e,!0))return void e.cacheSet(s,e.pos)
e.pos++,e.cacheSet(s,e.pos)}},oB.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(""),i=n.length,s=e.posMax;e.pos<s;){for(r=0;r<i&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=s)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},oB.prototype.parse=function(e,t,r,n){var i=new lM(e,this,t,r,n)
this.tokenize(i)}
var lB={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},full:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}}}
function cB(e,t,r){this.src=t,this.env=r,this.options=e.options,this.tokens=[],this.inlineMode=!1,this.inline=e.inline,this.block=e.block,this.renderer=e.renderer,this.typographer=e.typographer}function uB(e,t){"string"!=typeof e&&(t=e,e="default"),t&&null!=t.linkify&&console.warn("linkify option is removed. Use linkify plugin instead:\n\nimport Remarkable from 'remarkable';\nimport linkify from 'remarkable/linkify';\nnew Remarkable().use(linkify)\n"),this.inline=new oB,this.block=new LM,this.core=new AM,this.renderer=new oM,this.ruler=new aM,this.options={},this.configure(lB[e]),this.set(t||{})}function hB(e,t){if(Array.prototype.indexOf)return e.indexOf(t)
for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r
return-1}function dB(e,t){for(var r=e.length-1;r>=0;r--)!0===t(e[r])&&e.splice(r,1)}function pB(e){throw new Error("Unhandled case for value: '".concat(e,"'"))}uB.prototype.set=function(e){UD(this.options,e)},uB.prototype.configure=function(e){var t=this
if(!e)throw new Error("Wrong `remarkable` preset, check name/content")
e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(r){e.components[r].rules&&t[r].ruler.enable(e.components[r].rules,!0)}))},uB.prototype.use=function(e,t){return e(this,t),this},uB.prototype.parse=function(e,t){var r=new cB(this,e,t)
return this.core.process(r),r.tokens},uB.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},uB.prototype.parseInline=function(e,t){var r=new cB(this,e,t)
return r.inlineMode=!0,this.core.process(r),r.tokens},uB.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)}
var fB=function(){function e(e){void 0===e&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}return e.prototype.setTagName=function(e){return this.tagName=e,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(e,t){return this.getAttrs()[e]=t,this},e.prototype.getAttr=function(e){return this.getAttrs()[e]},e.prototype.setAttrs=function(e){return Object.assign(this.getAttrs(),e),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(e){return this.setAttr("class",e)},e.prototype.addClass=function(e){for(var t,r=this.getClass(),n=this.whitespaceRegex,i=r?r.split(n):[],s=e.split(n);t=s.shift();)-1===hB(i,t)&&i.push(t)
return this.getAttrs().class=i.join(" "),this},e.prototype.removeClass=function(e){for(var t,r=this.getClass(),n=this.whitespaceRegex,i=r?r.split(n):[],s=e.split(n);i.length&&(t=s.shift());){var o=hB(i,t);-1!==o&&i.splice(o,1)}return this.getAttrs().class=i.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(e){return-1!==(" "+this.getClass()+" ").indexOf(" "+e+" ")},e.prototype.setInnerHTML=function(e){return this.innerHTML=e,this},e.prototype.setInnerHtml=function(e){return this.setInnerHTML(e)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var e=this.getTagName(),t=this.buildAttrsStr()
return["<",e,t=t?" "+t:"",">",this.getInnerHtml(),"</",e,">"].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return""
var e=this.getAttrs(),t=[]
for(var r in e)e.hasOwnProperty(r)&&t.push(r+'="'+e[r]+'"')
return t.join(" ")},e}(),mB=function(){function e(e){void 0===e&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}return e.prototype.build=function(e){return new fB({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},e.prototype.createAttrs=function(e){var t={href:e.getAnchorHref()},r=this.createCssClass(e)
return r&&(t.class=r),this.newWindow&&(t.target="_blank",t.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<e.getAnchorText().length&&(t.title=e.getAnchorHref()),t},e.prototype.createCssClass=function(e){var t=this.className
if(t){for(var r=[t],n=e.getCssClassSuffixes(),i=0,s=n.length;i<s;i++)r.push(t+"-"+n[i])
return r.join(" ")}return""},e.prototype.processAnchorText=function(e){return this.doTruncate(e)},e.prototype.doTruncate=function(e){var t=this.truncate
if(!t||!t.length)return e
var r=t.length,n=t.location
return"smart"===n?function(e,t,r){var n,i
null==r?(r="&hellip;",i=3,n=8):(i=r.length,n=r.length)
var s=function(e){var t=""
return e.scheme&&e.host&&(t+=e.scheme+"://"),e.host&&(t+=e.host),e.path&&(t+="/"+e.path),e.query&&(t+="?"+e.query),e.fragment&&(t+="#"+e.fragment),t},o=function(e,t){var n=t/2,i=Math.ceil(n),s=-1*Math.floor(n),o=""
return s<0&&(o=e.substr(s)),e.substr(0,i)+r+o}
if(e.length<=t)return e
var a=t-i,l=function(e){var t={},r=e,n=r.match(/^([a-z]+):\/\//i)
return n&&(t.scheme=n[1],r=r.substr(n[0].length)),(n=r.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(t.host=n[1],r=r.substr(n[0].length)),(n=r.match(/^\/(.*?)(?=(\?|#|$))/i))&&(t.path=n[1],r=r.substr(n[0].length)),(n=r.match(/^\?(.*?)(?=(#|$))/i))&&(t.query=n[1],r=r.substr(n[0].length)),(n=r.match(/^#(.*?)$/i))&&(t.fragment=n[1]),t}(e)
if(l.query){var c=l.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i)
c&&(l.query=l.query.substr(0,c[1].length),e=s(l))}if(e.length<=t)return e
if(l.host&&(l.host=l.host.replace(/^www\./,""),e=s(l)),e.length<=t)return e
var u=""
if(l.host&&(u+=l.host),u.length>=a)return l.host.length==t?(l.host.substr(0,t-i)+r).substr(0,a+n):o(u,a).substr(0,a+n)
var h=""
if(l.path&&(h+="/"+l.path),l.query&&(h+="?"+l.query),h){if((u+h).length>=a)return(u+h).length==t?(u+h).substr(0,t):(u+o(h,a-u.length)).substr(0,a+n)
u+=h}if(l.fragment){var d="#"+l.fragment
if((u+d).length>=a)return(u+d).length==t?(u+d).substr(0,t):(u+o(d,a-u.length)).substr(0,a+n)
u+=d}if(l.scheme&&l.host){var p=l.scheme+"://"
if((u+p).length<a)return(p+u).substr(0,t)}if(u.length<=t)return u
var f=""
return a>0&&(f=u.substr(-1*Math.floor(a/2))),(u.substr(0,Math.ceil(a/2))+r+f).substr(0,a+n)}(e,r):"middle"===n?function(e,t,r){if(e.length<=t)return e
var n,i
null==r?(r="&hellip;",n=8,i=3):(n=r.length,i=r.length)
var s=t-i,o=""
return s>0&&(o=e.substr(-1*Math.floor(s/2))),(e.substr(0,Math.ceil(s/2))+r+o).substr(0,s+n)}(e,r):function(e,t){return function(e,t,r){var n
return e.length>t&&(null==r?(r="&hellip;",n=3):n=r.length,e=e.substring(0,t-n)+r),e}(e,t,void 0)}(e,r)},e}(),gB=function(){function e(e){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=e.tagBuilder,this.matchedText=e.matchedText,this.offset=e.offset}return e.prototype.getMatchedText=function(){return this.matchedText},e.prototype.setOffset=function(e){this.offset=e},e.prototype.getOffset=function(){return this.offset},e.prototype.getCssClassSuffixes=function(){return[this.getType()]},e.prototype.buildTag=function(){return this.tagBuilder.build(this)},e}(),yB=function(e,t){return yB=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},yB(e,t)}
function vB(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null")
function r(){this.constructor=e}yB(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var bB=function(){return bB=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])
return e},bB.apply(this,arguments)}
Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError
var wB,SB=function(e){function t(t){var r=e.call(this,t)||this
return r.email="",r.email=t.email,r}return vB(t,e),t.prototype.getType=function(){return"email"},t.prototype.getEmail=function(){return this.email},t.prototype.getAnchorHref=function(){return"mailto:"+this.email},t.prototype.getAnchorText=function(){return this.email},t}(gB),kB=function(e){function t(t){var r=e.call(this,t)||this
return r.serviceName="",r.hashtag="",r.serviceName=t.serviceName,r.hashtag=t.hashtag,r}return vB(t,e),t.prototype.getType=function(){return"hashtag"},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getHashtag=function(){return this.hashtag},t.prototype.getAnchorHref=function(){var e=this.serviceName,t=this.hashtag
switch(e){case"twitter":return"https://twitter.com/hashtag/"+t
case"facebook":return"https://www.facebook.com/hashtag/"+t
case"instagram":return"https://instagram.com/explore/tags/"+t
case"tiktok":return"https://www.tiktok.com/tag/"+t
default:throw new Error("Unknown service name to point hashtag to: "+e)}},t.prototype.getAnchorText=function(){return"#"+this.hashtag},t}(gB),xB=function(e){function t(t){var r=e.call(this,t)||this
return r.serviceName="twitter",r.mention="",r.mention=t.mention,r.serviceName=t.serviceName,r}return vB(t,e),t.prototype.getType=function(){return"mention"},t.prototype.getMention=function(){return this.mention},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention
case"instagram":return"https://instagram.com/"+this.mention
case"soundcloud":return"https://soundcloud.com/"+this.mention
case"tiktok":return"https://www.tiktok.com/@"+this.mention
default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},t.prototype.getAnchorText=function(){return"@"+this.mention},t.prototype.getCssClassSuffixes=function(){var t=e.prototype.getCssClassSuffixes.call(this),r=this.getServiceName()
return r&&t.push(r),t},t}(gB),EB=function(e){function t(t){var r=e.call(this,t)||this
return r.number="",r.plusSign=!1,r.number=t.number,r.plusSign=t.plusSign,r}return vB(t,e),t.prototype.getType=function(){return"phone"},t.prototype.getPhoneNumber=function(){return this.number},t.prototype.getNumber=function(){return this.getPhoneNumber()},t.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},t.prototype.getAnchorText=function(){return this.matchedText},t}(gB),NB=function(e){function t(t){var r=e.call(this,t)||this
return r.url="",r.urlMatchType="scheme",r.protocolUrlMatch=!1,r.protocolRelativeMatch=!1,r.stripPrefix={scheme:!0,www:!0},r.stripTrailingSlash=!0,r.decodePercentEncoding=!0,r.schemePrefixRegex=/^(https?:\/\/)?/i,r.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,r.protocolRelativeRegex=/^\/\//,r.protocolPrepended=!1,r.urlMatchType=t.urlMatchType,r.url=t.url,r.protocolUrlMatch=t.protocolUrlMatch,r.protocolRelativeMatch=t.protocolRelativeMatch,r.stripPrefix=t.stripPrefix,r.stripTrailingSlash=t.stripTrailingSlash,r.decodePercentEncoding=t.decodePercentEncoding,r}return vB(t,e),t.prototype.getType=function(){return"url"},t.prototype.getUrlMatchType=function(){return this.urlMatchType},t.prototype.getUrl=function(){var e=this.url
return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(e=this.url="http://"+e,this.protocolPrepended=!0),e},t.prototype.getAnchorHref=function(){return this.getUrl().replace(/&amp;/g,"&")},t.prototype.getAnchorText=function(){var e=this.getMatchedText()
return this.protocolRelativeMatch&&(e=this.stripProtocolRelativePrefix(e)),this.stripPrefix.scheme&&(e=this.stripSchemePrefix(e)),this.stripPrefix.www&&(e=this.stripWwwPrefix(e)),this.stripTrailingSlash&&(e=this.removeTrailingSlash(e)),this.decodePercentEncoding&&(e=this.removePercentEncoding(e)),e},t.prototype.stripSchemePrefix=function(e){return e.replace(this.schemePrefixRegex,"")},t.prototype.stripWwwPrefix=function(e){return e.replace(this.wwwPrefixRegex,"$1")},t.prototype.stripProtocolRelativePrefix=function(e){return e.replace(this.protocolRelativeRegex,"")},t.prototype.removeTrailingSlash=function(e){return"/"===e.charAt(e.length-1)&&(e=e.slice(0,-1)),e},t.prototype.removePercentEncoding=function(e){var t=e.replace(/%22/gi,"&quot;").replace(/%26/gi,"&amp;").replace(/%27/gi,"&#39;").replace(/%3C/gi,"&lt;").replace(/%3E/gi,"&gt;")
try{return decodeURIComponent(t)}catch(e){return t}},t}(gB),_B=function(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder},CB=/[A-Za-z]/,AB=/[\d]/,OB=/[\D]/,PB=/\s/,TB=/['"]/,IB=/[\x00-\x1F\x7F]/,jB=/A-Za-z\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\u16F1-\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\u2183\u2184\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\u3006\u3031-\u3035\u303B\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-\uA6E5\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/.source,DB=jB+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,MB=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,BB=DB+MB,RB=DB+MB,LB=new RegExp("[".concat(RB,"]")),zB="(?:["+MB+"]{1,3}\\.){3}["+MB+"]{1,3}",FB="["+RB+"](?:["+RB+"\\-_]{0,61}["+RB+"])?",VB=function(e){return"(?=("+FB+"))\\"+e},$B=function(e){return"(?:"+VB(e)+"(?:\\."+VB(e+1)+"){0,126}|"+zB+")"},UB=(new RegExp("["+RB+".\\-]*["+RB+"\\-]"),LB),HB=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|vermögensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|travelchannel|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|சிங்கப்பூர்|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|موريتانيا|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|etisalat|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|السعودية|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|католик|اتصالات|البحرين|الجزائر|العليان|پاکستان|كاثوليك|இந்தியா|abarth|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|webcam|xihuan|yachts|yandex|zappos|москва|онлайн|ابوظبي|ارامكو|الاردن|المغرب|امارات|فلسطين|مليسيا|भारतम्|இலங்கை|ファッション|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|loans|locus|lotte|lotto|macys|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|ישראל|ایران|بازار|بھارت|سودان|سورية|همراه|भारोत|संगठन|বাংলা|భారత్|ഭാരതം|嘉里大酒店|aarp|able|adac|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|дети|сайт|بارت|بيتك|ڀارت|تونس|شبكة|عراق|عمان|موقع|भारत|ভারত|ভাৰত|ਭਾਰਤ|ભારત|ଭାରତ|ಭಾರತ|ලංකා|アマゾン|グーグル|クラウド|ポイント|组织机构|電訊盈科|香格里拉|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|қаз|мкд|мон|орг|рус|срб|укр|հայ|קום|عرب|قطر|كوم|مصر|कॉम|नेट|คอม|ไทย|ລາວ|ストア|セール|みんな|中文网|亚马逊|天主教|我爱你|新加坡|淡马锡|诺基亚|飞利浦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)/,qB=new RegExp("[".concat(RB,"!#$%&'*+/=?^_`{|}~-]")),WB=new RegExp("^".concat(HB.source,"$")),KB=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this
return t.localPartCharRegex=qB,t.strictTldRegex=WB,t}return vB(t,e),t.prototype.parseMatches=function(e){for(var t=this.tagBuilder,r=this.localPartCharRegex,n=this.strictTldRegex,i=[],s=e.length,o=new ZB,a={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},l=0,c=0,u=o;l<s;){var h=e.charAt(l)
switch(c){case 0:d(h)
break
case 1:p(e.charAt(l-1),h)
break
case 2:f(h)
break
case 3:m(h)
break
case 4:g(h)
break
case 5:y(h)
break
case 6:v(h)
break
case 7:b(h)
break
default:pB(c)}l++}return k(),i
function d(e){"m"===e?w(1):r.test(e)&&w()}function p(e,t){":"===e?r.test(t)?(c=2,u=new ZB(bB(bB({},u),{hasMailtoPrefix:!0}))):S():a[e]===t||(r.test(t)?c=2:"."===t?c=3:"@"===t?c=4:S())}function f(e){"."===e?c=3:"@"===e?c=4:r.test(e)||S()}function m(e){"."===e||"@"===e?S():r.test(e)?c=2:S()}function g(e){UB.test(e)?c=5:S()}function y(e){"."===e?c=7:"-"===e?c=6:UB.test(e)||k()}function v(e){"-"===e||"."===e?k():UB.test(e)?c=5:k()}function b(e){"."===e||"-"===e?k():UB.test(e)?(c=5,u=new ZB(bB(bB({},u),{hasDomainDot:!0}))):k()}function w(e){void 0===e&&(e=2),c=e,u=new ZB({idx:l})}function S(){c=0,u=o}function k(){if(u.hasDomainDot){var r=e.slice(u.idx,l);/[-.]$/.test(r)&&(r=r.slice(0,-1))
var s=u.hasMailtoPrefix?r.slice(7):r;(function(e){var t=(e.split(".").pop()||"").toLowerCase()
return n.test(t)})(s)&&i.push(new SB({tagBuilder:t,matchedText:r,offset:u.idx,email:s}))}S()}},t}(_B),ZB=function(e){void 0===e&&(e={}),this.idx=void 0!==e.idx?e.idx:-1,this.hasMailtoPrefix=!!e.hasMailtoPrefix,this.hasDomainDot=!!e.hasDomainDot},JB=function(){function e(){}return e.isValid=function(e,t){return!(t&&!this.isValidUriScheme(t)||this.urlMatchDoesNotHaveProtocolOrDot(e,t)||this.urlMatchDoesNotHaveAtLeastOneWordChar(e,t)&&!this.isValidIpAddress(e)||this.containsMultipleDots(e))},e.isValidIpAddress=function(e){var t=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source)
return null!==e.match(t)},e.containsMultipleDots=function(e){var t=e
return this.hasFullProtocolRegex.test(e)&&(t=e.split("://")[1]),t.split("/")[0].indexOf("..")>-1},e.isValidUriScheme=function(e){var t=e.match(this.uriSchemeRegex),r=t&&t[0].toLowerCase()
return"javascript:"!==r&&"vbscript:"!==r},e.urlMatchDoesNotHaveProtocolOrDot=function(e,t){return!(!e||t&&this.hasFullProtocolRegex.test(t)||-1!==e.indexOf("."))},e.urlMatchDoesNotHaveAtLeastOneWordChar=function(e,t){return!(!e||!t||this.hasFullProtocolRegex.test(t)||this.hasWordCharAfterProtocolRegex.test(e))},e.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,e.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,e.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+jB+"]"),e.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,e}(),GB=(wB=new RegExp("[/?#](?:["+RB+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+RB+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,$B(2),")","|","(","(//)?",/(?:www\.)/.source,$B(6),")","|","(","(//)?",$B(10)+"\\.",HB.source,"(?![-"+BB+"])",")",")","(?::[0-9]+)?","(?:"+wB.source+")?"].join(""),"gi")),YB=new RegExp("["+RB+"]"),XB=function(e){function t(t){var r=e.call(this,t)||this
return r.stripPrefix={scheme:!0,www:!0},r.stripTrailingSlash=!0,r.decodePercentEncoding=!0,r.matcherRegex=GB,r.wordCharRegExp=YB,r.stripPrefix=t.stripPrefix,r.stripTrailingSlash=t.stripTrailingSlash,r.decodePercentEncoding=t.decodePercentEncoding,r}return vB(t,e),t.prototype.parseMatches=function(e){for(var t,r=this.matcherRegex,n=this.stripPrefix,i=this.stripTrailingSlash,s=this.decodePercentEncoding,o=this.tagBuilder,a=[],l=function(){var r=t[0],l=t[1],u=t[4],h=t[5],d=t[9],p=t.index,f=h||d,m=e.charAt(p-1)
if(!JB.isValid(r,l))return"continue"
if(p>0&&"@"===m)return"continue"
if(p>0&&f&&c.wordCharRegExp.test(m))return"continue"
if(/\?$/.test(r)&&(r=r.substr(0,r.length-1)),c.matchHasUnbalancedClosingParen(r))r=r.substr(0,r.length-1)
else{var g=c.matchHasInvalidCharAfterTld(r,l)
g>-1&&(r=r.substr(0,g))}var y=["http://","https://"].find((function(e){return!!l&&-1!==l.indexOf(e)}))
if(y){var v=r.indexOf(y)
r=r.substr(v),l=l.substr(v),p+=v}var b=l?"scheme":u?"www":"tld",w=!!l
a.push(new NB({tagBuilder:o,matchedText:r,offset:p,urlMatchType:b,url:r,protocolUrlMatch:w,protocolRelativeMatch:!!f,stripPrefix:n,stripTrailingSlash:i,decodePercentEncoding:s}))},c=this;null!==(t=r.exec(e));)l()
return a},t.prototype.matchHasUnbalancedClosingParen=function(e){var t,r=e.charAt(e.length-1)
if(")"===r)t="("
else if("]"===r)t="["
else{if("}"!==r)return!1
t="{"}for(var n=0,i=0,s=e.length-1;i<s;i++){var o=e.charAt(i)
o===t?n++:o===r&&(n=Math.max(n-1,0))}return 0===n},t.prototype.matchHasInvalidCharAfterTld=function(e,t){if(!e)return-1
var r=0
t&&(r=e.indexOf(":"),e=e.slice(r))
var n=new RegExp("^((.?//)?[-."+RB+"]*[-"+RB+"]\\.[-"+RB+"]+)").exec(e)
return null===n?-1:(r+=n[1].length,e=e.slice(n[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(e)?r:-1)},t}(_B),QB=new RegExp("[_".concat(RB,"]")),eR=function(e){function t(t){var r=e.call(this,t)||this
return r.serviceName="twitter",r.serviceName=t.serviceName,r}return vB(t,e),t.prototype.parseMatches=function(e){for(var t=this.tagBuilder,r=this.serviceName,n=[],i=e.length,s=0,o=-1,a=0;s<i;){var l=e.charAt(s)
switch(a){case 0:c(l)
break
case 1:u(l)
break
case 2:h(l)
break
case 3:d(l)
break
default:pB(a)}s++}return p(),n
function c(e){"#"===e?(a=2,o=s):LB.test(e)&&(a=1)}function u(e){LB.test(e)||(a=0)}function h(e){a=QB.test(e)?3:LB.test(e)?1:0}function d(e){QB.test(e)||(p(),o=-1,a=LB.test(e)?1:0)}function p(){if(o>-1&&s-o<=140){var i=e.slice(o,s),a=new kB({tagBuilder:t,matchedText:i,offset:o,serviceName:r,hashtag:i.slice(1)})
n.push(a)}}},t}(_B),tR=["twitter","facebook","instagram","tiktok"],rR=new RegExp("".concat(/(?:(?:(?:(\+)?\d{1,3}[-\040.]?)?\(?\d{3}\)?[-\040.]?\d{3}[-\040.]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-\040.]?(?:\d[-\040.]?){6,12}\d+))([,;]+[0-9]+#?)*/.source,"|").concat(/(0([1-9]{1}-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/.source),"g"),nR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this
return t.matcherRegex=rR,t}return vB(t,e),t.prototype.parseMatches=function(e){for(var t,r=this.matcherRegex,n=this.tagBuilder,i=[];null!==(t=r.exec(e));){var s=t[0],o=s.replace(/[^0-9,;#]/g,""),a=!(!t[1]&&!t[2]),l=0==t.index?"":e.substr(t.index-1,1),c=e.substr(t.index+s.length,1),u=!l.match(/\d/)&&!c.match(/\d/)
this.testMatch(t[3])&&this.testMatch(s)&&u&&i.push(new EB({tagBuilder:n,matchedText:s,offset:t.index,number:o,plusSign:a}))}return i},t.prototype.testMatch=function(e){return OB.test(e)},t}(_B),iR=new RegExp("@[_".concat(RB,"]{1,50}(?![_").concat(RB,"])"),"g"),sR=new RegExp("@[_.".concat(RB,"]{1,30}(?![_").concat(RB,"])"),"g"),oR=new RegExp("@[-_.".concat(RB,"]{1,50}(?![-_").concat(RB,"])"),"g"),aR=new RegExp("@[_.".concat(RB,"]{1,23}[_").concat(RB,"](?![_").concat(RB,"])"),"g"),lR=new RegExp("[^"+RB+"]"),cR=function(e){function t(t){var r=e.call(this,t)||this
return r.serviceName="twitter",r.matcherRegexes={twitter:iR,instagram:sR,soundcloud:oR,tiktok:aR},r.nonWordCharRegex=lR,r.serviceName=t.serviceName,r}return vB(t,e),t.prototype.parseMatches=function(e){var t,r=this.serviceName,n=this.matcherRegexes[this.serviceName],i=this.nonWordCharRegex,s=this.tagBuilder,o=[]
if(!n)return o
for(;null!==(t=n.exec(e));){var a=t.index,l=e.charAt(a-1)
if(0===a||i.test(l)){var c=t[0].replace(/\.+$/g,""),u=c.slice(1)
o.push(new xB({tagBuilder:s,matchedText:c,offset:a,serviceName:r,mention:u}))}}return o},t}(_B),uR=function(e){void 0===e&&(e={}),this.idx=void 0!==e.idx?e.idx:-1,this.type=e.type||"tag",this.name=e.name||"",this.isOpening=!!e.isOpening,this.isClosing=!!e.isClosing},hR=function(){function e(t){void 0===t&&(t={}),this.version=e.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.matchers=null,this.tagBuilder=null,this.urls=this.normalizeUrlsCfg(t.urls),this.email="boolean"==typeof t.email?t.email:this.email,this.phone="boolean"==typeof t.phone?t.phone:this.phone,this.hashtag=t.hashtag||this.hashtag,this.mention=t.mention||this.mention,this.newWindow="boolean"==typeof t.newWindow?t.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(t.stripPrefix),this.stripTrailingSlash="boolean"==typeof t.stripTrailingSlash?t.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding="boolean"==typeof t.decodePercentEncoding?t.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=t.sanitizeHtml||!1
var r=this.mention
if(!1!==r&&-1===["twitter","instagram","soundcloud","tiktok"].indexOf(r))throw new Error("invalid `mention` cfg '".concat(r,"' - see docs"))
var n=this.hashtag
if(!1!==n&&-1===tR.indexOf(n))throw new Error("invalid `hashtag` cfg '".concat(n,"' - see docs"))
this.truncate=this.normalizeTruncateCfg(t.truncate),this.className=t.className||this.className,this.replaceFn=t.replaceFn||this.replaceFn,this.context=t.context||this}return e.link=function(t,r){return new e(r).link(t)},e.parse=function(t,r){return new e(r).parse(t)},e.prototype.normalizeUrlsCfg=function(e){return null==e&&(e=!0),"boolean"==typeof e?{schemeMatches:e,wwwMatches:e,tldMatches:e}:{schemeMatches:"boolean"!=typeof e.schemeMatches||e.schemeMatches,wwwMatches:"boolean"!=typeof e.wwwMatches||e.wwwMatches,tldMatches:"boolean"!=typeof e.tldMatches||e.tldMatches}},e.prototype.normalizeStripPrefixCfg=function(e){return null==e&&(e=!0),"boolean"==typeof e?{scheme:e,www:e}:{scheme:"boolean"!=typeof e.scheme||e.scheme,www:"boolean"!=typeof e.www||e.www}},e.prototype.normalizeTruncateCfg=function(e){return"number"==typeof e?{length:e,location:"end"}:function(e,t){for(var r in t)t.hasOwnProperty(r)&&void 0===e[r]&&(e[r]=t[r])
return e}(e||{},{length:Number.POSITIVE_INFINITY,location:"end"})},e.prototype.parse=function(e){var t=this,r=["a","style","script"],n=0,i=[]
return function(e,t){for(var r=t.onOpenTag,n=t.onCloseTag,i=t.onText,s=t.onComment,o=t.onDoctype,a=new uR,l=0,c=e.length,u=0,h=0,d=a;l<c;){var p=e.charAt(l)
switch(u){case 0:f(p)
break
case 1:m(p)
break
case 2:y(p)
break
case 3:g(p)
break
case 4:v(p)
break
case 5:b(p)
break
case 6:w(p)
break
case 7:S(p)
break
case 8:k(p)
break
case 9:x(p)
break
case 10:E(p)
break
case 11:N(p)
break
case 12:_(p)
break
case 13:"--"===e.substr(l,2)?(l+=2,d=new uR(bB(bB({},d),{type:"comment"})),u=14):"DOCTYPE"===e.substr(l,7).toUpperCase()?(l+=7,d=new uR(bB(bB({},d),{type:"doctype"})),u=20):D()
break
case 14:C(p)
break
case 15:A(p)
break
case 16:O(p)
break
case 17:P(p)
break
case 18:T(p)
break
case 19:I(p)
break
case 20:j(p)
break
default:pB(u)}l++}function f(e){"<"===e&&M()}function m(e){"!"===e?u=13:"/"===e?(u=2,d=new uR(bB(bB({},d),{isClosing:!0}))):"<"===e?M():CB.test(e)?(u=3,d=new uR(bB(bB({},d),{isOpening:!0}))):(u=0,d=a)}function g(e){PB.test(e)?(d=new uR(bB(bB({},d),{name:R()})),u=4):"<"===e?M():"/"===e?(d=new uR(bB(bB({},d),{name:R()})),u=12):">"===e?(d=new uR(bB(bB({},d),{name:R()})),B()):CB.test(e)||AB.test(e)||":"===e||D()}function y(e){">"===e?D():CB.test(e)?u=3:D()}function v(e){PB.test(e)||("/"===e?u=12:">"===e?B():"<"===e?M():"="===e||TB.test(e)||IB.test(e)?D():u=5)}function b(e){PB.test(e)?u=6:"/"===e?u=12:"="===e?u=7:">"===e?B():"<"===e?M():TB.test(e)&&D()}function w(e){PB.test(e)||("/"===e?u=12:"="===e?u=7:">"===e?B():"<"===e?M():TB.test(e)?D():u=5)}function S(e){PB.test(e)||('"'===e?u=8:"'"===e?u=9:/[>=`]/.test(e)?D():"<"===e?M():u=10)}function k(e){'"'===e&&(u=11)}function x(e){"'"===e&&(u=11)}function E(e){PB.test(e)?u=4:">"===e?B():"<"===e&&M()}function N(e){PB.test(e)?u=4:"/"===e?u=12:">"===e?B():"<"===e?M():(u=4,l--)}function _(e){">"===e?(d=new uR(bB(bB({},d),{isClosing:!0})),B()):u=4}function C(e){"-"===e?u=15:">"===e?D():u=16}function A(e){"-"===e?u=18:">"===e?D():u=16}function O(e){"-"===e&&(u=17)}function P(e){u="-"===e?18:16}function T(e){">"===e?B():"!"===e?u=19:"-"===e||(u=16)}function I(e){"-"===e?u=17:">"===e?B():u=16}function j(e){">"===e?B():"<"===e&&M()}function D(){u=0,d=a}function M(){u=1,d=new uR({idx:l})}function B(){var t=e.slice(h,d.idx)
t&&i(t,h),"comment"===d.type?s(d.idx):"doctype"===d.type?o(d.idx):(d.isOpening&&r(d.name,d.idx),d.isClosing&&n(d.name,d.idx)),D(),h=l+1}function R(){var t=d.idx+(d.isClosing?2:1)
return e.slice(t,l).toLowerCase()}h<l&&function(){var t=e.slice(h,l)
i(t,h),h=l+1}()}(e,{onOpenTag:function(e){r.indexOf(e)>=0&&n++},onText:function(e,r){if(0===n){var s=function(e,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set")
for(var r,n=[],i=0;r=t.exec(e);)n.push(e.substring(i,r.index)),n.push(r[0]),i=r.index+r[0].length
return n.push(e.substring(i)),n}(e,/(&nbsp;|&#160;|&lt;|&#60;|&gt;|&#62;|&quot;|&#34;|&#39;)/gi),o=r
s.forEach((function(e,r){if(r%2==0){var n=t.parseText(e,o)
i.push.apply(i,n)}o+=e.length}))}},onCloseTag:function(e){r.indexOf(e)>=0&&(n=Math.max(n-1,0))},onComment:function(e){},onDoctype:function(e){}}),i=this.compactMatches(i),i=this.removeUnwantedMatches(i)},e.prototype.compactMatches=function(e){e.sort((function(e,t){return e.getOffset()-t.getOffset()}))
for(var t=0;t<e.length-1;){var r=e[t],n=r.getOffset(),i=r.getMatchedText().length,s=n+i
if(t+1<e.length){if(e[t+1].getOffset()===n){var o=e[t+1].getMatchedText().length>i?t:t+1
e.splice(o,1)
continue}if(e[t+1].getOffset()<s){e.splice(t+1,1)
continue}}t++}return e},e.prototype.removeUnwantedMatches=function(e){return this.hashtag||dB(e,(function(e){return"hashtag"===e.getType()})),this.email||dB(e,(function(e){return"email"===e.getType()})),this.phone||dB(e,(function(e){return"phone"===e.getType()})),this.mention||dB(e,(function(e){return"mention"===e.getType()})),this.urls.schemeMatches||dB(e,(function(e){return"url"===e.getType()&&"scheme"===e.getUrlMatchType()})),this.urls.wwwMatches||dB(e,(function(e){return"url"===e.getType()&&"www"===e.getUrlMatchType()})),this.urls.tldMatches||dB(e,(function(e){return"url"===e.getType()&&"tld"===e.getUrlMatchType()})),e},e.prototype.parseText=function(e,t){void 0===t&&(t=0),t=t||0
for(var r=this.getMatchers(),n=[],i=0,s=r.length;i<s;i++){for(var o=r[i].parseMatches(e),a=0,l=o.length;a<l;a++)o[a].setOffset(t+o[a].getOffset())
n.push.apply(n,o)}return n},e.prototype.link=function(e){if(!e)return""
this.sanitizeHtml&&(e=e.replace(/</g,"&lt;").replace(/>/g,"&gt;"))
for(var t=this.parse(e),r=[],n=0,i=0,s=t.length;i<s;i++){var o=t[i]
r.push(e.substring(n,o.getOffset())),r.push(this.createMatchReturnVal(o)),n=o.getOffset()+o.getMatchedText().length}return r.push(e.substring(n)),r.join("")},e.prototype.createMatchReturnVal=function(e){var t
return this.replaceFn&&(t=this.replaceFn.call(this.context,e)),"string"==typeof t?t:!1===t?e.getMatchedText():t instanceof fB?t.toAnchorString():e.buildTag().toAnchorString()},e.prototype.getMatchers=function(){if(this.matchers)return this.matchers
var e=this.getTagBuilder(),t=[new eR({tagBuilder:e,serviceName:this.hashtag}),new KB({tagBuilder:e}),new nR({tagBuilder:e}),new cR({tagBuilder:e,serviceName:this.mention}),new XB({tagBuilder:e,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})]
return this.matchers=t},e.prototype.getTagBuilder=function(){var e=this.tagBuilder
return e||(e=this.tagBuilder=new mB({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),e},e.version="3.16.2",e.AnchorTagBuilder=mB,e.HtmlTag=fB,e.matcher={Email:KB,Hashtag:eR,Matcher:_B,Mention:cR,Phone:nR,Url:XB},e.match={Email:SB,Hashtag:kB,Match:gB,Mention:xB,Phone:EB,Url:NB},e}()
const dR=hR
var pR=/www|@|\:\/\//
function fR(e){return/^<a[>\s]/i.test(e)}function mR(e){return/^<\/a\s*>/i.test(e)}function gR(){var e=[],t=new dR({stripPrefix:!1,url:!0,email:!0,replaceFn:function(t){switch(t.getType()){case"url":e.push({text:t.matchedText,url:t.getUrl()})
break
case"email":e.push({text:t.matchedText,url:"mailto:"+t.getEmail().replace(/^mailto:/i,"")})}return!1}})
return{links:e,autolinker:t}}function yR(e){var t,r,n,i,s,o,a,l,c,u,h,d,p,f=e.tokens,m=null
for(r=0,n=f.length;r<n;r++)if("inline"===f[r].type)for(h=0,t=(i=f[r].children).length-1;t>=0;t--)if("link_close"!==(s=i[t]).type){if("htmltag"===s.type&&(fR(s.content)&&h>0&&h--,mR(s.content)&&h++),!(h>0)&&"text"===s.type&&pR.test(s.content)){if(m||(d=(m=gR()).links,p=m.autolinker),o=s.content,d.length=0,p.link(o),!d.length)continue
for(a=[],u=s.level,l=0;l<d.length;l++)e.inline.validateLink(d[l].url)&&((c=o.indexOf(d[l].text))&&a.push({type:"text",content:o.slice(0,c),level:u}),a.push({type:"link_open",href:d[l].url,title:"",level:u++}),a.push({type:"text",content:d[l].text,level:u}),a.push({type:"link_close",level:--u}),o=o.slice(c+d[l].text.length))
o.length&&a.push({type:"text",content:o,level:u}),f[r].children=i=[].concat(i.slice(0,t),a,i.slice(t+1))}}else for(t--;i[t].level!==s.level&&"link_open"!==i[t].type;)t--}function vR(e){e.core.ruler.push("linkify",yR)}var bR=l(42838),wR=l.n(bR)
wR().addHook&&wR().addHook("beforeSanitizeElements",(function(e){return e.href&&e.setAttribute("rel","noopener noreferrer"),e}))
const SR=function({source:e,className:t="",getConfigs:r=()=>({useUnsafeMarkdown:!1})}){if("string"!=typeof e)return null
const n=new uB({html:!0,typographer:!0,breaks:!0,linkTarget:"_blank"}).use(vR)
n.core.ruler.disable(["replacements","smartquotes"])
const{useUnsafeMarkdown:i}=r(),s=n.render(e),o=kR(s,{useUnsafeMarkdown:i})
return e&&s&&o?$.createElement("div",{className:Lo()(t,"markdown"),dangerouslySetInnerHTML:{__html:o}}):null}
function kR(e,{useUnsafeMarkdown:t=!1}={}){const r=t,n=t?[]:["style","class"]
return t&&!kR.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),kR.hasWarnedAboutDeprecation=!0),wR().sanitize(e,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:r,FORBID_ATTR:n})}kR.hasWarnedAboutDeprecation=!1
class xR extends $.Component{render(){const{errSelectors:e,specSelectors:t,getComponent:r}=this.props,n=r("SvgAssets"),i=r("InfoContainer",!0),s=r("VersionPragmaFilter"),o=r("operations",!0),a=r("Models",!0),l=r("Webhooks",!0),c=r("Row"),u=r("Col"),h=r("errors",!0),d=r("ServersContainer",!0),p=r("SchemesContainer",!0),f=r("AuthorizeBtnContainer",!0),m=r("FilterContainer",!0),g=t.isSwagger2(),y=t.isOAS3(),v=t.isOAS31(),b=!t.specStr(),w=t.loadingStatus()
let S=null
if("loading"===w&&(S=$.createElement("div",{className:"info"},$.createElement("div",{className:"loading-container"},$.createElement("div",{className:"loading"})))),"failed"===w&&(S=$.createElement("div",{className:"info"},$.createElement("div",{className:"loading-container"},$.createElement("h4",{className:"title"},"Failed to load API definition."),$.createElement(h,null)))),"failedConfig"===w){const t=e.lastError(),r=t?t.get("message"):""
S=$.createElement("div",{className:"info failed-config"},$.createElement("div",{className:"loading-container"},$.createElement("h4",{className:"title"},"Failed to load remote configuration."),$.createElement("p",null,r)))}if(!S&&b&&(S=$.createElement("h4",null,"No API definition provided.")),S)return $.createElement("div",{className:"swagger-ui"},$.createElement("div",{className:"loading-container"},S))
const k=t.servers(),x=t.schemes(),E=k&&k.size,N=x&&x.size,_=!!t.securityDefinitions()
return $.createElement("div",{className:"swagger-ui"},$.createElement(n,null),$.createElement(s,{isSwagger2:g,isOAS3:y,alsoShow:$.createElement(h,null)},$.createElement(h,null),$.createElement(c,{className:"information-container"},$.createElement(u,{mobile:12},$.createElement(i,null))),E||N||_?$.createElement("div",{className:"scheme-container"},$.createElement(u,{className:"schemes wrapper",mobile:12},E||N?$.createElement("div",{className:"schemes-server-container"},E?$.createElement(d,null):null,N?$.createElement(p,null):null):null,_?$.createElement(f,null):null)):null,$.createElement(m,null),$.createElement(c,null,$.createElement(u,{mobile:12,desktop:12},$.createElement(o,null))),v&&$.createElement(c,{className:"webhooks-container"},$.createElement(u,{mobile:12,desktop:12},$.createElement(l,null))),$.createElement(c,null,$.createElement(u,{mobile:12,desktop:12},$.createElement(a,null)))))}}const ER=()=>({components:{App:tj,authorizationPopup:rj,authorizeBtn:nj,AuthorizeBtnContainer:ij,authorizeOperationBtn:sj,auths:oj,AuthItem:aj,authError:lj,oauth2:mj,apiKeyAuth:cj,basicAuth:uj,clear:gj,liveResponse:bj,InitializedInput:gD,info:wD,InfoContainer:SD,InfoUrl:vD,InfoBasePath:yD,Contact:xD,License:ND,JumpToPath:_D,CopyToClipboardBtn:CD,onlineValidatorBadge:wj,operations:kj,operation:_j,OperationSummary:Pj,OperationSummaryMethod:Tj,OperationSummaryPath:Ij,responses:Bj,response:Lj,ResponseExtension:zj,responseBody:Hj,parameters:qj,parameterRow:Zj,execute:Jj,headers:Gj,errors:Yj,contentType:tD,overview:fD,footer:AD,FilterContainer:OD,ParamBody:TD,curl:ID,Property:jD,TryItOutButton:DD,Markdown:SR,BaseLayout:xR,VersionPragmaFilter:MD,VersionStamp:BD,OperationExt:jj,OperationExtRow:Dj,ParameterExt:Wj,ParameterIncludeEmpty:Kj,OperationTag:Nj,OperationContainer:Cj,OpenAPIVersion:RD,DeepLink:LD,SvgAssets:zD,Example:hj,ExamplesSelect:dj,ExamplesSelectValueRetainer:fj}}),NR=()=>({components:{...B}}),_R=()=>[ks,MP,So,$T,UT,wu,qs,no,wo,Pa,il,ER,NR,DP,wr,HT,js,Ks,xo,Uo,UI,qI,QI()],CR=(0,G.Map)()
function AR(e){return(t,r)=>(...n)=>{if(r.getSystem().specSelectors.isOAS3()){const t=e(...n)
return"function"==typeof t?t(r):t}return t(...n)}}const OR=AR(ol()(null)),PR=AR(((e,t)=>e=>e.getSystem().specSelectors.findSchema(t))),TR=AR((()=>e=>{const t=e.getSystem().specSelectors.specJson().getIn(["components","schemas"])
return G.Map.isMap(t)?t:CR})),IR=AR((()=>e=>e.getSystem().specSelectors.specJson().hasIn(["servers",0]))),jR=AR(er(vl,(e=>e.getIn(["components","securitySchemes"])||null))),DR=(e,t)=>(r,...n)=>t.specSelectors.isOAS3()?t.oas3Selectors.validOperationMethods():e(...n),MR=OR,BR=OR,RR=OR,LR=OR,zR=OR,FR=function(e){return(t,r)=>(...n)=>{if(r.getSystem().specSelectors.isOAS3()){let t=r.getState().getIn(["spec","resolvedSubtrees","components","securitySchemes"])
return e(r,t,...n)}return t(...n)}}(er((e=>e),(({specSelectors:e})=>e.securityDefinitions()),((e,t)=>{let r=(0,G.List)()
return t?(t.entrySeq().forEach((([e,t])=>{const n=t.get("type")
if("oauth2"===n&&t.get("flows").entrySeq().forEach((([n,i])=>{let s=(0,G.fromJS)({flow:n,authorizationUrl:i.get("authorizationUrl"),tokenUrl:i.get("tokenUrl"),scopes:i.get("scopes"),type:t.get("type"),description:t.get("description")})
r=r.push(new G.Map({[e]:s.filter((e=>void 0!==e))}))})),"http"!==n&&"apiKey"!==n||(r=r.push(new G.Map({[e]:t}))),"openIdConnect"===n&&t.get("openIdConnectData")){let n=t.get("openIdConnectData");(n.get("grant_types_supported")||["authorization_code","implicit"]).forEach((i=>{let s=n.get("scopes_supported")&&n.get("scopes_supported").reduce(((e,t)=>e.set(t,"")),new G.Map),o=(0,G.fromJS)({flow:i,authorizationUrl:n.get("authorization_endpoint"),tokenUrl:n.get("token_endpoint"),scopes:s,type:"oauth2",openIdConnectUrl:t.get("openIdConnectUrl")})
r=r.push(new G.Map({[e]:o.filter((e=>void 0!==e))}))}))}})),r):r})))
function VR(e){return(t,r)=>n=>"function"==typeof r.specSelectors?.isOAS3?r.specSelectors.isOAS3()?$.createElement(e,Js()({},n,r,{Ori:t})):$.createElement(t,n):(console.warn("OAS3 wrapper: couldn't get spec"),null)}const $R=(0,G.Map)(),UR=()=>e=>function(e){const t=e.get("swagger")
return"string"==typeof t&&"2.0"===t}(e.getSystem().specSelectors.specJson()),HR=()=>e=>function(e){const t=e.get("openapi")
return"string"==typeof t&&/^3\.0\.([0123])(?:-rc[012])?$/.test(t)}(e.getSystem().specSelectors.specJson()),qR=()=>e=>e.getSystem().specSelectors.isOAS30()
function WR(e){return(t,...r)=>n=>{if(n.specSelectors.isOAS3()){const i=e(t,...r)
return"function"==typeof i?i(n):i}return null}}const KR=WR((()=>e=>e.specSelectors.specJson().get("servers",$R))),ZR=(e,t)=>{const r=e.getIn(["resolvedSubtrees","components","schemas",t],null),n=e.getIn(["json","components","schemas",t],null)
return r||n||null},JR=WR(((e,{callbacks:t,specPath:r})=>e=>{const n=e.specSelectors.validOperationMethods()
return G.Map.isMap(t)?t.reduce(((e,t,i)=>{if(!G.Map.isMap(t))return e
const s=t.reduce(((e,t,s)=>{if(!G.Map.isMap(t))return e
const o=t.entrySeq().filter((([e])=>n.includes(e))).map((([e,t])=>({operation:(0,G.Map)({operation:t}),method:e,path:s,callbackName:i,specPath:r.concat([i,s,e])})))
return e.concat(o)}),(0,G.List)())
return e.concat(s)}),(0,G.List)()).groupBy((e=>e.callbackName)).map((e=>e.toArray())).toObject():{}})),GR=(e,t,r,n)=>{const i=e.getIn(["content",t])??(0,G.OrderedMap)(),s=i.get("schema",(0,G.OrderedMap)()).toJS(),o=void 0!==i.get("examples"),a=i.get("example"),l=o?i.getIn(["examples",r,"value"]):a
return ut(n.getSampleSchema(s,t,{includeWriteOnly:!0},l))}
class YR extends $.Component{render(){const{link:e,name:t,getComponent:r}=this.props,n=r("Markdown",!0)
let i=e.get("operationId")||e.get("operationRef"),s=e.get("parameters")&&e.get("parameters").toJS(),o=e.get("description")
return $.createElement("div",{className:"operation-link"},$.createElement("div",{className:"description"},$.createElement("b",null,$.createElement("code",null,t)),o?$.createElement(n,{source:o}):null),$.createElement("pre",null,"Operation `",i,"`",$.createElement("br",null),$.createElement("br",null),"Parameters ",function(e,t){return"string"!=typeof t?"":t.split("\n").map(((e,t)=>t>0?Array(1).join(" ")+e:e)).join("\n")}(0,JSON.stringify(s,null,2))||"{}",$.createElement("br",null)))}}const XR=YR
class QR extends $.Component{render(){const{specSelectors:e,oas3Selectors:t,oas3Actions:r,getComponent:n}=this.props,i=e.servers(),s=n("Servers")
return i&&i.size?$.createElement("div",null,$.createElement("span",{className:"servers-title"},"Servers"),$.createElement(s,{servers:i,currentServer:t.selectedServer(),setSelectedServer:r.setSelectedServer,setServerVariableValue:r.setServerVariableValue,getServerVariable:t.serverVariableValue,getEffectiveServerValue:t.serverEffectiveValue})):null}}const eL=Function.prototype
class tL extends $.PureComponent{constructor(e,t){super(e,t),s(this,"applyDefaultValue",(e=>{const{onChange:t,defaultValue:r}=e||this.props
return this.setState({value:r}),t(r)})),s(this,"onChange",(e=>{this.props.onChange(ut(e))})),s(this,"onDomChange",(e=>{const t=e.target.value
this.setState({value:t},(()=>this.onChange(t)))})),this.state={value:ut(e.value)||e.defaultValue},e.onChange(e.value)}UNSAFE_componentWillReceiveProps(e){this.props.value!==e.value&&e.value!==this.state.value&&this.setState({value:ut(e.value)}),!e.value&&e.defaultValue&&this.state.value&&this.applyDefaultValue(e)}render(){let{getComponent:e,errors:t}=this.props,{value:r}=this.state,n=t.size>0
const i=e("TextArea")
return $.createElement("div",{className:"body-param"},$.createElement(i,{className:Lo()("body-param__text",{invalid:n}),title:t.size?t.join(", "):"",value:r,onChange:this.onDomChange}))}}s(tL,"defaultProps",{onChange:eL,userHasEditedBody:!1})
class rL extends $.Component{constructor(e,t){super(e,t),s(this,"onChange",(e=>{let{onChange:t}=this.props,{value:r,name:n}=e.target,i=Object.assign({},this.state.value)
n?i[n]=r:i=r,this.setState({value:i},(()=>t(this.state)))}))
let{name:r,schema:n}=this.props,i=this.getValue()
this.state={name:r,schema:n,value:i}}getValue(){let{name:e,authorized:t}=this.props
return t&&t.getIn([e,"value"])}render(){let{schema:e,getComponent:t,errSelectors:r,name:n}=this.props
const i=t("Input"),s=t("Row"),o=t("Col"),a=t("authError"),l=t("Markdown",!0),c=t("JumpToPath",!0),u=(e.get("scheme")||"").toLowerCase()
let h=this.getValue(),d=r.allErrors().filter((e=>e.get("authId")===n))
if("basic"===u){let t=h?h.get("username"):null
return $.createElement("div",null,$.createElement("h4",null,$.createElement("code",null,n||e.get("name")),"  (http, Basic)",$.createElement(c,{path:["securityDefinitions",n]})),t&&$.createElement("h6",null,"Authorized"),$.createElement(s,null,$.createElement(l,{source:e.get("description")})),$.createElement(s,null,$.createElement("label",{htmlFor:"auth-basic-username"},"Username:"),t?$.createElement("code",null," ",t," "):$.createElement(o,null,$.createElement(i,{id:"auth-basic-username",type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),$.createElement(s,null,$.createElement("label",{htmlFor:"auth-basic-password"},"Password:"),t?$.createElement("code",null," ****** "):$.createElement(o,null,$.createElement(i,{id:"auth-basic-password",autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),d.valueSeq().map(((e,t)=>$.createElement(a,{error:e,key:t}))))}return"bearer"===u?$.createElement("div",null,$.createElement("h4",null,$.createElement("code",null,n||e.get("name")),"  (http, Bearer)",$.createElement(c,{path:["securityDefinitions",n]})),h&&$.createElement("h6",null,"Authorized"),$.createElement(s,null,$.createElement(l,{source:e.get("description")})),$.createElement(s,null,$.createElement("label",{htmlFor:"auth-bearer-value"},"Value:"),h?$.createElement("code",null," ****** "):$.createElement(o,null,$.createElement(i,{id:"auth-bearer-value",type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),d.valueSeq().map(((e,t)=>$.createElement(a,{error:e,key:t})))):$.createElement("div",null,$.createElement("em",null,$.createElement("b",null,n)," HTTP authentication: unsupported scheme ",`'${u}'`))}}class nL extends $.Component{constructor(...e){super(...e),s(this,"setSelectedServer",(e=>{const{path:t,method:r}=this.props
return this.forceUpdate(),this.props.setSelectedServer(e,`${t}:${r}`)})),s(this,"setServerVariableValue",(e=>{const{path:t,method:r}=this.props
return this.forceUpdate(),this.props.setServerVariableValue({...e,namespace:`${t}:${r}`})})),s(this,"getSelectedServer",(()=>{const{path:e,method:t}=this.props
return this.props.getSelectedServer(`${e}:${t}`)})),s(this,"getServerVariable",((e,t)=>{const{path:r,method:n}=this.props
return this.props.getServerVariable({namespace:`${r}:${n}`,server:e},t)})),s(this,"getEffectiveServerValue",(e=>{const{path:t,method:r}=this.props
return this.props.getEffectiveServerValue({server:e,namespace:`${t}:${r}`})}))}render(){const{operationServers:e,pathServers:t,getComponent:r}=this.props
if(!e&&!t)return null
const n=r("Servers"),i=e||t,s=e?"operation":"path"
return $.createElement("div",{className:"opblock-section operation-servers"},$.createElement("div",{className:"opblock-section-header"},$.createElement("div",{className:"tab-header"},$.createElement("h4",{className:"opblock-title"},"Servers"))),$.createElement("div",{className:"opblock-description-wrapper"},$.createElement("h4",{className:"message"},"These ",s,"-level options override the global server options."),$.createElement(n,{servers:i,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}const iL={Callbacks:({callbacks:e,specPath:t,specSelectors:r,getComponent:n})=>{const i=r.callbacksOperations({callbacks:e,specPath:t}),s=Object.keys(i),o=n("OperationContainer",!0)
return 0===s.length?$.createElement("span",null,"No callbacks"):$.createElement("div",null,s.map((e=>$.createElement("div",{key:`${e}`},$.createElement("h2",null,e),i[e].map((t=>$.createElement(o,{key:`${e}-${t.path}-${t.method}`,op:t.operation,tag:"callbacks",method:t.method,path:t.path,specPath:t.specPath,allowTryItOut:!1})))))))},HttpAuth:rL,RequestBody:({userHasEditedBody:e,requestBody:t,requestBodyValue:r,requestBodyInclusionSetting:n,requestBodyErrors:i,getComponent:s,getConfigs:o,specSelectors:a,fn:l,contentType:c,isExecute:u,specPath:h,onChange:d,onChangeIncludeEmpty:p,activeExamplesKey:f,updateActiveExamplesKey:m,setRetainRequestBodyValueFlag:g})=>{const y=e=>{d(e.target.files[0])},v=e=>{let t={key:e,shouldDispatchInit:!1,defaultValue:!0}
return"no value"===n.get(e,"no value")&&(t.shouldDispatchInit=!0),t},b=s("Markdown",!0),w=s("modelExample"),S=s("RequestBodyEditor"),k=s("HighlightCode",!0),x=s("ExamplesSelectValueRetainer"),E=s("Example"),N=s("ParameterIncludeEmpty"),{showCommonExtensions:_}=o(),C=t?.get("description")??null,A=t?.get("content")??new G.OrderedMap
c=c||A.keySeq().first()||""
const O=A.get(c)??(0,G.OrderedMap)(),P=O.get("schema",(0,G.OrderedMap)()),T=O.get("examples",null),I=T?.map(((e,r)=>{const n=e?.get("value",null)
return n&&(e=e.set("value",GR(t,c,r,l),n)),e}))
if(i=G.List.isList(i)?i:(0,G.List)(),!O.size)return null
const j="object"===O.getIn(["schema","type"]),D="binary"===O.getIn(["schema","format"]),M="base64"===O.getIn(["schema","format"])
if("application/octet-stream"===c||0===c.indexOf("image/")||0===c.indexOf("audio/")||0===c.indexOf("video/")||D||M){const e=s("Input")
return u?$.createElement(e,{type:"file",onChange:y}):$.createElement("i",null,"Example values are not available for ",$.createElement("code",null,c)," media types.")}if(j&&("application/x-www-form-urlencoded"===c||0===c.indexOf("multipart/"))&&P.get("properties",(0,G.OrderedMap)()).size>0){const e=s("JsonSchemaForm"),t=s("ParameterExt"),o=P.get("properties",(0,G.OrderedMap)())
return r=G.Map.isMap(r)?r:(0,G.OrderedMap)(),$.createElement("div",{className:"table-container"},C&&$.createElement(b,{source:C}),$.createElement("table",null,$.createElement("tbody",null,G.Map.isMap(o)&&o.entrySeq().map((([o,a])=>{if(a.get("readOnly"))return
const c=a.get("oneOf")?.get(0)?.toJS(),h=a.get("anyOf")?.get(0)?.toJS()
a=(0,G.fromJS)(l.mergeJsonSchema(a.toJS(),c??h??{}))
let f=_?lt(a):null
const m=P.get("required",(0,G.List)()).includes(o),g=a.get("type"),y=a.get("format"),w=a.get("description"),S=r.getIn([o,"value"]),k=r.getIn([o,"errors"])||i,x=n.get(o)||!1
let E=l.getSampleSchema(a,!1,{includeWriteOnly:!0})
!1===E&&(E="false"),0===E&&(E="0"),"string"!=typeof E&&"object"===g&&(E=ut(E)),"string"==typeof E&&"array"===g&&(E=JSON.parse(E))
const C="string"===g&&("binary"===y||"base64"===y)
return $.createElement("tr",{key:o,className:"parameters","data-property-name":o},$.createElement("td",{className:"parameters-col_name"},$.createElement("div",{className:m?"parameter__name required":"parameter__name"},o,m?$.createElement("span",null," *"):null),$.createElement("div",{className:"parameter__type"},g,y&&$.createElement("span",{className:"prop-format"},"($",y,")"),_&&f.size?f.entrySeq().map((([e,r])=>$.createElement(t,{key:`${e}-${r}`,xKey:e,xVal:r}))):null),$.createElement("div",{className:"parameter__deprecated"},a.get("deprecated")?"deprecated":null)),$.createElement("td",{className:"parameters-col_description"},$.createElement(b,{source:w}),u?$.createElement("div",null,$.createElement(e,{fn:l,dispatchInitialValue:!C,schema:a,description:o,getComponent:s,value:void 0===S?E:S,required:m,errors:k,onChange:e=>{d(e,[o])}}),m?null:$.createElement(N,{onChange:e=>p(o,e),isIncluded:x,isIncludedOptions:v(o),isDisabled:Array.isArray(S)?0!==S.length:!ft(S)})):null))})))))}const B=GR(t,c,f,l)
let R=null
return Rj(B)&&(R="json"),$.createElement("div",null,C&&$.createElement(b,{source:C}),I?$.createElement(x,{userHasEditedBody:e,examples:I,currentKey:f,currentUserInputValue:r,onSelect:e=>{m(e)},updateValue:d,defaultToFirstExample:!0,getComponent:s,setRetainRequestBodyValueFlag:g}):null,u?$.createElement("div",null,$.createElement(S,{value:r,errors:i,defaultValue:B,onChange:d,getComponent:s})):$.createElement(w,{getComponent:s,getConfigs:o,specSelectors:a,expandDepth:1,isExecute:u,schema:O.get("schema"),specPath:h.push("content",c),example:$.createElement(k,{className:"body-param__example",language:R},ut(r)||B),includeWriteOnly:!0}),I?$.createElement(E,{example:I.get(f),getComponent:s,getConfigs:o}):null)},Servers:({servers:e,currentServer:t,setSelectedServer:r,setServerVariableValue:n,getServerVariable:i,getEffectiveServerValue:s})=>{const o=(e.find((e=>e.get("url")===t))||(0,G.OrderedMap)()).get("variables")||(0,G.OrderedMap)(),a=0!==o.size;(0,$.useEffect)((()=>{t||r(e.first()?.get("url"))}),[]),(0,$.useEffect)((()=>{const i=e.find((e=>e.get("url")===t))
i?(i.get("variables")||(0,G.OrderedMap)()).map(((e,r)=>{n({server:t,key:r,val:e.get("default")||""})})):r(e.first().get("url"))}),[t,e])
const l=(0,$.useCallback)((e=>{r(e.target.value)}),[r]),c=(0,$.useCallback)((e=>{const r=e.target.getAttribute("data-variable"),i=e.target.value
n({server:t,key:r,val:i})}),[n,t])
return $.createElement("div",{className:"servers"},$.createElement("label",{htmlFor:"servers"},$.createElement("select",{onChange:l,value:t,id:"servers"},e.valueSeq().map((e=>$.createElement("option",{value:e.get("url"),key:e.get("url")},e.get("url"),e.get("description")&&` - ${e.get("description")}`))).toArray())),a&&$.createElement("div",null,$.createElement("div",{className:"computed-url"},"Computed URL:",$.createElement("code",null,s(t))),$.createElement("h4",null,"Server variables"),$.createElement("table",null,$.createElement("tbody",null,o.entrySeq().map((([e,r])=>$.createElement("tr",{key:e},$.createElement("td",null,e),$.createElement("td",null,r.get("enum")?$.createElement("select",{"data-variable":e,onChange:c},r.get("enum").map((r=>$.createElement("option",{selected:r===i(t,e),key:r,value:r},r)))):$.createElement("input",{type:"text",value:i(t,e)||"",onChange:c,"data-variable":e})))))))))},ServersContainer:QR,RequestBodyEditor:tL,OperationServers:nL,operationLink:XR},sL=new uB("commonmark")
sL.block.ruler.enable(["table"]),sL.set({linkTarget:"_blank"})
const oL=VR((({source:e,className:t="",getConfigs:r=()=>({useUnsafeMarkdown:!1})})=>{if("string"!=typeof e)return null
if(e){const{useUnsafeMarkdown:n}=r(),i=kR(sL.render(e),{useUnsafeMarkdown:n})
let s
return"string"==typeof i&&(s=i.trim()),$.createElement("div",{dangerouslySetInnerHTML:{__html:s},className:Lo()(t,"renderedMarkdown")})}return null})),aL=VR((({Ori:e,...t})=>{const{schema:r,getComponent:n,errSelectors:i,authorized:s,onAuthChange:o,name:a}=t,l=n("HttpAuth")
return"http"===r.get("type")?$.createElement(l,{key:a,schema:r,name:a,errSelectors:i,authorized:s,getComponent:n,onChange:o}):$.createElement(e,t)})),lL=VR(wj)
class cL extends $.Component{render(){let{getConfigs:e,schema:t,Ori:r}=this.props,n=["model-box"],i=null
return!0===t.get("deprecated")&&(n.push("deprecated"),i=$.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),$.createElement("div",{className:n.join(" ")},i,$.createElement(r,Js()({},this.props,{getConfigs:e,depth:1,expandDepth:this.props.expandDepth||0})))}}const uL=VR(cL),hL=VR((({Ori:e,...t})=>{const{schema:r,getComponent:n,errors:i,onChange:s}=t,o=r&&r.get?r.get("format"):null,a=r&&r.get?r.get("type"):null,l=n("Input")
return a&&"string"===a&&o&&("binary"===o||"base64"===o)?$.createElement(l,{type:"file",className:i.length?"invalid":"",title:i.length?i:"",onChange:e=>{s(e.target.files[0])},disabled:e.isDisabled}):$.createElement(e,t)})),dL={Markdown:oL,AuthItem:aL,OpenAPIVersion:function(e){return(t,r)=>n=>"function"==typeof r.specSelectors?.isOAS30?r.specSelectors.isOAS30()?$.createElement(e,Js()({},n,r,{Ori:t})):$.createElement(t,n):(console.warn("OAS30 wrapper: couldn't get spec"),null)}((e=>{const{Ori:t}=e
return $.createElement(t,{oasVersion:"3.0"})})),JsonSchema_string:hL,model:uL,onlineValidatorBadge:lL},pL="oas3_set_servers",fL="oas3_set_request_body_value",mL="oas3_set_request_body_retain_flag",gL="oas3_set_request_body_inclusion",yL="oas3_set_active_examples_member",vL="oas3_set_request_content_type",bL="oas3_set_response_content_type",wL="oas3_set_server_variable_value",SL="oas3_set_request_body_validate_error",kL="oas3_clear_request_body_validate_error",xL="oas3_clear_request_body_value"
function EL(e,t){return{type:pL,payload:{selectedServerUrl:e,namespace:t}}}function NL({value:e,pathMethod:t}){return{type:fL,payload:{value:e,pathMethod:t}}}const _L=({value:e,pathMethod:t})=>({type:mL,payload:{value:e,pathMethod:t}})
function CL({value:e,pathMethod:t,name:r}){return{type:gL,payload:{value:e,pathMethod:t,name:r}}}function AL({name:e,pathMethod:t,contextType:r,contextName:n}){return{type:yL,payload:{name:e,pathMethod:t,contextType:r,contextName:n}}}function OL({value:e,pathMethod:t}){return{type:vL,payload:{value:e,pathMethod:t}}}function PL({value:e,path:t,method:r}){return{type:bL,payload:{value:e,path:t,method:r}}}function TL({server:e,namespace:t,key:r,val:n}){return{type:wL,payload:{server:e,namespace:t,key:r,val:n}}}const IL=({path:e,method:t,validationErrors:r})=>({type:SL,payload:{path:e,method:t,validationErrors:r}}),jL=({path:e,method:t})=>({type:kL,payload:{path:e,method:t}}),DL=({pathMethod:e})=>({type:kL,payload:{path:e[0],method:e[1]}}),ML=({pathMethod:e})=>({type:xL,payload:{pathMethod:e}})
var BL=l(60680),RL=l.n(BL)
const LL=e=>(t,...r)=>n=>{if(n.getSystem().specSelectors.isOAS3()){const i=e(t,...r)
return"function"==typeof i?i(n):i}return null},zL=LL(((e,t)=>{const r=t?[t,"selectedServer"]:["selectedServer"]
return e.getIn(r)||""})),FL=LL(((e,t,r)=>e.getIn(["requestData",t,r,"bodyValue"])||null)),VL=LL(((e,t,r)=>e.getIn(["requestData",t,r,"retainBodyValue"])||!1)),$L=(e,t,r)=>e=>{const{oas3Selectors:n,specSelectors:i,fn:s}=e.getSystem()
if(i.isOAS3()){const e=n.requestContentType(t,r)
if(e)return GR(i.specResolvedSubtree(["paths",t,r,"requestBody"]),e,n.activeExamplesMember(t,r,"requestBody","requestBody"),s)}return null},UL=LL(((e,t,r)=>e=>{const{oas3Selectors:n,specSelectors:i,fn:s}=e
let o=!1
const a=n.requestContentType(t,r)
let l=n.requestBodyValue(t,r)
const c=i.specResolvedSubtree(["paths",t,r,"requestBody"])
if(!c)return!1
if(G.Map.isMap(l)&&(l=ut(l.mapEntries((e=>G.Map.isMap(e[1])?[e[0],e[1].get("value")]:e)).toJS())),G.List.isList(l)&&(l=ut(l)),a){const e=GR(c,a,n.activeExamplesMember(t,r,"requestBody","requestBody"),s)
o=!!l&&l!==e}return o})),HL=LL(((e,t,r)=>e.getIn(["requestData",t,r,"bodyInclusion"])||(0,G.Map)())),qL=LL(((e,t,r)=>e.getIn(["requestData",t,r,"errors"])||null)),WL=LL(((e,t,r,n,i)=>e.getIn(["examples",t,r,n,i,"activeExample"])||null)),KL=LL(((e,t,r)=>e.getIn(["requestData",t,r,"requestContentType"])||null)),ZL=LL(((e,t,r)=>e.getIn(["requestData",t,r,"responseContentType"])||null)),JL=LL(((e,t,r)=>{let n
if("string"!=typeof t){const{server:e,namespace:i}=t
n=i?[i,"serverVariableValues",e,r]:["serverVariableValues",e,r]}else n=["serverVariableValues",t,r]
return e.getIn(n)||null})),GL=LL(((e,t)=>{let r
if("string"!=typeof t){const{server:e,namespace:n}=t
r=n?[n,"serverVariableValues",e]:["serverVariableValues",e]}else r=["serverVariableValues",t]
return e.getIn(r)||(0,G.OrderedMap)()})),YL=LL(((e,t)=>{var r,n
if("string"!=typeof t){const{server:i,namespace:s}=t
n=i,r=s?e.getIn([s,"serverVariableValues",n]):e.getIn(["serverVariableValues",n])}else n=t,r=e.getIn(["serverVariableValues",n])
r=r||(0,G.OrderedMap)()
let i=n
return r.map(((e,t)=>{i=i.replace(new RegExp(`{${RL()(t)}}`,"g"),e)})),i})),XL=(...e)=>t=>{const r=t.getSystem().specSelectors.specJson()
let n=[...e][1]||[]
return!r.getIn(["paths",...n,"requestBody","required"])||((e,t)=>((e,t)=>(t=t||[],!!e.getIn(["requestData",...t,"bodyValue"])))(e,t))(...e)},QL=(e,{oas3RequiredRequestBodyContentType:t,oas3RequestContentType:r,oas3RequestBodyValue:n})=>{let i=[]
if(!G.Map.isMap(n))return i
let s=[]
return Object.keys(t.requestContentType).forEach((e=>{e===r&&t.requestContentType[e].forEach((e=>{s.indexOf(e)<0&&s.push(e)}))})),s.forEach((e=>{n.getIn([e,"value"])||i.push(e)})),i},ez=ol()(["get","put","post","delete","options","head","patch","trace"]),tz={[pL]:(e,{payload:{selectedServerUrl:t,namespace:r}})=>{const n=r?[r,"selectedServer"]:["selectedServer"]
return e.setIn(n,t)},[fL]:(e,{payload:{value:t,pathMethod:r}})=>{let[n,i]=r
if(!G.Map.isMap(t))return e.setIn(["requestData",n,i,"bodyValue"],t)
let s,o=e.getIn(["requestData",n,i,"bodyValue"])||(0,G.Map)()
G.Map.isMap(o)||(o=(0,G.Map)())
const[...a]=t.keys()
return a.forEach((e=>{let r=t.getIn([e])
o.has(e)&&G.Map.isMap(r)||(s=o.setIn([e,"value"],r))})),e.setIn(["requestData",n,i,"bodyValue"],s)},[mL]:(e,{payload:{value:t,pathMethod:r}})=>{let[n,i]=r
return e.setIn(["requestData",n,i,"retainBodyValue"],t)},[gL]:(e,{payload:{value:t,pathMethod:r,name:n}})=>{let[i,s]=r
return e.setIn(["requestData",i,s,"bodyInclusion",n],t)},[yL]:(e,{payload:{name:t,pathMethod:r,contextType:n,contextName:i}})=>{let[s,o]=r
return e.setIn(["examples",s,o,n,i,"activeExample"],t)},[vL]:(e,{payload:{value:t,pathMethod:r}})=>{let[n,i]=r
return e.setIn(["requestData",n,i,"requestContentType"],t)},[bL]:(e,{payload:{value:t,path:r,method:n}})=>e.setIn(["requestData",r,n,"responseContentType"],t),[wL]:(e,{payload:{server:t,namespace:r,key:n,val:i}})=>{const s=r?[r,"serverVariableValues",t,n]:["serverVariableValues",t,n]
return e.setIn(s,i)},[SL]:(e,{payload:{path:t,method:r,validationErrors:n}})=>{let i=[]
if(i.push("Required field is not provided"),n.missingBodyValue)return e.setIn(["requestData",t,r,"errors"],(0,G.fromJS)(i))
if(n.missingRequiredKeys&&n.missingRequiredKeys.length>0){const{missingRequiredKeys:s}=n
return e.updateIn(["requestData",t,r,"bodyValue"],(0,G.fromJS)({}),(e=>s.reduce(((e,t)=>e.setIn([t,"errors"],(0,G.fromJS)(i))),e)))}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),e},[kL]:(e,{payload:{path:t,method:r}})=>{const n=e.getIn(["requestData",t,r,"bodyValue"])
if(!G.Map.isMap(n))return e.setIn(["requestData",t,r,"errors"],(0,G.fromJS)([]))
const[...i]=n.keys()
return i?e.updateIn(["requestData",t,r,"bodyValue"],(0,G.fromJS)({}),(e=>i.reduce(((e,t)=>e.setIn([t,"errors"],(0,G.fromJS)([]))),e))):e},[xL]:(e,{payload:{pathMethod:t}})=>{let[r,n]=t
const i=e.getIn(["requestData",r,n,"bodyValue"])
return i?G.Map.isMap(i)?e.setIn(["requestData",r,n,"bodyValue"],(0,G.Map)()):e.setIn(["requestData",r,n,"bodyValue"],""):e}}
function rz(){return{components:iL,wrapComponents:dL,statePlugins:{spec:{wrapSelectors:R,selectors:z},auth:{wrapSelectors:L},oas3:{actions:{...F},reducers:tz,selectors:{...V}}}}}const nz=({specSelectors:e,getComponent:t})=>{const r=e.selectWebhooksOperations(),n=Object.keys(r),i=t("OperationContainer",!0)
return 0===n.length?null:$.createElement("div",{className:"webhooks"},$.createElement("h2",null,"Webhooks"),n.map((e=>$.createElement("div",{key:`${e}-webhook`},r[e].map((t=>$.createElement(i,{key:`${e}-${t.method}-webhook`,op:t.operation,tag:"webhooks",method:t.method,path:e,specPath:(0,G.List)(t.specPath),allowTryItOut:!1})))))))},iz=({getComponent:e,specSelectors:t})=>{const r=t.selectLicenseNameField(),n=t.selectLicenseUrl(),i=e("Link")
return $.createElement("div",{className:"info__license"},n?$.createElement("div",{className:"info__license__url"},$.createElement(i,{target:"_blank",href:nt(n)},r)):$.createElement("span",null,r))},sz=({getComponent:e,specSelectors:t})=>{const r=t.selectContactNameField(),n=t.selectContactUrl(),i=t.selectContactEmailField(),s=e("Link")
return $.createElement("div",{className:"info__contact"},n&&$.createElement("div",null,$.createElement(s,{href:nt(n),target:"_blank"},r," - Website")),i&&$.createElement(s,{href:nt(`mailto:${i}`)},n?`Send email to ${r}`:`Contact ${r}`))},oz=({getComponent:e,specSelectors:t})=>{const r=t.version(),n=t.url(),i=t.basePath(),s=t.host(),o=t.selectInfoSummaryField(),a=t.selectInfoDescriptionField(),l=t.selectInfoTitleField(),c=t.selectInfoTermsOfServiceUrl(),u=t.selectExternalDocsUrl(),h=t.selectExternalDocsDescriptionField(),d=t.contact(),p=t.license(),f=e("Markdown",!0),m=e("Link"),g=e("VersionStamp"),y=e("OpenAPIVersion"),v=e("InfoUrl"),b=e("InfoBasePath"),w=e("License",!0),S=e("Contact",!0),k=e("JsonSchemaDialect",!0)
return $.createElement("div",{className:"info"},$.createElement("hgroup",{className:"main"},$.createElement("h2",{className:"title"},l,$.createElement("span",null,r&&$.createElement(g,{version:r}),$.createElement(y,{oasVersion:"3.1"}))),(s||i)&&$.createElement(b,{host:s,basePath:i}),n&&$.createElement(v,{getComponent:e,url:n})),o&&$.createElement("p",{className:"info__summary"},o),$.createElement("div",{className:"info__description description"},$.createElement(f,{source:a})),c&&$.createElement("div",{className:"info__tos"},$.createElement(m,{target:"_blank",href:nt(c)},"Terms of service")),d.size>0&&$.createElement(S,null),p.size>0&&$.createElement(w,null),u&&$.createElement(m,{className:"info__extdocs",target:"_blank",href:nt(u)},h||u),$.createElement(k,null))},az=({getComponent:e,specSelectors:t})=>{const r=t.selectJsonSchemaDialectField(),n=t.selectJsonSchemaDialectDefault(),i=e("Link")
return $.createElement($.Fragment,null,r&&r===n&&$.createElement("p",{className:"info__jsonschemadialect"},"JSON Schema dialect:"," ",$.createElement(i,{target:"_blank",href:nt(r)},r)),r&&r!==n&&$.createElement("div",{className:"error-wrapper"},$.createElement("div",{className:"no-margin"},$.createElement("div",{className:"errors"},$.createElement("div",{className:"errors-wrapper"},$.createElement("h4",{className:"center"},"Warning"),$.createElement("p",{className:"message"},$.createElement("strong",null,"OpenAPI.jsonSchemaDialect")," field contains a value different from the default value of"," ",$.createElement(i,{target:"_blank",href:n},n),". Values different from the default one are currently not supported. Please either omit the field or provide it with the default value."))))))},lz=({bypass:e,isSwagger2:t,isOAS3:r,isOAS31:n,alsoShow:i,children:s})=>e?$.createElement("div",null,s):t&&(r||n)?$.createElement("div",{className:"version-pragma"},i,$.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},$.createElement("div",null,$.createElement("h3",null,"Unable to render this definition"),$.createElement("p",null,$.createElement("code",null,"swagger")," and ",$.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),$.createElement("p",null,"Supported version fields are ",$.createElement("code",null,'swagger: "2.0"')," and those that match ",$.createElement("code",null,"openapi: 3.x.y")," (for example,"," ",$.createElement("code",null,"openapi: 3.1.0"),").")))):t||r||n?$.createElement("div",null,s):$.createElement("div",{className:"version-pragma"},i,$.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},$.createElement("div",null,$.createElement("h3",null,"Unable to render this definition"),$.createElement("p",null,"The provided definition does not specify a valid version field."),$.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",$.createElement("code",null,'swagger: "2.0"')," and those that match ",$.createElement("code",null,"openapi: 3.x.y")," (for example,"," ",$.createElement("code",null,"openapi: 3.1.0"),").")))),cz=(0,$.forwardRef)((({schema:e,getComponent:t,onToggle:r=()=>{}},n)=>{const i=t("JSONSchema202012"),s=(e=>"string"==typeof e&&e.includes("#/components/schemas/")?(e=>{const t=e.replace(/~1/g,"/").replace(/~0/g,"~")
try{return decodeURIComponent(t)}catch{return t}})(e.replace(/^.*#\/components\/schemas\//,"")):null)(e.get("$$ref")),o=(0,$.useCallback)(((e,t)=>{r(s,t)}),[s,r])
return $.createElement(i,{name:s,schema:e.toJS(),ref:n,onExpand:o})})),uz=cz,hz=({specActions:e,specSelectors:t,layoutSelectors:r,layoutActions:n,getComponent:i,getConfigs:s,fn:o})=>{const a=t.selectSchemas(),l=Object.keys(a).length>0,c=["components","schemas"],{docExpansion:u,defaultModelsExpandDepth:h}=s(),d=h>0&&"none"!==u,p=r.isShown(c,d),f=i("Collapse"),m=i("JSONSchema202012"),g=i("ArrowUpIcon"),y=i("ArrowDownIcon"),{getTitle:v}=o.jsonSchema202012.useFn();(0,$.useEffect)((()=>{const r=p&&h>1,n=null!=t.specResolvedSubtree(c)
r&&!n&&e.requestResolvedSubtree(c)}),[p,h])
const b=(0,$.useCallback)((()=>{n.show(c,!p)}),[p]),w=(0,$.useCallback)((e=>{null!==e&&n.readyToScroll(c,e)}),[]),S=e=>t=>{null!==t&&n.readyToScroll([...c,e],t)},k=r=>(n,i)=>{if(i){const n=[...c,r]
null!=t.specResolvedSubtree(n)||e.requestResolvedSubtree([...c,r])}}
return!l||h<0?null:$.createElement("section",{className:Lo()("models",{"is-open":p}),ref:w},$.createElement("h4",null,$.createElement("button",{"aria-expanded":p,className:"models-control",onClick:b},$.createElement("span",null,"Schemas"),p?$.createElement(g,null):$.createElement(y,null))),$.createElement(f,{isOpened:p},Object.entries(a).map((([e,t])=>{const r=v(t,{lookup:"basic"})||e
return $.createElement(m,{key:e,ref:S(e),schema:t,name:r,onExpand:k(e)})}))))},dz=({schema:e,getComponent:t})=>{const r=t("JumpToPath",!0)
return $.createElement("div",null,$.createElement("h4",null,e.get("name")," (mutualTLS)"," ",$.createElement(r,{path:["securityDefinitions",e.get("name")]})),$.createElement("p",null,"Mutual TLS is required by this API/Operation. Certificates are managed via your Operating System and/or your browser."),$.createElement("p",null,e.get("description")))}
class pz extends $.Component{constructor(e,t){super(e,t),s(this,"onAuthChange",(e=>{let{name:t}=e
this.setState({[t]:e})})),s(this,"submitAuth",(e=>{e.preventDefault()
let{authActions:t}=this.props
t.authorizeWithPersistOption(this.state)})),s(this,"logoutClick",(e=>{e.preventDefault()
let{authActions:t,definitions:r}=this.props,n=r.map(((e,t)=>t)).toArray()
this.setState(n.reduce(((e,t)=>(e[t]="",e)),{})),t.logoutWithPersistOption(n)})),s(this,"close",(e=>{e.preventDefault()
let{authActions:t}=this.props
t.showDefinitions(!1)})),this.state={}}render(){let{definitions:e,getComponent:t,authSelectors:r,errSelectors:n}=this.props
const i=t("AuthItem"),s=t("oauth2",!0),o=t("Button"),a=r.authorized(),l=e.filter(((e,t)=>!!a.get(t))),c=e.filter((e=>"oauth2"!==e.get("type")&&"mutualTLS"!==e.get("type"))),u=e.filter((e=>"oauth2"===e.get("type"))),h=e.filter((e=>"mutualTLS"===e.get("type")))
return $.createElement("div",{className:"auth-container"},c.size>0&&$.createElement("form",{onSubmit:this.submitAuth},c.map(((e,r)=>$.createElement(i,{key:r,schema:e,name:r,getComponent:t,onAuthChange:this.onAuthChange,authorized:a,errSelectors:n}))).toArray(),$.createElement("div",{className:"auth-btn-wrapper"},c.size===l.size?$.createElement(o,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):$.createElement(o,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),$.createElement(o,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),u.size>0?$.createElement("div",null,$.createElement("div",{className:"scope-def"},$.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),$.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),e.filter((e=>"oauth2"===e.get("type"))).map(((e,t)=>$.createElement("div",{key:t},$.createElement(s,{authorized:a,schema:e,name:t})))).toArray()):null,h.size>0&&$.createElement("div",null,h.map(((e,r)=>$.createElement(i,{key:r,schema:e,name:r,getComponent:t,onAuthChange:this.onAuthChange,authorized:a,errSelectors:n}))).toArray()))}}const fz=pz,mz=e=>{const t=e.get("openapi")
return"string"==typeof t&&/^3\.1\.(?:[1-9]\d*|0)$/.test(t)},gz=e=>(t,...r)=>n=>{if(n.getSystem().specSelectors.isOAS31()){const i=e(t,...r)
return"function"==typeof i?i(n):i}return null},yz=e=>(t,r)=>(n,...i)=>{if(r.getSystem().specSelectors.isOAS31()){const s=e(n,...i)
return"function"==typeof s?s(t,r):s}return t(...i)},vz=e=>(t,...r)=>n=>{const i=e(t,n,...r)
return"function"==typeof i?i(n):i},bz=e=>(t,r)=>n=>r.specSelectors.isOAS31()?$.createElement(e,Js()({},n,{originalComponent:t,getSystem:r.getSystem})):$.createElement(t,n),wz=bz((({getSystem:e})=>{const t=e().getComponent("OAS31License",!0)
return $.createElement(t,null)})),Sz=bz((({getSystem:e})=>{const t=e().getComponent("OAS31Contact",!0)
return $.createElement(t,null)})),kz=bz((({getSystem:e})=>{const t=e().getComponent("OAS31Info",!0)
return $.createElement(t,null)})),xz=bz((({getSystem:e,...t})=>{const r=e(),{getComponent:n,fn:i,getConfigs:s}=r,o=s(),a=n("OAS31Model"),l=n("JSONSchema202012"),c=n("JSONSchema202012Keyword$schema"),u=n("JSONSchema202012Keyword$vocabulary"),h=n("JSONSchema202012Keyword$id"),d=n("JSONSchema202012Keyword$anchor"),p=n("JSONSchema202012Keyword$dynamicAnchor"),f=n("JSONSchema202012Keyword$ref"),m=n("JSONSchema202012Keyword$dynamicRef"),g=n("JSONSchema202012Keyword$defs"),y=n("JSONSchema202012Keyword$comment"),v=n("JSONSchema202012KeywordAllOf"),b=n("JSONSchema202012KeywordAnyOf"),w=n("JSONSchema202012KeywordOneOf"),S=n("JSONSchema202012KeywordNot"),k=n("JSONSchema202012KeywordIf"),x=n("JSONSchema202012KeywordThen"),E=n("JSONSchema202012KeywordElse"),N=n("JSONSchema202012KeywordDependentSchemas"),_=n("JSONSchema202012KeywordPrefixItems"),C=n("JSONSchema202012KeywordItems"),A=n("JSONSchema202012KeywordContains"),O=n("JSONSchema202012KeywordProperties"),P=n("JSONSchema202012KeywordPatternProperties"),T=n("JSONSchema202012KeywordAdditionalProperties"),I=n("JSONSchema202012KeywordPropertyNames"),j=n("JSONSchema202012KeywordUnevaluatedItems"),D=n("JSONSchema202012KeywordUnevaluatedProperties"),M=n("JSONSchema202012KeywordType"),B=n("JSONSchema202012KeywordEnum"),R=n("JSONSchema202012KeywordConst"),L=n("JSONSchema202012KeywordConstraint"),z=n("JSONSchema202012KeywordDependentRequired"),F=n("JSONSchema202012KeywordContentSchema"),V=n("JSONSchema202012KeywordTitle"),U=n("JSONSchema202012KeywordDescription"),H=n("JSONSchema202012KeywordDefault"),q=n("JSONSchema202012KeywordDeprecated"),W=n("JSONSchema202012KeywordReadOnly"),K=n("JSONSchema202012KeywordWriteOnly"),Z=n("JSONSchema202012Accordion"),J=n("JSONSchema202012ExpandDeepButton"),G=n("JSONSchema202012ChevronRightIcon"),Y=n("withJSONSchema202012Context")(a,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:o.defaultModelExpandDepth,includeReadOnly:Boolean(t.includeReadOnly),includeWriteOnly:Boolean(t.includeWriteOnly)},components:{JSONSchema:l,Keyword$schema:c,Keyword$vocabulary:u,Keyword$id:h,Keyword$anchor:d,Keyword$dynamicAnchor:p,Keyword$ref:f,Keyword$dynamicRef:m,Keyword$defs:g,Keyword$comment:y,KeywordAllOf:v,KeywordAnyOf:b,KeywordOneOf:w,KeywordNot:S,KeywordIf:k,KeywordThen:x,KeywordElse:E,KeywordDependentSchemas:N,KeywordPrefixItems:_,KeywordItems:C,KeywordContains:A,KeywordProperties:O,KeywordPatternProperties:P,KeywordAdditionalProperties:T,KeywordPropertyNames:I,KeywordUnevaluatedItems:j,KeywordUnevaluatedProperties:D,KeywordType:M,KeywordEnum:B,KeywordConst:R,KeywordConstraint:L,KeywordDependentRequired:z,KeywordContentSchema:F,KeywordTitle:V,KeywordDescription:U,KeywordDefault:H,KeywordDeprecated:q,KeywordReadOnly:W,KeywordWriteOnly:K,Accordion:Z,ExpandDeepButton:J,ChevronRightIcon:G},fn:{upperFirst:i.upperFirst,isExpandable:i.jsonSchema202012.isExpandable,getProperties:i.jsonSchema202012.getProperties}})
return $.createElement(Y,t)})),Ez=xz,Nz=bz((({getSystem:e})=>{const{getComponent:t,fn:r,getConfigs:n}=e(),i=n()
if(Nz.ModelsWithJSONSchemaContext)return $.createElement(Nz.ModelsWithJSONSchemaContext,null)
const s=t("OAS31Models",!0),o=t("JSONSchema202012"),a=t("JSONSchema202012Keyword$schema"),l=t("JSONSchema202012Keyword$vocabulary"),c=t("JSONSchema202012Keyword$id"),u=t("JSONSchema202012Keyword$anchor"),h=t("JSONSchema202012Keyword$dynamicAnchor"),d=t("JSONSchema202012Keyword$ref"),p=t("JSONSchema202012Keyword$dynamicRef"),f=t("JSONSchema202012Keyword$defs"),m=t("JSONSchema202012Keyword$comment"),g=t("JSONSchema202012KeywordAllOf"),y=t("JSONSchema202012KeywordAnyOf"),v=t("JSONSchema202012KeywordOneOf"),b=t("JSONSchema202012KeywordNot"),w=t("JSONSchema202012KeywordIf"),S=t("JSONSchema202012KeywordThen"),k=t("JSONSchema202012KeywordElse"),x=t("JSONSchema202012KeywordDependentSchemas"),E=t("JSONSchema202012KeywordPrefixItems"),N=t("JSONSchema202012KeywordItems"),_=t("JSONSchema202012KeywordContains"),C=t("JSONSchema202012KeywordProperties"),A=t("JSONSchema202012KeywordPatternProperties"),O=t("JSONSchema202012KeywordAdditionalProperties"),P=t("JSONSchema202012KeywordPropertyNames"),T=t("JSONSchema202012KeywordUnevaluatedItems"),I=t("JSONSchema202012KeywordUnevaluatedProperties"),j=t("JSONSchema202012KeywordType"),D=t("JSONSchema202012KeywordEnum"),M=t("JSONSchema202012KeywordConst"),B=t("JSONSchema202012KeywordConstraint"),R=t("JSONSchema202012KeywordDependentRequired"),L=t("JSONSchema202012KeywordContentSchema"),z=t("JSONSchema202012KeywordTitle"),F=t("JSONSchema202012KeywordDescription"),V=t("JSONSchema202012KeywordDefault"),U=t("JSONSchema202012KeywordDeprecated"),H=t("JSONSchema202012KeywordReadOnly"),q=t("JSONSchema202012KeywordWriteOnly"),W=t("JSONSchema202012Accordion"),K=t("JSONSchema202012ExpandDeepButton"),Z=t("JSONSchema202012ChevronRightIcon"),J=t("withJSONSchema202012Context")
return Nz.ModelsWithJSONSchemaContext=J(s,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:i.defaultModelsExpandDepth-1,includeReadOnly:!0,includeWriteOnly:!0},components:{JSONSchema:o,Keyword$schema:a,Keyword$vocabulary:l,Keyword$id:c,Keyword$anchor:u,Keyword$dynamicAnchor:h,Keyword$ref:d,Keyword$dynamicRef:p,Keyword$defs:f,Keyword$comment:m,KeywordAllOf:g,KeywordAnyOf:y,KeywordOneOf:v,KeywordNot:b,KeywordIf:w,KeywordThen:S,KeywordElse:k,KeywordDependentSchemas:x,KeywordPrefixItems:E,KeywordItems:N,KeywordContains:_,KeywordProperties:C,KeywordPatternProperties:A,KeywordAdditionalProperties:O,KeywordPropertyNames:P,KeywordUnevaluatedItems:T,KeywordUnevaluatedProperties:I,KeywordType:j,KeywordEnum:D,KeywordConst:M,KeywordConstraint:B,KeywordDependentRequired:R,KeywordContentSchema:L,KeywordTitle:z,KeywordDescription:F,KeywordDefault:V,KeywordDeprecated:U,KeywordReadOnly:H,KeywordWriteOnly:q,Accordion:W,ExpandDeepButton:K,ChevronRightIcon:Z},fn:{upperFirst:r.upperFirst,isExpandable:r.jsonSchema202012.isExpandable,getProperties:r.jsonSchema202012.getProperties}}),$.createElement(Nz.ModelsWithJSONSchemaContext,null)}))
Nz.ModelsWithJSONSchemaContext=null
const _z=Nz,Cz=(e,t)=>e=>{const r=t.specSelectors.isOAS31(),n=t.getComponent("OAS31VersionPragmaFilter")
return $.createElement(n,Js()({isOAS31:r},e))},Az=bz((({originalComponent:e,...t})=>{const{getComponent:r,schema:n}=t,i=r("MutualTLSAuth",!0)
return"mutualTLS"===n.get("type")?$.createElement(i,{schema:n}):$.createElement(e,t)})),Oz=Az,Pz=bz((({getSystem:e,...t})=>{const r=e().getComponent("OAS31Auths",!0)
return $.createElement(r,t)})),Tz=(0,G.Map)(),Iz=er(((e,t)=>t.specSelectors.specJson()),mz),jz=()=>e=>{const t=e.specSelectors.specJson().get("webhooks")
return G.Map.isMap(t)?t:Tz},Dz=er([(e,t)=>t.specSelectors.webhooks(),(e,t)=>t.specSelectors.validOperationMethods(),(e,t)=>t.specSelectors.specResolvedSubtree(["webhooks"])],((e,t)=>e.reduce(((e,r,n)=>{if(!G.Map.isMap(r))return e
const i=r.entrySeq().filter((([e])=>t.includes(e))).map((([e,t])=>({operation:(0,G.Map)({operation:t}),method:e,path:n,specPath:["webhooks",n,e]})))
return e.concat(i)}),(0,G.List)()).groupBy((e=>e.path)).map((e=>e.toArray())).toObject())),Mz=()=>e=>{const t=e.specSelectors.info().get("license")
return G.Map.isMap(t)?t:Tz},Bz=()=>e=>e.specSelectors.license().get("name","License"),Rz=()=>e=>e.specSelectors.license().get("url"),Lz=er([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectLicenseUrlField()],((e,t,r)=>{if(r)return Ej(r,e,{selectedServer:t})})),zz=()=>e=>e.specSelectors.license().get("identifier"),Fz=()=>e=>{const t=e.specSelectors.info().get("contact")
return G.Map.isMap(t)?t:Tz},Vz=()=>e=>e.specSelectors.contact().get("name","the developer"),$z=()=>e=>e.specSelectors.contact().get("email"),Uz=()=>e=>e.specSelectors.contact().get("url"),Hz=er([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectContactUrlField()],((e,t,r)=>{if(r)return Ej(r,e,{selectedServer:t})})),qz=()=>e=>e.specSelectors.info().get("title"),Wz=()=>e=>e.specSelectors.info().get("summary"),Kz=()=>e=>e.specSelectors.info().get("description"),Zz=()=>e=>e.specSelectors.info().get("termsOfService"),Jz=er([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectInfoTermsOfServiceField()],((e,t,r)=>{if(r)return Ej(r,e,{selectedServer:t})})),Gz=()=>e=>e.specSelectors.externalDocs().get("description"),Yz=()=>e=>e.specSelectors.externalDocs().get("url"),Xz=er([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectExternalDocsUrlField()],((e,t,r)=>{if(r)return Ej(r,e,{selectedServer:t})})),Qz=()=>e=>e.specSelectors.specJson().get("jsonSchemaDialect"),eF=()=>"https://spec.openapis.org/oas/3.1/dialect/base",tF=er(((e,t)=>t.specSelectors.definitions()),((e,t)=>t.specSelectors.specResolvedSubtree(["components","schemas"])),((e,t)=>G.Map.isMap(e)?G.Map.isMap(t)?Object.entries(e.toJS()).reduce(((e,[r,n])=>{const i=t.get(r)
return e[r]=i?.toJS()||n,e}),{}):e.toJS():{})),rF=(e,t)=>(r,...n)=>t.specSelectors.isOAS31()||e(...n),nF=yz((()=>(e,t)=>t.oas31Selectors.selectLicenseUrl())),iF=yz((()=>(e,t)=>{const r=t.specSelectors.securityDefinitions()
let n=e()
return r?(r.entrySeq().forEach((([e,t])=>{"mutualTLS"===t.get("type")&&(n=n.push(new G.Map({[e]:t})))})),n):n})),sF=er([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectLicenseUrlField(),(e,t)=>t.specSelectors.selectLicenseIdentifierField()],((e,t,r,n)=>r?Ej(r,e,{selectedServer:t}):n?`https://spdx.org/licenses/${n}.html`:void 0)),oF=({schema:e,getSystem:t})=>{const{fn:r}=t(),{hasKeyword:n,stringify:i}=r.jsonSchema202012.useFn()
return n(e,"example")?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--example"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Example"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--const"},i(e.example))):null},aF=({schema:e,getSystem:t})=>{const r=e?.xml||{},{fn:n,getComponent:i}=t(),{useIsExpandedDeeply:s,useComponent:o}=n.jsonSchema202012,a=s(),l=!!(r.name||r.namespace||r.prefix),[c,u]=(0,$.useState)(a),[h,d]=(0,$.useState)(!1),p=o("Accordion"),f=o("ExpandDeepButton"),m=i("JSONSchema202012DeepExpansionContext")(),g=(0,$.useCallback)((()=>{u((e=>!e))}),[]),y=(0,$.useCallback)(((e,t)=>{u(t),d(t)}),[])
return 0===Object.keys(r).length?null:$.createElement(m.Provider,{value:h},$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--xml"},l?$.createElement($.Fragment,null,$.createElement(p,{expanded:c,onChange:g},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML")),$.createElement(f,{expanded:c,onClick:y})):$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML"),!0===r.attribute&&$.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"attribute"),!0===r.wrapped&&$.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"wrapped"),$.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),$.createElement("ul",{className:Lo()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!c})},c&&$.createElement($.Fragment,null,r.name&&$.createElement("li",{className:"json-schema-2020-12-property"},$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"name"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.name))),r.namespace&&$.createElement("li",{className:"json-schema-2020-12-property"},$.createElement("div",{className:"json-schema-2020-12-keyword"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"namespace"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.namespace))),r.prefix&&$.createElement("li",{className:"json-schema-2020-12-property"},$.createElement("div",{className:"json-schema-2020-12-keyword"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"prefix"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.prefix)))))))},lF=({discriminator:e})=>{const t=e?.mapping||{}
return 0===Object.keys(t).length?null:Object.entries(t).map((([e,t])=>$.createElement("div",{key:`${e}-${t}`,className:"json-schema-2020-12-keyword"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},e),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t))))},cF=({schema:e,getSystem:t})=>{const r=e?.discriminator||{},{fn:n,getComponent:i}=t(),{useIsExpandedDeeply:s,useComponent:o}=n.jsonSchema202012,a=s(),l=!!r.mapping,[c,u]=(0,$.useState)(a),[h,d]=(0,$.useState)(!1),p=o("Accordion"),f=o("ExpandDeepButton"),m=i("JSONSchema202012DeepExpansionContext")(),g=(0,$.useCallback)((()=>{u((e=>!e))}),[]),y=(0,$.useCallback)(((e,t)=>{u(t),d(t)}),[])
return 0===Object.keys(r).length?null:$.createElement(m.Provider,{value:h},$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--discriminator"},l?$.createElement($.Fragment,null,$.createElement(p,{expanded:c,onChange:g},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator")),$.createElement(f,{expanded:c,onClick:y})):$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator"),r.propertyName&&$.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},r.propertyName),$.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),$.createElement("ul",{className:Lo()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!c})},c&&$.createElement("li",{className:"json-schema-2020-12-property"},$.createElement(lF,{discriminator:r})))))},uF=({schema:e,getSystem:t})=>{const r=e?.externalDocs||{},{fn:n,getComponent:i}=t(),{useIsExpandedDeeply:s,useComponent:o}=n.jsonSchema202012,a=s(),l=!(!r.description&&!r.url),[c,u]=(0,$.useState)(a),[h,d]=(0,$.useState)(!1),p=o("Accordion"),f=o("ExpandDeepButton"),m=i("JSONSchema202012KeywordDescription"),g=i("Link"),y=i("JSONSchema202012DeepExpansionContext")(),v=(0,$.useCallback)((()=>{u((e=>!e))}),[]),b=(0,$.useCallback)(((e,t)=>{u(t),d(t)}),[])
return 0===Object.keys(r).length?null:$.createElement(y.Provider,{value:h},$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--externalDocs"},l?$.createElement($.Fragment,null,$.createElement(p,{expanded:c,onChange:v},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation")),$.createElement(f,{expanded:c,onClick:b})):$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation"),$.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),$.createElement("ul",{className:Lo()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!c})},c&&$.createElement($.Fragment,null,r.description&&$.createElement("li",{className:"json-schema-2020-12-property"},$.createElement(m,{schema:r,getSystem:t})),r.url&&$.createElement("li",{className:"json-schema-2020-12-property"},$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"url"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},$.createElement(g,{target:"_blank",href:nt(r.url)},r.url))))))))},hF=bz((({schema:e,getSystem:t})=>{if(!e?.description)return null
const{getComponent:r}=t(),n=r("Markdown")
return $.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},$.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},$.createElement(n,{source:e.description})))})),dF=bz((({schema:e,getSystem:t,originalComponent:r})=>{const{getComponent:n}=t(),i=n("JSONSchema202012KeywordDiscriminator"),s=n("JSONSchema202012KeywordXml"),o=n("JSONSchema202012KeywordExample"),a=n("JSONSchema202012KeywordExternalDocs")
return $.createElement($.Fragment,null,$.createElement(r,{schema:e}),$.createElement(i,{schema:e,getSystem:t}),$.createElement(s,{schema:e,getSystem:t}),$.createElement(a,{schema:e,getSystem:t}),$.createElement(o,{schema:e,getSystem:t}))})),pF=dF,fF=bz((({schema:e,getSystem:t})=>{const{fn:r}=t(),{useComponent:n}=r.jsonSchema202012,{getDependentRequired:i,getProperties:s}=r.jsonSchema202012.useFn(),o=r.jsonSchema202012.useConfig(),a=Array.isArray(e?.required)?e.required:[],l=n("JSONSchema"),c=s(e,o)
return 0===Object.keys(c).length?null:$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},$.createElement("ul",null,Object.entries(c).map((([t,r])=>{const n=a.includes(t),s=i(t,e)
return $.createElement("li",{key:t,className:Lo()("json-schema-2020-12-property",{"json-schema-2020-12-property--required":n})},$.createElement(l,{name:t,schema:r,dependentRequired:s}))}))))})),mF=(e,{includeReadOnly:t,includeWriteOnly:r})=>{if(!e?.properties)return{}
const n=Object.entries(e.properties).filter((([,e])=>(!(!0===e?.readOnly)||t)&&(!(!0===e?.writeOnly)||r)))
return Object.fromEntries(n)},gF=function({fn:e,getSystem:t}){if(e.jsonSchema202012){const r=((e,t)=>{const{fn:r}=t()
if("function"!=typeof e)return null
const{hasKeyword:n}=r.jsonSchema202012
return t=>e(t)||n(t,"example")||t?.xml||t?.discriminator||t?.externalDocs})(e.jsonSchema202012.isExpandable,t)
Object.assign(this.fn.jsonSchema202012,{isExpandable:r,getProperties:mF})}if("function"==typeof e.sampleFromSchema&&e.jsonSchema202012){const r=((e,t)=>{const{fn:r,specSelectors:n}=t
return Object.fromEntries(Object.entries(e).map((([e,t])=>{const i=r[e]
return[e,(...e)=>n.isOAS31()?t(...e):"function"==typeof i?i(...e):void 0]})))})({sampleFromSchema:e.jsonSchema202012.sampleFromSchema,sampleFromSchemaGeneric:e.jsonSchema202012.sampleFromSchemaGeneric,createXMLExample:e.jsonSchema202012.createXMLExample,memoizedSampleFromSchema:e.jsonSchema202012.memoizedSampleFromSchema,memoizedCreateXMLExample:e.jsonSchema202012.memoizedCreateXMLExample,getJsonSampleSchema:e.jsonSchema202012.getJsonSampleSchema,getYamlSampleSchema:e.jsonSchema202012.getYamlSampleSchema,getXmlSampleSchema:e.jsonSchema202012.getXmlSampleSchema,getSampleSchema:e.jsonSchema202012.getSampleSchema,mergeJsonSchema:e.jsonSchema202012.mergeJsonSchema},t())
Object.assign(this.fn,r)}},yF=({fn:e})=>{const t=e.createSystemSelector||vz,r=e.createOnlyOAS31Selector||gz
return{afterLoad:gF,fn:{isOAS31:mz,createSystemSelector:vz,createOnlyOAS31Selector:gz},components:{Webhooks:nz,JsonSchemaDialect:az,MutualTLSAuth:dz,OAS31Info:oz,OAS31License:iz,OAS31Contact:sz,OAS31VersionPragmaFilter:lz,OAS31Model:uz,OAS31Models:hz,OAS31Auths:fz,JSONSchema202012KeywordExample:oF,JSONSchema202012KeywordXml:aF,JSONSchema202012KeywordDiscriminator:cF,JSONSchema202012KeywordExternalDocs:uF},wrapComponents:{InfoContainer:kz,License:wz,Contact:Sz,VersionPragmaFilter:Cz,Model:Ez,Models:_z,AuthItem:Oz,auths:Pz,JSONSchema202012KeywordDescription:hF,JSONSchema202012KeywordDefault:pF,JSONSchema202012KeywordProperties:fF},statePlugins:{auth:{wrapSelectors:{definitionsToAuthorize:iF}},spec:{selectors:{isOAS31:t(Iz),license:Mz,selectLicenseNameField:Bz,selectLicenseUrlField:Rz,selectLicenseIdentifierField:r(zz),selectLicenseUrl:t(Lz),contact:Fz,selectContactNameField:Vz,selectContactEmailField:$z,selectContactUrlField:Uz,selectContactUrl:t(Hz),selectInfoTitleField:qz,selectInfoSummaryField:r(Wz),selectInfoDescriptionField:Kz,selectInfoTermsOfServiceField:Zz,selectInfoTermsOfServiceUrl:t(Jz),selectExternalDocsDescriptionField:Gz,selectExternalDocsUrlField:Yz,selectExternalDocsUrl:t(Xz),webhooks:r(jz),selectWebhooksOperations:r(t(Dz)),selectJsonSchemaDialectField:Qz,selectJsonSchemaDialectDefault:eF,selectSchemas:t(tF)},wrapSelectors:{isOAS3:rF,selectLicenseUrl:nF}},oas31:{selectors:{selectLicenseUrl:r(t(sF))}}}}},vF=sa().object,bF=sa().bool,wF=(sa().oneOfType([vF,bF]),(0,$.createContext)(null))
wF.displayName="JSONSchemaContext"
const SF=(0,$.createContext)(0)
SF.displayName="JSONSchemaLevelContext"
const kF=(0,$.createContext)(!1)
kF.displayName="JSONSchemaDeepExpansionContext"
const xF=(0,$.createContext)(new Set),EF=()=>{const{config:e}=(0,$.useContext)(wF)
return e},NF=e=>{const{components:t}=(0,$.useContext)(wF)
return t[e]||null},_F=(e=void 0)=>{const{fn:t}=(0,$.useContext)(wF)
return void 0!==e?t[e]:t},CF=()=>{const e=(0,$.useContext)(SF)
return[e,e+1]},AF=()=>{const[e]=CF(),{defaultExpandedLevels:t}=EF()
return t-e>0},OF=()=>(0,$.useContext)(kF),PF=(e=void 0)=>{if(void 0===e)return(0,$.useContext)(xF)
const t=(0,$.useContext)(xF)
return new Set([...t,e])},TF=(0,$.forwardRef)((({schema:e,name:t="",dependentRequired:r=[],onExpand:n=()=>{}},i)=>{const s=_F(),o=AF(),a=OF(),[l,c]=(0,$.useState)(o||a),[u,h]=(0,$.useState)(a),[d,p]=CF(),f=(()=>{const[e]=CF()
return e>0})(),m=s.isExpandable(e)||r.length>0,g=(e=>PF().has(e))(e),y=PF(e),v=s.stringifyConstraints(e),b=NF("Accordion"),w=NF("Keyword$schema"),S=NF("Keyword$vocabulary"),k=NF("Keyword$id"),x=NF("Keyword$anchor"),E=NF("Keyword$dynamicAnchor"),N=NF("Keyword$ref"),_=NF("Keyword$dynamicRef"),C=NF("Keyword$defs"),A=NF("Keyword$comment"),O=NF("KeywordAllOf"),P=NF("KeywordAnyOf"),T=NF("KeywordOneOf"),I=NF("KeywordNot"),j=NF("KeywordIf"),D=NF("KeywordThen"),M=NF("KeywordElse"),B=NF("KeywordDependentSchemas"),R=NF("KeywordPrefixItems"),L=NF("KeywordItems"),z=NF("KeywordContains"),F=NF("KeywordProperties"),V=NF("KeywordPatternProperties"),U=NF("KeywordAdditionalProperties"),H=NF("KeywordPropertyNames"),q=NF("KeywordUnevaluatedItems"),W=NF("KeywordUnevaluatedProperties"),K=NF("KeywordType"),Z=NF("KeywordEnum"),J=NF("KeywordConst"),G=NF("KeywordConstraint"),Y=NF("KeywordDependentRequired"),X=NF("KeywordContentSchema"),Q=NF("KeywordTitle"),ee=NF("KeywordDescription"),te=NF("KeywordDefault"),re=NF("KeywordDeprecated"),ne=NF("KeywordReadOnly"),ie=NF("KeywordWriteOnly"),se=NF("ExpandDeepButton");(0,$.useEffect)((()=>{h(a)}),[a]),(0,$.useEffect)((()=>{h(u)}),[u])
const oe=(0,$.useCallback)(((e,t)=>{c(t),!t&&h(!1),n(e,t,!1)}),[n]),ae=(0,$.useCallback)(((e,t)=>{c(t),h(t),n(e,t,!0)}),[n])
return $.createElement(SF.Provider,{value:p},$.createElement(kF.Provider,{value:u},$.createElement(xF.Provider,{value:y},$.createElement("article",{ref:i,"data-json-schema-level":d,className:Lo()("json-schema-2020-12",{"json-schema-2020-12--embedded":f,"json-schema-2020-12--circular":g})},$.createElement("div",{className:"json-schema-2020-12-head"},m&&!g?$.createElement($.Fragment,null,$.createElement(b,{expanded:l,onChange:oe},$.createElement(Q,{title:t,schema:e})),$.createElement(se,{expanded:l,onClick:ae})):$.createElement(Q,{title:t,schema:e}),$.createElement(re,{schema:e}),$.createElement(ne,{schema:e}),$.createElement(ie,{schema:e}),$.createElement(K,{schema:e,isCircular:g}),v.length>0&&v.map((e=>$.createElement(G,{key:`${e.scope}-${e.value}`,constraint:e})))),$.createElement("div",{className:Lo()("json-schema-2020-12-body",{"json-schema-2020-12-body--collapsed":!l})},l&&$.createElement($.Fragment,null,$.createElement(ee,{schema:e}),!g&&m&&$.createElement($.Fragment,null,$.createElement(F,{schema:e}),$.createElement(V,{schema:e}),$.createElement(U,{schema:e}),$.createElement(W,{schema:e}),$.createElement(H,{schema:e}),$.createElement(O,{schema:e}),$.createElement(P,{schema:e}),$.createElement(T,{schema:e}),$.createElement(I,{schema:e}),$.createElement(j,{schema:e}),$.createElement(D,{schema:e}),$.createElement(M,{schema:e}),$.createElement(B,{schema:e}),$.createElement(R,{schema:e}),$.createElement(L,{schema:e}),$.createElement(q,{schema:e}),$.createElement(z,{schema:e}),$.createElement(X,{schema:e})),$.createElement(Z,{schema:e}),$.createElement(J,{schema:e}),$.createElement(Y,{schema:e,dependentRequired:r}),$.createElement(te,{schema:e}),$.createElement(w,{schema:e}),$.createElement(S,{schema:e}),$.createElement(k,{schema:e}),$.createElement(x,{schema:e}),$.createElement(E,{schema:e}),$.createElement(N,{schema:e}),!g&&m&&$.createElement(C,{schema:e}),$.createElement(_,{schema:e}),$.createElement(A,{schema:e})))))))})),IF=TF,jF=({schema:e})=>e?.$schema?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$schema"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$schema"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$schema)):null,DF=({schema:e})=>{const t=AF(),r=OF(),[n,i]=(0,$.useState)(t||r),s=NF("Accordion"),o=(0,$.useCallback)((()=>{i((e=>!e))}),[])
return e?.$vocabulary?"object"!=typeof e.$vocabulary?null:$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$vocabulary"},$.createElement(s,{expanded:n,onChange:o},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$vocabulary")),$.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),$.createElement("ul",null,n&&Object.entries(e.$vocabulary).map((([e,t])=>$.createElement("li",{key:e,className:Lo()("json-schema-2020-12-$vocabulary-uri",{"json-schema-2020-12-$vocabulary-uri--disabled":!t})},$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e)))))):null},MF=({schema:e})=>e?.$id?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$id"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$id"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$id)):null,BF=({schema:e})=>e?.$anchor?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$anchor"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$anchor"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$anchor)):null,RF=({schema:e})=>e?.$dynamicAnchor?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicAnchor"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicAnchor"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$dynamicAnchor)):null,LF=({schema:e})=>e?.$ref?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$ref"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$ref"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$ref)):null,zF=({schema:e})=>e?.$dynamicRef?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicRef"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicRef"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$dynamicRef)):null,FF=({schema:e})=>{const t=e?.$defs||{},r=AF(),n=OF(),[i,s]=(0,$.useState)(r||n),[o,a]=(0,$.useState)(!1),l=NF("Accordion"),c=NF("ExpandDeepButton"),u=NF("JSONSchema"),h=(0,$.useCallback)((()=>{s((e=>!e))}),[]),d=(0,$.useCallback)(((e,t)=>{s(t),a(t)}),[])
return 0===Object.keys(t).length?null:$.createElement(kF.Provider,{value:o},$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$defs"},$.createElement(l,{expanded:i,onChange:h},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$defs")),$.createElement(c,{expanded:i,onClick:d}),$.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),$.createElement("ul",{className:Lo()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!i})},i&&$.createElement($.Fragment,null,Object.entries(t).map((([e,t])=>$.createElement("li",{key:e,className:"json-schema-2020-12-property"},$.createElement(u,{name:e,schema:t}))))))))},VF=({schema:e})=>e?.$comment?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$comment"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$comment"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$comment)):null,$F=({schema:e})=>{const t=e?.allOf||[],r=_F(),n=AF(),i=OF(),[s,o]=(0,$.useState)(n||i),[a,l]=(0,$.useState)(!1),c=NF("Accordion"),u=NF("ExpandDeepButton"),h=NF("JSONSchema"),d=NF("KeywordType"),p=(0,$.useCallback)((()=>{o((e=>!e))}),[]),f=(0,$.useCallback)(((e,t)=>{o(t),l(t)}),[])
return Array.isArray(t)&&0!==t.length?$.createElement(kF.Provider,{value:a},$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--allOf"},$.createElement(c,{expanded:s,onChange:p},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"All of")),$.createElement(u,{expanded:s,onClick:f}),$.createElement(d,{schema:{allOf:t}}),$.createElement("ul",{className:Lo()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&$.createElement($.Fragment,null,t.map(((e,t)=>$.createElement("li",{key:`#${t}`,className:"json-schema-2020-12-property"},$.createElement(h,{name:`#${t} ${r.getTitle(e)}`,schema:e})))))))):null},UF=({schema:e})=>{const t=e?.anyOf||[],r=_F(),n=AF(),i=OF(),[s,o]=(0,$.useState)(n||i),[a,l]=(0,$.useState)(!1),c=NF("Accordion"),u=NF("ExpandDeepButton"),h=NF("JSONSchema"),d=NF("KeywordType"),p=(0,$.useCallback)((()=>{o((e=>!e))}),[]),f=(0,$.useCallback)(((e,t)=>{o(t),l(t)}),[])
return Array.isArray(t)&&0!==t.length?$.createElement(kF.Provider,{value:a},$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--anyOf"},$.createElement(c,{expanded:s,onChange:p},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Any of")),$.createElement(u,{expanded:s,onClick:f}),$.createElement(d,{schema:{anyOf:t}}),$.createElement("ul",{className:Lo()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&$.createElement($.Fragment,null,t.map(((e,t)=>$.createElement("li",{key:`#${t}`,className:"json-schema-2020-12-property"},$.createElement(h,{name:`#${t} ${r.getTitle(e)}`,schema:e})))))))):null},HF=({schema:e})=>{const t=e?.oneOf||[],r=_F(),n=AF(),i=OF(),[s,o]=(0,$.useState)(n||i),[a,l]=(0,$.useState)(!1),c=NF("Accordion"),u=NF("ExpandDeepButton"),h=NF("JSONSchema"),d=NF("KeywordType"),p=(0,$.useCallback)((()=>{o((e=>!e))}),[]),f=(0,$.useCallback)(((e,t)=>{o(t),l(t)}),[])
return Array.isArray(t)&&0!==t.length?$.createElement(kF.Provider,{value:a},$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--oneOf"},$.createElement(c,{expanded:s,onChange:p},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"One of")),$.createElement(u,{expanded:s,onClick:f}),$.createElement(d,{schema:{oneOf:t}}),$.createElement("ul",{className:Lo()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&$.createElement($.Fragment,null,t.map(((e,t)=>$.createElement("li",{key:`#${t}`,className:"json-schema-2020-12-property"},$.createElement(h,{name:`#${t} ${r.getTitle(e)}`,schema:e})))))))):null},qF=({schema:e})=>{const t=_F(),r=NF("JSONSchema")
if(!t.hasKeyword(e,"not"))return null
const n=$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Not")
return $.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--not"},$.createElement(r,{name:n,schema:e.not}))},WF=({schema:e})=>{const t=_F(),r=NF("JSONSchema")
if(!t.hasKeyword(e,"if"))return null
const n=$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"If")
return $.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},$.createElement(r,{name:n,schema:e.if}))},KF=({schema:e})=>{const t=_F(),r=NF("JSONSchema")
if(!t.hasKeyword(e,"then"))return null
const n=$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Then")
return $.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--then"},$.createElement(r,{name:n,schema:e.then}))},ZF=({schema:e})=>{const t=_F(),r=NF("JSONSchema")
if(!t.hasKeyword(e,"else"))return null
const n=$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Else")
return $.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},$.createElement(r,{name:n,schema:e.else}))},JF=({schema:e})=>{const t=e?.dependentSchemas||[],r=AF(),n=OF(),[i,s]=(0,$.useState)(r||n),[o,a]=(0,$.useState)(!1),l=NF("Accordion"),c=NF("ExpandDeepButton"),u=NF("JSONSchema"),h=(0,$.useCallback)((()=>{s((e=>!e))}),[]),d=(0,$.useCallback)(((e,t)=>{s(t),a(t)}),[])
return"object"!=typeof t||0===Object.keys(t).length?null:$.createElement(kF.Provider,{value:o},$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentSchemas"},$.createElement(l,{expanded:i,onChange:h},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Dependent schemas")),$.createElement(c,{expanded:i,onClick:d}),$.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),$.createElement("ul",{className:Lo()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!i})},i&&$.createElement($.Fragment,null,Object.entries(t).map((([e,t])=>$.createElement("li",{key:e,className:"json-schema-2020-12-property"},$.createElement(u,{name:e,schema:t}))))))))},GF=({schema:e})=>{const t=e?.prefixItems||[],r=_F(),n=AF(),i=OF(),[s,o]=(0,$.useState)(n||i),[a,l]=(0,$.useState)(!1),c=NF("Accordion"),u=NF("ExpandDeepButton"),h=NF("JSONSchema"),d=NF("KeywordType"),p=(0,$.useCallback)((()=>{o((e=>!e))}),[]),f=(0,$.useCallback)(((e,t)=>{o(t),l(t)}),[])
return Array.isArray(t)&&0!==t.length?$.createElement(kF.Provider,{value:a},$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--prefixItems"},$.createElement(c,{expanded:s,onChange:p},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Prefix items")),$.createElement(u,{expanded:s,onClick:f}),$.createElement(d,{schema:{prefixItems:t}}),$.createElement("ul",{className:Lo()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&$.createElement($.Fragment,null,t.map(((e,t)=>$.createElement("li",{key:`#${t}`,className:"json-schema-2020-12-property"},$.createElement(h,{name:`#${t} ${r.getTitle(e)}`,schema:e})))))))):null},YF=({schema:e})=>{const t=_F(),r=NF("JSONSchema")
if(!t.hasKeyword(e,"items"))return null
const n=$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Items")
return $.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--items"},$.createElement(r,{name:n,schema:e.items}))},XF=({schema:e})=>{const t=_F(),r=NF("JSONSchema")
if(!t.hasKeyword(e,"contains"))return null
const n=$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Contains")
return $.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contains"},$.createElement(r,{name:n,schema:e.contains}))},QF=({schema:e})=>{const t=_F(),r=e?.properties||{},n=Array.isArray(e?.required)?e.required:[],i=NF("JSONSchema")
return 0===Object.keys(r).length?null:$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},$.createElement("ul",null,Object.entries(r).map((([r,s])=>{const o=n.includes(r),a=t.getDependentRequired(r,e)
return $.createElement("li",{key:r,className:Lo()("json-schema-2020-12-property",{"json-schema-2020-12-property--required":o})},$.createElement(i,{name:r,schema:s,dependentRequired:a}))}))))},eV=({schema:e})=>{const t=e?.patternProperties||{},r=NF("JSONSchema")
return 0===Object.keys(t).length?null:$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--patternProperties"},$.createElement("ul",null,Object.entries(t).map((([e,t])=>$.createElement("li",{key:e,className:"json-schema-2020-12-property"},$.createElement(r,{name:e,schema:t}))))))},tV=({schema:e})=>{const t=_F(),{additionalProperties:r}=e,n=NF("JSONSchema")
if(!t.hasKeyword(e,"additionalProperties"))return null
const i=$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Additional properties")
return $.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--additionalProperties"},!0===r?$.createElement($.Fragment,null,i,$.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"allowed")):!1===r?$.createElement($.Fragment,null,i,$.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"forbidden")):$.createElement(n,{name:i,schema:r}))},rV=({schema:e})=>{const t=_F(),{propertyNames:r}=e,n=NF("JSONSchema"),i=$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Property names")
return t.hasKeyword(e,"propertyNames")?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--propertyNames"},$.createElement(n,{name:i,schema:r})):null},nV=({schema:e})=>{const t=_F(),{unevaluatedItems:r}=e,n=NF("JSONSchema")
if(!t.hasKeyword(e,"unevaluatedItems"))return null
const i=$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated items")
return $.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedItems"},$.createElement(n,{name:i,schema:r}))},iV=({schema:e})=>{const t=_F(),{unevaluatedProperties:r}=e,n=NF("JSONSchema")
if(!t.hasKeyword(e,"unevaluatedProperties"))return null
const i=$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated properties")
return $.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedProperties"},$.createElement(n,{name:i,schema:r}))},sV=({schema:e,isCircular:t=!1})=>{const r=_F().getType(e),n=t?" [circular]":""
return $.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},`${r}${n}`)},oV=({schema:e})=>{const t=_F()
return Array.isArray(e?.enum)?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--enum"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Allowed values"),$.createElement("ul",null,e.enum.map((e=>{const r=t.stringify(e)
return $.createElement("li",{key:r},$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--const"},r))})))):null},aV=({schema:e})=>{const t=_F()
return t.hasKeyword(e,"const")?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--const"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Const"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--const"},t.stringify(e.const))):null},lV=$.memo((({constraint:e})=>$.createElement("span",{className:`json-schema-2020-12__constraint json-schema-2020-12__constraint--${e.scope}`},e.value))),cV=({dependentRequired:e})=>0===e.length?null:$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentRequired"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Required when defined"),$.createElement("ul",null,e.map((e=>$.createElement("li",{key:e},$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--warning"},e)))))),uV=({schema:e})=>{const t=_F(),r=NF("JSONSchema")
if(!t.hasKeyword(e,"contentSchema"))return null
const n=$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Content schema")
return $.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contentSchema"},$.createElement(r,{name:n,schema:e.contentSchema}))},hV=({title:e="",schema:t})=>{const r=_F(),n=e||r.getTitle(t)
return n?$.createElement("div",{className:"json-schema-2020-12__title"},n):null},dV=({schema:e})=>e?.description?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},$.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},e.description)):null,pV=({schema:e})=>{const t=_F()
return t.hasKeyword(e,"default")?$.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--default"},$.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Default"),$.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--const"},t.stringify(e.default))):null},fV=({schema:e})=>!0!==e?.deprecated?null:$.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--warning"},"deprecated"),mV=({schema:e})=>!0!==e?.readOnly?null:$.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"read-only"),gV=({schema:e})=>!0!==e?.writeOnly?null:$.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"write-only"),yV=({expanded:e=!1,children:t,onChange:r})=>{const n=NF("ChevronRightIcon"),i=(0,$.useCallback)((t=>{r(t,!e)}),[e,r])
return $.createElement("button",{type:"button",className:"json-schema-2020-12-accordion",onClick:i},$.createElement("div",{className:"json-schema-2020-12-accordion__children"},t),$.createElement("span",{className:Lo()("json-schema-2020-12-accordion__icon",{"json-schema-2020-12-accordion__icon--expanded":e,"json-schema-2020-12-accordion__icon--collapsed":!e})},$.createElement(n,null)))},vV=({expanded:e,onClick:t})=>{const r=(0,$.useCallback)((r=>{t(r,!e)}),[e,t])
return $.createElement("button",{type:"button",className:"json-schema-2020-12-expand-deep-button",onClick:r},e?"Collapse all":"Expand all")},bV=()=>$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},$.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),wV=e=>"string"==typeof e?`${e.charAt(0).toUpperCase()}${e.slice(1)}`:e,SV=(e,{lookup:t="extended"}={})=>{const r=_F()
if(null!=e?.title)return r.upperFirst(String(e.title))
if("extended"===t){if(null!=e?.$anchor)return r.upperFirst(String(e.$anchor))
if(null!=e?.$id)return String(e.$id)}return""},kV=(e,t=new WeakSet)=>{const r=_F()
if(null==e)return"any"
if(r.isBooleanJSONSchema(e))return e?"any":"never"
if("object"!=typeof e)return"any"
if(t.has(e))return"any"
t.add(e)
const{type:n,prefixItems:i,items:s}=e,o=()=>{if(Array.isArray(i)){const e=i.map((e=>kV(e,t))),r=s?kV(s,t):"any"
return`array<[${e.join(", ")}], ${r}>`}return s?`array<${kV(s,t)}>`:"array<any>"}
if(e.not&&"any"===kV(e.not))return"never"
const a=(r,n)=>Array.isArray(e[r])?`(${e[r].map((e=>kV(e,t))).join(n)})`:null,l=[Array.isArray(n)?n.map((e=>"array"===e?o():e)).join(" | "):"array"===n?o():["null","boolean","object","array","number","integer","string"].includes(n)?n:(()=>{if(Object.hasOwn(e,"prefixItems")||Object.hasOwn(e,"items")||Object.hasOwn(e,"contains"))return o()
if(Object.hasOwn(e,"properties")||Object.hasOwn(e,"additionalProperties")||Object.hasOwn(e,"patternProperties"))return"object"
if(["int32","int64"].includes(e.format))return"integer"
if(["float","double"].includes(e.format))return"number"
if(Object.hasOwn(e,"minimum")||Object.hasOwn(e,"maximum")||Object.hasOwn(e,"exclusiveMinimum")||Object.hasOwn(e,"exclusiveMaximum")||Object.hasOwn(e,"multipleOf"))return"number | integer"
if(Object.hasOwn(e,"pattern")||Object.hasOwn(e,"format")||Object.hasOwn(e,"minLength")||Object.hasOwn(e,"maxLength"))return"string"
if(void 0!==e.const){if(null===e.const)return"null"
if("boolean"==typeof e.const)return"boolean"
if("number"==typeof e.const)return Number.isInteger(e.const)?"integer":"number"
if("string"==typeof e.const)return"string"
if(Array.isArray(e.const))return"array<any>"
if("object"==typeof e.const)return"object"}return null})(),a("oneOf"," | "),a("anyOf"," | "),a("allOf"," & ")].filter(Boolean).join(" | ")
return t.delete(e),l||"any"},xV=e=>"boolean"==typeof e,EV=(e,t)=>null!==e&&"object"==typeof e&&Object.hasOwn(e,t),NV=e=>{const t=_F()
return e?.$schema||e?.$vocabulary||e?.$id||e?.$anchor||e?.$dynamicAnchor||e?.$ref||e?.$dynamicRef||e?.$defs||e?.$comment||e?.allOf||e?.anyOf||e?.oneOf||t.hasKeyword(e,"not")||t.hasKeyword(e,"if")||t.hasKeyword(e,"then")||t.hasKeyword(e,"else")||e?.dependentSchemas||e?.prefixItems||t.hasKeyword(e,"items")||t.hasKeyword(e,"contains")||e?.properties||e?.patternProperties||t.hasKeyword(e,"additionalProperties")||t.hasKeyword(e,"propertyNames")||t.hasKeyword(e,"unevaluatedItems")||t.hasKeyword(e,"unevaluatedProperties")||e?.description||e?.enum||t.hasKeyword(e,"const")||t.hasKeyword(e,"contentSchema")||t.hasKeyword(e,"default")},_V=e=>null===e||["number","bigint","boolean"].includes(typeof e)?String(e):Array.isArray(e)?`[${e.map(_V).join(", ")}]`:JSON.stringify(e),CV=(e,t,r)=>{const n="number"==typeof t,i="number"==typeof r
return n&&i?t===r?`${t} ${e}`:`[${t}, ${r}] ${e}`:n?`>= ${t} ${e}`:i?`<= ${r} ${e}`:null},AV=e=>{const t=[],r=(e=>{if("number"!=typeof e?.multipleOf)return null
if(e.multipleOf<=0)return null
if(1===e.multipleOf)return null
const{multipleOf:t}=e
if(Number.isInteger(t))return`multiple of ${t}`
const r=10**t.toString().split(".")[1].length
return`multiple of ${t*r}/${r}`})(e)
null!==r&&t.push({scope:"number",value:r})
const n=(e=>{const t=e?.minimum,r=e?.maximum,n=e?.exclusiveMinimum,i=e?.exclusiveMaximum,s="number"==typeof t,o="number"==typeof r,a="number"==typeof n,l="number"==typeof i,c=a&&(!s||t<n),u=l&&(!o||r>i)
return(s||a)&&(o||l)?`${c?"(":"["}${c?n:t}, ${u?i:r}${u?")":"]"}`:s||a?`${c?">":"≥"} ${c?n:t}`:o||l?`${u?"<":"≤"} ${u?i:r}`:null})(e)
null!==n&&t.push({scope:"number",value:n}),e?.format&&t.push({scope:"string",value:e.format})
const i=CV("characters",e?.minLength,e?.maxLength)
null!==i&&t.push({scope:"string",value:i}),e?.pattern&&t.push({scope:"string",value:`matches ${e?.pattern}`}),e?.contentMediaType&&t.push({scope:"string",value:`media type: ${e.contentMediaType}`}),e?.contentEncoding&&t.push({scope:"string",value:`encoding: ${e.contentEncoding}`})
const s=CV(e?.hasUniqueItems?"unique items":"items",e?.minItems,e?.maxItems)
null!==s&&t.push({scope:"array",value:s})
const o=CV("contained items",e?.minContains,e?.maxContains)
null!==o&&t.push({scope:"array",value:o})
const a=CV("properties",e?.minProperties,e?.maxProperties)
return null!==a&&t.push({scope:"object",value:a}),t},OV=(e,t)=>t?.dependentRequired?Array.from(Object.entries(t.dependentRequired).reduce(((t,[r,n])=>Array.isArray(n)&&n.includes(e)?(t.add(r),t):t),new Set)):[],PV=(e,t={})=>{const r={components:{JSONSchema:IF,Keyword$schema:jF,Keyword$vocabulary:DF,Keyword$id:MF,Keyword$anchor:BF,Keyword$dynamicAnchor:RF,Keyword$ref:LF,Keyword$dynamicRef:zF,Keyword$defs:FF,Keyword$comment:VF,KeywordAllOf:$F,KeywordAnyOf:UF,KeywordOneOf:HF,KeywordNot:qF,KeywordIf:WF,KeywordThen:KF,KeywordElse:ZF,KeywordDependentSchemas:JF,KeywordPrefixItems:GF,KeywordItems:YF,KeywordContains:XF,KeywordProperties:QF,KeywordPatternProperties:eV,KeywordAdditionalProperties:tV,KeywordPropertyNames:rV,KeywordUnevaluatedItems:nV,KeywordUnevaluatedProperties:iV,KeywordType:sV,KeywordEnum:oV,KeywordConst:aV,KeywordConstraint:lV,KeywordDependentRequired:cV,KeywordContentSchema:uV,KeywordTitle:hV,KeywordDescription:dV,KeywordDefault:pV,KeywordDeprecated:fV,KeywordReadOnly:mV,KeywordWriteOnly:gV,Accordion:yV,ExpandDeepButton:vV,ChevronRightIcon:bV,...t.components},config:{default$schema:"https://json-schema.org/draft/2020-12/schema",defaultExpandedLevels:0,...t.config},fn:{upperFirst:wV,getTitle:SV,getType:kV,isBooleanJSONSchema:xV,hasKeyword:EV,isExpandable:NV,stringify:_V,stringifyConstraints:AV,getDependentRequired:OV,...t.fn}},n=t=>$.createElement(wF.Provider,{value:r},$.createElement(e,t))
return n.contexts={JSONSchemaContext:wF},n.displayName=e.displayName,n},TV=()=>({components:{JSONSchema202012:IF,JSONSchema202012Keyword$schema:jF,JSONSchema202012Keyword$vocabulary:DF,JSONSchema202012Keyword$id:MF,JSONSchema202012Keyword$anchor:BF,JSONSchema202012Keyword$dynamicAnchor:RF,JSONSchema202012Keyword$ref:LF,JSONSchema202012Keyword$dynamicRef:zF,JSONSchema202012Keyword$defs:FF,JSONSchema202012Keyword$comment:VF,JSONSchema202012KeywordAllOf:$F,JSONSchema202012KeywordAnyOf:UF,JSONSchema202012KeywordOneOf:HF,JSONSchema202012KeywordNot:qF,JSONSchema202012KeywordIf:WF,JSONSchema202012KeywordThen:KF,JSONSchema202012KeywordElse:ZF,JSONSchema202012KeywordDependentSchemas:JF,JSONSchema202012KeywordPrefixItems:GF,JSONSchema202012KeywordItems:YF,JSONSchema202012KeywordContains:XF,JSONSchema202012KeywordProperties:QF,JSONSchema202012KeywordPatternProperties:eV,JSONSchema202012KeywordAdditionalProperties:tV,JSONSchema202012KeywordPropertyNames:rV,JSONSchema202012KeywordUnevaluatedItems:nV,JSONSchema202012KeywordUnevaluatedProperties:iV,JSONSchema202012KeywordType:sV,JSONSchema202012KeywordEnum:oV,JSONSchema202012KeywordConst:aV,JSONSchema202012KeywordConstraint:lV,JSONSchema202012KeywordDependentRequired:cV,JSONSchema202012KeywordContentSchema:uV,JSONSchema202012KeywordTitle:hV,JSONSchema202012KeywordDescription:dV,JSONSchema202012KeywordDefault:pV,JSONSchema202012KeywordDeprecated:fV,JSONSchema202012KeywordReadOnly:mV,JSONSchema202012KeywordWriteOnly:gV,JSONSchema202012Accordion:yV,JSONSchema202012ExpandDeepButton:vV,JSONSchema202012ChevronRightIcon:bV,withJSONSchema202012Context:PV,JSONSchema202012DeepExpansionContext:()=>kF},fn:{upperFirst:wV,jsonSchema202012:{isExpandable:NV,hasKeyword:EV,useFn:_F,useConfig:EF,useComponent:NF,useIsExpandedDeeply:OF}}})
var IV=l(11331),jV=l.n(IV)
const DV=e=>je()(e),MV=e=>e.at(0),BV=e=>"boolean"==typeof e,RV=e=>jV()(e),LV=e=>BV(e)||RV(e),zV=class{constructor(){s(this,"data",{})}register(e,t){this.data[e]=t}unregister(e){void 0===e?this.data={}:delete this.data[e]}get(e){return this.data[e]}},FV=()=>2**30>>>0,VV=()=>2**53-1,$V=()=>.1,UV=()=>.1,HV=()=>"user@example.com",qV=()=>"실례@example.com",WV=()=>"example.com",KV=()=>"실례.com",ZV=()=>"198.51.100.42",JV=()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",GV=()=>"https://example.com/",YV=()=>"path/index.html",XV=()=>"https://실례.com/",QV=()=>"path/실례.html",e$=()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",t$=()=>"https://example.com/dictionary/{term:1}/{term}",r$=()=>"/a/b/c",n$=()=>"1/0",i$=()=>(new Date).toISOString(),s$=()=>(new Date).toISOString().substring(0,10),o$=()=>(new Date).toISOString().substring(11),a$=()=>"P3D",l$=()=>"********",c$=()=>"^[a-z]+$",u$=new(o=new WeakMap,class extends zV{constructor(...e){super(...e),t(this,o,{int32:FV,int64:VV,float:$V,double:UV,email:HV,"idn-email":qV,hostname:WV,"idn-hostname":KV,ipv4:ZV,ipv6:JV,uri:GV,"uri-reference":YV,iri:XV,"iri-reference":QV,uuid:e$,"uri-template":t$,"json-pointer":r$,"relative-json-pointer":n$,"date-time":i$,date:s$,time:o$,duration:a$,password:l$,regex:c$}),s(this,"data",{...r(o,this)})}get defaults(){return{...r(o,this)}}}),h$=(e,t)=>"function"==typeof t?u$.register(e,t):null===t?u$.unregister(e):u$.get(e)
h$.getDefaults=()=>u$.defaults
const d$=h$
var p$=l(48287).Buffer
const f$=e=>p$.from(e).toString("ascii")
var m$=l(48287).Buffer
const g$=e=>m$.from(e).toString("utf8")
var y$=l(48287).Buffer
const v$=e=>y$.from(e).toString("binary"),b$=e=>{let t=""
for(let r=0;r<e.length;r++){const n=e.charCodeAt(r)
if(61===n)t+="=3D"
else if(n>=33&&n<=60||n>=62&&n<=126||9===n||32===n)t+=e.charAt(r)
else if(13===n||10===n)t+="\r\n"
else if(n>126){const n=unescape(encodeURIComponent(e.charAt(r)))
for(let e=0;e<n.length;e++)t+="="+("0"+n.charCodeAt(e).toString(16)).slice(-2).toUpperCase()}else t+="="+("0"+n.toString(16)).slice(-2).toUpperCase()}return t}
var w$=l(48287).Buffer
const S$=e=>w$.from(e).toString("hex")
var k$=l(48287).Buffer
const x$=e=>{const t=k$.from(e).toString("utf8"),r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"
let n=0,i="",s=0,o=0
for(let a=0;a<t.length;a++)for(s=s<<8|t.charCodeAt(a),o+=8;o>=5;)i+=r.charAt(s>>>o-5&31),o-=5
o>0&&(i+=r.charAt(s<<5-o&31),n=(8-8*t.length%5)%5)
for(let a=0;a<n;a++)i+="="
return i}
var E$=l(48287).Buffer
const N$=e=>E$.from(e).toString("base64")
var _$=l(48287).Buffer
const C$=e=>_$.from(e).toString("base64url"),A$=new(a=new WeakMap,class extends zV{constructor(...e){super(...e),t(this,a,{"7bit":f$,"8bit":g$,binary:v$,"quoted-printable":b$,base16:S$,base32:x$,base64:N$,base64url:C$}),s(this,"data",{...r(a,this)})}get defaults(){return{...r(a,this)}}}),O$=(e,t)=>"function"==typeof t?A$.register(e,t):null===t?A$.unregister(e):A$.get(e)
O$.getDefaults=()=>A$.defaults
const P$=O$,T$={"text/plain":()=>"string","text/css":()=>".selector { border: 1px solid red }","text/csv":()=>"value1,value2,value3","text/html":()=>"<p>content</p>","text/calendar":()=>"BEGIN:VCALENDAR","text/javascript":()=>"console.dir('Hello world!');","text/xml":()=>'<person age="30">John Doe</person>',"text/*":()=>"string"},I$={"image/*":()=>DV(25).toString("binary")},j$={"audio/*":()=>DV(25).toString("binary")},D$={"video/*":()=>DV(25).toString("binary")},M$={"application/json":()=>'{"key":"value"}',"application/ld+json":()=>'{"name": "John Doe"}',"application/x-httpd-php":()=>"<?php echo '<p>Hello World!</p>'; ?>","application/rtf":()=>String.raw`{\rtf1\adeflang1025\ansi\ansicpg1252\uc1`,"application/x-sh":()=>'echo "Hello World!"',"application/xhtml+xml":()=>"<p>content</p>","application/*":()=>DV(25).toString("binary")},B$=new(u=new WeakMap,class extends zV{constructor(...e){super(...e),t(this,u,{...T$,...I$,...j$,...D$,...M$}),s(this,"data",{...r(u,this)})}get defaults(){return{...r(u,this)}}}),R$=(e,t)=>{if("function"==typeof t)return B$.register(e,t)
if(null===t)return B$.unregister(e)
const r=e.split(";").at(0),n=`${r.split("/").at(0)}/*`
return B$.get(e)||B$.get(r)||B$.get(n)}
R$.getDefaults=()=>B$.defaults
const L$=R$,z$=(e,t={})=>{const{maxLength:r,minLength:n}=t
let i=e
if(Number.isInteger(r)&&r>0&&(i=i.slice(0,r)),Number.isInteger(n)&&n>0){let e=0
for(;i.length<n;)i+=i[e++%i.length]}return i},F$=(e,t={})=>{const{minimum:r,maximum:n,exclusiveMinimum:i,exclusiveMaximum:s}=t,{multipleOf:o}=t,a=Number.isInteger(e)?1:Number.EPSILON
let l="number"==typeof r?r:null,c="number"==typeof n?n:null,u=e
if("number"==typeof i&&(l=null!==l?Math.max(l,i+a):i+a),"number"==typeof s&&(c=null!==c?Math.min(c,s-a):s-a),u=l>c&&e||l||c||u,"number"==typeof o&&o>0){const e=u%o
u=0===e?u:u+o-e}return u},V$=new Proxy({array:(e,{sample:t})=>((e,t={})=>{const{minItems:r,maxItems:n,uniqueItems:i}=t,{contains:s,minContains:o,maxContains:a}=t
let l=[...e]
if(null!=s&&"object"==typeof s){if(Number.isInteger(o)&&o>1){const e=l.at(0)
for(let t=1;t<o;t+=1)l.unshift(e)}Number.isInteger(a)}if(Number.isInteger(n)&&n>0&&(l=e.slice(0,n)),Number.isInteger(r)&&r>0)for(let c=0;l.length<r;c+=1)l.push(l[c%l.length])
return!0===i&&(l=Array.from(new Set(l))),l})(t,e),object:()=>{throw new Error("Not implemented")},string:(e,{sample:t}={})=>{const{contentEncoding:r,contentMediaType:n,contentSchema:i}=e,{pattern:s,format:o}=e,a=P$(r)||jT()
let l
return l="string"==typeof s?z$((e=>{try{return new(Da())(e).gen()}catch{return"string"}})(s),e):"string"==typeof o?(e=>{const{format:t}=e,r=d$(t)
return"function"==typeof r?r(e):"string"})(e):LV(i)&&"string"==typeof n&&void 0!==t?Array.isArray(t)||"object"==typeof t?JSON.stringify(t):z$(String(t),e):"string"==typeof n?(e=>{const{contentMediaType:t}=e,r=L$(t)
return"function"==typeof r?r(e):"string"})(e):z$("string",e),a(l)},number:e=>{const{format:t}=e
let r
return r="string"==typeof t?(e=>{const{format:t}=e,r=d$(t)
return"function"==typeof r?r(e):0})(e):0,F$(r,e)},integer:e=>{const{format:t}=e
let r
return r="string"==typeof t?(e=>{const{format:t}=e,r=d$(t)
if("function"==typeof r)return r(e)
switch(t){case"int32":return 2**30>>>0
case"int64":return 2**53-1}return 0})(e):0,F$(r,e)},boolean:e=>"boolean"!=typeof e.default||e.default,null:()=>null},{get:(e,t)=>"string"==typeof t&&Object.hasOwn(e,t)?e[t]:()=>`Unknown Type: ${t}`}),$$=["array","object","number","integer","string","boolean","null"],U$=e=>{if(!RV(e))return!1
const{examples:t,example:r,default:n}=e
return!!(Array.isArray(t)&&t.length>=1)||void 0!==n||void 0!==r},H$=e=>{if(!RV(e))return null
const{examples:t,example:r,default:n}=e
return Array.isArray(t)&&t.length>=1?t.at(0):void 0!==n?n:void 0!==r?r:void 0},q$={array:["items","prefixItems","contains","maxContains","minContains","maxItems","minItems","uniqueItems","unevaluatedItems"],object:["properties","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","required","dependentSchemas","dependentRequired","unevaluatedProperties"],string:["pattern","format","minLength","maxLength","contentEncoding","contentMediaType","contentSchema"],integer:["minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf"]}
q$.number=q$.integer
const W$="string",K$=e=>void 0===e?null:null===e?"null":Array.isArray(e)?"array":Number.isInteger(e)?"integer":typeof e,Z$=e=>{if(Array.isArray(e)&&e.length>=1){if(e.includes("array"))return"array"
if(e.includes("object"))return"object"
{const t=MV(e)
if($$.includes(t))return t}}return $$.includes(e)?e:null},J$=(e,t=new WeakSet)=>{if(!RV(e))return W$
if(t.has(e))return W$
t.add(e)
let{type:r,const:n}=e
if(r=Z$(r),"string"!=typeof r){const t=Object.keys(q$)
e:for(let n=0;n<t.length;n+=1){const i=t[n],s=q$[i]
for(let t=0;t<s.length;t+=1){const n=s[t]
if(Object.hasOwn(e,n)){r=i
break e}}}}if("string"!=typeof r&&void 0!==n){const e=K$(n)
r="string"==typeof e?e:r}if("string"!=typeof r){const n=r=>{if(Array.isArray(e[r])){const n=e[r].map((e=>J$(e,t)))
return Z$(n)}return null},i=n("allOf"),s=n("anyOf"),o=n("oneOf"),a=e.not?J$(e.not,t):null;(i||s||o||a)&&(r=Z$([i,s,o,a].filter(Boolean)))}if("string"!=typeof r&&U$(e)){const t=H$(e),n=K$(t)
r="string"==typeof n?n:r}return t.delete(e),r||W$},G$=e=>J$(e),Y$=e=>BV(e)?(e=>!1===e?{not:{}}:{})(e):RV(e)?e:{},X$=(e,t,r={})=>{if(BV(e)&&!0===e)return!0
if(BV(e)&&!1===e)return!1
if(BV(t)&&!0===t)return!0
if(BV(t)&&!1===t)return!1
if(!LV(e))return t
if(!LV(t))return e
const n={...t,...e}
if(t.type&&e.type&&Array.isArray(t.type)&&"string"==typeof t.type){const r=Ue(t.type).concat(e.type)
n.type=Array.from(new Set(r))}if(Array.isArray(t.required)&&Array.isArray(e.required)&&(n.required=[...new Set([...e.required,...t.required])]),t.properties&&e.properties){const i=new Set([...Object.keys(t.properties),...Object.keys(e.properties)])
n.properties={}
for(const s of i){const i=t.properties[s]||{},o=e.properties[s]||{}
i.readOnly&&!r.includeReadOnly||i.writeOnly&&!r.includeWriteOnly?n.required=(n.required||[]).filter((e=>e!==s)):n.properties[s]=X$(o,i,r)}}return LV(t.items)&&LV(e.items)&&(n.items=X$(e.items,t.items,r)),LV(t.contains)&&LV(e.contains)&&(n.contains=X$(e.contains,t.contains,r)),LV(t.contentSchema)&&LV(e.contentSchema)&&(n.contentSchema=X$(e.contentSchema,t.contentSchema,r)),n},Q$=X$,eU=(e,t={},r=void 0,n=!1)=>{if(null==e&&void 0===r)return
"function"==typeof e?.toJS&&(e=e.toJS()),e=Y$(e)
let i=void 0!==r||U$(e)
const s=!i&&Array.isArray(e.oneOf)&&e.oneOf.length>0,o=!i&&Array.isArray(e.anyOf)&&e.anyOf.length>0
if(!i&&(s||o)){const r=Y$(MV(s?e.oneOf:e.anyOf))
!(e=Q$(e,r,t)).xml&&r.xml&&(e.xml=r.xml),U$(e)&&U$(r)&&(i=!0)}const a={}
let{xml:l,properties:c,additionalProperties:u,items:h,contains:d}=e||{},p=G$(e),{includeReadOnly:f,includeWriteOnly:m}=t
l=l||{}
let g,{name:y,prefix:v,namespace:b}=l,w={}
Object.hasOwn(e,"type")||(e.type=p),n&&(y=y||"notagname",g=(v?`${v}:`:"")+y,b)&&(a[v?`xmlns:${v}`:"xmlns"]=b),n&&(w[g]=[])
const S=Ve(c)
let k,x=0
const E=()=>Number.isInteger(e.maxProperties)&&e.maxProperties>0&&x>=e.maxProperties,N=t=>!(Number.isInteger(e.maxProperties)&&e.maxProperties>0)||!E()&&(!(t=>!Array.isArray(e.required)||0===e.required.length||!e.required.includes(t))(t)||e.maxProperties-x-(()=>{if(!Array.isArray(e.required)||0===e.required.length)return 0
let t=0
return n?e.required.forEach((e=>t+=void 0===w[e]?0:1)):e.required.forEach((e=>{t+=void 0===w[g]?.find((t=>void 0!==t[e]))?0:1})),e.required.length-t})()>0)
if(k=n?(r,i=void 0)=>{if(e&&S[r]){if(S[r].xml=S[r].xml||{},S[r].xml.attribute){const e=Array.isArray(S[r].enum)?MV(S[r].enum):void 0
if(U$(S[r]))a[S[r].xml.name||r]=H$(S[r])
else if(void 0!==e)a[S[r].xml.name||r]=e
else{const e=Y$(S[r]),t=G$(e),n=S[r].xml.name||r
a[n]=V$[t](e)}return}S[r].xml.name=S[r].xml.name||r}else S[r]||!1===u||(S[r]={xml:{name:r}})
let s=eU(S[r],t,i,n)
N(r)&&(x++,Array.isArray(s)?w[g]=w[g].concat(s):w[g].push(s))}:(r,i)=>{if(N(r)){if(jV()(e.discriminator?.mapping)&&e.discriminator.propertyName===r&&"string"==typeof e.$$ref){for(const t in e.discriminator.mapping)if(-1!==e.$$ref.search(e.discriminator.mapping[t])){w[r]=t
break}}else w[r]=eU(S[r],t,i,n)
x++}},i){let i
if(i=void 0!==r?r:H$(e),!n){if("number"==typeof i&&"string"===p)return`${i}`
if("string"!=typeof i||"string"===p)return i
try{return JSON.parse(i)}catch{return i}}if("array"===p){if(!Array.isArray(i)){if("string"==typeof i)return i
i=[i]}let r=[]
return RV(h)&&(h.xml=h.xml||l||{},h.xml.name=h.xml.name||l.name,r=i.map((e=>eU(h,t,e,n)))),RV(d)&&(d.xml=d.xml||l||{},d.xml.name=d.xml.name||l.name,r=[eU(d,t,void 0,n),...r]),r=V$.array(e,{sample:r}),l.wrapped?(w[g]=r,Ba()(a)||w[g].push({_attr:a})):w=r,w}if("object"===p){if("string"==typeof i)return i
for(const e in i)Object.hasOwn(i,e)&&(S[e]?.readOnly&&!f||S[e]?.writeOnly&&!m||(S[e]?.xml?.attribute?a[S[e].xml.name||e]=i[e]:k(e,i[e])))
return Ba()(a)||w[g].push({_attr:a}),w}return w[g]=Ba()(a)?i:[{_attr:a},i],w}if("array"===p){let r=[]
if(RV(d))if(n&&(d.xml=d.xml||e.xml||{},d.xml.name=d.xml.name||l.name),Array.isArray(d.anyOf)){const{anyOf:e,...i}=h
r.push(...d.anyOf.map((e=>eU(Q$(e,i,t),t,void 0,n))))}else if(Array.isArray(d.oneOf)){const{oneOf:e,...i}=h
r.push(...d.oneOf.map((e=>eU(Q$(e,i,t),t,void 0,n))))}else{if(!(!n||n&&l.wrapped))return eU(d,t,void 0,n)
r.push(eU(d,t,void 0,n))}if(RV(h))if(n&&(h.xml=h.xml||e.xml||{},h.xml.name=h.xml.name||l.name),Array.isArray(h.anyOf)){const{anyOf:e,...i}=h
r.push(...h.anyOf.map((e=>eU(Q$(e,i,t),t,void 0,n))))}else if(Array.isArray(h.oneOf)){const{oneOf:e,...i}=h
r.push(...h.oneOf.map((e=>eU(Q$(e,i,t),t,void 0,n))))}else{if(!(!n||n&&l.wrapped))return eU(h,t,void 0,n)
r.push(eU(h,t,void 0,n))}return r=V$.array(e,{sample:r}),n&&l.wrapped?(w[g]=r,Ba()(a)||w[g].push({_attr:a}),w):r}if("object"===p){for(let e in S)Object.hasOwn(S,e)&&(S[e]?.deprecated||S[e]?.readOnly&&!f||S[e]?.writeOnly&&!m||k(e))
if(n&&a&&w[g].push({_attr:a}),E())return w
if(BV(u)&&u)n?w[g].push({additionalProp:"Anything can be here"}):w.additionalProp1={},x++
else if(RV(u)){const r=u,i=eU(r,t,void 0,n)
if(n&&"string"==typeof r?.xml?.name&&"notagname"!==r?.xml?.name)w[g].push(i)
else{const t=Number.isInteger(e.minProperties)&&e.minProperties>0&&x<e.minProperties?e.minProperties-x:3
for(let e=1;e<=t;e++){if(E())return w
if(n){const t={}
t["additionalProp"+e]=i.notagname,w[g].push(t)}else w["additionalProp"+e]=i
x++}}}return w}let _
if(void 0!==e.const)_=e.const
else if(e&&Array.isArray(e.enum))_=MV(Ue(e.enum))
else{const r=RV(e.contentSchema)?eU(e.contentSchema,t,void 0,n):void 0
_=V$[p](e,{sample:r})}return n?(w[g]=Ba()(a)?_:[{_attr:a},_],w):_},tU=(e,t,r)=>{const n=eU(e,t,r,!0)
if(n)return"string"==typeof n?n:Ia()(n,{declaration:!0,indent:"\t"})},rU=(e,t,r)=>eU(e,t,r,!1),nU=(e,t,r)=>[e,JSON.stringify(t),JSON.stringify(r)],iU=Fa(tU,nU),sU=Fa(rU,nU),oU=new(h=new WeakMap,class extends zV{constructor(...e){super(...e),t(this,h,{}),s(this,"data",{...r(h,this)})}get defaults(){return{...r(h,this)}}}),aU=(e,t)=>(void 0!==t&&oU.register(e,t),oU.get(e)),lU=[{when:/json/,shouldStringifyTypes:["string"]}],cU=["object"],uU=({getSystem:e})=>{const t=(e=>(t,r,n,i)=>{const{fn:s}=e(),o=s.jsonSchema202012.memoizedSampleFromSchema(t,r,i),a=typeof o,l=lU.reduce(((e,t)=>t.when.test(n)?[...e,...t.shouldStringifyTypes]:e),cU)
return Ne()(l,(e=>e===a))?JSON.stringify(o,null,2):o})(e),r=(e=>(t,r,n,i)=>{const{fn:s}=e(),o=s.jsonSchema202012.getJsonSampleSchema(t,r,n,i)
let a
try{a=ds.dump(ds.load(o),{lineWidth:-1},{schema:is}),"\n"===a[a.length-1]&&(a=a.slice(0,a.length-1))}catch(e){return console.error(e),"error: could not generate yaml example"}return a.replace(/\t/g,"  ")})(e),n=(e=>(t,r,n)=>{const{fn:i}=e()
if(t&&!t.xml&&(t.xml={}),t&&!t.xml.name){if(!t.$$ref&&(t.type||t.items||t.properties||t.additionalProperties))return'<?xml version="1.0" encoding="UTF-8"?>\n\x3c!-- XML example cannot be generated; root element name is undefined --\x3e'
if(t.$$ref){let e=t.$$ref.match(/\S*\/(\S+)$/)
t.xml.name=e[1]}}return i.jsonSchema202012.memoizedCreateXMLExample(t,r,n)})(e),i=(e=>(t,r="",n={},i=void 0)=>{const{fn:s}=e()
return"function"==typeof t?.toJS&&(t=t.toJS()),"function"==typeof i?.toJS&&(i=i.toJS()),/xml/.test(r)?s.jsonSchema202012.getXmlSampleSchema(t,n,i):/(yaml|yml)/.test(r)?s.jsonSchema202012.getYamlSampleSchema(t,n,r,i):s.jsonSchema202012.getJsonSampleSchema(t,n,r,i)})(e)
return{fn:{jsonSchema202012:{sampleFromSchema:rU,sampleFromSchemaGeneric:eU,sampleOptionAPI:aU,sampleEncoderAPI:P$,sampleFormatAPI:d$,sampleMediaTypeAPI:L$,createXMLExample:tU,memoizedSampleFromSchema:sU,memoizedCreateXMLExample:iU,getJsonSampleSchema:t,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:i,mergeJsonSchema:Q$}}}}
function hU(){return[_R,rz,TV,uU,yF]}const dU=Object.freeze({dom_id:null,domNode:null,spec:{},url:"",urls:null,configUrl:null,layout:"BaseLayout",docExpansion:"list",maxDisplayedTags:-1,filter:!1,validatorUrl:"https://validator.swagger.io/validator",oauth2RedirectUrl:void 0,persistAuthorization:!1,configs:{},displayOperationId:!1,displayRequestDuration:!1,deepLinking:!1,tryItOutEnabled:!1,requestInterceptor:e=>(e.curlOptions=[],e),responseInterceptor:e=>e,showMutatedRequest:!0,defaultModelRendering:"example",defaultModelExpandDepth:1,defaultModelsExpandDepth:1,showExtensions:!1,showCommonExtensions:!1,withCredentials:!1,requestSnippetsEnabled:!1,requestSnippets:{generators:{curl_bash:{title:"cURL (bash)",syntax:"bash"},curl_powershell:{title:"cURL (PowerShell)",syntax:"powershell"},curl_cmd:{title:"cURL (CMD)",syntax:"bash"}},defaultExpanded:!0,languages:null},supportedSubmitMethods:["get","put","post","delete","options","head","patch","trace"],queryConfigEnabled:!1,presets:[hU],plugins:[],initialState:{},fn:{},components:{},syntaxHighlight:{activated:!0,theme:"agate"},operationsSorter:null,tagsSorter:null,onComplete:null,modelPropertyMacro:null,parameterMacro:null})
var pU=l(61448),fU=l.n(pU),mU=l(77731),gU=l.n(mU)
const yU=(e,t=[])=>Array.isArray(e)?e:t,vU=(e,t=!1)=>!0===e||"true"===e||1===e||"1"===e||!1!==e&&"false"!==e&&0!==e&&"0"!==e&&t,bU=(e,t)=>"function"==typeof e?e:t,wU=e=>"function"==typeof e?e:null,SU=e=>null===e||"null"===e?null:String(e),kU=(e,t=-1)=>{const r=parseInt(e,10)
return Number.isNaN(r)?t:r},xU=(e,t={})=>jV()(e)?e:t,EU=e=>"function"==typeof e||"string"==typeof e?e:null,NU=e=>String(e),_U={components:{typeCaster:xU},configs:{typeCaster:xU},configUrl:{typeCaster:SU},deepLinking:{typeCaster:vU,defaultValue:dU.deepLinking},defaultModelExpandDepth:{typeCaster:kU,defaultValue:dU.defaultModelExpandDepth},defaultModelRendering:{typeCaster:NU},defaultModelsExpandDepth:{typeCaster:kU,defaultValue:dU.defaultModelsExpandDepth},displayOperationId:{typeCaster:vU,defaultValue:dU.displayOperationId},displayRequestDuration:{typeCaster:vU,defaultValue:dU.displayRequestDuration},docExpansion:{typeCaster:NU},dom_id:{typeCaster:SU},domNode:{typeCaster:e=>null===e||"null"===e?null:e},filter:{typeCaster:e=>{const t=String(e)
return vU(e,t)}},fn:{typeCaster:xU},initialState:{typeCaster:xU},layout:{typeCaster:NU},maxDisplayedTags:{typeCaster:kU,defaultValue:dU.maxDisplayedTags},modelPropertyMacro:{typeCaster:wU},oauth2RedirectUrl:{typeCaster:e=>void 0===e||"undefined"===e?void 0:String(e)},onComplete:{typeCaster:wU},operationsSorter:{typeCaster:EU},paramaterMacro:{typeCaster:wU},persistAuthorization:{typeCaster:vU,defaultValue:dU.persistAuthorization},plugins:{typeCaster:yU,defaultValue:dU.plugins},presets:{typeCaster:yU,defaultValue:dU.presets},requestInterceptor:{typeCaster:bU,defaultValue:dU.requestInterceptor},requestSnippets:{typeCaster:xU,defaultValue:dU.requestSnippets},requestSnippetsEnabled:{typeCaster:vU,defaultValue:dU.requestSnippetsEnabled},responseInterceptor:{typeCaster:bU,defaultValue:dU.responseInterceptor},showCommonExtensions:{typeCaster:vU,defaultValue:dU.showCommonExtensions},showExtensions:{typeCaster:vU,defaultValue:dU.showExtensions},showMutatedRequest:{typeCaster:vU,defaultValue:dU.showMutatedRequest},spec:{typeCaster:xU,defaultValue:dU.spec},supportedSubmitMethods:{typeCaster:yU,defaultValue:dU.supportedSubmitMethods},syntaxHighlight:{typeCaster:(e,t)=>jV()(e)?e:!1===e||"false"===e||0===e||"0"===e?{activated:!1}:t,defaultValue:dU.syntaxHighlight},"syntaxHighlight.activated":{typeCaster:vU,defaultValue:dU.syntaxHighlight.activated},"syntaxHighlight.theme":{typeCaster:NU},tagsSorter:{typeCaster:EU},tryItOutEnabled:{typeCaster:vU,defaultValue:dU.tryItOutEnabled},url:{typeCaster:NU},urls:{typeCaster:e=>Array.isArray(e)?e:null},"urls.primaryName":{typeCaster:NU},validatorUrl:{typeCaster:SU},withCredentials:{typeCaster:vU,defaultValue:dU.withCredentials}},CU=e=>Object.entries(_U).reduce(((e,[t,{typeCaster:r,defaultValue:n}])=>{if(fU()(e,t)){const i=r(Ls()(e,t),n)
e=gU()(t,i,e)}return e}),{...e})
function AU(e){const t=(e=>{const t=e.queryConfigEnabled?(()=>{const e=new URLSearchParams(ve.location.search)
return Object.fromEntries(e)})():{}
return Object.entries(t).reduce(((e,[t,r])=>("config"===t?e.configUrl=r:"urls.primaryName"===t?e[t]=r:e=wc()(e,t,r),e)),{})})(e),r=(()=>{const e={}
return globalThis.location&&(e.oauth2RedirectUrl=`${globalThis.location.protocol}//${globalThis.location.host}${globalThis.location.pathname.substring(0,globalThis.location.pathname.lastIndexOf("/"))}/oauth2-redirect.html`),e})(),n=AU.config.merge({},AU.config.defaults,r,e,t),i=(e=>{const t=Q()({layout:{layout:e.layout,filter:e.filter},spec:{spec:"",url:e.url},requestSnippets:e.requestSnippets},e.initialState)
if(e.initialState)for(const[r,n]of Object.entries(e.initialState))void 0===n&&delete t[r]
return{system:{configs:e.configs},plugins:e.presets,state:t}})(n),s=(e=>()=>({fn:e.fn,components:e.components}))(n),o=new gt(i)
o.register([n.plugins,s])
const a=o.getSystem(),l=e=>{o.setConfigs(e),a.configsActions.loaded()},c=e=>{!t.url&&"object"==typeof e.spec&&Object.keys(e.spec).length>0?(a.specActions.updateUrl(""),a.specActions.updateLoadingStatus("success"),a.specActions.updateSpec(JSON.stringify(e.spec))):"function"==typeof a.specActions.download&&e.url&&!e.urls&&(a.specActions.updateUrl(e.url),a.specActions.download(e.url))},u=e=>{if(e.domNode)a.render(e.domNode,"App")
else if(e.dom_id){const t=document.querySelector(e.dom_id)
a.render(t,"App")}else null===e.dom_id||null===e.domNode||console.error("Skipped rendering: no `dom_id` or `domNode` was specified")}
return n.configUrl?((async()=>{const{configUrl:e}=n,r=await(({url:e,system:t})=>async r=>{if(!e)return{}
if("function"!=typeof t.configsActions?.getConfigByUrl)return{}
const n=(()=>{const e={}
return e.promise=new Promise(((t,r)=>{e.resolve=t,e.reject=r})),e})()
return t.configsActions.getConfigByUrl({url:e,loadRemoteConfig:!0,requestInterceptor:r.requestInterceptor,responseInterceptor:r.responseInterceptor},(e=>{n.resolve(e)})),n.promise})({url:e,system:a})(n),i=AU.config.merge({},n,r,t)
l(i),null!==r&&c(i),u(i)})(),a):(l(n),c(n),u(n),a)}AU.System=gt,AU.config={defaults:dU,merge:(e,...t)=>{let r=Symbol.for("domNode"),n=Symbol.for("primaryName")
const i=[]
for(const o of t){const e={...o}
Object.hasOwn(e,"domNode")&&(r=e.domNode,delete e.domNode),Object.hasOwn(e,"urls.primaryName")?(n=e["urls.primaryName"],delete e["urls.primaryName"]):Array.isArray(e.urls)&&Object.hasOwn(e.urls,"primaryName")&&(n=e.urls.primaryName,delete e.urls.primaryName),i.push(e)}const s=Q()(e,...i)
return r!==Symbol.for("domNode")&&(s.domNode=r),n!==Symbol.for("primaryName")&&Array.isArray(s.urls)&&(s.urls.primaryName=n),CU(s)},typeCast:CU,typeCastMappings:_U},AU.presets={base:_R,apis:hU},AU.plugins={Auth:wr,Configs:ks,DeepLining:js,Err:qs,Filter:Ks,Icons:no,JSONSchema5:Pa,JSONSchema5Samples:il,JSONSchema202012:TV,JSONSchema202012Samples:uU,Layout:wo,Logs:So,OpenAPI30:rz,OpenAPI31:rz,OnComplete:xo,RequestSnippets:Uo,Spec:wu,SwaggerClient:DP,Util:MP,View:$T,ViewLegacy:UT,DownloadUrl:HT,SyntaxHighlighting:UI,Versions:qI,SafeRender:QI}
const OU=AU})(),c.default})(),e.exports=o()},1726:(e,t,r)=>{"use strict"
function n(e,t){return n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(e,t)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
return e}function s(e){return"string"==typeof e}function o(e){return void 0===e}function a(e,t){t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}))}function l(e,t,r){return void 0===e&&(e=""),o(t)||o(t[e])?r?r+"-"+e:e:!1===t[e]?"":t[e]}function c(e,t){t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}))}function u(e,t,r){r.forEach((function(r){-1===t.indexOf(r)&&e.classList.contains(r)&&c(e,r)})),t.forEach((function(t){e.classList.contains(t)||a(e,t)}))}r.r(t),r.d(t,{default:()=>K})
var h=[]
function d(e){h.push(e)}function p(){for(var e;e=h.pop();)e()}var f=null
function m(e){void 0===e&&(e={})
var t=[]
return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])})),e}function g(){if(f)return f
var e=document.createElement("div")
e.style.width="100%",e.style.height="200px"
var t=document.createElement("div")
m(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t)
var r=e.offsetWidth
t.style.overflow="scroll"
var n=e.offsetWidth
r===n&&(n=t.clientWidth),document.body.removeChild(t)
var i=r-n
return f={width:i,height:i}}var y,v=(y=0,function(){return++y}),b={},w=null
function S(e,t){var r
t===document?(r=document,t=document.documentElement):r=t.ownerDocument
var n=r.documentElement,i=k(t),s=function(e){var t=w
t&&e.contains(t)||((t=document.createElement("div")).setAttribute("data-tether-id",v()),m(t.style,{top:0,left:0,position:"absolute"}),e.appendChild(t),w=t)
var r=t.getAttribute("data-tether-id")
return o(b[r])&&(b[r]=k(t),d((function(){delete b[r]}))),b[r]}(e)
return i.top-=s.top,i.left-=s.left,o(i.width)&&(i.width=document.body.scrollWidth-i.left-i.right),o(i.height)&&(i.height=document.body.scrollHeight-i.top-i.bottom),i.top=i.top-n.clientTop,i.left=i.left-n.clientLeft,i.right=r.body.clientWidth-i.width-i.left,i.bottom=r.body.clientHeight-i.height-i.top,i}function k(e){var t=e.getBoundingClientRect(),r={}
for(var n in t)r[n]=t[n]
try{if(e.ownerDocument!==document){var i=e.ownerDocument.defaultView.frameElement
if(i){var s=k(i)
r.top+=s.top,r.bottom+=s.top,r.left+=s.left,r.right+=s.left}}}catch(e){}return r}var x={position:function(e){var t=this,r=e.top,n=e.left,i=this.cache("element-bounds",(function(){return S(t.element)})),s=i.height,o=i.width,a=this.getTargetBounds(),c=r+s,h=n+o,p=[]
r<=a.bottom&&c>=a.top&&["left","right"].forEach((function(e){var t=a[e]
t!==n&&t!==h||p.push(e)})),n<=a.right&&h>=a.left&&["top","bottom"].forEach((function(e){var t=a[e]
t!==r&&t!==c||p.push(e)}))
var f=this.options,m=f.classes,g=f.classPrefix
return this.all.push(l("abutted",m,g)),["left","top","right","bottom"].forEach((function(e){t.all.push(l("abutted",m,g)+"-"+e)})),p.length&&this.add.push(l("abutted",m,g)),p.forEach((function(e){t.add.push(l("abutted",m,g)+"-"+e)})),d((function(){!1!==t.options.addTargetClasses&&u(t.target,t.add,t.all),u(t.element,t.add,t.all)})),!0}},E=["left","top","right","bottom"],N={position:function(e){var t=this,r=e.top,n=e.left,i=e.targetAttachment
if(!this.options.constraints)return!0
var a=this.cache("element-bounds",(function(){return S(t.bodyElement,t.element)})),c=a.height,h=a.width
if(0===h&&0===c&&!o(this.lastSize)){var p=this.lastSize
h=p.width,c=p.height}var f=this.cache("target-bounds",(function(){return t.getTargetBounds()})),g=f.height,y=f.width,v=this.options,b=v.classes,w=v.classPrefix,k=function(e,t,r){var n=[l("pinned",e,t),l("out-of-bounds",e,t)]
return r.forEach((function(e){var t=e.outOfBoundsClass,r=e.pinnedClass
t&&n.push(t),r&&n.push(r)})),n.forEach((function(e){["left","top","right","bottom"].forEach((function(t){n.push(e+"-"+t)}))})),n}(b,w,this.options.constraints),x=[],N=m({},i),_=m({},this.attachment)
return this.options.constraints.forEach((function(e){var a,u,d=e.to,p=e.attachment,f=e.pin
if(o(p)&&(p=""),p.indexOf(" ")>=0){var m=p.split(" ")
u=m[0],a=m[1]}else a=u=p
var v=function(e,t,r){if(!r)return null
if("scrollParent"===r?r=t.scrollParents[0]:"window"===r&&(r=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),r===document&&(r=r.documentElement),!o(r.nodeType)){var n=r,i=S(e,r),s=i,a=getComputedStyle(r)
if(r=[s.left,s.top,i.width+s.left,i.height+s.top],n.ownerDocument!==document){var l=n.ownerDocument.defaultView
r[0]+=l.pageXOffset,r[1]+=l.pageYOffset,r[2]+=l.pageXOffset,r[3]+=l.pageYOffset}E.forEach((function(e,t){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?r[t]+=parseFloat(a["border"+e+"Width"]):r[t]-=parseFloat(a["border"+e+"Width"])}))}return r}(t.bodyElement,t,d)
"target"!==u&&"both"!==u||(r<v[1]&&"top"===N.top&&(r+=g,N.top="bottom"),r+c>v[3]&&"bottom"===N.top&&(r-=g,N.top="top")),"together"===u&&(r=function(e,t,r,n,i,s){return"top"===e.top&&("bottom"===t.top&&s<r[1]?(s+=i,e.top="bottom",s+=n,t.top="top"):"top"===t.top&&s+n>r[3]&&s-(n-i)>=r[1]&&(s-=n-i,e.top="bottom",t.top="bottom")),"bottom"===e.top&&("top"===t.top&&s+n>r[3]?(s-=i,e.top="top",s-=n,t.top="bottom"):"bottom"===t.top&&s<r[1]&&s+(2*n-i)<=r[3]&&(s+=n-i,e.top="top",t.top="top")),"middle"===e.top&&(s+n>r[3]&&"top"===t.top?(s-=n,t.top="bottom"):s<r[1]&&"bottom"===t.top&&(s+=n,t.top="top")),s}(N,_,v,c,g,r)),"target"!==a&&"both"!==a||(n<v[0]&&"left"===N.left&&(n+=y,N.left="right"),n+h>v[2]&&"right"===N.left&&(n-=y,N.left="left")),"together"===a&&(n=function(e,t,r,n,i,s){return s<r[0]&&"left"===e.left?"right"===t.left?(s+=i,e.left="right",s+=n,t.left="left"):"left"===t.left&&(s+=i,e.left="right",s-=n,t.left="right"):s+n>r[2]&&"right"===e.left?"left"===t.left?(s-=i,e.left="left",s-=n,t.left="right"):"right"===t.left&&(s-=i,e.left="left",s+=n,t.left="left"):"center"===e.left&&(s+n>r[2]&&"left"===t.left?(s-=n,t.left="right"):s<r[0]&&"right"===t.left&&(s+=n,t.left="left")),s}(N,_,v,h,y,n)),"element"!==u&&"both"!==u||(r<v[1]&&"bottom"===_.top&&(r+=c,_.top="top"),r+c>v[3]&&"top"===_.top&&(r-=c,_.top="bottom")),"element"!==a&&"both"!==a||(n<v[0]&&("right"===_.left?(n+=h,_.left="left"):"center"===_.left&&(n+=h/2,_.left="left")),n+h>v[2]&&("left"===_.left?(n-=h,_.left="right"):"center"===_.left&&(n-=h/2,_.left="right"))),s(f)?f=f.split(",").map((function(e){return e.trim()})):!0===f&&(f=["top","left","right","bottom"])
var k,C=[],A=[]
n=function(e,t,r,n,i,s){return e<t[0]&&(n.indexOf("left")>=0?(e=t[0],i.push("left")):s.push("left")),e+r>t[2]&&(n.indexOf("right")>=0?(e=t[2]-r,i.push("right")):s.push("right")),e}(n,v,h,f=f||[],C,A),r=function(e,t,r,n,i,s){return e<t[1]&&(n.indexOf("top")>=0?(e=t[1],i.push("top")):s.push("top")),e+r>t[3]&&(n.indexOf("bottom")>=0?(e=t[3]-r,i.push("bottom")):s.push("bottom")),e}(r,v,c,f,C,A),C.length&&(k=o(t.options.pinnedClass)?l("pinned",b,w):t.options.pinnedClass,x.push(k),C.forEach((function(e){x.push(k+"-"+e)}))),function(e,t,r,n,i){var s
e.length&&(s=o(i)?l("out-of-bounds",r,n):i,t.push(s),e.forEach((function(e){t.push(s+"-"+e)})))}(A,x,b,w,t.options.outOfBoundsClass),(C.indexOf("left")>=0||C.indexOf("right")>=0)&&(_.left=N.left=!1),(C.indexOf("top")>=0||C.indexOf("bottom")>=0)&&(_.top=N.top=!1),N.top===i.top&&N.left===i.left&&_.top===t.attachment.top&&_.left===t.attachment.left||(t.updateAttachClasses(_,N),t.trigger("update",{attachment:_,targetAttachment:N}))})),d((function(){!1!==t.options.addTargetClasses&&u(t.target,x,k),u(t.element,x,k)})),{top:r,left:n}}},_={position:function(e){var t=e.top,r=e.left
if(this.options.shift){var n,i,o=this.options.shift
if("function"==typeof o&&(o=o.call(this,{top:t,left:r})),s(o)){(o=o.split(" "))[1]=o[1]||o[0]
var a=o
n=a[0],i=a[1],n=parseFloat(n,10),i=parseFloat(i,10)}else{var l=[o.top,o.left]
n=l[0],i=l[1]}return{top:t+=n,left:r+=i}}}},C=function(){function e(){}var t=e.prototype
return t.on=function(e,t,r,n){return void 0===n&&(n=!1),o(this.bindings)&&(this.bindings={}),o(this.bindings[e])&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:r,once:n}),this},t.once=function(e,t,r){return this.on(e,t,r,!0)},t.off=function(e,t){var r=this
return o(this.bindings)||o(this.bindings[e])||(o(t)?delete this.bindings[e]:this.bindings[e].forEach((function(n,i){n.handler===t&&r.bindings[e].splice(i,1)}))),this},t.trigger=function(e){for(var t=this,r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i]
return!o(this.bindings)&&this.bindings[e]&&this.bindings[e].forEach((function(r,i){var s=r.ctx,o=r.handler,a=r.once,l=s||t
o.apply(l,n),a&&t.bindings[e].splice(i,1)})),this},e}(),A={center:"center",left:"right",right:"left"},O={middle:"middle",top:"bottom",bottom:"top"},P={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"}
function T(){for(var e={top:0,left:0},t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n]
return r.forEach((function(t){var r=t.top,n=t.left
s(r)&&(r=parseFloat(r)),s(n)&&(n=parseFloat(n)),e.top+=r,e.left+=n})),e}function I(e){var t=e.left,r=e.top
return o(P[e.left])||(t=P[e.left]),o(P[e.top])||(r=P[e.top]),{left:t,top:r}}function j(e,t){return s(e.left)&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left)/100*t.width),s(e.top)&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top)/100*t.height),e}function D(e){var t=e.split(" ")
return{top:t[0],left:t[1]}}function M(e){return e.offsetParent||document.documentElement}var B,R,L,z,F={modules:[N,x,_]},V=function(){if(o(document))return""
for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],r=0;r<t.length;++r){var n=t[r]
if(void 0!==e.style[n])return n}}(),$=[],U=function(){$.forEach((function(e){e.position(!1)})),p()}
function H(){return performance.now()}B=null,R=null,L=null,z=function e(){if(!o(R)&&R>16)return R=Math.min(R-16,250),void(L=setTimeout(e,250))
!o(B)&&H()-B<10||(null!=L&&(clearTimeout(L),L=null),B=H(),U(),R=H()-B)},o(window)||o(window.addEventListener)||["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,z)}))
var q=function(e){var t,r
function h(t){var r
return(r=e.call(this)||this).position=r.position.bind(i(r)),$.push(i(r)),r.history=[],r.setOptions(t,!1),F.modules.forEach((function(e){o(e.initialize)||e.initialize.call(i(r))})),r.position(),r}r=e,(t=h).prototype=Object.create(r.prototype),t.prototype.constructor=t,n(t,r)
var f=h.prototype
return f.setOptions=function(e,t){var r=this
void 0===t&&(t=!0)
var n={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether",bodyElement:document.body}
this.options=m(n,e)
var i=this.options,a=i.element,l=i.target,c=i.targetModifier,u=i.bodyElement
if(this.element=a,this.target=l,this.targetModifier=c,"string"==typeof u&&(u=document.querySelector(u)),this.bodyElement=u,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(o(r[e]))throw new Error("Tether Error: Both element and target must be defined")
o(r[e].jquery)?s(r[e])&&(r[e]=document.querySelector(r[e])):r[e]=r[e][0]})),this._addClasses(),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment")
this.targetAttachment=D(this.options.targetAttachment),this.attachment=D(this.options.attachment),this.offset=D(this.options.offset),this.targetOffset=D(this.options.targetOffset),o(this.scrollParents)||this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=function(e){var t=(getComputedStyle(e)||{}).position,r=[]
if("fixed"===t)return[e]
for(var n=e;(n=n.parentNode)&&n&&1===n.nodeType;){var i=void 0
try{i=getComputedStyle(n)}catch(e){}if(o(i)||null===i)return r.push(n),r
var s=i,a=s.overflow,l=s.overflowX,c=s.overflowY;/(auto|scroll|overlay)/.test(a+c+l)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(i.position)>=0)&&r.push(n)}return r.push(e.ownerDocument.body),e.ownerDocument!==document&&r.push(e.ownerDocument.defaultView),r}(this.target),!1!==this.options.enabled&&this.enable(t)},f.getTargetBounds=function(){return o(this.targetModifier)?S(this.bodyElement,this.target):"visible"===this.targetModifier?function(e,t){if(t===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}
var r=S(e,t),n={height:r.height,width:r.width,top:r.top,left:r.left}
return n.height=Math.min(n.height,r.height-(pageYOffset-r.top)),n.height=Math.min(n.height,r.height-(r.top+r.height-(pageYOffset+innerHeight))),n.height=Math.min(innerHeight,n.height),n.height-=2,n.width=Math.min(n.width,r.width-(pageXOffset-r.left)),n.width=Math.min(n.width,r.width-(r.left+r.width-(pageXOffset+innerWidth))),n.width=Math.min(innerWidth,n.width),n.width-=2,n.top<pageYOffset&&(n.top=pageYOffset),n.left<pageXOffset&&(n.left=pageXOffset),n}(this.bodyElement,this.target):"scroll-handle"===this.targetModifier?function(e,t){var r,n=t.scrollTop,i=t===document.body
i?(t=document.documentElement,r={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):r=S(e,t)
var s=getComputedStyle(t),o=0;(t.scrollWidth>t.clientWidth||[s.overflow,s.overflowX].indexOf("scroll")>=0||!i)&&(o=15)
var a=r.height-parseFloat(s.borderTopWidth)-parseFloat(s.borderBottomWidth)-o,l={width:15,height:.975*a*(a/t.scrollHeight),left:r.left+r.width-parseFloat(s.borderLeftWidth)-15},c=0
a<408&&i&&(c=-11e-5*Math.pow(a,2)-.00727*a+22.58),i||(l.height=Math.max(l.height,24))
var u=n/(t.scrollHeight-a)
return l.top=u*(a-l.height-c)+r.top+parseFloat(s.borderTopWidth),i&&(l.height=Math.max(l.height,24)),l}(this.bodyElement,this.target):void 0},f.clearCache=function(){this._cache={}},f.cache=function(e,t){return o(this._cache)&&(this._cache={}),o(this._cache[e])&&(this._cache[e]=t.call(this)),this._cache[e]},f.enable=function(e){var t=this
void 0===e&&(e=!0)
var r=this.options,n=r.classes,i=r.classPrefix
!1!==this.options.addTargetClasses&&a(this.target,l("enabled",n,i)),a(this.element,l("enabled",n,i)),this.enabled=!0,this.scrollParents.forEach((function(e){e!==t.target.ownerDocument&&e.addEventListener("scroll",t.position)})),e&&this.position()},f.disable=function(){var e=this,t=this.options,r=t.classes,n=t.classPrefix
c(this.target,l("enabled",r,n)),c(this.element,l("enabled",r,n)),this.enabled=!1,o(this.scrollParents)||this.scrollParents.forEach((function(t){t&&t.removeEventListener&&t.removeEventListener("scroll",e.position)}))},f.destroy=function(){var e,t=this
this.disable(),this._removeClasses(),$.forEach((function(e,r){e===t&&$.splice(r,1)})),0===$.length&&(e=this.bodyElement,w&&e.removeChild(w),w=null)},f.updateAttachClasses=function(e,t){var r=this
e=e||this.attachment,t=t||this.targetAttachment
var n=this.options,i=n.classes,s=n.classPrefix
!o(this._addAttachClasses)&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),o(this._addAttachClasses)&&(this._addAttachClasses=[]),this.add=this._addAttachClasses,e.top&&this.add.push(l("element-attached",i,s)+"-"+e.top),e.left&&this.add.push(l("element-attached",i,s)+"-"+e.left),t.top&&this.add.push(l("target-attached",i,s)+"-"+t.top),t.left&&this.add.push(l("target-attached",i,s)+"-"+t.left),this.all=[],["left","top","bottom","right","middle","center"].forEach((function(e){r.all.push(l("element-attached",i,s)+"-"+e),r.all.push(l("target-attached",i,s)+"-"+e)})),d((function(){o(r._addAttachClasses)||(u(r.element,r._addAttachClasses,r.all),!1!==r.options.addTargetClasses&&u(r.target,r._addAttachClasses,r.all),delete r._addAttachClasses)}))},f.position=function(e){var t=this
if(void 0===e&&(e=!0),this.enabled){this.clearCache()
var r=function(e,t){var r=e.left,n=e.top
return"auto"===r&&(r=A[t.left]),"auto"===n&&(n=O[t.top]),{left:r,top:n}}(this.targetAttachment,this.attachment)
this.updateAttachClasses(this.attachment,r)
var n=this.cache("element-bounds",(function(){return S(t.bodyElement,t.element)})),i=n.width,s=n.height
if(0!==i||0!==s||o(this.lastSize))this.lastSize={width:i,height:s}
else{var a=this.lastSize
i=a.width,s=a.height}var l=this.cache("target-bounds",(function(){return t.getTargetBounds()})),c=l,u=j(I(this.attachment),{width:i,height:s}),h=j(I(r),c),d=j(this.offset,{width:i,height:s}),f=j(this.targetOffset,c)
u=T(u,d),h=T(h,f)
for(var m=l.left+h.left-u.left,y=l.top+h.top-u.top,v=0;v<F.modules.length;++v){var b=F.modules[v].position.call(this,{left:m,top:y,targetAttachment:r,targetPos:l,elementPos:n,offset:u,targetOffset:h,manualOffset:d,manualTargetOffset:f,scrollbarSize:w,attachment:this.attachment})
if(!1===b)return!1
o(b)||"object"!=typeof b||(y=b.top,m=b.left)}var w,k={page:{top:y,left:m},viewport:{top:y-pageYOffset,bottom:pageYOffset-y-s+innerHeight,left:m-pageXOffset,right:pageXOffset-m-i+innerWidth}},x=this.target.ownerDocument,E=x.defaultView
if(E.innerHeight>x.documentElement.clientHeight&&(w=this.cache("scrollbar-size",g),k.viewport.bottom-=w.height),E.innerWidth>x.documentElement.clientWidth&&(w=this.cache("scrollbar-size",g),k.viewport.right-=w.width),-1!==["","static"].indexOf(x.body.style.position)&&-1!==["","static"].indexOf(x.body.parentElement.style.position)||(k.page.bottom=x.body.scrollHeight-y-s,k.page.right=x.body.scrollWidth-m-i),!o(this.options.optimizations)&&!1!==this.options.optimizations.moveElement&&o(this.targetModifier)){var N=this.cache("target-offsetparent",(function(){return M(t.target)})),_=this.cache("target-offsetparent-bounds",(function(){return S(t.bodyElement,N)})),C=getComputedStyle(N),P=_,D={}
if(["Top","Left","Bottom","Right"].forEach((function(e){D[e.toLowerCase()]=parseFloat(C["border"+e+"Width"])})),_.right=x.body.scrollWidth-_.left-P.width+D.right,_.bottom=x.body.scrollHeight-_.top-P.height+D.bottom,k.page.top>=_.top+D.top&&k.page.bottom>=_.bottom&&k.page.left>=_.left+D.left&&k.page.right>=_.right){var B=N.scrollLeft,R=N.scrollTop
k.offset={top:k.page.top-_.top+R-D.top,left:k.page.left-_.left+B-D.left}}}return this.move(k),this.history.unshift(k),this.history.length>3&&this.history.pop(),e&&p(),!0}},f.move=function(e){var t=this
if(!o(this.element.parentNode)){var r,n,i,s={}
for(var a in e)for(var l in s[a]={},e[a]){for(var c=!1,u=0;u<this.history.length;++u){var h=this.history[u]
if(!(o(h[a])||(r=h[a][l],n=e[a][l],i=void 0,void 0===i&&(i=1),r+i>=n&&n>=r-i))){c=!0
break}}c||(s[a][l]=!0)}var p={top:"",left:"",right:"",bottom:""},f=function(e,r){var n,i
!1!==(o(t.options.optimizations)?null:t.options.optimizations.gpu)?(e.top?(p.top=0,n=r.top):(p.bottom=0,n=-r.bottom),e.left?(p.left=0,i=r.left):(p.right=0,i=-r.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(i=Math.round(i*devicePixelRatio)/devicePixelRatio,n=Math.round(n*devicePixelRatio)/devicePixelRatio),p[V]="translateX("+i+"px) translateY("+n+"px)","msTransform"!==V&&(p[V]+=" translateZ(0)")):(e.top?p.top=r.top+"px":p.bottom=r.bottom+"px",e.left?p.left=r.left+"px":p.right=r.right+"px")},g=!0
!o(this.options.optimizations)&&!1===this.options.optimizations.allowPositionFixed&&(g=!1)
var y,v,b=!1
if((s.page.top||s.page.bottom)&&(s.page.left||s.page.right))p.position="absolute",f(s.page,e.page)
else if(g&&(s.viewport.top||s.viewport.bottom)&&(s.viewport.left||s.viewport.right))p.position="fixed",f(s.viewport,e.viewport)
else if(!o(s.offset)&&s.offset.top&&s.offset.left){p.position="absolute"
var w=this.cache("target-offsetparent",(function(){return M(t.target)}))
M(this.element)!==w&&d((function(){t.element.parentNode.removeChild(t.element),w.appendChild(t.element)})),f(s.offset,e.offset),b=!0}else p.position="absolute",f({top:!0,left:!0},e.page)
if(!b)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element)
else{for(var S=!0,k=this.element.parentNode;k&&1===k.nodeType&&"BODY"!==k.tagName&&((v=(y=k).ownerDocument).fullscreenElement||v.webkitFullscreenElement||v.mozFullScreenElement||v.msFullscreenElement)!==y;){if("static"!==getComputedStyle(k).position){S=!1
break}k=k.parentNode}S||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var x={},E=!1
for(var N in p){var _=p[N]
this.element.style[N]!==_&&(E=!0,x[N]=_)}E&&d((function(){m(t.element.style,x),t.trigger("repositioned")}))}},f._addClasses=function(){var e=this.options,t=e.classes,r=e.classPrefix
a(this.element,l("element",t,r)),!1!==this.options.addTargetClasses&&a(this.target,l("target",t,r))},f._removeClasses=function(){var e=this,t=this.options,r=t.classes,n=t.classPrefix
c(this.element,l("element",r,n)),!1!==this.options.addTargetClasses&&c(this.target,l("target",r,n)),this.all.forEach((function(t){e.element.classList.remove(t),e.target.classList.remove(t)}))},h}(C)
q.modules=[],F.position=U
var W=m(q,F)
W.modules.push({initialize:function(){var e=this,t=this.options,r=t.classes,n=t.classPrefix
this.markers={},["target","element"].forEach((function(t){var i=document.createElement("div")
i.className=l(t+"-marker",r,n)
var s=document.createElement("div")
s.className=l("marker-dot",r,n),i.appendChild(s),e[t].appendChild(i),e.markers[t]={dot:s,el:i}}))},position:function(e){var t={element:e.manualOffset,target:e.manualTargetOffset}
for(var r in t){var n=t[r]
for(var i in n){var o,a=n[i];(!s(a)||-1===a.indexOf("%")&&-1===a.indexOf("px"))&&(a+="px"),this.markers[r]&&(null==(o=this.markers[r].dot)?void 0:o.style[i])!==a&&(this.markers[r].dot.style[i]=a)}}return!0}})
const K=W},15967:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{TrackedArray:()=>E,TrackedMap:()=>a,TrackedObject:()=>B,TrackedSet:()=>u,TrackedWeakMap:()=>l,TrackedWeakSet:()=>h,tracked:()=>F})
var n=r(55521),i=r(3353),s=r(57498)
function o(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class a{readStorageFor(e){const{storages:t}=this
let r=t.get(e)
void 0===r&&(r=(0,s.createStorage)(null,(()=>!1)),t.set(e,r)),(0,s.getValue)(r)}dirtyStorageFor(e){const t=this.storages.get(e)
t&&(0,s.setValue)(t,null)}constructor(e){o(this,"collection",(0,s.createStorage)(null,(()=>!1))),o(this,"storages",new Map),this.vals=e?new Map(e):new Map}get(e){return this.readStorageFor(e),this.vals.get(e)}has(e){return this.readStorageFor(e),this.vals.has(e)}entries(){return(0,s.getValue)(this.collection),this.vals.entries()}keys(){return(0,s.getValue)(this.collection),this.vals.keys()}values(){return(0,s.getValue)(this.collection),this.vals.values()}forEach(e){(0,s.getValue)(this.collection),this.vals.forEach(e)}get size(){return(0,s.getValue)(this.collection),this.vals.size}[Symbol.iterator](){return(0,s.getValue)(this.collection),this.vals[Symbol.iterator]()}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}set(e,t){return this.dirtyStorageFor(e),(0,s.setValue)(this.collection,null),this.vals.set(e,t),this}delete(e){return this.dirtyStorageFor(e),(0,s.setValue)(this.collection,null),this.vals.delete(e)}clear(){this.storages.forEach((e=>(0,s.setValue)(e,null))),(0,s.setValue)(this.collection,null),this.vals.clear()}}Object.setPrototypeOf(a.prototype,Map.prototype)
class l{readStorageFor(e){const{storages:t}=this
let r=t.get(e)
void 0===r&&(r=(0,s.createStorage)(null,(()=>!1)),t.set(e,r)),(0,s.getValue)(r)}dirtyStorageFor(e){const t=this.storages.get(e)
t&&(0,s.setValue)(t,null)}constructor(e){o(this,"storages",new WeakMap),this.vals=e?new WeakMap(e):new WeakMap}get(e){return this.readStorageFor(e),this.vals.get(e)}has(e){return this.readStorageFor(e),this.vals.has(e)}set(e,t){return this.dirtyStorageFor(e),this.vals.set(e,t),this}delete(e){return this.dirtyStorageFor(e),this.vals.delete(e)}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}}function c(e,t,r){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e
var t=e[Symbol.toPrimitive]
if(void 0!==t){var r=t.call(e,"string")
if("object"!=typeof r)return r
throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e)
return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.setPrototypeOf(l.prototype,WeakMap.prototype)
class u{storageFor(e){const t=this.storages
let r=t.get(e)
return void 0===r&&(r=(0,s.createStorage)(null,(()=>!1)),t.set(e,r)),r}dirtyStorageFor(e){const t=this.storages.get(e)
t&&(0,s.setValue)(t,null)}constructor(e){c(this,"collection",(0,s.createStorage)(null,(()=>!1))),c(this,"storages",new Map),this.vals=new Set(e)}has(e){return(0,s.getValue)(this.storageFor(e)),this.vals.has(e)}entries(){return(0,s.getValue)(this.collection),this.vals.entries()}keys(){return(0,s.getValue)(this.collection),this.vals.keys()}values(){return(0,s.getValue)(this.collection),this.vals.values()}forEach(e){(0,s.getValue)(this.collection),this.vals.forEach(e)}get size(){return(0,s.getValue)(this.collection),this.vals.size}[Symbol.iterator](){return(0,s.getValue)(this.collection),this.vals[Symbol.iterator]()}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}add(e){return this.dirtyStorageFor(e),(0,s.setValue)(this.collection,null),this.vals.add(e),this}delete(e){return this.dirtyStorageFor(e),(0,s.setValue)(this.collection,null),this.vals.delete(e)}clear(){this.storages.forEach((e=>(0,s.setValue)(e,null))),(0,s.setValue)(this.collection,null),this.vals.clear()}}Object.setPrototypeOf(u.prototype,Set.prototype)
class h{storageFor(e){const t=this.storages
let r=t.get(e)
return void 0===r&&(r=(0,s.createStorage)(null,(()=>!1)),t.set(e,r)),r}dirtyStorageFor(e){const t=this.storages.get(e)
t&&(0,s.setValue)(t,null)}constructor(e){c(this,"storages",new WeakMap),this.vals=new WeakSet(e)}has(e){return(0,s.getValue)(this.storageFor(e)),this.vals.has(e)}add(e){return this.vals.add(e),this.dirtyStorageFor(e),this}delete(e){return this.dirtyStorageFor(e),this.vals.delete(e)}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}}function d(e,t){var r=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance")
return t.get(e)}(e,t)
return function(e,t){return t.get?t.get.call(e):t.value}(e,r)}function p(e,t){m(e,t),t.add(e)}function f(e,t,r){m(e,t),t.set(e,r)}function m(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function g(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance")
return r}Object.setPrototypeOf(h.prototype,WeakSet.prototype)
const y=new Set([Symbol.iterator,"concat","entries","every","filter","find","findIndex","flat","flatMap","forEach","includes","indexOf","join","keys","lastIndexOf","map","reduce","reduceRight","slice","some","values"]),v=new Set(["fill","push","unshift"])
function b(e){if("symbol"==typeof e)return null
const t=Number(e)
return isNaN(t)?null:t%1==0?t:null}var w=new WeakMap,S=new WeakMap,k=new WeakSet,x=new WeakSet
class E{static from(e,t,r){return new E(t?Array.from(e,t,r):Array.from(e))}static of(...e){return new E(e)}constructor(e=[]){p(this,x),p(this,k),f(this,w,{writable:!0,value:(0,s.createStorage)(null,(()=>!1))}),f(this,S,{writable:!0,value:new Map})
let t=e.slice(),r=this,n=new Map,i=!1
return new Proxy(t,{get(e,t){let o=b(t)
if(null!==o)return g(r,k,N).call(r,o),(0,s.getValue)(d(r,w)),e[o]
if("length"===t)return i?i=!1:(0,s.getValue)(d(r,w)),e[t]
if(v.has(t)&&(i=!0),y.has(t)){let i=n.get(t)
return void 0===i&&(i=(...n)=>((0,s.getValue)(d(r,w)),e[t](...n)),n.set(t,i)),i}return e[t]},set(e,t,n){e[t]=n
let i=b(t)
return null!==i?(g(r,x,_).call(r,i),(0,s.setValue)(d(r,w),null)):"length"===t&&(0,s.setValue)(d(r,w),null),!0},getPrototypeOf:()=>E.prototype})}}function N(e){let t=d(this,S).get(e)
void 0===t&&(t=(0,s.createStorage)(null,(()=>!1)),d(this,S).set(e,t)),(0,s.getValue)(t)}function _(e){const t=d(this,S).get(e)
t&&(0,s.setValue)(t,null)}function C(e,t){O(e,t),t.add(e)}function A(e,t,r){O(e,t),t.set(e,r)}function O(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function P(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance")
return r}Object.setPrototypeOf(E.prototype,Array.prototype)
var T=new WeakMap,I=new WeakMap,j=new WeakSet,D=new WeakSet,M=new WeakSet
class B{static fromEntries(e){return new B(Object.fromEntries(e))}constructor(e={}){C(this,M),C(this,D),C(this,j),A(this,T,{writable:!0,value:new Map}),A(this,I,{writable:!0,value:(0,s.createStorage)(null,(()=>!1))})
let t=Object.getPrototypeOf(e),r=Object.getOwnPropertyDescriptors(e),n=Object.create(t)
for(let s in r)Object.defineProperty(n,s,r[s])
let i=this
return new Proxy(n,{get:(e,t)=>(P(i,j,R).call(i,t),e[t]),has:(e,t)=>(P(i,j,R).call(i,t),t in e),ownKeys:e=>((0,s.getValue)(d(i,I)),Reflect.ownKeys(e)),set:(e,t,r)=>(e[t]=r,P(i,D,L).call(i,t),P(i,M,z).call(i),!0),deleteProperty:(e,t)=>(t in e&&(delete e[t],P(i,D,L).call(i,t),P(i,M,z).call(i)),!0),getPrototypeOf:()=>B.prototype})}}function R(e){let t=d(this,T).get(e)
void 0===t&&(t=(0,s.createStorage)(null,(()=>!1)),d(this,T).set(e,t)),(0,s.getValue)(t)}function L(e){const t=d(this,T).get(e)
t&&(0,s.setValue)(t,null)}function z(){(0,s.setValue)(d(this,I),null)}function F(e,t,r){if(void 0!==t&&void 0!==r)return(0,n.tracked)(e,t,r)
if(Array.isArray(e))return new E(e)
switch(e){case Object:return new B
case Array:return new E
case Map:return new a
case WeakMap:return new l
case Set:return new u
case WeakSet:return new h}return e instanceof Map?new a(e):e instanceof WeakMap?new l:e instanceof Set?new u(e):e instanceof WeakSet?new h:((0,i.assert)("You must either use tracked as a field decorator, or to wrap built-in class instances:\n\n      class Example {\n        @tracked field = 123;\n\n        map = tracked(Map);\n        map = tracked(new Map());\n      }","object"==typeof e&&null!==e),new B(e))}},22679:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return l.default}})
var n=d(r(55999)),i=d(r(28231)),s=d(r(78647)),o=d(r(65025)),a=d(r(55996)),l=d(r(8928)),c=d(r(76163)),u=d(r(22982)),h=d(r(91729))
function d(e){return e&&e.__esModule?e:{default:e}}},86792:(e,t)=>{"use strict"
function r(e){return 14+(e+64>>>9<<4)+1}function n(e,t){const r=(65535&e)+(65535&t)
return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function i(e,t,r,i,s,o){return n((a=n(n(t,e),n(i,o)))<<(l=s)|a>>>32-l,r)
var a,l}function s(e,t,r,n,s,o,a){return i(t&r|~t&n,e,t,s,o,a)}function o(e,t,r,n,s,o,a){return i(t&n|r&~n,e,t,s,o,a)}function a(e,t,r,n,s,o,a){return i(t^r^n,e,t,s,o,a)}function l(e,t,r,n,s,o,a){return i(r^(t|~n),e,t,s,o,a)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e))
e=new Uint8Array(t.length)
for(let r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){const t=[],r=32*e.length,n="0123456789abcdef"
for(let i=0;i<r;i+=8){const r=e[i>>5]>>>i%32&255,s=parseInt(n.charAt(r>>>4&15)+n.charAt(15&r),16)
t.push(s)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[r(t)-1]=t
let i=1732584193,c=-271733879,u=-1732584194,h=271733878
for(let r=0;r<e.length;r+=16){const t=i,d=c,p=u,f=h
i=s(i,c,u,h,e[r],7,-680876936),h=s(h,i,c,u,e[r+1],12,-389564586),u=s(u,h,i,c,e[r+2],17,606105819),c=s(c,u,h,i,e[r+3],22,-1044525330),i=s(i,c,u,h,e[r+4],7,-176418897),h=s(h,i,c,u,e[r+5],12,1200080426),u=s(u,h,i,c,e[r+6],17,-1473231341),c=s(c,u,h,i,e[r+7],22,-45705983),i=s(i,c,u,h,e[r+8],7,1770035416),h=s(h,i,c,u,e[r+9],12,-1958414417),u=s(u,h,i,c,e[r+10],17,-42063),c=s(c,u,h,i,e[r+11],22,-1990404162),i=s(i,c,u,h,e[r+12],7,1804603682),h=s(h,i,c,u,e[r+13],12,-40341101),u=s(u,h,i,c,e[r+14],17,-1502002290),c=s(c,u,h,i,e[r+15],22,1236535329),i=o(i,c,u,h,e[r+1],5,-165796510),h=o(h,i,c,u,e[r+6],9,-1069501632),u=o(u,h,i,c,e[r+11],14,643717713),c=o(c,u,h,i,e[r],20,-373897302),i=o(i,c,u,h,e[r+5],5,-701558691),h=o(h,i,c,u,e[r+10],9,38016083),u=o(u,h,i,c,e[r+15],14,-660478335),c=o(c,u,h,i,e[r+4],20,-405537848),i=o(i,c,u,h,e[r+9],5,568446438),h=o(h,i,c,u,e[r+14],9,-1019803690),u=o(u,h,i,c,e[r+3],14,-187363961),c=o(c,u,h,i,e[r+8],20,1163531501),i=o(i,c,u,h,e[r+13],5,-1444681467),h=o(h,i,c,u,e[r+2],9,-51403784),u=o(u,h,i,c,e[r+7],14,1735328473),c=o(c,u,h,i,e[r+12],20,-1926607734),i=a(i,c,u,h,e[r+5],4,-378558),h=a(h,i,c,u,e[r+8],11,-2022574463),u=a(u,h,i,c,e[r+11],16,1839030562),c=a(c,u,h,i,e[r+14],23,-35309556),i=a(i,c,u,h,e[r+1],4,-1530992060),h=a(h,i,c,u,e[r+4],11,1272893353),u=a(u,h,i,c,e[r+7],16,-155497632),c=a(c,u,h,i,e[r+10],23,-1094730640),i=a(i,c,u,h,e[r+13],4,681279174),h=a(h,i,c,u,e[r],11,-358537222),u=a(u,h,i,c,e[r+3],16,-722521979),c=a(c,u,h,i,e[r+6],23,76029189),i=a(i,c,u,h,e[r+9],4,-640364487),h=a(h,i,c,u,e[r+12],11,-421815835),u=a(u,h,i,c,e[r+15],16,530742520),c=a(c,u,h,i,e[r+2],23,-995338651),i=l(i,c,u,h,e[r],6,-198630844),h=l(h,i,c,u,e[r+7],10,1126891415),u=l(u,h,i,c,e[r+14],15,-1416354905),c=l(c,u,h,i,e[r+5],21,-57434055),i=l(i,c,u,h,e[r+12],6,1700485571),h=l(h,i,c,u,e[r+3],10,-1894986606),u=l(u,h,i,c,e[r+10],15,-1051523),c=l(c,u,h,i,e[r+1],21,-2054922799),i=l(i,c,u,h,e[r+8],6,1873313359),h=l(h,i,c,u,e[r+15],10,-30611744),u=l(u,h,i,c,e[r+6],15,-1560198380),c=l(c,u,h,i,e[r+13],21,1309151649),i=l(i,c,u,h,e[r+4],6,-145523070),h=l(h,i,c,u,e[r+11],10,-1120210379),u=l(u,h,i,c,e[r+2],15,718787259),c=l(c,u,h,i,e[r+9],21,-343485551),i=n(i,t),c=n(c,d),u=n(u,p),h=n(h,f)}return[i,c,u,h]}(function(e){if(0===e.length)return[]
const t=8*e.length,n=new Uint32Array(r(t))
for(let r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32
return n}(e),8*e.length))}},11788:(e,t)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0
var r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}
t.default=r},55996:(e,t)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default="00000000-0000-0000-0000-000000000000"},91729:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0
var n,i=(n=r(76163))&&n.__esModule?n:{default:n}
t.default=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID")
let t
const r=new Uint8Array(16)
return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}},77300:(e,t)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},14402:(e,t)=>{"use strict"
let r
Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!r&&(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported")
return r(n)}
const n=new Uint8Array(16)},42702:(e,t)=>{"use strict"
function r(e,t,r,n){switch(e){case 0:return t&r^~t&n
case 1:case 3:return t^r^n
case 2:return t&r^t&n^r&n}}function n(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){const t=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520]
if("string"==typeof e){const t=unescape(encodeURIComponent(e))
e=[]
for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e))
e.push(128)
const s=e.length/4+2,o=Math.ceil(s/16),a=new Array(o)
for(let r=0;r<o;++r){const t=new Uint32Array(16)
for(let n=0;n<16;++n)t[n]=e[64*r+4*n]<<24|e[64*r+4*n+1]<<16|e[64*r+4*n+2]<<8|e[64*r+4*n+3]
a[r]=t}a[o-1][14]=8*(e.length-1)/Math.pow(2,32),a[o-1][14]=Math.floor(a[o-1][14]),a[o-1][15]=8*(e.length-1)&4294967295
for(let l=0;l<o;++l){const e=new Uint32Array(80)
for(let t=0;t<16;++t)e[t]=a[l][t]
for(let t=16;t<80;++t)e[t]=n(e[t-3]^e[t-8]^e[t-14]^e[t-16],1)
let s=i[0],o=i[1],c=i[2],u=i[3],h=i[4]
for(let i=0;i<80;++i){const a=Math.floor(i/20),l=n(s,5)+r(a,o,c,u)+h+t[a]+e[i]>>>0
h=u,u=c,c=n(o,30)>>>0,o=s,s=l}i[0]=i[0]+s>>>0,i[1]=i[1]+o>>>0,i[2]=i[2]+c>>>0,i[3]=i[3]+u>>>0,i[4]=i[4]+h>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]}},22982:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=o
var n,i=(n=r(76163))&&n.__esModule?n:{default:n}
const s=[]
for(let a=0;a<256;++a)s.push((a+256).toString(16).slice(1))
function o(e,t=0){return s[e[t+0]]+s[e[t+1]]+s[e[t+2]]+s[e[t+3]]+"-"+s[e[t+4]]+s[e[t+5]]+"-"+s[e[t+6]]+s[e[t+7]]+"-"+s[e[t+8]]+s[e[t+9]]+"-"+s[e[t+10]]+s[e[t+11]]+s[e[t+12]]+s[e[t+13]]+s[e[t+14]]+s[e[t+15]]}t.default=function(e,t=0){const r=o(e,t)
if(!(0,i.default)(r))throw TypeError("Stringified UUID is invalid")
return r}},55999:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0
var n,i=(n=r(14402))&&n.__esModule?n:{default:n},s=r(22982)
let o,a,l=0,c=0
t.default=function(e,t,r){let n=t&&r||0
const u=t||new Array(16)
let h=(e=e||{}).node||o,d=void 0!==e.clockseq?e.clockseq:a
if(null==h||null==d){const t=e.random||(e.rng||i.default)()
null==h&&(h=o=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==d&&(d=a=16383&(t[6]<<8|t[7]))}let p=void 0!==e.msecs?e.msecs:Date.now(),f=void 0!==e.nsecs?e.nsecs:c+1
const m=p-l+(f-c)/1e4
if(m<0&&void 0===e.clockseq&&(d=d+1&16383),(m<0||p>l)&&void 0===e.nsecs&&(f=0),f>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec")
l=p,c=f,a=d,p+=122192928e5
const g=(1e4*(268435455&p)+f)%4294967296
u[n++]=g>>>24&255,u[n++]=g>>>16&255,u[n++]=g>>>8&255,u[n++]=255&g
const y=p/4294967296*1e4&268435455
u[n++]=y>>>8&255,u[n++]=255&y,u[n++]=y>>>24&15|16,u[n++]=y>>>16&255,u[n++]=d>>>8|128,u[n++]=255&d
for(let i=0;i<6;++i)u[n+i]=h[i]
return t||(0,s.unsafeStringify)(u)}},28231:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0
var n=s(r(36125)),i=s(r(86792))
function s(e){return e&&e.__esModule?e:{default:e}}var o=(0,n.default)("v3",48,i.default)
t.default=o},36125:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,r){function n(e,n,o,a){var l
if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e))
const t=[]
for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r))
return t}(e)),"string"==typeof n&&(n=(0,s.default)(n)),16!==(null===(l=n)||void 0===l?void 0:l.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)")
let c=new Uint8Array(16+e.length)
if(c.set(n),c.set(e,n.length),c=r(c),c[6]=15&c[6]|t,c[8]=63&c[8]|128,o){a=a||0
for(let e=0;e<16;++e)o[a+e]=c[e]
return o}return(0,i.unsafeStringify)(c)}try{n.name=e}catch(e){}return n.DNS=o,n.URL=a,n}
var n,i=r(22982),s=(n=r(91729))&&n.__esModule?n:{default:n}
const o="6ba7b810-9dad-11d1-80b4-00c04fd430c8"
t.DNS=o
const a="6ba7b811-9dad-11d1-80b4-00c04fd430c8"
t.URL=a},78647:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0
var n=o(r(11788)),i=o(r(14402)),s=r(22982)
function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,r){if(n.default.randomUUID&&!t&&!e)return n.default.randomUUID()
const o=(e=e||{}).random||(e.rng||i.default)()
if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){r=r||0
for(let e=0;e<16;++e)t[r+e]=o[e]
return t}return(0,s.unsafeStringify)(o)}},65025:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0
var n=s(r(36125)),i=s(r(42702))
function s(e){return e&&e.__esModule?e:{default:e}}var o=(0,n.default)("v5",80,i.default)
t.default=o},76163:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0
var n,i=(n=r(77300))&&n.__esModule?n:{default:n}
t.default=function(e){return"string"==typeof e&&i.default.test(e)}},8928:(e,t,r)=>{"use strict"
Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0
var n,i=(n=r(76163))&&n.__esModule?n:{default:n}
t.default=function(e){if(!(0,i.default)(e))throw TypeError("Invalid UUID")
return parseInt(e.slice(14,15),16)}},61661:e=>{e.exports=[[768,879],[1155,1158],[1160,1161],[1425,1469],[1471,1471],[1473,1474],[1476,1477],[1479,1479],[1536,1539],[1552,1557],[1611,1630],[1648,1648],[1750,1764],[1767,1768],[1770,1773],[1807,1807],[1809,1809],[1840,1866],[1958,1968],[2027,2035],[2305,2306],[2364,2364],[2369,2376],[2381,2381],[2385,2388],[2402,2403],[2433,2433],[2492,2492],[2497,2500],[2509,2509],[2530,2531],[2561,2562],[2620,2620],[2625,2626],[2631,2632],[2635,2637],[2672,2673],[2689,2690],[2748,2748],[2753,2757],[2759,2760],[2765,2765],[2786,2787],[2817,2817],[2876,2876],[2879,2879],[2881,2883],[2893,2893],[2902,2902],[2946,2946],[3008,3008],[3021,3021],[3134,3136],[3142,3144],[3146,3149],[3157,3158],[3260,3260],[3263,3263],[3270,3270],[3276,3277],[3298,3299],[3393,3395],[3405,3405],[3530,3530],[3538,3540],[3542,3542],[3633,3633],[3636,3642],[3655,3662],[3761,3761],[3764,3769],[3771,3772],[3784,3789],[3864,3865],[3893,3893],[3895,3895],[3897,3897],[3953,3966],[3968,3972],[3974,3975],[3984,3991],[3993,4028],[4038,4038],[4141,4144],[4146,4146],[4150,4151],[4153,4153],[4184,4185],[4448,4607],[4959,4959],[5906,5908],[5938,5940],[5970,5971],[6002,6003],[6068,6069],[6071,6077],[6086,6086],[6089,6099],[6109,6109],[6155,6157],[6313,6313],[6432,6434],[6439,6440],[6450,6450],[6457,6459],[6679,6680],[6912,6915],[6964,6964],[6966,6970],[6972,6972],[6978,6978],[7019,7027],[7616,7626],[7678,7679],[8203,8207],[8234,8238],[8288,8291],[8298,8303],[8400,8431],[12330,12335],[12441,12442],[43014,43014],[43019,43019],[43045,43046],[64286,64286],[65024,65039],[65056,65059],[65279,65279],[65529,65531],[68097,68099],[68101,68102],[68108,68111],[68152,68154],[68159,68159],[119143,119145],[119155,119170],[119173,119179],[119210,119213],[119362,119364],[917505,917505],[917536,917631],[917760,917999]]},31209:(e,t,r)=>{"use strict"
var n=r(94331),i=r(61661),s={nul:0,control:0}
function o(e,t){if("string"!=typeof e)return a(e,t)
for(var r=0,n=0;n<e.length;n++){var i=a(e.charCodeAt(n),t)
if(i<0)return-1
r+=i}return r}function a(e,t){return 0===e?t.nul:e<32||e>=127&&e<160?t.control:function(e){var t,r=0,n=i.length-1
if(e<i[0][0]||e>i[n][1])return!1
for(;n>=r;)if(t=Math.floor((r+n)/2),e>i[t][1])r=t+1
else{if(!(e<i[t][0]))return!0
n=t-1}return!1}(e)?0:1+(e>=4352&&(e<=4447||9001==e||9002==e||e>=11904&&e<=42191&&12351!=e||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65135||e>=65280&&e<=65376||e>=65504&&e<=65510||e>=131072&&e<=196605||e>=196608&&e<=262141))}e.exports=function(e){return o(e,s)},e.exports.config=function(e){return e=n(e||{},s),function(t){return o(t,e)}}},76775:(e,t,r)=>{"use strict"
function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{Z:()=>n})},36188:(e,t,r)=>{"use strict"
function n(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}r.d(t,{Z:()=>n})},14594:(e,t,r)=>{"use strict"
r.d(t,{Nw:()=>l,ZP:()=>u,ZR:()=>c,ml:()=>a})
var n=r(36188),i=r(52744),s=r(70042)
const o=(0,i.Z)(n.Z),a=o.right,l=o.left,c=(0,i.Z)(s.Z).center,u=a},52744:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>s})
var n=r(36188),i=r(47856)
function s(e){let t,r,s
function a(e,n,i=0,s=e.length){if(i<s){if(0!==t(n,n))return s
do{const t=i+s>>>1
r(e[t],n)<0?i=t+1:s=t}while(i<s)}return i}return 2!==e.length?(t=n.Z,r=(t,r)=>(0,n.Z)(e(t),r),s=(t,r)=>e(t)-r):(t=e===n.Z||e===i.Z?e:o,r=e,s=e),{left:a,center:function(e,t,r=0,n=e.length){const i=a(e,t,r,n-1)
return i>r&&s(e[i-1],t)>-s(e[i],t)?i-1:i},right:function(e,n,i=0,s=e.length){if(i<s){if(0!==t(n,n))return s
do{const t=i+s>>>1
r(e[t],n)<=0?i=t+1:s=t}while(i<s)}return i}}}function o(){return 0}},47856:(e,t,r)=>{"use strict"
function n(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}r.d(t,{Z:()=>n})},71074:(e,t,r)=>{"use strict"
function n(e,t){let r,n
if(void 0===t)for(const i of e)null!=i&&(void 0===r?i>=i&&(r=n=i):(r>i&&(r=i),n<i&&(n=i)))
else{let i=-1
for(let s of e)null!=(s=t(s,++i,e))&&(void 0===r?s>=s&&(r=n=s):(r>s&&(r=s),n<s&&(n=s)))}return[r,n]}r.d(t,{Z:()=>n})},67053:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(36188)
function i(e,t=n.Z){let r,i=!1
if(1===t.length){let s
for(const o of e){const e=t(o);(i?(0,n.Z)(e,s)>0:0===(0,n.Z)(e,e))&&(r=o,s=e,i=!0)}}else for(const n of e)(i?t(n,r)>0:0===t(n,n))&&(r=n,i=!0)
return r}},50754:(e,t,r)=>{"use strict"
r.d(t,{DL:()=>l,Kz:()=>d,Q3:()=>h,RG:()=>p,Xx:()=>o,ZP:()=>s,jJ:()=>u,uT:()=>c})
var n=r(1487),i=r(8319)
function s(e,...t){return m(e,i.Z,i.Z,t)}function o(e,...t){return m(e,Array.from,i.Z,t)}function a(e,t){for(let r=1,n=t.length;r<n;++r)e=e.flatMap((e=>e.pop().map((([t,r])=>[...e,t,r]))))
return e}function l(e,...t){return a(o(e,...t),t)}function c(e,t,...r){return a(h(e,t,...r),r)}function u(e,t,...r){return m(e,i.Z,t,r)}function h(e,t,...r){return m(e,Array.from,t,r)}function d(e,...t){return m(e,i.Z,f,t)}function p(e,...t){return m(e,Array.from,f,t)}function f(e){if(1!==e.length)throw new Error("duplicate key")
return e[0]}function m(e,t,r,i){return function e(s,o){if(o>=i.length)return r(s)
const a=new n.L,l=i[o++]
let c=-1
for(const t of s){const e=l(t,++c,s),r=a.get(e)
r?r.push(t):a.set(e,[t])}for(const[t,r]of a)a.set(t,e(r,o))
return t(a)}(e,0)}},8319:(e,t,r)=>{"use strict"
function n(e){return e}r.d(t,{Z:()=>n})},7255:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{Adder:()=>x,InternMap:()=>Z.L,InternSet:()=>Z.H,ascending:()=>i.Z,bin:()=>B,bisect:()=>n.ZP,bisectCenter:()=>n.ZR,bisectLeft:()=>n.Nw,bisectRight:()=>n.ml,bisector:()=>s.Z,blur:()=>o,blur2:()=>a,blurImage:()=>l,count:()=>p,cross:()=>y,cumsum:()=>v,descending:()=>b.Z,deviation:()=>S,difference:()=>be,disjoint:()=>we,every:()=>pe,extent:()=>k.Z,fcumsum:()=>N,filter:()=>me,flatGroup:()=>_.DL,flatRollup:()=>_.uT,fsum:()=>E,greatest:()=>ie.Z,greatestIndex:()=>se,group:()=>_.ZP,groupSort:()=>A,groups:()=>_.Xx,histogram:()=>B,index:()=>_.Kz,indexes:()=>_.RG,intersection:()=>Se,least:()=>re,leastIndex:()=>ne,map:()=>ge,max:()=>F.Z,maxIndex:()=>V.Z,mean:()=>$,median:()=>U,medianIndex:()=>H,merge:()=>q.Z,min:()=>W.Z,minIndex:()=>K.Z,mode:()=>J,nice:()=>D,pairs:()=>G,permute:()=>X.Z,quantile:()=>R.ZP,quantileIndex:()=>R.Cr,quantileSorted:()=>R.s7,quickselect:()=>Q.Z,range:()=>ee.Z,rank:()=>te,reduce:()=>ye,reverse:()=>ve,rollup:()=>_.jJ,rollups:()=>_.Q3,scan:()=>oe,shuffle:()=>ae,shuffler:()=>le,some:()=>fe,sort:()=>C.ZP,subset:()=>Ne,sum:()=>ce,superset:()=>xe,thresholdFreedmanDiaconis:()=>L,thresholdScott:()=>z,thresholdSturges:()=>M,tickIncrement:()=>j.G9,tickStep:()=>j.ly,ticks:()=>j.ZP,transpose:()=>ue,union:()=>_e,variance:()=>w,zip:()=>de})
var n=r(14594),i=r(36188),s=r(52744)
function o(e,t){if(!((t=+t)>=0))throw new RangeError("invalid r")
let r=e.length
if(!((r=Math.floor(r))>=0))throw new RangeError("invalid length")
if(!r||!t)return e
const n=d(t),i=e.slice()
return n(e,i,0,r,1),n(i,e,0,r,1),n(e,i,0,r,1),e}const a=c(d),l=c((function(e){const t=d(e)
return(e,r,n,i,s)=>{t(e,r,0+(n<<=2),0+(i<<=2),s<<=2),t(e,r,n+1,i+1,s),t(e,r,n+2,i+2,s),t(e,r,n+3,i+3,s)}}))
function c(e){return function(t,r,n=r){if(!((r=+r)>=0))throw new RangeError("invalid rx")
if(!((n=+n)>=0))throw new RangeError("invalid ry")
let{data:i,width:s,height:o}=t
if(!((s=Math.floor(s))>=0))throw new RangeError("invalid width")
if(!((o=Math.floor(void 0!==o?o:i.length/s))>=0))throw new RangeError("invalid height")
if(!s||!o||!r&&!n)return t
const a=r&&e(r),l=n&&e(n),c=i.slice()
return a&&l?(u(a,c,i,s,o),u(a,i,c,s,o),u(a,c,i,s,o),h(l,i,c,s,o),h(l,c,i,s,o),h(l,i,c,s,o)):a?(u(a,i,c,s,o),u(a,c,i,s,o),u(a,i,c,s,o)):l&&(h(l,i,c,s,o),h(l,c,i,s,o),h(l,i,c,s,o)),t}}function u(e,t,r,n,i){for(let s=0,o=n*i;s<o;)e(t,r,s,s+=n,1)}function h(e,t,r,n,i){for(let s=0,o=n*i;s<n;++s)e(t,r,s,s+o,n)}function d(e){const t=Math.floor(e)
if(t===e)return function(e){const t=2*e+1
return(r,n,i,s,o)=>{if(!((s-=o)>=i))return
let a=e*n[i]
const l=o*e
for(let e=i,t=i+l;e<t;e+=o)a+=n[Math.min(s,e)]
for(let e=i,c=s;e<=c;e+=o)a+=n[Math.min(s,e+l)],r[e]=a/t,a-=n[Math.max(i,e-l)]}}(e)
const r=e-t,n=2*e+1
return(e,i,s,o,a)=>{if(!((o-=a)>=s))return
let l=t*i[s]
const c=a*t,u=c+a
for(let t=s,r=s+c;t<r;t+=a)l+=i[Math.min(o,t)]
for(let t=s,h=o;t<=h;t+=a)l+=i[Math.min(o,t+c)],e[t]=(l+r*(i[Math.max(s,t-u)]+i[Math.min(o,t+u)]))/n,l-=i[Math.max(s,t-c)]}}function p(e,t){let r=0
if(void 0===t)for(let n of e)null!=n&&(n=+n)>=n&&++r
else{let n=-1
for(let i of e)null!=(i=t(i,++n,e))&&(i=+i)>=i&&++r}return r}function f(e){return 0|e.length}function m(e){return!(e>0)}function g(e){return"object"!=typeof e||"length"in e?e:Array.from(e)}function y(...e){const t="function"==typeof e[e.length-1]&&function(e){return t=>e(...t)}(e.pop()),r=(e=e.map(g)).map(f),n=e.length-1,i=new Array(n+1).fill(0),s=[]
if(n<0||r.some(m))return s
for(;;){s.push(i.map(((t,r)=>e[r][t])))
let o=n
for(;++i[o]===r[o];){if(0===o)return t?s.map(t):s
i[o--]=0}}}function v(e,t){var r=0,n=0
return Float64Array.from(e,void 0===t?e=>r+=+e||0:i=>r+=+t(i,n++,e)||0)}var b=r(47856)
function w(e,t){let r,n=0,i=0,s=0
if(void 0===t)for(let o of e)null!=o&&(o=+o)>=o&&(r=o-i,i+=r/++n,s+=r*(o-i))
else{let o=-1
for(let a of e)null!=(a=t(a,++o,e))&&(a=+a)>=a&&(r=a-i,i+=r/++n,s+=r*(a-i))}if(n>1)return s/(n-1)}function S(e,t){const r=w(e,t)
return r?Math.sqrt(r):r}var k=r(71074)
class x{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const t=this._partials
let r=0
for(let n=0;n<this._n&&n<32;n++){const i=t[n],s=e+i,o=Math.abs(e)<Math.abs(i)?e-(s-i):i-(s-e)
o&&(t[r++]=o),e=s}return t[r]=e,this._n=r+1,this}valueOf(){const e=this._partials
let t,r,n,i=this._n,s=0
if(i>0){for(s=e[--i];i>0&&(t=s,r=e[--i],s=t+r,n=r-(s-t),!n););i>0&&(n<0&&e[i-1]<0||n>0&&e[i-1]>0)&&(r=2*n,t=s+r,r==t-s&&(s=t))}return s}}function E(e,t){const r=new x
if(void 0===t)for(let n of e)(n=+n)&&r.add(n)
else{let n=-1
for(let i of e)(i=+t(i,++n,e))&&r.add(i)}return+r}function N(e,t){const r=new x
let n=-1
return Float64Array.from(e,void 0===t?e=>r.add(+e||0):i=>r.add(+t(i,++n,e)||0))}var _=r(50754),C=r(15938)
function A(e,t,r){return(2!==t.length?(0,C.ZP)((0,_.jJ)(e,t,r),(([e,t],[r,n])=>(0,i.Z)(t,n)||(0,i.Z)(e,r))):(0,C.ZP)((0,_.ZP)(e,r),(([e,r],[n,s])=>t(r,s)||(0,i.Z)(e,n)))).map((([e])=>e))}var O=Array.prototype,P=O.slice
function T(e){return()=>e}O.map
var I=r(8319),j=r(71095)
function D(e,t,r){let n
for(;;){const i=(0,j.G9)(e,t,r)
if(i===n||0===i||!isFinite(i))return[e,t]
i>0?(e=Math.floor(e/i)*i,t=Math.ceil(t/i)*i):i<0&&(e=Math.ceil(e*i)/i,t=Math.floor(t*i)/i),n=i}}function M(e){return Math.max(1,Math.ceil(Math.log(p(e))/Math.LN2)+1)}function B(){var e=I.Z,t=k.Z,r=M
function i(i){Array.isArray(i)||(i=Array.from(i))
var s,o,a,l=i.length,c=new Array(l)
for(s=0;s<l;++s)c[s]=e(i[s],s,i)
var u=t(c),h=u[0],d=u[1],p=r(c,h,d)
if(!Array.isArray(p)){const e=d,r=+p
if(t===k.Z&&([h,d]=D(h,d,r)),(p=(0,j.ZP)(h,d,r))[0]<=h&&(a=(0,j.G9)(h,d,r)),p[p.length-1]>=d)if(e>=d&&t===k.Z){const e=(0,j.G9)(h,d,r)
isFinite(e)&&(e>0?d=(Math.floor(d/e)+1)*e:e<0&&(d=(Math.ceil(d*-e)+1)/-e))}else p.pop()}for(var f=p.length,m=0,g=f;p[m]<=h;)++m
for(;p[g-1]>d;)--g;(m||g<f)&&(p=p.slice(m,g),f=g-m)
var y,v=new Array(f+1)
for(s=0;s<=f;++s)(y=v[s]=[]).x0=s>0?p[s-1]:h,y.x1=s<f?p[s]:d
if(isFinite(a)){if(a>0)for(s=0;s<l;++s)null!=(o=c[s])&&h<=o&&o<=d&&v[Math.min(f,Math.floor((o-h)/a))].push(i[s])
else if(a<0)for(s=0;s<l;++s)if(null!=(o=c[s])&&h<=o&&o<=d){const e=Math.floor((h-o)*a)
v[Math.min(f,e+(p[e]<=o))].push(i[s])}}else for(s=0;s<l;++s)null!=(o=c[s])&&h<=o&&o<=d&&v[(0,n.ZP)(p,o,0,f)].push(i[s])
return v}return i.value=function(t){return arguments.length?(e="function"==typeof t?t:T(t),i):e},i.domain=function(e){return arguments.length?(t="function"==typeof e?e:T([e[0],e[1]]),i):t},i.thresholds=function(e){return arguments.length?(r="function"==typeof e?e:T(Array.isArray(e)?P.call(e):e),i):r},i}var R=r(19385)
function L(e,t,r){const n=p(e),i=(0,R.ZP)(e,.75)-(0,R.ZP)(e,.25)
return n&&i?Math.ceil((r-t)/(2*i*Math.pow(n,-1/3))):1}function z(e,t,r){const n=p(e),i=S(e)
return n&&i?Math.ceil((r-t)*Math.cbrt(n)/(3.49*i)):1}var F=r(23657),V=r(73150)
function $(e,t){let r=0,n=0
if(void 0===t)for(let i of e)null!=i&&(i=+i)>=i&&(++r,n+=i)
else{let i=-1
for(let s of e)null!=(s=t(s,++i,e))&&(s=+s)>=s&&(++r,n+=s)}if(r)return n/r}function U(e,t){return(0,R.ZP)(e,.5,t)}function H(e,t){return(0,R.Cr)(e,.5,t)}var q=r(65203),W=r(98881),K=r(3132),Z=r(1487)
function J(e,t){const r=new Z.L
if(void 0===t)for(let s of e)null!=s&&s>=s&&r.set(s,(r.get(s)||0)+1)
else{let n=-1
for(let i of e)null!=(i=t(i,++n,e))&&i>=i&&r.set(i,(r.get(i)||0)+1)}let n,i=0
for(const[s,o]of r)o>i&&(i=o,n=s)
return n}function G(e,t=Y){const r=[]
let n,i=!1
for(const s of e)i&&r.push(t(n,s)),n=s,i=!0
return r}function Y(e,t){return[e,t]}var X=r(8038),Q=r(94039),ee=r(54038)
function te(e,t=i.Z){if("function"!=typeof e[Symbol.iterator])throw new TypeError("values is not iterable")
let r=Array.from(e)
const n=new Float64Array(r.length)
2!==t.length&&(r=r.map(t),t=i.Z)
const s=(e,n)=>t(r[e],r[n])
let o,a
return(e=Uint32Array.from(r,((e,t)=>t))).sort(t===i.Z?(e,t)=>(0,C.Wv)(r[e],r[t]):(0,C.di)(s)),e.forEach(((e,t)=>{const r=s(e,void 0===o?e:o)
r>=0?((void 0===o||r>0)&&(o=e,a=t),n[e]=a):n[e]=NaN})),n}function re(e,t=i.Z){let r,n=!1
if(1===t.length){let s
for(const o of e){const e=t(o);(n?(0,i.Z)(e,s)<0:0===(0,i.Z)(e,e))&&(r=o,s=e,n=!0)}}else for(const i of e)(n?t(i,r)<0:0===t(i,i))&&(r=i,n=!0)
return r}function ne(e,t=i.Z){if(1===t.length)return(0,K.Z)(e,t)
let r,n=-1,s=-1
for(const i of e)++s,(n<0?0===t(i,i):t(i,r)<0)&&(r=i,n=s)
return n}var ie=r(67053)
function se(e,t=i.Z){if(1===t.length)return(0,V.Z)(e,t)
let r,n=-1,s=-1
for(const i of e)++s,(n<0?0===t(i,i):t(i,r)>0)&&(r=i,n=s)
return n}function oe(e,t){const r=ne(e,t)
return r<0?void 0:r}const ae=le(Math.random)
function le(e){return function(t,r=0,n=t.length){let i=n-(r=+r)
for(;i;){const n=e()*i--|0,s=t[i+r]
t[i+r]=t[n+r],t[n+r]=s}return t}}function ce(e,t){let r=0
if(void 0===t)for(let n of e)(n=+n)&&(r+=n)
else{let n=-1
for(let i of e)(i=+t(i,++n,e))&&(r+=i)}return r}function ue(e){if(!(i=e.length))return[]
for(var t=-1,r=(0,W.Z)(e,he),n=new Array(r);++t<r;)for(var i,s=-1,o=n[t]=new Array(i);++s<i;)o[s]=e[s][t]
return n}function he(e){return e.length}function de(){return ue(arguments)}function pe(e,t){if("function"!=typeof t)throw new TypeError("test is not a function")
let r=-1
for(const n of e)if(!t(n,++r,e))return!1
return!0}function fe(e,t){if("function"!=typeof t)throw new TypeError("test is not a function")
let r=-1
for(const n of e)if(t(n,++r,e))return!0
return!1}function me(e,t){if("function"!=typeof t)throw new TypeError("test is not a function")
const r=[]
let n=-1
for(const i of e)t(i,++n,e)&&r.push(i)
return r}function ge(e,t){if("function"!=typeof e[Symbol.iterator])throw new TypeError("values is not iterable")
if("function"!=typeof t)throw new TypeError("mapper is not a function")
return Array.from(e,((r,n)=>t(r,n,e)))}function ye(e,t,r){if("function"!=typeof t)throw new TypeError("reducer is not a function")
const n=e[Symbol.iterator]()
let i,s,o=-1
if(arguments.length<3){if(({done:i,value:r}=n.next()),i)return;++o}for(;({done:i,value:s}=n.next()),!i;)r=t(r,s,++o,e)
return r}function ve(e){if("function"!=typeof e[Symbol.iterator])throw new TypeError("values is not iterable")
return Array.from(e).reverse()}function be(e,...t){e=new Z.H(e)
for(const r of t)for(const t of r)e.delete(t)
return e}function we(e,t){const r=t[Symbol.iterator](),n=new Z.H
for(const i of e){if(n.has(i))return!1
let e,t
for(;({value:e,done:t}=r.next())&&!t;){if(Object.is(i,e))return!1
n.add(e)}}return!0}function Se(e,...t){e=new Z.H(e),t=t.map(ke)
e:for(const r of e)for(const n of t)if(!n.has(r)){e.delete(r)
continue e}return e}function ke(e){return e instanceof Z.H?e:new Z.H(e)}function xe(e,t){const r=e[Symbol.iterator](),n=new Set
for(const i of t){const e=Ee(i)
if(n.has(e))continue
let t,s
for(;({value:t,done:s}=r.next());){if(s)return!1
const r=Ee(t)
if(n.add(r),Object.is(e,r))break}}return!0}function Ee(e){return null!==e&&"object"==typeof e?e.valueOf():e}function Ne(e,t){return xe(t,e)}function _e(...e){const t=new Z.H
for(const r of e)for(const e of r)t.add(e)
return t}},23657:(e,t,r)=>{"use strict"
function n(e,t){let r
if(void 0===t)for(const n of e)null!=n&&(r<n||void 0===r&&n>=n)&&(r=n)
else{let n=-1
for(let i of e)null!=(i=t(i,++n,e))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}r.d(t,{Z:()=>n})},73150:(e,t,r)=>{"use strict"
function n(e,t){let r,n=-1,i=-1
if(void 0===t)for(const s of e)++i,null!=s&&(r<s||void 0===r&&s>=s)&&(r=s,n=i)
else for(let s of e)null!=(s=t(s,++i,e))&&(r<s||void 0===r&&s>=s)&&(r=s,n=i)
return n}r.d(t,{Z:()=>n})},65203:(e,t,r)=>{"use strict"
function n(e){return Array.from(function*(e){for(const t of e)yield*t}(e))}r.d(t,{Z:()=>n})},98881:(e,t,r)=>{"use strict"
function n(e,t){let r
if(void 0===t)for(const n of e)null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)
else{let n=-1
for(let i of e)null!=(i=t(i,++n,e))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}r.d(t,{Z:()=>n})},3132:(e,t,r)=>{"use strict"
function n(e,t){let r,n=-1,i=-1
if(void 0===t)for(const s of e)++i,null!=s&&(r>s||void 0===r&&s>=s)&&(r=s,n=i)
else for(let s of e)null!=(s=t(s,++i,e))&&(r>s||void 0===r&&s>=s)&&(r=s,n=i)
return n}r.d(t,{Z:()=>n})},70042:(e,t,r)=>{"use strict"
function n(e){return null===e?NaN:+e}function*i(e,t){if(void 0===t)for(let r of e)null!=r&&(r=+r)>=r&&(yield r)
else{let r=-1
for(let n of e)null!=(n=t(n,++r,e))&&(n=+n)>=n&&(yield n)}}r.d(t,{K:()=>i,Z:()=>n})},8038:(e,t,r)=>{"use strict"
function n(e,t){return Array.from(t,(t=>e[t]))}r.d(t,{Z:()=>n})},19385:(e,t,r)=>{"use strict"
r.d(t,{Cr:()=>p,ZP:()=>h,s7:()=>d})
var n=r(23657),i=r(73150),s=r(98881),o=r(3132),a=r(94039),l=r(70042),c=r(15938),u=r(67053)
function h(e,t,r){if((i=(e=Float64Array.from((0,l.K)(e,r))).length)&&!isNaN(t=+t)){if(t<=0||i<2)return(0,s.Z)(e)
if(t>=1)return(0,n.Z)(e)
var i,o=(i-1)*t,c=Math.floor(o),u=(0,n.Z)((0,a.Z)(e,c).subarray(0,c+1))
return u+((0,s.Z)(e.subarray(c+1))-u)*(o-c)}}function d(e,t,r=l.Z){if((n=e.length)&&!isNaN(t=+t)){if(t<=0||n<2)return+r(e[0],0,e)
if(t>=1)return+r(e[n-1],n-1,e)
var n,i=(n-1)*t,s=Math.floor(i),o=+r(e[s],s,e)
return o+(+r(e[s+1],s+1,e)-o)*(i-s)}}function p(e,t,r=l.Z){if(!isNaN(t=+t)){if(n=Float64Array.from(e,((t,n)=>(0,l.Z)(r(e[n],n,e)))),t<=0)return(0,o.Z)(n)
if(t>=1)return(0,i.Z)(n)
var n,s=Uint32Array.from(e,((e,t)=>t)),h=n.length-1,d=Math.floor(h*t)
return(0,a.Z)(s,d,0,h,((e,t)=>(0,c.Wv)(n[e],n[t]))),(d=(0,u.Z)(s.subarray(0,d+1),(e=>n[e])))>=0?d:-1}}},94039:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(15938)
function i(e,t,r=0,o=1/0,a){if(t=Math.floor(t),r=Math.floor(Math.max(0,r)),o=Math.floor(Math.min(e.length-1,o)),!(r<=t&&t<=o))return e
for(a=void 0===a?n.Wv:(0,n.di)(a);o>r;){if(o-r>600){const n=o-r+1,s=t-r+1,l=Math.log(n),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(n-c)/n)*(s-n/2<0?-1:1)
i(e,t,Math.max(r,Math.floor(t-s*c/n+u)),Math.min(o,Math.floor(t+(n-s)*c/n+u)),a)}const n=e[t]
let l=r,c=o
for(s(e,r,t),a(e[o],n)>0&&s(e,r,o);l<c;){for(s(e,l,c),++l,--c;a(e[l],n)<0;)++l
for(;a(e[c],n)>0;)--c}0===a(e[r],n)?s(e,r,c):(++c,s(e,c,o)),c<=t&&(r=c+1),t<=c&&(o=c-1)}return e}function s(e,t,r){const n=e[t]
e[t]=e[r],e[r]=n}},54038:(e,t,r)=>{"use strict"
function n(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r
for(var n=-1,i=0|Math.max(0,Math.ceil((t-e)/r)),s=new Array(i);++n<i;)s[n]=e+n*r
return s}r.d(t,{Z:()=>n})},15938:(e,t,r)=>{"use strict"
r.d(t,{Wv:()=>a,ZP:()=>s,di:()=>o})
var n=r(36188),i=r(8038)
function s(e,...t){if("function"!=typeof e[Symbol.iterator])throw new TypeError("values is not iterable")
e=Array.from(e)
let[r]=t
if(r&&2!==r.length||t.length>1){const n=Uint32Array.from(e,((e,t)=>t))
return t.length>1?(t=t.map((t=>e.map(t))),n.sort(((e,r)=>{for(const n of t){const t=a(n[e],n[r])
if(t)return t}}))):(r=e.map(r),n.sort(((e,t)=>a(r[e],r[t])))),(0,i.Z)(e,n)}return e.sort(o(r))}function o(e=n.Z){if(e===n.Z)return a
if("function"!=typeof e)throw new TypeError("compare is not a function")
return(t,r)=>{const n=e(t,r)
return n||0===n?n:(0===e(r,r))-(0===e(t,t))}}function a(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}},71095:(e,t,r)=>{"use strict"
r.d(t,{G9:()=>l,ZP:()=>a,ly:()=>c})
const n=Math.sqrt(50),i=Math.sqrt(10),s=Math.sqrt(2)
function o(e,t,r){const a=(t-e)/Math.max(0,r),l=Math.floor(Math.log10(a)),c=a/Math.pow(10,l),u=c>=n?10:c>=i?5:c>=s?2:1
let h,d,p
return l<0?(p=Math.pow(10,-l)/u,h=Math.round(e*p),d=Math.round(t*p),h/p<e&&++h,d/p>t&&--d,p=-p):(p=Math.pow(10,l)*u,h=Math.round(e/p),d=Math.round(t/p),h*p<e&&++h,d*p>t&&--d),d<h&&.5<=r&&r<2?o(e,t,2*r):[h,d,p]}function a(e,t,r){if(!((r=+r)>0))return[]
if((e=+e)==(t=+t))return[e]
const n=t<e,[i,s,a]=n?o(t,e,r):o(e,t,r)
if(!(s>=i))return[]
const l=s-i+1,c=new Array(l)
if(n)if(a<0)for(let o=0;o<l;++o)c[o]=(s-o)/-a
else for(let o=0;o<l;++o)c[o]=(s-o)*a
else if(a<0)for(let o=0;o<l;++o)c[o]=(i+o)/-a
else for(let o=0;o<l;++o)c[o]=(i+o)*a
return c}function l(e,t,r){return o(e=+e,t=+t,r=+r)[2]}function c(e,t,r){r=+r
const n=(t=+t)<(e=+e),i=n?l(t,e,r):l(e,t,r)
return(n?-1:1)*(i<0?1/-i:i)}},85351:(e,t,r)=>{"use strict"
function n(e){return e}r.r(t),r.d(t,{axisBottom:()=>y,axisLeft:()=>v,axisRight:()=>g,axisTop:()=>m})
var i=1,s=2,o=3,a=4,l=1e-6
function c(e){return"translate("+e+",0)"}function u(e){return"translate(0,"+e+")"}function h(e){return t=>+e(t)}function d(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),r=>+e(r)+t}function p(){return!this.__axis}function f(e,t){var r=[],f=null,m=null,g=6,y=6,v=3,b="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,w=e===i||e===a?-1:1,S=e===a||e===s?"x":"y",k=e===i||e===o?c:u
function x(c){var u=null==f?t.ticks?t.ticks.apply(t,r):t.domain():f,x=null==m?t.tickFormat?t.tickFormat.apply(t,r):n:m,E=Math.max(g,0)+v,N=t.range(),_=+N[0]+b,C=+N[N.length-1]+b,A=(t.bandwidth?d:h)(t.copy(),b),O=c.selection?c.selection():c,P=O.selectAll(".domain").data([null]),T=O.selectAll(".tick").data(u,t).order(),I=T.exit(),j=T.enter().append("g").attr("class","tick"),D=T.select("line"),M=T.select("text")
P=P.merge(P.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),T=T.merge(j),D=D.merge(j.append("line").attr("stroke","currentColor").attr(S+"2",w*g)),M=M.merge(j.append("text").attr("fill","currentColor").attr(S,w*E).attr("dy",e===i?"0em":e===o?"0.71em":"0.32em")),c!==O&&(P=P.transition(c),T=T.transition(c),D=D.transition(c),M=M.transition(c),I=I.transition(c).attr("opacity",l).attr("transform",(function(e){return isFinite(e=A(e))?k(e+b):this.getAttribute("transform")})),j.attr("opacity",l).attr("transform",(function(e){var t=this.parentNode.__axis
return k((t&&isFinite(t=t(e))?t:A(e))+b)}))),I.remove(),P.attr("d",e===a||e===s?y?"M"+w*y+","+_+"H"+b+"V"+C+"H"+w*y:"M"+b+","+_+"V"+C:y?"M"+_+","+w*y+"V"+b+"H"+C+"V"+w*y:"M"+_+","+b+"H"+C),T.attr("opacity",1).attr("transform",(function(e){return k(A(e)+b)})),D.attr(S+"2",w*g),M.attr(S,w*E).text(x),O.filter(p).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===s?"start":e===a?"end":"middle"),O.each((function(){this.__axis=A}))}return x.scale=function(e){return arguments.length?(t=e,x):t},x.ticks=function(){return r=Array.from(arguments),x},x.tickArguments=function(e){return arguments.length?(r=null==e?[]:Array.from(e),x):r.slice()},x.tickValues=function(e){return arguments.length?(f=null==e?null:Array.from(e),x):f&&f.slice()},x.tickFormat=function(e){return arguments.length?(m=e,x):m},x.tickSize=function(e){return arguments.length?(g=y=+e,x):g},x.tickSizeInner=function(e){return arguments.length?(g=+e,x):g},x.tickSizeOuter=function(e){return arguments.length?(y=+e,x):y},x.tickPadding=function(e){return arguments.length?(v=+e,x):v},x.offset=function(e){return arguments.length?(b=+e,x):b},x}function m(e){return f(i,e)}function g(e){return f(s,e)}function y(e){return f(o,e)}function v(e){return f(a,e)}},90854:(e,t,r)=>{"use strict"
r.d(t,{WU:()=>i,ZP:()=>a,jH:()=>s})
var n,i,s,o=r(24455)
function a(e){return n=(0,o.Z)(e),i=n.format,s=n.formatPrefix,n}a({thousands:",",grouping:[3],currency:["$",""]})},19818:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(4684)
function i(e){return(e=(0,n.V)(Math.abs(e)))?e[1]:NaN}},4684:(e,t,r)=>{"use strict"
function n(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function i(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null
var r,n=e.slice(0,r)
return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}r.d(t,{V:()=>i,Z:()=>n})},32079:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i,v:()=>s})
var n=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i
function i(e){if(!(t=n.exec(e)))throw new Error("invalid format: "+e)
var t
return new s({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function s(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}i.prototype=s.prototype,s.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},87267:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{FormatSpecifier:()=>s.v,format:()=>n.WU,formatDefaultLocale:()=>n.ZP,formatLocale:()=>i.Z,formatPrefix:()=>n.jH,formatSpecifier:()=>s.Z,precisionFixed:()=>o.Z,precisionPrefix:()=>a.Z,precisionRound:()=>l.Z})
var n=r(90854),i=r(24455),s=r(32079),o=r(15329),a=r(79834),l=r(31683)},24455:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>d})
var n,i=r(19818),s=r(32079),o=r(4684)
function a(e,t){var r=(0,o.V)(e,t)
if(!r)return e+""
var n=r[0],i=r[1]
return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const l={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:o.Z,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>a(100*e,t),r:a,s:function(e,t){var r=(0,o.V)(e,t)
if(!r)return e+""
var i=r[0],s=r[1],a=s-(n=3*Math.max(-8,Math.min(8,Math.floor(s/3))))+1,l=i.length
return a===l?i:a>l?i+new Array(a-l+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+(0,o.V)(e,Math.max(0,t+a-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)}
function c(e){return e}var u=Array.prototype.map,h=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]
function d(e){var t,r,o=void 0===e.grouping||void 0===e.thousands?c:(t=u.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,s=[],o=0,a=t[0],l=0;i>0&&a>0&&(l+a+1>n&&(a=Math.max(1,n-l)),s.push(e.substring(i-=a,i+a)),!((l+=a+1)>n));)a=t[o=(o+1)%t.length]
return s.reverse().join(r)}),a=void 0===e.currency?"":e.currency[0]+"",d=void 0===e.currency?"":e.currency[1]+"",p=void 0===e.decimal?".":e.decimal+"",f=void 0===e.numerals?c:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(u.call(e.numerals,String)),m=void 0===e.percent?"%":e.percent+"",g=void 0===e.minus?"−":e.minus+"",y=void 0===e.nan?"NaN":e.nan+""
function v(e){var t=(e=(0,s.Z)(e)).fill,r=e.align,i=e.sign,c=e.symbol,u=e.zero,v=e.width,b=e.comma,w=e.precision,S=e.trim,k=e.type
"n"===k?(b=!0,k="g"):l[k]||(void 0===w&&(w=12),S=!0,k="g"),(u||"0"===t&&"="===r)&&(u=!0,t="0",r="=")
var x="$"===c?a:"#"===c&&/[boxX]/.test(k)?"0"+k.toLowerCase():"",E="$"===c?d:/[%p]/.test(k)?m:"",N=l[k],_=/[defgprs%]/.test(k)
function C(e){var s,a,l,c=x,d=E
if("c"===k)d=N(e)+d,e=""
else{var m=(e=+e)<0||1/e<0
if(e=isNaN(e)?y:N(Math.abs(e),w),S&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n
break
case"0":0===i&&(i=n),t=n
break
default:if(!+e[n])break e
i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),m&&0==+e&&"+"!==i&&(m=!1),c=(m?"("===i?i:g:"-"===i||"("===i?"":i)+c,d=("s"===k?h[8+n/3]:"")+d+(m&&"("===i?")":""),_)for(s=-1,a=e.length;++s<a;)if(48>(l=e.charCodeAt(s))||l>57){d=(46===l?p+e.slice(s+1):e.slice(s))+d,e=e.slice(0,s)
break}}b&&!u&&(e=o(e,1/0))
var C=c.length+e.length+d.length,A=C<v?new Array(v-C+1).join(t):""
switch(b&&u&&(e=o(A+e,A.length?v-d.length:1/0),A=""),r){case"<":e=c+e+d+A
break
case"=":e=c+A+e+d
break
case"^":e=A.slice(0,C=A.length>>1)+c+e+d+A.slice(C)
break
default:e=A+c+e+d}return f(e)}return w=void 0===w?6:/[gprs]/.test(k)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w)),C.toString=function(){return e+""},C}return{format:v,formatPrefix:function(e,t){var r=v(((e=(0,s.Z)(e)).type="f",e)),n=3*Math.max(-8,Math.min(8,Math.floor((0,i.Z)(t)/3))),o=Math.pow(10,-n),a=h[8+n/3]
return function(e){return r(o*e)+a}}}}},15329:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(19818)
function i(e){return Math.max(0,-(0,n.Z)(Math.abs(e)))}},79834:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(19818)
function i(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,n.Z)(t)/3)))-(0,n.Z)(Math.abs(e)))}},31683:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(19818)
function i(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,(0,n.Z)(t)-(0,n.Z)(e))+1}},59218:(e,t,r)=>{"use strict"
function n(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}r.d(t,{Z:()=>n})},43668:(e,t,r)=>{"use strict"
function n(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}r.d(t,{Z:()=>n})},93877:(e,t,r)=>{"use strict"
function n(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function i(e,t){var r=Object.create(e.prototype)
for(var n in t)r[n]=t[n]
return r}function s(){}r.d(t,{Z:()=>G})
var o=.7,a=1/o,l="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",h=/^#([0-9a-f]{3,8})$/,d=new RegExp(`^rgb\\(${l},${l},${l}\\)$`),p=new RegExp(`^rgb\\(${u},${u},${u}\\)$`),f=new RegExp(`^rgba\\(${l},${l},${l},${c}\\)$`),m=new RegExp(`^rgba\\(${u},${u},${u},${c}\\)$`),g=new RegExp(`^hsl\\(${c},${u},${u}\\)$`),y=new RegExp(`^hsla\\(${c},${u},${u},${c}\\)$`),v={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074}
function b(){return this.rgb().formatHex()}function w(){return this.rgb().formatRgb()}function S(e){var t,r
return e=(e+"").trim().toLowerCase(),(t=h.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?k(t):3===r?new N(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?x(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?x(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=d.exec(e))?new N(t[1],t[2],t[3],1):(t=p.exec(e))?new N(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=f.exec(e))?x(t[1],t[2],t[3],t[4]):(t=m.exec(e))?x(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=g.exec(e))?T(t[1],t[2]/100,t[3]/100,1):(t=y.exec(e))?T(t[1],t[2]/100,t[3]/100,t[4]):v.hasOwnProperty(e)?k(v[e]):"transparent"===e?new N(NaN,NaN,NaN,0):null}function k(e){return new N(e>>16&255,e>>8&255,255&e,1)}function x(e,t,r,n){return n<=0&&(e=t=r=NaN),new N(e,t,r,n)}function E(e,t,r,n){return 1===arguments.length?((i=e)instanceof s||(i=S(i)),i?new N((i=i.rgb()).r,i.g,i.b,i.opacity):new N):new N(e,t,r,null==n?1:n)
var i}function N(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function _(){return`#${P(this.r)}${P(this.g)}${P(this.b)}`}function C(){const e=A(this.opacity)
return`${1===e?"rgb(":"rgba("}${O(this.r)}, ${O(this.g)}, ${O(this.b)}${1===e?")":`, ${e})`}`}function A(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function O(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function P(e){return((e=O(e))<16?"0":"")+e.toString(16)}function T(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new j(e,t,r,n)}function I(e){if(e instanceof j)return new j(e.h,e.s,e.l,e.opacity)
if(e instanceof s||(e=S(e)),!e)return new j
if(e instanceof j)return e
var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=NaN,l=o-i,c=(o+i)/2
return l?(a=t===o?(r-n)/l+6*(r<n):r===o?(n-t)/l+2:(t-r)/l+4,l/=c<.5?o+i:2-o-i,a*=60):l=c>0&&c<1?0:a,new j(a,l,c,e.opacity)}function j(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function D(e){return(e=(e||0)%360)<0?e+360:e}function M(e){return Math.max(0,Math.min(1,e||0))}function B(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}function R(e,t,r,n,i){var s=e*e,o=s*e
return((1-3*e+3*s-o)*t+(4-6*s+3*o)*r+(1+3*e+3*s-3*o)*n+o*i)/6}n(s,S,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:b,formatHex:b,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return I(this).formatHsl()},formatRgb:w,toString:w}),n(N,E,i(s,{brighter(e){return e=null==e?a:Math.pow(a,e),new N(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?o:Math.pow(o,e),new N(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new N(O(this.r),O(this.g),O(this.b),A(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:_,formatHex:_,formatHex8:function(){return`#${P(this.r)}${P(this.g)}${P(this.b)}${P(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:C,toString:C})),n(j,(function(e,t,r,n){return 1===arguments.length?I(e):new j(e,t,r,null==n?1:n)}),i(s,{brighter(e){return e=null==e?a:Math.pow(a,e),new j(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?o:Math.pow(o,e),new j(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n
return new N(B(e>=240?e-240:e+120,i,n),B(e,i,n),B(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new j(D(this.h),M(this.s),M(this.l),A(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=A(this.opacity)
return`${1===e?"hsl(":"hsla("}${D(this.h)}, ${100*M(this.s)}%, ${100*M(this.l)}%${1===e?")":`, ${e})`}`}}))
const L=e=>()=>e
function z(e,t){var r=t-e
return r?function(e,t){return function(r){return e+r*t}}(e,r):L(isNaN(e)?t:e)}const F=function e(t){var r=function(e){return 1==(e=+e)?z:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):L(isNaN(t)?r:t)}}(t)
function n(e,t){var n=r((e=E(e)).r,(t=E(t)).r),i=r(e.g,t.g),s=r(e.b,t.b),o=z(e.opacity,t.opacity)
return function(t){return e.r=n(t),e.g=i(t),e.b=s(t),e.opacity=o(t),e+""}}return n.gamma=e,n}(1)
function V(e){return function(t){var r,n,i=t.length,s=new Array(i),o=new Array(i),a=new Array(i)
for(r=0;r<i;++r)n=E(t[r]),s[r]=n.r||0,o[r]=n.g||0,a[r]=n.b||0
return s=e(s),o=e(o),a=e(a),n.opacity=1,function(e){return n.r=s(e),n.g=o(e),n.b=a(e),n+""}}}function $(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,s=new Array(i),o=new Array(n)
for(r=0;r<i;++r)s[r]=G(e[r],t[r])
for(;r<n;++r)o[r]=t[r]
return function(e){for(r=0;r<i;++r)o[r]=s[r](e)
return o}}function U(e,t){var r=new Date
return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}V((function(e){var t=e.length-1
return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],s=e[n+1],o=n>0?e[n-1]:2*i-s,a=n<t-1?e[n+2]:2*s-i
return R((r-n/t)*t,o,i,s,a)}})),V((function(e){var t=e.length
return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],s=e[n%t],o=e[(n+1)%t],a=e[(n+2)%t]
return R((r-n/t)*t,i,s,o,a)}}))
var H=r(59218)
function q(e,t){var r,n={},i={}
for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?n[r]=G(e[r],t[r]):i[r]=t[r]
return function(e){for(r in n)i[r]=n[r](e)
return i}}var W=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,K=new RegExp(W.source,"g")
function Z(e,t){var r,n,i,s=W.lastIndex=K.lastIndex=0,o=-1,a=[],l=[]
for(e+="",t+="";(r=W.exec(e))&&(n=K.exec(t));)(i=n.index)>s&&(i=t.slice(s,i),a[o]?a[o]+=i:a[++o]=i),(r=r[0])===(n=n[0])?a[o]?a[o]+=n:a[++o]=n:(a[++o]=null,l.push({i:o,x:(0,H.Z)(r,n)})),s=K.lastIndex
return s<t.length&&(i=t.slice(s),a[o]?a[o]+=i:a[++o]=i),a.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var r,n=0;n<t;++n)a[(r=l[n]).i]=r.x(e)
return a.join("")})}function J(e,t){t||(t=[])
var r,n=e?Math.min(t.length,e.length):0,i=t.slice()
return function(s){for(r=0;r<n;++r)i[r]=e[r]*(1-s)+t[r]*s
return i}}function G(e,t){var r,n,i=typeof t
return null==t||"boolean"===i?L(t):("number"===i?H.Z:"string"===i?(r=S(t))?(t=r,F):Z:t instanceof S?F:t instanceof Date?U:(n=t,!ArrayBuffer.isView(n)||n instanceof DataView?Array.isArray(t)?$:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?q:H.Z:J))(e,t)}},92879:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>o,x:()=>l})
var n=r(54038),i=r(94523),s=r(76574)
function o(){var e,t,r=(0,s.Z)().unknown(void 0),a=r.domain,l=r.range,c=0,u=1,h=!1,d=0,p=0,f=.5
function m(){var r=a().length,i=u<c,s=i?u:c,o=i?c:u
e=(o-s)/Math.max(1,r-d+2*p),h&&(e=Math.floor(e)),s+=(o-s-e*(r-d))*f,t=e*(1-d),h&&(s=Math.round(s),t=Math.round(t))
var m=(0,n.Z)(r).map((function(t){return s+e*t}))
return l(i?m.reverse():m)}return delete r.unknown,r.domain=function(e){return arguments.length?(a(e),m()):a()},r.range=function(e){return arguments.length?([c,u]=e,c=+c,u=+u,m()):[c,u]},r.rangeRound=function(e){return[c,u]=e,c=+c,u=+u,h=!0,m()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(h=!!e,m()):h},r.padding=function(e){return arguments.length?(d=Math.min(1,p=+e),m()):d},r.paddingInner=function(e){return arguments.length?(d=Math.min(1,e),m()):d},r.paddingOuter=function(e){return arguments.length?(p=+e,m()):p},r.align=function(e){return arguments.length?(f=Math.max(0,Math.min(1,e)),m()):f},r.copy=function(){return o(a(),[c,u]).round(h).paddingInner(d).paddingOuter(p).align(f)},i.o.apply(m(),arguments)}function a(e){var t=e.copy
return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return a(t())},e}function l(){return a(o.apply(null,arguments).paddingInner(1))}},9134:(e,t,r)=>{"use strict"
r.d(t,{JG:()=>p,ZP:()=>m,yR:()=>c,l4:()=>f})
var n=r(14594),i=r(93877),s=r(59218),o=r(43668),a=r(63582),l=[0,1]
function c(e){return e}function u(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:(r=isNaN(t)?NaN:.5,function(){return r})
var r}function h(e,t,r){var n=e[0],i=e[1],s=t[0],o=t[1]
return i<n?(n=u(i,n),s=r(o,s)):(n=u(n,i),s=r(s,o)),function(e){return s(n(e))}}function d(e,t,r){var i=Math.min(e.length,t.length)-1,s=new Array(i),o=new Array(i),a=-1
for(e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<i;)s[a]=u(e[a],e[a+1]),o[a]=r(t[a],t[a+1])
return function(t){var r=(0,n.ZP)(e,t,1,i)-1
return o[r](s[r](t))}}function p(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function f(){var e,t,r,n,u,p,f=l,m=l,g=i.Z,y=c
function v(){var e,t,r,i=Math.min(f.length,m.length)
return y!==c&&(e=f[0],t=f[i-1],e>t&&(r=e,e=t,t=r),y=function(r){return Math.max(e,Math.min(t,r))}),n=i>2?d:h,u=p=null,b}function b(t){return null==t||isNaN(t=+t)?r:(u||(u=n(f.map(e),m,g)))(e(y(t)))}return b.invert=function(r){return y(t((p||(p=n(m,f.map(e),s.Z)))(r)))},b.domain=function(e){return arguments.length?(f=Array.from(e,a.Z),v()):f.slice()},b.range=function(e){return arguments.length?(m=Array.from(e),v()):m.slice()},b.rangeRound=function(e){return m=Array.from(e),g=o.Z,v()},b.clamp=function(e){return arguments.length?(y=!!e||c,v()):y!==c},b.interpolate=function(e){return arguments.length?(g=e,v()):g},b.unknown=function(e){return arguments.length?(r=e,b):r},function(r,n){return e=r,t=n,v()}}function m(){return f()(c,c)}},87273:(e,t,r)=>{"use strict"
r.d(t,{ZP:()=>p,QA:()=>f,ld:()=>g,Km:()=>y,UM:()=>m})
var n=r(93877),i=r(43668),s=r(9134),o=r(94523),a=r(57828),l=r(17387),c=r(25784),u=r(23552),h=r(54927)
function d(){var e,t,r,o,a,l,c,u=0,h=.5,d=1,p=1,f=s.yR,m=!1
function g(e){return isNaN(e=+e)?c:(e=.5+((e=+l(e))-t)*(p*e<p*t?o:a),f(m?Math.max(0,Math.min(1,e)):e))}function y(e){return function(t){var r,i,s
return arguments.length?([r,i,s]=t,f=function(e,t){void 0===t&&(t=e,e=n.Z)
for(var r=0,i=t.length-1,s=t[0],o=new Array(i<0?0:i);r<i;)o[r]=e(s,s=t[++r])
return function(e){var t=Math.max(0,Math.min(i-1,Math.floor(e*=i)))
return o[t](e-t)}}(e,[r,i,s]),g):[f(0),f(.5),f(1)]}}return g.domain=function(n){return arguments.length?([u,h,d]=n,e=l(u=+u),t=l(h=+h),r=l(d=+d),o=e===t?0:.5/(t-e),a=t===r?0:.5/(r-t),p=t<e?-1:1,g):[u,h,d]},g.clamp=function(e){return arguments.length?(m=!!e,g):m},g.interpolator=function(e){return arguments.length?(f=e,g):f},g.range=y(n.Z),g.rangeRound=y(i.Z),g.unknown=function(e){return arguments.length?(c=e,g):c},function(n){return l=n,e=n(u),t=n(h),r=n(d),o=e===t?0:.5/(t-e),a=t===r?0:.5/(r-t),p=t<e?-1:1,g}}function p(){var e=(0,a.Q)(d()(s.yR))
return e.copy=function(){return(0,c.JG)(e,p())},o.O.apply(e,arguments)}function f(){var e=(0,l.Q)(d()).domain([.1,1,10])
return e.copy=function(){return(0,c.JG)(e,f()).base(e.base())},o.O.apply(e,arguments)}function m(){var e=(0,u.P)(d())
return e.copy=function(){return(0,c.JG)(e,m()).constant(e.constant())},o.O.apply(e,arguments)}function g(){var e=(0,h.Hh)(d())
return e.copy=function(){return(0,c.JG)(e,g()).exponent(e.exponent())},o.O.apply(e,arguments)}function y(){return g.apply(null,arguments).exponent(.5)}},6454:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>s})
var n=r(57828),i=r(63582)
function s(e){var t
function r(e){return null==e||isNaN(e=+e)?t:e}return r.invert=r,r.domain=r.range=function(t){return arguments.length?(e=Array.from(t,i.Z),r):e.slice()},r.unknown=function(e){return arguments.length?(t=e,r):t},r.copy=function(){return s(e).unknown(t)},e=arguments.length?Array.from(e,i.Z):[0,1],(0,n.Q)(r)}},86798:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{scaleBand:()=>n.Z,scaleDiverging:()=>x.ZP,scaleDivergingLog:()=>x.QA,scaleDivergingPow:()=>x.ld,scaleDivergingSqrt:()=>x.Km,scaleDivergingSymlog:()=>x.UM,scaleIdentity:()=>i.Z,scaleImplicit:()=>l.O,scaleLinear:()=>s.Z,scaleLog:()=>o.Z,scaleOrdinal:()=>l.Z,scalePoint:()=>n.x,scalePow:()=>c.ZP,scaleQuantile:()=>h.Z,scaleQuantize:()=>d.Z,scaleRadial:()=>u.Z,scaleSequential:()=>g.ZP,scaleSequentialLog:()=>g.S5,scaleSequentialPow:()=>g.UN,scaleSequentialQuantile:()=>k,scaleSequentialSqrt:()=>g.L2,scaleSequentialSymlog:()=>g.cV,scaleSqrt:()=>c._b,scaleSymlog:()=>a.Z,scaleThreshold:()=>p.Z,scaleTime:()=>f.Z,scaleUtc:()=>m.Z,tickFormat:()=>E.Z})
var n=r(92879),i=r(6454),s=r(57828),o=r(17387),a=r(23552),l=r(76574),c=r(54927),u=r(55010),h=r(98385),d=r(62781),p=r(33366),f=r(14766),m=r(91695),g=r(25784),y=r(14594),v=r(36188),b=r(19385),w=r(9134),S=r(94523)
function k(){var e=[],t=w.yR
function r(r){if(null!=r&&!isNaN(r=+r))return t(((0,y.ZP)(e,r,1)-1)/(e.length-1))}return r.domain=function(t){if(!arguments.length)return e.slice()
e=[]
for(let r of t)null==r||isNaN(r=+r)||e.push(r)
return e.sort(v.Z),r},r.interpolator=function(e){return arguments.length?(t=e,r):t},r.range=function(){return e.map(((r,n)=>t(n/(e.length-1))))},r.quantiles=function(t){return Array.from({length:t+1},((r,n)=>(0,b.ZP)(e,n/t)))},r.copy=function(){return k(t).domain(e)},S.O.apply(r,arguments)}var x=r(87273),E=r(43031)},94523:(e,t,r)=>{"use strict"
function n(e,t){switch(arguments.length){case 0:break
case 1:this.range(e)
break
default:this.range(t).domain(e)}return this}function i(e,t){switch(arguments.length){case 0:break
case 1:"function"==typeof e?this.interpolator(e):this.range(e)
break
default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}r.d(t,{O:()=>i,o:()=>n})},57828:(e,t,r)=>{"use strict"
r.d(t,{Q:()=>a,Z:()=>l})
var n=r(71095),i=r(9134),s=r(94523),o=r(43031)
function a(e){var t=e.domain
return e.ticks=function(e){var r=t()
return(0,n.ZP)(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t()
return(0,o.Z)(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10)
var i,s,o=t(),a=0,l=o.length-1,c=o[a],u=o[l],h=10
for(u<c&&(s=c,c=u,u=s,s=a,a=l,l=s);h-- >0;){if((s=(0,n.G9)(c,u,r))===i)return o[a]=c,o[l]=u,t(o)
if(s>0)c=Math.floor(c/s)*s,u=Math.ceil(u/s)*s
else{if(!(s<0))break
c=Math.ceil(c*s)/s,u=Math.floor(u*s)/s}i=s}return e},e}function l(){var e=(0,i.ZP)()
return e.copy=function(){return(0,i.JG)(e,l())},s.o.apply(e,arguments),a(e)}},17387:(e,t,r)=>{"use strict"
r.d(t,{Q:()=>m,Z:()=>g})
var n=r(71095),i=r(32079),s=r(90854),o=r(37464),a=r(9134),l=r(94523)
function c(e){return Math.log(e)}function u(e){return Math.exp(e)}function h(e){return-Math.log(-e)}function d(e){return-Math.exp(-e)}function p(e){return isFinite(e)?+("1e"+e):e<0?0:e}function f(e){return(t,r)=>-e(-t,r)}function m(e){const t=e(c,u),r=t.domain
let a,l,m=10
function g(){return a=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(m),l=function(e){return 10===e?p:e===Math.E?Math.exp:t=>Math.pow(e,t)}(m),r()[0]<0?(a=f(a),l=f(l),e(h,d)):e(c,u),t}return t.base=function(e){return arguments.length?(m=+e,g()):m},t.domain=function(e){return arguments.length?(r(e),g()):r()},t.ticks=e=>{const t=r()
let i=t[0],s=t[t.length-1]
const o=s<i
o&&([i,s]=[s,i])
let c,u,h=a(i),d=a(s)
const p=null==e?10:+e
let f=[]
if(!(m%1)&&d-h<p){if(h=Math.floor(h),d=Math.ceil(d),i>0){for(;h<=d;++h)for(c=1;c<m;++c)if(u=h<0?c/l(-h):c*l(h),!(u<i)){if(u>s)break
f.push(u)}}else for(;h<=d;++h)for(c=m-1;c>=1;--c)if(u=h>0?c/l(-h):c*l(h),!(u<i)){if(u>s)break
f.push(u)}2*f.length<p&&(f=(0,n.ZP)(i,s,p))}else f=(0,n.ZP)(h,d,Math.min(d-h,p)).map(l)
return o?f.reverse():f},t.tickFormat=(e,r)=>{if(null==e&&(e=10),null==r&&(r=10===m?"s":","),"function"!=typeof r&&(m%1||null!=(r=(0,i.Z)(r)).precision||(r.trim=!0),r=(0,s.WU)(r)),e===1/0)return r
const n=Math.max(1,m*e/t.ticks().length)
return e=>{let t=e/l(Math.round(a(e)))
return t*m<m-.5&&(t*=m),t<=n?r(e):""}},t.nice=()=>r((0,o.Z)(r(),{floor:e=>l(Math.floor(a(e))),ceil:e=>l(Math.ceil(a(e)))})),t}function g(){const e=m((0,a.l4)()).domain([1,10])
return e.copy=()=>(0,a.JG)(e,g()).base(e.base()),l.o.apply(e,arguments),e}},37464:(e,t,r)=>{"use strict"
function n(e,t){var r,n=0,i=(e=e.slice()).length-1,s=e[n],o=e[i]
return o<s&&(r=n,n=i,i=r,r=s,s=o,o=r),e[n]=t.floor(s),e[i]=t.ceil(o),e}r.d(t,{Z:()=>n})},63582:(e,t,r)=>{"use strict"
function n(e){return+e}r.d(t,{Z:()=>n})},76574:(e,t,r)=>{"use strict"
r.d(t,{O:()=>s,Z:()=>o})
var n=r(1487),i=r(94523)
const s=Symbol("implicit")
function o(){var e=new n.L,t=[],r=[],a=s
function l(n){let i=e.get(n)
if(void 0===i){if(a!==s)return a
e.set(n,i=t.push(n)-1)}return r[i%r.length]}return l.domain=function(r){if(!arguments.length)return t.slice()
t=[],e=new n.L
for(const n of r)e.has(n)||e.set(n,t.push(n)-1)
return l},l.range=function(e){return arguments.length?(r=Array.from(e),l):r.slice()},l.unknown=function(e){return arguments.length?(a=e,l):a},l.copy=function(){return o(t,r).unknown(a)},i.o.apply(l,arguments),l}},54927:(e,t,r)=>{"use strict"
r.d(t,{Hh:()=>c,ZP:()=>u,_b:()=>h})
var n=r(57828),i=r(9134),s=r(94523)
function o(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function a(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function l(e){return e<0?-e*e:e*e}function c(e){var t=e(i.yR,i.yR),r=1
return t.exponent=function(t){return arguments.length?1==(r=+t)?e(i.yR,i.yR):.5===r?e(a,l):e(o(r),o(1/r)):r},(0,n.Q)(t)}function u(){var e=c((0,i.l4)())
return e.copy=function(){return(0,i.JG)(e,u()).exponent(e.exponent())},s.o.apply(e,arguments),e}function h(){return u.apply(null,arguments).exponent(.5)}},98385:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>a})
var n=r(19385),i=r(14594),s=r(36188),o=r(94523)
function a(){var e,t=[],r=[],l=[]
function c(){var e=0,i=Math.max(1,r.length)
for(l=new Array(i-1);++e<i;)l[e-1]=(0,n.s7)(t,e/i)
return u}function u(t){return null==t||isNaN(t=+t)?e:r[(0,i.ZP)(l,t)]}return u.invertExtent=function(e){var n=r.indexOf(e)
return n<0?[NaN,NaN]:[n>0?l[n-1]:t[0],n<l.length?l[n]:t[t.length-1]]},u.domain=function(e){if(!arguments.length)return t.slice()
t=[]
for(let r of e)null==r||isNaN(r=+r)||t.push(r)
return t.sort(s.Z),c()},u.range=function(e){return arguments.length?(r=Array.from(e),c()):r.slice()},u.unknown=function(t){return arguments.length?(e=t,u):e},u.quantiles=function(){return l.slice()},u.copy=function(){return a().domain(t).range(r).unknown(e)},o.o.apply(u,arguments)}},62781:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>o})
var n=r(14594),i=r(57828),s=r(94523)
function o(){var e,t=0,r=1,a=1,l=[.5],c=[0,1]
function u(t){return null!=t&&t<=t?c[(0,n.ZP)(l,t,0,a)]:e}function h(){var e=-1
for(l=new Array(a);++e<a;)l[e]=((e+1)*r-(e-a)*t)/(a+1)
return u}return u.domain=function(e){return arguments.length?([t,r]=e,t=+t,r=+r,h()):[t,r]},u.range=function(e){return arguments.length?(a=(c=Array.from(e)).length-1,h()):c.slice()},u.invertExtent=function(e){var n=c.indexOf(e)
return n<0?[NaN,NaN]:n<1?[t,l[0]]:n>=a?[l[a-1],r]:[l[n-1],l[n]]},u.unknown=function(t){return arguments.length?(e=t,u):u},u.thresholds=function(){return l.slice()},u.copy=function(){return o().domain([t,r]).range(c).unknown(e)},s.o.apply((0,i.Q)(u),arguments)}},55010:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>l})
var n=r(9134),i=r(94523),s=r(57828),o=r(63582)
function a(e){return Math.sign(e)*e*e}function l(){var e,t=(0,n.ZP)(),r=[0,1],c=!1
function u(r){var n=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(t(r))
return isNaN(n)?e:c?Math.round(n):n}return u.invert=function(e){return t.invert(a(e))},u.domain=function(e){return arguments.length?(t.domain(e),u):t.domain()},u.range=function(e){return arguments.length?(t.range((r=Array.from(e,o.Z)).map(a)),u):r.slice()},u.rangeRound=function(e){return u.range(e).round(!0)},u.round=function(e){return arguments.length?(c=!!e,u):c},u.clamp=function(e){return arguments.length?(t.clamp(e),u):t.clamp()},u.unknown=function(t){return arguments.length?(e=t,u):e},u.copy=function(){return l(t.domain(),r).round(c).clamp(t.clamp()).unknown(e)},i.o.apply(u,arguments),(0,s.Q)(u)}},25784:(e,t,r)=>{"use strict"
r.d(t,{JG:()=>d,L2:()=>y,S5:()=>f,UN:()=>g,ZP:()=>p,cV:()=>m})
var n=r(93877),i=r(43668),s=r(9134),o=r(94523),a=r(57828),l=r(17387),c=r(23552),u=r(54927)
function h(){var e,t,r,o,a,l=0,c=1,u=s.yR,h=!1
function d(t){return null==t||isNaN(t=+t)?a:u(0===r?.5:(t=(o(t)-e)*r,h?Math.max(0,Math.min(1,t)):t))}function p(e){return function(t){var r,n
return arguments.length?([r,n]=t,u=e(r,n),d):[u(0),u(1)]}}return d.domain=function(n){return arguments.length?([l,c]=n,e=o(l=+l),t=o(c=+c),r=e===t?0:1/(t-e),d):[l,c]},d.clamp=function(e){return arguments.length?(h=!!e,d):h},d.interpolator=function(e){return arguments.length?(u=e,d):u},d.range=p(n.Z),d.rangeRound=p(i.Z),d.unknown=function(e){return arguments.length?(a=e,d):a},function(n){return o=n,e=n(l),t=n(c),r=e===t?0:1/(t-e),d}}function d(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function p(){var e=(0,a.Q)(h()(s.yR))
return e.copy=function(){return d(e,p())},o.O.apply(e,arguments)}function f(){var e=(0,l.Q)(h()).domain([1,10])
return e.copy=function(){return d(e,f()).base(e.base())},o.O.apply(e,arguments)}function m(){var e=(0,c.P)(h())
return e.copy=function(){return d(e,m()).constant(e.constant())},o.O.apply(e,arguments)}function g(){var e=(0,u.Hh)(h())
return e.copy=function(){return d(e,g()).exponent(e.exponent())},o.O.apply(e,arguments)}function y(){return g.apply(null,arguments).exponent(.5)}},23552:(e,t,r)=>{"use strict"
r.d(t,{P:()=>l,Z:()=>c})
var n=r(57828),i=r(9134),s=r(94523)
function o(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function a(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function l(e){var t=1,r=e(o(t),a(t))
return r.constant=function(r){return arguments.length?e(o(t=+r),a(t)):t},(0,n.Q)(r)}function c(){var e=l((0,i.l4)())
return e.copy=function(){return(0,i.JG)(e,c()).constant(e.constant())},s.o.apply(e,arguments)}},33366:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>s})
var n=r(14594),i=r(94523)
function s(){var e,t=[.5],r=[0,1],o=1
function a(i){return null!=i&&i<=i?r[(0,n.ZP)(t,i,0,o)]:e}return a.domain=function(e){return arguments.length?(t=Array.from(e),o=Math.min(t.length,r.length-1),a):t.slice()},a.range=function(e){return arguments.length?(r=Array.from(e),o=Math.min(t.length,r.length-1),a):r.slice()},a.invertExtent=function(e){var n=r.indexOf(e)
return[t[n-1],t[n]]},a.unknown=function(t){return arguments.length?(e=t,a):e},a.copy=function(){return s().domain(t).range(r).unknown(e)},i.o.apply(a,arguments)}},43031:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>c})
var n=r(71095),i=r(32079),s=r(79834),o=r(90854),a=r(31683),l=r(15329)
function c(e,t,r,c){var u,h=(0,n.ly)(e,t,r)
switch((c=(0,i.Z)(null==c?",f":c)).type){case"s":var d=Math.max(Math.abs(e),Math.abs(t))
return null!=c.precision||isNaN(u=(0,s.Z)(h,d))||(c.precision=u),(0,o.jH)(c,d)
case"":case"e":case"g":case"p":case"r":null!=c.precision||isNaN(u=(0,a.Z)(h,Math.max(Math.abs(e),Math.abs(t))))||(c.precision=u-("e"===c.type))
break
case"f":case"%":null!=c.precision||isNaN(u=(0,l.Z)(h))||(c.precision=u-2*("%"===c.type))}return(0,o.WU)(c)}},14766:(e,t,r)=>{"use strict"
r.d(t,{Y:()=>y,Z:()=>v})
var n=r(64693),i=r(71165),s=r(57276),o=r(39515),a=r(7597),l=r(17989),c=r(99793),u=r(9618),h=r(81957),d=r(9134),p=r(94523),f=r(37464)
function m(e){return new Date(e)}function g(e){return e instanceof Date?+e:+new Date(+e)}function y(e,t,r,n,i,s,o,a,l,c){var u=(0,d.ZP)(),h=u.invert,p=u.domain,v=c(".%L"),b=c(":%S"),w=c("%I:%M"),S=c("%I %p"),k=c("%a %d"),x=c("%b %d"),E=c("%B"),N=c("%Y")
function _(e){return(l(e)<e?v:a(e)<e?b:o(e)<e?w:s(e)<e?S:n(e)<e?i(e)<e?k:x:r(e)<e?E:N)(e)}return u.invert=function(e){return new Date(h(e))},u.domain=function(e){return arguments.length?p(Array.from(e,g)):p().map(m)},u.ticks=function(t){var r=p()
return e(r[0],r[r.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?_:c(t)},u.nice=function(e){var r=p()
return e&&"function"==typeof e.range||(e=t(r[0],r[r.length-1],null==e?10:e)),e?p((0,f.Z)(r,e)):u},u.copy=function(){return(0,d.JG)(u,y(e,t,r,n,i,s,o,a,l,c))},u}function v(){return p.o.apply(y(n.jK,n._g,i.jB,s.F0,o.Zy,a.rr,l.WQ,c.Z_,u.E,h.i$).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}},91695:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>f})
var n=r(64693),i=r(71165),s=r(57276),o=r(39515),a=r(7597),l=r(17989),c=r(99793),u=r(9618),h=r(81957),d=r(14766),p=r(94523)
function f(){return p.o.apply((0,d.Y)(n.WG,n.jo,i.ol,s.me,o.pI,a.AN,l.lM,c.rz,u.E,h.g0).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}},16545:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{create:()=>ye,creator:()=>l,local:()=>be,matcher:()=>f,namespace:()=>s,namespaces:()=>i,pointer:()=>ke,pointers:()=>xe,select:()=>ge,selectAll:()=>Ee,selection:()=>me,selector:()=>u,selectorAll:()=>p,style:()=>R,window:()=>j})
var n="http://www.w3.org/1999/xhtml"
const i={svg:"http://www.w3.org/2000/svg",xhtml:n,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}
function s(e){var t=e+="",r=t.indexOf(":")
return r>=0&&"xmlns"!==(t=e.slice(0,r))&&(e=e.slice(r+1)),i.hasOwnProperty(t)?{space:i[t],local:e}:e}function o(e){return function(){var t=this.ownerDocument,r=this.namespaceURI
return r===n&&t.documentElement.namespaceURI===n?t.createElement(e):t.createElementNS(r,e)}}function a(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function l(e){var t=s(e)
return(t.local?a:o)(t)}function c(){}function u(e){return null==e?c:function(){return this.querySelector(e)}}function h(e){return null==e?[]:Array.isArray(e)?e:Array.from(e)}function d(){return[]}function p(e){return null==e?d:function(){return this.querySelectorAll(e)}}function f(e){return function(){return this.matches(e)}}function m(e){return function(t){return t.matches(e)}}var g=Array.prototype.find
function y(){return this.firstElementChild}var v=Array.prototype.filter
function b(){return Array.from(this.children)}function w(e){return new Array(e.length)}function S(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function k(e,t,r,n,i,s){for(var o,a=0,l=t.length,c=s.length;a<c;++a)(o=t[a])?(o.__data__=s[a],n[a]=o):r[a]=new S(e,s[a])
for(;a<l;++a)(o=t[a])&&(i[a]=o)}function x(e,t,r,n,i,s,o){var a,l,c,u=new Map,h=t.length,d=s.length,p=new Array(h)
for(a=0;a<h;++a)(l=t[a])&&(p[a]=c=o.call(l,l.__data__,a,t)+"",u.has(c)?i[a]=l:u.set(c,l))
for(a=0;a<d;++a)c=o.call(e,s[a],a,s)+"",(l=u.get(c))?(n[a]=l,l.__data__=s[a],u.delete(c)):r[a]=new S(e,s[a])
for(a=0;a<h;++a)(l=t[a])&&u.get(p[a])===l&&(i[a]=l)}function E(e){return e.__data__}function N(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function _(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function C(e){return function(){this.removeAttribute(e)}}function A(e){return function(){this.removeAttributeNS(e.space,e.local)}}function O(e,t){return function(){this.setAttribute(e,t)}}function P(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function T(e,t){return function(){var r=t.apply(this,arguments)
null==r?this.removeAttribute(e):this.setAttribute(e,r)}}function I(e,t){return function(){var r=t.apply(this,arguments)
null==r?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,r)}}function j(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function D(e){return function(){this.style.removeProperty(e)}}function M(e,t,r){return function(){this.style.setProperty(e,t,r)}}function B(e,t,r){return function(){var n=t.apply(this,arguments)
null==n?this.style.removeProperty(e):this.style.setProperty(e,n,r)}}function R(e,t){return e.style.getPropertyValue(t)||j(e).getComputedStyle(e,null).getPropertyValue(t)}function L(e){return function(){delete this[e]}}function z(e,t){return function(){this[e]=t}}function F(e,t){return function(){var r=t.apply(this,arguments)
null==r?delete this[e]:this[e]=r}}function V(e){return e.trim().split(/^|\s+/)}function $(e){return e.classList||new U(e)}function U(e){this._node=e,this._names=V(e.getAttribute("class")||"")}function H(e,t){for(var r=$(e),n=-1,i=t.length;++n<i;)r.add(t[n])}function q(e,t){for(var r=$(e),n=-1,i=t.length;++n<i;)r.remove(t[n])}function W(e){return function(){H(this,e)}}function K(e){return function(){q(this,e)}}function Z(e,t){return function(){(t.apply(this,arguments)?H:q)(this,e)}}function J(){this.textContent=""}function G(e){return function(){this.textContent=e}}function Y(e){return function(){var t=e.apply(this,arguments)
this.textContent=null==t?"":t}}function X(){this.innerHTML=""}function Q(e){return function(){this.innerHTML=e}}function ee(e){return function(){var t=e.apply(this,arguments)
this.innerHTML=null==t?"":t}}function te(){this.nextSibling&&this.parentNode.appendChild(this)}function re(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ne(){return null}function ie(){var e=this.parentNode
e&&e.removeChild(this)}function se(){var e=this.cloneNode(!1),t=this.parentNode
return t?t.insertBefore(e,this.nextSibling):e}function oe(){var e=this.cloneNode(!0),t=this.parentNode
return t?t.insertBefore(e,this.nextSibling):e}function ae(e){return function(){var t=this.__on
if(t){for(var r,n=0,i=-1,s=t.length;n<s;++n)r=t[n],e.type&&r.type!==e.type||r.name!==e.name?t[++i]=r:this.removeEventListener(r.type,r.listener,r.options);++i?t.length=i:delete this.__on}}}function le(e,t,r){return function(){var n,i=this.__on,s=function(e){return function(t){e.call(this,t,this.__data__)}}(t)
if(i)for(var o=0,a=i.length;o<a;++o)if((n=i[o]).type===e.type&&n.name===e.name)return this.removeEventListener(n.type,n.listener,n.options),this.addEventListener(n.type,n.listener=s,n.options=r),void(n.value=t)
this.addEventListener(e.type,s,r),n={type:e.type,name:e.name,value:t,listener:s,options:r},i?i.push(n):this.__on=[n]}}function ce(e,t,r){var n=j(e),i=n.CustomEvent
"function"==typeof i?i=new i(t,r):(i=n.document.createEvent("Event"),r?(i.initEvent(t,r.bubbles,r.cancelable),i.detail=r.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function ue(e,t){return function(){return ce(this,e,t)}}function he(e,t){return function(){return ce(this,e,t.apply(this,arguments))}}S.prototype={constructor:S,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}},U.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e)
t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}}
var de=[null]
function pe(e,t){this._groups=e,this._parents=t}function fe(){return new pe([[document.documentElement]],de)}pe.prototype=fe.prototype={constructor:pe,select:function(e){"function"!=typeof e&&(e=u(e))
for(var t=this._groups,r=t.length,n=new Array(r),i=0;i<r;++i)for(var s,o,a=t[i],l=a.length,c=n[i]=new Array(l),h=0;h<l;++h)(s=a[h])&&(o=e.call(s,s.__data__,h,a))&&("__data__"in s&&(o.__data__=s.__data__),c[h]=o)
return new pe(n,this._parents)},selectAll:function(e){e="function"==typeof e?function(e){return function(){return h(e.apply(this,arguments))}}(e):p(e)
for(var t=this._groups,r=t.length,n=[],i=[],s=0;s<r;++s)for(var o,a=t[s],l=a.length,c=0;c<l;++c)(o=a[c])&&(n.push(e.call(o,o.__data__,c,a)),i.push(o))
return new pe(n,i)},selectChild:function(e){return this.select(null==e?y:function(e){return function(){return g.call(this.children,e)}}("function"==typeof e?e:m(e)))},selectChildren:function(e){return this.selectAll(null==e?b:function(e){return function(){return v.call(this.children,e)}}("function"==typeof e?e:m(e)))},filter:function(e){"function"!=typeof e&&(e=f(e))
for(var t=this._groups,r=t.length,n=new Array(r),i=0;i<r;++i)for(var s,o=t[i],a=o.length,l=n[i]=[],c=0;c<a;++c)(s=o[c])&&e.call(s,s.__data__,c,o)&&l.push(s)
return new pe(n,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,E)
var r,n=t?x:k,i=this._parents,s=this._groups
"function"!=typeof e&&(r=e,e=function(){return r})
for(var o=s.length,a=new Array(o),l=new Array(o),c=new Array(o),u=0;u<o;++u){var h=i[u],d=s[u],p=d.length,f=N(e.call(h,h&&h.__data__,u,i)),m=f.length,g=l[u]=new Array(m),y=a[u]=new Array(m)
n(h,d,g,y,c[u]=new Array(p),f,t)
for(var v,b,w=0,S=0;w<m;++w)if(v=g[w]){for(w>=S&&(S=w+1);!(b=y[S])&&++S<m;);v._next=b||null}}return(a=new pe(a,i))._enter=l,a._exit=c,a},enter:function(){return new pe(this._enter||this._groups.map(w),this._parents)},exit:function(){return new pe(this._exit||this._groups.map(w),this._parents)},join:function(e,t,r){var n=this.enter(),i=this,s=this.exit()
return"function"==typeof e?(n=e(n))&&(n=n.selection()):n=n.append(e+""),null!=t&&(i=t(i))&&(i=i.selection()),null==r?s.remove():r(s),n&&i?n.merge(i).order():i},merge:function(e){for(var t=e.selection?e.selection():e,r=this._groups,n=t._groups,i=r.length,s=n.length,o=Math.min(i,s),a=new Array(i),l=0;l<o;++l)for(var c,u=r[l],h=n[l],d=u.length,p=a[l]=new Array(d),f=0;f<d;++f)(c=u[f]||h[f])&&(p[f]=c)
for(;l<i;++l)a[l]=r[l]
return new pe(a,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,r=e.length;++t<r;)for(var n,i=e[t],s=i.length-1,o=i[s];--s>=0;)(n=i[s])&&(o&&4^n.compareDocumentPosition(o)&&o.parentNode.insertBefore(n,o),o=n)
return this},sort:function(e){function t(t,r){return t&&r?e(t.__data__,r.__data__):!t-!r}e||(e=_)
for(var r=this._groups,n=r.length,i=new Array(n),s=0;s<n;++s){for(var o,a=r[s],l=a.length,c=i[s]=new Array(l),u=0;u<l;++u)(o=a[u])&&(c[u]=o)
c.sort(t)}return new pe(i,this._parents).order()},call:function(){var e=arguments[0]
return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,r=e.length;t<r;++t)for(var n=e[t],i=0,s=n.length;i<s;++i){var o=n[i]
if(o)return o}return null},size:function(){let e=0
for(const t of this)++e
return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,r=0,n=t.length;r<n;++r)for(var i,s=t[r],o=0,a=s.length;o<a;++o)(i=s[o])&&e.call(i,i.__data__,o,s)
return this},attr:function(e,t){var r=s(e)
if(arguments.length<2){var n=this.node()
return r.local?n.getAttributeNS(r.space,r.local):n.getAttribute(r)}return this.each((null==t?r.local?A:C:"function"==typeof t?r.local?I:T:r.local?P:O)(r,t))},style:function(e,t,r){return arguments.length>1?this.each((null==t?D:"function"==typeof t?B:M)(e,t,null==r?"":r)):R(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?L:"function"==typeof t?F:z)(e,t)):this.node()[e]},classed:function(e,t){var r=V(e+"")
if(arguments.length<2){for(var n=$(this.node()),i=-1,s=r.length;++i<s;)if(!n.contains(r[i]))return!1
return!0}return this.each(("function"==typeof t?Z:t?W:K)(r,t))},text:function(e){return arguments.length?this.each(null==e?J:("function"==typeof e?Y:G)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?X:("function"==typeof e?ee:Q)(e)):this.node().innerHTML},raise:function(){return this.each(te)},lower:function(){return this.each(re)},append:function(e){var t="function"==typeof e?e:l(e)
return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var r="function"==typeof e?e:l(e),n=null==t?ne:"function"==typeof t?t:u(t)
return this.select((function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)}))},remove:function(){return this.each(ie)},clone:function(e){return this.select(e?oe:se)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,r){var n,i,s=function(e){return e.trim().split(/^|\s+/).map((function(e){var t="",r=e.indexOf(".")
return r>=0&&(t=e.slice(r+1),e=e.slice(0,r)),{type:e,name:t}}))}(e+""),o=s.length
if(!(arguments.length<2)){for(a=t?le:ae,n=0;n<o;++n)this.each(a(s[n],t,r))
return this}var a=this.node().__on
if(a)for(var l,c=0,u=a.length;c<u;++c)for(n=0,l=a[c];n<o;++n)if((i=s[n]).type===l.type&&i.name===l.name)return l.value},dispatch:function(e,t){return this.each(("function"==typeof t?he:ue)(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,r=e.length;t<r;++t)for(var n,i=e[t],s=0,o=i.length;s<o;++s)(n=i[s])&&(yield n)}}
const me=fe
function ge(e){return"string"==typeof e?new pe([[document.querySelector(e)]],[document.documentElement]):new pe([[e]],de)}function ye(e){return ge(l(e).call(document.documentElement))}var ve=0
function be(){return new we}function we(){this._="@"+(++ve).toString(36)}function Se(e){let t
for(;t=e.sourceEvent;)e=t
return e}function ke(e,t){if(e=Se(e),void 0===t&&(t=e.currentTarget),t){var r=t.ownerSVGElement||t
if(r.createSVGPoint){var n=r.createSVGPoint()
return n.x=e.clientX,n.y=e.clientY,[(n=n.matrixTransform(t.getScreenCTM().inverse())).x,n.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect()
return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}function xe(e,t){return e.target&&(e=Se(e),void 0===t&&(t=e.currentTarget),e=e.touches||[e]),Array.from(e,(e=>ke(e,t)))}function Ee(e){return"string"==typeof e?new pe([document.querySelectorAll(e)],[document.documentElement]):new pe([h(e)],de)}we.prototype=be.prototype={constructor:we,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return
return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}}},69992:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>d})
var n=r(36570),i=r(65016),s=r(9002)
function o(e){return e.innerRadius}function a(e){return e.outerRadius}function l(e){return e.startAngle}function c(e){return e.endAngle}function u(e){return e&&e.padAngle}function h(e,t,r,n,s,o,a){var l=e-r,c=t-n,u=(a?o:-o)/(0,i._b)(l*l+c*c),h=u*c,d=-u*l,p=e+h,f=t+d,m=r+h,g=n+d,y=(p+m)/2,v=(f+g)/2,b=m-p,w=g-f,S=b*b+w*w,k=s-o,x=p*g-m*f,E=(w<0?-1:1)*(0,i._b)((0,i.Fp)(0,k*k*S-x*x)),N=(x*w-b*E)/S,_=(-x*b-w*E)/S,C=(x*w+b*E)/S,A=(-x*b+w*E)/S,O=N-y,P=_-v,T=C-y,I=A-v
return O*O+P*P>T*T+I*I&&(N=C,_=A),{cx:N,cy:_,x01:-h,y01:-d,x11:N*(s/k-1),y11:_*(s/k-1)}}function d(){var e=o,t=a,r=(0,n.Z)(0),d=null,p=l,f=c,m=u,g=null,y=(0,s.d)(v)
function v(){var n,s,o=+e.apply(this,arguments),a=+t.apply(this,arguments),l=p.apply(this,arguments)-i.ou,c=f.apply(this,arguments)-i.ou,u=(0,i.Wn)(c-l),v=c>l
if(g||(g=n=y()),a<o&&(s=a,a=o,o=s),a>i.Ho)if(u>i.BZ-i.Ho)g.moveTo(a*(0,i.mC)(l),a*(0,i.O$)(l)),g.arc(0,0,a,l,c,!v),o>i.Ho&&(g.moveTo(o*(0,i.mC)(c),o*(0,i.O$)(c)),g.arc(0,0,o,c,l,v))
else{var b,w,S=l,k=c,x=l,E=c,N=u,_=u,C=m.apply(this,arguments)/2,A=C>i.Ho&&(d?+d.apply(this,arguments):(0,i._b)(o*o+a*a)),O=(0,i.VV)((0,i.Wn)(a-o)/2,+r.apply(this,arguments)),P=O,T=O
if(A>i.Ho){var I=(0,i.ZR)(A/o*(0,i.O$)(C)),j=(0,i.ZR)(A/a*(0,i.O$)(C));(N-=2*I)>i.Ho?(x+=I*=v?1:-1,E-=I):(N=0,x=E=(l+c)/2),(_-=2*j)>i.Ho?(S+=j*=v?1:-1,k-=j):(_=0,S=k=(l+c)/2)}var D=a*(0,i.mC)(S),M=a*(0,i.O$)(S),B=o*(0,i.mC)(E),R=o*(0,i.O$)(E)
if(O>i.Ho){var L,z=a*(0,i.mC)(k),F=a*(0,i.O$)(k),V=o*(0,i.mC)(x),$=o*(0,i.O$)(x)
if(u<i.pi)if(L=function(e,t,r,n,s,o,a,l){var c=r-e,u=n-t,h=a-s,d=l-o,p=d*c-h*u
if(!(p*p<i.Ho))return[e+(p=(h*(t-o)-d*(e-s))/p)*c,t+p*u]}(D,M,V,$,z,F,B,R)){var U=D-L[0],H=M-L[1],q=z-L[0],W=F-L[1],K=1/(0,i.O$)((0,i.Kh)((U*q+H*W)/((0,i._b)(U*U+H*H)*(0,i._b)(q*q+W*W)))/2),Z=(0,i._b)(L[0]*L[0]+L[1]*L[1])
P=(0,i.VV)(O,(o-Z)/(K-1)),T=(0,i.VV)(O,(a-Z)/(K+1))}else P=T=0}_>i.Ho?T>i.Ho?(b=h(V,$,D,M,a,T,v),w=h(z,F,B,R,a,T,v),g.moveTo(b.cx+b.x01,b.cy+b.y01),T<O?g.arc(b.cx,b.cy,T,(0,i.fv)(b.y01,b.x01),(0,i.fv)(w.y01,w.x01),!v):(g.arc(b.cx,b.cy,T,(0,i.fv)(b.y01,b.x01),(0,i.fv)(b.y11,b.x11),!v),g.arc(0,0,a,(0,i.fv)(b.cy+b.y11,b.cx+b.x11),(0,i.fv)(w.cy+w.y11,w.cx+w.x11),!v),g.arc(w.cx,w.cy,T,(0,i.fv)(w.y11,w.x11),(0,i.fv)(w.y01,w.x01),!v))):(g.moveTo(D,M),g.arc(0,0,a,S,k,!v)):g.moveTo(D,M),o>i.Ho&&N>i.Ho?P>i.Ho?(b=h(B,R,z,F,o,-P,v),w=h(D,M,V,$,o,-P,v),g.lineTo(b.cx+b.x01,b.cy+b.y01),P<O?g.arc(b.cx,b.cy,P,(0,i.fv)(b.y01,b.x01),(0,i.fv)(w.y01,w.x01),!v):(g.arc(b.cx,b.cy,P,(0,i.fv)(b.y01,b.x01),(0,i.fv)(b.y11,b.x11),!v),g.arc(0,0,o,(0,i.fv)(b.cy+b.y11,b.cx+b.x11),(0,i.fv)(w.cy+w.y11,w.cx+w.x11),v),g.arc(w.cx,w.cy,P,(0,i.fv)(w.y11,w.x11),(0,i.fv)(w.y01,w.x01),!v))):g.arc(0,0,o,E,x,v):g.lineTo(B,R)}else g.moveTo(0,0)
if(g.closePath(),n)return g=null,n+""||null}return v.centroid=function(){var r=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,n=(+p.apply(this,arguments)+ +f.apply(this,arguments))/2-i.pi/2
return[(0,i.mC)(n)*r,(0,i.O$)(n)*r]},v.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,n.Z)(+t),v):e},v.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,n.Z)(+e),v):t},v.cornerRadius=function(e){return arguments.length?(r="function"==typeof e?e:(0,n.Z)(+e),v):r},v.padRadius=function(e){return arguments.length?(d=null==e?null:"function"==typeof e?e:(0,n.Z)(+e),v):d},v.startAngle=function(e){return arguments.length?(p="function"==typeof e?e:(0,n.Z)(+e),v):p},v.endAngle=function(e){return arguments.length?(f="function"==typeof e?e:(0,n.Z)(+e),v):f},v.padAngle=function(e){return arguments.length?(m="function"==typeof e?e:(0,n.Z)(+e),v):m},v.context=function(e){return arguments.length?(g=null==e?null:e,v):g},v}},56702:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>c})
var n=r(79515),i=r(36570),s=r(33694),o=r(78268),a=r(9002),l=r(99114)
function c(e,t,r){var c=null,u=(0,i.Z)(!0),h=null,d=s.Z,p=null,f=(0,a.d)(m)
function m(i){var s,o,a,l,m,g=(i=(0,n.Z)(i)).length,y=!1,v=new Array(g),b=new Array(g)
for(null==h&&(p=d(m=f())),s=0;s<=g;++s){if(!(s<g&&u(l=i[s],s,i))===y)if(y=!y)o=s,p.areaStart(),p.lineStart()
else{for(p.lineEnd(),p.lineStart(),a=s-1;a>=o;--a)p.point(v[a],b[a])
p.lineEnd(),p.areaEnd()}y&&(v[s]=+e(l,s,i),b[s]=+t(l,s,i),p.point(c?+c(l,s,i):v[s],r?+r(l,s,i):b[s]))}if(m)return p=null,m+""||null}function g(){return(0,o.Z)().defined(u).curve(d).context(h)}return e="function"==typeof e?e:void 0===e?l.x:(0,i.Z)(+e),t="function"==typeof t?t:void 0===t?(0,i.Z)(0):(0,i.Z)(+t),r="function"==typeof r?r:void 0===r?l.y:(0,i.Z)(+r),m.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.Z)(+t),c=null,m):e},m.x0=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.Z)(+t),m):e},m.x1=function(e){return arguments.length?(c=null==e?null:"function"==typeof e?e:(0,i.Z)(+e),m):c},m.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.Z)(+e),r=null,m):t},m.y0=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.Z)(+e),m):t},m.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:(0,i.Z)(+e),m):r},m.lineX0=m.lineY0=function(){return g().x(e).y(t)},m.lineY1=function(){return g().x(e).y(r)},m.lineX1=function(){return g().x(c).y(t)},m.defined=function(e){return arguments.length?(u="function"==typeof e?e:(0,i.Z)(!!e),m):u},m.curve=function(e){return arguments.length?(d=e,null!=h&&(p=d(h)),m):d},m.context=function(e){return arguments.length?(null==e?h=p=null:p=d(h=e),m):h},m}},79515:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i,t:()=>n})
var n=Array.prototype.slice
function i(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}},36570:(e,t,r)=>{"use strict"
function n(e){return function(){return e}}r.d(t,{Z:()=>n})},49414:(e,t,r)=>{"use strict"
function n(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function i(e){this._context=e}function s(e){return new i(e)}r.d(t,{ZP:()=>s,fE:()=>i,xm:()=>n}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:n(this,this._x1,this._y1)
case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2
break
case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6)
default:n(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},62803:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>o})
var n=r(87434),i=r(49414)
function s(e){this._context=e}function o(e){return new s(e)}s.prototype={areaStart:n.Z,areaEnd:n.Z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath()
break
case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath()
break
case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t
break
case 1:this._point=2,this._x3=e,this._y3=t
break
case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6)
break
default:(0,i.xm)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},19992:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>s})
var n=r(49414)
function i(e){this._context=e}function s(e){return new i(e)}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1
break
case 1:this._point=2
break
case 2:this._point=3
var r=(this._x0+4*this._x1+e)/6,i=(this._y0+4*this._y1+t)/6
this._line?this._context.lineTo(r,i):this._context.moveTo(r,i)
break
case 3:this._point=4
default:(0,n.xm)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},34544:(e,t,r)=>{"use strict"
r.d(t,{BW:()=>a,hR:()=>l,sj:()=>o})
var n=r(70549)
class i{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2
default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}class s{constructor(e){this._context=e}lineStart(){this._point=0}lineEnd(){}point(e,t){if(e=+e,t=+t,0===this._point)this._point=1
else{const r=(0,n.Z)(this._x0,this._y0),i=(0,n.Z)(this._x0,this._y0=(this._y0+t)/2),s=(0,n.Z)(e,this._y0),o=(0,n.Z)(e,t)
this._context.moveTo(...r),this._context.bezierCurveTo(...i,...s,...o)}this._x0=e,this._y0=t}}function o(e){return new i(e,!0)}function a(e){return new i(e,!1)}function l(e){return new s(e)}},35871:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>s})
var n=r(49414)
function i(e,t){this._basis=new n.fE(e),this._beta=t}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,r=e.length-1
if(r>0)for(var n,i=e[0],s=t[0],o=e[r]-i,a=t[r]-s,l=-1;++l<=r;)n=l/r,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+n*o),this._beta*t[l]+(1-this._beta)*(s+n*a))
this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}}
const s=function e(t){function r(e){return 1===t?new n.fE(e):new i(e,t)}return r.beta=function(t){return e(+t)},r}(.85)},55068:(e,t,r)=>{"use strict"
function n(e,t,r){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-r),e._x2,e._y2)}function i(e,t){this._context=e,this._k=(1-t)/6}r.d(t,{ZP:()=>s,pC:()=>i,xm:()=>n}),i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2)
break
case 3:n(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2,this._x1=e,this._y1=t
break
case 2:this._point=3
default:n(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}}
const s=function e(t){function r(e){return new i(e,t)}return r.tension=function(t){return e(+t)},r}(0)},79503:(e,t,r)=>{"use strict"
r.d(t,{U:()=>s,Z:()=>o})
var n=r(87434),i=r(55068)
function s(e,t){this._context=e,this._k=(1-t)/6}s.prototype={areaStart:n.Z,areaEnd:n.Z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath()
break
case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath()
break
case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t
break
case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t)
break
case 2:this._point=3,this._x5=e,this._y5=t
break
default:(0,i.xm)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}}
const o=function e(t){function r(e){return new s(e,t)}return r.tension=function(t){return e(+t)},r}(0)},10229:(e,t,r)=>{"use strict"
r.d(t,{T:()=>i,Z:()=>s})
var n=r(55068)
function i(e,t){this._context=e,this._k=(1-t)/6}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1
break
case 1:this._point=2
break
case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2)
break
case 3:this._point=4
default:(0,n.xm)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}}
const s=function e(t){function r(e){return new i(e,t)}return r.tension=function(t){return e(+t)},r}(0)},68187:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>a,x:()=>s})
var n=r(65016),i=r(55068)
function s(e,t,r){var i=e._x1,s=e._y1,o=e._x2,a=e._y2
if(e._l01_a>n.Ho){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a)
i=(i*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,s=(s*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>n.Ho){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,h=3*e._l23_a*(e._l23_a+e._l12_a)
o=(o*u+e._x1*e._l23_2a-t*e._l12_2a)/h,a=(a*u+e._y1*e._l23_2a-r*e._l12_2a)/h}e._context.bezierCurveTo(i,s,o,a,e._x2,e._y2)}function o(e,t){this._context=e,this._alpha=t}o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2)
break
case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t
this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2
break
case 2:this._point=3
default:s(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}}
const a=function e(t){function r(e){return t?new o(e,t):new i.pC(e,0)}return r.alpha=function(t){return e(+t)},r}(.5)},10873:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>a})
var n=r(79503),i=r(87434),s=r(68187)
function o(e,t){this._context=e,this._alpha=t}o.prototype={areaStart:i.Z,areaEnd:i.Z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath()
break
case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath()
break
case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t
this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t
break
case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t)
break
case 2:this._point=3,this._x5=e,this._y5=t
break
default:(0,s.x)(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}}
const a=function e(t){function r(e){return t?new o(e,t):new n.U(e,0)}return r.alpha=function(t){return e(+t)},r}(.5)},35552:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>o})
var n=r(10229),i=r(68187)
function s(e,t){this._context=e,this._alpha=t}s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,n=this._y2-t
this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1
break
case 1:this._point=2
break
case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2)
break
case 3:this._point=4
default:(0,i.x)(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}}
const o=function e(t){function r(e){return t?new s(e,t):new n.T(e,0)}return r.alpha=function(t){return e(+t)},r}(.5)},33694:(e,t,r)=>{"use strict"
function n(e){this._context=e}function i(e){return new n(e)}r.d(t,{Z:()=>i}),n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2
default:this._context.lineTo(e,t)}}}},21270:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>s})
var n=r(87434)
function i(e){this._context=e}function s(e){return new i(e)}i.prototype={areaStart:n.Z,areaEnd:n.Z,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}}},30132:(e,t,r)=>{"use strict"
function n(e){return e<0?-1:1}function i(e,t,r){var i=e._x1-e._x0,s=t-e._x1,o=(e._y1-e._y0)/(i||s<0&&-0),a=(r-e._y1)/(s||i<0&&-0),l=(o*s+a*i)/(i+s)
return(n(o)+n(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(l))||0}function s(e,t){var r=e._x1-e._x0
return r?(3*(e._y1-e._y0)/r-t)/2:t}function o(e,t,r){var n=e._x0,i=e._y0,s=e._x1,o=e._y1,a=(s-n)/3
e._context.bezierCurveTo(n+a,i+a*t,s-a,o-a*r,s,o)}function a(e){this._context=e}function l(e){this._context=new c(e)}function c(e){this._context=e}function u(e){return new a(e)}function h(e){return new l(e)}r.d(t,{Z:()=>u,s:()=>h}),a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1)
break
case 3:o(this,this._t0,s(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var r=NaN
if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2
break
case 2:this._point=3,o(this,s(this,r=i(this,e,t)),r)
break
default:o(this,this._t0,r=i(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(l.prototype=Object.create(a.prototype)).point=function(e,t){a.prototype.point.call(this,t,e)},c.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,s){this._context.bezierCurveTo(t,e,n,r,s,i)}}},71038:(e,t,r)=>{"use strict"
function n(e){this._context=e}function i(e){var t,r,n=e.length-1,i=new Array(n),s=new Array(n),o=new Array(n)
for(i[0]=0,s[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,s[t]=4,o[t]=4*e[t]+2*e[t+1]
for(i[n-1]=2,s[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/s[t-1],s[t]-=r,o[t]-=r*o[t-1]
for(i[n-1]=o[n-1]/s[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/s[t]
for(s[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)s[t]=2*e[t+1]-i[t+1]
return[i,s]}function s(e){return new n(e)}r.d(t,{Z:()=>s}),n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length
if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1])
else for(var n=i(e),s=i(t),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],s[0][o],n[1][o],s[1][o],e[a],t[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}}},9154:(e,t,r)=>{"use strict"
function n(e,t){this._context=e,this._t=t}function i(e){return new n(e,.5)}function s(e){return new n(e,0)}function o(e){return new n(e,1)}r.d(t,{RN:()=>s,ZP:()=>i,cD:()=>o}),n.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t)
break
case 1:this._point=2
default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t)
else{var r=this._x*(1-this._t)+e*this._t
this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}}},5814:(e,t,r)=>{"use strict"
r.r(t),r.d(t,{arc:()=>n.Z,area:()=>i.Z,areaRadial:()=>p,curveBasis:()=>ne.ZP,curveBasisClosed:()=>te.Z,curveBasisOpen:()=>re.Z,curveBumpX:()=>y.sj,curveBumpY:()=>y.BW,curveBundle:()=>ie.Z,curveCardinal:()=>ae.ZP,curveCardinalClosed:()=>se.Z,curveCardinalOpen:()=>oe.Z,curveCatmullRom:()=>ue.Z,curveCatmullRomClosed:()=>le.Z,curveCatmullRomOpen:()=>ce.Z,curveLinear:()=>a.Z,curveLinearClosed:()=>he.Z,curveMonotoneX:()=>de.Z,curveMonotoneY:()=>de.s,curveNatural:()=>pe.Z,curveStep:()=>fe.ZP,curveStepAfter:()=>fe.cD,curveStepBefore:()=>fe.RN,line:()=>s.Z,lineRadial:()=>d,link:()=>k,linkHorizontal:()=>x,linkRadial:()=>N,linkVertical:()=>E,pie:()=>o.Z,pointRadial:()=>f.Z,radialArea:()=>p,radialLine:()=>d,stack:()=>me.Z,stackOffsetDiverging:()=>ye.Z,stackOffsetExpand:()=>ge.Z,stackOffsetNone:()=>ve.Z,stackOffsetSilhouette:()=>be.Z,stackOffsetWiggle:()=>we.Z,stackOrderAppearance:()=>Se.Z,stackOrderAscending:()=>ke.Z,stackOrderDescending:()=>xe.Z,stackOrderInsideOut:()=>Ee.Z,stackOrderNone:()=>Ne.Z,stackOrderReverse:()=>_e.Z,symbol:()=>ee,symbolAsterisk:()=>A,symbolCircle:()=>O,symbolCross:()=>P,symbolDiamond:()=>j,symbolDiamond2:()=>D,symbolPlus:()=>M,symbolSquare:()=>B,symbolSquare2:()=>R,symbolStar:()=>V,symbolTimes:()=>Y,symbolTriangle:()=>U,symbolTriangle2:()=>q,symbolWye:()=>G,symbolX:()=>Y,symbols:()=>X,symbolsFill:()=>X,symbolsStroke:()=>Q})
var n=r(69992),i=r(56702),s=r(78268),o=r(69412),a=r(33694),l=u(a.Z)
function c(e){this._curve=e}function u(e){function t(t){return new c(e(t))}return t._curve=e,t}function h(e){var t=e.curve
return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(u(e)):t()._curve},e}function d(){return h((0,s.Z)().curve(l))}function p(){var e=(0,i.Z)().curve(l),t=e.curve,r=e.lineX0,n=e.lineX1,s=e.lineY0,o=e.lineY1
return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return h(r())},delete e.lineX0,e.lineEndAngle=function(){return h(n())},delete e.lineX1,e.lineInnerRadius=function(){return h(s())},delete e.lineY0,e.lineOuterRadius=function(){return h(o())},delete e.lineY1,e.curve=function(e){return arguments.length?t(u(e)):t()._curve},e}c.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}}
var f=r(70549),m=r(79515),g=r(36570),y=r(34544),v=r(9002),b=r(99114)
function w(e){return e.source}function S(e){return e.target}function k(e){let t=w,r=S,n=b.x,i=b.y,s=null,o=null,a=(0,v.d)(l)
function l(){let l
const c=m.t.call(arguments),u=t.apply(this,c),h=r.apply(this,c)
if(null==s&&(o=e(l=a())),o.lineStart(),c[0]=u,o.point(+n.apply(this,c),+i.apply(this,c)),c[0]=h,o.point(+n.apply(this,c),+i.apply(this,c)),o.lineEnd(),l)return o=null,l+""||null}return l.source=function(e){return arguments.length?(t=e,l):t},l.target=function(e){return arguments.length?(r=e,l):r},l.x=function(e){return arguments.length?(n="function"==typeof e?e:(0,g.Z)(+e),l):n},l.y=function(e){return arguments.length?(i="function"==typeof e?e:(0,g.Z)(+e),l):i},l.context=function(t){return arguments.length?(null==t?s=o=null:o=e(s=t),l):s},l}function x(){return k(y.sj)}function E(){return k(y.BW)}function N(){const e=k(y.hR)
return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var _=r(65016)
const C=(0,_._b)(3),A={draw(e,t){const r=.59436*(0,_._b)(t+(0,_.VV)(t/28,.75)),n=r/2,i=n*C
e.moveTo(0,r),e.lineTo(0,-r),e.moveTo(-i,-n),e.lineTo(i,n),e.moveTo(-i,n),e.lineTo(i,-n)}},O={draw(e,t){const r=(0,_._b)(t/_.pi)
e.moveTo(r,0),e.arc(0,0,r,0,_.BZ)}},P={draw(e,t){const r=(0,_._b)(t/5)/2
e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},T=(0,_._b)(1/3),I=2*T,j={draw(e,t){const r=(0,_._b)(t/I),n=r*T
e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},D={draw(e,t){const r=.62625*(0,_._b)(t)
e.moveTo(0,-r),e.lineTo(r,0),e.lineTo(0,r),e.lineTo(-r,0),e.closePath()}},M={draw(e,t){const r=.87559*(0,_._b)(t-(0,_.VV)(t/7,2))
e.moveTo(-r,0),e.lineTo(r,0),e.moveTo(0,r),e.lineTo(0,-r)}},B={draw(e,t){const r=(0,_._b)(t),n=-r/2
e.rect(n,n,r,r)}},R={draw(e,t){const r=.4431*(0,_._b)(t)
e.moveTo(r,r),e.lineTo(r,-r),e.lineTo(-r,-r),e.lineTo(-r,r),e.closePath()}},L=(0,_.O$)(_.pi/10)/(0,_.O$)(7*_.pi/10),z=(0,_.O$)(_.BZ/10)*L,F=-(0,_.mC)(_.BZ/10)*L,V={draw(e,t){const r=(0,_._b)(.8908130915292852*t),n=z*r,i=F*r
e.moveTo(0,-r),e.lineTo(n,i)
for(let s=1;s<5;++s){const t=_.BZ*s/5,o=(0,_.mC)(t),a=(0,_.O$)(t)
e.lineTo(a*r,-o*r),e.lineTo(o*n-a*i,a*n+o*i)}e.closePath()}},$=(0,_._b)(3),U={draw(e,t){const r=-(0,_._b)(t/(3*$))
e.moveTo(0,2*r),e.lineTo(-$*r,-r),e.lineTo($*r,-r),e.closePath()}},H=(0,_._b)(3),q={draw(e,t){const r=.6824*(0,_._b)(t),n=r/2,i=r*H/2
e.moveTo(0,-r),e.lineTo(i,n),e.lineTo(-i,n),e.closePath()}},W=-.5,K=(0,_._b)(3)/2,Z=1/(0,_._b)(12),J=3*(Z/2+1),G={draw(e,t){const r=(0,_._b)(t/J),n=r/2,i=r*Z,s=n,o=r*Z+r,a=-s,l=o
e.moveTo(n,i),e.lineTo(s,o),e.lineTo(a,l),e.lineTo(W*n-K*i,K*n+W*i),e.lineTo(W*s-K*o,K*s+W*o),e.lineTo(W*a-K*l,K*a+W*l),e.lineTo(W*n+K*i,W*i-K*n),e.lineTo(W*s+K*o,W*o-K*s),e.lineTo(W*a+K*l,W*l-K*a),e.closePath()}},Y={draw(e,t){const r=.6189*(0,_._b)(t-(0,_.VV)(t/6,1.7))
e.moveTo(-r,-r),e.lineTo(r,r),e.moveTo(-r,r),e.lineTo(r,-r)}},X=[O,P,j,B,V,U,G],Q=[O,M,Y,q,A,R,D]
function ee(e,t){let r=null,n=(0,v.d)(i)
function i(){let i
if(r||(r=i=n()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),i)return r=null,i+""||null}return e="function"==typeof e?e:(0,g.Z)(e||O),t="function"==typeof t?t:(0,g.Z)(void 0===t?64:+t),i.type=function(t){return arguments.length?(e="function"==typeof t?t:(0,g.Z)(t),i):e},i.size=function(e){return arguments.length?(t="function"==typeof e?e:(0,g.Z)(+e),i):t},i.context=function(e){return arguments.length?(r=null==e?null:e,i):r},i}var te=r(62803),re=r(19992),ne=r(49414),ie=r(35871),se=r(79503),oe=r(10229),ae=r(55068),le=r(10873),ce=r(35552),ue=r(68187),he=r(21270),de=r(30132),pe=r(71038),fe=r(9154),me=r(58080),ge=r(22111),ye=r(27903),ve=r(50781),be=r(25876),we=r(35564),Se=r(36406),ke=r(66344),xe=r(78901),Ee=r(5794),Ne=r(33888),_e=r(73149)},78268:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>l})
var n=r(79515),i=r(36570),s=r(33694),o=r(9002),a=r(99114)
function l(e,t){var r=(0,i.Z)(!0),l=null,c=s.Z,u=null,h=(0,o.d)(d)
function d(i){var s,o,a,d=(i=(0,n.Z)(i)).length,p=!1
for(null==l&&(u=c(a=h())),s=0;s<=d;++s)!(s<d&&r(o=i[s],s,i))===p&&((p=!p)?u.lineStart():u.lineEnd()),p&&u.point(+e(o,s,i),+t(o,s,i))
if(a)return u=null,a+""||null}return e="function"==typeof e?e:void 0===e?a.x:(0,i.Z)(e),t="function"==typeof t?t:void 0===t?a.y:(0,i.Z)(t),d.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.Z)(+t),d):e},d.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,i.Z)(+e),d):t},d.defined=function(e){return arguments.length?(r="function"==typeof e?e:(0,i.Z)(!!e),d):r},d.curve=function(e){return arguments.length?(c=e,null!=l&&(u=c(l)),d):c},d.context=function(e){return arguments.length?(null==e?l=u=null:u=c(l=e),d):l},d}},65016:(e,t,r)=>{"use strict"
r.d(t,{BZ:()=>p,Fp:()=>o,Ho:()=>u,Kh:()=>f,O$:()=>l,VV:()=>a,Wn:()=>n,ZR:()=>m,_b:()=>c,fv:()=>i,mC:()=>s,ou:()=>d,pi:()=>h})
const n=Math.abs,i=Math.atan2,s=Math.cos,o=Math.max,a=Math.min,l=Math.sin,c=Math.sqrt,u=1e-12,h=Math.PI,d=h/2,p=2*h
function f(e){return e>1?0:e<-1?h:Math.acos(e)}function m(e){return e>=1?d:e<=-1?-d:Math.asin(e)}},87434:(e,t,r)=>{"use strict"
function n(){}r.d(t,{Z:()=>n})},27903:(e,t,r)=>{"use strict"
function n(e,t){if((a=e.length)>0)for(var r,n,i,s,o,a,l=0,c=e[t[0]].length;l<c;++l)for(s=o=0,r=0;r<a;++r)(i=(n=e[t[r]][l])[1]-n[0])>0?(n[0]=s,n[1]=s+=i):i<0?(n[1]=o,n[0]=o+=i):(n[0]=0,n[1]=i)}r.d(t,{Z:()=>n})},22111:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(50781)
function i(e,t){if((i=e.length)>0){for(var r,i,s,o=0,a=e[0].length;o<a;++o){for(s=r=0;r<i;++r)s+=e[r][o][1]||0
if(s)for(r=0;r<i;++r)e[r][o][1]/=s}(0,n.Z)(e,t)}}},50781:(e,t,r)=>{"use strict"
function n(e,t){if((i=e.length)>1)for(var r,n,i,s=1,o=e[t[0]],a=o.length;s<i;++s)for(n=o,o=e[t[s]],r=0;r<a;++r)o[r][1]+=o[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}r.d(t,{Z:()=>n})},25876:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(50781)
function i(e,t){if((r=e.length)>0){for(var r,i=0,s=e[t[0]],o=s.length;i<o;++i){for(var a=0,l=0;a<r;++a)l+=e[a][i][1]||0
s[i][1]+=s[i][0]=-l/2}(0,n.Z)(e,t)}}},35564:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(50781)
function i(e,t){if((s=e.length)>0&&(i=(r=e[t[0]]).length)>0){for(var r,i,s,o=0,a=1;a<i;++a){for(var l=0,c=0,u=0;l<s;++l){for(var h=e[t[l]],d=h[a][1]||0,p=(d-(h[a-1][1]||0))/2,f=0;f<l;++f){var m=e[t[f]]
p+=(m[a][1]||0)-(m[a-1][1]||0)}c+=d,u+=p*d}r[a-1][1]+=r[a-1][0]=o,c&&(o-=u/c)}r[a-1][1]+=r[a-1][0]=o,(0,n.Z)(e,t)}}},36406:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(33888)
function i(e){var t=e.map(s)
return(0,n.Z)(e).sort((function(e,r){return t[e]-t[r]}))}function s(e){for(var t,r=-1,n=0,i=e.length,s=-1/0;++r<i;)(t=+e[r][1])>s&&(s=t,n=r)
return n}},66344:(e,t,r)=>{"use strict"
r.d(t,{S:()=>s,Z:()=>i})
var n=r(33888)
function i(e){var t=e.map(s)
return(0,n.Z)(e).sort((function(e,r){return t[e]-t[r]}))}function s(e){for(var t,r=0,n=-1,i=e.length;++n<i;)(t=+e[n][1])&&(r+=t)
return r}},78901:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(66344)
function i(e){return(0,n.Z)(e).reverse()}},5794:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>s})
var n=r(36406),i=r(66344)
function s(e){var t,r,s=e.length,o=e.map(i.S),a=(0,n.Z)(e),l=0,c=0,u=[],h=[]
for(t=0;t<s;++t)r=a[t],l<c?(l+=o[r],u.push(r)):(c+=o[r],h.push(r))
return h.reverse().concat(u)}},33888:(e,t,r)=>{"use strict"
function n(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t
return r}r.d(t,{Z:()=>n})},73149:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>i})
var n=r(33888)
function i(e){return(0,n.Z)(e).reverse()}},9002:(e,t,r)=>{"use strict"
r.d(t,{d:()=>c})
const n=Math.PI,i=2*n,s=1e-6,o=i-s
function a(e){this._+=e[0]
for(let t=1,r=e.length;t<r;++t)this._+=arguments[t]+e[t]}class l{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?a:function(e){let t=Math.floor(e)
if(!(t>=0))throw new Error(`invalid digits: ${e}`)
if(t>15)return a
const r=10**t
return function(e){this._+=e[0]
for(let t=1,n=e.length;t<n;++t)this._+=Math.round(arguments[t]*r)/r+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,r,n){this._append`Q${+e},${+t},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(e,t,r,n,i,s){this._append`C${+e},${+t},${+r},${+n},${this._x1=+i},${this._y1=+s}`}arcTo(e,t,r,i,o){if(e=+e,t=+t,r=+r,i=+i,(o=+o)<0)throw new Error(`negative radius: ${o}`)
let a=this._x1,l=this._y1,c=r-e,u=i-t,h=a-e,d=l-t,p=h*h+d*d
if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`
else if(p>s)if(Math.abs(d*c-u*h)>s&&o){let f=r-a,m=i-l,g=c*c+u*u,y=f*f+m*m,v=Math.sqrt(g),b=Math.sqrt(p),w=o*Math.tan((n-Math.acos((g+p-y)/(2*v*b)))/2),S=w/b,k=w/v
Math.abs(S-1)>s&&this._append`L${e+S*h},${t+S*d}`,this._append`A${o},${o},0,0,${+(d*f>h*m)},${this._x1=e+k*c},${this._y1=t+k*u}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,r,a,l,c){if(e=+e,t=+t,c=!!c,(r=+r)<0)throw new Error(`negative radius: ${r}`)
let u=r*Math.cos(a),h=r*Math.sin(a),d=e+u,p=t+h,f=1^c,m=c?a-l:l-a
null===this._x1?this._append`M${d},${p}`:(Math.abs(this._x1-d)>s||Math.abs(this._y1-p)>s)&&this._append`L${d},${p}`,r&&(m<0&&(m=m%i+i),m>o?this._append`A${r},${r},0,1,${f},${e-u},${t-h}A${r},${r},0,1,${f},${this._x1=d},${this._y1=p}`:m>s&&this._append`A${r},${r},0,${+(m>=n)},${f},${this._x1=e+r*Math.cos(l)},${this._y1=t+r*Math.sin(l)}`)}rect(e,t,r,n){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${r=+r}v${+n}h${-r}Z`}toString(){return this._}}function c(e){let t=3
return e.digits=function(r){if(!arguments.length)return t
if(null==r)t=null
else{const e=Math.floor(r)
if(!(e>=0))throw new RangeError(`invalid digits: ${r}`)
t=e}return e},()=>new l(t)}l.prototype},69412:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>l})
var n=r(79515),i=r(36570)
function s(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function o(e){return e}var a=r(65016)
function l(){var e=o,t=s,r=null,l=(0,i.Z)(0),c=(0,i.Z)(a.BZ),u=(0,i.Z)(0)
function h(i){var s,o,h,d,p,f=(i=(0,n.Z)(i)).length,m=0,g=new Array(f),y=new Array(f),v=+l.apply(this,arguments),b=Math.min(a.BZ,Math.max(-a.BZ,c.apply(this,arguments)-v)),w=Math.min(Math.abs(b)/f,u.apply(this,arguments)),S=w*(b<0?-1:1)
for(s=0;s<f;++s)(p=y[g[s]=s]=+e(i[s],s,i))>0&&(m+=p)
for(null!=t?g.sort((function(e,r){return t(y[e],y[r])})):null!=r&&g.sort((function(e,t){return r(i[e],i[t])})),s=0,h=m?(b-f*S)/m:0;s<f;++s,v=d)o=g[s],d=v+((p=y[o])>0?p*h:0)+S,y[o]={data:i[o],index:s,value:p,startAngle:v,endAngle:d,padAngle:w}
return y}return h.value=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.Z)(+t),h):e},h.sortValues=function(e){return arguments.length?(t=e,r=null,h):t},h.sort=function(e){return arguments.length?(r=e,t=null,h):r},h.startAngle=function(e){return arguments.length?(l="function"==typeof e?e:(0,i.Z)(+e),h):l},h.endAngle=function(e){return arguments.length?(c="function"==typeof e?e:(0,i.Z)(+e),h):c},h.padAngle=function(e){return arguments.length?(u="function"==typeof e?e:(0,i.Z)(+e),h):u},h}},99114:(e,t,r)=>{"use strict"
function n(e){return e[0]}function i(e){return e[1]}r.d(t,{x:()=>n,y:()=>i})},70549:(e,t,r)=>{"use strict"
function n(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]}r.d(t,{Z:()=>n})},58080:(e,t,r)=>{"use strict"
r.d(t,{Z:()=>c})
var n=r(79515),i=r(36570),s=r(50781),o=r(33888)
function a(e,t){return e[t]}function l(e){const t=[]
return t.key=e,t}function c(){var e=(0,i.Z)([]),t=o.Z,r=s.Z,c=a
function u(i){var s,o,a=Array.from(e.apply(this,arguments),l),u=a.length,h=-1
for(const e of i)for(s=0,++h;s<u;++s)(a[s][h]=[0,+c(e,a[s].key,h,i)]).data=e
for(s=0,o=(0,n.Z)(t(a));s<u;++s)a[o[s]].index=s
return r(a,o),a}return u.keys=function(t){return arguments.length?(e="function"==typeof t?t:(0,i.Z)(Array.from(t)),u):e},u.value=function(e){return arguments.length?(c="function"==typeof e?e:(0,i.Z)(+e),u):c},u.order=function(e){return arguments.length?(t=null==e?o.Z:"function"==typeof e?e:(0,i.Z)(Array.from(e)),u):t},u.offset=function(e){return arguments.length?(r=null==e?s.Z:e,u):r},u}},81957:(e,t,r)=>{"use strict"
r.d(t,{i$:()=>u,g0:()=>h})
var n=r(39515),i=r(7597),s=r(71165)
function o(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L)
return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function a(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L))
return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function l(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var c,u,h,d={"-":"",_:" ",0:"0"},p=/^\s*\d+/,f=/^%/,m=/[\\^$*+?|[\]().{}]/g
function g(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",s=i.length
return n+(s<r?new Array(r-s+1).join(t)+i:i)}function y(e){return e.replace(m,"\\$&")}function v(e){return new RegExp("^(?:"+e.map(y).join("|")+")","i")}function b(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function w(e,t,r){var n=p.exec(t.slice(r,r+1))
return n?(e.w=+n[0],r+n[0].length):-1}function S(e,t,r){var n=p.exec(t.slice(r,r+1))
return n?(e.u=+n[0],r+n[0].length):-1}function k(e,t,r){var n=p.exec(t.slice(r,r+2))
return n?(e.U=+n[0],r+n[0].length):-1}function x(e,t,r){var n=p.exec(t.slice(r,r+2))
return n?(e.V=+n[0],r+n[0].length):-1}function E(e,t,r){var n=p.exec(t.slice(r,r+2))
return n?(e.W=+n[0],r+n[0].length):-1}function N(e,t,r){var n=p.exec(t.slice(r,r+4))
return n?(e.y=+n[0],r+n[0].length):-1}function _(e,t,r){var n=p.exec(t.slice(r,r+2))
return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function C(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6))
return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function A(e,t,r){var n=p.exec(t.slice(r,r+1))
return n?(e.q=3*n[0]-3,r+n[0].length):-1}function O(e,t,r){var n=p.exec(t.slice(r,r+2))
return n?(e.m=n[0]-1,r+n[0].length):-1}function P(e,t,r){var n=p.exec(t.slice(r,r+2))
return n?(e.d=+n[0],r+n[0].length):-1}function T(e,t,r){var n=p.exec(t.slice(r,r+3))
return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function I(e,t,r){var n=p.exec(t.slice(r,r+2))
return n?(e.H=+n[0],r+n[0].length):-1}function j(e,t,r){var n=p.exec(t.slice(r,r+2))
return n?(e.M=+n[0],r+n[0].length):-1}function D(e,t,r){var n=p.exec(t.slice(r,r+2))
return n?(e.S=+n[0],r+n[0].length):-1}function M(e,t,r){var n=p.exec(t.slice(r,r+3))
return n?(e.L=+n[0],r+n[0].length):-1}function B(e,t,r){var n=p.exec(t.slice(r,r+6))
return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function R(e,t,r){var n=f.exec(t.slice(r,r+1))
return n?r+n[0].length:-1}function L(e,t,r){var n=p.exec(t.slice(r))
return n?(e.Q=+n[0],r+n[0].length):-1}function z(e,t,r){var n=p.exec(t.slice(r))
return n?(e.s=+n[0],r+n[0].length):-1}function F(e,t){return g(e.getDate(),t,2)}function V(e,t){return g(e.getHours(),t,2)}function $(e,t){return g(e.getHours()%12||12,t,2)}function U(e,t){return g(1+i.rr.count((0,s.jB)(e),e),t,3)}function H(e,t){return g(e.getMilliseconds(),t,3)}function q(e,t){return H(e,t)+"000"}function W(e,t){return g(e.getMonth()+1,t,2)}function K(e,t){return g(e.getMinutes(),t,2)}function Z(e,t){return g(e.getSeconds(),t,2)}function J(e){var t=e.getDay()
return 0===t?7:t}function G(e,t){return g(n.Zy.count((0,s.jB)(e)-1,e),t,2)}function Y(e){var t=e.getDay()
return t>=4||0===t?(0,n.Ig)(e):n.Ig.ceil(e)}function X(e,t){return e=Y(e),g(n.Ig.count((0,s.jB)(e),e)+(4===(0,s.jB)(e).getDay()),t,2)}function Q(e){return e.getDay()}function ee(e,t){return g(n.Ox.count((0,s.jB)(e)-1,e),t,2)}function te(e,t){return g(e.getFullYear()%100,t,2)}function re(e,t){return g((e=Y(e)).getFullYear()%100,t,2)}function ne(e,t){return g(e.getFullYear()%1e4,t,4)}function ie(e,t){var r=e.getDay()
return g((e=r>=4||0===r?(0,n.Ig)(e):n.Ig.ceil(e)).getFullYear()%1e4,t,4)}function se(e){var t=e.getTimezoneOffset()
return(t>0?"-":(t*=-1,"+"))+g(t/60|0,"0",2)+g(t%60,"0",2)}function oe(e,t){return g(e.getUTCDate(),t,2)}function ae(e,t){return g(e.getUTCHours(),t,2)}function le(e,t){return g(e.getUTCHours()%12||12,t,2)}function ce(e,t){return g(1+i.AN.count((0,s.ol)(e),e),t,3)}function ue(e,t){return g(e.getUTCMilliseconds(),t,3)}function he(e,t){return ue(e,t)+"000"}function de(e,t){return g(e.getUTCMonth()+1,t,2)}function pe(e,t){return g(e.getUTCMinutes(),t,2)}function fe(e,t){return g(e.getUTCSeconds(),t,2)}function me(e){var t=e.getUTCDay()
return 0===t?7:t}function ge(e,t){return g(n.pI.count((0,s.ol)(e)-1,e),t,2)}function ye(e){var t=e.getUTCDay()
return t>=4||0===t?(0,n.hB)(e):n.hB.ceil(e)}function ve(e,t){return e=ye(e),g(n.hB.count((0,s.ol)(e),e)+(4===(0,s.ol)(e).getUTCDay()),t,2)}function be(e){return e.getUTCDay()}function we(e,t){return g(n.l6.count((0,s.ol)(e)-1,e),t,2)}function Se(e,t){return g(e.getUTCFullYear()%100,t,2)}function ke(e,t){return g((e=ye(e)).getUTCFullYear()%100,t,2)}function xe(e,t){return g(e.getUTCFullYear()%1e4,t,4)}function Ee(e,t){var r=e.getUTCDay()
return g((e=r>=4||0===r?(0,n.hB)(e):n.hB.ceil(e)).getUTCFullYear()%1e4,t,4)}function Ne(){return"+0000"}function _e(){return"%"}function Ce(e){return+e}function Ae(e){return Math.floor(+e/1e3)}c=function(e){var t=e.dateTime,r=e.date,s=e.time,c=e.periods,u=e.days,h=e.shortDays,p=e.months,f=e.shortMonths,m=v(c),g=b(c),y=v(u),Y=b(u),ye=v(h),Oe=b(h),Pe=v(p),Te=b(p),Ie=v(f),je=b(f),De={a:function(e){return h[e.getDay()]},A:function(e){return u[e.getDay()]},b:function(e){return f[e.getMonth()]},B:function(e){return p[e.getMonth()]},c:null,d:F,e:F,f:q,g:re,G:ie,H:V,I:$,j:U,L:H,m:W,M:K,p:function(e){return c[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Ce,s:Ae,S:Z,u:J,U:G,V:X,w:Q,W:ee,x:null,X:null,y:te,Y:ne,Z:se,"%":_e},Me={a:function(e){return h[e.getUTCDay()]},A:function(e){return u[e.getUTCDay()]},b:function(e){return f[e.getUTCMonth()]},B:function(e){return p[e.getUTCMonth()]},c:null,d:oe,e:oe,f:he,g:ke,G:Ee,H:ae,I:le,j:ce,L:ue,m:de,M:pe,p:function(e){return c[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Ce,s:Ae,S:fe,u:me,U:ge,V:ve,w:be,W:we,x:null,X:null,y:Se,Y:xe,Z:Ne,"%":_e},Be={a:function(e,t,r){var n=ye.exec(t.slice(r))
return n?(e.w=Oe.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=y.exec(t.slice(r))
return n?(e.w=Y.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=Ie.exec(t.slice(r))
return n?(e.m=je.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=Pe.exec(t.slice(r))
return n?(e.m=Te.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,r,n){return ze(e,t,r,n)},d:P,e:P,f:B,g:_,G:N,H:I,I:I,j:T,L:M,m:O,M:j,p:function(e,t,r){var n=m.exec(t.slice(r))
return n?(e.p=g.get(n[0].toLowerCase()),r+n[0].length):-1},q:A,Q:L,s:z,S:D,u:S,U:k,V:x,w:w,W:E,x:function(e,t,n){return ze(e,r,t,n)},X:function(e,t,r){return ze(e,s,t,r)},y:_,Y:N,Z:C,"%":R}
function Re(e,t){return function(r){var n,i,s,o=[],a=-1,l=0,c=e.length
for(r instanceof Date||(r=new Date(+r));++a<c;)37===e.charCodeAt(a)&&(o.push(e.slice(l,a)),null!=(i=d[n=e.charAt(++a)])?n=e.charAt(++a):i="e"===n?" ":"0",(s=t[n])&&(n=s(r,i)),o.push(n),l=a+1)
return o.push(e.slice(l,a)),o.join("")}}function Le(e,t){return function(r){var s,c,u=l(1900,void 0,1)
if(ze(u,e,r+="",0)!=r.length)return null
if("Q"in u)return new Date(u.Q)
if("s"in u)return new Date(1e3*u.s+("L"in u?u.L:0))
if(t&&!("Z"in u)&&(u.Z=0),"p"in u&&(u.H=u.H%12+12*u.p),void 0===u.m&&(u.m="q"in u?u.q:0),"V"in u){if(u.V<1||u.V>53)return null
"w"in u||(u.w=1),"Z"in u?(c=(s=a(l(u.y,0,1))).getUTCDay(),s=c>4||0===c?n.l6.ceil(s):(0,n.l6)(s),s=i.AN.offset(s,7*(u.V-1)),u.y=s.getUTCFullYear(),u.m=s.getUTCMonth(),u.d=s.getUTCDate()+(u.w+6)%7):(c=(s=o(l(u.y,0,1))).getDay(),s=c>4||0===c?n.Ox.ceil(s):(0,n.Ox)(s),s=i.rr.offset(s,7*(u.V-1)),u.y=s.getFullYear(),u.m=s.getMonth(),u.d=s.getDate()+(u.w+6)%7)}else("W"in u||"U"in u)&&("w"in u||(u.w="u"in u?u.u%7:"W"in u?1:0),c="Z"in u?a(l(u.y,0,1)).getUTCDay():o(l(u.y,0,1)).getDay(),u.m=0,u.d="W"in u?(u.w+6)%7+7*u.W-(c+5)%7:u.w+7*u.U-(c+6)%7)
return"Z"in u?(u.H+=u.Z/100|0,u.M+=u.Z%100,a(u)):o(u)}}function ze(e,t,r,n){for(var i,s,o=0,a=t.length,l=r.length;o<a;){if(n>=l)return-1
if(37===(i=t.charCodeAt(o++))){if(i=t.charAt(o++),!(s=Be[i in d?t.charAt(o++):i])||(n=s(e,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return De.x=Re(r,De),De.X=Re(s,De),De.c=Re(t,De),Me.x=Re(r,Me),Me.X=Re(s,Me),Me.c=Re(t,Me),{format:function(e){var t=Re(e+="",De)
return t.toString=function(){return e},t},parse:function(e){var t=Le(e+="",!1)
return t.toString=function(){return e},t},utcFormat:function(e){var t=Re(e+="",Me)
return t.toString=function(){return e},t},utcParse:function(e){var t=Le(e+="",!0)
return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),u=c.format,c.parse,h=c.utcFormat,c.utcParse},7597:(e,t,r)=>{"use strict"
r.d(t,{AN:()=>o,KB:()=>a,rr:()=>s})
var n=r(56297),i=r(67326)
const s=(0,n.J)((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*i.yB)/i.UD),(e=>e.getDate()-1)),o=(s.range,(0,n.J)((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/i.UD),(e=>e.getUTCDate()-1))),a=(o.range,(0,n.J)((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/i.UD),(e=>Math.floor(e/i.UD))))
a.range},67326:(e,t,r)=>{"use strict"
r.d(t,{UD:()=>o,Y2:()=>s,Ym:()=>n,iM:()=>a,jz:()=>l,qz:()=>c,yB:()=>i})
const n=1e3,i=60*n,s=60*i,o=24*s,a=7*o,l=30*o,c=365*o},17989:(e,t,r)=>{"use strict"
r.d(t,{WQ:()=>s,lM:()=>o})
var n=r(56297),i=r(67326)
const s=(0,n.J)((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*i.Ym-e.getMinutes()*i.yB)}),((e,t)=>{e.setTime(+e+t*i.Y2)}),((e,t)=>(t-e)/i.Y2),(e=>e.getHours())),o=(s.range,(0,n.J)((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*i.Y2)}),((e,t)=>(t-e)/i.Y2),(e=>e.getUTCHours())))
o.range},56297:(e,t,r)=>{"use strict"
r.d(t,{J:()=>s})
const n=new Date,i=new Date
function s(e,t,r,o){function a(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return a.floor=t=>(e(t=new Date(+t)),t),a.ceil=r=>(e(r=new Date(r-1)),t(r,1),e(r),r),a.round=e=>{const t=a(e),r=a.ceil(e)
return e-t<r-e?t:r},a.offset=(e,r)=>(t(e=new Date(+e),null==r?1:Math.floor(r)),e),a.range=(r,n,i)=>{const s=[]
if(r=a.ceil(r),i=null==i?1:Math.floor(i),!(r<n&&i>0))return s
let o
do{s.push(o=new Date(+r)),t(r,i),e(r)}while(o<r&&r<n)
return s},a.filter=r=>s((t=>{if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)}),((e,n)=>{if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););})),r&&(a.count=(t,s)=>(n.setTime(+t),i.setTime(+s),e(n),e(i),Math.floor(r(n,i))),a.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?a.filter(o?t=>o(t)%e==0:t=>a.count(0,t)%e==0):a:null)),a}},99793:(e,t,r)=>{"use strict"
r.d(t,{Z_:()=>s,rz:()=>o})
var n=r(56297),i=r(67326)
const s=(0,n.J)((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*i.Ym)}),((e,t)=>{e.setTime(+e+t*i.yB)}),((e,t)=>(t-e)/i.yB),(e=>e.getMinutes())),o=(s.range,(0,n.J)((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*i.yB)}),((e,t)=>(t-e)/i.yB),(e=>e.getUTCMinutes())))
o.range},57276:(e,t,r)=>{"use strict"
r.d(t,{F0:()=>i,me:()=>s})
var n=r(56297)
const i=(0,n.J)((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth())),s=(i.range,(0,n.J)((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth())))
s.range},9618:(e,t,r)=>{"use strict"
r.d(t,{E:()=>s})
var n=r(56297),i=r(67326)
const s=(0,n.J)((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*i.Ym)}),((e,t)=>(t-e)/i.Ym),(e=>e.getUTCSeconds()))
s.range},64693:(e,t,r)=>{"use strict"
r.d(t,{_g:()=>b,jK:()=>v,jo:()=>y,WG:()=>g})
var n=r(52744),i=r(71095),s=r(67326),o=r(56297)
const a=(0,o.J)((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e))
a.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?(0,o.J)((t=>{t.setTime(Math.floor(t/e)*e)}),((t,r)=>{t.setTime(+t+r*e)}),((t,r)=>(r-t)/e)):a:null),a.range
var l=r(9618),c=r(99793),u=r(17989),h=r(7597),d=r(39515),p=r(57276),f=r(71165)
function m(e,t,r,o,c,u){const h=[[l.E,1,s.Ym],[l.E,5,5*s.Ym],[l.E,15,15*s.Ym],[l.E,30,30*s.Ym],[u,1,s.yB],[u,5,5*s.yB],[u,15,15*s.yB],[u,30,30*s.yB],[c,1,s.Y2],[c,3,3*s.Y2],[c,6,6*s.Y2],[c,12,12*s.Y2],[o,1,s.UD],[o,2,2*s.UD],[r,1,s.iM],[t,1,s.jz],[t,3,3*s.jz],[e,1,s.qz]]
function d(t,r,o){const l=Math.abs(r-t)/o,c=(0,n.Z)((([,,e])=>e)).right(h,l)
if(c===h.length)return e.every((0,i.ly)(t/s.qz,r/s.qz,o))
if(0===c)return a.every(Math.max((0,i.ly)(t,r,o),1))
const[u,d]=h[l/h[c-1][2]<h[c][2]/l?c-1:c]
return u.every(d)}return[function(e,t,r){const n=t<e
n&&([e,t]=[t,e])
const i=r&&"function"==typeof r.range?r:d(e,t,r),s=i?i.range(e,+t+1):[]
return n?s.reverse():s},d]}const[g,y]=m(f.ol,p.me,d.pI,h.KB,u.lM,c.rz),[v,b]=m(f.jB,p.F0,d.Zy,h.rr,u.WQ,c.Z_)},39515:(e,t,r)=>{"use strict"
r.d(t,{Ig:()=>u,Ox:()=>a,Zy:()=>o,hB:()=>v,l6:()=>m,pI:()=>f})
var n=r(56297),i=r(67326)
function s(e){return(0,n.J)((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*i.yB)/i.iM))}const o=s(0),a=s(1),l=s(2),c=s(3),u=s(4),h=s(5),d=s(6)
function p(e){return(0,n.J)((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/i.iM))}o.range,a.range,l.range,c.range,u.range,h.range,d.range
const f=p(0),m=p(1),g=p(2),y=p(3),v=p(4),b=p(5),w=p(6)
f.range,m.range,g.range,y.range,v.range,b.range,w.range},71165:(e,t,r)=>{"use strict"
r.d(t,{jB:()=>i,ol:()=>s})
var n=r(56297)
const i=(0,n.J)((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear()))
i.every=e=>isFinite(e=Math.floor(e))&&e>0?(0,n.J)((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,r)=>{t.setFullYear(t.getFullYear()+r*e)})):null,i.range
const s=(0,n.J)((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()))
s.every=e=>isFinite(e=Math.floor(e))&&e>0?(0,n.J)((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,r)=>{t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null,s.range},80836:(e,t,r)=>{"use strict"
r.d(t,{c:()=>u,g:()=>o,i:()=>c,n:()=>l})
var n=Object.defineProperty;((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})({},{c:()=>u,f:()=>s,g:()=>o,i:()=>c,m:()=>a,n:()=>l,p:()=>h})
var i=new WeakMap
function s(e,t,r,n){return o(e.prototype,t,r,n)}function o(e,t,r,n){let s={configurable:!0,enumerable:!0,writable:!0,initializer:null}
n&&(s.initializer=n)
for(let i of r)s=i(e,t,s)||s
void 0===s.initializer?Object.defineProperty(e,t,s):function(e,t,r){let n=i.get(e)
n||(n=new Map,i.set(e,n)),n.set(t,r)}(e,t,s)}function a({prototype:e},t,r){return l(e,t,r)}function l(e,t,r){let n={...Object.getOwnPropertyDescriptor(e,t)}
for(let i of r)n=i(e,t,n)||n
void 0!==n.initializer&&(n.value=n.initializer?n.initializer.call(e):void 0,n.initializer=void 0),Object.defineProperty(e,t,n)}function c(e,t){let r=function(e,t){let r=e.prototype
for(;r;){let e=i.get(r)?.get(t)
if(e)return e
r=r.prototype}}(e.constructor,t)
r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(e):void 0})}function u(e,t){return t.reduce(((e,t)=>t(e)||e),e)}function h(e,t){for(let[r,n,i]of t)"field"===r?d(e,n,i):l(e,n,i)
return e}function d(e,t,r){let n={configurable:!0,enumerable:!0,writable:!0,initializer:()=>Object.getOwnPropertyDescriptor(e,t)?.value}
for(let i of r)n=i(e,t,n)||n
n.initializer&&(n.value=n.initializer.call(e),delete n.initializer),Object.defineProperty(e,t,n)}},75267:(e,t,r)=>{"use strict"
function n(e){return e&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function i(e){return e}function s(e,t){const r=(t=t||{}).delimiter||".",s=t.maxDepth,o=t.transformKey||i,a={}
return function e(i,l,c){c=c||1,Object.keys(i).forEach((function(u){const h=i[u],d=t.safe&&Array.isArray(h),p=Object.prototype.toString.call(h),f=n(h),m="[object Object]"===p||"[object Array]"===p,g=l?l+r+o(u):o(u)
if(!d&&!f&&m&&Object.keys(h).length&&(!t.maxDepth||c<s))return e(h,g,c+1)
a[g]=h}))}(e),a}function o(e,t){const r=(t=t||{}).delimiter||".",a=t.overwrite||!1,l=t.transformKey||i,c={}
if(n(e)||"[object Object]"!==Object.prototype.toString.call(e))return e
function u(e){const r=Number(e)
return isNaN(r)||-1!==e.indexOf(".")||t.object?e:r}return e=Object.keys(e).reduce((function(n,i){const o=Object.prototype.toString.call(e[i])
return"[object Object]"!==o&&"[object Array]"!==o||function(e){const t=Object.prototype.toString.call(e),r="[object Object]"===t
return!e||("[object Array]"===t?!e.length:r?!Object.keys(e).length:void 0)}(e[i])?(n[i]=e[i],n):function(e,t,n){return Object.keys(n).reduce((function(t,i){return t[e+r+i]=n[i],t}),t)}(i,n,s(e[i],t))}),{}),Object.keys(e).forEach((function(n){const i=n.split(r).map(l)
let s=u(i.shift()),h=u(i[0]),d=c
for(;void 0!==h;){if("__proto__"===s)return
const e=Object.prototype.toString.call(d[s]),r="[object Object]"===e||"[object Array]"===e
if(!a&&!r&&void 0!==d[s])return;(a&&!r||!a&&null==d[s])&&(d[s]="number"!=typeof h||t.object?{}:[]),d=d[s],i.length>0&&(s=u(i.shift()),h=u(i[0]))}d[s]=o(e[n],t)})),c}r.r(t),r.d(t,{flatten:()=>s,unflatten:()=>o})},1487:(e,t,r)=>{"use strict"
r.d(t,{H:()=>i,L:()=>n})
class n extends Map{constructor(e,t=l){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[r,n]of e)this.set(r,n)}get(e){return super.get(s(this,e))}has(e){return super.has(s(this,e))}set(e,t){return super.set(o(this,e),t)}delete(e){return super.delete(a(this,e))}}class i extends Set{constructor(e,t=l){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const r of e)this.add(r)}has(e){return super.has(s(this,e))}add(e){return super.add(o(this,e))}delete(e){return super.delete(a(this,e))}}function s({_intern:e,_key:t},r){const n=t(r)
return e.has(n)?e.get(n):r}function o({_intern:e,_key:t},r){const n=t(r)
return e.has(n)?e.get(n):(e.set(n,r),r)}function a({_intern:e,_key:t},r){const n=t(r)
return e.has(n)&&(r=e.get(n),e.delete(n)),r}function l(e){return null!==e&&"object"==typeof e?e.valueOf():e}},23137:e=>{"use strict"
e.exports=JSON.parse('{"lastRunTimeISO":"2024-07-22T20:55:56.554Z","lastRunFigma":{"id":"TLnoT5AYQfy3tZ0H68BgOr","page":"Export","excludeFrames":[]},"assets":[{"id":"1368:168","fileName":"loading-24","iconName":"loading","description":"loading, loader, spinner, animated","category":"Animated","size":"24","width":24,"height":24},{"id":"1368:171","fileName":"loading-16","iconName":"loading","description":"loading, loader, spinner, animated","category":"Animated","size":"16","width":16,"height":16},{"id":"4663:479","fileName":"loading-static-24","iconName":"loading-static","description":"loading, loader, spinner, static","category":"Animated","size":"24","width":24,"height":24},{"id":"4663:482","fileName":"loading-static-16","iconName":"loading-static","description":"loading, loader, spinner, static","category":"Animated","size":"16","width":16,"height":16},{"id":"1368:177","fileName":"running-24","iconName":"running","description":"running, run, animated","category":"Animated","size":"24","width":24,"height":24},{"id":"1368:180","fileName":"running-16","iconName":"running","description":"running, run, animated","category":"Animated","size":"16","width":16,"height":16},{"id":"4663:488","fileName":"running-static-24","iconName":"running-static","description":"running, run, syncing, sync, static","category":"Animated","size":"24","width":24,"height":24},{"id":"4663:491","fileName":"running-static-16","iconName":"running-static","description":"running, run, syncing, sync, static","category":"Animated","size":"16","width":16,"height":16},{"id":"707:38","fileName":"apple-24","iconName":"apple","description":"apple, macos, ios","category":"Services","size":"24","width":24,"height":24},{"id":"707:41","fileName":"apple-16","iconName":"apple","description":"apple, macos, ios","category":"Services","size":"16","width":16,"height":16},{"id":"707:32","fileName":"apple-color-24","iconName":"apple-color","description":"apple, macos, ios","category":"Services","size":"24","width":24,"height":24},{"id":"707:35","fileName":"apple-color-16","iconName":"apple-color","description":"apple, macos, ios","category":"Services","size":"16","width":16,"height":16},{"id":"707:53","fileName":"alibaba-24","iconName":"alibaba","description":"alibaba, alibaba cloud","category":"Services","size":"24","width":24,"height":24},{"id":"707:56","fileName":"alibaba-16","iconName":"alibaba","description":"alibaba, alibaba cloud","category":"Services","size":"16","width":16,"height":16},{"id":"707:47","fileName":"alibaba-color-24","iconName":"alibaba-color","description":"alibaba, alibaba cloud","category":"Services","size":"24","width":24,"height":24},{"id":"707:50","fileName":"alibaba-color-16","iconName":"alibaba-color","description":"alibaba, alibaba cloud","category":"Services","size":"16","width":16,"height":16},{"id":"1587:66","fileName":"amazon-ecs-24","iconName":"amazon-ecs","description":"amazon, aws, ecs","category":"Services","size":"24","width":24,"height":24},{"id":"1587:68","fileName":"amazon-ecs-16","iconName":"amazon-ecs","description":"amazon, aws, ecs","category":"Services","size":"16","width":16,"height":16},{"id":"1587:73","fileName":"amazon-ecs-color-24","iconName":"amazon-ecs-color","description":"amazon, aws, ecs","category":"Services","size":"24","width":24,"height":24},{"id":"1587:77","fileName":"amazon-ecs-color-16","iconName":"amazon-ecs-color","description":"amazon, aws, ecs","category":"Services","size":"16","width":16,"height":16},{"id":"879:121","fileName":"amazon-eks-24","iconName":"amazon-eks","description":"amazon, aws, eks, kubenetes","category":"Services","size":"24","width":24,"height":24},{"id":"879:127","fileName":"amazon-eks-16","iconName":"amazon-eks","description":"amazon, aws, eks, kubenetes","category":"Services","size":"16","width":16,"height":16},{"id":"879:136","fileName":"amazon-eks-color-24","iconName":"amazon-eks-color","description":"amazon, aws, eks, kubenetes","category":"Services","size":"24","width":24,"height":24},{"id":"879:141","fileName":"amazon-eks-color-16","iconName":"amazon-eks-color","description":"amazon, aws, eks, kubenetes","category":"Services","size":"16","width":16,"height":16},{"id":"707:89","fileName":"auth0-24","iconName":"auth0","description":"auth0","category":"Services","size":"24","width":24,"height":24},{"id":"707:92","fileName":"auth0-16","iconName":"auth0","description":"auth0","category":"Services","size":"16","width":16,"height":16},{"id":"707:83","fileName":"auth0-color-24","iconName":"auth0-color","description":"auth0","category":"Services","size":"24","width":24,"height":24},{"id":"707:86","fileName":"auth0-color-16","iconName":"auth0-color","description":"auth0","category":"Services","size":"16","width":16,"height":16},{"id":"707:74","fileName":"aws-24","iconName":"aws","description":"amazon, aws, amazon web services","category":"Services","size":"24","width":24,"height":24},{"id":"707:77","fileName":"aws-16","iconName":"aws","description":"amazon, aws, amazon web services","category":"Services","size":"16","width":16,"height":16},{"id":"707:62","fileName":"aws-color-24","iconName":"aws-color","description":"amazon, aws, amazon web services","category":"Services","size":"24","width":24,"height":24},{"id":"707:68","fileName":"aws-color-16","iconName":"aws-color","description":"amazon, aws, amazon web services","category":"Services","size":"16","width":16,"height":16},{"id":"4461:95","fileName":"aws-cdk-24","iconName":"aws-cdk","description":"amazon, aws, amazon web services,cdk","category":"Services","size":"24","width":24,"height":24},{"id":"4461:97","fileName":"aws-cdk-16","iconName":"aws-cdk","description":"amazon, aws, amazon web services,cdk","category":"Services","size":"16","width":16,"height":16},{"id":"4461:102","fileName":"aws-cdk-color-24","iconName":"aws-cdk-color","description":"amazon, aws, amazon web services,cdk","category":"Services","size":"24","width":24,"height":24},{"id":"4461:104","fileName":"aws-cdk-color-16","iconName":"aws-cdk-color","description":"amazon, aws, amazon web services,cdk","category":"Services","size":"16","width":16,"height":16},{"id":"2372:74","fileName":"aws-cloudwatch-24","iconName":"aws-cloudwatch","description":"amazon, aws, cloudwatch","category":"Services","size":"24","width":24,"height":24},{"id":"2372:76","fileName":"aws-cloudwatch-16","iconName":"aws-cloudwatch","description":"amazon, aws, cloudwatch","category":"Services","size":"16","width":16,"height":16},{"id":"2372:81","fileName":"aws-cloudwatch-color-24","iconName":"aws-cloudwatch-color","description":"amazon, aws, cloudwatch","category":"Services","size":"24","width":24,"height":24},{"id":"2372:96","fileName":"aws-cloudwatch-color-16","iconName":"aws-cloudwatch-color","description":"amazon, aws, cloudwatch","category":"Services","size":"16","width":16,"height":16},{"id":"879:67","fileName":"aws-ec2-24","iconName":"aws-ec2","description":"amazon, aws, ec2","category":"Services","size":"24","width":24,"height":24},{"id":"879:81","fileName":"aws-ec2-16","iconName":"aws-ec2","description":"amazon, aws, ec2","category":"Services","size":"16","width":16,"height":16},{"id":"879:98","fileName":"aws-ec2-color-24","iconName":"aws-ec2-color","description":"amazon, aws, ec2","category":"Services","size":"24","width":24,"height":24},{"id":"879:108","fileName":"aws-ec2-color-16","iconName":"aws-ec2-color","description":"amazon, aws, ec2","category":"Services","size":"16","width":16,"height":16},{"id":"2651:93","fileName":"aws-lambda-24","iconName":"aws-lambda","description":"amazon, aws, lambda","category":"Services","size":"24","width":24,"height":24},{"id":"2651:96","fileName":"aws-lambda-16","iconName":"aws-lambda","description":"amazon, aws, lambda","category":"Services","size":"16","width":16,"height":16},{"id":"2651:84","fileName":"aws-lambda-color-24","iconName":"aws-lambda-color","description":"amazon, aws, lambda","category":"Services","size":"24","width":24,"height":24},{"id":"2651:87","fileName":"aws-lambda-color-16","iconName":"aws-lambda-color","description":"amazon, aws, lambda","category":"Services","size":"16","width":16,"height":16},{"id":"2372:114","fileName":"aws-s3-24","iconName":"aws-s3","description":"amazon, aws, s3","category":"Services","size":"24","width":24,"height":24},{"id":"2372:121","fileName":"aws-s3-16","iconName":"aws-s3","description":"amazon, aws, s3","category":"Services","size":"16","width":16,"height":16},{"id":"2372:126","fileName":"aws-s3-color-24","iconName":"aws-s3-color","description":"amazon, aws, s3","category":"Services","size":"24","width":24,"height":24},{"id":"2372:141","fileName":"aws-s3-color-16","iconName":"aws-s3-color","description":"amazon, aws, s3","category":"Services","size":"16","width":16,"height":16},{"id":"707:104","fileName":"azure-24","iconName":"azure","description":"azure, microsoft","category":"Services","size":"24","width":24,"height":24},{"id":"707:107","fileName":"azure-16","iconName":"azure","description":"azure, microsoft","category":"Services","size":"16","width":16,"height":16},{"id":"707:98","fileName":"azure-color-24","iconName":"azure-color","description":"azure, microsoft","category":"Services","size":"24","width":24,"height":24},{"id":"707:101","fileName":"azure-color-16","iconName":"azure-color","description":"azure, microsoft","category":"Services","size":"16","width":16,"height":16},{"id":"2372:160","fileName":"azure-aks-24","iconName":"azure-aks","description":"azure, microsoft, aks","category":"Services","size":"24","width":24,"height":24},{"id":"2372:162","fileName":"azure-aks-16","iconName":"azure-aks","description":"azure, microsoft, aks","category":"Services","size":"16","width":16,"height":16},{"id":"2372:167","fileName":"azure-aks-color-24","iconName":"azure-aks-color","description":"azure, microsoft, aks","category":"Services","size":"24","width":24,"height":24},{"id":"2372:185","fileName":"azure-aks-color-16","iconName":"azure-aks-color","description":"azure, microsoft, aks","category":"Services","size":"16","width":16,"height":16},{"id":"2372:206","fileName":"azure-blob-storage-24","iconName":"azure-blob-storage","description":"microsoft, azure, blob, storage","category":"Services","size":"24","width":24,"height":24},{"id":"2372:208","fileName":"azure-blob-storage-16","iconName":"azure-blob-storage","description":"microsoft, azure, blob, storage","category":"Services","size":"16","width":16,"height":16},{"id":"2372:213","fileName":"azure-blob-storage-color-24","iconName":"azure-blob-storage-color","description":"microsoft, azure, blob, storage","category":"Services","size":"24","width":24,"height":24},{"id":"2372:224","fileName":"azure-blob-storage-color-16","iconName":"azure-blob-storage-color","description":"microsoft, azure, blob, storage","category":"Services","size":"16","width":16,"height":16},{"id":"707:119","fileName":"azure-devops-24","iconName":"azure-devops","description":"azure, microsoft","category":"Services","size":"24","width":24,"height":24},{"id":"707:122","fileName":"azure-devops-16","iconName":"azure-devops","description":"azure, microsoft","category":"Services","size":"16","width":16,"height":16},{"id":"707:113","fileName":"azure-devops-color-24","iconName":"azure-devops-color","description":"azure, microsoft","category":"Services","size":"24","width":24,"height":24},{"id":"707:116","fileName":"azure-devops-color-16","iconName":"azure-devops-color","description":"azure, microsoft","category":"Services","size":"16","width":16,"height":16},{"id":"2372:238","fileName":"azure-vms-24","iconName":"azure-vms","description":"azure, microsoft, vms","category":"Services","size":"24","width":24,"height":24},{"id":"2372:253","fileName":"azure-vms-16","iconName":"azure-vms","description":"azure, microsoft, vms","category":"Services","size":"16","width":16,"height":16},{"id":"2372:258","fileName":"azure-vms-color-24","iconName":"azure-vms-color","description":"azure, microsoft, vms","category":"Services","size":"24","width":24,"height":24},{"id":"2372:267","fileName":"azure-vms-color-16","iconName":"azure-vms-color","description":"azure, microsoft, vms","category":"Services","size":"16","width":16,"height":16},{"id":"707:141","fileName":"bitbucket-24","iconName":"bitbucket","description":"bitbucket, atlassian","category":"Services","size":"24","width":24,"height":24},{"id":"707:146","fileName":"bitbucket-16","iconName":"bitbucket","description":"bitbucket, atlassian","category":"Services","size":"16","width":16,"height":16},{"id":"707:129","fileName":"bitbucket-color-24","iconName":"bitbucket-color","description":"bitbucket, atlassian","category":"Services","size":"24","width":24,"height":24},{"id":"707:135","fileName":"bitbucket-color-16","iconName":"bitbucket-color","description":"bitbucket, atlassian","category":"Services","size":"16","width":16,"height":16},{"id":"2372:280","fileName":"bridgecrew-24","iconName":"bridgecrew","description":"bridgecrew","category":"Services","size":"24","width":24,"height":24},{"id":"2372:282","fileName":"bridgecrew-16","iconName":"bridgecrew","description":"bridgecrew","category":"Services","size":"16","width":16,"height":16},{"id":"2372:288","fileName":"bridgecrew-color-24","iconName":"bridgecrew-color","description":"bridgecrew","category":"Services","size":"24","width":24,"height":24},{"id":"2372:296","fileName":"bridgecrew-color-16","iconName":"bridgecrew-color","description":"bridgecrew","category":"Services","size":"16","width":16,"height":16},{"id":"2372:312","fileName":"cisco-24","iconName":"cisco","description":"cisco","category":"Services","size":"24","width":24,"height":24},{"id":"2372:314","fileName":"cisco-16","iconName":"cisco","description":"cisco","category":"Services","size":"16","width":16,"height":16},{"id":"2372:319","fileName":"cisco-color-24","iconName":"cisco-color","description":"cisco","category":"Services","size":"24","width":24,"height":24},{"id":"2372:321","fileName":"cisco-color-16","iconName":"cisco-color","description":"cisco","category":"Services","size":"16","width":16,"height":16},{"id":"855:282","fileName":"codepen-24","iconName":"codepen","description":"codepen","category":"Services","size":"24","width":24,"height":24},{"id":"855:284","fileName":"codepen-16","iconName":"codepen","description":"codepen","category":"Services","size":"16","width":16,"height":16},{"id":"855:289","fileName":"codepen-color-24","iconName":"codepen-color","description":"codepen","category":"Services","size":"24","width":24,"height":24},{"id":"855:292","fileName":"codepen-color-16","iconName":"codepen-color","description":"codepen","category":"Services","size":"16","width":16,"height":16},{"id":"2372:326","fileName":"datadog-24","iconName":"datadog","description":"datadog","category":"Services","size":"24","width":24,"height":24},{"id":"2372:328","fileName":"datadog-16","iconName":"datadog","description":"datadog","category":"Services","size":"16","width":16,"height":16},{"id":"2372:333","fileName":"datadog-color-24","iconName":"datadog-color","description":"datadog","category":"Services","size":"24","width":24,"height":24},{"id":"2372:335","fileName":"datadog-color-16","iconName":"datadog-color","description":"datadog","category":"Services","size":"16","width":16,"height":16},{"id":"2372:341","fileName":"digital-ocean-24","iconName":"digital-ocean","description":"digital, ocean","category":"Services","size":"24","width":24,"height":24},{"id":"2372:343","fileName":"digital-ocean-16","iconName":"digital-ocean","description":"digital, ocean","category":"Services","size":"16","width":16,"height":16},{"id":"2372:348","fileName":"digital-ocean-color-24","iconName":"digital-ocean-color","description":"digital, ocean","category":"Services","size":"24","width":24,"height":24},{"id":"2372:350","fileName":"digital-ocean-color-16","iconName":"digital-ocean-color","description":"digital, ocean","category":"Services","size":"16","width":16,"height":16},{"id":"707:160","fileName":"docker-24","iconName":"docker","description":"docker","category":"Services","size":"24","width":24,"height":24},{"id":"707:163","fileName":"docker-16","iconName":"docker","description":"docker","category":"Services","size":"16","width":16,"height":16},{"id":"707:154","fileName":"docker-color-24","iconName":"docker-color","description":"docker","category":"Services","size":"24","width":24,"height":24},{"id":"707:157","fileName":"docker-color-16","iconName":"docker-color","description":"docker","category":"Services","size":"16","width":16,"height":16},{"id":"4229:66","fileName":"elastic-observability-24","iconName":"elastic-observability","description":"elastic, observability, provider, cloud","category":"Services","size":"24","width":24,"height":24},{"id":"4229:74","fileName":"elastic-observability-16","iconName":"elastic-observability","description":"elastic, observability, provider, cloud","category":"Services","size":"16","width":16,"height":16},{"id":"4229:85","fileName":"elastic-observability-color-24","iconName":"elastic-observability-color","description":"elastic, observability, provider, cloud","category":"Services","size":"24","width":24,"height":24},{"id":"4229:93","fileName":"elastic-observability-color-16","iconName":"elastic-observability-color","description":"elastic, observability, provider, cloud","category":"Services","size":"16","width":16,"height":16},{"id":"707:179","fileName":"f5-24","iconName":"f5","description":"f5","category":"Services","size":"24","width":24,"height":24},{"id":"707:182","fileName":"f5-16","iconName":"f5","description":"f5","category":"Services","size":"16","width":16,"height":16},{"id":"707:169","fileName":"f5-color-24","iconName":"f5-color","description":"f5","category":"Services","size":"24","width":24,"height":24},{"id":"707:174","fileName":"f5-color-16","iconName":"f5-color","description":"f5","category":"Services","size":"16","width":16,"height":16},{"id":"855:261","fileName":"facebook-24","iconName":"facebook","description":"facebook","category":"Services","size":"24","width":24,"height":24},{"id":"855:263","fileName":"facebook-16","iconName":"facebook","description":"facebook","category":"Services","size":"16","width":16,"height":16},{"id":"855:268","fileName":"facebook-color-24","iconName":"facebook-color","description":"facebook","category":"Services","size":"24","width":24,"height":24},{"id":"855:271","fileName":"facebook-color-16","iconName":"facebook-color","description":"facebook","category":"Services","size":"16","width":16,"height":16},{"id":"2868:96","fileName":"figma-24","iconName":"figma","description":"figma","category":"Services","size":"24","width":24,"height":24},{"id":"2868:98","fileName":"figma-16","iconName":"figma","description":"figma","category":"Services","size":"16","width":16,"height":16},{"id":"2868:103","fileName":"figma-color-24","iconName":"figma-color","description":"figma","category":"Services","size":"24","width":24,"height":24},{"id":"2868:116","fileName":"figma-color-16","iconName":"figma-color","description":"figma","category":"Services","size":"16","width":16,"height":16},{"id":"707:200","fileName":"gcp-24","iconName":"gcp","description":"google, gcp, google cloud platform","category":"Services","size":"24","width":24,"height":24},{"id":"707:203","fileName":"gcp-16","iconName":"gcp","description":"google, gcp, google cloud platform","category":"Services","size":"16","width":16,"height":16},{"id":"707:188","fileName":"gcp-color-24","iconName":"gcp-color","description":"google, gcp, google cloud platform","category":"Services","size":"24","width":24,"height":24},{"id":"707:194","fileName":"gcp-color-16","iconName":"gcp-color","description":"google, gcp, google cloud platform","category":"Services","size":"16","width":16,"height":16},{"id":"6046:80","fileName":"git-24","iconName":"git","description":"git","category":"Services","size":"24","width":24,"height":24},{"id":"6046:85","fileName":"git-16","iconName":"git","description":"git","category":"Services","size":"16","width":16,"height":16},{"id":"6046:93","fileName":"git-color-24","iconName":"git-color","description":"git","category":"Services","size":"24","width":24,"height":24},{"id":"6046:98","fileName":"git-color-16","iconName":"git-color","description":"git","category":"Services","size":"16","width":16,"height":16},{"id":"707:229","fileName":"gitlab-24","iconName":"gitlab","description":"gitlab","category":"Services","size":"24","width":24,"height":24},{"id":"707:232","fileName":"gitlab-16","iconName":"gitlab","description":"gitlab","category":"Services","size":"16","width":16,"height":16},{"id":"707:209","fileName":"gitlab-color-24","iconName":"gitlab-color","description":"gitlab","category":"Services","size":"24","width":24,"height":24},{"id":"707:219","fileName":"gitlab-color-16","iconName":"gitlab-color","description":"gitlab","category":"Services","size":"16","width":16,"height":16},{"id":"707:244","fileName":"github-24","iconName":"github","description":"github","category":"Services","size":"24","width":24,"height":24},{"id":"707:247","fileName":"github-16","iconName":"github","description":"github","category":"Services","size":"16","width":16,"height":16},{"id":"707:238","fileName":"github-color-24","iconName":"github-color","description":"github","category":"Services","size":"24","width":24,"height":24},{"id":"707:241","fileName":"github-color-16","iconName":"github-color","description":"github","category":"Services","size":"16","width":16,"height":16},{"id":"707:266","fileName":"google-24","iconName":"google","description":"kubernetes, k8s","category":"Services","size":"24","width":24,"height":24},{"id":"707:269","fileName":"google-16","iconName":"google","description":"kubernetes, k8s","category":"Services","size":"16","width":16,"height":16},{"id":"707:254","fileName":"google-color-24","iconName":"google-color","description":"kubernetes, k8s","category":"Services","size":"24","width":24,"height":24},{"id":"707:260","fileName":"google-color-16","iconName":"google-color","description":"kubernetes, k8s","category":"Services","size":"16","width":16,"height":16},{"id":"4663:410","fileName":"google-docs-24","iconName":"google-docs","description":"google, docs","category":"Services","size":"24","width":24,"height":24},{"id":"4663:417","fileName":"google-docs-16","iconName":"google-docs","description":"google, docs","category":"Services","size":"16","width":16,"height":16},{"id":"4663:427","fileName":"google-docs-color-24","iconName":"google-docs-color","description":"google, docs","category":"Services","size":"24","width":24,"height":24},{"id":"4663:433","fileName":"google-docs-color-16","iconName":"google-docs-color","description":"google, docs","category":"Services","size":"16","width":16,"height":16},{"id":"4663:231","fileName":"google-drive-24","iconName":"google-drive","description":"google, drive","category":"Services","size":"24","width":24,"height":24},{"id":"4663:240","fileName":"google-drive-16","iconName":"google-drive","description":"google, drive","category":"Services","size":"16","width":16,"height":16},{"id":"4663:250","fileName":"google-drive-color-24","iconName":"google-drive-color","description":"google, drive","category":"Services","size":"24","width":24,"height":24},{"id":"4663:259","fileName":"google-drive-color-16","iconName":"google-drive-color","description":"google, drive","category":"Services","size":"16","width":16,"height":16},{"id":"4663:448","fileName":"google-forms-24","iconName":"google-forms","description":"google, forms","category":"Services","size":"24","width":24,"height":24},{"id":"4663:457","fileName":"google-forms-16","iconName":"google-forms","description":"google, forms","category":"Services","size":"16","width":16,"height":16},{"id":"4663:325","fileName":"google-forms-color-24","iconName":"google-forms-color","description":"google, forms","category":"Services","size":"24","width":24,"height":24},{"id":"4663:331","fileName":"google-forms-color-16","iconName":"google-forms-color","description":"google, forms","category":"Services","size":"16","width":16,"height":16},{"id":"4663:338","fileName":"google-sheets-24","iconName":"google-sheets","description":"google, sheets","category":"Services","size":"24","width":24,"height":24},{"id":"4663:346","fileName":"google-sheets-16","iconName":"google-sheets","description":"google, sheets","category":"Services","size":"16","width":16,"height":16},{"id":"4663:355","fileName":"google-sheets-color-24","iconName":"google-sheets-color","description":"google, sheets","category":"Services","size":"24","width":24,"height":24},{"id":"4663:361","fileName":"google-sheets-color-16","iconName":"google-sheets-color","description":"google, sheets","category":"Services","size":"16","width":16,"height":16},{"id":"4663:269","fileName":"google-slides-24","iconName":"google-slides","description":"google, slides","category":"Services","size":"24","width":24,"height":24},{"id":"4663:278","fileName":"google-slides-16","iconName":"google-slides","description":"google, slides","category":"Services","size":"16","width":16,"height":16},{"id":"4663:288","fileName":"google-slides-color-24","iconName":"google-slides-color","description":"google, slides","category":"Services","size":"24","width":24,"height":24},{"id":"4663:294","fileName":"google-slides-color-16","iconName":"google-slides-color","description":"google, slides","category":"Services","size":"16","width":16,"height":16},{"id":"2372:355","fileName":"grafana-24","iconName":"grafana","description":"grafana","category":"Services","size":"24","width":24,"height":24},{"id":"2372:357","fileName":"grafana-16","iconName":"grafana","description":"grafana","category":"Services","size":"16","width":16,"height":16},{"id":"2372:362","fileName":"grafana-color-24","iconName":"grafana-color","description":"grafana","category":"Services","size":"24","width":24,"height":24},{"id":"2372:364","fileName":"grafana-color-16","iconName":"grafana-color","description":"grafana","category":"Services","size":"16","width":16,"height":16},{"id":"2372:369","fileName":"helm-24","iconName":"helm","description":"helm","category":"Services","size":"24","width":24,"height":24},{"id":"2372:371","fileName":"helm-16","iconName":"helm","description":"helm","category":"Services","size":"16","width":16,"height":16},{"id":"2372:376","fileName":"helm-color-24","iconName":"helm-color","description":"helm","category":"Services","size":"24","width":24,"height":24},{"id":"2372:378","fileName":"helm-color-16","iconName":"helm-color","description":"helm","category":"Services","size":"16","width":16,"height":16},{"id":"2372:384","fileName":"infracost-24","iconName":"infracost","description":"infracost","category":"Services","size":"24","width":24,"height":24},{"id":"2372:386","fileName":"infracost-16","iconName":"infracost","description":"infracost","category":"Services","size":"16","width":16,"height":16},{"id":"2372:391","fileName":"infracost-color-24","iconName":"infracost-color","description":"infracost","category":"Services","size":"24","width":24,"height":24},{"id":"2372:396","fileName":"infracost-color-16","iconName":"infracost-color","description":"infracost","category":"Services","size":"16","width":16,"height":16},{"id":"4461:140","fileName":"jfrog-24","iconName":"jfrog","description":"jfrog","category":"Services","size":"24","width":24,"height":24},{"id":"4461:142","fileName":"jfrog-16","iconName":"jfrog","description":"jfrog","category":"Services","size":"16","width":16,"height":16},{"id":"4461:147","fileName":"jfrog-color-24","iconName":"jfrog-color","description":"jfrog","category":"Services","size":"24","width":24,"height":24},{"id":"4461:149","fileName":"jfrog-color-16","iconName":"jfrog-color","description":"jfrog","category":"Services","size":"16","width":16,"height":16},{"id":"4403:80","fileName":"jira-24","iconName":"jira","description":"jira, atlassian, tasks, tickets","category":"Services","size":"24","width":24,"height":24},{"id":"4403:83","fileName":"jira-16","iconName":"jira","description":"jira, atlassian, tasks, tickets","category":"Services","size":"16","width":16,"height":16},{"id":"4403:89","fileName":"jira-color-24","iconName":"jira-color","description":"jira, atlassian, tasks, tickets","category":"Services","size":"24","width":24,"height":24},{"id":"4403:94","fileName":"jira-color-16","iconName":"jira-color","description":"jira, atlassian, tasks, tickets","category":"Services","size":"16","width":16,"height":16},{"id":"5086:66","fileName":"jwt-24","iconName":"jwt","description":"json web tokens, jwt","category":"Services","size":"24","width":24,"height":24},{"id":"5086:80","fileName":"jwt-16","iconName":"jwt","description":"json web tokens, jwt","category":"Services","size":"16","width":16,"height":16},{"id":"5086:97","fileName":"jwt-color-24","iconName":"jwt-color","description":"json web tokens, jwt","category":"Services","size":"24","width":24,"height":24},{"id":"5086:111","fileName":"jwt-color-16","iconName":"jwt-color","description":"json web tokens, jwt","category":"Services","size":"16","width":16,"height":16},{"id":"707:283","fileName":"kubernetes-24","iconName":"kubernetes","description":"kubernetes, k8s","category":"Services","size":"24","width":24,"height":24},{"id":"707:286","fileName":"kubernetes-16","iconName":"kubernetes","description":"kubernetes, k8s","category":"Services","size":"16","width":16,"height":16},{"id":"707:275","fileName":"kubernetes-color-24","iconName":"kubernetes-color","description":"kubernetes, k8s","category":"Services","size":"24","width":24,"height":24},{"id":"707:279","fileName":"kubernetes-color-16","iconName":"kubernetes-color","description":"kubernetes, k8s","category":"Services","size":"16","width":16,"height":16},{"id":"2372:404","fileName":"lightlytics-24","iconName":"lightlytics","description":"lightlytics","category":"Services","size":"24","width":24,"height":24},{"id":"2372:406","fileName":"lightlytics-16","iconName":"lightlytics","description":"lightlytics","category":"Services","size":"16","width":16,"height":16},{"id":"2372:411","fileName":"lightlytics-color-24","iconName":"lightlytics-color","description":"lightlytics","category":"Services","size":"24","width":24,"height":24},{"id":"2372:416","fileName":"lightlytics-color-16","iconName":"lightlytics-color","description":"lightlytics","category":"Services","size":"16","width":16,"height":16},{"id":"855:241","fileName":"linkedin-24","iconName":"linkedin","description":"linkedin, microsoft","category":"Services","size":"24","width":24,"height":24},{"id":"855:243","fileName":"linkedin-16","iconName":"linkedin","description":"linkedin, microsoft","category":"Services","size":"16","width":16,"height":16},{"id":"855:248","fileName":"linkedin-color-24","iconName":"linkedin-color","description":"linkedin, microsoft","category":"Services","size":"24","width":24,"height":24},{"id":"855:250","fileName":"linkedin-color-16","iconName":"linkedin-color","description":"linkedin, microsoft","category":"Services","size":"16","width":16,"height":16},{"id":"2372:424","fileName":"linode-24","iconName":"linode","description":"linode","category":"Services","size":"24","width":24,"height":24},{"id":"2372:426","fileName":"linode-16","iconName":"linode","description":"linode","category":"Services","size":"16","width":16,"height":16},{"id":"2372:431","fileName":"linode-color-24","iconName":"linode-color","description":"linode","category":"Services","size":"24","width":24,"height":24},{"id":"2372:449","fileName":"linode-color-16","iconName":"linode-color","description":"linode","category":"Services","size":"16","width":16,"height":16},{"id":"2660:433","fileName":"linux-24","iconName":"linux","description":"linux, os","category":"Services","size":"24","width":24,"height":24},{"id":"2660:436","fileName":"linux-16","iconName":"linux","description":"linux, os","category":"Services","size":"16","width":16,"height":16},{"id":"2668:66","fileName":"linux-color-24","iconName":"linux-color","description":"linux, os","category":"Services","size":"24","width":24,"height":24},{"id":"2668:79","fileName":"linux-color-16","iconName":"linux-color","description":"linux, os","category":"Services","size":"16","width":16,"height":16},{"id":"2868:127","fileName":"loom-24","iconName":"loom","description":"loom","category":"Services","size":"24","width":24,"height":24},{"id":"2868:129","fileName":"loom-16","iconName":"loom","description":"loom","category":"Services","size":"16","width":16,"height":16},{"id":"2868:134","fileName":"loom-color-24","iconName":"loom-color","description":"loom","category":"Services","size":"24","width":24,"height":24},{"id":"2868:136","fileName":"loom-color-16","iconName":"loom-color","description":"loom","category":"Services","size":"16","width":16,"height":16},{"id":"5086:176","fileName":"meetup-24","iconName":"meetup","description":"meetup","category":"Services","size":"24","width":24,"height":24},{"id":"5086:183","fileName":"meetup-16","iconName":"meetup","description":"meetup","category":"Services","size":"16","width":16,"height":16},{"id":"5086:193","fileName":"meetup-color-24","iconName":"meetup-color","description":"meetup","category":"Services","size":"24","width":24,"height":24},{"id":"5086:200","fileName":"meetup-color-16","iconName":"meetup-color","description":"meetup","category":"Services","size":"16","width":16,"height":16},{"id":"707:304","fileName":"microsoft-24","iconName":"microsoft","description":"microsoft, ms, windows","category":"Services","size":"24","width":24,"height":24},{"id":"707:307","fileName":"microsoft-16","iconName":"microsoft","description":"microsoft, ms, windows","category":"Services","size":"16","width":16,"height":16},{"id":"707:292","fileName":"microsoft-color-24","iconName":"microsoft-color","description":"microsoft, ms, windows","category":"Services","size":"24","width":24,"height":24},{"id":"707:298","fileName":"microsoft-color-16","iconName":"microsoft-color","description":"microsoft, ms, windows","category":"Services","size":"16","width":16,"height":16},{"id":"2372:471","fileName":"microsoft-teams-24","iconName":"microsoft-teams","description":"microsoft, teams","category":"Services","size":"24","width":24,"height":24},{"id":"2372:473","fileName":"microsoft-teams-16","iconName":"microsoft-teams","description":"microsoft, teams","category":"Services","size":"16","width":16,"height":16},{"id":"2372:478","fileName":"microsoft-teams-color-24","iconName":"microsoft-teams-color","description":"microsoft, teams","category":"Services","size":"24","width":24,"height":24},{"id":"2372:494","fileName":"microsoft-teams-color-16","iconName":"microsoft-teams-color","description":"microsoft, teams","category":"Services","size":"16","width":16,"height":16},{"id":"6046:106","fileName":"minio-24","iconName":"minio","description":"minio","category":"Services","size":"24","width":24,"height":24},{"id":"6046:109","fileName":"minio-16","iconName":"minio","description":"minio","category":"Services","size":"16","width":16,"height":16},{"id":"6046:115","fileName":"minio-color-24","iconName":"minio-color","description":"minio","category":"Services","size":"24","width":24,"height":24},{"id":"6046:118","fileName":"minio-color-16","iconName":"minio-color","description":"minio","category":"Services","size":"16","width":16,"height":16},{"id":"6482:124","fileName":"mongodb-24","iconName":"mongodb","description":"mongodb","category":"Services","size":"24","width":24,"height":24},{"id":"6482:126","fileName":"mongodb-16","iconName":"mongodb","description":"mongodb","category":"Services","size":"16","width":16,"height":16},{"id":"6482:131","fileName":"mongodb-color-24","iconName":"mongodb-color","description":"mongodb","category":"Services","size":"24","width":24,"height":24},{"id":"6482:133","fileName":"mongodb-color-16","iconName":"mongodb-color","description":"mongodb","category":"Services","size":"16","width":16,"height":16},{"id":"4229:107","fileName":"new-relic-24","iconName":"new-relic","description":"new relic, provider, cloud","category":"Services","size":"24","width":24,"height":24},{"id":"4229:114","fileName":"new-relic-16","iconName":"new-relic","description":"new relic, provider, cloud","category":"Services","size":"16","width":16,"height":16},{"id":"4229:124","fileName":"new-relic-color-24","iconName":"new-relic-color","description":"new relic, provider, cloud","category":"Services","size":"24","width":24,"height":24},{"id":"4229:131","fileName":"new-relic-color-16","iconName":"new-relic-color","description":"new relic, provider, cloud","category":"Services","size":"16","width":16,"height":16},{"id":"707:319","fileName":"okta-24","iconName":"okta","description":"okta","category":"Services","size":"24","width":24,"height":24},{"id":"707:322","fileName":"okta-16","iconName":"okta","description":"okta","category":"Services","size":"16","width":16,"height":16},{"id":"707:313","fileName":"okta-color-24","iconName":"okta-color","description":"okta","category":"Services","size":"24","width":24,"height":24},{"id":"707:316","fileName":"okta-color-16","iconName":"okta-color","description":"okta","category":"Services","size":"16","width":16,"height":16},{"id":"707:338","fileName":"oracle-24","iconName":"oracle","description":"oracle, oracle cloud","category":"Services","size":"24","width":24,"height":24},{"id":"707:341","fileName":"oracle-16","iconName":"oracle","description":"oracle, oracle cloud","category":"Services","size":"16","width":16,"height":16},{"id":"707:328","fileName":"oracle-color-24","iconName":"oracle-color","description":"oracle, oracle cloud","category":"Services","size":"24","width":24,"height":24},{"id":"707:333","fileName":"oracle-color-16","iconName":"oracle-color","description":"oracle, oracle cloud","category":"Services","size":"16","width":16,"height":16},{"id":"2517:66","fileName":"opa-24","iconName":"opa","description":"opa, open, policy, agent","category":"Services","size":"24","width":24,"height":24},{"id":"2517:70","fileName":"opa-16","iconName":"opa","description":"opa, open, policy, agent","category":"Services","size":"16","width":16,"height":16},{"id":"2517:77","fileName":"opa-color-24","iconName":"opa-color","description":"opa, open, policy, agent","category":"Services","size":"24","width":24,"height":24},{"id":"2517:81","fileName":"opa-color-16","iconName":"opa-color","description":"opa, open, policy, agent","category":"Services","size":"16","width":16,"height":16},{"id":"5086:248","fileName":"openid-24","iconName":"openid","description":"OpenID, OIDC","category":"Services","size":"24","width":24,"height":24},{"id":"5086:255","fileName":"openid-16","iconName":"openid","description":"OpenID, OIDC","category":"Services","size":"16","width":16,"height":16},{"id":"5086:265","fileName":"openid-color-24","iconName":"openid-color","description":"OpenID, OIDC","category":"Services","size":"24","width":24,"height":24},{"id":"5086:272","fileName":"openid-color-16","iconName":"openid-color","description":"OpenID, OIDC","category":"Services","size":"16","width":16,"height":16},{"id":"1133:268","fileName":"pack-24","iconName":"pack","description":"pack, buildpack, cloud, native","category":"Services","size":"24","width":24,"height":24},{"id":"1133:270","fileName":"pack-16","iconName":"pack","description":"pack, buildpack, cloud, native","category":"Services","size":"16","width":16,"height":16},{"id":"1133:275","fileName":"pack-color-24","iconName":"pack-color","description":"pack, buildpack, cloud, native","category":"Services","size":"24","width":24,"height":24},{"id":"1133:286","fileName":"pack-color-16","iconName":"pack-color","description":"pack, buildpack, cloud, native","category":"Services","size":"16","width":16,"height":16},{"id":"6411:101","fileName":"pager-duty-24","iconName":"pager-duty","description":"pagerduty","category":"Services","size":"24","width":24,"height":24},{"id":"6411:106","fileName":"pager-duty-16","iconName":"pager-duty","description":"pagerduty","category":"Services","size":"16","width":16,"height":16},{"id":"6411:88","fileName":"pager-duty-color-24","iconName":"pager-duty-color","description":"pagerduty","category":"Services","size":"24","width":24,"height":24},{"id":"6411:93","fileName":"pager-duty-color-16","iconName":"pager-duty-color","description":"pagerduty","category":"Services","size":"16","width":16,"height":16},{"id":"5086:218","fileName":"rabbitmq-24","iconName":"rabbitmq","description":"RabbitMQ","category":"Services","size":"24","width":24,"height":24},{"id":"5086:222","fileName":"rabbitmq-16","iconName":"rabbitmq","description":"RabbitMQ","category":"Services","size":"16","width":16,"height":16},{"id":"5086:229","fileName":"rabbitmq-color-24","iconName":"rabbitmq-color","description":"RabbitMQ","category":"Services","size":"24","width":24,"height":24},{"id":"5086:233","fileName":"rabbitmq-color-16","iconName":"rabbitmq-color","description":"RabbitMQ","category":"Services","size":"16","width":16,"height":16},{"id":"2372:513","fileName":"saml-24","iconName":"saml","description":"saml","category":"Services","size":"24","width":24,"height":24},{"id":"2372:515","fileName":"saml-16","iconName":"saml","description":"saml","category":"Services","size":"16","width":16,"height":16},{"id":"2372:520","fileName":"saml-color-24","iconName":"saml-color","description":"saml","category":"Services","size":"24","width":24,"height":24},{"id":"2372:522","fileName":"saml-color-16","iconName":"saml-color","description":"saml","category":"Services","size":"16","width":16,"height":16},{"id":"6411:66","fileName":"service-now-24","iconName":"service-now","description":"servicenow","category":"Services","size":"24","width":24,"height":24},{"id":"6411:70","fileName":"service-now-16","iconName":"service-now","description":"servicenow","category":"Services","size":"16","width":16,"height":16},{"id":"6411:77","fileName":"service-now-color-24","iconName":"service-now-color","description":"servicenow","category":"Services","size":"24","width":24,"height":24},{"id":"6411:81","fileName":"service-now-color-16","iconName":"service-now-color","description":"servicenow","category":"Services","size":"16","width":16,"height":16},{"id":"707:375","fileName":"slack-24","iconName":"slack","description":"slack, salesforce","category":"Services","size":"24","width":24,"height":24},{"id":"707:378","fileName":"slack-16","iconName":"slack","description":"slack, salesforce","category":"Services","size":"16","width":16,"height":16},{"id":"707:347","fileName":"slack-color-24","iconName":"slack-color","description":"slack, salesforce","category":"Services","size":"24","width":24,"height":24},{"id":"707:361","fileName":"slack-color-16","iconName":"slack-color","description":"slack, salesforce","category":"Services","size":"16","width":16,"height":16},{"id":"2373:527","fileName":"snyk-24","iconName":"snyk","description":"snyk","category":"Services","size":"24","width":24,"height":24},{"id":"2373:529","fileName":"snyk-16","iconName":"snyk","description":"snyk","category":"Services","size":"16","width":16,"height":16},{"id":"2373:534","fileName":"snyk-color-24","iconName":"snyk-color","description":"snyk","category":"Services","size":"24","width":24,"height":24},{"id":"2373:562","fileName":"snyk-color-16","iconName":"snyk-color","description":"snyk","category":"Services","size":"16","width":16,"height":16},{"id":"2373:594","fileName":"splunk-24","iconName":"splunk","description":"splunk","category":"Services","size":"24","width":24,"height":24},{"id":"2373:596","fileName":"splunk-16","iconName":"splunk","description":"splunk","category":"Services","size":"16","width":16,"height":16},{"id":"2373:601","fileName":"splunk-color-24","iconName":"splunk-color","description":"splunk","category":"Services","size":"24","width":24,"height":24},{"id":"2373:603","fileName":"splunk-color-16","iconName":"splunk-color","description":"splunk","category":"Services","size":"16","width":16,"height":16},{"id":"6482:145","fileName":"twilio-24","iconName":"twilio","description":"twilio","category":"Services","size":"24","width":24,"height":24},{"id":"6482:147","fileName":"twilio-16","iconName":"twilio","description":"twilio","category":"Services","size":"16","width":16,"height":16},{"id":"6482:138","fileName":"twilio-color-24","iconName":"twilio-color","description":"twilio","category":"Services","size":"24","width":24,"height":24},{"id":"6482:140","fileName":"twilio-color-16","iconName":"twilio-color","description":"twilio","category":"Services","size":"16","width":16,"height":16},{"id":"855:174","fileName":"twitch-24","iconName":"twitch","description":"twitch","category":"Services","size":"24","width":24,"height":24},{"id":"855:176","fileName":"twitch-16","iconName":"twitch","description":"twitch","category":"Services","size":"16","width":16,"height":16},{"id":"855:181","fileName":"twitch-color-24","iconName":"twitch-color","description":"twitch","category":"Services","size":"24","width":24,"height":24},{"id":"855:184","fileName":"twitch-color-16","iconName":"twitch-color","description":"twitch","category":"Services","size":"16","width":16,"height":16},{"id":"4458:66","fileName":"twitter-24","iconName":"twitter","description":"twitter","category":"Services","size":"24","width":24,"height":24},{"id":"4458:68","fileName":"twitter-16","iconName":"twitter","description":"twitter","category":"Services","size":"16","width":16,"height":16},{"id":"4458:73","fileName":"twitter-color-24","iconName":"twitter-color","description":"twitter","category":"Services","size":"24","width":24,"height":24},{"id":"4458:75","fileName":"twitter-color-16","iconName":"twitter-color","description":"twitter","category":"Services","size":"16","width":16,"height":16},{"id":"4425:94","fileName":"twitter-x-24","iconName":"twitter-x","description":"twitter, x","category":"Services","size":"24","width":24,"height":24},{"id":"4425:96","fileName":"twitter-x-16","iconName":"twitter-x","description":"twitter, x","category":"Services","size":"16","width":16,"height":16},{"id":"4425:101","fileName":"twitter-x-color-24","iconName":"twitter-x-color","description":"twitter, x","category":"Services","size":"24","width":24,"height":24},{"id":"4425:103","fileName":"twitter-x-color-16","iconName":"twitter-x-color","description":"twitter, x","category":"Services","size":"16","width":16,"height":16},{"id":"2373:608","fileName":"vantage-24","iconName":"vantage","description":"vantage","category":"Services","size":"24","width":24,"height":24},{"id":"2373:610","fileName":"vantage-16","iconName":"vantage","description":"vantage","category":"Services","size":"16","width":16,"height":16},{"id":"2373:615","fileName":"vantage-color-24","iconName":"vantage-color","description":"vantage","category":"Services","size":"24","width":24,"height":24},{"id":"2373:617","fileName":"vantage-color-16","iconName":"vantage-color","description":"vantage","category":"Services","size":"16","width":16,"height":16},{"id":"4160:80","fileName":"venafi-24","iconName":"venafi","description":"venafi, identity","category":"Services","size":"24","width":24,"height":24},{"id":"4160:82","fileName":"venafi-16","iconName":"venafi","description":"venafi, identity","category":"Services","size":"16","width":16,"height":16},{"id":"4160:87","fileName":"venafi-color-24","iconName":"venafi-color","description":"venafi, identity","category":"Services","size":"24","width":24,"height":24},{"id":"4160:89","fileName":"venafi-color-16","iconName":"venafi-color","description":"venafi, identity","category":"Services","size":"16","width":16,"height":16},{"id":"4403:66","fileName":"vercel-24","iconName":"vercel","description":"vercel","category":"Services","size":"24","width":24,"height":24},{"id":"4403:68","fileName":"vercel-16","iconName":"vercel","description":"vercel","category":"Services","size":"16","width":16,"height":16},{"id":"4403:73","fileName":"vercel-color-24","iconName":"vercel-color","description":"vercel","category":"Services","size":"24","width":24,"height":24},{"id":"4403:75","fileName":"vercel-color-16","iconName":"vercel-color","description":"vercel","category":"Services","size":"16","width":16,"height":16},{"id":"707:391","fileName":"vmware-24","iconName":"vmware","description":"vmware, vmware cloud","category":"Services","size":"24","width":24,"height":24},{"id":"707:394","fileName":"vmware-16","iconName":"vmware","description":"vmware, vmware cloud","category":"Services","size":"16","width":16,"height":16},{"id":"707:385","fileName":"vmware-color-24","iconName":"vmware-color","description":"vmware, vmware cloud","category":"Services","size":"24","width":24,"height":24},{"id":"707:388","fileName":"vmware-color-16","iconName":"vmware-color","description":"vmware, vmware cloud","category":"Services","size":"16","width":16,"height":16},{"id":"855:216","fileName":"youtube-24","iconName":"youtube","description":"youtube, google","category":"Services","size":"24","width":24,"height":24},{"id":"855:220","fileName":"youtube-16","iconName":"youtube","description":"youtube, google","category":"Services","size":"16","width":16,"height":16},{"id":"855:227","fileName":"youtube-color-24","iconName":"youtube-color","description":"youtube, google","category":"Services","size":"24","width":24,"height":24},{"id":"855:230","fileName":"youtube-color-16","iconName":"youtube-color","description":"youtube, google","category":"Services","size":"16","width":16,"height":16},{"id":"1133:86","fileName":"boundary-24","iconName":"boundary","description":"boundary","category":"Products","size":"24","width":24,"height":24},{"id":"1133:88","fileName":"boundary-16","iconName":"boundary","description":"boundary","category":"Products","size":"16","width":16,"height":16},{"id":"1133:93","fileName":"boundary-color-24","iconName":"boundary-color","description":"boundary","category":"Products","size":"24","width":24,"height":24},{"id":"1133:98","fileName":"boundary-color-16","iconName":"boundary-color","description":"boundary","category":"Products","size":"16","width":16,"height":16},{"id":"5257:287","fileName":"boundary-fill-24","iconName":"boundary-fill","description":"boundary","category":"Products","size":"24","width":24,"height":24},{"id":"5257:291","fileName":"boundary-fill-16","iconName":"boundary-fill","description":"boundary","category":"Products","size":"16","width":16,"height":16},{"id":"5257:298","fileName":"boundary-fill-color-24","iconName":"boundary-fill-color","description":"boundary","category":"Products","size":"24","width":24,"height":24},{"id":"5257:302","fileName":"boundary-fill-color-16","iconName":"boundary-fill-color","description":"boundary","category":"Products","size":"16","width":16,"height":16},{"id":"5257:309","fileName":"boundary-square-24","iconName":"boundary-square","description":"boundary","category":"Products","size":"24","width":24,"height":24},{"id":"5257:313","fileName":"boundary-square-16","iconName":"boundary-square","description":"boundary","category":"Products","size":"16","width":16,"height":16},{"id":"5257:320","fileName":"boundary-square-color-24","iconName":"boundary-square-color","description":"boundary","category":"Products","size":"24","width":24,"height":24},{"id":"5257:324","fileName":"boundary-square-color-16","iconName":"boundary-square-color","description":"boundary","category":"Products","size":"16","width":16,"height":16},{"id":"1133:106","fileName":"consul-24","iconName":"consul","description":"consul","category":"Products","size":"24","width":24,"height":24},{"id":"1133:108","fileName":"consul-16","iconName":"consul","description":"consul","category":"Products","size":"16","width":16,"height":16},{"id":"1133:113","fileName":"consul-color-24","iconName":"consul-color","description":"consul","category":"Products","size":"24","width":24,"height":24},{"id":"1133:123","fileName":"consul-color-16","iconName":"consul-color","description":"consul","category":"Products","size":"16","width":16,"height":16},{"id":"5257:380","fileName":"consul-fill-24","iconName":"consul-fill","description":"consul","category":"Products","size":"24","width":24,"height":24},{"id":"5257:384","fileName":"consul-fill-16","iconName":"consul-fill","description":"consul","category":"Products","size":"16","width":16,"height":16},{"id":"5257:391","fileName":"consul-fill-color-24","iconName":"consul-fill-color","description":"consul","category":"Products","size":"24","width":24,"height":24},{"id":"5257:395","fileName":"consul-fill-color-16","iconName":"consul-fill-color","description":"consul","category":"Products","size":"16","width":16,"height":16},{"id":"5257:402","fileName":"consul-square-24","iconName":"consul-square","description":"consul","category":"Products","size":"24","width":24,"height":24},{"id":"5257:406","fileName":"consul-square-16","iconName":"consul-square","description":"consul","category":"Products","size":"16","width":16,"height":16},{"id":"5257:413","fileName":"consul-square-color-24","iconName":"consul-square-color","description":"consul","category":"Products","size":"24","width":24,"height":24},{"id":"5257:417","fileName":"consul-square-color-16","iconName":"consul-square-color","description":"consul","category":"Products","size":"16","width":16,"height":16},{"id":"1133:136","fileName":"nomad-24","iconName":"nomad","description":"nomad","category":"Products","size":"24","width":24,"height":24},{"id":"1133:138","fileName":"nomad-16","iconName":"nomad","description":"nomad","category":"Products","size":"16","width":16,"height":16},{"id":"1133:143","fileName":"nomad-color-24","iconName":"nomad-color","description":"nomad","category":"Products","size":"24","width":24,"height":24},{"id":"1133:146","fileName":"nomad-color-16","iconName":"nomad-color","description":"nomad","category":"Products","size":"16","width":16,"height":16},{"id":"5257:469","fileName":"nomad-fill-24","iconName":"nomad-fill","description":"nomad","category":"Products","size":"24","width":24,"height":24},{"id":"5257:473","fileName":"nomad-fill-16","iconName":"nomad-fill","description":"nomad","category":"Products","size":"16","width":16,"height":16},{"id":"5257:480","fileName":"nomad-fill-color-24","iconName":"nomad-fill-color","description":"nomad","category":"Products","size":"24","width":24,"height":24},{"id":"5257:484","fileName":"nomad-fill-color-16","iconName":"nomad-fill-color","description":"nomad","category":"Products","size":"16","width":16,"height":16},{"id":"5257:491","fileName":"nomad-square-24","iconName":"nomad-square","description":"nomad","category":"Products","size":"24","width":24,"height":24},{"id":"5257:495","fileName":"nomad-square-16","iconName":"nomad-square","description":"nomad","category":"Products","size":"16","width":16,"height":16},{"id":"5257:502","fileName":"nomad-square-color-24","iconName":"nomad-square-color","description":"nomad","category":"Products","size":"24","width":24,"height":24},{"id":"5257:506","fileName":"nomad-square-color-16","iconName":"nomad-square-color","description":"nomad","category":"Products","size":"16","width":16,"height":16},{"id":"1133:153","fileName":"packer-24","iconName":"packer","description":"packer","category":"Products","size":"24","width":24,"height":24},{"id":"1133:155","fileName":"packer-16","iconName":"packer","description":"packer","category":"Products","size":"16","width":16,"height":16},{"id":"1133:160","fileName":"packer-color-24","iconName":"packer-color","description":"packer","category":"Products","size":"24","width":24,"height":24},{"id":"1133:164","fileName":"packer-color-16","iconName":"packer-color","description":"packer","category":"Products","size":"16","width":16,"height":16},{"id":"5257:545","fileName":"packer-fill-24","iconName":"packer-fill","description":"packer","category":"Products","size":"24","width":24,"height":24},{"id":"5257:549","fileName":"packer-fill-16","iconName":"packer-fill","description":"packer","category":"Products","size":"16","width":16,"height":16},{"id":"5257:556","fileName":"packer-fill-color-24","iconName":"packer-fill-color","description":"packer","category":"Products","size":"24","width":24,"height":24},{"id":"5257:560","fileName":"packer-fill-color-16","iconName":"packer-fill-color","description":"packer","category":"Products","size":"16","width":16,"height":16},{"id":"5257:567","fileName":"packer-square-24","iconName":"packer-square","description":"packer","category":"Products","size":"24","width":24,"height":24},{"id":"5257:571","fileName":"packer-square-16","iconName":"packer-square","description":"packer","category":"Products","size":"16","width":16,"height":16},{"id":"5257:578","fileName":"packer-square-color-24","iconName":"packer-square-color","description":"packer","category":"Products","size":"24","width":24,"height":24},{"id":"5257:582","fileName":"packer-square-color-16","iconName":"packer-square-color","description":"packer","category":"Products","size":"16","width":16,"height":16},{"id":"1133:171","fileName":"terraform-24","iconName":"terraform","description":"terraform","category":"Products","size":"24","width":24,"height":24},{"id":"1133:173","fileName":"terraform-16","iconName":"terraform","description":"terraform","category":"Products","size":"16","width":16,"height":16},{"id":"1133:178","fileName":"terraform-color-24","iconName":"terraform-color","description":"terraform","category":"Products","size":"24","width":24,"height":24},{"id":"1133:184","fileName":"terraform-color-16","iconName":"terraform-color","description":"terraform","category":"Products","size":"16","width":16,"height":16},{"id":"5257:628","fileName":"terraform-fill-24","iconName":"terraform-fill","description":"terraform","category":"Products","size":"24","width":24,"height":24},{"id":"5257:632","fileName":"terraform-fill-16","iconName":"terraform-fill","description":"terraform","category":"Products","size":"16","width":16,"height":16},{"id":"5257:639","fileName":"terraform-fill-color-24","iconName":"terraform-fill-color","description":"terraform","category":"Products","size":"24","width":24,"height":24},{"id":"5257:643","fileName":"terraform-fill-color-16","iconName":"terraform-fill-color","description":"terraform","category":"Products","size":"16","width":16,"height":16},{"id":"5257:650","fileName":"terraform-square-24","iconName":"terraform-square","description":"terraform","category":"Products","size":"24","width":24,"height":24},{"id":"5257:654","fileName":"terraform-square-16","iconName":"terraform-square","description":"terraform","category":"Products","size":"16","width":16,"height":16},{"id":"5257:661","fileName":"terraform-square-color-24","iconName":"terraform-square-color","description":"terraform","category":"Products","size":"24","width":24,"height":24},{"id":"5257:665","fileName":"terraform-square-color-16","iconName":"terraform-square-color","description":"terraform","category":"Products","size":"16","width":16,"height":16},{"id":"1133:193","fileName":"vagrant-24","iconName":"vagrant","description":"vagrant","category":"Products","size":"24","width":24,"height":24},{"id":"1133:195","fileName":"vagrant-16","iconName":"vagrant","description":"vagrant","category":"Products","size":"16","width":16,"height":16},{"id":"1133:200","fileName":"vagrant-color-24","iconName":"vagrant-color","description":"vagrant","category":"Products","size":"24","width":24,"height":24},{"id":"1133:205","fileName":"vagrant-color-16","iconName":"vagrant-color","description":"vagrant","category":"Products","size":"16","width":16,"height":16},{"id":"5257:720","fileName":"vagrant-fill-24","iconName":"vagrant-fill","description":"vagrant","category":"Products","size":"24","width":24,"height":24},{"id":"5257:727","fileName":"vagrant-fill-16","iconName":"vagrant-fill","description":"vagrant","category":"Products","size":"16","width":16,"height":16},{"id":"5257:737","fileName":"vagrant-fill-color-24","iconName":"vagrant-fill-color","description":"vagrant","category":"Products","size":"24","width":24,"height":24},{"id":"5257:744","fileName":"vagrant-fill-color-16","iconName":"vagrant-fill-color","description":"vagrant","category":"Products","size":"16","width":16,"height":16},{"id":"5257:754","fileName":"vagrant-square-24","iconName":"vagrant-square","description":"vagrant","category":"Products","size":"24","width":24,"height":24},{"id":"5257:758","fileName":"vagrant-square-16","iconName":"vagrant-square","description":"vagrant","category":"Products","size":"16","width":16,"height":16},{"id":"5257:765","fileName":"vagrant-square-color-24","iconName":"vagrant-square-color","description":"vagrant","category":"Products","size":"24","width":24,"height":24},{"id":"5257:769","fileName":"vagrant-square-color-16","iconName":"vagrant-square-color","description":"vagrant","category":"Products","size":"16","width":16,"height":16},{"id":"1355:86","fileName":"vault-24","iconName":"vault","description":"vault","category":"Products","size":"24","width":24,"height":24},{"id":"1355:89","fileName":"vault-16","iconName":"vault","description":"vault","category":"Products","size":"16","width":16,"height":16},{"id":"1355:67","fileName":"vault-color-24","iconName":"vault-color","description":"vault","category":"Products","size":"24","width":24,"height":24},{"id":"1355:70","fileName":"vault-color-16","iconName":"vault-color","description":"vault","category":"Products","size":"16","width":16,"height":16},{"id":"5257:840","fileName":"vault-fill-24","iconName":"vault-fill","description":"vault","category":"Products","size":"24","width":24,"height":24},{"id":"5257:844","fileName":"vault-fill-16","iconName":"vault-fill","description":"vault","category":"Products","size":"16","width":16,"height":16},{"id":"5257:851","fileName":"vault-fill-color-24","iconName":"vault-fill-color","description":"vault","category":"Products","size":"24","width":24,"height":24},{"id":"5257:855","fileName":"vault-fill-color-16","iconName":"vault-fill-color","description":"vault","category":"Products","size":"16","width":16,"height":16},{"id":"5257:862","fileName":"vault-square-24","iconName":"vault-square","description":"vault","category":"Products","size":"24","width":24,"height":24},{"id":"5257:866","fileName":"vault-square-16","iconName":"vault-square","description":"vault","category":"Products","size":"16","width":16,"height":16},{"id":"5257:873","fileName":"vault-square-color-24","iconName":"vault-square-color","description":"vault","category":"Products","size":"24","width":24,"height":24},{"id":"5257:877","fileName":"vault-square-color-16","iconName":"vault-square-color","description":"vault","category":"Products","size":"16","width":16,"height":16},{"id":"5178:102","fileName":"vault-radar-24","iconName":"vault-radar","description":"vault, hcp vault, radar","category":"Products","size":"24","width":24,"height":24},{"id":"5178:105","fileName":"vault-radar-16","iconName":"vault-radar","description":"vault, hcp vault, radar","category":"Products","size":"16","width":16,"height":16},{"id":"5178:111","fileName":"vault-radar-color-24","iconName":"vault-radar-color","description":"vault, hcp vault, radar","category":"Products","size":"24","width":24,"height":24},{"id":"5178:114","fileName":"vault-radar-color-16","iconName":"vault-radar-color","description":"vault, hcp vault, radar","category":"Products","size":"16","width":16,"height":16},{"id":"5257:911","fileName":"vault-radar-fill-24","iconName":"vault-radar-fill","description":"vault, hcp vault, radar","category":"Products","size":"24","width":24,"height":24},{"id":"5257:915","fileName":"vault-radar-fill-16","iconName":"vault-radar-fill","description":"vault, hcp vault, radar","category":"Products","size":"16","width":16,"height":16},{"id":"5257:922","fileName":"vault-radar-fill-color-24","iconName":"vault-radar-fill-color","description":"vault, hcp vault, radar","category":"Products","size":"24","width":24,"height":24},{"id":"5257:926","fileName":"vault-radar-fill-color-16","iconName":"vault-radar-fill-color","description":"vault, hcp vault, radar","category":"Products","size":"16","width":16,"height":16},{"id":"5257:933","fileName":"vault-radar-square-24","iconName":"vault-radar-square","description":"vault, hcp vault, radar","category":"Products","size":"24","width":24,"height":24},{"id":"5257:937","fileName":"vault-radar-square-16","iconName":"vault-radar-square","description":"vault, hcp vault, radar","category":"Products","size":"16","width":16,"height":16},{"id":"5257:944","fileName":"vault-radar-square-color-24","iconName":"vault-radar-square-color","description":"vault, hcp vault, radar","category":"Products","size":"24","width":24,"height":24},{"id":"5257:948","fileName":"vault-radar-square-color-16","iconName":"vault-radar-square-color","description":"vault, hcp vault, radar","category":"Products","size":"16","width":16,"height":16},{"id":"4615:67","fileName":"vault-secrets-24","iconName":"vault-secrets","description":"vault secrets, hcp vault secrets","category":"Products","size":"24","width":24,"height":24},{"id":"4615:72","fileName":"vault-secrets-16","iconName":"vault-secrets","description":"vault secrets, hcp vault secrets","category":"Products","size":"16","width":16,"height":16},{"id":"4615:80","fileName":"vault-secrets-color-24","iconName":"vault-secrets-color","description":"vault secrets, hcp vault secrets","category":"Products","size":"24","width":24,"height":24},{"id":"4615:85","fileName":"vault-secrets-color-16","iconName":"vault-secrets-color","description":"vault secrets, hcp vault secrets","category":"Products","size":"16","width":16,"height":16},{"id":"5257:974","fileName":"vault-secrets-fill-24","iconName":"vault-secrets-fill","description":"vault, hcp vault, secrets","category":"Products","size":"24","width":24,"height":24},{"id":"5257:978","fileName":"vault-secrets-fill-16","iconName":"vault-secrets-fill","description":"vault, hcp vault, secrets","category":"Products","size":"16","width":16,"height":16},{"id":"5257:985","fileName":"vault-secrets-fill-color-24","iconName":"vault-secrets-fill-color","description":"vault, hcp vault, secrets","category":"Products","size":"24","width":24,"height":24},{"id":"5257:989","fileName":"vault-secrets-fill-color-16","iconName":"vault-secrets-fill-color","description":"vault, hcp vault, secrets","category":"Products","size":"16","width":16,"height":16},{"id":"5257:996","fileName":"vault-secrets-square-24","iconName":"vault-secrets-square","description":"vault, hcp vault, secrets","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1000","fileName":"vault-secrets-square-16","iconName":"vault-secrets-square","description":"vault, hcp vault, secrets","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1007","fileName":"vault-secrets-square-color-24","iconName":"vault-secrets-square-color","description":"vault, hcp vault, secrets","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1011","fileName":"vault-secrets-square-color-16","iconName":"vault-secrets-square-color","description":"vault, hcp vault, secrets","category":"Products","size":"16","width":16,"height":16},{"id":"1133:230","fileName":"waypoint-24","iconName":"waypoint","description":"waypoint","category":"Products","size":"24","width":24,"height":24},{"id":"1133:232","fileName":"waypoint-16","iconName":"waypoint","description":"waypoint","category":"Products","size":"16","width":16,"height":16},{"id":"1133:237","fileName":"waypoint-color-24","iconName":"waypoint-color","description":"waypoint","category":"Products","size":"24","width":24,"height":24},{"id":"1133:241","fileName":"waypoint-color-16","iconName":"waypoint-color","description":"waypoint","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1042","fileName":"waypoint-fill-24","iconName":"waypoint-fill","description":"waypoint","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1046","fileName":"waypoint-fill-16","iconName":"waypoint-fill","description":"waypoint","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1053","fileName":"waypoint-fill-color-24","iconName":"waypoint-fill-color","description":"waypoint","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1057","fileName":"waypoint-fill-color-16","iconName":"waypoint-fill-color","description":"waypoint","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1064","fileName":"waypoint-square-24","iconName":"waypoint-square","description":"waypoint","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1068","fileName":"waypoint-square-16","iconName":"waypoint-square","description":"waypoint","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1075","fileName":"waypoint-square-color-24","iconName":"waypoint-square-color","description":"waypoint","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1079","fileName":"waypoint-square-color-16","iconName":"waypoint-square-color","description":"waypoint","category":"Products","size":"16","width":16,"height":16},{"id":"1133:248","fileName":"hashicorp-24","iconName":"hashicorp","description":"hashicorp, logo, brand","category":"Products","size":"24","width":24,"height":24},{"id":"1133:250","fileName":"hashicorp-16","iconName":"hashicorp","description":"hashicorp, logo, brand","category":"Products","size":"16","width":16,"height":16},{"id":"1133:255","fileName":"hashicorp-color-24","iconName":"hashicorp-color","description":"hashicorp, logo, brand","category":"Products","size":"24","width":24,"height":24},{"id":"1133:260","fileName":"hashicorp-color-16","iconName":"hashicorp-color","description":"hashicorp, logo, brand","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1123","fileName":"hashicorp-fill-24","iconName":"hashicorp-fill","description":"hashicorp, logo, brand","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1127","fileName":"hashicorp-fill-16","iconName":"hashicorp-fill","description":"hashicorp, logo, brand","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1134","fileName":"hashicorp-fill-color-24","iconName":"hashicorp-fill-color","description":"hashicorp, logo, brand","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1138","fileName":"hashicorp-fill-color-16","iconName":"hashicorp-fill-color","description":"hashicorp, logo, brand","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1145","fileName":"hashicorp-square-24","iconName":"hashicorp-square","description":"hashicorp, logo, brand","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1149","fileName":"hashicorp-square-16","iconName":"hashicorp-square","description":"hashicorp, logo, brand","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1156","fileName":"hashicorp-square-color-24","iconName":"hashicorp-square-color","description":"hashicorp, logo, brand","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1160","fileName":"hashicorp-square-color-16","iconName":"hashicorp-square-color","description":"hashicorp, logo, brand","category":"Products","size":"16","width":16,"height":16},{"id":"1163:74","fileName":"hcp-24","iconName":"hcp","description":"hcp, cloud, portal","category":"Products","size":"24","width":24,"height":24},{"id":"1163:76","fileName":"hcp-16","iconName":"hcp","description":"hcp, cloud, portal","category":"Products","size":"16","width":16,"height":16},{"id":"1163:81","fileName":"hcp-color-24","iconName":"hcp-color","description":"hcp, cloud, portal","category":"Products","size":"24","width":24,"height":24},{"id":"1163:86","fileName":"hcp-color-16","iconName":"hcp-color","description":"hcp, cloud, portal","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1240","fileName":"hcp-fill-24","iconName":"hcp-fill","description":"hcp, cloud, portal","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1244","fileName":"hcp-fill-16","iconName":"hcp-fill","description":"hcp, cloud, portal","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1251","fileName":"hcp-fill-color-24","iconName":"hcp-fill-color","description":"hcp, cloud, portal","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1255","fileName":"hcp-fill-color-16","iconName":"hcp-fill-color","description":"hcp, cloud, portal","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1262","fileName":"hcp-square-24","iconName":"hcp-square","description":"hcp, cloud, portal","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1266","fileName":"hcp-square-16","iconName":"hcp-square","description":"hcp, cloud, portal","category":"Products","size":"16","width":16,"height":16},{"id":"5257:1273","fileName":"hcp-square-color-24","iconName":"hcp-square-color","description":"hcp, cloud, portal","category":"Products","size":"24","width":24,"height":24},{"id":"5257:1277","fileName":"hcp-square-color-16","iconName":"hcp-square-color","description":"hcp, cloud, portal","category":"Products","size":"16","width":16,"height":16},{"id":"350:136","fileName":"arrow-down-24","iconName":"arrow-down","description":"arrow, direction, down","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:139","fileName":"arrow-down-16","iconName":"arrow-down","description":"arrow, direction, down","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:146","fileName":"arrow-down-circle-24","iconName":"arrow-down-circle","description":"arrow, direction, down, circle","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:150","fileName":"arrow-down-circle-16","iconName":"arrow-down-circle","description":"arrow, direction, down, circle","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:158","fileName":"arrow-down-left-24","iconName":"arrow-down-left","description":"arrow, direction, down, left","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:161","fileName":"arrow-down-left-16","iconName":"arrow-down-left","description":"arrow, direction, down, left","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:168","fileName":"arrow-down-right-24","iconName":"arrow-down-right","description":"arrow, direction, down, right","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:171","fileName":"arrow-down-right-16","iconName":"arrow-down-right","description":"arrow, direction, down, right","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:178","fileName":"arrow-left-24","iconName":"arrow-left","description":"arrow, direction, left","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:181","fileName":"arrow-left-16","iconName":"arrow-left","description":"arrow, direction, left","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:188","fileName":"arrow-left-circle-24","iconName":"arrow-left-circle","description":"arrow, direction, left, circle","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:192","fileName":"arrow-left-circle-16","iconName":"arrow-left-circle","description":"arrow, direction, left, circle","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:200","fileName":"arrow-right-24","iconName":"arrow-right","description":"arrow, direction, right","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:203","fileName":"arrow-right-16","iconName":"arrow-right","description":"arrow, direction, right","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:210","fileName":"arrow-right-circle-24","iconName":"arrow-right-circle","description":"arrow, direction, right, circle","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:214","fileName":"arrow-right-circle-16","iconName":"arrow-right-circle","description":"arrow, direction, right, circle","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:222","fileName":"arrow-up-24","iconName":"arrow-up","description":"arrow, direction, up","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:225","fileName":"arrow-up-16","iconName":"arrow-up","description":"arrow, direction, up","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:233","fileName":"arrow-up-circle-24","iconName":"arrow-up-circle","description":"arrow, direction, up, circle","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:237","fileName":"arrow-up-circle-16","iconName":"arrow-up-circle","description":"arrow, direction, up, circle","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:245","fileName":"arrow-up-left-24","iconName":"arrow-up-left","description":"arrow, direction, up, left","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:248","fileName":"arrow-up-left-16","iconName":"arrow-up-left","description":"arrow, direction, up, left","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:255","fileName":"arrow-up-right-24","iconName":"arrow-up-right","description":"arrow, direction, up, right","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:258","fileName":"arrow-up-right-16","iconName":"arrow-up-right","description":"arrow, direction, up, right","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:609","fileName":"caret-24","iconName":"caret","description":"caret, open, dropdown, double arrow, chevron","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:612","fileName":"caret-16","iconName":"caret","description":"caret, open, dropdown, double arrow, chevron","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:771","fileName":"chevron-down-24","iconName":"chevron-down","description":"chevron, down, arrow, direction","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:773","fileName":"chevron-down-16","iconName":"chevron-down","description":"chevron, down, arrow, direction","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:779","fileName":"chevron-left-24","iconName":"chevron-left","description":"chevron, left, previous, back, arrow, direction","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:781","fileName":"chevron-left-16","iconName":"chevron-left","description":"chevron, left, previous, back, arrow, direction","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:787","fileName":"chevron-right-24","iconName":"chevron-right","description":"chevron, right, next, forward, arrow, direction","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:789","fileName":"chevron-right-16","iconName":"chevron-right","description":"chevron, right, next, forward, arrow, direction","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:796","fileName":"chevron-up-24","iconName":"chevron-up","description":"chevron, up, arrow, direction","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:798","fileName":"chevron-up-16","iconName":"chevron-up","description":"chevron, up, arrow, direction","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:804","fileName":"chevrons-down-24","iconName":"chevrons-down","description":"chevrons, down, arrow, direction","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:807","fileName":"chevrons-down-16","iconName":"chevrons-down","description":"chevrons, down, arrow, direction","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:814","fileName":"chevrons-left-24","iconName":"chevrons-left","description":"chevrons, left, previous, back, arrow, direction","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:817","fileName":"chevrons-left-16","iconName":"chevrons-left","description":"chevrons, left, previous, back, arrow, direction","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:824","fileName":"chevrons-right-24","iconName":"chevrons-right","description":"chevrons, right, next, forward, arrow, direction","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:827","fileName":"chevrons-right-16","iconName":"chevrons-right","description":"chevrons, right, next, forward, arrow, direction","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:834","fileName":"chevrons-up-24","iconName":"chevrons-up","description":"chevrons, up, arrow, direction","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:837","fileName":"chevrons-up-16","iconName":"chevrons-up","description":"chevrons, up, arrow, direction","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:1090","fileName":"corner-down-left-24","iconName":"corner-down-left","description":"corner, arrow, down, left","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:1093","fileName":"corner-down-left-16","iconName":"corner-down-left","description":"corner, arrow, down, left","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:1100","fileName":"corner-down-right-24","iconName":"corner-down-right","description":"corner, arrow, down, right","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:1103","fileName":"corner-down-right-16","iconName":"corner-down-right","description":"corner, arrow, down, right","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:1110","fileName":"corner-left-down-24","iconName":"corner-left-down","description":"corner, arrow, down, left","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:1113","fileName":"corner-left-down-16","iconName":"corner-left-down","description":"corner, arrow, down, left","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:1121","fileName":"corner-left-up-24","iconName":"corner-left-up","description":"corner, arrow, up, left","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:1124","fileName":"corner-left-up-16","iconName":"corner-left-up","description":"corner, arrow, up, left","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:1131","fileName":"corner-right-down-24","iconName":"corner-right-down","description":"corner, arrow, down, right","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:1134","fileName":"corner-right-down-16","iconName":"corner-right-down","description":"corner, arrow, down, right","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:1141","fileName":"corner-right-up-24","iconName":"corner-right-up","description":"corner, arrow, up, right","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:1144","fileName":"corner-right-up-16","iconName":"corner-right-up","description":"corner, arrow, up, right","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:1151","fileName":"corner-up-left-24","iconName":"corner-up-left","description":"corner, arrow, up, left","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:1154","fileName":"corner-up-left-16","iconName":"corner-up-left","description":"corner, arrow, up, left","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:1161","fileName":"corner-up-right-24","iconName":"corner-up-right","description":"corner, arrow, up, right","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:1164","fileName":"corner-up-right-16","iconName":"corner-up-right","description":"corner, arrow, up, right","category":"Arrows","size":"16","width":16,"height":16},{"id":"855:84","fileName":"load-balancer-24","iconName":"load-balancer","description":"load, balancer, arrows","category":"Arrows","size":"24","width":24,"height":24},{"id":"855:90","fileName":"load-balancer-16","iconName":"load-balancer","description":"load, balancer, arrows","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:2628","fileName":"migrate-24","iconName":"migrate","description":"migrate, migration","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:2632","fileName":"migrate-16","iconName":"migrate","description":"migrate, migration","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:2807","fileName":"move-24","iconName":"move","description":"move, cursor","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:2814","fileName":"move-16","iconName":"move","description":"move, cursor","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:3604","fileName":"shuffle-24","iconName":"shuffle","description":"shuffle, random","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:3609","fileName":"shuffle-16","iconName":"shuffle","description":"shuffle, random","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:3952","fileName":"swap-horizontal-24","iconName":"swap-horizontal","description":"swap, switch, horizontal, arrows, sctm","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:3957","fileName":"swap-horizontal-16","iconName":"swap-horizontal","description":"swap, switch, horizontal, arrows, sctm","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:3968","fileName":"swap-vertical-24","iconName":"swap-vertical","description":"swap, switch, vertical, arrows","category":"Arrows","size":"24","width":24,"height":24},{"id":"350:3973","fileName":"swap-vertical-16","iconName":"swap-vertical","description":"swap, switch, vertical, arrows","category":"Arrows","size":"16","width":16,"height":16},{"id":"350:4426","fileName":"bank-vault-24","iconName":"bank-vault","description":"vault, secure, safe, secret","category":"Business","size":"24","width":24,"height":24},{"id":"350:4439","fileName":"bank-vault-16","iconName":"bank-vault","description":"vault, secure, safe, secret","category":"Business","size":"16","width":16,"height":16},{"id":"350:518","fileName":"briefcase-24","iconName":"briefcase","description":"briefcase, job, work, office, bag","category":"Business","size":"24","width":24,"height":24},{"id":"350:523","fileName":"briefcase-16","iconName":"briefcase","description":"briefcase, job, work, office, bag","category":"Business","size":"16","width":16,"height":16},{"id":"350:1197","fileName":"credit-card-24","iconName":"credit-card","description":"credit, card, billing, business, money, payment","category":"Business","size":"24","width":24,"height":24},{"id":"350:1201","fileName":"credit-card-16","iconName":"credit-card","description":"credit, card, billing, business, money, payment","category":"Business","size":"16","width":16,"height":16},{"id":"350:1368","fileName":"dollar-sign-24","iconName":"dollar-sign","description":"dollar, money, variable, payment","category":"Business","size":"24","width":24,"height":24},{"id":"350:1371","fileName":"dollar-sign-16","iconName":"dollar-sign","description":"dollar, money, variable, payment","category":"Business","size":"16","width":16,"height":16},{"id":"1509:66","fileName":"enterprise-24","iconName":"enterprise","description":"enterprise, business, company, organization, org, global, world","category":"Business","size":"24","width":24,"height":24},{"id":"1509:78","fileName":"enterprise-16","iconName":"enterprise","description":"enterprise, business, company, organization, org, global, world","category":"Business","size":"16","width":16,"height":16},{"id":"350:1918","fileName":"globe-24","iconName":"globe","description":"globe, world, global","category":"Business","size":"24","width":24,"height":24},{"id":"350:1922","fileName":"globe-16","iconName":"globe","description":"globe, world, global","category":"Business","size":"16","width":16,"height":16},{"id":"350:1930","fileName":"globe-private-24","iconName":"globe-private","description":"globe, world, global, private, secure, encrypted, protected","category":"Business","size":"24","width":24,"height":24},{"id":"350:1935","fileName":"globe-private-16","iconName":"globe-private","description":"globe, world, global, private, secure, encrypted, protected","category":"Business","size":"16","width":16,"height":16},{"id":"350:2925","fileName":"org-24","iconName":"org","description":"organization, team, group, company, global","category":"Business","size":"24","width":24,"height":24},{"id":"350:2935","fileName":"org-16","iconName":"org","description":"organization, team, group, company, global","category":"Business","size":"16","width":16,"height":16},{"id":"350:3189","fileName":"provider-24","iconName":"provider","description":"provider, service","category":"Business","size":"24","width":24,"height":24},{"id":"350:3196","fileName":"provider-16","iconName":"provider","description":"provider, service","category":"Business","size":"16","width":16,"height":16},{"id":"350:3580","fileName":"shopping-bag-24","iconName":"shopping-bag","description":"shopping, store, basket","category":"Business","size":"24","width":24,"height":24},{"id":"350:3584","fileName":"shopping-bag-16","iconName":"shopping-bag","description":"shopping, store, basket","category":"Business","size":"16","width":16,"height":16},{"id":"350:3592","fileName":"shopping-cart-24","iconName":"shopping-cart","description":"shopping, store, basket, cart","category":"Business","size":"24","width":24,"height":24},{"id":"350:3596","fileName":"shopping-cart-16","iconName":"shopping-cart","description":"shopping, store, basket, cart","category":"Business","size":"16","width":16,"height":16},{"id":"350:23","fileName":"activity-24","iconName":"activity","description":"activity, pulse, health","category":"Communication","size":"24","width":24,"height":24},{"id":"350:25","fileName":"activity-16","iconName":"activity","description":"activity, pulse, health","category":"Communication","size":"16","width":16,"height":16},{"id":"350:265","fileName":"at-sign-24","iconName":"at-sign","description":"at, @, email, handle","category":"Communication","size":"24","width":24,"height":24},{"id":"350:268","fileName":"at-sign-16","iconName":"at-sign","description":"at, @, email, handle","category":"Communication","size":"16","width":16,"height":16},{"id":"350:275","fileName":"award-24","iconName":"award","description":"award, medal, badge, achievement","category":"Communication","size":"24","width":24,"height":24},{"id":"350:278","fileName":"award-16","iconName":"award","description":"award, medal, badge, achievement","category":"Communication","size":"16","width":16,"height":16},{"id":"350:367","fileName":"bell-24","iconName":"bell","description":"bell, notification, notify, ring, alert","category":"Communication","size":"24","width":24,"height":24},{"id":"350:370","fileName":"bell-16","iconName":"bell","description":"bell, notification, notify, ring, alert","category":"Communication","size":"16","width":16,"height":16},{"id":"350:395","fileName":"bell-active-24","iconName":"bell-active","description":"bell, notification, notify, ring, alert","category":"Communication","size":"24","width":24,"height":24},{"id":"350:399","fileName":"bell-active-16","iconName":"bell-active","description":"bell, notification, notify, ring, alert","category":"Communication","size":"16","width":16,"height":16},{"id":"350:377","fileName":"bell-active-fill-24","iconName":"bell-active-fill","description":"bell, notification, notify, ring, alert","category":"Communication","size":"24","width":24,"height":24},{"id":"350:383","fileName":"bell-active-fill-16","iconName":"bell-active-fill","description":"bell, notification, notify, ring, alert","category":"Communication","size":"16","width":16,"height":16},{"id":"350:409","fileName":"bell-off-24","iconName":"bell-off","description":"bell, notification, notify, ring, alert, off, disabled","category":"Communication","size":"24","width":24,"height":24},{"id":"350:413","fileName":"bell-off-16","iconName":"bell-off","description":"bell, notification, notify, ring, alert, off, disabled","category":"Communication","size":"16","width":16,"height":16},{"id":"350:1302","fileName":"discussion-circle-24","iconName":"discussion-circle","description":"discussion, comment, conversation, bubble, chat, communication","category":"Communication","size":"24","width":24,"height":24},{"id":"350:1305","fileName":"discussion-circle-16","iconName":"discussion-circle","description":"discussion, comment, conversation, bubble, chat, communication","category":"Communication","size":"16","width":16,"height":16},{"id":"350:1313","fileName":"discussion-square-24","iconName":"discussion-square","description":"discussion, comment, conversation, bubble, chat, communication","category":"Communication","size":"24","width":24,"height":24},{"id":"350:1316","fileName":"discussion-square-16","iconName":"discussion-square","description":"discussion, comment, conversation, bubble, chat, communication","category":"Communication","size":"16","width":16,"height":16},{"id":"350:2060","fileName":"heart-24","iconName":"heart","description":"heart, like, love, favorite","category":"Communication","size":"24","width":24,"height":24},{"id":"350:2062","fileName":"heart-16","iconName":"heart","description":"heart, like, love, favorite","category":"Communication","size":"16","width":16,"height":16},{"id":"350:2069","fileName":"heart-fill-24","iconName":"heart-fill","description":"heart, liked, loved, favorited","category":"Communication","size":"24","width":24,"height":24},{"id":"350:2071","fileName":"heart-fill-16","iconName":"heart-fill","description":"heart, liked, loved, favorited","category":"Communication","size":"16","width":16,"height":16},{"id":"350:2078","fileName":"heart-off-24","iconName":"heart-off","description":"heart, like, love, favorite, disabled, off","category":"Communication","size":"24","width":24,"height":24},{"id":"350:2081","fileName":"heart-off-16","iconName":"heart-off","description":"heart, like, love, favorite, disabled, off","category":"Communication","size":"16","width":16,"height":16},{"id":"350:2431","fileName":"mail-24","iconName":"mail","description":"mail, email, message, communication","category":"Communication","size":"24","width":24,"height":24},{"id":"350:2435","fileName":"mail-16","iconName":"mail","description":"mail, email, message, communication","category":"Communication","size":"16","width":16,"height":16},{"id":"350:2445","fileName":"mail-open-24","iconName":"mail-open","description":"mail, email, message, opened, communication","category":"Communication","size":"24","width":24,"height":24},{"id":"350:2449","fileName":"mail-open-16","iconName":"mail-open","description":"mail, email, message, opened, communication","category":"Communication","size":"16","width":16,"height":16},{"id":"350:2551","fileName":"message-circle-24","iconName":"message-circle","description":"message, chat, conversation","category":"Communication","size":"24","width":24,"height":24},{"id":"350:2553","fileName":"message-circle-16","iconName":"message-circle","description":"message, chat, conversation","category":"Communication","size":"16","width":16,"height":16},{"id":"350:2560","fileName":"message-circle-fill-24","iconName":"message-circle-fill","description":"message, chat, text, conversation","category":"Communication","size":"24","width":24,"height":24},{"id":"350:2565","fileName":"message-circle-fill-16","iconName":"message-circle-fill","description":"message, chat, text, conversation","category":"Communication","size":"16","width":16,"height":16},{"id":"350:2574","fileName":"message-square-24","iconName":"message-square","description":"message, chat, conversation","category":"Communication","size":"24","width":24,"height":24},{"id":"350:2576","fileName":"message-square-16","iconName":"message-square","description":"message, chat, conversation","category":"Communication","size":"16","width":16,"height":16},{"id":"350:2582","fileName":"message-square-fill-24","iconName":"message-square-fill","description":"message, chat, text, conversation","category":"Communication","size":"24","width":24,"height":24},{"id":"350:2587","fileName":"message-square-fill-16","iconName":"message-square-fill","description":"message, chat, text, conversation","category":"Communication","size":"16","width":16,"height":16},{"id":"350:2596","fileName":"mic-24","iconName":"mic","description":"microphone, voice, speak","category":"Communication","size":"24","width":24,"height":24},{"id":"350:2601","fileName":"mic-16","iconName":"mic","description":"microphone, voice, speak","category":"Communication","size":"16","width":16,"height":16},{"id":"350:2610","fileName":"mic-off-24","iconName":"mic-off","description":"microphone, off, disabled, voice","category":"Communication","size":"24","width":24,"height":24},{"id":"350:2616","fileName":"mic-off-16","iconName":"mic-off","description":"microphone, off, disabled, voice","category":"Communication","size":"16","width":16,"height":16},{"id":"350:2885","fileName":"newspaper-24","iconName":"newspaper","description":"newspaper, blog, media","category":"Communication","size":"24","width":24,"height":24},{"id":"350:2891","fileName":"newspaper-16","iconName":"newspaper","description":"newspaper, blog, media","category":"Communication","size":"16","width":16,"height":16},{"id":"350:3066","fileName":"phone-24","iconName":"phone","description":"phone, telephone, communication, conversation","category":"Communication","size":"24","width":24,"height":24},{"id":"350:3068","fileName":"phone-16","iconName":"phone","description":"phone, telephone, communication, conversation","category":"Communication","size":"16","width":16,"height":16},{"id":"350:3074","fileName":"phone-call-24","iconName":"phone-call","description":"phone, telephone, communication, conversation","category":"Communication","size":"24","width":24,"height":24},{"id":"350:3077","fileName":"phone-call-16","iconName":"phone-call","description":"phone, telephone, communication, conversation","category":"Communication","size":"16","width":16,"height":16},{"id":"350:3084","fileName":"phone-off-24","iconName":"phone-off","description":"phone, telephone, off, disabled, communication, conversation","category":"Communication","size":"24","width":24,"height":24},{"id":"350:3087","fileName":"phone-off-16","iconName":"phone-off","description":"phone, telephone, off, disabled, communication, conversation","category":"Communication","size":"16","width":16,"height":16},{"id":"350:3427","fileName":"send-24","iconName":"send","description":"send, message","category":"Communication","size":"24","width":24,"height":24},{"id":"350:3430","fileName":"send-16","iconName":"send","description":"send, message","category":"Communication","size":"16","width":16,"height":16},{"id":"350:3859","fileName":"star-24","iconName":"star","description":"star, favorite","category":"Communication","size":"24","width":24,"height":24},{"id":"350:3861","fileName":"star-16","iconName":"star","description":"star, favorite","category":"Communication","size":"16","width":16,"height":16},{"id":"350:3867","fileName":"star-circle-24","iconName":"star-circle","description":"star, favorite, ring, circle","category":"Communication","size":"24","width":24,"height":24},{"id":"350:3870","fileName":"star-circle-16","iconName":"star-circle","description":"star, favorite, ring, circle","category":"Communication","size":"16","width":16,"height":16},{"id":"350:3878","fileName":"star-fill-24","iconName":"star-fill","description":"star, favorite, starred, favorited","category":"Communication","size":"24","width":24,"height":24},{"id":"350:3880","fileName":"star-fill-16","iconName":"star-fill","description":"star, favorite, starred, favorited","category":"Communication","size":"16","width":16,"height":16},{"id":"350:3887","fileName":"star-off-24","iconName":"star-off","description":"star, favorite, off, disabled","category":"Communication","size":"24","width":24,"height":24},{"id":"350:3890","fileName":"star-off-16","iconName":"star-off","description":"star, favorite, off, disabled","category":"Communication","size":"16","width":16,"height":16},{"id":"350:4115","fileName":"thumbs-down-24","iconName":"thumbs-down","description":"thumbs, down, vote, dislike","category":"Communication","size":"24","width":24,"height":24},{"id":"350:4117","fileName":"thumbs-down-16","iconName":"thumbs-down","description":"thumbs, down, vote, dislike","category":"Communication","size":"16","width":16,"height":16},{"id":"350:4107","fileName":"thumbs-up-24","iconName":"thumbs-up","description":"thumbs, up, vote, like","category":"Communication","size":"24","width":24,"height":24},{"id":"350:4109","fileName":"thumbs-up-16","iconName":"thumbs-up","description":"thumbs, up, vote, like","category":"Communication","size":"16","width":16,"height":16},{"id":"350:4469","fileName":"video-24","iconName":"video","description":"video","category":"Communication","size":"24","width":24,"height":24},{"id":"350:4471","fileName":"video-16","iconName":"video","description":"video","category":"Communication","size":"16","width":16,"height":16},{"id":"350:4477","fileName":"video-off-24","iconName":"video-off","description":"video, off, disabled","category":"Communication","size":"24","width":24,"height":24},{"id":"350:4480","fileName":"video-off-16","iconName":"video-off","description":"video, off, disabled","category":"Communication","size":"16","width":16,"height":16},{"id":"350:307","fileName":"bar-chart-24","iconName":"bar-chart","description":"chart, graph, usage, signal, bars","category":"Data","size":"24","width":24,"height":24},{"id":"350:311","fileName":"bar-chart-16","iconName":"bar-chart","description":"chart, graph, usage, signal, bars","category":"Data","size":"16","width":16,"height":16},{"id":"350:319","fileName":"bar-chart-alt-24","iconName":"bar-chart-alt","description":"chart, graph, usage, bars","category":"Data","size":"24","width":24,"height":24},{"id":"350:323","fileName":"bar-chart-alt-16","iconName":"bar-chart-alt","description":"chart, graph, usage, bars","category":"Data","size":"16","width":16,"height":16},{"id":"350:505","fileName":"box-24","iconName":"box","description":"box, package, cube, object","category":"Data","size":"24","width":24,"height":24},{"id":"350:509","fileName":"box-16","iconName":"box","description":"box, package, cube, object","category":"Data","size":"16","width":16,"height":16},{"id":"350:1048","fileName":"collections-24","iconName":"collections","description":"collections, books, projects, resources","category":"Data","size":"24","width":24,"height":24},{"id":"350:1054","fileName":"collections-16","iconName":"collections","description":"collections, books, projects, resources","category":"Data","size":"16","width":16,"height":16},{"id":"350:1237","fileName":"database-24","iconName":"database","description":"database, data,, information, computing","category":"Data","size":"24","width":24,"height":24},{"id":"350:1241","fileName":"database-16","iconName":"database","description":"database, data,, information, computing","category":"Data","size":"16","width":16,"height":16},{"id":"350:2022","fileName":"hard-drive-24","iconName":"hard-drive","description":"hard, drive, disk, storage","category":"Data","size":"24","width":24,"height":24},{"id":"350:2026","fileName":"hard-drive-16","iconName":"hard-drive","description":"hard, drive, disk, storage","category":"Data","size":"16","width":16,"height":16},{"id":"350:2327","fileName":"line-chart-24","iconName":"line-chart","description":"chart, graph, trend, data","category":"Data","size":"24","width":24,"height":24},{"id":"350:2334","fileName":"line-chart-16","iconName":"line-chart","description":"chart, graph, trend, data","category":"Data","size":"16","width":16,"height":16},{"id":"350:2346","fileName":"line-chart-up-24","iconName":"line-chart-up","description":"chart, graph, trend, up, data","category":"Data","size":"24","width":24,"height":24},{"id":"350:2354","fileName":"line-chart-up-16","iconName":"line-chart-up","description":"chart, graph, trend, up, data","category":"Data","size":"16","width":16,"height":16},{"id":"1874:66","fileName":"logs-24","iconName":"logs","description":"logs, events, list","category":"Data","size":"24","width":24,"height":24},{"id":"1874:72","fileName":"logs-16","iconName":"logs","description":"logs, events, list","category":"Data","size":"16","width":16,"height":16},{"id":"350:2973","fileName":"package-24","iconName":"package","description":"package, dependency, box, build","category":"Data","size":"24","width":24,"height":24},{"id":"350:2978","fileName":"package-16","iconName":"package","description":"package, dependency, box, build","category":"Data","size":"16","width":16,"height":16},{"id":"350:3094","fileName":"pie-chart-24","iconName":"pie-chart","description":"chart, pie, graph, data","category":"Data","size":"24","width":24,"height":24},{"id":"350:3097","fileName":"pie-chart-16","iconName":"pie-chart","description":"chart, pie, graph, data","category":"Data","size":"16","width":16,"height":16},{"id":"350:3208","fileName":"queue-24","iconName":"queue","description":"queue","category":"Data","size":"24","width":24,"height":24},{"id":"350:3213","fileName":"queue-16","iconName":"queue","description":"queue","category":"Data","size":"16","width":16,"height":16},{"id":"350:3390","fileName":"save-24","iconName":"save","description":"save, disk","category":"Data","size":"24","width":24,"height":24},{"id":"350:3394","fileName":"save-16","iconName":"save","description":"save, disk","category":"Data","size":"16","width":16,"height":16},{"id":"350:4199","fileName":"trend-down-24","iconName":"trend-down","description":"trend, down, negative","category":"Data","size":"24","width":24,"height":24},{"id":"350:4202","fileName":"trend-down-16","iconName":"trend-down","description":"trend, down, negative","category":"Data","size":"16","width":16,"height":16},{"id":"350:4209","fileName":"trend-up-24","iconName":"trend-up","description":"trend, up, positive","category":"Data","size":"24","width":24,"height":24},{"id":"350:4212","fileName":"trend-up-16","iconName":"trend-up","description":"trend, up, positive","category":"Data","size":"16","width":16,"height":16},{"id":"350:569","fileName":"calendar-24","iconName":"calendar","description":"calendar, date, appointment, event, schedule, day, month","category":"Date and time","size":"24","width":24,"height":24},{"id":"350:574","fileName":"calendar-16","iconName":"calendar","description":"calendar, date, appointment, event, schedule, day, month","category":"Date and time","size":"16","width":16,"height":16},{"id":"350:928","fileName":"clock-24","iconName":"clock","description":"clock, time, activity, hour","category":"Date and time","size":"24","width":24,"height":24},{"id":"350:931","fileName":"clock-16","iconName":"clock","description":"clock, time, activity, hour","category":"Date and time","size":"16","width":16,"height":16},{"id":"2033:66","fileName":"clock-filled-24","iconName":"clock-filled","description":"clock, time, activity, hour","category":"Date and time","size":"24","width":24,"height":24},{"id":"2033:74","fileName":"clock-filled-16","iconName":"clock-filled","description":"clock, time, activity, hour","category":"Date and time","size":"16","width":16,"height":16},{"id":"350:1249","fileName":"delay-24","iconName":"delay","description":"delay, time, clock, queue","category":"Date and time","size":"24","width":24,"height":24},{"id":"350:1253","fileName":"delay-16","iconName":"delay","description":"delay, time, clock, queue","category":"Date and time","size":"16","width":16,"height":16},{"id":"350:1460","fileName":"event-24","iconName":"event","description":"event, calendar, date","category":"Date and time","size":"24","width":24,"height":24},{"id":"350:1465","fileName":"event-16","iconName":"event","description":"event, calendar, date","category":"Date and time","size":"16","width":16,"height":16},{"id":"350:2101","fileName":"history-24","iconName":"history","description":"clock, time, history, schedule","category":"Date and time","size":"24","width":24,"height":24},{"id":"350:2105","fileName":"history-16","iconName":"history","description":"clock, time, history, schedule","category":"Date and time","size":"16","width":16,"height":16},{"id":"350:2125","fileName":"hourglass-24","iconName":"hourglass","description":"hourglass, time","category":"Date and time","size":"24","width":24,"height":24},{"id":"350:2129","fileName":"hourglass-16","iconName":"hourglass","description":"hourglass, time","category":"Date and time","size":"16","width":16,"height":16},{"id":"350:4553","fileName":"watch-24","iconName":"watch","description":"watch, time","category":"Date and time","size":"24","width":24,"height":24},{"id":"350:4558","fileName":"watch-16","iconName":"watch","description":"watch, time","category":"Date and time","size":"16","width":16,"height":16},{"id":"2052:66","fileName":"api-24","iconName":"api","description":"api, data, interface","category":"Development","size":"24","width":24,"height":24},{"id":"2052:76","fileName":"api-16","iconName":"api","description":"api, data, interface","category":"Development","size":"16","width":16,"height":16},{"id":"350:285","fileName":"auto-apply-24","iconName":"auto-apply","description":"apply, auto","category":"Development","size":"24","width":24,"height":24},{"id":"350:294","fileName":"auto-apply-16","iconName":"auto-apply","description":"apply, auto","category":"Development","size":"16","width":16,"height":16},{"id":"350:560","fileName":"build-24","iconName":"build","description":"build, wrench, tool","category":"Development","size":"24","width":24,"height":24},{"id":"350:562","fileName":"build-16","iconName":"build","description":"build, wrench, tool","category":"Development","size":"16","width":16,"height":16},{"id":"350:645","fileName":"change-24","iconName":"change","description":"change, modified","category":"Development","size":"24","width":24,"height":24},{"id":"350:647","fileName":"change-16","iconName":"change","description":"change, modified","category":"Development","size":"16","width":16,"height":16},{"id":"350:654","fileName":"change-circle-24","iconName":"change-circle","description":"change, modified, circle","category":"Development","size":"24","width":24,"height":24},{"id":"350:657","fileName":"change-circle-16","iconName":"change-circle","description":"change, modified, circle","category":"Development","size":"16","width":16,"height":16},{"id":"350:665","fileName":"change-square-24","iconName":"change-square","description":"change, modified, square","category":"Development","size":"24","width":24,"height":24},{"id":"350:668","fileName":"change-square-16","iconName":"change-square","description":"change, modified, square","category":"Development","size":"16","width":16,"height":16},{"id":"5020:123","fileName":"channel-24","iconName":"channel","description":"channel, path","category":"Development","size":"24","width":24,"height":24},{"id":"5020:131","fileName":"channel-16","iconName":"channel","description":"channel, path","category":"Development","size":"16","width":16,"height":16},{"id":"350:938","fileName":"cloud-24","iconName":"cloud","description":"cloud, data, storage","category":"Development","size":"24","width":24,"height":24},{"id":"350:940","fileName":"cloud-16","iconName":"cloud","description":"cloud, data, storage","category":"Development","size":"16","width":16,"height":16},{"id":"350:946","fileName":"cloud-check-24","iconName":"cloud-check","description":"cloud, check, success, data, storage","category":"Development","size":"24","width":24,"height":24},{"id":"350:950","fileName":"cloud-check-16","iconName":"cloud-check","description":"cloud, check, success, data, storage","category":"Development","size":"16","width":16,"height":16},{"id":"350:959","fileName":"cloud-download-24","iconName":"cloud-download","description":"cloud, download, sync, data, storage","category":"Development","size":"24","width":24,"height":24},{"id":"350:963","fileName":"cloud-download-16","iconName":"cloud-download","description":"cloud, download, sync, data, storage","category":"Development","size":"16","width":16,"height":16},{"id":"350:972","fileName":"cloud-lightning-24","iconName":"cloud-lightning","description":"cloud, lightning, data, storage","category":"Development","size":"24","width":24,"height":24},{"id":"350:975","fileName":"cloud-lightning-16","iconName":"cloud-lightning","description":"cloud, lightning, data, storage","category":"Development","size":"16","width":16,"height":16},{"id":"350:982","fileName":"cloud-lock-24","iconName":"cloud-lock","description":"cloud, lock, secure, data, storage, protected","category":"Development","size":"24","width":24,"height":24},{"id":"350:987","fileName":"cloud-lock-16","iconName":"cloud-lock","description":"cloud, lock, secure, data, storage, protected","category":"Development","size":"16","width":16,"height":16},{"id":"350:997","fileName":"cloud-off-24","iconName":"cloud-off","description":"cloud, off, disabled, data, storage","category":"Development","size":"24","width":24,"height":24},{"id":"350:1000","fileName":"cloud-off-16","iconName":"cloud-off","description":"cloud, off, disabled, data, storage","category":"Development","size":"16","width":16,"height":16},{"id":"350:1009","fileName":"cloud-upload-24","iconName":"cloud-upload","description":"cloud, upload, sync, data, storage","category":"Development","size":"24","width":24,"height":24},{"id":"350:1013","fileName":"cloud-upload-16","iconName":"cloud-upload","description":"cloud, upload, sync, data, storage","category":"Development","size":"16","width":16,"height":16},{"id":"350:1022","fileName":"cloud-x-24","iconName":"cloud-x","description":"cloud, fail, delete, data, storage","category":"Development","size":"24","width":24,"height":24},{"id":"350:1026","fileName":"cloud-x-16","iconName":"cloud-x","description":"cloud, fail, delete, data, storage","category":"Development","size":"16","width":16,"height":16},{"id":"350:1035","fileName":"code-24","iconName":"code","description":"code, snippet, software, application, development","category":"Development","size":"24","width":24,"height":24},{"id":"350:1039","fileName":"code-16","iconName":"code","description":"code, snippet, software, application, development","category":"Development","size":"16","width":16,"height":16},{"id":"551:90","fileName":"connection-24","iconName":"connection","description":"git, vcs, commit, link, network","category":"Development","size":"24","width":24,"height":24},{"id":"551:94","fileName":"connection-16","iconName":"connection","description":"git, vcs, commit, link, network","category":"Development","size":"16","width":16,"height":16},{"id":"551:103","fileName":"connection-gateway-24","iconName":"connection-gateway","description":"git, vcs, commit, link, network","category":"Development","size":"24","width":24,"height":24},{"id":"551:111","fileName":"connection-gateway-16","iconName":"connection-gateway","description":"git, vcs, commit, link, network","category":"Development","size":"16","width":16,"height":16},{"id":"350:1171","fileName":"cpu-24","iconName":"cpu","description":"cpu, memory, chip, computer","category":"Development","size":"24","width":24,"height":24},{"id":"350:1182","fileName":"cpu-16","iconName":"cpu","description":"cpu, memory, chip, computer","category":"Development","size":"16","width":16,"height":16},{"id":"350:1398","fileName":"duplicate-24","iconName":"duplicate","description":"duplicate, copy, clone, multiply","category":"Development","size":"24","width":24,"height":24},{"id":"350:1401","fileName":"duplicate-16","iconName":"duplicate","description":"duplicate, copy, clone, multiply","category":"Development","size":"16","width":16,"height":16},{"id":"350:1824","fileName":"gateway-24","iconName":"gateway","description":"gateway, entrance, tunnel","category":"Development","size":"24","width":24,"height":24},{"id":"350:1828","fileName":"gateway-16","iconName":"gateway","description":"gateway, entrance, tunnel","category":"Development","size":"16","width":16,"height":16},{"id":"546:126","fileName":"git-branch-24","iconName":"git-branch","description":"git, vcs, branch","category":"Development","size":"24","width":24,"height":24},{"id":"546:131","fileName":"git-branch-16","iconName":"git-branch","description":"git, vcs, branch","category":"Development","size":"16","width":16,"height":16},{"id":"547:149","fileName":"git-commit-24","iconName":"git-commit","description":"git, vcs, commit","category":"Development","size":"24","width":24,"height":24},{"id":"547:153","fileName":"git-commit-16","iconName":"git-commit","description":"git, vcs, commit","category":"Development","size":"16","width":16,"height":16},{"id":"547:169","fileName":"git-merge-24","iconName":"git-merge","description":"git, vcs, merge","category":"Development","size":"24","width":24,"height":24},{"id":"547:173","fileName":"git-merge-16","iconName":"git-merge","description":"git, vcs, merge","category":"Development","size":"16","width":16,"height":16},{"id":"547:188","fileName":"git-pull-request-24","iconName":"git-pull-request","description":"git, vcs, pull, request, pr","category":"Development","size":"24","width":24,"height":24},{"id":"547:193","fileName":"git-pull-request-16","iconName":"git-pull-request","description":"git, vcs, pull, request, pr","category":"Development","size":"16","width":16,"height":16},{"id":"350:1905","fileName":"git-repo-24","iconName":"git-repo","description":"git, vcs, repository","category":"Development","size":"24","width":24,"height":24},{"id":"350:1909","fileName":"git-repo-16","iconName":"git-repo","description":"git, vcs, repository","category":"Development","size":"16","width":16,"height":16},{"id":"350:2011","fileName":"hammer-24","iconName":"hammer","description":"hammer, build, tool","category":"Development","size":"24","width":24,"height":24},{"id":"350:2015","fileName":"hammer-16","iconName":"hammer","description":"hammer, build, tool","category":"Development","size":"16","width":16,"height":16},{"id":"350:2236","fileName":"key-values-24","iconName":"key-values","description":"key, value, store, kv","category":"Development","size":"24","width":24,"height":24},{"id":"350:2245","fileName":"key-values-16","iconName":"key-values","description":"key, value, store, kv","category":"Development","size":"16","width":16,"height":16},{"id":"855:156","fileName":"mainframe-24","iconName":"mainframe","description":"mainframe, server","category":"Development","size":"24","width":24,"height":24},{"id":"855:161","fileName":"mainframe-16","iconName":"mainframe","description":"mainframe, server","category":"Development","size":"16","width":16,"height":16},{"id":"350:2528","fileName":"mesh-24","iconName":"mesh","description":"mesh, network","category":"Development","size":"24","width":24,"height":24},{"id":"350:2537","fileName":"mesh-16","iconName":"mesh","description":"mesh, network","category":"Development","size":"16","width":16,"height":16},{"id":"350:2741","fileName":"module-24","iconName":"module","description":"module","category":"Development","size":"24","width":24,"height":24},{"id":"350:2744","fileName":"module-16","iconName":"module","description":"module","category":"Development","size":"16","width":16,"height":16},{"id":"350:2752","fileName":"monitor-24","iconName":"monitor","description":"monitor, display, screen, desktop, computer","category":"Development","size":"24","width":24,"height":24},{"id":"350:2756","fileName":"monitor-16","iconName":"monitor","description":"monitor, display, screen, desktop, computer","category":"Development","size":"16","width":16,"height":16},{"id":"350:2853","fileName":"network-24","iconName":"network","description":"network, lan, connected","category":"Development","size":"24","width":24,"height":24},{"id":"350:2858","fileName":"network-16","iconName":"network","description":"network, lan, connected","category":"Development","size":"16","width":16,"height":16},{"id":"350:2868","fileName":"network-alt-24","iconName":"network-alt","description":"network, lan, connection, ethernet, port","category":"Development","size":"24","width":24,"height":24},{"id":"350:2874","fileName":"network-alt-16","iconName":"network-alt","description":"network, lan, connection, ethernet, port","category":"Development","size":"16","width":16,"height":16},{"id":"350:2904","fileName":"node-24","iconName":"node","description":"node, element, point","category":"Development","size":"24","width":24,"height":24},{"id":"350:2908","fileName":"node-16","iconName":"node","description":"node, element, point","category":"Development","size":"16","width":16,"height":16},{"id":"350:2996","fileName":"path-24","iconName":"path","description":"path, connection, network","category":"Development","size":"24","width":24,"height":24},{"id":"350:3004","fileName":"path-16","iconName":"path","description":"path, connection, network","category":"Development","size":"16","width":16,"height":16},{"id":"2518:93","fileName":"pipeline-24","iconName":"pipeline","description":"pipeline","category":"Development","size":"24","width":24,"height":24},{"id":"2518:97","fileName":"pipeline-16","iconName":"pipeline","description":"pipeline","category":"Development","size":"16","width":16,"height":16},{"id":"2005:66","fileName":"plug-24","iconName":"plug","description":"plug, plugin","category":"Development","size":"24","width":24,"height":24},{"id":"2005:71","fileName":"plug-16","iconName":"plug","description":"plug, plugin","category":"Development","size":"16","width":16,"height":16},{"id":"350:3285","fileName":"replication-direct-24","iconName":"replication-direct","description":"replication, duplication","category":"Development","size":"24","width":24,"height":24},{"id":"350:3289","fileName":"replication-direct-16","iconName":"replication-direct","description":"replication, duplication","category":"Development","size":"16","width":16,"height":16},{"id":"350:3298","fileName":"replication-perf-24","iconName":"replication-perf","description":"replication, duplication","category":"Development","size":"24","width":24,"height":24},{"id":"350:3308","fileName":"replication-perf-16","iconName":"replication-perf","description":"replication, duplication","category":"Development","size":"16","width":16,"height":16},{"id":"350:3402","fileName":"scissors-24","iconName":"scissors","description":"scissors, cut","category":"Development","size":"24","width":24,"height":24},{"id":"350:3407","fileName":"scissors-16","iconName":"scissors","description":"scissors, cut","category":"Development","size":"16","width":16,"height":16},{"id":"350:3438","fileName":"server-24","iconName":"server","description":"server, data","category":"Development","size":"24","width":24,"height":24},{"id":"350:3443","fileName":"server-16","iconName":"server","description":"server, data","category":"Development","size":"16","width":16,"height":16},{"id":"350:3468","fileName":"server-cluster-24","iconName":"server-cluster","description":"server, data, cluster, network","category":"Development","size":"24","width":24,"height":24},{"id":"350:3476","fileName":"server-cluster-16","iconName":"server-cluster","description":"server, data, cluster, network","category":"Development","size":"16","width":16,"height":16},{"id":"350:3453","fileName":"serverless-24","iconName":"serverless","description":"serverless, off, disabled, data","category":"Development","size":"24","width":24,"height":24},{"id":"350:3458","fileName":"serverless-16","iconName":"serverless","description":"serverless, off, disabled, data","category":"Development","size":"16","width":16,"height":16},{"id":"1616:66","fileName":"service-24","iconName":"service","description":"service","category":"Development","size":"24","width":24,"height":24},{"id":"1616:79","fileName":"service-16","iconName":"service","description":"service","category":"Development","size":"16","width":16,"height":16},{"id":"350:3489","fileName":"settings-24","iconName":"settings","description":"settings, preferences, gear, cog, configuration","category":"Development","size":"24","width":24,"height":24},{"id":"350:3497","fileName":"settings-16","iconName":"settings","description":"settings, preferences, gear, cog, configuration","category":"Development","size":"16","width":16,"height":16},{"id":"350:3730","fileName":"sliders-24","iconName":"sliders","description":"sliders, options, preferences, customize, options","category":"Development","size":"24","width":24,"height":24},{"id":"350:3740","fileName":"sliders-16","iconName":"sliders","description":"sliders, options, preferences, customize, options","category":"Development","size":"16","width":16,"height":16},{"id":"350:3754","fileName":"smartphone-24","iconName":"smartphone","description":"phone, device, mobile","category":"Development","size":"24","width":24,"height":24},{"id":"350:3757","fileName":"smartphone-16","iconName":"smartphone","description":"phone, device, mobile","category":"Development","size":"16","width":16,"height":16},{"id":"350:3778","fileName":"socket-24","iconName":"socket","description":"socket, port","category":"Development","size":"24","width":24,"height":24},{"id":"350:3783","fileName":"socket-16","iconName":"socket","description":"socket, port","category":"Development","size":"16","width":16,"height":16},{"id":"2519:77","fileName":"step-24","iconName":"step","description":"step, pipeline","category":"Development","size":"24","width":24,"height":24},{"id":"2519:80","fileName":"step-16","iconName":"step","description":"step, pipeline","category":"Development","size":"16","width":16,"height":16},{"id":"350:4051","fileName":"tablet-24","iconName":"tablet","description":"tablet, device, mobile","category":"Development","size":"24","width":24,"height":24},{"id":"350:4054","fileName":"tablet-16","iconName":"tablet","description":"tablet, device, mobile","category":"Development","size":"16","width":16,"height":16},{"id":"350:4083","fileName":"terminal-24","iconName":"terminal","description":"terminal, code, cli, programming","category":"Development","size":"24","width":24,"height":24},{"id":"350:4086","fileName":"terminal-16","iconName":"terminal","description":"terminal, code, cli, programming","category":"Development","size":"16","width":16,"height":16},{"id":"350:4094","fileName":"terminal-screen-24","iconName":"terminal-screen","description":"terminal, code, cli, interactive, programming","category":"Development","size":"24","width":24,"height":24},{"id":"350:4098","fileName":"terminal-screen-16","iconName":"terminal-screen","description":"terminal, code, cli, interactive, programming","category":"Development","size":"16","width":16,"height":16},{"id":"1845:66","fileName":"test-24","iconName":"test","description":"test, check, delay, waiting","category":"Development","size":"24","width":24,"height":24},{"id":"1845:71","fileName":"test-16","iconName":"test","description":"test, check, delay, waiting","category":"Development","size":"16","width":16,"height":16},{"id":"350:4156","fileName":"tools-24","iconName":"tools","description":"tools, toolbox","category":"Development","size":"24","width":24,"height":24},{"id":"350:4161","fileName":"tools-16","iconName":"tools","description":"tools, toolbox","category":"Development","size":"16","width":16,"height":16},{"id":"5087:302","fileName":"transform-data-24","iconName":"transform-data","description":"crypto, path, encrypt, transform","category":"Development","size":"24","width":24,"height":24},{"id":"5087:319","fileName":"transform-data-16","iconName":"transform-data","description":"crypto, path, encrypt, transform","category":"Development","size":"16","width":16,"height":16},{"id":"350:4248","fileName":"tv-24","iconName":"tv","description":"tv, video, watch","category":"Development","size":"24","width":24,"height":24},{"id":"350:4251","fileName":"tv-16","iconName":"tv","description":"tv, video, watch","category":"Development","size":"16","width":16,"height":16},{"id":"350:4567","fileName":"webhook-24","iconName":"webhook","description":"webhook, hook","category":"Development","size":"24","width":24,"height":24},{"id":"350:4572","fileName":"webhook-16","iconName":"webhook","description":"webhook, hook","category":"Development","size":"16","width":16,"height":16},{"id":"350:4608","fileName":"wrench-24","iconName":"wrench","description":"wrench, tool, adjust, build","category":"Development","size":"24","width":24,"height":24},{"id":"350:4610","fileName":"wrench-16","iconName":"wrench","description":"wrench, tool, adjust, build","category":"Development","size":"16","width":16,"height":16},{"id":"350:123","fileName":"archive-24","iconName":"archive","description":"archive, box, inbox","category":"Files","size":"24","width":24,"height":24},{"id":"350:127","fileName":"archive-16","iconName":"archive","description":"archive, box, inbox","category":"Files","size":"16","width":16,"height":16},{"id":"350:872","fileName":"clipboard-24","iconName":"clipboard","description":"clipboard, copy, paste, content","category":"Files","size":"24","width":24,"height":24},{"id":"350:878","fileName":"clipboard-16","iconName":"clipboard","description":"clipboard, copy, paste, content","category":"Files","size":"16","width":16,"height":16},{"id":"350:889","fileName":"clipboard-checked-24","iconName":"clipboard-checked","description":"clipboard, copy, copied, success, paste, content","category":"Files","size":"24","width":24,"height":24},{"id":"350:895","fileName":"clipboard-checked-16","iconName":"clipboard-checked","description":"clipboard, copy, copied, success, paste, content","category":"Files","size":"16","width":16,"height":16},{"id":"350:907","fileName":"clipboard-copy-24","iconName":"clipboard-copy","description":"clipboard, copy, snippet, paste, content","category":"Files","size":"24","width":24,"height":24},{"id":"350:915","fileName":"clipboard-copy-16","iconName":"clipboard-copy","description":"clipboard, copy, snippet, paste, content","category":"Files","size":"16","width":16,"height":16},{"id":"4278:82","fileName":"clipboard-x-24","iconName":"clipboard-x","description":"clipboard, copy, copied, error, paste, content","category":"Files","size":"24","width":24,"height":24},{"id":"4278:88","fileName":"clipboard-x-16","iconName":"clipboard-x","description":"clipboard, copy, copied, error, paste, content","category":"Files","size":"16","width":16,"height":16},{"id":"350:1507","fileName":"file-24","iconName":"file","description":"file, document, format, paper","category":"Files","size":"24","width":24,"height":24},{"id":"350:1510","fileName":"file-16","iconName":"file","description":"file, document, format, paper","category":"Files","size":"16","width":16,"height":16},{"id":"350:1534","fileName":"file-change-24","iconName":"file-change","description":"file, document, change, modified, format, paper","category":"Files","size":"24","width":24,"height":24},{"id":"350:1538","fileName":"file-change-16","iconName":"file-change","description":"file, document, change, modified, format, paper","category":"Files","size":"16","width":16,"height":16},{"id":"350:1517","fileName":"file-check-24","iconName":"file-check","description":"file, document, success, check, format, paper","category":"Files","size":"24","width":24,"height":24},{"id":"350:1523","fileName":"file-check-16","iconName":"file-check","description":"file, document, success, check, format, paper","category":"Files","size":"16","width":16,"height":16},{"id":"350:1547","fileName":"file-diff-24","iconName":"file-diff","description":"file, document, diff, change, format, paper","category":"Files","size":"24","width":24,"height":24},{"id":"350:1553","fileName":"file-diff-16","iconName":"file-diff","description":"file, document, diff, change, format, paper","category":"Files","size":"16","width":16,"height":16},{"id":"350:1565","fileName":"file-minus-24","iconName":"file-minus","description":"file, document, remove, minus, format, paper","category":"Files","size":"24","width":24,"height":24},{"id":"350:1569","fileName":"file-minus-16","iconName":"file-minus","description":"file, document, remove, minus, format, paper","category":"Files","size":"16","width":16,"height":16},{"id":"350:1577","fileName":"file-plus-24","iconName":"file-plus","description":"file, document, create, add, plus, format, paper","category":"Files","size":"24","width":24,"height":24},{"id":"350:1582","fileName":"file-plus-16","iconName":"file-plus","description":"file, document, create, add, plus, format, paper","category":"Files","size":"16","width":16,"height":16},{"id":"350:1591","fileName":"file-source-24","iconName":"file-source","description":"file, document, source, code, format, paper","category":"Files","size":"24","width":24,"height":24},{"id":"350:1596","fileName":"file-source-16","iconName":"file-source","description":"file, document, source, code, format, paper","category":"Files","size":"16","width":16,"height":16},{"id":"350:1606","fileName":"file-text-24","iconName":"file-text","description":"file, document, text, format, paper, project","category":"Files","size":"24","width":24,"height":24},{"id":"350:1612","fileName":"file-text-16","iconName":"file-text","description":"file, document, text, format, paper, project","category":"Files","size":"16","width":16,"height":16},{"id":"350:1622","fileName":"file-x-24","iconName":"file-x","description":"file, document, deleted, removed, format, paper","category":"Files","size":"24","width":24,"height":24},{"id":"350:1629","fileName":"file-x-16","iconName":"file-x","description":"file, document, deleted, removed, format, paper","category":"Files","size":"16","width":16,"height":16},{"id":"350:1641","fileName":"files-24","iconName":"files","description":"files, documents, group, hosts, format, paper","category":"Files","size":"24","width":24,"height":24},{"id":"350:1646","fileName":"files-16","iconName":"files","description":"files, documents, group, hosts, format, paper","category":"Files","size":"16","width":16,"height":16},{"id":"350:1696","fileName":"folder-24","iconName":"folder","description":"folder, directory, project, document, file","category":"Files","size":"24","width":24,"height":24},{"id":"350:1699","fileName":"folder-16","iconName":"folder","description":"folder, directory, project, document, file","category":"Files","size":"16","width":16,"height":16},{"id":"350:1707","fileName":"folder-fill-24","iconName":"folder-fill","description":"folder, directory, project, document, file","category":"Files","size":"24","width":24,"height":24},{"id":"350:1711","fileName":"folder-fill-16","iconName":"folder-fill","description":"folder, directory, project, document, file","category":"Files","size":"16","width":16,"height":16},{"id":"350:1720","fileName":"folder-minus-24","iconName":"folder-minus","description":"folder, directory, project, minus, remove, document, file","category":"Files","size":"24","width":24,"height":24},{"id":"350:1724","fileName":"folder-minus-16","iconName":"folder-minus","description":"folder, directory, project, minus, remove, document, file","category":"Files","size":"16","width":16,"height":16},{"id":"350:1732","fileName":"folder-minus-fill-24","iconName":"folder-minus-fill","description":"folder, directory, project, minus, remove, document, file","category":"Files","size":"24","width":24,"height":24},{"id":"350:1738","fileName":"folder-minus-fill-16","iconName":"folder-minus-fill","description":"folder, directory, project, minus, remove, document, file","category":"Files","size":"16","width":16,"height":16},{"id":"350:1747","fileName":"folder-plus-24","iconName":"folder-plus","description":"folder, directory, project, plus, add, create, document, file","category":"Files","size":"24","width":24,"height":24},{"id":"350:1752","fileName":"folder-plus-16","iconName":"folder-plus","description":"folder, directory, project, plus, add, create, document, file","category":"Files","size":"16","width":16,"height":16},{"id":"350:1761","fileName":"folder-plus-fill-24","iconName":"folder-plus-fill","description":"folder, directory, project, plus, add, create, document, file","category":"Files","size":"24","width":24,"height":24},{"id":"350:1766","fileName":"folder-plus-fill-16","iconName":"folder-plus-fill","description":"folder, directory, project, plus, add, create, document, file","category":"Files","size":"16","width":16,"height":16},{"id":"350:1776","fileName":"folder-star-24","iconName":"folder-star","description":"folder, directory, starred, favorite, pinned, document, file","category":"Files","size":"24","width":24,"height":24},{"id":"350:1781","fileName":"folder-star-16","iconName":"folder-star","description":"folder, directory, starred, favorite, pinned, document, file","category":"Files","size":"16","width":16,"height":16},{"id":"350:2184","fileName":"inbox-24","iconName":"inbox","description":"inbox, tray","category":"Files","size":"24","width":24,"height":24},{"id":"350:2187","fileName":"inbox-16","iconName":"inbox","description":"inbox, tray","category":"Files","size":"16","width":16,"height":16},{"id":"350:67","fileName":"align-center-24","iconName":"align-center","description":"align, text, center","category":"Interface","size":"24","width":24,"height":24},{"id":"350:72","fileName":"align-center-16","iconName":"align-center","description":"align, text, center","category":"Interface","size":"16","width":16,"height":16},{"id":"350:81","fileName":"align-justify-24","iconName":"align-justify","description":"align, text, justify","category":"Interface","size":"24","width":24,"height":24},{"id":"350:86","fileName":"align-justify-16","iconName":"align-justify","description":"align, text, justify","category":"Interface","size":"16","width":16,"height":16},{"id":"350:95","fileName":"align-left-24","iconName":"align-left","description":"align, text, left","category":"Interface","size":"24","width":24,"height":24},{"id":"350:100","fileName":"align-left-16","iconName":"align-left","description":"align, text, left","category":"Interface","size":"16","width":16,"height":16},{"id":"350:109","fileName":"align-right-24","iconName":"align-right","description":"align, text, right","category":"Interface","size":"24","width":24,"height":24},{"id":"350:114","fileName":"align-right-16","iconName":"align-right","description":"align, text, right","category":"Interface","size":"16","width":16,"height":16},{"id":"350:331","fileName":"battery-24","iconName":"battery","description":"battery, empty, charge","category":"Interface","size":"24","width":24,"height":24},{"id":"350:334","fileName":"battery-16","iconName":"battery","description":"battery, empty, charge","category":"Interface","size":"16","width":16,"height":16},{"id":"350:342","fileName":"battery-charging-24","iconName":"battery-charging","description":"battery, charging","category":"Interface","size":"24","width":24,"height":24},{"id":"350:346","fileName":"battery-charging-16","iconName":"battery-charging","description":"battery, charging","category":"Interface","size":"16","width":16,"height":16},{"id":"350:421","fileName":"bookmark-24","iconName":"bookmark","description":"bookmark, save","category":"Interface","size":"24","width":24,"height":24},{"id":"350:423","fileName":"bookmark-16","iconName":"bookmark","description":"bookmark, save","category":"Interface","size":"16","width":16,"height":16},{"id":"546:68","fileName":"bookmark-add-24","iconName":"bookmark-add","description":"bookmark, add, save","category":"Interface","size":"24","width":24,"height":24},{"id":"546:72","fileName":"bookmark-add-16","iconName":"bookmark-add","description":"bookmark, add, save","category":"Interface","size":"16","width":16,"height":16},{"id":"546:50","fileName":"bookmark-add-fill-24","iconName":"bookmark-add-fill","description":"bookmark, add, save","category":"Interface","size":"24","width":24,"height":24},{"id":"546:55","fileName":"bookmark-add-fill-16","iconName":"bookmark-add-fill","description":"bookmark, add, save","category":"Interface","size":"16","width":16,"height":16},{"id":"350:430","fileName":"bookmark-fill-24","iconName":"bookmark-fill","description":"bookmark, bookmarked, saved","category":"Interface","size":"24","width":24,"height":24},{"id":"350:432","fileName":"bookmark-fill-16","iconName":"bookmark-fill","description":"bookmark, bookmarked, saved","category":"Interface","size":"16","width":16,"height":16},{"id":"545:18","fileName":"bookmark-remove-24","iconName":"bookmark-remove","description":"bookmark, minus, remove","category":"Interface","size":"24","width":24,"height":24},{"id":"545:21","fileName":"bookmark-remove-16","iconName":"bookmark-remove","description":"bookmark, minus, remove","category":"Interface","size":"16","width":16,"height":16},{"id":"546:34","fileName":"bookmark-remove-fill-24","iconName":"bookmark-remove-fill","description":"bookmark, minus, remove","category":"Interface","size":"24","width":24,"height":24},{"id":"546:38","fileName":"bookmark-remove-fill-16","iconName":"bookmark-remove-fill","description":"bookmark, minus, remove","category":"Interface","size":"16","width":16,"height":16},{"id":"350:492","fileName":"bottom-24","iconName":"bottom","description":"bottom, scroll, down","category":"Interface","size":"24","width":24,"height":24},{"id":"350:496","fileName":"bottom-16","iconName":"bottom","description":"bottom, scroll, down","category":"Interface","size":"16","width":16,"height":16},{"id":"350:1064","fileName":"command-24","iconName":"command","description":"command, cmd, shortcut","category":"Interface","size":"24","width":24,"height":24},{"id":"350:1070","fileName":"command-16","iconName":"command","description":"command, cmd, shortcut","category":"Interface","size":"16","width":16,"height":16},{"id":"350:1210","fileName":"crop-24","iconName":"crop","description":"crop, edit","category":"Interface","size":"24","width":24,"height":24},{"id":"350:1213","fileName":"crop-16","iconName":"crop","description":"crop, edit","category":"Interface","size":"16","width":16,"height":16},{"id":"652:34","fileName":"dashboard-24","iconName":"dashboard","description":"grid, dashboard, overview, layout","category":"Interface","size":"24","width":24,"height":24},{"id":"652:38","fileName":"dashboard-16","iconName":"dashboard","description":"grid, dashboard, overview, layout","category":"Interface","size":"16","width":16,"height":16},{"id":"350:1262","fileName":"delete-24","iconName":"delete","description":"delete, backspace","category":"Interface","size":"24","width":24,"height":24},{"id":"350:1266","fileName":"delete-16","iconName":"delete","description":"delete, backspace","category":"Interface","size":"16","width":16,"height":16},{"id":"350:1378","fileName":"download-24","iconName":"download","description":"download, file, export, save","category":"Interface","size":"24","width":24,"height":24},{"id":"350:1382","fileName":"download-16","iconName":"download","description":"download, file, export, save","category":"Interface","size":"16","width":16,"height":16},{"id":"350:1409","fileName":"edit-24","iconName":"edit","description":"edit, pencil, draw, writing","category":"Interface","size":"24","width":24,"height":24},{"id":"350:1413","fileName":"edit-16","iconName":"edit","description":"edit, pencil, draw, writing","category":"Interface","size":"16","width":16,"height":16},{"id":"350:1421","fileName":"entry-point-24","iconName":"entry-point","description":"arrow, circle, enter, entry, service, start","category":"Interface","size":"24","width":24,"height":24},{"id":"350:1425","fileName":"entry-point-16","iconName":"entry-point","description":"arrow, circle, enter, entry, service, start","category":"Interface","size":"16","width":16,"height":16},{"id":"350:1434","fileName":"exit-point-24","iconName":"exit-point","description":"arrow, circle, exit, end, service","category":"Interface","size":"24","width":24,"height":24},{"id":"350:1438","fileName":"exit-point-16","iconName":"exit-point","description":"arrow, circle, exit, end, service","category":"Interface","size":"16","width":16,"height":16},{"id":"350:1448","fileName":"external-link-24","iconName":"external-link","description":"link, external, go","category":"Interface","size":"24","width":24,"height":24},{"id":"350:1452","fileName":"external-link-16","iconName":"external-link","description":"link, external, go","category":"Interface","size":"16","width":16,"height":16},{"id":"548:215","fileName":"filter-24","iconName":"filter","description":"filter, options, configuration","category":"Interface","size":"24","width":24,"height":24},{"id":"548:219","fileName":"filter-16","iconName":"filter","description":"filter, options, configuration","category":"Interface","size":"16","width":16,"height":16},{"id":"548:227","fileName":"filter-circle-24","iconName":"filter-circle","description":"filter, circle, inactive, off, options, configuration","category":"Interface","size":"24","width":24,"height":24},{"id":"548:232","fileName":"filter-circle-16","iconName":"filter-circle","description":"filter, circle, inactive, off, options, configuration","category":"Interface","size":"16","width":16,"height":16},{"id":"548:241","fileName":"filter-fill-24","iconName":"filter-fill","description":"filter, circle, active, on, options, configuration","category":"Interface","size":"24","width":24,"height":24},{"id":"548:247","fileName":"filter-fill-16","iconName":"filter-fill","description":"filter, circle, active, on, options, configuration","category":"Interface","size":"16","width":16,"height":16},{"id":"350:1946","fileName":"grid-24","iconName":"grid","description":"grid, format, view, group, layout","category":"Interface","size":"24","width":24,"height":24},{"id":"350:1951","fileName":"grid-16","iconName":"grid","description":"grid, format, view, group, layout","category":"Interface","size":"16","width":16,"height":16},{"id":"350:1960","fileName":"grid-alt-24","iconName":"grid-alt","description":"grid, format, view, group, layout","category":"Interface","size":"24","width":24,"height":24},{"id":"350:1970","fileName":"grid-alt-16","iconName":"grid-alt","description":"grid, format, view, group, layout","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2114","fileName":"home-24","iconName":"home","description":"home, house","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2117","fileName":"home-16","iconName":"home","description":"home, house","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2217","fileName":"jump-link-24","iconName":"jump-link","description":"jump, go, link, skip","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2224","fileName":"jump-link-16","iconName":"jump-link","description":"jump, go, link, skip","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2288","fileName":"layout-24","iconName":"layout","description":"layout, app, window","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2292","fileName":"layout-16","iconName":"layout","description":"layout, app, window","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2367","fileName":"link-24","iconName":"link","description":"link, url","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2370","fileName":"link-16","iconName":"link","description":"link, url","category":"Interface","size":"16","width":16,"height":16},{"id":"855:67","fileName":"list-24","iconName":"list","description":"list, format, view, group","category":"Interface","size":"24","width":24,"height":24},{"id":"855:74","fileName":"list-16","iconName":"list","description":"list, format, view, group","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2480","fileName":"maximize-24","iconName":"maximize","description":"maximize, zoom","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2485","fileName":"maximize-16","iconName":"maximize","description":"maximize, zoom","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2494","fileName":"maximize-alt-24","iconName":"maximize-alt","description":"maximize, zoom","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2496","fileName":"maximize-alt-16","iconName":"maximize-alt","description":"maximize, zoom","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2516","fileName":"menu-24","iconName":"menu","description":"menu, hamburger, navigation, list","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2520","fileName":"menu-16","iconName":"menu","description":"menu, hamburger, navigation, list","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2641","fileName":"minimize-24","iconName":"minimize","description":"minimize, collapse, close","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2646","fileName":"minimize-16","iconName":"minimize","description":"minimize, collapse, close","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2655","fileName":"minimize-alt-24","iconName":"minimize-alt","description":"minimize","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2657","fileName":"minimize-alt-16","iconName":"minimize-alt","description":"minimize","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2772","fileName":"more-horizontal-24","iconName":"more-horizontal","description":"more, ellipsis","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2776","fileName":"more-horizontal-16","iconName":"more-horizontal","description":"more, ellipsis","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2785","fileName":"more-vertical-24","iconName":"more-vertical","description":"more, actions","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2789","fileName":"more-vertical-16","iconName":"more-vertical","description":"more, actions","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2797","fileName":"mouse-pointer-24","iconName":"mouse-pointer","description":"mouse, pointer, cursor","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2800","fileName":"mouse-pointer-16","iconName":"mouse-pointer","description":"mouse, pointer, cursor","category":"Interface","size":"16","width":16,"height":16},{"id":"350:2988","fileName":"paperclip-24","iconName":"paperclip","description":"paperclip, clip, attachment","category":"Interface","size":"24","width":24,"height":24},{"id":"350:2990","fileName":"paperclip-16","iconName":"paperclip","description":"paperclip, clip, attachment","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3041","fileName":"pen-tool-24","iconName":"pen-tool","description":"pen, vector, tool","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3046","fileName":"pen-tool-16","iconName":"pen-tool","description":"pen, vector, tool","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3055","fileName":"pencil-tool-24","iconName":"pencil-tool","description":"edit, pencil, tool","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3058","fileName":"pencil-tool-16","iconName":"pencil-tool","description":"edit, pencil, tool","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3104","fileName":"pin-24","iconName":"pin","description":"pin, pinned","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3106","fileName":"pin-16","iconName":"pin","description":"pin, pinned","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3167","fileName":"power-24","iconName":"power","description":"power, on, off","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3170","fileName":"power-16","iconName":"power","description":"power, on, off","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3177","fileName":"printer-24","iconName":"printer","description":"printer","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3181","fileName":"printer-16","iconName":"printer","description":"printer","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3260","fileName":"reload-24","iconName":"reload","description":"reload, restart, refresh","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3263","fileName":"reload-16","iconName":"reload","description":"reload, restart, refresh","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3271","fileName":"repeat-24","iconName":"repeat","description":"repeat, redo, process, loop","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3276","fileName":"repeat-16","iconName":"repeat","description":"repeat, redo, process, loop","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3355","fileName":"rotate-cw-24","iconName":"rotate-cw","description":"rotate","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3358","fileName":"rotate-cw-16","iconName":"rotate-cw","description":"rotate","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3366","fileName":"rotate-ccw-24","iconName":"rotate-ccw","description":"rotate","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3369","fileName":"rotate-ccw-16","iconName":"rotate-ccw","description":"rotate","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3417","fileName":"search-24","iconName":"search","description":"search, find, magnifier","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3420","fileName":"search-16","iconName":"search","description":"search, find, magnifier","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3511","fileName":"share-24","iconName":"share","description":"share","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3515","fileName":"share-16","iconName":"share","description":"share","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3619","fileName":"sidebar-24","iconName":"sidebar","description":"layout, sidebar, navigation","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3622","fileName":"sidebar-16","iconName":"sidebar","description":"layout, sidebar, navigation","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3629","fileName":"sidebar-hide-24","iconName":"sidebar-hide","description":"layout, sidebar, hide, collapse, navigation","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3633","fileName":"sidebar-hide-16","iconName":"sidebar-hide","description":"layout, sidebar, hide, collapse, navigation","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3642","fileName":"sidebar-show-24","iconName":"sidebar-show","description":"layout, sidebar, show, expand, navigation","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3646","fileName":"sidebar-show-16","iconName":"sidebar-show","description":"layout, sidebar, show, expand, navigation","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3655","fileName":"sign-in-24","iconName":"sign-in","description":"login, signin, enter, access","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3659","fileName":"sign-in-16","iconName":"sign-in","description":"login, signin, enter, access","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3667","fileName":"sign-out-24","iconName":"sign-out","description":"logout, signout, leave, exit, access","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3671","fileName":"sign-out-16","iconName":"sign-out","description":"logout, signout, leave, exit, access","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3709","fileName":"slash-24","iconName":"slash","description":"slash","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3711","fileName":"slash-16","iconName":"slash","description":"slash","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3719","fileName":"slash-square-24","iconName":"slash-square","description":"slash, square","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3722","fileName":"slash-square-16","iconName":"slash-square","description":"slash, square","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3793","fileName":"sort-asc-24","iconName":"sort-asc","description":"sort, ascending, up","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3800","fileName":"sort-asc-16","iconName":"sort-asc","description":"sort, ascending, up","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3812","fileName":"sort-desc-24","iconName":"sort-desc","description":"sort, descending, down","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3819","fileName":"sort-desc-16","iconName":"sort-desc","description":"sort, descending, down","category":"Interface","size":"16","width":16,"height":16},{"id":"350:3983","fileName":"switcher-24","iconName":"switcher","description":"switcher, launcher, apps","category":"Interface","size":"24","width":24,"height":24},{"id":"350:3993","fileName":"switcher-16","iconName":"switcher","description":"switcher, launcher, apps","category":"Interface","size":"16","width":16,"height":16},{"id":"350:4008","fileName":"sync-24","iconName":"sync","description":"refresh, syncing","category":"Interface","size":"24","width":24,"height":24},{"id":"350:4012","fileName":"sync-16","iconName":"sync","description":"refresh, syncing","category":"Interface","size":"16","width":16,"height":16},{"id":"350:4021","fileName":"sync-alert-24","iconName":"sync-alert","description":"refresh, syncing, issue, alert","category":"Interface","size":"24","width":24,"height":24},{"id":"350:4027","fileName":"sync-alert-16","iconName":"sync-alert","description":"refresh, syncing, issue, alert","category":"Interface","size":"16","width":16,"height":16},{"id":"350:4038","fileName":"sync-reverse-24","iconName":"sync-reverse","description":"refresh, syncing, reverse","category":"Interface","size":"24","width":24,"height":24},{"id":"350:4042","fileName":"sync-reverse-16","iconName":"sync-reverse","description":"refresh, syncing, reverse","category":"Interface","size":"16","width":16,"height":16},{"id":"350:4061","fileName":"tag-24","iconName":"tag","description":"tag, label, category","category":"Interface","size":"24","width":24,"height":24},{"id":"350:4064","fileName":"tag-16","iconName":"tag","description":"tag, label, category","category":"Interface","size":"16","width":16,"height":16},{"id":"350:4123","fileName":"toggle-left-24","iconName":"toggle-left","description":"toggle, switch","category":"Interface","size":"24","width":24,"height":24},{"id":"350:4126","fileName":"toggle-left-16","iconName":"toggle-left","description":"toggle, switch","category":"Interface","size":"16","width":16,"height":16},{"id":"350:4133","fileName":"toggle-right-24","iconName":"toggle-right","description":"toggle, switch","category":"Interface","size":"24","width":24,"height":24},{"id":"350:4136","fileName":"toggle-right-16","iconName":"toggle-right","description":"toggle, switch","category":"Interface","size":"16","width":16,"height":16},{"id":"350:4171","fileName":"top-24","iconName":"top","description":"top, scroll, up","category":"Interface","size":"24","width":24,"height":24},{"id":"350:4175","fileName":"top-16","iconName":"top","description":"top, scroll, up","category":"Interface","size":"16","width":16,"height":16},{"id":"350:4184","fileName":"trash-24","iconName":"trash","description":"trash, bin, delete","category":"Interface","size":"24","width":24,"height":24},{"id":"350:4189","fileName":"trash-16","iconName":"trash","description":"trash, bin, delete","category":"Interface","size":"16","width":16,"height":16},{"id":"350:4258","fileName":"type-24","iconName":"type","description":"type, font, text","category":"Interface","size":"24","width":24,"height":24},{"id":"350:4262","fileName":"type-16","iconName":"type","description":"type, font, text","category":"Interface","size":"16","width":16,"height":16},{"id":"350:4283","fileName":"unfold-close-24","iconName":"unfold-close","description":"fold, close, collapse","category":"Interface","size":"24","width":24,"height":24},{"id":"350:4287","fileName":"unfold-close-16","iconName":"unfold-close","description":"fold, close, collapse","category":"Interface","size":"16","width":16,"height":16},{"id":"350:4270","fileName":"unfold-open-24","iconName":"unfold-open","description":"unfold, open, expand","category":"Interface","size":"24","width":24,"height":24},{"id":"350:4274","fileName":"unfold-open-16","iconName":"unfold-open","description":"unfold, open, expand","category":"Interface","size":"16","width":16,"height":16},{"id":"350:4307","fileName":"upload-24","iconName":"upload","description":"upload, data, file, import","category":"Interface","size":"24","width":24,"height":24},{"id":"350:4311","fileName":"upload-16","iconName":"upload","description":"upload, data, file, import","category":"Interface","size":"16","width":16,"height":16},{"id":"551:236","fileName":"zoom-in-24","iconName":"zoom-in","description":"zoom, in, maximize","category":"Interface","size":"24","width":24,"height":24},{"id":"551:238","fileName":"zoom-in-16","iconName":"zoom-in","description":"zoom, in, maximize","category":"Interface","size":"16","width":16,"height":16},{"id":"551:244","fileName":"zoom-out-24","iconName":"zoom-out","description":"zoom, out, minimize","category":"Interface","size":"24","width":24,"height":24},{"id":"551:246","fileName":"zoom-out-16","iconName":"zoom-out","description":"zoom, out, minimize","category":"Interface","size":"16","width":16,"height":16},{"id":"350:1080","fileName":"compass-24","iconName":"compass","description":"compass, navigate, browser, map","category":"Location","size":"24","width":24,"height":24},{"id":"350:1083","fileName":"compass-16","iconName":"compass","description":"compass, navigate, browser, map","category":"Location","size":"16","width":16,"height":16},{"id":"350:1220","fileName":"crosshair-24","iconName":"crosshair","description":"crosshair, target","category":"Location","size":"24","width":24,"height":24},{"id":"350:1226","fileName":"crosshair-16","iconName":"crosshair","description":"crosshair, target","category":"Location","size":"16","width":16,"height":16},{"id":"350:2458","fileName":"map-24","iconName":"map","description":"map, navigate, plan, location","category":"Location","size":"24","width":24,"height":24},{"id":"350:2462","fileName":"map-16","iconName":"map","description":"map, navigate, plan, location","category":"Location","size":"16","width":16,"height":16},{"id":"350:2470","fileName":"map-pin-24","iconName":"map-pin","description":"map, pin, location","category":"Location","size":"24","width":24,"height":24},{"id":"350:2473","fileName":"map-pin-16","iconName":"map-pin","description":"map, pin, location","category":"Location","size":"16","width":16,"height":16},{"id":"350:2837","fileName":"navigation-24","iconName":"navigation","description":"navigation, location","category":"Location","size":"24","width":24,"height":24},{"id":"350:2839","fileName":"navigation-16","iconName":"navigation","description":"navigation, location","category":"Location","size":"16","width":16,"height":16},{"id":"350:2845","fileName":"navigation-alt-24","iconName":"navigation-alt","description":"navigation","category":"Location","size":"24","width":24,"height":24},{"id":"350:2847","fileName":"navigation-alt-16","iconName":"navigation-alt","description":"navigation","category":"Location","size":"16","width":16,"height":16},{"id":"350:3251","fileName":"redirect-24","iconName":"redirect","description":"redirect, arrow","category":"Location","size":"24","width":24,"height":24},{"id":"350:3253","fileName":"redirect-16","iconName":"redirect","description":"redirect, arrow","category":"Location","size":"16","width":16,"height":16},{"id":"350:4071","fileName":"target-24","iconName":"target","description":"target","category":"Location","size":"24","width":24,"height":24},{"id":"350:4075","fileName":"target-16","iconName":"target","description":"target","category":"Location","size":"16","width":16,"height":16},{"id":"350:584","fileName":"camera-24","iconName":"camera","description":"camera, photo","category":"Media","size":"24","width":24,"height":24},{"id":"350:588","fileName":"camera-16","iconName":"camera","description":"camera, photo","category":"Media","size":"16","width":16,"height":16},{"id":"350:596","fileName":"camera-off-24","iconName":"camera-off","description":"camera, photo, off, disabled","category":"Media","size":"24","width":24,"height":24},{"id":"350:601","fileName":"camera-off-16","iconName":"camera-off","description":"camera, photo, off, disabled","category":"Media","size":"16","width":16,"height":16},{"id":"350:620","fileName":"cast-24","iconName":"cast","description":"cast, stream","category":"Media","size":"24","width":24,"height":24},{"id":"350:623","fileName":"cast-16","iconName":"cast","description":"cast, stream","category":"Media","size":"16","width":16,"height":16},{"id":"1736:66","fileName":"closed-caption-24","iconName":"closed-caption","description":"cc, closed-caption","category":"Media","size":"24","width":24,"height":24},{"id":"1736:70","fileName":"closed-caption-16","iconName":"closed-caption","description":"cc, closed-caption","category":"Media","size":"16","width":16,"height":16},{"id":"350:1497","fileName":"fast-forward-24","iconName":"fast-forward","description":"fastforward, forward, skip","category":"Media","size":"24","width":24,"height":24},{"id":"350:1500","fileName":"fast-forward-16","iconName":"fast-forward","description":"fastforward, forward, skip","category":"Media","size":"16","width":16,"height":16},{"id":"350:1655","fileName":"film-24","iconName":"film","description":"film, movie, video","category":"Media","size":"24","width":24,"height":24},{"id":"350:1664","fileName":"film-16","iconName":"film","description":"film, movie, video","category":"Media","size":"16","width":16,"height":16},{"id":"350:2048","fileName":"headphones-24","iconName":"headphones","description":"headphones, music, sound","category":"Media","size":"24","width":24,"height":24},{"id":"350:2052","fileName":"headphones-16","iconName":"headphones","description":"headphones, music, sound","category":"Media","size":"16","width":16,"height":16},{"id":"350:2171","fileName":"image-24","iconName":"image","description":"image, photo, picture, media","category":"Media","size":"24","width":24,"height":24},{"id":"350:2175","fileName":"image-16","iconName":"image","description":"image, photo, picture, media","category":"Media","size":"16","width":16,"height":16},{"id":"350:2825","fileName":"music-24","iconName":"music","description":"music, audio, sound","category":"Media","size":"24","width":24,"height":24},{"id":"350:2829","fileName":"music-16","iconName":"music","description":"music, audio, sound","category":"Media","size":"16","width":16,"height":16},{"id":"350:3017","fileName":"pause-24","iconName":"pause","description":"pause","category":"Media","size":"24","width":24,"height":24},{"id":"350:3020","fileName":"pause-16","iconName":"pause","description":"pause","category":"Media","size":"16","width":16,"height":16},{"id":"350:3028","fileName":"pause-circle-24","iconName":"pause-circle","description":"pause, circle","category":"Media","size":"24","width":24,"height":24},{"id":"350:3032","fileName":"pause-circle-16","iconName":"pause-circle","description":"pause, circle","category":"Media","size":"16","width":16,"height":16},{"id":"350:3113","fileName":"play-24","iconName":"play","description":"play, start, run","category":"Media","size":"24","width":24,"height":24},{"id":"350:3115","fileName":"play-16","iconName":"play","description":"play, start, run","category":"Media","size":"16","width":16,"height":16},{"id":"350:3121","fileName":"play-circle-24","iconName":"play-circle","description":"play, start, run, circle","category":"Media","size":"24","width":24,"height":24},{"id":"647:223","fileName":"play-circle-16","iconName":"play-circle","description":"play, start, run, circle","category":"Media","size":"16","width":16,"height":16},{"id":"350:3223","fileName":"radio-24","iconName":"radio","description":"radio, sound, signal","category":"Media","size":"24","width":24,"height":24},{"id":"350:3227","fileName":"radio-16","iconName":"radio","description":"radio, sound, signal","category":"Media","size":"16","width":16,"height":16},{"id":"350:3323","fileName":"rewind-24","iconName":"rewind","description":"rewind, back, previous","category":"Media","size":"24","width":24,"height":24},{"id":"350:3326","fileName":"rewind-16","iconName":"rewind","description":"rewind, back, previous","category":"Media","size":"16","width":16,"height":16},{"id":"350:3378","fileName":"rss-24","iconName":"rss","description":"rss, feed","category":"Media","size":"24","width":24,"height":24},{"id":"350:3382","fileName":"rss-16","iconName":"rss","description":"rss, feed","category":"Media","size":"16","width":16,"height":16},{"id":"350:3699","fileName":"skip-back-24","iconName":"skip-back","description":"skip, previous, back","category":"Media","size":"24","width":24,"height":24},{"id":"350:3702","fileName":"skip-back-16","iconName":"skip-back","description":"skip, previous, back","category":"Media","size":"16","width":16,"height":16},{"id":"350:3689","fileName":"skip-forward-24","iconName":"skip-forward","description":"skip, forward, next","category":"Media","size":"24","width":24,"height":24},{"id":"350:3692","fileName":"skip-forward-16","iconName":"skip-forward","description":"skip, forward, next","category":"Media","size":"16","width":16,"height":16},{"id":"350:3831","fileName":"speaker-24","iconName":"speaker","description":"speaker, sound","category":"Media","size":"24","width":24,"height":24},{"id":"350:3834","fileName":"speaker-16","iconName":"speaker","description":"speaker, sound","category":"Media","size":"16","width":16,"height":16},{"id":"350:3898","fileName":"stop-circle-24","iconName":"stop-circle","description":"stop, circle, end","category":"Media","size":"24","width":24,"height":24},{"id":"350:3901","fileName":"stop-circle-16","iconName":"stop-circle","description":"stop, circle, end","category":"Media","size":"16","width":16,"height":16},{"id":"350:4487","fileName":"volume-24","iconName":"volume","description":"volume, low, muted, sound, audio, speaker","category":"Media","size":"24","width":24,"height":24},{"id":"350:4489","fileName":"volume-16","iconName":"volume","description":"volume, low, muted, sound, audio, speaker","category":"Media","size":"16","width":16,"height":16},{"id":"350:4495","fileName":"volume-down-24","iconName":"volume-down","description":"volume, down, low, quiet, sound, audio, speaker","category":"Media","size":"24","width":24,"height":24},{"id":"350:4498","fileName":"volume-down-16","iconName":"volume-down","description":"volume, down, low, quiet, sound, audio, speaker","category":"Media","size":"16","width":16,"height":16},{"id":"350:4505","fileName":"volume-2-24","iconName":"volume-2","description":"volume, up, high, loud, sound, audio, speaker","category":"Media","size":"24","width":24,"height":24},{"id":"350:4509","fileName":"volume-2-16","iconName":"volume-2","description":"volume, up, high, loud, sound, audio, speaker","category":"Media","size":"16","width":16,"height":16},{"id":"350:4517","fileName":"volume-x-24","iconName":"volume-x","description":"volume, off, disabled, muted, sound, audio, speaker","category":"Media","size":"24","width":24,"height":24},{"id":"350:4521","fileName":"volume-x-16","iconName":"volume-x","description":"volume, off, disabled, muted, sound, audio, speaker","category":"Media","size":"16","width":16,"height":16},{"id":"350:4582","fileName":"wifi-24","iconName":"wifi","description":"wifi, internet","category":"Media","size":"24","width":24,"height":24},{"id":"350:4587","fileName":"wifi-16","iconName":"wifi","description":"wifi, internet","category":"Media","size":"16","width":16,"height":16},{"id":"350:4596","fileName":"wifi-off-24","iconName":"wifi-off","description":"wifi, internet, off, disabled","category":"Media","size":"24","width":24,"height":24},{"id":"350:4600","fileName":"wifi-off-16","iconName":"wifi-off","description":"wifi, internet, off, disabled","category":"Media","size":"16","width":16,"height":16},{"id":"3954:66","fileName":"ampersand-24","iconName":"ampersand","description":"and, or, conditional","category":"Symbols","size":"24","width":24,"height":24},{"id":"3954:68","fileName":"ampersand-16","iconName":"ampersand","description":"and, or, conditional","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:354","fileName":"beaker-24","iconName":"beaker","description":"beaker, lab, experiment, science, test","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:358","fileName":"beaker-16","iconName":"beaker","description":"beaker, lab, experiment, science, test","category":"Symbols","size":"16","width":16,"height":16},{"id":"1484:85","fileName":"bulb-24","iconName":"bulb","description":"bulb, light, idea, smart, insight, on","category":"Symbols","size":"24","width":24,"height":24},{"id":"1484:93","fileName":"bulb-16","iconName":"bulb","description":"bulb, light, idea, smart, insight, on","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:844","fileName":"circle-24","iconName":"circle","description":"circle, ring, arrow, direction, round","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:846","fileName":"circle-16","iconName":"circle","description":"circle, ring, arrow, direction, round","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:852","fileName":"circle-dot-24","iconName":"circle-dot","description":"circle, dot, round","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:855","fileName":"circle-dot-16","iconName":"circle-dot","description":"circle, dot, round","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:863","fileName":"circle-fill-24","iconName":"circle-fill","description":"circle, dot, round","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:865","fileName":"circle-fill-16","iconName":"circle-fill","description":"circle, dot, round","category":"Symbols","size":"16","width":16,"height":16},{"id":"648:228","fileName":"circle-half-24","iconName":"circle-half","description":"circle, dot, half, progress, round","category":"Symbols","size":"24","width":24,"height":24},{"id":"648:231","fileName":"circle-half-16","iconName":"circle-half","description":"circle, dot, half, progress, round","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:1274","fileName":"diamond-24","iconName":"diamond","description":"diamond, test","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:1276","fileName":"diamond-16","iconName":"diamond","description":"diamond, test","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:1283","fileName":"diamond-fill-24","iconName":"diamond-fill","description":"diamond, test","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:1285","fileName":"diamond-fill-16","iconName":"diamond-fill","description":"diamond, test","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:1292","fileName":"disc-24","iconName":"disc","description":"disc, cd","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:1295","fileName":"disc-16","iconName":"disc","description":"disc, cd","category":"Symbols","size":"16","width":16,"height":16},{"id":"648:245","fileName":"dot-24","iconName":"dot","description":"circle, dot, bullet","category":"Symbols","size":"24","width":24,"height":24},{"id":"648:247","fileName":"dot-16","iconName":"dot","description":"circle, dot, bullet","category":"Symbols","size":"16","width":16,"height":16},{"id":"648:252","fileName":"dot-half-24","iconName":"dot-half","description":"circle, dot, bullet, half, progress","category":"Symbols","size":"24","width":24,"height":24},{"id":"648:255","fileName":"dot-half-16","iconName":"dot-half","description":"circle, dot, bullet, half, progress","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:1390","fileName":"droplet-24","iconName":"droplet","description":"drop, water","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:1392","fileName":"droplet-16","iconName":"droplet","description":"drop, water","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:1685","fileName":"flag-24","iconName":"flag","description":"flag, mark","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:1688","fileName":"flag-16","iconName":"flag","description":"flag, mark","category":"Symbols","size":"16","width":16,"height":16},{"id":"546:99","fileName":"gift-24","iconName":"gift","description":"gift, present, new","category":"Symbols","size":"24","width":24,"height":24},{"id":"546:105","fileName":"gift-16","iconName":"gift","description":"gift, present, new","category":"Symbols","size":"16","width":16,"height":16},{"id":"1788:66","fileName":"government-24","iconName":"government","description":"government, public, sector, organization, building","category":"Symbols","size":"24","width":24,"height":24},{"id":"1788:75","fileName":"government-16","iconName":"government","description":"government, public, sector, organization, building","category":"Symbols","size":"16","width":16,"height":16},{"id":"855:135","fileName":"handshake-24","iconName":"handshake","description":"hands, handshake, partners","category":"Symbols","size":"24","width":24,"height":24},{"id":"855:140","fileName":"handshake-16","iconName":"handshake","description":"hands, handshake, partners","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:2034","fileName":"hash-24","iconName":"hash","description":"hash, pound, tag","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:2039","fileName":"hash-16","iconName":"hash","description":"hash, pound, tag","category":"Symbols","size":"16","width":16,"height":16},{"id":"363:52","fileName":"hexagon-24","iconName":"hexagon","description":"diamond, test","category":"Symbols","size":"24","width":24,"height":24},{"id":"363:54","fileName":"hexagon-16","iconName":"hexagon","description":"diamond, test","category":"Symbols","size":"16","width":16,"height":16},{"id":"363:61","fileName":"hexagon-fill-24","iconName":"hexagon-fill","description":"diamond, test","category":"Symbols","size":"24","width":24,"height":24},{"id":"363:63","fileName":"hexagon-fill-16","iconName":"hexagon-fill","description":"diamond, test","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:2259","fileName":"labyrinth-24","iconName":"labyrinth","description":"labyrinth, maze","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:2265","fileName":"labyrinth-16","iconName":"labyrinth","description":"labyrinth, maze","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:2276","fileName":"layers-24","iconName":"layers","description":"layers, stack","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:2280","fileName":"layers-16","iconName":"layers","description":"layers, stack","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:2764","fileName":"moon-24","iconName":"moon","description":"moon, night, dark","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:2766","fileName":"moon-16","iconName":"moon","description":"moon, night, dark","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:2917","fileName":"octagon-24","iconName":"octagon","description":"octagon, stop","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:2919","fileName":"octagon-16","iconName":"octagon","description":"octagon, stop","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:2950","fileName":"outline-24","iconName":"outline","description":"outline, document","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:2960","fileName":"outline-16","iconName":"outline","description":"outline, document","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:3235","fileName":"random-24","iconName":"random","description":"random, dice, chance","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:3240","fileName":"random-16","iconName":"random","description":"random, dice, chance","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:3333","fileName":"rocket-24","iconName":"rocket","description":"rocket, launch","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:3342","fileName":"rocket-16","iconName":"rocket","description":"rocket, launch","category":"Symbols","size":"16","width":16,"height":16},{"id":"6172:80","fileName":"sparkle-24","iconName":"sparkle","description":"ai, sparkle, stars","category":"Symbols","size":"24","width":24,"height":24},{"id":"6172:84","fileName":"sparkle-16","iconName":"sparkle","description":"ai, sparkle, stars","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:3841","fileName":"square-24","iconName":"square","description":"square, rectangle, box, stop","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:3843","fileName":"square-16","iconName":"square","description":"square, rectangle, box, stop","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:3850","fileName":"square-fill-24","iconName":"square-fill","description":"square, rectangle, box, stop","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:3852","fileName":"square-fill-16","iconName":"square-fill","description":"square, rectangle, box, stop","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:3909","fileName":"sun-24","iconName":"sun","description":"sun, day, light, bright","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:3919","fileName":"sun-16","iconName":"sun","description":"sun, day, light, bright","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:4219","fileName":"triangle-24","iconName":"triangle","description":"triangle","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:4221","fileName":"triangle-16","iconName":"triangle","description":"triangle","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:4227","fileName":"triangle-fill-24","iconName":"triangle-fill","description":"triangle","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:4229","fileName":"triangle-fill-16","iconName":"triangle-fill","description":"triangle","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:4236","fileName":"truck-24","iconName":"truck","description":"truck, lorry, vehicle, transport, ship","category":"Symbols","size":"24","width":24,"height":24},{"id":"350:4240","fileName":"truck-16","iconName":"truck","description":"truck, lorry, vehicle, transport, ship","category":"Symbols","size":"16","width":16,"height":16},{"id":"1486:123","fileName":"wand-24","iconName":"wand","description":"wand, magic, enhance, insights","category":"Symbols","size":"24","width":24,"height":24},{"id":"1486:128","fileName":"wand-16","iconName":"wand","description":"wand, magic, enhance, insights","category":"Symbols","size":"16","width":16,"height":16},{"id":"363:246","fileName":"zap-24","iconName":"zap","description":"zap, power, run, automate","category":"Symbols","size":"24","width":24,"height":24},{"id":"363:248","fileName":"zap-16","iconName":"zap","description":"zap, power, run, automate","category":"Symbols","size":"16","width":16,"height":16},{"id":"551:228","fileName":"zap-off-24","iconName":"zap-off","description":"zap, power, run, automate, off, disabled","category":"Symbols","size":"24","width":24,"height":24},{"id":"551:230","fileName":"zap-off-16","iconName":"zap-off","description":"zap, power, run, automate, off, disabled","category":"Symbols","size":"16","width":16,"height":16},{"id":"350:2663","fileName":"minus-24","iconName":"minus","description":"minus, remove, delete","category":"Operations","size":"24","width":24,"height":24},{"id":"350:2665","fileName":"minus-16","iconName":"minus","description":"minus, remove, delete","category":"Operations","size":"16","width":16,"height":16},{"id":"350:2672","fileName":"minus-circle-24","iconName":"minus-circle","description":"minus, remove, delete, circle","category":"Operations","size":"24","width":24,"height":24},{"id":"350:2675","fileName":"minus-circle-16","iconName":"minus-circle","description":"minus, remove, delete, circle","category":"Operations","size":"16","width":16,"height":16},{"id":"5020:319","fileName":"minus-circle-fill-24","iconName":"minus-circle-fill","description":"minus, remove, delete, circle","category":"Operations","size":"24","width":24,"height":24},{"id":"5020:323","fileName":"minus-circle-fill-16","iconName":"minus-circle-fill","description":"minus, remove, delete, circle","category":"Operations","size":"16","width":16,"height":16},{"id":"350:2692","fileName":"minus-plus-24","iconName":"minus-plus","description":"minus, remove, delete, plus, add, create, change, modify","category":"Operations","size":"24","width":24,"height":24},{"id":"350:2697","fileName":"minus-plus-16","iconName":"minus-plus","description":"minus, remove, delete, plus, add, create, change, modify","category":"Operations","size":"16","width":16,"height":16},{"id":"350:2707","fileName":"minus-plus-circle-24","iconName":"minus-plus-circle","description":"minus, remove, delete, plus, add, create, change, modify, circle","category":"Operations","size":"24","width":24,"height":24},{"id":"350:2713","fileName":"minus-plus-circle-16","iconName":"minus-plus-circle","description":"minus, remove, delete, plus, add, create, change, modify, circle","category":"Operations","size":"16","width":16,"height":16},{"id":"350:2724","fileName":"minus-plus-square-24","iconName":"minus-plus-square","description":"minus, remove, delete, plus, add, create, change, modify, square","category":"Operations","size":"24","width":24,"height":24},{"id":"350:2730","fileName":"minus-plus-square-16","iconName":"minus-plus-square","description":"minus, remove, delete, plus, add, create, change, modify, square","category":"Operations","size":"16","width":16,"height":16},{"id":"350:2682","fileName":"minus-square-24","iconName":"minus-square","description":"minus, remove, delete, square","category":"Operations","size":"24","width":24,"height":24},{"id":"350:2685","fileName":"minus-square-16","iconName":"minus-square","description":"minus, remove, delete, square","category":"Operations","size":"16","width":16,"height":16},{"id":"2036:66","fileName":"minus-square-fill-24","iconName":"minus-square-fill","description":"minus, remove, delete, square","category":"Operations","size":"24","width":24,"height":24},{"id":"2036:69","fileName":"minus-square-fill-16","iconName":"minus-square-fill","description":"minus, remove, delete, square","category":"Operations","size":"16","width":16,"height":16},{"id":"350:3133","fileName":"plus-24","iconName":"plus","description":"plus, add, create, new","category":"Operations","size":"24","width":24,"height":24},{"id":"350:3136","fileName":"plus-16","iconName":"plus","description":"plus, add, create, new","category":"Operations","size":"16","width":16,"height":16},{"id":"350:3143","fileName":"plus-circle-24","iconName":"plus-circle","description":"plus, add, create, new, circle","category":"Operations","size":"24","width":24,"height":24},{"id":"350:3147","fileName":"plus-circle-16","iconName":"plus-circle","description":"plus, add, create, new, circle","category":"Operations","size":"16","width":16,"height":16},{"id":"5020:267","fileName":"plus-circle-fill-24","iconName":"plus-circle-fill","description":"plus, add, create, new, circle","category":"Operations","size":"24","width":24,"height":24},{"id":"5020:272","fileName":"plus-circle-fill-16","iconName":"plus-circle-fill","description":"plus, add, create, new, circle","category":"Operations","size":"16","width":16,"height":16},{"id":"350:3155","fileName":"plus-square-24","iconName":"plus-square","description":"plus, add, create, new, square","category":"Operations","size":"24","width":24,"height":24},{"id":"350:3159","fileName":"plus-square-16","iconName":"plus-square","description":"plus, add, create, new, square","category":"Operations","size":"16","width":16,"height":16},{"id":"350:533","fileName":"bug-24","iconName":"bug","description":"bug, issue, security, malware, vulnerability","category":"Security","size":"24","width":24,"height":24},{"id":"350:544","fileName":"bug-16","iconName":"bug","description":"bug, issue, security, malware, vulnerability","category":"Security","size":"16","width":16,"height":16},{"id":"350:630","fileName":"certificate-24","iconName":"certificate","description":"certificate, award, achievement, badge","category":"Security","size":"24","width":24,"height":24},{"id":"350:635","fileName":"certificate-16","iconName":"certificate","description":"certificate, award, achievement, badge","category":"Security","size":"16","width":16,"height":16},{"id":"350:1475","fileName":"eye-24","iconName":"eye","description":"eye, view","category":"Security","size":"24","width":24,"height":24},{"id":"350:1478","fileName":"eye-16","iconName":"eye","description":"eye, view","category":"Security","size":"16","width":16,"height":16},{"id":"350:1485","fileName":"eye-off-24","iconName":"eye-off","description":"eye, view, off, disabled","category":"Security","size":"24","width":24,"height":24},{"id":"350:1489","fileName":"eye-off-16","iconName":"eye-off","description":"eye, view, off, disabled","category":"Security","size":"16","width":16,"height":16},{"id":"636:76","fileName":"fingerprint-24","iconName":"fingerprint","description":"","category":"Security","size":"24","width":24,"height":24},{"id":"636:82","fileName":"fingerprint-16","iconName":"fingerprint","description":"","category":"Security","size":"16","width":16,"height":16},{"id":"350:2206","fileName":"key-24","iconName":"key","description":"key, secure, secret","category":"Security","size":"24","width":24,"height":24},{"id":"350:2209","fileName":"key-16","iconName":"key","description":"key, secure, secret","category":"Security","size":"16","width":16,"height":16},{"id":"855:117","fileName":"keychain-24","iconName":"keychain","description":"keys, keychain","category":"Security","size":"24","width":24,"height":24},{"id":"855:122","fileName":"keychain-16","iconName":"keychain","description":"keys, keychain","category":"Security","size":"16","width":16,"height":16},{"id":"350:2389","fileName":"lock-24","iconName":"lock","description":"lock, secure, security, protection","category":"Security","size":"24","width":24,"height":24},{"id":"350:2393","fileName":"lock-16","iconName":"lock","description":"lock, secure, security, protection","category":"Security","size":"16","width":16,"height":16},{"id":"350:2402","fileName":"lock-fill-24","iconName":"lock-fill","description":"lock, secure, locked, secured, protected","category":"Security","size":"24","width":24,"height":24},{"id":"350:2407","fileName":"lock-fill-16","iconName":"lock-fill","description":"lock, secure, locked, secured, protected","category":"Security","size":"16","width":16,"height":16},{"id":"350:2417","fileName":"lock-off-24","iconName":"lock-off","description":"lock, secure, off, disabled, protected","category":"Security","size":"24","width":24,"height":24},{"id":"350:2422","fileName":"lock-off-16","iconName":"lock-off","description":"lock, secure, off, disabled, protected","category":"Security","size":"16","width":16,"height":16},{"id":"350:3523","fileName":"shield-24","iconName":"shield","description":"shield, secure, protect, privacy","category":"Security","size":"24","width":24,"height":24},{"id":"350:3525","fileName":"shield-16","iconName":"shield","description":"shield, secure, protect, privacy","category":"Security","size":"16","width":16,"height":16},{"id":"350:3531","fileName":"shield-alert-24","iconName":"shield-alert","description":"shield, secure, protect, issue, alert, privacy","category":"Security","size":"24","width":24,"height":24},{"id":"350:3535","fileName":"shield-alert-16","iconName":"shield-alert","description":"shield, secure, protect, issue, alert, privacy","category":"Security","size":"16","width":16,"height":16},{"id":"350:3544","fileName":"shield-check-24","iconName":"shield-check","description":"shield, secure, protect, check, success, privacy","category":"Security","size":"24","width":24,"height":24},{"id":"350:3548","fileName":"shield-check-16","iconName":"shield-check","description":"shield, secure, protect, check, success, privacy","category":"Security","size":"16","width":16,"height":16},{"id":"350:3557","fileName":"shield-off-24","iconName":"shield-off","description":"shield, secure, protect, off, disabled, privacy","category":"Security","size":"24","width":24,"height":24},{"id":"350:3560","fileName":"shield-off-16","iconName":"shield-off","description":"shield, secure, protect, off, disabled, privacy","category":"Security","size":"16","width":16,"height":16},{"id":"350:3567","fileName":"shield-x-24","iconName":"shield-x","description":"shield, secure, protect, error, privacy","category":"Security","size":"24","width":24,"height":24},{"id":"350:3571","fileName":"shield-x-16","iconName":"shield-x","description":"shield, secure, protect, error, privacy","category":"Security","size":"16","width":16,"height":16},{"id":"350:4143","fileName":"token-24","iconName":"token","description":"tokens","category":"Security","size":"24","width":24,"height":24},{"id":"350:4147","fileName":"token-16","iconName":"token","description":"tokens","category":"Security","size":"16","width":16,"height":16},{"id":"350:4297","fileName":"unlock-24","iconName":"unlock","description":"lock, unlock, unlocked, unsecure","category":"Security","size":"24","width":24,"height":24},{"id":"350:4300","fileName":"unlock-16","iconName":"unlock","description":"lock, unlock, unlocked, unsecure","category":"Security","size":"16","width":16,"height":16},{"id":"350:4456","fileName":"verified-24","iconName":"verified","description":"verified, badge, authenticated","category":"Security","size":"24","width":24,"height":24},{"id":"350:4460","fileName":"verified-16","iconName":"verified","description":"verified, badge, authenticated","category":"Security","size":"16","width":16,"height":16},{"id":"350:4530","fileName":"wall-24","iconName":"wall","description":"wall, firewall, barrier","category":"Security","size":"24","width":24,"height":24},{"id":"350:4539","fileName":"wall-16","iconName":"wall","description":"wall, firewall, barrier","category":"Security","size":"16","width":16,"height":16},{"id":"350:31","fileName":"alert-circle-24","iconName":"alert-circle","description":"alert, circle, error, attention, warning","category":"Status","size":"24","width":24,"height":24},{"id":"350:35","fileName":"alert-circle-16","iconName":"alert-circle","description":"alert, circle, error, attention, warning","category":"Status","size":"16","width":16,"height":16},{"id":"551:32","fileName":"alert-circle-fill-24","iconName":"alert-circle-fill","description":"alert, circle, error, attention, warning","category":"Status","size":"24","width":24,"height":24},{"id":"551:37","fileName":"alert-circle-fill-16","iconName":"alert-circle-fill","description":"alert, circle, error, attention, warning","category":"Status","size":"16","width":16,"height":16},{"id":"1729:90","fileName":"alert-diamond-24","iconName":"alert-diamond","description":"alert, diamond, error, attention, warning","category":"Status","size":"24","width":24,"height":24},{"id":"1729:94","fileName":"alert-diamond-16","iconName":"alert-diamond","description":"alert, diamond, error, attention, warning","category":"Status","size":"16","width":16,"height":16},{"id":"1729:101","fileName":"alert-diamond-fill-24","iconName":"alert-diamond-fill","description":"alert, diamond, error, attention, warning","category":"Status","size":"24","width":24,"height":24},{"id":"1729:106","fileName":"alert-diamond-fill-16","iconName":"alert-diamond-fill","description":"alert, diamond, error, attention, warning","category":"Status","size":"16","width":16,"height":16},{"id":"350:55","fileName":"alert-octagon-24","iconName":"alert-octagon","description":"alert, octagon, error, attention, warning, stop","category":"Status","size":"24","width":24,"height":24},{"id":"350:59","fileName":"alert-octagon-16","iconName":"alert-octagon","description":"alert, octagon, error, attention, warning, stop","category":"Status","size":"16","width":16,"height":16},{"id":"551:60","fileName":"alert-octagon-fill-24","iconName":"alert-octagon-fill","description":"alert, octagon, error, attention, stop","category":"Status","size":"24","width":24,"height":24},{"id":"551:65","fileName":"alert-octagon-fill-16","iconName":"alert-octagon-fill","description":"alert, octagon, error, attention, stop","category":"Status","size":"16","width":16,"height":16},{"id":"350:43","fileName":"alert-triangle-24","iconName":"alert-triangle","description":"alert, triangle, error, attention, warning","category":"Status","size":"24","width":24,"height":24},{"id":"350:47","fileName":"alert-triangle-16","iconName":"alert-triangle","description":"alert, triangle, error, attention, warning","category":"Status","size":"16","width":16,"height":16},{"id":"551:46","fileName":"alert-triangle-fill-24","iconName":"alert-triangle-fill","description":"alert, triangle, error, attention, warning","category":"Status","size":"24","width":24,"height":24},{"id":"551:51","fileName":"alert-triangle-fill-16","iconName":"alert-triangle-fill","description":"alert, triangle, error, attention, warning","category":"Status","size":"16","width":16,"height":16},{"id":"350:676","fileName":"check-24","iconName":"check","description":"check, tick, success, complete, done, test, accept, approve","category":"Status","size":"24","width":24,"height":24},{"id":"350:679","fileName":"check-16","iconName":"check","description":"check, tick, success, complete, done, test, accept, approve","category":"Status","size":"16","width":16,"height":16},{"id":"350:687","fileName":"check-circle-24","iconName":"check-circle","description":"check, tick, success, circle, complete, done, test, accept, approve","category":"Status","size":"24","width":24,"height":24},{"id":"350:691","fileName":"check-circle-16","iconName":"check-circle","description":"check, tick, success, circle, complete, done, test, accept, approve","category":"Status","size":"16","width":16,"height":16},{"id":"350:700","fileName":"check-circle-fill-24","iconName":"check-circle-fill","description":"check, tick, success, circle, complete, done, test, accept, approve","category":"Status","size":"24","width":24,"height":24},{"id":"350:705","fileName":"check-circle-fill-16","iconName":"check-circle-fill","description":"check, tick, success, circle, complete, done, test, accept, approve","category":"Status","size":"16","width":16,"height":16},{"id":"350:715","fileName":"check-diamond-24","iconName":"check-diamond","description":"check, tick, success, diamond, complete, done, test, accept, approve","category":"Status","size":"24","width":24,"height":24},{"id":"350:719","fileName":"check-diamond-16","iconName":"check-diamond","description":"check, tick, success, diamond, complete, done, test, accept, approve","category":"Status","size":"16","width":16,"height":16},{"id":"350:728","fileName":"check-diamond-fill-24","iconName":"check-diamond-fill","description":"check, tick, success, diamond, complete, done, test, accept, approve","category":"Status","size":"24","width":24,"height":24},{"id":"350:733","fileName":"check-diamond-fill-16","iconName":"check-diamond-fill","description":"check, tick, success, diamond, complete, done, test, accept, approve","category":"Status","size":"16","width":16,"height":16},{"id":"363:5","fileName":"check-hexagon-24","iconName":"check-hexagon","description":"check, tick, success, diamond, complete, done, test, accept, approve","category":"Status","size":"24","width":24,"height":24},{"id":"363:9","fileName":"check-hexagon-16","iconName":"check-hexagon","description":"check, tick, success, diamond, complete, done, test, accept, approve","category":"Status","size":"16","width":16,"height":16},{"id":"363:18","fileName":"check-hexagon-fill-24","iconName":"check-hexagon-fill","description":"check, tick, success, diamond, complete, done, test, accept, approve","category":"Status","size":"24","width":24,"height":24},{"id":"363:23","fileName":"check-hexagon-fill-16","iconName":"check-hexagon-fill","description":"check, tick, success, diamond, complete, done, test, accept, approve","category":"Status","size":"16","width":16,"height":16},{"id":"350:743","fileName":"check-square-24","iconName":"check-square","description":"check, tick, success, checkbox, square, complete, done, test, accept, approve","category":"Status","size":"24","width":24,"height":24},{"id":"350:747","fileName":"check-square-16","iconName":"check-square","description":"check, tick, success, checkbox, square, complete, done, test, accept, approve","category":"Status","size":"16","width":16,"height":16},{"id":"350:756","fileName":"check-square-fill-24","iconName":"check-square-fill","description":"check, tick, success, checkbox, square, checked, complete, done, test, accept, approve","category":"Status","size":"24","width":24,"height":24},{"id":"350:761","fileName":"check-square-fill-16","iconName":"check-square-fill","description":"check, tick, success, checkbox, square, checked, complete, done, test, accept, approve","category":"Status","size":"16","width":16,"height":16},{"id":"350:3679","fileName":"skip-24","iconName":"skip","description":"skip, deny","category":"Status","size":"24","width":24,"height":24},{"id":"350:3682","fileName":"skip-16","iconName":"skip","description":"skip, deny","category":"Status","size":"16","width":16,"height":16},{"id":"350:4617","fileName":"x-24","iconName":"x","description":"cross, delete, remove, cancel","category":"Status","size":"24","width":24,"height":24},{"id":"350:4620","fileName":"x-16","iconName":"x","description":"cross, delete, remove, cancel","category":"Status","size":"16","width":16,"height":16},{"id":"350:4627","fileName":"x-circle-24","iconName":"x-circle","description":"cross, delete, remove, cancel, circle","category":"Status","size":"24","width":24,"height":24},{"id":"350:4631","fileName":"x-circle-16","iconName":"x-circle","description":"cross, delete, remove, cancel, circle","category":"Status","size":"16","width":16,"height":16},{"id":"350:4639","fileName":"x-circle-fill-24","iconName":"x-circle-fill","description":"cross, delete, remove, cancel, circle","category":"Status","size":"24","width":24,"height":24},{"id":"350:4644","fileName":"x-circle-fill-16","iconName":"x-circle-fill","description":"cross, delete, remove, cancel, circle","category":"Status","size":"16","width":16,"height":16},{"id":"363:82","fileName":"x-diamond-24","iconName":"x-diamond","description":"check, tick, success, diamond","category":"Status","size":"24","width":24,"height":24},{"id":"363:86","fileName":"x-diamond-16","iconName":"x-diamond","description":"check, tick, success, diamond","category":"Status","size":"16","width":16,"height":16},{"id":"363:95","fileName":"x-diamond-fill-24","iconName":"x-diamond-fill","description":"check, tick, success, diamond","category":"Status","size":"24","width":24,"height":24},{"id":"363:100","fileName":"x-diamond-fill-16","iconName":"x-diamond-fill","description":"check, tick, success, diamond","category":"Status","size":"16","width":16,"height":16},{"id":"363:110","fileName":"x-hexagon-24","iconName":"x-hexagon","description":"check, tick, success, diamond","category":"Status","size":"24","width":24,"height":24},{"id":"363:114","fileName":"x-hexagon-16","iconName":"x-hexagon","description":"check, tick, success, diamond","category":"Status","size":"16","width":16,"height":16},{"id":"363:123","fileName":"x-hexagon-fill-24","iconName":"x-hexagon-fill","description":"check, tick, success, diamond","category":"Status","size":"24","width":24,"height":24},{"id":"363:128","fileName":"x-hexagon-fill-16","iconName":"x-hexagon-fill","description":"check, tick, success, diamond","category":"Status","size":"16","width":16,"height":16},{"id":"636:101","fileName":"x-square-24","iconName":"x-square","description":"cross, delete, remove, cancel, square","category":"Status","size":"24","width":24,"height":24},{"id":"636:105","fileName":"x-square-16","iconName":"x-square","description":"cross, delete, remove, cancel, square","category":"Status","size":"16","width":16,"height":16},{"id":"636:112","fileName":"x-square-fill-24","iconName":"x-square-fill","description":"cross, delete, remove, cancel, square","category":"Status","size":"24","width":24,"height":24},{"id":"636:117","fileName":"x-square-fill-16","iconName":"x-square-fill","description":"cross, delete, remove, cancel, square","category":"Status","size":"16","width":16,"height":16},{"id":"350:1324","fileName":"docs-24","iconName":"docs","description":"book, docs, learn","category":"Support","size":"24","width":24,"height":24},{"id":"350:1327","fileName":"docs-16","iconName":"docs","description":"book, docs, learn","category":"Support","size":"16","width":16,"height":16},{"id":"350:1336","fileName":"docs-download-24","iconName":"docs-download","description":"book, docs, learn, download","category":"Support","size":"24","width":24,"height":24},{"id":"350:1342","fileName":"docs-download-16","iconName":"docs-download","description":"book, docs, learn, download","category":"Support","size":"16","width":16,"height":16},{"id":"350:1353","fileName":"docs-link-24","iconName":"docs-link","description":"book, docs, learn, link, arrow, external","category":"Support","size":"24","width":24,"height":24},{"id":"350:1358","fileName":"docs-link-16","iconName":"docs-link","description":"book, docs, learn, link, arrow, external","category":"Support","size":"16","width":16,"height":16},{"id":"350:1985","fileName":"guide-24","iconName":"guide","description":"book, library, catalogue, guide","category":"Support","size":"24","width":24,"height":24},{"id":"350:1988","fileName":"guide-16","iconName":"guide","description":"book, library, catalogue, guide","category":"Support","size":"16","width":16,"height":16},{"id":"350:1996","fileName":"guide-link-24","iconName":"guide-link","description":"book, library, catalogue, guide, link, arrow, external","category":"Support","size":"24","width":24,"height":24},{"id":"350:2001","fileName":"guide-link-16","iconName":"guide-link","description":"book, library, catalogue, guide, link, arrow, external","category":"Support","size":"16","width":16,"height":16},{"id":"350:2089","fileName":"help-24","iconName":"help","description":"help, question, support, information, unknown","category":"Support","size":"24","width":24,"height":24},{"id":"350:2093","fileName":"help-16","iconName":"help","description":"help, question, support, information, unknown","category":"Support","size":"16","width":16,"height":16},{"id":"350:2194","fileName":"info-24","iconName":"info","description":"info, tip, about","category":"Support","size":"24","width":24,"height":24},{"id":"350:2198","fileName":"info-16","iconName":"info","description":"info, tip, about","category":"Support","size":"16","width":16,"height":16},{"id":"1727:66","fileName":"info-fill-24","iconName":"info-fill","description":"info, tip, about","category":"Support","size":"24","width":24,"height":24},{"id":"1727:71","fileName":"info-fill-16","iconName":"info-fill","description":"info, tip, about","category":"Support","size":"16","width":16,"height":16},{"id":"350:2300","fileName":"learn-24","iconName":"learn","description":"learn, education, college, school","category":"Support","size":"24","width":24,"height":24},{"id":"350:2303","fileName":"learn-16","iconName":"learn","description":"learn, education, college, school","category":"Support","size":"16","width":16,"height":16},{"id":"350:2312","fileName":"learn-link-24","iconName":"learn-link","description":"learn, education, college, school, go, link, external","category":"Support","size":"24","width":24,"height":24},{"id":"350:2317","fileName":"learn-link-16","iconName":"learn-link","description":"learn, education, college, school, go, link, external","category":"Support","size":"16","width":16,"height":16},{"id":"350:3933","fileName":"support-24","iconName":"support","description":"lifebuoy, help, support, question, service, information, assistance","category":"Support","size":"24","width":24,"height":24},{"id":"350:3940","fileName":"support-16","iconName":"support","description":"lifebuoy, help, support, question, service, information, assistance","category":"Support","size":"16","width":16,"height":16},{"id":"5020:192","fileName":"accessibility-24","iconName":"accessibility","description":"a11y, inclusive, universal access","category":"User","size":"24","width":24,"height":24},{"id":"5020:199","fileName":"accessibility-16","iconName":"accessibility","description":"a11y, inclusive, universal access","category":"User","size":"16","width":16,"height":16},{"id":"350:1789","fileName":"folder-users-24","iconName":"folder-users","description":"folder, directory, project, group, users, document, file","category":"User","size":"24","width":24,"height":24},{"id":"350:1797","fileName":"folder-users-16","iconName":"folder-users","description":"folder, directory, project, group, users, document, file","category":"User","size":"16","width":16,"height":16},{"id":"350:1809","fileName":"frown-24","iconName":"frown","description":"emoji, frown, negative, sad, face","category":"User","size":"24","width":24,"height":24},{"id":"350:1814","fileName":"frown-16","iconName":"frown","description":"emoji, frown, negative, sad, face","category":"User","size":"16","width":16,"height":16},{"id":"350:2154","fileName":"identity-service-24","iconName":"identity-service","description":"identity, id, service, globe","category":"User","size":"24","width":24,"height":24},{"id":"350:2160","fileName":"identity-service-16","iconName":"identity-service","description":"identity, id, service, globe","category":"User","size":"16","width":16,"height":16},{"id":"350:2138","fileName":"identity-user-24","iconName":"identity-user","description":"identity, id, user","category":"User","size":"24","width":24,"height":24},{"id":"350:2144","fileName":"identity-user-16","iconName":"identity-user","description":"identity, id, user","category":"User","size":"16","width":16,"height":16},{"id":"350:2502","fileName":"meh-24","iconName":"meh","description":"emoji, meh, neutral","category":"User","size":"24","width":24,"height":24},{"id":"350:2507","fileName":"meh-16","iconName":"meh","description":"emoji, meh, neutral","category":"User","size":"16","width":16,"height":16},{"id":"4008:66","fileName":"robot-24","iconName":"robot","description":"service, principal, computer, user","category":"User","size":"24","width":24,"height":24},{"id":"4008:76","fileName":"robot-16","iconName":"robot","description":"service, principal, computer, user","category":"User","size":"16","width":16,"height":16},{"id":"350:3764","fileName":"smile-24","iconName":"smile","description":"emoji, smile, positive, happy","category":"User","size":"24","width":24,"height":24},{"id":"350:3769","fileName":"smile-16","iconName":"smile","description":"emoji, smile, positive, happy","category":"User","size":"16","width":16,"height":16},{"id":"350:4319","fileName":"user-24","iconName":"user","description":"user, person, profile","category":"User","size":"24","width":24,"height":24},{"id":"350:4322","fileName":"user-16","iconName":"user","description":"user, person, profile","category":"User","size":"16","width":16,"height":16},{"id":"350:4329","fileName":"user-check-24","iconName":"user-check","description":"user, person, check, success, profile","category":"User","size":"24","width":24,"height":24},{"id":"350:4334","fileName":"user-check-16","iconName":"user-check","description":"user, person, check, success, profile","category":"User","size":"16","width":16,"height":16},{"id":"350:4343","fileName":"user-circle-24","iconName":"user-circle","description":"user, person, avatar, circle, profile","category":"User","size":"24","width":24,"height":24},{"id":"350:4347","fileName":"user-circle-16","iconName":"user-circle","description":"user, person, avatar, circle, profile","category":"User","size":"16","width":16,"height":16},{"id":"350:4356","fileName":"user-circle-fill-24","iconName":"user-circle-fill","description":"user, person, avatar, circle, profile","category":"User","size":"24","width":24,"height":24},{"id":"350:4361","fileName":"user-circle-fill-16","iconName":"user-circle-fill","description":"user, person, avatar, circle, profile","category":"User","size":"16","width":16,"height":16},{"id":"350:4371","fileName":"user-minus-24","iconName":"user-minus","description":"user, person, minus, remove, profile","category":"User","size":"24","width":24,"height":24},{"id":"350:4375","fileName":"user-minus-16","iconName":"user-minus","description":"user, person, minus, remove, profile","category":"User","size":"16","width":16,"height":16},{"id":"350:4383","fileName":"user-plus-24","iconName":"user-plus","description":"user, person, plus, new, create, add, profile","category":"User","size":"24","width":24,"height":24},{"id":"350:4388","fileName":"user-plus-16","iconName":"user-plus","description":"user, person, plus, new, create, add, profile","category":"User","size":"16","width":16,"height":16},{"id":"350:4397","fileName":"user-x-24","iconName":"user-x","description":"user, person, delete, remove, profile","category":"User","size":"24","width":24,"height":24},{"id":"350:4402","fileName":"user-x-16","iconName":"user-x","description":"user, person, delete, remove, profile","category":"User","size":"16","width":16,"height":16},{"id":"350:4412","fileName":"users-24","iconName":"users","description":"users, people, team, group, profile","category":"User","size":"24","width":24,"height":24},{"id":"350:4417","fileName":"users-16","iconName":"users","description":"users, people, team, group, profile","category":"User","size":"16","width":16,"height":16}]}')}}])
