gitea_hat/public/assets/js/index.js

227 lines
1.1 MiB
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var dj=Object.defineProperty;var wp=Object.getOwnPropertySymbols;var hj=Object.prototype.hasOwnProperty,pj=Object.prototype.propertyIsEnumerable;var tf=Math.pow,ef=(fr,Kn,St)=>Kn in fr?dj(fr,Kn,{enumerable:!0,configurable:!0,writable:!0,value:St}):fr[Kn]=St,nf=(fr,Kn)=>{for(var St in Kn||(Kn={}))hj.call(Kn,St)&&ef(fr,St,Kn[St]);if(wp)for(var St of wp(Kn))pj.call(Kn,St)&&ef(fr,St,Kn[St]);return fr};var Ms=(fr,Kn,St)=>(ef(fr,typeof Kn!="symbol"?Kn+"":Kn,St),St),rf=(fr,Kn,St)=>{if(!Kn.has(fr))throw TypeError("Cannot "+St)};var ui=(fr,Kn,St)=>(rf(fr,Kn,"read from private field"),St?St.call(fr):Kn.get(fr)),ao=(fr,Kn,St)=>{if(Kn.has(fr))throw TypeError("Cannot add the same private member more than once");Kn instanceof WeakSet?Kn.add(fr):Kn.set(fr,St)},gs=(fr,Kn,St,Wl)=>(rf(fr,Kn,"write to private field"),Wl?Wl.call(fr,St):Kn.set(fr,St),St);var ol=(fr,Kn,St)=>(rf(fr,Kn,"access private method"),St);var uu=(fr,Kn,St)=>new Promise((Wl,S)=>{var dt=j=>{try{R(St.next(j))}catch(f){S(f)}},gt=j=>{try{R(St.throw(j))}catch(f){S(f)}},R=j=>j.done?Wl(j.value):Promise.resolve(j.value).then(dt,gt);R((St=St.apply(fr,Kn)).next())});(function(){var fr={"./node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js":function(S,dt,gt){"use strict";gt.r(dt),gt.d(dt,{BASE_TRANSITION:function(){return H},CAMELIZE:function(){return ye},CAPITALIZE:function(){return Ue},CREATE_BLOCK:function(){return Z},CREATE_COMMENT:function(){return A},CREATE_ELEMENT_BLOCK:function(){return he},CREATE_ELEMENT_VNODE:function(){return J},CREATE_SLOTS:function(){return Se},CREATE_STATIC:function(){return le},CREATE_TEXT:function(){return z},CREATE_VNODE:function(){return te},DOMDirectiveTransforms:function(){return go},DOMNodeTransforms:function(){return Ta},FRAGMENT:function(){return se},GUARD_REACTIVE_PROPS:function(){return F},IS_MEMO_SAME:function(){return _t},IS_REF:function(){return qe},KEEP_ALIVE:function(){return U},MERGE_PROPS:function(){return Be},NORMALIZE_CLASS:function(){return ve},NORMALIZE_PROPS:function(){return B},NORMALIZE_STYLE:function(){return L},OPEN_BLOCK:function(){return O},POP_SCOPE_ID:function(){return pe},PUSH_SCOPE_ID:function(){return X},RENDER_LIST:function(){return _},RENDER_SLOT:function(){return Fe},RESOLVE_COMPONENT:function(){return be},RESOLVE_DIRECTIVE:function(){return ce},RESOLVE_DYNAMIC_COMPONENT:function(){return xe},RESOLVE_FILTER:function(){return ke},SET_BLOCK_TRACKING:function(){return de},SUSPENSE:function(){return $},TELEPORT:function(){return y},TO_DISPLAY_STRING:function(){return ee},TO_HANDLERS:function(){return oe},TO_HANDLER_KEY:function(){return Xe},TRANSITION:function(){return qr},TRANSITION_GROUP:function(){return xr},TS_NODE_TYPES:function(){return xt},UNREF:function(){return _e},V_MODEL_CHECKBOX:function(){return an},V_MODEL_DYNAMIC:function(){return bn},V_MODEL_RADIO:function(){return fn},V_MODEL_SELECT:function(){return Un},V_MODEL_TEXT:function(){return Ei},V_ON_WITH_KEYS:function(){return hs},V_ON_WITH_MODIFIERS:function(){return Rr},V_SHOW:function(){return ys},WITH_CTX:function(){return N},WITH_DIRECTIVES:function(){return Ae},WITH_MEMO:function(){return jt},advancePositionWithClone:function(){return vr},advancePositionWithMutation:function(){return Yn},assert:function(){return br},baseCompile:function(){return on},baseParse:function(){return Le},buildDirectiveArgs:function(){return Ts},buildProps:function(){return ho},buildSlots:function(){return Mr},checkCompatEnabled:function(){return ns},compile:function(){return Kr},convertToBlock:function(){return ji},createArrayExpression:function(){return Ji},createAssignmentExpression:function(){return Qt},createBlockStatement:function(){return Ve},createCacheExpression:function(){return Ie},createCallExpression:function(){return x},createCompilerError:function(){return Q},createCompoundExpression:function(){return Wi},createConditionalExpression:function(){return re},createDOMCompilerError:function(){return ar},createForLoopParams:function(){return wr},createFunctionExpression:function(){return P},createIfStatement:function(){return nt},createInterpolation:function(){return On},createObjectExpression:function(){return Si},createObjectProperty:function(){return Di},createReturnStatement:function(){return Ci},createRoot:function(){return ki},createSequenceExpression:function(){return pi},createSimpleExpression:function(){return ci},createStructuralDirectiveTransform:function(){return xo},createTemplateLiteral:function(){return it},createTransformContext:function(){return rs},createVNodeCall:function(){return hi},extractIdentifiers:function(){return Me},findDir:function(){return _n},findProp:function(){return ct},generate:function(){return ya},generateCodeFrame:function(){return R.generateCodeFrame},getBaseTransformPreset:function(){return oi},getConstantType:function(){return hr},getInnerRange:function(){return rr},getMemoedVNodeCall:function(){return ts},getVNodeBlockHelper:function(){return Zi},getVNodeHelper:function(){return pn},hasDynamicKeyVBind:function(){return Jt},hasScopeRef:function(){return Gn},helperNameMap:function(){return wt},injectProp:function(){return cn},isBuiltInType:function(){return Mi},isCoreComponent:function(){return Pn},isFunctionType:function(){return Pe},isInDestructureAssignment:function(){return Y},isMemberExpression:function(){return Zn},isMemberExpressionBrowser:function(){return Vn},isMemberExpressionNode:function(){return ls},isReferencedIdentifier:function(){return M},isSimpleIdentifier:function(){return Pi},isSlotOutlet:function(){return p},isStaticArgOf:function(){return Vt},isStaticExp:function(){return Yi},isStaticProperty:function(){return tt},isStaticPropertyKey:function(){return Ct},isTemplateNode:function(){return vn},isText:function(){return vi},isVSlot:function(){return Gi},locStub:function(){return zt},noopDirectiveTransform:function(){return wi},parse:function(){return Ea},parserOptions:function(){return ja},processExpression:function(){return un},processFor:function(){return Do},processIf:function(){return fs},processSlotOutlet:function(){return pr},registerRuntimeHelpers:function(){return Zt},resolveComponentType:function(){return fo},stringifyExpression:function(){return or},toValidAssetId:function(){return Dn},trackSlotScopes:function(){return Vr},trackVForSlotScopes:function(){return zr},transform:function(){return wo},transformBind:function(){return mo},transformElement:function(){return Ls},transformExpression:function(){return Tn},transformModel:function(){return Ur},transformOn:function(){return Fo},transformStyle:function(){return Ra},traverseNode:function(){return Gs},walkBlockDeclarations:function(){return ae},walkFunctionParams:function(){return G},walkIdentifiers:function(){return E},warnDeprecation:function(){return cs}});var R=gt("./node_modules/@vue/shared/dist/shared.esm-bundler.js");function j(h){throw h}function f(h){}function Q(h,k,I,ne){const je=h,we=new SyntaxError(String(je));return we.code=h,we.loc=k,we}const V={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',51:"@vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.",52:'v-is="component-name" has been deprecated. Use is="vue:component-name" instead. v-is support will be removed in 3.4.',53:""},se=Symbol(""),y=Symbol(""),$=Symbol(""),U=Symbol(""),H=Symbol(""),O=Symbol(""),Z=Symbol(""),he=Symbol(""),te=Symbol(""),J=Symbol(""),A=Symbol(""),z=Symbol(""),le=Symbol(""),be=Symbol(""),xe=Symbol(""),ce=Symbol(""),ke=Symbol(""),Ae=Symbol(""),_=Symbol(""),Fe=Symbol(""),Se=Symbol(""),ee=Symbol(""),Be=Symbol(""),ve=Symbol(""),L=Symbol(""),B=Symbol(""),F=Symbol(""),oe=Symbol(""),ye=Symbol(""),Ue=Symbol(""),Xe=Symbol(""),de=Symbol(""),X=Symbol(""),pe=Symbol(""),N=Symbol(""),_e=Symbol(""),qe=Symbol(""),jt=Symbol(""),_t=Symbol(""),wt={[se]:"Fragment",[y]:"Teleport",[$]:"Suspense",[U]:"KeepAlive",[H]:"BaseTransition",[O]:"openBlock",[Z]:"createBlock",[he]:"createElementBlock",[te]:"createVNode",[J]:"createElementVNode",[A]:"createCommentVNode",[z]:"createTextVNode",[le]:"createStaticVNode",[be]:"resolveComponent",[xe]:"resolveDynamicComponent",[ce]:"resolveDirective",[ke]:"resolveFilter",[Ae]:"withDirectives",[_]:"renderList",[Fe]:"renderSlot",[Se]:"createSlots",[ee]:"toDisplayString",[Be]:"mergeProps",[ve]:"normalizeClass",[L]:"normalizeStyle",[B]:"normalizeProps",[F]:"guardReactiveProps",[oe]:"toHandlers",[ye]:"camelize",[Ue]:"capitalize",[Xe]:"toHandlerKey",[de]:"setBlockTracking",[X]:"pushScopeId",[pe]:"popScopeId",[N]:"withCtx",[_e]:"unref",[qe]:"isRef",[jt]:"withMemo",[_t]:"isMemoSame"};function Zt(h){Object.getOwnPropertySymbols(h).forEach(k=>{wt[k]=h[k]})}const zt={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function ki(h,k=zt){return{type:0,children:h,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:k}}function hi(h,k,I,ne,je,we,Te,Re=!1,ze=!1,ft=!1,Ut=zt){return h&&(Re?(h.helper(O),h.helper(Zi(h.inSSR,ft))):h.helper(pn(h.inSSR,ft)),Te&&h.helper(Ae)),{type:13,tag:k,props:I,children:ne,patchFlag:je,dynamicProps:we,directives:Te,isBlock:Re,disableTracking:ze,isComponent:ft,loc:Ut}}function Ji(h,k=zt){return{type:17,loc:k,elements:h}}function Si(h,k=zt){return{type:15,loc:k,properties:h}}function Di(h,k){return{type:16,loc:zt,key:(0,R.isString)(h)?ci(h,!0):h,value:k}}function ci(h,k=!1,I=zt,ne=0){return{type:4,loc:I,content:h,isStatic:k,constType:k?3:ne}}function On(h,k){return{type:5,loc:k,content:(0,R.isString)(h)?ci(h,!1,k):h}}function Wi(h,k=zt){return{type:8,loc:k,children:h}}function x(h,k=[],I=zt){return{type:14,loc:I,callee:h,arguments:k}}function P(h,k=void 0,I=!1,ne=!1,je=zt){return{type:18,params:h,returns:k,newline:I,isSlot:ne,loc:je}}function re(h,k,I,ne=!0){return{type:19,test:h,consequent:k,alternate:I,newline:ne,loc:zt}}function Ie(h,k,I=!1){return{type:20,index:h,value:k,isVNode:I,loc:zt}}function Ve(h){return{type:21,body:h,loc:zt}}function it(h){return{type:22,elements:h,loc:zt}}function nt(h,k,I){return{type:23,test:h,consequent:k,alternate:I,loc:zt}}function Qt(h,k){return{type:24,left:h,right:k,loc:zt}}function pi(h){return{type:25,expressions:h,loc:zt}}function Ci(h){return{type:26,returns:h,loc:zt}}function pn(h,k){return h||k?te:J}function Zi(h,k){return h||k?Z:he}function ji(h,{helper:k,removeHelper:I,inSSR:ne}){h.isBlock||(h.isBlock=!0,I(pn(ne,h.isComponent)),k(O),k(Zi(ne,h.isComponent)))}const Yi=h=>h.type===4&&h.isStatic,Mi=(h,k)=>h===k||h===(0,R.hyphenate)(k);function Pn(h){if(Mi(h,"Teleport"))return y;if(Mi(h,"Suspense"))return $;if(Mi(h,"KeepAlive"))return U;if(Mi(h,"BaseTransition"))return H}const Ti=/^\d|[^\$\w]/,Pi=h=>!Ti.test(h),rn=/[A-Za-z_$\xA0-\uFFFF]/,Ai=/[\.\?\w$\xA0-\uFFFF]/,Bi=/\s+[.[]\s*|\s*[.[]\s+/g,Vn=h=>{h=h.trim().replace(Bi,Te=>Te.trim());let k=0,I=[],ne=0,je=0,we=null;for(let Te=0;Te<h.length;Te++){const Re=h.charAt(Te);switch(k){case 0:if(Re==="[")I.push(k),k=1,ne++;else if(Re==="(")I.push(k),k=2,je++;else if(!(Te===0?rn:Ai).test(Re))return!1;break;case 1:Re==="'"||Re==='"'||Re==="`"?(I.push(k),k=3,we=Re):Re==="["?ne++:Re==="]"&&(--ne||(k=I.pop()));break;case 2:if(Re==="'"||Re==='"'||Re==="`")I.push(k),k=3,we=Re;else if(Re==="(")je++;else if(Re===")"){if(Te===h.length-1)return!1;--je||(k=I.pop())}break;case 3:Re===we&&(k=I.pop(),we=null);break}}return!ne&&!je},ls=R.NOOP,Zn=Vn;function rr(h,k,I){const je={source:h.source.slice(k,k+I),start:vr(h.start,h.source,k),end:h.end};return I!=null&&(je.end=vr(h.start,h.source,k+I)),je}function vr(h,k,I=k.length){return Yn((0,R.extend)({},h),k,I)}function Yn(h,k,I=k.length){let ne=0,je=-1;for(let we=0;we<I;we++)k.charCodeAt(we)===10&&(ne++,je=we);return h.offset+=I,h.line+=ne,h.column=je===-1?h.column+I:I-je,h}function br(h,k){if(!h)throw new Error(k||"unexpected compiler condition")}function _n(h,k,I=!1){for(let ne=0;ne<h.props.length;ne++){const je=h.props[ne];if(je.type===7&&(I||je.exp)&&((0,R.isString)(k)?je.name===k:k.test(je.name)))return je}}function ct(h,k,I=!1,ne=!1){for(let je=0;je<h.props.length;je++){const we=h.props[je];if(we.type===6){if(I)continue;if(we.name===k&&(we.value||ne))return we}else if(we.name==="bind"&&(we.exp||ne)&&Vt(we.arg,k))return we}}function Vt(h,k){return!!(h&&Yi(h)&&h.content===k)}function Jt(h){return h.props.some(k=>k.type===7&&k.name==="bind"&&(!k.arg||k.arg.type!==4||!k.arg.isStatic))}function vi(h){return h.type===5||h.type===2}function Gi(h){return h.type===7&&h.name==="slot"}function vn(h){return h.type===1&&h.tagType===3}function p(h){return h.type===1&&h.tagType===2}const Li=new Set([B,F]);function Cn(h,k=[]){if(h&&!(0,R.isString)(h)&&h.type===14){const I=h.callee;if(!(0,R.isString)(I)&&Li.has(I))return Cn(h.arguments[0],k.concat(h))}return[h,k]}function cn(h,k,I){let ne,je=h.type===13?h.props:h.arguments[2],we=[],Te;if(je&&!(0,R.isString)(je)&&je.type===14){const Re=Cn(je);je=Re[0],we=Re[1],Te=we[we.length-1]}if(je==null||(0,R.isString)(je))ne=Si([k]);else if(je.type===14){const Re=je.arguments[0];!(0,R.isString)(Re)&&Re.type===15?Ir(k,Re)||Re.properties.unshift(k):je.callee===oe?ne=x(I.helper(Be),[Si([k]),je]):je.arguments.unshift(Si([k])),!ne&&(ne=je)}else je.type===15?(Ir(k,je)||je.properties.unshift(k),ne=je):(ne=x(I.helper(Be),[Si([k]),je]),Te&&Te.callee===F&&(Te=we[we.length-2]));h.type===13?Te?Te.arguments[0]=ne:h.props=ne:Te?Te.arguments[0]=ne:h.arguments[2]=ne}function Ir(h,k){let I=!1;if(h.key.type===4){const ne=h.key.content;I=k.properties.some(je=>je.key.type===4&&je.key.content===ne)}return I}function Dn(h,k){return`_${k}_${h.replace(/[^\w]/g,(I,ne)=>I==="-"?"_":h.charCodeAt(ne).toString())}`}function Gn(h,k){if(!h||Object.keys(k).length===0)return!1;switch(h.type){case 1:for(let I=0;I<h.props.length;I++){const ne=h.props[I];if(ne.type===7&&(Gn(ne.arg,k)||Gn(ne.exp,k)))return!0}return h.children.some(I=>Gn(I,k));case 11:return Gn(h.source,k)?!0:h.children.some(I=>Gn(I,k));case 9:return h.branches.some(I=>Gn(I,k));case 10:return Gn(h.condition,k)?!0:h.children.some(I=>Gn(I,k));case 4:return!h.isStatic&&Pi(h.content)&&!!k[h.content];case 8:return h.children.some(I=>(0,R.isObject)(I)&&Gn(I,k));case 5:case 12:return Gn(h.content,k);case 2:case 3:return!1;default:return!1}}function ts(h){return h.type===14&&h.callee===jt?h.arguments[1].returns:h}const is={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:h=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${h}.sync\` should be changed to \`v-model:${h}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function Fn(h,k){const I=k.options?k.options.compatConfig:k.compatConfig,ne=I&&I[h];return h==="MODE"?ne||3:ne}function Fr(h,k){const I=Fn("MODE",k),ne=Fn(h,k);return I===3?ne===!0:ne!==!1}function ns(h,k,I,...ne){return Fr(h,k)}function cs(h,k,I,...ne){if(Fn(h,k)==="suppress-warning")return;const{message:we,link:Te}=is[h],Re=`(deprecation ${h}) ${typeof we=="function"?we(...ne):we}${Te?`
Details: ${Te}`:""}`,ze=new SyntaxError(Re);ze.code=h,I&&(ze.loc=I),k.onWarn(ze)}const Vs=/&(gt|lt|amp|apos|quot);/g,ie={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},me={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:R.NO,isPreTag:R.NO,isCustomElement:R.NO,decodeEntities:h=>h.replace(Vs,(k,I)=>ie[I]),onError:j,onWarn:f,comments:!1};function Le(h,k={}){const I=Ge(h,k),ne=Mn(I);return ki(Ot(I,0,[]),ge(I,ne))}function Ge(h,k){const I=(0,R.extend)({},me);let ne;for(ne in k)I[ne]=k[ne]===void 0?me[ne]:k[ne];return{options:I,column:1,line:1,offset:0,originalSource:h,source:h,inPre:!1,inVPre:!1,onWarn:I.onWarn}}function Ot(h,k,I){const ne=Ke(I),je=ne?ne.ns:0,we=[];for(;!Yt(h,k,I);){const Re=h.source;let ze;if(k===0||k===1){if(!h.inVPre&&ut(Re,h.options.delimiters[0]))ze=js(h,k);else if(k===0&&Re[0]==="<")if(Re.length===1)ei(h,5,1);else if(Re[1]==="!")ut(Re,"<!--")?ze=Ii(h):ut(Re,"<!DOCTYPE")?ze=Fi(h):ut(Re,"<![CDATA[")?je!==0?ze=ii(h,I):(ei(h,1),ze=Fi(h)):(ei(h,11),ze=Fi(h));else if(Re[1]==="/")if(Re.length===2)ei(h,5,2);else if(Re[2]===">"){ei(h,14,2),Pt(h,3);continue}else if(/[a-z]/i.test(Re[2])){ei(h,23),gn(h,qi.End,ne);continue}else ei(h,12,2),ze=Fi(h);else/[a-z]/i.test(Re[1])?(ze=Hi(h,I),Fr("COMPILER_NATIVE_TEMPLATE",h)&&ze&&ze.tag==="template"&&!ze.props.some(ft=>ft.type===7&&xn(ft.name))&&(ze=ze.children)):Re[1]==="?"?(ei(h,21,1),ze=Fi(h)):ei(h,12,1)}if(ze||(ze=Ss(h,k)),(0,R.isArray)(ze))for(let ft=0;ft<ze.length;ft++)Bt(we,ze[ft]);else Bt(we,ze)}let Te=!1;if(k!==2&&k!==1){const Re=h.options.whitespace!=="preserve";for(let ze=0;ze<we.length;ze++){const ft=we[ze];if(ft.type===2)if(h.inPre)ft.content=ft.content.replace(/\r\n/g,`
`);else if(/[^\t\r\n\f ]/.test(ft.content))Re&&(ft.content=ft.content.replace(/[\t\r\n\f ]+/g," "));else{const Ut=we[ze-1],Mt=we[ze+1];!Ut||!Mt||Re&&(Ut.type===3&&Mt.type===3||Ut.type===3&&Mt.type===1||Ut.type===1&&Mt.type===3||Ut.type===1&&Mt.type===1&&/[\r\n]/.test(ft.content))?(Te=!0,we[ze]=null):ft.content=" "}else ft.type===3&&!h.options.comments&&(Te=!0,we[ze]=null)}if(h.inPre&&ne&&h.options.isPreTag(ne.tag)){const ze=we[0];ze&&ze.type===2&&(ze.content=ze.content.replace(/^\r?\n/,""))}}return Te?we.filter(Boolean):we}function Bt(h,k){if(k.type===2){const I=Ke(h);if(I&&I.type===2&&I.loc.end.offset===k.loc.start.offset){I.content+=k.content,I.loc.end=k.loc.end,I.loc.source+=k.loc.source;return}}h.push(k)}function ii(h,k){Pt(h,9);const I=Ot(h,3,k);return h.source.length===0?ei(h,6):Pt(h,3),I}function Ii(h){const k=Mn(h);let I;const ne=/--(\!)?>/.exec(h.source);if(!ne)I=h.source.slice(4),Pt(h,h.source.length),ei(h,7);else{ne.index<=3&&ei(h,0),ne[1]&&ei(h,10),I=h.source.slice(4,ne.index);const je=h.source.slice(0,ne.index);let we=1,Te=0;for(;(Te=je.indexOf("<!--",we))!==-1;)Pt(h,Te-we+1),Te+4<je.length&&ei(h,16),we=Te+1;Pt(h,ne.index+ne[0].length-we+1)}return{type:3,content:I,loc:ge(h,k)}}function Fi(h){const k=Mn(h),I=h.source[1]==="?"?1:2;let ne;const je=h.source.indexOf(">");return je===-1?(ne=h.source.slice(I),Pt(h,h.source.length)):(ne=h.source.slice(I,je),Pt(h,je+1)),{type:3,content:ne,loc:ge(h,k)}}function Hi(h,k){const I=h.inPre,ne=h.inVPre,je=Ke(k),we=gn(h,qi.Start,je),Te=h.inPre&&!I,Re=h.inVPre&&!ne;if(we.isSelfClosing||h.options.isVoidTag(we.tag))return Te&&(h.inPre=!1),Re&&(h.inVPre=!1),we;k.push(we);const ze=h.options.getTextMode(we,je),ft=Ot(h,ze,k);k.pop();{const Ut=we.props.find(Mt=>Mt.type===6&&Mt.name==="inline-template");if(Ut&&ns("COMPILER_INLINE_TEMPLATE",h,Ut.loc)){const Mt=ge(h,we.loc.end);Ut.value={type:2,content:Mt.source,loc:Mt}}}if(we.children=ft,En(h.source,we.tag))gn(h,qi.End,je);else if(ei(h,24,0,we.loc.start),h.source.length===0&&we.tag.toLowerCase()==="script"){const Ut=ft[0];Ut&&ut(Ut.loc.source,"<!--")&&ei(h,8)}return we.loc=ge(h,we.loc.start),Te&&(h.inPre=!1),Re&&(h.inVPre=!1),we}var qi=(h=>(h[h.Start=0]="Start",h[h.End=1]="End",h))(qi||{});const xn=(0,R.makeMap)("if,else,else-if,for,slot");function gn(h,k,I){const ne=Mn(h),je=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(h.source),we=je[1],Te=h.options.getNamespace(we,I);Pt(h,je[0].length),It(h);const Re=Mn(h),ze=h.source;h.options.isPreTag(we)&&(h.inPre=!0);let ft=Dr(h,k);k===0&&!h.inVPre&&ft.some(gi=>gi.type===7&&gi.name==="pre")&&(h.inVPre=!0,(0,R.extend)(h,Re),h.source=ze,ft=Dr(h,k).filter(gi=>gi.name!=="v-pre"));let Ut=!1;if(h.source.length===0?ei(h,9):(Ut=ut(h.source,"/>"),k===1&&Ut&&ei(h,4),Pt(h,Ut?2:1)),k===1)return;let Mt=0;return h.inVPre||(we==="slot"?Mt=2:we==="template"?ft.some(gi=>gi.type===7&&xn(gi.name))&&(Mt=3):$n(we,ft,h)&&(Mt=1)),{type:1,ns:Te,tag:we,tagType:Mt,props:ft,isSelfClosing:Ut,children:[],loc:ge(h,ne),codegenNode:void 0}}function $n(h,k,I){const ne=I.options;if(ne.isCustomElement(h))return!1;if(h==="component"||/^[A-Z]/.test(h)||Pn(h)||ne.isBuiltInComponent&&ne.isBuiltInComponent(h)||ne.isNativeTag&&!ne.isNativeTag(h))return!0;for(let je=0;je<k.length;je++){const we=k[je];if(we.type===6){if(we.name==="is"&&we.value){if(we.value.content.startsWith("vue:"))return!0;if(ns("COMPILER_IS_ON_ELEMENT",I,we.loc))return!0}}else{if(we.name==="is")return!0;if(we.name==="bind"&&Vt(we.arg,"is")&&ns("COMPILER_IS_ON_ELEMENT",I,we.loc))return!0}}}function Dr(h,k){const I=[],ne=new Set;for(;h.source.length>0&&!ut(h.source,">")&&!ut(h.source,"/>");){if(ut(h.source,"/")){ei(h,22),Pt(h,1),It(h);continue}k===1&&ei(h,3);const je=sr(h,ne);je.type===6&&je.value&&je.name==="class"&&(je.value.content=je.value.content.replace(/\s+/g," ").trim()),k===0&&I.push(je),/^[^\t\r\n\f />]/.test(h.source)&&ei(h,15),It(h)}return I}function sr(h,k){var I;const ne=Mn(h),we=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(h.source)[0];k.has(we)&&ei(h,2),k.add(we),we[0]==="="&&ei(h,19);{const ze=/["'<]/g;let ft;for(;ft=ze.exec(we);)ei(h,17,ft.index)}Pt(h,we.length);let Te;/^[\t\r\n\f ]*=/.test(h.source)&&(It(h),Pt(h,1),It(h),Te=Nr(h),Te||ei(h,13));const Re=ge(h,ne);if(!h.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(we)){const ze=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(we);let ft=ut(we,"."),Ut=ze[1]||(ft||ut(we,":")?"bind":ut(we,"@")?"on":"slot"),Mt;if(ze[2]){const fi=Ut==="slot",bi=we.lastIndexOf(ze[2],we.length-(((I=ze[3])==null?void 0:I.length)||0)),Oi=ge(h,li(h,ne,bi),li(h,ne,bi+ze[2].length+(fi&&ze[3]||"").length));let Ui=ze[2],Qi=!0;Ui.startsWith("[")?(Qi=!1,Ui.endsWith("]")?Ui=Ui.slice(1,Ui.length-1):(ei(h,27),Ui=Ui.slice(1))):fi&&(Ui+=ze[3]||""),Mt={type:4,content:Ui,isStatic:Qi,constType:Qi?3:0,loc:Oi}}if(Te&&Te.isQuoted){const fi=Te.loc;fi.start.offset++,fi.start.column++,fi.end=vr(fi.start,Te.content),fi.source=fi.source.slice(1,-1)}const gi=ze[3]?ze[3].slice(1).split("."):[];return ft&&gi.push("prop"),Ut==="bind"&&Mt&&gi.includes("sync")&&ns("COMPILER_V_BIND_SYNC",h,Re,Mt.loc.source)&&(Ut="model",gi.splice(gi.indexOf("sync"),1)),{type:7,name:Ut,exp:Te&&{type:4,content:Te.content,isStatic:!1,constType:0,loc:Te.loc},arg:Mt,modifiers:gi,loc:Re}}return!h.inVPre&&ut(we,"v-")&&ei(h,26),{type:6,name:we,value:Te&&{type:2,content:Te.content,loc:Te.loc},loc:Re}}function Nr(h){const k=Mn(h);let I;const ne=h.source[0],je=ne==='"'||ne==="'";if(je){Pt(h,1);const we=h.source.indexOf(ne);we===-1?I=Xr(h,h.source.length,4):(I=Xr(h,we,4),Pt(h,1))}else{const we=/^[^\t\r\n\f >]+/.exec(h.source);if(!we)return;const Te=/["'<=`]/g;let Re;for(;Re=Te.exec(we[0]);)ei(h,18,Re.index);I=Xr(h,we[0].length,4)}return{content:I,isQuoted:je,loc:ge(h,k)}}function js(h,k){const[I,ne]=h.options.delimiters,je=h.source.indexOf(ne,I.length);if(je===-1){ei(h,25);return}const we=Mn(h);Pt(h,I.length);const Te=Mn(h),Re=Mn(h),ze=je-I.length,ft=h.source.slice(0,ze),Ut=Xr(h,ze,k),Mt=Ut.trim(),gi=Ut.indexOf(Mt);gi>0&&Yn(Te,ft,gi);const fi=ze-(Ut.length-Mt.length-gi);return Yn(Re,ft,fi),Pt(h,ne.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:Mt,loc:ge(h,Te,Re)},loc:ge(h,we)}}function Ss(h,k){const I=k===3?["]]>"]:["<",h.options.delimiters[0]];let ne=h.source.length;for(let Te=0;Te<I.length;Te++){const Re=h.source.indexOf(I[Te],1);Re!==-1&&ne>Re&&(ne=Re)}const je=Mn(h);return{type:2,content:Xr(h,ne,k),loc:ge(h,je)}}function Xr(h,k,I){const ne=h.source.slice(0,k);return Pt(h,k),I===2||I===3||!ne.includes("&")?ne:h.options.decodeEntities(ne,I===4)}function Mn(h){const{column:k,line:I,offset:ne}=h;return{column:k,line:I,offset:ne}}function ge(h,k,I){return I=I||Mn(h),{start:k,end:I,source:h.originalSource.slice(k.offset,I.offset)}}function Ke(h){return h[h.length-1]}function ut(h,k){return h.startsWith(k)}function Pt(h,k){const{source:I}=h;Yn(h,I,k),h.source=I.slice(k)}function It(h){const k=/^[\t\r\n\f ]+/.exec(h.source);k&&Pt(h,k[0].length)}function li(h,k,I){return vr(k,h.originalSource.slice(k.offset,I),I)}function ei(h,k,I,ne=Mn(h)){I&&(ne.offset+=I,ne.column+=I),h.options.onError(Q(k,{start:ne,end:ne,source:""}))}function Yt(h,k,I){const ne=h.source;switch(k){case 0:if(ut(ne,"</")){for(let je=I.length-1;je>=0;--je)if(En(ne,I[je].tag))return!0}break;case 1:case 2:{const je=Ke(I);if(je&&En(ne,je.tag))return!0;break}case 3:if(ut(ne,"]]>"))return!0;break}return!ne}function En(h,k){return ut(h,"</")&&h.slice(2,2+k.length).toLowerCase()===k.toLowerCase()&&/[\t\r\n\f />]/.test(h[2+k.length]||">")}function Qn(h,k){lr(h,k,dr(h,h.children[0]))}function dr(h,k){const{children:I}=h;return I.length===1&&k.type===1&&!p(k)}function lr(h,k,I=!1){const{children:ne}=h,je=ne.length;let we=0;for(let Te=0;Te<ne.length;Te++){const Re=ne[Te];if(Re.type===1&&Re.tagType===0){const ze=I?0:hr(Re,k);if(ze>0){if(ze>=2){Re.codegenNode.patchFlag="-1",Re.codegenNode=k.hoist(Re.codegenNode),we++;continue}}else{const ft=Re.codegenNode;if(ft.type===13){const Ut=Ao(ft);if((!Ut||Ut===512||Ut===1)&&lo(Re,k)>=2){const Mt=$s(Re);Mt&&(ft.props=k.hoist(Mt))}ft.dynamicProps&&(ft.dynamicProps=k.hoist(ft.dynamicProps))}}}if(Re.type===1){const ze=Re.tagType===1;ze&&k.scopes.vSlot++,lr(Re,k),ze&&k.scopes.vSlot--}else if(Re.type===11)lr(Re,k,Re.children.length===1);else if(Re.type===9)for(let ze=0;ze<Re.branches.length;ze++)lr(Re.branches[ze],k,Re.branches[ze].children.length===1)}we&&k.transformHoist&&k.transformHoist(ne,k,h),we&&we===je&&h.type===1&&h.tagType===0&&h.codegenNode&&h.codegenNode.type===13&&(0,R.isArray)(h.codegenNode.children)&&(h.codegenNode.children=k.hoist(Ji(h.codegenNode.children)))}function hr(h,k){const{constantCache:I}=k;switch(h.type){case 1:if(h.tagType!==0)return 0;const ne=I.get(h);if(ne!==void 0)return ne;const je=h.codegenNode;if(je.type!==13||je.isBlock&&h.tag!=="svg"&&h.tag!=="foreignObject")return 0;if(Ao(je))return I.set(h,0),0;{let Re=3;const ze=lo(h,k);if(ze===0)return I.set(h,0),0;ze<Re&&(Re=ze);for(let ft=0;ft<h.children.length;ft++){const Ut=hr(h.children[ft],k);if(Ut===0)return I.set(h,0),0;Ut<Re&&(Re=Ut)}if(Re>1)for(let ft=0;ft<h.props.length;ft++){const Ut=h.props[ft];if(Ut.type===7&&Ut.name==="bind"&&Ut.exp){const Mt=hr(Ut.exp,k);if(Mt===0)return I.set(h,0),0;Mt<Re&&(Re=Mt)}}if(je.isBlock){for(let ft=0;ft<h.props.length;ft++)if(h.props[ft].type===7)return I.set(h,0),0;k.removeHelper(O),k.removeHelper(Zi(k.inSSR,je.isComponent)),je.isBlock=!1,k.helper(pn(k.inSSR,je.isComponent))}return I.set(h,Re),Re}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return hr(h.content,k);case 4:return h.constType;case 8:let Te=3;for(let Re=0;Re<h.children.length;Re++){const ze=h.children[Re];if((0,R.isString)(ze)||(0,R.isSymbol)(ze))continue;const ft=hr(ze,k);if(ft===0)return 0;ft<Te&&(Te=ft)}return Te;default:return 0}}const Us=new Set([ve,L,B,F]);function Br(h,k){if(h.type===14&&!(0,R.isString)(h.callee)&&Us.has(h.callee)){const I=h.arguments[0];if(I.type===4)return hr(I,k);if(I.type===14)return Br(I,k)}return 0}function lo(h,k){let I=3;const ne=$s(h);if(ne&&ne.type===15){const{properties:je}=ne;for(let we=0;we<je.length;we++){const{key:Te,value:Re}=je[we],ze=hr(Te,k);if(ze===0)return ze;ze<I&&(I=ze);let ft;if(Re.type===4?ft=hr(Re,k):Re.type===14?ft=Br(Re,k):ft=0,ft===0)return ft;ft<I&&(I=ft)}}return I}function $s(h){const k=h.codegenNode;if(k.type===13)return k.props}function Ao(h){const k=h.patchFlag;return k?parseInt(k,10):void 0}function rs(h,{filename:k="",prefixIdentifiers:I=!1,hoistStatic:ne=!1,cacheHandlers:je=!1,nodeTransforms:we=[],directiveTransforms:Te={},transformHoist:Re=null,isBuiltInComponent:ze=R.NOOP,isCustomElement:ft=R.NOOP,expressionPlugins:Ut=[],scopeId:Mt=null,slotted:gi=!0,ssr:fi=!1,inSSR:bi=!1,ssrCssVars:Oi="",bindingMetadata:Ui=R.EMPTY_OBJ,inline:Qi=!1,isTS:mn=!1,onError:Lr=j,onWarn:Vo=f,compatConfig:$r}){const zn=k.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),jn={selfName:zn&&(0,R.capitalize)((0,R.camelize)(zn[1])),prefixIdentifiers:I,hoistStatic:ne,cacheHandlers:je,nodeTransforms:we,directiveTransforms:Te,transformHoist:Re,isBuiltInComponent:ze,isCustomElement:ft,expressionPlugins:Ut,scopeId:Mt,slotted:gi,ssr:fi,inSSR:bi,ssrCssVars:Oi,bindingMetadata:Ui,inline:Qi,isTS:mn,onError:Lr,onWarn:Vo,compatConfig:$r,root:h,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:h,childIndex:0,inVOnce:!1,helper(Ni){const kn=jn.helpers.get(Ni)||0;return jn.helpers.set(Ni,kn+1),Ni},removeHelper(Ni){const kn=jn.helpers.get(Ni);if(kn){const Nn=kn-1;Nn?jn.helpers.set(Ni,Nn):jn.helpers.delete(Ni)}},helperString(Ni){return`_${wt[jn.helper(Ni)]}`},replaceNode(Ni){jn.parent.children[jn.childIndex]=jn.currentNode=Ni},removeNode(Ni){const kn=jn.parent.children,Nn=Ni?kn.indexOf(Ni):jn.currentNode?jn.childIndex:-1;!Ni||Ni===jn.currentNode?(jn.currentNode=null,jn.onNodeRemoved()):jn.childIndex>Nn&&(jn.childIndex--,jn.onNodeRemoved()),jn.parent.children.splice(Nn,1)},onNodeRemoved:()=>{},addIdentifiers(Ni){},removeIdentifiers(Ni){},hoist(Ni){(0,R.isString)(Ni)&&(Ni=ci(Ni)),jn.hoists.push(Ni);const kn=ci(`_hoisted_${jn.hoists.length}`,!1,Ni.loc,2);return kn.hoisted=Ni,kn},cache(Ni,kn=!1){return Ie(jn.cached++,Ni,kn)}};return jn.filters=new Set,jn}function wo(h,k){const I=rs(h,k);Gs(h,I),k.hoistStatic&&Qn(h,I),k.ssr||Oo(h,I),h.helpers=new Set([...I.helpers.keys()]),h.components=[...I.components],h.directives=[...I.directives],h.imports=I.imports,h.hoists=I.hoists,h.temps=I.temps,h.cached=I.cached,h.filters=[...I.filters]}function Oo(h,k){const{helper:I}=k,{children:ne}=h;if(ne.length===1){const je=ne[0];if(dr(h,je)&&je.codegenNode){const we=je.codegenNode;we.type===13&&ji(we,k),h.codegenNode=we}else h.codegenNode=je}else if(ne.length>1){let je=64,we=R.PatchFlagNames[64];h.codegenNode=hi(k,I(se),void 0,h.children,je+"",void 0,void 0,!0,void 0,!1)}}function ba(h,k){let I=0;const ne=()=>{I--};for(;I<h.children.length;I++){const je=h.children[I];(0,R.isString)(je)||(k.parent=h,k.childIndex=I,k.onNodeRemoved=ne,Gs(je,k))}}function Gs(h,k){k.currentNode=h;const{nodeTransforms:I}=k,ne=[];for(let we=0;we<I.length;we++){const Te=I[we](h,k);if(Te&&((0,R.isArray)(Te)?ne.push(...Te):ne.push(Te)),k.currentNode)h=k.currentNode;else return}switch(h.type){case 3:k.ssr||k.helper(A);break;case 5:k.ssr||k.helper(ee);break;case 9:for(let we=0;we<h.branches.length;we++)Gs(h.branches[we],k);break;case 10:case 11:case 1:case 0:ba(h,k);break}k.currentNode=h;let je=ne.length;for(;je--;)ne[je]()}function xo(h,k){const I=(0,R.isString)(h)?ne=>ne===h:ne=>h.test(ne);return(ne,je)=>{if(ne.type===1){const{props:we}=ne;if(ne.tagType===3&&we.some(Gi))return;const Te=[];for(let Re=0;Re<we.length;Re++){const ze=we[Re];if(ze.type===7&&I(ze.name)){we.splice(Re,1),Re--;const ft=k(ne,ze,je);ft&&Te.push(ft)}}return Te}}}const Ro="/*#__PURE__*/",Ws=h=>`${wt[h]}: _${wt[h]}`;function ca(h,{mode:k="function",prefixIdentifiers:I=k==="module",sourceMap:ne=!1,filename:je="template.vue.html",scopeId:we=null,optimizeImports:Te=!1,runtimeGlobalName:Re="Vue",runtimeModuleName:ze="vue",ssrRuntimeModuleName:ft="vue/server-renderer",ssr:Ut=!1,isTS:Mt=!1,inSSR:gi=!1}){const fi={mode:k,prefixIdentifiers:I,sourceMap:ne,filename:je,scopeId:we,optimizeImports:Te,runtimeGlobalName:Re,runtimeModuleName:ze,ssrRuntimeModuleName:ft,ssr:Ut,isTS:Mt,inSSR:gi,source:h.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(Oi){return`_${wt[Oi]}`},push(Oi,Ui){fi.code+=Oi},indent(){bi(++fi.indentLevel)},deindent(Oi=!1){Oi?--fi.indentLevel:bi(--fi.indentLevel)},newline(){bi(fi.indentLevel)}};function bi(Oi){fi.push(`
`+" ".repeat(Oi))}return fi}function ya(h,k={}){const I=ca(h,k);k.onContextCreated&&k.onContextCreated(I);const{mode:ne,push:je,prefixIdentifiers:we,indent:Te,deindent:Re,newline:ze,scopeId:ft,ssr:Ut}=I,Mt=Array.from(h.helpers),gi=Mt.length>0,fi=!we&&ne!=="module",bi=!1,Oi=bi?ca(h,k):I;us(h,Oi);const Ui=Ut?"ssrRender":"render",mn=(Ut?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(je(`function ${Ui}(${mn}) {`),Te(),fi&&(je("with (_ctx) {"),Te(),gi&&(je(`const { ${Mt.map(Ws).join(", ")} } = _Vue`),je(`
`),ze())),h.components.length&&(co(h.components,"component",I),(h.directives.length||h.temps>0)&&ze()),h.directives.length&&(co(h.directives,"directive",I),h.temps>0&&ze()),h.filters&&h.filters.length&&(ze(),co(h.filters,"filter",I),ze()),h.temps>0){je("let ");for(let Lr=0;Lr<h.temps;Lr++)je(`${Lr>0?", ":""}_temp${Lr}`)}return(h.components.length||h.directives.length||h.temps)&&(je(`
`),ze()),Ut||je("return "),h.codegenNode?Tr(h.codegenNode,I):je("null"),fi&&(Re(),je("}")),Re(),je("}"),{ast:h,code:I.code,preamble:bi?Oi.code:"",map:I.map?I.map.toJSON():void 0}}function us(h,k){const{ssr:I,prefixIdentifiers:ne,push:je,newline:we,runtimeModuleName:Te,runtimeGlobalName:Re,ssrRuntimeModuleName:ze}=k,ft=Re,Ut=Array.from(h.helpers);if(Ut.length>0&&(je(`const _Vue = ${ft}
`),h.hoists.length)){const Mt=[te,J,A,z,le].filter(gi=>Ut.includes(gi)).map(Ws).join(", ");je(`const { ${Mt} } = _Vue
`)}Xs(h.hoists,k),we(),je("return ")}function co(h,k,{helper:I,push:ne,newline:je,isTS:we}){const Te=I(k==="filter"?ke:k==="component"?be:ce);for(let Re=0;Re<h.length;Re++){let ze=h[Re];const ft=ze.endsWith("__self");ft&&(ze=ze.slice(0,-6)),ne(`const ${Dn(ze,k)} = ${Te}(${JSON.stringify(ze)}${ft?", true":""})${we?"!":""}`),Re<h.length-1&&je()}}function Xs(h,k){if(!h.length)return;k.pure=!0;const{push:I,newline:ne,helper:je,scopeId:we,mode:Te}=k;ne();for(let Re=0;Re<h.length;Re++){const ze=h[Re];ze&&(I(`const _hoisted_${Re+1} = `),Tr(ze,k),ne())}k.pure=!1}function uo(h){return isString(h)||h.type===4||h.type===2||h.type===5||h.type===8}function yr(h,k){const I=h.length>3||!1;k.push("["),I&&k.indent(),jo(h,k,I),I&&k.deindent(),k.push("]")}function jo(h,k,I=!1,ne=!0){const{push:je,newline:we}=k;for(let Te=0;Te<h.length;Te++){const Re=h[Te];(0,R.isString)(Re)?je(Re):(0,R.isArray)(Re)?yr(Re,k):Tr(Re,k),Te<h.length-1&&(I?(ne&&je(","),we()):ne&&je(", "))}}function Tr(h,k){if((0,R.isString)(h)){k.push(h);return}if((0,R.isSymbol)(h)){k.push(k.helper(h));return}switch(h.type){case 1:case 9:case 11:Tr(h.codegenNode,k);break;case 2:ua(h,k);break;case 4:Zo(h,k);break;case 5:ss(h,k);break;case 12:Tr(h.codegenNode,k);break;case 8:Yo(h,k);break;case 3:_a(h,k);break;case 13:zs(h,k);break;case 14:Go(h,k);break;case 15:qa(h,k);break;case 17:Ka(h,k);break;case 18:Za(h,k);break;case 19:l(h,k);break;case 20:m(h,k);break;case 21:jo(h.body,k,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:}}function ua(h,k){k.push(JSON.stringify(h.content),h)}function Zo(h,k){const{content:I,isStatic:ne}=h;k.push(ne?JSON.stringify(I):I,h)}function ss(h,k){const{push:I,helper:ne,pure:je}=k;je&&I(Ro),I(`${ne(ee)}(`),Tr(h.content,k),I(")")}function Yo(h,k){for(let I=0;I<h.children.length;I++){const ne=h.children[I];(0,R.isString)(ne)?k.push(ne):Tr(ne,k)}}function Js(h,k){const{push:I}=k;if(h.type===8)I("["),Yo(h,k),I("]");else if(h.isStatic){const ne=Pi(h.content)?h.content:JSON.stringify(h.content);I(ne,h)}else I(`[${h.content}]`,h)}function _a(h,k){const{push:I,helper:ne,pure:je}=k;je&&I(Ro),I(`${ne(A)}(${JSON.stringify(h.content)})`,h)}function zs(h,k){const{push:I,helper:ne,pure:je}=k,{tag:we,props:Te,children:Re,patchFlag:ze,dynamicProps:ft,directives:Ut,isBlock:Mt,disableTracking:gi,isComponent:fi}=h;Ut&&I(ne(Ae)+"("),Mt&&I(`(${ne(O)}(${gi?"true":""}), `),je&&I(Ro);const bi=Mt?Zi(k.inSSR,fi):pn(k.inSSR,fi);I(ne(bi)+"(",h),jo(Po([we,Te,Re,ze,ft]),k),I(")"),Mt&&I(")"),Ut&&(I(", "),Tr(Ut,k),I(")"))}function Po(h){let k=h.length;for(;k--&&h[k]==null;);return h.slice(0,k+1).map(I=>I||"null")}function Go(h,k){const{push:I,helper:ne,pure:je}=k,we=(0,R.isString)(h.callee)?h.callee:ne(h.callee);je&&I(Ro),I(we+"(",h),jo(h.arguments,k),I(")")}function qa(h,k){const{push:I,indent:ne,deindent:je,newline:we}=k,{properties:Te}=h;if(!Te.length){I("{}",h);return}const Re=Te.length>1||!1;I(Re?"{":"{ "),Re&&ne();for(let ze=0;ze<Te.length;ze++){const{key:ft,value:Ut}=Te[ze];Js(ft,k),I(": "),Tr(Ut,k),ze<Te.length-1&&(I(","),we())}Re&&je(),I(Re?"}":" }")}function Ka(h,k){yr(h.elements,k)}function Za(h,k){const{push:I,indent:ne,deindent:je}=k,{params:we,returns:Te,body:Re,newline:ze,isSlot:ft}=h;ft&&I(`_${wt[N]}(`),I("(",h),(0,R.isArray)(we)?jo(we,k):we&&Tr(we,k),I(") => "),(ze||Re)&&(I("{"),ne()),Te?(ze&&I("return "),(0,R.isArray)(Te)?yr(Te,k):Tr(Te,k)):Re&&Tr(Re,k),(ze||Re)&&(je(),I("}")),ft&&(h.isNonScopedSlot&&I(", undefined, true"),I(")"))}function l(h,k){const{test:I,consequent:ne,alternate:je,newline:we}=h,{push:Te,indent:Re,deindent:ze,newline:ft}=k;if(I.type===4){const Mt=!Pi(I.content);Mt&&Te("("),Zo(I,k),Mt&&Te(")")}else Te("("),Tr(I,k),Te(")");we&&Re(),k.indentLevel++,we||Te(" "),Te("? "),Tr(ne,k),k.indentLevel--,we&&ft(),we||Te(" "),Te(": ");const Ut=je.type===19;Ut||k.indentLevel++,Tr(je,k),Ut||k.indentLevel--,we&&ze(!0)}function m(h,k){const{push:I,helper:ne,indent:je,deindent:we,newline:Te}=k;I(`_cache[${h.index}] || (`),h.isVNode&&(je(),I(`${ne(de)}(-1),`),Te()),I(`_cache[${h.index}] = `),Tr(h.value,k),h.isVNode&&(I(","),Te(),I(`${ne(de)}(1),`),Te(),I(`_cache[${h.index}]`),we()),I(")")}function E(h,k,I=!1,ne=[],je=Object.create(null)){}function M(h,k,I){return!1}function Y(h,k){if(h&&(h.type==="ObjectProperty"||h.type==="ArrayPattern")){let I=k.length;for(;I--;){const ne=k[I];if(ne.type==="AssignmentExpression")return!0;if(ne.type!=="ObjectProperty"&&!ne.type.endsWith("Pattern"))break}}return!1}function G(h,k){for(const I of h.params)for(const ne of Me(I))k(ne)}function ae(h,k){for(const I of h.body)if(I.type==="VariableDeclaration"){if(I.declare)continue;for(const ne of I.declarations)for(const je of Me(ne.id))k(je)}else if(I.type==="FunctionDeclaration"||I.type==="ClassDeclaration"){if(I.declare||!I.id)continue;k(I.id)}}function Me(h,k=[]){switch(h.type){case"Identifier":k.push(h);break;case"MemberExpression":let I=h;for(;I.type==="MemberExpression";)I=I.object;k.push(I);break;case"ObjectPattern":for(const ne of h.properties)ne.type==="RestElement"?Me(ne.argument,k):Me(ne.value,k);break;case"ArrayPattern":h.elements.forEach(ne=>{ne&&Me(ne,k)});break;case"RestElement":Me(h.argument,k);break;case"AssignmentPattern":Me(h.left,k);break}return k}const Pe=h=>/Function(?:Expression|Declaration)$|Method$/.test(h.type),tt=h=>h&&(h.type==="ObjectProperty"||h.type==="ObjectMethod")&&!h.computed,Ct=(h,k)=>tt(k)&&k.key===h,xt=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"],ht=new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b"),$t=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function sn(h,k,I=!1,ne=!1){const je=h.content;if(je.trim())try{new Function(ne?` ${je} `:`return ${I?`(${je}) => {}`:`(${je})`}`)}catch(we){let Te=we.message;const Re=je.replace($t,"").match(ht);Re&&(Te=`avoid using JavaScript keyword as property name: "${Re[0]}"`),k.onError(Q(45,h.loc,void 0,Te))}}const Tn=(h,k)=>{if(h.type===5)h.content=un(h.content,k);else if(h.type===1)for(let I=0;I<h.props.length;I++){const ne=h.props[I];if(ne.type===7&&ne.name!=="for"){const je=ne.exp,we=ne.arg;je&&je.type===4&&!(ne.name==="on"&&we)&&(ne.exp=un(je,k,ne.name==="slot")),we&&we.type===4&&!we.isStatic&&(ne.arg=un(we,k))}}};function un(h,k,I=!1,ne=!1,je=Object.create(k.identifiers)){return h}function or(h){return(0,R.isString)(h)?h:h.type===4?h.content:h.children.map(or).join("")}const _r=xo(/^(if|else|else-if)$/,(h,k,I)=>fs(h,k,I,(ne,je,we)=>{const Te=I.parent.children;let Re=Te.indexOf(ne),ze=0;for(;Re-->=0;){const ft=Te[Re];ft&&ft.type===9&&(ze+=ft.branches.length)}return()=>{if(we)ne.codegenNode=Ki(je,ze,I);else{const ft=er(ne.codegenNode);ft.alternate=Ki(je,ze+ne.branches.length-1,I)}}}));function fs(h,k,I,ne){if(k.name!=="else"&&(!k.exp||!k.exp.content.trim())){const je=k.exp?k.exp.loc:h.loc;I.onError(Q(28,k.loc)),k.exp=ci("true",!1,je)}if(k.name==="if"){const je=Jr(h,k),we={type:9,loc:h.loc,branches:[je]};if(I.replaceNode(we),ne)return ne(we,je,!0)}else{const je=I.parent.children,we=[];let Te=je.indexOf(h);for(;Te-->=-1;){const Re=je[Te];if(Re&&Re.type===3){I.removeNode(Re);continue}if(Re&&Re.type===2&&!Re.content.trim().length){I.removeNode(Re);continue}if(Re&&Re.type===9){k.name==="else-if"&&Re.branches[Re.branches.length-1].condition===void 0&&I.onError(Q(30,h.loc)),I.removeNode();const ze=Jr(h,k);Re.branches.push(ze);const ft=ne&&ne(Re,ze,!1);Gs(ze,I),ft&&ft(),I.currentNode=null}else I.onError(Q(30,h.loc));break}}}function Jr(h,k){const I=h.tagType===3;return{type:10,loc:h.loc,condition:k.name==="else"?void 0:k.exp,children:I&&!_n(h,"for")?h.children:[h],userKey:ct(h,"key"),isTemplateIf:I}}function Ki(h,k,I){return h.condition?re(h.condition,Hr(h,k,I),x(I.helper(A),['""',"true"])):Hr(h,k,I)}function Hr(h,k,I){const{helper:ne}=I,je=Di("key",ci(`${k}`,!1,zt,2)),{children:we}=h,Te=we[0];if(we.length!==1||Te.type!==1)if(we.length===1&&Te.type===11){const ze=Te.codegenNode;return cn(ze,je,I),ze}else{let ze=64,ft=R.PatchFlagNames[64];return hi(I,ne(se),Si([je]),we,ze+"",void 0,void 0,!0,!1,!1,h.loc)}else{const ze=Te.codegenNode,ft=ts(ze);return ft.type===13&&ji(ft,I),cn(ft,je,I),ze}}function Ht(h,k){if(!h||h.type!==k.type)return!1;if(h.type===6){if(h.value.content!==k.value.content)return!1}else{const I=h.exp,ne=k.exp;if(I.type!==ne.type||I.type!==4||I.isStatic!==ne.isStatic||I.content!==ne.content)return!1}return!0}function er(h){for(;;)if(h.type===19)if(h.alternate.type===19)h=h.alternate;else return h;else h.type===20&&(h=h.value)}const vs=xo("for",(h,k,I)=>{const{helper:ne,removeHelper:je}=I;return Do(h,k,I,we=>{const Te=x(ne(_),[we.source]),Re=vn(h),ze=_n(h,"memo"),ft=ct(h,"key"),Ut=ft&&(ft.type===6?ci(ft.value.content,!0):ft.exp),Mt=ft?Di("key",Ut):null,gi=we.source.type===4&&we.source.constType>0,fi=gi?64:ft?128:256;return we.codegenNode=hi(I,ne(se),void 0,Te,fi+"",void 0,void 0,!0,!gi,!1,h.loc),()=>{let bi;const{children:Oi}=we,Ui=Oi.length!==1||Oi[0].type!==1,Qi=p(h)?h:Re&&h.children.length===1&&p(h.children[0])?h.children[0]:null;if(Qi?(bi=Qi.codegenNode,Re&&Mt&&cn(bi,Mt,I)):Ui?bi=hi(I,ne(se),Mt?Si([Mt]):void 0,h.children,"64",void 0,void 0,!0,void 0,!1):(bi=Oi[0].codegenNode,Re&&Mt&&cn(bi,Mt,I),bi.isBlock!==!gi&&(bi.isBlock?(je(O),je(Zi(I.inSSR,bi.isComponent))):je(pn(I.inSSR,bi.isComponent))),bi.isBlock=!gi,bi.isBlock?(ne(O),ne(Zi(I.inSSR,bi.isComponent))):ne(pn(I.inSSR,bi.isComponent))),ze){const mn=P(wr(we.parseResult,[ci("_cached")]));mn.body=Ve([Wi(["const _memo = (",ze.exp,")"]),Wi(["if (_cached",...Ut?[" && _cached.key === ",Ut]:[],` && ${I.helperString(_t)}(_cached, _memo)) return _cached`]),Wi(["const _item = ",bi]),ci("_item.memo = _memo"),ci("return _item")]),Te.arguments.push(mn,ci("_cache"),ci(String(I.cached++)))}else Te.arguments.push(P(wr(we.parseResult),bi,!0))}})});function Do(h,k,I,ne){if(!k.exp){I.onError(Q(31,k.loc));return}const je=Wr(k.exp,I);if(!je){I.onError(Q(32,k.loc));return}const{addIdentifiers:we,removeIdentifiers:Te,scopes:Re}=I,{source:ze,value:ft,key:Ut,index:Mt}=je,gi={type:11,loc:k.loc,source:ze,valueAlias:ft,keyAlias:Ut,objectIndexAlias:Mt,parseResult:je,children:vn(h)?h.children:[h]};I.replaceNode(gi),Re.vFor++;const fi=ne&&ne(gi);return()=>{Re.vFor--,fi&&fi()}}const ds=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,qs=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Xn=/^\(|\)$/g;function Wr(h,k){const I=h.loc,ne=h.content,je=ne.match(ds);if(!je)return;const[,we,Te]=je,Re={source:Jn(I,Te.trim(),ne.indexOf(Te,we.length)),value:void 0,key:void 0,index:void 0};let ze=we.trim().replace(Xn,"").trim();const ft=we.indexOf(ze),Ut=ze.match(qs);if(Ut){ze=ze.replace(qs,"").trim();const Mt=Ut[1].trim();let gi;if(Mt&&(gi=ne.indexOf(Mt,ft+ze.length),Re.key=Jn(I,Mt,gi)),Ut[2]){const fi=Ut[2].trim();fi&&(Re.index=Jn(I,fi,ne.indexOf(fi,Re.key?gi+Mt.length:ft+ze.length)))}}return ze&&(Re.value=Jn(I,ze,ft)),Re}function Jn(h,k,I){return ci(k,!1,rr(h,I,k.length))}function wr({value:h,key:k,index:I},ne=[]){return Mo([h,k,I,...ne])}function Mo(h){let k=h.length;for(;k--&&!h[k];);return h.slice(0,k+1).map((I,ne)=>I||ci("_".repeat(ne+1),!1))}const bs=ci("undefined",!1),Vr=(h,k)=>{if(h.type===1&&(h.tagType===1||h.tagType===3)){const I=_n(h,"slot");if(I)return I.exp,k.scopes.vSlot++,()=>{k.scopes.vSlot--}}},zr=(h,k)=>{let I;if(vn(h)&&h.props.some(Gi)&&(I=_n(h,"for"))){const ne=I.parseResult=Wr(I.exp,k);if(ne){const{value:je,key:we,index:Te}=ne,{addIdentifiers:Re,removeIdentifiers:ze}=k;return je&&Re(je),we&&Re(we),Te&&Re(Te),()=>{je&&ze(je),we&&ze(we),Te&&ze(Te)}}}},Or=(h,k,I)=>P(h,k,!1,!0,k.length?k[0].loc:I);function Mr(h,k,I=Or){k.helper(N);const{children:ne,loc:je}=h,we=[],Te=[];let Re=k.scopes.vSlot>0||k.scopes.vFor>0;const ze=_n(h,"slot",!0);if(ze){const{arg:Ui,exp:Qi}=ze;Ui&&!Yi(Ui)&&(Re=!0),we.push(Di(Ui||ci("default",!0),I(Qi,ne,je)))}let ft=!1,Ut=!1;const Mt=[],gi=new Set;let fi=0;for(let Ui=0;Ui<ne.length;Ui++){const Qi=ne[Ui];let mn;if(!vn(Qi)||!(mn=_n(Qi,"slot",!0))){Qi.type!==3&&Mt.push(Qi);continue}if(ze){k.onError(Q(37,mn.loc));break}ft=!0;const{children:Lr,loc:Vo}=Qi,{arg:$r=ci("default",!0),exp:zn,loc:jn}=mn;let Ni;Yi($r)?Ni=$r?$r.content:"default":Re=!0;const kn=I(zn,Lr,Vo);let Nn,ln,In;if(Nn=_n(Qi,"if"))Re=!0,Te.push(re(Nn.exp,Ln($r,kn,fi++),bs));else if(ln=_n(Qi,/^else(-if)?$/,!0)){let tr=Ui,as;for(;tr--&&(as=ne[tr],as.type===3););if(as&&vn(as)&&_n(as,"if")){ne.splice(Ui,1),Ui--;let Qr=Te[Te.length-1];for(;Qr.alternate.type===19;)Qr=Qr.alternate;Qr.alternate=ln.exp?re(ln.exp,Ln($r,kn,fi++),bs):Ln($r,kn,fi++)}else k.onError(Q(30,ln.loc))}else if(In=_n(Qi,"for")){Re=!0;const tr=In.parseResult||Wr(In.exp,k);tr?Te.push(x(k.helper(_),[tr.source,P(wr(tr),Ln($r,kn),!0)])):k.onError(Q(32,In.loc))}else{if(Ni){if(gi.has(Ni)){k.onError(Q(38,jn));continue}gi.add(Ni),Ni==="default"&&(Ut=!0)}we.push(Di($r,kn))}}if(!ze){const Ui=(Qi,mn)=>{const Lr=I(Qi,mn,je);return k.compatConfig&&(Lr.isNonScopedSlot=!0),Di("default",Lr)};ft?Mt.length&&Mt.some(Qi=>Cs(Qi))&&(Ut?k.onError(Q(39,Mt[0].loc)):we.push(Ui(void 0,Mt))):we.push(Ui(void 0,ne))}const bi=Re?2:Ks(h.children)?3:1;let Oi=Si(we.concat(Di("_",ci(bi+"",!1))),je);return Te.length&&(Oi=x(k.helper(Se),[Oi,Ji(Te)])),{slots:Oi,hasDynamicSlots:Re}}function Ln(h,k,I){const ne=[Di("name",h),Di("fn",k)];return I!=null&&ne.push(Di("key",ci(String(I),!0))),Si(ne)}function Ks(h){for(let k=0;k<h.length;k++){const I=h[k];switch(I.type){case 1:if(I.tagType===2||Ks(I.children))return!0;break;case 9:if(Ks(I.branches))return!0;break;case 10:case 11:if(Ks(I.children))return!0;break}}return!1}function Cs(h){return h.type!==2&&h.type!==12?!0:h.type===2?!!h.content.trim():Cs(h.content)}const Qs=new WeakMap,Ls=(h,k)=>function(){if(h=k.currentNode,!(h.type===1&&(h.tagType===0||h.tagType===1)))return;const{tag:ne,props:je}=h,we=h.tagType===1;let Te=we?fo(h,k):`"${ne}"`;const Re=(0,R.isObject)(Te)&&Te.callee===xe;let ze,ft,Ut,Mt=0,gi,fi,bi,Oi=Re||Te===y||Te===$||!we&&(ne==="svg"||ne==="foreignObject");if(je.length>0){const Ui=ho(h,k,void 0,we,Re);ze=Ui.props,Mt=Ui.patchFlag,fi=Ui.dynamicPropNames;const Qi=Ui.directives;bi=Qi&&Qi.length?Ji(Qi.map(mn=>Ts(mn,k))):void 0,Ui.shouldUseBlock&&(Oi=!0)}if(h.children.length>0)if(Te===U&&(Oi=!0,Mt|=1024),we&&Te!==y&&Te!==U){const{slots:Qi,hasDynamicSlots:mn}=Mr(h,k);ft=Qi,mn&&(Mt|=1024)}else if(h.children.length===1&&Te!==y){const Qi=h.children[0],mn=Qi.type,Lr=mn===5||mn===8;Lr&&hr(Qi,k)===0&&(Mt|=1),Lr||mn===2?ft=Qi:ft=h.children}else ft=h.children;Mt!==0&&(Ut=String(Mt),fi&&fi.length&&(gi=eo(fi))),h.codegenNode=hi(k,Te,ze,ft,Ut,gi,bi,!!Oi,!1,we,h.loc)};function fo(h,k,I=!1){let{tag:ne}=h;const je=po(ne),we=ct(h,"is");if(we)if(je||Fr("COMPILER_IS_ON_ELEMENT",k)){const ze=we.type===6?we.value&&ci(we.value.content,!0):we.exp;if(ze)return x(k.helper(xe),[ze])}else we.type===6&&we.value.content.startsWith("vue:")&&(ne=we.value.content.slice(4));const Te=!je&&_n(h,"is");if(Te&&Te.exp)return x(k.helper(xe),[Te.exp]);const Re=Pn(ne)||k.isBuiltInComponent(ne);return Re?(I||k.helper(Re),Re):(k.helper(be),k.components.add(ne),Dn(ne,"component"))}function ho(h,k,I=h.props,ne,je,we=!1){const{tag:Te,loc:Re,children:ze}=h;let ft=[];const Ut=[],Mt=[],gi=ze.length>0;let fi=!1,bi=0,Oi=!1,Ui=!1,Qi=!1,mn=!1,Lr=!1,Vo=!1;const $r=[],zn=kn=>{ft.length&&(Ut.push(Si(Zs(ft),Re)),ft=[]),kn&&Ut.push(kn)},jn=({key:kn,value:Nn})=>{if(Yi(kn)){const ln=kn.content,In=(0,R.isOn)(ln);if(In&&(!ne||je)&&ln.toLowerCase()!=="onclick"&&ln!=="onUpdate:modelValue"&&!(0,R.isReservedProp)(ln)&&(mn=!0),In&&(0,R.isReservedProp)(ln)&&(Vo=!0),Nn.type===20||(Nn.type===4||Nn.type===8)&&hr(Nn,k)>0)return;ln==="ref"?Oi=!0:ln==="class"?Ui=!0:ln==="style"?Qi=!0:ln!=="key"&&!$r.includes(ln)&&$r.push(ln),ne&&(ln==="class"||ln==="style")&&!$r.includes(ln)&&$r.push(ln)}else Lr=!0};for(let kn=0;kn<I.length;kn++){const Nn=I[kn];if(Nn.type===6){const{loc:ln,name:In,value:tr}=Nn;let as=!0;if(In==="ref"&&(Oi=!0,k.scopes.vFor>0&&ft.push(Di(ci("ref_for",!0),ci("true")))),In==="is"&&(po(Te)||tr&&tr.content.startsWith("vue:")||Fr("COMPILER_IS_ON_ELEMENT",k)))continue;ft.push(Di(ci(In,!0,rr(ln,0,In.length)),ci(tr?tr.content:"",as,tr?tr.loc:ln)))}else{const{name:ln,arg:In,exp:tr,loc:as}=Nn,Qr=ln==="bind",Is=ln==="on";if(ln==="slot"){ne||k.onError(Q(40,as));continue}if(ln==="once"||ln==="memo"||ln==="is"||Qr&&Vt(In,"is")&&(po(Te)||Fr("COMPILER_IS_ON_ELEMENT",k))||Is&&we)continue;if((Qr&&Vt(In,"key")||Is&&gi&&Vt(In,"vue:before-update"))&&(fi=!0),Qr&&Vt(In,"ref")&&k.scopes.vFor>0&&ft.push(Di(ci("ref_for",!0),ci("true"))),!In&&(Qr||Is)){if(Lr=!0,tr)if(Qr){if(zn(),Fr("COMPILER_V_BIND_OBJECT_ORDER",k)){Ut.unshift(tr);continue}Ut.push(tr)}else zn({type:14,loc:as,callee:k.helper(oe),arguments:ne?[tr]:[tr,"true"]});else k.onError(Q(Qr?34:35,as));continue}const io=k.directiveTransforms[ln];if(io){const{props:ka,needRuntime:Uo}=io(Nn,h,k);!we&&ka.forEach(jn),Is&&In&&!Yi(In)?zn(Si(ka,Re)):ft.push(...ka),Uo&&(Mt.push(Nn),(0,R.isSymbol)(Uo)&&Qs.set(Nn,Uo))}else(0,R.isBuiltInDirective)(ln)||(Mt.push(Nn),gi&&(fi=!0))}}let Ni;if(Ut.length?(zn(),Ut.length>1?Ni=x(k.helper(Be),Ut,Re):Ni=Ut[0]):ft.length&&(Ni=Si(Zs(ft),Re)),Lr?bi|=16:(Ui&&!ne&&(bi|=2),Qi&&!ne&&(bi|=4),$r.length&&(bi|=8),mn&&(bi|=32)),!fi&&(bi===0||bi===32)&&(Oi||Vo||Mt.length>0)&&(bi|=512),!k.inSSR&&Ni)switch(Ni.type){case 15:let kn=-1,Nn=-1,ln=!1;for(let as=0;as<Ni.properties.length;as++){const Qr=Ni.properties[as].key;Yi(Qr)?Qr.content==="class"?kn=as:Qr.content==="style"&&(Nn=as):Qr.isHandlerKey||(ln=!0)}const In=Ni.properties[kn],tr=Ni.properties[Nn];ln?Ni=x(k.helper(B),[Ni]):(In&&!Yi(In.value)&&(In.value=x(k.helper(ve),[In.value])),tr&&(Qi||tr.value.type===4&&tr.value.content.trim()[0]==="["||tr.value.type===17)&&(tr.value=x(k.helper(L),[tr.value])));break;case 14:break;default:Ni=x(k.helper(B),[x(k.helper(F),[Ni])]);break}return{props:Ni,directives:Mt,patchFlag:bi,dynamicPropNames:$r,shouldUseBlock:fi}}function Zs(h){const k=new Map,I=[];for(let ne=0;ne<h.length;ne++){const je=h[ne];if(je.key.type===8||!je.key.isStatic){I.push(je);continue}const we=je.key.content,Te=k.get(we);Te?(we==="style"||we==="class"||(0,R.isOn)(we))&&So(Te,je):(k.set(we,je),I.push(je))}return I}function So(h,k){h.value.type===17?h.value.elements.push(k.value):h.value=Ji([h.value,k.value],h.loc)}function Ts(h,k){const I=[],ne=Qs.get(h);ne?I.push(k.helperString(ne)):(k.helper(ce),k.directives.add(h.name),I.push(Dn(h.name,"directive")));const{loc:je}=h;if(h.exp&&I.push(h.exp),h.arg&&(h.exp||I.push("void 0"),I.push(h.arg)),Object.keys(h.modifiers).length){h.arg||(h.exp||I.push("void 0"),I.push("void 0"));const we=ci("true",!1,je);I.push(Si(h.modifiers.map(Te=>Di(Te,we)),je))}return Ji(I,h.loc)}function eo(h){let k="[";for(let I=0,ne=h.length;I<ne;I++)k+=JSON.stringify(h[I]),I<ne-1&&(k+=", ");return k+"]"}function po(h){return h==="component"||h==="Component"}const Lo=(h,k)=>{if(p(h)){const{children:I,loc:ne}=h,{slotName:je,slotProps:we}=pr(h,k),Te=[k.prefixIdentifiers?"_ctx.$slots":"$slots",je,"{}","undefined","true"];let Re=2;we&&(Te[2]=we,Re=3),I.length&&(Te[3]=P([],I,!1,!1,ne),Re=4),k.scopeId&&!k.slotted&&(Re=5),Te.splice(Re),h.codegenNode=x(k.helper(Fe),Te,ne)}};function pr(h,k){let I='"default"',ne;const je=[];for(let we=0;we<h.props.length;we++){const Te=h.props[we];Te.type===6?Te.value&&(Te.name==="name"?I=JSON.stringify(Te.value.content):(Te.name=(0,R.camelize)(Te.name),je.push(Te))):Te.name==="bind"&&Vt(Te.arg,"name")?Te.exp&&(I=Te.exp):(Te.name==="bind"&&Te.arg&&Yi(Te.arg)&&(Te.arg.content=(0,R.camelize)(Te.arg.content)),je.push(Te))}if(je.length>0){const{props:we,directives:Te}=ho(h,k,je,!1,!1);ne=we,Te.length&&k.onError(Q(36,Te[0].loc))}return{slotName:I,slotProps:ne}}const Io=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Fo=(h,k,I,ne)=>{const{loc:je,modifiers:we,arg:Te}=h;!h.exp&&!we.length&&I.onError(Q(35,je));let Re;if(Te.type===4)if(Te.isStatic){let Mt=Te.content;Mt.startsWith("vue:")&&(Mt=`vnode-${Mt.slice(4)}`);const gi=k.tagType!==0||Mt.startsWith("vnode")||!/[A-Z]/.test(Mt)?(0,R.toHandlerKey)((0,R.camelize)(Mt)):`on:${Mt}`;Re=ci(gi,!0,Te.loc)}else Re=Wi([`${I.helperString(Xe)}(`,Te,")"]);else Re=Te,Re.children.unshift(`${I.helperString(Xe)}(`),Re.children.push(")");let ze=h.exp;ze&&!ze.content.trim()&&(ze=void 0);let ft=I.cacheHandlers&&!ze&&!I.inVOnce;if(ze){const Mt=Zn(ze.content),gi=!(Mt||Io.test(ze.content)),fi=ze.content.includes(";");(gi||ft&&Mt)&&(ze=Wi([`${gi?"$event":"(...args)"} => ${fi?"{":"("}`,ze,fi?"}":")"]))}let Ut={props:[Di(Re,ze||ci("() => {}",!1,je))]};return ne&&(Ut=ne(Ut)),ft&&(Ut.props[0].value=I.cache(Ut.props[0].value)),Ut.props.forEach(Mt=>Mt.key.isHandlerKey=!0),Ut},mo=(h,k,I)=>{const{exp:ne,modifiers:je,loc:we}=h,Te=h.arg;return Te.type!==4?(Te.children.unshift("("),Te.children.push(') || ""')):Te.isStatic||(Te.content=`${Te.content} || ""`),je.includes("camel")&&(Te.type===4?Te.isStatic?Te.content=(0,R.camelize)(Te.content):Te.content=`${I.helperString(ye)}(${Te.content})`:(Te.children.unshift(`${I.helperString(ye)}(`),Te.children.push(")"))),I.inSSR||(je.includes("prop")&&No(Te,"."),je.includes("attr")&&No(Te,"^")),!ne||ne.type===4&&!ne.content.trim()?(I.onError(Q(34,we)),{props:[Di(Te,ci("",!0,we))]}):{props:[Di(Te,ne)]}},No=(h,k)=>{h.type===4?h.isStatic?h.content=k+h.content:h.content=`\`${k}\${${h.content}}\``:(h.children.unshift(`'${k}' + (`),h.children.push(")"))},Bo=(h,k)=>{if(h.type===0||h.type===1||h.type===11||h.type===10)return()=>{const I=h.children;let ne,je=!1;for(let we=0;we<I.length;we++){const Te=I[we];if(vi(Te)){je=!0;for(let Re=we+1;Re<I.length;Re++){const ze=I[Re];if(vi(ze))ne||(ne=I[we]=Wi([Te],Te.loc)),ne.children.push(" + ",ze),I.splice(Re,1),Re--;else{ne=void 0;break}}}}if(!(!je||I.length===1&&(h.type===0||h.type===1&&h.tagType===0&&!h.props.find(we=>we.type===7&&!k.directiveTransforms[we.name])&&h.tag!=="template")))for(let we=0;we<I.length;we++){const Te=I[we];if(vi(Te)||Te.type===8){const Re=[];(Te.type!==2||Te.content!==" ")&&Re.push(Te),!k.ssr&&hr(Te,k)===0&&Re.push("1"),I[we]={type:12,content:Te,loc:Te.loc,codegenNode:x(k.helper(z),Re)}}}}},fa=new WeakSet,Xo=(h,k)=>{if(h.type===1&&_n(h,"once",!0))return fa.has(h)||k.inVOnce||k.inSSR?void 0:(fa.add(h),k.inVOnce=!0,k.helper(de),()=>{k.inVOnce=!1;const I=k.currentNode;I.codegenNode&&(I.codegenNode=k.cache(I.codegenNode,!0))})},Ur=(h,k,I)=>{const{exp:ne,arg:je}=h;if(!ne)return I.onError(Q(41,h.loc)),Ce();const we=ne.loc.source,Te=ne.type===4?ne.content:we,Re=I.bindingMetadata[we];if(Re==="props"||Re==="props-aliased")return I.onError(Q(44,ne.loc)),Ce();const ze=!1;if(!Te.trim()||!Zn(Te)&&!ze)return I.onError(Q(42,ne.loc)),Ce();const ft=je||ci("modelValue",!0),Ut=je?Yi(je)?`onUpdate:${(0,R.camelize)(je.content)}`:Wi(['"onUpdate:" + ',je]):"onUpdate:modelValue";let Mt;const gi=I.isTS?"($event: any)":"$event";Mt=Wi([`${gi} => ((`,ne,") = $event)"]);const fi=[Di(ft,h.exp),Di(Ut,Mt)];if(h.modifiers.length&&k.tagType===1){const bi=h.modifiers.map(Ui=>(Pi(Ui)?Ui:JSON.stringify(Ui))+": true").join(", "),Oi=je?Yi(je)?`${je.content}Modifiers`:Wi([je,' + "Modifiers"']):"modelModifiers";fi.push(Di(Oi,ci(`{ ${bi} }`,!1,h.loc,2)))}return Ce(fi)};function Ce(h=[]){return{props:h}}const We=/[\w).+\-_$\]]/,mt=(h,k)=>{Fr("COMPILER_FILTER",k)&&(h.type===5&&yt(h.content,k),h.type===1&&h.props.forEach(I=>{I.type===7&&I.name!=="for"&&I.exp&&yt(I.exp,k)}))};function yt(h,k){if(h.type===4)Rt(h,k);else for(let I=0;I<h.children.length;I++){const ne=h.children[I];typeof ne=="object"&&(ne.type===4?Rt(ne,k):ne.type===8?yt(h,k):ne.type===5&&yt(ne.content,k))}}function Rt(h,k){const I=h.content;let ne=!1,je=!1,we=!1,Te=!1,Re=0,ze=0,ft=0,Ut=0,Mt,gi,fi,bi,Oi=[];for(fi=0;fi<I.length;fi++)if(gi=Mt,Mt=I.charCodeAt(fi),ne)Mt===39&&gi!==92&&(ne=!1);else if(je)Mt===34&&gi!==92&&(je=!1);else if(we)Mt===96&&gi!==92&&(we=!1);else if(Te)Mt===47&&gi!==92&&(Te=!1);else if(Mt===124&&I.charCodeAt(fi+1)!==124&&I.charCodeAt(fi-1)!==124&&!Re&&!ze&&!ft)bi===void 0?(Ut=fi+1,bi=I.slice(0,fi).trim()):Ui();else{switch(Mt){case 34:je=!0;break;case 39:ne=!0;break;case 96:we=!0;break;case 40:ft++;break;case 41:ft--;break;case 91:ze++;break;case 93:ze--;break;case 123:Re++;break;case 125:Re--;break}if(Mt===47){let Qi=fi-1,mn;for(;Qi>=0&&(mn=I.charAt(Qi),mn===" ");Qi--);(!mn||!We.test(mn))&&(Te=!0)}}bi===void 0?bi=I.slice(0,fi).trim():Ut!==0&&Ui();function Ui(){Oi.push(I.slice(Ut,fi).trim()),Ut=fi+1}if(Oi.length){for(fi=0;fi<Oi.length;fi++)bi=Nt(bi,Oi[fi],k);h.content=bi}}function Nt(h,k,I){I.helper(ke);const ne=k.indexOf("(");if(ne<0)return I.filters.add(k),`${Dn(k,"filter")}(${h})`;{const je=k.slice(0,ne),we=k.slice(ne+1);return I.filters.add(je),`${Dn(je,"filter")}(${h}${we!==")"?","+we:we}`}}const ni=new WeakSet,_i=(h,k)=>{if(h.type===1){const I=_n(h,"memo");return!I||ni.has(h)?void 0:(ni.add(h),()=>{const ne=h.codegenNode||k.currentNode.codegenNode;ne&&ne.type===13&&(h.tagType!==1&&ji(ne,k),h.codegenNode=x(k.helper(jt),[I.exp,P(void 0,ne),"_cache",String(k.cached++)]))})}};function oi(h){return[[Xo,_r,_i,vs,mt,Lo,Ls,Vr,Bo],{on:Fo,bind:mo,model:Ur}]}function on(h,k={}){const I=k.onError||j,ne=k.mode==="module";k.prefixIdentifiers===!0?I(Q(47)):ne&&I(Q(48));const je=!1;k.cacheHandlers&&I(Q(49)),k.scopeId&&!ne&&I(Q(50));const we=(0,R.isString)(h)?Le(h,k):h,[Te,Re]=oi();return wo(we,(0,R.extend)({},k,{prefixIdentifiers:je,nodeTransforms:[...Te,...k.nodeTransforms||[]],directiveTransforms:(0,R.extend)({},Re,k.directiveTransforms||{})})),ya(we,(0,R.extend)({},k,{prefixIdentifiers:je}))}const wi=()=>({props:[]}),fn=Symbol(""),an=Symbol(""),Ei=Symbol(""),Un=Symbol(""),bn=Symbol(""),Rr=Symbol(""),hs=Symbol(""),ys=Symbol(""),qr=Symbol(""),xr=Symbol("");Zt({[fn]:"vModelRadio",[an]:"vModelCheckbox",[Ei]:"vModelText",[Un]:"vModelSelect",[bn]:"vModelDynamic",[Rr]:"withModifiers",[hs]:"withKeys",[ys]:"vShow",[qr]:"Transition",[xr]:"TransitionGroup"});let Jo;function wa(h,k=!1){return Jo||(Jo=document.createElement("div")),k?(Jo.innerHTML=`<div foo="${h.replace(/"/g,"&quot;")}">`,Jo.children[0].getAttribute("foo")):(Jo.innerHTML=h,Jo.textContent)}const xa=(0,R.makeMap)("style,iframe,script,noscript",!0),ja={isVoidTag:R.isVoidTag,isNativeTag:h=>(0,R.isHTMLTag)(h)||(0,R.isSVGTag)(h),isPreTag:h=>h==="pre",decodeEntities:wa,isBuiltInComponent:h=>{if(Mi(h,"Transition"))return qr;if(Mi(h,"TransitionGroup"))return xr},getNamespace(h,k){let I=k?k.ns:0;if(k&&I===2)if(k.tag==="annotation-xml"){if(h==="svg")return 1;k.props.some(ne=>ne.type===6&&ne.name==="encoding"&&ne.value!=null&&(ne.value.content==="text/html"||ne.value.content==="application/xhtml+xml"))&&(I=0)}else/^m(?:[ions]|text)$/.test(k.tag)&&h!=="mglyph"&&h!=="malignmark"&&(I=0);else k&&I===1&&(k.tag==="foreignObject"||k.tag==="desc"||k.tag==="title")&&(I=0);if(I===0){if(h==="svg")return 1;if(h==="math")return 2}return I},getTextMode({tag:h,ns:k}){if(k===0){if(h==="textarea"||h==="title")return 1;if(xa(h))return 2}return 0}},Ra=h=>{h.type===1&&h.props.forEach((k,I)=>{k.type===6&&k.name==="style"&&k.value&&(h.props[I]={type:7,name:"bind",arg:ci("style",!0,k.loc),exp:Sa(k.value.content,k.loc),modifiers:[],loc:k.loc})})},Sa=(h,k)=>{const I=(0,R.parseStringStyle)(h);return ci(JSON.stringify(I),!1,k,3)};function ar(h,k){return Q(h,k,void 0)}const to={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},Es=(h,k,I)=>{const{exp:ne,loc:je}=h;return ne||I.onError(ar(53,je)),k.children.length&&(I.onError(ar(54,je)),k.children.length=0),{props:[Di(ci("innerHTML",!0,je),ne||ci("",!0))]}},Er=(h,k,I)=>{const{exp:ne,loc:je}=h;return ne||I.onError(ar(55,je)),k.children.length&&(I.onError(ar(56,je)),k.children.length=0),{props:[Di(ci("textContent",!0),ne?hr(ne,I)>0?ne:x(I.helperString(ee),[ne],je):ci("",!0))]}},jr=(h,k,I)=>{const ne=Ur(h,k,I);if(!ne.props.length||k.tagType===1)return ne;h.arg&&I.onError(ar(58,h.arg.loc));function je(){const Re=ct(k,"value");Re&&I.onError(ar(60,Re.loc))}const{tag:we}=k,Te=I.isCustomElement(we);if(we==="input"||we==="textarea"||we==="select"||Te){let Re=Ei,ze=!1;if(we==="input"||Te){const ft=ct(k,"type");if(ft){if(ft.type===7)Re=bn;else if(ft.value)switch(ft.value.content){case"radio":Re=fn;break;case"checkbox":Re=an;break;case"file":ze=!0,I.onError(ar(59,h.loc));break;default:break}}else Jt(k)&&(Re=bn)}else we==="select"&&(Re=Un);ze||(ne.needRuntime=I.helper(Re))}else I.onError(ar(57,h.loc));return ne.props=ne.props.filter(Re=>!(Re.key.type===4&&Re.key.content==="modelValue")),ne},_s=(0,R.makeMap)("passive,once,capture"),Wn=(0,R.makeMap)("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Ys=(0,R.makeMap)("left,right"),Ho=(0,R.makeMap)("onkeyup,onkeydown,onkeypress",!0),ps=(h,k,I,ne)=>{const je=[],we=[],Te=[];for(let Re=0;Re<k.length;Re++){const ze=k[Re];ze==="native"&&ns("COMPILER_V_ON_NATIVE",I,ne)||_s(ze)?Te.push(ze):Ys(ze)?Yi(h)?Ho(h.content)?je.push(ze):we.push(ze):(je.push(ze),we.push(ze)):Wn(ze)?we.push(ze):je.push(ze)}return{keyModifiers:je,nonKeyModifiers:we,eventOptionModifiers:Te}},os=(h,k)=>Yi(h)&&h.content.toLowerCase()==="onclick"?ci(k,!0):h.type!==4?Wi(["(",h,`) === "onClick" ? "${k}" : (`,h,")"]):h,Co=(h,k,I)=>Fo(h,k,I,ne=>{const{modifiers:je}=h;if(!je.length)return ne;let{key:we,value:Te}=ne.props[0];const{keyModifiers:Re,nonKeyModifiers:ze,eventOptionModifiers:ft}=ps(we,je,I,h.loc);if(ze.includes("right")&&(we=os(we,"onContextmenu")),ze.includes("middle")&&(we=os(we,"onMouseup")),ze.length&&(Te=x(I.helper(Rr),[Te,JSON.stringify(ze)])),Re.length&&(!Yi(we)||Ho(we.content))&&(Te=x(I.helper(hs),[Te,JSON.stringify(Re)])),ft.length){const Ut=ft.map(R.capitalize).join("");we=Yi(we)?ci(`${we.content}${Ut}`,!0):Wi(["(",we,`) + "${Ut}"`])}return{props:[Di(we,Te)]}}),ks=(h,k,I)=>{const{exp:ne,loc:je}=h;return ne||I.onError(ar(61,je)),{props:[],needRuntime:I.helper(ys)}},To=(h,k)=>{if(h.type===1&&h.tagType===1&&k.isBuiltInComponent(h.tag)===qr)return()=>{if(!h.children.length)return;Ca(h)&&k.onError(ar(62,{start:h.children[0].loc.start,end:h.children[h.children.length-1].loc.end,source:""}));const ne=h.children[0];if(ne.type===1)for(const je of ne.props)je.type===7&&je.name==="show"&&h.props.push({type:6,name:"persisted",value:void 0,loc:h.loc})}};function Ca(h){const k=h.children=h.children.filter(ne=>ne.type!==3&&!(ne.type===2&&!ne.content.trim())),I=k[0];return k.length!==1||I.type===11||I.type===9&&I.branches.some(Ca)}const Ya=(h,k)=>{h.type===1&&h.tagType===0&&(h.tag==="script"||h.tag==="style")&&k.removeNode()},Ta=[Ra],go={cloak:wi,html:Es,text:Er,model:jr,on:Co,show:ks};function Kr(h,k={}){return on(h,(0,R.extend)({},ja,k,{nodeTransforms:[Ya,...Ta,...k.nodeTransforms||[]],directiveTransforms:(0,R.extend)({},go,k.directiveTransforms||{}),transformHoist:null}))}function Ea(h,k={}){return Le(h,(0,R.extend)({},ja,k))}},"./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":function(S,dt,gt){"use strict";gt.d(dt,{$y:function(){return p},B:function(){return V},BK:function(){return Ii},Bj:function(){return Q},EB:function(){return $},Fl:function(){return $n},IU:function(){return cn},Jd:function(){return ee},OT:function(){return Jt},PG:function(){return vn},SU:function(){return me},Tn:function(){return Le},Um:function(){return Vt},Vh:function(){return qi},WL:function(){return Ot},X$:function(){return F},X3:function(){return Cn},XI:function(){return ns},Xl:function(){return Ir},YS:function(){return vi},ZM:function(){return ii},cE:function(){return Ae},dq:function(){return Fn},iH:function(){return Fr},j:function(){return L},lk:function(){return ve},nZ:function(){return y},oR:function(){return ie},qj:function(){return ct},qq:function(){return ce},sT:function(){return _},yT:function(){return Li}});var R=gt("./node_modules/@vue/shared/dist/shared.esm-bundler.js");function j(ge,...Ke){console.warn(`[Vue warn] ${ge}`,...Ke)}let f;class Q{constructor(Ke=!1){this.detached=Ke,this._active=!0,this.effects=[],this.cleanups=[],this.parent=f,!Ke&&f&&(this.index=(f.scopes||(f.scopes=[])).push(this)-1)}get active(){return this._active}run(Ke){if(this._active){const ut=f;try{return f=this,Ke()}finally{f=ut}}}on(){f=this}off(){f=this.parent}stop(Ke){if(this._active){let ut,Pt;for(ut=0,Pt=this.effects.length;ut<Pt;ut++)this.effects[ut].stop();for(ut=0,Pt=this.cleanups.length;ut<Pt;ut++)this.cleanups[ut]();if(this.scopes)for(ut=0,Pt=this.scopes.length;ut<Pt;ut++)this.scopes[ut].stop(!0);if(!this.detached&&this.parent&&!Ke){const It=this.parent.scopes.pop();It&&It!==this&&(this.parent.scopes[this.index]=It,It.index=this.index)}this.parent=void 0,this._active=!1}}}function V(ge){return new Q(ge)}function se(ge,Ke=f){Ke&&Ke.active&&Ke.effects.push(ge)}function y(){return f}function $(ge){f&&f.cleanups.push(ge)}const U=ge=>{const Ke=new Set(ge);return Ke.w=0,Ke.n=0,Ke},H=ge=>(ge.w&A)>0,O=ge=>(ge.n&A)>0,Z=({deps:ge})=>{if(ge.length)for(let Ke=0;Ke<ge.length;Ke++)ge[Ke].w|=A},he=ge=>{const{deps:Ke}=ge;if(Ke.length){let ut=0;for(let Pt=0;Pt<Ke.length;Pt++){const It=Ke[Pt];H(It)&&!O(It)?It.delete(ge):Ke[ut++]=It,It.w&=~A,It.n&=~A}Ke.length=ut}},te=new WeakMap;let J=0,A=1;const z=30;let le;const be=Symbol(""),xe=Symbol("");class ce{constructor(Ke,ut=null,Pt){this.fn=Ke,this.scheduler=ut,this.active=!0,this.deps=[],this.parent=void 0,se(this,Pt)}run(){if(!this.active)return this.fn();let Ke=le,ut=Fe;for(;Ke;){if(Ke===this)return;Ke=Ke.parent}try{return this.parent=le,le=this,Fe=!0,A=1<<++J,J<=z?Z(this):ke(this),this.fn()}finally{J<=z&&he(this),A=1<<--J,le=this.parent,Fe=ut,this.parent=void 0,this.deferStop&&this.stop()}}stop(){le===this?this.deferStop=!0:this.active&&(ke(this),this.onStop&&this.onStop(),this.active=!1)}}function ke(ge){const{deps:Ke}=ge;if(Ke.length){for(let ut=0;ut<Ke.length;ut++)Ke[ut].delete(ge);Ke.length=0}}function Ae(ge,Ke){ge.effect&&(ge=ge.effect.fn);const ut=new ce(ge);Ke&&((0,R.extend)(ut,Ke),Ke.scope&&se(ut,Ke.scope)),(!Ke||!Ke.lazy)&&ut.run();const Pt=ut.run.bind(ut);return Pt.effect=ut,Pt}function _(ge){ge.effect.stop()}let Fe=!0;const Se=[];function ee(){Se.push(Fe),Fe=!1}function Be(){Se.push(Fe),Fe=!0}function ve(){const ge=Se.pop();Fe=ge===void 0?!0:ge}function L(ge,Ke,ut){if(Fe&&le){let Pt=te.get(ge);Pt||te.set(ge,Pt=new Map);let It=Pt.get(ut);It||Pt.set(ut,It=U()),B(It,void 0)}}function B(ge,Ke){let ut=!1;J<=z?O(ge)||(ge.n|=A,ut=!H(ge)):ut=!ge.has(le),ut&&(ge.add(le),le.deps.push(ge))}function F(ge,Ke,ut,Pt,It,li){const ei=te.get(ge);if(!ei)return;let Yt=[];if(Ke==="clear")Yt=[...ei.values()];else if(ut==="length"&&(0,R.isArray)(ge)){const Qn=Number(Pt);ei.forEach((dr,lr)=>{(lr==="length"||lr>=Qn)&&Yt.push(dr)})}else switch(ut!==void 0&&Yt.push(ei.get(ut)),Ke){case"add":(0,R.isArray)(ge)?(0,R.isIntegerKey)(ut)&&Yt.push(ei.get("length")):(Yt.push(ei.get(be)),(0,R.isMap)(ge)&&Yt.push(ei.get(xe)));break;case"delete":(0,R.isArray)(ge)||(Yt.push(ei.get(be)),(0,R.isMap)(ge)&&Yt.push(ei.get(xe)));break;case"set":(0,R.isMap)(ge)&&Yt.push(ei.get(be));break}const En=void 0;if(Yt.length===1)Yt[0]&&oe(Yt[0]);else{const Qn=[];for(const dr of Yt)dr&&Qn.push(...dr);oe(U(Qn))}}function oe(ge,Ke){const ut=(0,R.isArray)(ge)?ge:[...ge];for(const Pt of ut)Pt.computed&&ye(Pt,Ke);for(const Pt of ut)Pt.computed||ye(Pt,Ke)}function ye(ge,Ke){(ge!==le||ge.allowRecurse)&&(ge.scheduler?ge.scheduler():ge.run())}function Ue(ge,Ke){var ut;return(ut=te.get(ge))==null?void 0:ut.get(Ke)}const Xe=(0,R.makeMap)("__proto__,__v_isRef,__isVue"),de=new Set(Object.getOwnPropertyNames(Symbol).filter(ge=>ge!=="arguments"&&ge!=="caller").map(ge=>Symbol[ge]).filter(R.isSymbol)),X=wt(),pe=wt(!1,!0),N=wt(!0),_e=wt(!0,!0),qe=jt();function jt(){const ge={};return["includes","indexOf","lastIndexOf"].forEach(Ke=>{ge[Ke]=function(...ut){const Pt=cn(this);for(let li=0,ei=this.length;li<ei;li++)L(Pt,"get",li+"");const It=Pt[Ke](...ut);return It===-1||It===!1?Pt[Ke](...ut.map(cn)):It}}),["push","pop","shift","unshift","splice"].forEach(Ke=>{ge[Ke]=function(...ut){ee();const Pt=cn(this)[Ke].apply(this,ut);return ve(),Pt}}),ge}function _t(ge){const Ke=cn(this);return L(Ke,"has",ge),Ke.hasOwnProperty(ge)}function wt(ge=!1,Ke=!1){return function(Pt,It,li){if(It==="__v_isReactive")return!ge;if(It==="__v_isReadonly")return ge;if(It==="__v_isShallow")return Ke;if(It==="__v_raw"&&li===(ge?Ke?Yn:vr:Ke?rr:Zn).get(Pt))return Pt;const ei=(0,R.isArray)(Pt);if(!ge){if(ei&&(0,R.hasOwn)(qe,It))return Reflect.get(qe,It,li);if(It==="hasOwnProperty")return _t}const Yt=Reflect.get(Pt,It,li);return((0,R.isSymbol)(It)?de.has(It):Xe(It))||(ge||L(Pt,"get",It),Ke)?Yt:Fn(Yt)?ei&&(0,R.isIntegerKey)(It)?Yt:Yt.value:(0,R.isObject)(Yt)?ge?Jt(Yt):ct(Yt):Yt}}const Zt=ki(),zt=ki(!0);function ki(ge=!1){return function(ut,Pt,It,li){let ei=ut[Pt];if(p(ei)&&Fn(ei)&&!Fn(It))return!1;if(!ge&&(!Li(It)&&!p(It)&&(ei=cn(ei),It=cn(It)),!(0,R.isArray)(ut)&&Fn(ei)&&!Fn(It)))return ei.value=It,!0;const Yt=(0,R.isArray)(ut)&&(0,R.isIntegerKey)(Pt)?Number(Pt)<ut.length:(0,R.hasOwn)(ut,Pt),En=Reflect.set(ut,Pt,It,li);return ut===cn(li)&&(Yt?(0,R.hasChanged)(It,ei)&&F(ut,"set",Pt,It,ei):F(ut,"add",Pt,It)),En}}function hi(ge,Ke){const ut=(0,R.hasOwn)(ge,Ke),Pt=ge[Ke],It=Reflect.deleteProperty(ge,Ke);return It&&ut&&F(ge,"delete",Ke,void 0,Pt),It}function Ji(ge,Ke){const ut=Reflect.has(ge,Ke);return(!(0,R.isSymbol)(Ke)||!de.has(Ke))&&L(ge,"has",Ke),ut}function Si(ge){return L(ge,"iterate",(0,R.isArray)(ge)?"length":be),Reflect.ownKeys(ge)}const Di={get:X,set:Zt,deleteProperty:hi,has:Ji,ownKeys:Si},ci={get:N,set(ge,Ke){return!0},deleteProperty(ge,Ke){return!0}},On=(0,R.extend)({},Di,{get:pe,set:zt}),Wi=(0,R.extend)({},ci,{get:_e}),x=ge=>ge,P=ge=>Reflect.getPrototypeOf(ge);function re(ge,Ke,ut=!1,Pt=!1){ge=ge.__v_raw;const It=cn(ge),li=cn(Ke);ut||(Ke!==li&&L(It,"get",Ke),L(It,"get",li));const{has:ei}=P(It),Yt=Pt?x:ut?Gn:Dn;if(ei.call(It,Ke))return Yt(ge.get(Ke));if(ei.call(It,li))return Yt(ge.get(li));ge!==It&&ge.get(Ke)}function Ie(ge,Ke=!1){const ut=this.__v_raw,Pt=cn(ut),It=cn(ge);return Ke||(ge!==It&&L(Pt,"has",ge),L(Pt,"has",It)),ge===It?ut.has(ge):ut.has(ge)||ut.has(It)}function Ve(ge,Ke=!1){return ge=ge.__v_raw,!Ke&&L(cn(ge),"iterate",be),Reflect.get(ge,"size",ge)}function it(ge){ge=cn(ge);const Ke=cn(this);return P(Ke).has.call(Ke,ge)||(Ke.add(ge),F(Ke,"add",ge,ge)),this}function nt(ge,Ke){Ke=cn(Ke);const ut=cn(this),{has:Pt,get:It}=P(ut);let li=Pt.call(ut,ge);li||(ge=cn(ge),li=Pt.call(ut,ge));const ei=It.call(ut,ge);return ut.set(ge,Ke),li?(0,R.hasChanged)(Ke,ei)&&F(ut,"set",ge,Ke,ei):F(ut,"add",ge,Ke),this}function Qt(ge){const Ke=cn(this),{has:ut,get:Pt}=P(Ke);let It=ut.call(Ke,ge);It||(ge=cn(ge),It=ut.call(Ke,ge));const li=Pt?Pt.call(Ke,ge):void 0,ei=Ke.delete(ge);return It&&F(Ke,"delete",ge,void 0,li),ei}function pi(){const ge=cn(this),Ke=ge.size!==0,ut=void 0,Pt=ge.clear();return Ke&&F(ge,"clear",void 0,void 0,ut),Pt}function Ci(ge,Ke){return function(Pt,It){const li=this,ei=li.__v_raw,Yt=cn(ei),En=Ke?x:ge?Gn:Dn;return!ge&&L(Yt,"iterate",be),ei.forEach((Qn,dr)=>Pt.call(It,En(Qn),En(dr),li))}}function pn(ge,Ke,ut){return function(...Pt){const It=this.__v_raw,li=cn(It),ei=(0,R.isMap)(li),Yt=ge==="entries"||ge===Symbol.iterator&&ei,En=ge==="keys"&&ei,Qn=It[ge](...Pt),dr=ut?x:Ke?Gn:Dn;return!Ke&&L(li,"iterate",En?xe:be),{next(){const{value:lr,done:hr}=Qn.next();return hr?{value:lr,done:hr}:{value:Yt?[dr(lr[0]),dr(lr[1])]:dr(lr),done:hr}},[Symbol.iterator](){return this}}}}function Zi(ge){return function(...Ke){return ge==="delete"?!1:this}}function ji(){const ge={get(li){return re(this,li)},get size(){return Ve(this)},has:Ie,add:it,set:nt,delete:Qt,clear:pi,forEach:Ci(!1,!1)},Ke={get(li){return re(this,li,!1,!0)},get size(){return Ve(this)},has:Ie,add:it,set:nt,delete:Qt,clear:pi,forEach:Ci(!1,!0)},ut={get(li){return re(this,li,!0)},get size(){return Ve(this,!0)},has(li){return Ie.call(this,li,!0)},add:Zi("add"),set:Zi("set"),delete:Zi("delete"),clear:Zi("clear"),forEach:Ci(!0,!1)},Pt={get(li){return re(this,li,!0,!0)},get size(){return Ve(this,!0)},has(li){return Ie.call(this,li,!0)},add:Zi("add"),set:Zi("set"),delete:Zi("delete"),clear:Zi("clear"),forEach:Ci(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(li=>{ge[li]=pn(li,!1,!1),ut[li]=pn(li,!0,!1),Ke[li]=pn(li,!1,!0),Pt[li]=pn(li,!0,!0)}),[ge,ut,Ke,Pt]}const[Yi,Mi,Pn,Ti]=ji();function Pi(ge,Ke){const ut=Ke?ge?Ti:Pn:ge?Mi:Yi;return(Pt,It,li)=>It==="__v_isReactive"?!ge:It==="__v_isReadonly"?ge:It==="__v_raw"?Pt:Reflect.get((0,R.hasOwn)(ut,It)&&It in Pt?ut:Pt,It,li)}const rn={get:Pi(!1,!1)},Ai={get:Pi(!1,!0)},Bi={get:Pi(!0,!1)},Vn={get:Pi(!0,!0)};function ls(ge,Ke,ut){const Pt=cn(ut);if(Pt!==ut&&Ke.call(ge,Pt)){const It=toRawType(ge);console.warn(`Reactive ${It} contains both the raw and reactive versions of the same object${It==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Zn=new WeakMap,rr=new WeakMap,vr=new WeakMap,Yn=new WeakMap;function br(ge){switch(ge){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _n(ge){return ge.__v_skip||!Object.isExtensible(ge)?0:br((0,R.toRawType)(ge))}function ct(ge){return p(ge)?ge:Gi(ge,!1,Di,rn,Zn)}function Vt(ge){return Gi(ge,!1,On,Ai,rr)}function Jt(ge){return Gi(ge,!0,ci,Bi,vr)}function vi(ge){return Gi(ge,!0,Wi,Vn,Yn)}function Gi(ge,Ke,ut,Pt,It){if(!(0,R.isObject)(ge)||ge.__v_raw&&!(Ke&&ge.__v_isReactive))return ge;const li=It.get(ge);if(li)return li;const ei=_n(ge);if(ei===0)return ge;const Yt=new Proxy(ge,ei===2?Pt:ut);return It.set(ge,Yt),Yt}function vn(ge){return p(ge)?vn(ge.__v_raw):!!(ge&&ge.__v_isReactive)}function p(ge){return!!(ge&&ge.__v_isReadonly)}function Li(ge){return!!(ge&&ge.__v_isShallow)}function Cn(ge){return vn(ge)||p(ge)}function cn(ge){const Ke=ge&&ge.__v_raw;return Ke?cn(Ke):ge}function Ir(ge){return(0,R.def)(ge,"__v_skip",!0),ge}const Dn=ge=>(0,R.isObject)(ge)?ct(ge):ge,Gn=ge=>(0,R.isObject)(ge)?Jt(ge):ge;function ts(ge){Fe&&le&&(ge=cn(ge),B(ge.dep||(ge.dep=U())))}function is(ge,Ke){ge=cn(ge);const ut=ge.dep;ut&&oe(ut)}function Fn(ge){return!!(ge&&ge.__v_isRef===!0)}function Fr(ge){return cs(ge,!1)}function ns(ge){return cs(ge,!0)}function cs(ge,Ke){return Fn(ge)?ge:new Vs(ge,Ke)}class Vs{constructor(Ke,ut){this.__v_isShallow=ut,this.dep=void 0,this.__v_isRef=!0,this._rawValue=ut?Ke:cn(Ke),this._value=ut?Ke:Dn(Ke)}get value(){return ts(this),this._value}set value(Ke){const ut=this.__v_isShallow||Li(Ke)||p(Ke);Ke=ut?Ke:cn(Ke),(0,R.hasChanged)(Ke,this._rawValue)&&(this._rawValue=Ke,this._value=ut?Ke:Dn(Ke),is(this,Ke))}}function ie(ge){is(ge,void 0)}function me(ge){return Fn(ge)?ge.value:ge}function Le(ge){return(0,R.isFunction)(ge)?ge():me(ge)}const Ge={get:(ge,Ke,ut)=>me(Reflect.get(ge,Ke,ut)),set:(ge,Ke,ut,Pt)=>{const It=ge[Ke];return Fn(It)&&!Fn(ut)?(It.value=ut,!0):Reflect.set(ge,Ke,ut,Pt)}};function Ot(ge){return vn(ge)?ge:new Proxy(ge,Ge)}class Bt{constructor(Ke){this.dep=void 0,this.__v_isRef=!0;const{get:ut,set:Pt}=Ke(()=>ts(this),()=>is(this));this._get=ut,this._set=Pt}get value(){return this._get()}set value(Ke){this._set(Ke)}}function ii(ge){return new Bt(ge)}function Ii(ge){const Ke=(0,R.isArray)(ge)?new Array(ge.length):{};for(const ut in ge)Ke[ut]=xn(ge,ut);return Ke}class Fi{constructor(Ke,ut,Pt){this._object=Ke,this._key=ut,this._defaultValue=Pt,this.__v_isRef=!0}get value(){const Ke=this._object[this._key];return Ke===void 0?this._defaultValue:Ke}set value(Ke){this._object[this._key]=Ke}get dep(){return Ue(cn(this._object),this._key)}}class Hi{constructor(Ke){this._getter=Ke,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function qi(ge,Ke,ut){return Fn(ge)?ge:(0,R.isFunction)(ge)?new Hi(ge):(0,R.isObject)(ge)&&arguments.length>1?xn(ge,Ke,ut):Fr(ge)}function xn(ge,Ke,ut){const Pt=ge[Ke];return Fn(Pt)?Pt:new Fi(ge,Ke,ut)}class gn{constructor(Ke,ut,Pt,It){this._setter=ut,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ce(Ke,()=>{this._dirty||(this._dirty=!0,is(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!It,this.__v_isReadonly=Pt}get value(){const Ke=cn(this);return ts(Ke),(Ke._dirty||!Ke._cacheable)&&(Ke._dirty=!1,Ke._value=Ke.effect.run()),Ke._value}set value(Ke){this._setter(Ke)}}function $n(ge,Ke,ut=!1){let Pt,It;const li=(0,R.isFunction)(ge);return li?(Pt=ge,It=R.NOOP):(Pt=ge.get,It=ge.set),new gn(Pt,It,li||!It,ut)}const Dr=null,sr=null;let Nr=!1;const js=ge=>{sr.push(ge),Nr||(Nr=!0,Dr.then(Ss))},Ss=()=>{for(let ge=0;ge<sr.length;ge++)sr[ge]();sr.length=0,Nr=!1};class Xr{constructor(Ke){this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.__v_isReadonly=!0;let ut,Pt=!1,It=!1;this.effect=new ce(Ke,li=>{if(this.dep){if(li)ut=this._value,Pt=!0;else if(!It){const ei=Pt?ut:this._value;It=!0,Pt=!1,js(()=>{this.effect.active&&this._get()!==ei&&is(this),It=!1})}for(const ei of this.dep)ei.computed instanceof Xr&&ei.scheduler(!0)}this._dirty=!0}),this.effect.computed=this}_get(){return this._dirty?(this._dirty=!1,this._value=this.effect.run()):this._value}get value(){return ts(this),cn(this)._get()}}function Mn(ge){return new Xr(ge)}},"./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":function(S,dt,gt){"use strict";gt.d(dt,{$d:function(){return J},$y:function(){return R.$y},Ah:function(){return Oo},B:function(){return R.B},BK:function(){return R.BK},Bj:function(){return R.Bj},Bz:function(){return E},C3:function(){return h},C_:function(){return j.normalizeClass},Cn:function(){return rn},EB:function(){return R.EB},EM:function(){return Ln},Eo:function(){return hs},F4:function(){return ze},FN:function(){return jn},Fl:function(){return Sl},G:function(){return Ja},Gn:function(){return ae},HX:function(){return Ai},HY:function(){return jr},Ho:function(){return ft},IU:function(){return R.IU},JJ:function(){return Or},Jd:function(){return wo},KU:function(){return te},Ko:function(){return jo},LL:function(){return co},MW:function(){return m},MX:function(){return pc},Mr:function(){return zl},Nv:function(){return Tr},OT:function(){return R.OT},Ob:function(){return li},P$:function(){return $n},PG:function(){return R.PG},Q2:function(){return Xs},Q6:function(){return Xr},RC:function(){return Ke},Rh:function(){return cs},Rr:function(){return Pe},S3:function(){return A},SU:function(){return R.SU},Tn:function(){return R.Tn},U2:function(){return sr},Uc:function(){return ul},Uk:function(){return Mt},Um:function(){return R.Um},Us:function(){return Rr},Vf:function(){return sn},Vh:function(){return R.Vh},WI:function(){return ua},WL:function(){return R.WL},WY:function(){return M},Wl:function(){return G},Wm:function(){return Te},Wu:function(){return Z},X3:function(){return R.X3},XI:function(){return R.XI},Xl:function(){return R.Xl},Xn:function(){return Ao},Y1:function(){return Ga},Y3:function(){return Be},Y8:function(){return Hi},YP:function(){return me},YS:function(){return R.YS},Yq:function(){return Gs},Yu:function(){return Y},ZK:function(){return se},ZM:function(){return R.ZM},Zq:function(){return La},_:function(){return we},_A:function(){return j.camelize},aZ:function(){return Mn},b9:function(){return Me},bT:function(){return xo},bv:function(){return $s},cE:function(){return R.cE},d1:function(){return Ro},dD:function(){return Pi},dG:function(){return Qi},dl:function(){return Yt},dq:function(){return R.dq},ec:function(){return Wi},eq:function(){return Tl},f3:function(){return Mr},h:function(){return Cl},hR:function(){return j.toHandlerKey},i8:function(){return Ia},iD:function(){return Ya},iH:function(){return R.iH},ic:function(){return rs},j4:function(){return Ta},j5:function(){return j.normalizeStyle},kC:function(){return j.capitalize},kq:function(){return fi},l1:function(){return tt},lA:function(){return go},lR:function(){return Es},m0:function(){return ns},mW:function(){return Si},mv:function(){return un},mx:function(){return ss},n4:function(){return vn},nJ:function(){return xn},nK:function(){return Ss},nQ:function(){return dl},nZ:function(){return R.nZ},oR:function(){return R.oR},of:function(){return da},p1:function(){return Tn},qG:function(){return Ys},qZ:function(){return To},qb:function(){return oe},qj:function(){return R.qj},qq:function(){return R.qq},ry:function(){return El},sT:function(){return R.sT},se:function(){return En},sv:function(){return Wn},tT:function(){return Ct},uE:function(){return gi},u_:function(){return $t},up:function(){return ya},vl:function(){return ba},vs:function(){return j.normalizeProps},w5:function(){return Bi},wF:function(){return lo},wg:function(){return os},wy:function(){return Ii},xv:function(){return _s},yT:function(){return R.yT},yX:function(){return Vs},zw:function(){return j.toDisplayString}});var R=gt("./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js"),j=gt("./node_modules/@vue/shared/dist/shared.esm-bundler.js");const f=[];function Q(o){f.push(o)}function V(){f.pop()}function se(o,...n){}function y(){let o=f[f.length-1];if(!o)return[];const n=[];for(;o;){const s=n[0];s&&s.vnode===o?s.recurseCount++:n.push({vnode:o,recurseCount:0});const c=o.component&&o.component.parent;o=c&&c.vnode}return n}function $(o){const n=[];return o.forEach((s,c)=>{n.push(...c===0?[]:[`
`],...U(s))}),n}function U({vnode:o,recurseCount:n}){const s=n>0?`... (${n} recursive calls)`:"",c=o.component?o.component.parent==null:!1,d=` at <${ll(o.component,o.type,c)}`,v=">"+s;return o.props?[d,...H(o.props),v]:[d+v]}function H(o){const n=[],s=Object.keys(o);return s.slice(0,3).forEach(c=>{n.push(...O(c,o[c]))}),s.length>3&&n.push(" ..."),n}function O(o,n,s){return(0,j.isString)(n)?(n=JSON.stringify(n),s?n:[`${o}=${n}`]):typeof n=="number"||typeof n=="boolean"||n==null?s?n:[`${o}=${n}`]:(0,R.dq)(n)?(n=O(o,(0,R.IU)(n.value),!0),s?n:[`${o}=Ref<`,n,">"]):(0,j.isFunction)(n)?[`${o}=fn${n.name?`<${n.name}>`:""}`]:(n=(0,R.IU)(n),s?n:[`${o}=`,n])}function Z(o,n){}const he={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function te(o,n,s,c){let d;try{d=c?o(...c):o()}catch(v){A(v,n,s)}return d}function J(o,n,s,c){if((0,j.isFunction)(o)){const v=te(o,n,s,c);return v&&(0,j.isPromise)(v)&&v.catch(C=>{A(C,n,s)}),v}const d=[];for(let v=0;v<o.length;v++)d.push(J(o[v],n,s,c));return d}function A(o,n,s,c=!0){const d=n?n.vnode:null;if(n){let v=n.parent;const C=n.proxy,D=s;for(;v;){const K=v.ec;if(K){for(let ue=0;ue<K.length;ue++)if(K[ue](o,C,D)===!1)return}v=v.parent}const q=n.appContext.config.errorHandler;if(q){te(q,null,10,[o,C,D]);return}}z(o,s,d,c)}function z(o,n,s,c=!0){console.error(o)}let le=!1,be=!1;const xe=[];let ce=0;const ke=[];let Ae=null,_=0;const Fe=Promise.resolve();let Se=null;const ee=100;function Be(o){const n=Se||Fe;return o?n.then(this?o.bind(this):o):n}function ve(o){let n=ce+1,s=xe.length;for(;n<s;){const c=n+s>>>1;Xe(xe[c])<o?n=c+1:s=c}return n}function L(o){(!xe.length||!xe.includes(o,le&&o.allowRecurse?ce+1:ce))&&(o.id==null?xe.push(o):xe.splice(ve(o.id),0,o),B())}function B(){!le&&!be&&(be=!0,Se=Fe.then(X))}function F(o){const n=xe.indexOf(o);n>ce&&xe.splice(n,1)}function oe(o){(0,j.isArray)(o)?ke.push(...o):(!Ae||!Ae.includes(o,o.allowRecurse?_+1:_))&&ke.push(o),B()}function ye(o,n=le?ce+1:0){for(;n<xe.length;n++){const s=xe[n];s&&s.pre&&(xe.splice(n,1),n--,s())}}function Ue(o){if(ke.length){const n=[...new Set(ke)];if(ke.length=0,Ae){Ae.push(...n);return}for(Ae=n,Ae.sort((s,c)=>Xe(s)-Xe(c)),_=0;_<Ae.length;_++)Ae[_]();Ae=null,_=0}}const Xe=o=>o.id==null?1/0:o.id,de=(o,n)=>{const s=Xe(o)-Xe(n);if(s===0){if(o.pre&&!n.pre)return-1;if(n.pre&&!o.pre)return 1}return s};function X(o){be=!1,le=!0,xe.sort(de);const n=j.NOOP;try{for(ce=0;ce<xe.length;ce++){const s=xe[ce];s&&s.active!==!1&&te(s,null,14)}}finally{ce=0,xe.length=0,Ue(o),le=!1,Se=null,(xe.length||ke.length)&&X(o)}}function pe(o,n){if(!o.has(n))o.set(n,1);else{const s=o.get(n);if(s>ee){const c=n.ownerInstance,d=c&&Wo(c.type);return se(`Maximum recursive updates exceeded${d?` in component <${d}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else o.set(n,s+1)}}let N=!1;const _e=new Set,qe=new Map;function jt(o){const n=o.type.__hmrId;let s=qe.get(n);s||(wt(n,o.type),s=qe.get(n)),s.instances.add(o)}function _t(o){qe.get(o.type.__hmrId).instances.delete(o)}function wt(o,n){return qe.has(o)?!1:(qe.set(o,{initialDef:Zt(n),instances:new Set}),!0)}function Zt(o){return cl(o)?o.__vccOpts:o}function zt(o,n){const s=qe.get(o);s&&(s.initialDef.render=n,[...s.instances].forEach(c=>{n&&(c.render=n,Zt(c.type).render=n),c.renderCache=[],N=!0,c.update(),N=!1}))}function ki(o,n){const s=qe.get(o);if(!s)return;n=Zt(n),hi(s.initialDef,n);const c=[...s.instances];for(const d of c){const v=Zt(d.type);_e.has(v)||(v!==s.initialDef&&hi(v,n),_e.add(v)),d.appContext.propsCache.delete(d.type),d.appContext.emitsCache.delete(d.type),d.appContext.optionsCache.delete(d.type),d.ceReload?(_e.add(v),d.ceReload(n.styles),_e.delete(v)):d.parent?L(d.parent.update):d.appContext.reload?d.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}oe(()=>{for(const d of c)_e.delete(Zt(d.type))})}function hi(o,n){extend(o,n);for(const s in o)s!=="__file"&&!(s in n)&&delete o[s]}function Ji(o){return(n,s)=>{try{return o(n,s)}catch(c){console.error(c),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Si,Di=[],ci=!1;function On(o,...n){Si?Si.emit(o,...n):ci||Di.push({event:o,args:n})}function Wi(o,n){var s,c;Si=o,Si?(Si.enabled=!0,Di.forEach(({event:d,args:v})=>Si.emit(d,...v)),Di=[]):typeof window!="undefined"&&window.HTMLElement&&!((c=(s=window.navigator)==null?void 0:s.userAgent)!=null&&c.includes("jsdom"))?((n.__VUE_DEVTOOLS_HOOK_REPLAY__=n.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(v=>{Wi(v,n)}),setTimeout(()=>{Si||(n.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ci=!0,Di=[])},3e3)):(ci=!0,Di=[])}function x(o,n){On("app:init",o,n,{Fragment:jr,Text:_s,Comment:Wn,Static:Ys})}function P(o){On("app:unmount",o)}const re=null,Ie=null,Ve=null,it=o=>{Si&&typeof Si.cleanupBuffer=="function"&&!Si.cleanupBuffer(o)&&Ve(o)};function nt(o){return n=>{On(o,n.appContext.app,n.uid,n.parent?n.parent.uid:void 0,n)}}const Qt=null,pi=null;function Ci(o){return(n,s,c)=>{On(o,n.appContext.app,n.uid,n,s,c)}}function pn(o,n,s){On("component:emit",o.appContext.app,o,n,s)}function Zi(o,n,...s){if(o.isUnmounted)return;const c=o.vnode.props||j.EMPTY_OBJ;let d=s;const v=n.startsWith("update:"),C=v&&n.slice(7);if(C&&C in c){const ue=`${C==="modelValue"?"model":C}Modifiers`,{number:fe,trim:Ee}=c[ue]||j.EMPTY_OBJ;Ee&&(d=s.map(De=>(0,j.isString)(De)?De.trim():De)),fe&&(d=s.map(j.looseToNumber))}let D,q=c[D=(0,j.toHandlerKey)(n)]||c[D=(0,j.toHandlerKey)((0,j.camelize)(n))];!q&&v&&(q=c[D=(0,j.toHandlerKey)((0,j.hyphenate)(n))]),q&&J(q,o,6,d);const K=c[D+"Once"];if(K){if(!o.emitted)o.emitted={};else if(o.emitted[D])return;o.emitted[D]=!0,J(K,o,6,d)}}function ji(o,n,s=!1){const c=n.emitsCache,d=c.get(o);if(d!==void 0)return d;const v=o.emits;let C={},D=!1;if(!(0,j.isFunction)(o)){const q=K=>{const ue=ji(K,n,!0);ue&&(D=!0,(0,j.extend)(C,ue))};!s&&n.mixins.length&&n.mixins.forEach(q),o.extends&&q(o.extends),o.mixins&&o.mixins.forEach(q)}return!v&&!D?((0,j.isObject)(o)&&c.set(o,null),null):((0,j.isArray)(v)?v.forEach(q=>C[q]=null):(0,j.extend)(C,v),(0,j.isObject)(o)&&c.set(o,C),C)}function Yi(o,n){return!o||!(0,j.isOn)(n)?!1:(n=n.slice(2).replace(/Once$/,""),(0,j.hasOwn)(o,n[0].toLowerCase()+n.slice(1))||(0,j.hasOwn)(o,(0,j.hyphenate)(n))||(0,j.hasOwn)(o,n))}let Mi=null,Pn=null;function Ti(o){const n=Mi;return Mi=o,Pn=o&&o.type.__scopeId||null,n}function Pi(o){Pn=o}function rn(){Pn=null}const Ai=o=>Bi;function Bi(o,n=Mi,s){if(!n||o._n)return o;const c=(...d)=>{c._d&&To(-1);const v=Ti(n);let C;try{C=o(...d)}finally{Ti(v),c._d&&To(1)}return C};return c._n=!0,c._c=!0,c._d=!0,c}let Vn=!1;function ls(){Vn=!0}function Zn(o){const{type:n,vnode:s,proxy:c,withProxy:d,props:v,propsOptions:[C],slots:D,attrs:q,emit:K,render:ue,renderCache:fe,data:Ee,setupState:De,ctx:et,inheritAttrs:Ne}=o;let vt,Je;const Ye=Ti(o);try{if(s.shapeFlag&4){const Qe=d||c;vt=bi(ue.call(Qe,Qe,fe,v,De,Ee,et)),Je=q}else{const Qe=n;vt=bi(Qe.length>1?Qe(v,{attrs:q,slots:D,emit:K}):Qe(v,null)),Je=n.props?q:Yn(q)}}catch(Qe){Ho.length=0,A(Qe,o,1),vt=Te(Wn)}let at=vt,st;if(Je&&Ne!==!1){const Qe=Object.keys(Je),{shapeFlag:Tt}=at;Qe.length&&Tt&7&&(C&&Qe.some(j.isModelListener)&&(Je=br(Je,C)),at=ft(at,Je))}return s.dirs&&(at=ft(at),at.dirs=at.dirs?at.dirs.concat(s.dirs):s.dirs),s.transition&&(at.transition=s.transition),vt=at,Ti(Ye),vt}const rr=o=>{const n=o.children,s=o.dynamicChildren,c=vr(n);if(!c)return[o,void 0];const d=n.indexOf(c),v=s?s.indexOf(c):-1,C=D=>{n[d]=D,s&&(v>-1?s[v]=D:D.patchFlag>0&&(o.dynamicChildren=[...s,D]))};return[bi(c),C]};function vr(o){let n;for(let s=0;s<o.length;s++){const c=o[s];if(go(c)){if(c.type!==Wn||c.children==="v-if"){if(n)return;n=c}}else return}return n}const Yn=o=>{let n;for(const s in o)(s==="class"||s==="style"||(0,j.isOn)(s))&&((n||(n={}))[s]=o[s]);return n},br=(o,n)=>{const s={};for(const c in o)(!(0,j.isModelListener)(c)||!(c.slice(9)in n))&&(s[c]=o[c]);return s},_n=o=>o.shapeFlag&7||o.type===Wn;function ct(o,n,s){const{props:c,children:d,component:v}=o,{props:C,children:D,patchFlag:q}=n,K=v.emitsOptions;if(n.dirs||n.transition)return!0;if(s&&q>=0){if(q&1024)return!0;if(q&16)return c?Vt(c,C,K):!!C;if(q&8){const ue=n.dynamicProps;for(let fe=0;fe<ue.length;fe++){const Ee=ue[fe];if(C[Ee]!==c[Ee]&&!Yi(K,Ee))return!0}}}else return(d||D)&&(!D||!D.$stable)?!0:c===C?!1:c?C?Vt(c,C,K):!0:!!C;return!1}function Vt(o,n,s){const c=Object.keys(n);if(c.length!==Object.keys(o).length)return!0;for(let d=0;d<c.length;d++){const v=c[d];if(n[v]!==o[v]&&!Yi(s,v))return!0}return!1}function Jt({vnode:o,parent:n},s){for(;n&&n.subTree===o;)(o=n.vnode).el=s,n=n.parent}const vi=o=>o.__isSuspense,vn={name:"Suspense",__isSuspense:!0,process(o,n,s,c,d,v,C,D,q,K){o==null?Li(n,s,c,d,v,C,D,q,K):Cn(o,n,s,c,d,C,D,q,K)},hydrate:Dn,create:Ir,normalize:Gn};function p(o,n){const s=o.props&&o.props[n];(0,j.isFunction)(s)&&s()}function Li(o,n,s,c,d,v,C,D,q){const{p:K,o:{createElement:ue}}=q,fe=ue("div"),Ee=o.suspense=Ir(o,d,c,n,fe,s,v,C,D,q);K(null,Ee.pendingBranch=o.ssContent,fe,null,c,Ee,v,C),Ee.deps>0?(p(o,"onPending"),p(o,"onFallback"),K(null,o.ssFallback,n,s,c,null,v,C),Fn(Ee,o.ssFallback)):Ee.resolve(!1,!0)}function Cn(o,n,s,c,d,v,C,D,{p:q,um:K,o:{createElement:ue}}){const fe=n.suspense=o.suspense;fe.vnode=n,n.el=o.el;const Ee=n.ssContent,De=n.ssFallback,{activeBranch:et,pendingBranch:Ne,isInFallback:vt,isHydrating:Je}=fe;if(Ne)fe.pendingBranch=Ee,Kr(Ee,Ne)?(q(Ne,Ee,fe.hiddenContainer,null,d,fe,v,C,D),fe.deps<=0?fe.resolve():vt&&(q(et,De,s,c,d,null,v,C,D),Fn(fe,De))):(fe.pendingId++,Je?(fe.isHydrating=!1,fe.activeBranch=Ne):K(Ne,d,fe),fe.deps=0,fe.effects.length=0,fe.hiddenContainer=ue("div"),vt?(q(null,Ee,fe.hiddenContainer,null,d,fe,v,C,D),fe.deps<=0?fe.resolve():(q(et,De,s,c,d,null,v,C,D),Fn(fe,De))):et&&Kr(Ee,et)?(q(et,Ee,s,c,d,fe,v,C,D),fe.resolve(!0)):(q(null,Ee,fe.hiddenContainer,null,d,fe,v,C,D),fe.deps<=0&&fe.resolve()));else if(et&&Kr(Ee,et))q(et,Ee,s,c,d,fe,v,C,D),Fn(fe,Ee);else if(p(n,"onPending"),fe.pendingBranch=Ee,fe.pendingId++,q(null,Ee,fe.hiddenContainer,null,d,fe,v,C,D),fe.deps<=0)fe.resolve();else{const{timeout:Ye,pendingId:at}=fe;Ye>0?setTimeout(()=>{fe.pendingId===at&&fe.fallback(De)},Ye):Ye===0&&fe.fallback(De)}}let cn=!1;function Ir(o,n,s,c,d,v,C,D,q,K,ue=!1){const{p:fe,m:Ee,um:De,n:et,o:{parentNode:Ne,remove:vt}}=K;let Je;const Ye=Fr(o);Ye&&n!=null&&n.pendingBranch&&(Je=n.pendingId,n.deps++);const at=o.props?(0,j.toNumber)(o.props.timeout):void 0,st={vnode:o,parent:n,parentComponent:s,isSVG:C,container:c,hiddenContainer:d,anchor:v,deps:0,pendingId:0,timeout:typeof at=="number"?at:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:ue,isUnmounted:!1,effects:[],resolve(Qe=!1,Tt=!1){const{vnode:At,activeBranch:bt,pendingBranch:kt,pendingId:ri,effects:yi,parentComponent:hn,container:dn}=st;if(st.isHydrating)st.isHydrating=!1;else if(!Qe){const Xi=bt&&kt.transition&&kt.transition.mode==="out-in";Xi&&(bt.transition.afterLeave=()=>{ri===st.pendingId&&Ee(kt,dn,Sn,0)});let{anchor:Sn}=st;bt&&(Sn=et(bt),De(bt,hn,st,!0)),Xi||Ee(kt,dn,Sn,0)}Fn(st,kt),st.pendingBranch=null,st.isInFallback=!1;let mi=st.parent,Bn=!1;for(;mi;){if(mi.pendingBranch){mi.effects.push(...yi),Bn=!0;break}mi=mi.parent}Bn||oe(yi),st.effects=[],Ye&&n&&n.pendingBranch&&Je===n.pendingId&&(n.deps--,n.deps===0&&!Tt&&n.resolve()),p(At,"onResolve")},fallback(Qe){if(!st.pendingBranch)return;const{vnode:Tt,activeBranch:At,parentComponent:bt,container:kt,isSVG:ri}=st;p(Tt,"onFallback");const yi=et(At),hn=()=>{st.isInFallback&&(fe(null,Qe,kt,yi,bt,null,ri,D,q),Fn(st,Qe))},dn=Qe.transition&&Qe.transition.mode==="out-in";dn&&(At.transition.afterLeave=hn),st.isInFallback=!0,De(At,bt,null,!0),dn||hn()},move(Qe,Tt,At){st.activeBranch&&Ee(st.activeBranch,Qe,Tt,At),st.container=Qe},next(){return st.activeBranch&&et(st.activeBranch)},registerDep(Qe,Tt){const At=!!st.pendingBranch;At&&st.deps++;const bt=Qe.vnode.el;Qe.asyncDep.catch(kt=>{A(kt,Qe,0)}).then(kt=>{if(Qe.isUnmounted||st.isUnmounted||st.pendingId!==Qe.suspenseId)return;Qe.asyncResolved=!0;const{vnode:ri}=Qe;Uo(Qe,kt,!1),bt&&(ri.el=bt);const yi=!bt&&Qe.subTree.el;Tt(Qe,ri,Ne(bt||Qe.subTree.el),bt?null:et(Qe.subTree),st,C,q),yi&&vt(yi),Jt(Qe,ri.el),At&&--st.deps===0&&st.resolve()})},unmount(Qe,Tt){st.isUnmounted=!0,st.activeBranch&&De(st.activeBranch,s,Qe,Tt),st.pendingBranch&&De(st.pendingBranch,s,Qe,Tt)}};return st}function Dn(o,n,s,c,d,v,C,D,q){const K=n.suspense=Ir(n,c,s,o.parentNode,document.createElement("div"),null,d,v,C,D,!0),ue=q(o,K.pendingBranch=n.ssContent,s,K,v,C);return K.deps===0&&K.resolve(!1,!0),ue}function Gn(o){const{shapeFlag:n,children:s}=o,c=n&32;o.ssContent=ts(c?s.default:s),o.ssFallback=c?ts(s.fallback):Te(Wn)}function ts(o){let n;if((0,j.isFunction)(o)){const s=ks&&o._c;s&&(o._d=!1,os()),o=o(),s&&(o._d=!0,n=ps,Co())}return(0,j.isArray)(o)&&(o=vr(o)),o=bi(o),n&&!o.dynamicChildren&&(o.dynamicChildren=n.filter(s=>s!==o)),o}function is(o,n){n&&n.pendingBranch?(0,j.isArray)(o)?n.effects.push(...o):n.effects.push(o):oe(o)}function Fn(o,n){o.activeBranch=n;const{vnode:s,parentComponent:c}=o,d=s.el=n.el;c&&c.subTree===s&&(c.vnode.el=d,Jt(c,d))}function Fr(o){var n;return((n=o.props)==null?void 0:n.suspensible)!=null&&o.props.suspensible!==!1}function ns(o,n){return Le(o,null,n)}function cs(o,n){return Le(o,null,{flush:"post"})}function Vs(o,n){return Le(o,null,{flush:"sync"})}const ie={};function me(o,n,s){return Le(o,n,s)}function Le(o,n,{immediate:s,deep:c,flush:d,onTrack:v,onTrigger:C}=j.EMPTY_OBJ){var D;const q=Qe=>{se("Invalid watch source: ",Qe,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},K=(0,R.nZ)()===((D=zn)==null?void 0:D.scope)?zn:null;let ue,fe=!1,Ee=!1;if((0,R.dq)(o)?(ue=()=>o.value,fe=(0,R.yT)(o)):(0,R.PG)(o)?(ue=()=>o,c=!0):(0,j.isArray)(o)?(Ee=!0,fe=o.some(Qe=>(0,R.PG)(Qe)||(0,R.yT)(Qe)),ue=()=>o.map(Qe=>{if((0,R.dq)(Qe))return Qe.value;if((0,R.PG)(Qe))return Bt(Qe);if((0,j.isFunction)(Qe))return te(Qe,K,2)})):(0,j.isFunction)(o)?n?ue=()=>te(o,K,2):ue=()=>{if(!(K&&K.isUnmounted))return De&&De(),J(o,K,3,[et])}:ue=j.NOOP,n&&c){const Qe=ue;ue=()=>Bt(Qe())}let De,et=Qe=>{De=at.onStop=()=>{te(Qe,K,4)}},Ne;if(Is)if(et=j.NOOP,n?s&&J(n,K,3,[ue(),Ee?[]:void 0,et]):ue(),d==="sync"){const Qe=La();Ne=Qe.__watcherHandles||(Qe.__watcherHandles=[])}else return j.NOOP;let vt=Ee?new Array(o.length).fill(ie):ie;const Je=()=>{if(at.active)if(n){const Qe=at.run();(c||fe||(Ee?Qe.some((Tt,At)=>(0,j.hasChanged)(Tt,vt[At])):(0,j.hasChanged)(Qe,vt)))&&(De&&De(),J(n,K,3,[Qe,vt===ie?void 0:Ee&&vt[0]===ie?[]:vt,et]),vt=Qe)}else at.run()};Je.allowRecurse=!!n;let Ye;d==="sync"?Ye=Je:d==="post"?Ye=()=>bn(Je,K&&K.suspense):(Je.pre=!0,K&&(Je.id=K.uid),Ye=()=>L(Je));const at=new R.qq(ue,Ye);n?s?Je():vt=at.run():d==="post"?bn(at.run.bind(at),K&&K.suspense):at.run();const st=()=>{at.stop(),K&&K.scope&&(0,j.remove)(K.scope.effects,at)};return Ne&&Ne.push(st),st}function Ge(o,n,s){const c=this.proxy,d=(0,j.isString)(o)?o.includes(".")?Ot(c,o):()=>c[o]:o.bind(c,c);let v;(0,j.isFunction)(n)?v=n:(v=n.handler,s=n);const C=zn;ln(this);const D=Le(d,v.bind(c),s);return C?ln(C):In(),D}function Ot(o,n){const s=n.split(".");return()=>{let c=o;for(let d=0;d<s.length&&c;d++)c=c[s[d]];return c}}function Bt(o,n){if(!(0,j.isObject)(o)||o.__v_skip||(n=n||new Set,n.has(o)))return o;if(n.add(o),(0,R.dq)(o))Bt(o.value,n);else if((0,j.isArray)(o))for(let s=0;s<o.length;s++)Bt(o[s],n);else if((0,j.isSet)(o)||(0,j.isMap)(o))o.forEach(s=>{Bt(s,n)});else if((0,j.isPlainObject)(o))for(const s in o)Bt(o[s],n);return o}function ii(o){isBuiltInDirective(o)&&se("Do not use built-in directive ids as custom directive id: "+o)}function Ii(o,n){const s=Mi;if(s===null)return o;const c=$o(s)||s.proxy,d=o.dirs||(o.dirs=[]);for(let v=0;v<n.length;v++){let[C,D,q,K=j.EMPTY_OBJ]=n[v];C&&((0,j.isFunction)(C)&&(C={mounted:C,updated:C}),C.deep&&Bt(D),d.push({dir:C,instance:c,value:D,oldValue:void 0,arg:q,modifiers:K}))}return o}function Fi(o,n,s,c){const d=o.dirs,v=n&&n.dirs;for(let C=0;C<d.length;C++){const D=d[C];v&&(D.oldValue=v[C].value);let q=D.dir[c];q&&((0,R.Jd)(),J(q,s,8,[o.el,D,o,n]),(0,R.lk)())}}function Hi(){const o={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return $s(()=>{o.isMounted=!0}),wo(()=>{o.isUnmounting=!0}),o}const qi=[Function,Array],xn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qi,onEnter:qi,onAfterEnter:qi,onEnterCancelled:qi,onBeforeLeave:qi,onLeave:qi,onAfterLeave:qi,onLeaveCancelled:qi,onBeforeAppear:qi,onAppear:qi,onAfterAppear:qi,onAppearCancelled:qi},$n={name:"BaseTransition",props:xn,setup(o,{slots:n}){const s=jn(),c=Hi();let d;return()=>{const v=n.default&&Xr(n.default(),!0);if(!v||!v.length)return;let C=v[0];if(v.length>1){let Ne=!1;for(const vt of v)if(vt.type!==Wn){C=vt,Ne=!0;break}}const D=(0,R.IU)(o),{mode:q}=D;if(c.isLeaving)return Nr(C);const K=js(C);if(!K)return Nr(C);const ue=sr(K,D,c,s);Ss(K,ue);const fe=s.subTree,Ee=fe&&js(fe);let De=!1;const{getTransitionKey:et}=K.type;if(et){const Ne=et();d===void 0?d=Ne:Ne!==d&&(d=Ne,De=!0)}if(Ee&&Ee.type!==Wn&&(!Kr(K,Ee)||De)){const Ne=sr(Ee,D,c,s);if(Ss(Ee,Ne),q==="out-in")return c.isLeaving=!0,Ne.afterLeave=()=>{c.isLeaving=!1,s.update.active!==!1&&s.update()},Nr(C);q==="in-out"&&K.type!==Wn&&(Ne.delayLeave=(vt,Je,Ye)=>{const at=Dr(c,Ee);at[String(Ee.key)]=Ee,vt._leaveCb=()=>{Je(),vt._leaveCb=void 0,delete ue.delayedLeave},ue.delayedLeave=Ye})}return C}}};function Dr(o,n){const{leavingVNodes:s}=o;let c=s.get(n.type);return c||(c=Object.create(null),s.set(n.type,c)),c}function sr(o,n,s,c){const{appear:d,mode:v,persisted:C=!1,onBeforeEnter:D,onEnter:q,onAfterEnter:K,onEnterCancelled:ue,onBeforeLeave:fe,onLeave:Ee,onAfterLeave:De,onLeaveCancelled:et,onBeforeAppear:Ne,onAppear:vt,onAfterAppear:Je,onAppearCancelled:Ye}=n,at=String(o.key),st=Dr(s,o),Qe=(bt,kt)=>{bt&&J(bt,c,9,kt)},Tt=(bt,kt)=>{const ri=kt[1];Qe(bt,kt),(0,j.isArray)(bt)?bt.every(yi=>yi.length<=1)&&ri():bt.length<=1&&ri()},At={mode:v,persisted:C,beforeEnter(bt){let kt=D;if(!s.isMounted)if(d)kt=Ne||D;else return;bt._leaveCb&&bt._leaveCb(!0);const ri=st[at];ri&&Kr(o,ri)&&ri.el._leaveCb&&ri.el._leaveCb(),Qe(kt,[bt])},enter(bt){let kt=q,ri=K,yi=ue;if(!s.isMounted)if(d)kt=vt||q,ri=Je||K,yi=Ye||ue;else return;let hn=!1;const dn=bt._enterCb=mi=>{hn||(hn=!0,mi?Qe(yi,[bt]):Qe(ri,[bt]),At.delayedLeave&&At.delayedLeave(),bt._enterCb=void 0)};kt?Tt(kt,[bt,dn]):dn()},leave(bt,kt){const ri=String(o.key);if(bt._enterCb&&bt._enterCb(!0),s.isUnmounting)return kt();Qe(fe,[bt]);let yi=!1;const hn=bt._leaveCb=dn=>{yi||(yi=!0,kt(),dn?Qe(et,[bt]):Qe(De,[bt]),bt._leaveCb=void 0,st[ri]===o&&delete st[ri])};st[ri]=o,Ee?Tt(Ee,[bt,hn]):hn()},clone(bt){return sr(bt,n,s,c)}};return At}function Nr(o){if(Pt(o))return o=ft(o),o.children=null,o}function js(o){return Pt(o)?o.children?o.children[0]:void 0:o}function Ss(o,n){o.shapeFlag&6&&o.component?Ss(o.component.subTree,n):o.shapeFlag&128?(o.ssContent.transition=n.clone(o.ssContent),o.ssFallback.transition=n.clone(o.ssFallback)):o.transition=n}function Xr(o,n=!1,s){let c=[],d=0;for(let v=0;v<o.length;v++){let C=o[v];const D=s==null?C.key:String(s)+String(C.key!=null?C.key:v);C.type===jr?(C.patchFlag&128&&d++,c=c.concat(Xr(C.children,n,D))):(n||C.type!==Wn)&&c.push(D!=null?ft(C,{key:D}):C)}if(d>1)for(let v=0;v<c.length;v++)c[v].patchFlag=-2;return c}function Mn(o,n){return(0,j.isFunction)(o)?(()=>(0,j.extend)({name:o.name},n,{setup:o}))():o}const ge=o=>!!o.type.__asyncLoader;function Ke(o){(0,j.isFunction)(o)&&(o={loader:o});const{loader:n,loadingComponent:s,errorComponent:c,delay:d=200,timeout:v,suspensible:C=!0,onError:D}=o;let q=null,K,ue=0;const fe=()=>(ue++,q=null,Ee()),Ee=()=>{let De;return q||(De=q=n().catch(et=>{if(et=et instanceof Error?et:new Error(String(et)),D)return new Promise((Ne,vt)=>{D(et,()=>Ne(fe()),()=>vt(et),ue+1)});throw et}).then(et=>De!==q&&q?q:(et&&(et.__esModule||et[Symbol.toStringTag]==="Module")&&(et=et.default),K=et,et)))};return Mn({name:"AsyncComponentWrapper",__asyncLoader:Ee,get __asyncResolved(){return K},setup(){const De=zn;if(K)return()=>ut(K,De);const et=Ye=>{q=null,A(Ye,De,13,!c)};if(C&&De.suspense||Is)return Ee().then(Ye=>()=>ut(Ye,De)).catch(Ye=>(et(Ye),()=>c?Te(c,{error:Ye}):null));const Ne=(0,R.iH)(!1),vt=(0,R.iH)(),Je=(0,R.iH)(!!d);return d&&setTimeout(()=>{Je.value=!1},d),v!=null&&setTimeout(()=>{if(!Ne.value&&!vt.value){const Ye=new Error(`Async component timed out after ${v}ms.`);et(Ye),vt.value=Ye}},v),Ee().then(()=>{Ne.value=!0,De.parent&&Pt(De.parent.vnode)&&L(De.parent.update)}).catch(Ye=>{et(Ye),vt.value=Ye}),()=>{if(Ne.value&&K)return ut(K,De);if(vt.value&&c)return Te(c,{error:vt.value});if(s&&!Je.value)return Te(s)}}})}function ut(o,n){const{ref:s,props:c,children:d,ce:v}=n.vnode,C=Te(o,c,d);return C.ref=s,C.ce=v,delete n.vnode.ce,C}const Pt=o=>o.type.__isKeepAlive,li={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(o,{slots:n}){const s=jn(),c=s.ctx;if(!c.renderer)return()=>{const Ye=n.default&&n.default();return Ye&&Ye.length===1?Ye[0]:Ye};const d=new Map,v=new Set;let C=null;const D=s.suspense,{renderer:{p:q,m:K,um:ue,o:{createElement:fe}}}=c,Ee=fe("div");c.activate=(Ye,at,st,Qe,Tt)=>{const At=Ye.component;K(Ye,at,st,0,D),q(At.vnode,Ye,at,st,At,D,Qe,Ye.slotScopeIds,Tt),bn(()=>{At.isDeactivated=!1,At.a&&(0,j.invokeArrayFns)(At.a);const bt=Ye.props&&Ye.props.onVnodeMounted;bt&&mn(bt,At.parent,Ye)},D)},c.deactivate=Ye=>{const at=Ye.component;K(Ye,Ee,null,1,D),bn(()=>{at.da&&(0,j.invokeArrayFns)(at.da);const st=Ye.props&&Ye.props.onVnodeUnmounted;st&&mn(st,at.parent,Ye),at.isDeactivated=!0},D)};function De(Ye){lr(Ye),ue(Ye,s,D,!0)}function et(Ye){d.forEach((at,st)=>{const Qe=Wo(at.type);Qe&&(!Ye||!Ye(Qe))&&Ne(st)})}function Ne(Ye){const at=d.get(Ye);!C||!Kr(at,C)?De(at):C&&lr(C),d.delete(Ye),v.delete(Ye)}me(()=>[o.include,o.exclude],([Ye,at])=>{Ye&&et(st=>ei(Ye,st)),at&&et(st=>!ei(at,st))},{flush:"post",deep:!0});let vt=null;const Je=()=>{vt!=null&&d.set(vt,hr(s.subTree))};return $s(Je),rs(Je),wo(()=>{d.forEach(Ye=>{const{subTree:at,suspense:st}=s,Qe=hr(at);if(Ye.type===Qe.type&&Ye.key===Qe.key){lr(Qe);const Tt=Qe.component.da;Tt&&bn(Tt,st);return}De(Ye)})}),()=>{if(vt=null,!n.default)return null;const Ye=n.default(),at=Ye[0];if(Ye.length>1)return C=null,Ye;if(!go(at)||!(at.shapeFlag&4)&&!(at.shapeFlag&128))return C=null,at;let st=hr(at);const Qe=st.type,Tt=Wo(ge(st)?st.type.__asyncResolved||{}:Qe),{include:At,exclude:bt,max:kt}=o;if(At&&(!Tt||!ei(At,Tt))||bt&&Tt&&ei(bt,Tt))return C=st,at;const ri=st.key==null?Qe:st.key,yi=d.get(ri);return st.el&&(st=ft(st),at.shapeFlag&128&&(at.ssContent=st)),vt=ri,yi?(st.el=yi.el,st.component=yi.component,st.transition&&Ss(st,st.transition),st.shapeFlag|=512,v.delete(ri),v.add(ri)):(v.add(ri),kt&&v.size>parseInt(kt,10)&&Ne(v.values().next().value)),st.shapeFlag|=256,C=st,vi(at.type)?at:st}}};function ei(o,n){return(0,j.isArray)(o)?o.some(s=>ei(s,n)):(0,j.isString)(o)?o.split(",").includes(n):(0,j.isRegExp)(o)?o.test(n):!1}function Yt(o,n){Qn(o,"a",n)}function En(o,n){Qn(o,"da",n)}function Qn(o,n,s=zn){const c=o.__wdc||(o.__wdc=()=>{let d=s;for(;d;){if(d.isDeactivated)return;d=d.parent}return o()});if(Us(n,c,s),s){let d=s.parent;for(;d&&d.parent;)Pt(d.parent.vnode)&&dr(c,n,s,d),d=d.parent}}function dr(o,n,s,c){const d=Us(n,o,c,!0);Oo(()=>{(0,j.remove)(c[n],d)},s)}function lr(o){o.shapeFlag&=-257,o.shapeFlag&=-513}function hr(o){return o.shapeFlag&128?o.ssContent:o}function Us(o,n,s=zn,c=!1){if(s){const d=s[o]||(s[o]=[]),v=n.__weh||(n.__weh=(...C)=>{if(s.isUnmounted)return;(0,R.Jd)(),ln(s);const D=J(n,s,o,C);return In(),(0,R.lk)(),D});return c?d.unshift(v):d.push(v),v}}const Br=o=>(n,s=zn)=>(!Is||o==="sp")&&Us(o,(...c)=>n(...c),s),lo=Br("bm"),$s=Br("m"),Ao=Br("bu"),rs=Br("u"),wo=Br("bum"),Oo=Br("um"),ba=Br("sp"),Gs=Br("rtg"),xo=Br("rtc");function Ro(o,n=zn){Us("ec",o,n)}const Ws="components",ca="directives";function ya(o,n){return uo(Ws,o,!0,n)||o}const us=Symbol.for("v-ndc");function co(o){return(0,j.isString)(o)?uo(Ws,o,!1)||o:o||us}function Xs(o){return uo(ca,o)}function uo(o,n,s=!0,c=!1){const d=Mi||zn;if(d){const v=d.type;if(o===Ws){const D=Wo(v,!1);if(D&&(D===n||D===(0,j.camelize)(n)||D===(0,j.capitalize)((0,j.camelize)(n))))return v}const C=yr(d[o]||v[o],n)||yr(d.appContext[o],n);return!C&&c?v:C}}function yr(o,n){return o&&(o[n]||o[(0,j.camelize)(n)]||o[(0,j.capitalize)((0,j.camelize)(n))])}function jo(o,n,s,c){let d;const v=s&&s[c];if((0,j.isArray)(o)||(0,j.isString)(o)){d=new Array(o.length);for(let C=0,D=o.length;C<D;C++)d[C]=n(o[C],C,void 0,v&&v[C])}else if(typeof o=="number"){d=new Array(o);for(let C=0;C<o;C++)d[C]=n(C+1,C,void 0,v&&v[C])}else if((0,j.isObject)(o))if(o[Symbol.iterator])d=Array.from(o,(C,D)=>n(C,D,void 0,v&&v[D]));else{const C=Object.keys(o);d=new Array(C.length);for(let D=0,q=C.length;D<q;D++){const K=C[D];d[D]=n(o[K],K,D,v&&v[D])}}else d=[];return s&&(s[c]=d),d}function Tr(o,n){for(let s=0;s<n.length;s++){const c=n[s];if((0,j.isArray)(c))for(let d=0;d<c.length;d++)o[c[d].name]=c[d].fn;else c&&(o[c.name]=c.key?(...d)=>{const v=c.fn(...d);return v&&(v.key=c.key),v}:c.fn)}return o}function ua(o,n,s={},c,d){if(Mi.isCE||Mi.parent&&ge(Mi.parent)&&Mi.parent.isCE)return n!=="default"&&(s.name=n),Te("slot",s,c&&c());let v=o[n];v&&v._c&&(v._d=!1),os();const C=v&&Zo(v(s)),D=Ta(jr,{key:s.key||C&&C.key||`_${n}`},C||(c?c():[]),C&&o._===1?64:-2);return!d&&D.scopeId&&(D.slotScopeIds=[D.scopeId+"-s"]),v&&v._c&&(v._d=!0),D}function Zo(o){return o.some(n=>go(n)?!(n.type===Wn||n.type===jr&&!Zo(n.children)):!0)?o:null}function ss(o,n){const s={};for(const c in o)s[n&&/[A-Z]/.test(c)?`on:${c}`:(0,j.toHandlerKey)(c)]=o[c];return s}const Yo=o=>o?Qr(o)?$o(o)||o.proxy:Yo(o.parent):null,Js=(0,j.extend)(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>o.props,$attrs:o=>o.attrs,$slots:o=>o.slots,$refs:o=>o.refs,$parent:o=>Yo(o.parent),$root:o=>Yo(o.root),$emit:o=>o.emit,$options:o=>Ht(o),$forceUpdate:o=>o.f||(o.f=()=>L(o.update)),$nextTick:o=>o.n||(o.n=Be.bind(o.proxy)),$watch:o=>Ge.bind(o)}),_a=o=>o==="_"||o==="$",zs=(o,n)=>o!==j.EMPTY_OBJ&&!o.__isScriptSetup&&(0,j.hasOwn)(o,n),Po={get({_:o},n){const{ctx:s,setupState:c,data:d,props:v,accessCache:C,type:D,appContext:q}=o;let K;if(n[0]!=="$"){const De=C[n];if(De!==void 0)switch(De){case 1:return c[n];case 2:return d[n];case 4:return s[n];case 3:return v[n]}else{if(zs(c,n))return C[n]=1,c[n];if(d!==j.EMPTY_OBJ&&(0,j.hasOwn)(d,n))return C[n]=2,d[n];if((K=o.propsOptions[0])&&(0,j.hasOwn)(K,n))return C[n]=3,v[n];if(s!==j.EMPTY_OBJ&&(0,j.hasOwn)(s,n))return C[n]=4,s[n];_r&&(C[n]=0)}}const ue=Js[n];let fe,Ee;if(ue)return n==="$attrs"&&(0,R.j)(o,"get",n),ue(o);if((fe=D.__cssModules)&&(fe=fe[n]))return fe;if(s!==j.EMPTY_OBJ&&(0,j.hasOwn)(s,n))return C[n]=4,s[n];if(Ee=q.config.globalProperties,(0,j.hasOwn)(Ee,n))return Ee[n]},set({_:o},n,s){const{data:c,setupState:d,ctx:v}=o;return zs(d,n)?(d[n]=s,!0):c!==j.EMPTY_OBJ&&(0,j.hasOwn)(c,n)?(c[n]=s,!0):(0,j.hasOwn)(o.props,n)||n[0]==="$"&&n.slice(1)in o?!1:(v[n]=s,!0)},has({_:{data:o,setupState:n,accessCache:s,ctx:c,appContext:d,propsOptions:v}},C){let D;return!!s[C]||o!==j.EMPTY_OBJ&&(0,j.hasOwn)(o,C)||zs(n,C)||(D=v[0])&&(0,j.hasOwn)(D,C)||(0,j.hasOwn)(c,C)||(0,j.hasOwn)(Js,C)||(0,j.hasOwn)(d.config.globalProperties,C)},defineProperty(o,n,s){return s.get!=null?o._.accessCache[n]=0:(0,j.hasOwn)(s,"value")&&this.set(o,n,s.value,null),Reflect.defineProperty(o,n,s)}},Go=(0,j.extend)({},Po,{get(o,n){if(n!==Symbol.unscopables)return Po.get(o,n,o)},has(o,n){return n[0]!=="_"&&!(0,j.isGloballyWhitelisted)(n)}});function qa(o){const n={};return Object.defineProperty(n,"_",{configurable:!0,enumerable:!1,get:()=>o}),Object.keys(Js).forEach(s=>{Object.defineProperty(n,s,{configurable:!0,enumerable:!1,get:()=>Js[s](o),set:NOOP})}),n}function Ka(o){const{ctx:n,propsOptions:[s]}=o;s&&Object.keys(s).forEach(c=>{Object.defineProperty(n,c,{enumerable:!0,configurable:!0,get:()=>o.props[c],set:NOOP})})}function Za(o){const{ctx:n,setupState:s}=o;Object.keys(toRaw(s)).forEach(c=>{if(!s.__isScriptSetup){if(_a(c[0])){se(`setup() return property ${JSON.stringify(c)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(n,c,{enumerable:!0,configurable:!0,get:()=>s[c],set:NOOP})}})}const l=o=>se(`${o}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);function m(){return null}function E(){return null}function M(o){}function Y(o){}function G(){return null}function ae(){}function Me(o,n){return null}function Pe(){return xt().slots}function tt(){return xt().attrs}function Ct(o,n,s){const c=jn();if(s&&s.local){const d=(0,R.iH)(o[n]);return me(()=>o[n],v=>d.value=v),me(d,v=>{v!==o[n]&&c.emit(`update:${n}`,v)}),d}else return{__v_isRef:!0,get value(){return o[n]},set value(d){c.emit(`update:${n}`,d)}}}function xt(){const o=jn();return o.setupContext||(o.setupContext=Qo(o))}function ht(o){return(0,j.isArray)(o)?o.reduce((n,s)=>(n[s]=null,n),{}):o}function $t(o,n){const s=ht(o);for(const c in n){if(c.startsWith("__skip"))continue;let d=s[c];d?(0,j.isArray)(d)||(0,j.isFunction)(d)?d=s[c]={type:d,default:n[c]}:d.default=n[c]:d===null&&(d=s[c]={default:n[c]}),d&&n[`__skip_${c}`]&&(d.skipFactory=!0)}return s}function sn(o,n){return!o||!n?o||n:(0,j.isArray)(o)&&(0,j.isArray)(n)?o.concat(n):(0,j.extend)({},ht(o),ht(n))}function Tn(o,n){const s={};for(const c in o)n.includes(c)||Object.defineProperty(s,c,{enumerable:!0,get:()=>o[c]});return s}function un(o){const n=jn();let s=o();return In(),(0,j.isPromise)(s)&&(s=s.catch(c=>{throw ln(n),c})),[s,()=>ln(n)]}function or(){const o=Object.create(null);return(n,s)=>{o[s]?se(`${n} property "${s}" is already defined in ${o[s]}.`):o[s]=n}}let _r=!0;function fs(o){const n=Ht(o),s=o.proxy,c=o.ctx;_r=!1,n.beforeCreate&&Ki(n.beforeCreate,o,"bc");const{data:d,computed:v,methods:C,watch:D,provide:q,inject:K,created:ue,beforeMount:fe,mounted:Ee,beforeUpdate:De,updated:et,activated:Ne,deactivated:vt,beforeDestroy:Je,beforeUnmount:Ye,destroyed:at,unmounted:st,render:Qe,renderTracked:Tt,renderTriggered:At,errorCaptured:bt,serverPrefetch:kt,expose:ri,inheritAttrs:yi,components:hn,directives:dn,filters:mi}=n;if(K&&Jr(K,c,null),C)for(const Sn in C){const qn=C[Sn];(0,j.isFunction)(qn)&&(c[Sn]=qn.bind(s))}if(d){const Sn=d.call(s,s);(0,j.isObject)(Sn)&&(o.data=(0,R.qj)(Sn))}if(_r=!0,v)for(const Sn in v){const qn=v[Sn],ms=(0,j.isFunction)(qn)?qn.bind(s,s):(0,j.isFunction)(qn.get)?qn.get.bind(s,s):j.NOOP,ta=!(0,j.isFunction)(qn)&&(0,j.isFunction)(qn.set)?qn.set.bind(s):j.NOOP,Zr=Sl({get:ms,set:ta});Object.defineProperty(c,Sn,{enumerable:!0,configurable:!0,get:()=>Zr.value,set:ia=>Zr.value=ia})}if(D)for(const Sn in D)Hr(D[Sn],c,s,Sn);if(q){const Sn=(0,j.isFunction)(q)?q.call(s):q;Reflect.ownKeys(Sn).forEach(qn=>{Or(qn,Sn[qn])})}ue&&Ki(ue,o,"c");function Xi(Sn,qn){(0,j.isArray)(qn)?qn.forEach(ms=>Sn(ms.bind(s))):qn&&Sn(qn.bind(s))}if(Xi(lo,fe),Xi($s,Ee),Xi(Ao,De),Xi(rs,et),Xi(Yt,Ne),Xi(En,vt),Xi(Ro,bt),Xi(xo,Tt),Xi(Gs,At),Xi(wo,Ye),Xi(Oo,st),Xi(ba,kt),(0,j.isArray)(ri))if(ri.length){const Sn=o.exposed||(o.exposed={});ri.forEach(qn=>{Object.defineProperty(Sn,qn,{get:()=>s[qn],set:ms=>s[qn]=ms})})}else o.exposed||(o.exposed={});Qe&&o.render===j.NOOP&&(o.render=Qe),yi!=null&&(o.inheritAttrs=yi),hn&&(o.components=hn),dn&&(o.directives=dn)}function Jr(o,n,s=j.NOOP){(0,j.isArray)(o)&&(o=qs(o));for(const c in o){const d=o[c];let v;(0,j.isObject)(d)?"default"in d?v=Mr(d.from||c,d.default,!0):v=Mr(d.from||c):v=Mr(d),(0,R.dq)(v)?Object.defineProperty(n,c,{enumerable:!0,configurable:!0,get:()=>v.value,set:C=>v.value=C}):n[c]=v}}function Ki(o,n,s){J((0,j.isArray)(o)?o.map(c=>c.bind(n.proxy)):o.bind(n.proxy),n,s)}function Hr(o,n,s,c){const d=c.includes(".")?Ot(s,c):()=>s[c];if((0,j.isString)(o)){const v=n[o];(0,j.isFunction)(v)&&me(d,v)}else if((0,j.isFunction)(o))me(d,o.bind(s));else if((0,j.isObject)(o))if((0,j.isArray)(o))o.forEach(v=>Hr(v,n,s,c));else{const v=(0,j.isFunction)(o.handler)?o.handler.bind(s):n[o.handler];(0,j.isFunction)(v)&&me(d,v,o)}}function Ht(o){const n=o.type,{mixins:s,extends:c}=n,{mixins:d,optionsCache:v,config:{optionMergeStrategies:C}}=o.appContext,D=v.get(n);let q;return D?q=D:!d.length&&!s&&!c?q=n:(q={},d.length&&d.forEach(K=>er(q,K,C,!0)),er(q,n,C)),(0,j.isObject)(n)&&v.set(n,q),q}function er(o,n,s,c=!1){const{mixins:d,extends:v}=n;v&&er(o,v,s,!0),d&&d.forEach(C=>er(o,C,s,!0));for(const C in n)if(!(c&&C==="expose")){const D=vs[C]||s&&s[C];o[C]=D?D(o[C],n[C]):n[C]}return o}const vs={data:Do,props:Jn,emits:Jn,methods:Wr,computed:Wr,beforeCreate:Xn,created:Xn,beforeMount:Xn,mounted:Xn,beforeUpdate:Xn,updated:Xn,beforeDestroy:Xn,beforeUnmount:Xn,destroyed:Xn,unmounted:Xn,activated:Xn,deactivated:Xn,errorCaptured:Xn,serverPrefetch:Xn,components:Wr,directives:Wr,watch:wr,provide:Do,inject:ds};function Do(o,n){return n?o?function(){return(0,j.extend)((0,j.isFunction)(o)?o.call(this,this):o,(0,j.isFunction)(n)?n.call(this,this):n)}:n:o}function ds(o,n){return Wr(qs(o),qs(n))}function qs(o){if((0,j.isArray)(o)){const n={};for(let s=0;s<o.length;s++)n[o[s]]=o[s];return n}return o}function Xn(o,n){return o?[...new Set([].concat(o,n))]:n}function Wr(o,n){return o?(0,j.extend)(Object.create(null),o,n):n}function Jn(o,n){return o?(0,j.isArray)(o)&&(0,j.isArray)(n)?[...new Set([...o,...n])]:(0,j.extend)(Object.create(null),ht(o),ht(n!=null?n:{})):n}function wr(o,n){if(!o)return n;if(!n)return o;const s=(0,j.extend)(Object.create(null),o);for(const c in n)s[c]=Xn(o[c],n[c]);return s}function Mo(){return{app:null,config:{isNativeTag:j.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let bs=0;function Vr(o,n){return function(c,d=null){(0,j.isFunction)(c)||(c=(0,j.extend)({},c)),d!=null&&!(0,j.isObject)(d)&&(d=null);const v=Mo(),C=new Set;let D=!1;const q=v.app={_uid:bs++,_component:c,_props:d,_container:null,_context:v,_instance:null,version:Ia,get config(){return v.config},set config(K){},use(K,...ue){return C.has(K)||(K&&(0,j.isFunction)(K.install)?(C.add(K),K.install(q,...ue)):(0,j.isFunction)(K)&&(C.add(K),K(q,...ue))),q},mixin(K){return v.mixins.includes(K)||v.mixins.push(K),q},component(K,ue){return ue?(v.components[K]=ue,q):v.components[K]},directive(K,ue){return ue?(v.directives[K]=ue,q):v.directives[K]},mount(K,ue,fe){if(!D){const Ee=Te(c,d);return Ee.appContext=v,ue&&n?n(Ee,K):o(Ee,K,fe),D=!0,q._container=K,K.__vue_app__=q,$o(Ee.component)||Ee.component.proxy}},unmount(){D&&(o(null,q._container),delete q._container.__vue_app__)},provide(K,ue){return v.provides[K]=ue,q},runWithContext(K){zr=q;try{return K()}finally{zr=null}}};return q}}let zr=null;function Or(o,n){if(zn){let s=zn.provides;const c=zn.parent&&zn.parent.provides;c===s&&(s=zn.provides=Object.create(c)),s[o]=n}}function Mr(o,n,s=!1){const c=zn||Mi;if(c||zr){const d=c?c.parent==null?c.vnode.appContext&&c.vnode.appContext.provides:c.parent.provides:zr._context.provides;if(d&&o in d)return d[o];if(arguments.length>1)return s&&(0,j.isFunction)(n)?n.call(c&&c.proxy):n}}function Ln(){return!!(zn||Mi||zr)}function Ks(o,n,s,c=!1){const d={},v={};(0,j.def)(v,I,1),o.propsDefaults=Object.create(null),Ls(o,n,d,v);for(const C in o.propsOptions[0])C in d||(d[C]=void 0);s?o.props=c?d:(0,R.Um)(d):o.type.props?o.props=d:o.props=v,o.attrs=v}function Cs(o){for(;o;){if(o.type.__hmrId)return!0;o=o.parent}}function Qs(o,n,s,c){const{props:d,attrs:v,vnode:{patchFlag:C}}=o,D=(0,R.IU)(d),[q]=o.propsOptions;let K=!1;if((c||C>0)&&!(C&16)){if(C&8){const ue=o.vnode.dynamicProps;for(let fe=0;fe<ue.length;fe++){let Ee=ue[fe];if(Yi(o.emitsOptions,Ee))continue;const De=n[Ee];if(q)if((0,j.hasOwn)(v,Ee))De!==v[Ee]&&(v[Ee]=De,K=!0);else{const et=(0,j.camelize)(Ee);d[et]=fo(q,D,et,De,o,!1)}else De!==v[Ee]&&(v[Ee]=De,K=!0)}}}else{Ls(o,n,d,v)&&(K=!0);let ue;for(const fe in D)(!n||!(0,j.hasOwn)(n,fe)&&((ue=(0,j.hyphenate)(fe))===fe||!(0,j.hasOwn)(n,ue)))&&(q?s&&(s[fe]!==void 0||s[ue]!==void 0)&&(d[fe]=fo(q,D,fe,void 0,o,!0)):delete d[fe]);if(v!==D)for(const fe in v)(!n||!(0,j.hasOwn)(n,fe))&&(delete v[fe],K=!0)}K&&(0,R.X$)(o,"set","$attrs")}function Ls(o,n,s,c){const[d,v]=o.propsOptions;let C=!1,D;if(n)for(let q in n){if((0,j.isReservedProp)(q))continue;const K=n[q];let ue;d&&(0,j.hasOwn)(d,ue=(0,j.camelize)(q))?!v||!v.includes(ue)?s[ue]=K:(D||(D={}))[ue]=K:Yi(o.emitsOptions,q)||(!(q in c)||K!==c[q])&&(c[q]=K,C=!0)}if(v){const q=(0,R.IU)(s),K=D||j.EMPTY_OBJ;for(let ue=0;ue<v.length;ue++){const fe=v[ue];s[fe]=fo(d,q,fe,K[fe],o,!(0,j.hasOwn)(K,fe))}}return C}function fo(o,n,s,c,d,v){const C=o[s];if(C!=null){const D=(0,j.hasOwn)(C,"default");if(D&&c===void 0){const q=C.default;if(C.type!==Function&&!C.skipFactory&&(0,j.isFunction)(q)){const{propsDefaults:K}=d;s in K?c=K[s]:(ln(d),c=K[s]=q.call(null,n),In())}else c=q}C[0]&&(v&&!D?c=!1:C[1]&&(c===""||c===(0,j.hyphenate)(s))&&(c=!0))}return c}function ho(o,n,s=!1){const c=n.propsCache,d=c.get(o);if(d)return d;const v=o.props,C={},D=[];let q=!1;if(!(0,j.isFunction)(o)){const ue=fe=>{q=!0;const[Ee,De]=ho(fe,n,!0);(0,j.extend)(C,Ee),De&&D.push(...De)};!s&&n.mixins.length&&n.mixins.forEach(ue),o.extends&&ue(o.extends),o.mixins&&o.mixins.forEach(ue)}if(!v&&!q)return(0,j.isObject)(o)&&c.set(o,j.EMPTY_ARR),j.EMPTY_ARR;if((0,j.isArray)(v))for(let ue=0;ue<v.length;ue++){const fe=(0,j.camelize)(v[ue]);Zs(fe)&&(C[fe]=j.EMPTY_OBJ)}else if(v)for(const ue in v){const fe=(0,j.camelize)(ue);if(Zs(fe)){const Ee=v[ue],De=C[fe]=(0,j.isArray)(Ee)||(0,j.isFunction)(Ee)?{type:Ee}:(0,j.extend)({},Ee);if(De){const et=eo(Boolean,De.type),Ne=eo(String,De.type);De[0]=et>-1,De[1]=Ne<0||et<Ne,(et>-1||(0,j.hasOwn)(De,"default"))&&D.push(fe)}}}const K=[C,D];return(0,j.isObject)(o)&&c.set(o,K),K}function Zs(o){return o[0]!=="$"}function So(o){const n=o&&o.toString().match(/^\s*(function|class) (\w+)/);return n?n[2]:o===null?"null":""}function Ts(o,n){return So(o)===So(n)}function eo(o,n){return(0,j.isArray)(n)?n.findIndex(s=>Ts(s,o)):(0,j.isFunction)(n)&&Ts(n,o)?0:-1}function po(o,n,s){const c=toRaw(n),d=s.propsOptions[0];for(const v in d){let C=d[v];C!=null&&Lo(v,c[v],C,!hasOwn(o,v)&&!hasOwn(o,hyphenate(v)))}}function Lo(o,n,s,c){const{type:d,required:v,validator:C,skipCheck:D}=s;if(v&&c){se('Missing required prop: "'+o+'"');return}if(!(n==null&&!v)){if(d!=null&&d!==!0&&!D){let q=!1;const K=isArray(d)?d:[d],ue=[];for(let fe=0;fe<K.length&&!q;fe++){const{valid:Ee,expectedType:De}=Io(n,K[fe]);ue.push(De||""),q=Ee}if(!q){se(Fo(o,n,ue));return}}C&&!C(n)&&se('Invalid prop: custom validator check failed for prop "'+o+'".')}}const pr=null;function Io(o,n){let s;const c=So(n);if(pr(c)){const d=typeof o;s=d===c.toLowerCase(),!s&&d==="object"&&(s=o instanceof n)}else c==="Object"?s=isObject(o):c==="Array"?s=isArray(o):c==="null"?s=o===null:s=o instanceof n;return{valid:s,expectedType:c}}function Fo(o,n,s){let c=`Invalid prop: type check failed for prop "${o}". Expected ${s.map(capitalize).join(" | ")}`;const d=s[0],v=toRawType(n),C=mo(n,d),D=mo(n,v);return s.length===1&&No(d)&&!Bo(d,v)&&(c+=` with value ${C}`),c+=`, got ${v} `,No(v)&&(c+=`with value ${D}.`),c}function mo(o,n){return n==="String"?`"${o}"`:n==="Number"?`${Number(o)}`:`${o}`}function No(o){return["string","number","boolean"].some(s=>o.toLowerCase()===s)}function Bo(...o){return o.some(n=>n.toLowerCase()==="boolean")}const fa=o=>o[0]==="_"||o==="$stable",Xo=o=>(0,j.isArray)(o)?o.map(bi):[bi(o)],Ur=(o,n,s)=>{if(n._n)return n;const c=Bi((...d)=>Xo(n(...d)),s);return c._c=!1,c},Ce=(o,n,s)=>{const c=o._ctx;for(const d in o){if(fa(d))continue;const v=o[d];if((0,j.isFunction)(v))n[d]=Ur(d,v,c);else if(v!=null){const C=Xo(v);n[d]=()=>C}}},We=(o,n)=>{const s=Xo(n);o.slots.default=()=>s},mt=(o,n)=>{if(o.vnode.shapeFlag&32){const s=n._;s?(o.slots=(0,R.IU)(n),(0,j.def)(n,"_",s)):Ce(n,o.slots={})}else o.slots={},n&&We(o,n);(0,j.def)(o.slots,I,1)},yt=(o,n,s)=>{const{vnode:c,slots:d}=o;let v=!0,C=j.EMPTY_OBJ;if(c.shapeFlag&32){const D=n._;D?s&&D===1?v=!1:((0,j.extend)(d,n),!s&&D===1&&delete d._):(v=!n.$stable,Ce(n,d)),C=n}else n&&(We(o,n),C={default:1});if(v)for(const D in d)!fa(D)&&!(D in C)&&delete d[D]};function Rt(o,n,s,c,d=!1){if((0,j.isArray)(o)){o.forEach((Ee,De)=>Rt(Ee,n&&((0,j.isArray)(n)?n[De]:n),s,c,d));return}if(ge(c)&&!d)return;const v=c.shapeFlag&4?$o(c.component)||c.component.proxy:c.el,C=d?null:v,{i:D,r:q}=o,K=n&&n.r,ue=D.refs===j.EMPTY_OBJ?D.refs={}:D.refs,fe=D.setupState;if(K!=null&&K!==q&&((0,j.isString)(K)?(ue[K]=null,(0,j.hasOwn)(fe,K)&&(fe[K]=null)):(0,R.dq)(K)&&(K.value=null)),(0,j.isFunction)(q))te(q,D,12,[C,ue]);else{const Ee=(0,j.isString)(q),De=(0,R.dq)(q);if(Ee||De){const et=()=>{if(o.f){const Ne=Ee?(0,j.hasOwn)(fe,q)?fe[q]:ue[q]:q.value;d?(0,j.isArray)(Ne)&&(0,j.remove)(Ne,v):(0,j.isArray)(Ne)?Ne.includes(v)||Ne.push(v):Ee?(ue[q]=[v],(0,j.hasOwn)(fe,q)&&(fe[q]=ue[q])):(q.value=[v],o.k&&(ue[o.k]=q.value))}else Ee?(ue[q]=C,(0,j.hasOwn)(fe,q)&&(fe[q]=C)):De&&(q.value=C,o.k&&(ue[o.k]=C))};C?(et.id=-1,bn(et,s)):et()}}}let Nt=!1;const ni=o=>/svg/.test(o.namespaceURI)&&o.tagName!=="foreignObject",_i=o=>o.nodeType===8;function oi(o){const{mt:n,p:s,o:{patchProp:c,createText:d,nextSibling:v,parentNode:C,remove:D,insert:q,createComment:K}}=o,ue=(Je,Ye)=>{if(!Ye.hasChildNodes()){s(null,Je,Ye),Ue(),Ye._vnode=Je;return}Nt=!1,fe(Ye.firstChild,Je,null,null,null),Ue(),Ye._vnode=Je,Nt&&console.error("Hydration completed but contains mismatches.")},fe=(Je,Ye,at,st,Qe,Tt=!1)=>{const At=_i(Je)&&Je.data==="[",bt=()=>Ne(Je,Ye,at,st,Qe,At),{type:kt,ref:ri,shapeFlag:yi,patchFlag:hn}=Ye;let dn=Je.nodeType;Ye.el=Je,hn===-2&&(Tt=!1,Ye.dynamicChildren=null);let mi=null;switch(kt){case _s:dn!==3?Ye.children===""?(q(Ye.el=d(""),C(Je),Je),mi=Je):mi=bt():(Je.data!==Ye.children&&(Nt=!0,Je.data=Ye.children),mi=v(Je));break;case Wn:dn!==8||At?mi=bt():mi=v(Je);break;case Ys:if(At&&(Je=v(Je),dn=Je.nodeType),dn===1||dn===3){mi=Je;const Bn=!Ye.children.length;for(let Xi=0;Xi<Ye.staticCount;Xi++)Bn&&(Ye.children+=mi.nodeType===1?mi.outerHTML:mi.data),Xi===Ye.staticCount-1&&(Ye.anchor=mi),mi=v(mi);return At?v(mi):mi}else bt();break;case jr:At?mi=et(Je,Ye,at,st,Qe,Tt):mi=bt();break;default:if(yi&1)dn!==1||Ye.type.toLowerCase()!==Je.tagName.toLowerCase()?mi=bt():mi=Ee(Je,Ye,at,st,Qe,Tt);else if(yi&6){Ye.slotScopeIds=Qe;const Bn=C(Je);if(n(Ye,Bn,null,at,st,ni(Bn),Tt),mi=At?vt(Je):v(Je),mi&&_i(mi)&&mi.data==="teleport end"&&(mi=v(mi)),ge(Ye)){let Xi;At?(Xi=Te(jr),Xi.anchor=mi?mi.previousSibling:Bn.lastChild):Xi=Je.nodeType===3?Mt(""):Te("div"),Xi.el=Je,Ye.component.subTree=Xi}}else yi&64?dn!==8?mi=bt():mi=Ye.type.hydrate(Je,Ye,at,st,Qe,Tt,o,De):yi&128&&(mi=Ye.type.hydrate(Je,Ye,at,st,ni(C(Je)),Qe,Tt,o,fe))}return ri!=null&&Rt(ri,null,st,Ye),mi},Ee=(Je,Ye,at,st,Qe,Tt)=>{Tt=Tt||!!Ye.dynamicChildren;const{type:At,props:bt,patchFlag:kt,shapeFlag:ri,dirs:yi}=Ye,hn=At==="input"&&yi||At==="option";if(hn||kt!==-1){if(yi&&Fi(Ye,null,at,"created"),bt)if(hn||!Tt||kt&48)for(const mi in bt)(hn&&mi.endsWith("value")||(0,j.isOn)(mi)&&!(0,j.isReservedProp)(mi))&&c(Je,mi,null,bt[mi],!1,void 0,at);else bt.onClick&&c(Je,"onClick",null,bt.onClick,!1,void 0,at);let dn;if((dn=bt&&bt.onVnodeBeforeMount)&&mn(dn,at,Ye),yi&&Fi(Ye,null,at,"beforeMount"),((dn=bt&&bt.onVnodeMounted)||yi)&&is(()=>{dn&&mn(dn,at,Ye),yi&&Fi(Ye,null,at,"mounted")},st),ri&16&&!(bt&&(bt.innerHTML||bt.textContent))){let mi=De(Je.firstChild,Ye,Je,at,st,Qe,Tt),Bn=!1;for(;mi;){Nt=!0;const Xi=mi;mi=mi.nextSibling,D(Xi)}}else ri&8&&Je.textContent!==Ye.children&&(Nt=!0,Je.textContent=Ye.children)}return Je.nextSibling},De=(Je,Ye,at,st,Qe,Tt,At)=>{At=At||!!Ye.dynamicChildren;const bt=Ye.children,kt=bt.length;let ri=!1;for(let yi=0;yi<kt;yi++){const hn=At?bt[yi]:bt[yi]=bi(bt[yi]);if(Je)Je=fe(Je,hn,st,Qe,Tt,At);else{if(hn.type===_s&&!hn.children)continue;Nt=!0,s(null,hn,at,null,st,Qe,ni(at),Tt)}}return Je},et=(Je,Ye,at,st,Qe,Tt)=>{const{slotScopeIds:At}=Ye;At&&(Qe=Qe?Qe.concat(At):At);const bt=C(Je),kt=De(v(Je),Ye,bt,at,st,Qe,Tt);return kt&&_i(kt)&&kt.data==="]"?v(Ye.anchor=kt):(Nt=!0,q(Ye.anchor=K("]"),bt,kt),kt)},Ne=(Je,Ye,at,st,Qe,Tt)=>{if(Nt=!0,Ye.el=null,Tt){const kt=vt(Je);for(;;){const ri=v(Je);if(ri&&ri!==kt)D(ri);else break}}const At=v(Je),bt=C(Je);return D(Je),s(null,Ye,bt,At,at,st,ni(bt),Qe),At},vt=Je=>{let Ye=0;for(;Je;)if(Je=v(Je),Je&&_i(Je)&&(Je.data==="["&&Ye++,Je.data==="]")){if(Ye===0)return v(Je);Ye--}return Je};return[ue,fe]}let on,wi;function fn(o,n){o.appContext.config.performance&&Ei()&&wi.mark(`vue-${n}-${o.uid}`)}function an(o,n){if(o.appContext.config.performance&&Ei()){const s=`vue-${n}-${o.uid}`,c=s+":end";wi.mark(c),wi.measure(`<${ll(o,o.type)}> ${n}`,s,c),wi.clearMarks(s),wi.clearMarks(c)}}function Ei(){return on!==void 0||(typeof window!="undefined"&&window.performance?(on=!0,wi=window.performance):on=!1),on}function Un(){const o=[]}const bn=is;function Rr(o){return ys(o)}function hs(o){return ys(o,oi)}function ys(o,n){Un();const s=(0,j.getGlobalThis)();s.__VUE__=!0;const{insert:c,remove:d,patchProp:v,createElement:C,createText:D,createComment:q,setText:K,setElementText:ue,parentNode:fe,nextSibling:Ee,setScopeId:De=j.NOOP,insertStaticContent:et}=o,Ne=($e,rt,Lt,Wt=null,qt=null,ai=null,xi=!1,Kt=null,di=!!rt.dynamicChildren)=>{if($e===rt)return;$e&&!Kr($e,rt)&&(Wt=kl($e),ws($e,qt,ai,!0),$e=null),rt.patchFlag===-2&&(di=!1,rt.dynamicChildren=null);const{type:Xt,ref:en,shapeFlag:Vi}=rt;switch(Xt){case _s:vt($e,rt,Lt,Wt);break;case Wn:Je($e,rt,Lt,Wt);break;case Ys:$e==null&&Ye(rt,Lt,Wt,xi);break;case jr:dn($e,rt,Lt,Wt,qt,ai,xi,Kt,di);break;default:Vi&1?Tt($e,rt,Lt,Wt,qt,ai,xi,Kt,di):Vi&6?mi($e,rt,Lt,Wt,qt,ai,xi,Kt,di):(Vi&64||Vi&128)&&Xt.process($e,rt,Lt,Wt,qt,ai,xi,Kt,di,Fa)}en!=null&&qt&&Rt(en,$e&&$e.ref,ai,rt||$e,!rt)},vt=($e,rt,Lt,Wt)=>{if($e==null)c(rt.el=D(rt.children),Lt,Wt);else{const qt=rt.el=$e.el;rt.children!==$e.children&&K(qt,rt.children)}},Je=($e,rt,Lt,Wt)=>{$e==null?c(rt.el=q(rt.children||""),Lt,Wt):rt.el=$e.el},Ye=($e,rt,Lt,Wt)=>{[$e.el,$e.anchor]=et($e.children,rt,Lt,Wt,$e.el,$e.anchor)},at=($e,rt,Lt,Wt)=>{if(rt.children!==$e.children){const qt=Ee($e.anchor);Qe($e),[rt.el,rt.anchor]=et(rt.children,Lt,qt,Wt)}else rt.el=$e.el,rt.anchor=$e.anchor},st=({el:$e,anchor:rt},Lt,Wt)=>{let qt;for(;$e&&$e!==rt;)qt=Ee($e),c($e,Lt,Wt),$e=qt;c(rt,Lt,Wt)},Qe=({el:$e,anchor:rt})=>{let Lt;for(;$e&&$e!==rt;)Lt=Ee($e),d($e),$e=Lt;d(rt)},Tt=($e,rt,Lt,Wt,qt,ai,xi,Kt,di)=>{xi=xi||rt.type==="svg",$e==null?At(rt,Lt,Wt,qt,ai,xi,Kt,di):ri($e,rt,qt,ai,xi,Kt,di)},At=($e,rt,Lt,Wt,qt,ai,xi,Kt)=>{let di,Xt;const{type:en,props:Vi,shapeFlag:tn,transition:wn,dirs:Hn}=$e;if(di=$e.el=C($e.type,ai,Vi&&Vi.is,Vi),tn&8?ue(di,$e.children):tn&16&&kt($e.children,di,null,Wt,qt,ai&&en!=="foreignObject",xi,Kt),Hn&&Fi($e,null,Wt,"created"),bt(di,$e,$e.scopeId,xi,Wt),Vi){for(const cr in Vi)cr!=="value"&&!(0,j.isReservedProp)(cr)&&v(di,cr,null,Vi[cr],ai,$e.children,Wt,qt,ha);"value"in Vi&&v(di,"value",null,Vi.value),(Xt=Vi.onVnodeBeforeMount)&&mn(Xt,Wt,$e)}Hn&&Fi($e,null,Wt,"beforeMount");const mr=(!qt||qt&&!qt.pendingBranch)&&wn&&!wn.persisted;mr&&wn.beforeEnter(di),c(di,rt,Lt),((Xt=Vi&&Vi.onVnodeMounted)||mr||Hn)&&bn(()=>{Xt&&mn(Xt,Wt,$e),mr&&wn.enter(di),Hn&&Fi($e,null,Wt,"mounted")},qt)},bt=($e,rt,Lt,Wt,qt)=>{if(Lt&&De($e,Lt),Wt)for(let ai=0;ai<Wt.length;ai++)De($e,Wt[ai]);if(qt){let ai=qt.subTree;if(rt===ai){const xi=qt.vnode;bt($e,xi,xi.scopeId,xi.slotScopeIds,qt.parent)}}},kt=($e,rt,Lt,Wt,qt,ai,xi,Kt,di=0)=>{for(let Xt=di;Xt<$e.length;Xt++){const en=$e[Xt]=Kt?Oi($e[Xt]):bi($e[Xt]);Ne(null,en,rt,Lt,Wt,qt,ai,xi,Kt)}},ri=($e,rt,Lt,Wt,qt,ai,xi)=>{const Kt=rt.el=$e.el;let{patchFlag:di,dynamicChildren:Xt,dirs:en}=rt;di|=$e.patchFlag&16;const Vi=$e.props||j.EMPTY_OBJ,tn=rt.props||j.EMPTY_OBJ;let wn;Lt&&qr(Lt,!1),(wn=tn.onVnodeBeforeUpdate)&&mn(wn,Lt,rt,$e),en&&Fi(rt,$e,Lt,"beforeUpdate"),Lt&&qr(Lt,!0);const Hn=qt&&rt.type!=="foreignObject";if(Xt?yi($e.dynamicChildren,Xt,Kt,Lt,Wt,Hn,ai):xi||ms($e,rt,Kt,null,Lt,Wt,Hn,ai,!1),di>0){if(di&16)hn(Kt,rt,Vi,tn,Lt,Wt,qt);else if(di&2&&Vi.class!==tn.class&&v(Kt,"class",null,tn.class,qt),di&4&&v(Kt,"style",Vi.style,tn.style,qt),di&8){const mr=rt.dynamicProps;for(let cr=0;cr<mr.length;cr++){const es=mr[cr],no=Vi[es],Na=tn[es];(Na!==no||es==="value")&&v(Kt,es,no,Na,qt,$e.children,Lt,Wt,ha)}}di&1&&$e.children!==rt.children&&ue(Kt,rt.children)}else!xi&&Xt==null&&hn(Kt,rt,Vi,tn,Lt,Wt,qt);((wn=tn.onVnodeUpdated)||en)&&bn(()=>{wn&&mn(wn,Lt,rt,$e),en&&Fi(rt,$e,Lt,"updated")},Wt)},yi=($e,rt,Lt,Wt,qt,ai,xi)=>{for(let Kt=0;Kt<rt.length;Kt++){const di=$e[Kt],Xt=rt[Kt],en=di.el&&(di.type===jr||!Kr(di,Xt)||di.shapeFlag&70)?fe(di.el):Lt;Ne(di,Xt,en,null,Wt,qt,ai,xi,!0)}},hn=($e,rt,Lt,Wt,qt,ai,xi)=>{if(Lt!==Wt){if(Lt!==j.EMPTY_OBJ)for(const Kt in Lt)!(0,j.isReservedProp)(Kt)&&!(Kt in Wt)&&v($e,Kt,Lt[Kt],null,xi,rt.children,qt,ai,ha);for(const Kt in Wt){if((0,j.isReservedProp)(Kt))continue;const di=Wt[Kt],Xt=Lt[Kt];di!==Xt&&Kt!=="value"&&v($e,Kt,Xt,di,xi,rt.children,qt,ai,ha)}"value"in Wt&&v($e,"value",Lt.value,Wt.value)}},dn=($e,rt,Lt,Wt,qt,ai,xi,Kt,di)=>{const Xt=rt.el=$e?$e.el:D(""),en=rt.anchor=$e?$e.anchor:D("");let{patchFlag:Vi,dynamicChildren:tn,slotScopeIds:wn}=rt;wn&&(Kt=Kt?Kt.concat(wn):wn),$e==null?(c(Xt,Lt,Wt),c(en,Lt,Wt),kt(rt.children,Lt,en,qt,ai,xi,Kt,di)):Vi>0&&Vi&64&&tn&&$e.dynamicChildren?(yi($e.dynamicChildren,tn,Lt,qt,ai,xi,Kt),(rt.key!=null||qt&&rt===qt.subTree)&&xr($e,rt,!0)):ms($e,rt,Lt,en,qt,ai,xi,Kt,di)},mi=($e,rt,Lt,Wt,qt,ai,xi,Kt,di)=>{rt.slotScopeIds=Kt,$e==null?rt.shapeFlag&512?qt.ctx.activate(rt,Lt,Wt,xi,di):Bn(rt,Lt,Wt,qt,ai,xi,di):Xi($e,rt,di)},Bn=($e,rt,Lt,Wt,qt,ai,xi)=>{const Kt=$e.component=$r($e,Wt,qt);if(Pt($e)&&(Kt.ctx.renderer=Fa),io(Kt),Kt.asyncDep){if(qt&&qt.registerDep(Kt,Sn),!$e.el){const di=Kt.subTree=Te(Wn);Je(null,di,rt,Lt)}return}Sn(Kt,$e,rt,Lt,qt,ai,xi)},Xi=($e,rt,Lt)=>{const Wt=rt.component=$e.component;if(ct($e,rt,Lt))if(Wt.asyncDep&&!Wt.asyncResolved){qn(Wt,rt,Lt);return}else Wt.next=rt,F(Wt.update),Wt.update();else rt.el=$e.el,Wt.vnode=rt},Sn=($e,rt,Lt,Wt,qt,ai,xi)=>{const Kt=()=>{if($e.isMounted){let{next:en,bu:Vi,u:tn,parent:wn,vnode:Hn}=$e,mr=en,cr;qr($e,!1),en?(en.el=Hn.el,qn($e,en,xi)):en=Hn,Vi&&(0,j.invokeArrayFns)(Vi),(cr=en.props&&en.props.onVnodeBeforeUpdate)&&mn(cr,wn,en,Hn),qr($e,!0);const es=Zn($e),no=$e.subTree;$e.subTree=es,Ne(no,es,fe(no.el),kl(no),$e,qt,ai),en.el=es.el,mr===null&&Jt($e,es.el),tn&&bn(tn,qt),(cr=en.props&&en.props.onVnodeUpdated)&&bn(()=>mn(cr,wn,en,Hn),qt)}else{let en;const{el:Vi,props:tn}=rt,{bm:wn,m:Hn,parent:mr}=$e,cr=ge(rt);if(qr($e,!1),wn&&(0,j.invokeArrayFns)(wn),!cr&&(en=tn&&tn.onVnodeBeforeMount)&&mn(en,mr,rt),qr($e,!0),Vi&&Al){const es=()=>{$e.subTree=Zn($e),Al(Vi,$e.subTree,$e,qt,null)};cr?rt.type.__asyncLoader().then(()=>!$e.isUnmounted&&es()):es()}else{const es=$e.subTree=Zn($e);Ne(null,es,Lt,Wt,$e,qt,ai),rt.el=es.el}if(Hn&&bn(Hn,qt),!cr&&(en=tn&&tn.onVnodeMounted)){const es=rt;bn(()=>mn(en,mr,es),qt)}(rt.shapeFlag&256||mr&&ge(mr.vnode)&&mr.vnode.shapeFlag&256)&&$e.a&&bn($e.a,qt),$e.isMounted=!0,rt=Lt=Wt=null}},di=$e.effect=new R.qq(Kt,()=>L(Xt),$e.scope),Xt=$e.update=()=>di.run();Xt.id=$e.uid,qr($e,!0),Xt()},qn=($e,rt,Lt)=>{rt.component=$e;const Wt=$e.vnode.props;$e.vnode=rt,$e.next=null,Qs($e,rt.props,Wt,Lt),yt($e,rt.children,Lt),(0,R.Jd)(),ye(),(0,R.lk)()},ms=($e,rt,Lt,Wt,qt,ai,xi,Kt,di=!1)=>{const Xt=$e&&$e.children,en=$e?$e.shapeFlag:0,Vi=rt.children,{patchFlag:tn,shapeFlag:wn}=rt;if(tn>0){if(tn&128){Zr(Xt,Vi,Lt,Wt,qt,ai,xi,Kt,di);return}else if(tn&256){ta(Xt,Vi,Lt,Wt,qt,ai,xi,Kt,di);return}}wn&8?(en&16&&ha(Xt,qt,ai),Vi!==Xt&&ue(Lt,Vi)):en&16?wn&16?Zr(Xt,Vi,Lt,Wt,qt,ai,xi,Kt,di):ha(Xt,qt,ai,!0):(en&8&&ue(Lt,""),wn&16&&kt(Vi,Lt,Wt,qt,ai,xi,Kt,di))},ta=($e,rt,Lt,Wt,qt,ai,xi,Kt,di)=>{$e=$e||j.EMPTY_ARR,rt=rt||j.EMPTY_ARR;const Xt=$e.length,en=rt.length,Vi=Math.min(Xt,en);let tn;for(tn=0;tn<Vi;tn++){const wn=rt[tn]=di?Oi(rt[tn]):bi(rt[tn]);Ne($e[tn],wn,Lt,null,qt,ai,xi,Kt,di)}Xt>en?ha($e,qt,ai,!0,!1,Vi):kt(rt,Lt,Wt,qt,ai,xi,Kt,di,Vi)},Zr=($e,rt,Lt,Wt,qt,ai,xi,Kt,di)=>{let Xt=0;const en=rt.length;let Vi=$e.length-1,tn=en-1;for(;Xt<=Vi&&Xt<=tn;){const wn=$e[Xt],Hn=rt[Xt]=di?Oi(rt[Xt]):bi(rt[Xt]);if(Kr(wn,Hn))Ne(wn,Hn,Lt,null,qt,ai,xi,Kt,di);else break;Xt++}for(;Xt<=Vi&&Xt<=tn;){const wn=$e[Vi],Hn=rt[tn]=di?Oi(rt[tn]):bi(rt[tn]);if(Kr(wn,Hn))Ne(wn,Hn,Lt,null,qt,ai,xi,Kt,di);else break;Vi--,tn--}if(Xt>Vi){if(Xt<=tn){const wn=tn+1,Hn=wn<en?rt[wn].el:Wt;for(;Xt<=tn;)Ne(null,rt[Xt]=di?Oi(rt[Xt]):bi(rt[Xt]),Lt,Hn,qt,ai,xi,Kt,di),Xt++}}else if(Xt>tn)for(;Xt<=Vi;)ws($e[Xt],qt,ai,!0),Xt++;else{const wn=Xt,Hn=Xt,mr=new Map;for(Xt=Hn;Xt<=tn;Xt++){const vo=rt[Xt]=di?Oi(rt[Xt]):bi(rt[Xt]);vo.key!=null&&mr.set(vo.key,Xt)}let cr,es=0;const no=tn-Hn+1;let Na=!1,gc=0;const Aa=new Array(no);for(Xt=0;Xt<no;Xt++)Aa[Xt]=0;for(Xt=wn;Xt<=Vi;Xt++){const vo=$e[Xt];if(es>=no){ws(vo,qt,ai,!0);continue}let As;if(vo.key!=null)As=mr.get(vo.key);else for(cr=Hn;cr<=tn;cr++)if(Aa[cr-Hn]===0&&Kr(vo,rt[cr])){As=cr;break}As===void 0?ws(vo,qt,ai,!0):(Aa[As-Hn]=Xt+1,As>=gc?gc=As:Na=!0,Ne(vo,rt[As],Lt,null,qt,ai,xi,Kt,di),es++)}const hl=Na?Jo(Aa):j.EMPTY_ARR;for(cr=hl.length-1,Xt=no-1;Xt>=0;Xt--){const vo=Hn+Xt,As=rt[vo],mu=vo+1<en?rt[vo+1].el:Wt;Aa[Xt]===0?Ne(null,As,Lt,mu,qt,ai,xi,Kt,di):Na&&(cr<0||Xt!==hl[cr]?ia(As,Lt,mu,2):cr--)}}},ia=($e,rt,Lt,Wt,qt=null)=>{const{el:ai,type:xi,transition:Kt,children:di,shapeFlag:Xt}=$e;if(Xt&6){ia($e.component.subTree,rt,Lt,Wt);return}if(Xt&128){$e.suspense.move(rt,Lt,Wt);return}if(Xt&64){xi.move($e,rt,Lt,Fa);return}if(xi===jr){c(ai,rt,Lt);for(let Vi=0;Vi<di.length;Vi++)ia(di[Vi],rt,Lt,Wt);c($e.anchor,rt,Lt);return}if(xi===Ys){st($e,rt,Lt);return}if(Wt!==2&&Xt&1&&Kt)if(Wt===0)Kt.beforeEnter(ai),c(ai,rt,Lt),bn(()=>Kt.enter(ai),qt);else{const{leave:Vi,delayLeave:tn,afterLeave:wn}=Kt,Hn=()=>c(ai,rt,Lt),mr=()=>{Vi(ai,()=>{Hn(),wn&&wn()})};tn?tn(ai,Hn,mr):mr()}else c(ai,rt,Lt)},ws=($e,rt,Lt,Wt=!1,qt=!1)=>{const{type:ai,props:xi,ref:Kt,children:di,dynamicChildren:Xt,shapeFlag:en,patchFlag:Vi,dirs:tn}=$e;if(Kt!=null&&Rt(Kt,null,Lt,$e,!0),en&256){rt.ctx.deactivate($e);return}const wn=en&1&&tn,Hn=!ge($e);let mr;if(Hn&&(mr=xi&&xi.onVnodeBeforeUnmount)&&mn(mr,rt,$e),en&6)hu($e.component,Lt,Wt);else{if(en&128){$e.suspense.unmount(Lt,Wt);return}wn&&Fi($e,null,rt,"beforeUnmount"),en&64?$e.type.remove($e,rt,Lt,qt,Fa,Wt):Xt&&(ai!==jr||Vi>0&&Vi&64)?ha(Xt,rt,Lt,!1,!0):(ai===jr&&Vi&384||!qt&&en&16)&&ha(di,rt,Lt),Wt&&zo($e)}(Hn&&(mr=xi&&xi.onVnodeUnmounted)||wn)&&bn(()=>{mr&&mn(mr,rt,$e),wn&&Fi($e,null,rt,"unmounted")},Lt)},zo=$e=>{const{type:rt,el:Lt,anchor:Wt,transition:qt}=$e;if(rt===jr){du(Lt,Wt);return}if(rt===Ys){Qe($e);return}const ai=()=>{d(Lt),qt&&!qt.persisted&&qt.afterLeave&&qt.afterLeave()};if($e.shapeFlag&1&&qt&&!qt.persisted){const{leave:xi,delayLeave:Kt}=qt,di=()=>xi(Lt,ai);Kt?Kt($e.el,ai,di):di()}else ai()},du=($e,rt)=>{let Lt;for(;$e!==rt;)Lt=Ee($e),d($e),$e=Lt;d(rt)},hu=($e,rt,Lt)=>{const{bum:Wt,scope:qt,update:ai,subTree:xi,um:Kt}=$e;Wt&&(0,j.invokeArrayFns)(Wt),qt.stop(),ai&&(ai.active=!1,ws(xi,$e,rt,Lt)),Kt&&bn(Kt,rt),bn(()=>{$e.isUnmounted=!0},rt),rt&&rt.pendingBranch&&!rt.isUnmounted&&$e.asyncDep&&!$e.asyncResolved&&$e.suspenseId===rt.pendingId&&(rt.deps--,rt.deps===0&&rt.resolve())},ha=($e,rt,Lt,Wt=!1,qt=!1,ai=0)=>{for(let xi=ai;xi<$e.length;xi++)ws($e[xi],rt,Lt,Wt,qt)},kl=$e=>$e.shapeFlag&6?kl($e.component.subTree):$e.shapeFlag&128?$e.suspense.next():Ee($e.anchor||$e.el),pu=($e,rt,Lt)=>{$e==null?rt._vnode&&ws(rt._vnode,null,null,!0):Ne(rt._vnode||null,$e,rt,null,null,null,Lt),ye(),Ue(),rt._vnode=$e},Fa={p:Ne,um:ws,m:ia,r:zo,mt:Bn,mc:kt,pc:ms,pbc:yi,n:kl,o};let ql,Al;return n&&([ql,Al]=n(Fa)),{render:pu,hydrate:ql,createApp:Vr(pu,ql)}}function qr({effect:o,update:n},s){o.allowRecurse=n.allowRecurse=s}function xr(o,n,s=!1){const c=o.children,d=n.children;if((0,j.isArray)(c)&&(0,j.isArray)(d))for(let v=0;v<c.length;v++){const C=c[v];let D=d[v];D.shapeFlag&1&&!D.dynamicChildren&&((D.patchFlag<=0||D.patchFlag===32)&&(D=d[v]=Oi(d[v]),D.el=C.el),s||xr(C,D)),D.type===_s&&(D.el=C.el)}}function Jo(o){const n=o.slice(),s=[0];let c,d,v,C,D;const q=o.length;for(c=0;c<q;c++){const K=o[c];if(K!==0){if(d=s[s.length-1],o[d]<K){n[c]=d,s.push(c);continue}for(v=0,C=s.length-1;v<C;)D=v+C>>1,o[s[D]]<K?v=D+1:C=D;K<o[s[v]]&&(v>0&&(n[c]=s[v-1]),s[v]=c)}}for(v=s.length,C=s[v-1];v-- >0;)s[v]=C,C=n[C];return s}const wa=o=>o.__isTeleport,xa=o=>o&&(o.disabled||o.disabled===""),ja=o=>typeof SVGElement!="undefined"&&o instanceof SVGElement,Ra=(o,n)=>{const s=o&&o.to;if((0,j.isString)(s))if(n){const c=n(s);return c}else return null;else return s},Sa={__isTeleport:!0,process(o,n,s,c,d,v,C,D,q,K){const{mc:ue,pc:fe,pbc:Ee,o:{insert:De,querySelector:et,createText:Ne,createComment:vt}}=K,Je=xa(n.props);let{shapeFlag:Ye,children:at,dynamicChildren:st}=n;if(o==null){const Qe=n.el=Ne(""),Tt=n.anchor=Ne("");De(Qe,s,c),De(Tt,s,c);const At=n.target=Ra(n.props,et),bt=n.targetAnchor=Ne("");At&&(De(bt,At),C=C||ja(At));const kt=(ri,yi)=>{Ye&16&&ue(at,ri,yi,d,v,C,D,q)};Je?kt(s,Tt):At&&kt(At,bt)}else{n.el=o.el;const Qe=n.anchor=o.anchor,Tt=n.target=o.target,At=n.targetAnchor=o.targetAnchor,bt=xa(o.props),kt=bt?s:Tt,ri=bt?Qe:At;if(C=C||ja(Tt),st?(Ee(o.dynamicChildren,st,kt,d,v,C,D),xr(o,n,!0)):q||fe(o,n,kt,ri,d,v,C,D,!1),Je)bt||ar(n,s,Qe,K,1);else if((n.props&&n.props.to)!==(o.props&&o.props.to)){const yi=n.target=Ra(n.props,et);yi&&ar(n,yi,null,K,0)}else bt&&ar(n,Tt,At,K,1)}Er(n)},remove(o,n,s,c,{um:d,o:{remove:v}},C){const{shapeFlag:D,children:q,anchor:K,targetAnchor:ue,target:fe,props:Ee}=o;if(fe&&v(ue),(C||!xa(Ee))&&(v(K),D&16))for(let De=0;De<q.length;De++){const et=q[De];d(et,n,s,!0,!!et.dynamicChildren)}},move:ar,hydrate:to};function ar(o,n,s,{o:{insert:c},m:d},v=2){v===0&&c(o.targetAnchor,n,s);const{el:C,anchor:D,shapeFlag:q,children:K,props:ue}=o,fe=v===2;if(fe&&c(C,n,s),(!fe||xa(ue))&&q&16)for(let Ee=0;Ee<K.length;Ee++)d(K[Ee],n,s,2);fe&&c(D,n,s)}function to(o,n,s,c,d,v,{o:{nextSibling:C,parentNode:D,querySelector:q}},K){const ue=n.target=Ra(n.props,q);if(ue){const fe=ue._lpa||ue.firstChild;if(n.shapeFlag&16)if(xa(n.props))n.anchor=K(C(o),n,D(o),s,c,d,v),n.targetAnchor=fe;else{n.anchor=C(o);let Ee=fe;for(;Ee;)if(Ee=C(Ee),Ee&&Ee.nodeType===8&&Ee.data==="teleport anchor"){n.targetAnchor=Ee,ue._lpa=n.targetAnchor&&C(n.targetAnchor);break}K(fe,n,ue,s,c,d,v)}Er(n)}return n.anchor&&C(n.anchor)}const Es=Sa;function Er(o){const n=o.ctx;if(n&&n.ut){let s=o.children[0].el;for(;s!==o.targetAnchor;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}const jr=Symbol.for("v-fgt"),_s=Symbol.for("v-txt"),Wn=Symbol.for("v-cmt"),Ys=Symbol.for("v-stc"),Ho=[];let ps=null;function os(o=!1){Ho.push(ps=o?null:[])}function Co(){Ho.pop(),ps=Ho[Ho.length-1]||null}let ks=1;function To(o){ks+=o}function Ca(o){return o.dynamicChildren=ks>0?ps||j.EMPTY_ARR:null,Co(),ks>0&&ps&&ps.push(o),o}function Ya(o,n,s,c,d,v){return Ca(we(o,n,s,c,d,v,!0))}function Ta(o,n,s,c,d){return Ca(Te(o,n,s,c,d,!0))}function go(o){return o?o.__v_isVNode===!0:!1}function Kr(o,n){return o.type===n.type&&o.key===n.key}let Ea;function h(o){Ea=o}const k=(...o)=>Re(...Ea?Ea(o,Mi):o),I="__vInternal",ne=({key:o})=>o!=null?o:null,je=({ref:o,ref_key:n,ref_for:s})=>(typeof o=="number"&&(o=""+o),o!=null?(0,j.isString)(o)||(0,R.dq)(o)||(0,j.isFunction)(o)?{i:Mi,r:o,k:n,f:!!s}:o:null);function we(o,n=null,s=null,c=0,d=null,v=o===jr?0:1,C=!1,D=!1){const q={__v_isVNode:!0,__v_skip:!0,type:o,props:n,key:n&&ne(n),ref:n&&je(n),scopeId:Pn,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:v,patchFlag:c,dynamicProps:d,dynamicChildren:null,appContext:null,ctx:Mi};return D?(Ui(q,s),v&128&&o.normalize(q)):s&&(q.shapeFlag|=(0,j.isString)(s)?8:16),ks>0&&!C&&ps&&(q.patchFlag>0||v&6)&&q.patchFlag!==32&&ps.push(q),q}const Te=Re;function Re(o,n=null,s=null,c=0,d=null,v=!1){if((!o||o===us)&&(o=Wn),go(o)){const D=ft(o,n,!0);return s&&Ui(D,s),ks>0&&!v&&ps&&(D.shapeFlag&6?ps[ps.indexOf(o)]=D:ps.push(D)),D.patchFlag|=-2,D}if(cl(o)&&(o=o.__vccOpts),n){n=ze(n);let{class:D,style:q}=n;D&&!(0,j.isString)(D)&&(n.class=(0,j.normalizeClass)(D)),(0,j.isObject)(q)&&((0,R.X3)(q)&&!(0,j.isArray)(q)&&(q=(0,j.extend)({},q)),n.style=(0,j.normalizeStyle)(q))}const C=(0,j.isString)(o)?1:vi(o)?128:wa(o)?64:(0,j.isObject)(o)?4:(0,j.isFunction)(o)?2:0;return we(o,n,s,c,d,C,v,!0)}function ze(o){return o?(0,R.X3)(o)||I in o?(0,j.extend)({},o):o:null}function ft(o,n,s=!1){const{props:c,ref:d,patchFlag:v,children:C}=o,D=n?Qi(c||{},n):c;return{__v_isVNode:!0,__v_skip:!0,type:o.type,props:D,key:D&&ne(D),ref:n&&n.ref?s&&d?(0,j.isArray)(d)?d.concat(je(n)):[d,je(n)]:je(n):d,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:C,target:o.target,targetAnchor:o.targetAnchor,staticCount:o.staticCount,shapeFlag:o.shapeFlag,patchFlag:n&&o.type!==jr?v===-1?16:v|16:v,dynamicProps:o.dynamicProps,dynamicChildren:o.dynamicChildren,appContext:o.appContext,dirs:o.dirs,transition:o.transition,component:o.component,suspense:o.suspense,ssContent:o.ssContent&&ft(o.ssContent),ssFallback:o.ssFallback&&ft(o.ssFallback),el:o.el,anchor:o.anchor,ctx:o.ctx,ce:o.ce}}function Ut(o){const n=ft(o);return isArray(o.children)&&(n.children=o.children.map(Ut)),n}function Mt(o=" ",n=0){return Te(_s,null,o,n)}function gi(o,n){const s=Te(Ys,null,o);return s.staticCount=n,s}function fi(o="",n=!1){return n?(os(),Ta(Wn,null,o)):Te(Wn,null,o)}function bi(o){return o==null||typeof o=="boolean"?Te(Wn):(0,j.isArray)(o)?Te(jr,null,o.slice()):typeof o=="object"?Oi(o):Te(_s,null,String(o))}function Oi(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:ft(o)}function Ui(o,n){let s=0;const{shapeFlag:c}=o;if(n==null)n=null;else if((0,j.isArray)(n))s=16;else if(typeof n=="object")if(c&65){const d=n.default;d&&(d._c&&(d._d=!1),Ui(o,d()),d._c&&(d._d=!0));return}else{s=32;const d=n._;!d&&!(I in n)?n._ctx=Mi:d===3&&Mi&&(Mi.slots._===1?n._=1:(n._=2,o.patchFlag|=1024))}else(0,j.isFunction)(n)?(n={default:n,_ctx:Mi},s=32):(n=String(n),c&64?(s=16,n=[Mt(n)]):s=8);o.children=n,o.shapeFlag|=s}function Qi(...o){const n={};for(let s=0;s<o.length;s++){const c=o[s];for(const d in c)if(d==="class")n.class!==c.class&&(n.class=(0,j.normalizeClass)([n.class,c.class]));else if(d==="style")n.style=(0,j.normalizeStyle)([n.style,c.style]);else if((0,j.isOn)(d)){const v=n[d],C=c[d];C&&v!==C&&!((0,j.isArray)(v)&&v.includes(C))&&(n[d]=v?[].concat(v,C):C)}else d!==""&&(n[d]=c[d])}return n}function mn(o,n,s,c=null){J(o,n,7,[s,c])}const Lr=Mo();let Vo=0;function $r(o,n,s){const c=o.type,d=(n?n.appContext:o.appContext)||Lr,v={uid:Vo++,vnode:o,type:c,parent:n,appContext:d,root:null,next:null,subTree:null,effect:null,update:null,scope:new R.Bj(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(d.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ho(c,d),emitsOptions:ji(c,d),emit:null,emitted:null,propsDefaults:j.EMPTY_OBJ,inheritAttrs:c.inheritAttrs,ctx:j.EMPTY_OBJ,data:j.EMPTY_OBJ,props:j.EMPTY_OBJ,attrs:j.EMPTY_OBJ,slots:j.EMPTY_OBJ,refs:j.EMPTY_OBJ,setupState:j.EMPTY_OBJ,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return v.ctx={_:v},v.root=n?n.root:v,v.emit=Zi.bind(null,v),o.ce&&o.ce(v),v}let zn=null;const jn=()=>zn||Mi;let Ni,kn,Nn="__VUE_INSTANCE_SETTERS__";(kn=(0,j.getGlobalThis)()[Nn])||(kn=(0,j.getGlobalThis)()[Nn]=[]),kn.push(o=>zn=o),Ni=o=>{kn.length>1?kn.forEach(n=>n(o)):kn[0](o)};const ln=o=>{Ni(o),o.scope.on()},In=()=>{zn&&zn.scope.off(),Ni(null)},tr=null;function as(o,n){const s=n.isNativeTag||NO;(tr(o)||s(o))&&se("Do not use built-in or reserved HTML elements as component id: "+o)}function Qr(o){return o.vnode.shapeFlag&4}let Is=!1;function io(o,n=!1){Is=n;const{props:s,children:c}=o.vnode,d=Qr(o);Ks(o,s,d,n),mt(o,c);const v=d?ka(o,n):void 0;return Is=!1,v}function ka(o,n){var s;const c=o.type;o.accessCache=Object.create(null),o.proxy=(0,R.Xl)(new Proxy(o.ctx,Po));const{setup:d}=c;if(d){const v=o.setupContext=d.length>1?Qo(o):null;ln(o),(0,R.Jd)();const C=te(d,o,0,[o.props,v]);if((0,R.lk)(),In(),(0,j.isPromise)(C)){if(C.then(In,In),n)return C.then(D=>{Uo(o,D,n)}).catch(D=>{A(D,o,0)});o.asyncDep=C}else Uo(o,C,n)}else Ma(o,n)}function Uo(o,n,s){(0,j.isFunction)(n)?o.type.__ssrInlineRender?o.ssrRender=n:o.render=n:(0,j.isObject)(n)&&(o.setupState=(0,R.WL)(n)),Ma(o,s)}let Pa,Da;function Ga(o){Pa=o,Da=n=>{n.render._rc&&(n.withProxy=new Proxy(n.ctx,Go))}}const da=()=>!Pa;function Ma(o,n,s){const c=o.type;if(!o.render){if(!n&&Pa&&!c.render){const d=c.template||Ht(o).template;if(d){const{isCustomElement:v,compilerOptions:C}=o.appContext.config,{delimiters:D,compilerOptions:q}=c,K=(0,j.extend)((0,j.extend)({isCustomElement:v,delimiters:D},C),q);c.render=Pa(d,K)}}o.render=c.render||j.NOOP,Da&&Da(o)}ln(o),(0,R.Jd)(),fs(o),(0,R.lk)(),In()}function Xa(o){return o.attrsProxy||(o.attrsProxy=new Proxy(o.attrs,{get(n,s){return(0,R.j)(o,"get","$attrs"),n[s]}}))}function hc(o){return o.slotsProxy||(o.slotsProxy=new Proxy(o.slots,{get(n,s){return track(o,"get","$slots"),n[s]}}))}function Qo(o){const n=s=>{o.exposed=s||{}};return{get attrs(){return Xa(o)},slots:o.slots,emit:o.emit,expose:n}}function $o(o){if(o.exposed)return o.exposeProxy||(o.exposeProxy=new Proxy((0,R.WL)((0,R.Xl)(o.exposed)),{get(n,s){if(s in n)return n[s];if(s in Js)return Js[s](o)},has(n,s){return s in n||s in Js}}))}const ea=/(?:^|[-_])(\w)/g,al=o=>o.replace(ea,n=>n.toUpperCase()).replace(/[-_]/g,"");function Wo(o,n=!0){return(0,j.isFunction)(o)?o.displayName||o.name:o.name||n&&o.__name}function ll(o,n,s=!1){let c=Wo(n);if(!c&&n.__file){const d=n.__file.match(/([^/\\]+)\.\w+$/);d&&(c=d[1])}if(!c&&o&&o.parent){const d=v=>{for(const C in v)if(v[C]===n)return C};c=d(o.components||o.parent.type.components)||d(o.appContext.components)}return c?al(c):s?"App":"Anonymous"}function cl(o){return(0,j.isFunction)(o)&&"__vccOpts"in o}const Sl=(o,n)=>(0,R.Fl)(o,n,Is);function Cl(o,n,s){const c=arguments.length;return c===2?(0,j.isObject)(n)&&!(0,j.isArray)(n)?go(n)?Te(o,null,[n]):Te(o,n):Te(o,null,n):(c>3?s=Array.prototype.slice.call(arguments,2):c===3&&go(s)&&(s=[s]),Te(o,n,s))}const ul=Symbol.for("v-scx"),La=()=>{{const o=Mr(ul);return o}};function fl(o){return!!(o&&o.__v_isShallow)}function zl(){return;function v(fe){const Ee=[];fe.type.props&&fe.props&&Ee.push(C("props",(0,R.IU)(fe.props))),fe.setupState!==j.EMPTY_OBJ&&Ee.push(C("setup",fe.setupState)),fe.data!==j.EMPTY_OBJ&&Ee.push(C("data",(0,R.IU)(fe.data)));const De=q(fe,"computed");De&&Ee.push(C("computed",De));const et=q(fe,"inject");return et&&Ee.push(C("injected",et)),Ee.push(["div",{},["span",{style:c.style+";opacity:0.66"},"$ (internal): "],["object",{object:fe}]]),Ee}function C(fe,Ee){return Ee=(0,j.extend)({},Ee),Object.keys(Ee).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},fe],["div",{style:"padding-left:1.25em"},...Object.keys(Ee).map(De=>["div",{},["span",c,De+": "],D(Ee[De],!1)])]]:["span",{}]}function D(fe,Ee=!0){return typeof fe=="number"?["span",n,fe]:typeof fe=="string"?["span",s,JSON.stringify(fe)]:typeof fe=="boolean"?["span",c,fe]:(0,j.isObject)(fe)?["object",{object:Ee?(0,R.IU)(fe):fe}]:["span",s,String(fe)]}function q(fe,Ee){const De=fe.type;if((0,j.isFunction)(De))return;const et={};for(const Ne in fe.ctx)K(De,Ne,Ee)&&(et[Ne]=fe.ctx[Ne]);return et}function K(fe,Ee,De){const et=fe[De];if((0,j.isArray)(et)&&et.includes(Ee)||(0,j.isObject)(et)&&Ee in et||fe.extends&&K(fe.extends,Ee,De)||fe.mixins&&fe.mixins.some(Ne=>K(Ne,Ee,De)))return!0}function ue(fe){return fl(fe)?"ShallowRef":fe.effect?"ComputedRef":"Ref"}}function pc(o,n,s,c){const d=s[c];if(d&&dl(d,o))return d;const v=n();return v.memo=o.slice(),s[c]=v}function dl(o,n){const s=o.memo;if(s.length!=n.length)return!1;for(let c=0;c<s.length;c++)if((0,j.hasChanged)(s[c],n[c]))return!1;return ks>0&&ps&&ps.push(o),!0}const Ia="3.3.4",Ja={createComponentInstance:$r,setupComponent:io,renderComponentRoot:Zn,setCurrentRenderingInstance:Ti,isVNode:go,normalizeVNode:bi},Tl=null,El=null},"./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js":function(S,dt,gt){"use strict";gt.r(dt),gt.d(dt,{BaseTransition:function(){return j.P$},BaseTransitionPropsValidators:function(){return j.nJ},Comment:function(){return j.sv},EffectScope:function(){return j.Bj},Fragment:function(){return j.HY},KeepAlive:function(){return j.Ob},ReactiveEffect:function(){return j.qq},Static:function(){return j.qG},Suspense:function(){return j.n4},Teleport:function(){return j.lR},Text:function(){return j.xv},Transition:function(){return qe},TransitionGroup:function(){return Qt},VueElement:function(){return Ue},assertNumber:function(){return j.Wu},callWithAsyncErrorHandling:function(){return j.$d},callWithErrorHandling:function(){return j.KU},camelize:function(){return j._A},capitalize:function(){return j.kC},cloneVNode:function(){return j.Ho},compatUtils:function(){return j.ry},computed:function(){return j.Fl},createApp:function(){return ts},createBlock:function(){return j.j4},createCommentVNode:function(){return j.kq},createElementBlock:function(){return j.iD},createElementVNode:function(){return j._},createHydrationRenderer:function(){return j.Eo},createPropsRestProxy:function(){return j.p1},createRenderer:function(){return j.Us},createSSRApp:function(){return is},createSlots:function(){return j.Nv},createStaticVNode:function(){return j.uE},createTextVNode:function(){return j.Uk},createVNode:function(){return j.Wm},customRef:function(){return j.ZM},defineAsyncComponent:function(){return j.RC},defineComponent:function(){return j.aZ},defineCustomElement:function(){return F},defineEmits:function(){return j.Bz},defineExpose:function(){return j.WY},defineModel:function(){return j.Gn},defineOptions:function(){return j.Yu},defineProps:function(){return j.MW},defineSSRCustomElement:function(){return oe},defineSlots:function(){return j.Wl},devtools:function(){return j.mW},effect:function(){return j.cE},effectScope:function(){return j.B},getCurrentInstance:function(){return j.FN},getCurrentScope:function(){return j.nZ},getTransitionRawChildren:function(){return j.Q6},guardReactiveProps:function(){return j.F4},h:function(){return j.h},handleError:function(){return j.S3},hasInjectionContext:function(){return j.EM},hydrate:function(){return Gn},initCustomFormatter:function(){return j.Mr},initDirectivesForSSR:function(){return Vs},inject:function(){return j.f3},isMemoSame:function(){return j.nQ},isProxy:function(){return j.X3},isReactive:function(){return j.PG},isReadonly:function(){return j.$y},isRef:function(){return j.dq},isRuntimeOnly:function(){return j.of},isShallow:function(){return j.yT},isVNode:function(){return j.lA},markRaw:function(){return j.Xl},mergeDefaults:function(){return j.u_},mergeModels:function(){return j.Vf},mergeProps:function(){return j.dG},nextTick:function(){return j.Y3},normalizeClass:function(){return j.C_},normalizeProps:function(){return j.vs},normalizeStyle:function(){return j.j5},onActivated:function(){return j.dl},onBeforeMount:function(){return j.wF},onBeforeUnmount:function(){return j.Jd},onBeforeUpdate:function(){return j.Xn},onDeactivated:function(){return j.se},onErrorCaptured:function(){return j.d1},onMounted:function(){return j.bv},onRenderTracked:function(){return j.bT},onRenderTriggered:function(){return j.Yq},onScopeDispose:function(){return j.EB},onServerPrefetch:function(){return j.vl},onUnmounted:function(){return j.Ah},onUpdated:function(){return j.ic},openBlock:function(){return j.wg},popScopeId:function(){return j.Cn},provide:function(){return j.JJ},proxyRefs:function(){return j.WL},pushScopeId:function(){return j.dD},queuePostFlushCb:function(){return j.qb},reactive:function(){return j.qj},readonly:function(){return j.OT},ref:function(){return j.iH},registerRuntimeCompiler:function(){return j.Y1},render:function(){return Dn},renderList:function(){return j.Ko},renderSlot:function(){return j.WI},resolveComponent:function(){return j.up},resolveDirective:function(){return j.Q2},resolveDynamicComponent:function(){return j.LL},resolveFilter:function(){return j.eq},resolveTransitionHooks:function(){return j.U2},setBlockTracking:function(){return j.qZ},setDevtoolsHook:function(){return j.ec},setTransitionHooks:function(){return j.nK},shallowReactive:function(){return j.Um},shallowReadonly:function(){return j.YS},shallowRef:function(){return j.XI},ssrContextKey:function(){return j.Uc},ssrUtils:function(){return j.G},stop:function(){return j.sT},toDisplayString:function(){return j.zw},toHandlerKey:function(){return j.hR},toHandlers:function(){return j.mx},toRaw:function(){return j.IU},toRef:function(){return j.Vh},toRefs:function(){return j.BK},toValue:function(){return j.Tn},transformVNodeArgs:function(){return j.C3},triggerRef:function(){return j.oR},unref:function(){return j.SU},useAttrs:function(){return j.l1},useCssModule:function(){return Xe},useCssVars:function(){return de},useModel:function(){return j.tT},useSSRContext:function(){return j.Zq},useSlots:function(){return j.Rr},useTransitionState:function(){return j.Y8},vModelCheckbox:function(){return Ti},vModelDynamic:function(){return Zn},vModelRadio:function(){return rn},vModelSelect:function(){return Ai},vModelText:function(){return Pn},vShow:function(){return vi},version:function(){return j.i8},warn:function(){return j.ZK},watch:function(){return j.YP},watchEffect:function(){return j.m0},watchPostEffect:function(){return j.Rh},watchSyncEffect:function(){return j.yX},withAsyncContext:function(){return j.mv},withCtx:function(){return j.w5},withDefaults:function(){return j.b9},withDirectives:function(){return j.wy},withKeys:function(){return Jt},withMemo:function(){return j.MX},withModifiers:function(){return ct},withScopeId:function(){return j.HX}});var R=gt("./node_modules/@vue/shared/dist/shared.esm-bundler.js"),j=gt("./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),f=gt("./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js");const Q="http://www.w3.org/2000/svg",V=typeof document!="undefined"?document:null,se=V&&V.createElement("template"),y={insert:(ie,me,Le)=>{me.insertBefore(ie,Le||null)},remove:ie=>{const me=ie.parentNode;me&&me.removeChild(ie)},createElement:(ie,me,Le,Ge)=>{const Ot=me?V.createElementNS(Q,ie):V.createElement(ie,Le?{is:Le}:void 0);return ie==="select"&&Ge&&Ge.multiple!=null&&Ot.setAttribute("multiple",Ge.multiple),Ot},createText:ie=>V.createTextNode(ie),createComment:ie=>V.createComment(ie),setText:(ie,me)=>{ie.nodeValue=me},setElementText:(ie,me)=>{ie.textContent=me},parentNode:ie=>ie.parentNode,nextSibling:ie=>ie.nextSibling,querySelector:ie=>V.querySelector(ie),setScopeId(ie,me){ie.setAttribute(me,"")},insertStaticContent(ie,me,Le,Ge,Ot,Bt){const ii=Le?Le.previousSibling:me.lastChild;if(Ot&&(Ot===Bt||Ot.nextSibling))for(;me.insertBefore(Ot.cloneNode(!0),Le),!(Ot===Bt||!(Ot=Ot.nextSibling)););else{se.innerHTML=Ge?`<svg>${ie}</svg>`:ie;const Ii=se.content;if(Ge){const Fi=Ii.firstChild;for(;Fi.firstChild;)Ii.appendChild(Fi.firstChild);Ii.removeChild(Fi)}me.insertBefore(Ii,Le)}return[ii?ii.nextSibling:me.firstChild,Le?Le.previousSibling:me.lastChild]}};function $(ie,me,Le){const Ge=ie._vtc;Ge&&(me=(me?[me,...Ge]:[...Ge]).join(" ")),me==null?ie.removeAttribute("class"):Le?ie.setAttribute("class",me):ie.className=me}function U(ie,me,Le){const Ge=ie.style,Ot=(0,R.isString)(Le);if(Le&&!Ot){if(me&&!(0,R.isString)(me))for(const Bt in me)Le[Bt]==null&&Z(Ge,Bt,"");for(const Bt in Le)Z(Ge,Bt,Le[Bt])}else{const Bt=Ge.display;Ot?me!==Le&&(Ge.cssText=Le):me&&ie.removeAttribute("style"),"_vod"in ie&&(Ge.display=Bt)}}const H=/[^\\];\s*$/,O=/\s*!important$/;function Z(ie,me,Le){if((0,R.isArray)(Le))Le.forEach(Ge=>Z(ie,me,Ge));else if(Le==null&&(Le=""),me.startsWith("--"))ie.setProperty(me,Le);else{const Ge=J(ie,me);O.test(Le)?ie.setProperty((0,R.hyphenate)(Ge),Le.replace(O,""),"important"):ie[Ge]=Le}}const he=["Webkit","Moz","ms"],te={};function J(ie,me){const Le=te[me];if(Le)return Le;let Ge=(0,R.camelize)(me);if(Ge!=="filter"&&Ge in ie)return te[me]=Ge;Ge=(0,R.capitalize)(Ge);for(let Ot=0;Ot<he.length;Ot++){const Bt=he[Ot]+Ge;if(Bt in ie)return te[me]=Bt}return me}const A="http://www.w3.org/1999/xlink";function z(ie,me,Le,Ge,Ot){if(Ge&&me.startsWith("xlink:"))Le==null?ie.removeAttributeNS(A,me.slice(6,me.length)):ie.setAttributeNS(A,me,Le);else{const Bt=(0,R.isSpecialBooleanAttr)(me);Le==null||Bt&&!(0,R.includeBooleanAttr)(Le)?ie.removeAttribute(me):ie.setAttribute(me,Bt?"":Le)}}function le(ie,me,Le,Ge,Ot,Bt,ii){if(me==="innerHTML"||me==="textContent"){Ge&&ii(Ge,Ot,Bt),ie[me]=Le==null?"":Le;return}const Ii=ie.tagName;if(me==="value"&&Ii!=="PROGRESS"&&!Ii.includes("-")){ie._value=Le;const Hi=Ii==="OPTION"?ie.getAttribute("value"):ie.value,qi=Le==null?"":Le;Hi!==qi&&(ie.value=qi),Le==null&&ie.removeAttribute(me);return}let Fi=!1;if(Le===""||Le==null){const Hi=typeof ie[me];Hi==="boolean"?Le=(0,R.includeBooleanAttr)(Le):Le==null&&Hi==="string"?(Le="",Fi=!0):Hi==="number"&&(Le=0,Fi=!0)}try{ie[me]=Le}catch(Hi){}Fi&&ie.removeAttribute(me)}function be(ie,me,Le,Ge){ie.addEventListener(me,Le,Ge)}function xe(ie,me,Le,Ge){ie.removeEventListener(me,Le,Ge)}function ce(ie,me,Le,Ge,Ot=null){const Bt=ie._vei||(ie._vei={}),ii=Bt[me];if(Ge&&ii)ii.value=Ge;else{const[Ii,Fi]=Ae(me);if(Ge){const Hi=Bt[me]=ee(Ge,Ot);be(ie,Ii,Hi,Fi)}else ii&&(xe(ie,Ii,ii,Fi),Bt[me]=void 0)}}const ke=/(?:Once|Passive|Capture)$/;function Ae(ie){let me;if(ke.test(ie)){me={};let Ge;for(;Ge=ie.match(ke);)ie=ie.slice(0,ie.length-Ge[0].length),me[Ge[0].toLowerCase()]=!0}return[ie[2]===":"?ie.slice(3):(0,R.hyphenate)(ie.slice(2)),me]}let _=0;const Fe=Promise.resolve(),Se=()=>_||(Fe.then(()=>_=0),_=Date.now());function ee(ie,me){const Le=Ge=>{if(!Ge._vts)Ge._vts=Date.now();else if(Ge._vts<=Le.attached)return;(0,j.$d)(Be(Ge,Le.value),me,5,[Ge])};return Le.value=ie,Le.attached=Se(),Le}function Be(ie,me){if((0,R.isArray)(me)){const Le=ie.stopImmediatePropagation;return ie.stopImmediatePropagation=()=>{Le.call(ie),ie._stopped=!0},me.map(Ge=>Ot=>!Ot._stopped&&Ge&&Ge(Ot))}else return me}const ve=/^on[a-z]/,L=(ie,me,Le,Ge,Ot=!1,Bt,ii,Ii,Fi)=>{me==="class"?$(ie,Ge,Ot):me==="style"?U(ie,Le,Ge):(0,R.isOn)(me)?(0,R.isModelListener)(me)||ce(ie,me,Le,Ge,ii):(me[0]==="."?(me=me.slice(1),!0):me[0]==="^"?(me=me.slice(1),!1):B(ie,me,Ge,Ot))?le(ie,me,Ge,Bt,ii,Ii,Fi):(me==="true-value"?ie._trueValue=Ge:me==="false-value"&&(ie._falseValue=Ge),z(ie,me,Ge,Ot))};function B(ie,me,Le,Ge){return Ge?!!(me==="innerHTML"||me==="textContent"||me in ie&&ve.test(me)&&(0,R.isFunction)(Le)):me==="spellcheck"||me==="draggable"||me==="translate"||me==="form"||me==="list"&&ie.tagName==="INPUT"||me==="type"&&ie.tagName==="TEXTAREA"||ve.test(me)&&(0,R.isString)(Le)?!1:me in ie}function F(ie,me){const Le=(0,j.aZ)(ie);class Ge extends Ue{constructor(Bt){super(Le,Bt,me)}}return Ge.def=Le,Ge}const oe=ie=>F(ie,Gn),ye=typeof HTMLElement!="undefined"?HTMLElement:class{};class Ue extends ye{constructor(me,Le={},Ge){super(),this._def=me,this._props=Le,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&Ge?Ge(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,(0,j.Y3)(()=>{this._connected||(Dn(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let Ge=0;Ge<this.attributes.length;Ge++)this._setAttr(this.attributes[Ge].name);new MutationObserver(Ge=>{for(const Ot of Ge)this._setAttr(Ot.attributeName)}).observe(this,{attributes:!0});const me=(Ge,Ot=!1)=>{const{props:Bt,styles:ii}=Ge;let Ii;if(Bt&&!(0,R.isArray)(Bt))for(const Fi in Bt){const Hi=Bt[Fi];(Hi===Number||Hi&&Hi.type===Number)&&(Fi in this._props&&(this._props[Fi]=(0,R.toNumber)(this._props[Fi])),(Ii||(Ii=Object.create(null)))[(0,R.camelize)(Fi)]=!0)}this._numberProps=Ii,Ot&&this._resolveProps(Ge),this._applyStyles(ii),this._update()},Le=this._def.__asyncLoader;Le?Le().then(Ge=>me(Ge,!0)):me(this._def)}_resolveProps(me){const{props:Le}=me,Ge=(0,R.isArray)(Le)?Le:Object.keys(Le||{});for(const Ot of Object.keys(this))Ot[0]!=="_"&&Ge.includes(Ot)&&this._setProp(Ot,this[Ot],!0,!1);for(const Ot of Ge.map(R.camelize))Object.defineProperty(this,Ot,{get(){return this._getProp(Ot)},set(Bt){this._setProp(Ot,Bt)}})}_setAttr(me){let Le=this.getAttribute(me);const Ge=(0,R.camelize)(me);this._numberProps&&this._numberProps[Ge]&&(Le=(0,R.toNumber)(Le)),this._setProp(Ge,Le,!1)}_getProp(me){return this._props[me]}_setProp(me,Le,Ge=!0,Ot=!0){Le!==this._props[me]&&(this._props[me]=Le,Ot&&this._instance&&this._update(),Ge&&(Le===!0?this.setAttribute((0,R.hyphenate)(me),""):typeof Le=="string"||typeof Le=="number"?this.setAttribute((0,R.hyphenate)(me),Le+""):Le||this.removeAttribute((0,R.hyphenate)(me))))}_update(){Dn(this._createVNode(),this.shadowRoot)}_createVNode(){const me=(0,j.Wm)(this._def,(0,R.extend)({},this._props));return this._instance||(me.ce=Le=>{this._instance=Le,Le.isCE=!0;const Ge=(Bt,ii)=>{this.dispatchEvent(new CustomEvent(Bt,{detail:ii}))};Le.emit=(Bt,...ii)=>{Ge(Bt,ii),(0,R.hyphenate)(Bt)!==Bt&&Ge((0,R.hyphenate)(Bt),ii)};let Ot=this;for(;Ot=Ot&&(Ot.parentNode||Ot.host);)if(Ot instanceof Ue){Le.parent=Ot._instance,Le.provides=Ot._instance.provides;break}}),me}_applyStyles(me){me&&me.forEach(Le=>{const Ge=document.createElement("style");Ge.textContent=Le,this.shadowRoot.appendChild(Ge)})}}function Xe(ie="$style"){{const me=(0,j.FN)();if(!me)return R.EMPTY_OBJ;const Le=me.type.__cssModules;if(!Le)return R.EMPTY_OBJ;const Ge=Le[ie];return Ge||R.EMPTY_OBJ}}function de(ie){const me=(0,j.FN)();if(!me)return;const Le=me.ut=(Ot=ie(me.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${me.uid}"]`)).forEach(Bt=>pe(Bt,Ot))},Ge=()=>{const Ot=ie(me.proxy);X(me.subTree,Ot),Le(Ot)};(0,j.Rh)(Ge),(0,j.bv)(()=>{const Ot=new MutationObserver(Ge);Ot.observe(me.subTree.el.parentNode,{childList:!0}),(0,j.Ah)(()=>Ot.disconnect())})}function X(ie,me){if(ie.shapeFlag&128){const Le=ie.suspense;ie=Le.activeBranch,Le.pendingBranch&&!Le.isHydrating&&Le.effects.push(()=>{X(Le.activeBranch,me)})}for(;ie.component;)ie=ie.component.subTree;if(ie.shapeFlag&1&&ie.el)pe(ie.el,me);else if(ie.type===j.HY)ie.children.forEach(Le=>X(Le,me));else if(ie.type===j.qG){let{el:Le,anchor:Ge}=ie;for(;Le&&(pe(Le,me),Le!==Ge);)Le=Le.nextSibling}}function pe(ie,me){if(ie.nodeType===1){const Le=ie.style;for(const Ge in me)Le.setProperty(`--${Ge}`,me[Ge])}}const N="transition",_e="animation",qe=(ie,{slots:me})=>(0,j.h)(j.P$,zt(ie),me);qe.displayName="Transition";const jt={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},_t=qe.props=(0,R.extend)({},j.nJ,jt),wt=(ie,me=[])=>{(0,R.isArray)(ie)?ie.forEach(Le=>Le(...me)):ie&&ie(...me)},Zt=ie=>ie?(0,R.isArray)(ie)?ie.some(me=>me.length>1):ie.length>1:!1;function zt(ie){const me={};for(const Yt in ie)Yt in jt||(me[Yt]=ie[Yt]);if(ie.css===!1)return me;const{name:Le="v",type:Ge,duration:Ot,enterFromClass:Bt=`${Le}-enter-from`,enterActiveClass:ii=`${Le}-enter-active`,enterToClass:Ii=`${Le}-enter-to`,appearFromClass:Fi=Bt,appearActiveClass:Hi=ii,appearToClass:qi=Ii,leaveFromClass:xn=`${Le}-leave-from`,leaveActiveClass:gn=`${Le}-leave-active`,leaveToClass:$n=`${Le}-leave-to`}=ie,Dr=ki(Ot),sr=Dr&&Dr[0],Nr=Dr&&Dr[1],{onBeforeEnter:js,onEnter:Ss,onEnterCancelled:Xr,onLeave:Mn,onLeaveCancelled:ge,onBeforeAppear:Ke=js,onAppear:ut=Ss,onAppearCancelled:Pt=Xr}=me,It=(Yt,En,Qn)=>{Si(Yt,En?qi:Ii),Si(Yt,En?Hi:ii),Qn&&Qn()},li=(Yt,En)=>{Yt._isLeaving=!1,Si(Yt,xn),Si(Yt,$n),Si(Yt,gn),En&&En()},ei=Yt=>(En,Qn)=>{const dr=Yt?ut:Ss,lr=()=>It(En,Yt,Qn);wt(dr,[En,lr]),Di(()=>{Si(En,Yt?Fi:Bt),Ji(En,Yt?qi:Ii),Zt(dr)||On(En,Ge,sr,lr)})};return(0,R.extend)(me,{onBeforeEnter(Yt){wt(js,[Yt]),Ji(Yt,Bt),Ji(Yt,ii)},onBeforeAppear(Yt){wt(Ke,[Yt]),Ji(Yt,Fi),Ji(Yt,Hi)},onEnter:ei(!1),onAppear:ei(!0),onLeave(Yt,En){Yt._isLeaving=!0;const Qn=()=>li(Yt,En);Ji(Yt,xn),re(),Ji(Yt,gn),Di(()=>{Yt._isLeaving&&(Si(Yt,xn),Ji(Yt,$n),Zt(Mn)||On(Yt,Ge,Nr,Qn))}),wt(Mn,[Yt,Qn])},onEnterCancelled(Yt){It(Yt,!1),wt(Xr,[Yt])},onAppearCancelled(Yt){It(Yt,!0),wt(Pt,[Yt])},onLeaveCancelled(Yt){li(Yt),wt(ge,[Yt])}})}function ki(ie){if(ie==null)return null;if((0,R.isObject)(ie))return[hi(ie.enter),hi(ie.leave)];{const me=hi(ie);return[me,me]}}function hi(ie){return(0,R.toNumber)(ie)}function Ji(ie,me){me.split(/\s+/).forEach(Le=>Le&&ie.classList.add(Le)),(ie._vtc||(ie._vtc=new Set)).add(me)}function Si(ie,me){me.split(/\s+/).forEach(Ge=>Ge&&ie.classList.remove(Ge));const{_vtc:Le}=ie;Le&&(Le.delete(me),Le.size||(ie._vtc=void 0))}function Di(ie){requestAnimationFrame(()=>{requestAnimationFrame(ie)})}let ci=0;function On(ie,me,Le,Ge){const Ot=ie._endId=++ci,Bt=()=>{Ot===ie._endId&&Ge()};if(Le)return setTimeout(Bt,Le);const{type:ii,timeout:Ii,propCount:Fi}=Wi(ie,me);if(!ii)return Ge();const Hi=ii+"end";let qi=0;const xn=()=>{ie.removeEventListener(Hi,gn),Bt()},gn=$n=>{$n.target===ie&&++qi>=Fi&&xn()};setTimeout(()=>{qi<Fi&&xn()},Ii+1),ie.addEventListener(Hi,gn)}function Wi(ie,me){const Le=window.getComputedStyle(ie),Ge=Dr=>(Le[Dr]||"").split(", "),Ot=Ge(`${N}Delay`),Bt=Ge(`${N}Duration`),ii=x(Ot,Bt),Ii=Ge(`${_e}Delay`),Fi=Ge(`${_e}Duration`),Hi=x(Ii,Fi);let qi=null,xn=0,gn=0;me===N?ii>0&&(qi=N,xn=ii,gn=Bt.length):me===_e?Hi>0&&(qi=_e,xn=Hi,gn=Fi.length):(xn=Math.max(ii,Hi),qi=xn>0?ii>Hi?N:_e:null,gn=qi?qi===N?Bt.length:Fi.length:0);const $n=qi===N&&/\b(transform|all)(,|$)/.test(Ge(`${N}Property`).toString());return{type:qi,timeout:xn,propCount:gn,hasTransform:$n}}function x(ie,me){for(;ie.length<me.length;)ie=ie.concat(ie);return Math.max(...me.map((Le,Ge)=>P(Le)+P(ie[Ge])))}function P(ie){return Number(ie.slice(0,-1).replace(",","."))*1e3}function re(){return document.body.offsetHeight}const Ie=new WeakMap,Ve=new WeakMap,it={name:"TransitionGroup",props:(0,R.extend)({},_t,{tag:String,moveClass:String}),setup(ie,{slots:me}){const Le=(0,j.FN)(),Ge=(0,j.Y8)();let Ot,Bt;return(0,j.ic)(()=>{if(!Ot.length)return;const ii=ie.moveClass||`${ie.name||"v"}-move`;if(!Zi(Ot[0].el,Le.vnode.el,ii))return;Ot.forEach(pi),Ot.forEach(Ci);const Ii=Ot.filter(pn);re(),Ii.forEach(Fi=>{const Hi=Fi.el,qi=Hi.style;Ji(Hi,ii),qi.transform=qi.webkitTransform=qi.transitionDuration="";const xn=Hi._moveCb=gn=>{gn&&gn.target!==Hi||(!gn||/transform$/.test(gn.propertyName))&&(Hi.removeEventListener("transitionend",xn),Hi._moveCb=null,Si(Hi,ii))};Hi.addEventListener("transitionend",xn)})}),()=>{const ii=(0,f.IU)(ie),Ii=zt(ii);let Fi=ii.tag||j.HY;Ot=Bt,Bt=me.default?(0,j.Q6)(me.default()):[];for(let Hi=0;Hi<Bt.length;Hi++){const qi=Bt[Hi];qi.key!=null&&(0,j.nK)(qi,(0,j.U2)(qi,Ii,Ge,Le))}if(Ot)for(let Hi=0;Hi<Ot.length;Hi++){const qi=Ot[Hi];(0,j.nK)(qi,(0,j.U2)(qi,Ii,Ge,Le)),Ie.set(qi,qi.el.getBoundingClientRect())}return(0,j.Wm)(Fi,null,Bt)}}},nt=ie=>delete ie.mode;it.props;const Qt=it;function pi(ie){const me=ie.el;me._moveCb&&me._moveCb(),me._enterCb&&me._enterCb()}function Ci(ie){Ve.set(ie,ie.el.getBoundingClientRect())}function pn(ie){const me=Ie.get(ie),Le=Ve.get(ie),Ge=me.left-Le.left,Ot=me.top-Le.top;if(Ge||Ot){const Bt=ie.el.style;return Bt.transform=Bt.webkitTransform=`translate(${Ge}px,${Ot}px)`,Bt.transitionDuration="0s",ie}}function Zi(ie,me,Le){const Ge=ie.cloneNode();ie._vtc&&ie._vtc.forEach(ii=>{ii.split(/\s+/).forEach(Ii=>Ii&&Ge.classList.remove(Ii))}),Le.split(/\s+/).forEach(ii=>ii&&Ge.classList.add(ii)),Ge.style.display="none";const Ot=me.nodeType===1?me:me.parentNode;Ot.appendChild(Ge);const{hasTransform:Bt}=Wi(Ge);return Ot.removeChild(Ge),Bt}const ji=ie=>{const me=ie.props["onUpdate:modelValue"]||!1;return(0,R.isArray)(me)?Le=>(0,R.invokeArrayFns)(me,Le):me};function Yi(ie){ie.target.composing=!0}function Mi(ie){const me=ie.target;me.composing&&(me.composing=!1,me.dispatchEvent(new Event("input")))}const Pn={created(ie,{modifiers:{lazy:me,trim:Le,number:Ge}},Ot){ie._assign=ji(Ot);const Bt=Ge||Ot.props&&Ot.props.type==="number";be(ie,me?"change":"input",ii=>{if(ii.target.composing)return;let Ii=ie.value;Le&&(Ii=Ii.trim()),Bt&&(Ii=(0,R.looseToNumber)(Ii)),ie._assign(Ii)}),Le&&be(ie,"change",()=>{ie.value=ie.value.trim()}),me||(be(ie,"compositionstart",Yi),be(ie,"compositionend",Mi),be(ie,"change",Mi))},mounted(ie,{value:me}){ie.value=me==null?"":me},beforeUpdate(ie,{value:me,modifiers:{lazy:Le,trim:Ge,number:Ot}},Bt){if(ie._assign=ji(Bt),ie.composing||document.activeElement===ie&&ie.type!=="range"&&(Le||Ge&&ie.value.trim()===me||(Ot||ie.type==="number")&&(0,R.looseToNumber)(ie.value)===me))return;const ii=me==null?"":me;ie.value!==ii&&(ie.value=ii)}},Ti={deep:!0,created(ie,me,Le){ie._assign=ji(Le),be(ie,"change",()=>{const Ge=ie._modelValue,Ot=Vn(ie),Bt=ie.checked,ii=ie._assign;if((0,R.isArray)(Ge)){const Ii=(0,R.looseIndexOf)(Ge,Ot),Fi=Ii!==-1;if(Bt&&!Fi)ii(Ge.concat(Ot));else if(!Bt&&Fi){const Hi=[...Ge];Hi.splice(Ii,1),ii(Hi)}}else if((0,R.isSet)(Ge)){const Ii=new Set(Ge);Bt?Ii.add(Ot):Ii.delete(Ot),ii(Ii)}else ii(ls(ie,Bt))})},mounted:Pi,beforeUpdate(ie,me,Le){ie._assign=ji(Le),Pi(ie,me,Le)}};function Pi(ie,{value:me,oldValue:Le},Ge){ie._modelValue=me,(0,R.isArray)(me)?ie.checked=(0,R.looseIndexOf)(me,Ge.props.value)>-1:(0,R.isSet)(me)?ie.checked=me.has(Ge.props.value):me!==Le&&(ie.checked=(0,R.looseEqual)(me,ls(ie,!0)))}const rn={created(ie,{value:me},Le){ie.checked=(0,R.looseEqual)(me,Le.props.value),ie._assign=ji(Le),be(ie,"change",()=>{ie._assign(Vn(ie))})},beforeUpdate(ie,{value:me,oldValue:Le},Ge){ie._assign=ji(Ge),me!==Le&&(ie.checked=(0,R.looseEqual)(me,Ge.props.value))}},Ai={deep:!0,created(ie,{value:me,modifiers:{number:Le}},Ge){const Ot=(0,R.isSet)(me);be(ie,"change",()=>{const Bt=Array.prototype.filter.call(ie.options,ii=>ii.selected).map(ii=>Le?(0,R.looseToNumber)(Vn(ii)):Vn(ii));ie._assign(ie.multiple?Ot?new Set(Bt):Bt:Bt[0])}),ie._assign=ji(Ge)},mounted(ie,{value:me}){Bi(ie,me)},beforeUpdate(ie,me,Le){ie._assign=ji(Le)},updated(ie,{value:me}){Bi(ie,me)}};function Bi(ie,me){const Le=ie.multiple;if(!(Le&&!(0,R.isArray)(me)&&!(0,R.isSet)(me))){for(let Ge=0,Ot=ie.options.length;Ge<Ot;Ge++){const Bt=ie.options[Ge],ii=Vn(Bt);if(Le)(0,R.isArray)(me)?Bt.selected=(0,R.looseIndexOf)(me,ii)>-1:Bt.selected=me.has(ii);else if((0,R.looseEqual)(Vn(Bt),me)){ie.selectedIndex!==Ge&&(ie.selectedIndex=Ge);return}}!Le&&ie.selectedIndex!==-1&&(ie.selectedIndex=-1)}}function Vn(ie){return"_value"in ie?ie._value:ie.value}function ls(ie,me){const Le=me?"_trueValue":"_falseValue";return Le in ie?ie[Le]:me}const Zn={created(ie,me,Le){vr(ie,me,Le,null,"created")},mounted(ie,me,Le){vr(ie,me,Le,null,"mounted")},beforeUpdate(ie,me,Le,Ge){vr(ie,me,Le,Ge,"beforeUpdate")},updated(ie,me,Le,Ge){vr(ie,me,Le,Ge,"updated")}};function rr(ie,me){switch(ie){case"SELECT":return Ai;case"TEXTAREA":return Pn;default:switch(me){case"checkbox":return Ti;case"radio":return rn;default:return Pn}}}function vr(ie,me,Le,Ge,Ot){const ii=rr(ie.tagName,Le.props&&Le.props.type)[Ot];ii&&ii(ie,me,Le,Ge)}function Yn(){Pn.getSSRProps=({value:ie})=>({value:ie}),rn.getSSRProps=({value:ie},me)=>{if(me.props&&(0,R.looseEqual)(me.props.value,ie))return{checked:!0}},Ti.getSSRProps=({value:ie},me)=>{if((0,R.isArray)(ie)){if(me.props&&(0,R.looseIndexOf)(ie,me.props.value)>-1)return{checked:!0}}else if((0,R.isSet)(ie)){if(me.props&&ie.has(me.props.value))return{checked:!0}}else if(ie)return{checked:!0}},Zn.getSSRProps=(ie,me)=>{if(typeof me.type!="string")return;const Le=rr(me.type.toUpperCase(),me.props&&me.props.type);if(Le.getSSRProps)return Le.getSSRProps(ie,me)}}const br=["ctrl","shift","alt","meta"],_n={stop:ie=>ie.stopPropagation(),prevent:ie=>ie.preventDefault(),self:ie=>ie.target!==ie.currentTarget,ctrl:ie=>!ie.ctrlKey,shift:ie=>!ie.shiftKey,alt:ie=>!ie.altKey,meta:ie=>!ie.metaKey,left:ie=>"button"in ie&&ie.button!==0,middle:ie=>"button"in ie&&ie.button!==1,right:ie=>"button"in ie&&ie.button!==2,exact:(ie,me)=>br.some(Le=>ie[`${Le}Key`]&&!me.includes(Le))},ct=(ie,me)=>(Le,...Ge)=>{for(let Ot=0;Ot<me.length;Ot++){const Bt=_n[me[Ot]];if(Bt&&Bt(Le,me))return}return ie(Le,...Ge)},Vt={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Jt=(ie,me)=>Le=>{if(!("key"in Le))return;const Ge=(0,R.hyphenate)(Le.key);if(me.some(Ot=>Ot===Ge||Vt[Ot]===Ge))return ie(Le)},vi={beforeMount(ie,{value:me},{transition:Le}){ie._vod=ie.style.display==="none"?"":ie.style.display,Le&&me?Le.beforeEnter(ie):Gi(ie,me)},mounted(ie,{value:me},{transition:Le}){Le&&me&&Le.enter(ie)},updated(ie,{value:me,oldValue:Le},{transition:Ge}){!me!=!Le&&(Ge?me?(Ge.beforeEnter(ie),Gi(ie,!0),Ge.enter(ie)):Ge.leave(ie,()=>{Gi(ie,!1)}):Gi(ie,me))},beforeUnmount(ie,{value:me}){Gi(ie,me)}};function Gi(ie,me){ie.style.display=me?ie._vod:"none"}function vn(){vi.getSSRProps=({value:ie})=>{if(!ie)return{style:{display:"none"}}}}const p=(0,R.extend)({patchProp:L},y);let Li,Cn=!1;function cn(){return Li||(Li=(0,j.Us)(p))}function Ir(){return Li=Cn?Li:(0,j.Eo)(p),Cn=!0,Li}const Dn=(...ie)=>{cn().render(...ie)},Gn=(...ie)=>{Ir().hydrate(...ie)},ts=(...ie)=>{const me=cn().createApp(...ie),{mount:Le}=me;return me.mount=Ge=>{const Ot=ns(Ge);if(!Ot)return;const Bt=me._component;!(0,R.isFunction)(Bt)&&!Bt.render&&!Bt.template&&(Bt.template=Ot.innerHTML),Ot.innerHTML="";const ii=Le(Ot,!1,Ot instanceof SVGElement);return Ot instanceof Element&&(Ot.removeAttribute("v-cloak"),Ot.setAttribute("data-v-app","")),ii},me},is=(...ie)=>{const me=Ir().createApp(...ie),{mount:Le}=me;return me.mount=Ge=>{const Ot=ns(Ge);if(Ot)return Le(Ot,!0,Ot instanceof SVGElement)},me};function Fn(ie){Object.defineProperty(ie.config,"isNativeTag",{value:me=>isHTMLTag(me)||isSVGTag(me),writable:!1})}function Fr(ie){if(isRuntimeOnly()){const me=ie.config.isCustomElement;Object.defineProperty(ie.config,"isCustomElement",{get(){return me},set(){warn("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const Le=ie.config.compilerOptions,Ge='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(ie.config,"compilerOptions",{get(){return warn(Ge),Le},set(){warn(Ge)}})}}function ns(ie){return(0,R.isString)(ie)?document.querySelector(ie):ie}let cs=!1;const Vs=()=>{cs||(cs=!0,Yn(),vn())}},"./node_modules/@vue/shared/dist/shared.esm-bundler.js":function(S,dt,gt){"use strict";gt.r(dt),gt.d(dt,{EMPTY_ARR:function(){return f},EMPTY_OBJ:function(){return j},NO:function(){return V},NOOP:function(){return Q},PatchFlagNames:function(){return Zt},camelize:function(){return F},capitalize:function(){return Ue},def:function(){return pe},escapeHtml:function(){return Vn},escapeHtmlComment:function(){return Zn},extend:function(){return U},genPropsAccessExp:function(){return wt},generateCodeFrame:function(){return Si},getGlobalThis:function(){return jt},hasChanged:function(){return de},hasOwn:function(){return Z},hyphenate:function(){return ye},includeBooleanAttr:function(){return Yi},invokeArrayFns:function(){return X},isArray:function(){return he},isBooleanAttr:function(){return ji},isBuiltInDirective:function(){return ve},isDate:function(){return A},isFunction:function(){return le},isGloballyWhitelisted:function(){return hi},isHTMLTag:function(){return Qt},isIntegerKey:function(){return ee},isKnownHtmlAttr:function(){return rn},isKnownSvgAttr:function(){return Ai},isMap:function(){return te},isModelListener:function(){return $},isObject:function(){return ce},isOn:function(){return y},isPlainObject:function(){return Se},isPromise:function(){return ke},isRegExp:function(){return z},isReservedProp:function(){return Be},isSSRSafeAttrName:function(){return Ti},isSVGTag:function(){return pi},isSet:function(){return J},isSpecialBooleanAttr:function(){return Zi},isString:function(){return be},isSymbol:function(){return xe},isVoidTag:function(){return Ci},looseEqual:function(){return vr},looseIndexOf:function(){return Yn},looseToNumber:function(){return N},makeMap:function(){return R},normalizeClass:function(){return re},normalizeProps:function(){return Ie},normalizeStyle:function(){return Di},objectToString:function(){return Ae},parseStringStyle:function(){return x},propsToAttrMap:function(){return Pi},remove:function(){return H},slotFlagsText:function(){return zt},stringifyStyle:function(){return P},toDisplayString:function(){return br},toHandlerKey:function(){return Xe},toNumber:function(){return _e},toRawType:function(){return Fe},toTypeString:function(){return _}});function R(ct,Vt){const Jt=Object.create(null),vi=ct.split(",");for(let Gi=0;Gi<vi.length;Gi++)Jt[vi[Gi]]=!0;return Vt?Gi=>!!Jt[Gi.toLowerCase()]:Gi=>!!Jt[Gi]}const j={},f=[],Q=()=>{},V=()=>!1,se=/^on[^a-z]/,y=ct=>se.test(ct),$=ct=>ct.startsWith("onUpdate:"),U=Object.assign,H=(ct,Vt)=>{const Jt=ct.indexOf(Vt);Jt>-1&&ct.splice(Jt,1)},O=Object.prototype.hasOwnProperty,Z=(ct,Vt)=>O.call(ct,Vt),he=Array.isArray,te=ct=>_(ct)==="[object Map]",J=ct=>_(ct)==="[object Set]",A=ct=>_(ct)==="[object Date]",z=ct=>_(ct)==="[object RegExp]",le=ct=>typeof ct=="function",be=ct=>typeof ct=="string",xe=ct=>typeof ct=="symbol",ce=ct=>ct!==null&&typeof ct=="object",ke=ct=>ce(ct)&&le(ct.then)&&le(ct.catch),Ae=Object.prototype.toString,_=ct=>Ae.call(ct),Fe=ct=>_(ct).slice(8,-1),Se=ct=>_(ct)==="[object Object]",ee=ct=>be(ct)&&ct!=="NaN"&&ct[0]!=="-"&&""+parseInt(ct,10)===ct,Be=R(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ve=R("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),L=ct=>{const Vt=Object.create(null);return Jt=>Vt[Jt]||(Vt[Jt]=ct(Jt))},B=/-(\w)/g,F=L(ct=>ct.replace(B,(Vt,Jt)=>Jt?Jt.toUpperCase():"")),oe=/\B([A-Z])/g,ye=L(ct=>ct.replace(oe,"-$1").toLowerCase()),Ue=L(ct=>ct.charAt(0).toUpperCase()+ct.slice(1)),Xe=L(ct=>ct?`on${Ue(ct)}`:""),de=(ct,Vt)=>!Object.is(ct,Vt),X=(ct,Vt)=>{for(let Jt=0;Jt<ct.length;Jt++)ct[Jt](Vt)},pe=(ct,Vt,Jt)=>{Object.defineProperty(ct,Vt,{configurable:!0,enumerable:!1,value:Jt})},N=ct=>{const Vt=parseFloat(ct);return isNaN(Vt)?ct:Vt},_e=ct=>{const Vt=be(ct)?Number(ct):NaN;return isNaN(Vt)?ct:Vt};let qe;const jt=()=>qe||(qe=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof gt.g!="undefined"?gt.g:{}),_t=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function wt(ct){return _t.test(ct)?`__props.${ct}`:`__props[${JSON.stringify(ct)}]`}const Zt={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},zt={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},hi=R("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console"),Ji=2;function Si(ct,Vt=0,Jt=ct.length){let vi=ct.split(/(\r?\n)/);const Gi=vi.filter((Li,Cn)=>Cn%2===1);vi=vi.filter((Li,Cn)=>Cn%2===0);let vn=0;const p=[];for(let Li=0;Li<vi.length;Li++)if(vn+=vi[Li].length+(Gi[Li]&&Gi[Li].length||0),vn>=Vt){for(let Cn=Li-Ji;Cn<=Li+Ji||Jt>vn;Cn++){if(Cn<0||Cn>=vi.length)continue;const cn=Cn+1;p.push(`${cn}${" ".repeat(Math.max(3-String(cn).length,0))}| ${vi[Cn]}`);const Ir=vi[Cn].length,Dn=Gi[Cn]&&Gi[Cn].length||0;if(Cn===Li){const Gn=Vt-(vn-(Ir+Dn)),ts=Math.max(1,Jt>vn?Ir-Gn:Jt-Vt);p.push(" | "+" ".repeat(Gn)+"^".repeat(ts))}else if(Cn>Li){if(Jt>vn){const Gn=Math.max(Math.min(Jt-vn,Ir),1);p.push(" | "+"^".repeat(Gn))}vn+=Ir+Dn}}break}return p.join(`
`)}function Di(ct){if(he(ct)){const Vt={};for(let Jt=0;Jt<ct.length;Jt++){const vi=ct[Jt],Gi=be(vi)?x(vi):Di(vi);if(Gi)for(const vn in Gi)Vt[vn]=Gi[vn]}return Vt}else{if(be(ct))return ct;if(ce(ct))return ct}}const ci=/;(?![^(]*\))/g,On=/:([^]+)/,Wi=/\/\*[^]*?\*\//g;function x(ct){const Vt={};return ct.replace(Wi,"").split(ci).forEach(Jt=>{if(Jt){const vi=Jt.split(On);vi.length>1&&(Vt[vi[0].trim()]=vi[1].trim())}}),Vt}function P(ct){let Vt="";if(!ct||be(ct))return Vt;for(const Jt in ct){const vi=ct[Jt],Gi=Jt.startsWith("--")?Jt:ye(Jt);(be(vi)||typeof vi=="number")&&(Vt+=`${Gi}:${vi};`)}return Vt}function re(ct){let Vt="";if(be(ct))Vt=ct;else if(he(ct))for(let Jt=0;Jt<ct.length;Jt++){const vi=re(ct[Jt]);vi&&(Vt+=vi+" ")}else if(ce(ct))for(const Jt in ct)ct[Jt]&&(Vt+=Jt+" ");return Vt.trim()}function Ie(ct){if(!ct)return null;let{class:Vt,style:Jt}=ct;return Vt&&!be(Vt)&&(ct.class=re(Vt)),Jt&&(ct.style=Di(Jt)),ct}const Ve="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",it="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",nt="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Qt=R(Ve),pi=R(it),Ci=R(nt),pn="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zi=R(pn),ji=R(pn+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Yi(ct){return!!ct||ct===""}const Mi=/[>/="'\u0009\u000a\u000c\u0020]/,Pn={};function Ti(ct){if(Pn.hasOwnProperty(ct))return Pn[ct];const Vt=Mi.test(ct);return Vt&&console.error(`unsafe attribute name: ${ct}`),Pn[ct]=!Vt}const Pi={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},rn=R("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),Ai=R("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),Bi=/["'&<>]/;function Vn(ct){const Vt=""+ct,Jt=Bi.exec(Vt);if(!Jt)return Vt;let vi="",Gi,vn,p=0;for(vn=Jt.index;vn<Vt.length;vn++){switch(Vt.charCodeAt(vn)){case 34:Gi="&quot;";break;case 38:Gi="&amp;";break;case 39:Gi="&#39;";break;case 60:Gi="&lt;";break;case 62:Gi="&gt;";break;default:continue}p!==vn&&(vi+=Vt.slice(p,vn)),p=vn+1,vi+=Gi}return p!==vn?vi+Vt.slice(p,vn):vi}const ls=/^-?>|<!--|-->|--!>|<!-$/g;function Zn(ct){return ct.replace(ls,"")}function rr(ct,Vt){if(ct.length!==Vt.length)return!1;let Jt=!0;for(let vi=0;Jt&&vi<ct.length;vi++)Jt=vr(ct[vi],Vt[vi]);return Jt}function vr(ct,Vt){if(ct===Vt)return!0;let Jt=A(ct),vi=A(Vt);if(Jt||vi)return Jt&&vi?ct.getTime()===Vt.getTime():!1;if(Jt=xe(ct),vi=xe(Vt),Jt||vi)return ct===Vt;if(Jt=he(ct),vi=he(Vt),Jt||vi)return Jt&&vi?rr(ct,Vt):!1;if(Jt=ce(ct),vi=ce(Vt),Jt||vi){if(!Jt||!vi)return!1;const Gi=Object.keys(ct).length,vn=Object.keys(Vt).length;if(Gi!==vn)return!1;for(const p in ct){const Li=ct.hasOwnProperty(p),Cn=Vt.hasOwnProperty(p);if(Li&&!Cn||!Li&&Cn||!vr(ct[p],Vt[p]))return!1}}return String(ct)===String(Vt)}function Yn(ct,Vt){return ct.findIndex(Jt=>vr(Jt,Vt))}const br=ct=>be(ct)?ct:ct==null?"":he(ct)||ce(ct)&&(ct.toString===Ae||!le(ct.toString))?JSON.stringify(ct,_n,2):String(ct),_n=(ct,Vt)=>Vt&&Vt.__v_isRef?_n(ct,Vt.value):te(Vt)?{[`Map(${Vt.size})`]:[...Vt.entries()].reduce((Jt,[vi,Gi])=>(Jt[`${vi} =>`]=Gi,Jt),{})}:J(Vt)?{[`Set(${Vt.size})`]:[...Vt.values()]}:ce(Vt)&&!he(Vt)&&!Se(Vt)?String(Vt):Vt},"./node_modules/balanced-match/index.js":function(S){"use strict";S.exports=dt;function dt(j,f,Q){j instanceof RegExp&&(j=gt(j,Q)),f instanceof RegExp&&(f=gt(f,Q));var V=R(j,f,Q);return V&&{start:V[0],end:V[1],pre:Q.slice(0,V[0]),body:Q.slice(V[0]+j.length,V[1]),post:Q.slice(V[1]+f.length)}}function gt(j,f){var Q=f.match(j);return Q?Q[0]:null}dt.range=R;function R(j,f,Q){var V,se,y,$,U,H=Q.indexOf(j),O=Q.indexOf(f,H+1),Z=H;if(H>=0&&O>0){if(j===f)return[H,O];for(V=[],y=Q.length;Z>=0&&!U;)Z==H?(V.push(Z),H=Q.indexOf(j,Z+1)):V.length==1?U=[V.pop(),O]:(se=V.pop(),se<y&&(y=se,$=O),O=Q.indexOf(f,Z+1)),Z=H<O&&H>=0?H:O;V.length&&(U=[y,$])}return U}},"./node_modules/brace-expansion/index.js":function(S,dt,gt){var R=gt("./node_modules/balanced-match/index.js");S.exports=O;var j="\0SLASH"+Math.random()+"\0",f="\0OPEN"+Math.random()+"\0",Q="\0CLOSE"+Math.random()+"\0",V="\0COMMA"+Math.random()+"\0",se="\0PERIOD"+Math.random()+"\0";function y(z){return parseInt(z,10)==z?parseInt(z,10):z.charCodeAt(0)}function $(z){return z.split("\\\\").join(j).split("\\{").join(f).split("\\}").join(Q).split("\\,").join(V).split("\\.").join(se)}function U(z){return z.split(j).join("\\").split(f).join("{").split(Q).join("}").split(V).join(",").split(se).join(".")}function H(z){if(!z)return[""];var le=[],be=R("{","}",z);if(!be)return z.split(",");var xe=be.pre,ce=be.body,ke=be.post,Ae=xe.split(",");Ae[Ae.length-1]+="{"+ce+"}";var _=H(ke);return ke.length&&(Ae[Ae.length-1]+=_.shift(),Ae.push.apply(Ae,_)),le.push.apply(le,Ae),le}function O(z){return z?(z.substr(0,2)==="{}"&&(z="\\{\\}"+z.substr(2)),A($(z),!0).map(U)):[]}function Z(z){return"{"+z+"}"}function he(z){return/^-?0\d/.test(z)}function te(z,le){return z<=le}function J(z,le){return z>=le}function A(z,le){var be=[],xe=R("{","}",z);if(!xe)return[z];var ce=xe.pre,ke=xe.post.length?A(xe.post,!1):[""];if(/\$$/.test(xe.pre))for(var Ae=0;Ae<ke.length;Ae++){var _=ce+"{"+xe.body+"}"+ke[Ae];be.push(_)}else{var Fe=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(xe.body),Se=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(xe.body),ee=Fe||Se,Be=xe.body.indexOf(",")>=0;if(!ee&&!Be)return xe.post.match(/,.*\}/)?(z=xe.pre+"{"+xe.body+Q+xe.post,A(z)):[z];var ve;if(ee)ve=xe.body.split(/\.\./);else if(ve=H(xe.body),ve.length===1&&(ve=A(ve[0],!1).map(Z),ve.length===1))return ke.map(function(jt){return xe.pre+ve[0]+jt});var L;if(ee){var B=y(ve[0]),F=y(ve[1]),oe=Math.max(ve[0].length,ve[1].length),ye=ve.length==3?Math.abs(y(ve[2])):1,Ue=te,Xe=F<B;Xe&&(ye*=-1,Ue=J);var de=ve.some(he);L=[];for(var X=B;Ue(X,F);X+=ye){var pe;if(Se)pe=String.fromCharCode(X),pe==="\\"&&(pe="");else if(pe=String(X),de){var N=oe-pe.length;if(N>0){var _e=new Array(N+1).join("0");X<0?pe="-"+_e+pe.slice(1):pe=_e+pe}}L.push(pe)}}else{L=[];for(var qe=0;qe<ve.length;qe++)L.push.apply(L,A(ve[qe],!1))}for(var qe=0;qe<L.length;qe++)for(var Ae=0;Ae<ke.length;Ae++){var _=ce+L[qe]+ke[Ae];(!le||ee||_)&&be.push(_)}}return be}},"./node_modules/jquery/dist/jquery.js":function(S,dt){var gt,R;(function(j,f){"use strict";typeof S.exports=="object"?S.exports=j.document?f(j,!0):function(Q){if(!Q.document)throw new Error("jQuery requires a window with a document");return f(Q)}:f(j)})(typeof window!="undefined"?window:this,function(j,f){"use strict";var Q=[],V=Object.getPrototypeOf,se=Q.slice,y=Q.flat?function(l){return Q.flat.call(l)}:function(l){return Q.concat.apply([],l)},$=Q.push,U=Q.indexOf,H={},O=H.toString,Z=H.hasOwnProperty,he=Z.toString,te=he.call(Object),J={},A=function(m){return typeof m=="function"&&typeof m.nodeType!="number"&&typeof m.item!="function"},z=function(m){return m!=null&&m===m.window},le=j.document,be={type:!0,src:!0,nonce:!0,noModule:!0};function xe(l,m,E){E=E||le;var M,Y,G=E.createElement("script");if(G.text=l,m)for(M in be)Y=m[M]||m.getAttribute&&m.getAttribute(M),Y&&G.setAttribute(M,Y);E.head.appendChild(G).parentNode.removeChild(G)}function ce(l){return l==null?l+"":typeof l=="object"||typeof l=="function"?H[O.call(l)]||"object":typeof l}var ke="3.7.1",Ae=/HTML$/i,_=function(l,m){return new _.fn.init(l,m)};_.fn=_.prototype={jquery:ke,constructor:_,length:0,toArray:function(){return se.call(this)},get:function(l){return l==null?se.call(this):l<0?this[l+this.length]:this[l]},pushStack:function(l){var m=_.merge(this.constructor(),l);return m.prevObject=this,m},each:function(l){return _.each(this,l)},map:function(l){return this.pushStack(_.map(this,function(m,E){return l.call(m,E,m)}))},slice:function(){return this.pushStack(se.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(_.grep(this,function(l,m){return(m+1)%2}))},odd:function(){return this.pushStack(_.grep(this,function(l,m){return m%2}))},eq:function(l){var m=this.length,E=+l+(l<0?m:0);return this.pushStack(E>=0&&E<m?[this[E]]:[])},end:function(){return this.prevObject||this.constructor()},push:$,sort:Q.sort,splice:Q.splice},_.extend=_.fn.extend=function(){var l,m,E,M,Y,G,ae=arguments[0]||{},Me=1,Pe=arguments.length,tt=!1;for(typeof ae=="boolean"&&(tt=ae,ae=arguments[Me]||{},Me++),typeof ae!="object"&&!A(ae)&&(ae={}),Me===Pe&&(ae=this,Me--);Me<Pe;Me++)if((l=arguments[Me])!=null)for(m in l)M=l[m],!(m==="__proto__"||ae===M)&&(tt&&M&&(_.isPlainObject(M)||(Y=Array.isArray(M)))?(E=ae[m],Y&&!Array.isArray(E)?G=[]:!Y&&!_.isPlainObject(E)?G={}:G=E,Y=!1,ae[m]=_.extend(tt,G,M)):M!==void 0&&(ae[m]=M));return ae},_.extend({expando:"jQuery"+(ke+Math.random()).replace(/\D/g,""),isReady:!0,error:function(l){throw new Error(l)},noop:function(){},isPlainObject:function(l){var m,E;return!l||O.call(l)!=="[object Object]"?!1:(m=V(l),m?(E=Z.call(m,"constructor")&&m.constructor,typeof E=="function"&&he.call(E)===te):!0)},isEmptyObject:function(l){var m;for(m in l)return!1;return!0},globalEval:function(l,m,E){xe(l,{nonce:m&&m.nonce},E)},each:function(l,m){var E,M=0;if(Fe(l))for(E=l.length;M<E&&m.call(l[M],M,l[M])!==!1;M++);else for(M in l)if(m.call(l[M],M,l[M])===!1)break;return l},text:function(l){var m,E="",M=0,Y=l.nodeType;if(!Y)for(;m=l[M++];)E+=_.text(m);return Y===1||Y===11?l.textContent:Y===9?l.documentElement.textContent:Y===3||Y===4?l.nodeValue:E},makeArray:function(l,m){var E=m||[];return l!=null&&(Fe(Object(l))?_.merge(E,typeof l=="string"?[l]:l):$.call(E,l)),E},inArray:function(l,m,E){return m==null?-1:U.call(m,l,E)},isXMLDoc:function(l){var m=l&&l.namespaceURI,E=l&&(l.ownerDocument||l).documentElement;return!Ae.test(m||E&&E.nodeName||"HTML")},merge:function(l,m){for(var E=+m.length,M=0,Y=l.length;M<E;M++)l[Y++]=m[M];return l.length=Y,l},grep:function(l,m,E){for(var M,Y=[],G=0,ae=l.length,Me=!E;G<ae;G++)M=!m(l[G],G),M!==Me&&Y.push(l[G]);return Y},map:function(l,m,E){var M,Y,G=0,ae=[];if(Fe(l))for(M=l.length;G<M;G++)Y=m(l[G],G,E),Y!=null&&ae.push(Y);else for(G in l)Y=m(l[G],G,E),Y!=null&&ae.push(Y);return y(ae)},guid:1,support:J}),typeof Symbol=="function"&&(_.fn[Symbol.iterator]=Q[Symbol.iterator]),_.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(l,m){H["[object "+m+"]"]=m.toLowerCase()});function Fe(l){var m=!!l&&"length"in l&&l.length,E=ce(l);return A(l)||z(l)?!1:E==="array"||m===0||typeof m=="number"&&m>0&&m-1 in l}function Se(l,m){return l.nodeName&&l.nodeName.toLowerCase()===m.toLowerCase()}var ee=Q.pop,Be=Q.sort,ve=Q.splice,L="[\\x20\\t\\r\\n\\f]",B=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g");_.contains=function(l,m){var E=m&&m.parentNode;return l===E||!!(E&&E.nodeType===1&&(l.contains?l.contains(E):l.compareDocumentPosition&&l.compareDocumentPosition(E)&16))};var F=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function oe(l,m){return m?l==="\0"?"\uFFFD":l.slice(0,-1)+"\\"+l.charCodeAt(l.length-1).toString(16)+" ":"\\"+l}_.escapeSelector=function(l){return(l+"").replace(F,oe)};var ye=le,Ue=$;(function(){var l,m,E,M,Y,G=Ue,ae,Me,Pe,tt,Ct,xt=_.expando,ht=0,$t=0,sn=Ks(),Tn=Ks(),un=Ks(),or=Ks(),_r=function(Ce,We){return Ce===We&&(Y=!0),0},fs="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",Jr="(?:\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Ki="\\["+L+"*("+Jr+")(?:"+L+"*([*^$|!~]?=)"+L+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Jr+"))|)"+L+"*\\]",Hr=":("+Jr+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Ki+")*)|.*)\\)|)",Ht=new RegExp(L+"+","g"),er=new RegExp("^"+L+"*,"+L+"*"),vs=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),Do=new RegExp(L+"|>"),ds=new RegExp(Hr),qs=new RegExp("^"+Jr+"$"),Xn={ID:new RegExp("^#("+Jr+")"),CLASS:new RegExp("^\\.("+Jr+")"),TAG:new RegExp("^("+Jr+"|[*])"),ATTR:new RegExp("^"+Ki),PSEUDO:new RegExp("^"+Hr),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+fs+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Wr=/^(?:input|select|textarea|button)$/i,Jn=/^h\d$/i,wr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Mo=/[+~]/,bs=new RegExp("\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\([^\\r\\n\\f])","g"),Vr=function(Ce,We){var mt="0x"+Ce.slice(1)-65536;return We||(mt<0?String.fromCharCode(mt+65536):String.fromCharCode(mt>>10|55296,mt&1023|56320))},zr=function(){Ts()},Or=pr(function(Ce){return Ce.disabled===!0&&Se(Ce,"fieldset")},{dir:"parentNode",next:"legend"});function Mr(){try{return ae.activeElement}catch(Ce){}}try{G.apply(Q=se.call(ye.childNodes),ye.childNodes),Q[ye.childNodes.length].nodeType}catch(Ce){G={apply:function(We,mt){Ue.apply(We,se.call(mt))},call:function(We){Ue.apply(We,se.call(arguments,1))}}}function Ln(Ce,We,mt,yt){var Rt,Nt,ni,_i,oi,on,wi,fn=We&&We.ownerDocument,an=We?We.nodeType:9;if(mt=mt||[],typeof Ce!="string"||!Ce||an!==1&&an!==9&&an!==11)return mt;if(!yt&&(Ts(We),We=We||ae,Pe)){if(an!==11&&(oi=wr.exec(Ce)))if(Rt=oi[1]){if(an===9)if(ni=We.getElementById(Rt)){if(ni.id===Rt)return G.call(mt,ni),mt}else return mt;else if(fn&&(ni=fn.getElementById(Rt))&&Ln.contains(We,ni)&&ni.id===Rt)return G.call(mt,ni),mt}else{if(oi[2])return G.apply(mt,We.getElementsByTagName(Ce)),mt;if((Rt=oi[3])&&We.getElementsByClassName)return G.apply(mt,We.getElementsByClassName(Rt)),mt}if(!or[Ce+" "]&&(!tt||!tt.test(Ce))){if(wi=Ce,fn=We,an===1&&(Do.test(Ce)||vs.test(Ce))){for(fn=Mo.test(Ce)&&So(We.parentNode)||We,(fn!=We||!J.scope)&&((_i=We.getAttribute("id"))?_i=_.escapeSelector(_i):We.setAttribute("id",_i=xt)),on=po(Ce),Nt=on.length;Nt--;)on[Nt]=(_i?"#"+_i:":scope")+" "+Lo(on[Nt]);wi=on.join(",")}try{return G.apply(mt,fn.querySelectorAll(wi)),mt}catch(Ei){or(Ce,!0)}finally{_i===xt&&We.removeAttribute("id")}}}return Ur(Ce.replace(B,"$1"),We,mt,yt)}function Ks(){var Ce=[];function We(mt,yt){return Ce.push(mt+" ")>m.cacheLength&&delete We[Ce.shift()],We[mt+" "]=yt}return We}function Cs(Ce){return Ce[xt]=!0,Ce}function Qs(Ce){var We=ae.createElement("fieldset");try{return!!Ce(We)}catch(mt){return!1}finally{We.parentNode&&We.parentNode.removeChild(We),We=null}}function Ls(Ce){return function(We){return Se(We,"input")&&We.type===Ce}}function fo(Ce){return function(We){return(Se(We,"input")||Se(We,"button"))&&We.type===Ce}}function ho(Ce){return function(We){return"form"in We?We.parentNode&&We.disabled===!1?"label"in We?"label"in We.parentNode?We.parentNode.disabled===Ce:We.disabled===Ce:We.isDisabled===Ce||We.isDisabled!==!Ce&&Or(We)===Ce:We.disabled===Ce:"label"in We?We.disabled===Ce:!1}}function Zs(Ce){return Cs(function(We){return We=+We,Cs(function(mt,yt){for(var Rt,Nt=Ce([],mt.length,We),ni=Nt.length;ni--;)mt[Rt=Nt[ni]]&&(mt[Rt]=!(yt[Rt]=mt[Rt]))})})}function So(Ce){return Ce&&typeof Ce.getElementsByTagName!="undefined"&&Ce}function Ts(Ce){var We,mt=Ce?Ce.ownerDocument||Ce:ye;return mt==ae||mt.nodeType!==9||!mt.documentElement||(ae=mt,Me=ae.documentElement,Pe=!_.isXMLDoc(ae),Ct=Me.matches||Me.webkitMatchesSelector||Me.msMatchesSelector,Me.msMatchesSelector&&ye!=ae&&(We=ae.defaultView)&&We.top!==We&&We.addEventListener("unload",zr),J.getById=Qs(function(yt){return Me.appendChild(yt).id=_.expando,!ae.getElementsByName||!ae.getElementsByName(_.expando).length}),J.disconnectedMatch=Qs(function(yt){return Ct.call(yt,"*")}),J.scope=Qs(function(){return ae.querySelectorAll(":scope")}),J.cssHas=Qs(function(){try{return ae.querySelector(":has(*,:jqfake)"),!1}catch(yt){return!0}}),J.getById?(m.filter.ID=function(yt){var Rt=yt.replace(bs,Vr);return function(Nt){return Nt.getAttribute("id")===Rt}},m.find.ID=function(yt,Rt){if(typeof Rt.getElementById!="undefined"&&Pe){var Nt=Rt.getElementById(yt);return Nt?[Nt]:[]}}):(m.filter.ID=function(yt){var Rt=yt.replace(bs,Vr);return function(Nt){var ni=typeof Nt.getAttributeNode!="undefined"&&Nt.getAttributeNode("id");return ni&&ni.value===Rt}},m.find.ID=function(yt,Rt){if(typeof Rt.getElementById!="undefined"&&Pe){var Nt,ni,_i,oi=Rt.getElementById(yt);if(oi){if(Nt=oi.getAttributeNode("id"),Nt&&Nt.value===yt)return[oi];for(_i=Rt.getElementsByName(yt),ni=0;oi=_i[ni++];)if(Nt=oi.getAttributeNode("id"),Nt&&Nt.value===yt)return[oi]}return[]}}),m.find.TAG=function(yt,Rt){return typeof Rt.getElementsByTagName!="undefined"?Rt.getElementsByTagName(yt):Rt.querySelectorAll(yt)},m.find.CLASS=function(yt,Rt){if(typeof Rt.getElementsByClassName!="undefined"&&Pe)return Rt.getElementsByClassName(yt)},tt=[],Qs(function(yt){var Rt;Me.appendChild(yt).innerHTML="<a id='"+xt+"' href='' disabled='disabled'></a><select id='"+xt+"-\r\\' disabled='disabled'><option selected=''></option></select>",yt.querySelectorAll("[selected]").length||tt.push("\\["+L+"*(?:value|"+fs+")"),yt.querySelectorAll("[id~="+xt+"-]").length||tt.push("~="),yt.querySelectorAll("a#"+xt+"+*").length||tt.push(".#.+[+~]"),yt.querySelectorAll(":checked").length||tt.push(":checked"),Rt=ae.createElement("input"),Rt.setAttribute("type","hidden"),yt.appendChild(Rt).setAttribute("name","D"),Me.appendChild(yt).disabled=!0,yt.querySelectorAll(":disabled").length!==2&&tt.push(":enabled",":disabled"),Rt=ae.createElement("input"),Rt.setAttribute("name",""),yt.appendChild(Rt),yt.querySelectorAll("[name='']").length||tt.push("\\["+L+"*name"+L+"*="+L+`*(?:''|"")`)}),J.cssHas||tt.push(":has"),tt=tt.length&&new RegExp(tt.join("|")),_r=function(yt,Rt){if(yt===Rt)return Y=!0,0;var Nt=!yt.compareDocumentPosition-!Rt.compareDocumentPosition;return Nt||(Nt=(yt.ownerDocument||yt)==(Rt.ownerDocument||Rt)?yt.compareDocumentPosition(Rt):1,Nt&1||!J.sortDetached&&Rt.compareDocumentPosition(yt)===Nt?yt===ae||yt.ownerDocument==ye&&Ln.contains(ye,yt)?-1:Rt===ae||Rt.ownerDocument==ye&&Ln.contains(ye,Rt)?1:M?U.call(M,yt)-U.call(M,Rt):0:Nt&4?-1:1)}),ae}Ln.matches=function(Ce,We){return Ln(Ce,null,null,We)},Ln.matchesSelector=function(Ce,We){if(Ts(Ce),Pe&&!or[We+" "]&&(!tt||!tt.test(We)))try{var mt=Ct.call(Ce,We);if(mt||J.disconnectedMatch||Ce.document&&Ce.document.nodeType!==11)return mt}catch(yt){or(We,!0)}return Ln(We,ae,null,[Ce]).length>0},Ln.contains=function(Ce,We){return(Ce.ownerDocument||Ce)!=ae&&Ts(Ce),_.contains(Ce,We)},Ln.attr=function(Ce,We){(Ce.ownerDocument||Ce)!=ae&&Ts(Ce);var mt=m.attrHandle[We.toLowerCase()],yt=mt&&Z.call(m.attrHandle,We.toLowerCase())?mt(Ce,We,!Pe):void 0;return yt!==void 0?yt:Ce.getAttribute(We)},Ln.error=function(Ce){throw new Error("Syntax error, unrecognized expression: "+Ce)},_.uniqueSort=function(Ce){var We,mt=[],yt=0,Rt=0;if(Y=!J.sortStable,M=!J.sortStable&&se.call(Ce,0),Be.call(Ce,_r),Y){for(;We=Ce[Rt++];)We===Ce[Rt]&&(yt=mt.push(Rt));for(;yt--;)ve.call(Ce,mt[yt],1)}return M=null,Ce},_.fn.uniqueSort=function(){return this.pushStack(_.uniqueSort(se.apply(this)))},m=_.expr={cacheLength:50,createPseudo:Cs,match:Xn,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(Ce){return Ce[1]=Ce[1].replace(bs,Vr),Ce[3]=(Ce[3]||Ce[4]||Ce[5]||"").replace(bs,Vr),Ce[2]==="~="&&(Ce[3]=" "+Ce[3]+" "),Ce.slice(0,4)},CHILD:function(Ce){return Ce[1]=Ce[1].toLowerCase(),Ce[1].slice(0,3)==="nth"?(Ce[3]||Ln.error(Ce[0]),Ce[4]=+(Ce[4]?Ce[5]+(Ce[6]||1):2*(Ce[3]==="even"||Ce[3]==="odd")),Ce[5]=+(Ce[7]+Ce[8]||Ce[3]==="odd")):Ce[3]&&Ln.error(Ce[0]),Ce},PSEUDO:function(Ce){var We,mt=!Ce[6]&&Ce[2];return Xn.CHILD.test(Ce[0])?null:(Ce[3]?Ce[2]=Ce[4]||Ce[5]||"":mt&&ds.test(mt)&&(We=po(mt,!0))&&(We=mt.indexOf(")",mt.length-We)-mt.length)&&(Ce[0]=Ce[0].slice(0,We),Ce[2]=mt.slice(0,We)),Ce.slice(0,3))}},filter:{TAG:function(Ce){var We=Ce.replace(bs,Vr).toLowerCase();return Ce==="*"?function(){return!0}:function(mt){return Se(mt,We)}},CLASS:function(Ce){var We=sn[Ce+" "];return We||(We=new RegExp("(^|"+L+")"+Ce+"("+L+"|$)"))&&sn(Ce,function(mt){return We.test(typeof mt.className=="string"&&mt.className||typeof mt.getAttribute!="undefined"&&mt.getAttribute("class")||"")})},ATTR:function(Ce,We,mt){return function(yt){var Rt=Ln.attr(yt,Ce);return Rt==null?We==="!=":We?(Rt+="",We==="="?Rt===mt:We==="!="?Rt!==mt:We==="^="?mt&&Rt.indexOf(mt)===0:We==="*="?mt&&Rt.indexOf(mt)>-1:We==="$="?mt&&Rt.slice(-mt.length)===mt:We==="~="?(" "+Rt.replace(Ht," ")+" ").indexOf(mt)>-1:We==="|="?Rt===mt||Rt.slice(0,mt.length+1)===mt+"-":!1):!0}},CHILD:function(Ce,We,mt,yt,Rt){var Nt=Ce.slice(0,3)!=="nth",ni=Ce.slice(-4)!=="last",_i=We==="of-type";return yt===1&&Rt===0?function(oi){return!!oi.parentNode}:function(oi,on,wi){var fn,an,Ei,Un,bn,Rr=Nt!==ni?"nextSibling":"previousSibling",hs=oi.parentNode,ys=_i&&oi.nodeName.toLowerCase(),qr=!wi&&!_i,xr=!1;if(hs){if(Nt){for(;Rr;){for(Ei=oi;Ei=Ei[Rr];)if(_i?Se(Ei,ys):Ei.nodeType===1)return!1;bn=Rr=Ce==="only"&&!bn&&"nextSibling"}return!0}if(bn=[ni?hs.firstChild:hs.lastChild],ni&&qr){for(an=hs[xt]||(hs[xt]={}),fn=an[Ce]||[],Un=fn[0]===ht&&fn[1],xr=Un&&fn[2],Ei=Un&&hs.childNodes[Un];Ei=++Un&&Ei&&Ei[Rr]||(xr=Un=0)||bn.pop();)if(Ei.nodeType===1&&++xr&&Ei===oi){an[Ce]=[ht,Un,xr];break}}else if(qr&&(an=oi[xt]||(oi[xt]={}),fn=an[Ce]||[],Un=fn[0]===ht&&fn[1],xr=Un),xr===!1)for(;(Ei=++Un&&Ei&&Ei[Rr]||(xr=Un=0)||bn.pop())&&!((_i?Se(Ei,ys):Ei.nodeType===1)&&++xr&&(qr&&(an=Ei[xt]||(Ei[xt]={}),an[Ce]=[ht,xr]),Ei===oi)););return xr-=Rt,xr===yt||xr%yt===0&&xr/yt>=0}}},PSEUDO:function(Ce,We){var mt,yt=m.pseudos[Ce]||m.setFilters[Ce.toLowerCase()]||Ln.error("unsupported pseudo: "+Ce);return yt[xt]?yt(We):yt.length>1?(mt=[Ce,Ce,"",We],m.setFilters.hasOwnProperty(Ce.toLowerCase())?Cs(function(Rt,Nt){for(var ni,_i=yt(Rt,We),oi=_i.length;oi--;)ni=U.call(Rt,_i[oi]),Rt[ni]=!(Nt[ni]=_i[oi])}):function(Rt){return yt(Rt,0,mt)}):yt}},pseudos:{not:Cs(function(Ce){var We=[],mt=[],yt=Xo(Ce.replace(B,"$1"));return yt[xt]?Cs(function(Rt,Nt,ni,_i){for(var oi,on=yt(Rt,null,_i,[]),wi=Rt.length;wi--;)(oi=on[wi])&&(Rt[wi]=!(Nt[wi]=oi))}):function(Rt,Nt,ni){return We[0]=Rt,yt(We,null,ni,mt),We[0]=null,!mt.pop()}}),has:Cs(function(Ce){return function(We){return Ln(Ce,We).length>0}}),contains:Cs(function(Ce){return Ce=Ce.replace(bs,Vr),function(We){return(We.textContent||_.text(We)).indexOf(Ce)>-1}}),lang:Cs(function(Ce){return qs.test(Ce||"")||Ln.error("unsupported lang: "+Ce),Ce=Ce.replace(bs,Vr).toLowerCase(),function(We){var mt;do if(mt=Pe?We.lang:We.getAttribute("xml:lang")||We.getAttribute("lang"))return mt=mt.toLowerCase(),mt===Ce||mt.indexOf(Ce+"-")===0;while((We=We.parentNode)&&We.nodeType===1);return!1}}),target:function(Ce){var We=j.location&&j.location.hash;return We&&We.slice(1)===Ce.id},root:function(Ce){return Ce===Me},focus:function(Ce){return Ce===Mr()&&ae.hasFocus()&&!!(Ce.type||Ce.href||~Ce.tabIndex)},enabled:ho(!1),disabled:ho(!0),checked:function(Ce){return Se(Ce,"input")&&!!Ce.checked||Se(Ce,"option")&&!!Ce.selected},selected:function(Ce){return Ce.parentNode&&Ce.parentNode.selectedIndex,Ce.selected===!0},empty:function(Ce){for(Ce=Ce.firstChild;Ce;Ce=Ce.nextSibling)if(Ce.nodeType<6)return!1;return!0},parent:function(Ce){return!m.pseudos.empty(Ce)},header:function(Ce){return Jn.test(Ce.nodeName)},input:function(Ce){return Wr.test(Ce.nodeName)},button:function(Ce){return Se(Ce,"input")&&Ce.type==="button"||Se(Ce,"button")},text:function(Ce){var We;return Se(Ce,"input")&&Ce.type==="text"&&((We=Ce.getAttribute("type"))==null||We.toLowerCase()==="text")},first:Zs(function(){return[0]}),last:Zs(function(Ce,We){return[We-1]}),eq:Zs(function(Ce,We,mt){return[mt<0?mt+We:mt]}),even:Zs(function(Ce,We){for(var mt=0;mt<We;mt+=2)Ce.push(mt);return Ce}),odd:Zs(function(Ce,We){for(var mt=1;mt<We;mt+=2)Ce.push(mt);return Ce}),lt:Zs(function(Ce,We,mt){var yt;for(mt<0?yt=mt+We:mt>We?yt=We:yt=mt;--yt>=0;)Ce.push(yt);return Ce}),gt:Zs(function(Ce,We,mt){for(var yt=mt<0?mt+We:mt;++yt<We;)Ce.push(yt);return Ce})}},m.pseudos.nth=m.pseudos.eq;for(l in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})m.pseudos[l]=Ls(l);for(l in{submit:!0,reset:!0})m.pseudos[l]=fo(l);function eo(){}eo.prototype=m.filters=m.pseudos,m.setFilters=new eo;function po(Ce,We){var mt,yt,Rt,Nt,ni,_i,oi,on=Tn[Ce+" "];if(on)return We?0:on.slice(0);for(ni=Ce,_i=[],oi=m.preFilter;ni;){(!mt||(yt=er.exec(ni)))&&(yt&&(ni=ni.slice(yt[0].length)||ni),_i.push(Rt=[])),mt=!1,(yt=vs.exec(ni))&&(mt=yt.shift(),Rt.push({value:mt,type:yt[0].replace(B," ")}),ni=ni.slice(mt.length));for(Nt in m.filter)(yt=Xn[Nt].exec(ni))&&(!oi[Nt]||(yt=oi[Nt](yt)))&&(mt=yt.shift(),Rt.push({value:mt,type:Nt,matches:yt}),ni=ni.slice(mt.length));if(!mt)break}return We?ni.length:ni?Ln.error(Ce):Tn(Ce,_i).slice(0)}function Lo(Ce){for(var We=0,mt=Ce.length,yt="";We<mt;We++)yt+=Ce[We].value;return yt}function pr(Ce,We,mt){var yt=We.dir,Rt=We.next,Nt=Rt||yt,ni=mt&&Nt==="parentNode",_i=$t++;return We.first?function(oi,on,wi){for(;oi=oi[yt];)if(oi.nodeType===1||ni)return Ce(oi,on,wi);return!1}:function(oi,on,wi){var fn,an,Ei=[ht,_i];if(wi){for(;oi=oi[yt];)if((oi.nodeType===1||ni)&&Ce(oi,on,wi))return!0}else for(;oi=oi[yt];)if(oi.nodeType===1||ni)if(an=oi[xt]||(oi[xt]={}),Rt&&Se(oi,Rt))oi=oi[yt]||oi;else{if((fn=an[Nt])&&fn[0]===ht&&fn[1]===_i)return Ei[2]=fn[2];if(an[Nt]=Ei,Ei[2]=Ce(oi,on,wi))return!0}return!1}}function Io(Ce){return Ce.length>1?function(We,mt,yt){for(var Rt=Ce.length;Rt--;)if(!Ce[Rt](We,mt,yt))return!1;return!0}:Ce[0]}function Fo(Ce,We,mt){for(var yt=0,Rt=We.length;yt<Rt;yt++)Ln(Ce,We[yt],mt);return mt}function mo(Ce,We,mt,yt,Rt){for(var Nt,ni=[],_i=0,oi=Ce.length,on=We!=null;_i<oi;_i++)(Nt=Ce[_i])&&(!mt||mt(Nt,yt,Rt))&&(ni.push(Nt),on&&We.push(_i));return ni}function No(Ce,We,mt,yt,Rt,Nt){return yt&&!yt[xt]&&(yt=No(yt)),Rt&&!Rt[xt]&&(Rt=No(Rt,Nt)),Cs(function(ni,_i,oi,on){var wi,fn,an,Ei,Un=[],bn=[],Rr=_i.length,hs=ni||Fo(We||"*",oi.nodeType?[oi]:oi,[]),ys=Ce&&(ni||!We)?mo(hs,Un,Ce,oi,on):hs;if(mt?(Ei=Rt||(ni?Ce:Rr||yt)?[]:_i,mt(ys,Ei,oi,on)):Ei=ys,yt)for(wi=mo(Ei,bn),yt(wi,[],oi,on),fn=wi.length;fn--;)(an=wi[fn])&&(Ei[bn[fn]]=!(ys[bn[fn]]=an));if(ni){if(Rt||Ce){if(Rt){for(wi=[],fn=Ei.length;fn--;)(an=Ei[fn])&&wi.push(ys[fn]=an);Rt(null,Ei=[],wi,on)}for(fn=Ei.length;fn--;)(an=Ei[fn])&&(wi=Rt?U.call(ni,an):Un[fn])>-1&&(ni[wi]=!(_i[wi]=an))}}else Ei=mo(Ei===_i?Ei.splice(Rr,Ei.length):Ei),Rt?Rt(null,_i,Ei,on):G.apply(_i,Ei)})}function Bo(Ce){for(var We,mt,yt,Rt=Ce.length,Nt=m.relative[Ce[0].type],ni=Nt||m.relative[" "],_i=Nt?1:0,oi=pr(function(fn){return fn===We},ni,!0),on=pr(function(fn){return U.call(We,fn)>-1},ni,!0),wi=[function(fn,an,Ei){var Un=!Nt&&(Ei||an!=E)||((We=an).nodeType?oi(fn,an,Ei):on(fn,an,Ei));return We=null,Un}];_i<Rt;_i++)if(mt=m.relative[Ce[_i].type])wi=[pr(Io(wi),mt)];else{if(mt=m.filter[Ce[_i].type].apply(null,Ce[_i].matches),mt[xt]){for(yt=++_i;yt<Rt&&!m.relative[Ce[yt].type];yt++);return No(_i>1&&Io(wi),_i>1&&Lo(Ce.slice(0,_i-1).concat({value:Ce[_i-2].type===" "?"*":""})).replace(B,"$1"),mt,_i<yt&&Bo(Ce.slice(_i,yt)),yt<Rt&&Bo(Ce=Ce.slice(yt)),yt<Rt&&Lo(Ce))}wi.push(mt)}return Io(wi)}function fa(Ce,We){var mt=We.length>0,yt=Ce.length>0,Rt=function(Nt,ni,_i,oi,on){var wi,fn,an,Ei=0,Un="0",bn=Nt&&[],Rr=[],hs=E,ys=Nt||yt&&m.find.TAG("*",on),qr=ht+=hs==null?1:Math.random()||.1,xr=ys.length;for(on&&(E=ni==ae||ni||on);Un!==xr&&(wi=ys[Un])!=null;Un++){if(yt&&wi){for(fn=0,!ni&&wi.ownerDocument!=ae&&(Ts(wi),_i=!Pe);an=Ce[fn++];)if(an(wi,ni||ae,_i)){G.call(oi,wi);break}on&&(ht=qr)}mt&&((wi=!an&&wi)&&Ei--,Nt&&bn.push(wi))}if(Ei+=Un,mt&&Un!==Ei){for(fn=0;an=We[fn++];)an(bn,Rr,ni,_i);if(Nt){if(Ei>0)for(;Un--;)bn[Un]||Rr[Un]||(Rr[Un]=ee.call(oi));Rr=mo(Rr)}G.apply(oi,Rr),on&&!Nt&&Rr.length>0&&Ei+We.length>1&&_.uniqueSort(oi)}return on&&(ht=qr,E=hs),bn};return mt?Cs(Rt):Rt}function Xo(Ce,We){var mt,yt=[],Rt=[],Nt=un[Ce+" "];if(!Nt){for(We||(We=po(Ce)),mt=We.length;mt--;)Nt=Bo(We[mt]),Nt[xt]?yt.push(Nt):Rt.push(Nt);Nt=un(Ce,fa(Rt,yt)),Nt.selector=Ce}return Nt}function Ur(Ce,We,mt,yt){var Rt,Nt,ni,_i,oi,on=typeof Ce=="function"&&Ce,wi=!yt&&po(Ce=on.selector||Ce);if(mt=mt||[],wi.length===1){if(Nt=wi[0]=wi[0].slice(0),Nt.length>2&&(ni=Nt[0]).type==="ID"&&We.nodeType===9&&Pe&&m.relative[Nt[1].type]){if(We=(m.find.ID(ni.matches[0].replace(bs,Vr),We)||[])[0],We)on&&(We=We.parentNode);else return mt;Ce=Ce.slice(Nt.shift().value.length)}for(Rt=Xn.needsContext.test(Ce)?0:Nt.length;Rt--&&(ni=Nt[Rt],!m.relative[_i=ni.type]);)if((oi=m.find[_i])&&(yt=oi(ni.matches[0].replace(bs,Vr),Mo.test(Nt[0].type)&&So(We.parentNode)||We))){if(Nt.splice(Rt,1),Ce=yt.length&&Lo(Nt),!Ce)return G.apply(mt,yt),mt;break}}return(on||Xo(Ce,wi))(yt,We,!Pe,mt,!We||Mo.test(Ce)&&So(We.parentNode)||We),mt}J.sortStable=xt.split("").sort(_r).join("")===xt,Ts(),J.sortDetached=Qs(function(Ce){return Ce.compareDocumentPosition(ae.createElement("fieldset"))&1}),_.find=Ln,_.expr[":"]=_.expr.pseudos,_.unique=_.uniqueSort,Ln.compile=Xo,Ln.select=Ur,Ln.setDocument=Ts,Ln.tokenize=po,Ln.escape=_.escapeSelector,Ln.getText=_.text,Ln.isXML=_.isXMLDoc,Ln.selectors=_.expr,Ln.support=_.support,Ln.uniqueSort=_.uniqueSort})();var Xe=function(l,m,E){for(var M=[],Y=E!==void 0;(l=l[m])&&l.nodeType!==9;)if(l.nodeType===1){if(Y&&_(l).is(E))break;M.push(l)}return M},de=function(l,m){for(var E=[];l;l=l.nextSibling)l.nodeType===1&&l!==m&&E.push(l);return E},X=_.expr.match.needsContext,pe=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(l,m,E){return A(m)?_.grep(l,function(M,Y){return!!m.call(M,Y,M)!==E}):m.nodeType?_.grep(l,function(M){return M===m!==E}):typeof m!="string"?_.grep(l,function(M){return U.call(m,M)>-1!==E}):_.filter(m,l,E)}_.filter=function(l,m,E){var M=m[0];return E&&(l=":not("+l+")"),m.length===1&&M.nodeType===1?_.find.matchesSelector(M,l)?[M]:[]:_.find.matches(l,_.grep(m,function(Y){return Y.nodeType===1}))},_.fn.extend({find:function(l){var m,E,M=this.length,Y=this;if(typeof l!="string")return this.pushStack(_(l).filter(function(){for(m=0;m<M;m++)if(_.contains(Y[m],this))return!0}));for(E=this.pushStack([]),m=0;m<M;m++)_.find(l,Y[m],E);return M>1?_.uniqueSort(E):E},filter:function(l){return this.pushStack(N(this,l||[],!1))},not:function(l){return this.pushStack(N(this,l||[],!0))},is:function(l){return!!N(this,typeof l=="string"&&X.test(l)?_(l):l||[],!1).length}});var _e,qe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,jt=_.fn.init=function(l,m,E){var M,Y;if(!l)return this;if(E=E||_e,typeof l=="string")if(l[0]==="<"&&l[l.length-1]===">"&&l.length>=3?M=[null,l,null]:M=qe.exec(l),M&&(M[1]||!m))if(M[1]){if(m=m instanceof _?m[0]:m,_.merge(this,_.parseHTML(M[1],m&&m.nodeType?m.ownerDocument||m:le,!0)),pe.test(M[1])&&_.isPlainObject(m))for(M in m)A(this[M])?this[M](m[M]):this.attr(M,m[M]);return this}else return Y=le.getElementById(M[2]),Y&&(this[0]=Y,this.length=1),this;else return!m||m.jquery?(m||E).find(l):this.constructor(m).find(l);else{if(l.nodeType)return this[0]=l,this.length=1,this;if(A(l))return E.ready!==void 0?E.ready(l):l(_)}return _.makeArray(l,this)};jt.prototype=_.fn,_e=_(le);var _t=/^(?:parents|prev(?:Until|All))/,wt={children:!0,contents:!0,next:!0,prev:!0};_.fn.extend({has:function(l){var m=_(l,this),E=m.length;return this.filter(function(){for(var M=0;M<E;M++)if(_.contains(this,m[M]))return!0})},closest:function(l,m){var E,M=0,Y=this.length,G=[],ae=typeof l!="string"&&_(l);if(!X.test(l)){for(;M<Y;M++)for(E=this[M];E&&E!==m;E=E.parentNode)if(E.nodeType<11&&(ae?ae.index(E)>-1:E.nodeType===1&&_.find.matchesSelector(E,l))){G.push(E);break}}return this.pushStack(G.length>1?_.uniqueSort(G):G)},index:function(l){return l?typeof l=="string"?U.call(_(l),this[0]):U.call(this,l.jquery?l[0]:l):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(l,m){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(l,m))))},addBack:function(l){return this.add(l==null?this.prevObject:this.prevObject.filter(l))}});function Zt(l,m){for(;(l=l[m])&&l.nodeType!==1;);return l}_.each({parent:function(l){var m=l.parentNode;return m&&m.nodeType!==11?m:null},parents:function(l){return Xe(l,"parentNode")},parentsUntil:function(l,m,E){return Xe(l,"parentNode",E)},next:function(l){return Zt(l,"nextSibling")},prev:function(l){return Zt(l,"previousSibling")},nextAll:function(l){return Xe(l,"nextSibling")},prevAll:function(l){return Xe(l,"previousSibling")},nextUntil:function(l,m,E){return Xe(l,"nextSibling",E)},prevUntil:function(l,m,E){return Xe(l,"previousSibling",E)},siblings:function(l){return de((l.parentNode||{}).firstChild,l)},children:function(l){return de(l.firstChild)},contents:function(l){return l.contentDocument!=null&&V(l.contentDocument)?l.contentDocument:(Se(l,"template")&&(l=l.content||l),_.merge([],l.childNodes))}},function(l,m){_.fn[l]=function(E,M){var Y=_.map(this,m,E);return l.slice(-5)!=="Until"&&(M=E),M&&typeof M=="string"&&(Y=_.filter(M,Y)),this.length>1&&(wt[l]||_.uniqueSort(Y),_t.test(l)&&Y.reverse()),this.pushStack(Y)}});var zt=/[^\x20\t\r\n\f]+/g;function ki(l){var m={};return _.each(l.match(zt)||[],function(E,M){m[M]=!0}),m}_.Callbacks=function(l){l=typeof l=="string"?ki(l):_.extend({},l);var m,E,M,Y,G=[],ae=[],Me=-1,Pe=function(){for(Y=Y||l.once,M=m=!0;ae.length;Me=-1)for(E=ae.shift();++Me<G.length;)G[Me].apply(E[0],E[1])===!1&&l.stopOnFalse&&(Me=G.length,E=!1);l.memory||(E=!1),m=!1,Y&&(E?G=[]:G="")},tt={add:function(){return G&&(E&&!m&&(Me=G.length-1,ae.push(E)),function Ct(xt){_.each(xt,function(ht,$t){A($t)?(!l.unique||!tt.has($t))&&G.push($t):$t&&$t.length&&ce($t)!=="string"&&Ct($t)})}(arguments),E&&!m&&Pe()),this},remove:function(){return _.each(arguments,function(Ct,xt){for(var ht;(ht=_.inArray(xt,G,ht))>-1;)G.splice(ht,1),ht<=Me&&Me--}),this},has:function(Ct){return Ct?_.inArray(Ct,G)>-1:G.length>0},empty:function(){return G&&(G=[]),this},disable:function(){return Y=ae=[],G=E="",this},disabled:function(){return!G},lock:function(){return Y=ae=[],!E&&!m&&(G=E=""),this},locked:function(){return!!Y},fireWith:function(Ct,xt){return Y||(xt=xt||[],xt=[Ct,xt.slice?xt.slice():xt],ae.push(xt),m||Pe()),this},fire:function(){return tt.fireWith(this,arguments),this},fired:function(){return!!M}};return tt};function hi(l){return l}function Ji(l){throw l}function Si(l,m,E,M){var Y;try{l&&A(Y=l.promise)?Y.call(l).done(m).fail(E):l&&A(Y=l.then)?Y.call(l,m,E):m.apply(void 0,[l].slice(M))}catch(G){E.apply(void 0,[G])}}_.extend({Deferred:function(l){var m=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],E="pending",M={state:function(){return E},always:function(){return Y.done(arguments).fail(arguments),this},catch:function(G){return M.then(null,G)},pipe:function(){var G=arguments;return _.Deferred(function(ae){_.each(m,function(Me,Pe){var tt=A(G[Pe[4]])&&G[Pe[4]];Y[Pe[1]](function(){var Ct=tt&&tt.apply(this,arguments);Ct&&A(Ct.promise)?Ct.promise().progress(ae.notify).done(ae.resolve).fail(ae.reject):ae[Pe[0]+"With"](this,tt?[Ct]:arguments)})}),G=null}).promise()},then:function(G,ae,Me){var Pe=0;function tt(Ct,xt,ht,$t){return function(){var sn=this,Tn=arguments,un=function(){var _r,fs;if(!(Ct<Pe)){if(_r=ht.apply(sn,Tn),_r===xt.promise())throw new TypeError("Thenable self-resolution");fs=_r&&(typeof _r=="object"||typeof _r=="function")&&_r.then,A(fs)?$t?fs.call(_r,tt(Pe,xt,hi,$t),tt(Pe,xt,Ji,$t)):(Pe++,fs.call(_r,tt(Pe,xt,hi,$t),tt(Pe,xt,Ji,$t),tt(Pe,xt,hi,xt.notifyWith))):(ht!==hi&&(sn=void 0,Tn=[_r]),($t||xt.resolveWith)(sn,Tn))}},or=$t?un:function(){try{un()}catch(_r){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(_r,or.error),Ct+1>=Pe&&(ht!==Ji&&(sn=void 0,Tn=[_r]),xt.rejectWith(sn,Tn))}};Ct?or():(_.Deferred.getErrorHook?or.error=_.Deferred.getErrorHook():_.Deferred.getStackHook&&(or.error=_.Deferred.getStackHook()),j.setTimeout(or))}}return _.Deferred(function(Ct){m[0][3].add(tt(0,Ct,A(Me)?Me:hi,Ct.notifyWith)),m[1][3].add(tt(0,Ct,A(G)?G:hi)),m[2][3].add(tt(0,Ct,A(ae)?ae:Ji))}).promise()},promise:function(G){return G!=null?_.extend(G,M):M}},Y={};return _.each(m,function(G,ae){var Me=ae[2],Pe=ae[5];M[ae[1]]=Me.add,Pe&&Me.add(function(){E=Pe},m[3-G][2].disable,m[3-G][3].disable,m[0][2].lock,m[0][3].lock),Me.add(ae[3].fire),Y[ae[0]]=function(){return Y[ae[0]+"With"](this===Y?void 0:this,arguments),this},Y[ae[0]+"With"]=Me.fireWith}),M.promise(Y),l&&l.call(Y,Y),Y},when:function(l){var m=arguments.length,E=m,M=Array(E),Y=se.call(arguments),G=_.Deferred(),ae=function(Me){return function(Pe){M[Me]=this,Y[Me]=arguments.length>1?se.call(arguments):Pe,--m||G.resolveWith(M,Y)}};if(m<=1&&(Si(l,G.done(ae(E)).resolve,G.reject,!m),G.state()==="pending"||A(Y[E]&&Y[E].then)))return G.then();for(;E--;)Si(Y[E],ae(E),G.reject);return G.promise()}});var Di=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(l,m){j.console&&j.console.warn&&l&&Di.test(l.name)&&j.console.warn("jQuery.Deferred exception: "+l.message,l.stack,m)},_.readyException=function(l){j.setTimeout(function(){throw l})};var ci=_.Deferred();_.fn.ready=function(l){return ci.then(l).catch(function(m){_.readyException(m)}),this},_.extend({isReady:!1,readyWait:1,ready:function(l){(l===!0?--_.readyWait:_.isReady)||(_.isReady=!0,!(l!==!0&&--_.readyWait>0)&&ci.resolveWith(le,[_]))}}),_.ready.then=ci.then;function On(){le.removeEventListener("DOMContentLoaded",On),j.removeEventListener("load",On),_.ready()}le.readyState==="complete"||le.readyState!=="loading"&&!le.documentElement.doScroll?j.setTimeout(_.ready):(le.addEventListener("DOMContentLoaded",On),j.addEventListener("load",On));var Wi=function(l,m,E,M,Y,G,ae){var Me=0,Pe=l.length,tt=E==null;if(ce(E)==="object"){Y=!0;for(Me in E)Wi(l,m,Me,E[Me],!0,G,ae)}else if(M!==void 0&&(Y=!0,A(M)||(ae=!0),tt&&(ae?(m.call(l,M),m=null):(tt=m,m=function(Ct,xt,ht){return tt.call(_(Ct),ht)})),m))for(;Me<Pe;Me++)m(l[Me],E,ae?M:M.call(l[Me],Me,m(l[Me],E)));return Y?l:tt?m.call(l):Pe?m(l[0],E):G},x=/^-ms-/,P=/-([a-z])/g;function re(l,m){return m.toUpperCase()}function Ie(l){return l.replace(x,"ms-").replace(P,re)}var Ve=function(l){return l.nodeType===1||l.nodeType===9||!+l.nodeType};function it(){this.expando=_.expando+it.uid++}it.uid=1,it.prototype={cache:function(l){var m=l[this.expando];return m||(m={},Ve(l)&&(l.nodeType?l[this.expando]=m:Object.defineProperty(l,this.expando,{value:m,configurable:!0}))),m},set:function(l,m,E){var M,Y=this.cache(l);if(typeof m=="string")Y[Ie(m)]=E;else for(M in m)Y[Ie(M)]=m[M];return Y},get:function(l,m){return m===void 0?this.cache(l):l[this.expando]&&l[this.expando][Ie(m)]},access:function(l,m,E){return m===void 0||m&&typeof m=="string"&&E===void 0?this.get(l,m):(this.set(l,m,E),E!==void 0?E:m)},remove:function(l,m){var E,M=l[this.expando];if(M!==void 0){if(m!==void 0)for(Array.isArray(m)?m=m.map(Ie):(m=Ie(m),m=m in M?[m]:m.match(zt)||[]),E=m.length;E--;)delete M[m[E]];(m===void 0||_.isEmptyObject(M))&&(l.nodeType?l[this.expando]=void 0:delete l[this.expando])}},hasData:function(l){var m=l[this.expando];return m!==void 0&&!_.isEmptyObject(m)}};var nt=new it,Qt=new it,pi=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ci=/[A-Z]/g;function pn(l){return l==="true"?!0:l==="false"?!1:l==="null"?null:l===+l+""?+l:pi.test(l)?JSON.parse(l):l}function Zi(l,m,E){var M;if(E===void 0&&l.nodeType===1)if(M="data-"+m.replace(Ci,"-$&").toLowerCase(),E=l.getAttribute(M),typeof E=="string"){try{E=pn(E)}catch(Y){}Qt.set(l,m,E)}else E=void 0;return E}_.extend({hasData:function(l){return Qt.hasData(l)||nt.hasData(l)},data:function(l,m,E){return Qt.access(l,m,E)},removeData:function(l,m){Qt.remove(l,m)},_data:function(l,m,E){return nt.access(l,m,E)},_removeData:function(l,m){nt.remove(l,m)}}),_.fn.extend({data:function(l,m){var E,M,Y,G=this[0],ae=G&&G.attributes;if(l===void 0){if(this.length&&(Y=Qt.get(G),G.nodeType===1&&!nt.get(G,"hasDataAttrs"))){for(E=ae.length;E--;)ae[E]&&(M=ae[E].name,M.indexOf("data-")===0&&(M=Ie(M.slice(5)),Zi(G,M,Y[M])));nt.set(G,"hasDataAttrs",!0)}return Y}return typeof l=="object"?this.each(function(){Qt.set(this,l)}):Wi(this,function(Me){var Pe;if(G&&Me===void 0)return Pe=Qt.get(G,l),Pe!==void 0||(Pe=Zi(G,l),Pe!==void 0)?Pe:void 0;this.each(function(){Qt.set(this,l,Me)})},null,m,arguments.length>1,null,!0)},removeData:function(l){return this.each(function(){Qt.remove(this,l)})}}),_.extend({queue:function(l,m,E){var M;if(l)return m=(m||"fx")+"queue",M=nt.get(l,m),E&&(!M||Array.isArray(E)?M=nt.access(l,m,_.makeArray(E)):M.push(E)),M||[]},dequeue:function(l,m){m=m||"fx";var E=_.queue(l,m),M=E.length,Y=E.shift(),G=_._queueHooks(l,m),ae=function(){_.dequeue(l,m)};Y==="inprogress"&&(Y=E.shift(),M--),Y&&(m==="fx"&&E.unshift("inprogress"),delete G.stop,Y.call(l,ae,G)),!M&&G&&G.empty.fire()},_queueHooks:function(l,m){var E=m+"queueHooks";return nt.get(l,E)||nt.access(l,E,{empty:_.Callbacks("once memory").add(function(){nt.remove(l,[m+"queue",E])})})}}),_.fn.extend({queue:function(l,m){var E=2;return typeof l!="string"&&(m=l,l="fx",E--),arguments.length<E?_.queue(this[0],l):m===void 0?this:this.each(function(){var M=_.queue(this,l,m);_._queueHooks(this,l),l==="fx"&&M[0]!=="inprogress"&&_.dequeue(this,l)})},dequeue:function(l){return this.each(function(){_.dequeue(this,l)})},clearQueue:function(l){return this.queue(l||"fx",[])},promise:function(l,m){var E,M=1,Y=_.Deferred(),G=this,ae=this.length,Me=function(){--M||Y.resolveWith(G,[G])};for(typeof l!="string"&&(m=l,l=void 0),l=l||"fx";ae--;)E=nt.get(G[ae],l+"queueHooks"),E&&E.empty&&(M++,E.empty.add(Me));return Me(),Y.promise(m)}});var ji=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Yi=new RegExp("^(?:([+-])=|)("+ji+")([a-z%]*)$","i"),Mi=["Top","Right","Bottom","Left"],Pn=le.documentElement,Ti=function(l){return _.contains(l.ownerDocument,l)},Pi={composed:!0};Pn.getRootNode&&(Ti=function(l){return _.contains(l.ownerDocument,l)||l.getRootNode(Pi)===l.ownerDocument});var rn=function(l,m){return l=m||l,l.style.display==="none"||l.style.display===""&&Ti(l)&&_.css(l,"display")==="none"};function Ai(l,m,E,M){var Y,G,ae=20,Me=M?function(){return M.cur()}:function(){return _.css(l,m,"")},Pe=Me(),tt=E&&E[3]||(_.cssNumber[m]?"":"px"),Ct=l.nodeType&&(_.cssNumber[m]||tt!=="px"&&+Pe)&&Yi.exec(_.css(l,m));if(Ct&&Ct[3]!==tt){for(Pe=Pe/2,tt=tt||Ct[3],Ct=+Pe||1;ae--;)_.style(l,m,Ct+tt),(1-G)*(1-(G=Me()/Pe||.5))<=0&&(ae=0),Ct=Ct/G;Ct=Ct*2,_.style(l,m,Ct+tt),E=E||[]}return E&&(Ct=+Ct||+Pe||0,Y=E[1]?Ct+(E[1]+1)*E[2]:+E[2],M&&(M.unit=tt,M.start=Ct,M.end=Y)),Y}var Bi={};function Vn(l){var m,E=l.ownerDocument,M=l.nodeName,Y=Bi[M];return Y||(m=E.body.appendChild(E.createElement(M)),Y=_.css(m,"display"),m.parentNode.removeChild(m),Y==="none"&&(Y="block"),Bi[M]=Y,Y)}function ls(l,m){for(var E,M,Y=[],G=0,ae=l.length;G<ae;G++)M=l[G],M.style&&(E=M.style.display,m?(E==="none"&&(Y[G]=nt.get(M,"display")||null,Y[G]||(M.style.display="")),M.style.display===""&&rn(M)&&(Y[G]=Vn(M))):E!=="none"&&(Y[G]="none",nt.set(M,"display",E)));for(G=0;G<ae;G++)Y[G]!=null&&(l[G].style.display=Y[G]);return l}_.fn.extend({show:function(){return ls(this,!0)},hide:function(){return ls(this)},toggle:function(l){return typeof l=="boolean"?l?this.show():this.hide():this.each(function(){rn(this)?_(this).show():_(this).hide()})}});var Zn=/^(?:checkbox|radio)$/i,rr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,vr=/^$|^module$|\/(?:java|ecma)script/i;(function(){var l=le.createDocumentFragment(),m=l.appendChild(le.createElement("div")),E=le.createElement("input");E.setAttribute("type","radio"),E.setAttribute("checked","checked"),E.setAttribute("name","t"),m.appendChild(E),J.checkClone=m.cloneNode(!0).cloneNode(!0).lastChild.checked,m.innerHTML="<textarea>x</textarea>",J.noCloneChecked=!!m.cloneNode(!0).lastChild.defaultValue,m.innerHTML="<option></option>",J.option=!!m.lastChild})();var Yn={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Yn.tbody=Yn.tfoot=Yn.colgroup=Yn.caption=Yn.thead,Yn.th=Yn.td,J.option||(Yn.optgroup=Yn.option=[1,"<select multiple='multiple'>","</select>"]);function br(l,m){var E;return typeof l.getElementsByTagName!="undefined"?E=l.getElementsByTagName(m||"*"):typeof l.querySelectorAll!="undefined"?E=l.querySelectorAll(m||"*"):E=[],m===void 0||m&&Se(l,m)?_.merge([l],E):E}function _n(l,m){for(var E=0,M=l.length;E<M;E++)nt.set(l[E],"globalEval",!m||nt.get(m[E],"globalEval"))}var ct=/<|&#?\w+;/;function Vt(l,m,E,M,Y){for(var G,ae,Me,Pe,tt,Ct,xt=m.createDocumentFragment(),ht=[],$t=0,sn=l.length;$t<sn;$t++)if(G=l[$t],G||G===0)if(ce(G)==="object")_.merge(ht,G.nodeType?[G]:G);else if(!ct.test(G))ht.push(m.createTextNode(G));else{for(ae=ae||xt.appendChild(m.createElement("div")),Me=(rr.exec(G)||["",""])[1].toLowerCase(),Pe=Yn[Me]||Yn._default,ae.innerHTML=Pe[1]+_.htmlPrefilter(G)+Pe[2],Ct=Pe[0];Ct--;)ae=ae.lastChild;_.merge(ht,ae.childNodes),ae=xt.firstChild,ae.textContent=""}for(xt.textContent="",$t=0;G=ht[$t++];){if(M&&_.inArray(G,M)>-1){Y&&Y.push(G);continue}if(tt=Ti(G),ae=br(xt.appendChild(G),"script"),tt&&_n(ae),E)for(Ct=0;G=ae[Ct++];)vr.test(G.type||"")&&E.push(G)}return xt}var Jt=/^([^.]*)(?:\.(.+)|)/;function vi(){return!0}function Gi(){return!1}function vn(l,m,E,M,Y,G){var ae,Me;if(typeof m=="object"){typeof E!="string"&&(M=M||E,E=void 0);for(Me in m)vn(l,Me,E,M,m[Me],G);return l}if(M==null&&Y==null?(Y=E,M=E=void 0):Y==null&&(typeof E=="string"?(Y=M,M=void 0):(Y=M,M=E,E=void 0)),Y===!1)Y=Gi;else if(!Y)return l;return G===1&&(ae=Y,Y=function(Pe){return _().off(Pe),ae.apply(this,arguments)},Y.guid=ae.guid||(ae.guid=_.guid++)),l.each(function(){_.event.add(this,m,Y,M,E)})}_.event={global:{},add:function(l,m,E,M,Y){var G,ae,Me,Pe,tt,Ct,xt,ht,$t,sn,Tn,un=nt.get(l);if(Ve(l))for(E.handler&&(G=E,E=G.handler,Y=G.selector),Y&&_.find.matchesSelector(Pn,Y),E.guid||(E.guid=_.guid++),(Pe=un.events)||(Pe=un.events=Object.create(null)),(ae=un.handle)||(ae=un.handle=function(or){return typeof _!="undefined"&&_.event.triggered!==or.type?_.event.dispatch.apply(l,arguments):void 0}),m=(m||"").match(zt)||[""],tt=m.length;tt--;)Me=Jt.exec(m[tt])||[],$t=Tn=Me[1],sn=(Me[2]||"").split(".").sort(),$t&&(xt=_.event.special[$t]||{},$t=(Y?xt.delegateType:xt.bindType)||$t,xt=_.event.special[$t]||{},Ct=_.extend({type:$t,origType:Tn,data:M,handler:E,guid:E.guid,selector:Y,needsContext:Y&&_.expr.match.needsContext.test(Y),namespace:sn.join(".")},G),(ht=Pe[$t])||(ht=Pe[$t]=[],ht.delegateCount=0,(!xt.setup||xt.setup.call(l,M,sn,ae)===!1)&&l.addEventListener&&l.addEventListener($t,ae)),xt.add&&(xt.add.call(l,Ct),Ct.handler.guid||(Ct.handler.guid=E.guid)),Y?ht.splice(ht.delegateCount++,0,Ct):ht.push(Ct),_.event.global[$t]=!0)},remove:function(l,m,E,M,Y){var G,ae,Me,Pe,tt,Ct,xt,ht,$t,sn,Tn,un=nt.hasData(l)&&nt.get(l);if(!(!un||!(Pe=un.events))){for(m=(m||"").match(zt)||[""],tt=m.length;tt--;){if(Me=Jt.exec(m[tt])||[],$t=Tn=Me[1],sn=(Me[2]||"").split(".").sort(),!$t){for($t in Pe)_.event.remove(l,$t+m[tt],E,M,!0);continue}for(xt=_.event.special[$t]||{},$t=(M?xt.delegateType:xt.bindType)||$t,ht=Pe[$t]||[],Me=Me[2]&&new RegExp("(^|\\.)"+sn.join("\\.(?:.*\\.|)")+"(\\.|$)"),ae=G=ht.length;G--;)Ct=ht[G],(Y||Tn===Ct.origType)&&(!E||E.guid===Ct.guid)&&(!Me||Me.test(Ct.namespace))&&(!M||M===Ct.selector||M==="**"&&Ct.selector)&&(ht.splice(G,1),Ct.selector&&ht.delegateCount--,xt.remove&&xt.remove.call(l,Ct));ae&&!ht.length&&((!xt.teardown||xt.teardown.call(l,sn,un.handle)===!1)&&_.removeEvent(l,$t,un.handle),delete Pe[$t])}_.isEmptyObject(Pe)&&nt.remove(l,"handle events")}},dispatch:function(l){var m,E,M,Y,G,ae,Me=new Array(arguments.length),Pe=_.event.fix(l),tt=(nt.get(this,"events")||Object.create(null))[Pe.type]||[],Ct=_.event.special[Pe.type]||{};for(Me[0]=Pe,m=1;m<arguments.length;m++)Me[m]=arguments[m];if(Pe.delegateTarget=this,!(Ct.preDispatch&&Ct.preDispatch.call(this,Pe)===!1)){for(ae=_.event.handlers.call(this,Pe,tt),m=0;(Y=ae[m++])&&!Pe.isPropagationStopped();)for(Pe.currentTarget=Y.elem,E=0;(G=Y.handlers[E++])&&!Pe.isImmediatePropagationStopped();)(!Pe.rnamespace||G.namespace===!1||Pe.rnamespace.test(G.namespace))&&(Pe.handleObj=G,Pe.data=G.data,M=((_.event.special[G.origType]||{}).handle||G.handler).apply(Y.elem,Me),M!==void 0&&(Pe.result=M)===!1&&(Pe.preventDefault(),Pe.stopPropagation()));return Ct.postDispatch&&Ct.postDispatch.call(this,Pe),Pe.result}},handlers:function(l,m){var E,M,Y,G,ae,Me=[],Pe=m.delegateCount,tt=l.target;if(Pe&&tt.nodeType&&!(l.type==="click"&&l.button>=1)){for(;tt!==this;tt=tt.parentNode||this)if(tt.nodeType===1&&!(l.type==="click"&&tt.disabled===!0)){for(G=[],ae={},E=0;E<Pe;E++)M=m[E],Y=M.selector+" ",ae[Y]===void 0&&(ae[Y]=M.needsContext?_(Y,this).index(tt)>-1:_.find(Y,this,null,[tt]).length),ae[Y]&&G.push(M);G.length&&Me.push({elem:tt,handlers:G})}}return tt=this,Pe<m.length&&Me.push({elem:tt,handlers:m.slice(Pe)}),Me},addProp:function(l,m){Object.defineProperty(_.Event.prototype,l,{enumerable:!0,configurable:!0,get:A(m)?function(){if(this.originalEvent)return m(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[l]},set:function(E){Object.defineProperty(this,l,{enumerable:!0,configurable:!0,writable:!0,value:E})}})},fix:function(l){return l[_.expando]?l:new _.Event(l)},special:{load:{noBubble:!0},click:{setup:function(l){var m=this||l;return Zn.test(m.type)&&m.click&&Se(m,"input")&&p(m,"click",!0),!1},trigger:function(l){var m=this||l;return Zn.test(m.type)&&m.click&&Se(m,"input")&&p(m,"click"),!0},_default:function(l){var m=l.target;return Zn.test(m.type)&&m.click&&Se(m,"input")&&nt.get(m,"click")||Se(m,"a")}},beforeunload:{postDispatch:function(l){l.result!==void 0&&l.originalEvent&&(l.originalEvent.returnValue=l.result)}}}};function p(l,m,E){if(!E){nt.get(l,m)===void 0&&_.event.add(l,m,vi);return}nt.set(l,m,!1),_.event.add(l,m,{namespace:!1,handler:function(M){var Y,G=nt.get(this,m);if(M.isTrigger&1&&this[m]){if(G)(_.event.special[m]||{}).delegateType&&M.stopPropagation();else if(G=se.call(arguments),nt.set(this,m,G),this[m](),Y=nt.get(this,m),nt.set(this,m,!1),G!==Y)return M.stopImmediatePropagation(),M.preventDefault(),Y}else G&&(nt.set(this,m,_.event.trigger(G[0],G.slice(1),this)),M.stopPropagation(),M.isImmediatePropagationStopped=vi)}})}_.removeEvent=function(l,m,E){l.removeEventListener&&l.removeEventListener(m,E)},_.Event=function(l,m){if(!(this instanceof _.Event))return new _.Event(l,m);l&&l.type?(this.originalEvent=l,this.type=l.type,this.isDefaultPrevented=l.defaultPrevented||l.defaultPrevented===void 0&&l.returnValue===!1?vi:Gi,this.target=l.target&&l.target.nodeType===3?l.target.parentNode:l.target,this.currentTarget=l.currentTarget,this.relatedTarget=l.relatedTarget):this.type=l,m&&_.extend(this,m),this.timeStamp=l&&l.timeStamp||Date.now(),this[_.expando]=!0},_.Event.prototype={constructor:_.Event,isDefaultPrevented:Gi,isPropagationStopped:Gi,isImmediatePropagationStopped:Gi,isSimulated:!1,preventDefault:function(){var l=this.originalEvent;this.isDefaultPrevented=vi,l&&!this.isSimulated&&l.preventDefault()},stopPropagation:function(){var l=this.originalEvent;this.isPropagationStopped=vi,l&&!this.isSimulated&&l.stopPropagation()},stopImmediatePropagation:function(){var l=this.originalEvent;this.isImmediatePropagationStopped=vi,l&&!this.isSimulated&&l.stopImmediatePropagation(),this.stopPropagation()}},_.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},_.event.addProp),_.each({focus:"focusin",blur:"focusout"},function(l,m){function E(M){if(le.documentMode){var Y=nt.get(this,"handle"),G=_.event.fix(M);G.type=M.type==="focusin"?"focus":"blur",G.isSimulated=!0,Y(M),G.target===G.currentTarget&&Y(G)}else _.event.simulate(m,M.target,_.event.fix(M))}_.event.special[l]={setup:function(){var M;if(p(this,l,!0),le.documentMode)M=nt.get(this,m),M||this.addEventListener(m,E),nt.set(this,m,(M||0)+1);else return!1},trigger:function(){return p(this,l),!0},teardown:function(){var M;if(le.documentMode)M=nt.get(this,m)-1,M?nt.set(this,m,M):(this.removeEventListener(m,E),nt.remove(this,m));else return!1},_default:function(M){return nt.get(M.target,l)},delegateType:m},_.event.special[m]={setup:function(){var M=this.ownerDocument||this.document||this,Y=le.documentMode?this:M,G=nt.get(Y,m);G||(le.documentMode?this.addEventListener(m,E):M.addEventListener(l,E,!0)),nt.set(Y,m,(G||0)+1)},teardown:function(){var M=this.ownerDocument||this.document||this,Y=le.documentMode?this:M,G=nt.get(Y,m)-1;G?nt.set(Y,m,G):(le.documentMode?this.removeEventListener(m,E):M.removeEventListener(l,E,!0),nt.remove(Y,m))}}}),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(l,m){_.event.special[l]={delegateType:m,bindType:m,handle:function(E){var M,Y=this,G=E.relatedTarget,ae=E.handleObj;return(!G||G!==Y&&!_.contains(Y,G))&&(E.type=ae.origType,M=ae.handler.apply(this,arguments),E.type=m),M}}}),_.fn.extend({on:function(l,m,E,M){return vn(this,l,m,E,M)},one:function(l,m,E,M){return vn(this,l,m,E,M,1)},off:function(l,m,E){var M,Y;if(l&&l.preventDefault&&l.handleObj)return M=l.handleObj,_(l.delegateTarget).off(M.namespace?M.origType+"."+M.namespace:M.origType,M.selector,M.handler),this;if(typeof l=="object"){for(Y in l)this.off(Y,m,l[Y]);return this}return(m===!1||typeof m=="function")&&(E=m,m=void 0),E===!1&&(E=Gi),this.each(function(){_.event.remove(this,l,E,m)})}});var Li=/<script|<style|<link/i,Cn=/checked\s*(?:[^=]|=\s*.checked.)/i,cn=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ir(l,m){return Se(l,"table")&&Se(m.nodeType!==11?m:m.firstChild,"tr")&&_(l).children("tbody")[0]||l}function Dn(l){return l.type=(l.getAttribute("type")!==null)+"/"+l.type,l}function Gn(l){return(l.type||"").slice(0,5)==="true/"?l.type=l.type.slice(5):l.removeAttribute("type"),l}function ts(l,m){var E,M,Y,G,ae,Me,Pe;if(m.nodeType===1){if(nt.hasData(l)&&(G=nt.get(l),Pe=G.events,Pe)){nt.remove(m,"handle events");for(Y in Pe)for(E=0,M=Pe[Y].length;E<M;E++)_.event.add(m,Y,Pe[Y][E])}Qt.hasData(l)&&(ae=Qt.access(l),Me=_.extend({},ae),Qt.set(m,Me))}}function is(l,m){var E=m.nodeName.toLowerCase();E==="input"&&Zn.test(l.type)?m.checked=l.checked:(E==="input"||E==="textarea")&&(m.defaultValue=l.defaultValue)}function Fn(l,m,E,M){m=y(m);var Y,G,ae,Me,Pe,tt,Ct=0,xt=l.length,ht=xt-1,$t=m[0],sn=A($t);if(sn||xt>1&&typeof $t=="string"&&!J.checkClone&&Cn.test($t))return l.each(function(Tn){var un=l.eq(Tn);sn&&(m[0]=$t.call(this,Tn,un.html())),Fn(un,m,E,M)});if(xt&&(Y=Vt(m,l[0].ownerDocument,!1,l,M),G=Y.firstChild,Y.childNodes.length===1&&(Y=G),G||M)){for(ae=_.map(br(Y,"script"),Dn),Me=ae.length;Ct<xt;Ct++)Pe=Y,Ct!==ht&&(Pe=_.clone(Pe,!0,!0),Me&&_.merge(ae,br(Pe,"script"))),E.call(l[Ct],Pe,Ct);if(Me)for(tt=ae[ae.length-1].ownerDocument,_.map(ae,Gn),Ct=0;Ct<Me;Ct++)Pe=ae[Ct],vr.test(Pe.type||"")&&!nt.access(Pe,"globalEval")&&_.contains(tt,Pe)&&(Pe.src&&(Pe.type||"").toLowerCase()!=="module"?_._evalUrl&&!Pe.noModule&&_._evalUrl(Pe.src,{nonce:Pe.nonce||Pe.getAttribute("nonce")},tt):xe(Pe.textContent.replace(cn,""),Pe,tt))}return l}function Fr(l,m,E){for(var M,Y=m?_.filter(m,l):l,G=0;(M=Y[G])!=null;G++)!E&&M.nodeType===1&&_.cleanData(br(M)),M.parentNode&&(E&&Ti(M)&&_n(br(M,"script")),M.parentNode.removeChild(M));return l}_.extend({htmlPrefilter:function(l){return l},clone:function(l,m,E){var M,Y,G,ae,Me=l.cloneNode(!0),Pe=Ti(l);if(!J.noCloneChecked&&(l.nodeType===1||l.nodeType===11)&&!_.isXMLDoc(l))for(ae=br(Me),G=br(l),M=0,Y=G.length;M<Y;M++)is(G[M],ae[M]);if(m)if(E)for(G=G||br(l),ae=ae||br(Me),M=0,Y=G.length;M<Y;M++)ts(G[M],ae[M]);else ts(l,Me);return ae=br(Me,"script"),ae.length>0&&_n(ae,!Pe&&br(l,"script")),Me},cleanData:function(l){for(var m,E,M,Y=_.event.special,G=0;(E=l[G])!==void 0;G++)if(Ve(E)){if(m=E[nt.expando]){if(m.events)for(M in m.events)Y[M]?_.event.remove(E,M):_.removeEvent(E,M,m.handle);E[nt.expando]=void 0}E[Qt.expando]&&(E[Qt.expando]=void 0)}}}),_.fn.extend({detach:function(l){return Fr(this,l,!0)},remove:function(l){return Fr(this,l)},text:function(l){return Wi(this,function(m){return m===void 0?_.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=m)})},null,l,arguments.length)},append:function(){return Fn(this,arguments,function(l){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=Ir(this,l);m.appendChild(l)}})},prepend:function(){return Fn(this,arguments,function(l){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=Ir(this,l);m.insertBefore(l,m.firstChild)}})},before:function(){return Fn(this,arguments,function(l){this.parentNode&&this.parentNode.insertBefore(l,this)})},after:function(){return Fn(this,arguments,function(l){this.parentNode&&this.parentNode.insertBefore(l,this.nextSibling)})},empty:function(){for(var l,m=0;(l=this[m])!=null;m++)l.nodeType===1&&(_.cleanData(br(l,!1)),l.textContent="");return this},clone:function(l,m){return l=l==null?!1:l,m=m==null?l:m,this.map(function(){return _.clone(this,l,m)})},html:function(l){return Wi(this,function(m){var E=this[0]||{},M=0,Y=this.length;if(m===void 0&&E.nodeType===1)return E.innerHTML;if(typeof m=="string"&&!Li.test(m)&&!Yn[(rr.exec(m)||["",""])[1].toLowerCase()]){m=_.htmlPrefilter(m);try{for(;M<Y;M++)E=this[M]||{},E.nodeType===1&&(_.cleanData(br(E,!1)),E.innerHTML=m);E=0}catch(G){}}E&&this.empty().append(m)},null,l,arguments.length)},replaceWith:function(){var l=[];return Fn(this,arguments,function(m){var E=this.parentNode;_.inArray(this,l)<0&&(_.cleanData(br(this)),E&&E.replaceChild(m,this))},l)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(l,m){_.fn[l]=function(E){for(var M,Y=[],G=_(E),ae=G.length-1,Me=0;Me<=ae;Me++)M=Me===ae?this:this.clone(!0),_(G[Me])[m](M),$.apply(Y,M.get());return this.pushStack(Y)}});var ns=new RegExp("^("+ji+")(?!px)[a-z%]+$","i"),cs=/^--/,Vs=function(l){var m=l.ownerDocument.defaultView;return(!m||!m.opener)&&(m=j),m.getComputedStyle(l)},ie=function(l,m,E){var M,Y,G={};for(Y in m)G[Y]=l.style[Y],l.style[Y]=m[Y];M=E.call(l);for(Y in m)l.style[Y]=G[Y];return M},me=new RegExp(Mi.join("|"),"i");(function(){function l(){if(tt){Pe.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",tt.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Pn.appendChild(Pe).appendChild(tt);var Ct=j.getComputedStyle(tt);E=Ct.top!=="1%",Me=m(Ct.marginLeft)===12,tt.style.right="60%",G=m(Ct.right)===36,M=m(Ct.width)===36,tt.style.position="absolute",Y=m(tt.offsetWidth/3)===12,Pn.removeChild(Pe),tt=null}}function m(Ct){return Math.round(parseFloat(Ct))}var E,M,Y,G,ae,Me,Pe=le.createElement("div"),tt=le.createElement("div");tt.style&&(tt.style.backgroundClip="content-box",tt.cloneNode(!0).style.backgroundClip="",J.clearCloneStyle=tt.style.backgroundClip==="content-box",_.extend(J,{boxSizingReliable:function(){return l(),M},pixelBoxStyles:function(){return l(),G},pixelPosition:function(){return l(),E},reliableMarginLeft:function(){return l(),Me},scrollboxSize:function(){return l(),Y},reliableTrDimensions:function(){var Ct,xt,ht,$t;return ae==null&&(Ct=le.createElement("table"),xt=le.createElement("tr"),ht=le.createElement("div"),Ct.style.cssText="position:absolute;left:-11111px;border-collapse:separate",xt.style.cssText="box-sizing:content-box;border:1px solid",xt.style.height="1px",ht.style.height="9px",ht.style.display="block",Pn.appendChild(Ct).appendChild(xt).appendChild(ht),$t=j.getComputedStyle(xt),ae=parseInt($t.height,10)+parseInt($t.borderTopWidth,10)+parseInt($t.borderBottomWidth,10)===xt.offsetHeight,Pn.removeChild(Ct)),ae}}))})();function Le(l,m,E){var M,Y,G,ae,Me=cs.test(m),Pe=l.style;return E=E||Vs(l),E&&(ae=E.getPropertyValue(m)||E[m],Me&&ae&&(ae=ae.replace(B,"$1")||void 0),ae===""&&!Ti(l)&&(ae=_.style(l,m)),!J.pixelBoxStyles()&&ns.test(ae)&&me.test(m)&&(M=Pe.width,Y=Pe.minWidth,G=Pe.maxWidth,Pe.minWidth=Pe.maxWidth=Pe.width=ae,ae=E.width,Pe.width=M,Pe.minWidth=Y,Pe.maxWidth=G)),ae!==void 0?ae+"":ae}function Ge(l,m){return{get:function(){if(l()){delete this.get;return}return(this.get=m).apply(this,arguments)}}}var Ot=["Webkit","Moz","ms"],Bt=le.createElement("div").style,ii={};function Ii(l){for(var m=l[0].toUpperCase()+l.slice(1),E=Ot.length;E--;)if(l=Ot[E]+m,l in Bt)return l}function Fi(l){var m=_.cssProps[l]||ii[l];return m||(l in Bt?l:ii[l]=Ii(l)||l)}var Hi=/^(none|table(?!-c[ea]).+)/,qi={position:"absolute",visibility:"hidden",display:"block"},xn={letterSpacing:"0",fontWeight:"400"};function gn(l,m,E){var M=Yi.exec(m);return M?Math.max(0,M[2]-(E||0))+(M[3]||"px"):m}function $n(l,m,E,M,Y,G){var ae=m==="width"?1:0,Me=0,Pe=0,tt=0;if(E===(M?"border":"content"))return 0;for(;ae<4;ae+=2)E==="margin"&&(tt+=_.css(l,E+Mi[ae],!0,Y)),M?(E==="content"&&(Pe-=_.css(l,"padding"+Mi[ae],!0,Y)),E!=="margin"&&(Pe-=_.css(l,"border"+Mi[ae]+"Width",!0,Y))):(Pe+=_.css(l,"padding"+Mi[ae],!0,Y),E!=="padding"?Pe+=_.css(l,"border"+Mi[ae]+"Width",!0,Y):Me+=_.css(l,"border"+Mi[ae]+"Width",!0,Y));return!M&&G>=0&&(Pe+=Math.max(0,Math.ceil(l["offset"+m[0].toUpperCase()+m.slice(1)]-G-Pe-Me-.5))||0),Pe+tt}function Dr(l,m,E){var M=Vs(l),Y=!J.boxSizingReliable()||E,G=Y&&_.css(l,"boxSizing",!1,M)==="border-box",ae=G,Me=Le(l,m,M),Pe="offset"+m[0].toUpperCase()+m.slice(1);if(ns.test(Me)){if(!E)return Me;Me="auto"}return(!J.boxSizingReliable()&&G||!J.reliableTrDimensions()&&Se(l,"tr")||Me==="auto"||!parseFloat(Me)&&_.css(l,"display",!1,M)==="inline")&&l.getClientRects().length&&(G=_.css(l,"boxSizing",!1,M)==="border-box",ae=Pe in l,ae&&(Me=l[Pe])),Me=parseFloat(Me)||0,Me+$n(l,m,E||(G?"border":"content"),ae,M,Me)+"px"}_.extend({cssHooks:{opacity:{get:function(l,m){if(m){var E=Le(l,"opacity");return E===""?"1":E}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(l,m,E,M){if(!(!l||l.nodeType===3||l.nodeType===8||!l.style)){var Y,G,ae,Me=Ie(m),Pe=cs.test(m),tt=l.style;if(Pe||(m=Fi(Me)),ae=_.cssHooks[m]||_.cssHooks[Me],E!==void 0){if(G=typeof E,G==="string"&&(Y=Yi.exec(E))&&Y[1]&&(E=Ai(l,m,Y),G="number"),E==null||E!==E)return;G==="number"&&!Pe&&(E+=Y&&Y[3]||(_.cssNumber[Me]?"":"px")),!J.clearCloneStyle&&E===""&&m.indexOf("background")===0&&(tt[m]="inherit"),(!ae||!("set"in ae)||(E=ae.set(l,E,M))!==void 0)&&(Pe?tt.setProperty(m,E):tt[m]=E)}else return ae&&"get"in ae&&(Y=ae.get(l,!1,M))!==void 0?Y:tt[m]}},css:function(l,m,E,M){var Y,G,ae,Me=Ie(m),Pe=cs.test(m);return Pe||(m=Fi(Me)),ae=_.cssHooks[m]||_.cssHooks[Me],ae&&"get"in ae&&(Y=ae.get(l,!0,E)),Y===void 0&&(Y=Le(l,m,M)),Y==="normal"&&m in xn&&(Y=xn[m]),E===""||E?(G=parseFloat(Y),E===!0||isFinite(G)?G||0:Y):Y}}),_.each(["height","width"],function(l,m){_.cssHooks[m]={get:function(E,M,Y){if(M)return Hi.test(_.css(E,"display"))&&(!E.getClientRects().length||!E.getBoundingClientRect().width)?ie(E,qi,function(){return Dr(E,m,Y)}):Dr(E,m,Y)},set:function(E,M,Y){var G,ae=Vs(E),Me=!J.scrollboxSize()&&ae.position==="absolute",Pe=Me||Y,tt=Pe&&_.css(E,"boxSizing",!1,ae)==="border-box",Ct=Y?$n(E,m,Y,tt,ae):0;return tt&&Me&&(Ct-=Math.ceil(E["offset"+m[0].toUpperCase()+m.slice(1)]-parseFloat(ae[m])-$n(E,m,"border",!1,ae)-.5)),Ct&&(G=Yi.exec(M))&&(G[3]||"px")!=="px"&&(E.style[m]=M,M=_.css(E,m)),gn(E,M,Ct)}}}),_.cssHooks.marginLeft=Ge(J.reliableMarginLeft,function(l,m){if(m)return(parseFloat(Le(l,"marginLeft"))||l.getBoundingClientRect().left-ie(l,{marginLeft:0},function(){return l.getBoundingClientRect().left}))+"px"}),_.each({margin:"",padding:"",border:"Width"},function(l,m){_.cssHooks[l+m]={expand:function(E){for(var M=0,Y={},G=typeof E=="string"?E.split(" "):[E];M<4;M++)Y[l+Mi[M]+m]=G[M]||G[M-2]||G[0];return Y}},l!=="margin"&&(_.cssHooks[l+m].set=gn)}),_.fn.extend({css:function(l,m){return Wi(this,function(E,M,Y){var G,ae,Me={},Pe=0;if(Array.isArray(M)){for(G=Vs(E),ae=M.length;Pe<ae;Pe++)Me[M[Pe]]=_.css(E,M[Pe],!1,G);return Me}return Y!==void 0?_.style(E,M,Y):_.css(E,M)},l,m,arguments.length>1)}});function sr(l,m,E,M,Y){return new sr.prototype.init(l,m,E,M,Y)}_.Tween=sr,sr.prototype={constructor:sr,init:function(l,m,E,M,Y,G){this.elem=l,this.prop=E,this.easing=Y||_.easing._default,this.options=m,this.start=this.now=this.cur(),this.end=M,this.unit=G||(_.cssNumber[E]?"":"px")},cur:function(){var l=sr.propHooks[this.prop];return l&&l.get?l.get(this):sr.propHooks._default.get(this)},run:function(l){var m,E=sr.propHooks[this.prop];return this.options.duration?this.pos=m=_.easing[this.easing](l,this.options.duration*l,0,1,this.options.duration):this.pos=m=l,this.now=(this.end-this.start)*m+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),E&&E.set?E.set(this):sr.propHooks._default.set(this),this}},sr.prototype.init.prototype=sr.prototype,sr.propHooks={_default:{get:function(l){var m;return l.elem.nodeType!==1||l.elem[l.prop]!=null&&l.elem.style[l.prop]==null?l.elem[l.prop]:(m=_.css(l.elem,l.prop,""),!m||m==="auto"?0:m)},set:function(l){_.fx.step[l.prop]?_.fx.step[l.prop](l):l.elem.nodeType===1&&(_.cssHooks[l.prop]||l.elem.style[Fi(l.prop)]!=null)?_.style(l.elem,l.prop,l.now+l.unit):l.elem[l.prop]=l.now}}},sr.propHooks.scrollTop=sr.propHooks.scrollLeft={set:function(l){l.elem.nodeType&&l.elem.parentNode&&(l.elem[l.prop]=l.now)}},_.easing={linear:function(l){return l},swing:function(l){return .5-Math.cos(l*Math.PI)/2},_default:"swing"},_.fx=sr.prototype.init,_.fx.step={};var Nr,js,Ss=/^(?:toggle|show|hide)$/,Xr=/queueHooks$/;function Mn(){js&&(le.hidden===!1&&j.requestAnimationFrame?j.requestAnimationFrame(Mn):j.setTimeout(Mn,_.fx.interval),_.fx.tick())}function ge(){return j.setTimeout(function(){Nr=void 0}),Nr=Date.now()}function Ke(l,m){var E,M=0,Y={height:l};for(m=m?1:0;M<4;M+=2-m)E=Mi[M],Y["margin"+E]=Y["padding"+E]=l;return m&&(Y.opacity=Y.width=l),Y}function ut(l,m,E){for(var M,Y=(li.tweeners[m]||[]).concat(li.tweeners["*"]),G=0,ae=Y.length;G<ae;G++)if(M=Y[G].call(E,m,l))return M}function Pt(l,m,E){var M,Y,G,ae,Me,Pe,tt,Ct,xt="width"in m||"height"in m,ht=this,$t={},sn=l.style,Tn=l.nodeType&&rn(l),un=nt.get(l,"fxshow");E.queue||(ae=_._queueHooks(l,"fx"),ae.unqueued==null&&(ae.unqueued=0,Me=ae.empty.fire,ae.empty.fire=function(){ae.unqueued||Me()}),ae.unqueued++,ht.always(function(){ht.always(function(){ae.unqueued--,_.queue(l,"fx").length||ae.empty.fire()})}));for(M in m)if(Y=m[M],Ss.test(Y)){if(delete m[M],G=G||Y==="toggle",Y===(Tn?"hide":"show"))if(Y==="show"&&un&&un[M]!==void 0)Tn=!0;else continue;$t[M]=un&&un[M]||_.style(l,M)}if(Pe=!_.isEmptyObject(m),!(!Pe&&_.isEmptyObject($t))){xt&&l.nodeType===1&&(E.overflow=[sn.overflow,sn.overflowX,sn.overflowY],tt=un&&un.display,tt==null&&(tt=nt.get(l,"display")),Ct=_.css(l,"display"),Ct==="none"&&(tt?Ct=tt:(ls([l],!0),tt=l.style.display||tt,Ct=_.css(l,"display"),ls([l]))),(Ct==="inline"||Ct==="inline-block"&&tt!=null)&&_.css(l,"float")==="none"&&(Pe||(ht.done(function(){sn.display=tt}),tt==null&&(Ct=sn.display,tt=Ct==="none"?"":Ct)),sn.display="inline-block")),E.overflow&&(sn.overflow="hidden",ht.always(function(){sn.overflow=E.overflow[0],sn.overflowX=E.overflow[1],sn.overflowY=E.overflow[2]})),Pe=!1;for(M in $t)Pe||(un?"hidden"in un&&(Tn=un.hidden):un=nt.access(l,"fxshow",{display:tt}),G&&(un.hidden=!Tn),Tn&&ls([l],!0),ht.done(function(){Tn||ls([l]),nt.remove(l,"fxshow");for(M in $t)_.style(l,M,$t[M])})),Pe=ut(Tn?un[M]:0,M,ht),M in un||(un[M]=Pe.start,Tn&&(Pe.end=Pe.start,Pe.start=0))}}function It(l,m){var E,M,Y,G,ae;for(E in l)if(M=Ie(E),Y=m[M],G=l[E],Array.isArray(G)&&(Y=G[1],G=l[E]=G[0]),E!==M&&(l[M]=G,delete l[E]),ae=_.cssHooks[M],ae&&"expand"in ae){G=ae.expand(G),delete l[M];for(E in G)E in l||(l[E]=G[E],m[E]=Y)}else m[M]=Y}function li(l,m,E){var M,Y,G=0,ae=li.prefilters.length,Me=_.Deferred().always(function(){delete Pe.elem}),Pe=function(){if(Y)return!1;for(var xt=Nr||ge(),ht=Math.max(0,tt.startTime+tt.duration-xt),$t=ht/tt.duration||0,sn=1-$t,Tn=0,un=tt.tweens.length;Tn<un;Tn++)tt.tweens[Tn].run(sn);return Me.notifyWith(l,[tt,sn,ht]),sn<1&&un?ht:(un||Me.notifyWith(l,[tt,1,0]),Me.resolveWith(l,[tt]),!1)},tt=Me.promise({elem:l,props:_.extend({},m),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},E),originalProperties:m,originalOptions:E,startTime:Nr||ge(),duration:E.duration,tweens:[],createTween:function(xt,ht){var $t=_.Tween(l,tt.opts,xt,ht,tt.opts.specialEasing[xt]||tt.opts.easing);return tt.tweens.push($t),$t},stop:function(xt){var ht=0,$t=xt?tt.tweens.length:0;if(Y)return this;for(Y=!0;ht<$t;ht++)tt.tweens[ht].run(1);return xt?(Me.notifyWith(l,[tt,1,0]),Me.resolveWith(l,[tt,xt])):Me.rejectWith(l,[tt,xt]),this}}),Ct=tt.props;for(It(Ct,tt.opts.specialEasing);G<ae;G++)if(M=li.prefilters[G].call(tt,l,Ct,tt.opts),M)return A(M.stop)&&(_._queueHooks(tt.elem,tt.opts.queue).stop=M.stop.bind(M)),M;return _.map(Ct,ut,tt),A(tt.opts.start)&&tt.opts.start.call(l,tt),tt.progress(tt.opts.progress).done(tt.opts.done,tt.opts.complete).fail(tt.opts.fail).always(tt.opts.always),_.fx.timer(_.extend(Pe,{elem:l,anim:tt,queue:tt.opts.queue})),tt}_.Animation=_.extend(li,{tweeners:{"*":[function(l,m){var E=this.createTween(l,m);return Ai(E.elem,l,Yi.exec(m),E),E}]},tweener:function(l,m){A(l)?(m=l,l=["*"]):l=l.match(zt);for(var E,M=0,Y=l.length;M<Y;M++)E=l[M],li.tweeners[E]=li.tweeners[E]||[],li.tweeners[E].unshift(m)},prefilters:[Pt],prefilter:function(l,m){m?li.prefilters.unshift(l):li.prefilters.push(l)}}),_.speed=function(l,m,E){var M=l&&typeof l=="object"?_.extend({},l):{complete:E||!E&&m||A(l)&&l,duration:l,easing:E&&m||m&&!A(m)&&m};return _.fx.off?M.duration=0:typeof M.duration!="number"&&(M.duration in _.fx.speeds?M.duration=_.fx.speeds[M.duration]:M.duration=_.fx.speeds._default),(M.queue==null||M.queue===!0)&&(M.queue="fx"),M.old=M.complete,M.complete=function(){A(M.old)&&M.old.call(this),M.queue&&_.dequeue(this,M.queue)},M},_.fn.extend({fadeTo:function(l,m,E,M){return this.filter(rn).css("opacity",0).show().end().animate({opacity:m},l,E,M)},animate:function(l,m,E,M){var Y=_.isEmptyObject(l),G=_.speed(m,E,M),ae=function(){var Me=li(this,_.extend({},l),G);(Y||nt.get(this,"finish"))&&Me.stop(!0)};return ae.finish=ae,Y||G.queue===!1?this.each(ae):this.queue(G.queue,ae)},stop:function(l,m,E){var M=function(Y){var G=Y.stop;delete Y.stop,G(E)};return typeof l!="string"&&(E=m,m=l,l=void 0),m&&this.queue(l||"fx",[]),this.each(function(){var Y=!0,G=l!=null&&l+"queueHooks",ae=_.timers,Me=nt.get(this);if(G)Me[G]&&Me[G].stop&&M(Me[G]);else for(G in Me)Me[G]&&Me[G].stop&&Xr.test(G)&&M(Me[G]);for(G=ae.length;G--;)ae[G].elem===this&&(l==null||ae[G].queue===l)&&(ae[G].anim.stop(E),Y=!1,ae.splice(G,1));(Y||!E)&&_.dequeue(this,l)})},finish:function(l){return l!==!1&&(l=l||"fx"),this.each(function(){var m,E=nt.get(this),M=E[l+"queue"],Y=E[l+"queueHooks"],G=_.timers,ae=M?M.length:0;for(E.finish=!0,_.queue(this,l,[]),Y&&Y.stop&&Y.stop.call(this,!0),m=G.length;m--;)G[m].elem===this&&G[m].queue===l&&(G[m].anim.stop(!0),G.splice(m,1));for(m=0;m<ae;m++)M[m]&&M[m].finish&&M[m].finish.call(this);delete E.finish})}}),_.each(["toggle","show","hide"],function(l,m){var E=_.fn[m];_.fn[m]=function(M,Y,G){return M==null||typeof M=="boolean"?E.apply(this,arguments):this.animate(Ke(m,!0),M,Y,G)}}),_.each({slideDown:Ke("show"),slideUp:Ke("hide"),slideToggle:Ke("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(l,m){_.fn[l]=function(E,M,Y){return this.animate(m,E,M,Y)}}),_.timers=[],_.fx.tick=function(){var l,m=0,E=_.timers;for(Nr=Date.now();m<E.length;m++)l=E[m],!l()&&E[m]===l&&E.splice(m--,1);E.length||_.fx.stop(),Nr=void 0},_.fx.timer=function(l){_.timers.push(l),_.fx.start()},_.fx.interval=13,_.fx.start=function(){js||(js=!0,Mn())},_.fx.stop=function(){js=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(l,m){return l=_.fx&&_.fx.speeds[l]||l,m=m||"fx",this.queue(m,function(E,M){var Y=j.setTimeout(E,l);M.stop=function(){j.clearTimeout(Y)}})},function(){var l=le.createElement("input"),m=le.createElement("select"),E=m.appendChild(le.createElement("option"));l.type="checkbox",J.checkOn=l.value!=="",J.optSelected=E.selected,l=le.createElement("input"),l.value="t",l.type="radio",J.radioValue=l.value==="t"}();var ei,Yt=_.expr.attrHandle;_.fn.extend({attr:function(l,m){return Wi(this,_.attr,l,m,arguments.length>1)},removeAttr:function(l){return this.each(function(){_.removeAttr(this,l)})}}),_.extend({attr:function(l,m,E){var M,Y,G=l.nodeType;if(!(G===3||G===8||G===2)){if(typeof l.getAttribute=="undefined")return _.prop(l,m,E);if((G!==1||!_.isXMLDoc(l))&&(Y=_.attrHooks[m.toLowerCase()]||(_.expr.match.bool.test(m)?ei:void 0)),E!==void 0){if(E===null){_.removeAttr(l,m);return}return Y&&"set"in Y&&(M=Y.set(l,E,m))!==void 0?M:(l.setAttribute(m,E+""),E)}return Y&&"get"in Y&&(M=Y.get(l,m))!==null?M:(M=_.find.attr(l,m),M==null?void 0:M)}},attrHooks:{type:{set:function(l,m){if(!J.radioValue&&m==="radio"&&Se(l,"input")){var E=l.value;return l.setAttribute("type",m),E&&(l.value=E),m}}}},removeAttr:function(l,m){var E,M=0,Y=m&&m.match(zt);if(Y&&l.nodeType===1)for(;E=Y[M++];)l.removeAttribute(E)}}),ei={set:function(l,m,E){return m===!1?_.removeAttr(l,E):l.setAttribute(E,E),E}},_.each(_.expr.match.bool.source.match(/\w+/g),function(l,m){var E=Yt[m]||_.find.attr;Yt[m]=function(M,Y,G){var ae,Me,Pe=Y.toLowerCase();return G||(Me=Yt[Pe],Yt[Pe]=ae,ae=E(M,Y,G)!=null?Pe:null,Yt[Pe]=Me),ae}});var En=/^(?:input|select|textarea|button)$/i,Qn=/^(?:a|area)$/i;_.fn.extend({prop:function(l,m){return Wi(this,_.prop,l,m,arguments.length>1)},removeProp:function(l){return this.each(function(){delete this[_.propFix[l]||l]})}}),_.extend({prop:function(l,m,E){var M,Y,G=l.nodeType;if(!(G===3||G===8||G===2))return(G!==1||!_.isXMLDoc(l))&&(m=_.propFix[m]||m,Y=_.propHooks[m]),E!==void 0?Y&&"set"in Y&&(M=Y.set(l,E,m))!==void 0?M:l[m]=E:Y&&"get"in Y&&(M=Y.get(l,m))!==null?M:l[m]},propHooks:{tabIndex:{get:function(l){var m=_.find.attr(l,"tabindex");return m?parseInt(m,10):En.test(l.nodeName)||Qn.test(l.nodeName)&&l.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),J.optSelected||(_.propHooks.selected={get:function(l){var m=l.parentNode;return m&&m.parentNode&&m.parentNode.selectedIndex,null},set:function(l){var m=l.parentNode;m&&(m.selectedIndex,m.parentNode&&m.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this});function dr(l){var m=l.match(zt)||[];return m.join(" ")}function lr(l){return l.getAttribute&&l.getAttribute("class")||""}function hr(l){return Array.isArray(l)?l:typeof l=="string"?l.match(zt)||[]:[]}_.fn.extend({addClass:function(l){var m,E,M,Y,G,ae;return A(l)?this.each(function(Me){_(this).addClass(l.call(this,Me,lr(this)))}):(m=hr(l),m.length?this.each(function(){if(M=lr(this),E=this.nodeType===1&&" "+dr(M)+" ",E){for(G=0;G<m.length;G++)Y=m[G],E.indexOf(" "+Y+" ")<0&&(E+=Y+" ");ae=dr(E),M!==ae&&this.setAttribute("class",ae)}}):this)},removeClass:function(l){var m,E,M,Y,G,ae;return A(l)?this.each(function(Me){_(this).removeClass(l.call(this,Me,lr(this)))}):arguments.length?(m=hr(l),m.length?this.each(function(){if(M=lr(this),E=this.nodeType===1&&" "+dr(M)+" ",E){for(G=0;G<m.length;G++)for(Y=m[G];E.indexOf(" "+Y+" ")>-1;)E=E.replace(" "+Y+" "," ");ae=dr(E),M!==ae&&this.setAttribute("class",ae)}}):this):this.attr("class","")},toggleClass:function(l,m){var E,M,Y,G,ae=typeof l,Me=ae==="string"||Array.isArray(l);return A(l)?this.each(function(Pe){_(this).toggleClass(l.call(this,Pe,lr(this),m),m)}):typeof m=="boolean"&&Me?m?this.addClass(l):this.removeClass(l):(E=hr(l),this.each(function(){if(Me)for(G=_(this),Y=0;Y<E.length;Y++)M=E[Y],G.hasClass(M)?G.removeClass(M):G.addClass(M);else(l===void 0||ae==="boolean")&&(M=lr(this),M&&nt.set(this,"__className__",M),this.setAttribute&&this.setAttribute("class",M||l===!1?"":nt.get(this,"__className__")||""))}))},hasClass:function(l){var m,E,M=0;for(m=" "+l+" ";E=this[M++];)if(E.nodeType===1&&(" "+dr(lr(E))+" ").indexOf(m)>-1)return!0;return!1}});var Us=/\r/g;_.fn.extend({val:function(l){var m,E,M,Y=this[0];return arguments.length?(M=A(l),this.each(function(G){var ae;this.nodeType===1&&(M?ae=l.call(this,G,_(this).val()):ae=l,ae==null?ae="":typeof ae=="number"?ae+="":Array.isArray(ae)&&(ae=_.map(ae,function(Me){return Me==null?"":Me+""})),m=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()],(!m||!("set"in m)||m.set(this,ae,"value")===void 0)&&(this.value=ae))})):Y?(m=_.valHooks[Y.type]||_.valHooks[Y.nodeName.toLowerCase()],m&&"get"in m&&(E=m.get(Y,"value"))!==void 0?E:(E=Y.value,typeof E=="string"?E.replace(Us,""):E==null?"":E)):void 0}}),_.extend({valHooks:{option:{get:function(l){var m=_.find.attr(l,"value");return m!=null?m:dr(_.text(l))}},select:{get:function(l){var m,E,M,Y=l.options,G=l.selectedIndex,ae=l.type==="select-one",Me=ae?null:[],Pe=ae?G+1:Y.length;for(G<0?M=Pe:M=ae?G:0;M<Pe;M++)if(E=Y[M],(E.selected||M===G)&&!E.disabled&&(!E.parentNode.disabled||!Se(E.parentNode,"optgroup"))){if(m=_(E).val(),ae)return m;Me.push(m)}return Me},set:function(l,m){for(var E,M,Y=l.options,G=_.makeArray(m),ae=Y.length;ae--;)M=Y[ae],(M.selected=_.inArray(_.valHooks.option.get(M),G)>-1)&&(E=!0);return E||(l.selectedIndex=-1),G}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(l,m){if(Array.isArray(m))return l.checked=_.inArray(_(l).val(),m)>-1}},J.checkOn||(_.valHooks[this].get=function(l){return l.getAttribute("value")===null?"on":l.value})});var Br=j.location,lo={guid:Date.now()},$s=/\?/;_.parseXML=function(l){var m,E;if(!l||typeof l!="string")return null;try{m=new j.DOMParser().parseFromString(l,"text/xml")}catch(M){}return E=m&&m.getElementsByTagName("parsererror")[0],(!m||E)&&_.error("Invalid XML: "+(E?_.map(E.childNodes,function(M){return M.textContent}).join(`
`):l)),m};var Ao=/^(?:focusinfocus|focusoutblur)$/,rs=function(l){l.stopPropagation()};_.extend(_.event,{trigger:function(l,m,E,M){var Y,G,ae,Me,Pe,tt,Ct,xt,ht=[E||le],$t=Z.call(l,"type")?l.type:l,sn=Z.call(l,"namespace")?l.namespace.split("."):[];if(G=xt=ae=E=E||le,!(E.nodeType===3||E.nodeType===8)&&!Ao.test($t+_.event.triggered)&&($t.indexOf(".")>-1&&(sn=$t.split("."),$t=sn.shift(),sn.sort()),Pe=$t.indexOf(":")<0&&"on"+$t,l=l[_.expando]?l:new _.Event($t,typeof l=="object"&&l),l.isTrigger=M?2:3,l.namespace=sn.join("."),l.rnamespace=l.namespace?new RegExp("(^|\\.)"+sn.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,l.result=void 0,l.target||(l.target=E),m=m==null?[l]:_.makeArray(m,[l]),Ct=_.event.special[$t]||{},!(!M&&Ct.trigger&&Ct.trigger.apply(E,m)===!1))){if(!M&&!Ct.noBubble&&!z(E)){for(Me=Ct.delegateType||$t,Ao.test(Me+$t)||(G=G.parentNode);G;G=G.parentNode)ht.push(G),ae=G;ae===(E.ownerDocument||le)&&ht.push(ae.defaultView||ae.parentWindow||j)}for(Y=0;(G=ht[Y++])&&!l.isPropagationStopped();)xt=G,l.type=Y>1?Me:Ct.bindType||$t,tt=(nt.get(G,"events")||Object.create(null))[l.type]&&nt.get(G,"handle"),tt&&tt.apply(G,m),tt=Pe&&G[Pe],tt&&tt.apply&&Ve(G)&&(l.result=tt.apply(G,m),l.result===!1&&l.preventDefault());return l.type=$t,!M&&!l.isDefaultPrevented()&&(!Ct._default||Ct._default.apply(ht.pop(),m)===!1)&&Ve(E)&&Pe&&A(E[$t])&&!z(E)&&(ae=E[Pe],ae&&(E[Pe]=null),_.event.triggered=$t,l.isPropagationStopped()&&xt.addEventListener($t,rs),E[$t](),l.isPropagationStopped()&&xt.removeEventListener($t,rs),_.event.triggered=void 0,ae&&(E[Pe]=ae)),l.result}},simulate:function(l,m,E){var M=_.extend(new _.Event,E,{type:l,isSimulated:!0});_.event.trigger(M,null,m)}}),_.fn.extend({trigger:function(l,m){return this.each(function(){_.event.trigger(l,m,this)})},triggerHandler:function(l,m){var E=this[0];if(E)return _.event.trigger(l,m,E,!0)}});var wo=/\[\]$/,Oo=/\r?\n/g,ba=/^(?:submit|button|image|reset|file)$/i,Gs=/^(?:input|select|textarea|keygen)/i;function xo(l,m,E,M){var Y;if(Array.isArray(m))_.each(m,function(G,ae){E||wo.test(l)?M(l,ae):xo(l+"["+(typeof ae=="object"&&ae!=null?G:"")+"]",ae,E,M)});else if(!E&&ce(m)==="object")for(Y in m)xo(l+"["+Y+"]",m[Y],E,M);else M(l,m)}_.param=function(l,m){var E,M=[],Y=function(G,ae){var Me=A(ae)?ae():ae;M[M.length]=encodeURIComponent(G)+"="+encodeURIComponent(Me==null?"":Me)};if(l==null)return"";if(Array.isArray(l)||l.jquery&&!_.isPlainObject(l))_.each(l,function(){Y(this.name,this.value)});else for(E in l)xo(E,l[E],m,Y);return M.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var l=_.prop(this,"elements");return l?_.makeArray(l):this}).filter(function(){var l=this.type;return this.name&&!_(this).is(":disabled")&&Gs.test(this.nodeName)&&!ba.test(l)&&(this.checked||!Zn.test(l))}).map(function(l,m){var E=_(this).val();return E==null?null:Array.isArray(E)?_.map(E,function(M){return{name:m.name,value:M.replace(Oo,`\r
`)}}):{name:m.name,value:E.replace(Oo,`\r
`)}}).get()}});var Ro=/%20/g,Ws=/#.*$/,ca=/([?&])_=[^&]*/,ya=/^(.*?):[ \t]*([^\r\n]*)$/mg,us=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,co=/^(?:GET|HEAD)$/,Xs=/^\/\//,uo={},yr={},jo="*/".concat("*"),Tr=le.createElement("a");Tr.href=Br.href;function ua(l){return function(m,E){typeof m!="string"&&(E=m,m="*");var M,Y=0,G=m.toLowerCase().match(zt)||[];if(A(E))for(;M=G[Y++];)M[0]==="+"?(M=M.slice(1)||"*",(l[M]=l[M]||[]).unshift(E)):(l[M]=l[M]||[]).push(E)}}function Zo(l,m,E,M){var Y={},G=l===yr;function ae(Me){var Pe;return Y[Me]=!0,_.each(l[Me]||[],function(tt,Ct){var xt=Ct(m,E,M);if(typeof xt=="string"&&!G&&!Y[xt])return m.dataTypes.unshift(xt),ae(xt),!1;if(G)return!(Pe=xt)}),Pe}return ae(m.dataTypes[0])||!Y["*"]&&ae("*")}function ss(l,m){var E,M,Y=_.ajaxSettings.flatOptions||{};for(E in m)m[E]!==void 0&&((Y[E]?l:M||(M={}))[E]=m[E]);return M&&_.extend(!0,l,M),l}function Yo(l,m,E){for(var M,Y,G,ae,Me=l.contents,Pe=l.dataTypes;Pe[0]==="*";)Pe.shift(),M===void 0&&(M=l.mimeType||m.getResponseHeader("Content-Type"));if(M){for(Y in Me)if(Me[Y]&&Me[Y].test(M)){Pe.unshift(Y);break}}if(Pe[0]in E)G=Pe[0];else{for(Y in E){if(!Pe[0]||l.converters[Y+" "+Pe[0]]){G=Y;break}ae||(ae=Y)}G=G||ae}if(G)return G!==Pe[0]&&Pe.unshift(G),E[G]}function Js(l,m,E,M){var Y,G,ae,Me,Pe,tt={},Ct=l.dataTypes.slice();if(Ct[1])for(ae in l.converters)tt[ae.toLowerCase()]=l.converters[ae];for(G=Ct.shift();G;)if(l.responseFields[G]&&(E[l.responseFields[G]]=m),!Pe&&M&&l.dataFilter&&(m=l.dataFilter(m,l.dataType)),Pe=G,G=Ct.shift(),G){if(G==="*")G=Pe;else if(Pe!=="*"&&Pe!==G){if(ae=tt[Pe+" "+G]||tt["* "+G],!ae){for(Y in tt)if(Me=Y.split(" "),Me[1]===G&&(ae=tt[Pe+" "+Me[0]]||tt["* "+Me[0]],ae)){ae===!0?ae=tt[Y]:tt[Y]!==!0&&(G=Me[0],Ct.unshift(Me[1]));break}}if(ae!==!0)if(ae&&l.throws)m=ae(m);else try{m=ae(m)}catch(xt){return{state:"parsererror",error:ae?xt:"No conversion from "+Pe+" to "+G}}}}return{state:"success",data:m}}_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Br.href,type:"GET",isLocal:us.test(Br.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":jo,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(l,m){return m?ss(ss(l,_.ajaxSettings),m):ss(_.ajaxSettings,l)},ajaxPrefilter:ua(uo),ajaxTransport:ua(yr),ajax:function(l,m){typeof l=="object"&&(m=l,l=void 0),m=m||{};var E,M,Y,G,ae,Me,Pe,tt,Ct,xt,ht=_.ajaxSetup({},m),$t=ht.context||ht,sn=ht.context&&($t.nodeType||$t.jquery)?_($t):_.event,Tn=_.Deferred(),un=_.Callbacks("once memory"),or=ht.statusCode||{},_r={},fs={},Jr="canceled",Ki={readyState:0,getResponseHeader:function(Ht){var er;if(Pe){if(!G)for(G={};er=ya.exec(Y);)G[er[1].toLowerCase()+" "]=(G[er[1].toLowerCase()+" "]||[]).concat(er[2]);er=G[Ht.toLowerCase()+" "]}return er==null?null:er.join(", ")},getAllResponseHeaders:function(){return Pe?Y:null},setRequestHeader:function(Ht,er){return Pe==null&&(Ht=fs[Ht.toLowerCase()]=fs[Ht.toLowerCase()]||Ht,_r[Ht]=er),this},overrideMimeType:function(Ht){return Pe==null&&(ht.mimeType=Ht),this},statusCode:function(Ht){var er;if(Ht)if(Pe)Ki.always(Ht[Ki.status]);else for(er in Ht)or[er]=[or[er],Ht[er]];return this},abort:function(Ht){var er=Ht||Jr;return E&&E.abort(er),Hr(0,er),this}};if(Tn.promise(Ki),ht.url=((l||ht.url||Br.href)+"").replace(Xs,Br.protocol+"//"),ht.type=m.method||m.type||ht.method||ht.type,ht.dataTypes=(ht.dataType||"*").toLowerCase().match(zt)||[""],ht.crossDomain==null){Me=le.createElement("a");try{Me.href=ht.url,Me.href=Me.href,ht.crossDomain=Tr.protocol+"//"+Tr.host!=Me.protocol+"//"+Me.host}catch(Ht){ht.crossDomain=!0}}if(ht.data&&ht.processData&&typeof ht.data!="string"&&(ht.data=_.param(ht.data,ht.traditional)),Zo(uo,ht,m,Ki),Pe)return Ki;tt=_.event&&ht.global,tt&&_.active++===0&&_.event.trigger("ajaxStart"),ht.type=ht.type.toUpperCase(),ht.hasContent=!co.test(ht.type),M=ht.url.replace(Ws,""),ht.hasContent?ht.data&&ht.processData&&(ht.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(ht.data=ht.data.replace(Ro,"+")):(xt=ht.url.slice(M.length),ht.data&&(ht.processData||typeof ht.data=="string")&&(M+=($s.test(M)?"&":"?")+ht.data,delete ht.data),ht.cache===!1&&(M=M.replace(ca,"$1"),xt=($s.test(M)?"&":"?")+"_="+lo.guid+++xt),ht.url=M+xt),ht.ifModified&&(_.lastModified[M]&&Ki.setRequestHeader("If-Modified-Since",_.lastModified[M]),_.etag[M]&&Ki.setRequestHeader("If-None-Match",_.etag[M])),(ht.data&&ht.hasContent&&ht.contentType!==!1||m.contentType)&&Ki.setRequestHeader("Content-Type",ht.contentType),Ki.setRequestHeader("Accept",ht.dataTypes[0]&&ht.accepts[ht.dataTypes[0]]?ht.accepts[ht.dataTypes[0]]+(ht.dataTypes[0]!=="*"?", "+jo+"; q=0.01":""):ht.accepts["*"]);for(Ct in ht.headers)Ki.setRequestHeader(Ct,ht.headers[Ct]);if(ht.beforeSend&&(ht.beforeSend.call($t,Ki,ht)===!1||Pe))return Ki.abort();if(Jr="abort",un.add(ht.complete),Ki.done(ht.success),Ki.fail(ht.error),E=Zo(yr,ht,m,Ki),!E)Hr(-1,"No Transport");else{if(Ki.readyState=1,tt&&sn.trigger("ajaxSend",[Ki,ht]),Pe)return Ki;ht.async&&ht.timeout>0&&(ae=j.setTimeout(function(){Ki.abort("timeout")},ht.timeout));try{Pe=!1,E.send(_r,Hr)}catch(Ht){if(Pe)throw Ht;Hr(-1,Ht)}}function Hr(Ht,er,vs,Do){var ds,qs,Xn,Wr,Jn,wr=er;Pe||(Pe=!0,ae&&j.clearTimeout(ae),E=void 0,Y=Do||"",Ki.readyState=Ht>0?4:0,ds=Ht>=200&&Ht<300||Ht===304,vs&&(Wr=Yo(ht,Ki,vs)),!ds&&_.inArray("script",ht.dataTypes)>-1&&_.inArray("json",ht.dataTypes)<0&&(ht.converters["text script"]=function(){}),Wr=Js(ht,Wr,Ki,ds),ds?(ht.ifModified&&(Jn=Ki.getResponseHeader("Last-Modified"),Jn&&(_.lastModified[M]=Jn),Jn=Ki.getResponseHeader("etag"),Jn&&(_.etag[M]=Jn)),Ht===204||ht.type==="HEAD"?wr="nocontent":Ht===304?wr="notmodified":(wr=Wr.state,qs=Wr.data,Xn=Wr.error,ds=!Xn)):(Xn=wr,(Ht||!wr)&&(wr="error",Ht<0&&(Ht=0))),Ki.status=Ht,Ki.statusText=(er||wr)+"",ds?Tn.resolveWith($t,[qs,wr,Ki]):Tn.rejectWith($t,[Ki,wr,Xn]),Ki.statusCode(or),or=void 0,tt&&sn.trigger(ds?"ajaxSuccess":"ajaxError",[Ki,ht,ds?qs:Xn]),un.fireWith($t,[Ki,wr]),tt&&(sn.trigger("ajaxComplete",[Ki,ht]),--_.active||_.event.trigger("ajaxStop")))}return Ki},getJSON:function(l,m,E){return _.get(l,m,E,"json")},getScript:function(l,m){return _.get(l,void 0,m,"script")}}),_.each(["get","post"],function(l,m){_[m]=function(E,M,Y,G){return A(M)&&(G=G||Y,Y=M,M=void 0),_.ajax(_.extend({url:E,type:m,dataType:G,data:M,success:Y},_.isPlainObject(E)&&E))}}),_.ajaxPrefilter(function(l){var m;for(m in l.headers)m.toLowerCase()==="content-type"&&(l.contentType=l.headers[m]||"")}),_._evalUrl=function(l,m,E){return _.ajax({url:l,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(M){_.globalEval(M,m,E)}})},_.fn.extend({wrapAll:function(l){var m;return this[0]&&(A(l)&&(l=l.call(this[0])),m=_(l,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&m.insertBefore(this[0]),m.map(function(){for(var E=this;E.firstElementChild;)E=E.firstElementChild;return E}).append(this)),this},wrapInner:function(l){return A(l)?this.each(function(m){_(this).wrapInner(l.call(this,m))}):this.each(function(){var m=_(this),E=m.contents();E.length?E.wrapAll(l):m.append(l)})},wrap:function(l){var m=A(l);return this.each(function(E){_(this).wrapAll(m?l.call(this,E):l)})},unwrap:function(l){return this.parent(l).not("body").each(function(){_(this).replaceWith(this.childNodes)}),this}}),_.expr.pseudos.hidden=function(l){return!_.expr.pseudos.visible(l)},_.expr.pseudos.visible=function(l){return!!(l.offsetWidth||l.offsetHeight||l.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new j.XMLHttpRequest}catch(l){}};var _a={0:200,1223:204},zs=_.ajaxSettings.xhr();J.cors=!!zs&&"withCredentials"in zs,J.ajax=zs=!!zs,_.ajaxTransport(function(l){var m,E;if(J.cors||zs&&!l.crossDomain)return{send:function(M,Y){var G,ae=l.xhr();if(ae.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(G in l.xhrFields)ae[G]=l.xhrFields[G];l.mimeType&&ae.overrideMimeType&&ae.overrideMimeType(l.mimeType),!l.crossDomain&&!M["X-Requested-With"]&&(M["X-Requested-With"]="XMLHttpRequest");for(G in M)ae.setRequestHeader(G,M[G]);m=function(Me){return function(){m&&(m=E=ae.onload=ae.onerror=ae.onabort=ae.ontimeout=ae.onreadystatechange=null,Me==="abort"?ae.abort():Me==="error"?typeof ae.status!="number"?Y(0,"error"):Y(ae.status,ae.statusText):Y(_a[ae.status]||ae.status,ae.statusText,(ae.responseType||"text")!=="text"||typeof ae.responseText!="string"?{binary:ae.response}:{text:ae.responseText},ae.getAllResponseHeaders()))}},ae.onload=m(),E=ae.onerror=ae.ontimeout=m("error"),ae.onabort!==void 0?ae.onabort=E:ae.onreadystatechange=function(){ae.readyState===4&&j.setTimeout(function(){m&&E()})},m=m("abort");try{ae.send(l.hasContent&&l.data||null)}catch(Me){if(m)throw Me}},abort:function(){m&&m()}}}),_.ajaxPrefilter(function(l){l.crossDomain&&(l.contents.script=!1)}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(l){return _.globalEval(l),l}}}),_.ajaxPrefilter("script",function(l){l.cache===void 0&&(l.cache=!1),l.crossDomain&&(l.type="GET")}),_.ajaxTransport("script",function(l){if(l.crossDomain||l.scriptAttrs){var m,E;return{send:function(M,Y){m=_("<script>").attr(l.scriptAttrs||{}).prop({charset:l.scriptCharset,src:l.url}).on("load error",E=function(G){m.remove(),E=null,G&&Y(G.type==="error"?404:200,G.type)}),le.head.appendChild(m[0])},abort:function(){E&&E()}}}});var Po=[],Go=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var l=Po.pop()||_.expando+"_"+lo.guid++;return this[l]=!0,l}}),_.ajaxPrefilter("json jsonp",function(l,m,E){var M,Y,G,ae=l.jsonp!==!1&&(Go.test(l.url)?"url":typeof l.data=="string"&&(l.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Go.test(l.data)&&"data");if(ae||l.dataTypes[0]==="jsonp")return M=l.jsonpCallback=A(l.jsonpCallback)?l.jsonpCallback():l.jsonpCallback,ae?l[ae]=l[ae].replace(Go,"$1"+M):l.jsonp!==!1&&(l.url+=($s.test(l.url)?"&":"?")+l.jsonp+"="+M),l.converters["script json"]=function(){return G||_.error(M+" was not called"),G[0]},l.dataTypes[0]="json",Y=j[M],j[M]=function(){G=arguments},E.always(function(){Y===void 0?_(j).removeProp(M):j[M]=Y,l[M]&&(l.jsonpCallback=m.jsonpCallback,Po.push(M)),G&&A(Y)&&Y(G[0]),G=Y=void 0}),"script"}),J.createHTMLDocument=function(){var l=le.implementation.createHTMLDocument("").body;return l.innerHTML="<form></form><form></form>",l.childNodes.length===2}(),_.parseHTML=function(l,m,E){if(typeof l!="string")return[];typeof m=="boolean"&&(E=m,m=!1);var M,Y,G;return m||(J.createHTMLDocument?(m=le.implementation.createHTMLDocument(""),M=m.createElement("base"),M.href=le.location.href,m.head.appendChild(M)):m=le),Y=pe.exec(l),G=!E&&[],Y?[m.createElement(Y[1])]:(Y=Vt([l],m,G),G&&G.length&&_(G).remove(),_.merge([],Y.childNodes))},_.fn.load=function(l,m,E){var M,Y,G,ae=this,Me=l.indexOf(" ");return Me>-1&&(M=dr(l.slice(Me)),l=l.slice(0,Me)),A(m)?(E=m,m=void 0):m&&typeof m=="object"&&(Y="POST"),ae.length>0&&_.ajax({url:l,type:Y||"GET",dataType:"html",data:m}).done(function(Pe){G=arguments,ae.html(M?_("<div>").append(_.parseHTML(Pe)).find(M):Pe)}).always(E&&function(Pe,tt){ae.each(function(){E.apply(this,G||[Pe.responseText,tt,Pe])})}),this},_.expr.pseudos.animated=function(l){return _.grep(_.timers,function(m){return l===m.elem}).length},_.offset={setOffset:function(l,m,E){var M,Y,G,ae,Me,Pe,tt,Ct=_.css(l,"position"),xt=_(l),ht={};Ct==="static"&&(l.style.position="relative"),Me=xt.offset(),G=_.css(l,"top"),Pe=_.css(l,"left"),tt=(Ct==="absolute"||Ct==="fixed")&&(G+Pe).indexOf("auto")>-1,tt?(M=xt.position(),ae=M.top,Y=M.left):(ae=parseFloat(G)||0,Y=parseFloat(Pe)||0),A(m)&&(m=m.call(l,E,_.extend({},Me))),m.top!=null&&(ht.top=m.top-Me.top+ae),m.left!=null&&(ht.left=m.left-Me.left+Y),"using"in m?m.using.call(l,ht):xt.css(ht)}},_.fn.extend({offset:function(l){if(arguments.length)return l===void 0?this:this.each(function(Y){_.offset.setOffset(this,l,Y)});var m,E,M=this[0];if(M)return M.getClientRects().length?(m=M.getBoundingClientRect(),E=M.ownerDocument.defaultView,{top:m.top+E.pageYOffset,left:m.left+E.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var l,m,E,M=this[0],Y={top:0,left:0};if(_.css(M,"position")==="fixed")m=M.getBoundingClientRect();else{for(m=this.offset(),E=M.ownerDocument,l=M.offsetParent||E.documentElement;l&&(l===E.body||l===E.documentElement)&&_.css(l,"position")==="static";)l=l.parentNode;l&&l!==M&&l.nodeType===1&&(Y=_(l).offset(),Y.top+=_.css(l,"borderTopWidth",!0),Y.left+=_.css(l,"borderLeftWidth",!0))}return{top:m.top-Y.top-_.css(M,"marginTop",!0),left:m.left-Y.left-_.css(M,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var l=this.offsetParent;l&&_.css(l,"position")==="static";)l=l.offsetParent;return l||Pn})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(l,m){var E=m==="pageYOffset";_.fn[l]=function(M){return Wi(this,function(Y,G,ae){var Me;if(z(Y)?Me=Y:Y.nodeType===9&&(Me=Y.defaultView),ae===void 0)return Me?Me[m]:Y[G];Me?Me.scrollTo(E?Me.pageXOffset:ae,E?ae:Me.pageYOffset):Y[G]=ae},l,M,arguments.length)}}),_.each(["top","left"],function(l,m){_.cssHooks[m]=Ge(J.pixelPosition,function(E,M){if(M)return M=Le(E,m),ns.test(M)?_(E).position()[m]+"px":M})}),_.each({Height:"height",Width:"width"},function(l,m){_.each({padding:"inner"+l,content:m,"":"outer"+l},function(E,M){_.fn[M]=function(Y,G){var ae=arguments.length&&(E||typeof Y!="boolean"),Me=E||(Y===!0||G===!0?"margin":"border");return Wi(this,function(Pe,tt,Ct){var xt;return z(Pe)?M.indexOf("outer")===0?Pe["inner"+l]:Pe.document.documentElement["client"+l]:Pe.nodeType===9?(xt=Pe.documentElement,Math.max(Pe.body["scroll"+l],xt["scroll"+l],Pe.body["offset"+l],xt["offset"+l],xt["client"+l])):Ct===void 0?_.css(Pe,tt,Me):_.style(Pe,tt,Ct,Me)},m,ae?Y:void 0,ae)}})}),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(l,m){_.fn[m]=function(E){return this.on(m,E)}}),_.fn.extend({bind:function(l,m,E){return this.on(l,null,m,E)},unbind:function(l,m){return this.off(l,null,m)},delegate:function(l,m,E,M){return this.on(m,l,E,M)},undelegate:function(l,m,E){return arguments.length===1?this.off(l,"**"):this.off(m,l||"**",E)},hover:function(l,m){return this.on("mouseenter",l).on("mouseleave",m||l)}}),_.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(l,m){_.fn[m]=function(E,M){return arguments.length>0?this.on(m,null,E,M):this.trigger(m)}});var qa=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;_.proxy=function(l,m){var E,M,Y;if(typeof m=="string"&&(E=l[m],m=l,l=E),!!A(l))return M=se.call(arguments,2),Y=function(){return l.apply(m||this,M.concat(se.call(arguments)))},Y.guid=l.guid=l.guid||_.guid++,Y},_.holdReady=function(l){l?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=Se,_.isFunction=A,_.isWindow=z,_.camelCase=Ie,_.type=ce,_.now=Date.now,_.isNumeric=function(l){var m=_.type(l);return(m==="number"||m==="string")&&!isNaN(l-parseFloat(l))},_.trim=function(l){return l==null?"":(l+"").replace(qa,"$1")},gt=[],R=function(){return _}.apply(dt,gt),R!==void 0&&(S.exports=R);var Ka=j.jQuery,Za=j.$;return _.noConflict=function(l){return j.$===_&&(j.$=Za),l&&j.jQuery===_&&(j.jQuery=Ka),_},typeof f=="undefined"&&(j.jQuery=j.$=_),_})},"./node_modules/toastify-js/src/toastify.js":function(S){(function(dt,gt){S.exports?S.exports=gt():dt.Toastify=gt()})(this,function(dt){var gt=function(Q){return new gt.lib.init(Q)},R="1.12.0";gt.defaults={oldestFirst:!0,text:"Toastify is awesome!",node:void 0,duration:3e3,selector:void 0,callback:function(){},destination:void 0,newWindow:!1,close:!1,gravity:"toastify-top",positionLeft:!1,position:"",backgroundColor:"",avatar:"",className:"",stopOnFocus:!0,onClick:function(){},offset:{x:0,y:0},escapeMarkup:!0,ariaLive:"polite",style:{background:""}},gt.lib=gt.prototype={toastify:R,constructor:gt,init:function(Q){return Q||(Q={}),this.options={},this.toastElement=null,this.options.text=Q.text||gt.defaults.text,this.options.node=Q.node||gt.defaults.node,this.options.duration=Q.duration===0?0:Q.duration||gt.defaults.duration,this.options.selector=Q.selector||gt.defaults.selector,this.options.callback=Q.callback||gt.defaults.callback,this.options.destination=Q.destination||gt.defaults.destination,this.options.newWindow=Q.newWindow||gt.defaults.newWindow,this.options.close=Q.close||gt.defaults.close,this.options.gravity=Q.gravity==="bottom"?"toastify-bottom":gt.defaults.gravity,this.options.positionLeft=Q.positionLeft||gt.defaults.positionLeft,this.options.position=Q.position||gt.defaults.position,this.options.backgroundColor=Q.backgroundColor||gt.defaults.backgroundColor,this.options.avatar=Q.avatar||gt.defaults.avatar,this.options.className=Q.className||gt.defaults.className,this.options.stopOnFocus=Q.stopOnFocus===void 0?gt.defaults.stopOnFocus:Q.stopOnFocus,this.options.onClick=Q.onClick||gt.defaults.onClick,this.options.offset=Q.offset||gt.defaults.offset,this.options.escapeMarkup=Q.escapeMarkup!==void 0?Q.escapeMarkup:gt.defaults.escapeMarkup,this.options.ariaLive=Q.ariaLive||gt.defaults.ariaLive,this.options.style=Q.style||gt.defaults.style,Q.backgroundColor&&(this.options.style.background=Q.backgroundColor),this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var Q=document.createElement("div");Q.className="toastify on "+this.options.className,this.options.position?Q.className+=" toastify-"+this.options.position:this.options.positionLeft===!0?(Q.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):Q.className+=" toastify-right",Q.className+=" "+this.options.gravity,this.options.backgroundColor&&console.warn('DEPRECATION NOTICE: "backgroundColor" is being deprecated. Please use the "style.background" property.');for(var V in this.options.style)Q.style[V]=this.options.style[V];if(this.options.ariaLive&&Q.setAttribute("aria-live",this.options.ariaLive),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)Q.appendChild(this.options.node);else if(this.options.escapeMarkup?Q.innerText=this.options.text:Q.innerHTML=this.options.text,this.options.avatar!==""){var se=document.createElement("img");se.src=this.options.avatar,se.className="toastify-avatar",this.options.position=="left"||this.options.positionLeft===!0?Q.appendChild(se):Q.insertAdjacentElement("afterbegin",se)}if(this.options.close===!0){var y=document.createElement("button");y.type="button",y.setAttribute("aria-label","Close"),y.className="toast-close",y.innerHTML="&#10006;",y.addEventListener("click",function(te){te.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var $=window.innerWidth>0?window.innerWidth:screen.width;(this.options.position=="left"||this.options.positionLeft===!0)&&$>360?Q.insertAdjacentElement("afterbegin",y):Q.appendChild(y)}if(this.options.stopOnFocus&&this.options.duration>0){var U=this;Q.addEventListener("mouseover",function(te){window.clearTimeout(Q.timeOutValue)}),Q.addEventListener("mouseleave",function(){Q.timeOutValue=window.setTimeout(function(){U.removeElement(Q)},U.options.duration)})}if(typeof this.options.destination!="undefined"&&Q.addEventListener("click",function(te){te.stopPropagation(),this.options.newWindow===!0?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),typeof this.options.onClick=="function"&&typeof this.options.destination=="undefined"&&Q.addEventListener("click",function(te){te.stopPropagation(),this.options.onClick()}.bind(this)),typeof this.options.offset=="object"){var H=j("x",this.options),O=j("y",this.options),Z=this.options.position=="left"?H:"-"+H,he=this.options.gravity=="toastify-top"?O:"-"+O;Q.style.transform="translate("+Z+","+he+")"}return Q},showToast:function(){this.toastElement=this.buildToast();var Q;if(typeof this.options.selector=="string"?Q=document.getElementById(this.options.selector):this.options.selector instanceof HTMLElement||typeof ShadowRoot!="undefined"&&this.options.selector instanceof ShadowRoot?Q=this.options.selector:Q=document.body,!Q)throw"Root element is not defined";var V=gt.defaults.oldestFirst?Q.firstChild:Q.lastChild;return Q.insertBefore(this.toastElement,V),gt.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(Q){Q.className=Q.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),Q.parentNode&&Q.parentNode.removeChild(Q),this.options.callback.call(Q),gt.reposition()}.bind(this),400)}},gt.reposition=function(){for(var Q={top:15,bottom:15},V={top:15,bottom:15},se={top:15,bottom:15},y=document.getElementsByClassName("toastify"),$,U=0;U<y.length;U++){f(y[U],"toastify-top")===!0?$="toastify-top":$="toastify-bottom";var H=y[U].offsetHeight;$=$.substr(9,$.length-1);var O=15,Z=window.innerWidth>0?window.innerWidth:screen.width;Z<=360?(y[U].style[$]=se[$]+"px",se[$]+=H+O):f(y[U],"toastify-left")===!0?(y[U].style[$]=Q[$]+"px",Q[$]+=H+O):(y[U].style[$]=V[$]+"px",V[$]+=H+O)}return this};function j(Q,V){return V.offset[Q]?isNaN(V.offset[Q])?V.offset[Q]:V.offset[Q]+"px":"0px"}function f(Q,V){return!Q||typeof V!="string"?!1:!!(Q.className&&Q.className.trim().split(/\s+/gi).indexOf(V)>-1)}return gt.lib.init.prototype=gt.lib,gt})},"./node_modules/vue-bar-graph/dist/vue-bar-graph.common.js":function(S,dt,gt){(function(){var R={7679:function(V,se){var y,$,U;(function(H,O){$=[],y=O,U=typeof y=="function"?y.apply(se,$):y,U!==void 0&&(V.exports=U)})(typeof self!="undefined"?self:this,function(){function H(){var O=Object.getOwnPropertyDescriptor(document,"currentScript");if(!O&&"currentScript"in document&&document.currentScript||O&&O.get!==H&&document.currentScript)return document.currentScript;try{throw new Error}catch(Ae){var Z=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,he=/@([^@]*):(\d+):(\d+)\s*$/ig,te=Z.exec(Ae.stack)||he.exec(Ae.stack),J=te&&te[1]||!1,A=te&&te[2]||!1,z=document.location.href.replace(document.location.hash,""),le,be,xe,ce=document.getElementsByTagName("script");J===z&&(le=document.documentElement.outerHTML,be=new RegExp("(?:[^\\n]+?\\n){0,"+(A-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),xe=le.replace(be,"$1").trim());for(var ke=0;ke<ce.length;ke++)if(ce[ke].readyState==="interactive"||ce[ke].src===J||J===z&&ce[ke].innerHTML&&ce[ke].innerHTML.trim()===xe)return ce[ke];return null}}return H})},9662:function(V,se,y){var $=y(614),U=y(6330),H=TypeError;V.exports=function(O){if($(O))return O;throw H(U(O)+" is not a function")}},6077:function(V,se,y){var $=y(614),U=String,H=TypeError;V.exports=function(O){if(typeof O=="object"||$(O))return O;throw H("Can't set "+U(O)+" as a prototype")}},1223:function(V,se,y){var $=y(5112),U=y(30),H=y(3070).f,O=$("unscopables"),Z=Array.prototype;Z[O]==null&&H(Z,O,{configurable:!0,value:U(null)}),V.exports=function(he){Z[O][he]=!0}},1530:function(V,se,y){"use strict";var $=y(8710).charAt;V.exports=function(U,H,O){return H+(O?$(U,H).length:1)}},9670:function(V,se,y){var $=y(111),U=String,H=TypeError;V.exports=function(O){if($(O))return O;throw H(U(O)+" is not an object")}},8533:function(V,se,y){"use strict";var $=y(2092).forEach,U=y(9341),H=U("forEach");V.exports=H?[].forEach:function(Z){return $(this,Z,arguments.length>1?arguments[1]:void 0)}},8457:function(V,se,y){"use strict";var $=y(9974),U=y(6916),H=y(7908),O=y(3411),Z=y(7659),he=y(4411),te=y(6244),J=y(6135),A=y(8554),z=y(1246),le=Array;V.exports=function(xe){var ce=H(xe),ke=he(this),Ae=arguments.length,_=Ae>1?arguments[1]:void 0,Fe=_!==void 0;Fe&&(_=$(_,Ae>2?arguments[2]:void 0));var Se=z(ce),ee=0,Be,ve,L,B,F,oe;if(Se&&!(this===le&&Z(Se)))for(B=A(ce,Se),F=B.next,ve=ke?new this:[];!(L=U(F,B)).done;ee++)oe=Fe?O(B,_,[L.value,ee],!0):L.value,J(ve,ee,oe);else for(Be=te(ce),ve=ke?new this(Be):le(Be);Be>ee;ee++)oe=Fe?_(ce[ee],ee):ce[ee],J(ve,ee,oe);return ve.length=ee,ve}},1318:function(V,se,y){var $=y(5656),U=y(1400),H=y(6244),O=function(Z){return function(he,te,J){var A=$(he),z=H(A),le=U(J,z),be;if(Z&&te!=te){for(;z>le;)if(be=A[le++],be!=be)return!0}else for(;z>le;le++)if((Z||le in A)&&A[le]===te)return Z||le||0;return!Z&&-1}};V.exports={includes:O(!0),indexOf:O(!1)}},2092:function(V,se,y){var $=y(9974),U=y(1702),H=y(8361),O=y(7908),Z=y(6244),he=y(5417),te=U([].push),J=function(A){var z=A==1,le=A==2,be=A==3,xe=A==4,ce=A==6,ke=A==7,Ae=A==5||ce;return function(_,Fe,Se,ee){for(var Be=O(_),ve=H(Be),L=$(Fe,Se),B=Z(ve),F=0,oe=ee||he,ye=z?oe(_,B):le||ke?oe(_,0):void 0,Ue,Xe;B>F;F++)if((Ae||F in ve)&&(Ue=ve[F],Xe=L(Ue,F,Be),A))if(z)ye[F]=Xe;else if(Xe)switch(A){case 3:return!0;case 5:return Ue;case 6:return F;case 2:te(ye,Ue)}else switch(A){case 4:return!1;case 7:te(ye,Ue)}return ce?-1:be||xe?xe:ye}};V.exports={forEach:J(0),map:J(1),filter:J(2),some:J(3),every:J(4),find:J(5),findIndex:J(6),filterReject:J(7)}},1194:function(V,se,y){var $=y(7293),U=y(5112),H=y(7392),O=U("species");V.exports=function(Z){return H>=51||!$(function(){var he=[],te=he.constructor={};return te[O]=function(){return{foo:1}},he[Z](Boolean).foo!==1})}},9341:function(V,se,y){"use strict";var $=y(7293);V.exports=function(U,H){var O=[][U];return!!O&&$(function(){O.call(null,H||function(){return 1},1)})}},1589:function(V,se,y){var $=y(1400),U=y(6244),H=y(6135),O=Array,Z=Math.max;V.exports=function(he,te,J){for(var A=U(he),z=$(te,A),le=$(J===void 0?A:J,A),be=O(Z(le-z,0)),xe=0;z<le;z++,xe++)H(be,xe,he[z]);return be.length=xe,be}},206:function(V,se,y){var $=y(1702);V.exports=$([].slice)},7475:function(V,se,y){var $=y(3157),U=y(4411),H=y(111),O=y(5112),Z=O("species"),he=Array;V.exports=function(te){var J;return $(te)&&(J=te.constructor,U(J)&&(J===he||$(J.prototype))?J=void 0:H(J)&&(J=J[Z],J===null&&(J=void 0))),J===void 0?he:J}},5417:function(V,se,y){var $=y(7475);V.exports=function(U,H){return new($(U))(H===0?0:H)}},3411:function(V,se,y){var $=y(9670),U=y(9212);V.exports=function(H,O,Z,he){try{return he?O($(Z)[0],Z[1]):O(Z)}catch(te){U(H,"throw",te)}}},7072:function(V,se,y){var $=y(5112),U=$("iterator"),H=!1;try{var O=0,Z={next:function(){return{done:!!O++}},return:function(){H=!0}};Z[U]=function(){return this},Array.from(Z,function(){throw 2})}catch(he){}V.exports=function(he,te){if(!te&&!H)return!1;var J=!1;try{var A={};A[U]=function(){return{next:function(){return{done:J=!0}}}},he(A)}catch(z){}return J}},4326:function(V,se,y){var $=y(1702),U=$({}.toString),H=$("".slice);V.exports=function(O){return H(U(O),8,-1)}},648:function(V,se,y){var $=y(1694),U=y(614),H=y(4326),O=y(5112),Z=O("toStringTag"),he=Object,te=H(function(){return arguments}())=="Arguments",J=function(A,z){try{return A[z]}catch(le){}};V.exports=$?H:function(A){var z,le,be;return A===void 0?"Undefined":A===null?"Null":typeof(le=J(z=he(A),Z))=="string"?le:te?H(z):(be=H(z))=="Object"&&U(z.callee)?"Arguments":be}},7741:function(V,se,y){var $=y(1702),U=Error,H=$("".replace),O=function(te){return String(U(te).stack)}("zxcasd"),Z=/\n\s*at [^:]*:[^\n]*/,he=Z.test(O);V.exports=function(te,J){if(he&&typeof te=="string"&&!U.prepareStackTrace)for(;J--;)te=H(te,Z,"");return te}},9920:function(V,se,y){var $=y(2597),U=y(3887),H=y(1236),O=y(3070);V.exports=function(Z,he,te){for(var J=U(he),A=O.f,z=H.f,le=0;le<J.length;le++){var be=J[le];!$(Z,be)&&!(te&&$(te,be))&&A(Z,be,z(he,be))}}},8544:function(V,se,y){var $=y(7293);V.exports=!$(function(){function U(){}return U.prototype.constructor=null,Object.getPrototypeOf(new U)!==U.prototype})},4994:function(V,se,y){"use strict";var $=y(3383).IteratorPrototype,U=y(30),H=y(9114),O=y(8003),Z=y(7497),he=function(){return this};V.exports=function(te,J,A,z){var le=J+" Iterator";return te.prototype=U($,{next:H(+!z,A)}),O(te,le,!1,!0),Z[le]=he,te}},8880:function(V,se,y){var $=y(9781),U=y(3070),H=y(9114);V.exports=$?function(O,Z,he){return U.f(O,Z,H(1,he))}:function(O,Z,he){return O[Z]=he,O}},9114:function(V){V.exports=function(se,y){return{enumerable:!(se&1),configurable:!(se&2),writable:!(se&4),value:y}}},6135:function(V,se,y){"use strict";var $=y(4948),U=y(3070),H=y(9114);V.exports=function(O,Z,he){var te=$(Z);te in O?U.f(O,te,H(0,he)):O[te]=he}},8052:function(V,se,y){var $=y(614),U=y(8880),H=y(6339),O=y(3072);V.exports=function(Z,he,te,J){J||(J={});var A=J.enumerable,z=J.name!==void 0?J.name:he;return $(te)&&H(te,z,J),J.global?A?Z[he]=te:O(he,te):(J.unsafe?Z[he]&&(A=!0):delete Z[he],A?Z[he]=te:U(Z,he,te)),Z}},3072:function(V,se,y){var $=y(7854),U=Object.defineProperty;V.exports=function(H,O){try{U($,H,{value:O,configurable:!0,writable:!0})}catch(Z){$[H]=O}return O}},654:function(V,se,y){"use strict";var $=y(2109),U=y(6916),H=y(1913),O=y(6530),Z=y(614),he=y(4994),te=y(9518),J=y(7674),A=y(8003),z=y(8880),le=y(8052),be=y(5112),xe=y(7497),ce=y(3383),ke=O.PROPER,Ae=O.CONFIGURABLE,_=ce.IteratorPrototype,Fe=ce.BUGGY_SAFARI_ITERATORS,Se=be("iterator"),ee="keys",Be="values",ve="entries",L=function(){return this};V.exports=function(B,F,oe,ye,Ue,Xe,de){he(oe,F,ye);var X=function(ki){if(ki===Ue&&jt)return jt;if(!Fe&&ki in _e)return _e[ki];switch(ki){case ee:return function(){return new oe(this,ki)};case Be:return function(){return new oe(this,ki)};case ve:return function(){return new oe(this,ki)}}return function(){return new oe(this)}},pe=F+" Iterator",N=!1,_e=B.prototype,qe=_e[Se]||_e["@@iterator"]||Ue&&_e[Ue],jt=!Fe&&qe||X(Ue),_t=F=="Array"&&_e.entries||qe,wt,Zt,zt;if(_t&&(wt=te(_t.call(new B)),wt!==Object.prototype&&wt.next&&(!H&&te(wt)!==_&&(J?J(wt,_):Z(wt[Se])||le(wt,Se,L)),A(wt,pe,!0,!0),H&&(xe[pe]=L))),ke&&Ue==Be&&qe&&qe.name!==Be&&(!H&&Ae?z(_e,"name",Be):(N=!0,jt=function(){return U(qe,this)})),Ue)if(Zt={values:X(Be),keys:Xe?jt:X(ee),entries:X(ve)},de)for(zt in Zt)(Fe||N||!(zt in _e))&&le(_e,zt,Zt[zt]);else $({target:F,proto:!0,forced:Fe||N},Zt);return(!H||de)&&_e[Se]!==jt&&le(_e,Se,jt,{name:Ue}),xe[F]=jt,Zt}},7235:function(V,se,y){var $=y(857),U=y(2597),H=y(6061),O=y(3070).f;V.exports=function(Z){var he=$.Symbol||($.Symbol={});U(he,Z)||O(he,Z,{value:H.f(Z)})}},9781:function(V,se,y){var $=y(7293);V.exports=!$(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},317:function(V,se,y){var $=y(7854),U=y(111),H=$.document,O=U(H)&&U(H.createElement);V.exports=function(Z){return O?H.createElement(Z):{}}},8324:function(V){V.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}},8509:function(V,se,y){var $=y(317),U=$("span").classList,H=U&&U.constructor&&U.constructor.prototype;V.exports=H===Object.prototype?void 0:H},8113:function(V,se,y){var $=y(5005);V.exports=$("navigator","userAgent")||""},7392:function(V,se,y){var $=y(7854),U=y(8113),H=$.process,O=$.Deno,Z=H&&H.versions||O&&O.version,he=Z&&Z.v8,te,J;he&&(te=he.split("."),J=te[0]>0&&te[0]<4?1:+(te[0]+te[1])),!J&&U&&(te=U.match(/Edge\/(\d+)/),(!te||te[1]>=74)&&(te=U.match(/Chrome\/(\d+)/),te&&(J=+te[1]))),V.exports=J},748:function(V){V.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2914:function(V,se,y){var $=y(7293),U=y(9114);V.exports=!$(function(){var H=Error("a");return"stack"in H?(Object.defineProperty(H,"stack",U(1,7)),H.stack!==7):!0})},2109:function(V,se,y){var $=y(7854),U=y(1236).f,H=y(8880),O=y(8052),Z=y(3072),he=y(9920),te=y(4705);V.exports=function(J,A){var z=J.target,le=J.global,be=J.stat,xe,ce,ke,Ae,_,Fe;if(le?ce=$:be?ce=$[z]||Z(z,{}):ce=($[z]||{}).prototype,ce)for(ke in A){if(_=A[ke],J.dontCallGetSet?(Fe=U(ce,ke),Ae=Fe&&Fe.value):Ae=ce[ke],xe=te(le?ke:z+(be?".":"#")+ke,J.forced),!xe&&Ae!==void 0){if(typeof _==typeof Ae)continue;he(_,Ae)}(J.sham||Ae&&Ae.sham)&&H(_,"sham",!0),O(ce,ke,_,J)}}},7293:function(V){V.exports=function(se){try{return!!se()}catch(y){return!0}}},7007:function(V,se,y){"use strict";y(4916);var $=y(1702),U=y(8052),H=y(2261),O=y(7293),Z=y(5112),he=y(8880),te=Z("species"),J=RegExp.prototype;V.exports=function(A,z,le,be){var xe=Z(A),ce=!O(function(){var Fe={};return Fe[xe]=function(){return 7},""[A](Fe)!=7}),ke=ce&&!O(function(){var Fe=!1,Se=/a/;return A==="split"&&(Se={},Se.constructor={},Se.constructor[te]=function(){return Se},Se.flags="",Se[xe]=/./[xe]),Se.exec=function(){return Fe=!0,null},Se[xe](""),!Fe});if(!ce||!ke||le){var Ae=$(/./[xe]),_=z(xe,""[A],function(Fe,Se,ee,Be,ve){var L=$(Fe),B=Se.exec;return B===H||B===J.exec?ce&&!ve?{done:!0,value:Ae(Se,ee,Be)}:{done:!0,value:L(ee,Se,Be)}:{done:!1}});U(String.prototype,A,_[0]),U(J,xe,_[1])}be&&he(J[xe],"sham",!0)}},2104:function(V,se,y){var $=y(4374),U=Function.prototype,H=U.apply,O=U.call;V.exports=typeof Reflect=="object"&&Reflect.apply||($?O.bind(H):function(){return O.apply(H,arguments)})},9974:function(V,se,y){var $=y(1702),U=y(9662),H=y(4374),O=$($.bind);V.exports=function(Z,he){return U(Z),he===void 0?Z:H?O(Z,he):function(){return Z.apply(he,arguments)}}},4374:function(V,se,y){var $=y(7293);V.exports=!$(function(){var U=function(){}.bind();return typeof U!="function"||U.hasOwnProperty("prototype")})},6916:function(V,se,y){var $=y(4374),U=Function.prototype.call;V.exports=$?U.bind(U):function(){return U.apply(U,arguments)}},6530:function(V,se,y){var $=y(9781),U=y(2597),H=Function.prototype,O=$&&Object.getOwnPropertyDescriptor,Z=U(H,"name"),he=Z&&function(){}.name==="something",te=Z&&(!$||$&&O(H,"name").configurable);V.exports={EXISTS:Z,PROPER:he,CONFIGURABLE:te}},1702:function(V,se,y){var $=y(4374),U=Function.prototype,H=U.bind,O=U.call,Z=$&&H.bind(O,O);V.exports=$?function(he){return he&&Z(he)}:function(he){return he&&function(){return O.apply(he,arguments)}}},5005:function(V,se,y){var $=y(7854),U=y(614),H=function(O){return U(O)?O:void 0};V.exports=function(O,Z){return arguments.length<2?H($[O]):$[O]&&$[O][Z]}},1246:function(V,se,y){var $=y(648),U=y(8173),H=y(7497),O=y(5112),Z=O("iterator");V.exports=function(he){if(he!=null)return U(he,Z)||U(he,"@@iterator")||H[$(he)]}},8554:function(V,se,y){var $=y(6916),U=y(9662),H=y(9670),O=y(6330),Z=y(1246),he=TypeError;V.exports=function(te,J){var A=arguments.length<2?Z(te):J;if(U(A))return H($(A,te));throw he(O(te)+" is not iterable")}},8173:function(V,se,y){var $=y(9662);V.exports=function(U,H){var O=U[H];return O==null?void 0:$(O)}},647:function(V,se,y){var $=y(1702),U=y(7908),H=Math.floor,O=$("".charAt),Z=$("".replace),he=$("".slice),te=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,J=/\$([$&'`]|\d{1,2})/g;V.exports=function(A,z,le,be,xe,ce){var ke=le+A.length,Ae=be.length,_=J;return xe!==void 0&&(xe=U(xe),_=te),Z(ce,_,function(Fe,Se){var ee;switch(O(Se,0)){case"$":return"$";case"&":return A;case"`":return he(z,0,le);case"'":return he(z,ke);case"<":ee=xe[he(Se,1,-1)];break;default:var Be=+Se;if(Be===0)return Fe;if(Be>Ae){var ve=H(Be/10);return ve===0?Fe:ve<=Ae?be[ve-1]===void 0?O(Se,1):be[ve-1]+O(Se,1):Fe}ee=be[Be-1]}return ee===void 0?"":ee})}},7854:function(V,se,y){var $=function(U){return U&&U.Math==Math&&U};V.exports=$(typeof globalThis=="object"&&globalThis)||$(typeof window=="object"&&window)||$(typeof self=="object"&&self)||$(typeof y.g=="object"&&y.g)||function(){return this}()||Function("return this")()},2597:function(V,se,y){var $=y(1702),U=y(7908),H=$({}.hasOwnProperty);V.exports=Object.hasOwn||function(Z,he){return H(U(Z),he)}},3501:function(V){V.exports={}},490:function(V,se,y){var $=y(5005);V.exports=$("document","documentElement")},4664:function(V,se,y){var $=y(9781),U=y(7293),H=y(317);V.exports=!$&&!U(function(){return Object.defineProperty(H("div"),"a",{get:function(){return 7}}).a!=7})},8361:function(V,se,y){var $=y(1702),U=y(7293),H=y(4326),O=Object,Z=$("".split);V.exports=U(function(){return!O("z").propertyIsEnumerable(0)})?function(he){return H(he)=="String"?Z(he,""):O(he)}:O},9587:function(V,se,y){var $=y(614),U=y(111),H=y(7674);V.exports=function(O,Z,he){var te,J;return H&&$(te=Z.constructor)&&te!==he&&U(J=te.prototype)&&J!==he.prototype&&H(O,J),O}},2788:function(V,se,y){var $=y(1702),U=y(614),H=y(5465),O=$(Function.toString);U(H.inspectSource)||(H.inspectSource=function(Z){return O(Z)}),V.exports=H.inspectSource},8340:function(V,se,y){var $=y(111),U=y(8880);V.exports=function(H,O){$(O)&&"cause"in O&&U(H,"cause",O.cause)}},9909:function(V,se,y){var $=y(8536),U=y(7854),H=y(1702),O=y(111),Z=y(8880),he=y(2597),te=y(5465),J=y(6200),A=y(3501),z="Object already initialized",le=U.TypeError,be=U.WeakMap,xe,ce,ke,Ae=function(L){return ke(L)?ce(L):xe(L,{})},_=function(L){return function(B){var F;if(!O(B)||(F=ce(B)).type!==L)throw le("Incompatible receiver, "+L+" required");return F}};if($||te.state){var Fe=te.state||(te.state=new be),Se=H(Fe.get),ee=H(Fe.has),Be=H(Fe.set);xe=function(L,B){if(ee(Fe,L))throw new le(z);return B.facade=L,Be(Fe,L,B),B},ce=function(L){return Se(Fe,L)||{}},ke=function(L){return ee(Fe,L)}}else{var ve=J("state");A[ve]=!0,xe=function(L,B){if(he(L,ve))throw new le(z);return B.facade=L,Z(L,ve,B),B},ce=function(L){return he(L,ve)?L[ve]:{}},ke=function(L){return he(L,ve)}}V.exports={set:xe,get:ce,has:ke,enforce:Ae,getterFor:_}},7659:function(V,se,y){var $=y(5112),U=y(7497),H=$("iterator"),O=Array.prototype;V.exports=function(Z){return Z!==void 0&&(U.Array===Z||O[H]===Z)}},3157:function(V,se,y){var $=y(4326);V.exports=Array.isArray||function(H){return $(H)=="Array"}},614:function(V){V.exports=function(se){return typeof se=="function"}},4411:function(V,se,y){var $=y(1702),U=y(7293),H=y(614),O=y(648),Z=y(5005),he=y(2788),te=function(){},J=[],A=Z("Reflect","construct"),z=/^\s*(?:class|function)\b/,le=$(z.exec),be=!z.exec(te),xe=function(Ae){if(!H(Ae))return!1;try{return A(te,J,Ae),!0}catch(_){return!1}},ce=function(Ae){if(!H(Ae))return!1;switch(O(Ae)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return be||!!le(z,he(Ae))}catch(_){return!0}};ce.sham=!0,V.exports=!A||U(function(){var ke;return xe(xe.call)||!xe(Object)||!xe(function(){ke=!0})||ke})?ce:xe},4705:function(V,se,y){var $=y(7293),U=y(614),H=/#|\.prototype\./,O=function(A,z){var le=he[Z(A)];return le==J?!0:le==te?!1:U(z)?$(z):!!z},Z=O.normalize=function(A){return String(A).replace(H,".").toLowerCase()},he=O.data={},te=O.NATIVE="N",J=O.POLYFILL="P";V.exports=O},111:function(V,se,y){var $=y(614);V.exports=function(U){return typeof U=="object"?U!==null:$(U)}},1913:function(V){V.exports=!1},2190:function(V,se,y){var $=y(5005),U=y(614),H=y(7976),O=y(3307),Z=Object;V.exports=O?function(he){return typeof he=="symbol"}:function(he){var te=$("Symbol");return U(te)&&H(te.prototype,Z(he))}},9212:function(V,se,y){var $=y(6916),U=y(9670),H=y(8173);V.exports=function(O,Z,he){var te,J;U(O);try{if(te=H(O,"return"),!te){if(Z==="throw")throw he;return he}te=$(te,O)}catch(A){J=!0,te=A}if(Z==="throw")throw he;if(J)throw te;return U(te),he}},3383:function(V,se,y){"use strict";var $=y(7293),U=y(614),H=y(30),O=y(9518),Z=y(8052),he=y(5112),te=y(1913),J=he("iterator"),A=!1,z,le,be;[].keys&&(be=[].keys(),"next"in be?(le=O(O(be)),le!==Object.prototype&&(z=le)):A=!0);var xe=z==null||$(function(){var ce={};return z[J].call(ce)!==ce});xe?z={}:te&&(z=H(z)),U(z[J])||Z(z,J,function(){return this}),V.exports={IteratorPrototype:z,BUGGY_SAFARI_ITERATORS:A}},7497:function(V){V.exports={}},6244:function(V,se,y){var $=y(7466);V.exports=function(U){return $(U.length)}},6339:function(V,se,y){var $=y(7293),U=y(614),H=y(2597),O=y(9781),Z=y(6530).CONFIGURABLE,he=y(2788),te=y(9909),J=te.enforce,A=te.get,z=Object.defineProperty,le=O&&!$(function(){return z(function(){},"length",{value:8}).length!==8}),be=String(String).split("String"),xe=V.exports=function(ce,ke,Ae){String(ke).slice(0,7)==="Symbol("&&(ke="["+String(ke).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),Ae&&Ae.getter&&(ke="get "+ke),Ae&&Ae.setter&&(ke="set "+ke),(!H(ce,"name")||Z&&ce.name!==ke)&&z(ce,"name",{value:ke,configurable:!0}),le&&Ae&&H(Ae,"arity")&&ce.length!==Ae.arity&&z(ce,"length",{value:Ae.arity});try{Ae&&H(Ae,"constructor")&&Ae.constructor?O&&z(ce,"prototype",{writable:!1}):ce.prototype&&(ce.prototype=void 0)}catch(Fe){}var _=J(ce);return H(_,"source")||(_.source=be.join(typeof ke=="string"?ke:"")),ce};Function.prototype.toString=xe(function(){return U(this)&&A(this).source||he(this)},"toString")},4758:function(V){var se=Math.ceil,y=Math.floor;V.exports=Math.trunc||function(U){var H=+U;return(H>0?y:se)(H)}},735:function(V,se,y){var $=y(133);V.exports=$&&!!Symbol.for&&!!Symbol.keyFor},133:function(V,se,y){var $=y(7392),U=y(7293);V.exports=!!Object.getOwnPropertySymbols&&!U(function(){var H=Symbol();return!String(H)||!(Object(H)instanceof Symbol)||!Symbol.sham&&$&&$<41})},8536:function(V,se,y){var $=y(7854),U=y(614),H=y(2788),O=$.WeakMap;V.exports=U(O)&&/native code/.test(H(O))},6277:function(V,se,y){var $=y(1340);V.exports=function(U,H){return U===void 0?arguments.length<2?"":H:$(U)}},30:function(V,se,y){var $=y(9670),U=y(6048),H=y(748),O=y(3501),Z=y(490),he=y(317),te=y(6200),J=">",A="<",z="prototype",le="script",be=te("IE_PROTO"),xe=function(){},ce=function(Se){return A+le+J+Se+A+"/"+le+J},ke=function(Se){Se.write(ce("")),Se.close();var ee=Se.parentWindow.Object;return Se=null,ee},Ae=function(){var Se=he("iframe"),ee="java"+le+":",Be;return Se.style.display="none",Z.appendChild(Se),Se.src=String(ee),Be=Se.contentWindow.document,Be.open(),Be.write(ce("document.F=Object")),Be.close(),Be.F},_,Fe=function(){try{_=new ActiveXObject("htmlfile")}catch(ee){}Fe=typeof document!="undefined"?document.domain&&_?ke(_):Ae():ke(_);for(var Se=H.length;Se--;)delete Fe[z][H[Se]];return Fe()};O[be]=!0,V.exports=Object.create||function(ee,Be){var ve;return ee!==null?(xe[z]=$(ee),ve=new xe,xe[z]=null,ve[be]=ee):ve=Fe(),Be===void 0?ve:U.f(ve,Be)}},6048:function(V,se,y){var $=y(9781),U=y(3353),H=y(3070),O=y(9670),Z=y(5656),he=y(1956);se.f=$&&!U?Object.defineProperties:function(J,A){O(J);for(var z=Z(A),le=he(A),be=le.length,xe=0,ce;be>xe;)H.f(J,ce=le[xe++],z[ce]);return J}},3070:function(V,se,y){var $=y(9781),U=y(4664),H=y(3353),O=y(9670),Z=y(4948),he=TypeError,te=Object.defineProperty,J=Object.getOwnPropertyDescriptor,A="enumerable",z="configurable",le="writable";se.f=$?H?function(xe,ce,ke){if(O(xe),ce=Z(ce),O(ke),typeof xe=="function"&&ce==="prototype"&&"value"in ke&&le in ke&&!ke[le]){var Ae=J(xe,ce);Ae&&Ae[le]&&(xe[ce]=ke.value,ke={configurable:z in ke?ke[z]:Ae[z],enumerable:A in ke?ke[A]:Ae[A],writable:!1})}return te(xe,ce,ke)}:te:function(xe,ce,ke){if(O(xe),ce=Z(ce),O(ke),U)try{return te(xe,ce,ke)}catch(Ae){}if("get"in ke||"set"in ke)throw he("Accessors not supported");return"value"in ke&&(xe[ce]=ke.value),xe}},1236:function(V,se,y){var $=y(9781),U=y(6916),H=y(5296),O=y(9114),Z=y(5656),he=y(4948),te=y(2597),J=y(4664),A=Object.getOwnPropertyDescriptor;se.f=$?A:function(le,be){if(le=Z(le),be=he(be),J)try{return A(le,be)}catch(xe){}if(te(le,be))return O(!U(H.f,le,be),le[be])}},1156:function(V,se,y){var $=y(4326),U=y(5656),H=y(8006).f,O=y(1589),Z=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],he=function(te){try{return H(te)}catch(J){return O(Z)}};V.exports.f=function(J){return Z&&$(J)=="Window"?he(J):H(U(J))}},8006:function(V,se,y){var $=y(6324),U=y(748),H=U.concat("length","prototype");se.f=Object.getOwnPropertyNames||function(Z){return $(Z,H)}},5181:function(V,se){se.f=Object.getOwnPropertySymbols},9518:function(V,se,y){var $=y(2597),U=y(614),H=y(7908),O=y(6200),Z=y(8544),he=O("IE_PROTO"),te=Object,J=te.prototype;V.exports=Z?te.getPrototypeOf:function(A){var z=H(A);if($(z,he))return z[he];var le=z.constructor;return U(le)&&z instanceof le?le.prototype:z instanceof te?J:null}},7976:function(V,se,y){var $=y(1702);V.exports=$({}.isPrototypeOf)},6324:function(V,se,y){var $=y(1702),U=y(2597),H=y(5656),O=y(1318).indexOf,Z=y(3501),he=$([].push);V.exports=function(te,J){var A=H(te),z=0,le=[],be;for(be in A)!U(Z,be)&&U(A,be)&&he(le,be);for(;J.length>z;)U(A,be=J[z++])&&(~O(le,be)||he(le,be));return le}},1956:function(V,se,y){var $=y(6324),U=y(748);V.exports=Object.keys||function(O){return $(O,U)}},5296:function(V,se){"use strict";var y={}.propertyIsEnumerable,$=Object.getOwnPropertyDescriptor,U=$&&!y.call({1:2},1);se.f=U?function(O){var Z=$(this,O);return!!Z&&Z.enumerable}:y},7674:function(V,se,y){var $=y(1702),U=y(9670),H=y(6077);V.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var O=!1,Z={},he;try{he=$(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),he(Z,[]),O=Z instanceof Array}catch(te){}return function(J,A){return U(J),H(A),O?he(J,A):J.__proto__=A,J}}():void 0)},4699:function(V,se,y){var $=y(9781),U=y(1702),H=y(1956),O=y(5656),Z=y(5296).f,he=U(Z),te=U([].push),J=function(A){return function(z){for(var le=O(z),be=H(le),xe=be.length,ce=0,ke=[],Ae;xe>ce;)Ae=be[ce++],(!$||he(le,Ae))&&te(ke,A?[Ae,le[Ae]]:le[Ae]);return ke}};V.exports={entries:J(!0),values:J(!1)}},288:function(V,se,y){"use strict";var $=y(1694),U=y(648);V.exports=$?{}.toString:function(){return"[object "+U(this)+"]"}},2140:function(V,se,y){var $=y(6916),U=y(614),H=y(111),O=TypeError;V.exports=function(Z,he){var te,J;if(he==="string"&&U(te=Z.toString)&&!H(J=$(te,Z))||U(te=Z.valueOf)&&!H(J=$(te,Z))||he!=="string"&&U(te=Z.toString)&&!H(J=$(te,Z)))return J;throw O("Can't convert object to primitive value")}},3887:function(V,se,y){var $=y(5005),U=y(1702),H=y(8006),O=y(5181),Z=y(9670),he=U([].concat);V.exports=$("Reflect","ownKeys")||function(J){var A=H.f(Z(J)),z=O.f;return z?he(A,z(J)):A}},857:function(V,se,y){var $=y(7854);V.exports=$},2626:function(V,se,y){var $=y(3070).f;V.exports=function(U,H,O){O in U||$(U,O,{configurable:!0,get:function(){return H[O]},set:function(Z){H[O]=Z}})}},7651:function(V,se,y){var $=y(6916),U=y(9670),H=y(614),O=y(4326),Z=y(2261),he=TypeError;V.exports=function(te,J){var A=te.exec;if(H(A)){var z=$(A,te,J);return z!==null&&U(z),z}if(O(te)==="RegExp")return $(Z,te,J);throw he("RegExp#exec called on incompatible receiver")}},2261:function(V,se,y){"use strict";var $=y(6916),U=y(1702),H=y(1340),O=y(7066),Z=y(2999),he=y(2309),te=y(30),J=y(9909).get,A=y(9441),z=y(7168),le=he("native-string-replace",String.prototype.replace),be=RegExp.prototype.exec,xe=be,ce=U("".charAt),ke=U("".indexOf),Ae=U("".replace),_=U("".slice),Fe=function(){var ve=/a/,L=/b*/g;return $(be,ve,"a"),$(be,L,"a"),ve.lastIndex!==0||L.lastIndex!==0}(),Se=Z.BROKEN_CARET,ee=/()??/.exec("")[1]!==void 0,Be=Fe||ee||Se||A||z;Be&&(xe=function(L){var B=this,F=J(B),oe=H(L),ye=F.raw,Ue,Xe,de,X,pe,N,_e;if(ye)return ye.lastIndex=B.lastIndex,Ue=$(xe,ye,oe),B.lastIndex=ye.lastIndex,Ue;var qe=F.groups,jt=Se&&B.sticky,_t=$(O,B),wt=B.source,Zt=0,zt=oe;if(jt&&(_t=Ae(_t,"y",""),ke(_t,"g")===-1&&(_t+="g"),zt=_(oe,B.lastIndex),B.lastIndex>0&&(!B.multiline||B.multiline&&ce(oe,B.lastIndex-1)!==`
`)&&(wt="(?: "+wt+")",zt=" "+zt,Zt++),Xe=new RegExp("^(?:"+wt+")",_t)),ee&&(Xe=new RegExp("^"+wt+"$(?!\\s)",_t)),Fe&&(de=B.lastIndex),X=$(be,jt?Xe:B,zt),jt?X?(X.input=_(X.input,Zt),X[0]=_(X[0],Zt),X.index=B.lastIndex,B.lastIndex+=X[0].length):B.lastIndex=0:Fe&&X&&(B.lastIndex=B.global?X.index+X[0].length:de),ee&&X&&X.length>1&&$(le,X[0],Xe,function(){for(pe=1;pe<arguments.length-2;pe++)arguments[pe]===void 0&&(X[pe]=void 0)}),X&&qe)for(X.groups=N=te(null),pe=0;pe<qe.length;pe++)_e=qe[pe],N[_e[0]]=X[_e[1]];return X}),V.exports=xe},7066:function(V,se,y){"use strict";var $=y(9670);V.exports=function(){var U=$(this),H="";return U.hasIndices&&(H+="d"),U.global&&(H+="g"),U.ignoreCase&&(H+="i"),U.multiline&&(H+="m"),U.dotAll&&(H+="s"),U.unicode&&(H+="u"),U.sticky&&(H+="y"),H}},4706:function(V,se,y){var $=y(6916),U=y(2597),H=y(7976),O=y(7066),Z=RegExp.prototype;V.exports=function(he){var te=he.flags;return te===void 0&&!("flags"in Z)&&!U(he,"flags")&&H(Z,he)?$(O,he):te}},2999:function(V,se,y){var $=y(7293),U=y(7854),H=U.RegExp,O=$(function(){var te=H("a","y");return te.lastIndex=2,te.exec("abcd")!=null}),Z=O||$(function(){return!H("a","y").sticky}),he=O||$(function(){var te=H("^r","gy");return te.lastIndex=2,te.exec("str")!=null});V.exports={BROKEN_CARET:he,MISSED_STICKY:Z,UNSUPPORTED_Y:O}},9441:function(V,se,y){var $=y(7293),U=y(7854),H=U.RegExp;V.exports=$(function(){var O=H(".","s");return!(O.dotAll&&O.exec(`
`)&&O.flags==="s")})},7168:function(V,se,y){var $=y(7293),U=y(7854),H=U.RegExp;V.exports=$(function(){var O=H("(?<a>b)","g");return O.exec("b").groups.a!=="b"||"b".replace(O,"$<a>c")!=="bc"})},4488:function(V){var se=TypeError;V.exports=function(y){if(y==null)throw se("Can't call method on "+y);return y}},8003:function(V,se,y){var $=y(3070).f,U=y(2597),H=y(5112),O=H("toStringTag");V.exports=function(Z,he,te){Z&&!te&&(Z=Z.prototype),Z&&!U(Z,O)&&$(Z,O,{configurable:!0,value:he})}},6200:function(V,se,y){var $=y(2309),U=y(9711),H=$("keys");V.exports=function(O){return H[O]||(H[O]=U(O))}},5465:function(V,se,y){var $=y(7854),U=y(3072),H="__core-js_shared__",O=$[H]||U(H,{});V.exports=O},2309:function(V,se,y){var $=y(1913),U=y(5465);(V.exports=function(H,O){return U[H]||(U[H]=O!==void 0?O:{})})("versions",[]).push({version:"3.22.8",mode:$?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"})},8710:function(V,se,y){var $=y(1702),U=y(9303),H=y(1340),O=y(4488),Z=$("".charAt),he=$("".charCodeAt),te=$("".slice),J=function(A){return function(z,le){var be=H(O(z)),xe=U(le),ce=be.length,ke,Ae;return xe<0||xe>=ce?A?"":void 0:(ke=he(be,xe),ke<55296||ke>56319||xe+1===ce||(Ae=he(be,xe+1))<56320||Ae>57343?A?Z(be,xe):ke:A?te(be,xe,xe+2):(ke-55296<<10)+(Ae-56320)+65536)}};V.exports={codeAt:J(!1),charAt:J(!0)}},8415:function(V,se,y){"use strict";var $=y(9303),U=y(1340),H=y(4488),O=RangeError;V.exports=function(he){var te=U(H(this)),J="",A=$(he);if(A<0||A==1/0)throw O("Wrong number of repetitions");for(;A>0;(A>>>=1)&&(te+=te))A&1&&(J+=te);return J}},3111:function(V,se,y){var $=y(1702),U=y(4488),H=y(1340),O=y(1361),Z=$("".replace),he="["+O+"]",te=RegExp("^"+he+he+"*"),J=RegExp(he+he+"*$"),A=function(z){return function(le){var be=H(U(le));return z&1&&(be=Z(be,te,"")),z&2&&(be=Z(be,J,"")),be}};V.exports={start:A(1),end:A(2),trim:A(3)}},6532:function(V,se,y){var $=y(6916),U=y(5005),H=y(5112),O=y(8052);V.exports=function(){var Z=U("Symbol"),he=Z&&Z.prototype,te=he&&he.valueOf,J=H("toPrimitive");he&&!he[J]&&O(he,J,function(A){return $(te,this)},{arity:1})}},863:function(V,se,y){var $=y(1702);V.exports=$(1 .valueOf)},1400:function(V,se,y){var $=y(9303),U=Math.max,H=Math.min;V.exports=function(O,Z){var he=$(O);return he<0?U(he+Z,0):H(he,Z)}},5656:function(V,se,y){var $=y(8361),U=y(4488);V.exports=function(H){return $(U(H))}},9303:function(V,se,y){var $=y(4758);V.exports=function(U){var H=+U;return H!==H||H===0?0:$(H)}},7466:function(V,se,y){var $=y(9303),U=Math.min;V.exports=function(H){return H>0?U($(H),9007199254740991):0}},7908:function(V,se,y){var $=y(4488),U=Object;V.exports=function(H){return U($(H))}},7593:function(V,se,y){var $=y(6916),U=y(111),H=y(2190),O=y(8173),Z=y(2140),he=y(5112),te=TypeError,J=he("toPrimitive");V.exports=function(A,z){if(!U(A)||H(A))return A;var le=O(A,J),be;if(le){if(z===void 0&&(z="default"),be=$(le,A,z),!U(be)||H(be))return be;throw te("Can't convert object to primitive value")}return z===void 0&&(z="number"),Z(A,z)}},4948:function(V,se,y){var $=y(7593),U=y(2190);V.exports=function(H){var O=$(H,"string");return U(O)?O:O+""}},1694:function(V,se,y){var $=y(5112),U=$("toStringTag"),H={};H[U]="z",V.exports=String(H)==="[object z]"},1340:function(V,se,y){var $=y(648),U=String;V.exports=function(H){if($(H)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return U(H)}},6330:function(V){var se=String;V.exports=function(y){try{return se(y)}catch($){return"Object"}}},9711:function(V,se,y){var $=y(1702),U=0,H=Math.random(),O=$(1 .toString);V.exports=function(Z){return"Symbol("+(Z===void 0?"":Z)+")_"+O(++U+H,36)}},3307:function(V,se,y){var $=y(133);V.exports=$&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},3353:function(V,se,y){var $=y(9781),U=y(7293);V.exports=$&&U(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},6061:function(V,se,y){var $=y(5112);se.f=$},5112:function(V,se,y){var $=y(7854),U=y(2309),H=y(2597),O=y(9711),Z=y(133),he=y(3307),te=U("wks"),J=$.Symbol,A=J&&J.for,z=he?J:J&&J.withoutSetter||O;V.exports=function(le){if(!H(te,le)||!(Z||typeof te[le]=="string")){var be="Symbol."+le;Z&&H(J,le)?te[le]=J[le]:he&&A?te[le]=A(be):te[le]=z(be)}return te[le]}},1361:function(V){V.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},9191:function(V,se,y){"use strict";var $=y(5005),U=y(2597),H=y(8880),O=y(7976),Z=y(7674),he=y(9920),te=y(2626),J=y(9587),A=y(6277),z=y(8340),le=y(7741),be=y(2914),xe=y(9781),ce=y(1913);V.exports=function(ke,Ae,_,Fe){var Se="stackTraceLimit",ee=Fe?2:1,Be=ke.split("."),ve=Be[Be.length-1],L=$.apply(null,Be);if(L){var B=L.prototype;if(!ce&&U(B,"cause")&&delete B.cause,!_)return L;var F=$("Error"),oe=Ae(function(ye,Ue){var Xe=A(Fe?Ue:ye,void 0),de=Fe?new L(ye):new L;return Xe!==void 0&&H(de,"message",Xe),be&&H(de,"stack",le(de.stack,2)),this&&O(B,this)&&J(de,this,oe),arguments.length>ee&&z(de,arguments[ee]),de});if(oe.prototype=B,ve!=="Error"?Z?Z(oe,F):he(oe,F,{name:!0}):xe&&Se in L&&(te(oe,L,Se),te(oe,L,"prepareStackTrace")),he(oe,L),!ce)try{B.name!==ve&&H(B,"name",ve),B.constructor=oe}catch(ye){}return oe}}},7327:function(V,se,y){"use strict";var $=y(2109),U=y(2092).filter,H=y(1194),O=H("filter");$({target:"Array",proto:!0,forced:!O},{filter:function(he){return U(this,he,arguments.length>1?arguments[1]:void 0)}})},1038:function(V,se,y){var $=y(2109),U=y(8457),H=y(7072),O=!H(function(Z){Array.from(Z)});$({target:"Array",stat:!0,forced:O},{from:U})},6992:function(V,se,y){"use strict";var $=y(5656),U=y(1223),H=y(7497),O=y(9909),Z=y(3070).f,he=y(654),te=y(1913),J=y(9781),A="Array Iterator",z=O.set,le=O.getterFor(A);V.exports=he(Array,"Array",function(xe,ce){z(this,{type:A,target:$(xe),index:0,kind:ce})},function(){var xe=le(this),ce=xe.target,ke=xe.kind,Ae=xe.index++;return!ce||Ae>=ce.length?(xe.target=void 0,{value:void 0,done:!0}):ke=="keys"?{value:Ae,done:!1}:ke=="values"?{value:ce[Ae],done:!1}:{value:[Ae,ce[Ae]],done:!1}},"values");var be=H.Arguments=H.Array;if(U("keys"),U("values"),U("entries"),!te&&J&&be.name!=="values")try{Z(be,"name",{value:"values"})}catch(xe){}},1249:function(V,se,y){"use strict";var $=y(2109),U=y(2092).map,H=y(1194),O=H("map");$({target:"Array",proto:!0,forced:!O},{map:function(he){return U(this,he,arguments.length>1?arguments[1]:void 0)}})},7042:function(V,se,y){"use strict";var $=y(2109),U=y(3157),H=y(4411),O=y(111),Z=y(1400),he=y(6244),te=y(5656),J=y(6135),A=y(5112),z=y(1194),le=y(206),be=z("slice"),xe=A("species"),ce=Array,ke=Math.max;$({target:"Array",proto:!0,forced:!be},{slice:function(_,Fe){var Se=te(this),ee=he(Se),Be=Z(_,ee),ve=Z(Fe===void 0?ee:Fe,ee),L,B,F;if(U(Se)&&(L=Se.constructor,H(L)&&(L===ce||U(L.prototype))?L=void 0:O(L)&&(L=L[xe],L===null&&(L=void 0)),L===ce||L===void 0))return le(Se,Be,ve);for(B=new(L===void 0?ce:L)(ke(ve-Be,0)),F=0;Be<ve;Be++,F++)Be in Se&&J(B,F,Se[Be]);return B.length=F,B}})},1703:function(V,se,y){var $=y(2109),U=y(7854),H=y(2104),O=y(9191),Z="WebAssembly",he=U[Z],te=Error("e",{cause:7}).cause!==7,J=function(z,le){var be={};be[z]=O(z,le,te),$({global:!0,constructor:!0,arity:1,forced:te},be)},A=function(z,le){if(he&&he[z]){var be={};be[z]=O(Z+"."+z,le,te),$({target:Z,stat:!0,constructor:!0,arity:1,forced:te},be)}};J("Error",function(z){return function(be){return H(z,this,arguments)}}),J("EvalError",function(z){return function(be){return H(z,this,arguments)}}),J("RangeError",function(z){return function(be){return H(z,this,arguments)}}),J("ReferenceError",function(z){return function(be){return H(z,this,arguments)}}),J("SyntaxError",function(z){return function(be){return H(z,this,arguments)}}),J("TypeError",function(z){return function(be){return H(z,this,arguments)}}),J("URIError",function(z){return function(be){return H(z,this,arguments)}}),A("CompileError",function(z){return function(be){return H(z,this,arguments)}}),A("LinkError",function(z){return function(be){return H(z,this,arguments)}}),A("RuntimeError",function(z){return function(be){return H(z,this,arguments)}})},8309:function(V,se,y){var $=y(9781),U=y(6530).EXISTS,H=y(1702),O=y(3070).f,Z=Function.prototype,he=H(Z.toString),te=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,J=H(te.exec),A="name";$&&!U&&O(Z,A,{configurable:!0,get:function(){try{return J(te,he(this))[1]}catch(z){return""}}})},8862:function(V,se,y){var $=y(2109),U=y(5005),H=y(2104),O=y(6916),Z=y(1702),he=y(7293),te=y(3157),J=y(614),A=y(111),z=y(2190),le=y(206),be=y(133),xe=U("JSON","stringify"),ce=Z(/./.exec),ke=Z("".charAt),Ae=Z("".charCodeAt),_=Z("".replace),Fe=Z(1 .toString),Se=/[\uD800-\uDFFF]/g,ee=/^[\uD800-\uDBFF]$/,Be=/^[\uDC00-\uDFFF]$/,ve=!be||he(function(){var oe=U("Symbol")();return xe([oe])!="[null]"||xe({a:oe})!="{}"||xe(Object(oe))!="{}"}),L=he(function(){return xe("\uDF06\uD834")!=='"\\udf06\\ud834"'||xe("\uDEAD")!=='"\\udead"'}),B=function(oe,ye){var Ue=le(arguments),Xe=ye;if(!(!A(ye)&&oe===void 0||z(oe)))return te(ye)||(ye=function(de,X){if(J(Xe)&&(X=O(Xe,this,de,X)),!z(X))return X}),Ue[1]=ye,H(xe,null,Ue)},F=function(oe,ye,Ue){var Xe=ke(Ue,ye-1),de=ke(Ue,ye+1);return ce(ee,oe)&&!ce(Be,de)||ce(Be,oe)&&!ce(ee,Xe)?"\\u"+Fe(Ae(oe,0),16):oe};xe&&$({target:"JSON",stat:!0,arity:3,forced:ve||L},{stringify:function(ye,Ue,Xe){var de=le(arguments),X=H(ve?B:xe,null,de);return L&&typeof X=="string"?_(X,Se,F):X}})},9653:function(V,se,y){"use strict";var $=y(9781),U=y(7854),H=y(1702),O=y(4705),Z=y(8052),he=y(2597),te=y(9587),J=y(7976),A=y(2190),z=y(7593),le=y(7293),be=y(8006).f,xe=y(1236).f,ce=y(3070).f,ke=y(863),Ae=y(3111).trim,_="Number",Fe=U[_],Se=Fe.prototype,ee=U.TypeError,Be=H("".slice),ve=H("".charCodeAt),L=function(Xe){var de=z(Xe,"number");return typeof de=="bigint"?de:B(de)},B=function(Xe){var de=z(Xe,"number"),X,pe,N,_e,qe,jt,_t,wt;if(A(de))throw ee("Cannot convert a Symbol value to a number");if(typeof de=="string"&&de.length>2){if(de=Ae(de),X=ve(de,0),X===43||X===45){if(pe=ve(de,2),pe===88||pe===120)return NaN}else if(X===48){switch(ve(de,1)){case 66:case 98:N=2,_e=49;break;case 79:case 111:N=8,_e=55;break;default:return+de}for(qe=Be(de,2),jt=qe.length,_t=0;_t<jt;_t++)if(wt=ve(qe,_t),wt<48||wt>_e)return NaN;return parseInt(qe,N)}}return+de};if(O(_,!Fe(" 0o1")||!Fe("0b1")||Fe("+0x1"))){for(var F=function(de){var X=arguments.length<1?0:Fe(L(de)),pe=this;return J(Se,pe)&&le(function(){ke(pe)})?te(Object(X),pe,F):X},oe=$?be(Fe):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),ye=0,Ue;oe.length>ye;ye++)he(Fe,Ue=oe[ye])&&!he(F,Ue)&&ce(F,Ue,xe(Fe,Ue));F.prototype=Se,Se.constructor=F,Z(U,_,F,{constructor:!0})}},6977:function(V,se,y){"use strict";var $=y(2109),U=y(1702),H=y(9303),O=y(863),Z=y(8415),he=y(7293),te=RangeError,J=String,A=Math.floor,z=U(Z),le=U("".slice),be=U(1 .toFixed),xe=function(Se,ee,Be){return ee===0?Be:ee%2===1?xe(Se,ee-1,Be*Se):xe(Se*Se,ee/2,Be)},ce=function(Se){for(var ee=0,Be=Se;Be>=4096;)ee+=12,Be/=4096;for(;Be>=2;)ee+=1,Be/=2;return ee},ke=function(Se,ee,Be){for(var ve=-1,L=Be;++ve<6;)L+=ee*Se[ve],Se[ve]=L%1e7,L=A(L/1e7)},Ae=function(Se,ee){for(var Be=6,ve=0;--Be>=0;)ve+=Se[Be],Se[Be]=A(ve/ee),ve=ve%ee*1e7},_=function(Se){for(var ee=6,Be="";--ee>=0;)if(Be!==""||ee===0||Se[ee]!==0){var ve=J(Se[ee]);Be=Be===""?ve:Be+z("0",7-ve.length)+ve}return Be},Fe=he(function(){return be(8e-5,3)!=="0.000"||be(.9,0)!=="1"||be(1.255,2)!=="1.25"||be(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!he(function(){be({})});$({target:"Number",proto:!0,forced:Fe},{toFixed:function(ee){var Be=O(this),ve=H(ee),L=[0,0,0,0,0,0],B="",F="0",oe,ye,Ue,Xe;if(ve<0||ve>20)throw te("Incorrect fraction digits");if(Be!=Be)return"NaN";if(Be<=-1e21||Be>=1e21)return J(Be);if(Be<0&&(B="-",Be=-Be),Be>1e-21)if(oe=ce(Be*xe(2,69,1))-69,ye=oe<0?Be*xe(2,-oe,1):Be/xe(2,oe,1),ye*=4503599627370496,oe=52-oe,oe>0){for(ke(L,0,ye),Ue=ve;Ue>=7;)ke(L,1e7,0),Ue-=7;for(ke(L,xe(10,Ue,1),0),Ue=oe-1;Ue>=23;)Ae(L,8388608),Ue-=23;Ae(L,1<<Ue),ke(L,1,1),Ae(L,2),F=_(L)}else ke(L,0,ye),ke(L,1<<-oe,0),F=_(L)+z("0",ve);return ve>0?(Xe=F.length,F=B+(Xe<=ve?"0."+z("0",ve-Xe)+F:le(F,0,Xe-ve)+"."+le(F,Xe-ve))):F=B+F,F}})},5003:function(V,se,y){var $=y(2109),U=y(7293),H=y(5656),O=y(1236).f,Z=y(9781),he=U(function(){O(1)}),te=!Z||he;$({target:"Object",stat:!0,forced:te,sham:!Z},{getOwnPropertyDescriptor:function(A,z){return O(H(A),z)}})},9337:function(V,se,y){var $=y(2109),U=y(9781),H=y(3887),O=y(5656),Z=y(1236),he=y(6135);$({target:"Object",stat:!0,sham:!U},{getOwnPropertyDescriptors:function(J){for(var A=O(J),z=Z.f,le=H(A),be={},xe=0,ce,ke;le.length>xe;)ke=z(A,ce=le[xe++]),ke!==void 0&&he(be,ce,ke);return be}})},9660:function(V,se,y){var $=y(2109),U=y(133),H=y(7293),O=y(5181),Z=y(7908),he=!U||H(function(){O.f(1)});$({target:"Object",stat:!0,forced:he},{getOwnPropertySymbols:function(J){var A=O.f;return A?A(Z(J)):[]}})},7941:function(V,se,y){var $=y(2109),U=y(7908),H=y(1956),O=y(7293),Z=O(function(){H(1)});$({target:"Object",stat:!0,forced:Z},{keys:function(te){return H(U(te))}})},1539:function(V,se,y){var $=y(1694),U=y(8052),H=y(288);$||U(Object.prototype,"toString",H,{unsafe:!0})},6833:function(V,se,y){var $=y(2109),U=y(4699).values;$({target:"Object",stat:!0},{values:function(O){return U(O)}})},4916:function(V,se,y){"use strict";var $=y(2109),U=y(2261);$({target:"RegExp",proto:!0,forced:/./.exec!==U},{exec:U})},7601:function(V,se,y){"use strict";y(4916);var $=y(2109),U=y(6916),H=y(1702),O=y(614),Z=y(111),he=function(){var A=!1,z=/[ac]/;return z.exec=function(){return A=!0,/./.exec.apply(this,arguments)},z.test("abc")===!0&&A}(),te=TypeError,J=H(/./.test);$({target:"RegExp",proto:!0,forced:!he},{test:function(A){var z=this.exec;if(!O(z))return J(this,A);var le=U(z,this,A);if(le!==null&&!Z(le))throw new te("RegExp exec method returned something other than an Object or null");return!!le}})},9714:function(V,se,y){"use strict";var $=y(6530).PROPER,U=y(8052),H=y(9670),O=y(1340),Z=y(7293),he=y(4706),te="toString",J=RegExp.prototype,A=J[te],z=Z(function(){return A.call({source:"a",flags:"b"})!="/a/b"}),le=$&&A.name!=te;(z||le)&&U(RegExp.prototype,te,function(){var xe=H(this),ce=O(xe.source),ke=O(he(xe));return"/"+ce+"/"+ke},{unsafe:!0})},8783:function(V,se,y){"use strict";var $=y(8710).charAt,U=y(1340),H=y(9909),O=y(654),Z="String Iterator",he=H.set,te=H.getterFor(Z);O(String,"String",function(J){he(this,{type:Z,string:U(J),index:0})},function(){var A=te(this),z=A.string,le=A.index,be;return le>=z.length?{value:void 0,done:!0}:(be=$(z,le),A.index+=be.length,{value:be,done:!1})})},5306:function(V,se,y){"use strict";var $=y(2104),U=y(6916),H=y(1702),O=y(7007),Z=y(7293),he=y(9670),te=y(614),J=y(9303),A=y(7466),z=y(1340),le=y(4488),be=y(1530),xe=y(8173),ce=y(647),ke=y(7651),Ae=y(5112),_=Ae("replace"),Fe=Math.max,Se=Math.min,ee=H([].concat),Be=H([].push),ve=H("".indexOf),L=H("".slice),B=function(Ue){return Ue===void 0?Ue:String(Ue)},F=function(){return"a".replace(/./,"$0")==="$0"}(),oe=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),ye=!Z(function(){var Ue=/./;return Ue.exec=function(){var Xe=[];return Xe.groups={a:"7"},Xe},"".replace(Ue,"$<a>")!=="7"});O("replace",function(Ue,Xe,de){var X=oe?"$":"$0";return[function(N,_e){var qe=le(this),jt=N==null?void 0:xe(N,_);return jt?U(jt,N,qe,_e):U(Xe,z(qe),N,_e)},function(pe,N){var _e=he(this),qe=z(pe);if(typeof N=="string"&&ve(N,X)===-1&&ve(N,"$<")===-1){var jt=de(Xe,_e,qe,N);if(jt.done)return jt.value}var _t=te(N);_t||(N=z(N));var wt=_e.global;if(wt){var Zt=_e.unicode;_e.lastIndex=0}for(var zt=[];;){var ki=ke(_e,qe);if(ki===null||(Be(zt,ki),!wt))break;var hi=z(ki[0]);hi===""&&(_e.lastIndex=be(qe,A(_e.lastIndex),Zt))}for(var Ji="",Si=0,Di=0;Di<zt.length;Di++){ki=zt[Di];for(var ci=z(ki[0]),On=Fe(Se(J(ki.index),qe.length),0),Wi=[],x=1;x<ki.length;x++)Be(Wi,B(ki[x]));var P=ki.groups;if(_t){var re=ee([ci],Wi,On,qe);P!==void 0&&Be(re,P);var Ie=z($(N,void 0,re))}else Ie=ce(ci,qe,On,Wi,P,N);On>=Si&&(Ji+=L(qe,Si,On)+Ie,Si=On+ci.length)}return Ji+L(qe,Si)}]},!ye||!F||oe)},4032:function(V,se,y){"use strict";var $=y(2109),U=y(7854),H=y(6916),O=y(1702),Z=y(1913),he=y(9781),te=y(133),J=y(7293),A=y(2597),z=y(7976),le=y(9670),be=y(5656),xe=y(4948),ce=y(1340),ke=y(9114),Ae=y(30),_=y(1956),Fe=y(8006),Se=y(1156),ee=y(5181),Be=y(1236),ve=y(3070),L=y(6048),B=y(5296),F=y(8052),oe=y(2309),ye=y(6200),Ue=y(3501),Xe=y(9711),de=y(5112),X=y(6061),pe=y(7235),N=y(6532),_e=y(8003),qe=y(9909),jt=y(2092).forEach,_t=ye("hidden"),wt="Symbol",Zt="prototype",zt=qe.set,ki=qe.getterFor(wt),hi=Object[Zt],Ji=U.Symbol,Si=Ji&&Ji[Zt],Di=U.TypeError,ci=U.QObject,On=Be.f,Wi=ve.f,x=Se.f,P=B.f,re=O([].push),Ie=oe("symbols"),Ve=oe("op-symbols"),it=oe("wks"),nt=!ci||!ci[Zt]||!ci[Zt].findChild,Qt=he&&J(function(){return Ae(Wi({},"a",{get:function(){return Wi(this,"a",{value:7}).a}})).a!=7})?function(Ti,Pi,rn){var Ai=On(hi,Pi);Ai&&delete hi[Pi],Wi(Ti,Pi,rn),Ai&&Ti!==hi&&Wi(hi,Pi,Ai)}:Wi,pi=function(Ti,Pi){var rn=Ie[Ti]=Ae(Si);return zt(rn,{type:wt,tag:Ti,description:Pi}),he||(rn.description=Pi),rn},Ci=function(Pi,rn,Ai){Pi===hi&&Ci(Ve,rn,Ai),le(Pi);var Bi=xe(rn);return le(Ai),A(Ie,Bi)?(Ai.enumerable?(A(Pi,_t)&&Pi[_t][Bi]&&(Pi[_t][Bi]=!1),Ai=Ae(Ai,{enumerable:ke(0,!1)})):(A(Pi,_t)||Wi(Pi,_t,ke(1,{})),Pi[_t][Bi]=!0),Qt(Pi,Bi,Ai)):Wi(Pi,Bi,Ai)},pn=function(Pi,rn){le(Pi);var Ai=be(rn),Bi=_(Ai).concat(Pn(Ai));return jt(Bi,function(Vn){(!he||H(ji,Ai,Vn))&&Ci(Pi,Vn,Ai[Vn])}),Pi},Zi=function(Pi,rn){return rn===void 0?Ae(Pi):pn(Ae(Pi),rn)},ji=function(Pi){var rn=xe(Pi),Ai=H(P,this,rn);return this===hi&&A(Ie,rn)&&!A(Ve,rn)?!1:Ai||!A(this,rn)||!A(Ie,rn)||A(this,_t)&&this[_t][rn]?Ai:!0},Yi=function(Pi,rn){var Ai=be(Pi),Bi=xe(rn);if(!(Ai===hi&&A(Ie,Bi)&&!A(Ve,Bi))){var Vn=On(Ai,Bi);return Vn&&A(Ie,Bi)&&!(A(Ai,_t)&&Ai[_t][Bi])&&(Vn.enumerable=!0),Vn}},Mi=function(Pi){var rn=x(be(Pi)),Ai=[];return jt(rn,function(Bi){!A(Ie,Bi)&&!A(Ue,Bi)&&re(Ai,Bi)}),Ai},Pn=function(Ti){var Pi=Ti===hi,rn=x(Pi?Ve:be(Ti)),Ai=[];return jt(rn,function(Bi){A(Ie,Bi)&&(!Pi||A(hi,Bi))&&re(Ai,Ie[Bi])}),Ai};te||(Ji=function(){if(z(Si,this))throw Di("Symbol is not a constructor");var Pi=!arguments.length||arguments[0]===void 0?void 0:ce(arguments[0]),rn=Xe(Pi),Ai=function(Bi){this===hi&&H(Ai,Ve,Bi),A(this,_t)&&A(this[_t],rn)&&(this[_t][rn]=!1),Qt(this,rn,ke(1,Bi))};return he&&nt&&Qt(hi,rn,{configurable:!0,set:Ai}),pi(rn,Pi)},Si=Ji[Zt],F(Si,"toString",function(){return ki(this).tag}),F(Ji,"withoutSetter",function(Ti){return pi(Xe(Ti),Ti)}),B.f=ji,ve.f=Ci,L.f=pn,Be.f=Yi,Fe.f=Se.f=Mi,ee.f=Pn,X.f=function(Ti){return pi(de(Ti),Ti)},he&&(Wi(Si,"description",{configurable:!0,get:function(){return ki(this).description}}),Z||F(hi,"propertyIsEnumerable",ji,{unsafe:!0}))),$({global:!0,constructor:!0,wrap:!0,forced:!te,sham:!te},{Symbol:Ji}),jt(_(it),function(Ti){pe(Ti)}),$({target:wt,stat:!0,forced:!te},{useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),$({target:"Object",stat:!0,forced:!te,sham:!he},{create:Zi,defineProperty:Ci,defineProperties:pn,getOwnPropertyDescriptor:Yi}),$({target:"Object",stat:!0,forced:!te},{getOwnPropertyNames:Mi}),N(),_e(Ji,wt),Ue[_t]=!0},1817:function(V,se,y){"use strict";var $=y(2109),U=y(9781),H=y(7854),O=y(1702),Z=y(2597),he=y(614),te=y(7976),J=y(1340),A=y(3070).f,z=y(9920),le=H.Symbol,be=le&&le.prototype;if(U&&he(le)&&(!("description"in be)||le().description!==void 0)){var xe={},ce=function(){var ve=arguments.length<1||arguments[0]===void 0?void 0:J(arguments[0]),L=te(be,this)?new le(ve):ve===void 0?le():le(ve);return ve===""&&(xe[L]=!0),L};z(ce,le),ce.prototype=be,be.constructor=ce;var ke=String(le("test"))=="Symbol(test)",Ae=O(be.toString),_=O(be.valueOf),Fe=/^Symbol\((.*)\)[^)]+$/,Se=O("".replace),ee=O("".slice);A(be,"description",{configurable:!0,get:function(){var ve=_(this),L=Ae(ve);if(Z(xe,ve))return"";var B=ke?ee(L,7,-1):Se(L,Fe,"$1");return B===""?void 0:B}}),$({global:!0,constructor:!0,forced:!0},{Symbol:ce})}},763:function(V,se,y){var $=y(2109),U=y(5005),H=y(2597),O=y(1340),Z=y(2309),he=y(735),te=Z("string-to-symbol-registry"),J=Z("symbol-to-string-registry");$({target:"Symbol",stat:!0,forced:!he},{for:function(A){var z=O(A);if(H(te,z))return te[z];var le=U("Symbol")(z);return te[z]=le,J[le]=z,le}})},2165:function(V,se,y){var $=y(7235);$("iterator")},2526:function(V,se,y){y(4032),y(763),y(6620),y(8862),y(9660)},6620:function(V,se,y){var $=y(2109),U=y(2597),H=y(2190),O=y(6330),Z=y(2309),he=y(735),te=Z("symbol-to-string-registry");$({target:"Symbol",stat:!0,forced:!he},{keyFor:function(A){if(!H(A))throw TypeError(O(A)+" is not a symbol");if(U(te,A))return te[A]}})},4747:function(V,se,y){var $=y(7854),U=y(8324),H=y(8509),O=y(8533),Z=y(8880),he=function(J){if(J&&J.forEach!==O)try{Z(J,"forEach",O)}catch(A){J.forEach=O}};for(var te in U)U[te]&&he($[te]&&$[te].prototype);he(H)},3948:function(V,se,y){var $=y(7854),U=y(8324),H=y(8509),O=y(6992),Z=y(8880),he=y(5112),te=he("iterator"),J=he("toStringTag"),A=O.values,z=function(be,xe){if(be){if(be[te]!==A)try{Z(be,te,A)}catch(ke){be[te]=A}if(be[J]||Z(be,J,xe),U[xe]){for(var ce in O)if(be[ce]!==O[ce])try{Z(be,ce,O[ce])}catch(ke){be[ce]=O[ce]}}}};for(var le in U)z($[le]&&$[le].prototype,le);z(H,"DOMTokenList")},3744:function(V,se){"use strict";var y;y={value:!0},se.Z=($,U)=>{const H=$.__vccOpts||$;for(const[O,Z]of U)H[O]=Z;return H}}},j={};function f(V){var se=j[V];if(se!==void 0)return se.exports;var y=j[V]={exports:{}};return R[V].call(y.exports,y,y.exports,f),y.exports}(function(){f.d=function(V,se){for(var y in se)f.o(se,y)&&!f.o(V,y)&&Object.defineProperty(V,y,{enumerable:!0,get:se[y]})}})(),function(){f.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(V){if(typeof window=="object")return window}}()}(),function(){f.o=function(V,se){return Object.prototype.hasOwnProperty.call(V,se)}}(),function(){f.r=function(V){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(V,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(V,"__esModule",{value:!0})}}(),function(){f.p=""}();var Q={};(function(){"use strict";if(f.r(Q),f.d(Q,{default:function(){return El},install:function(){return Ia}}),typeof window!="undefined"){var V=window.document.currentScript,se=f(7679);V=se(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:se});var y=V&&V.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);y&&(f.p=y[1])}var $=null,U=gt("./node_modules/vue/index.js"),H=["width","height"],O={key:0,id:"title"},Z=["transform"],he=["transform","width","height"],te=["transform"],J=["width","height","y"],A=["x","y","dy"],z={key:1},le=["x","y"],be=["x1","x2","y1","y2"],xe=["x1","y1","x2","y2","stroke-width","stroke"],ce={key:0},ke=["x1","x2","y1","y2"],Ae={key:1},_=["x1","x2","y1"],Fe=["x1","y1","x2","y2"],Se=["y"];function ee(o,n,s,c,d,v){return(0,U.openBlock)(),(0,U.createElementBlock)("svg",{width:v.fullSvgWidth,height:v.fullSvgHeight,"aria-labelledby":"title",role:"img"},[s.title?((0,U.openBlock)(),(0,U.createElementBlock)("title",O,(0,U.toDisplayString)(s.title),1)):(0,U.createCommentVNode)("",!0),(0,U.createElementVNode)("g",{transform:"translate(0,".concat(s.showYAxis?d.extraTopHeightForYAxisLabel:0,")")},[(0,U.createElementVNode)("g",{transform:"translate(".concat(s.showYAxis?v.yAxisWidth:0,",0)"),width:v.innerChartWidth,height:v.innerChartHeight},[((0,U.openBlock)(!0),(0,U.createElementBlock)(U.Fragment,null,(0,U.renderList)(v.chartData,function(C){return(0,U.openBlock)(),(0,U.createElementBlock)("g",{key:C.index,transform:"translate(".concat(C.x,",0)")},[(0,U.createElementVNode)("title",null,[(0,U.renderSlot)(o.$slots,"title",{bar:C},function(){return[(0,U.createElementVNode)("tspan",null,(0,U.toDisplayString)(C.staticValue),1)]})]),(0,U.createElementVNode)("rect",{width:C.width,height:C.height,x:2,y:C.yOffset,style:(0,U.normalizeStyle)({fill:C.barColor})},null,12,J),s.showValues?((0,U.openBlock)(),(0,U.createElementBlock)("text",{key:0,x:C.midPoint,y:C.yOffset,dy:"".concat(C.height<22?"-5px":"15px"),"text-anchor":"middle",style:(0,U.normalizeStyle)({fill:C.height<22?C.textColor:C.textAltColor,font:s.textFont})},(0,U.toDisplayString)(C.staticValue),13,A)):(0,U.createCommentVNode)("",!0),s.showXAxis?((0,U.openBlock)(),(0,U.createElementBlock)("g",z,[(0,U.renderSlot)(o.$slots,"label",{bar:C,textStyle:{fill:s.textColor,font:s.textFont}},function(){return[(0,U.createElementVNode)("text",{x:C.midPoint,y:"".concat(C.yLabel+10,"px"),"text-anchor":"middle",style:(0,U.normalizeStyle)({fill:s.textColor,font:s.textFont})},(0,U.toDisplayString)(C.label),13,le)]}),(0,U.createElementVNode)("line",{x1:C.midPoint,x2:C.midPoint,y1:v.innerChartHeight+3,y2:v.innerChartHeight,stroke:"#555555","stroke-width":"1"},null,8,be)])):(0,U.createCommentVNode)("",!0)],8,te)}),128)),s.showTrendLine?((0,U.openBlock)(),(0,U.createElementBlock)("line",{key:0,x1:v.trendLine.x1,y1:v.trendLine.y1,x2:v.trendLine.x2,y2:v.trendLine.y2,"stroke-width":s.trendLineWidth,stroke:s.trendLineColor},null,8,xe)):(0,U.createCommentVNode)("",!0)],8,he),s.showXAxis?((0,U.openBlock)(),(0,U.createElementBlock)("g",ce,[(0,U.createElementVNode)("line",{x1:s.showYAxis?v.yAxisWidth-1:2,x2:v.innerChartWidth+v.yAxisWidth,y1:v.innerChartHeight,y2:v.innerChartHeight,stroke:"#555555","stroke-width":"1"},null,8,ke)])):(0,U.createCommentVNode)("",!0),s.showYAxis?((0,U.openBlock)(),(0,U.createElementBlock)("g",Ae,[(0,U.createElementVNode)("line",{x1:v.yAxisWidth-1,x2:v.yAxisWidth-1,y1:v.innerChartHeight,y2:"0",stroke:"#555555","stroke-width":"1"},null,8,_),((0,U.openBlock)(!0),(0,U.createElementBlock)(U.Fragment,null,(0,U.renderList)(v.getTicks(),function(C){return(0,U.openBlock)(),(0,U.createElementBlock)("g",{key:C.key},[(0,U.createElementVNode)("line",{x1:C.x1,y1:C.y1,x2:C.x2,y2:C.y2,stroke:"#555555","stroke-width":"1"},null,8,Fe),(0,U.createElementVNode)("text",{x:"0",y:C.yText,"alignment-baseline":"central",style:(0,U.normalizeStyle)({fill:s.textColor,font:s.textFont})},(0,U.toDisplayString)(C.text),13,Se)])}),128))])):(0,U.createCommentVNode)("",!0)],8,Z)],8,H)}var Be=f(7941),ve=f(2526),L=f(7327),B=f(1539),F=f(5003),oe=f(4747),ye=f(9337);function Ue(o,n,s){return n in o?Object.defineProperty(o,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[n]=s,o}function Xe(o,n){var s=Object.keys(o);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(o);n&&(c=c.filter(function(d){return Object.getOwnPropertyDescriptor(o,d).enumerable})),s.push.apply(s,c)}return s}function de(o){for(var n=1;n<arguments.length;n++){var s=arguments[n]!=null?arguments[n]:{};n%2?Xe(Object(s),!0).forEach(function(c){Ue(o,c,s[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(s)):Xe(Object(s)).forEach(function(c){Object.defineProperty(o,c,Object.getOwnPropertyDescriptor(s,c))})}return o}function X(o,n){(n==null||n>o.length)&&(n=o.length);for(var s=0,c=new Array(n);s<n;s++)c[s]=o[s];return c}function pe(o){if(Array.isArray(o))return X(o)}var N=f(1817),_e=f(2165),qe=f(6992),jt=f(8783),_t=f(3948),wt=f(1038);function Zt(o){if(typeof Symbol!="undefined"&&o[Symbol.iterator]!=null||o["@@iterator"]!=null)return Array.from(o)}var zt=f(7042),ki=f(8309),hi=f(4916),Ji=f(7601);function Si(o,n){if(o){if(typeof o=="string")return X(o,n);var s=Object.prototype.toString.call(o).slice(8,-1);if(s==="Object"&&o.constructor&&(s=o.constructor.name),s==="Map"||s==="Set")return Array.from(o);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return X(o,n)}}var Di=f(1703);function ci(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function On(o){return pe(o)||Zt(o)||Si(o)||ci()}function Wi(o){"@babel/helpers - typeof";return Wi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Wi(o)}var x=f(9653),P=f(1249),re=f(6977),Ie=f(9714),Ve=f(6833),it=f(5306);function nt(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Qt(o,n){o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.__proto__=n}var pi={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ci={duration:.5,overwrite:!1,delay:0},pn,Zi=1e8,ji=1/Zi,Yi=Math.PI*2,Mi=Yi/4,Pn=0,Ti=Math.sqrt,Pi=Math.cos,rn=Math.sin,Ai=function(n){return typeof n=="string"},Bi=function(n){return typeof n=="function"},Vn=function(n){return typeof n=="number"},ls=function(n){return typeof n=="undefined"},Zn=function(n){return typeof n=="object"},rr=function(n){return n!==!1},vr=function(){return typeof window!="undefined"},Yn=function(n){return Bi(n)||Ai(n)},br=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},_n=Array.isArray,ct=/(?:-?\.?\d|\.)+/gi,Vt=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Jt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,vi=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Gi=/[+-]=-?[.\d]+/,vn=/[^,'"\[\]\s]+/gi,p=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Li,Cn,cn,Ir,Dn={},Gn={},ts,is=function(n){return(Gn=Ke(n,Dn))&&wi},Fn=function(n,s){return console.warn("Invalid property",n,"set to",s,"Missing plugin? gsap.registerPlugin()")},Fr=function(n,s){return!s&&console.warn(n)},ns=function(n,s){return n&&(Dn[n]=s)&&Gn&&(Gn[n]=s)||Dn},cs=function(){return 0},Vs={},ie=[],me={},Le,Ge={},Ot={},Bt=30,ii=[],Ii="",Fi=function(n){var s=n[0],c,d;if(Zn(s)||Bi(s)||(n=[n]),!(c=(s._gsap||{}).harness)){for(d=ii.length;d--&&!ii[d].targetTest(s););c=ii[d]}for(d=n.length;d--;)n[d]&&(n[d]._gsap||(n[d]._gsap=new zr(n[d],c)))||n.splice(d,1);return n},Hi=function(n){return n._gsap||Fi(ss(n))[0]._gsap},qi=function(n,s,c){return(c=n[s])&&Bi(c)?n[s]():ls(c)&&n.getAttribute&&n.getAttribute(s)||c},xn=function(n,s){return(n=n.split(",")).forEach(s)||n},gn=function(n){return Math.round(n*1e5)/1e5||0},$n=function(n){return Math.round(n*1e7)/1e7||0},Dr=function(n,s){var c=s.charAt(0),d=parseFloat(s.substr(2));return n=parseFloat(n),c==="+"?n+d:c==="-"?n-d:c==="*"?n*d:n/d},sr=function(n,s){for(var c=s.length,d=0;n.indexOf(s[d])<0&&++d<c;);return d<c},Nr=function(){var n=ie.length,s=ie.slice(0),c,d;for(me={},ie.length=0,c=0;c<n;c++)d=s[c],d&&d._lazy&&(d.render(d._lazy[0],d._lazy[1],!0)._lazy=0)},js=function(n,s,c,d){ie.length&&Nr(),n.render(s,c,d),ie.length&&Nr()},Ss=function(n){var s=parseFloat(n);return(s||s===0)&&(n+"").match(vn).length<2?s:Ai(n)?n.trim():n},Xr=function(n){return n},Mn=function(n,s){for(var c in s)c in n||(n[c]=s[c]);return n},ge=function(n){return function(s,c){for(var d in c)d in s||d==="duration"&&n||d==="ease"||(s[d]=c[d])}},Ke=function(n,s){for(var c in s)n[c]=s[c];return n},ut=function o(n,s){for(var c in s)c!=="__proto__"&&c!=="constructor"&&c!=="prototype"&&(n[c]=Zn(s[c])?o(n[c]||(n[c]={}),s[c]):s[c]);return n},Pt=function(n,s){var c={},d;for(d in n)d in s||(c[d]=n[d]);return c},It=function(n){var s=n.parent||Li,c=n.keyframes?ge(_n(n.keyframes)):Mn;if(rr(n.inherit))for(;s;)c(n,s.vars.defaults),s=s.parent||s._dp;return n},li=function(n,s){for(var c=n.length,d=c===s.length;d&&c--&&n[c]===s[c];);return c<0},ei=function(n,s,c,d,v){c===void 0&&(c="_first"),d===void 0&&(d="_last");var C=n[d],D;if(v)for(D=s[v];C&&C[v]>D;)C=C._prev;return C?(s._next=C._next,C._next=s):(s._next=n[c],n[c]=s),s._next?s._next._prev=s:n[d]=s,s._prev=C,s.parent=s._dp=n,s},Yt=function(n,s,c,d){c===void 0&&(c="_first"),d===void 0&&(d="_last");var v=s._prev,C=s._next;v?v._next=C:n[c]===s&&(n[c]=C),C?C._prev=v:n[d]===s&&(n[d]=v),s._next=s._prev=s.parent=null},En=function(n,s){n.parent&&(!s||n.parent.autoRemoveChildren)&&n.parent.remove(n),n._act=0},Qn=function(n,s){if(n&&(!s||s._end>n._dur||s._start<0))for(var c=n;c;)c._dirty=1,c=c.parent;return n},dr=function(n){for(var s=n.parent;s&&s.parent;)s._dirty=1,s.totalDuration(),s=s.parent;return n},lr=function o(n){return!n||n._ts&&o(n.parent)},hr=function(n){return n._repeat?Us(n._tTime,n=n.duration()+n._rDelay)*n:0},Us=function(n,s){var c=Math.floor(n/=s);return n&&c===n?c-1:c},Br=function(n,s){return(n-s._start)*s._ts+(s._ts>=0?0:s._dirty?s.totalDuration():s._tDur)},lo=function(n){return n._end=$n(n._start+(n._tDur/Math.abs(n._ts||n._rts||ji)||0))},$s=function(n,s){var c=n._dp;return c&&c.smoothChildTiming&&n._ts&&(n._start=$n(c._time-(n._ts>0?s/n._ts:((n._dirty?n.totalDuration():n._tDur)-s)/-n._ts)),lo(n),c._dirty||Qn(c,n)),n},Ao=function(n,s){var c;if((s._time||s._initted&&!s._dur)&&(c=Br(n.rawTime(),s),(!s._dur||uo(0,s.totalDuration(),c)-s._tTime>ji)&&s.render(c,!0)),Qn(n,s)._dp&&n._initted&&n._time>=n._dur&&n._ts){if(n._dur<n.duration())for(c=n;c._dp;)c.rawTime()>=0&&c.totalTime(c._tTime),c=c._dp;n._zTime=-ji}},rs=function(n,s,c,d){return s.parent&&En(s),s._start=$n((Vn(c)?c:c||n!==Li?us(n,c,s):n._time)+s._delay),s._end=$n(s._start+(s.totalDuration()/Math.abs(s.timeScale())||0)),ei(n,s,"_first","_last",n._sort?"_start":0),Gs(s)||(n._recent=s),d||Ao(n,s),n},wo=function(n,s){return(Dn.ScrollTrigger||Fn("scrollTrigger",s))&&Dn.ScrollTrigger.create(s,n)},Oo=function(n,s,c,d){if(ho(n,s),!n._initted)return 1;if(!c&&n._pt&&(n._dur&&n.vars.lazy!==!1||!n._dur&&n.vars.lazy)&&Le!==Ki.frame)return ie.push(n),n._lazy=[s,d],1},ba=function o(n){var s=n.parent;return s&&s._ts&&s._initted&&!s._lock&&(s.rawTime()<0||o(s))},Gs=function(n){var s=n.data;return s==="isFromStart"||s==="isStart"},xo=function(n,s,c,d){var v=n.ratio,C=s<0||!s&&(!n._start&&ba(n)&&!(!n._initted&&Gs(n))||(n._ts<0||n._dp._ts<0)&&!Gs(n))?0:1,D=n._rDelay,q=0,K,ue,fe;if(D&&n._repeat&&(q=uo(0,n._tDur,s),ue=Us(q,D),n._yoyo&&ue&1&&(C=1-C),ue!==Us(n._tTime,D)&&(v=1-C,n.vars.repeatRefresh&&n._initted&&n.invalidate())),C!==v||d||n._zTime===ji||!s&&n._zTime){if(!n._initted&&Oo(n,s,d,c))return;for(fe=n._zTime,n._zTime=s||(c?ji:0),c||(c=s&&!fe),n.ratio=C,n._from&&(C=1-C),n._time=0,n._tTime=q,K=n._pt;K;)K.r(C,K.d),K=K._next;n._startAt&&s<0&&n._startAt.render(s,!0,!0),n._onUpdate&&!c&&Me(n,"onUpdate"),q&&n._repeat&&!c&&n.parent&&Me(n,"onRepeat"),(s>=n._tDur||s<0)&&n.ratio===C&&(C&&En(n,1),c||(Me(n,C?"onComplete":"onReverseComplete",!0),n._prom&&n._prom()))}else n._zTime||(n._zTime=s)},Ro=function(n,s,c){var d;if(c>s)for(d=n._first;d&&d._start<=c;){if(d.data==="isPause"&&d._start>s)return d;d=d._next}else for(d=n._last;d&&d._start>=c;){if(d.data==="isPause"&&d._start<s)return d;d=d._prev}},Ws=function(n,s,c,d){var v=n._repeat,C=$n(s)||0,D=n._tTime/n._tDur;return D&&!d&&(n._time*=C/n._dur),n._dur=C,n._tDur=v?v<0?1e10:$n(C*(v+1)+n._rDelay*v):C,D>0&&!d?$s(n,n._tTime=n._tDur*D):n.parent&&lo(n),c||Qn(n.parent,n),n},ca=function(n){return n instanceof Mr?Qn(n):Ws(n,n._dur)},ya={_start:0,endTime:cs,totalDuration:cs},us=function o(n,s,c){var d=n.labels,v=n._recent||ya,C=n.duration()>=Zi?v.endTime(!1):n._dur,D,q,K;return Ai(s)&&(isNaN(s)||s in d)?(q=s.charAt(0),K=s.substr(-1)==="%",D=s.indexOf("="),q==="<"||q===">"?(D>=0&&(s=s.replace(/=/,"")),(q==="<"?v._start:v.endTime(v._repeat>=0))+(parseFloat(s.substr(1))||0)*(K?(D<0?v:c).totalDuration()/100:1)):D<0?(s in d||(d[s]=C),d[s]):(q=parseFloat(s.charAt(D-1)+s.substr(D+1)),K&&c&&(q=q/100*(_n(c)?c[0]:c).totalDuration()),D>1?o(n,s.substr(0,D-1),c)+q:C+q)):s==null?C:+s},co=function(n,s,c){var d=Vn(s[1]),v=(d?2:1)+(n<2?0:1),C=s[v],D,q;if(d&&(C.duration=s[1]),C.parent=c,n){for(D=C,q=c;q&&!("immediateRender"in D);)D=q.vars.defaults||{},q=rr(q.vars.inherit)&&q.parent;C.immediateRender=rr(D.immediateRender),n<2?C.runBackwards=1:C.startAt=s[v-1]}return new pr(s[0],C,s[v+1])},Xs=function(n,s){return n||n===0?s(n):s},uo=function(n,s,c){return c<n?n:c>s?s:c},yr=function(n,s){return!Ai(n)||!(s=p.exec(n))?"":s[1]},jo=function(n,s,c){return Xs(c,function(d){return uo(n,s,d)})},Tr=[].slice,ua=function(n,s){return n&&Zn(n)&&"length"in n&&(!s&&!n.length||n.length-1 in n&&Zn(n[0]))&&!n.nodeType&&n!==Cn},Zo=function(n,s,c){return c===void 0&&(c=[]),n.forEach(function(d){var v;return Ai(d)&&!s||ua(d,1)?(v=c).push.apply(v,ss(d)):c.push(d)})||c},ss=function(n,s,c){return Ai(n)&&!c&&(cn||!Hr())?Tr.call((s||Ir).querySelectorAll(n),0):_n(n)?Zo(n,c):ua(n)?Tr.call(n,0):n?[n]:[]},Yo=function(n){return n=ss(n)[0]||Fr("Invalid scope")||{},function(s){var c=n.current||n.nativeElement||n;return ss(s,c.querySelectorAll?c:c===n?Fr("Invalid scope")||Ir.createElement("div"):n)}},Js=function(n){return n.sort(function(){return .5-Math.random()})},_a=function(n){if(Bi(n))return n;var s=Zn(n)?n:{each:n},c=Jn(s.ease),d=s.from||0,v=parseFloat(s.base)||0,C={},D=d>0&&d<1,q=isNaN(d)||D,K=s.axis,ue=d,fe=d;return Ai(d)?ue=fe={center:.5,edges:.5,end:1}[d]||0:!D&&q&&(ue=d[0],fe=d[1]),function(Ee,De,et){var Ne=(et||s).length,vt=C[Ne],Je,Ye,at,st,Qe,Tt,At,bt,kt;if(!vt){if(kt=s.grid==="auto"?0:(s.grid||[1,Zi])[1],!kt){for(At=-Zi;At<(At=et[kt++].getBoundingClientRect().left)&&kt<Ne;);kt--}for(vt=C[Ne]=[],Je=q?Math.min(kt,Ne)*ue-.5:d%kt,Ye=kt===Zi?0:q?Ne*fe/kt-.5:d/kt|0,At=0,bt=Zi,Tt=0;Tt<Ne;Tt++)at=Tt%kt-Je,st=Ye-(Tt/kt|0),vt[Tt]=Qe=K?Math.abs(K==="y"?st:at):Ti(at*at+st*st),Qe>At&&(At=Qe),Qe<bt&&(bt=Qe);d==="random"&&Js(vt),vt.max=At-bt,vt.min=bt,vt.v=Ne=(parseFloat(s.amount)||parseFloat(s.each)*(kt>Ne?Ne-1:K?K==="y"?Ne/kt:kt:Math.max(kt,Ne/kt))||0)*(d==="edges"?-1:1),vt.b=Ne<0?v-Ne:v,vt.u=yr(s.amount||s.each)||0,c=c&&Ne<0?Xn(c):c}return Ne=(vt[Ee]-vt.min)/vt.max||0,$n(vt.b+(c?c(Ne):Ne)*vt.v)+vt.u}},zs=function(n){var s=Math.pow(10,((n+"").split(".")[1]||"").length);return function(c){var d=Math.round(parseFloat(c)/n)*n*s;return(d-d%1)/s+(Vn(c)?0:yr(c))}},Po=function(n,s){var c=_n(n),d,v;return!c&&Zn(n)&&(d=c=n.radius||Zi,n.values?(n=ss(n.values),(v=!Vn(n[0]))&&(d*=d)):n=zs(n.increment)),Xs(s,c?Bi(n)?function(C){return v=n(C),Math.abs(v-C)<=d?v:C}:function(C){for(var D=parseFloat(v?C.x:C),q=parseFloat(v?C.y:0),K=Zi,ue=0,fe=n.length,Ee,De;fe--;)v?(Ee=n[fe].x-D,De=n[fe].y-q,Ee=Ee*Ee+De*De):Ee=Math.abs(n[fe]-D),Ee<K&&(K=Ee,ue=fe);return ue=!d||K<=d?n[ue]:C,v||ue===C||Vn(C)?ue:ue+yr(C)}:zs(n))},Go=function(n,s,c,d){return Xs(_n(n)?!s:c===!0?!!(c=0):!d,function(){return _n(n)?n[~~(Math.random()*n.length)]:(c=c||1e-5)&&(d=c<1?Math.pow(10,(c+"").length-2):1)&&Math.floor(Math.round((n-c/2+Math.random()*(s-n+c*.99))/c)*c*d)/d})},qa=function(){for(var n=arguments.length,s=new Array(n),c=0;c<n;c++)s[c]=arguments[c];return function(d){return s.reduce(function(v,C){return C(v)},d)}},Ka=function(n,s){return function(c){return n(parseFloat(c))+(s||yr(c))}},Za=function(n,s,c){return Y(n,s,0,1,c)},l=function(n,s,c){return Xs(c,function(d){return n[~~s(d)]})},m=function o(n,s,c){var d=s-n;return _n(n)?l(n,o(0,n.length),s):Xs(c,function(v){return(d+(v-n)%d)%d+n})},E=function o(n,s,c){var d=s-n,v=d*2;return _n(n)?l(n,o(0,n.length-1),s):Xs(c,function(C){return C=(v+(C-n)%v)%v||0,n+(C>d?v-C:C)})},M=function(n){for(var s=0,c="",d,v,C,D;~(d=n.indexOf("random(",s));)C=n.indexOf(")",d),D=n.charAt(d+7)==="[",v=n.substr(d+7,C-d-7).match(D?vn:ct),c+=n.substr(s,d-s)+Go(D?v:+v[0],D?0:+v[1],+v[2]||1e-5),s=C+1;return c+n.substr(s,n.length-s)},Y=function(n,s,c,d,v){var C=s-n,D=d-c;return Xs(v,function(q){return c+((q-n)/C*D||0)})},G=function o(n,s,c,d){var v=isNaN(n+s)?0:function(De){return(1-De)*n+De*s};if(!v){var C=Ai(n),D={},q,K,ue,fe,Ee;if(c===!0&&(d=1)&&(c=null),C)n={p:n},s={p:s};else if(_n(n)&&!_n(s)){for(ue=[],fe=n.length,Ee=fe-2,K=1;K<fe;K++)ue.push(o(n[K-1],n[K]));fe--,v=function(et){et*=fe;var Ne=Math.min(Ee,~~et);return ue[Ne](et-Ne)},c=s}else d||(n=Ke(_n(n)?[]:{},n));if(!ue){for(q in s)Ks.call(D,n,q,"get",s[q]);v=function(et){return Ce(et,D)||(C?n.p:n)}}}return Xs(c,v)},ae=function(n,s,c){var d=n.labels,v=Zi,C,D,q;for(C in d)D=d[C]-s,D<0==!!c&&D&&v>(D=Math.abs(D))&&(q=C,v=D);return q},Me=function(n,s,c){var d=n.vars,v=d[s],C,D;if(v)return C=d[s+"Params"],D=d.callbackScope||n,c&&ie.length&&Nr(),C?v.apply(D,C):v.call(D)},Pe=function(n){return En(n),n.scrollTrigger&&n.scrollTrigger.kill(!1),n.progress()<1&&Me(n,"onInterrupt"),n},tt,Ct=function(n){n=!n.name&&n.default||n;var s=n.name,c=Bi(n),d=s&&!c&&n.init?function(){this._props=[]}:n,v={init:cs,render:Ce,add:Ks,kill:mt,modifier:We,rawVars:0},C={targetTest:0,get:0,getSetter:Bo,aliases:{},register:0};if(Hr(),n!==d){if(Ge[s])return;Mn(d,Mn(Pt(n,v),C)),Ke(d.prototype,Ke(v,Pt(n,C))),Ge[d.prop=s]=d,n.targetTest&&(ii.push(d),Vs[s]=1),s=(s==="css"?"CSS":s.charAt(0).toUpperCase()+s.substr(1))+"Plugin"}ns(s,d),n.register&&n.register(wi,d,Nt)},xt=255,ht={aqua:[0,xt,xt],lime:[0,xt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,xt],navy:[0,0,128],white:[xt,xt,xt],olive:[128,128,0],yellow:[xt,xt,0],orange:[xt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[xt,0,0],pink:[xt,192,203],cyan:[0,xt,xt],transparent:[xt,xt,xt,0]},$t=function(n,s,c){return n+=n<0?1:n>1?-1:0,(n*6<1?s+(c-s)*n*6:n<.5?c:n*3<2?s+(c-s)*(2/3-n)*6:s)*xt+.5|0},sn=function(n,s,c){var d=n?Vn(n)?[n>>16,n>>8&xt,n&xt]:0:ht.black,v,C,D,q,K,ue,fe,Ee,De,et;if(!d){if(n.substr(-1)===","&&(n=n.substr(0,n.length-1)),ht[n])d=ht[n];else if(n.charAt(0)==="#"){if(n.length<6&&(v=n.charAt(1),C=n.charAt(2),D=n.charAt(3),n="#"+v+v+C+C+D+D+(n.length===5?n.charAt(4)+n.charAt(4):"")),n.length===9)return d=parseInt(n.substr(1,6),16),[d>>16,d>>8&xt,d&xt,parseInt(n.substr(7),16)/255];n=parseInt(n.substr(1),16),d=[n>>16,n>>8&xt,n&xt]}else if(n.substr(0,3)==="hsl"){if(d=et=n.match(ct),!s)q=+d[0]%360/360,K=+d[1]/100,ue=+d[2]/100,C=ue<=.5?ue*(K+1):ue+K-ue*K,v=ue*2-C,d.length>3&&(d[3]*=1),d[0]=$t(q+1/3,v,C),d[1]=$t(q,v,C),d[2]=$t(q-1/3,v,C);else if(~n.indexOf("="))return d=n.match(Vt),c&&d.length<4&&(d[3]=1),d}else d=n.match(ct)||ht.transparent;d=d.map(Number)}return s&&!et&&(v=d[0]/xt,C=d[1]/xt,D=d[2]/xt,fe=Math.max(v,C,D),Ee=Math.min(v,C,D),ue=(fe+Ee)/2,fe===Ee?q=K=0:(De=fe-Ee,K=ue>.5?De/(2-fe-Ee):De/(fe+Ee),q=fe===v?(C-D)/De+(C<D?6:0):fe===C?(D-v)/De+2:(v-C)/De+4,q*=60),d[0]=~~(q+.5),d[1]=~~(K*100+.5),d[2]=~~(ue*100+.5)),c&&d.length<4&&(d[3]=1),d},Tn=function(n){var s=[],c=[],d=-1;return n.split(or).forEach(function(v){var C=v.match(Jt)||[];s.push.apply(s,C),c.push(d+=C.length+1)}),s.c=c,s},un=function(n,s,c){var d="",v=(n+d).match(or),C=s?"hsla(":"rgba(",D=0,q,K,ue,fe;if(!v)return n;if(v=v.map(function(Ee){return(Ee=sn(Ee,s,1))&&C+(s?Ee[0]+","+Ee[1]+"%,"+Ee[2]+"%,"+Ee[3]:Ee.join(","))+")"}),c&&(ue=Tn(n),q=c.c,q.join(d)!==ue.c.join(d)))for(K=n.replace(or,"1").split(Jt),fe=K.length-1;D<fe;D++)d+=K[D]+(~q.indexOf(D)?v.shift()||C+"0,0,0,0)":(ue.length?ue:v.length?v:c).shift());if(!K)for(K=n.split(or),fe=K.length-1;D<fe;D++)d+=K[D]+v[D];return d+K[fe]},or=function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",n;for(n in ht)o+="|"+n+"\\b";return new RegExp(o+")","gi")}(),_r=/hsl[a]?\(/,fs=function(n){var s=n.join(" "),c;if(or.lastIndex=0,or.test(s))return c=_r.test(s),n[1]=un(n[1],c),n[0]=un(n[0],c,Tn(n[1])),!0},Jr,Ki=function(){var o=Date.now,n=500,s=33,c=o(),d=c,v=1e3/240,C=v,D=[],q,K,ue,fe,Ee,De,et=function Ne(vt){var Je=o()-d,Ye=vt===!0,at,st,Qe,Tt;if(Je>n&&(c+=Je-s),d+=Je,Qe=d-c,at=Qe-C,(at>0||Ye)&&(Tt=++fe.frame,Ee=Qe-fe.time*1e3,fe.time=Qe=Qe/1e3,C+=at+(at>=v?4:v-at),st=1),Ye||(q=K(Ne)),st)for(De=0;De<D.length;De++)D[De](Qe,Ee,Tt,vt)};return fe={time:0,frame:0,tick:function(){et(!0)},deltaRatio:function(vt){return Ee/(1e3/(vt||60))},wake:function(){ts&&(!cn&&vr()&&(Cn=cn=window,Ir=Cn.document||{},Dn.gsap=wi,(Cn.gsapVersions||(Cn.gsapVersions=[])).push(wi.version),is(Gn||Cn.GreenSockGlobals||!Cn.gsap&&Cn||{}),ue=Cn.requestAnimationFrame),q&&fe.sleep(),K=ue||function(vt){return setTimeout(vt,C-fe.time*1e3+1|0)},Jr=1,et(2))},sleep:function(){(ue?Cn.cancelAnimationFrame:clearTimeout)(q),Jr=0,K=cs},lagSmoothing:function(vt,Je){n=vt||1/ji,s=Math.min(Je,n,0)},fps:function(vt){v=1e3/(vt||240),C=fe.time*1e3+v},add:function(vt,Je,Ye){var at=Je?function(st,Qe,Tt,At){vt(st,Qe,Tt,At),fe.remove(at)}:vt;return fe.remove(vt),D[Ye?"unshift":"push"](at),Hr(),at},remove:function(vt,Je){~(Je=D.indexOf(vt))&&D.splice(Je,1)&&De>=Je&&De--},_listeners:D},fe}(),Hr=function(){return!Jr&&Ki.wake()},Ht={},er=/^[\d.\-M][\d.\-,\s]/,vs=/["']/g,Do=function(n){for(var s={},c=n.substr(1,n.length-3).split(":"),d=c[0],v=1,C=c.length,D,q,K;v<C;v++)q=c[v],D=v!==C-1?q.lastIndexOf(","):q.length,K=q.substr(0,D),s[d]=isNaN(K)?K.replace(vs,"").trim():+K,d=q.substr(D+1).trim();return s},ds=function(n){var s=n.indexOf("(")+1,c=n.indexOf(")"),d=n.indexOf("(",s);return n.substring(s,~d&&d<c?n.indexOf(")",c+1):c)},qs=function(n){var s=(n+"").split("("),c=Ht[s[0]];return c&&s.length>1&&c.config?c.config.apply(null,~n.indexOf("{")?[Do(s[1])]:ds(n).split(",").map(Ss)):Ht._CE&&er.test(n)?Ht._CE("",n):c},Xn=function(n){return function(s){return 1-n(1-s)}},Wr=function o(n,s){for(var c=n._first,d;c;)c instanceof Mr?o(c,s):c.vars.yoyoEase&&(!c._yoyo||!c._repeat)&&c._yoyo!==s&&(c.timeline?o(c.timeline,s):(d=c._ease,c._ease=c._yEase,c._yEase=d,c._yoyo=s)),c=c._next},Jn=function(n,s){return n&&(Bi(n)?n:Ht[n]||qs(n))||s},wr=function(n,s,c,d){c===void 0&&(c=function(q){return 1-s(1-q)}),d===void 0&&(d=function(q){return q<.5?s(q*2)/2:1-s((1-q)*2)/2});var v={easeIn:s,easeOut:c,easeInOut:d},C;return xn(n,function(D){Ht[D]=Dn[D]=v,Ht[C=D.toLowerCase()]=c;for(var q in v)Ht[C+(q==="easeIn"?".in":q==="easeOut"?".out":".inOut")]=Ht[D+"."+q]=v[q]}),v},Mo=function(n){return function(s){return s<.5?(1-n(1-s*2))/2:.5+n((s-.5)*2)/2}},bs=function o(n,s,c){var d=s>=1?s:1,v=(c||(n?.3:.45))/(s<1?s:1),C=v/Yi*(Math.asin(1/d)||0),D=function(ue){return ue===1?1:d*Math.pow(2,-10*ue)*rn((ue-C)*v)+1},q=n==="out"?D:n==="in"?function(K){return 1-D(1-K)}:Mo(D);return v=Yi/v,q.config=function(K,ue){return o(n,K,ue)},q},Vr=function o(n,s){s===void 0&&(s=1.70158);var c=function(C){return C?--C*C*((s+1)*C+s)+1:0},d=n==="out"?c:n==="in"?function(v){return 1-c(1-v)}:Mo(c);return d.config=function(v){return o(n,v)},d};xn("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,n){var s=n<5?n+1:n;wr(o+",Power"+(s-1),n?function(c){return Math.pow(c,s)}:function(c){return c},function(c){return 1-Math.pow(1-c,s)},function(c){return c<.5?Math.pow(c*2,s)/2:1-Math.pow((1-c)*2,s)/2})}),Ht.Linear.easeNone=Ht.none=Ht.Linear.easeIn,wr("Elastic",bs("in"),bs("out"),bs()),function(o,n){var s=1/n,c=2*s,d=2.5*s,v=function(D){return D<s?o*D*D:D<c?o*Math.pow(D-1.5/n,2)+.75:D<d?o*(D-=2.25/n)*D+.9375:o*Math.pow(D-2.625/n,2)+.984375};wr("Bounce",function(C){return 1-v(1-C)},v)}(7.5625,2.75),wr("Expo",function(o){return o?Math.pow(2,10*(o-1)):0}),wr("Circ",function(o){return-(Ti(1-o*o)-1)}),wr("Sine",function(o){return o===1?1:-Pi(o*Mi)+1}),wr("Back",Vr("in"),Vr("out"),Vr()),Ht.SteppedEase=Ht.steps=Dn.SteppedEase={config:function(n,s){n===void 0&&(n=1);var c=1/n,d=n+(s?0:1),v=s?1:0,C=1-ji;return function(D){return((d*uo(0,C,D)|0)+v)*c}}},Ci.ease=Ht["quad.out"],xn("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return Ii+=o+","+o+"Params,"});var zr=function(n,s){this.id=Pn++,n._gsap=this,this.target=n,this.harness=s,this.get=s?s.get:qi,this.set=s?s.getSetter:Bo},Or=function(){function o(s){this.vars=s,this._delay=+s.delay||0,(this._repeat=s.repeat===1/0?-2:s.repeat||0)&&(this._rDelay=s.repeatDelay||0,this._yoyo=!!s.yoyo||!!s.yoyoEase),this._ts=1,Ws(this,+s.duration,1,1),this.data=s.data,Jr||Ki.wake()}var n=o.prototype;return n.delay=function(c){return c||c===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+c-this._delay),this._delay=c,this):this._delay},n.duration=function(c){return arguments.length?this.totalDuration(this._repeat>0?c+(c+this._rDelay)*this._repeat:c):this.totalDuration()&&this._dur},n.totalDuration=function(c){return arguments.length?(this._dirty=0,Ws(this,this._repeat<0?c:(c-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},n.totalTime=function(c,d){if(Hr(),!arguments.length)return this._tTime;var v=this._dp;if(v&&v.smoothChildTiming&&this._ts){for($s(this,c),!v._dp||v.parent||Ao(v,this);v&&v.parent;)v.parent._time!==v._start+(v._ts>=0?v._tTime/v._ts:(v.totalDuration()-v._tTime)/-v._ts)&&v.totalTime(v._tTime,!0),v=v.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&c<this._tDur||this._ts<0&&c>0||!this._tDur&&!c)&&rs(this._dp,this,this._start-this._delay)}return(this._tTime!==c||!this._dur&&!d||this._initted&&Math.abs(this._zTime)===ji||!c&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=c),js(this,c,d)),this},n.time=function(c,d){return arguments.length?this.totalTime(Math.min(this.totalDuration(),c+hr(this))%(this._dur+this._rDelay)||(c?this._dur:0),d):this._time},n.totalProgress=function(c,d){return arguments.length?this.totalTime(this.totalDuration()*c,d):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},n.progress=function(c,d){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-c:c)+hr(this),d):this.duration()?Math.min(1,this._time/this._dur):this.ratio},n.iteration=function(c,d){var v=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(c-1)*v,d):this._repeat?Us(this._tTime,v)+1:1},n.timeScale=function(c){if(!arguments.length)return this._rts===-ji?0:this._rts;if(this._rts===c)return this;var d=this.parent&&this._ts?Br(this.parent._time,this):this._tTime;return this._rts=+c||0,this._ts=this._ps||c===-ji?0:this._rts,this.totalTime(uo(-this._delay,this._tDur,d),!0),lo(this),dr(this)},n.paused=function(c){return arguments.length?(this._ps!==c&&(this._ps=c,c?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Hr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ji&&(this._tTime-=ji)))),this):this._ps},n.startTime=function(c){if(arguments.length){this._start=c;var d=this.parent||this._dp;return d&&(d._sort||!this.parent)&&rs(d,this,c-this._delay),this}return this._start},n.endTime=function(c){return this._start+(rr(c)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},n.rawTime=function(c){var d=this.parent||this._dp;return d?c&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Br(d.rawTime(c),this):this._tTime:this._tTime},n.globalTime=function(c){for(var d=this,v=arguments.length?c:d.rawTime();d;)v=d._start+v/(d._ts||1),d=d._dp;return v},n.repeat=function(c){return arguments.length?(this._repeat=c===1/0?-2:c,ca(this)):this._repeat===-2?1/0:this._repeat},n.repeatDelay=function(c){if(arguments.length){var d=this._time;return this._rDelay=c,ca(this),d?this.time(d):this}return this._rDelay},n.yoyo=function(c){return arguments.length?(this._yoyo=c,this):this._yoyo},n.seek=function(c,d){return this.totalTime(us(this,c),rr(d))},n.restart=function(c,d){return this.play().totalTime(c?-this._delay:0,rr(d))},n.play=function(c,d){return c!=null&&this.seek(c,d),this.reversed(!1).paused(!1)},n.reverse=function(c,d){return c!=null&&this.seek(c||this.totalDuration(),d),this.reversed(!0).paused(!1)},n.pause=function(c,d){return c!=null&&this.seek(c,d),this.paused(!0)},n.resume=function(){return this.paused(!1)},n.reversed=function(c){return arguments.length?(!!c!==this.reversed()&&this.timeScale(-this._rts||(c?-ji:0)),this):this._rts<0},n.invalidate=function(){return this._initted=this._act=0,this._zTime=-ji,this},n.isActive=function(){var c=this.parent||this._dp,d=this._start,v;return!!(!c||this._ts&&this._initted&&c.isActive()&&(v=c.rawTime(!0))>=d&&v<this.endTime(!0)-ji)},n.eventCallback=function(c,d,v){var C=this.vars;return arguments.length>1?(d?(C[c]=d,v&&(C[c+"Params"]=v),c==="onUpdate"&&(this._onUpdate=d)):delete C[c],this):C[c]},n.then=function(c){var d=this;return new Promise(function(v){var C=Bi(c)?c:Xr,D=function(){var K=d.then;d.then=null,Bi(C)&&(C=C(d))&&(C.then||C===d)&&(d.then=K),v(C),d.then=K};d._initted&&d.totalProgress()===1&&d._ts>=0||!d._tTime&&d._ts<0?D():d._prom=D})},n.kill=function(){Pe(this)},o}();Mn(Or.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-ji,_prom:0,_ps:!1,_rts:1});var Mr=function(o){Qt(n,o);function n(c,d){var v;return c===void 0&&(c={}),v=o.call(this,c)||this,v.labels={},v.smoothChildTiming=!!c.smoothChildTiming,v.autoRemoveChildren=!!c.autoRemoveChildren,v._sort=rr(c.sortChildren),Li&&rs(c.parent||Li,nt(v),d),c.reversed&&v.reverse(),c.paused&&v.paused(!0),c.scrollTrigger&&wo(nt(v),c.scrollTrigger),v}var s=n.prototype;return s.to=function(d,v,C){return co(0,arguments,this),this},s.from=function(d,v,C){return co(1,arguments,this),this},s.fromTo=function(d,v,C,D){return co(2,arguments,this),this},s.set=function(d,v,C){return v.duration=0,v.parent=this,It(v).repeatDelay||(v.repeat=0),v.immediateRender=!!v.immediateRender,new pr(d,v,us(this,C),1),this},s.call=function(d,v,C){return rs(this,pr.delayedCall(0,d,v),C)},s.staggerTo=function(d,v,C,D,q,K,ue){return C.duration=v,C.stagger=C.stagger||D,C.onComplete=K,C.onCompleteParams=ue,C.parent=this,new pr(d,C,us(this,q)),this},s.staggerFrom=function(d,v,C,D,q,K,ue){return C.runBackwards=1,It(C).immediateRender=rr(C.immediateRender),this.staggerTo(d,v,C,D,q,K,ue)},s.staggerFromTo=function(d,v,C,D,q,K,ue,fe){return D.startAt=C,It(D).immediateRender=rr(D.immediateRender),this.staggerTo(d,v,D,q,K,ue,fe)},s.render=function(d,v,C){var D=this._time,q=this._dirty?this.totalDuration():this._tDur,K=this._dur,ue=d<=0?0:$n(d),fe=this._zTime<0!=d<0&&(this._initted||!K),Ee,De,et,Ne,vt,Je,Ye,at,st,Qe,Tt,At;if(this!==Li&&ue>q&&d>=0&&(ue=q),ue!==this._tTime||C||fe){if(D!==this._time&&K&&(ue+=this._time-D,d+=this._time-D),Ee=ue,st=this._start,at=this._ts,Je=!at,fe&&(K||(D=this._zTime),(d||!v)&&(this._zTime=d)),this._repeat){if(Tt=this._yoyo,vt=K+this._rDelay,this._repeat<-1&&d<0)return this.totalTime(vt*100+d,v,C);if(Ee=$n(ue%vt),ue===q?(Ne=this._repeat,Ee=K):(Ne=~~(ue/vt),Ne&&Ne===ue/vt&&(Ee=K,Ne--),Ee>K&&(Ee=K)),Qe=Us(this._tTime,vt),!D&&this._tTime&&Qe!==Ne&&(Qe=Ne),Tt&&Ne&1&&(Ee=K-Ee,At=1),Ne!==Qe&&!this._lock){var bt=Tt&&Qe&1,kt=bt===(Tt&&Ne&1);if(Ne<Qe&&(bt=!bt),D=bt?0:K,this._lock=1,this.render(D||(At?0:$n(Ne*vt)),v,!K)._lock=0,this._tTime=ue,!v&&this.parent&&Me(this,"onRepeat"),this.vars.repeatRefresh&&!At&&(this.invalidate()._lock=1),D&&D!==this._time||Je!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(K=this._dur,q=this._tDur,kt&&(this._lock=2,D=bt?K:-1e-4,this.render(D,!0),this.vars.repeatRefresh&&!At&&this.invalidate()),this._lock=0,!this._ts&&!Je)return this;Wr(this,At)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(Ye=Ro(this,$n(D),$n(Ee)),Ye&&(ue-=Ee-(Ee=Ye._start))),this._tTime=ue,this._time=Ee,this._act=!at,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=d,D=0),!D&&Ee&&!v&&(Me(this,"onStart"),this._tTime!==ue))return this;if(Ee>=D&&d>=0)for(De=this._first;De;){if(et=De._next,(De._act||Ee>=De._start)&&De._ts&&Ye!==De){if(De.parent!==this)return this.render(d,v,C);if(De.render(De._ts>0?(Ee-De._start)*De._ts:(De._dirty?De.totalDuration():De._tDur)+(Ee-De._start)*De._ts,v,C),Ee!==this._time||!this._ts&&!Je){Ye=0,et&&(ue+=this._zTime=-ji);break}}De=et}else{De=this._last;for(var ri=d<0?d:Ee;De;){if(et=De._prev,(De._act||ri<=De._end)&&De._ts&&Ye!==De){if(De.parent!==this)return this.render(d,v,C);if(De.render(De._ts>0?(ri-De._start)*De._ts:(De._dirty?De.totalDuration():De._tDur)+(ri-De._start)*De._ts,v,C),Ee!==this._time||!this._ts&&!Je){Ye=0,et&&(ue+=this._zTime=ri?-ji:ji);break}}De=et}}if(Ye&&!v&&(this.pause(),Ye.render(Ee>=D?0:-ji)._zTime=Ee>=D?1:-1,this._ts))return this._start=st,lo(this),this.render(d,v,C);this._onUpdate&&!v&&Me(this,"onUpdate",!0),(ue===q&&this._tTime>=this.totalDuration()||!ue&&D)&&(st===this._start||Math.abs(at)!==Math.abs(this._ts))&&(this._lock||((d||!K)&&(ue===q&&this._ts>0||!ue&&this._ts<0)&&En(this,1),!v&&!(d<0&&!D)&&(ue||D||!q)&&(Me(this,ue===q&&d>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(ue<q&&this.timeScale()>0)&&this._prom())))}return this},s.add=function(d,v){var C=this;if(Vn(v)||(v=us(this,v,d)),!(d instanceof Or)){if(_n(d))return d.forEach(function(D){return C.add(D,v)}),this;if(Ai(d))return this.addLabel(d,v);if(Bi(d))d=pr.delayedCall(0,d);else return this}return this!==d?rs(this,d,v):this},s.getChildren=function(d,v,C,D){d===void 0&&(d=!0),v===void 0&&(v=!0),C===void 0&&(C=!0),D===void 0&&(D=-Zi);for(var q=[],K=this._first;K;)K._start>=D&&(K instanceof pr?v&&q.push(K):(C&&q.push(K),d&&q.push.apply(q,K.getChildren(!0,v,C)))),K=K._next;return q},s.getById=function(d){for(var v=this.getChildren(1,1,1),C=v.length;C--;)if(v[C].vars.id===d)return v[C]},s.remove=function(d){return Ai(d)?this.removeLabel(d):Bi(d)?this.killTweensOf(d):(Yt(this,d),d===this._recent&&(this._recent=this._last),Qn(this))},s.totalTime=function(d,v){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=$n(Ki.time-(this._ts>0?d/this._ts:(this.totalDuration()-d)/-this._ts))),o.prototype.totalTime.call(this,d,v),this._forcing=0,this):this._tTime},s.addLabel=function(d,v){return this.labels[d]=us(this,v),this},s.removeLabel=function(d){return delete this.labels[d],this},s.addPause=function(d,v,C){var D=pr.delayedCall(0,v||cs,C);return D.data="isPause",this._hasPause=1,rs(this,D,us(this,d))},s.removePause=function(d){var v=this._first;for(d=us(this,d);v;)v._start===d&&v.data==="isPause"&&En(v),v=v._next},s.killTweensOf=function(d,v,C){for(var D=this.getTweensOf(d,C),q=D.length;q--;)Ls!==D[q]&&D[q].kill(d,v);return this},s.getTweensOf=function(d,v){for(var C=[],D=ss(d),q=this._first,K=Vn(v),ue;q;)q instanceof pr?sr(q._targets,D)&&(K?(!Ls||q._initted&&q._ts)&&q.globalTime(0)<=v&&q.globalTime(q.totalDuration())>v:!v||q.isActive())&&C.push(q):(ue=q.getTweensOf(D,v)).length&&C.push.apply(C,ue),q=q._next;return C},s.tweenTo=function(d,v){v=v||{};var C=this,D=us(C,d),q=v,K=q.startAt,ue=q.onStart,fe=q.onStartParams,Ee=q.immediateRender,De,et=pr.to(C,Mn({ease:v.ease||"none",lazy:!1,immediateRender:!1,time:D,overwrite:"auto",duration:v.duration||Math.abs((D-(K&&"time"in K?K.time:C._time))/C.timeScale())||ji,onStart:function(){if(C.pause(),!De){var vt=v.duration||Math.abs((D-(K&&"time"in K?K.time:C._time))/C.timeScale());et._dur!==vt&&Ws(et,vt,0,1).render(et._time,!0,!0),De=1}ue&&ue.apply(et,fe||[])}},v));return Ee?et.render(0):et},s.tweenFromTo=function(d,v,C){return this.tweenTo(v,Mn({startAt:{time:us(this,d)}},C))},s.recent=function(){return this._recent},s.nextLabel=function(d){return d===void 0&&(d=this._time),ae(this,us(this,d))},s.previousLabel=function(d){return d===void 0&&(d=this._time),ae(this,us(this,d),1)},s.currentLabel=function(d){return arguments.length?this.seek(d,!0):this.previousLabel(this._time+ji)},s.shiftChildren=function(d,v,C){C===void 0&&(C=0);for(var D=this._first,q=this.labels,K;D;)D._start>=C&&(D._start+=d,D._end+=d),D=D._next;if(v)for(K in q)q[K]>=C&&(q[K]+=d);return Qn(this)},s.invalidate=function(){var d=this._first;for(this._lock=0;d;)d.invalidate(),d=d._next;return o.prototype.invalidate.call(this)},s.clear=function(d){d===void 0&&(d=!0);for(var v=this._first,C;v;)C=v._next,this.remove(v),v=C;return this._dp&&(this._time=this._tTime=this._pTime=0),d&&(this.labels={}),Qn(this)},s.totalDuration=function(d){var v=0,C=this,D=C._last,q=Zi,K,ue,fe;if(arguments.length)return C.timeScale((C._repeat<0?C.duration():C.totalDuration())/(C.reversed()?-d:d));if(C._dirty){for(fe=C.parent;D;)K=D._prev,D._dirty&&D.totalDuration(),ue=D._start,ue>q&&C._sort&&D._ts&&!C._lock?(C._lock=1,rs(C,D,ue-D._delay,1)._lock=0):q=ue,ue<0&&D._ts&&(v-=ue,(!fe&&!C._dp||fe&&fe.smoothChildTiming)&&(C._start+=ue/C._ts,C._time-=ue,C._tTime-=ue),C.shiftChildren(-ue,!1,-1/0),q=0),D._end>v&&D._ts&&(v=D._end),D=K;Ws(C,C===Li&&C._time>v?C._time:v,1,1),C._dirty=0}return C._tDur},n.updateRoot=function(d){if(Li._ts&&(js(Li,Br(d,Li)),Le=Ki.frame),Ki.frame>=Bt){Bt+=pi.autoSleep||120;var v=Li._first;if((!v||!v._ts)&&pi.autoSleep&&Ki._listeners.length<2){for(;v&&!v._ts;)v=v._next;v||Ki.sleep()}}},n}(Or);Mn(Mr.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ln=function(n,s,c,d,v,C,D){var q=new Nt(this._pt,n,s,0,1,Ur,null,v),K=0,ue=0,fe,Ee,De,et,Ne,vt,Je,Ye;for(q.b=c,q.e=d,c+="",d+="",(Je=~d.indexOf("random("))&&(d=M(d)),C&&(Ye=[c,d],C(Ye,n,s),c=Ye[0],d=Ye[1]),Ee=c.match(vi)||[];fe=vi.exec(d);)et=fe[0],Ne=d.substring(K,fe.index),De?De=(De+1)%5:Ne.substr(-5)==="rgba("&&(De=1),et!==Ee[ue++]&&(vt=parseFloat(Ee[ue-1])||0,q._pt={_next:q._pt,p:Ne||ue===1?Ne:",",s:vt,c:et.charAt(1)==="="?Dr(vt,et)-vt:parseFloat(et)-vt,m:De&&De<4?Math.round:0},K=vi.lastIndex);return q.c=K<d.length?d.substring(K,d.length):"",q.fp=D,(Gi.test(d)||Je)&&(q.e=0),this._pt=q,q},Ks=function(n,s,c,d,v,C,D,q,K){Bi(d)&&(d=d(v||0,n,C));var ue=n[s],fe=c!=="get"?c:Bi(ue)?K?n[s.indexOf("set")||!Bi(n["get"+s.substr(3)])?s:"get"+s.substr(3)](K):n[s]():ue,Ee=Bi(ue)?K?mo:Fo:Io,De;if(Ai(d)&&(~d.indexOf("random(")&&(d=M(d)),d.charAt(1)==="="&&(De=Dr(fe,d)+(yr(fe)||0),(De||De===0)&&(d=De))),fe!==d||fo)return!isNaN(fe*d)&&d!==""?(De=new Nt(this._pt,n,s,+fe||0,d-(fe||0),typeof ue=="boolean"?Xo:fa,0,Ee),K&&(De.fp=K),D&&De.modifier(D,this,n),this._pt=De):(!ue&&!(s in n)&&Fn(s,d),Ln.call(this,n,s,fe,d,Ee,q||pi.stringFilter,K))},Cs=function(n,s,c,d,v){if(Bi(n)&&(n=eo(n,v,s,c,d)),!Zn(n)||n.style&&n.nodeType||_n(n)||br(n))return Ai(n)?eo(n,v,s,c,d):n;var C={},D;for(D in n)C[D]=eo(n[D],v,s,c,d);return C},Qs=function(n,s,c,d,v,C){var D,q,K,ue;if(Ge[n]&&(D=new Ge[n]).init(v,D.rawVars?s[n]:Cs(s[n],d,v,C,c),c,d,C)!==!1&&(c._pt=q=new Nt(c._pt,v,n,0,1,D.render,D,0,D.priority),c!==tt))for(K=c._ptLookup[c._targets.indexOf(v)],ue=D._props.length;ue--;)K[D._props[ue]]=q;return D},Ls,fo,ho=function o(n,s){var c=n.vars,d=c.ease,v=c.startAt,C=c.immediateRender,D=c.lazy,q=c.onUpdate,K=c.onUpdateParams,ue=c.callbackScope,fe=c.runBackwards,Ee=c.yoyoEase,De=c.keyframes,et=c.autoRevert,Ne=n._dur,vt=n._startAt,Je=n._targets,Ye=n.parent,at=Ye&&Ye.data==="nested"?Ye.parent._targets:Je,st=n._overwrite==="auto"&&!pn,Qe=n.timeline,Tt,At,bt,kt,ri,yi,hn,dn,mi,Bn,Xi,Sn,qn;if(Qe&&(!De||!d)&&(d="none"),n._ease=Jn(d,Ci.ease),n._yEase=Ee?Xn(Jn(Ee===!0?d:Ee,Ci.ease)):0,Ee&&n._yoyo&&!n._repeat&&(Ee=n._yEase,n._yEase=n._ease,n._ease=Ee),n._from=!Qe&&!!c.runBackwards,!Qe||De&&!c.stagger){if(dn=Je[0]?Hi(Je[0]).harness:0,Sn=dn&&c[dn.prop],Tt=Pt(c,Vs),vt&&(En(vt.render(-1,!0)),vt._lazy=0),v)if(En(n._startAt=pr.set(Je,Mn({data:"isStart",overwrite:!1,parent:Ye,immediateRender:!0,lazy:rr(D),startAt:null,delay:0,onUpdate:q,onUpdateParams:K,callbackScope:ue,stagger:0},v))),s<0&&!C&&!et&&n._startAt.render(-1,!0),C){if(s>0&&!et&&(n._startAt=0),Ne&&s<=0){s&&(n._zTime=s);return}}else et===!1&&(n._startAt=0);else if(fe&&Ne){if(vt)!et&&(n._startAt=0);else if(s&&(C=!1),bt=Mn({overwrite:!1,data:"isFromStart",lazy:C&&rr(D),immediateRender:C,stagger:0,parent:Ye},Tt),Sn&&(bt[dn.prop]=Sn),En(n._startAt=pr.set(Je,bt)),s<0&&n._startAt.render(-1,!0),n._zTime=s,!C)o(n._startAt,ji);else if(!s)return}for(n._pt=n._ptCache=0,D=Ne&&rr(D)||D&&!Ne,At=0;At<Je.length;At++){if(ri=Je[At],hn=ri._gsap||Fi(Je)[At]._gsap,n._ptLookup[At]=Bn={},me[hn.id]&&ie.length&&Nr(),Xi=at===Je?At:at.indexOf(ri),dn&&(mi=new dn).init(ri,Sn||Tt,n,Xi,at)!==!1&&(n._pt=kt=new Nt(n._pt,ri,mi.name,0,1,mi.render,mi,0,mi.priority),mi._props.forEach(function(ms){Bn[ms]=kt}),mi.priority&&(yi=1)),!dn||Sn)for(bt in Tt)Ge[bt]&&(mi=Qs(bt,Tt,n,Xi,ri,at))?mi.priority&&(yi=1):Bn[bt]=kt=Ks.call(n,ri,bt,"get",Tt[bt],Xi,at,0,c.stringFilter);n._op&&n._op[At]&&n.kill(ri,n._op[At]),st&&n._pt&&(Ls=n,Li.killTweensOf(ri,Bn,n.globalTime(s)),qn=!n.parent,Ls=0),n._pt&&D&&(me[hn.id]=1)}yi&&Rt(n),n._onInit&&n._onInit(n)}n._onUpdate=q,n._initted=(!n._op||n._pt)&&!qn,De&&s<=0&&Qe.render(Zi,!0,!0)},Zs=function(n,s,c,d,v,C,D){var q=(n._pt&&n._ptCache||(n._ptCache={}))[s],K,ue,fe;if(!q)for(q=n._ptCache[s]=[],ue=n._ptLookup,fe=n._targets.length;fe--;){if(K=ue[fe][s],K&&K.d&&K.d._pt)for(K=K.d._pt;K&&K.p!==s;)K=K._next;if(!K)return fo=1,n.vars[s]="+=0",ho(n,D),fo=0,1;q.push(K)}for(fe=q.length;fe--;)K=q[fe],K.s=(d||d===0)&&!v?d:K.s+(d||0)+C*K.c,K.c=c-K.s,K.e&&(K.e=gn(c)+yr(K.e)),K.b&&(K.b=K.s+yr(K.b))},So=function(n,s){var c=n[0]?Hi(n[0]).harness:0,d=c&&c.aliases,v,C,D,q;if(!d)return s;v=Ke({},s);for(C in d)if(C in v)for(q=d[C].split(","),D=q.length;D--;)v[q[D]]=v[C];return v},Ts=function(n,s,c,d){var v=s.ease||d||"power1.inOut",C,D;if(_n(s))D=c[n]||(c[n]=[]),s.forEach(function(q,K){return D.push({t:K/(s.length-1)*100,v:q,e:v})});else for(C in s)D=c[C]||(c[C]=[]),C==="ease"||D.push({t:parseFloat(n),v:s[C],e:v})},eo=function(n,s,c,d,v){return Bi(n)?n.call(s,c,d,v):Ai(n)&&~n.indexOf("random(")?M(n):n},po=Ii+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Lo={};xn(po+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return Lo[o]=1});var pr=function(o){Qt(n,o);function n(c,d,v,C){var D;typeof d=="number"&&(v.duration=d,d=v,v=null),D=o.call(this,C?d:It(d))||this;var q=D.vars,K=q.duration,ue=q.delay,fe=q.immediateRender,Ee=q.stagger,De=q.overwrite,et=q.keyframes,Ne=q.defaults,vt=q.scrollTrigger,Je=q.yoyoEase,Ye=d.parent||Li,at=(_n(c)||br(c)?Vn(c[0]):"length"in d)?[c]:ss(c),st,Qe,Tt,At,bt,kt,ri,yi;if(D._targets=at.length?Fi(at):Fr("GSAP target "+c+" not found. https://greensock.com",!pi.nullTargetWarn)||[],D._ptLookup=[],D._overwrite=De,et||Ee||Yn(K)||Yn(ue)){if(d=D.vars,st=D.timeline=new Mr({data:"nested",defaults:Ne||{}}),st.kill(),st.parent=st._dp=nt(D),st._start=0,Ee||Yn(K)||Yn(ue)){if(At=at.length,ri=Ee&&_a(Ee),Zn(Ee))for(bt in Ee)~po.indexOf(bt)&&(yi||(yi={}),yi[bt]=Ee[bt]);for(Qe=0;Qe<At;Qe++)Tt=Pt(d,Lo),Tt.stagger=0,Je&&(Tt.yoyoEase=Je),yi&&Ke(Tt,yi),kt=at[Qe],Tt.duration=+eo(K,nt(D),Qe,kt,at),Tt.delay=(+eo(ue,nt(D),Qe,kt,at)||0)-D._delay,!Ee&&At===1&&Tt.delay&&(D._delay=ue=Tt.delay,D._start+=ue,Tt.delay=0),st.to(kt,Tt,ri?ri(Qe,kt,at):0),st._ease=Ht.none;st.duration()?K=ue=0:D.timeline=0}else if(et){It(Mn(st.vars.defaults,{ease:"none"})),st._ease=Jn(et.ease||d.ease||"none");var hn=0,dn,mi,Bn;if(_n(et))et.forEach(function(Xi){return st.to(at,Xi,">")});else{Tt={};for(bt in et)bt==="ease"||bt==="easeEach"||Ts(bt,et[bt],Tt,et.easeEach);for(bt in Tt)for(dn=Tt[bt].sort(function(Xi,Sn){return Xi.t-Sn.t}),hn=0,Qe=0;Qe<dn.length;Qe++)mi=dn[Qe],Bn={ease:mi.e,duration:(mi.t-(Qe?dn[Qe-1].t:0))/100*K},Bn[bt]=mi.v,st.to(at,Bn,hn),hn+=Bn.duration;st.duration()<K&&st.to({},{duration:K-st.duration()})}}K||D.duration(K=st.duration())}else D.timeline=0;return De===!0&&!pn&&(Ls=nt(D),Li.killTweensOf(at),Ls=0),rs(Ye,nt(D),v),d.reversed&&D.reverse(),d.paused&&D.paused(!0),(fe||!K&&!et&&D._start===$n(Ye._time)&&rr(fe)&&lr(nt(D))&&Ye.data!=="nested")&&(D._tTime=-ji,D.render(Math.max(0,-ue))),vt&&wo(nt(D),vt),D}var s=n.prototype;return s.render=function(d,v,C){var D=this._time,q=this._tDur,K=this._dur,ue=d>q-ji&&d>=0?q:d<ji?0:d,fe,Ee,De,et,Ne,vt,Je,Ye,at;if(!K)xo(this,d,v,C);else if(ue!==this._tTime||!d||C||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=d<0){if(fe=ue,Ye=this.timeline,this._repeat){if(et=K+this._rDelay,this._repeat<-1&&d<0)return this.totalTime(et*100+d,v,C);if(fe=$n(ue%et),ue===q?(De=this._repeat,fe=K):(De=~~(ue/et),De&&De===ue/et&&(fe=K,De--),fe>K&&(fe=K)),vt=this._yoyo&&De&1,vt&&(at=this._yEase,fe=K-fe),Ne=Us(this._tTime,et),fe===D&&!C&&this._initted)return this._tTime=ue,this;De!==Ne&&(Ye&&this._yEase&&Wr(Ye,vt),this.vars.repeatRefresh&&!vt&&!this._lock&&(this._lock=C=1,this.render($n(et*De),!0).invalidate()._lock=0))}if(!this._initted){if(Oo(this,d<0?d:fe,C,v))return this._tTime=0,this;if(D!==this._time)return this;if(K!==this._dur)return this.render(d,v,C)}if(this._tTime=ue,this._time=fe,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=Je=(at||this._ease)(fe/K),this._from&&(this.ratio=Je=1-Je),fe&&!D&&!v&&(Me(this,"onStart"),this._tTime!==ue))return this;for(Ee=this._pt;Ee;)Ee.r(Je,Ee.d),Ee=Ee._next;Ye&&Ye.render(d<0?d:!fe&&vt?-ji:Ye._dur*Ye._ease(fe/this._dur),v,C)||this._startAt&&(this._zTime=d),this._onUpdate&&!v&&(d<0&&this._startAt&&this._startAt.render(d,!0,C),Me(this,"onUpdate")),this._repeat&&De!==Ne&&this.vars.onRepeat&&!v&&this.parent&&Me(this,"onRepeat"),(ue===this._tDur||!ue)&&this._tTime===ue&&(d<0&&this._startAt&&!this._onUpdate&&this._startAt.render(d,!0,!0),(d||!K)&&(ue===this._tDur&&this._ts>0||!ue&&this._ts<0)&&En(this,1),!v&&!(d<0&&!D)&&(ue||D)&&(Me(this,ue===q?"onComplete":"onReverseComplete",!0),this._prom&&!(ue<q&&this.timeScale()>0)&&this._prom()))}return this},s.targets=function(){return this._targets},s.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),o.prototype.invalidate.call(this)},s.resetTo=function(d,v,C,D){Jr||Ki.wake(),this._ts||this.play();var q=Math.min(this._dur,(this._dp._time-this._start)*this._ts),K;return this._initted||ho(this,q),K=this._ease(q/this._dur),Zs(this,d,v,C,D,K,q)?this.resetTo(d,v,C,D):($s(this,0),this.parent||ei(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},s.kill=function(d,v){if(v===void 0&&(v="all"),!d&&(!v||v==="all"))return this._lazy=this._pt=0,this.parent?Pe(this):this;if(this.timeline){var C=this.timeline.totalDuration();return this.timeline.killTweensOf(d,v,Ls&&Ls.vars.overwrite!==!0)._first||Pe(this),this.parent&&C!==this.timeline.totalDuration()&&Ws(this,this._dur*this.timeline._tDur/C,0,1),this}var D=this._targets,q=d?ss(d):D,K=this._ptLookup,ue=this._pt,fe,Ee,De,et,Ne,vt,Je;if((!v||v==="all")&&li(D,q))return v==="all"&&(this._pt=0),Pe(this);for(fe=this._op=this._op||[],v!=="all"&&(Ai(v)&&(Ne={},xn(v,function(Ye){return Ne[Ye]=1}),v=Ne),v=So(D,v)),Je=D.length;Je--;)if(~q.indexOf(D[Je])){Ee=K[Je],v==="all"?(fe[Je]=v,et=Ee,De={}):(De=fe[Je]=fe[Je]||{},et=v);for(Ne in et)vt=Ee&&Ee[Ne],vt&&((!("kill"in vt.d)||vt.d.kill(Ne)===!0)&&Yt(this,vt,"_pt"),delete Ee[Ne]),De!=="all"&&(De[Ne]=1)}return this._initted&&!this._pt&&ue&&Pe(this),this},n.to=function(d,v){return new n(d,v,arguments[2])},n.from=function(d,v){return co(1,arguments)},n.delayedCall=function(d,v,C,D){return new n(v,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:d,onComplete:v,onReverseComplete:v,onCompleteParams:C,onReverseCompleteParams:C,callbackScope:D})},n.fromTo=function(d,v,C){return co(2,arguments)},n.set=function(d,v){return v.duration=0,v.repeatDelay||(v.repeat=0),new n(d,v)},n.killTweensOf=function(d,v,C){return Li.killTweensOf(d,v,C)},n}(Or);Mn(pr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),xn("staggerTo,staggerFrom,staggerFromTo",function(o){pr[o]=function(){var n=new Mr,s=Tr.call(arguments,0);return s.splice(o==="staggerFromTo"?5:4,0,0),n[o].apply(n,s)}});var Io=function(n,s,c){return n[s]=c},Fo=function(n,s,c){return n[s](c)},mo=function(n,s,c,d){return n[s](d.fp,c)},No=function(n,s,c){return n.setAttribute(s,c)},Bo=function(n,s){return Bi(n[s])?Fo:ls(n[s])&&n.setAttribute?No:Io},fa=function(n,s){return s.set(s.t,s.p,Math.round((s.s+s.c*n)*1e6)/1e6,s)},Xo=function(n,s){return s.set(s.t,s.p,!!(s.s+s.c*n),s)},Ur=function(n,s){var c=s._pt,d="";if(!n&&s.b)d=s.b;else if(n===1&&s.e)d=s.e;else{for(;c;)d=c.p+(c.m?c.m(c.s+c.c*n):Math.round((c.s+c.c*n)*1e4)/1e4)+d,c=c._next;d+=s.c}s.set(s.t,s.p,d,s)},Ce=function(n,s){for(var c=s._pt;c;)c.r(n,c.d),c=c._next},We=function(n,s,c,d){for(var v=this._pt,C;v;)C=v._next,v.p===d&&v.modifier(n,s,c),v=C},mt=function(n){for(var s=this._pt,c,d;s;)d=s._next,s.p===n&&!s.op||s.op===n?Yt(this,s,"_pt"):s.dep||(c=1),s=d;return!c},yt=function(n,s,c,d){d.mSet(n,s,d.m.call(d.tween,c,d.mt),d)},Rt=function(n){for(var s=n._pt,c,d,v,C;s;){for(c=s._next,d=v;d&&d.pr>s.pr;)d=d._next;(s._prev=d?d._prev:C)?s._prev._next=s:v=s,(s._next=d)?d._prev=s:C=s,s=c}n._pt=v},Nt=function(){function o(s,c,d,v,C,D,q,K,ue){this.t=c,this.s=v,this.c=C,this.p=d,this.r=D||fa,this.d=q||this,this.set=K||Io,this.pr=ue||0,this._next=s,s&&(s._prev=this)}var n=o.prototype;return n.modifier=function(c,d,v){this.mSet=this.mSet||this.set,this.set=yt,this.m=c,this.mt=v,this.tween=d},o}();xn(Ii+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(o){return Vs[o]=1}),Dn.TweenMax=Dn.TweenLite=pr,Dn.TimelineLite=Dn.TimelineMax=Mr,Li=new Mr({sortChildren:!1,defaults:Ci,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),pi.stringFilter=fs;var ni={registerPlugin:function(){for(var n=arguments.length,s=new Array(n),c=0;c<n;c++)s[c]=arguments[c];s.forEach(function(d){return Ct(d)})},timeline:function(n){return new Mr(n)},getTweensOf:function(n,s){return Li.getTweensOf(n,s)},getProperty:function(n,s,c,d){Ai(n)&&(n=ss(n)[0]);var v=Hi(n||{}).get,C=c?Xr:Ss;return c==="native"&&(c=""),n&&(s?C((Ge[s]&&Ge[s].get||v)(n,s,c,d)):function(D,q,K){return C((Ge[D]&&Ge[D].get||v)(n,D,q,K))})},quickSetter:function(n,s,c){if(n=ss(n),n.length>1){var d=n.map(function(ue){return wi.quickSetter(ue,s,c)}),v=d.length;return function(ue){for(var fe=v;fe--;)d[fe](ue)}}n=n[0]||{};var C=Ge[s],D=Hi(n),q=D.harness&&(D.harness.aliases||{})[s]||s,K=C?function(ue){var fe=new C;tt._pt=0,fe.init(n,c?ue+c:ue,tt,0,[n]),fe.render(1,fe),tt._pt&&Ce(1,tt)}:D.set(n,q);return C?K:function(ue){return K(n,q,c?ue+c:ue,D,1)}},quickTo:function(n,s,c){var d,v=wi.to(n,Ke((d={},d[s]="+=0.1",d.paused=!0,d),c||{})),C=function(q,K,ue){return v.resetTo(s,q,K,ue)};return C.tween=v,C},isTweening:function(n){return Li.getTweensOf(n,!0).length>0},defaults:function(n){return n&&n.ease&&(n.ease=Jn(n.ease,Ci.ease)),ut(Ci,n||{})},config:function(n){return ut(pi,n||{})},registerEffect:function(n){var s=n.name,c=n.effect,d=n.plugins,v=n.defaults,C=n.extendTimeline;(d||"").split(",").forEach(function(D){return D&&!Ge[D]&&!Dn[D]&&Fr(s+" effect requires "+D+" plugin.")}),Ot[s]=function(D,q,K){return c(ss(D),Mn(q||{},v),K)},C&&(Mr.prototype[s]=function(D,q,K){return this.add(Ot[s](D,Zn(q)?q:(K=q)&&{},this),K)})},registerEase:function(n,s){Ht[n]=Jn(s)},parseEase:function(n,s){return arguments.length?Jn(n,s):Ht},getById:function(n){return Li.getById(n)},exportRoot:function(n,s){n===void 0&&(n={});var c=new Mr(n),d,v;for(c.smoothChildTiming=rr(n.smoothChildTiming),Li.remove(c),c._dp=0,c._time=c._tTime=Li._time,d=Li._first;d;)v=d._next,(s||!(!d._dur&&d instanceof pr&&d.vars.onComplete===d._targets[0]))&&rs(c,d,d._start-d._delay),d=v;return rs(Li,c,0),c},utils:{wrap:m,wrapYoyo:E,distribute:_a,random:Go,snap:Po,normalize:Za,getUnit:yr,clamp:jo,splitColor:sn,toArray:ss,selector:Yo,mapRange:Y,pipe:qa,unitize:Ka,interpolate:G,shuffle:Js},install:is,effects:Ot,ticker:Ki,updateRoot:Mr.updateRoot,plugins:Ge,globalTimeline:Li,core:{PropTween:Nt,globals:ns,Tween:pr,Timeline:Mr,Animation:Or,getCache:Hi,_removeLinkedListItem:Yt,suppressOverwrites:function(n){return pn=n}}};xn("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return ni[o]=pr[o]}),Ki.add(Mr.updateRoot),tt=ni.to({},{duration:0});var _i=function(n,s){for(var c=n._pt;c&&c.p!==s&&c.op!==s&&c.fp!==s;)c=c._next;return c},oi=function(n,s){var c=n._targets,d,v,C;for(d in s)for(v=c.length;v--;)C=n._ptLookup[v][d],C&&(C=C.d)&&(C._pt&&(C=_i(C,d)),C&&C.modifier&&C.modifier(s[d],n,c[v],d))},on=function(n,s){return{name:n,rawVars:1,init:function(d,v,C){C._onInit=function(D){var q,K;if(Ai(v)&&(q={},xn(v,function(ue){return q[ue]=1}),v=q),s){q={};for(K in v)q[K]=s(v[K]);v=q}oi(D,v)}}}},wi=ni.registerPlugin({name:"attr",init:function(n,s,c,d,v){var C,D;for(C in s)D=this.add(n,"setAttribute",(n.getAttribute(C)||0)+"",s[C],d,v,0,0,C),D&&(D.op=C),this._props.push(C)}},{name:"endArray",init:function(n,s){for(var c=s.length;c--;)this.add(n,c,n[c]||0,s[c])}},on("roundProps",zs),on("modifiers"),on("snap",Po))||ni;pr.version=Mr.version=wi.version="3.10.4",ts=1,vr()&&Hr();var fn=Ht.Power0,an=Ht.Power1,Ei=Ht.Power2,Un=Ht.Power3,bn=Ht.Power4,Rr=Ht.Linear,hs=Ht.Quad,ys=Ht.Cubic,qr=Ht.Quart,xr=Ht.Quint,Jo=Ht.Strong,wa=Ht.Elastic,xa=Ht.Back,ja=Ht.SteppedEase,Ra=Ht.Bounce,Sa=Ht.Sine,ar=Ht.Expo,to=Ht.Circ;var Es,Er,jr,_s,Wn,Ys,Ho,ps=function(){return typeof window!="undefined"},os={},Co=180/Math.PI,ks=Math.PI/180,To=Math.atan2,Ca=1e8,Ya=/([A-Z])/g,Ta=/(left|right|width|margin|padding|x)/i,go=/[\s,\(]\S/,Kr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ea=function(n,s){return s.set(s.t,s.p,Math.round((s.s+s.c*n)*1e4)/1e4+s.u,s)},h=function(n,s){return s.set(s.t,s.p,n===1?s.e:Math.round((s.s+s.c*n)*1e4)/1e4+s.u,s)},k=function(n,s){return s.set(s.t,s.p,n?Math.round((s.s+s.c*n)*1e4)/1e4+s.u:s.b,s)},I=function(n,s){var c=s.s+s.c*n;s.set(s.t,s.p,~~(c+(c<0?-.5:.5))+s.u,s)},ne=function(n,s){return s.set(s.t,s.p,n?s.e:s.b,s)},je=function(n,s){return s.set(s.t,s.p,n!==1?s.b:s.e,s)},we=function(n,s,c){return n.style[s]=c},Te=function(n,s,c){return n.style.setProperty(s,c)},Re=function(n,s,c){return n._gsap[s]=c},ze=function(n,s,c){return n._gsap.scaleX=n._gsap.scaleY=c},ft=function(n,s,c,d,v){var C=n._gsap;C.scaleX=C.scaleY=c,C.renderTransform(v,C)},Ut=function(n,s,c,d,v){var C=n._gsap;C[s]=c,C.renderTransform(v,C)},Mt="transform",gi=Mt+"Origin",fi,bi=function(n,s){var c=Er.createElementNS?Er.createElementNS((s||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),n):Er.createElement(n);return c.style?c:Er.createElement(n)},Oi=function o(n,s,c){var d=getComputedStyle(n);return d[s]||d.getPropertyValue(s.replace(Ya,"-$1").toLowerCase())||d.getPropertyValue(s)||!c&&o(n,Qi(s)||s,1)||""},Ui="O,Moz,ms,Ms,Webkit".split(","),Qi=function(n,s,c){var d=s||Wn,v=d.style,C=5;if(n in v&&!c)return n;for(n=n.charAt(0).toUpperCase()+n.substr(1);C--&&!(Ui[C]+n in v););return C<0?null:(C===3?"ms":C>=0?Ui[C]:"")+n},mn=function(){ps()&&window.document&&(Es=window,Er=Es.document,jr=Er.documentElement,Wn=bi("div")||{style:{}},Ys=bi("div"),Mt=Qi(Mt),gi=Mt+"Origin",Wn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",fi=!!Qi("perspective"),_s=1)},Lr=function o(n){var s=bi("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),c=this.parentNode,d=this.nextSibling,v=this.style.cssText,C;if(jr.appendChild(s),s.appendChild(this),this.style.display="block",n)try{C=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=o}catch(D){}else this._gsapBBox&&(C=this._gsapBBox());return c&&(d?c.insertBefore(this,d):c.appendChild(this)),jr.removeChild(s),this.style.cssText=v,C},Vo=function(n,s){for(var c=s.length;c--;)if(n.hasAttribute(s[c]))return n.getAttribute(s[c])},$r=function(n){var s;try{s=n.getBBox()}catch(c){s=Lr.call(n,!0)}return s&&(s.width||s.height)||n.getBBox===Lr||(s=Lr.call(n,!0)),s&&!s.width&&!s.x&&!s.y?{x:+Vo(n,["x","cx","x1"])||0,y:+Vo(n,["y","cy","y1"])||0,width:0,height:0}:s},zn=function(n){return!!(n.getCTM&&(!n.parentNode||n.ownerSVGElement)&&$r(n))},jn=function(n,s){if(s){var c=n.style;s in os&&s!==gi&&(s=Mt),c.removeProperty?((s.substr(0,2)==="ms"||s.substr(0,6)==="webkit")&&(s="-"+s),c.removeProperty(s.replace(Ya,"-$1").toLowerCase())):c.removeAttribute(s)}},Ni=function(n,s,c,d,v,C){var D=new Nt(n._pt,s,c,0,1,C?je:ne);return n._pt=D,D.b=d,D.e=v,n._props.push(c),D},kn={deg:1,rad:1,turn:1},Nn=function o(n,s,c,d){var v=parseFloat(c)||0,C=(c+"").trim().substr((v+"").length)||"px",D=Wn.style,q=Ta.test(s),K=n.tagName.toLowerCase()==="svg",ue=(K?"client":"offset")+(q?"Width":"Height"),fe=100,Ee=d==="px",De=d==="%",et,Ne,vt,Je;return d===C||!v||kn[d]||kn[C]?v:(C!=="px"&&!Ee&&(v=o(n,s,c,"px")),Je=n.getCTM&&zn(n),(De||C==="%")&&(os[s]||~s.indexOf("adius"))?(et=Je?n.getBBox()[q?"width":"height"]:n[ue],gn(De?v/et*fe:v/100*et)):(D[q?"width":"height"]=fe+(Ee?C:d),Ne=~s.indexOf("adius")||d==="em"&&n.appendChild&&!K?n:n.parentNode,Je&&(Ne=(n.ownerSVGElement||{}).parentNode),(!Ne||Ne===Er||!Ne.appendChild)&&(Ne=Er.body),vt=Ne._gsap,vt&&De&&vt.width&&q&&vt.time===Ki.time?gn(v/vt.width*fe):((De||C==="%")&&(D.position=Oi(n,"position")),Ne===n&&(D.position="static"),Ne.appendChild(Wn),et=Wn[ue],Ne.removeChild(Wn),D.position="absolute",q&&De&&(vt=Hi(Ne),vt.time=Ki.time,vt.width=Ne[ue]),gn(Ee?et*v/fe:et&&v?fe/et*v:0))))},ln=function(n,s,c,d){var v;return _s||mn(),s in Kr&&s!=="transform"&&(s=Kr[s],~s.indexOf(",")&&(s=s.split(",")[0])),os[s]&&s!=="transform"?(v=da(n,d),v=s!=="transformOrigin"?v[s]:v.svg?v.origin:Ma(Oi(n,gi))+" "+v.zOrigin+"px"):(v=n.style[s],(!v||v==="auto"||d||~(v+"").indexOf("calc("))&&(v=Is[s]&&Is[s](n,s,c)||Oi(n,s)||qi(n,s)||(s==="opacity"?1:0))),c&&!~(v+"").trim().indexOf(" ")?Nn(n,s,v,c)+c:v},In=function(n,s,c,d){if(!c||c==="none"){var v=Qi(s,n,1),C=v&&Oi(n,v,1);C&&C!==c?(s=v,c=C):s==="borderColor"&&(c=Oi(n,"borderTopColor"))}var D=new Nt(this._pt,n.style,s,0,1,Ur),q=0,K=0,ue,fe,Ee,De,et,Ne,vt,Je,Ye,at,st,Qe;if(D.b=c,D.e=d,c+="",d+="",d==="auto"&&(n.style[s]=d,d=Oi(n,s)||d,n.style[s]=c),ue=[c,d],fs(ue),c=ue[0],d=ue[1],Ee=c.match(Jt)||[],Qe=d.match(Jt)||[],Qe.length){for(;fe=Jt.exec(d);)vt=fe[0],Ye=d.substring(q,fe.index),et?et=(et+1)%5:(Ye.substr(-5)==="rgba("||Ye.substr(-5)==="hsla(")&&(et=1),vt!==(Ne=Ee[K++]||"")&&(De=parseFloat(Ne)||0,st=Ne.substr((De+"").length),vt.charAt(1)==="="&&(vt=Dr(De,vt)+st),Je=parseFloat(vt),at=vt.substr((Je+"").length),q=Jt.lastIndex-at.length,at||(at=at||pi.units[s]||st,q===d.length&&(d+=at,D.e+=at)),st!==at&&(De=Nn(n,s,Ne,at)||0),D._pt={_next:D._pt,p:Ye||K===1?Ye:",",s:De,c:Je-De,m:et&&et<4||s==="zIndex"?Math.round:0});D.c=q<d.length?d.substring(q,d.length):""}else D.r=s==="display"&&d==="none"?je:ne;return Gi.test(d)&&(D.e=0),this._pt=D,D},tr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},as=function(n){var s=n.split(" "),c=s[0],d=s[1]||"50%";return(c==="top"||c==="bottom"||d==="left"||d==="right")&&(n=c,c=d,d=n),s[0]=tr[c]||c,s[1]=tr[d]||d,s.join(" ")},Qr=function(n,s){if(s.tween&&s.tween._time===s.tween._dur){var c=s.t,d=c.style,v=s.u,C=c._gsap,D,q,K;if(v==="all"||v===!0)d.cssText="",q=1;else for(v=v.split(","),K=v.length;--K>-1;)D=v[K],os[D]&&(q=1,D=D==="transformOrigin"?gi:Mt),jn(c,D);q&&(jn(c,Mt),C&&(C.svg&&c.removeAttribute("transform"),da(c,1),C.uncache=1))}},Is={clearProps:function(n,s,c,d,v){if(v.data!=="isFromStart"){var C=n._pt=new Nt(n._pt,s,c,0,0,Qr);return C.u=d,C.pr=-10,C.tween=v,n._props.push(c),1}}},io=[1,0,0,1,0,0],ka={},Uo=function(n){return n==="matrix(1, 0, 0, 1, 0, 0)"||n==="none"||!n},Pa=function(n){var s=Oi(n,Mt);return Uo(s)?io:s.substr(7).match(Vt).map(gn)},Da=function(n,s){var c=n._gsap||Hi(n),d=n.style,v=Pa(n),C,D,q,K;return c.svg&&n.getAttribute("transform")?(q=n.transform.baseVal.consolidate().matrix,v=[q.a,q.b,q.c,q.d,q.e,q.f],v.join(",")==="1,0,0,1,0,0"?io:v):(v===io&&!n.offsetParent&&n!==jr&&!c.svg&&(q=d.display,d.display="block",C=n.parentNode,(!C||!n.offsetParent)&&(K=1,D=n.nextSibling,jr.appendChild(n)),v=Pa(n),q?d.display=q:jn(n,"display"),K&&(D?C.insertBefore(n,D):C?C.appendChild(n):jr.removeChild(n))),s&&v.length>6?[v[0],v[1],v[4],v[5],v[12],v[13]]:v)},Ga=function(n,s,c,d,v,C){var D=n._gsap,q=v||Da(n,!0),K=D.xOrigin||0,ue=D.yOrigin||0,fe=D.xOffset||0,Ee=D.yOffset||0,De=q[0],et=q[1],Ne=q[2],vt=q[3],Je=q[4],Ye=q[5],at=s.split(" "),st=parseFloat(at[0])||0,Qe=parseFloat(at[1])||0,Tt,At,bt,kt;c?q!==io&&(At=De*vt-et*Ne)&&(bt=st*(vt/At)+Qe*(-Ne/At)+(Ne*Ye-vt*Je)/At,kt=st*(-et/At)+Qe*(De/At)-(De*Ye-et*Je)/At,st=bt,Qe=kt):(Tt=$r(n),st=Tt.x+(~at[0].indexOf("%")?st/100*Tt.width:st),Qe=Tt.y+(~(at[1]||at[0]).indexOf("%")?Qe/100*Tt.height:Qe)),d||d!==!1&&D.smooth?(Je=st-K,Ye=Qe-ue,D.xOffset=fe+(Je*De+Ye*Ne)-Je,D.yOffset=Ee+(Je*et+Ye*vt)-Ye):D.xOffset=D.yOffset=0,D.xOrigin=st,D.yOrigin=Qe,D.smooth=!!d,D.origin=s,D.originIsAbsolute=!!c,n.style[gi]="0px 0px",C&&(Ni(C,D,"xOrigin",K,st),Ni(C,D,"yOrigin",ue,Qe),Ni(C,D,"xOffset",fe,D.xOffset),Ni(C,D,"yOffset",Ee,D.yOffset)),n.setAttribute("data-svg-origin",st+" "+Qe)},da=function(n,s){var c=n._gsap||new zr(n);if("x"in c&&!s&&!c.uncache)return c;var d=n.style,v=c.scaleX<0,C="px",D="deg",q=Oi(n,gi)||"0",K,ue,fe,Ee,De,et,Ne,vt,Je,Ye,at,st,Qe,Tt,At,bt,kt,ri,yi,hn,dn,mi,Bn,Xi,Sn,qn,ms,ta,Zr,ia,ws,zo;return K=ue=fe=et=Ne=vt=Je=Ye=at=0,Ee=De=1,c.svg=!!(n.getCTM&&zn(n)),Tt=Da(n,c.svg),c.svg&&(Xi=(!c.uncache||q==="0px 0px")&&!s&&n.getAttribute("data-svg-origin"),Ga(n,Xi||q,!!Xi||c.originIsAbsolute,c.smooth!==!1,Tt)),st=c.xOrigin||0,Qe=c.yOrigin||0,Tt!==io&&(ri=Tt[0],yi=Tt[1],hn=Tt[2],dn=Tt[3],K=mi=Tt[4],ue=Bn=Tt[5],Tt.length===6?(Ee=Math.sqrt(ri*ri+yi*yi),De=Math.sqrt(dn*dn+hn*hn),et=ri||yi?To(yi,ri)*Co:0,Je=hn||dn?To(hn,dn)*Co+et:0,Je&&(De*=Math.abs(Math.cos(Je*ks))),c.svg&&(K-=st-(st*ri+Qe*hn),ue-=Qe-(st*yi+Qe*dn))):(zo=Tt[6],ia=Tt[7],ms=Tt[8],ta=Tt[9],Zr=Tt[10],ws=Tt[11],K=Tt[12],ue=Tt[13],fe=Tt[14],At=To(zo,Zr),Ne=At*Co,At&&(bt=Math.cos(-At),kt=Math.sin(-At),Xi=mi*bt+ms*kt,Sn=Bn*bt+ta*kt,qn=zo*bt+Zr*kt,ms=mi*-kt+ms*bt,ta=Bn*-kt+ta*bt,Zr=zo*-kt+Zr*bt,ws=ia*-kt+ws*bt,mi=Xi,Bn=Sn,zo=qn),At=To(-hn,Zr),vt=At*Co,At&&(bt=Math.cos(-At),kt=Math.sin(-At),Xi=ri*bt-ms*kt,Sn=yi*bt-ta*kt,qn=hn*bt-Zr*kt,ws=dn*kt+ws*bt,ri=Xi,yi=Sn,hn=qn),At=To(yi,ri),et=At*Co,At&&(bt=Math.cos(At),kt=Math.sin(At),Xi=ri*bt+yi*kt,Sn=mi*bt+Bn*kt,yi=yi*bt-ri*kt,Bn=Bn*bt-mi*kt,ri=Xi,mi=Sn),Ne&&Math.abs(Ne)+Math.abs(et)>359.9&&(Ne=et=0,vt=180-vt),Ee=gn(Math.sqrt(ri*ri+yi*yi+hn*hn)),De=gn(Math.sqrt(Bn*Bn+zo*zo)),At=To(mi,Bn),Je=Math.abs(At)>2e-4?At*Co:0,at=ws?1/(ws<0?-ws:ws):0),c.svg&&(Xi=n.getAttribute("transform"),c.forceCSS=n.setAttribute("transform","")||!Uo(Oi(n,Mt)),Xi&&n.setAttribute("transform",Xi))),Math.abs(Je)>90&&Math.abs(Je)<270&&(v?(Ee*=-1,Je+=et<=0?180:-180,et+=et<=0?180:-180):(De*=-1,Je+=Je<=0?180:-180)),s=s||c.uncache,c.x=K-((c.xPercent=K&&(!s&&c.xPercent||(Math.round(n.offsetWidth/2)===Math.round(-K)?-50:0)))?n.offsetWidth*c.xPercent/100:0)+C,c.y=ue-((c.yPercent=ue&&(!s&&c.yPercent||(Math.round(n.offsetHeight/2)===Math.round(-ue)?-50:0)))?n.offsetHeight*c.yPercent/100:0)+C,c.z=fe+C,c.scaleX=gn(Ee),c.scaleY=gn(De),c.rotation=gn(et)+D,c.rotationX=gn(Ne)+D,c.rotationY=gn(vt)+D,c.skewX=Je+D,c.skewY=Ye+D,c.transformPerspective=at+C,(c.zOrigin=parseFloat(q.split(" ")[2])||0)&&(d[gi]=Ma(q)),c.xOffset=c.yOffset=0,c.force3D=pi.force3D,c.renderTransform=c.svg?Wo:fi?al:hc,c.uncache=0,c},Ma=function(n){return(n=n.split(" "))[0]+" "+n[1]},Xa=function(n,s,c){var d=yr(s);return gn(parseFloat(s)+parseFloat(Nn(n,"x",c+"px",d)))+d},hc=function(n,s){s.z="0px",s.rotationY=s.rotationX="0deg",s.force3D=0,al(n,s)},Qo="0deg",$o="0px",ea=") ",al=function(n,s){var c=s||this,d=c.xPercent,v=c.yPercent,C=c.x,D=c.y,q=c.z,K=c.rotation,ue=c.rotationY,fe=c.rotationX,Ee=c.skewX,De=c.skewY,et=c.scaleX,Ne=c.scaleY,vt=c.transformPerspective,Je=c.force3D,Ye=c.target,at=c.zOrigin,st="",Qe=Je==="auto"&&n&&n!==1||Je===!0;if(at&&(fe!==Qo||ue!==Qo)){var Tt=parseFloat(ue)*ks,At=Math.sin(Tt),bt=Math.cos(Tt),kt;Tt=parseFloat(fe)*ks,kt=Math.cos(Tt),C=Xa(Ye,C,At*kt*-at),D=Xa(Ye,D,-Math.sin(Tt)*-at),q=Xa(Ye,q,bt*kt*-at+at)}vt!==$o&&(st+="perspective("+vt+ea),(d||v)&&(st+="translate("+d+"%, "+v+"%) "),(Qe||C!==$o||D!==$o||q!==$o)&&(st+=q!==$o||Qe?"translate3d("+C+", "+D+", "+q+") ":"translate("+C+", "+D+ea),K!==Qo&&(st+="rotate("+K+ea),ue!==Qo&&(st+="rotateY("+ue+ea),fe!==Qo&&(st+="rotateX("+fe+ea),(Ee!==Qo||De!==Qo)&&(st+="skew("+Ee+", "+De+ea),(et!==1||Ne!==1)&&(st+="scale("+et+", "+Ne+ea),Ye.style[Mt]=st||"translate(0, 0)"},Wo=function(n,s){var c=s||this,d=c.xPercent,v=c.yPercent,C=c.x,D=c.y,q=c.rotation,K=c.skewX,ue=c.skewY,fe=c.scaleX,Ee=c.scaleY,De=c.target,et=c.xOrigin,Ne=c.yOrigin,vt=c.xOffset,Je=c.yOffset,Ye=c.forceCSS,at=parseFloat(C),st=parseFloat(D),Qe,Tt,At,bt,kt;q=parseFloat(q),K=parseFloat(K),ue=parseFloat(ue),ue&&(ue=parseFloat(ue),K+=ue,q+=ue),q||K?(q*=ks,K*=ks,Qe=Math.cos(q)*fe,Tt=Math.sin(q)*fe,At=Math.sin(q-K)*-Ee,bt=Math.cos(q-K)*Ee,K&&(ue*=ks,kt=Math.tan(K-ue),kt=Math.sqrt(1+kt*kt),At*=kt,bt*=kt,ue&&(kt=Math.tan(ue),kt=Math.sqrt(1+kt*kt),Qe*=kt,Tt*=kt)),Qe=gn(Qe),Tt=gn(Tt),At=gn(At),bt=gn(bt)):(Qe=fe,bt=Ee,Tt=At=0),(at&&!~(C+"").indexOf("px")||st&&!~(D+"").indexOf("px"))&&(at=Nn(De,"x",C,"px"),st=Nn(De,"y",D,"px")),(et||Ne||vt||Je)&&(at=gn(at+et-(et*Qe+Ne*At)+vt),st=gn(st+Ne-(et*Tt+Ne*bt)+Je)),(d||v)&&(kt=De.getBBox(),at=gn(at+d/100*kt.width),st=gn(st+v/100*kt.height)),kt="matrix("+Qe+","+Tt+","+At+","+bt+","+at+","+st+")",De.setAttribute("transform",kt),Ye&&(De.style[Mt]=kt)},ll=function(n,s,c,d,v){var C=360,D=Ai(v),q=parseFloat(v)*(D&&~v.indexOf("rad")?Co:1),K=q-d,ue=d+K+"deg",fe,Ee;return D&&(fe=v.split("_")[1],fe==="short"&&(K%=C,K!==K%(C/2)&&(K+=K<0?C:-C)),fe==="cw"&&K<0?K=(K+C*Ca)%C-~~(K/C)*C:fe==="ccw"&&K>0&&(K=(K-C*Ca)%C-~~(K/C)*C)),n._pt=Ee=new Nt(n._pt,s,c,d,K,h),Ee.e=ue,Ee.u="deg",n._props.push(c),Ee},cl=function(n,s){for(var c in s)n[c]=s[c];return n},Sl=function(n,s,c){var d=cl({},c._gsap),v="perspective,force3D,transformOrigin,svgOrigin",C=c.style,D,q,K,ue,fe,Ee,De,et;d.svg?(K=c.getAttribute("transform"),c.setAttribute("transform",""),C[Mt]=s,D=da(c,1),jn(c,Mt),c.setAttribute("transform",K)):(K=getComputedStyle(c)[Mt],C[Mt]=s,D=da(c,1),C[Mt]=K);for(q in os)K=d[q],ue=D[q],K!==ue&&v.indexOf(q)<0&&(De=yr(K),et=yr(ue),fe=De!==et?Nn(c,q,K,et):parseFloat(K),Ee=parseFloat(ue),n._pt=new Nt(n._pt,D,q,fe,Ee-fe,Ea),n._pt.u=et||0,n._props.push(q));cl(D,d)};xn("padding,margin,Width,Radius",function(o,n){var s="Top",c="Right",d="Bottom",v="Left",C=(n<3?[s,c,d,v]:[s+v,s+c,d+c,d+v]).map(function(D){return n<2?o+D:"border"+D+o});Is[n>1?"border"+o:o]=function(D,q,K,ue,fe){var Ee,De;if(arguments.length<4)return Ee=C.map(function(et){return ln(D,et,K)}),De=Ee.join(" "),De.split(Ee[0]).length===5?Ee[0]:De;Ee=(ue+"").split(" "),De={},C.forEach(function(et,Ne){return De[et]=Ee[Ne]=Ee[Ne]||Ee[(Ne-1)/2|0]}),D.init(q,De,fe)}});var Cl={name:"css",register:mn,targetTest:function(n){return n.style&&n.nodeType},init:function(n,s,c,d,v){var C=this._props,D=n.style,q=c.vars.startAt,K,ue,fe,Ee,De,et,Ne,vt,Je,Ye,at,st,Qe,Tt,At;_s||mn();for(Ne in s)if(Ne!=="autoRound"&&(ue=s[Ne],!(Ge[Ne]&&Qs(Ne,s,c,d,n,v)))){if(De=typeof ue,et=Is[Ne],De==="function"&&(ue=ue.call(c,d,n,v),De=typeof ue),De==="string"&&~ue.indexOf("random(")&&(ue=M(ue)),et)et(this,n,Ne,ue,c)&&(At=1);else if(Ne.substr(0,2)==="--")K=(getComputedStyle(n).getPropertyValue(Ne)+"").trim(),ue+="",or.lastIndex=0,or.test(K)||(vt=yr(K),Je=yr(ue)),Je?vt!==Je&&(K=Nn(n,Ne,K,Je)+Je):vt&&(ue+=vt),this.add(D,"setProperty",K,ue,d,v,0,0,Ne),C.push(Ne);else if(De!=="undefined"){if(q&&Ne in q?(K=typeof q[Ne]=="function"?q[Ne].call(c,d,n,v):q[Ne],Ai(K)&&~K.indexOf("random(")&&(K=M(K)),yr(K+"")||(K+=pi.units[Ne]||yr(ln(n,Ne))||""),(K+"").charAt(1)==="="&&(K=ln(n,Ne))):K=ln(n,Ne),Ee=parseFloat(K),Ye=De==="string"&&ue.charAt(1)==="="&&ue.substr(0,2),Ye&&(ue=ue.substr(2)),fe=parseFloat(ue),Ne in Kr&&(Ne==="autoAlpha"&&(Ee===1&&ln(n,"visibility")==="hidden"&&fe&&(Ee=0),Ni(this,D,"visibility",Ee?"inherit":"hidden",fe?"inherit":"hidden",!fe)),Ne!=="scale"&&Ne!=="transform"&&(Ne=Kr[Ne],~Ne.indexOf(",")&&(Ne=Ne.split(",")[0]))),at=Ne in os,at){if(st||(Qe=n._gsap,Qe.renderTransform&&!s.parseTransform||da(n,s.parseTransform),Tt=s.smoothOrigin!==!1&&Qe.smooth,st=this._pt=new Nt(this._pt,D,Mt,0,1,Qe.renderTransform,Qe,0,-1),st.dep=1),Ne==="scale")this._pt=new Nt(this._pt,Qe,"scaleY",Qe.scaleY,(Ye?Dr(Qe.scaleY,Ye+fe):fe)-Qe.scaleY||0),C.push("scaleY",Ne),Ne+="X";else if(Ne==="transformOrigin"){ue=as(ue),Qe.svg?Ga(n,ue,0,Tt,0,this):(Je=parseFloat(ue.split(" ")[2])||0,Je!==Qe.zOrigin&&Ni(this,Qe,"zOrigin",Qe.zOrigin,Je),Ni(this,D,Ne,Ma(K),Ma(ue)));continue}else if(Ne==="svgOrigin"){Ga(n,ue,1,Tt,0,this);continue}else if(Ne in ka){ll(this,Qe,Ne,Ee,Ye?Dr(Ee,Ye+ue):ue);continue}else if(Ne==="smoothOrigin"){Ni(this,Qe,"smooth",Qe.smooth,ue);continue}else if(Ne==="force3D"){Qe[Ne]=ue;continue}else if(Ne==="transform"){Sl(this,ue,n);continue}}else Ne in D||(Ne=Qi(Ne)||Ne);if(at||(fe||fe===0)&&(Ee||Ee===0)&&!go.test(ue)&&Ne in D)vt=(K+"").substr((Ee+"").length),fe||(fe=0),Je=yr(ue)||(Ne in pi.units?pi.units[Ne]:vt),vt!==Je&&(Ee=Nn(n,Ne,K,Je)),this._pt=new Nt(this._pt,at?Qe:D,Ne,Ee,(Ye?Dr(Ee,Ye+fe):fe)-Ee,!at&&(Je==="px"||Ne==="zIndex")&&s.autoRound!==!1?I:Ea),this._pt.u=Je||0,vt!==Je&&Je!=="%"&&(this._pt.b=K,this._pt.r=k);else if(Ne in D)In.call(this,n,Ne,K,Ye?Ye+ue:ue);else if(Ne in n)this.add(n,Ne,K||n[Ne],Ye?Ye+ue:ue,d,v);else{Fn(Ne,ue);continue}C.push(Ne)}}At&&Rt(this)},get:ln,aliases:Kr,getSetter:function(n,s,c){var d=Kr[s];return d&&d.indexOf(",")<0&&(s=d),s in os&&s!==gi&&(n._gsap.x||ln(n,"x"))?c&&Ho===c?s==="scale"?ze:Re:(Ho=c||{})&&(s==="scale"?ft:Ut):n.style&&!ls(n.style[s])?we:~s.indexOf("-")?Te:Bo(n,s)},core:{_removeProperty:jn,_getMatrix:Da}};wi.utils.checkPrefix=Qi,function(o,n,s,c){var d=xn(o+","+n+","+s,function(v){os[v]=1});xn(n,function(v){pi.units[v]="deg",ka[v]=1}),Kr[d[13]]=o+","+n,xn(c,function(v){var C=v.split(":");Kr[C[1]]=d[C[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),xn("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){pi.units[o]="px"}),wi.registerPlugin(Cl);var ul=wi.registerPlugin(Cl)||wi,La=ul.core.Tween,fl={props:{title:{type:String,default:""},points:{type:Array,default:function(){return[]}},height:{type:Number,default:100},width:{type:Number,default:300},showYAxis:{type:Boolean,default:!1},showXAxis:{type:Boolean,default:!1},labelHeight:{type:Number,default:12},showTrendLine:{type:Boolean,default:!1},trendLineColor:{type:String,default:"green"},trendLineWidth:{type:Number,default:2},easeIn:{type:Boolean,default:!0},showValues:{type:Boolean,default:!1},maxYAxis:{type:Number,default:0},animationDuration:{type:Number,default:.5},barColor:{type:String,default:"deepskyblue"},textColor:{type:String,default:"black"},textAltColor:{type:String,default:"black"},textFont:{type:String,default:"10px sans-serif"},useCustomLabels:{type:Boolean,default:!1},customLabels:{type:Array,default:function(){return[]}}},data:function(){return{dynamicPoints:[],staticPoints:[],extraTopHeightForYAxisLabel:4,extraBottomHeightForYAxisLabel:4,digitsUsedInYAxis:0}},computed:{usingObjectsForDataPoints:function(){return this.points.every(function(n){return Wi(n)==="object"})},dataPoints:function(){return this.usingObjectsForDataPoints?this.points.map(function(n){return n.value}):this.points},dataLabels:function(){var n=this;return this.points.map(function(s,c){return n.useCustomLabels?n.customLabels[c]:n.usingObjectsForDataPoints?s.label:c+1})},dataColors:function(){var n=this;return this.points.map(function(s){return{barColor:s&&s.barColor?s.barColor:n.barColor,textColor:s&&s.textColor?s.textColor:n.textColor,textAltColor:s&&s.textAltColor?s.textAltColor:n.textAltColor}})},yAxisWidth:function(){return this.digitsUsedInYAxis*5.8+5},xAxisHeight:function(){return this.showYAxis?this.labelHeight:this.labelHeight+this.extraBottomHeightForYAxisLabel+this.extraTopHeightForYAxisLabel},fullSvgWidth:function(){return this.width},fullSvgHeight:function(){return this.height},innerChartWidth:function(){return this.showYAxis?this.width-this.yAxisWidth:this.width},innerChartHeight:function(){var n=this.height;return this.showYAxis&&(n-=this.extraTopHeightForYAxisLabel+this.extraBottomHeightForYAxisLabel),this.showXAxis&&(n-=this.xAxisHeight),n},partitionWidth:function(){return this.innerChartWidth/this.dataPoints.length},maxDomain:function(){return this.maxYAxis?this.maxYAxis:Math.ceil(Math.max.apply(Math,On(this.dataPoints)))},chartData:function(){var n=this;return this.dynamicPoints.map(function(s,c){return{staticValue:n.staticPoints[c],index:c,label:n.dataLabels[c],width:n.partitionWidth-2,midPoint:n.partitionWidth/2,yLabel:n.innerChartHeight+4,x:c*n.partitionWidth,xMidpoint:c*n.partitionWidth+n.partitionWidth/2,yOffset:n.innerChartHeight-n.y(s),height:n.y(s),barColor:n.dataColors[c].barColor,textColor:n.dataColors[c].textColor,textAltColor:n.dataColors[c].textAltColor}})},trendLine:function(){var n=this.applySlope(this.dynamicPoints);return{x1:this.partitionWidth/2,y1:this.roundTo(this.innerChartHeight-this.y(n[0]),2),x2:this.innerChartWidth-this.partitionWidth/2,y2:this.roundTo(this.innerChartHeight-this.y(n[n.length-1]),2)}}},watch:{dataPoints:function(n){this.tween(n)}},created:function(){this.easeIn?this.tween(this.dataPoints):(this.dynamicPoints=this.dataPoints,this.staticPoints=this.dataPoints)},methods:{y:function(n){return n/this.maxDomain*this.innerChartHeight},roundTo:function(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,c=!1,d=n;d<0&&(c=!0,d*=-1);var v=Math.pow(10,s);return d=parseFloat((d*v).toFixed(11)),d=(Math.round(d)/v).toFixed(2),c&&(d=(d*-1).toFixed(2)),d},tween:function(n){for(var s=this,c={},d={},v=0;v<n.length;v+=1){var C=v.toString();c[C]=n[v],d[C]=this.dynamicPoints[v]||0}var D=function(){var K=Object.values(d);K.pop(),s.dynamicPoints=K};ul.to(d,de(de({},c),{},{onUpdate:D,duration:this.animationDuration})),this.staticPoints=n},getTicks:function(){for(var n=this,s=6;s>0;s-=1)if(this.maxDomain%s===0){var c=function(){var d=s<3,v=d?3:s;return n.digitsUsedInYAxis=n.maxDomain.toFixed(d?1:0).replace(".","").length,{v:On(new Array(v+1)).map(function(C,D){var q=n.maxDomain/v*(v-D),K=n.innerChartHeight/v*D;return{key:D,text:d?q.toFixed(1):q,yText:K<10?10:K+4,x1:n.yAxisWidth-4,y1:K,x2:n.yAxisWidth-1,y2:K}})}}();if(Wi(c)==="object")return c.v}return[]},applySlope:function(n){for(var s=0,c=0,d=0;d<n.length;d+=1)s+=d,c+=n[d];s/=n.length,c/=n.length;for(var v=0,C=0,D=0;D<n.length;D+=1)v+=(D-s)*(n[D]-c),C+=Math.pow(D-s,2);for(var q=v/C,K=c-q*s,ue=[],fe=0;fe<n.length;fe+=1)ue.push(q*fe+K);return ue}}},zl=f(3744),dl=(0,zl.Z)(fl,[["render",ee]]);function Ia(o){Ia.installed||(Ia.installed=!0,o.component("VueBarGraph",dl))}var mc={install:Ia},Ja=null;typeof window!="undefined"?Ja=window.Vue:typeof f.g!="undefined"&&(Ja=f.g.Vue),Ja&&Ja.use(mc);var Tl=dl,El=Tl})(),S.exports=Q})()},"./node_modules/vue-loader/dist/exportHelper.js":function(S,dt){"use strict";var gt;gt={value:!0},dt.Z=(R,j)=>{const f=R.__vccOpts||R;for(const[Q,V]of j)f[Q]=V;return f}},"./node_modules/vue/dist/vue.cjs.prod.js":function(S,dt,gt){"use strict";Object.defineProperty(dt,"__esModule",{value:!0});var R=gt("./node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js"),j=gt("./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js"),f=gt("./node_modules/@vue/shared/dist/shared.esm-bundler.js");function Q($){var U=Object.create(null);if($)for(var H in $)U[H]=$[H];return U.default=$,Object.freeze(U)}var V=Q(j);const se=Object.create(null);function y($,U){if(!f.isString($))if($.nodeType)$=$.innerHTML;else return f.NOOP;const H=$,O=se[H];if(O)return O;if($[0]==="#"){const J=document.querySelector($);$=J?J.innerHTML:""}const Z=f.extend({hoistStatic:!0,onError:void 0,onWarn:f.NOOP},U);!Z.isCustomElement&&typeof customElements!="undefined"&&(Z.isCustomElement=J=>!!customElements.get(J));const{code:he}=R.compile($,Z),te=new Function("Vue",he)(V);return te._rc=!0,se[H]=te}j.registerRuntimeCompiler(y),dt.compile=y,Object.keys(j).forEach(function($){$!=="default"&&!dt.hasOwnProperty($)&&(dt[$]=j[$])})},"./node_modules/vue/index.js":function(S,dt,gt){"use strict";S.exports=gt("./node_modules/vue/dist/vue.cjs.prod.js")}},Kn={};function St(S){var dt=Kn[S];if(dt!==void 0)return dt.exports;var gt=Kn[S]={exports:{}};return fr[S].call(gt.exports,gt,gt.exports,St),gt.exports}St.m=fr,function(){St.amdO={}}(),function(){St.n=function(S){var dt=S&&S.__esModule?function(){return S.default}:function(){return S};return St.d(dt,{a:dt}),dt}}(),function(){var S=Object.getPrototypeOf?function(gt){return Object.getPrototypeOf(gt)}:function(gt){return gt.__proto__},dt;St.t=function(gt,R){if(R&1&&(gt=this(gt)),R&8||typeof gt=="object"&&gt&&(R&4&&gt.__esModule||R&16&&typeof gt.then=="function"))return gt;var j=Object.create(null);St.r(j);var f={};dt=dt||[null,S({}),S([]),S(S)];for(var Q=R&2&&gt;typeof Q=="object"&&!~dt.indexOf(Q);Q=S(Q))Object.getOwnPropertyNames(Q).forEach(function(V){f[V]=function(){return gt[V]}});return f.default=function(){return gt},St.d(j,f),j}}(),function(){St.d=function(S,dt){for(var gt in dt)St.o(dt,gt)&&!St.o(S,gt)&&Object.defineProperty(S,gt,{enumerable:!0,get:dt[gt]})}}(),function(){St.f={},St.e=function(S){return Promise.all(Object.keys(St.f).reduce(function(dt,gt){return St.f[gt](S,dt),dt},[]))}}(),function(){St.u=function(S){if(S==="sortablejs")return"js/"+S+".f74cc727.js";if(S==="mermaid")return"js/"+S+".dc7ee638.js";if(S==="katex")return"js/"+S+".25d07669.js";if(S==="asciinema-player")return"js/"+S+".afb44d64.js";if(S==="minicolors")return"js/"+S+".98bf1283.js";if(S==="dropzone")return"js/"+S+".2e37d03b.js";if(S==="easymde")return"js/"+S+".58e747ca.js";if(S==="tribute")return"js/"+S+".20426199.js";if(S==="monaco")return"js/"+S+".7ccf4881.js";if(S==="citation-js-core-citation-js-formats-citation-js-bibtex-citation-js-csl")return"js/"+S+".59c9149a.js";if(S==="citation-js-formats")return"js/"+S+".70fecae4.js";if(S==="citation-js-bibtex")return"js/"+S+".7842d8b8.js";if(S==="citation-js-csl")return"js/"+S+".20f70cb4.js";if(S==="mcaptcha-vanilla-glue")return"js/"+S+".149786ce.js";if(S==="pdfobject")return"js/"+S+".8822cb88.js";if(S==="vendors-node_modules_mermaid_dist_c4Diagram-7ff6304f_js")return"js/"+S+".8dabe894.js";if(S==="-")return"js/-.c4df7970.js";if(S==="vendors-node_modules_mermaid_dist_flowDiagram-f303bdd6_js")return"js/"+S+".4a8a0e02.js";if(S==="node_modules_mermaid_dist_flowDiagram-v2-34644886_js")return"js/"+S+".d384aa10.js";if(S==="vendors-node_modules_mermaid_dist_erDiagram-a995d1fe_js")return"js/"+S+".83643c47.js";if(S==="vendors-node_modules_mermaid_dist_gitGraphDiagram-2139c8c6_js")return"js/"+S+".019ebfb9.js";if(S==="vendors-node_modules_mermaid_dist_ganttDiagram-6a1a118f_js")return"js/"+S+".43c0a581.js";if(S==="node_modules_mermaid_dist_infoDiagram-2064d999_js")return"js/"+S+".c6626b21.js";if(S==="vendors-node_modules_mermaid_dist_pieDiagram-ed51bc52_js")return"js/"+S+".b8ae0df8.js";if(S==="vendors-node_modules_mermaid_dist_quadrantDiagram-3a393d1c_js")return"js/"+S+".94ca0e78.js";if(S==="vendors-node_modules_mermaid_dist_requirementDiagram-e12f1d97_js")return"js/"+S+".59225353.js";if(S==="vendors-node_modules_mermaid_dist_sequenceDiagram-d89d0f25_js")return"js/"+S+".d11c70c2.js";if(S==="node_modules_mermaid_dist_classDiagram-04f04946_js")return"js/"+S+".d470b689.js";if(S==="node_modules_mermaid_dist_classDiagram-v2-d4efdcc3_js")return"js/"+S+".e3449ae6.js";if(S==="node_modules_mermaid_dist_stateDiagram-0d589c85_js")return"js/"+S+".e61d5721.js";if(S==="node_modules_mermaid_dist_stateDiagram-v2-8bb05ecb_js")return"js/"+S+".6e21fb05.js";if(S==="vendors-node_modules_mermaid_dist_journeyDiagram-6df70039_js")return"js/"+S+".484ae89e.js";if(S==="vendors-node_modules_mermaid_dist_flowchart-elk-definition-b487ab79_js")return"js/"+S+".8f8cfc9a.js";if(S==="vendors-node_modules_mermaid_dist_timeline-definition-8b56e66a_js")return"js/"+S+".009c0cf6.js";if(S==="vendors-node_modules_mermaid_dist_mindmap-definition-7f612c4b_js")return"js/"+S+".ae97d104.js";if(S==="vendors-node_modules_mermaid_dist_sankeyDiagram-6de1f9fe_js")return"js/"+S+".eca8f7f9.js";if(S==="vendors-node_modules_monaco-editor_esm_vs_basic-languages_abap_abap_js")return"js/monaco-language-abap.9122d2d4.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_apex_apex_js")return"js/monaco-language-apex.610c28c9.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_azcli_azcli_js")return"js/monaco-language-azcli.349a5eaa.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_bat_bat_js")return"js/monaco-language-bat.2b9476f0.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_bicep_bicep_js")return"js/monaco-language-bicep.3e66fac6.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_cameligo_cameligo_js")return"js/monaco-language-cameligo.445ed0c7.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_clojure_clojure_js")return"js/monaco-language-clojure.83dc0bbb.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_coffee_coffee_js")return"js/monaco-language-coffee.387d6c21.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_cpp_cpp_js")return"js/monaco-language-cpp.7384776d.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_csharp_csharp_js")return"js/monaco-language-csharp.b892b441.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_csp_csp_js")return"js/monaco-language-csp.57371501.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_css_css_js")return"js/monaco-language-css.a481ddf7.js";if(S==="vendors-node_modules_monaco-editor_esm_vs_language_css_cssMode_js")return"js/monaco-language-cssmode.5612f6b1.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_cypher_cypher_js")return"js/monaco-language-cypher.dc7676b2.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_dart_dart_js")return"js/monaco-language-dart.57075b92.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_dockerfile_dockerfile_js")return"js/monaco-language-dockerfile.f5cfdb39.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_ecl_ecl_js")return"js/monaco-language-ecl.3f530989.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_elixir_elixir_js")return"js/monaco-language-elixir.230a049c.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_flow9_flow9_js")return"js/monaco-language-flow9.305040be.js";if(S==="vendors-node_modules_monaco-editor_esm_vs_basic-languages_freemarker2_freemarker2_js")return"js/monaco-language-freemarker2.62c19a7c.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_fsharp_fsharp_js")return"js/monaco-language-fsharp.cec45f33.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_go_go_js")return"js/monaco-language-go.94633690.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_graphql_graphql_js")return"js/monaco-language-graphql.fead87e5.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_handlebars_handlebars_js")return"js/monaco-language-handlebars.7bfbcb54.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_hcl_hcl_js")return"js/monaco-language-hcl.9153a792.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_html_html_js")return"js/monaco-language-html.c4cc0f74.js";if(S==="vendors-node_modules_monaco-editor_esm_vs_language_html_htmlMode_js")return"js/monaco-language-htmlmode.85f3d7c4.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_ini_ini_js")return"js/monaco-language-ini.d260907f.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_java_java_js")return"js/monaco-language-java.3bfef3f1.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_javascript_javascript_js")return"js/monaco-language-javascript.58403dc3.js";if(S==="vendors-node_modules_monaco-editor_esm_vs_language_json_jsonMode_js")return"js/monaco-language-jsonmode.2a718694.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_julia_julia_js")return"js/monaco-language-julia.e8e36d82.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_kotlin_kotlin_js")return"js/monaco-language-kotlin.f5a8b6c9.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_less_less_js")return"js/monaco-language-less.e2ca09b9.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_lexon_lexon_js")return"js/monaco-language-lexon.9b6bf990.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_liquid_liquid_js")return"js/monaco-language-liquid.68495fcc.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_lua_lua_js")return"js/monaco-language-lua.afaa0d63.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_m3_m3_js")return"js/monaco-language-m3.310e9b80.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_markdown_markdown_js")return"js/monaco-language-markdown.d877fedf.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_mdx_mdx_js")return"js/monaco-language-mdx.92d3aecb.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_mips_mips_js")return"js/monaco-language-mips.5c681def.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_msdax_msdax_js")return"js/monaco-language-msdax.0817d48f.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_mysql_mysql_js")return"js/monaco-language-mysql.03e98e9e.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_objective-c_objective-c_js")return"js/monaco-language-objective-c.18b0cb16.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_pascal_pascal_js")return"js/monaco-language-pascal.cad8a1ef.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_pascaligo_pascaligo_js")return"js/monaco-language-pascaligo.a1fc02b4.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_perl_perl_js")return"js/monaco-language-perl.223dd050.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_pgsql_pgsql_js")return"js/monaco-language-pgsql.e8f7d3d9.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_php_php_js")return"js/monaco-language-php.fa660fa0.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_pla_pla_js")return"js/monaco-language-pla.bb335cb7.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_postiats_postiats_js")return"js/monaco-language-postiats.0bd89243.js";if(S==="vendors-node_modules_monaco-editor_esm_vs_basic-languages_powerquery_powerquery_js")return"js/monaco-language-powerquery.e1cb673c.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_powershell_powershell_js")return"js/monaco-language-powershell.634b742f.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_protobuf_protobuf_js")return"js/monaco-language-protobuf.1f67a7e8.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_pug_pug_js")return"js/monaco-language-pug.b925ebbc.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_python_python_js")return"js/monaco-language-python.96869bb9.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_qsharp_qsharp_js")return"js/monaco-language-qsharp.1dfd54e8.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_r_r_js")return"js/monaco-language-r.4150abff.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_razor_razor_js")return"js/monaco-language-razor.2bbd8573.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_redis_redis_js")return"js/monaco-language-redis.50d71e38.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_redshift_redshift_js")return"js/monaco-language-redshift.40ae621b.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_restructuredtext_restructuredtext_js")return"js/monaco-language-restructuredtext.a5b7a10c.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_ruby_ruby_js")return"js/monaco-language-ruby.b9af456d.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_rust_rust_js")return"js/monaco-language-rust.08ceb3bd.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_sb_sb_js")return"js/monaco-language-sb.eddcc78b.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_scala_scala_js")return"js/monaco-language-scala.d747eadc.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_scheme_scheme_js")return"js/monaco-language-scheme.5695e5f0.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_scss_scss_js")return"js/monaco-language-scss.49341316.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_shell_shell_js")return"js/monaco-language-shell.3c9a497d.js";if(S==="vendors-node_modules_monaco-editor_esm_vs_basic-languages_solidity_solidity_js")return"js/monaco-language-solidity.171a3cfd.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_sophia_sophia_js")return"js/monaco-language-sophia.c504660c.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_sparql_sparql_js")return"js/monaco-language-sparql.bb35ba95.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_sql_sql_js")return"js/monaco-language-sql.3d1f27ff.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_st_st_js")return"js/monaco-language-st.75edc68f.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_swift_swift_js")return"js/monaco-language-swift.296f74df.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_systemverilog_systemverilog_js")return"js/monaco-language-systemverilog.653c07e2.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_tcl_tcl_js")return"js/monaco-language-tcl.26f77644.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_twig_twig_js")return"js/monaco-language-twig.b3b1ea2d.js";if(S==="vendors-node_modules_monaco-editor_esm_vs_language_typescript_tsMode_js")return"js/monaco-language-tsmode.53205a74.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_vb_vb_js")return"js/monaco-language-vb.a663f826.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_wgsl_wgsl_js")return"js/monaco-language-wgsl.032a14d0.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_xml_xml_js")return"js/monaco-language-xml.6f02f736.js";if(S==="node_modules_monaco-editor_esm_vs_basic-languages_yaml_yaml_js")return"js/monaco-language-yaml.a175e1de.js"}}(),function(){St.miniCssF=function(S){return"css/"+S+"."+{katex:"a42245c1","asciinema-player":"348ff0a9",minicolors:"4a2ce0b5",dropzone:"46ea72f6",monaco:"18fe49f8"}[S]+".css"}}(),function(){St.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(S){if(typeof window=="object")return window}}()}(),function(){St.o=function(S,dt){return Object.prototype.hasOwnProperty.call(S,dt)}}(),function(){var S={};St.l=function(dt,gt,R,j){if(S[dt]){S[dt].push(gt);return}var f,Q;if(R!==void 0)for(var V=document.getElementsByTagName("script"),se=0;se<V.length;se++){var y=V[se];if(y.getAttribute("src")==dt){f=y;break}}f||(Q=!0,f=document.createElement("script"),f.charset="utf-8",f.timeout=120,St.nc&&f.setAttribute("nonce",St.nc),f.src=dt),S[dt]=[gt];var $=function(H,O){f.onerror=f.onload=null,clearTimeout(U);var Z=S[dt];if(delete S[dt],f.parentNode&&f.parentNode.removeChild(f),Z&&Z.forEach(function(he){return he(O)}),H)return H(O)},U=setTimeout($.bind(null,void 0,{type:"timeout",target:f}),12e4);f.onerror=$.bind(null,f.onerror),f.onload=$.bind(null,f.onload),Q&&document.head.appendChild(f)}}(),function(){St.r=function(S){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(S,"__esModule",{value:!0})}}(),function(){var S;St.g.importScripts&&(S=St.g.location+"");var dt=St.g.document;if(!S&&dt&&(dt.currentScript&&(S=dt.currentScript.src),!S)){var gt=dt.getElementsByTagName("script");if(gt.length)for(var R=gt.length-1;R>-1&&!S;)S=gt[R--].src}if(!S)throw new Error("Automatic publicPath is not supported in this browser");S=S.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),St.p=S+"../"}(),function(){if(typeof document!="undefined"){var S=function(j,f,Q,V,se){var y=document.createElement("link");y.rel="stylesheet",y.type="text/css";var $=function(U){if(y.onerror=y.onload=null,U.type==="load")V();else{var H=U&&(U.type==="load"?"missing":U.type),O=U&&U.target&&U.target.href||f,Z=new Error("Loading CSS chunk "+j+` failed.
(`+O+")");Z.code="CSS_CHUNK_LOAD_FAILED",Z.type=H,Z.request=O,y.parentNode&&y.parentNode.removeChild(y),se(Z)}};return y.onerror=y.onload=$,y.href=f,Q?Q.parentNode.insertBefore(y,Q.nextSibling):document.head.appendChild(y),y},dt=function(j,f){for(var Q=document.getElementsByTagName("link"),V=0;V<Q.length;V++){var se=Q[V],y=se.getAttribute("data-href")||se.getAttribute("href");if(se.rel==="stylesheet"&&(y===j||y===f))return se}for(var $=document.getElementsByTagName("style"),V=0;V<$.length;V++){var se=$[V],y=se.getAttribute("data-href");if(y===j||y===f)return se}},gt=function(j){return new Promise(function(f,Q){var V=St.miniCssF(j),se=St.p+V;if(dt(V,se))return f();S(j,se,null,f,Q)})},R={index:0};St.f.miniCss=function(j,f){var Q={katex:1,"asciinema-player":1,minicolors:1,dropzone:1,monaco:1};R[j]?f.push(R[j]):R[j]!==0&&Q[j]&&f.push(R[j]=gt(j).then(function(){R[j]=0},function(V){throw delete R[j],V}))}}}(),function(){var S={index:0};St.f.j=function(R,j){var f=St.o(S,R)?S[R]:void 0;if(f!==0)if(f)j.push(f[2]);else{var Q=new Promise(function($,U){f=S[R]=[$,U]});j.push(f[2]=Q);var V=St.p+St.u(R),se=new Error,y=function($){if(St.o(S,R)&&(f=S[R],f!==0&&(S[R]=void 0),f)){var U=$&&($.type==="load"?"missing":$.type),H=$&&$.target&&$.target.src;se.message="Loading chunk "+R+` failed.
(`+U+": "+H+")",se.name="ChunkLoadError",se.type=U,se.request=H,f[1](se)}};St.l(V,y,"chunk-"+R,R)}};var dt=function(R,j){var f=j[0],Q=j[1],V=j[2],se,y,$=0;if(f.some(function(H){return S[H]!==0})){for(se in Q)St.o(Q,se)&&(St.m[se]=Q[se]);if(V)var U=V(St)}for(R&&R(j);$<f.length;$++)y=f[$],St.o(S,y)&&S[y]&&S[y][0](),S[y]=0},gt=self.webpackChunk=self.webpackChunk||[];gt.forEach(dt.bind(null,0)),gt.push=dt.bind(null,gt.push.bind(gt))}();var Wl={};(function(){"use strict";var S=St("./node_modules/jquery/dist/jquery.js");window.$=window.jQuery=S})(),function(){(function(S,dt,gt,R){"use strict";S.isWindow=S.isWindow||function(j){return j!=null&&j===j.window},dt=typeof dt!="undefined"&&dt.Math==Math?dt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),S.api=S.fn.api=function(j){var f=S.isFunction(this)?S(dt):S(this),Q=f.selector||"",V=new Date().getTime(),se=[],y=arguments[0],$=typeof y=="string",U=[].slice.call(arguments,1),H;return f.each(function(){var O=S.isPlainObject(j)?S.extend(!0,{},S.fn.api.settings,j):S.extend({},S.fn.api.settings),Z=O.namespace,he=O.metadata,te=O.selector,J=O.error,A=O.className,z="."+Z,le="module-"+Z,be=S(this),xe=be.closest(te.form),ce=O.stateContext?S(O.stateContext):be,ke,Ae,_,Fe,Se,ee=this,Be=ce[0],ve=be.data(le),L;L={initialize:function(){$||L.bind.events(),L.instantiate()},instantiate:function(){L.verbose("Storing instance of module",L),ve=L,be.data(le,ve)},destroy:function(){L.verbose("Destroying previous module for",ee),be.removeData(le).off(z)},bind:{events:function(){var B=L.get.event();B?(L.verbose("Attaching API events to element",B),be.on(B+z,L.event.trigger)):O.on=="now"&&(L.debug("Querying API endpoint immediately"),L.query())}},decode:{json:function(B){if(B!==R&&typeof B=="string")try{B=JSON.parse(B)}catch(F){}return B}},read:{cachedResponse:function(B){var F;if(dt.Storage===R){L.error(J.noStorage);return}return F=sessionStorage.getItem(B),L.debug("Using cached response",B,F),F=L.decode.json(F),F}},write:{cachedResponse:function(B,F){if(F&&F===""){L.debug("Response empty, not caching",F);return}if(dt.Storage===R){L.error(J.noStorage);return}S.isPlainObject(F)&&(F=JSON.stringify(F)),sessionStorage.setItem(B,F),L.verbose("Storing cached response for url",B,F)}},query:function(){if(L.is.disabled()){L.debug("Element is disabled API request aborted");return}if(L.is.loading())if(O.interruptRequests)L.debug("Interrupting previous request"),L.abort();else{L.debug("Cancelling request, previous request is still pending");return}if(O.defaultData&&S.extend(!0,O.urlData,L.get.defaultData()),O.serializeForm&&(O.data=L.add.formData(O.data)),Ae=L.get.settings(),Ae===!1){L.cancelled=!0,L.error(J.beforeSend);return}else L.cancelled=!1;if(_=L.get.templatedURL(),!_&&!L.is.mocked()){L.error(J.missingURL);return}if(_=L.add.urlData(_),!(!_&&!L.is.mocked())){if(Ae.url=O.base+_,ke=S.extend(!0,{},O,{type:O.method||O.type,data:Fe,url:O.base+_,beforeSend:O.beforeXHR,success:function(){},failure:function(){},complete:function(){}}),L.debug("Querying URL",ke.url),L.verbose("Using AJAX settings",ke),O.cache==="local"&&L.read.cachedResponse(_)){L.debug("Response returned from local cache"),L.request=L.create.request(),L.request.resolveWith(Be,[L.read.cachedResponse(_)]);return}O.throttle?!O.throttleFirstRequest&&!L.timer?(L.debug("Sending request",Fe,ke.method),L.send.request(),L.timer=setTimeout(function(){},O.throttle)):(L.debug("Throttling request",O.throttle),clearTimeout(L.timer),L.timer=setTimeout(function(){L.timer&&delete L.timer,L.debug("Sending throttled request",Fe,ke.method),L.send.request()},O.throttle)):(L.debug("Sending request",Fe,ke.method),L.send.request())}},should:{removeError:function(){return O.hideError===!0||O.hideError==="auto"&&!L.is.form()}},is:{disabled:function(){return be.filter(te.disabled).length>0},expectingJSON:function(){return O.dataType==="json"||O.dataType==="jsonp"},form:function(){return be.is("form")||ce.is("form")},mocked:function(){return O.mockResponse||O.mockResponseAsync||O.response||O.responseAsync},input:function(){return be.is("input")},loading:function(){return L.request?L.request.state()=="pending":!1},abortedRequest:function(B){return B&&B.readyState!==R&&B.readyState===0?(L.verbose("XHR request determined to be aborted"),!0):(L.verbose("XHR request was not aborted"),!1)},validResponse:function(B){return!L.is.expectingJSON()||!S.isFunction(O.successTest)?(L.verbose("Response is not JSON, skipping validation",O.successTest,B),!0):(L.debug("Checking JSON returned success",O.successTest,B),O.successTest(B)?(L.debug("Response passed success test",B),!0):(L.debug("Response failed success test",B),!1))}},was:{cancelled:function(){return L.cancelled||!1},succesful:function(){return L.verbose('This behavior will be deleted due to typo. Use "was successful" instead.'),L.was.successful()},successful:function(){return L.request&&L.request.state()=="resolved"},failure:function(){return L.request&&L.request.state()=="rejected"},complete:function(){return L.request&&(L.request.state()=="resolved"||L.request.state()=="rejected")}},add:{urlData:function(B,F){var oe,ye;return B&&(oe=B.match(O.regExp.required),ye=B.match(O.regExp.optional),F=F||O.urlData,oe&&(L.debug("Looking for required URL variables",oe),S.each(oe,function(Ue,Xe){var de=Xe.indexOf("$")!==-1?Xe.substr(2,Xe.length-3):Xe.substr(1,Xe.length-2),X=S.isPlainObject(F)&&F[de]!==R?F[de]:be.data(de)!==R?be.data(de):ce.data(de)!==R?ce.data(de):F[de];if(X===R)return L.error(J.requiredParameter,de,B),B=!1,!1;L.verbose("Found required variable",de,X),X=O.encodeParameters?L.get.urlEncodedValue(X):X,B=B.replace(Xe,X)})),ye&&(L.debug("Looking for optional URL variables",oe),S.each(ye,function(Ue,Xe){var de=Xe.indexOf("$")!==-1?Xe.substr(3,Xe.length-4):Xe.substr(2,Xe.length-3),X=S.isPlainObject(F)&&F[de]!==R?F[de]:be.data(de)!==R?be.data(de):ce.data(de)!==R?ce.data(de):F[de];X!==R?(L.verbose("Optional variable Found",de,X),B=B.replace(Xe,X)):(L.verbose("Optional variable not found",de),B.indexOf("/"+Xe)!==-1?B=B.replace("/"+Xe,""):B=B.replace(Xe,""))}))),B},formData:function(B){var F=S.fn.serializeObject!==R,oe=F?xe.serializeObject():xe.serialize(),ye;return B=B||O.data,ye=S.isPlainObject(B),ye?F?(L.debug("Extending existing data with form data",B,oe),B=S.extend(!0,{},B,oe)):(L.error(J.missingSerialize),L.debug("Cant extend data. Replacing data with form data",B,oe),B=oe):(L.debug("Adding form data",oe),B=oe),B}},send:{request:function(){L.set.loading(),L.request=L.create.request(),L.is.mocked()?L.mockedXHR=L.create.mockedXHR():L.xhr=L.create.xhr(),O.onRequest.call(Be,L.request,L.xhr)}},event:{trigger:function(B){L.query(),(B.type=="submit"||B.type=="click")&&B.preventDefault()},xhr:{always:function(){},done:function(B,F,oe){var ye=this,Ue=new Date().getTime()-Se,Xe=O.loadingDuration-Ue,de=S.isFunction(O.onResponse)?L.is.expectingJSON()&&!O.rawResponse?O.onResponse.call(ye,S.extend(!0,{},B)):O.onResponse.call(ye,B):!1;Xe=Xe>0?Xe:0,de&&(L.debug("Modified API response in onResponse callback",O.onResponse,de,B),B=de),Xe>0&&L.debug("Response completed early delaying state change by",Xe),setTimeout(function(){L.is.validResponse(B)?L.request.resolveWith(ye,[B,oe]):L.request.rejectWith(ye,[oe,"invalid"])},Xe)},fail:function(B,F,oe){var ye=this,Ue=new Date().getTime()-Se,Xe=O.loadingDuration-Ue;Xe=Xe>0?Xe:0,Xe>0&&L.debug("Response completed early delaying state change by",Xe),setTimeout(function(){L.is.abortedRequest(B)?L.request.rejectWith(ye,[B,"aborted",oe]):L.request.rejectWith(ye,[B,"error",F,oe])},Xe)}},request:{done:function(B,F){L.debug("Successful API Response",B),O.cache==="local"&&_&&(L.write.cachedResponse(_,B),L.debug("Saving server response locally",L.cache)),O.onSuccess.call(Be,B,be,F)},complete:function(B,F){var oe,ye;L.was.successful()?(ye=B,oe=F):(oe=B,ye=L.get.responseFromXHR(oe)),L.remove.loading(),O.onComplete.call(Be,ye,be,oe)},fail:function(B,F,oe){var ye=L.get.responseFromXHR(B),Ue=L.get.errorFromRequest(ye,F,oe);if(F=="aborted")return L.debug("XHR Aborted (Most likely caused by page navigation or CORS Policy)",F,oe),O.onAbort.call(Be,F,be,B),!0;F=="invalid"?L.debug("JSON did not pass success test. A server-side error has most likely occurred",ye):F=="error"&&B!==R&&(L.debug("XHR produced a server error",F,oe),(B.status<200||B.status>=300)&&oe!==R&&oe!==""&&L.error(J.statusMessage+oe,ke.url),O.onError.call(Be,Ue,be,B)),O.errorDuration&&F!=="aborted"&&(L.debug("Adding error state"),L.set.error(),L.should.removeError()&&setTimeout(L.remove.error,O.errorDuration)),L.debug("API Request failed",Ue,B),O.onFailure.call(Be,ye,be,B)}}},create:{request:function(){return S.Deferred().always(L.event.request.complete).done(L.event.request.done).fail(L.event.request.fail)},mockedXHR:function(){var B=!1,F=!1,oe=!1,ye=O.mockResponse||O.response,Ue=O.mockResponseAsync||O.responseAsync,Xe,de,X;return X=S.Deferred().always(L.event.xhr.complete).done(L.event.xhr.done).fail(L.event.xhr.fail),ye?(S.isFunction(ye)?(L.debug("Using specified synchronous callback",ye),de=ye.call(Be,Ae)):(L.debug("Using settings specified response",ye),de=ye),X.resolveWith(Be,[de,B,{responseText:de}])):S.isFunction(Ue)&&(Xe=function(pe){L.debug("Async callback returned response",pe),pe?X.resolveWith(Be,[pe,B,{responseText:pe}]):X.rejectWith(Be,[{responseText:pe},F,oe])},L.debug("Using specified async response callback",Ue),Ue.call(Be,Ae,Xe)),X},xhr:function(){var B;return B=S.ajax(ke).always(L.event.xhr.always).done(L.event.xhr.done).fail(L.event.xhr.fail),L.verbose("Created server request",B,ke),B}},set:{error:function(){L.verbose("Adding error state to element",ce),ce.addClass(A.error)},loading:function(){L.verbose("Adding loading state to element",ce),ce.addClass(A.loading),Se=new Date().getTime()}},remove:{error:function(){L.verbose("Removing error state from element",ce),ce.removeClass(A.error)},loading:function(){L.verbose("Removing loading state from element",ce),ce.removeClass(A.loading)}},get:{responseFromXHR:function(B){return S.isPlainObject(B)?L.is.expectingJSON()?L.decode.json(B.responseText):B.responseText:!1},errorFromRequest:function(B,F,oe){return S.isPlainObject(B)&&B.error!==R?B.error:O.error[F]!==R?O.error[F]:oe},request:function(){return L.request||!1},xhr:function(){return L.xhr||!1},settings:function(){var B;return B=O.beforeSend.call(be,O),B&&(B.success!==R&&(L.debug("Legacy success callback detected",B),L.error(J.legacyParameters,B.success),B.onSuccess=B.success),B.failure!==R&&(L.debug("Legacy failure callback detected",B),L.error(J.legacyParameters,B.failure),B.onFailure=B.failure),B.complete!==R&&(L.debug("Legacy complete callback detected",B),L.error(J.legacyParameters,B.complete),B.onComplete=B.complete)),B===R&&L.error(J.noReturnedValue),B===!1?B:B!==R?S.extend(!0,{},B):S.extend(!0,{},O)},urlEncodedValue:function(B){var F=dt.decodeURIComponent(B),oe=dt.encodeURIComponent(B),ye=F!==B;return ye?(L.debug("URL value is already encoded, avoiding double encoding",B),B):(L.verbose("Encoding value using encodeURIComponent",B,oe),oe)},defaultData:function(){var B={};return S.isWindow(ee)||(L.is.input()?B.value=be.val():L.is.form()||(B.text=be.text())),B},event:function(){return S.isWindow(ee)||O.on=="now"?(L.debug("API called without element, no events attached"),!1):O.on=="auto"?be.is("input")?ee.oninput!==R?"input":ee.onpropertychange!==R?"propertychange":"keyup":be.is("form")?"submit":"click":O.on},templatedURL:function(B){if(B=B||be.data(he.action)||O.action||!1,_=be.data(he.url)||O.url||!1,_)return L.debug("Using specified url",_),_;if(B){if(L.debug("Looking up url for action",B,O.api),O.api[B]===R&&!L.is.mocked()){L.error(J.missingAction,O.action,O.api);return}_=O.api[B]}else L.is.form()&&(_=be.attr("action")||ce.attr("action")||!1,L.debug("No url or action specified, defaulting to form action",_));return _}},abort:function(){var B=L.get.xhr();B&&B.state()!=="resolved"&&(L.debug("Cancelling API request"),B.abort())},reset:function(){L.remove.error(),L.remove.loading()},setting:function(B,F){if(L.debug("Changing setting",B,F),S.isPlainObject(B))S.extend(!0,O,B);else if(F!==R)S.isPlainObject(O[B])?S.extend(!0,O[B],F):O[B]=F;else return O[B]},internal:function(B,F){if(S.isPlainObject(B))S.extend(!0,L,B);else if(F!==R)L[B]=F;else return L[B]},debug:function(){!O.silent&&O.debug&&(O.performance?L.performance.log(arguments):(L.debug=Function.prototype.bind.call(console.info,console,O.name+":"),L.debug.apply(console,arguments)))},verbose:function(){!O.silent&&O.verbose&&O.debug&&(O.performance?L.performance.log(arguments):(L.verbose=Function.prototype.bind.call(console.info,console,O.name+":"),L.verbose.apply(console,arguments)))},error:function(){O.silent||(L.error=Function.prototype.bind.call(console.error,console,O.name+":"),L.error.apply(console,arguments))},performance:{log:function(B){var F,oe,ye;O.performance&&(F=new Date().getTime(),ye=V||F,oe=F-ye,V=F,se.push({Name:B[0],Arguments:[].slice.call(B,1)||"","Execution Time":oe})),clearTimeout(L.performance.timer),L.performance.timer=setTimeout(L.performance.display,500)},display:function(){var B=O.name+":",F=0;V=!1,clearTimeout(L.performance.timer),S.each(se,function(oe,ye){F+=ye["Execution Time"]}),B+=" "+F+"ms",Q&&(B+=" '"+Q+"'"),(console.group!==R||console.table!==R)&&se.length>0&&(console.groupCollapsed(B),console.table?console.table(se):S.each(se,function(oe,ye){console.log(ye.Name+": "+ye["Execution Time"]+"ms")}),console.groupEnd()),se=[]}},invoke:function(B,F,oe){var ye=ve,Ue,Xe,de;return F=F||U,oe=ee||oe,typeof B=="string"&&ye!==R&&(B=B.split(/[\. ]/),Ue=B.length-1,S.each(B,function(X,pe){var N=X!=Ue?pe+B[X+1].charAt(0).toUpperCase()+B[X+1].slice(1):B;if(S.isPlainObject(ye[N])&&X!=Ue)ye=ye[N];else{if(ye[N]!==R)return Xe=ye[N],!1;if(S.isPlainObject(ye[pe])&&X!=Ue)ye=ye[pe];else return ye[pe]!==R?(Xe=ye[pe],!1):(L.error(J.method,B),!1)}})),S.isFunction(Xe)?de=Xe.apply(oe,F):Xe!==R&&(de=Xe),Array.isArray(H)?H.push(de):H!==R?H=[H,de]:de!==R&&(H=de),Xe}},$?(ve===R&&L.initialize(),L.invoke(y)):(ve!==R&&ve.invoke("destroy"),L.initialize())}),H!==R?H:this},S.api.settings={name:"API",namespace:"api",debug:!1,verbose:!1,performance:!0,api:{},cache:!0,interruptRequests:!0,on:"auto",stateContext:!1,loadingDuration:0,hideError:"auto",errorDuration:2e3,encodeParameters:!0,action:!1,url:!1,base:"",urlData:{},defaultData:!0,serializeForm:!1,throttle:0,throttleFirstRequest:!0,method:"get",data:{},dataType:"json",mockResponse:!1,mockResponseAsync:!1,response:!1,responseAsync:!1,rawResponse:!1,beforeSend:function(j){return j},beforeXHR:function(j){},onRequest:function(j,f){},onResponse:!1,onSuccess:function(j,f){},onComplete:function(j,f){},onFailure:function(j,f){},onError:function(j,f){},onAbort:function(j,f){},successTest:!1,error:{beforeSend:"The before send function has aborted the request",error:"There was an error with your request",exitConditions:"API Request Aborted. Exit conditions met",JSONParse:"JSON could not be parsed during error handling",legacyParameters:"You are using legacy API success callback names",method:"The method you called is not defined",missingAction:"API action used but no url was defined",missingSerialize:"jquery-serialize-object is required to add form data to an existing data object",missingURL:"No URL specified for api event",noReturnedValue:"The beforeSend callback must return a settings object, beforeSend ignored.",noStorage:"Caching responses locally requires session storage",parseError:"There was an error parsing your request",requiredParameter:"Missing a required URL parameter: ",statusMessage:"Server gave an error: ",timeout:"Your request timed out"},regExp:{required:/\{\$*[A-z0-9]+\}/g,optional:/\{\/\$*[A-z0-9]+\}/g},className:{loading:"loading",error:"error"},selector:{disabled:".disabled",form:"form"},metadata:{action:"action",url:"url"}}})(jQuery,window,document);(function(S,dt,gt,R){"use strict";S.isFunction=S.isFunction||function(j){return typeof j=="function"&&typeof j.nodeType!="number"},dt=typeof dt!="undefined"&&dt.Math==Math?dt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),S.fn.checkbox=function(j){var f=S(this),Q=f.selector||"",V=new Date().getTime(),se=[],y=arguments[0],$=typeof y=="string",U=[].slice.call(arguments,1),H;return f.each(function(){var O=S.extend(!0,{},S.fn.checkbox.settings,j),Z=O.className,he=O.namespace,te=O.selector,J=O.error,A="."+he,z="module-"+he,le=S(this),be=S(this).children(te.label),xe=S(this).children(te.input),ce=xe[0],ke=!1,Ae=!1,_=le.data(z),Fe,Se=this,ee;ee={initialize:function(){ee.verbose("Initializing checkbox",O),ee.create.label(),ee.bind.events(),ee.set.tabbable(),ee.hide.input(),ee.observeChanges(),ee.instantiate(),ee.setup()},instantiate:function(){ee.verbose("Storing instance of module",ee),_=ee,le.data(z,ee)},destroy:function(){ee.verbose("Destroying module"),ee.unbind.events(),ee.show.input(),le.removeData(z)},fix:{reference:function(){le.is(te.input)&&(ee.debug("Behavior called on <input> adjusting invoked element"),le=le.closest(te.checkbox),ee.refresh())}},setup:function(){ee.set.initialLoad(),ee.is.indeterminate()?(ee.debug("Initial value is indeterminate"),ee.indeterminate()):ee.is.checked()?(ee.debug("Initial value is checked"),ee.check()):(ee.debug("Initial value is unchecked"),ee.uncheck()),ee.remove.initialLoad()},refresh:function(){be=le.children(te.label),xe=le.children(te.input),ce=xe[0]},hide:{input:function(){ee.verbose("Modifying <input> z-index to be unselectable"),xe.addClass(Z.hidden)}},show:{input:function(){ee.verbose("Modifying <input> z-index to be selectable"),xe.removeClass(Z.hidden)}},observeChanges:function(){"MutationObserver"in dt&&(Fe=new MutationObserver(function(Be){ee.debug("DOM tree modified, updating selector cache"),ee.refresh()}),Fe.observe(Se,{childList:!0,subtree:!0}),ee.debug("Setting up mutation observer",Fe))},attachEvents:function(Be,ve){var L=S(Be);ve=S.isFunction(ee[ve])?ee[ve]:ee.toggle,L.length>0?(ee.debug("Attaching checkbox events to element",Be,ve),L.on("click"+A,ve)):ee.error(J.notFound)},preventDefaultOnInputTarget:function(){typeof event!="undefined"&&event!==null&&S(event.target).is(te.input)&&(ee.verbose("Preventing default check action after manual check action"),event.preventDefault())},event:{change:function(Be){ee.should.ignoreCallbacks()||O.onChange.call(ce)},click:function(Be){var ve=S(Be.target);if(ve.is(te.input)){ee.verbose("Using default check action on initialized checkbox");return}if(ve.is(te.link)){ee.debug("Clicking link inside checkbox, skipping toggle");return}ee.toggle(),xe.focus(),Be.preventDefault()},keydown:function(Be){var ve=Be.which,L={enter:13,space:32,escape:27,left:37,up:38,right:39,down:40},B=ee.get.radios(),F=B.index(le),oe=B.length,ye=!1;if(ve==L.left||ve==L.up?ye=(F===0?oe:F)-1:(ve==L.right||ve==L.down)&&(ye=F===oe-1?0:F+1),!ee.should.ignoreCallbacks()&&ye!==!1){if(O.beforeUnchecked.apply(ce)===!1)return ee.verbose("Option not allowed to be unchecked, cancelling key navigation"),!1;if(O.beforeChecked.apply(S(B[ye]).children(te.input)[0])===!1)return ee.verbose("Next option should not allow check, cancelling key navigation"),!1}ve==L.escape?(ee.verbose("Escape key pressed blurring field"),xe.blur(),Ae=!0):!Be.ctrlKey&&(ve==L.space||ve==L.enter&&O.enableEnterKey)?(ee.verbose("Enter/space key pressed, toggling checkbox"),ee.toggle(),Ae=!0):Ae=!1},keyup:function(Be){Ae&&Be.preventDefault()}},check:function(){ee.should.allowCheck()&&(ee.debug("Checking checkbox",xe),ee.set.checked(),ee.should.ignoreCallbacks()||(O.onChecked.call(ce),ee.trigger.change()),ee.preventDefaultOnInputTarget())},uncheck:function(){ee.should.allowUncheck()&&(ee.debug("Unchecking checkbox"),ee.set.unchecked(),ee.should.ignoreCallbacks()||(O.onUnchecked.call(ce),ee.trigger.change()),ee.preventDefaultOnInputTarget())},indeterminate:function(){if(ee.should.allowIndeterminate()){ee.debug("Checkbox is already indeterminate");return}ee.debug("Making checkbox indeterminate"),ee.set.indeterminate(),ee.should.ignoreCallbacks()||(O.onIndeterminate.call(ce),ee.trigger.change())},determinate:function(){if(ee.should.allowDeterminate()){ee.debug("Checkbox is already determinate");return}ee.debug("Making checkbox determinate"),ee.set.determinate(),ee.should.ignoreCallbacks()||(O.onDeterminate.call(ce),ee.trigger.change())},enable:function(){if(ee.is.enabled()){ee.debug("Checkbox is already enabled");return}ee.debug("Enabling checkbox"),ee.set.enabled(),ee.should.ignoreCallbacks()||(O.onEnable.call(ce),O.onEnabled.call(ce),ee.trigger.change())},disable:function(){if(ee.is.disabled()){ee.debug("Checkbox is already disabled");return}ee.debug("Disabling checkbox"),ee.set.disabled(),ee.should.ignoreCallbacks()||(O.onDisable.call(ce),O.onDisabled.call(ce),ee.trigger.change())},get:{radios:function(){var Be=ee.get.name();return S('input[name="'+Be+'"]').closest(te.checkbox)},otherRadios:function(){return ee.get.radios().not(le)},name:function(){return xe.attr("name")}},is:{initialLoad:function(){return ke},radio:function(){return xe.hasClass(Z.radio)||xe.attr("type")=="radio"},indeterminate:function(){return xe.prop("indeterminate")!==R&&xe.prop("indeterminate")},checked:function(){return xe.prop("checked")!==R&&xe.prop("checked")},disabled:function(){return xe.prop("disabled")!==R&&xe.prop("disabled")},enabled:function(){return!ee.is.disabled()},determinate:function(){return!ee.is.indeterminate()},unchecked:function(){return!ee.is.checked()}},should:{allowCheck:function(){return ee.is.determinate()&&ee.is.checked()&&!ee.is.initialLoad()?(ee.debug("Should not allow check, checkbox is already checked"),!1):!ee.should.ignoreCallbacks()&&O.beforeChecked.apply(ce)===!1?(ee.debug("Should not allow check, beforeChecked cancelled"),!1):!0},allowUncheck:function(){return ee.is.determinate()&&ee.is.unchecked()&&!ee.is.initialLoad()?(ee.debug("Should not allow uncheck, checkbox is already unchecked"),!1):!ee.should.ignoreCallbacks()&&O.beforeUnchecked.apply(ce)===!1?(ee.debug("Should not allow uncheck, beforeUnchecked cancelled"),!1):!0},allowIndeterminate:function(){return ee.is.indeterminate()&&!ee.is.initialLoad()?(ee.debug("Should not allow indeterminate, checkbox is already indeterminate"),!1):!ee.should.ignoreCallbacks()&&O.beforeIndeterminate.apply(ce)===!1?(ee.debug("Should not allow indeterminate, beforeIndeterminate cancelled"),!1):!0},allowDeterminate:function(){return ee.is.determinate()&&!ee.is.initialLoad()?(ee.debug("Should not allow determinate, checkbox is already determinate"),!1):!ee.should.ignoreCallbacks()&&O.beforeDeterminate.apply(ce)===!1?(ee.debug("Should not allow determinate, beforeDeterminate cancelled"),!1):!0},ignoreCallbacks:function(){return ke&&!O.fireOnInit}},can:{change:function(){return!(le.hasClass(Z.disabled)||le.hasClass(Z.readOnly)||xe.prop("disabled")||xe.prop("readonly"))},uncheck:function(){return typeof O.uncheckable=="boolean"?O.uncheckable:!ee.is.radio()}},set:{initialLoad:function(){ke=!0},checked:function(){if(ee.verbose("Setting class to checked"),le.removeClass(Z.indeterminate).addClass(Z.checked),ee.is.radio()&&ee.uncheckOthers(),!ee.is.indeterminate()&&ee.is.checked()){ee.debug("Input is already checked, skipping input property change");return}ee.verbose("Setting state to checked",ce),xe.prop("indeterminate",!1).prop("checked",!0)},unchecked:function(){if(ee.verbose("Removing checked class"),le.removeClass(Z.indeterminate).removeClass(Z.checked),!ee.is.indeterminate()&&ee.is.unchecked()){ee.debug("Input is already unchecked");return}ee.debug("Setting state to unchecked"),xe.prop("indeterminate",!1).prop("checked",!1)},indeterminate:function(){if(ee.verbose("Setting class to indeterminate"),le.addClass(Z.indeterminate),ee.is.indeterminate()){ee.debug("Input is already indeterminate, skipping input property change");return}ee.debug("Setting state to indeterminate"),xe.prop("indeterminate",!0)},determinate:function(){if(ee.verbose("Removing indeterminate class"),le.removeClass(Z.indeterminate),ee.is.determinate()){ee.debug("Input is already determinate, skipping input property change");return}ee.debug("Setting state to determinate"),xe.prop("indeterminate",!1)},disabled:function(){if(ee.verbose("Setting class to disabled"),le.addClass(Z.disabled),ee.is.disabled()){ee.debug("Input is already disabled, skipping input property change");return}ee.debug("Setting state to disabled"),xe.prop("disabled","disabled")},enabled:function(){if(ee.verbose("Removing disabled class"),le.removeClass(Z.disabled),ee.is.enabled()){ee.debug("Input is already enabled, skipping input property change");return}ee.debug("Setting state to enabled"),xe.prop("disabled",!1)},tabbable:function(){ee.verbose("Adding tabindex to checkbox"),xe.attr("tabindex")===R&&xe.attr("tabindex",0)}},remove:{initialLoad:function(){ke=!1}},trigger:{change:function(){var Be=xe[0];if(Be){var ve=gt.createEvent("HTMLEvents");ee.verbose("Triggering native change event"),ve.initEvent("change",!0,!1),Be.dispatchEvent(ve)}}},create:{label:function(){xe.prevAll(te.label).length>0?(xe.prev(te.label).detach().insertAfter(xe),ee.debug("Moving existing label",be)):ee.has.label()||(be=S("<label>").insertAfter(xe),ee.debug("Creating label",be))}},has:{label:function(){return be.length>0}},bind:{events:function(){ee.verbose("Attaching checkbox events"),le.on("click"+A,ee.event.click).on("change"+A,ee.event.change).on("keydown"+A,te.input,ee.event.keydown).on("keyup"+A,te.input,ee.event.keyup)}},unbind:{events:function(){ee.debug("Removing events"),le.off(A)}},uncheckOthers:function(){var Be=ee.get.otherRadios();ee.debug("Unchecking other radios",Be),Be.removeClass(Z.checked)},toggle:function(){if(!ee.can.change()){ee.is.radio()||ee.debug("Checkbox is read-only or disabled, ignoring toggle");return}ee.is.indeterminate()||ee.is.unchecked()?(ee.debug("Currently unchecked"),ee.check()):ee.is.checked()&&ee.can.uncheck()&&(ee.debug("Currently checked"),ee.uncheck())},setting:function(Be,ve){if(ee.debug("Changing setting",Be,ve),S.isPlainObject(Be))S.extend(!0,O,Be);else if(ve!==R)S.isPlainObject(O[Be])?S.extend(!0,O[Be],ve):O[Be]=ve;else return O[Be]},internal:function(Be,ve){if(S.isPlainObject(Be))S.extend(!0,ee,Be);else if(ve!==R)ee[Be]=ve;else return ee[Be]},debug:function(){!O.silent&&O.debug&&(O.performance?ee.performance.log(arguments):(ee.debug=Function.prototype.bind.call(console.info,console,O.name+":"),ee.debug.apply(console,arguments)))},verbose:function(){!O.silent&&O.verbose&&O.debug&&(O.performance?ee.performance.log(arguments):(ee.verbose=Function.prototype.bind.call(console.info,console,O.name+":"),ee.verbose.apply(console,arguments)))},error:function(){O.silent||(ee.error=Function.prototype.bind.call(console.error,console,O.name+":"),ee.error.apply(console,arguments))},performance:{log:function(Be){var ve,L,B;O.performance&&(ve=new Date().getTime(),B=V||ve,L=ve-B,V=ve,se.push({Name:Be[0],Arguments:[].slice.call(Be,1)||"",Element:Se,"Execution Time":L})),clearTimeout(ee.performance.timer),ee.performance.timer=setTimeout(ee.performance.display,500)},display:function(){var Be=O.name+":",ve=0;V=!1,clearTimeout(ee.performance.timer),S.each(se,function(L,B){ve+=B["Execution Time"]}),Be+=" "+ve+"ms",Q&&(Be+=" '"+Q+"'"),(console.group!==R||console.table!==R)&&se.length>0&&(console.groupCollapsed(Be),console.table?console.table(se):S.each(se,function(L,B){console.log(B.Name+": "+B["Execution Time"]+"ms")}),console.groupEnd()),se=[]}},invoke:function(Be,ve,L){var B=_,F,oe,ye;return ve=ve||U,L=Se||L,typeof Be=="string"&&B!==R&&(Be=Be.split(/[\. ]/),F=Be.length-1,S.each(Be,function(Ue,Xe){var de=Ue!=F?Xe+Be[Ue+1].charAt(0).toUpperCase()+Be[Ue+1].slice(1):Be;if(S.isPlainObject(B[de])&&Ue!=F)B=B[de];else{if(B[de]!==R)return oe=B[de],!1;if(S.isPlainObject(B[Xe])&&Ue!=F)B=B[Xe];else return B[Xe]!==R?(oe=B[Xe],!1):(ee.error(J.method,Be),!1)}})),S.isFunction(oe)?ye=oe.apply(L,ve):oe!==R&&(ye=oe),Array.isArray(H)?H.push(ye):H!==R?H=[H,ye]:ye!==R&&(H=ye),oe}},$?(_===R&&ee.initialize(),ee.invoke(y)):(_!==R&&_.invoke("destroy"),ee.initialize())}),H!==R?H:this},S.fn.checkbox.settings={name:"Checkbox",namespace:"checkbox",silent:!1,debug:!1,verbose:!0,performance:!0,uncheckable:"auto",fireOnInit:!1,enableEnterKey:!0,onChange:function(){},beforeChecked:function(){},beforeUnchecked:function(){},beforeDeterminate:function(){},beforeIndeterminate:function(){},onChecked:function(){},onUnchecked:function(){},onDeterminate:function(){},onIndeterminate:function(){},onEnable:function(){},onDisable:function(){},onEnabled:function(){},onDisabled:function(){},className:{checked:"checked",indeterminate:"indeterminate",disabled:"disabled",hidden:"hidden",radio:"radio",readOnly:"read-only"},error:{method:"The method you called is not defined"},selector:{checkbox:".ui.checkbox",label:"label, .box",input:'input[type="checkbox"], input[type="radio"]',link:"a[href]"}}})(jQuery,window,document);(function(S,dt,gt,R){"use strict";S.isFunction=S.isFunction||function(j){return typeof j=="function"&&typeof j.nodeType!="number"},dt=typeof dt!="undefined"&&dt.Math==Math?dt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),S.fn.dimmer=function(j){var f=S(this),Q=new Date().getTime(),V=[],se=arguments[0],y=typeof se=="string",$=[].slice.call(arguments,1),U;return f.each(function(){var H=S.isPlainObject(j)?S.extend(!0,{},S.fn.dimmer.settings,j):S.extend({},S.fn.dimmer.settings),O=H.selector,Z=H.namespace,he=H.className,te=H.error,J="."+Z,A="module-"+Z,z=f.selector||"",le="click",be="ontouchstart"in gt.documentElement?"touchstart":"click",xe=S(this),ce,ke,Ae=this,_=xe.data(A),Fe;Fe={preinitialize:function(){Fe.is.dimmer()?(ke=xe.parent(),ce=xe):(ke=xe,Fe.has.dimmer()?H.dimmerName?ce=ke.find(O.dimmer).filter("."+H.dimmerName):ce=ke.find(O.dimmer):ce=Fe.create())},initialize:function(){Fe.debug("Initializing dimmer",H),Fe.bind.events(),Fe.set.dimmable(),Fe.instantiate()},instantiate:function(){Fe.verbose("Storing instance of module",Fe),_=Fe,xe.data(A,_)},destroy:function(){Fe.verbose("Destroying previous module",ce),Fe.unbind.events(),Fe.remove.variation(),ke.off(J)},bind:{events:function(){H.on=="hover"?ke.on("mouseenter"+J,Fe.show).on("mouseleave"+J,Fe.hide):H.on=="click"&&ke.on(le+J,Fe.toggle),Fe.is.page()&&(Fe.debug("Setting as a page dimmer",ke),Fe.set.pageDimmer()),Fe.is.closable()&&(Fe.verbose("Adding dimmer close event",ce),ke.on(le+J,O.dimmer,Fe.event.click))}},unbind:{events:function(){xe.removeData(A),ke.off(J)}},event:{click:function(Se){Fe.verbose("Determining if event occured on dimmer",Se),(ce.find(Se.target).length===0||S(Se.target).is(O.content))&&(Fe.hide(),Se.stopImmediatePropagation())}},addContent:function(Se){var ee=S(Se);Fe.debug("Add content to dimmer",ee),ee.parent()[0]!==ce[0]&&ee.detach().appendTo(ce)},create:function(){var Se=S(H.template.dimmer(H));return H.dimmerName&&(Fe.debug("Creating named dimmer",H.dimmerName),Se.addClass(H.dimmerName)),Se.appendTo(ke),Se},show:function(Se){Se=S.isFunction(Se)?Se:function(){},Fe.debug("Showing dimmer",ce,H),Fe.set.variation(),(!Fe.is.dimmed()||Fe.is.animating())&&Fe.is.enabled()?(Fe.animate.show(Se),H.onShow.call(Ae),H.onChange.call(Ae)):Fe.debug("Dimmer is already shown or disabled")},hide:function(Se){Se=S.isFunction(Se)?Se:function(){},Fe.is.dimmed()||Fe.is.animating()?(Fe.debug("Hiding dimmer",ce),Fe.animate.hide(Se),H.onHide.call(Ae),H.onChange.call(Ae)):Fe.debug("Dimmer is not visible")},toggle:function(){Fe.verbose("Toggling dimmer visibility",ce),Fe.is.dimmed()?Fe.is.closable()&&Fe.hide():Fe.show()},animate:{show:function(Se){Se=S.isFunction(Se)?Se:function(){},H.useCSS&&S.fn.transition!==R&&ce.transition("is supported")?(H.useFlex?(Fe.debug("Using flex dimmer"),Fe.remove.legacy()):(Fe.debug("Using legacy non-flex dimmer"),Fe.set.legacy()),H.opacity!=="auto"&&Fe.set.opacity(),ce.transition({displayType:H.useFlex?"flex":"block",animation:H.transition+" in",queue:!1,duration:Fe.get.duration(),useFailSafe:!0,onStart:function(){Fe.set.dimmed()},onComplete:function(){Fe.set.active(),Se()}})):(Fe.verbose("Showing dimmer animation with javascript"),Fe.set.dimmed(),H.opacity=="auto"&&(H.opacity=.8),ce.stop().css({opacity:0,width:"100%",height:"100%"}).fadeTo(Fe.get.duration(),H.opacity,function(){ce.removeAttr("style"),Fe.set.active(),Se()}))},hide:function(Se){Se=S.isFunction(Se)?Se:function(){},H.useCSS&&S.fn.transition!==R&&ce.transition("is supported")?(Fe.verbose("Hiding dimmer with css"),ce.transition({displayType:H.useFlex?"flex":"block",animation:H.transition+" out",queue:!1,duration:Fe.get.duration(),useFailSafe:!0,onComplete:function(){Fe.remove.dimmed(),Fe.remove.variation(),Fe.remove.active(),Se()}})):(Fe.verbose("Hiding dimmer with javascript"),ce.stop().fadeOut(Fe.get.duration(),function(){Fe.remove.dimmed(),Fe.remove.active(),ce.removeAttr("style"),Se()}))}},get:{dimmer:function(){return ce},duration:function(){return typeof H.duration=="object"?Fe.is.active()?H.duration.hide:H.duration.show:H.duration}},has:{dimmer:function(){return H.dimmerName?xe.find(O.dimmer).filter("."+H.dimmerName).length>0:xe.find(O.dimmer).length>0}},is:{active:function(){return ce.hasClass(he.active)},animating:function(){return ce.is(":animated")||ce.hasClass(he.animating)},closable:function(){return H.closable=="auto"?H.on!="hover":H.closable},dimmer:function(){return xe.hasClass(he.dimmer)},dimmable:function(){return xe.hasClass(he.dimmable)},dimmed:function(){return ke.hasClass(he.dimmed)},disabled:function(){return ke.hasClass(he.disabled)},enabled:function(){return!Fe.is.disabled()},page:function(){return ke.is("body")},pageDimmer:function(){return ce.hasClass(he.pageDimmer)}},can:{show:function(){return!ce.hasClass(he.disabled)}},set:{opacity:function(Se){var ee=ce.css("background-color"),Be=ee.split(","),ve=Be&&Be.length>=3;Se=H.opacity===0?0:H.opacity||Se,ve?(Be[2]=Be[2].replace(")",""),Be[3]=Se+")",ee=Be.join(",")):ee="rgba(0, 0, 0, "+Se+")",Fe.debug("Setting opacity to",Se),ce.css("background-color",ee)},legacy:function(){ce.addClass(he.legacy)},active:function(){ce.addClass(he.active)},dimmable:function(){ke.addClass(he.dimmable)},dimmed:function(){ke.addClass(he.dimmed)},pageDimmer:function(){ce.addClass(he.pageDimmer)},disabled:function(){ce.addClass(he.disabled)},variation:function(Se){Se=Se||H.variation,Se&&ce.addClass(Se)}},remove:{active:function(){ce.removeClass(he.active)},legacy:function(){ce.removeClass(he.legacy)},dimmed:function(){ke.removeClass(he.dimmed)},disabled:function(){ce.removeClass(he.disabled)},variation:function(Se){Se=Se||H.variation,Se&&ce.removeClass(Se)}},setting:function(Se,ee){if(Fe.debug("Changing setting",Se,ee),S.isPlainObject(Se))S.extend(!0,H,Se);else if(ee!==R)S.isPlainObject(H[Se])?S.extend(!0,H[Se],ee):H[Se]=ee;else return H[Se]},internal:function(Se,ee){if(S.isPlainObject(Se))S.extend(!0,Fe,Se);else if(ee!==R)Fe[Se]=ee;else return Fe[Se]},debug:function(){!H.silent&&H.debug&&(H.performance?Fe.performance.log(arguments):(Fe.debug=Function.prototype.bind.call(console.info,console,H.name+":"),Fe.debug.apply(console,arguments)))},verbose:function(){!H.silent&&H.verbose&&H.debug&&(H.performance?Fe.performance.log(arguments):(Fe.verbose=Function.prototype.bind.call(console.info,console,H.name+":"),Fe.verbose.apply(console,arguments)))},error:function(){H.silent||(Fe.error=Function.prototype.bind.call(console.error,console,H.name+":"),Fe.error.apply(console,arguments))},performance:{log:function(Se){var ee,Be,ve;H.performance&&(ee=new Date().getTime(),ve=Q||ee,Be=ee-ve,Q=ee,V.push({Name:Se[0],Arguments:[].slice.call(Se,1)||"",Element:Ae,"Execution Time":Be})),clearTimeout(Fe.performance.timer),Fe.performance.timer=setTimeout(Fe.performance.display,500)},display:function(){var Se=H.name+":",ee=0;Q=!1,clearTimeout(Fe.performance.timer),S.each(V,function(Be,ve){ee+=ve["Execution Time"]}),Se+=" "+ee+"ms",z&&(Se+=" '"+z+"'"),f.length>1&&(Se+=" ("+f.length+")"),(console.group!==R||console.table!==R)&&V.length>0&&(console.groupCollapsed(Se),console.table?console.table(V):S.each(V,function(Be,ve){console.log(ve.Name+": "+ve["Execution Time"]+"ms")}),console.groupEnd()),V=[]}},invoke:function(Se,ee,Be){var ve=_,L,B,F;return ee=ee||$,Be=Ae||Be,typeof Se=="string"&&ve!==R&&(Se=Se.split(/[\. ]/),L=Se.length-1,S.each(Se,function(oe,ye){var Ue=oe!=L?ye+Se[oe+1].charAt(0).toUpperCase()+Se[oe+1].slice(1):Se;if(S.isPlainObject(ve[Ue])&&oe!=L)ve=ve[Ue];else{if(ve[Ue]!==R)return B=ve[Ue],!1;if(S.isPlainObject(ve[ye])&&oe!=L)ve=ve[ye];else return ve[ye]!==R?(B=ve[ye],!1):(Fe.error(te.method,Se),!1)}})),S.isFunction(B)?F=B.apply(Be,ee):B!==R&&(F=B),Array.isArray(U)?U.push(F):U!==R?U=[U,F]:F!==R&&(U=F),B}},Fe.preinitialize(),y?(_===R&&Fe.initialize(),Fe.invoke(se)):(_!==R&&_.invoke("destroy"),Fe.initialize())}),U!==R?U:this},S.fn.dimmer.settings={name:"Dimmer",namespace:"dimmer",silent:!1,debug:!1,verbose:!1,performance:!0,useFlex:!0,dimmerName:!1,variation:!1,closable:"auto",useCSS:!0,transition:"fade",on:!1,opacity:"auto",duration:{show:500,hide:500},displayLoader:!1,loaderText:!1,loaderVariation:"",onChange:function(){},onShow:function(){},onHide:function(){},error:{method:"The method you called is not defined."},className:{active:"active",animating:"animating",dimmable:"dimmable",dimmed:"dimmed",dimmer:"dimmer",disabled:"disabled",hide:"hide",legacy:"legacy",pageDimmer:"page",show:"show",loader:"ui loader"},selector:{dimmer:"> .ui.dimmer",content:".ui.dimmer > .content, .ui.dimmer > .content > .center"},template:{dimmer:function(j){var f=S("<div/>").addClass("ui dimmer"),Q;return j.displayLoader&&(Q=S("<div/>").addClass(j.className.loader).addClass(j.loaderVariation),j.loaderText&&(Q.text(j.loaderText),Q.addClass("text")),f.append(Q)),f}}}})(jQuery,window,document);(function(S,dt,gt,R){"use strict";S.isFunction=S.isFunction||function(j){return typeof j=="function"&&typeof j.nodeType!="number"},dt=typeof dt!="undefined"&&dt.Math==Math?dt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),S.fn.dropdown=function(j){var f=S(this),Q=S(gt),V=f.selector||"",se="ontouchstart"in gt.documentElement,y="click",$=se?"touchstart":"click",U=new Date().getTime(),H=[],O=arguments[0],Z=typeof O=="string",he=[].slice.call(arguments,1),te;return f.each(function(J){var A=S.isPlainObject(j)?S.extend(!0,{},S.fn.dropdown.settings,j):S.extend({},S.fn.dropdown.settings),z=A.className,le=A.message,be=A.fields,xe=A.keys,ce=A.metadata,ke=A.namespace,Ae=A.regExp,_=A.selector,Fe=A.error,Se=A.templates,ee="."+ke,Be="module-"+ke,ve=S(this),L=S(A.context),B=ve.find(_.text),F=ve.find(_.search),oe=ve.find(_.sizer),ye=ve.find(_.input),Ue=ve.find(_.icon),Xe=ve.find(_.clearIcon),de=ve.prev().find(_.text).length>0?ve.prev().find(_.text):ve.prev(),X=ve.children(_.menu),pe=X.find(_.item),N=A.hideDividers?pe.parent().children(_.divider):S(),_e=!1,qe=!1,jt=!1,_t=!1,wt=this,Zt=ve.data(Be),zt,ki,hi,Ji,Si,Di,ci,On,Wi,x;x={initialize:function(){x.debug("Initializing dropdown",A),x.is.alreadySetup()?x.setup.reference():(A.ignoreDiacritics&&!String.prototype.normalize&&(A.ignoreDiacritics=!1,x.error(Fe.noNormalize,wt)),x.setup.layout(),A.values&&(x.set.initialLoad(),x.change.values(A.values),x.remove.initialLoad()),x.refreshData(),x.save.defaults(),x.restore.selected(),x.create.id(),x.bind.events(),x.observeChanges(),x.instantiate())},instantiate:function(){x.verbose("Storing instance of dropdown",x),Zt=x,ve.data(Be,x)},destroy:function(){x.verbose("Destroying previous dropdown",ve),x.remove.tabbable(),x.remove.active(),X.transition("stop all"),X.removeClass(z.visible).addClass(z.hidden),ve.off(ee).removeData(Be),X.off(ee),Q.off(Si),x.disconnect.menuObserver(),x.disconnect.selectObserver(),x.disconnect.classObserver()},observeChanges:function(){"MutationObserver"in dt&&(ci=new MutationObserver(x.event.select.mutation),On=new MutationObserver(x.event.menu.mutation),Wi=new MutationObserver(x.event.class.mutation),x.debug("Setting up mutation observer",ci,On,Wi),x.observe.select(),x.observe.menu(),x.observe.class())},disconnect:{menuObserver:function(){On&&On.disconnect()},selectObserver:function(){ci&&ci.disconnect()},classObserver:function(){Wi&&Wi.disconnect()}},observe:{select:function(){x.has.input()&&ci&&ci.observe(ve[0],{childList:!0,subtree:!0})},menu:function(){x.has.menu()&&On&&On.observe(X[0],{childList:!0,subtree:!0})},class:function(){x.has.search()&&Wi&&Wi.observe(ve[0],{attributes:!0})}},create:{id:function(){Di=(Math.random().toString(16)+"000000000").substr(2,8),Si="."+Di,x.verbose("Creating unique id for element",Di)},userChoice:function(P){var re,Ie,Ve,it;return P=P||x.get.userValues(),P?(P=Array.isArray(P)?P:[P],S.each(P,function(nt,Qt){x.get.item(Qt)===!1&&(it=A.templates.addition(x.add.variables(le.addResult,Qt)),Ie=S("<div />").html(it).attr("data-"+ce.value,Qt).attr("data-"+ce.text,Qt).addClass(z.addition).addClass(z.item),A.hideAdditions&&Ie.addClass(z.hidden),re=re===R?Ie:re.add(Ie),x.verbose("Creating user choices for value",Qt,Ie))}),re):!1},userLabels:function(P){var re=x.get.userValues();re&&(x.debug("Adding user labels",re),S.each(re,function(Ie,Ve){x.verbose("Adding custom user value"),x.add.label(Ve,Ve)}))},menu:function(){X=S("<div />").addClass(z.menu).appendTo(ve)},sizer:function(){oe=S("<span />").addClass(z.sizer).insertAfter(F)}},search:function(P){P=P!==R?P:x.get.query(),x.verbose("Searching for query",P),x.has.minCharacters(P)?x.filter(P):x.hide(null,!0)},select:{firstUnfiltered:function(){x.verbose("Selecting first non-filtered element"),x.remove.selectedItem(),pe.not(_.unselectable).not(_.addition+_.hidden).eq(0).addClass(z.selected)},nextAvailable:function(P){P=P.eq(0);var re=P.nextAll(_.item).not(_.unselectable).eq(0),Ie=P.prevAll(_.item).not(_.unselectable).eq(0),Ve=re.length>0;Ve?(x.verbose("Moving selection to",re),re.addClass(z.selected)):(x.verbose("Moving selection to",Ie),Ie.addClass(z.selected))}},setup:{api:function(){var P={debug:A.debug,urlData:{value:x.get.value(),query:x.get.query()},on:!1};x.verbose("First request, initializing API"),ve.api(P)},layout:function(){ve.is("select")&&(x.setup.select(),x.setup.returnedObject()),x.has.menu()||x.create.menu(),x.is.selection()&&x.is.clearable()&&!x.has.clearItem()&&(x.verbose("Adding clear icon"),Xe=S("<i />").addClass("remove icon").insertBefore(B)),x.is.search()&&!x.has.search()&&(x.verbose("Adding search input"),F=S("<input />").addClass(z.search).prop("autocomplete","off").insertBefore(B)),x.is.multiple()&&x.is.searchSelection()&&!x.has.sizer()&&x.create.sizer(),A.allowTab&&x.set.tabbable()},select:function(){var P=x.get.selectValues();x.debug("Dropdown initialized on a select",P),ve.is("select")&&(ye=ve),ye.parent(_.dropdown).length>0?(x.debug("UI dropdown already exists. Creating dropdown menu only"),ve=ye.closest(_.dropdown),x.has.menu()||x.create.menu(),X=ve.children(_.menu),x.setup.menu(P)):(x.debug("Creating entire dropdown from select"),ve=S("<div />").attr("class",ye.attr("class")).addClass(z.selection).addClass(z.dropdown).html(Se.dropdown(P,be,A.preserveHTML,A.className)).insertBefore(ye),ye.hasClass(z.multiple)&&ye.prop("multiple")===!1&&(x.error(Fe.missingMultiple),ye.prop("multiple",!0)),ye.is("[multiple]")&&x.set.multiple(),ye.prop("disabled")&&(x.debug("Disabling dropdown"),ve.addClass(z.disabled)),ye.removeAttr("required").removeAttr("class").detach().prependTo(ve)),x.refresh()},menu:function(P){X.html(Se.menu(P,be,A.preserveHTML,A.className)),pe=X.find(_.item),N=A.hideDividers?pe.parent().children(_.divider):S()},reference:function(){x.debug("Dropdown behavior was called on select, replacing with closest dropdown"),ve=ve.parent(_.dropdown),Zt=ve.data(Be),wt=ve.get(0),x.refresh(),x.setup.returnedObject()},returnedObject:function(){var P=f.slice(0,J),re=f.slice(J+1);f=P.add(ve).add(re)}},refresh:function(){x.refreshSelectors(),x.refreshData()},refreshItems:function(){pe=X.find(_.item),N=A.hideDividers?pe.parent().children(_.divider):S()},refreshSelectors:function(){x.verbose("Refreshing selector cache"),B=ve.find(_.text),F=ve.find(_.search),ye=ve.find(_.input),Ue=ve.find(_.icon),de=ve.prev().find(_.text).length>0?ve.prev().find(_.text):ve.prev(),X=ve.children(_.menu),pe=X.find(_.item),N=A.hideDividers?pe.parent().children(_.divider):S()},refreshData:function(){x.verbose("Refreshing cached metadata"),pe.removeData(ce.text).removeData(ce.value)},clearData:function(){x.verbose("Clearing metadata"),pe.removeData(ce.text).removeData(ce.value),ve.removeData(ce.defaultText).removeData(ce.defaultValue).removeData(ce.placeholderText)},toggle:function(){x.verbose("Toggling menu visibility"),x.is.active()?x.hide():x.show()},show:function(P,re){if(P=S.isFunction(P)?P:function(){},!x.can.show()&&x.is.remote()&&(x.debug("No API results retrieved, searching before show"),x.queryRemote(x.get.query(),x.show)),x.can.show()&&!x.is.active()){if(x.debug("Showing dropdown"),x.has.message()&&!(x.has.maxSelections()||x.has.allResultsFiltered())&&x.remove.message(),x.is.allFiltered())return!0;A.onShow.call(wt)!==!1&&x.animate.show(function(){x.can.click()&&x.bind.intent(),x.has.search()&&!re&&x.focusSearch(),x.set.visible(),P.call(wt)})}},hide:function(P,re){P=S.isFunction(P)?P:function(){},x.is.active()&&!x.is.animatingOutward()?(x.debug("Hiding dropdown"),A.onHide.call(wt)!==!1&&x.animate.hide(function(){x.remove.visible(),x.is.focusedOnSearch()&&re!==!0&&F.blur(),P.call(wt)})):x.can.click()&&x.unbind.intent(),_t=!1},hideOthers:function(){x.verbose("Finding other dropdowns to hide"),f.not(ve).has(_.menu+"."+z.visible).dropdown("hide")},hideMenu:function(){x.verbose("Hiding menu instantaneously"),x.remove.active(),x.remove.visible(),X.transition("hide")},hideSubMenus:function(){var P=X.children(_.item).find(_.menu);x.verbose("Hiding sub menus",P),P.transition("hide")},bind:{events:function(){x.bind.keyboardEvents(),x.bind.inputEvents(),x.bind.mouseEvents()},keyboardEvents:function(){x.verbose("Binding keyboard events"),ve.on("keydown"+ee,x.event.keydown),x.has.search()&&ve.on(x.get.inputEvent()+ee,_.search,x.event.input),x.is.multiple()&&Q.on("keydown"+Si,x.event.document.keydown)},inputEvents:function(){x.verbose("Binding input change events"),ve.on("change"+ee,_.input,x.event.change)},mouseEvents:function(){x.verbose("Binding mouse events"),x.is.multiple()&&ve.on(y+ee,_.label,x.event.label.click).on(y+ee,_.remove,x.event.remove.click),x.is.searchSelection()?(ve.on("mousedown"+ee,x.event.mousedown).on("mouseup"+ee,x.event.mouseup).on("mousedown"+ee,_.menu,x.event.menu.mousedown).on("mouseup"+ee,_.menu,x.event.menu.mouseup).on(y+ee,_.icon,x.event.icon.click).on(y+ee,_.clearIcon,x.event.clearIcon.click).on("focus"+ee,_.search,x.event.search.focus).on(y+ee,_.search,x.event.search.focus).on("blur"+ee,_.search,x.event.search.blur).on(y+ee,_.text,x.event.text.focus),x.is.multiple()&&ve.on(y+ee,x.event.click)):(A.on=="click"?ve.on(y+ee,_.icon,x.event.icon.click).on(y+ee,x.event.test.toggle):A.on=="hover"?ve.on("mouseenter"+ee,x.delay.show).on("mouseleave"+ee,x.delay.hide):ve.on(A.on+ee,x.toggle),ve.on("mousedown"+ee,x.event.mousedown).on("mouseup"+ee,x.event.mouseup).on("focus"+ee,x.event.focus).on(y+ee,_.clearIcon,x.event.clearIcon.click),x.has.menuSearch()?ve.on("blur"+ee,_.search,x.event.search.blur):ve.on("blur"+ee,x.event.blur)),X.on((se?"touchstart":"mouseenter")+ee,_.item,x.event.item.mouseenter).on("mouseleave"+ee,_.item,x.event.item.mouseleave).on("click"+ee,_.item,x.event.item.click)},intent:function(){x.verbose("Binding hide intent event to document"),se&&Q.on("touchstart"+Si,x.event.test.touch).on("touchmove"+Si,x.event.test.touch),Q.on(y+Si,x.event.test.hide)}},unbind:{intent:function(){x.verbose("Removing hide intent event from document"),se&&Q.off("touchstart"+Si).off("touchmove"+Si),Q.off(y+Si)}},filter:function(P){var re=P!==R?P:x.get.query(),Ie=function(){x.is.multiple()&&x.filterActive(),(P||!P&&x.get.activeItem().length==0)&&x.select.firstUnfiltered(),x.has.allResultsFiltered()?A.onNoResults.call(wt,re)?A.allowAdditions?A.hideAdditions&&(x.verbose("User addition with no menu, setting empty style"),x.set.empty(),x.hideMenu()):(x.verbose("All items filtered, showing message",re),x.add.message(le.noResults)):(x.verbose("All items filtered, hiding dropdown",re),x.hideMenu()):(x.remove.empty(),x.remove.message()),A.allowAdditions&&x.add.userSuggestion(x.escape.htmlEntities(P)),x.is.searchSelection()&&x.can.show()&&x.is.focusedOnSearch()&&x.show()};A.useLabels&&x.has.maxSelections()||(A.apiSettings?x.can.useAPI()?x.queryRemote(re,function(){A.filterRemoteData&&x.filterItems(re);var Ve=ye.val();Array.isArray(Ve)||(Ve=Ve&&Ve!==""?Ve.split(A.delimiter):[]),S.each(Ve,function(it,nt){pe.filter('[data-value="'+nt+'"]').addClass(z.filtered)}),Ie()}):x.error(Fe.noAPI):(x.filterItems(re),Ie()))},queryRemote:function(P,re){var Ie={errorDuration:!1,cache:"local",throttle:A.throttle,urlData:{query:P},onError:function(){x.add.message(le.serverError),re()},onFailure:function(){x.add.message(le.serverError),re()},onSuccess:function(Ve){var it=Ve[be.remoteValues];Array.isArray(it)||(it=[]),x.remove.message();var nt={};nt[be.values]=it,x.setup.menu(nt),it.length===0&&!A.allowAdditions&&x.add.message(le.noResults),re()}};ve.api("get request")||x.setup.api(),Ie=S.extend(!0,{},Ie,A.apiSettings),ve.api("setting",Ie).api("query")},filterItems:function(P){var re=x.remove.diacritics(P!==R?P:x.get.query()),Ie=null,Ve=x.escape.string(re),it=(A.ignoreSearchCase?"i":"")+"gm",nt=new RegExp("^"+Ve,it);x.has.query()&&(Ie=[],x.verbose("Searching for matching values",re),pe.each(function(){var Qt=S(this),pi,Ci;if(Qt.hasClass(z.unfilterable))return Ie.push(this),!0;if(A.match==="both"||A.match==="text"){if(pi=x.remove.diacritics(String(x.get.choiceText(Qt,!1))),pi.search(nt)!==-1)return Ie.push(this),!0;if(A.fullTextSearch==="exact"&&x.exactSearch(re,pi))return Ie.push(this),!0;if(A.fullTextSearch===!0&&x.fuzzySearch(re,pi))return Ie.push(this),!0}if(A.match==="both"||A.match==="value"){if(Ci=x.remove.diacritics(String(x.get.choiceValue(Qt,pi))),Ci.search(nt)!==-1)return Ie.push(this),!0;if(A.fullTextSearch==="exact"&&x.exactSearch(re,Ci))return Ie.push(this),!0;if(A.fullTextSearch===!0&&x.fuzzySearch(re,Ci))return Ie.push(this),!0}})),x.debug("Showing only matched items",re),x.remove.filteredItem(),Ie&&pe.not(Ie).addClass(z.filtered),x.has.query()?A.hideDividers===!0?N.addClass(z.hidden):A.hideDividers==="empty"&&N.removeClass(z.hidden).filter(function(){var Qt=S(this).nextUntil(_.item);return(Qt.length?Qt:S(this)).nextUntil(_.divider).filter(_.item+":not(."+z.filtered+")").length===0}).addClass(z.hidden):N.removeClass(z.hidden)},fuzzySearch:function(P,re){var Ie=re.length,Ve=P.length;if(P=A.ignoreSearchCase?P.toLowerCase():P,re=A.ignoreSearchCase?re.toLowerCase():re,Ve>Ie)return!1;if(Ve===Ie)return P===re;e:for(var it=0,nt=0;it<Ve;it++){for(var Qt=P.charCodeAt(it);nt<Ie;)if(re.charCodeAt(nt++)===Qt)continue e;return!1}return!0},exactSearch:function(P,re){return P=A.ignoreSearchCase?P.toLowerCase():P,re=A.ignoreSearchCase?re.toLowerCase():re,re.indexOf(P)>-1},filterActive:function(){A.useLabels&&pe.filter("."+z.active).addClass(z.filtered)},focusSearch:function(P){x.has.search()&&!x.is.focusedOnSearch()&&(P?(ve.off("focus"+ee,_.search),F.focus(),ve.on("focus"+ee,_.search,x.event.search.focus)):F.focus())},blurSearch:function(){x.has.search()&&F.blur()},forceSelection:function(){var P=pe.not(z.filtered).filter("."+z.selected).eq(0),re=pe.not(z.filtered).filter("."+z.active).eq(0),Ie=P.length>0?P:re,Ve=Ie.length>0;A.allowAdditions||Ve&&!x.is.multiple()?(x.debug("Forcing partial selection to selected item",Ie),x.event.item.click.call(Ie,{},!0)):x.remove.searchTerm()},change:{values:function(P){A.allowAdditions||x.clear(),x.debug("Creating dropdown with specified values",P);var re={};re[be.values]=P,x.setup.menu(re),S.each(P,function(Ie,Ve){if(Ve.selected==!0&&(x.debug("Setting initial selection to",Ve[be.value]),x.set.selected(Ve[be.value]),!x.is.multiple()))return!1}),x.has.selectInput()&&(x.disconnect.selectObserver(),ye.html(""),ye.append("<option disabled selected value></option>"),S.each(P,function(Ie,Ve){var it=A.templates.deQuote(Ve[be.value]),nt=A.templates.escape(Ve[be.name]||"",A.preserveHTML);ye.append('<option value="'+it+'">'+nt+"</option>")}),x.observe.select())}},event:{change:function(){jt||(x.debug("Input changed, updating selection"),x.set.selected())},focus:function(){A.showOnFocus&&!_e&&x.is.hidden()&&!hi&&x.show()},blur:function(P){hi=gt.activeElement===this,!_e&&!hi&&(x.remove.activeLabel(),x.hide())},mousedown:function(){x.is.searchSelection()?Ji=!0:_e=!0},mouseup:function(){x.is.searchSelection()?Ji=!1:_e=!1},click:function(P){var re=S(P.target);re.is(ve)&&(x.is.focusedOnSearch()?x.show():x.focusSearch())},search:{focus:function(P){_e=!0,x.is.multiple()&&x.remove.activeLabel(),(A.showOnFocus||P.type!=="focus"&&P.type!=="focusin")&&x.search()},blur:function(P){hi=gt.activeElement===this,x.is.searchSelection()&&!Ji&&!qe&&!hi&&(A.forceSelection?x.forceSelection():A.allowAdditions||x.remove.searchTerm(),x.hide()),Ji=!1}},clearIcon:{click:function(P){x.clear(),x.is.searchSelection()&&x.remove.searchTerm(),x.hide(),P.stopPropagation()}},icon:{click:function(P){_t=!0,x.has.search()?x.is.active()?x.blurSearch():A.showOnFocus?x.focusSearch():x.toggle():x.toggle()}},text:{focus:function(P){_e=!0,x.focusSearch()}},input:function(P){(x.is.multiple()||x.is.searchSelection())&&x.set.filtered(),clearTimeout(x.timer),x.timer=setTimeout(x.search,A.delay.search)},label:{click:function(P){var re=S(this),Ie=ve.find(_.label),Ve=Ie.filter("."+z.active),it=re.nextAll("."+z.active),nt=re.prevAll("."+z.active),Qt=it.length>0?re.nextUntil(it).add(Ve).add(re):re.prevUntil(nt).add(Ve).add(re);P.shiftKey?(Ve.removeClass(z.active),Qt.addClass(z.active)):P.ctrlKey?re.toggleClass(z.active):(Ve.removeClass(z.active),re.addClass(z.active)),A.onLabelSelect.apply(this,Ie.filter("."+z.active))}},remove:{click:function(){var P=S(this).parent();P.hasClass(z.active)?x.remove.activeLabels():x.remove.activeLabels(P)}},test:{toggle:function(P){var re=x.is.multiple()?x.show:x.toggle;x.is.bubbledLabelClick(P)||x.is.bubbledIconClick(P)||x.determine.eventOnElement(P,re)&&P.preventDefault()},touch:function(P){x.determine.eventOnElement(P,function(){P.type=="touchstart"?x.timer=setTimeout(function(){x.hide()},A.delay.touch):P.type=="touchmove"&&clearTimeout(x.timer)}),P.stopPropagation()},hide:function(P){x.determine.eventInModule(P,x.hide)&&wt.id&&S(P.target).attr("for")===wt.id&&P.preventDefault()}},class:{mutation:function(P){P.forEach(function(re){re.attributeName==="class"&&x.check.disabled()})}},select:{mutation:function(P){x.debug("<select> modified, recreating menu"),x.is.selectMutation(P)&&(x.disconnect.selectObserver(),x.refresh(),x.setup.select(),x.set.selected(),x.observe.select())}},menu:{mutation:function(P){var re=P[0],Ie=re.addedNodes?S(re.addedNodes[0]):S(!1),Ve=re.removedNodes?S(re.removedNodes[0]):S(!1),it=Ie.add(Ve),nt=it.is(_.addition)||it.closest(_.addition).length>0,Qt=it.is(_.message)||it.closest(_.message).length>0;nt||Qt?(x.debug("Updating item selector cache"),x.refreshItems()):(x.debug("Menu modified, updating selector cache"),x.refresh())},mousedown:function(){qe=!0},mouseup:function(){qe=!1}},item:{mouseenter:function(P){var re=S(P.target),Ie=S(this),Ve=Ie.children(_.menu),it=Ie.siblings(_.item).children(_.menu),nt=Ve.length>0,Qt=Ve.find(re).length>0;!Qt&&nt&&(clearTimeout(x.itemTimer),x.itemTimer=setTimeout(function(){x.verbose("Showing sub-menu",Ve),S.each(it,function(){x.animate.hide(!1,S(this))}),x.animate.show(!1,Ve)},A.delay.show),P.preventDefault())},mouseleave:function(P){var re=S(this).children(_.menu);re.length>0&&(clearTimeout(x.itemTimer),x.itemTimer=setTimeout(function(){x.verbose("Hiding sub-menu",re),x.animate.hide(!1,re)},A.delay.hide))},click:function(P,re){var Ie=S(this),Ve=S(P?P.target:""),it=Ie.find(_.menu),nt=x.get.choiceText(Ie),Qt=x.get.choiceValue(Ie,nt),pi=it.length>0,Ci=it.find(Ve).length>0;gt.activeElement.tagName.toLowerCase()!=="input"&&S(gt.activeElement).blur(),!Ci&&(!pi||A.allowCategorySelection)&&(x.is.searchSelection()&&(A.allowAdditions&&x.remove.userAddition(),x.remove.searchTerm(),!x.is.focusedOnSearch()&&re!=!0&&x.focusSearch(!0)),A.useLabels||(x.remove.filteredItem(),x.set.scrollPosition(Ie)),x.determine.selectAction.call(this,nt,Qt))}},document:{keydown:function(P){var re=P.which,Ie=x.is.inObject(re,xe);if(Ie){var Ve=ve.find(_.label),it=Ve.filter("."+z.active),nt=it.data(ce.value),Qt=Ve.index(it),pi=Ve.length,Ci=it.length>0,pn=it.length>1,Zi=Qt===0,ji=Qt+1==pi,Yi=x.is.searchSelection(),Mi=x.is.focusedOnSearch(),Pn=x.is.focused(),Ti=Mi&&x.get.caretPosition(!1)===0,Pi=Ti&&x.get.caretPosition(!0)!==0,rn;if(Yi&&!Ci&&!Mi)return;re==xe.leftArrow?(Pn||Ti)&&!Ci?(x.verbose("Selecting previous label"),Ve.last().addClass(z.active)):Ci&&(P.shiftKey?x.verbose("Adding previous label to selection"):(x.verbose("Selecting previous label"),Ve.removeClass(z.active)),Zi&&!pn?it.addClass(z.active):it.prev(_.siblingLabel).addClass(z.active).end(),P.preventDefault()):re==xe.rightArrow?(Pn&&!Ci&&Ve.first().addClass(z.active),Ci&&(P.shiftKey?x.verbose("Adding next label to selection"):(x.verbose("Selecting next label"),Ve.removeClass(z.active)),ji?Yi?Mi?Ve.removeClass(z.active):x.focusSearch():pn?it.next(_.siblingLabel).addClass(z.active):it.addClass(z.active):it.next(_.siblingLabel).addClass(z.active),P.preventDefault())):re==xe.deleteKey||re==xe.backspace?Ci?(x.verbose("Removing active labels"),ji&&Yi&&!Mi&&x.focusSearch(),it.last().next(_.siblingLabel).addClass(z.active),x.remove.activeLabels(it),P.preventDefault()):Ti&&!Pi&&!Ci&&re==xe.backspace&&(x.verbose("Removing last label on input backspace"),it=Ve.last().addClass(z.active),x.remove.activeLabels(it)):it.removeClass(z.active)}}},keydown:function(P){var re=P.which,Ie=x.is.inObject(re,xe);if(Ie){var Ve=pe.not(_.unselectable).filter("."+z.selected).eq(0),it=X.children("."+z.active).eq(0),nt=Ve.length>0?Ve:it,Qt=nt.length>0?nt.siblings(":not(."+z.filtered+")").addBack():X.children(":not(."+z.filtered+")"),pi=nt.children(_.menu),Ci=nt.closest(_.menu),pn=Ci.hasClass(z.visible)||Ci.hasClass(z.animating)||Ci.parent(_.menu).length>0,Zi=pi.length>0,ji=nt.length>0,Yi=nt.not(_.unselectable).length>0,Mi=re==xe.delimiter&&A.allowAdditions&&x.is.multiple(),Pn=A.allowAdditions&&A.hideAdditions&&(re==xe.enter||Mi)&&Yi,Ti,Pi,rn;if(Pn&&(x.verbose("Selecting item from keyboard shortcut",nt),x.event.item.click.call(nt,P),x.is.searchSelection()&&x.remove.searchTerm(),x.is.multiple()&&P.preventDefault()),x.is.visible()){if((re==xe.enter||Mi)&&(re==xe.enter&&ji&&Zi&&!A.allowCategorySelection?(x.verbose("Pressed enter on unselectable category, opening sub menu"),re=xe.rightArrow):Yi&&(x.verbose("Selecting item from keyboard shortcut",nt),x.event.item.click.call(nt,P),x.is.searchSelection()&&(x.remove.searchTerm(),x.is.multiple()&&F.focus())),P.preventDefault()),ji&&(re==xe.leftArrow&&(Pi=Ci[0]!==X[0],Pi&&(x.verbose("Left key pressed, closing sub-menu"),x.animate.hide(!1,Ci),nt.removeClass(z.selected),Ci.closest(_.item).addClass(z.selected),P.preventDefault())),re==xe.rightArrow&&Zi&&(x.verbose("Right key pressed, opening sub-menu"),x.animate.show(!1,pi),nt.removeClass(z.selected),pi.find(_.item).eq(0).addClass(z.selected),P.preventDefault())),re==xe.upArrow){if(Ti=ji&&pn?nt.prevAll(_.item+":not("+_.unselectable+")").eq(0):pe.eq(0),Qt.index(Ti)<0){x.verbose("Up key pressed but reached top of current menu"),P.preventDefault();return}else x.verbose("Up key pressed, changing active item"),nt.removeClass(z.selected),Ti.addClass(z.selected),x.set.scrollPosition(Ti),A.selectOnKeydown&&x.is.single()&&x.set.selectedItem(Ti);P.preventDefault()}if(re==xe.downArrow){if(Ti=ji&&pn?Ti=nt.nextAll(_.item+":not("+_.unselectable+")").eq(0):pe.eq(0),Ti.length===0){x.verbose("Down key pressed but reached bottom of current menu"),P.preventDefault();return}else x.verbose("Down key pressed, changing active item"),pe.removeClass(z.selected),Ti.addClass(z.selected),x.set.scrollPosition(Ti),A.selectOnKeydown&&x.is.single()&&x.set.selectedItem(Ti);P.preventDefault()}re==xe.pageUp&&(x.scrollPage("up"),P.preventDefault()),re==xe.pageDown&&(x.scrollPage("down"),P.preventDefault()),re==xe.escape&&(x.verbose("Escape key pressed, closing dropdown"),x.hide())}else Mi&&P.preventDefault(),re==xe.downArrow&&!x.is.visible()&&(x.verbose("Down key pressed, showing dropdown"),x.show(),P.preventDefault())}else x.has.search()||x.set.selectedLetter(String.fromCharCode(re))}},trigger:{change:function(){var P=ye[0];if(P){var re=gt.createEvent("HTMLEvents");x.verbose("Triggering native change event"),re.initEvent("change",!0,!1),P.dispatchEvent(re)}}},determine:{selectAction:function(P,re){zt=!0,x.verbose("Determining action",A.action),S.isFunction(x.action[A.action])?(x.verbose("Triggering preset action",A.action,P,re),x.action[A.action].call(wt,P,re,this)):S.isFunction(A.action)?(x.verbose("Triggering user action",A.action,P,re),A.action.call(wt,P,re,this)):x.error(Fe.action,A.action),zt=!1},eventInModule:function(P,re){var Ie=S(P.target),Ve=Ie.closest(gt.documentElement).length>0,it=Ie.closest(ve).length>0;return re=S.isFunction(re)?re:function(){},Ve&&!it?(x.verbose("Triggering event",re),re(),!0):(x.verbose("Event occurred in dropdown, canceling callback"),!1)},eventOnElement:function(P,re){var Ie=S(P.target),Ve=Ie.closest(_.siblingLabel),it=gt.body.contains(P.target),nt=ve.find(Ve).length===0||!(x.is.multiple()&&A.useLabels),Qt=Ie.closest(X).length===0;return re=S.isFunction(re)?re:function(){},it&&nt&&Qt?(x.verbose("Triggering event",re),re(),!0):(x.verbose("Event occurred in dropdown menu, canceling callback"),!1)}},action:{nothing:function(){},activate:function(P,re,Ie){re=re!==R?re:P,x.can.activate(S(Ie))&&(x.set.selected(re,S(Ie)),x.is.multiple()||x.hideAndClear())},select:function(P,re,Ie){re=re!==R?re:P,x.can.activate(S(Ie))&&(x.set.value(re,P,S(Ie)),x.is.multiple()||x.hideAndClear())},combo:function(P,re,Ie){re=re!==R?re:P,x.set.selected(re,S(Ie)),x.hideAndClear()},hide:function(P,re,Ie){x.set.value(re,P,S(Ie)),x.hideAndClear()}},get:{id:function(){return Di},defaultText:function(){return ve.data(ce.defaultText)},defaultValue:function(){return ve.data(ce.defaultValue)},placeholderText:function(){return A.placeholder!="auto"&&typeof A.placeholder=="string"?A.placeholder:ve.data(ce.placeholderText)||""},text:function(){return A.preserveHTML?B.html():B.text()},query:function(){return String(F.val()).trim()},searchWidth:function(P){return P=P!==R?P:F.val(),oe.text(P),Math.ceil(oe.width()+1)},selectionCount:function(){var P=x.get.values(),re;return re=x.is.multiple()?Array.isArray(P)?P.length:0:x.get.value()!==""?1:0,re},transition:function(P){return A.transition=="auto"?x.is.upward(P)?"slide up":"slide down":A.transition},userValues:function(){var P=x.get.values();return P?(P=Array.isArray(P)?P:[P],S.grep(P,function(re){return x.get.item(re)===!1})):!1},uniqueArray:function(P){return S.grep(P,function(re,Ie){return S.inArray(re,P)===Ie})},caretPosition:function(P){var re=F.get(0),Ie,Ve;if(P&&"selectionEnd"in re)return re.selectionEnd;if(!P&&"selectionStart"in re)return re.selectionStart;if(gt.selection)return re.focus(),Ie=gt.selection.createRange(),Ve=Ie.text.length,P?Ve:(Ie.moveStart("character",-re.value.length),Ie.text.length-Ve)},value:function(){var P=ye.length>0?ye.val():ve.data(ce.value),re=Array.isArray(P)&&P.length===1&&P[0]==="";return P===R||re?"":P},values:function(){var P=x.get.value();return P===""?"":!x.has.selectInput()&&x.is.multiple()?typeof P=="string"?x.escape.htmlEntities(P).split(A.delimiter):"":P},remoteValues:function(){var P=x.get.values(),re=!1;return P&&(typeof P=="string"&&(P=[P]),S.each(P,function(Ie,Ve){var it=x.read.remoteData(Ve);x.verbose("Restoring value from session data",it,Ve),it&&(re||(re={}),re[Ve]=it)})),re},choiceText:function(P,re){if(re=re!==R?re:A.preserveHTML,P)return P.find(_.menu).length>0&&(x.verbose("Retrieving text of element with sub-menu"),P=P.clone(),P.find(_.menu).remove(),P.find(_.menuIcon).remove()),P.data(ce.text)!==R?P.data(ce.text):re?P.html().trim():P.text().trim()},choiceValue:function(P,re){return re=re||x.get.choiceText(P),P?P.data(ce.value)!==R?String(P.data(ce.value)):typeof re=="string"?String(A.ignoreSearchCase?re.toLowerCase():re).trim():String(re):!1},inputEvent:function(){var P=F[0];return P?P.oninput!==R?"input":P.onpropertychange!==R?"propertychange":"keyup":!1},selectValues:function(){var P={},re=[],Ie=[];return ve.find("option").each(function(){var Ve=S(this),it=Ve.html(),nt=Ve.attr("disabled"),Qt=Ve.attr("value")!==R?Ve.attr("value"):it,pi=Ve.data(ce.text)!==R?Ve.data(ce.text):it,Ci=Ve.parent("optgroup");A.placeholder==="auto"&&Qt===""?P.placeholder=it:((Ci.length!==re.length||Ci[0]!==re[0])&&(Ie.push({type:"header",divider:A.headerDivider,name:Ci.attr("label")||""}),re=Ci),Ie.push({name:it,value:Qt,text:pi,disabled:nt}))}),A.placeholder&&A.placeholder!=="auto"&&(x.debug("Setting placeholder value to",A.placeholder),P.placeholder=A.placeholder),A.sortSelect?(A.sortSelect===!0?Ie.sort(function(Ve,it){return Ve.name.localeCompare(it.name)}):A.sortSelect==="natural"?Ie.sort(function(Ve,it){return Ve.name.toLowerCase().localeCompare(it.name.toLowerCase())}):S.isFunction(A.sortSelect)&&Ie.sort(A.sortSelect),P[be.values]=Ie,x.debug("Retrieved and sorted values from select",P)):(P[be.values]=Ie,x.debug("Retrieved values from select",P)),P},activeItem:function(){return pe.filter("."+z.active)},selectedItem:function(){var P=pe.not(_.unselectable).filter("."+z.selected);return P.length>0?P:pe.eq(0)},itemWithAdditions:function(P){var re=x.get.item(P),Ie=x.create.userChoice(P),Ve=Ie&&Ie.length>0;return Ve&&(re=re.length>0?re.add(Ie):Ie),re},item:function(P,re){var Ie=!1,Ve,it;return P=P!==R?P:x.get.values()!==R?x.get.values():x.get.text(),it=x.is.multiple()&&Array.isArray(P),Ve=it?P.length>0:P!==R&&P!==null,re=P===""||P===!1||P===!0?!0:re||!1,Ve&&pe.each(function(){var nt=S(this),Qt=x.get.choiceText(nt),pi=x.get.choiceValue(nt,Qt);if(!(pi===null||pi===R)){if(it)S.inArray(x.escape.htmlEntities(String(pi)),P.map(function(Ci){return String(Ci)}))!==-1&&(Ie=Ie?Ie.add(nt):nt);else if(re){if(x.verbose("Ambiguous dropdown value using strict type check",nt,P),pi===P)return Ie=nt,!0}else if(A.ignoreCase&&(pi=pi.toLowerCase(),P=P.toLowerCase()),x.escape.htmlEntities(String(pi))===x.escape.htmlEntities(String(P)))return x.verbose("Found select item by value",pi,P),Ie=nt,!0}}),Ie}},check:{maxSelections:function(P){return A.maxSelections?(P=P!==R?P:x.get.selectionCount(),P>=A.maxSelections?(x.debug("Maximum selection count reached"),A.useLabels&&(pe.addClass(z.filtered),x.add.message(le.maxSelections)),!0):(x.verbose("No longer at maximum selection count"),x.remove.message(),x.remove.filteredItem(),x.is.searchSelection()&&x.filterItems(),!1)):!0},disabled:function(){F.attr("tabindex",x.is.disabled()?-1:0)}},restore:{defaults:function(P){x.clear(P),x.restore.defaultText(),x.restore.defaultValue()},defaultText:function(){var P=x.get.defaultText(),re=x.get.placeholderText;P===re?(x.debug("Restoring default placeholder text",P),x.set.placeholderText(P)):(x.debug("Restoring default text",P),x.set.text(P))},placeholderText:function(){x.set.placeholderText()},defaultValue:function(){var P=x.get.defaultValue();P!==R&&(x.debug("Restoring default value",P),P!==""?(x.set.value(P),x.set.selected()):(x.remove.activeItem(),x.remove.selectedItem()))},labels:function(){A.allowAdditions&&(A.useLabels||(x.error(Fe.labels),A.useLabels=!0),x.debug("Restoring selected values"),x.create.userLabels()),x.check.maxSelections()},selected:function(){x.restore.values(),x.is.multiple()?(x.debug("Restoring previously selected values and labels"),x.restore.labels()):x.debug("Restoring previously selected values")},values:function(){x.set.initialLoad(),A.apiSettings&&A.saveRemoteData&&x.get.remoteValues()?x.restore.remoteValues():x.set.selected();var P=x.get.value();P&&P!==""&&!(Array.isArray(P)&&P.length===0)?ye.removeClass(z.noselection):ye.addClass(z.noselection),x.remove.initialLoad()},remoteValues:function(){var P=x.get.remoteValues();x.debug("Recreating selected from session data",P),P&&(x.is.single()?S.each(P,function(re,Ie){x.set.text(Ie)}):S.each(P,function(re,Ie){x.add.label(re,Ie)}))}},read:{remoteData:function(P){var re;if(dt.Storage===R){x.error(Fe.noStorage);return}return re=sessionStorage.getItem(P),re!==R?re:!1}},save:{defaults:function(){x.save.defaultText(),x.save.placeholderText(),x.save.defaultValue()},defaultValue:function(){var P=x.get.value();x.verbose("Saving default value as",P),ve.data(ce.defaultValue,P)},defaultText:function(){var P=x.get.text();x.verbose("Saving default text as",P),ve.data(ce.defaultText,P)},placeholderText:function(){var P;A.placeholder!==!1&&B.hasClass(z.placeholder)&&(P=x.get.text(),x.verbose("Saving placeholder text as",P),ve.data(ce.placeholderText,P))},remoteData:function(P,re){if(dt.Storage===R){x.error(Fe.noStorage);return}x.verbose("Saving remote data to session storage",re,P),sessionStorage.setItem(re,P)}},clear:function(P){x.is.multiple()&&A.useLabels?x.remove.labels():(x.remove.activeItem(),x.remove.selectedItem(),x.remove.filteredItem()),x.set.placeholderText(),x.clearValue(P)},clearValue:function(P){x.set.value("",null,null,P)},scrollPage:function(P,re){var Ie=re||x.get.selectedItem(),Ve=Ie.closest(_.menu),it=Ve.outerHeight(),nt=Ve.scrollTop(),Qt=pe.eq(0).outerHeight(),pi=Math.floor(it/Qt),Ci=Ve.prop("scrollHeight"),pn=P=="up"?nt-Qt*pi:nt+Qt*pi,Zi=pe.not(_.unselectable),ji,Yi,Mi;Mi=P=="up"?Zi.index(Ie)-pi:Zi.index(Ie)+pi,ji=P=="up"?Mi>=0:Mi<Zi.length,Yi=ji?Zi.eq(Mi):P=="up"?Zi.first():Zi.last(),Yi.length>0&&(x.debug("Scrolling page",P,Yi),Ie.removeClass(z.selected),Yi.addClass(z.selected),A.selectOnKeydown&&x.is.single()&&x.set.selectedItem(Yi),Ve.scrollTop(pn))},set:{filtered:function(){var P=x.is.multiple(),re=x.is.searchSelection(),Ie=P&&re,Ve=re?x.get.query():"",it=typeof Ve=="string"&&Ve.length>0,nt=x.get.searchWidth(),Qt=Ve!=="";P&&it&&(x.verbose("Adjusting input width",nt,A.glyphWidth),F.css("width",nt)),it||Ie&&Qt?(x.verbose("Hiding placeholder text"),B.addClass(z.filtered)):(!P||Ie&&!Qt)&&(x.verbose("Showing placeholder text"),B.removeClass(z.filtered))},empty:function(){ve.addClass(z.empty)},loading:function(){ve.addClass(z.loading)},placeholderText:function(P){P=P||x.get.placeholderText(),x.debug("Setting placeholder text",P),x.set.text(P),B.addClass(z.placeholder)},tabbable:function(){x.is.searchSelection()?(x.debug("Added tabindex to searchable dropdown"),F.val(""),x.check.disabled(),X.attr("tabindex",-1)):(x.debug("Added tabindex to dropdown"),ve.attr("tabindex")===R&&(ve.attr("tabindex",0),X.attr("tabindex",-1)))},initialLoad:function(){x.verbose("Setting initial load"),ki=!0},activeItem:function(P){A.allowAdditions&&P.filter(_.addition).length>0?P.addClass(z.filtered):P.addClass(z.active)},partialSearch:function(P){var re=x.get.query().length;F.val(P.substr(0,re))},scrollPosition:function(P,re){var Ie=5,Ve,it,nt,Qt,pi,Ci,pn,Zi,ji,Yi;P=P||x.get.selectedItem(),Ve=P.closest(_.menu),it=P&&P.length>0,re=re!==R?re:!1,x.get.activeItem().length===0&&(re=!1),P&&Ve.length>0&&it&&(pi=P.position().top,Ve.addClass(z.loading),pn=Ve.scrollTop(),Ci=Ve.offset().top,pi=P.offset().top,nt=pn-Ci+pi,re||(Zi=Ve.height(),Yi=pn+Zi<nt+Ie,ji=nt-Ie<pn),x.debug("Scrolling to active item",nt),(re||ji||Yi)&&Ve.scrollTop(nt),Ve.removeClass(z.loading))},text:function(P){A.action==="combo"?(x.debug("Changing combo button text",P,de),A.preserveHTML?de.html(P):de.text(P)):A.action==="activate"&&(P!==x.get.placeholderText()&&B.removeClass(z.placeholder),x.debug("Changing text",P,B),B.removeClass(z.filtered),A.preserveHTML?B.html(P):B.text(P))},selectedItem:function(P){var re=x.get.choiceValue(P),Ie=x.get.choiceText(P,!1),Ve=x.get.choiceText(P,!0);x.debug("Setting user selection to item",P),x.remove.activeItem(),x.set.partialSearch(Ie),x.set.activeItem(P),x.set.selected(re,P),x.set.text(Ve)},selectedLetter:function(P){var re=pe.filter("."+z.selected),Ie=re.length>0&&x.has.firstLetter(re,P),Ve=!1,it;Ie&&(it=re.nextAll(pe).eq(0),x.has.firstLetter(it,P)&&(Ve=it)),Ve||pe.each(function(){if(x.has.firstLetter(S(this),P))return Ve=S(this),!1}),Ve&&(x.verbose("Scrolling to next value with letter",P),x.set.scrollPosition(Ve),re.removeClass(z.selected),Ve.addClass(z.selected),A.selectOnKeydown&&x.is.single()&&x.set.selectedItem(Ve))},direction:function(P){A.direction=="auto"?(P?x.is.upward(P)&&x.remove.upward(P):x.remove.upward(),x.can.openDownward(P)?x.remove.upward(P):x.set.upward(P),!x.is.leftward(P)&&!x.can.openRightward(P)&&x.set.leftward(P)):A.direction=="upward"&&x.set.upward(P)},upward:function(P){var re=P||ve;re.addClass(z.upward)},leftward:function(P){var re=P||X;re.addClass(z.leftward)},value:function(P,re,Ie,Ve){P!==R&&P!==""&&!(Array.isArray(P)&&P.length===0)?ye.removeClass(z.noselection):ye.addClass(z.noselection);var it=x.escape.value(P),nt=ye.length>0,Qt=x.get.values(),pi=P!==R?String(P):P,Ci;if(nt){if(!A.allowReselection&&pi==Qt&&(x.verbose("Skipping value update already same value",P,Qt),!x.is.initialLoad()))return;x.is.single()&&x.has.selectInput()&&x.can.extendSelect()&&(x.debug("Adding user option",P),x.add.optionValue(P)),x.debug("Updating input value",it,Qt),jt=!0,ye.val(it),A.fireOnInit===!1&&x.is.initialLoad()?x.debug("Input native change event ignored on initial load"):Ve!==!0&&x.trigger.change(),jt=!1}else x.verbose("Storing value in metadata",it,ye),it!==Qt&&ve.data(ce.value,pi);A.fireOnInit===!1&&x.is.initialLoad()?x.verbose("No callback on initial load",A.onChange):Ve!==!0&&A.onChange.call(wt,P,re,Ie)},active:function(){ve.addClass(z.active)},multiple:function(){ve.addClass(z.multiple)},visible:function(){ve.addClass(z.visible)},exactly:function(P,re){x.debug("Setting selected to exact values"),x.clear(),x.set.selected(P,re)},selected:function(P,re){var Ie=x.is.multiple();re=A.allowAdditions?re||x.get.itemWithAdditions(P):re||x.get.item(P),re&&(x.debug("Setting selected menu item to",re),x.is.multiple()&&x.remove.searchWidth(),x.is.single()?(x.remove.activeItem(),x.remove.selectedItem()):A.useLabels&&x.remove.selectedItem(),re.each(function(){var Ve=S(this),it=x.get.choiceText(Ve),nt=x.get.choiceValue(Ve,it),Qt=Ve.hasClass(z.filtered),pi=Ve.hasClass(z.active),Ci=Ve.hasClass(z.addition),pn=Ie&&re.length==1;Ie?!pi||Ci?(A.apiSettings&&A.saveRemoteData&&x.save.remoteData(it,nt),A.useLabels?(x.add.label(nt,it,pn),x.add.value(nt,it,Ve),x.set.activeItem(Ve),x.filterActive(),x.select.nextAvailable(re)):(x.add.value(nt,it,Ve),x.set.text(x.add.variables(le.count)),x.set.activeItem(Ve))):!Qt&&(A.useLabels||zt)&&(x.debug("Selected active value, removing label"),x.remove.selected(nt)):(A.apiSettings&&A.saveRemoteData&&x.save.remoteData(it,nt),x.set.text(it),x.set.value(nt,it,Ve),Ve.addClass(z.active).addClass(z.selected))}),x.remove.searchTerm())}},add:{label:function(P,re,Ie){var Ve=x.is.searchSelection()?F:B,it=x.escape.value(P),nt;if(A.ignoreCase&&(it=it.toLowerCase()),nt=S("<a />").addClass(z.label).attr("data-"+ce.value,it).html(Se.label(it,re,A.preserveHTML,A.className)),nt=A.onLabelCreate.call(nt,it,re),x.has.label(P)){x.debug("User selection already exists, skipping",it);return}A.label.variation&&nt.addClass(A.label.variation),Ie===!0?(x.debug("Animating in label",nt),nt.addClass(z.hidden).insertBefore(Ve).transition({animation:A.label.transition,debug:A.debug,verbose:A.verbose,duration:A.label.duration})):(x.debug("Adding selection label",nt),nt.insertBefore(Ve))},message:function(P){var re=X.children(_.message),Ie=A.templates.message(x.add.variables(P));re.length>0?re.html(Ie):re=S("<div/>").html(Ie).addClass(z.message).appendTo(X)},optionValue:function(P){var re=x.escape.value(P),Ie=ye.find('option[value="'+x.escape.string(re)+'"]'),Ve=Ie.length>0;Ve||(x.disconnect.selectObserver(),x.is.single()&&(x.verbose("Removing previous user addition"),ye.find("option."+z.addition).remove()),S("<option/>").prop("value",re).addClass(z.addition).html(P).appendTo(ye),x.verbose("Adding user addition as an <option>",P),x.observe.select())},userSuggestion:function(P){var re=X.children(_.addition),Ie=x.get.item(P),Ve=Ie&&Ie.not(_.addition).length,it=re.length>0,nt;if(!(A.useLabels&&x.has.maxSelections())){if(P===""||Ve){re.remove();return}it?(re.data(ce.value,P).data(ce.text,P).attr("data-"+ce.value,P).attr("data-"+ce.text,P).removeClass(z.filtered),A.hideAdditions||(nt=A.templates.addition(x.add.variables(le.addResult,P)),re.html(nt)),x.verbose("Replacing user suggestion with new value",re)):(re=x.create.userChoice(P),re.prependTo(X),x.verbose("Adding item choice to menu corresponding with user choice addition",re)),(!A.hideAdditions||x.is.allFiltered())&&re.addClass(z.selected).siblings().removeClass(z.selected),x.refreshItems()}},variables:function(P,re){var Ie=P.search("{count}")!==-1,Ve=P.search("{maxCount}")!==-1,it=P.search("{term}")!==-1,nt,Qt;return x.verbose("Adding templated variables to message",P),Ie&&(nt=x.get.selectionCount(),P=P.replace("{count}",nt)),Ve&&(nt=x.get.selectionCount(),P=P.replace("{maxCount}",A.maxSelections)),it&&(Qt=re||x.get.query(),P=P.replace("{term}",Qt)),P},value:function(P,re,Ie){var Ve=x.get.values(),it;if(x.has.value(P)){x.debug("Value already selected");return}if(P===""){x.debug("Cannot select blank values from multiselect");return}Array.isArray(Ve)?(it=Ve.concat([P]),it=x.get.uniqueArray(it)):it=[P],x.has.selectInput()?x.can.extendSelect()&&(x.debug("Adding value to select",P,it,ye),x.add.optionValue(P)):(it=it.join(A.delimiter),x.debug("Setting hidden input to delimited value",it,ye)),A.fireOnInit===!1&&x.is.initialLoad()?x.verbose("Skipping onadd callback on initial load",A.onAdd):A.onAdd.call(wt,P,re,Ie),x.set.value(it,re,Ie),x.check.maxSelections()}},remove:{active:function(){ve.removeClass(z.active)},activeLabel:function(){ve.find(_.label).removeClass(z.active)},empty:function(){ve.removeClass(z.empty)},loading:function(){ve.removeClass(z.loading)},initialLoad:function(){ki=!1},upward:function(P){var re=P||ve;re.removeClass(z.upward)},leftward:function(P){var re=P||X;re.removeClass(z.leftward)},visible:function(){ve.removeClass(z.visible)},activeItem:function(){pe.removeClass(z.active)},filteredItem:function(){A.useLabels&&x.has.maxSelections()||(A.useLabels&&x.is.multiple()?pe.not("."+z.active).removeClass(z.filtered):pe.removeClass(z.filtered),A.hideDividers&&N.removeClass(z.hidden),x.remove.empty())},optionValue:function(P){var re=x.escape.value(P),Ie=ye.find('option[value="'+x.escape.string(re)+'"]'),Ve=Ie.length>0;!Ve||!Ie.hasClass(z.addition)||(ci&&(ci.disconnect(),x.verbose("Temporarily disconnecting mutation observer")),Ie.remove(),x.verbose("Removing user addition as an <option>",re),ci&&ci.observe(ye[0],{childList:!0,subtree:!0}))},message:function(){X.children(_.message).remove()},searchWidth:function(){F.css("width","")},searchTerm:function(){x.verbose("Cleared search term"),F.val(""),x.set.filtered()},userAddition:function(){pe.filter(_.addition).remove()},selected:function(P,re){if(re=A.allowAdditions?re||x.get.itemWithAdditions(P):re||x.get.item(P),!re)return!1;re.each(function(){var Ie=S(this),Ve=x.get.choiceText(Ie),it=x.get.choiceValue(Ie,Ve);x.is.multiple()?A.useLabels?(x.remove.value(it,Ve,Ie),x.remove.label(it)):(x.remove.value(it,Ve,Ie),x.get.selectionCount()===0?x.set.placeholderText():x.set.text(x.add.variables(le.count))):x.remove.value(it,Ve,Ie),Ie.removeClass(z.filtered).removeClass(z.active),A.useLabels&&Ie.removeClass(z.selected)})},selectedItem:function(){pe.removeClass(z.selected)},value:function(P,re,Ie){var Ve=x.get.values(),it;P=x.escape.htmlEntities(P),x.has.selectInput()?(x.verbose("Input is <select> removing selected option",P),it=x.remove.arrayValue(P,Ve),x.remove.optionValue(P)):(x.verbose("Removing from delimited values",P),it=x.remove.arrayValue(P,Ve),it=it.join(A.delimiter)),A.fireOnInit===!1&&x.is.initialLoad()?x.verbose("No callback on initial load",A.onRemove):A.onRemove.call(wt,P,re,Ie),x.set.value(it,re,Ie),x.check.maxSelections()},arrayValue:function(P,re){return Array.isArray(re)||(re=[re]),re=S.grep(re,function(Ie){return P!=Ie}),x.verbose("Removed value from delimited string",P,re),re},label:function(P,re){var Ie=ve.find(_.label),Ve=Ie.filter("[data-"+ce.value+'="'+x.escape.string(A.ignoreCase?P.toLowerCase():P)+'"]');x.verbose("Removing label",Ve),Ve.remove()},activeLabels:function(P){P=P||ve.find(_.label).filter("."+z.active),x.verbose("Removing active label selections",P),x.remove.labels(P)},labels:function(P){P=P||ve.find(_.label),x.verbose("Removing labels",P),P.each(function(){var re=S(this),Ie=re.data(ce.value),Ve=Ie!==R?String(Ie):Ie,it=x.is.userValue(Ve);if(A.onLabelRemove.call(re,Ie)===!1){x.debug("Label remove callback cancelled removal");return}x.remove.message(),it?(x.remove.value(Ve),x.remove.label(Ve)):x.remove.selected(Ve)})},tabbable:function(){x.is.searchSelection()?(x.debug("Searchable dropdown initialized"),F.removeAttr("tabindex"),X.removeAttr("tabindex")):(x.debug("Simple selection dropdown initialized"),ve.removeAttr("tabindex"),X.removeAttr("tabindex"))},diacritics:function(P){return A.ignoreDiacritics?P.normalize("NFD").replace(/[\u0300-\u036f]/g,""):P}},has:{menuSearch:function(){return x.has.search()&&F.closest(X).length>0},clearItem:function(){return Xe.length>0},search:function(){return F.length>0},sizer:function(){return oe.length>0},selectInput:function(){return ye.is("select")},minCharacters:function(P){return A.minCharacters&&!_t?(P=String(P!==R?P:x.get.query()),P.length>=A.minCharacters):(_t=!1,!0)},firstLetter:function(P,re){var Ie,Ve;return!P||P.length===0||typeof re!="string"?!1:(Ie=x.get.choiceText(P,!1),re=re.toLowerCase(),Ve=String(Ie).charAt(0).toLowerCase(),re==Ve)},input:function(){return ye.length>0},items:function(){return pe.length>0},menu:function(){return X.length>0},message:function(){return X.children(_.message).length!==0},label:function(P){var re=x.escape.value(P),Ie=ve.find(_.label);return A.ignoreCase&&(re=re.toLowerCase()),Ie.filter("[data-"+ce.value+'="'+x.escape.string(re)+'"]').length>0},maxSelections:function(){return A.maxSelections&&x.get.selectionCount()>=A.maxSelections},allResultsFiltered:function(){var P=pe.not(_.addition);return P.filter(_.unselectable).length===P.length},userSuggestion:function(){return X.children(_.addition).length>0},query:function(){return x.get.query()!==""},value:function(P){return A.ignoreCase?x.has.valueIgnoringCase(P):x.has.valueMatchingCase(P)},valueMatchingCase:function(P){var re=x.get.values(),Ie=Array.isArray(re)?re&&S.inArray(P,re)!==-1:re==P;return!!Ie},valueIgnoringCase:function(P){var re=x.get.values(),Ie=!1;return Array.isArray(re)||(re=[re]),S.each(re,function(Ve,it){if(String(P).toLowerCase()==String(it).toLowerCase())return Ie=!0,!1}),Ie}},is:{active:function(){return ve.hasClass(z.active)},animatingInward:function(){return X.transition("is inward")},animatingOutward:function(){return X.transition("is outward")},bubbledLabelClick:function(P){return S(P.target).is("select, input")&&ve.closest("label").length>0},bubbledIconClick:function(P){return S(P.target).closest(Ue).length>0},alreadySetup:function(){return ve.is("select")&&ve.parent(_.dropdown).data(Be)!==R&&ve.prev().length===0},animating:function(P){return P?P.transition&&P.transition("is animating"):X.transition&&X.transition("is animating")},leftward:function(P){var re=P||X;return re.hasClass(z.leftward)},clearable:function(){return ve.hasClass(z.clearable)||A.clearable},disabled:function(){return ve.hasClass(z.disabled)},focused:function(){return gt.activeElement===ve[0]},focusedOnSearch:function(){return gt.activeElement===F[0]},allFiltered:function(){return(x.is.multiple()||x.has.search())&&!(A.hideAdditions==!1&&x.has.userSuggestion())&&!x.has.message()&&x.has.allResultsFiltered()},hidden:function(P){return!x.is.visible(P)},initialLoad:function(){return ki},inObject:function(P,re){var Ie=!1;return S.each(re,function(Ve,it){if(it==P)return Ie=!0,!0}),Ie},multiple:function(){return ve.hasClass(z.multiple)},remote:function(){return A.apiSettings&&x.can.useAPI()},single:function(){return!x.is.multiple()},selectMutation:function(P){var re=!1;return S.each(P,function(Ie,Ve){if(S(Ve.target).is("select")||S(Ve.addedNodes).is("select"))return re=!0,!1}),re},search:function(){return ve.hasClass(z.search)},searchSelection:function(){return x.has.search()&&F.parent(_.dropdown).length===1},selection:function(){return ve.hasClass(z.selection)},userValue:function(P){return S.inArray(P,x.get.userValues())!==-1},upward:function(P){var re=P||ve;return re.hasClass(z.upward)},visible:function(P){return P?P.hasClass(z.visible):X.hasClass(z.visible)},verticallyScrollableContext:function(){var P=L.get(0)!==dt?L.css("overflow-y"):!1;return P=="auto"||P=="scroll"},horizontallyScrollableContext:function(){var P=L.get(0)!==dt?L.css("overflow-X"):!1;return P=="auto"||P=="scroll"}},can:{activate:function(P){return!!(A.useLabels||!x.has.maxSelections()||x.has.maxSelections()&&P.hasClass(z.active))},openDownward:function(P){var re=P||X,Ie=!0,Ve={},it;return re.addClass(z.loading),it={context:{offset:L.get(0)===dt?{top:0,left:0}:L.offset(),scrollTop:L.scrollTop(),height:L.outerHeight()},menu:{offset:re.offset(),height:re.outerHeight()}},x.is.verticallyScrollableContext()&&(it.menu.offset.top+=it.context.scrollTop),Ve={above:it.context.scrollTop<=it.menu.offset.top-it.context.offset.top-it.menu.height,below:it.context.scrollTop+it.context.height>=it.menu.offset.top-it.context.offset.top+it.menu.height},Ve.below?(x.verbose("Dropdown can fit in context downward",Ve),Ie=!0):!Ve.below&&!Ve.above?(x.verbose("Dropdown cannot fit in either direction, favoring downward",Ve),Ie=!0):(x.verbose("Dropdown cannot fit below, opening upward",Ve),Ie=!1),re.removeClass(z.loading),Ie},openRightward:function(P){var re=P||X,Ie=!0,Ve=!1,it;return re.addClass(z.loading),it={context:{offset:L.get(0)===dt?{top:0,left:0}:L.offset(),scrollLeft:L.scrollLeft(),width:L.outerWidth()},menu:{offset:re.offset(),width:re.outerWidth()}},x.is.horizontallyScrollableContext()&&(it.menu.offset.left+=it.context.scrollLeft),Ve=it.menu.offset.left-it.context.offset.left+it.menu.width>=it.context.scrollLeft+it.context.width,Ve&&(x.verbose("Dropdown cannot fit in context rightward",Ve),Ie=!1),re.removeClass(z.loading),Ie},click:function(){return se||A.on=="click"},extendSelect:function(){return A.allowAdditions||A.apiSettings},show:function(){return!x.is.disabled()&&(x.has.items()||x.has.message())},useAPI:function(){return S.fn.api!==R}},animate:{show:function(P,re){var Ie=re||X,Ve=re?function(){}:function(){x.hideSubMenus(),x.hideOthers(),x.set.active()},it;if(P=S.isFunction(P)?P:function(){},x.verbose("Doing menu show animation",Ie),x.set.direction(re),it=x.get.transition(re),x.is.selection()&&x.set.scrollPosition(x.get.selectedItem(),!0),x.is.hidden(Ie)||x.is.animating(Ie)){var nt=ve.hasClass("column")?"flex":!1;it=="none"?(Ve(),Ie.transition({displayType:nt}).transition("show"),P.call(wt)):S.fn.transition!==R&&ve.transition("is supported")?Ie.transition({animation:it+" in",debug:A.debug,verbose:A.verbose,duration:A.duration,queue:!0,onStart:Ve,displayType:nt,onComplete:function(){P.call(wt)}}):x.error(Fe.noTransition,it)}},hide:function(P,re){var Ie=re||X,Ve=re?function(){}:function(){x.can.click()&&x.unbind.intent(),x.remove.active()},it=x.get.transition(re);P=S.isFunction(P)?P:function(){},(x.is.visible(Ie)||x.is.animating(Ie))&&(x.verbose("Doing menu hide animation",Ie),it=="none"?(Ve(),Ie.transition("hide"),P.call(wt)):S.fn.transition!==R&&ve.transition("is supported")?Ie.transition({animation:it+" out",duration:A.duration,debug:A.debug,verbose:A.verbose,queue:!1,onStart:Ve,onComplete:function(){P.call(wt)}}):x.error(Fe.transition))}},hideAndClear:function(){x.remove.searchTerm(),!x.has.maxSelections()&&(x.has.search()?x.hide(function(){x.remove.filteredItem()}):x.hide())},delay:{show:function(){x.verbose("Delaying show event to ensure user intent"),clearTimeout(x.timer),x.timer=setTimeout(x.show,A.delay.show)},hide:function(){x.verbose("Delaying hide event to ensure user intent"),clearTimeout(x.timer),x.timer=setTimeout(x.hide,A.delay.hide)}},escape:{value:function(P){var re=Array.isArray(P),Ie=typeof P=="string",Ve=!Ie&&!re,it=Ie&&P.search(Ae.quote)!==-1,nt=[];return Ve||!it?P:(x.debug("Encoding quote values for use in select",P),re?(S.each(P,function(Qt,pi){nt.push(pi.replace(Ae.quote,"&quot;"))}),nt):P.replace(Ae.quote,"&quot;"))},string:function(P){return P=String(P),P.replace(Ae.escape,"\\$&")},htmlEntities:function(P){var re=/[<>"'`]/g,Ie=/[&<>"'`]/,Ve={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},it=function(nt){return Ve[nt]};return Ie.test(P)?(P=P.replace(/&(?![a-z0-9#]{1,6};)/,"&amp;"),P.replace(re,it)):P}},setting:function(P,re){if(x.debug("Changing setting",P,re),S.isPlainObject(P))S.extend(!0,A,P);else if(re!==R)S.isPlainObject(A[P])?S.extend(!0,A[P],re):A[P]=re;else return A[P]},internal:function(P,re){if(S.isPlainObject(P))S.extend(!0,x,P);else if(re!==R)x[P]=re;else return x[P]},debug:function(){!A.silent&&A.debug&&(A.performance?x.performance.log(arguments):(x.debug=Function.prototype.bind.call(console.info,console,A.name+":"),x.debug.apply(console,arguments)))},verbose:function(){!A.silent&&A.verbose&&A.debug&&(A.performance?x.performance.log(arguments):(x.verbose=Function.prototype.bind.call(console.info,console,A.name+":"),x.verbose.apply(console,arguments)))},error:function(){A.silent||(x.error=Function.prototype.bind.call(console.error,console,A.name+":"),x.error.apply(console,arguments))},performance:{log:function(P){var re,Ie,Ve;A.performance&&(re=new Date().getTime(),Ve=U||re,Ie=re-Ve,U=re,H.push({Name:P[0],Arguments:[].slice.call(P,1)||"",Element:wt,"Execution Time":Ie})),clearTimeout(x.performance.timer),x.performance.timer=setTimeout(x.performance.display,500)},display:function(){var P=A.name+":",re=0;U=!1,clearTimeout(x.performance.timer),S.each(H,function(Ie,Ve){re+=Ve["Execution Time"]}),P+=" "+re+"ms",V&&(P+=" '"+V+"'"),(console.group!==R||console.table!==R)&&H.length>0&&(console.groupCollapsed(P),console.table?console.table(H):S.each(H,function(Ie,Ve){console.log(Ve.Name+": "+Ve["Execution Time"]+"ms")}),console.groupEnd()),H=[]}},invoke:function(P,re,Ie){var Ve=Zt,it,nt,Qt;return re=re||he,Ie=wt||Ie,typeof P=="string"&&Ve!==R&&(P=P.split(/[\. ]/),it=P.length-1,S.each(P,function(pi,Ci){var pn=pi!=it?Ci+P[pi+1].charAt(0).toUpperCase()+P[pi+1].slice(1):P;if(S.isPlainObject(Ve[pn])&&pi!=it)Ve=Ve[pn];else{if(Ve[pn]!==R)return nt=Ve[pn],!1;if(S.isPlainObject(Ve[Ci])&&pi!=it)Ve=Ve[Ci];else return Ve[Ci]!==R?(nt=Ve[Ci],!1):(x.error(Fe.method,P),!1)}})),S.isFunction(nt)?Qt=nt.apply(Ie,re):nt!==R&&(Qt=nt),Array.isArray(te)?te.push(Qt):te!==R?te=[te,Qt]:Qt!==R&&(te=Qt),nt}},Z?(Zt===R&&x.initialize(),x.invoke(O)):(Zt!==R&&Zt.invoke("destroy"),x.initialize())}),te!==R?te:f},S.fn.dropdown.settings={silent:!1,debug:!1,verbose:!1,performance:!0,on:"click",action:"activate",values:!1,clearable:!1,apiSettings:!1,selectOnKeydown:!0,minCharacters:0,filterRemoteData:!1,saveRemoteData:!0,throttle:200,context:dt,direction:"auto",keepOnScreen:!0,match:"both",fullTextSearch:!1,ignoreDiacritics:!1,hideDividers:!1,placeholder:"auto",preserveHTML:!0,sortSelect:!1,forceSelection:!0,allowAdditions:!1,ignoreCase:!1,ignoreSearchCase:!0,hideAdditions:!0,maxSelections:!1,useLabels:!0,delimiter:",",showOnFocus:!0,allowReselection:!1,allowTab:!0,allowCategorySelection:!1,fireOnInit:!1,transition:"auto",duration:200,glyphWidth:1.037,headerDivider:!0,label:{transition:"scale",duration:200,variation:!1},delay:{hide:300,show:200,search:20,touch:50},onChange:function(j,f,Q){},onAdd:function(j,f,Q){},onRemove:function(j,f,Q){},onLabelSelect:function(j){},onLabelCreate:function(j,f){return S(this)},onLabelRemove:function(j){return!0},onNoResults:function(j){return!0},onShow:function(){},onHide:function(){},name:"Dropdown",namespace:"dropdown",message:{addResult:"Add <b>{term}</b>",count:"{count} selected",maxSelections:"Max {maxCount} selections",noResults:"No results found.",serverError:"There was an error contacting the server"},error:{action:"You called a dropdown action that was not defined",alreadySetup:"Once a select has been initialized behaviors must be called on the created ui dropdown",labels:"Allowing user additions currently requires the use of labels.",missingMultiple:"<select> requires multiple property to be set to correctly preserve multiple values",method:"The method you called is not defined.",noAPI:"The API module is required to load resources remotely",noStorage:"Saving remote data requires session storage",noTransition:"This module requires ui transitions <https://github.com/Semantic-Org/UI-Transition>",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},regExp:{escape:/[-[\]{}()*+?.,\\^$|#\s:=@]/g,quote:/"/g},metadata:{defaultText:"defaultText",defaultValue:"defaultValue",placeholderText:"placeholder",text:"text",value:"value"},fields:{remoteValues:"results",values:"values",disabled:"disabled",name:"name",value:"value",text:"text",type:"type",image:"image",imageClass:"imageClass",icon:"icon",iconClass:"iconClass",class:"class",divider:"divider"},keys:{backspace:8,delimiter:188,deleteKey:46,enter:13,escape:27,pageUp:33,pageDown:34,leftArrow:37,upArrow:38,rightArrow:39,downArrow:40},selector:{addition:".addition",divider:".divider, .header",dropdown:".ui.dropdown",hidden:".hidden",icon:"> .dropdown.icon",input:'> input[type="hidden"], > select',item:".item",label:"> .label",remove:"> .label > .delete.icon",siblingLabel:".label",menu:".menu",message:".message",menuIcon:".dropdown.icon",search:"input.search, .menu > .search > input, .menu input.search",sizer:"> span.sizer",text:"> .text:not(.icon)",unselectable:".disabled, .filtered",clearIcon:"> .remove.icon"},className:{active:"active",addition:"addition",animating:"animating",disabled:"disabled",empty:"empty",dropdown:"ui dropdown",filtered:"filtered",hidden:"hidden transition",icon:"icon",image:"image",item:"item",label:"ui label",loading:"loading",menu:"menu",message:"message",multiple:"multiple",placeholder:"default",sizer:"sizer",search:"search",selected:"selected",selection:"selection",upward:"upward",leftward:"left",visible:"visible",clearable:"clearable",noselection:"noselection",delete:"delete",header:"header",divider:"divider",groupIcon:"",unfilterable:"unfilterable"}},S.fn.dropdown.settings.templates={deQuote:function(j){return String(j).replace(/"/g,"")},escape:function(j,f){if(f)return j;var Q=/[<>"'`]/g,V=/[&<>"'`]/,se={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},y=function($){return se[$]};return V.test(j)?(j=j.replace(/&(?![a-z0-9#]{1,6};)/,"&amp;"),j.replace(Q,y)):j},dropdown:function(j,f,Q,V){var se=j.placeholder||!1,y="",$=S.fn.dropdown.settings.templates.escape;return y+='<i class="dropdown icon"></i>',se?y+='<div class="default text">'+$(se,Q)+"</div>":y+='<div class="text"></div>',y+='<div class="'+V.menu+'">',y+=S.fn.dropdown.settings.templates.menu(j,f,Q,V),y+="</div>",y},menu:function(j,f,Q,V){var se=j[f.values]||[],y="",$=S.fn.dropdown.settings.templates.escape,U=S.fn.dropdown.settings.templates.deQuote;return S.each(se,function(H,O){var Z=O[f.type]?O[f.type]:"item";if(Z==="item"){var he=O[f.text]?' data-text="'+U(O[f.text])+'"':"",te=O[f.disabled]?V.disabled+" ":"";y+='<div class="'+te+(O[f.class]?U(O[f.class]):V.item)+'" data-value="'+U(O[f.value])+'"'+he+">",O[f.image]&&(y+='<img class="'+(O[f.imageClass]?U(O[f.imageClass]):V.image)+'" src="'+U(O[f.image])+'">'),O[f.icon]&&(y+='<i class="'+U(O[f.icon])+" "+(O[f.iconClass]?U(O[f.iconClass]):V.icon)+'"></i>'),y+=$(O[f.name]||"",Q),y+="</div>"}else if(Z==="header"){var J=$(O[f.name]||"",Q),A=O[f.icon]?U(O[f.icon]):V.groupIcon;(J!==""||A!=="")&&(y+='<div class="'+(O[f.class]?U(O[f.class]):V.header)+'">',A!==""&&(y+='<i class="'+A+" "+(O[f.iconClass]?U(O[f.iconClass]):V.icon)+'"></i>'),y+=J,y+="</div>"),O[f.divider]&&(y+='<div class="'+V.divider+'"></div>')}}),y},label:function(j,f,Q,V){var se=S.fn.dropdown.settings.templates.escape;return se(f,Q)+'<i class="'+V.delete+' icon"></i>'},message:function(j){return j},addition:function(j){return j}}})(jQuery,window,document);(function(S,dt,gt,R){"use strict";S.isFunction=S.isFunction||function(j){return typeof j=="function"&&typeof j.nodeType!="number"},dt=typeof dt!="undefined"&&dt.Math==Math?dt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),S.fn.form=function(j){var f=S(this),Q=f.selector||"",V=new Date().getTime(),se=[],y=arguments[0],$=arguments[1],U=typeof y=="string",H=[].slice.call(arguments,1),O;return f.each(function(){var Z=S(this),he=this,te=[],J=!1,A,z,le,be,xe,ce,ke,Ae,_,Fe,Se,ee,Be,ve,L,B,F,oe=!1,ye=!1,Ue=["clean","clean"],Xe,de;de={initialize:function(){de.get.settings(),U?(Xe===R&&de.instantiate(),de.invoke(y)):(Xe!==R&&Xe.invoke("destroy"),de.verbose("Initializing form validation",Z,Ae),de.bindEvents(),de.set.defaults(),Ae.autoCheckRequired&&de.set.autoCheck(),de.instantiate())},instantiate:function(){de.verbose("Storing instance of module",de),Xe=de,Z.data(B,de)},destroy:function(){de.verbose("Destroying previous module",Xe),de.removeEvents(),Z.removeData(B)},refresh:function(){de.verbose("Refreshing selector cache"),A=Z.find(Se.field),z=Z.find(Se.group),le=Z.find(Se.message),be=Z.find(Se.prompt),xe=Z.find(Se.submit),ce=Z.find(Se.clear),ke=Z.find(Se.reset)},submit:function(){de.verbose("Submitting form",Z),oe=!0,Z.submit()},attachEvents:function(X,pe){pe=pe||"submit",S(X).on("click"+F,function(N){de[pe](),N.preventDefault()})},bindEvents:function(){de.verbose("Attaching form events"),Z.on("submit"+F,de.validate.form).on("blur"+F,Se.field,de.event.field.blur).on("click"+F,Se.submit,de.submit).on("click"+F,Se.reset,de.reset).on("click"+F,Se.clear,de.clear),Ae.keyboardShortcuts&&Z.on("keydown"+F,Se.field,de.event.field.keydown),A.each(function(X,pe){var N=S(pe),_e=N.prop("type"),qe=de.get.changeEvent(_e,N);N.on(qe+F,de.event.field.change)}),Ae.preventLeaving&&S(dt).on("beforeunload"+F,de.event.beforeUnload),A.on("change click keyup keydown blur",function(X){S(this).triggerHandler(X.type+".dirty")}),A.on("change.dirty click.dirty keyup.dirty keydown.dirty blur.dirty",de.determine.isDirty),Z.on("dirty"+F,function(X){Ae.onDirty.call()}),Z.on("clean"+F,function(X){Ae.onClean.call()})},clear:function(){A.each(function(X,pe){var N=S(pe),_e=N.parent(),qe=N.closest(z),jt=qe.find(Se.prompt),_t=N.closest(Se.uiCalendar),wt=N.data(Fe.defaultValue)||"",Zt=_e.is(Se.uiCheckbox),zt=_e.is(Se.uiDropdown)&&de.can.useElement("dropdown"),ki=_t.length>0&&de.can.useElement("calendar"),hi=qe.hasClass(ee.error);hi&&(de.verbose("Resetting error on field",qe),qe.removeClass(ee.error),jt.remove()),zt?(de.verbose("Resetting dropdown value",_e,wt),_e.dropdown("clear",!0)):Zt?N.prop("checked",!1):ki?_t.calendar("clear"):(de.verbose("Resetting field value",N,wt),N.val(""))}),de.remove.states()},reset:function(){A.each(function(X,pe){var N=S(pe),_e=N.parent(),qe=N.closest(z),jt=N.closest(Se.uiCalendar),_t=qe.find(Se.prompt),wt=N.data(Fe.defaultValue),Zt=_e.is(Se.uiCheckbox),zt=_e.is(Se.uiDropdown)&&de.can.useElement("dropdown"),ki=jt.length>0&&de.can.useElement("calendar"),hi=qe.hasClass(ee.error);wt!==R&&(hi&&(de.verbose("Resetting error on field",qe),qe.removeClass(ee.error),_t.remove()),zt?(de.verbose("Resetting dropdown value",_e,wt),_e.dropdown("restore defaults",!0)):Zt?(de.verbose("Resetting checkbox value",_e,wt),N.prop("checked",wt)):ki?jt.calendar("set date",wt):(de.verbose("Resetting field value",N,wt),N.val(wt)))}),de.remove.states()},determine:{isValid:function(){var X=!0;return S.each(_,function(pe,N){de.validate.field(N,pe,!0)||(X=!1)}),X},isDirty:function(X){var pe=!1;A.each(function(N,_e){var qe=S(_e),jt=qe.filter(Se.checkbox).length>0,_t;jt?_t=de.is.checkboxDirty(qe):_t=de.is.fieldDirty(qe),qe.data(Ae.metadata.isDirty,_t),pe|=_t}),pe?de.set.dirty():de.set.clean(),X&&X.namespace==="dirty"&&(X.stopImmediatePropagation(),X.preventDefault())}},is:{bracketedRule:function(X){return X.type&&X.type.match(Ae.regExp.bracket)},shorthandFields:function(X){var pe=Object.keys(X),N=X[pe[0]];return de.is.shorthandRules(N)},shorthandRules:function(X){return typeof X=="string"||Array.isArray(X)},empty:function(X){return!X||X.length===0?!0:X.is(Se.checkbox)?!X.is(":checked"):de.is.blank(X)},blank:function(X){return String(X.val()).trim()===""},valid:function(X,pe){var N=!0;return X?(de.verbose("Checking if field is valid",X),de.validate.field(_[X],X,!!pe)):(de.verbose("Checking if form is valid"),S.each(_,function(_e,qe){de.is.valid(_e,pe)||(N=!1)}),N)},dirty:function(){return ye},clean:function(){return!ye},fieldDirty:function(X){var pe=X.data(Fe.defaultValue);pe==null?pe="":Array.isArray(pe)&&(pe=pe.toString());var N=X.val();N==null?N="":Array.isArray(N)&&(N=N.toString());var _e=/^(true|false)$/i,qe=_e.test(pe)&&_e.test(N);if(qe){var jt=new RegExp("^"+pe+"$","i");return!jt.test(N)}return N!==pe},checkboxDirty:function(X){var pe=X.data(Fe.defaultValue),N=X.is(":checked");return pe!==N},justDirty:function(){return Ue[0]==="dirty"},justClean:function(){return Ue[0]==="clean"}},removeEvents:function(){Z.off(F),A.off(F),xe.off(F),A.off(F)},event:{field:{keydown:function(X){var pe=S(this),N=X.which,_e=pe.is(Se.input),qe=pe.is(Se.checkbox),jt=pe.closest(Se.uiDropdown).length>0,_t={enter:13,escape:27};N==_t.escape&&(de.verbose("Escape key pressed blurring field"),pe.blur()),!X.ctrlKey&&N==_t.enter&&_e&&!jt&&!qe&&(J||(pe.one("keyup"+F,de.event.field.keyup),de.submit(),de.debug("Enter pressed on input submitting form")),J=!0)},keyup:function(){J=!1},blur:function(X){var pe=S(this),N=pe.closest(z),_e=de.get.validation(pe);N.hasClass(ee.error)?(de.debug("Revalidating field",pe,_e),_e&&de.validate.field(_e)):Ae.on=="blur"&&_e&&de.validate.field(_e)},change:function(X){var pe=S(this),N=pe.closest(z),_e=de.get.validation(pe);_e&&(Ae.on=="change"||N.hasClass(ee.error)&&Ae.revalidate)&&(clearTimeout(de.timer),de.timer=setTimeout(function(){de.debug("Revalidating field",pe,de.get.validation(pe)),de.validate.field(_e),Ae.inline||de.validate.form(!1,!0)},Ae.delay))}},beforeUnload:function(X){if(de.is.dirty()&&!oe){var X=X||dt.event;return X&&(X.returnValue=Ae.text.leavingMessage),Ae.text.leavingMessage}}},get:{ancillaryValue:function(X){return!X.type||!X.value&&!de.is.bracketedRule(X)?!1:X.value!==R?X.value:X.type.match(Ae.regExp.bracket)[1]+""},ruleName:function(X){return de.is.bracketedRule(X)?X.type.replace(X.type.match(Ae.regExp.bracket)[0],""):X.type},changeEvent:function(X,pe){return X=="checkbox"||X=="radio"||X=="hidden"||pe.is("select")?"change":de.get.inputEvent()},inputEvent:function(){return gt.createElement("input").oninput!==R?"input":gt.createElement("input").onpropertychange!==R?"propertychange":"keyup"},fieldsFromShorthand:function(X){var pe={};return S.each(X,function(N,_e){typeof _e=="string"&&(_e=[_e]),pe[N]={rules:[]},S.each(_e,function(qe,jt){pe[N].rules.push({type:jt})})}),pe},prompt:function(X,pe){var N=de.get.ruleName(X),_e=de.get.ancillaryValue(X),qe=de.get.field(pe.identifier),jt=qe.val(),_t=S.isFunction(X.prompt)?X.prompt(jt):X.prompt||Ae.prompt[N]||Ae.text.unspecifiedRule,wt=_t.search("{value}")!==-1,Zt=_t.search("{name}")!==-1,zt,ki;return wt&&(_t=_t.replace(/\{value\}/g,qe.val())),Zt&&(zt=qe.closest(Se.group).find("label").eq(0),ki=zt.length==1?zt.text():qe.prop("placeholder")||Ae.text.unspecifiedField,_t=_t.replace(/\{name\}/g,ki)),_t=_t.replace(/\{identifier\}/g,pe.identifier),_t=_t.replace(/\{ruleValue\}/g,_e),X.prompt||de.verbose("Using default validation prompt for type",_t,N),_t},settings:function(){if(S.isPlainObject(j)){var X=Object.keys(j),pe=X.length>0?j[X[0]].identifier!==R&&j[X[0]].rules!==R:!1;pe?(Ae=S.extend(!0,{},S.fn.form.settings,$),_=S.extend({},S.fn.form.settings.defaults,j),de.error(Ae.error.oldSyntax,he),de.verbose("Extending settings from legacy parameters",_,Ae)):(j.fields&&de.is.shorthandFields(j.fields)&&(j.fields=de.get.fieldsFromShorthand(j.fields)),Ae=S.extend(!0,{},S.fn.form.settings,j),_=S.extend({},S.fn.form.settings.defaults,Ae.fields),de.verbose("Extending settings",_,Ae))}else Ae=S.fn.form.settings,_=S.fn.form.settings.defaults,de.verbose("Using default form validation",_,Ae);L=Ae.namespace,Fe=Ae.metadata,Se=Ae.selector,ee=Ae.className,Be=Ae.regExp,ve=Ae.error,B="module-"+L,F="."+L,Xe=Z.data(B),de.refresh()},field:function(X){de.verbose("Finding field with identifier",X),X=de.escape.string(X);var pe;return(pe=A.filter("#"+X)).length>0||(pe=A.filter('[name="'+X+'"]')).length>0||(pe=A.filter('[name="'+X+'[]"]')).length>0||(pe=A.filter("[data-"+Fe.validate+'="'+X+'"]')).length>0?pe:S("<input/>")},fields:function(X){var pe=S();return S.each(X,function(N,_e){pe=pe.add(de.get.field(_e))}),pe},validation:function(X){var pe,N;return _?(S.each(_,function(_e,qe){N=qe.identifier||_e,S.each(de.get.field(N),function(jt,_t){if(_t==X[0])return qe.identifier=N,pe=qe,!1})}),pe||!1):!1},value:function(X){var pe=[],N;return pe.push(X),N=de.get.values.call(he,pe),N[X]},values:function(X){var pe=Array.isArray(X)?de.get.fields(X):A,N={};return pe.each(function(_e,qe){var jt=S(qe),_t=jt.closest(Se.uiCalendar),wt=jt.prop("name"),Zt=jt.val(),zt=jt.is(Se.checkbox),ki=jt.is(Se.radio),hi=wt.indexOf("[]")!==-1,Ji=_t.length>0&&de.can.useElement("calendar"),Si=zt?jt.is(":checked"):!1;if(wt)if(hi)wt=wt.replace("[]",""),N[wt]||(N[wt]=[]),zt?Si?N[wt].push(Zt||!0):N[wt].push(!1):N[wt].push(Zt);else if(ki)(N[wt]===R||N[wt]===!1)&&(N[wt]=Si?Zt||!0:!1);else if(zt)Si?N[wt]=Zt||!0:N[wt]=!1;else if(Ji){var Di=_t.calendar("get date");if(Di!==null){if(Ae.dateHandling=="date")N[wt]=Di;else if(Ae.dateHandling=="input")N[wt]=_t.calendar("get input date");else if(Ae.dateHandling=="formatter"){var ci=_t.calendar("setting","type");switch(ci){case"date":N[wt]=Ae.formatter.date(Di);break;case"datetime":N[wt]=Ae.formatter.datetime(Di);break;case"time":N[wt]=Ae.formatter.time(Di);break;case"month":N[wt]=Ae.formatter.month(Di);break;case"year":N[wt]=Ae.formatter.year(Di);break;default:de.debug("Wrong calendar mode",_t,ci),N[wt]=""}}}else N[wt]=""}else N[wt]=Zt}),N},dirtyFields:function(){return A.filter(function(X,pe){return S(pe).data(Fe.isDirty)})}},has:{field:function(X){return de.verbose("Checking for existence of a field with identifier",X),X=de.escape.string(X),typeof X!="string"&&de.error(ve.identifier,X),A.filter("#"+X).length>0||A.filter('[name="'+X+'"]').length>0?!0:A.filter("[data-"+Fe.validate+'="'+X+'"]').length>0}},can:{useElement:function(X){return S.fn[X]!==R?!0:(de.error(ve.noElement.replace("{element}",X)),!1)}},escape:{string:function(X){return X=String(X),X.replace(Be.escape,"\\$&")}},add:{rule:function(X,pe){de.add.field(X,pe)},field:function(X,pe){(_[X]===R||_[X].rules===R)&&(_[X]={rules:[]});var N={rules:[]};de.is.shorthandRules(pe)?(pe=Array.isArray(pe)?pe:[pe],S.each(pe,function(_e,qe){N.rules.push({type:qe})})):N.rules=pe.rules,S.each(N.rules,function(_e,qe){S.grep(_[X].rules,function(jt){return jt.type==qe.type}).length==0&&_[X].rules.push(qe)}),de.debug("Adding rules",N.rules,_)},fields:function(X){var pe;X&&de.is.shorthandFields(X)?pe=de.get.fieldsFromShorthand(X):pe=X,_=S.extend({},_,pe)},prompt:function(X,pe,N){var _e=de.get.field(X),qe=_e.closest(z),jt=qe.children(Se.prompt),_t=jt.length!==0;pe=typeof pe=="string"?[pe]:pe,de.verbose("Adding field error state",X),N||qe.addClass(ee.error),Ae.inline&&(_t||(jt=Ae.templates.prompt(pe,ee.label),jt.appendTo(qe)),jt.html(pe[0]),_t?de.verbose("Inline errors are disabled, no inline error added",X):Ae.transition&&de.can.useElement("transition")&&Z.transition("is supported")?(de.verbose("Displaying error with css transition",Ae.transition),jt.transition(Ae.transition+" in",Ae.duration)):(de.verbose("Displaying error with fallback javascript animation"),jt.fadeIn(Ae.duration)))},errors:function(X){de.debug("Adding form error messages",X),de.set.error(),le.html(Ae.templates.error(X))}},remove:{errors:function(){de.debug("Removing form error messages"),le.empty()},states:function(){Z.removeClass(ee.error).removeClass(ee.success),Ae.inline||de.remove.errors(),de.determine.isDirty()},rule:function(X,pe){var N=Array.isArray(pe)?pe:[pe];if(!(_[X]===R||!Array.isArray(_[X].rules))){if(pe===R){de.debug("Removed all rules"),_[X].rules=[];return}S.each(_[X].rules,function(_e,qe){qe&&N.indexOf(qe.type)!==-1&&(de.debug("Removed rule",qe.type),_[X].rules.splice(_e,1))})}},field:function(X){var pe=Array.isArray(X)?X:[X];S.each(pe,function(N,_e){de.remove.rule(_e)})},rules:function(X,pe){Array.isArray(X)?S.each(X,function(N,_e){de.remove.rule(_e,pe)}):de.remove.rule(X,pe)},fields:function(X){de.remove.field(X)},prompt:function(X){var pe=de.get.field(X),N=pe.closest(z),_e=N.children(Se.prompt);N.removeClass(ee.error),Ae.inline&&_e.is(":visible")&&(de.verbose("Removing prompt for field",X),Ae.transition&&de.can.useElement("transition")&&Z.transition("is supported")?_e.transition(Ae.transition+" out",Ae.duration,function(){_e.remove()}):_e.fadeOut(Ae.duration,function(){_e.remove()}))}},set:{success:function(){Z.removeClass(ee.error).addClass(ee.success)},defaults:function(){A.each(function(X,pe){var N=S(pe),_e=N.parent(),qe=N.filter(Se.checkbox).length>0,jt=_e.is(Se.uiDropdown)&&de.can.useElement("dropdown"),_t=N.closest(Se.uiCalendar),wt=_t.length>0&&de.can.useElement("calendar"),Zt=qe?N.is(":checked"):N.val();jt?_e.dropdown("save defaults"):wt&&_t.calendar("refresh"),N.data(Fe.defaultValue,Zt),N.data(Fe.isDirty,!1)})},error:function(){Z.removeClass(ee.success).addClass(ee.error)},value:function(X,pe){var N={};return N[X]=pe,de.set.values.call(he,N)},values:function(X){S.isEmptyObject(X)||S.each(X,function(pe,N){var _e=de.get.field(pe),qe=_e.parent(),jt=_e.closest(Se.uiCalendar),_t=Array.isArray(N),wt=qe.is(Se.uiCheckbox)&&de.can.useElement("checkbox"),Zt=qe.is(Se.uiDropdown)&&de.can.useElement("dropdown"),zt=_e.is(Se.radio)&&wt,ki=jt.length>0&&de.can.useElement("calendar"),hi=_e.length>0,Ji;hi&&(_t&&wt?(de.verbose("Selecting multiple",N,_e),qe.checkbox("uncheck"),S.each(N,function(Si,Di){Ji=_e.filter('[value="'+Di+'"]'),qe=Ji.parent(),Ji.length>0&&qe.checkbox("check")})):zt?(de.verbose("Selecting radio value",N,_e),_e.filter('[value="'+N+'"]').parent(Se.uiCheckbox).checkbox("check")):wt?(de.verbose("Setting checkbox value",N,qe),N===!0||N===1?qe.checkbox("check"):qe.checkbox("uncheck")):Zt?(de.verbose("Setting dropdown value",N,qe),qe.dropdown("set selected",N)):ki?jt.calendar("set date",N):(de.verbose("Setting field value",N,_e),_e.val(N)))})},dirty:function(){de.verbose("Setting state dirty"),ye=!0,Ue[0]=Ue[1],Ue[1]="dirty",de.is.justClean()&&Z.trigger("dirty")},clean:function(){de.verbose("Setting state clean"),ye=!1,Ue[0]=Ue[1],Ue[1]="clean",de.is.justDirty()&&Z.trigger("clean")},asClean:function(){de.set.defaults(),de.set.clean()},asDirty:function(){de.set.defaults(),de.set.dirty()},autoCheck:function(){de.debug("Enabling auto check on required fields"),A.each(function(X,pe){var N=S(pe),_e=S(pe).closest(z),qe=N.filter(Se.checkbox).length>0,jt=N.prop("required")||_e.hasClass(ee.required)||_e.parent().hasClass(ee.required),_t=N.is(":disabled")||_e.hasClass(ee.disabled)||_e.parent().hasClass(ee.disabled),wt=de.get.validation(N),Zt=wt?S.grep(wt.rules,function(ki){return ki.type=="empty"})!==0:!1,zt=wt.identifier||N.attr("id")||N.attr("name")||N.data(Fe.validate);jt&&!_t&&!Zt&&zt!==R&&(qe?(de.verbose("Adding 'checked' rule on field",zt),de.add.rule(zt,"checked")):(de.verbose("Adding 'empty' rule on field",zt),de.add.rule(zt,"empty")))})}},validate:{form:function(X,pe){var N=de.get.values();if(J)return!1;if(te=[],de.determine.isValid()){if(de.debug("Form has no validation errors, submitting"),de.set.success(),Ae.inline||de.remove.errors(),pe!==!0)return Ae.onSuccess.call(he,X,N)}else if(de.debug("Form has errors"),oe=!1,de.set.error(),Ae.inline||de.add.errors(te),X&&Z.data("moduleApi")!==R&&X.stopImmediatePropagation(),pe!==!0)return Ae.onFailure.call(he,te,N)},field:function(X,pe,N){N=N!==R?N:!0,typeof X=="string"&&(de.verbose("Validating field",X),pe=X,X=_[X]);var _e=X.identifier||pe,qe=de.get.field(_e),jt=X.depends?de.get.field(X.depends):!1,_t=!0,wt=[];X.identifier||(de.debug("Using field name as identifier",_e),X.identifier=_e);var Zt=!qe.filter(":not(:disabled)").length;if(Zt?de.debug("Field is disabled. Skipping",_e):X.optional&&de.is.blank(qe)?de.debug("Field is optional and blank. Skipping",_e):X.depends&&de.is.empty(jt)?de.debug("Field depends on another value that is not present or empty. Skipping",jt):X.rules!==R&&(N&&qe.closest(z).removeClass(ee.error),S.each(X.rules,function(zt,ki){if(de.has.field(_e)){var hi=de.validate.rule(X,ki,!0)||[];hi.length>0&&(de.debug("Field is invalid",_e,ki.type),wt.push(de.get.prompt(ki,X)),_t=!1,N&&S(hi).closest(z).addClass(ee.error))}})),_t)N&&(de.remove.prompt(_e,wt),Ae.onValid.call(qe));else return N&&(te=te.concat(wt),de.add.prompt(_e,wt,!0),Ae.onInvalid.call(qe,wt)),!1;return!0},rule:function(X,pe,N){var _e=de.get.field(X.identifier),qe=de.get.ancillaryValue(pe),jt=de.get.ruleName(pe),_t=Ae.rules[jt],wt=[],Zt=_e.is(Se.checkbox),zt=function(ki){var hi=Zt?S(ki).filter(":checked").val():S(ki).val();return hi=hi===R||hi===""||hi===null?"":Ae.shouldTrim?(hi+"").trim():hi+"",_t.call(ki,hi,qe,Z)};if(!S.isFunction(_t)){de.error(ve.noRule,jt);return}return Zt?zt(_e)||(wt=_e):S.each(_e,function(ki,hi){zt(hi)||wt.push(hi)}),N?wt:!(wt.length>0)}},setting:function(X,pe){if(S.isPlainObject(X))S.extend(!0,Ae,X);else if(pe!==R)Ae[X]=pe;else return Ae[X]},internal:function(X,pe){if(S.isPlainObject(X))S.extend(!0,de,X);else if(pe!==R)de[X]=pe;else return de[X]},debug:function(){!Ae.silent&&Ae.debug&&(Ae.performance?de.performance.log(arguments):(de.debug=Function.prototype.bind.call(console.info,console,Ae.name+":"),de.debug.apply(console,arguments)))},verbose:function(){!Ae.silent&&Ae.verbose&&Ae.debug&&(Ae.performance?de.performance.log(arguments):(de.verbose=Function.prototype.bind.call(console.info,console,Ae.name+":"),de.verbose.apply(console,arguments)))},error:function(){Ae.silent||(de.error=Function.prototype.bind.call(console.error,console,Ae.name+":"),de.error.apply(console,arguments))},performance:{log:function(X){var pe,N,_e;Ae.performance&&(pe=new Date().getTime(),_e=V||pe,N=pe-_e,V=pe,se.push({Name:X[0],Arguments:[].slice.call(X,1)||"",Element:he,"Execution Time":N})),clearTimeout(de.performance.timer),de.performance.timer=setTimeout(de.performance.display,500)},display:function(){var X=Ae.name+":",pe=0;V=!1,clearTimeout(de.performance.timer),S.each(se,function(N,_e){pe+=_e["Execution Time"]}),X+=" "+pe+"ms",Q&&(X+=" '"+Q+"'"),f.length>1&&(X+=" ("+f.length+")"),(console.group!==R||console.table!==R)&&se.length>0&&(console.groupCollapsed(X),console.table?console.table(se):S.each(se,function(N,_e){console.log(_e.Name+": "+_e["Execution Time"]+"ms")}),console.groupEnd()),se=[]}},invoke:function(X,pe,N){var _e=Xe,qe,jt,_t;return pe=pe||H,N=he||N,typeof X=="string"&&_e!==R&&(X=X.split(/[\. ]/),qe=X.length-1,S.each(X,function(wt,Zt){var zt=wt!=qe?Zt+X[wt+1].charAt(0).toUpperCase()+X[wt+1].slice(1):X;if(S.isPlainObject(_e[zt])&&wt!=qe)_e=_e[zt];else{if(_e[zt]!==R)return jt=_e[zt],!1;if(S.isPlainObject(_e[Zt])&&wt!=qe)_e=_e[Zt];else return _e[Zt]!==R&&(jt=_e[Zt]),!1}})),S.isFunction(jt)?_t=jt.apply(N,pe):jt!==R&&(_t=jt),Array.isArray(O)?O.push(_t):O!==R?O=[O,_t]:_t!==R&&(O=_t),jt}},de.initialize()}),O!==R?O:this},S.fn.form.settings={name:"Form",namespace:"form",debug:!1,verbose:!1,performance:!0,fields:!1,keyboardShortcuts:!0,on:"submit",inline:!1,delay:200,revalidate:!0,shouldTrim:!0,transition:"scale",duration:200,autoCheckRequired:!1,preventLeaving:!1,dateHandling:"date",onValid:function(){},onInvalid:function(){},onSuccess:function(){return!0},onFailure:function(){return!1},onDirty:function(){},onClean:function(){},metadata:{defaultValue:"default",validate:"validate",isDirty:"isDirty"},regExp:{htmlID:/^[a-zA-Z][\w:.-]*$/g,bracket:/\[(.*)\]/i,decimal:/^\d+\.?\d*$/,email:/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|:,=@]/g,flags:/^\/(.*)\/(.*)?/,integer:/^\-?\d+$/,number:/^\-?\d*(\.\d+)?$/,url:/(https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/i},text:{unspecifiedRule:"Please enter a valid value",unspecifiedField:"This field",leavingMessage:"There are unsaved changes on this page which will be discarded if you continue."},prompt:{empty:"{name} must have a value",checked:"{name} must be checked",email:"{name} must be a valid e-mail",url:"{name} must be a valid url",regExp:"{name} is not formatted correctly",integer:"{name} must be an integer",decimal:"{name} must be a decimal number",number:"{name} must be set to a number",is:'{name} must be "{ruleValue}"',isExactly:'{name} must be exactly "{ruleValue}"',not:'{name} cannot be set to "{ruleValue}"',notExactly:'{name} cannot be set to exactly "{ruleValue}"',contain:'{name} must contain "{ruleValue}"',containExactly:'{name} must contain exactly "{ruleValue}"',doesntContain:'{name} cannot contain "{ruleValue}"',doesntContainExactly:'{name} cannot contain exactly "{ruleValue}"',minLength:"{name} must be at least {ruleValue} characters",length:"{name} must be at least {ruleValue} characters",exactLength:"{name} must be exactly {ruleValue} characters",maxLength:"{name} cannot be longer than {ruleValue} characters",match:"{name} must match {ruleValue} field",different:"{name} must have a different value than {ruleValue} field",creditCard:"{name} must be a valid credit card number",minCount:"{name} must have at least {ruleValue} choices",exactCount:"{name} must have exactly {ruleValue} choices",maxCount:"{name} must have {ruleValue} or less choices"},selector:{checkbox:'input[type="checkbox"], input[type="radio"]',clear:".clear",field:"input:not(.search), textarea, select",group:".field",input:"input",message:".error.message",prompt:".prompt.label",radio:'input[type="radio"]',reset:'.reset:not([type="reset"])',submit:'.submit:not([type="submit"])',uiCheckbox:".ui.checkbox",uiDropdown:".ui.dropdown",uiCalendar:".ui.calendar"},className:{error:"error",label:"ui basic red pointing prompt label",pressed:"down",success:"success",required:"required",disabled:"disabled"},error:{identifier:"You must specify a string identifier for each field",method:"The method you called is not defined.",noRule:"There is no rule matching the one you specified",oldSyntax:"Starting in 2.0 forms now only take a single settings object. Validation settings converted to new syntax automatically.",noElement:"This module requires ui {element}"},templates:{error:function(j){var f='<ul class="list">';return S.each(j,function(Q,V){f+="<li>"+V+"</li>"}),f+="</ul>",S(f)},prompt:function(j,f){return S("<div/>").addClass(f).html(j[0])}},formatter:{date:function(j){return Intl.DateTimeFormat("en-GB").format(j)},datetime:function(j){return Intl.DateTimeFormat("en-GB",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(j)},time:function(j){return Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(j)},month:function(j){return Intl.DateTimeFormat("en-GB",{month:"2-digit",year:"numeric"}).format(j)},year:function(j){return Intl.DateTimeFormat("en-GB",{year:"numeric"}).format(j)}},rules:{empty:function(j){return!(j===R||j===""||Array.isArray(j)&&j.length===0)},checked:function(){return S(this).filter(":checked").length>0},email:function(j){return S.fn.form.settings.regExp.email.test(j)},url:function(j){return S.fn.form.settings.regExp.url.test(j)},regExp:function(j,f){if(f instanceof RegExp)return j.match(f);var Q=f.match(S.fn.form.settings.regExp.flags),V;return Q&&(f=Q.length>=2?Q[1]:f,V=Q.length>=3?Q[2]:""),j.match(new RegExp(f,V))},integer:function(j,f){var Q=S.fn.form.settings.regExp.integer,V,se,y;return!f||["",".."].indexOf(f)!==-1||(f.indexOf("..")==-1?Q.test(f)&&(V=se=f-0):(y=f.split("..",2),Q.test(y[0])&&(V=y[0]-0),Q.test(y[1])&&(se=y[1]-0))),Q.test(j)&&(V===R||j>=V)&&(se===R||j<=se)},decimal:function(j){return S.fn.form.settings.regExp.decimal.test(j)},number:function(j){return S.fn.form.settings.regExp.number.test(j)},is:function(j,f){return f=typeof f=="string"?f.toLowerCase():f,j=typeof j=="string"?j.toLowerCase():j,j==f},isExactly:function(j,f){return j==f},not:function(j,f){return j=typeof j=="string"?j.toLowerCase():j,f=typeof f=="string"?f.toLowerCase():f,j!=f},notExactly:function(j,f){return j!=f},contains:function(j,f){return f=f.replace(S.fn.form.settings.regExp.escape,"\\$&"),j.search(new RegExp(f,"i"))!==-1},containsExactly:function(j,f){return f=f.replace(S.fn.form.settings.regExp.escape,"\\$&"),j.search(new RegExp(f))!==-1},doesntContain:function(j,f){return f=f.replace(S.fn.form.settings.regExp.escape,"\\$&"),j.search(new RegExp(f,"i"))===-1},doesntContainExactly:function(j,f){return f=f.replace(S.fn.form.settings.regExp.escape,"\\$&"),j.search(new RegExp(f))===-1},minLength:function(j,f){return j!==R?j.length>=f:!1},length:function(j,f){return j!==R?j.length>=f:!1},exactLength:function(j,f){return j!==R?j.length==f:!1},maxLength:function(j,f){return j!==R?j.length<=f:!1},match:function(j,f,Q){var V,se;return(se=Q.find('[data-validate="'+f+'"]')).length>0||(se=Q.find("#"+f)).length>0||(se=Q.find('[name="'+f+'"]')).length>0?V=se.val():(se=Q.find('[name="'+f+'[]"]')).length>0&&(V=se),V!==R?j.toString()==V.toString():!1},different:function(j,f,Q){var V,se;return(se=Q.find('[data-validate="'+f+'"]')).length>0||(se=Q.find("#"+f)).length>0||(se=Q.find('[name="'+f+'"]')).length>0?V=se.val():(se=Q.find('[name="'+f+'[]"]')).length>0&&(V=se),V!==R?j.toString()!==V.toString():!1},creditCard:function(j,f){var Q={visa:{pattern:/^4/,length:[16]},amex:{pattern:/^3[47]/,length:[15]},mastercard:{pattern:/^5[1-5]/,length:[16]},discover:{pattern:/^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)/,length:[16]},unionPay:{pattern:/^(62|88)/,length:[16,17,18,19]},jcb:{pattern:/^35(2[89]|[3-8][0-9])/,length:[16]},maestro:{pattern:/^(5018|5020|5038|6304|6759|676[1-3])/,length:[12,13,14,15,16,17,18,19]},dinersClub:{pattern:/^(30[0-5]|^36)/,length:[14]},laser:{pattern:/^(6304|670[69]|6771)/,length:[16,17,18,19]},visaElectron:{pattern:/^(4026|417500|4508|4844|491(3|7))/,length:[16]}},V={},se=!1,y=typeof f=="string"?f.split(","):!1,$,U;if(!(typeof j!="string"||j.length===0)){if(j=j.replace(/[\-]/g,""),y&&(S.each(y,function(te,J){U=Q[J],U&&(V={length:S.inArray(j.length,U.length)!==-1,pattern:j.search(U.pattern)!==-1},V.length&&V.pattern&&(se=!0))}),!se))return!1;if($={number:S.inArray(j.length,Q.unionPay.length)!==-1,pattern:j.search(Q.unionPay.pattern)!==-1},$.number&&$.pattern)return!0;for(var H=j.length,O=0,Z=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],he=0;H--;)he+=Z[O][parseInt(j.charAt(H),10)],O^=1;return he%10===0&&he>0}},minCount:function(j,f){return f==0?!0:f==1?j!=="":j.split(",").length>=f},exactCount:function(j,f){return f==0?j==="":f==1?j!==""&&j.search(",")===-1:j.split(",").length==f},maxCount:function(j,f){return f==0?!1:f==1?j.search(",")===-1:j.split(",").length<=f}}}})(jQuery,window,document);(function(S,dt,gt,R){"use strict";S.isFunction=S.isFunction||function(j){return typeof j=="function"&&typeof j.nodeType!="number"},dt=typeof dt!="undefined"&&dt.Math==Math?dt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),S.fn.modal=function(j){var f=S(this),Q=S(dt),V=S(gt),se=S("body"),y=f.selector||"",$=new Date().getTime(),U=[],H=arguments[0],O=typeof H=="string",Z=[].slice.call(arguments,1),he=dt.requestAnimationFrame||dt.mozRequestAnimationFrame||dt.webkitRequestAnimationFrame||dt.msRequestAnimationFrame||function(J){setTimeout(J,0)},te;return f.each(function(){var J=S.isPlainObject(j)?S.extend(!0,{},S.fn.modal.settings,j):S.extend({},S.fn.modal.settings),A=J.selector,z=J.className,le=J.namespace,be=J.error,xe="."+le,ce="module-"+le,ke=S(this),Ae=S(J.context),_=ke.find(A.close),Fe,Se,ee,Be,ve,L=this,B=ke.data(ce),F=!1,oe,ye,Ue="",Xe="",de,X,pe,N;N={initialize:function(){N.cache={},N.verbose("Initializing dimmer",Ae),N.create.id(),N.create.dimmer(),J.allowMultiple&&N.create.innerDimmer(),J.centered||ke.addClass("top aligned"),N.refreshModals(),N.bind.events(),J.observeChanges&&N.observeChanges(),N.instantiate()},instantiate:function(){N.verbose("Storing instance of modal"),B=N,ke.data(ce,B)},create:{dimmer:function(){var _e={debug:J.debug,dimmerName:"modals"},qe=S.extend(!0,_e,J.dimmerSettings);if(S.fn.dimmer===R){N.error(be.dimmer);return}N.debug("Creating dimmer"),Be=Ae.dimmer(qe),J.detachable?(N.verbose("Modal is detachable, moving content into dimmer"),Be.dimmer("add content",ke)):N.set.undetached(),ve=Be.dimmer("get dimmer")},id:function(){X=(Math.random().toString(16)+"000000000").substr(2,8),de="."+X,N.verbose("Creating unique id for element",X)},innerDimmer:function(){ke.find(A.dimmer).length==0&&ke.prepend('<div class="ui inverted dimmer"></div>')}},destroy:function(){pe&&pe.disconnect(),N.verbose("Destroying previous modal"),ke.removeData(ce).off(xe),Q.off(de),ve.off(de),_.off(xe),Ae.dimmer("destroy")},observeChanges:function(){"MutationObserver"in dt&&(pe=new MutationObserver(function(_e){N.debug("DOM tree modified, refreshing"),N.refresh()}),pe.observe(L,{childList:!0,subtree:!0}),N.debug("Setting up mutation observer",pe))},refresh:function(){N.remove.scrolling(),N.cacheSizes(),N.can.useFlex()||N.set.modalOffset(),N.set.screenHeight(),N.set.type()},refreshModals:function(){Se=ke.siblings(A.modal),Fe=Se.add(ke)},attachEvents:function(_e,qe){var jt=S(_e);qe=S.isFunction(N[qe])?N[qe]:N.toggle,jt.length>0?(N.debug("Attaching modal events to element",_e,qe),jt.off(xe).on("click"+xe,qe)):N.error(be.notFound,_e)},bind:{events:function(){N.verbose("Attaching events"),ke.on("click"+xe,A.close,N.event.close).on("click"+xe,A.approve,N.event.approve).on("click"+xe,A.deny,N.event.deny),Q.on("resize"+de,N.event.resize)},scrollLock:function(){Be.get(0).addEventListener("touchmove",N.event.preventScroll,{passive:!1})}},unbind:{scrollLock:function(){Be.get(0).removeEventListener("touchmove",N.event.preventScroll,{passive:!1})}},get:{id:function(){return(Math.random().toString(16)+"000000000").substr(2,8)}},event:{approve:function(){if(F||J.onApprove.call(L,S(this))===!1){N.verbose("Approve callback returned false cancelling hide");return}F=!0,N.hide(function(){F=!1})},preventScroll:function(_e){_e.target.className.indexOf("dimmer")!==-1&&_e.preventDefault()},deny:function(){if(F||J.onDeny.call(L,S(this))===!1){N.verbose("Deny callback returned false cancelling hide");return}F=!0,N.hide(function(){F=!1})},close:function(){N.hide()},mousedown:function(_e){var qe=S(_e.target),jt=N.is.rtl();oe=qe.closest(A.modal).length>0,oe&&N.verbose("Mouse down event registered inside the modal"),ye=N.is.scrolling()&&(!jt&&S(dt).outerWidth()-J.scrollbarWidth<=_e.clientX||jt&&J.scrollbarWidth>=_e.clientX),ye&&N.verbose("Mouse down event registered inside the scrollbar")},mouseup:function(_e){if(!J.closable){N.verbose("Dimmer clicked but closable setting is disabled");return}if(oe){N.debug("Dimmer clicked but mouse down was initially registered inside the modal");return}if(ye){N.debug("Dimmer clicked but mouse down was initially registered inside the scrollbar");return}var qe=S(_e.target),jt=qe.closest(A.modal).length>0,_t=S.contains(gt.documentElement,_e.target);if(!jt&&_t&&N.is.active()&&ke.hasClass(z.front)){if(N.debug("Dimmer clicked, hiding all modals"),J.allowMultiple){if(!N.hideAll())return}else if(!N.hide())return;N.remove.clickaway()}},debounce:function(_e,qe){clearTimeout(N.timer),N.timer=setTimeout(_e,qe)},keyboard:function(_e){var qe=_e.which,jt=27;qe==jt&&(J.closable?(N.debug("Escape key pressed hiding modal"),ke.hasClass(z.front)&&N.hide()):N.debug("Escape key pressed, but closable is set to false"),_e.preventDefault())},resize:function(){Be.dimmer("is active")&&(N.is.animating()||N.is.active())&&he(N.refresh)}},toggle:function(){N.is.active()||N.is.animating()?N.hide():N.show()},show:function(_e){_e=S.isFunction(_e)?_e:function(){},N.refreshModals(),N.set.dimmerSettings(),N.set.dimmerStyles(),N.showModal(_e)},hide:function(_e){return _e=S.isFunction(_e)?_e:function(){},N.refreshModals(),N.hideModal(_e)},showModal:function(_e){_e=S.isFunction(_e)?_e:function(){},N.is.animating()||!N.is.active()?(N.showDimmer(),N.cacheSizes(),N.set.bodyMargin(),N.can.useFlex()?N.remove.legacy():(N.set.legacy(),N.set.modalOffset(),N.debug("Using non-flex legacy modal positioning.")),N.set.screenHeight(),N.set.type(),N.set.clickaway(),!J.allowMultiple&&N.others.active()?N.hideOthers(N.showModal):(F=!1,J.allowMultiple&&(N.others.active()&&Se.filter("."+z.active).find(A.dimmer).addClass("active"),J.detachable&&ke.detach().appendTo(ve)),J.onShow.call(L),J.transition&&S.fn.transition!==R&&ke.transition("is supported")?(N.debug("Showing modal with css animations"),ke.transition({debug:J.debug,animation:J.transition+" in",queue:J.queue,duration:J.duration,useFailSafe:!0,onComplete:function(){J.onVisible.apply(L),J.keyboardShortcuts&&N.add.keyboardShortcuts(),N.save.focus(),N.set.active(),J.autofocus&&N.set.autofocus(),_e()}})):N.error(be.noTransition))):N.debug("Modal is already visible")},hideModal:function(_e,qe,jt){var _t=Se.filter("."+z.active).last();if(_e=S.isFunction(_e)?_e:function(){},N.debug("Hiding modal"),J.onHide.call(L,S(this))===!1)return N.verbose("Hide callback returned false cancelling hide"),F=!1,!1;(N.is.animating()||N.is.active())&&(J.transition&&S.fn.transition!==R&&ke.transition("is supported")?(N.remove.active(),ke.transition({debug:J.debug,animation:J.transition+" out",queue:J.queue,duration:J.duration,useFailSafe:!0,onStart:function(){!N.others.active()&&!N.others.animating()&&!qe&&N.hideDimmer(),J.keyboardShortcuts&&!N.others.active()&&N.remove.keyboardShortcuts()},onComplete:function(){N.unbind.scrollLock(),J.allowMultiple&&(_t.addClass(z.front),ke.removeClass(z.front),jt?Fe.find(A.dimmer).removeClass("active"):_t.find(A.dimmer).removeClass("active")),J.onHidden.call(L),N.remove.dimmerStyles(),N.restore.focus(),_e()}})):N.error(be.noTransition))},showDimmer:function(){Be.dimmer("is animating")||!Be.dimmer("is active")?(N.save.bodyMargin(),N.debug("Showing dimmer"),Be.dimmer("show")):N.debug("Dimmer already visible")},hideDimmer:function(){if(Be.dimmer("is animating")||Be.dimmer("is active"))N.unbind.scrollLock(),Be.dimmer("hide",function(){N.restore.bodyMargin(),N.remove.clickaway(),N.remove.screenHeight()});else{N.debug("Dimmer is not visible cannot hide");return}},hideAll:function(_e){var qe=Fe.filter("."+z.active+", ."+z.animating);if(_e=S.isFunction(_e)?_e:function(){},qe.length>0){N.debug("Hiding all visible modals");var jt=!0;return S(qe.get().reverse()).each(function(_t,wt){jt&&(jt=S(wt).modal("hide modal",_e,!1,!0))}),jt&&N.hideDimmer(),jt}},hideOthers:function(_e){var qe=Se.filter("."+z.active+", ."+z.animating);_e=S.isFunction(_e)?_e:function(){},qe.length>0&&(N.debug("Hiding other modals",Se),qe.modal("hide modal",_e,!0))},others:{active:function(){return Se.filter("."+z.active).length>0},animating:function(){return Se.filter("."+z.animating).length>0}},add:{keyboardShortcuts:function(){N.verbose("Adding keyboard shortcuts"),V.on("keyup"+xe,N.event.keyboard)}},save:{focus:function(){var _e=S(gt.activeElement),qe=_e.closest(ke).length>0;qe||(ee=S(gt.activeElement).blur())},bodyMargin:function(){Ue=se.css("margin-"+(N.can.leftBodyScrollbar()?"left":"right"));var _e=parseInt(Ue.replace(/[^\d.]/g,"")),qe=dt.innerWidth-gt.documentElement.clientWidth;Xe=_e+qe}},restore:{focus:function(){ee&&ee.length>0&&J.restoreFocus&&ee.focus()},bodyMargin:function(){var _e=N.can.leftBodyScrollbar()?"left":"right";se.css("margin-"+_e,Ue),se.find(A.bodyFixed.replace("right",_e)).css("padding-"+_e,Ue)}},remove:{active:function(){ke.removeClass(z.active)},legacy:function(){ke.removeClass(z.legacy)},clickaway:function(){J.detachable||ke.off("mousedown"+de),ve.off("mousedown"+de),ve.off("mouseup"+de)},dimmerStyles:function(){ve.removeClass(z.inverted),Be.removeClass(z.blurring)},bodyStyle:function(){se.attr("style")===""&&(N.verbose("Removing style attribute"),se.removeAttr("style"))},screenHeight:function(){N.debug("Removing page height"),se.css("height","")},keyboardShortcuts:function(){N.verbose("Removing keyboard shortcuts"),V.off("keyup"+xe)},scrolling:function(){Be.removeClass(z.scrolling),ke.removeClass(z.scrolling)}},cacheSizes:function(){ke.addClass(z.loading);var _e=ke.prop("scrollHeight"),qe=ke.outerWidth(),jt=ke.outerHeight();(N.cache.pageHeight===R||jt!==0)&&(S.extend(N.cache,{pageHeight:S(gt).outerHeight(),width:qe,height:jt+J.offset,scrollHeight:_e+J.offset,contextHeight:J.context=="body"?S(dt).height():Be.height()}),N.cache.topOffset=-(N.cache.height/2)),ke.removeClass(z.loading),N.debug("Caching modal and container sizes",N.cache)},can:{leftBodyScrollbar:function(){return N.cache.leftBodyScrollbar===R&&(N.cache.leftBodyScrollbar=N.is.rtl()&&(N.is.iframe&&!N.is.firefox()||N.is.safari()||N.is.edge()||N.is.ie())),N.cache.leftBodyScrollbar},useFlex:function(){return J.useFlex==="auto"?J.detachable&&!N.is.ie():(J.useFlex&&N.is.ie()?N.debug("useFlex true is not supported in IE"):J.useFlex&&!J.detachable&&N.debug("useFlex true in combination with detachable false is not supported"),J.useFlex)},fit:function(){var _e=N.cache.contextHeight,qe=N.cache.contextHeight/2,jt=N.cache.topOffset,_t=N.cache.scrollHeight,wt=N.cache.height,Zt=J.padding,zt=qe+jt;return _t>wt?zt+_t+Zt<_e:wt+Zt*2<_e}},is:{active:function(){return ke.hasClass(z.active)},ie:function(){if(N.cache.isIE===R){var _e=!dt.ActiveXObject&&"ActiveXObject"in dt,qe="ActiveXObject"in dt;N.cache.isIE=_e||qe}return N.cache.isIE},animating:function(){return ke.transition("is supported")?ke.transition("is animating"):ke.is(":visible")},scrolling:function(){return Be.hasClass(z.scrolling)},modernBrowser:function(){return!(dt.ActiveXObject||"ActiveXObject"in dt)},rtl:function(){return N.cache.isRTL===R&&(N.cache.isRTL=se.attr("dir")==="rtl"||se.css("direction")==="rtl"),N.cache.isRTL},safari:function(){return N.cache.isSafari===R&&(N.cache.isSafari=/constructor/i.test(dt.HTMLElement)||!!dt.ApplePaySession),N.cache.isSafari},edge:function(){return N.cache.isEdge===R&&(N.cache.isEdge=!!dt.setImmediate&&!N.is.ie()),N.cache.isEdge},firefox:function(){return N.cache.isFirefox===R&&(N.cache.isFirefox=!!dt.InstallTrigger),N.cache.isFirefox},iframe:function(){return self!==top}},set:{autofocus:function(){var _e=ke.find("[tabindex], :input").filter(":visible").filter(function(){return S(this).closest(".disabled").length===0}),qe=_e.filter("[autofocus]"),jt=qe.length>0?qe.first():_e.first();jt.length>0&&jt.focus()},bodyMargin:function(){var _e=N.can.leftBodyScrollbar()?"left":"right";(J.detachable||N.can.fit())&&se.css("margin-"+_e,Xe+"px"),se.find(A.bodyFixed.replace("right",_e)).css("padding-"+_e,Xe+"px")},clickaway:function(){J.detachable||ke.on("mousedown"+de,N.event.mousedown),ve.on("mousedown"+de,N.event.mousedown),ve.on("mouseup"+de,N.event.mouseup)},dimmerSettings:function(){if(S.fn.dimmer===R){N.error(be.dimmer);return}var _e={debug:J.debug,dimmerName:"modals",closable:"auto",useFlex:N.can.useFlex(),duration:{show:J.duration,hide:J.duration}},qe=S.extend(!0,_e,J.dimmerSettings);J.inverted&&(qe.variation=qe.variation!==R?qe.variation+" inverted":"inverted"),Ae.dimmer("setting",qe)},dimmerStyles:function(){J.inverted?ve.addClass(z.inverted):ve.removeClass(z.inverted),J.blurring?Be.addClass(z.blurring):Be.removeClass(z.blurring)},modalOffset:function(){if(J.detachable)ke.css({marginTop:!ke.hasClass("aligned")&&N.can.fit()?-(N.cache.height/2):J.padding/2,marginLeft:-(N.cache.width/2)});else{var _e=N.can.fit();ke.css({top:!ke.hasClass("aligned")&&_e?S(gt).scrollTop()+(N.cache.contextHeight-N.cache.height)/2:!_e||ke.hasClass("top")?S(gt).scrollTop()+J.padding:S(gt).scrollTop()+(N.cache.contextHeight-N.cache.height-J.padding),marginLeft:-(N.cache.width/2)})}N.verbose("Setting modal offset for legacy mode")},screenHeight:function(){N.can.fit()?se.css("height",""):ke.hasClass("bottom")||(N.debug("Modal is taller than page content, resizing page height"),se.css("height",N.cache.height+J.padding*2))},active:function(){ke.addClass(z.active+" "+z.front),Se.filter("."+z.active).removeClass(z.front)},scrolling:function(){Be.addClass(z.scrolling),ke.addClass(z.scrolling),N.unbind.scrollLock()},legacy:function(){ke.addClass(z.legacy)},type:function(){N.can.fit()?(N.verbose("Modal fits on screen"),!N.others.active()&&!N.others.animating()&&(N.remove.scrolling(),N.bind.scrollLock())):ke.hasClass("bottom")?N.verbose("Bottom aligned modal not fitting on screen is unsupported for scrolling"):(N.verbose("Modal cannot fit on screen setting to scrolling"),N.set.scrolling())},undetached:function(){Be.addClass(z.undetached)}},setting:function(_e,qe){if(N.debug("Changing setting",_e,qe),S.isPlainObject(_e))S.extend(!0,J,_e);else if(qe!==R)S.isPlainObject(J[_e])?S.extend(!0,J[_e],qe):J[_e]=qe;else return J[_e]},internal:function(_e,qe){if(S.isPlainObject(_e))S.extend(!0,N,_e);else if(qe!==R)N[_e]=qe;else return N[_e]},debug:function(){!J.silent&&J.debug&&(J.performance?N.performance.log(arguments):(N.debug=Function.prototype.bind.call(console.info,console,J.name+":"),N.debug.apply(console,arguments)))},verbose:function(){!J.silent&&J.verbose&&J.debug&&(J.performance?N.performance.log(arguments):(N.verbose=Function.prototype.bind.call(console.info,console,J.name+":"),N.verbose.apply(console,arguments)))},error:function(){J.silent||(N.error=Function.prototype.bind.call(console.error,console,J.name+":"),N.error.apply(console,arguments))},performance:{log:function(_e){var qe,jt,_t;J.performance&&(qe=new Date().getTime(),_t=$||qe,jt=qe-_t,$=qe,U.push({Name:_e[0],Arguments:[].slice.call(_e,1)||"",Element:L,"Execution Time":jt})),clearTimeout(N.performance.timer),N.performance.timer=setTimeout(N.performance.display,500)},display:function(){var _e=J.name+":",qe=0;$=!1,clearTimeout(N.performance.timer),S.each(U,function(jt,_t){qe+=_t["Execution Time"]}),_e+=" "+qe+"ms",y&&(_e+=" '"+y+"'"),(console.group!==R||console.table!==R)&&U.length>0&&(console.groupCollapsed(_e),console.table?console.table(U):S.each(U,function(jt,_t){console.log(_t.Name+": "+_t["Execution Time"]+"ms")}),console.groupEnd()),U=[]}},invoke:function(_e,qe,jt){var _t=B,wt,Zt,zt;return qe=qe||Z,jt=L||jt,typeof _e=="string"&&_t!==R&&(_e=_e.split(/[\. ]/),wt=_e.length-1,S.each(_e,function(ki,hi){var Ji=ki!=wt?hi+_e[ki+1].charAt(0).toUpperCase()+_e[ki+1].slice(1):_e;if(S.isPlainObject(_t[Ji])&&ki!=wt)_t=_t[Ji];else{if(_t[Ji]!==R)return Zt=_t[Ji],!1;if(S.isPlainObject(_t[hi])&&ki!=wt)_t=_t[hi];else return _t[hi]!==R&&(Zt=_t[hi]),!1}})),S.isFunction(Zt)?zt=Zt.apply(jt,qe):Zt!==R&&(zt=Zt),Array.isArray(te)?te.push(zt):te!==R?te=[te,zt]:zt!==R&&(te=zt),Zt}},O?(B===R&&N.initialize(),N.invoke(H)):(B!==R&&B.invoke("destroy"),N.initialize())}),te!==R?te:this},S.fn.modal.settings={name:"Modal",namespace:"modal",useFlex:"auto",offset:0,silent:!1,debug:!1,verbose:!1,performance:!0,observeChanges:!1,allowMultiple:!1,detachable:!0,closable:!0,autofocus:!0,restoreFocus:!0,inverted:!1,blurring:!1,centered:!0,dimmerSettings:{closable:!1,useCSS:!0},keyboardShortcuts:!0,context:"body",queue:!1,duration:500,transition:"scale",padding:50,scrollbarWidth:10,onShow:function(){},onVisible:function(){},onHide:function(){return!0},onHidden:function(){},onApprove:function(){return!0},onDeny:function(){return!0},selector:{close:"> .close",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel",modal:".ui.modal",dimmer:"> .ui.dimmer",bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar"},error:{dimmer:"UI Dimmer, a required component is not included in this page",method:"The method you called is not defined.",notFound:"The element you specified could not be found"},className:{active:"active",animating:"animating",blurring:"blurring",inverted:"inverted",legacy:"legacy",loading:"loading",scrolling:"scrolling",undetached:"undetached",front:"front"}}})(jQuery,window,document);(function(S,dt,gt,R){"use strict";S.isFunction=S.isFunction||function(j){return typeof j=="function"&&typeof j.nodeType!="number"},dt=typeof dt!="undefined"&&dt.Math==Math?dt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),S.fn.search=function(j){var f=S(this),Q=f.selector||"",V=new Date().getTime(),se=[],y=arguments[0],$=typeof y=="string",U=[].slice.call(arguments,1),H;return S(this).each(function(){var O=S.isPlainObject(j)?S.extend(!0,{},S.fn.search.settings,j):S.extend({},S.fn.search.settings),Z=O.className,he=O.metadata,te=O.regExp,J=O.fields,A=O.selector,z=O.error,le=O.namespace,be="."+le,xe=le+"-module",ce=S(this),ke=ce.find(A.prompt),Ae=ce.find(A.searchButton),_=ce.find(A.results),Fe=ce.find(A.result),Se=ce.find(A.category),ee=this,Be=ce.data(xe),ve=!1,L=!1,B;B={initialize:function(){B.verbose("Initializing module"),B.get.settings(),B.determine.searchFields(),B.bind.events(),B.set.type(),B.create.results(),B.instantiate()},instantiate:function(){B.verbose("Storing instance of module",B),Be=B,ce.data(xe,B)},destroy:function(){B.verbose("Destroying instance"),ce.off(be).removeData(xe)},refresh:function(){B.debug("Refreshing selector cache"),ke=ce.find(A.prompt),Ae=ce.find(A.searchButton),Se=ce.find(A.category),_=ce.find(A.results),Fe=ce.find(A.result)},refreshResults:function(){_=ce.find(A.results),Fe=ce.find(A.result)},bind:{events:function(){B.verbose("Binding events to search"),O.automatic&&(ce.on(B.get.inputEvent()+be,A.prompt,B.event.input),ke.attr("autocomplete","off")),ce.on("focus"+be,A.prompt,B.event.focus).on("blur"+be,A.prompt,B.event.blur).on("keydown"+be,A.prompt,B.handleKeyboard).on("click"+be,A.searchButton,B.query).on("mousedown"+be,A.results,B.event.result.mousedown).on("mouseup"+be,A.results,B.event.result.mouseup).on("click"+be,A.result,B.event.result.click)}},determine:{searchFields:function(){j&&j.searchFields!==R&&(O.searchFields=j.searchFields)}},event:{input:function(){O.searchDelay?(clearTimeout(B.timer),B.timer=setTimeout(function(){B.is.focused()&&B.query()},O.searchDelay)):B.query()},focus:function(){B.set.focus(),O.searchOnFocus&&B.has.minimumCharacters()&&B.query(function(){B.can.show()&&B.showResults()})},blur:function(F){var oe=gt.activeElement===this,ye=function(){B.cancel.query(),B.remove.focus(),B.timer=setTimeout(B.hideResults,O.hideDelay)};oe||(L=!1,B.resultsClicked?(B.debug("Determining if user action caused search to close"),ce.one("click.close"+be,A.results,function(Ue){if(B.is.inMessage(Ue)||ve){ke.focus();return}ve=!1,!B.is.animating()&&!B.is.hidden()&&ye()})):(B.debug("Input blurred without user action, closing results"),ye()))},result:{mousedown:function(){B.resultsClicked=!0},mouseup:function(){B.resultsClicked=!1},click:function(F){B.debug("Search result selected");var oe=S(this),ye=oe.find(A.title).eq(0),Ue=oe.is("a[href]")?oe:oe.find("a[href]").eq(0),Xe=Ue.attr("href")||!1,de=Ue.attr("target")||!1,X=ye.length>0?ye.text():!1,pe=B.get.results(),N=oe.data(he.result)||B.get.result(X,pe);if(X&&B.set.value(X),S.isFunction(O.onSelect)&&O.onSelect.call(ee,N,pe)===!1){B.debug("Custom onSelect callback cancelled default select action"),ve=!0;return}B.hideResults(),Xe&&(F.preventDefault(),B.verbose("Opening search link found in result",Ue),de=="_blank"||F.ctrlKey?dt.open(Xe):dt.location.href=Xe)}}},ensureVisible:function(oe){var ye,Ue,Xe,de;ye=oe.position().top,Ue=ye+oe.outerHeight(!0),Xe=_.scrollTop(),de=_.height(),parseInt(_.css("paddingTop"),0)+parseInt(_.css("paddingBottom"),0),ye<0?_.scrollTop(Xe+ye):de<Ue&&_.scrollTop(Xe+(Ue-de))},handleKeyboard:function(F){var oe=ce.find(A.result),ye=ce.find(A.category),Ue=oe.filter("."+Z.active),Xe=oe.index(Ue),de=oe.length,X=Ue.length>0,pe=F.which,N={backspace:8,enter:13,escape:27,upArrow:38,downArrow:40},_e;if(pe==N.escape&&(B.verbose("Escape key pressed, blurring search field"),B.hideResults(),L=!0),B.is.visible())if(pe==N.enter){if(B.verbose("Enter key pressed, selecting active result"),oe.filter("."+Z.active).length>0)return B.event.result.click.call(oe.filter("."+Z.active),F),F.preventDefault(),!1}else pe==N.upArrow&&X?(B.verbose("Up key pressed, changing active result"),_e=Xe-1<0?Xe:Xe-1,ye.removeClass(Z.active),oe.removeClass(Z.active).eq(_e).addClass(Z.active).closest(ye).addClass(Z.active),B.ensureVisible(oe.eq(_e)),F.preventDefault()):pe==N.downArrow&&(B.verbose("Down key pressed, changing active result"),_e=Xe+1>=de?Xe:Xe+1,ye.removeClass(Z.active),oe.removeClass(Z.active).eq(_e).addClass(Z.active).closest(ye).addClass(Z.active),B.ensureVisible(oe.eq(_e)),F.preventDefault());else pe==N.enter&&(B.verbose("Enter key pressed, executing query"),B.query(),B.set.buttonPressed(),ke.one("keyup",B.remove.buttonFocus))},setup:{api:function(F,oe){var ye={debug:O.debug,on:!1,cache:O.cache,action:"search",urlData:{query:F},onSuccess:function(Ue){B.parse.response.call(ee,Ue,F),oe()},onFailure:function(){B.displayMessage(z.serverError),oe()},onAbort:function(Ue){},onError:B.error};S.extend(!0,ye,O.apiSettings),B.verbose("Setting up API request",ye),ce.api(ye)}},can:{useAPI:function(){return S.fn.api!==R},show:function(){return B.is.focused()&&!B.is.visible()&&!B.is.empty()},transition:function(){return O.transition&&S.fn.transition!==R&&ce.transition("is supported")}},is:{animating:function(){return _.hasClass(Z.animating)},hidden:function(){return _.hasClass(Z.hidden)},inMessage:function(F){if(F.target){var oe=S(F.target),ye=S.contains(gt.documentElement,F.target);return ye&&oe.closest(A.message).length>0}},empty:function(){return _.html()===""},visible:function(){return _.filter(":visible").length>0},focused:function(){return ke.filter(":focus").length>0}},get:{settings:function(){S.isPlainObject(j)&&j.searchFullText&&(O.fullTextSearch=j.searchFullText,B.error(O.error.oldSearchSyntax,ee)),O.ignoreDiacritics&&!String.prototype.normalize&&(O.ignoreDiacritics=!1,B.error(z.noNormalize,ee))},inputEvent:function(){var F=ke[0],oe=F!==R&&F.oninput!==R?"input":F!==R&&F.onpropertychange!==R?"propertychange":"keyup";return oe},value:function(){return ke.val()},results:function(){var F=ce.data(he.results);return F},result:function(F,oe){var ye=!1;return F=F!==R?F:B.get.value(),oe=oe!==R?oe:B.get.results(),O.type==="category"?(B.debug("Finding result that matches",F),S.each(oe,function(Ue,Xe){if(Array.isArray(Xe.results)&&(ye=B.search.object(F,Xe.results)[0],ye))return!1})):(B.debug("Finding result in results object",F),ye=B.search.object(F,oe)[0]),ye||!1}},select:{firstResult:function(){B.verbose("Selecting first result"),Fe.first().addClass(Z.active)}},set:{focus:function(){ce.addClass(Z.focus)},loading:function(){ce.addClass(Z.loading)},value:function(F){B.verbose("Setting search input value",F),ke.val(F)},type:function(F){F=F||O.type,O.type=="category"&&ce.addClass(O.type)},buttonPressed:function(){Ae.addClass(Z.pressed)}},remove:{loading:function(){ce.removeClass(Z.loading)},focus:function(){ce.removeClass(Z.focus)},buttonPressed:function(){Ae.removeClass(Z.pressed)},diacritics:function(F){return O.ignoreDiacritics?F.normalize("NFD").replace(/[\u0300-\u036f]/g,""):F}},query:function(F){F=S.isFunction(F)?F:function(){};var oe=B.get.value(),ye=B.read.cache(oe);F=F||function(){},B.has.minimumCharacters()?(ye?(B.debug("Reading result from cache",oe),B.save.results(ye.results),B.addResults(ye.html),B.inject.id(ye.results),F()):(B.debug("Querying for",oe),S.isPlainObject(O.source)||Array.isArray(O.source)?(B.search.local(oe),F()):B.can.useAPI()?B.search.remote(oe,F):(B.error(z.source),F())),O.onSearchQuery.call(ee,oe)):B.hideResults()},search:{local:function(F){var oe=B.search.object(F,O.source),ye;B.set.loading(),B.save.results(oe),B.debug("Returned full local search results",oe),O.maxResults>0&&(B.debug("Using specified max results",oe),oe=oe.slice(0,O.maxResults)),O.type=="category"&&(oe=B.create.categoryResults(oe)),ye=B.generateResults({results:oe}),B.remove.loading(),B.addResults(ye),B.inject.id(oe),B.write.cache(F,{html:ye,results:oe})},remote:function(F,oe){oe=S.isFunction(oe)?oe:function(){},ce.api("is loading")&&ce.api("abort"),B.setup.api(F,oe),ce.api("query")},object:function(F,oe,ye){F=B.remove.diacritics(String(F));var Ue=[],Xe=[],de=[],X=F.replace(te.escape,"\\$&"),pe=new RegExp(te.beginsWith+X,"i"),N=function(_e,qe){var jt=S.inArray(qe,Ue)==-1,_t=S.inArray(qe,de)==-1,wt=S.inArray(qe,Xe)==-1;jt&&_t&&wt&&_e.push(qe)};return oe=oe||O.source,ye=ye!==R?ye:O.searchFields,Array.isArray(ye)||(ye=[ye]),oe===R||oe===!1?(B.error(z.source),[]):(S.each(ye,function(_e,qe){S.each(oe,function(jt,_t){var wt=typeof _t[qe]=="string"||typeof _t[qe]=="number";if(wt){var Zt;typeof _t[qe]=="string"?Zt=B.remove.diacritics(_t[qe]):Zt=_t[qe].toString(),Zt.search(pe)!==-1?N(Ue,_t):O.fullTextSearch==="exact"&&B.exactSearch(F,Zt)?N(Xe,_t):O.fullTextSearch==!0&&B.fuzzySearch(F,Zt)&&N(de,_t)}})}),S.merge(Xe,de),S.merge(Ue,Xe),Ue)}},exactSearch:function(F,oe){return F=F.toLowerCase(),oe=oe.toLowerCase(),oe.indexOf(F)>-1},fuzzySearch:function(F,oe){var ye=oe.length,Ue=F.length;if(typeof F!="string"||(F=F.toLowerCase(),oe=oe.toLowerCase(),Ue>ye))return!1;if(Ue===ye)return F===oe;e:for(var Xe=0,de=0;Xe<Ue;Xe++){for(var X=F.charCodeAt(Xe);de<ye;)if(oe.charCodeAt(de++)===X)continue e;return!1}return!0},parse:{response:function(F,oe){if(Array.isArray(F)){var ye={};ye[J.results]=F,F=ye}var Ue=B.generateResults(F);B.verbose("Parsing server response",F),F!==R&&oe!==R&&F[J.results]!==R&&(B.addResults(Ue),B.inject.id(F[J.results]),B.write.cache(oe,{html:Ue,results:F[J.results]}),B.save.results(F[J.results]))}},cancel:{query:function(){B.can.useAPI()&&ce.api("abort")}},has:{minimumCharacters:function(){var F=B.get.value(),oe=F.length;return oe>=O.minCharacters},results:function(){if(_.length===0)return!1;var F=_.html();return F!=""}},clear:{cache:function(F){var oe=ce.data(he.cache);F?F&&oe&&oe[F]&&(B.debug("Removing value from cache",F),delete oe[F],ce.data(he.cache,oe)):(B.debug("Clearing cache",F),ce.removeData(he.cache))}},read:{cache:function(F){var oe=ce.data(he.cache);return O.cache?(B.verbose("Checking cache for generated html for query",F),typeof oe=="object"&&oe[F]!==R?oe[F]:!1):!1}},create:{categoryResults:function(F){var oe={};return S.each(F,function(ye,Ue){Ue.category&&(oe[Ue.category]===R?(B.verbose("Creating new category of results",Ue.category),oe[Ue.category]={name:Ue.category,results:[Ue]}):oe[Ue.category].results.push(Ue))}),oe},id:function(F,oe){var ye=F+1,Ue,Xe;return oe!==R?(Ue=String.fromCharCode(97+oe),Xe=Ue+ye,B.verbose("Creating category result id",Xe)):(Xe=ye,B.verbose("Creating result id",Xe)),Xe},results:function(){_.length===0&&(_=S("<div />").addClass(Z.results).appendTo(ce))}},inject:{result:function(F,oe,ye){B.verbose("Injecting result into results");var Ue=ye!==R?_.children().eq(ye).children(A.results).first().children(A.result).eq(oe):_.children(A.result).eq(oe);B.verbose("Injecting results metadata",Ue),Ue.data(he.result,F)},id:function(F){B.debug("Injecting unique ids into results");var oe=0,ye=0;return O.type==="category"?S.each(F,function(Ue,Xe){Xe.results.length>0&&(ye=0,S.each(Xe.results,function(de,X){X.id===R&&(X.id=B.create.id(ye,oe)),B.inject.result(X,ye,oe),ye++}),oe++)}):S.each(F,function(Ue,Xe){Xe.id===R&&(Xe.id=B.create.id(ye)),B.inject.result(Xe,ye),ye++}),F}},save:{results:function(F){B.verbose("Saving current search results to metadata",F),ce.data(he.results,F)}},write:{cache:function(F,oe){var ye=ce.data(he.cache)!==R?ce.data(he.cache):{};O.cache&&(B.verbose("Writing generated html to cache",F,oe),ye[F]=oe,ce.data(he.cache,ye))}},addResults:function(F){if(S.isFunction(O.onResultsAdd)&&O.onResultsAdd.call(_,F)===!1)return B.debug("onResultsAdd callback cancelled default action"),!1;F?(_.html(F),B.refreshResults(),O.selectFirstResult&&B.select.firstResult(),B.showResults()):B.hideResults(function(){_.empty()})},showResults:function(F){F=S.isFunction(F)?F:function(){},!L&&!B.is.visible()&&B.has.results()&&(B.can.transition()?(B.debug("Showing results with css animations"),_.transition({animation:O.transition+" in",debug:O.debug,verbose:O.verbose,duration:O.duration,onShow:function(){var oe=ce.find(A.result).eq(0);oe.length>0&&B.ensureVisible(oe)},onComplete:function(){F()},queue:!0})):(B.debug("Showing results with javascript"),_.stop().fadeIn(O.duration,O.easing)),O.onResultsOpen.call(_))},hideResults:function(F){F=S.isFunction(F)?F:function(){},B.is.visible()&&(B.can.transition()?(B.debug("Hiding results with css animations"),_.transition({animation:O.transition+" out",debug:O.debug,verbose:O.verbose,duration:O.duration,onComplete:function(){F()},queue:!0})):(B.debug("Hiding results with javascript"),_.stop().fadeOut(O.duration,O.easing)),O.onResultsClose.call(_))},generateResults:function(F){B.debug("Generating html from response",F);var oe=O.templates[O.type],ye=S.isPlainObject(F[J.results])&&!S.isEmptyObject(F[J.results]),Ue=Array.isArray(F[J.results])&&F[J.results].length>0,Xe="";return ye||Ue?(O.maxResults>0&&(ye?O.type=="standard"&&B.error(z.maxResults):F[J.results]=F[J.results].slice(0,O.maxResults)),S.isFunction(oe)?Xe=oe(F,J,O.preserveHTML):B.error(z.noTemplate,!1)):O.showNoResults&&(Xe=B.displayMessage(z.noResults,"empty",z.noResultsHeader)),O.onResults.call(ee,F),Xe},displayMessage:function(F,oe,ye){return oe=oe||"standard",B.debug("Displaying message",F,oe,ye),B.addResults(O.templates.message(F,oe,ye)),O.templates.message(F,oe,ye)},setting:function(F,oe){if(S.isPlainObject(F))S.extend(!0,O,F);else if(oe!==R)O[F]=oe;else return O[F]},internal:function(F,oe){if(S.isPlainObject(F))S.extend(!0,B,F);else if(oe!==R)B[F]=oe;else return B[F]},debug:function(){!O.silent&&O.debug&&(O.performance?B.performance.log(arguments):(B.debug=Function.prototype.bind.call(console.info,console,O.name+":"),B.debug.apply(console,arguments)))},verbose:function(){!O.silent&&O.verbose&&O.debug&&(O.performance?B.performance.log(arguments):(B.verbose=Function.prototype.bind.call(console.info,console,O.name+":"),B.verbose.apply(console,arguments)))},error:function(){O.silent||(B.error=Function.prototype.bind.call(console.error,console,O.name+":"),B.error.apply(console,arguments))},performance:{log:function(F){var oe,ye,Ue;O.performance&&(oe=new Date().getTime(),Ue=V||oe,ye=oe-Ue,V=oe,se.push({Name:F[0],Arguments:[].slice.call(F,1)||"",Element:ee,"Execution Time":ye})),clearTimeout(B.performance.timer),B.performance.timer=setTimeout(B.performance.display,500)},display:function(){var F=O.name+":",oe=0;V=!1,clearTimeout(B.performance.timer),S.each(se,function(ye,Ue){oe+=Ue["Execution Time"]}),F+=" "+oe+"ms",Q&&(F+=" '"+Q+"'"),f.length>1&&(F+=" ("+f.length+")"),(console.group!==R||console.table!==R)&&se.length>0&&(console.groupCollapsed(F),console.table?console.table(se):S.each(se,function(ye,Ue){console.log(Ue.Name+": "+Ue["Execution Time"]+"ms")}),console.groupEnd()),se=[]}},invoke:function(F,oe,ye){var Ue=Be,Xe,de,X;return oe=oe||U,ye=ee||ye,typeof F=="string"&&Ue!==R&&(F=F.split(/[\. ]/),Xe=F.length-1,S.each(F,function(pe,N){var _e=pe!=Xe?N+F[pe+1].charAt(0).toUpperCase()+F[pe+1].slice(1):F;if(S.isPlainObject(Ue[_e])&&pe!=Xe)Ue=Ue[_e];else{if(Ue[_e]!==R)return de=Ue[_e],!1;if(S.isPlainObject(Ue[N])&&pe!=Xe)Ue=Ue[N];else return Ue[N]!==R&&(de=Ue[N]),!1}})),S.isFunction(de)?X=de.apply(ye,oe):de!==R&&(X=de),Array.isArray(H)?H.push(X):H!==R?H=[H,X]:X!==R&&(H=X),de}},$?(Be===R&&B.initialize(),B.invoke(y)):(Be!==R&&Be.invoke("destroy"),B.initialize())}),H!==R?H:this},S.fn.search.settings={name:"Search",namespace:"search",silent:!1,debug:!1,verbose:!1,performance:!0,type:"standard",minCharacters:1,selectFirstResult:!1,apiSettings:!1,source:!1,searchOnFocus:!0,searchFields:["id","title","description"],displayField:"",fullTextSearch:"exact",ignoreDiacritics:!1,automatic:!0,hideDelay:0,searchDelay:200,maxResults:7,cache:!0,showNoResults:!0,preserveHTML:!0,transition:"scale",duration:200,easing:"easeOutExpo",onSelect:!1,onResultsAdd:!1,onSearchQuery:function(j){},onResults:function(j){},onResultsOpen:function(){},onResultsClose:function(){},className:{animating:"animating",active:"active",empty:"empty",focus:"focus",hidden:"hidden",loading:"loading",results:"results",pressed:"down"},error:{source:"Cannot search. No source used, and Semantic API module was not included",noResultsHeader:"No Results",noResults:"Your search returned no results",logging:"Error in debug logging, exiting.",noEndpoint:"No search endpoint was specified",noTemplate:"A valid template name was not specified.",oldSearchSyntax:"searchFullText setting has been renamed fullTextSearch for consistency, please adjust your settings.",serverError:"There was an issue querying the server.",maxResults:"Results must be an array to use maxResults setting",method:"The method you called is not defined.",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},metadata:{cache:"cache",results:"results",result:"result"},regExp:{escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,beginsWith:"(?:s|^)"},fields:{categories:"results",categoryName:"name",categoryResults:"results",description:"description",image:"image",price:"price",results:"results",title:"title",url:"url",action:"action",actionText:"text",actionURL:"url"},selector:{prompt:".prompt",searchButton:".search.button",results:".results",message:".results > .message",category:".category",result:".result",title:".title, .name"},templates:{escape:function(j,f){if(f)return j;var Q=/[<>"'`]/g,V=/[&<>"'`]/,se={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},y=function($){return se[$]};return V.test(j)?(j=j.replace(/&(?![a-z0-9#]{1,6};)/,"&amp;"),j.replace(Q,y)):j},message:function(j,f,Q){var V="";return j!==R&&f!==R&&(V+='<div class="message '+f+'">',Q&&(V+='<div class="header">'+Q+"</div>"),V+=' <div class="description">'+j+"</div>",V+="</div>"),V},category:function(j,f,Q){var V="",se=S.fn.search.settings.templates.escape;return j[f.categoryResults]!==R?(S.each(j[f.categoryResults],function(y,$){$[f.results]!==R&&$.results.length>0&&(V+='<div class="category">',$[f.categoryName]!==R&&(V+='<div class="name">'+se($[f.categoryName],Q)+"</div>"),V+='<div class="results">',S.each($.results,function(U,H){H[f.url]?V+='<a class="result" href="'+H[f.url].replace(/"/g,"")+'">':V+='<a class="result">',H[f.image]!==R&&(V+='<div class="image"> <img src="'+H[f.image].replace(/"/g,"")+'"></div>'),V+='<div class="content">',H[f.price]!==R&&(V+='<div class="price">'+se(H[f.price],Q)+"</div>"),H[f.title]!==R&&(V+='<div class="title">'+se(H[f.title],Q)+"</div>"),H[f.description]!==R&&(V+='<div class="description">'+se(H[f.description],Q)+"</div>"),V+="</div>",V+="</a>"}),V+="</div>",V+="</div>")}),j[f.action]&&(f.actionURL===!1?V+='<div class="action">'+se(j[f.action][f.actionText],Q)+"</div>":V+='<a href="'+j[f.action][f.actionURL].replace(/"/g,"")+'" class="action">'+se(j[f.action][f.actionText],Q)+"</a>"),V):!1},standard:function(j,f,Q){var V="",se=S.fn.search.settings.templates.escape;return j[f.results]!==R?(S.each(j[f.results],function(y,$){$[f.url]?V+='<a class="result" href="'+$[f.url].replace(/"/g,"")+'">':V+='<a class="result">',$[f.image]!==R&&(V+='<div class="image"> <img src="'+$[f.image].replace(/"/g,"")+'"></div>'),V+='<div class="content">',$[f.price]!==R&&(V+='<div class="price">'+se($[f.price],Q)+"</div>"),$[f.title]!==R&&(V+='<div class="title">'+se($[f.title],Q)+"</div>"),$[f.description]!==R&&(V+='<div class="description">'+se($[f.description],Q)+"</div>"),V+="</div>",V+="</a>"}),j[f.action]&&(f.actionURL===!1?V+='<div class="action">'+se(j[f.action][f.actionText],Q)+"</div>":V+='<a href="'+j[f.action][f.actionURL].replace(/"/g,"")+'" class="action">'+se(j[f.action][f.actionText],Q)+"</a>"),V):!1}}}})(jQuery,window,document);(function(S,dt,gt,R){S.isFunction=S.isFunction||function(j){return typeof j=="function"&&typeof j.nodeType!="number"},S.site=S.fn.site=function(j){var f=new Date().getTime(),Q=[],V=arguments[0],se=typeof V=="string",y=[].slice.call(arguments,1),$=S.isPlainObject(j)?S.extend(!0,{},S.site.settings,j):S.extend({},S.site.settings),U=$.namespace,H=$.error,O="module-"+U,Z=S(gt),he=Z,te=this,J=he.data(O),A,z;return A={initialize:function(){A.instantiate()},instantiate:function(){A.verbose("Storing instance of site",A),J=A,he.data(O,A)},normalize:function(){A.fix.console(),A.fix.requestAnimationFrame()},fix:{console:function(){A.debug("Normalizing window.console"),(console===R||console.log===R)&&(A.verbose("Console not available, normalizing events"),A.disable.console()),(typeof console.group=="undefined"||typeof console.groupEnd=="undefined"||typeof console.groupCollapsed=="undefined")&&(A.verbose("Console group not available, normalizing events"),dt.console.group=function(){},dt.console.groupEnd=function(){},dt.console.groupCollapsed=function(){}),typeof console.markTimeline=="undefined"&&(A.verbose("Mark timeline not available, normalizing events"),dt.console.markTimeline=function(){})},consoleClear:function(){A.debug("Disabling programmatic console clearing"),dt.console.clear=function(){}},requestAnimationFrame:function(){A.debug("Normalizing requestAnimationFrame"),dt.requestAnimationFrame===R&&(A.debug("RequestAnimationFrame not available, normalizing event"),dt.requestAnimationFrame=dt.requestAnimationFrame||dt.mozRequestAnimationFrame||dt.webkitRequestAnimationFrame||dt.msRequestAnimationFrame||function(le){setTimeout(le,0)})}},moduleExists:function(le){return S.fn[le]!==R&&S.fn[le].settings!==R},enabled:{modules:function(le){var be=[];return le=le||$.modules,S.each(le,function(xe,ce){A.moduleExists(ce)&&be.push(ce)}),be}},disabled:{modules:function(le){var be=[];return le=le||$.modules,S.each(le,function(xe,ce){A.moduleExists(ce)||be.push(ce)}),be}},change:{setting:function(le,be,xe,ce){xe=typeof xe=="string"?xe==="all"?$.modules:[xe]:xe||$.modules,ce=ce!==R?ce:!0,S.each(xe,function(ke,Ae){var _=A.moduleExists(Ae)?S.fn[Ae].settings.namespace||!1:!0,Fe;A.moduleExists(Ae)&&(A.verbose("Changing default setting",le,be,Ae),S.fn[Ae].settings[le]=be,ce&&_&&(Fe=S(":data(module-"+_+")"),Fe.length>0&&(A.verbose("Modifying existing settings",Fe),Fe[Ae]("setting",le,be))))})},settings:function(le,be,xe){be=typeof be=="string"?[be]:be||$.modules,xe=xe!==R?xe:!0,S.each(be,function(ce,ke){var Ae;A.moduleExists(ke)&&(A.verbose("Changing default setting",le,ke),S.extend(!0,S.fn[ke].settings,le),xe&&U&&(Ae=S(":data(module-"+U+")"),Ae.length>0&&(A.verbose("Modifying existing settings",Ae),Ae[ke]("setting",le))))})}},enable:{console:function(){A.console(!0)},debug:function(le,be){le=le||$.modules,A.debug("Enabling debug for modules",le),A.change.setting("debug",!0,le,be)},verbose:function(le,be){le=le||$.modules,A.debug("Enabling verbose debug for modules",le),A.change.setting("verbose",!0,le,be)}},disable:{console:function(){A.console(!1)},debug:function(le,be){le=le||$.modules,A.debug("Disabling debug for modules",le),A.change.setting("debug",!1,le,be)},verbose:function(le,be){le=le||$.modules,A.debug("Disabling verbose debug for modules",le),A.change.setting("verbose",!1,le,be)}},console:function(le){if(le){if(J.cache.console===R){A.error(H.console);return}A.debug("Restoring console function"),dt.console=J.cache.console}else A.debug("Disabling console function"),J.cache.console=dt.console,dt.console={clear:function(){},error:function(){},group:function(){},groupCollapsed:function(){},groupEnd:function(){},info:function(){},log:function(){},markTimeline:function(){},warn:function(){}}},destroy:function(){A.verbose("Destroying previous site for",he),he.removeData(O)},cache:{},setting:function(le,be){if(S.isPlainObject(le))S.extend(!0,$,le);else if(be!==R)$[le]=be;else return $[le]},internal:function(le,be){if(S.isPlainObject(le))S.extend(!0,A,le);else if(be!==R)A[le]=be;else return A[le]},debug:function(){$.debug&&($.performance?A.performance.log(arguments):(A.debug=Function.prototype.bind.call(console.info,console,$.name+":"),A.debug.apply(console,arguments)))},verbose:function(){$.verbose&&$.debug&&($.performance?A.performance.log(arguments):(A.verbose=Function.prototype.bind.call(console.info,console,$.name+":"),A.verbose.apply(console,arguments)))},error:function(){A.error=Function.prototype.bind.call(console.error,console,$.name+":"),A.error.apply(console,arguments)},performance:{log:function(le){var be,xe,ce;$.performance&&(be=new Date().getTime(),ce=f||be,xe=be-ce,f=be,Q.push({Element:te,Name:le[0],Arguments:[].slice.call(le,1)||"","Execution Time":xe})),clearTimeout(A.performance.timer),A.performance.timer=setTimeout(A.performance.display,500)},display:function(){var le=$.name+":",be=0;f=!1,clearTimeout(A.performance.timer),S.each(Q,function(xe,ce){be+=ce["Execution Time"]}),le+=" "+be+"ms",(console.group!==R||console.table!==R)&&Q.length>0&&(console.groupCollapsed(le),console.table?console.table(Q):S.each(Q,function(xe,ce){console.log(ce.Name+": "+ce["Execution Time"]+"ms")}),console.groupEnd()),Q=[]}},invoke:function(le,be,xe){var ce=J,ke,Ae,_;return be=be||y,xe=te||xe,typeof le=="string"&&ce!==R&&(le=le.split(/[\. ]/),ke=le.length-1,S.each(le,function(Fe,Se){var ee=Fe!=ke?Se+le[Fe+1].charAt(0).toUpperCase()+le[Fe+1].slice(1):le;if(S.isPlainObject(ce[ee])&&Fe!=ke)ce=ce[ee];else{if(ce[ee]!==R)return Ae=ce[ee],!1;if(S.isPlainObject(ce[Se])&&Fe!=ke)ce=ce[Se];else return ce[Se]!==R?(Ae=ce[Se],!1):(A.error(H.method,le),!1)}})),S.isFunction(Ae)?_=Ae.apply(xe,be):Ae!==R&&(_=Ae),Array.isArray(z)?z.push(_):z!==R?z=[z,_]:_!==R&&(z=_),Ae}},se?(J===R&&A.initialize(),A.invoke(V)):(J!==R&&A.destroy(),A.initialize()),z!==R?z:this},S.site.settings={name:"Site",namespace:"site",error:{console:"Console cannot be restored, most likely it was overwritten outside of module",method:"The method you called is not defined."},debug:!1,verbose:!1,performance:!0,modules:["accordion","api","calendar","checkbox","dimmer","dropdown","embed","form","modal","nag","popup","slider","rating","shape","sidebar","state","sticky","tab","toast","transition","visibility","visit"],siteNamespace:"site",namespaceStub:{cache:{},config:{},sections:{},section:{},utilities:{}}},S.extend(S.expr[":"],{data:S.expr.createPseudo?S.expr.createPseudo(function(j){return function(f){return!!S.data(f,j)}}):function(j,f,Q){return!!S.data(j,Q[3])}})})(jQuery,window,document);(function(S,dt,gt,R){"use strict";S.isWindow=S.isWindow||function(j){return j!=null&&j===j.window},S.isFunction=S.isFunction||function(j){return typeof j=="function"&&typeof j.nodeType!="number"},dt=typeof dt!="undefined"&&dt.Math==Math?dt:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),S.fn.tab=function(j){var f=S.isFunction(this)?S(dt):S(this),Q=f.selector||"",V=new Date().getTime(),se=[],y=arguments[0],$=typeof y=="string",U=[].slice.call(arguments,1),H=!1,O;return f.each(function(){var Z=S.isPlainObject(j)?S.extend(!0,{},S.fn.tab.settings,j):S.extend({},S.fn.tab.settings),he=Z.className,te=Z.metadata,J=Z.selector,A=Z.error,z=Z.regExp,le="."+Z.namespace,be="module-"+Z.namespace,xe=S(this),ce,ke,Ae={},_=!0,Fe=0,Se=this,ee=xe.data(be),Be,ve,L,B;L={initialize:function(){L.debug("Initializing tab menu item",xe),L.fix.callbacks(),L.determineTabs(),L.debug("Determining tabs",Z.context,ke),Z.auto&&L.set.auto(),L.bind.events(),Z.history&&!H&&(L.initializeHistory(),H=!0),Z.autoTabActivation&&ee===R&&L.determine.activeTab()==null&&(L.debug("No active tab detected, setting first tab active",L.get.initialPath()),L.changeTab(Z.autoTabActivation===!0?L.get.initialPath():Z.autoTabActivation)),L.instantiate()},instantiate:function(){L.verbose("Storing instance of module",L),ee=L,xe.data(be,L)},destroy:function(){L.debug("Destroying tabs",xe),xe.removeData(be).off(le)},bind:{events:function(){S.isWindow(Se)||(L.debug("Attaching tab activation events to element",xe),xe.on("click"+le,L.event.click))}},determineTabs:function(){var F;Z.context==="parent"?(xe.closest(J.ui).length>0?(F=xe.closest(J.ui),L.verbose("Using closest UI element as parent",F)):F=xe,ce=F.parent(),L.verbose("Determined parent element for creating context",ce)):Z.context?(ce=S(Z.context),L.verbose("Using selector for tab context",Z.context,ce)):ce=S("body"),Z.childrenOnly?(ke=ce.children(J.tabs),L.debug("Searching tab context children for tabs",ce,ke)):(ke=ce.find(J.tabs),L.debug("Searching tab context for tabs",ce,ke))},fix:{callbacks:function(){S.isPlainObject(j)&&(j.onTabLoad||j.onTabInit)&&(j.onTabLoad&&(j.onLoad=j.onTabLoad,delete j.onTabLoad,L.error(A.legacyLoad,j.onLoad)),j.onTabInit&&(j.onFirstLoad=j.onTabInit,delete j.onTabInit,L.error(A.legacyInit,j.onFirstLoad)),Z=S.extend(!0,{},S.fn.tab.settings,j))}},initializeHistory:function(){if(L.debug("Initializing page state"),S.address===R)return L.error(A.state),!1;if(Z.historyType=="state")if(L.debug("Using HTML5 to manage state"),Z.path!==!1)S.address.history(!0).state(Z.path);else return L.error(A.path),!1;S.address.bind("change",L.event.history.change)},event:{click:function(F){var oe=S(this).data(te.tab);oe!==R?(Z.history?(L.verbose("Updating page state",F),S.address.value(oe)):(L.verbose("Changing tab",F),L.changeTab(oe)),F.preventDefault()):L.debug("No tab specified")},history:{change:function(F){var oe=F.pathNames.join("/")||L.get.initialPath(),ye=Z.templates.determineTitle(oe)||!1;L.performance.display(),L.debug("History change event",oe,F),B=F,oe!==R&&L.changeTab(oe),ye&&S.address.title(ye)}}},refresh:function(){Be&&(L.debug("Refreshing tab",Be),L.changeTab(Be))},cache:{read:function(F){return F!==R?Ae[F]:!1},add:function(F,oe){F=F||Be,L.debug("Adding cached content for",F),Ae[F]=oe},remove:function(F){F=F||Be,L.debug("Removing cached content for",F),delete Ae[F]}},escape:{string:function(F){return F=String(F),F.replace(z.escape,"\\$&")}},set:{auto:function(){var F=typeof Z.path=="string"?Z.path.replace(/\/$/,"")+"/{$tab}":"/{$tab}";L.verbose("Setting up automatic tab retrieval from server",F),S.isPlainObject(Z.apiSettings)?Z.apiSettings.url=F:Z.apiSettings={url:F}},loading:function(F){var oe=L.get.tabElement(F),ye=oe.hasClass(he.loading);ye||(L.verbose("Setting loading state for",oe),oe.addClass(he.loading).siblings(ke).removeClass(he.active+" "+he.loading),oe.length>0&&Z.onRequest.call(oe[0],F))},state:function(F){S.address.value(F)}},changeTab:function(F){var oe=dt.history&&dt.history.pushState,ye=oe&&Z.ignoreFirstLoad&&_,Ue=Z.auto||S.isPlainObject(Z.apiSettings),Xe=Ue&&!ye?L.utilities.pathToArray(F):L.get.defaultPathArray(F);F=L.utilities.arrayToPath(Xe),S.each(Xe,function(de,X){var pe=Xe.slice(0,de+1),N=L.utilities.arrayToPath(pe),_e=L.is.tab(N),qe=de+1==Xe.length,jt=L.get.tabElement(N),_t,wt,Zt,zt;if(L.verbose("Looking for tab",X),_e){if(L.verbose("Tab was found",X),Be=N,ve=L.utilities.filterArray(Xe,pe),qe?zt=!0:(wt=Xe.slice(0,de+2),Zt=L.utilities.arrayToPath(wt),zt=!L.is.tab(Zt),zt&&L.verbose("Tab parameters found",wt)),zt&&Ue)return ye?(L.debug("Ignoring remote content on first tab load",N),_=!1,L.cache.add(F,jt.html()),L.activate.all(N),Z.onFirstLoad.call(jt[0],N,ve,B),Z.onLoad.call(jt[0],N,ve,B)):(L.activate.navigation(N),L.fetch.content(N,F)),!1;L.debug("Opened local tab",N),L.activate.all(N),L.cache.read(N)||(L.cache.add(N,!0),L.debug("First time tab loaded calling tab init"),Z.onFirstLoad.call(jt[0],N,ve,B)),Z.onLoad.call(jt[0],N,ve,B)}else if(F.search("/")==-1&&F!==""){if(F=L.escape.string(F),_t=S("#"+F+', a[name="'+F+'"]'),N=_t.closest("[data-tab]").data(te.tab),jt=L.get.tabElement(N),_t&&_t.length>0&&N)return L.debug("Anchor link used, opening parent tab",jt,_t),jt.hasClass(he.active)||setTimeout(function(){L.scrollTo(_t)},0),L.activate.all(N),L.cache.read(N)||(L.cache.add(N,!0),L.debug("First time tab loaded calling tab init"),Z.onFirstLoad.call(jt[0],N,ve,B)),Z.onLoad.call(jt[0],N,ve,B),!1}else return L.error(A.missingTab,xe,ce,N),!1})},scrollTo:function(F){var oe=F&&F.length>0?F.offset().top:!1;oe!==!1&&(L.debug("Forcing scroll to an in-page link in a hidden tab",oe,F),S(gt).scrollTop(oe))},update:{content:function(F,oe,ye){var Ue=L.get.tabElement(F),Xe=Ue[0];ye=ye!==R?ye:Z.evaluateScripts,typeof Z.cacheType=="string"&&Z.cacheType.toLowerCase()=="dom"&&typeof oe!="string"?Ue.empty().append(S(oe).clone(!0)):ye?(L.debug("Updating HTML and evaluating inline scripts",F,oe),Ue.html(oe)):(L.debug("Updating HTML",F,oe),Xe.innerHTML=oe)}},fetch:{content:function(F,oe){var ye=L.get.tabElement(F),Ue={dataType:"html",encodeParameters:!1,on:"now",cache:Z.alwaysRefresh,headers:{"X-Remote":!0},onSuccess:function(N){Z.cacheType=="response"&&L.cache.add(oe,N),L.update.content(F,N),F==Be?(L.debug("Content loaded",F),L.activate.tab(F)):L.debug("Content loaded in background",F),Z.onFirstLoad.call(ye[0],F,ve,B),Z.onLoad.call(ye[0],F,ve,B),Z.loadOnce?L.cache.add(oe,!0):typeof Z.cacheType=="string"&&Z.cacheType.toLowerCase()=="dom"&&ye.children().length>0?setTimeout(function(){var _e=ye.children().clone(!0);_e=_e.not("script"),L.cache.add(oe,_e)},0):L.cache.add(oe,ye.html())},urlData:{tab:oe}},Xe=ye.api("get request")||!1,de=Xe&&Xe.state()==="pending",X,pe;oe=oe||F,pe=L.cache.read(oe),Z.cache&&pe?(L.activate.tab(F),L.debug("Adding cached content",oe),Z.loadOnce||(Z.evaluateScripts=="once"?L.update.content(F,pe,!1):L.update.content(F,pe)),Z.onLoad.call(ye[0],F,ve,B)):de?(L.set.loading(F),L.debug("Content is already loading",oe)):S.api!==R?(X=S.extend(!0,{},Z.apiSettings,Ue),L.debug("Retrieving remote content",oe,X),L.set.loading(F),ye.api(X)):L.error(A.api)}},activate:{all:function(F){L.activate.tab(F),L.activate.navigation(F)},tab:function(F){var oe=L.get.tabElement(F),ye=Z.deactivate=="siblings"?oe.siblings(ke):ke.not(oe),Ue=oe.hasClass(he.active);L.verbose("Showing tab content for",oe),Ue||(oe.addClass(he.active),ye.removeClass(he.active+" "+he.loading),oe.length>0&&Z.onVisible.call(oe[0],F))},navigation:function(F){var oe=L.get.navElement(F),ye=Z.deactivate=="siblings"?oe.siblings(f):f.not(oe),Ue=oe.hasClass(he.active);L.verbose("Activating tab navigation for",oe,F),Ue||(oe.addClass(he.active),ye.removeClass(he.active+" "+he.loading))}},deactivate:{all:function(){L.deactivate.navigation(),L.deactivate.tabs()},navigation:function(){f.removeClass(he.active)},tabs:function(){ke.removeClass(he.active+" "+he.loading)}},is:{tab:function(F){return F!==R?L.get.tabElement(F).length>0:!1}},get:{initialPath:function(){return f.eq(0).data(te.tab)||ke.eq(0).data(te.tab)},path:function(){return S.address.value()},defaultPathArray:function(F){return L.utilities.pathToArray(L.get.defaultPath(F))},defaultPath:function(F){var oe=f.filter("[data-"+te.tab+'^="'+L.escape.string(F)+'/"]').eq(0),ye=oe.data(te.tab)||!1;if(ye){if(L.debug("Found default tab",ye),Fe<Z.maxDepth)return Fe++,L.get.defaultPath(ye);L.error(A.recursion)}else L.debug("No default tabs found for",F,ke);return Fe=0,F},navElement:function(F){return F=F||Be,f.filter("[data-"+te.tab+'="'+L.escape.string(F)+'"]')},tabElement:function(F){var oe,ye,Ue,Xe;return F=F||Be,Ue=L.utilities.pathToArray(F),Xe=L.utilities.last(Ue),oe=ke.filter("[data-"+te.tab+'="'+L.escape.string(F)+'"]'),ye=ke.filter("[data-"+te.tab+'="'+L.escape.string(Xe)+'"]'),oe.length>0?oe:ye},tab:function(){return Be}},determine:{activeTab:function(){var F=null;return ke.each(function(oe,ye){var Ue=S(ye);if(Ue.hasClass(he.active)){var Xe=S(this).data(te.tab),de=f.filter("[data-"+te.tab+'="'+L.escape.string(Xe)+'"]');de.hasClass(he.active)&&(F=Xe)}}),F}},utilities:{filterArray:function(F,oe){return S.grep(F,function(ye){return S.inArray(ye,oe)==-1})},last:function(F){return Array.isArray(F)?F[F.length-1]:!1},pathToArray:function(F){return F===R&&(F=Be),typeof F=="string"?F.split("/"):[F]},arrayToPath:function(F){return Array.isArray(F)?F.join("/"):!1}},setting:function(F,oe){if(L.debug("Changing setting",F,oe),S.isPlainObject(F))S.extend(!0,Z,F);else if(oe!==R)S.isPlainObject(Z[F])?S.extend(!0,Z[F],oe):Z[F]=oe;else return Z[F]},internal:function(F,oe){if(S.isPlainObject(F))S.extend(!0,L,F);else if(oe!==R)L[F]=oe;else return L[F]},debug:function(){!Z.silent&&Z.debug&&(Z.performance?L.performance.log(arguments):(L.debug=Function.prototype.bind.call(console.info,console,Z.name+":"),L.debug.apply(console,arguments)))},verbose:function(){!Z.silent&&Z.verbose&&Z.debug&&(Z.performance?L.performance.log(arguments):(L.verbose=Function.prototype.bind.call(console.info,console,Z.name+":"),L.verbose.apply(console,arguments)))},error:function(){Z.silent||(L.error=Function.prototype.bind.call(console.error,console,Z.name+":"),L.error.apply(console,arguments))},performance:{log:function(F){var oe,ye,Ue;Z.performance&&(oe=new Date().getTime(),Ue=V||oe,ye=oe-Ue,V=oe,se.push({Name:F[0],Arguments:[].slice.call(F,1)||"",Element:Se,"Execution Time":ye})),clearTimeout(L.performance.timer),L.performance.timer=setTimeout(L.performance.display,500)},display:function(){var F=Z.name+":",oe=0;V=!1,clearTimeout(L.performance.timer),S.each(se,function(ye,Ue){oe+=Ue["Execution Time"]}),F+=" "+oe+"ms",Q&&(F+=" '"+Q+"'"),(console.group!==R||console.table!==R)&&se.length>0&&(console.groupCollapsed(F),console.table?console.table(se):S.each(se,function(ye,Ue){console.log(Ue.Name+": "+Ue["Execution Time"]+"ms")}),console.groupEnd()),se=[]}},invoke:function(F,oe,ye){var Ue=ee,Xe,de,X;return oe=oe||U,ye=Se||ye,typeof F=="string"&&Ue!==R&&(F=F.split(/[\. ]/),Xe=F.length-1,S.each(F,function(pe,N){var _e=pe!=Xe?N+F[pe+1].charAt(0).toUpperCase()+F[pe+1].slice(1):F;if(S.isPlainObject(Ue[_e])&&pe!=Xe)Ue=Ue[_e];else{if(Ue[_e]!==R)return de=Ue[_e],!1;if(S.isPlainObject(Ue[N])&&pe!=Xe)Ue=Ue[N];else return Ue[N]!==R?(de=Ue[N],!1):(L.error(A.method,F),!1)}})),S.isFunction(de)?X=de.apply(ye,oe):de!==R&&(X=de),Array.isArray(O)?O.push(X):O!==R?O=[O,X]:X!==R&&(O=X),de}},$?(ee===R&&L.initialize(),L.invoke(y)):(ee!==R&&ee.invoke("destroy"),L.initialize())}),O!==R?O:this},S.tab=function(){S(dt).tab.apply(this,arguments)},S.fn.tab.settings={name:"Tab",namespace:"tab",silent:!1,debug:!1,verbose:!1,performance:!0,auto:!1,history:!1,historyType:"hash",path:!1,context:!1,childrenOnly:!1,maxDepth:25,deactivate:"siblings",alwaysRefresh:!1,cache:!0,loadOnce:!1,cacheType:"response",ignoreFirstLoad:!1,apiSettings:!1,evaluateScripts:"once",autoTabActivation:!0,onFirstLoad:function(j,f,Q){},onLoad:function(j,f,Q){},onVisible:function(j,f,Q){},onRequest:function(j,f,Q){},templates:{determineTitle:function(j){}},error:{api:"You attempted to load content without API module",method:"The method you called is not defined",missingTab:"Activated tab cannot be found. Tabs are case-sensitive.",noContent:"The tab you specified is missing a content url.",path:"History enabled, but no path was specified",recursion:"Max recursive depth reached",legacyInit:"onTabInit has been renamed to onFirstLoad in 2.0, please adjust your code.",legacyLoad:"onTabLoad has been renamed to onLoad in 2.0. Please adjust your code",state:"History requires Asual's Address library <https://github.com/asual/jquery-address>"},regExp:{escape:/[-[\]{}()*+?.,\\^$|#\s:=@]/g},metadata:{tab:"tab",loaded:"loaded",promise:"promise"},className:{loading:"loading",active:"active"},selector:{tabs:".ui.tab",ui:".ui"}}})(jQuery,window,document)}(),function(){"use strict";var Rs,Fs,Ha,Gr,xs,il,_l,nl,Va,wl,oc,Xc,xp,Nl,fu,ac,sf,Jc,jp;var S,dt;St.p=`${(dt=(S=window.config)==null?void 0:S.assetUrlPrefix)!=null?dt:"/assets"}/`;function gt(e){const t=document.querySelector(".page-content");if(!t)return;const i=document.createElement("div");i.innerHTML='<div class="ui container negative message center aligned js-global-error" style="white-space: pre-line;"></div>',i.childNodes[0].textContent=e,t.prepend(i.childNodes[0])}function R(e){if(e.type==="unhandledrejection"){gt(`JavaScript promise rejection: ${e.reason}. Open browser console to see more details.`);return}!e.error&&e.lineno===0&&e.colno===0&&e.filename===""&&window.navigator.userAgent.includes("FxiOS/")||gt(`JavaScript error: ${e.message} (${e.filename} @ ${e.lineno}:${e.colno}). Open browser console to see more details.`)}function j(){var e;if((e=window._globalHandlerErrors)!=null&&e._inited){gt("The global error handler has been initialized, do not initialize it again");return}window.config||gt("Gitea JavaScript code couldn't run correctly, please check your custom templates");for(const t of window._globalHandlerErrors||[])R(t);window._globalHandlerErrors={_inited:!0,push:t=>R(t)}}j();var f=St("./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js"),Q=St("./node_modules/@vue/shared/dist/shared.esm-bundler.js");const V={class:"activity-bar-graph",ref:"style",style:{width:"0",height:"0"}},se={class:"activity-bar-graph-alt",ref:"altStyle",style:{width:"0",height:"0"}},y=["href"],$=["x","y","href"],U=["x","y","href"],H={key:0};function O(e,t,i,r,a,u){const b=(0,f.up)("vue-bar-graph");return(0,f.wg)(),(0,f.iD)("div",null,[(0,f._)("div",V,null,512),(0,f._)("div",se,null,512),(0,f.Wm)(b,{points:e.graphPoints,"show-x-axis":!0,"show-y-axis":!1,"show-values":!0,width:e.graphWidth,"bar-color":e.colors.barColor,"text-color":e.colors.textColor,"text-alt-color":e.colors.textAltColor,height:100,"label-height":20},{label:(0,f.w5)(w=>[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.graphAuthors,(g,T)=>((0,f.wg)(),(0,f.iD)("g",{key:g.position},[w.bar.index===T&&g.home_link?((0,f.wg)(),(0,f.iD)("a",{key:0,href:g.home_link},[(0,f._)("image",{x:`${w.bar.midPoint-10}px`,y:`${w.bar.yLabel}px`,height:"20",width:"20",href:g.avatar_link},null,8,$)],8,y)):w.bar.index===T?((0,f.wg)(),(0,f.iD)("image",{key:1,x:`${w.bar.midPoint-10}px`,y:`${w.bar.yLabel}px`,height:"20",width:"20",href:g.avatar_link},null,8,U)):(0,f.kq)("v-if",!0)]))),128))]),title:(0,f.w5)(w=>[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.graphAuthors,(g,T)=>((0,f.wg)(),(0,f.iD)("tspan",{key:g.position},[w.bar.index===T?((0,f.wg)(),(0,f.iD)("tspan",H,(0,Q.toDisplayString)(g.name),1)):(0,f.kq)("v-if",!0)]))),128))]),_:1},8,["points","width","bar-color","text-color","text-alt-color"])])}var Z=St("./node_modules/vue-bar-graph/dist/vue-bar-graph.common.js"),he=St.n(Z),te=St("./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js"),J=Object.defineProperty,A=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,be=(e,t,i)=>t in e?J(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,xe=(e,t)=>{for(var i in t||(t={}))z.call(t,i)&&be(e,i,t[i]);if(A)for(var i of A(t))le.call(t,i)&&be(e,i,t[i]);return e};const ce={components:{VueBarGraph:he()},data:()=>({colors:{barColor:"green",textColor:"black",textAltColor:"white"},activityTopAuthors:window.config.pageData.repoActivityTopAuthors||[]}),computed:{graphPoints(){return this.activityTopAuthors.map(e=>({value:e.commits,label:e.name}))},graphAuthors(){return this.activityTopAuthors.map((e,t)=>xe({position:t+1},e))},graphWidth(){return this.activityTopAuthors.length*40}},mounted(){const e=window.getComputedStyle(this.$refs.style),t=window.getComputedStyle(this.$refs.altStyle);this.colors.barColor=e.backgroundColor,this.colors.textColor=e.color,this.colors.textAltColor=t.color}};function ke(){const e=document.getElementById("repo-activity-top-authors-chart");e&&(0,te.createApp)(ce).mount(e)}var Ae=ce,_=St("./node_modules/vue-loader/dist/exportHelper.js");const Fe=(0,_.Z)(Ae,[["render",O]]);var Se=null;const ee=["for"],Be={class:"gitea-select"},ve=["id"],L={value:""},B=["value"],F=["value"];function oe(e,t,i,r,a,u){return(0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.categories,b=>((0,f.wg)(),(0,f.iD)("div",{key:b,class:"field gt-pl-2 gt-pb-2 access-token-category"},[(0,f._)("label",{class:"category-label",for:"access-token-scope-"+b},(0,Q.toDisplayString)(b),9,ee),(0,f._)("div",Be,[(0,f._)("select",{class:"ui selection access-token-select",name:"scope",id:"access-token-scope-"+b},[(0,f._)("option",L,(0,Q.toDisplayString)(e.noAccessLabel),1),(0,f._)("option",{value:"read:"+b},(0,Q.toDisplayString)(e.readLabel),9,B),(0,f._)("option",{value:"write:"+b},(0,Q.toDisplayString)(e.writeLabel),9,F)],8,ve)])]))),128)}function ye(e,t,i){var r=i||{},a=r.noTrailing,u=a===void 0?!1:a,b=r.noLeading,w=b===void 0?!1:b,g=r.debounceMode,T=g===void 0?void 0:g,W,Oe=!1,Ze=0;function ot(){W&&clearTimeout(W)}function pt(Dt){var Et=Dt||{},ti=Et.upcomingOnly,Ri=ti===void 0?!1:ti;ot(),Oe=!Ri}function lt(){for(var Dt=arguments.length,Et=new Array(Dt),ti=0;ti<Dt;ti++)Et[ti]=arguments[ti];var Ri=this,He=Date.now()-Ze;if(Oe)return;function si(){Ze=Date.now(),t.apply(Ri,Et)}function Gt(){W=void 0}!w&&T&&!W&&si(),ot(),T===void 0&&He>e?w?(Ze=Date.now(),u||(W=setTimeout(T?Gt:si,e))):si():u!==!0&&(W=setTimeout(T?Gt:si,T===void 0?e-He:e))}return lt.cancel=pt,lt}function Ue(e,t,i){var r=i||{},a=r.atBegin,u=a===void 0?!1:a;return ye(e,t,{debounceMode:u!==!1})}function Xe(e,t,...i){if((typeof e=="string"||e instanceof String)&&(e=document.querySelectorAll(e)),e instanceof Node)t(e,...i);else if(e.length!==void 0)for(const r of e)t(r,...i);else throw new Error("invalid argument to be shown/hidden")}function de(e,t){if(t===!0)e.classList.remove("gt-hidden");else if(t===!1)e.classList.add("gt-hidden");else if(t===void 0)e.classList.toggle("gt-hidden");else throw new Error("invalid force argument")}function X(e){Xe(e,de,!0)}function pe(e){Xe(e,de,!1)}function N(e,t){Xe(e,de,t)}function _e(e){const t=[];if(Xe(e,i=>t.push(i.classList.contains("gt-hidden"))),t.length>1)throw new Error("isElemHidden doesn't work for multiple elements");return t[0]}function qe(e){document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()}function jt(e,{viewportMarginBottom:t=0}={}){var i,r;let a=!1,u,b,w,g;function T(ot){if(!a){if(u!==ot.clientX||b!==ot.clientY){const pt=e.style.height;w&&w!==pt&&(a=!0),w=pt}u=ot.clientX,b=ot.clientY}}function W(){let ot=0,pt=e;for(;pt!==document.body&&pt!==null;)ot+=pt.offsetTop||0,pt=pt.offsetParent;const lt=ot-document.defaultView.scrollY,Dt=document.documentElement.clientHeight-(lt+e.offsetHeight);return{top:lt,bottom:Dt}}function Oe(){if(!a&&!(e.offsetWidth<=0&&e.offsetHeight<=0))try{const{top:ot,bottom:pt}=W(),lt=ot<0||pt<0,Dt=getComputedStyle(e),Et=parseFloat(Dt.borderTopWidth),ti=parseFloat(Dt.borderBottomWidth),He=Dt.boxSizing==="border-box"?Et+ti:0,si=pt<t?pt:t,Gt=parseFloat(Dt.height),An=Gt+pt-si;e.style.height="auto";let Rn=e.scrollHeight+He;lt?Rn>Gt&&(Rn=Gt):Rn=Math.min(An,Rn),e.style.height=`${Rn}px`,w=e.style.height}finally{e.selectionStart===e.selectionEnd&&e.selectionStart===e.value.length&&(e.scrollTop=e.scrollHeight)}}function Ze(){a=!1,g!==void 0?e.style.height=g:e.style.removeProperty("height")}return e.addEventListener("mousemove",T),e.addEventListener("input",Oe),(i=e.form)==null||i.addEventListener("reset",Ze),g=(r=e.style.height)!=null?r:void 0,e.value&&Oe(),{resizeToFit:Oe,destroy(){var ot;e.removeEventListener("mousemove",T),e.removeEventListener("input",Oe),(ot=e.form)==null||ot.removeEventListener("reset",Ze)}}}function _t(e){return Ue(300,e)}function wt(e,t){return new Promise(i=>{e.addEventListener("load",()=>i(!0),{once:!0}),e.addEventListener("error",()=>i(!1),{once:!0}),e.src=t})}const Zt={props:{isAdmin:{type:Boolean,required:!0},noAccessLabel:{type:String,required:!0},readLabel:{type:String,required:!0},writeLabel:{type:String,required:!0}},computed:{categories(){const e=["activitypub"];return this.isAdmin&&e.push("admin"),e.push("issue","misc","notification","organization","package","repository","user"),e}},mounted(){document.getElementById("scoped-access-submit").addEventListener("click",this.onClickSubmit)},unmounted(){document.getElementById("scoped-access-submit").removeEventListener("click",this.onClickSubmit)},methods:{onClickSubmit(e){e.preventDefault();const t=document.getElementById("scoped-access-warning");for(const i of document.getElementsByClassName("access-token-select"))if(i.value){pe(t),document.getElementById("scoped-access-form").submit();return}X(t)}}};var zt=Zt;function ki(){for(const e of document.getElementsByClassName("scoped-access-token-mount"))(0,te.createApp)({}).component("scoped-access-token-selector",Zt).mount(e)}const hi=(0,_.Z)(zt,[["render",oe]]);var Ji=null;const Si=e=>(_pushScopeId("data-v-1e09298a"),e=e(),_popScopeId(),e),Di={key:0,class:"ui two item menu"},ci={class:"ui tab active list dashboard-repos"},On={class:"ui top attached header gt-df gt-ac"},Wi={class:"gt-f1 gt-df gt-ac"},x={class:"ui grey label gt-ml-3"},P=["href","data-tooltip-content"],re={class:"ui attached segment repos-search"},Ie=["placeholder"],Ve={class:"icon"},it=["title"],nt={class:"menu"},Qt=["title"],pi=["title"],Ci={class:"ui secondary tiny pointing borderless menu center grid repos-filter"},pn={key:0,class:"ui attached table segment gt-rounded-bottom"},Zi={class:"repo-owner-name-list"},ji=["href"],Yi={class:"text truncate"},Mi={key:0},Pn=["href","data-tooltip-content"],Ti={key:0,class:"center gt-py-3 gt-border-secondary-top"},Pi={class:"ui borderless pagination menu narrow"},rn=["title"],Ai=["title"],Bi={class:"active item gt-py-2"},Vn=["title"],ls=["title"],Zn={key:1,class:"ui tab active list dashboard-orgs"},rr={class:"ui top attached header gt-df gt-ac"},vr={class:"gt-f1 gt-df gt-ac"},Yn={class:"ui grey label gt-ml-3"},br=["href","data-tooltip-content"],_n={key:0,class:"ui attached table segment gt-rounded-bottom"},ct={class:"repo-owner-name-list"},Vt=["href"],Jt={class:"text truncate"},vi={key:0,class:"ui tiny basic label"},Gi={class:"text light grey gt-df gt-ac gt-ml-3"};function vn(e,t,i,r,a,u){const b=(0,f.up)("svg-icon");return(0,f.wg)(),(0,f.iD)("div",null,[e.isOrganization?(0,f.kq)("v-if",!0):((0,f.wg)(),(0,f.iD)("div",Di,[(0,f._)("a",{class:(0,Q.normalizeClass)({item:!0,active:e.tab==="repos"}),onClick:t[0]||(t[0]=w=>e.changeTab("repos"))},(0,Q.toDisplayString)(e.textRepository),3),(0,f._)("a",{class:(0,Q.normalizeClass)({item:!0,active:e.tab==="organizations"}),onClick:t[1]||(t[1]=w=>e.changeTab("organizations"))},(0,Q.toDisplayString)(e.textOrganization),3)])),(0,f.wy)((0,f._)("div",ci,[(0,f._)("h4",On,[(0,f._)("div",Wi,[(0,f.Uk)((0,Q.toDisplayString)(e.textMyRepos)+" ",1),(0,f._)("span",x,(0,Q.toDisplayString)(e.reposTotalCount),1)]),(0,f._)("a",{class:"gt-df gt-ac muted",href:e.subUrl+"/repo/create"+(e.isOrganization?"?org="+e.organizationId:""),"data-tooltip-content":e.textNewRepo},[(0,f.Wm)(b,{name:"octicon-plus"})],8,P)]),(0,f._)("div",re,[(0,f._)("div",{class:(0,Q.normalizeClass)(["ui fluid action left icon input",{loading:e.isLoading}])},[(0,f.wy)((0,f._)("input",{type:"search",spellcheck:"false",maxlength:"255",onInput:t[2]||(t[2]=w=>e.changeReposFilter(e.reposFilter)),"onUpdate:modelValue":t[3]||(t[3]=w=>e.searchQuery=w),ref:"search",onKeydown:t[4]||(t[4]=(...w)=>e.reposFilterKeyControl&&e.reposFilterKeyControl(...w)),placeholder:e.textSearchRepos},null,40,Ie),[[te.vModelText,e.searchQuery]]),(0,f._)("i",Ve,[(0,f.Wm)(b,{name:"octicon-search",size:16})]),(0,f._)("div",{class:"ui dropdown icon button",title:e.textFilter},[(0,f.Wm)(b,{name:"octicon-filter",size:16}),(0,f._)("div",nt,[(0,f._)("a",{class:"item",onClick:t[5]||(t[5]=w=>e.toggleArchivedFilter())},[(0,f._)("div",{class:"ui checkbox",ref:"checkboxArchivedFilter",title:e.checkboxArchivedFilterTitle},[(0,f.kq)(`the "hidden" is necessary to make the checkbox work without Fomantic UI js,
otherwise if the "input" handles click event for intermediate status, it breaks the internal state`),(0,f._)("input",(0,f.dG)({type:"checkbox",class:"hidden"},e.checkboxArchivedFilterProps),null,16),(0,f._)("label",null,[(0,f.Wm)(b,{name:"octicon-archive",size:16,"class-name":"gt-mr-2"}),(0,f.Uk)(" "+(0,Q.toDisplayString)(e.textShowArchived),1)])],8,Qt)]),(0,f._)("a",{class:"item",onClick:t[6]||(t[6]=w=>e.togglePrivateFilter())},[(0,f._)("div",{class:"ui checkbox",ref:"checkboxPrivateFilter",title:e.checkboxPrivateFilterTitle},[(0,f._)("input",(0,f.dG)({type:"checkbox",class:"hidden"},e.checkboxPrivateFilterProps),null,16),(0,f._)("label",null,[(0,f.Wm)(b,{name:"octicon-lock",size:16,"class-name":"gt-mr-2"}),(0,f.Uk)(" "+(0,Q.toDisplayString)(e.textShowPrivate),1)])],8,pi)])])],8,it)],2),(0,f._)("div",Ci,[(0,f._)("a",{class:(0,Q.normalizeClass)(["item",{active:e.reposFilter==="all"}]),onClick:t[7]||(t[7]=w=>e.changeReposFilter("all"))},[(0,f.Uk)((0,Q.toDisplayString)(e.textAll)+" ",1),(0,f.wy)((0,f._)("div",{class:"ui circular mini grey label"},(0,Q.toDisplayString)(e.repoTypeCount),513),[[te.vShow,e.reposFilter==="all"]])],2),(0,f._)("a",{class:(0,Q.normalizeClass)(["item",{active:e.reposFilter==="sources"}]),onClick:t[8]||(t[8]=w=>e.changeReposFilter("sources"))},[(0,f.Uk)((0,Q.toDisplayString)(e.textSources)+" ",1),(0,f.wy)((0,f._)("div",{class:"ui circular mini grey label"},(0,Q.toDisplayString)(e.repoTypeCount),513),[[te.vShow,e.reposFilter==="sources"]])],2),(0,f._)("a",{class:(0,Q.normalizeClass)(["item",{active:e.reposFilter==="forks"}]),onClick:t[9]||(t[9]=w=>e.changeReposFilter("forks"))},[(0,f.Uk)((0,Q.toDisplayString)(e.textForks)+" ",1),(0,f.wy)((0,f._)("div",{class:"ui circular mini grey label"},(0,Q.toDisplayString)(e.repoTypeCount),513),[[te.vShow,e.reposFilter==="forks"]])],2),e.isMirrorsEnabled?((0,f.wg)(),(0,f.iD)("a",{key:0,class:(0,Q.normalizeClass)(["item",{active:e.reposFilter==="mirrors"}]),onClick:t[10]||(t[10]=w=>e.changeReposFilter("mirrors"))},[(0,f.Uk)((0,Q.toDisplayString)(e.textMirrors)+" ",1),(0,f.wy)((0,f._)("div",{class:"ui circular mini grey label"},(0,Q.toDisplayString)(e.repoTypeCount),513),[[te.vShow,e.reposFilter==="mirrors"]])],2)):(0,f.kq)("v-if",!0),(0,f._)("a",{class:(0,Q.normalizeClass)(["item",{active:e.reposFilter==="collaborative"}]),onClick:t[11]||(t[11]=w=>e.changeReposFilter("collaborative"))},[(0,f.Uk)((0,Q.toDisplayString)(e.textCollaborative)+" ",1),(0,f.wy)((0,f._)("div",{class:"ui circular mini grey label"},(0,Q.toDisplayString)(e.repoTypeCount),513),[[te.vShow,e.reposFilter==="collaborative"]])],2)])]),e.repos.length?((0,f.wg)(),(0,f.iD)("div",pn,[(0,f._)("ul",Zi,[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.repos,(w,g)=>((0,f.wg)(),(0,f.iD)("li",{class:(0,Q.normalizeClass)(["gt-df gt-ac gt-py-3",{active:g===e.activeIndex}]),key:w.id},[(0,f._)("a",{class:"repo-list-link muted",href:w.link},[(0,f.Wm)(b,{name:e.repoIcon(w),size:16,"class-name":"repo-list-icon"},null,8,["name"]),(0,f._)("div",Yi,(0,Q.toDisplayString)(w.full_name),1),w.archived?((0,f.wg)(),(0,f.iD)("div",Mi,[(0,f.Wm)(b,{name:"octicon-archive",size:16})])):(0,f.kq)("v-if",!0)],8,ji),w.latest_commit_status_state?((0,f.wg)(),(0,f.iD)("a",{key:0,class:"gt-df gt-ac",href:w.latest_commit_status_state_link,"data-tooltip-content":w.locale_latest_commit_status_state},[(0,f.kq)(" the commit status icon logic is taken from templates/repo/commit_status.tmpl "),(0,f.Wm)(b,{name:e.statusIcon(w.latest_commit_status_state),"class-name":"gt-ml-3 commit-status icon text "+e.statusColor(w.latest_commit_status_state),size:16},null,8,["name","class-name"])],8,Pn)):(0,f.kq)("v-if",!0)],2))),128))]),e.showMoreReposLink?((0,f.wg)(),(0,f.iD)("div",Ti,[(0,f._)("div",Pi,[(0,f._)("a",{class:(0,Q.normalizeClass)(["item navigation gt-py-2",{disabled:e.page===1}]),onClick:t[12]||(t[12]=w=>e.changePage(1)),title:e.textFirstPage},[(0,f.Wm)(b,{name:"gitea-double-chevron-left",size:16,"class-name":"gt-mr-2"})],10,rn),(0,f._)("a",{class:(0,Q.normalizeClass)(["item navigation gt-py-2",{disabled:e.page===1}]),onClick:t[13]||(t[13]=w=>e.changePage(e.page-1)),title:e.textPreviousPage},[(0,f.Wm)(b,{name:"octicon-chevron-left",size:16,"clsas-name":"gt-mr-2"})],10,Ai),(0,f._)("a",Bi,(0,Q.toDisplayString)(e.page),1),(0,f._)("a",{class:(0,Q.normalizeClass)(["item navigation",{disabled:e.page===e.finalPage}]),onClick:t[14]||(t[14]=w=>e.changePage(e.page+1)),title:e.textNextPage},[(0,f.Wm)(b,{name:"octicon-chevron-right",size:16,"class-name":"gt-ml-2"})],10,Vn),(0,f._)("a",{class:(0,Q.normalizeClass)(["item navigation gt-py-2",{disabled:e.page===e.finalPage}]),onClick:t[15]||(t[15]=w=>e.changePage(e.finalPage)),title:e.textLastPage},[(0,f.Wm)(b,{name:"gitea-double-chevron-right",size:16,"class-name":"gt-ml-2"})],10,ls)])])):(0,f.kq)("v-if",!0)])):(0,f.kq)("v-if",!0)],512),[[te.vShow,e.tab==="repos"]]),e.isOrganization?(0,f.kq)("v-if",!0):(0,f.wy)(((0,f.wg)(),(0,f.iD)("div",Zn,[(0,f._)("h4",rr,[(0,f._)("div",vr,[(0,f.Uk)((0,Q.toDisplayString)(e.textMyOrgs)+" ",1),(0,f._)("span",Yn,(0,Q.toDisplayString)(e.organizationsTotalCount),1)]),e.canCreateOrganization?((0,f.wg)(),(0,f.iD)("a",{key:0,class:"gt-df gt-ac muted",href:e.subUrl+"/org/create","data-tooltip-content":e.textNewOrg},[(0,f.Wm)(b,{name:"octicon-plus"})],8,br)):(0,f.kq)("v-if",!0)]),e.organizations.length?((0,f.wg)(),(0,f.iD)("div",_n,[(0,f._)("ul",ct,[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.organizations,w=>((0,f.wg)(),(0,f.iD)("li",{class:"gt-df gt-ac gt-py-3",key:w.name},[(0,f._)("a",{class:"repo-list-link muted",href:e.subUrl+"/"+encodeURIComponent(w.name)},[(0,f.Wm)(b,{name:"octicon-organization",size:16,"class-name":"repo-list-icon"}),(0,f._)("div",Jt,(0,Q.toDisplayString)(w.name),1),(0,f._)("div",null,[(0,f.kq)(" div to prevent underline of label on hover "),w.org_visibility!=="public"?((0,f.wg)(),(0,f.iD)("span",vi,(0,Q.toDisplayString)(w.org_visibility==="limited"?e.textOrgVisibilityLimited:e.textOrgVisibilityPrivate),1)):(0,f.kq)("v-if",!0)])],8,Vt),(0,f._)("div",Gi,[(0,f.Uk)((0,Q.toDisplayString)(w.num_repos)+" ",1),(0,f.Wm)(b,{name:"octicon-repo",size:16,"class-name":"gt-ml-2 gt-mt-1"})])]))),128))])])):(0,f.kq)("v-if",!0)],512)),[[te.vShow,e.tab==="organizations"]])])}var p=St("./node_modules/jquery/dist/jquery.js"),Li=St.n(p);const{fromCharCode:Cn}=String,cn=e=>{const t=[];for(let i=0,{length:r}=e;i<r;i++)t.push(Cn(e[i]));return btoa(t.join(""))},Ir=e=>e.charCodeAt(0),Dn=e=>Uint8Array.from(atob(e),Ir);var Gn=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function ts(e=""){return e?e.replace(/^.*\//,""):""}function is(e=""){const[t,i]=/.+(\.[^.]+)$/.exec(e)||[];return i||""}function Fn(e){return Object.prototype.toString.call(e)==="[object Object]"}function Fr(){return window.getComputedStyle(document.documentElement).getPropertyValue("--is-dark-theme").trim().toLowerCase()==="true"}function ns(e){return e.replace(/<[^>]*>?/g,"")}function cs(e){const t=(e||"").replace(/[#?].*$/,""),[i,r,a,u,b]=/([^/]+)\/([^/]+)\/(issues|pulls)\/([0-9]+)/.exec(t)||[];return{owner:r,repo:a,type:u,index:b}}function Vs(e){return new URL(e,e.startsWith("http")?void 0:window.location.origin)}function ie(){return document.documentElement.lang}function me(e){return new Date(Date.UTC(2022,e,12)).toLocaleString(ie(),{month:"short",timeZone:"UTC"})}function Le(e){return new Date(Date.UTC(2022,7,e)).toLocaleString(ie(),{weekday:"short",timeZone:"UTC"})}function Ge(e){return new Promise((t,i)=>{try{const r=new FileReader;r.addEventListener("load",a=>{t(a.target.result)}),r.addEventListener("error",()=>{i(new Error("FileReader failed"))}),r.readAsDataURL(e)}catch(r){i(r)}})}function Ot(e,t){return new Promise((i,r)=>Gn(this,null,function*(){try{const a=new Image,u=document.createElement("canvas");a.addEventListener("load",()=>{try{u.width=a.naturalWidth,u.height=a.naturalHeight,u.getContext("2d").drawImage(a,0,0),u.toBlob(w=>{if(!(w instanceof Blob))return r(new Error("imageBlobToPng failed"));i(w)},t)}catch(b){r(b)}}),a.addEventListener("error",()=>{r(new Error("imageBlobToPng failed"))}),a.src=yield Ge(e)}catch(a){r(a)}}))}function Bt(e){if(e.startsWith("http://")||e.startsWith("https://"))return e;if(e.startsWith("//"))return`${window.location.protocol}${e}`;if(e&&!e.startsWith("/"))throw new Error("unsupported url, it should either start with / or http(s)://");return`${window.location.origin}${e}`}function ii(e){return cn(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function Ii(e){return Dn(e.replace(/_/g,"/").replace(/-/g,"+"))}const Fi=new DOMParser,Hi=new XMLSerializer;function qi(e,t){return Fi.parseFromString(e,t)}function xn(e){return Hi.serializeToString(e)}var gn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg gitea-double-chevron-left" width="16" height="16" aria-hidden="true"><g fill-rule="evenodd"><path d="M7.91 12.77a.75.75 0 0 1-1.06 0L2.61 8.52a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 1.06L4.2 8l3.72 3.72a.75.75 0 0 1 0 1.06z"/><path d="M13.39 12.77a.75.75 0 0 1-1.06 0L8.08 8.52a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 1.06L9.67 8l3.72 3.72a.75.75 0 0 1 0 1.06z"/></g></svg>',$n='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg gitea-double-chevron-right" width="16" height="16" aria-hidden="true"><g fill-rule="evenodd"><path d="M8.09 3.23a.75.75 0 0 1 1.06 0l4.24 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.8 8 8.08 4.28a.75.75 0 0 1 0-1.06z"/><path d="M2.61 3.23a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L6.33 8 2.61 4.28a.75.75 0 0 1 0-1.06z"/></g></svg>',Dr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg gitea-empty-checkbox" width="16" height="16" aria-hidden="true"><path d="M2.75 1h10.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.5 2.75v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25H2.75a.25.25 0 0 0-.25.25Z"/></svg>',sr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="-1 -1 26 26" class="svg gitea-exclamation" width="16" height="16" aria-hidden="true"><path d="M12 15.99a2 2 0 0 0 2-2V2.03a2 2 0 0 0-4 0v11.96a2 2 0 0 0 2 2zm0 7.98a2.5 2.5 0 1 0-2.5-2.5 2.5 2.5 0 0 0 2.5 2.5z"/></svg>',Nr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-archive" width="16" height="16" aria-hidden="true"><path d="M0 2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75v1.5A1.75 1.75 0 0 1 14.25 6H1.75A1.75 1.75 0 0 1 0 4.25ZM1.75 7a.75.75 0 0 1 .75.75v5.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-5.5a.75.75 0 0 1 1.5 0v5.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25v-5.5A.75.75 0 0 1 1.75 7Zm0-4.5a.25.25 0 0 0-.25.25v1.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-1.5a.25.25 0 0 0-.25-.25ZM6.25 8h3.5a.75.75 0 0 1 0 1.5h-3.5a.75.75 0 0 1 0-1.5Z"/></svg>',js='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-arrow-switch" width="16" height="16" aria-hidden="true"><path d="M5.22 14.78a.75.75 0 0 0 1.06-1.06L4.56 12h8.69a.75.75 0 0 0 0-1.5H4.56l1.72-1.72a.75.75 0 0 0-1.06-1.06l-3 3a.75.75 0 0 0 0 1.06l3 3Zm5.56-6.5a.75.75 0 1 1-1.06-1.06l1.72-1.72H2.75a.75.75 0 0 1 0-1.5h8.69L9.72 2.28a.75.75 0 0 1 1.06-1.06l3 3a.75.75 0 0 1 0 1.06l-3 3Z"/></svg>',Ss='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-blocked" width="16" height="16" aria-hidden="true"><path d="M4.467.22a.749.749 0 0 1 .53-.22h6.006c.199 0 .389.079.53.22l4.247 4.247c.141.14.22.331.22.53v6.006a.749.749 0 0 1-.22.53l-4.247 4.247a.749.749 0 0 1-.53.22H4.997a.749.749 0 0 1-.53-.22L.22 11.533a.749.749 0 0 1-.22-.53V4.997c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.308v5.384L5.308 14.5h5.384l3.808-3.808V5.308L10.692 1.5ZM4 7.75A.75.75 0 0 1 4.75 7h6.5a.75.75 0 0 1 0 1.5h-6.5A.75.75 0 0 1 4 7.75Z"/></svg>',Xr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-bold" width="16" height="16" aria-hidden="true"><path d="M4 2h4.5a3.501 3.501 0 0 1 2.852 5.53A3.499 3.499 0 0 1 9.5 14H4a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm1 7v3h4.5a1.5 1.5 0 0 0 0-3Zm3.5-2a1.5 1.5 0 0 0 0-3H5v3Z"/></svg>',Mn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-check" width="16" height="16" aria-hidden="true"><path d="M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z"/></svg>',ge='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-checkbox" width="16" height="16" aria-hidden="true"><path d="M2.75 1h10.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.5 2.75v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25H2.75a.25.25 0 0 0-.25.25Zm9.28 3.53-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l1.47 1.47 3.97-3.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"/></svg>',Ke='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-check-circle-fill" width="16" height="16" aria-hidden="true"><path d="M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16Zm3.78-9.72a.751.751 0 0 0-.018-1.042.751.751 0 0 0-1.042-.018L6.75 9.19 5.28 7.72a.751.751 0 0 0-1.042.018.751.751 0 0 0-.018 1.042l2 2a.75.75 0 0 0 1.06 0Z"/></svg>',ut='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-chevron-down" width="16" height="16" aria-hidden="true"><path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"/></svg>',Pt='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-chevron-left" width="16" height="16" aria-hidden="true"><path d="M9.78 12.78a.75.75 0 0 1-1.06 0L4.47 8.53a.75.75 0 0 1 0-1.06l4.25-4.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L6.06 8l3.72 3.72a.75.75 0 0 1 0 1.06Z"/></svg>',It='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-chevron-right" width="16" height="16" aria-hidden="true"><path d="M6.22 3.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L9.94 8 6.22 4.28a.75.75 0 0 1 0-1.06Z"/></svg>',li='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-clock" width="16" height="16" aria-hidden="true"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm7-3.25v2.992l2.028.812a.75.75 0 0 1-.557 1.392l-2.5-1A.751.751 0 0 1 7 8.25v-3.5a.75.75 0 0 1 1.5 0Z"/></svg>',ei='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-code" width="16" height="16" aria-hidden="true"><path d="m11.28 3.22 4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734L13.94 8l-3.72-3.72a.749.749 0 0 1 .326-1.275.749.749 0 0 1 .734.215Zm-6.56 0a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L2.06 8l3.72 3.72a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L.47 8.53a.75.75 0 0 1 0-1.06Z"/></svg>',Yt='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-columns" width="16" height="16" aria-hidden="true"><path d="M2.75 0h2.5C6.216 0 7 .784 7 1.75v12.5A1.75 1.75 0 0 1 5.25 16h-2.5A1.75 1.75 0 0 1 1 14.25V1.75C1 .784 1.784 0 2.75 0Zm8 0h2.5C14.216 0 15 .784 15 1.75v12.5A1.75 1.75 0 0 1 13.25 16h-2.5A1.75 1.75 0 0 1 9 14.25V1.75C9 .784 9.784 0 10.75 0ZM2.5 1.75v12.5c0 .138.112.25.25.25h2.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-2.5a.25.25 0 0 0-.25.25Zm8 0v12.5c0 .138.112.25.25.25h2.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-2.5a.25.25 0 0 0-.25.25Z"/></svg>',En='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-copy" width="16" height="16" aria-hidden="true"><path d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25Z"/><path d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25Zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25Z"/></svg>',Qn='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-diff-added" width="16" height="16" aria-hidden="true"><path d="M2.75 1h10.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1Zm10.5 1.5H2.75a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25ZM8 4a.75.75 0 0 1 .75.75v2.5h2.5a.75.75 0 0 1 0 1.5h-2.5v2.5a.75.75 0 0 1-1.5 0v-2.5h-2.5a.75.75 0 0 1 0-1.5h2.5v-2.5A.75.75 0 0 1 8 4Z"/></svg>',dr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-diff-modified" width="16" height="16" aria-hidden="true"><path d="M13.25 1c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25ZM8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10Z"/></svg>',lr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-diff-removed" width="16" height="16" aria-hidden="true"><path d="M13.25 1c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25Zm8.5 6.25h-6.5a.75.75 0 0 1 0-1.5h6.5a.75.75 0 0 1 0 1.5Z"/></svg>',hr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-diff-renamed" width="16" height="16" aria-hidden="true"><path d="M13.25 1c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 13.25 15H2.75A1.75 1.75 0 0 1 1 13.25V2.75C1 1.784 1.784 1 2.75 1ZM2.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25V2.75a.25.25 0 0 0-.25-.25Zm9.03 6.03-3.25 3.25a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l1.97-1.97H4.75a.75.75 0 0 1 0-1.5h4.69L7.47 5.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l3.25 3.25a.75.75 0 0 1 0 1.06Z"/></svg>',Us='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-dot-fill" width="16" height="16" aria-hidden="true"><path d="M8 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z"/></svg>',Br='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-download" width="16" height="16" aria-hidden="true"><path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"/><path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z"/></svg>',lo='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-eye" width="16" height="16" aria-hidden="true"><path d="M8 2c1.981 0 3.671.992 4.933 2.078 1.27 1.091 2.187 2.345 2.637 3.023a1.62 1.62 0 0 1 0 1.798c-.45.678-1.367 1.932-2.637 3.023C11.67 13.008 9.981 14 8 14c-1.981 0-3.671-.992-4.933-2.078C1.797 10.83.88 9.576.43 8.898a1.62 1.62 0 0 1 0-1.798c.45-.677 1.367-1.931 2.637-3.022C4.33 2.992 6.019 2 8 2ZM1.679 7.932a.12.12 0 0 0 0 .136c.411.622 1.241 1.75 2.366 2.717C5.176 11.758 6.527 12.5 8 12.5c1.473 0 2.825-.742 3.955-1.715 1.124-.967 1.954-2.096 2.366-2.717a.12.12 0 0 0 0-.136c-.412-.621-1.242-1.75-2.366-2.717C10.824 4.242 9.473 3.5 8 3.5c-1.473 0-2.825.742-3.955 1.715-1.124.967-1.954 2.096-2.366 2.717ZM8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10Z"/></svg>',$s='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-file" width="16" height="16" aria-hidden="true"><path d="M2 1.75C2 .784 2.784 0 3.75 0h6.586c.464 0 .909.184 1.237.513l2.914 2.914c.329.328.513.773.513 1.237v9.586A1.75 1.75 0 0 1 13.25 16h-9.5A1.75 1.75 0 0 1 2 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25h9.5a.25.25 0 0 0 .25-.25V6h-2.75A1.75 1.75 0 0 1 9 4.25V1.5Zm6.75.062V4.25c0 .138.112.25.25.25h2.688l-.011-.013-2.914-2.914-.013-.011Z"/></svg>',Ao='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-file-directory-fill" width="16" height="16" aria-hidden="true"><path d="M1.75 1A1.75 1.75 0 0 0 0 2.75v10.5C0 14.216.784 15 1.75 15h12.5A1.75 1.75 0 0 0 16 13.25v-8.5A1.75 1.75 0 0 0 14.25 3H7.5a.25.25 0 0 1-.2-.1l-.9-1.2C6.07 1.26 5.55 1 5 1H1.75Z"/></svg>',rs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-filter" width="16" height="16" aria-hidden="true"><path d="M.75 3h14.5a.75.75 0 0 1 0 1.5H.75a.75.75 0 0 1 0-1.5ZM3 7.75A.75.75 0 0 1 3.75 7h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 3 7.75Zm3 4a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"/></svg>',wo='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-gear" width="16" height="16" aria-hidden="true"><path d="M8 0a8.2 8.2 0 0 1 .701.031C9.444.095 9.99.645 10.16 1.29l.288 1.107c.018.066.079.158.212.224.231.114.454.243.668.386.123.082.233.09.299.071l1.103-.303c.644-.176 1.392.021 1.82.63.27.385.506.792.704 1.218.315.675.111 1.422-.364 1.891l-.814.806c-.049.048-.098.147-.088.294.016.257.016.515 0 .772-.01.147.038.246.088.294l.814.806c.475.469.679 1.216.364 1.891a7.977 7.977 0 0 1-.704 1.217c-.428.61-1.176.807-1.82.63l-1.102-.302c-.067-.019-.177-.011-.3.071a5.909 5.909 0 0 1-.668.386c-.133.066-.194.158-.211.224l-.29 1.106c-.168.646-.715 1.196-1.458 1.26a8.006 8.006 0 0 1-1.402 0c-.743-.064-1.289-.614-1.458-1.26l-.289-1.106c-.018-.066-.079-.158-.212-.224a5.738 5.738 0 0 1-.668-.386c-.123-.082-.233-.09-.299-.071l-1.103.303c-.644.176-1.392-.021-1.82-.63a8.12 8.12 0 0 1-.704-1.218c-.315-.675-.111-1.422.363-1.891l.815-.806c.05-.048.098-.147.088-.294a6.214 6.214 0 0 1 0-.772c.01-.147-.038-.246-.088-.294l-.815-.806C.635 6.045.431 5.298.746 4.623a7.92 7.92 0 0 1 .704-1.217c.428-.61 1.176-.807 1.82-.63l1.102.302c.067.019.177.011.3-.071.214-.143.437-.272.668-.386.133-.066.194-.158.211-.224l.29-1.106C6.009.645 6.556.095 7.299.03 7.53.01 7.764 0 8 0Zm-.571 1.525c-.036.003-.108.036-.137.146l-.289 1.105c-.147.561-.549.967-.998 1.189-.173.086-.34.183-.5.29-.417.278-.97.423-1.529.27l-1.103-.303c-.109-.03-.175.016-.195.045-.22.312-.412.644-.573.99-.014.031-.021.11.059.19l.815.806c.411.406.562.957.53 1.456a4.709 4.709 0 0 0 0 .582c.032.499-.119 1.05-.53 1.456l-.815.806c-.081.08-.073.159-.059.19.162.346.353.677.573.989.02.03.085.076.195.046l1.102-.303c.56-.153 1.113-.008 1.53.27.161.107.328.204.501.29.447.222.85.629.997 1.189l.289 1.105c.029.109.101.143.137.146a6.6 6.6 0 0 0 1.142 0c.036-.003.108-.036.137-.146l.289-1.105c.147-.561.549-.967.998-1.189.173-.086.34-.183.5-.29.417-.278.97-.423 1.529-.27l1.103.303c.109.029.175-.016.195-.045.22-.313.411-.644.573-.99.014-.031.021-.11-.059-.19l-.815-.806c-.411-.406-.562-.957-.53-1.456a4.709 4.709 0 0 0 0-.582c-.032-.499.119-1.05.53-1.456l.815-.806c.081-.08.073-.159.059-.19a6.464 6.464 0 0 0-.573-.989c-.02-.03-.085-.076-.195-.046l-1.102.303c-.56.153-1.113.008-1.53-.27a4.44 4.44 0 0 0-.501-.29c-.447-.222-.85-.629-.997-1.189l-.289-1.105c-.029-.11-.101-.143-.137-.146a6.6 6.6 0 0 0-1.142 0ZM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9.5 8a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 9.5 8Z"/></svg>',Oo='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-git-branch" width="16" height="16" aria-hidden="true"><path d="M9.5 3.25a2.25 2.25 0 1 1 3 2.122V6A2.5 2.5 0 0 1 10 8.5H6a1 1 0 0 0-1 1v1.128a2.251 2.251 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.5 0v1.836A2.493 2.493 0 0 1 6 7h4a1 1 0 0 0 1-1v-.628A2.25 2.25 0 0 1 9.5 3.25Zm-6 0a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Zm8.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM4.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/></svg>',ba='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-git-commit" width="16" height="16" aria-hidden="true"><path d="M11.93 8.5a4.002 4.002 0 0 1-7.86 0H.75a.75.75 0 0 1 0-1.5h3.32a4.002 4.002 0 0 1 7.86 0h3.32a.75.75 0 0 1 0 1.5Zm-1.43-.75a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"/></svg>',Gs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-git-merge" width="16" height="16" aria-hidden="true"><path d="M5.45 5.154A4.25 4.25 0 0 0 9.25 7.5h1.378a2.251 2.251 0 1 1 0 1.5H9.25A5.734 5.734 0 0 1 5 7.123v3.505a2.25 2.25 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.95-.218ZM4.25 13.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm8.5-4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM5 3.25a.75.75 0 1 0 0 .005V3.25Z"/></svg>',xo='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-git-pull-request" width="16" height="16" aria-hidden="true"><path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z"/></svg>',Ro='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-heading" width="16" height="16" aria-hidden="true"><path d="M3.75 2a.75.75 0 0 1 .75.75V7h7V2.75a.75.75 0 0 1 1.5 0v10.5a.75.75 0 0 1-1.5 0V8.5h-7v4.75a.75.75 0 0 1-1.5 0V2.75A.75.75 0 0 1 3.75 2Z"/></svg>',Ws='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-horizontal-rule" width="16" height="16" aria-hidden="true"><path d="M0 7.75A.75.75 0 0 1 .75 7h14.5a.75.75 0 0 1 0 1.5H.75A.75.75 0 0 1 0 7.75Z"/></svg>',ca='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-image" width="16" height="16" aria-hidden="true"><path d="M16 13.25A1.75 1.75 0 0 1 14.25 15H1.75A1.75 1.75 0 0 1 0 13.25V2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75ZM1.75 2.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h.94l.03-.03 6.077-6.078a1.75 1.75 0 0 1 2.412-.06L14.5 10.31V2.75a.25.25 0 0 0-.25-.25Zm12.5 11a.25.25 0 0 0 .25-.25v-.917l-4.298-3.889a.25.25 0 0 0-.344.009L4.81 13.5ZM7 6a2 2 0 1 1-3.999.001A2 2 0 0 1 7 6ZM5.5 6a.5.5 0 1 0-1 0 .5.5 0 0 0 1 0Z"/></svg>',ya='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-issue-closed" width="16" height="16" aria-hidden="true"><path d="M11.28 6.78a.75.75 0 0 0-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l3.5-3.5Z"/><path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 1 0-13 0 6.5 6.5 0 0 0 13 0Z"/></svg>',us='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-issue-opened" width="16" height="16" aria-hidden="true"><path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Z"/></svg>',co='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-italic" width="16" height="16" aria-hidden="true"><path d="M6 2.75A.75.75 0 0 1 6.75 2h6.5a.75.75 0 0 1 0 1.5h-2.505l-3.858 9H9.25a.75.75 0 0 1 0 1.5h-6.5a.75.75 0 0 1 0-1.5h2.505l3.858-9H6.75A.75.75 0 0 1 6 2.75Z"/></svg>',Xs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-kebab-horizontal" width="16" height="16" aria-hidden="true"><path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/></svg>',uo='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-link" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"/></svg>',yr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-list-ordered" width="16" height="16" aria-hidden="true"><path d="M5 3.25a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 3.25Zm0 5a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5A.75.75 0 0 1 5 8.25Zm0 5a.75.75 0 0 1 .75-.75h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1-.75-.75ZM.924 10.32a.5.5 0 0 1-.851-.525l.001-.001.001-.002.002-.004.007-.011c.097-.144.215-.273.348-.384.228-.19.588-.392 1.068-.392.468 0 .858.181 1.126.484.259.294.377.673.377 1.038 0 .987-.686 1.495-1.156 1.845l-.047.035c-.303.225-.522.4-.654.597h1.357a.5.5 0 0 1 0 1H.5a.5.5 0 0 1-.5-.5c0-1.005.692-1.52 1.167-1.875l.035-.025c.531-.396.8-.625.8-1.078a.57.57 0 0 0-.128-.376C1.806 10.068 1.695 10 1.5 10a.658.658 0 0 0-.429.163.835.835 0 0 0-.144.153ZM2.003 2.5V6h.503a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1h.503V3.308l-.28.14a.5.5 0 0 1-.446-.895l1.003-.5a.5.5 0 0 1 .723.447Z"/></svg>',jo='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-list-unordered" width="16" height="16" aria-hidden="true"><path d="M5.75 2.5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5Zm0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5Zm0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5ZM2 14a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-6a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM2 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"/></svg>',Tr='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-lock" width="16" height="16" aria-hidden="true"><path d="M4 4a4 4 0 0 1 8 0v2h.25c.966 0 1.75.784 1.75 1.75v5.5A1.75 1.75 0 0 1 12.25 15h-8.5A1.75 1.75 0 0 1 2 13.25v-5.5C2 6.784 2.784 6 3.75 6H4Zm8.25 3.5h-8.5a.25.25 0 0 0-.25.25v5.5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25ZM10.5 6V4a2.5 2.5 0 1 0-5 0v2Z"/></svg>',ua='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-meter" width="16" height="16" aria-hidden="true"><path d="M8 1.5a6.5 6.5 0 1 0 6.016 4.035.75.75 0 0 1 1.388-.57 8 8 0 1 1-4.37-4.37.75.75 0 1 1-.569 1.389A6.473 6.473 0 0 0 8 1.5Zm6.28.22a.75.75 0 0 1 0 1.06l-4.063 4.064a2.5 2.5 0 1 1-1.06-1.06L13.22 1.72a.75.75 0 0 1 1.06 0ZM7 8a1 1 0 1 0 2 0 1 1 0 0 0-2 0Z"/></svg>',Zo='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-milestone" width="16" height="16" aria-hidden="true"><path d="M7.75 0a.75.75 0 0 1 .75.75V3h3.634c.414 0 .814.147 1.13.414l2.07 1.75a1.75 1.75 0 0 1 0 2.672l-2.07 1.75a1.75 1.75 0 0 1-1.13.414H8.5v5.25a.75.75 0 0 1-1.5 0V10H2.75A1.75 1.75 0 0 1 1 8.25v-3.5C1 3.784 1.784 3 2.75 3H7V.75A.75.75 0 0 1 7.75 0Zm4.384 8.5a.25.25 0 0 0 .161-.06l2.07-1.75a.248.248 0 0 0 0-.38l-2.07-1.75a.25.25 0 0 0-.161-.06H2.75a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h9.384Z"/></svg>',ss='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-mirror" width="16" height="16" aria-hidden="true"><path d="M15.547 3.061A.75.75 0 0 1 16 3.75v8.5a.751.751 0 0 1-1.265.545l-4.5-4.25a.75.75 0 0 1 0-1.09l4.5-4.25a.75.75 0 0 1 .812-.144ZM0 12.25v-8.5a.751.751 0 0 1 1.265-.545l4.5 4.25a.75.75 0 0 1 0 1.09l-4.5 4.25A.75.75 0 0 1 0 12.25Zm1.5-6.76v5.02L4.158 8ZM11.842 8l2.658 2.51V5.49ZM8 4a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0v-.5A.75.75 0 0 1 8 4Zm.75-2.25v.5a.75.75 0 0 1-1.5 0v-.5a.75.75 0 0 1 1.5 0Zm0 6v.5a.75.75 0 0 1-1.5 0v-.5a.75.75 0 0 1 1.5 0ZM8 10a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0v-.5A.75.75 0 0 1 8 10Zm0 3a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-1.5 0v-.5A.75.75 0 0 1 8 13Z"/></svg>',Yo='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-organization" width="16" height="16" aria-hidden="true"><path d="M1.75 16A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0h8.5C11.216 0 12 .784 12 1.75v12.5c0 .085-.006.168-.018.25h2.268a.25.25 0 0 0 .25-.25V8.285a.25.25 0 0 0-.111-.208l-1.055-.703a.749.749 0 1 1 .832-1.248l1.055.703c.487.325.779.871.779 1.456v5.965A1.75 1.75 0 0 1 14.25 16h-3.5a.766.766 0 0 1-.197-.026c-.099.017-.2.026-.303.026h-3a.75.75 0 0 1-.75-.75V14h-1v1.25a.75.75 0 0 1-.75.75Zm-.25-1.75c0 .138.112.25.25.25H4v-1.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 .75.75v1.25h2.25a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25h-8.5a.25.25 0 0 0-.25.25ZM3.75 6h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5ZM3 3.75A.75.75 0 0 1 3.75 3h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 3.75Zm4 3A.75.75 0 0 1 7.75 6h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 7 6.75ZM7.75 3h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5ZM3 9.75A.75.75 0 0 1 3.75 9h.5a.75.75 0 0 1 0 1.5h-.5A.75.75 0 0 1 3 9.75ZM7.75 9h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1 0-1.5Z"/></svg>',Js='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-play" width="16" height="16" aria-hidden="true"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm4.879-2.773 4.264 2.559a.25.25 0 0 1 0 .428l-4.264 2.559A.25.25 0 0 1 6 10.559V5.442a.25.25 0 0 1 .379-.215Z"/></svg>',_a='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-plus" width="16" height="16" aria-hidden="true"><path d="M7.75 2a.75.75 0 0 1 .75.75V7h4.25a.75.75 0 0 1 0 1.5H8.5v4.25a.75.75 0 0 1-1.5 0V8.5H2.75a.75.75 0 0 1 0-1.5H7V2.75A.75.75 0 0 1 7.75 2Z"/></svg>',zs='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-project" width="16" height="16" aria-hidden="true"><path d="M1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0ZM1.5 1.75v12.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25ZM11.75 3a.75.75 0 0 1 .75.75v7.5a.75.75 0 0 1-1.5 0v-7.5a.75.75 0 0 1 .75-.75Zm-8.25.75a.75.75 0 0 1 1.5 0v5.5a.75.75 0 0 1-1.5 0ZM8 3a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 3Z"/></svg>',Po='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-quote" width="16" height="16" aria-hidden="true"><path d="M1.75 2.5h10.5a.75.75 0 0 1 0 1.5H1.75a.75.75 0 0 1 0-1.5Zm4 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5Zm0 5h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5ZM2.5 7.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 1.5 0Z"/></svg>',Go='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-repo" width="16" height="16" aria-hidden="true"><path d="M2 2.5A2.5 2.5 0 0 1 4.5 0h8.75a.75.75 0 0 1 .75.75v12.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-8a1 1 0 0 0-.714 1.7.75.75 0 1 1-1.072 1.05A2.495 2.495 0 0 1 2 11.5Zm10.5-1h-8a1 1 0 0 0-1 1v6.708A2.486 2.486 0 0 1 4.5 9h8ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2Z"/></svg>',qa='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-repo-forked" width="16" height="16" aria-hidden="true"><path d="M5 5.372v.878c0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75v-.878a2.25 2.25 0 1 1 1.5 0v.878a2.25 2.25 0 0 1-2.25 2.25h-1.5v2.128a2.251 2.251 0 1 1-1.5 0V8.5h-1.5A2.25 2.25 0 0 1 3.5 6.25v-.878a2.25 2.25 0 1 1 1.5 0ZM5 3.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-3 8.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"/></svg>',Ka='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-repo-template" width="16" height="16" aria-hidden="true"><path d="M13.25 8a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5h1.75v-2h-.75a.75.75 0 0 1 0-1.5h.75v-.25a.75.75 0 0 1 .75-.75ZM5 12.25a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.25a.25.25 0 0 1-.4.2l-1.45-1.087a.249.249 0 0 0-.3 0L5.4 15.7a.25.25 0 0 1-.4-.2ZM2.75 8a.75.75 0 0 1 .75.75v.268c.083-.012.166-.018.25-.018h.5a.75.75 0 0 1 0 1.5h-.5a.25.25 0 0 0-.25.25v.75c0 .28.114.532.3.714a.75.75 0 1 1-1.05 1.072A2.495 2.495 0 0 1 2 11.5V8.75A.75.75 0 0 1 2.75 8ZM11 .75a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0V1.5h-.75A.75.75 0 0 1 11 .75Zm-5 0A.75.75 0 0 1 6.75 0h2.5a.75.75 0 0 1 0 1.5h-2.5A.75.75 0 0 1 6 .75Zm0 9A.75.75 0 0 1 6.75 9h2.5a.75.75 0 0 1 0 1.5h-2.5A.75.75 0 0 1 6 9.75ZM4.992.662a.75.75 0 0 1-.636.848c-.436.063-.783.41-.846.846a.751.751 0 0 1-1.485-.212A2.501 2.501 0 0 1 4.144.025a.75.75 0 0 1 .848.637ZM2.75 4a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 2.75 4Zm10.5 0a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5a.75.75 0 0 1 .75-.75Z"/></svg>',Za='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-rss" width="16" height="16" aria-hidden="true"><path d="M2.002 2.725a.75.75 0 0 1 .797-.699C8.79 2.42 13.58 7.21 13.974 13.201a.75.75 0 0 1-1.497.098 10.502 10.502 0 0 0-9.776-9.776.747.747 0 0 1-.7-.798ZM2.84 7.05h-.002a7.002 7.002 0 0 1 6.113 6.111.75.75 0 0 1-1.49.178 5.503 5.503 0 0 0-4.8-4.8.75.75 0 0 1 .179-1.489ZM2 13a1 1 0 1 1 2 0 1 1 0 0 1-2 0Z"/></svg>',l='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-screen-full" width="16" height="16" aria-hidden="true"><path d="M1.75 10a.75.75 0 0 1 .75.75v2.5c0 .138.112.25.25.25h2.5a.75.75 0 0 1 0 1.5h-2.5A1.75 1.75 0 0 1 1 13.25v-2.5a.75.75 0 0 1 .75-.75Zm12.5 0a.75.75 0 0 1 .75.75v2.5A1.75 1.75 0 0 1 13.25 15h-2.5a.75.75 0 0 1 0-1.5h2.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 .75-.75ZM2.75 2.5a.25.25 0 0 0-.25.25v2.5a.75.75 0 0 1-1.5 0v-2.5C1 1.784 1.784 1 2.75 1h2.5a.75.75 0 0 1 0 1.5ZM10 1.75a.75.75 0 0 1 .75-.75h2.5c.966 0 1.75.784 1.75 1.75v2.5a.75.75 0 0 1-1.5 0v-2.5a.25.25 0 0 0-.25-.25h-2.5a.75.75 0 0 1-.75-.75Z"/></svg>',m='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-search" width="16" height="16" aria-hidden="true"><path d="M10.68 11.74a6 6 0 0 1-7.922-8.982 6 6 0 0 1 8.982 7.922l3.04 3.04a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215ZM11.5 7a4.499 4.499 0 1 0-8.997 0A4.499 4.499 0 0 0 11.5 7Z"/></svg>',E='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-sidebar-collapse" width="16" height="16" aria-hidden="true"><path d="M6.823 7.823a.25.25 0 0 1 0 .354l-2.396 2.396A.25.25 0 0 1 4 10.396V5.604a.25.25 0 0 1 .427-.177Z"/><path d="M1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75C0 .784.784 0 1.75 0ZM1.5 1.75v12.5c0 .138.112.25.25.25H9.5v-13H1.75a.25.25 0 0 0-.25.25ZM11 14.5h3.25a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H11Z"/></svg>',M='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-sidebar-expand" width="16" height="16" aria-hidden="true"><path d="m4.177 7.823 2.396-2.396A.25.25 0 0 1 7 5.604v4.792a.25.25 0 0 1-.427.177L4.177 8.177a.25.25 0 0 1 0-.354Z"/><path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25Zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25H9.5v-13Zm12.5 13a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25H11v13Z"/></svg>',Y='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-skip" width="16" height="16" aria-hidden="true"><path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0ZM1.5 8a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm9.78-2.22-5.5 5.5a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l5.5-5.5a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"/></svg>',G='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-star" width="16" height="16" aria-hidden="true"><path d="M8 .25a.75.75 0 0 1 .673.418l1.882 3.815 4.21.612a.75.75 0 0 1 .416 1.279l-3.046 2.97.719 4.192a.751.751 0 0 1-1.088.791L8 12.347l-3.766 1.98a.75.75 0 0 1-1.088-.79l.72-4.194L.818 6.374a.75.75 0 0 1 .416-1.28l4.21-.611L7.327.668A.75.75 0 0 1 8 .25Zm0 2.445L6.615 5.5a.75.75 0 0 1-.564.41l-3.097.45 2.24 2.184a.75.75 0 0 1 .216.664l-.528 3.084 2.769-1.456a.75.75 0 0 1 .698 0l2.77 1.456-.53-3.084a.75.75 0 0 1 .216-.664l2.24-2.183-3.096-.45a.75.75 0 0 1-.564-.41L8 2.694Z"/></svg>',ae='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-strikethrough" width="16" height="16" aria-hidden="true"><path d="M11.055 8.5c.524.536.815 1.257.811 2.007a3.133 3.133 0 0 1-1.12 2.408C9.948 13.597 8.748 14 7.096 14c-1.706 0-3.104-.607-3.902-1.377a.751.751 0 0 1 1.042-1.079c.48.463 1.487.956 2.86.956 1.422 0 2.232-.346 2.676-.726.435-.372.594-.839.594-1.267 0-.472-.208-.857-.647-1.197-.448-.346-1.116-.623-1.951-.81H1.75a.75.75 0 0 1 0-1.5h12.5a.75.75 0 0 1 0 1.5ZM7.581 3.25c-2.036 0-2.778 1.082-2.778 1.786 0 .055.002.107.006.157a.75.75 0 0 1-1.496.114 3.506 3.506 0 0 1-.01-.271c0-1.832 1.75-3.286 4.278-3.286 1.418 0 2.721.58 3.514 1.093a.75.75 0 1 1-.814 1.26c-.64-.414-1.662-.853-2.7-.853Z"/></svg>',Me='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-sync" width="16" height="16" aria-hidden="true"><path d="M1.705 8.005a.75.75 0 0 1 .834.656 5.5 5.5 0 0 0 9.592 2.97l-1.204-1.204a.25.25 0 0 1 .177-.427h3.646a.25.25 0 0 1 .25.25v3.646a.25.25 0 0 1-.427.177l-1.38-1.38A7.002 7.002 0 0 1 1.05 8.84a.75.75 0 0 1 .656-.834ZM8 2.5a5.487 5.487 0 0 0-4.131 1.869l1.204 1.204A.25.25 0 0 1 4.896 6H1.25A.25.25 0 0 1 1 5.75V2.104a.25.25 0 0 1 .427-.177l1.38 1.38A7.002 7.002 0 0 1 14.95 7.16a.75.75 0 0 1-1.49.178A5.5 5.5 0 0 0 8 2.5Z"/></svg>',Pe='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-table" width="16" height="16" aria-hidden="true"><path d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25ZM6.5 6.5v8h7.75a.25.25 0 0 0 .25-.25V6.5Zm8-1.5V1.75a.25.25 0 0 0-.25-.25H6.5V5Zm-13 1.5v7.75c0 .138.112.25.25.25H5v-8ZM5 5V1.5H1.75a.25.25 0 0 0-.25.25V5Z"/></svg>',tt='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-tag" width="16" height="16" aria-hidden="true"><path d="M1 7.775V2.75C1 1.784 1.784 1 2.75 1h5.025c.464 0 .91.184 1.238.513l6.25 6.25a1.75 1.75 0 0 1 0 2.474l-5.026 5.026a1.75 1.75 0 0 1-2.474 0l-6.25-6.25A1.752 1.752 0 0 1 1 7.775Zm1.5 0c0 .066.026.13.073.177l6.25 6.25a.25.25 0 0 0 .354 0l5.025-5.025a.25.25 0 0 0 0-.354l-6.25-6.25a.25.25 0 0 0-.177-.073H2.75a.25.25 0 0 0-.25.25ZM6 5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z"/></svg>',Ct='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-triangle-down" width="16" height="16" aria-hidden="true"><path d="m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z"/></svg>',xt='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-x" width="16" height="16" aria-hidden="true"><path d="M3.72 3.72a.75.75 0 0 1 1.06 0L8 6.94l3.22-3.22a.749.749 0 0 1 1.275.326.749.749 0 0 1-.215.734L9.06 8l3.22 3.22a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8 9.06l-3.22 3.22a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042L6.94 8 3.72 4.78a.75.75 0 0 1 0-1.06Z"/></svg>',ht='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="svg octicon-x-circle-fill" width="16" height="16" aria-hidden="true"><path d="M2.343 13.657A8 8 0 1 1 13.658 2.343 8 8 0 0 1 2.343 13.657ZM6.03 4.97a.751.751 0 0 0-1.042.018.751.751 0 0 0-.018 1.042L6.94 8 4.97 9.97a.749.749 0 0 0 .326 1.275.749.749 0 0 0 .734-.215L8 9.06l1.97 1.97a.749.749 0 0 0 1.275-.326.749.749 0 0 0-.215-.734L9.06 8l1.97-1.97a.749.749 0 0 0-.326-1.275.749.749 0 0 0-.734.215L8 6.94Z"/></svg>',$t=Object.defineProperty,sn=Object.defineProperties,Tn=Object.getOwnPropertyDescriptors,un=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,fs=(e,t,i)=>t in e?$t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Jr=(e,t)=>{for(var i in t||(t={}))or.call(t,i)&&fs(e,i,t[i]);if(un)for(var i of un(t))_r.call(t,i)&&fs(e,i,t[i]);return e},Ki=(e,t)=>sn(e,Tn(t));const Hr={"gitea-double-chevron-left":gn,"gitea-double-chevron-right":$n,"gitea-empty-checkbox":Dr,"gitea-exclamation":sr,"octicon-archive":Nr,"octicon-arrow-switch":js,"octicon-blocked":Ss,"octicon-bold":Xr,"octicon-check":Mn,"octicon-check-circle-fill":Ke,"octicon-checkbox":ge,"octicon-chevron-down":ut,"octicon-chevron-left":Pt,"octicon-chevron-right":It,"octicon-clock":li,"octicon-code":ei,"octicon-columns":Yt,"octicon-copy":En,"octicon-diff-added":Qn,"octicon-diff-modified":dr,"octicon-diff-removed":lr,"octicon-diff-renamed":hr,"octicon-dot-fill":Us,"octicon-download":Br,"octicon-eye":lo,"octicon-file":$s,"octicon-file-directory-fill":Ao,"octicon-filter":rs,"octicon-gear":wo,"octicon-git-branch":Oo,"octicon-git-commit":ba,"octicon-git-merge":Gs,"octicon-git-pull-request":xo,"octicon-heading":Ro,"octicon-horizontal-rule":Ws,"octicon-image":ca,"octicon-issue-closed":ya,"octicon-issue-opened":us,"octicon-italic":co,"octicon-kebab-horizontal":Xs,"octicon-link":uo,"octicon-list-ordered":yr,"octicon-list-unordered":jo,"octicon-lock":Tr,"octicon-meter":ua,"octicon-milestone":Zo,"octicon-mirror":ss,"octicon-organization":Yo,"octicon-play":Js,"octicon-plus":_a,"octicon-project":zs,"octicon-quote":Po,"octicon-repo":Go,"octicon-repo-forked":qa,"octicon-repo-template":Ka,"octicon-rss":Za,"octicon-screen-full":l,"octicon-search":m,"octicon-sidebar-collapse":E,"octicon-sidebar-expand":M,"octicon-skip":Y,"octicon-star":G,"octicon-strikethrough":ae,"octicon-sync":Me,"octicon-table":Pe,"octicon-tag":tt,"octicon-triangle-down":Ct,"octicon-x":xt,"octicon-x-circle-fill":ht};function Ht(e,t=16,i=""){if(!(e in Hr))throw new Error(`Unknown SVG icon: ${e}`);if(t===16&&!i)return Hr[e];const a=qi(Hr[e],"image/svg+xml").firstChild;return t!==16&&(a.setAttribute("width",String(t)),a.setAttribute("height",String(t))),i&&a.classList.add(...i.split(/\s+/).filter(Boolean)),xn(a)}function er(e){const t=Hr[e];if(!t)throw new Error(`Unknown SVG icon: ${e}`);const i=t.indexOf(">"),r=t.lastIndexOf("<");if(i===-1||r===-1)throw new Error(`Invalid SVG icon: ${e}`);const a=t.slice(i+1,r),u=t.slice(0,i+1)+t.slice(r);return{svgOuter:qi(u,"image/svg+xml").firstChild,svgInnerHtml:a}}const vs={name:"SvgIcon",props:{name:{type:String,required:!0},size:{type:Number,default:16},className:{type:String,default:""},symbolId:{type:String}},render(){let{svgOuter:e,svgInnerHtml:t}=er(this.name);const i={};for(const a of e.attributes)a.name!=="class"&&(i[`^${a.name}`]=a.value);i["^width"]=this.size,i["^height"]=this.size;const r=[];for(const a of e.classList)r.push(a);return this.className&&r.push(...this.className.split(/\s+/).filter(Boolean)),this.symbolId&&(r.push("gt-hidden","svg-symbol-container"),t=`<symbol id="${this.symbolId}" viewBox="${i["^viewBox"]}">${t}</symbol>`),(0,f.h)("svg",Ki(Jr({},i),{class:r,innerHTML:t}))}};var Do=Object.defineProperty,ds=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,Wr=(e,t,i)=>t in e?Do(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Jn=(e,t)=>{for(var i in t||(t={}))qs.call(t,i)&&Wr(e,i,t[i]);if(ds)for(var i of ds(t))Xn.call(t,i)&&Wr(e,i,t[i]);return e},wr=(e,t)=>{var i={};for(var r in e)qs.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&ds)for(var r of ds(e))t.indexOf(r)<0&&Xn.call(e,r)&&(i[r]=e[r]);return i};const{csrfToken:Mo}=window.config,bs=new Set(["GET","HEAD","OPTIONS","TRACE"]);function Vr(e,t={}){var i=t,{method:r="GET",headers:a={},data:u,body:b}=i,w=wr(i,["method","headers","data","body"]);let g;b||(u instanceof FormData||u instanceof URLSearchParams?b=u:(Fn(u)||Array.isArray(u))&&(g="application/json",b=JSON.stringify(u)));const T=new Headers(Jn(Jn({},!bs.has(r.toUpperCase())&&{"x-csrf-token":Mo}),g&&{"content-type":g}));for(const[W,Oe]of Object.entries(a))T.set(W,Oe);return fetch(e,Jn(Jn({method:r,headers:T},b&&{body:b}),w))}const zr=(e,t)=>Vr(e,Jn({method:"GET"},t)),Or=(e,t)=>Vr(e,Jn({method:"POST"},t)),Mr=(e,t)=>Vr(e,Jn({method:"PATCH"},t)),Ln=(e,t)=>Vr(e,Jn({method:"PUT"},t)),Ks=(e,t)=>Vr(e,Jn({method:"DELETE"},t));var Cs=Object.defineProperty,Qs=Object.defineProperties,Ls=Object.getOwnPropertyDescriptors,fo=Object.getOwnPropertySymbols,ho=Object.prototype.hasOwnProperty,Zs=Object.prototype.propertyIsEnumerable,So=(e,t,i)=>t in e?Cs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Ts=(e,t)=>{for(var i in t||(t={}))ho.call(t,i)&&So(e,i,t[i]);if(fo)for(var i of fo(t))Zs.call(t,i)&&So(e,i,t[i]);return e},eo=(e,t)=>Qs(e,Ls(t)),po=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{appSubUrl:Lo,assetUrlPrefix:pr,pageData:Io}=window.config,Fo={pending:{name:"octicon-dot-fill",color:"yellow"},success:{name:"octicon-check",color:"green"},error:{name:"gitea-exclamation",color:"red"},failure:{name:"octicon-x",color:"red"},warning:{name:"gitea-exclamation",color:"yellow"}},mo={components:{SvgIcon:vs},data(){const e=new URLSearchParams(window.location.search),t=e.get("repo-search-tab")||"repos",i=e.get("repo-search-filter")||"all",r=e.get("repo-search-private")||"both",a=e.get("repo-search-archived")||"unarchived",u=e.get("repo-search-query")||"",b=Number(e.get("repo-search-page"))||1;return eo(Ts({tab:t,repos:[],reposTotalCount:0,reposFilter:i,archivedFilter:a,privateFilter:r,page:b,finalPage:1,searchQuery:u,isLoading:!1,staticPrefix:pr,counts:{},repoTypes:{all:{searchMode:""},forks:{searchMode:"fork"},mirrors:{searchMode:"mirror"},sources:{searchMode:"source"},collaborative:{searchMode:"collaborative"}},textArchivedFilterTitles:{},textPrivateFilterTitles:{},organizations:[],isOrganization:!0,canCreateOrganization:!1,organizationsTotalCount:0,organizationId:0,subUrl:Lo},Io.dashboardRepoList),{activeIndex:-1})},computed:{showMoreReposLink(){return this.repos.length>0&&this.repos.length<this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]},searchURL(){return`${this.subUrl}/repo/search?sort=updated&order=desc&uid=${this.uid}&team_id=${this.teamId}&q=${this.searchQuery}&page=${this.page}&limit=${this.searchLimit}&mode=${this.repoTypes[this.reposFilter].searchMode}${this.reposFilter!=="all"?"&exclusive=1":""}${this.archivedFilter==="archived"?"&archived=true":""}${this.archivedFilter==="unarchived"?"&archived=false":""}${this.privateFilter==="private"?"&is_private=true":""}${this.privateFilter==="public"?"&is_private=false":""}`},repoTypeCount(){return this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]},checkboxArchivedFilterTitle(){return this.textArchivedFilterTitles[this.archivedFilter]},checkboxArchivedFilterProps(){return{checked:this.archivedFilter==="archived",indeterminate:this.archivedFilter==="both"}},checkboxPrivateFilterTitle(){return this.textPrivateFilterTitles[this.privateFilter]},checkboxPrivateFilterProps(){return{checked:this.privateFilter==="private",indeterminate:this.privateFilter==="both"}}},mounted(){const e=document.getElementById("dashboard-repo-list");this.changeReposFilter(this.reposFilter),Li()(e).find(".dropdown").dropdown(),(0,f.Y3)(()=>{this.$refs.search.focus()}),this.textArchivedFilterTitles={archived:this.textShowOnlyArchived,unarchived:this.textShowOnlyUnarchived,both:this.textShowBothArchivedUnarchived},this.textPrivateFilterTitles={private:this.textShowOnlyPrivate,public:this.textShowOnlyPublic,both:this.textShowBothPrivatePublic}},methods:{changeTab(e){this.tab=e,this.updateHistory()},changeReposFilter(e){this.reposFilter=e,this.repos=[],this.page=1,this.counts[`${e}:${this.archivedFilter}:${this.privateFilter}`]=0,this.searchRepos()},updateHistory(){const e=new URLSearchParams(window.location.search);this.tab==="repos"?e.delete("repo-search-tab"):e.set("repo-search-tab",this.tab),this.reposFilter==="all"?e.delete("repo-search-filter"):e.set("repo-search-filter",this.reposFilter),this.privateFilter==="both"?e.delete("repo-search-private"):e.set("repo-search-private",this.privateFilter),this.archivedFilter==="unarchived"?e.delete("repo-search-archived"):e.set("repo-search-archived",this.archivedFilter),this.searchQuery===""?e.delete("repo-search-query"):e.set("repo-search-query",this.searchQuery),this.page===1?e.delete("repo-search-page"):e.set("repo-search-page",`${this.page}`);const t=e.toString();t?window.history.replaceState({},"",`?${t}`):window.history.replaceState({},"",window.location.pathname)},toggleArchivedFilter(){this.archivedFilter==="unarchived"?this.archivedFilter="archived":this.archivedFilter==="archived"?this.archivedFilter="both":this.archivedFilter="unarchived",this.page=1,this.repos=[],this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]=0,this.searchRepos()},togglePrivateFilter(){this.privateFilter==="both"?this.privateFilter="public":this.privateFilter==="public"?this.privateFilter="private":this.privateFilter="both",this.page=1,this.repos=[],this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]=0,this.searchRepos()},changePage(e){this.page=e,this.page>this.finalPage&&(this.page=this.finalPage),this.page<1&&(this.page=1),this.repos=[],this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]=0,this.searchRepos()},searchRepos(){return po(this,null,function*(){this.isLoading=!0;const e=this.repoTypes[this.reposFilter].searchMode,t=this.searchURL,i=this.searchQuery;let r,a;try{if(!this.reposTotalCount){const u=`${this.subUrl}/repo/search?count_only=1&uid=${this.uid}&team_id=${this.teamId}&q=&page=1&mode=`;r=yield zr(u),this.reposTotalCount=r.headers.get("X-Total-Count")}r=yield zr(t),a=yield r.json()}catch(u){t===this.searchURL&&(this.isLoading=!1);return}if(t===this.searchURL){this.repos=a.data.map(b=>eo(Ts({},b.repository),{latest_commit_status_state:b.latest_commit_status.State,locale_latest_commit_status_state:b.locale_latest_commit_status,latest_commit_status_state_link:b.latest_commit_status.TargetURL}));const u=r.headers.get("X-Total-Count");i===""&&e===""&&this.archivedFilter==="both"&&(this.reposTotalCount=u),this.counts[`${this.reposFilter}:${this.archivedFilter}:${this.privateFilter}`]=u,this.finalPage=Math.ceil(u/this.searchLimit),this.updateHistory(),this.isLoading=!1}})},repoIcon(e){return e.fork?"octicon-repo-forked":e.mirror?"octicon-mirror":e.template?"octicon-repo-template":e.private?"octicon-lock":(e.internal,"octicon-repo")},statusIcon(e){return Fo[e].name},statusColor(e){return Fo[e].color},reposFilterKeyControl(e){var t;switch(e.key){case"Enter":(t=document.querySelector(".repo-owner-name-list li.active a"))==null||t.click();break;case"ArrowUp":this.activeIndex>0?this.activeIndex--:this.page>1&&(this.changePage(this.page-1),this.activeIndex=this.searchLimit-1);break;case"ArrowDown":this.activeIndex<this.repos.length-1?this.activeIndex++:this.page<this.finalPage&&(this.activeIndex=0,this.changePage(this.page+1));break;case"ArrowRight":this.page<this.finalPage&&this.changePage(this.page+1);break;case"ArrowLeft":this.page>1&&this.changePage(this.page-1);break}(this.activeIndex===-1||this.activeIndex>this.repos.length-1)&&(this.activeIndex=0)}}};function No(){const e=document.getElementById("dashboard-repo-list");e&&(0,te.createApp)(mo).mount(e)}var Bo=mo;const fa=(0,_.Z)(Bo,[["render",vn],["__scopeId","data-v-1e09298a"]]);var Xo=null;function Ur(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ce(e){var t=Ur(e).Element;return e instanceof t||e instanceof Element}function We(e){var t=Ur(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function mt(e){if(typeof ShadowRoot=="undefined")return!1;var t=Ur(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var yt=Math.max,Rt=Math.min,Nt=Math.round;function ni(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function _i(){return!/^((?!chrome|android).)*safari/i.test(ni())}function oi(e,t,i){t===void 0&&(t=!1),i===void 0&&(i=!1);var r=e.getBoundingClientRect(),a=1,u=1;t&&We(e)&&(a=e.offsetWidth>0&&Nt(r.width)/e.offsetWidth||1,u=e.offsetHeight>0&&Nt(r.height)/e.offsetHeight||1);var b=Ce(e)?Ur(e):window,w=b.visualViewport,g=!_i()&&i,T=(r.left+(g&&w?w.offsetLeft:0))/a,W=(r.top+(g&&w?w.offsetTop:0))/u,Oe=r.width/a,Ze=r.height/u;return{width:Oe,height:Ze,top:W,right:T+Oe,bottom:W+Ze,left:T,x:T,y:W}}function on(e){var t=Ur(e),i=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:i,scrollTop:r}}function wi(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function fn(e){return e===Ur(e)||!We(e)?on(e):wi(e)}function an(e){return e?(e.nodeName||"").toLowerCase():null}function Ei(e){return((Ce(e)?e.ownerDocument:e.document)||window.document).documentElement}function Un(e){return oi(Ei(e)).left+on(e).scrollLeft}function bn(e){return Ur(e).getComputedStyle(e)}function Rr(e){var t=bn(e),i=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+a+r)}function hs(e){var t=e.getBoundingClientRect(),i=Nt(t.width)/e.offsetWidth||1,r=Nt(t.height)/e.offsetHeight||1;return i!==1||r!==1}function ys(e,t,i){i===void 0&&(i=!1);var r=We(t),a=We(t)&&hs(t),u=Ei(t),b=oi(e,a,i),w={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(r||!r&&!i)&&((an(t)!=="body"||Rr(u))&&(w=fn(t)),We(t)?(g=oi(t,!0),g.x+=t.clientLeft,g.y+=t.clientTop):u&&(g.x=Un(u))),{x:b.left+w.scrollLeft-g.x,y:b.top+w.scrollTop-g.y,width:b.width,height:b.height}}function qr(e){var t=oi(e),i=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:r}}function xr(e){return an(e)==="html"?e:e.assignedSlot||e.parentNode||(mt(e)?e.host:null)||Ei(e)}function Jo(e){return["html","body","#document"].indexOf(an(e))>=0?e.ownerDocument.body:We(e)&&Rr(e)?e:Jo(xr(e))}function wa(e,t){var i;t===void 0&&(t=[]);var r=Jo(e),a=r===((i=e.ownerDocument)==null?void 0:i.body),u=Ur(r),b=a?[u].concat(u.visualViewport||[],Rr(r)?r:[]):r,w=t.concat(b);return a?w:w.concat(wa(xr(b)))}function xa(e){return["table","td","th"].indexOf(an(e))>=0}function ja(e){return!We(e)||bn(e).position==="fixed"?null:e.offsetParent}function Ra(e){var t=/firefox/i.test(ni()),i=/Trident/i.test(ni());if(i&&We(e)){var r=bn(e);if(r.position==="fixed")return null}var a=xr(e);for(mt(a)&&(a=a.host);We(a)&&["html","body"].indexOf(an(a))<0;){var u=bn(a);if(u.transform!=="none"||u.perspective!=="none"||u.contain==="paint"||["transform","perspective"].indexOf(u.willChange)!==-1||t&&u.willChange==="filter"||t&&u.filter&&u.filter!=="none")return a;a=a.parentNode}return null}function Sa(e){for(var t=Ur(e),i=ja(e);i&&xa(i)&&bn(i).position==="static";)i=ja(i);return i&&(an(i)==="html"||an(i)==="body"&&bn(i).position==="static")?t:i||Ra(e)||t}var ar="top",to="bottom",Es="right",Er="left",jr="auto",_s=[ar,to,Es,Er],Wn="start",Ys="end",Ho="clippingParents",ps="viewport",os="popper",Co="reference",ks=_s.reduce(function(e,t){return e.concat([t+"-"+Wn,t+"-"+Ys])},[]),To=[].concat(_s,[jr]).reduce(function(e,t){return e.concat([t,t+"-"+Wn,t+"-"+Ys])},[]),Ca="beforeRead",Ya="read",Ta="afterRead",go="beforeMain",Kr="main",Ea="afterMain",h="beforeWrite",k="write",I="afterWrite",ne=[Ca,Ya,Ta,go,Kr,Ea,h,k,I];function je(e){var t=new Map,i=new Set,r=[];e.forEach(function(u){t.set(u.name,u)});function a(u){i.add(u.name);var b=[].concat(u.requires||[],u.requiresIfExists||[]);b.forEach(function(w){if(!i.has(w)){var g=t.get(w);g&&a(g)}}),r.push(u)}return e.forEach(function(u){i.has(u.name)||a(u)}),r}function we(e){var t=je(e);return ne.reduce(function(i,r){return i.concat(t.filter(function(a){return a.phase===r}))},[])}function Te(e){var t;return function(){return t||(t=new Promise(function(i){Promise.resolve().then(function(){t=void 0,i(e())})})),t}}function Re(e){var t=e.reduce(function(i,r){var a=i[r.name];return i[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,i},{});return Object.keys(t).map(function(i){return t[i]})}var ze={placement:"bottom",modifiers:[],strategy:"absolute"};function ft(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Ut(e){e===void 0&&(e={});var t=e,i=t.defaultModifiers,r=i===void 0?[]:i,a=t.defaultOptions,u=a===void 0?ze:a;return function(w,g,T){T===void 0&&(T=u);var W={placement:"bottom",orderedModifiers:[],options:Object.assign({},ze,u),modifiersData:{},elements:{reference:w,popper:g},attributes:{},styles:{}},Oe=[],Ze=!1,ot={state:W,setOptions:function(Et){var ti=typeof Et=="function"?Et(W.options):Et;lt(),W.options=Object.assign({},u,W.options,ti),W.scrollParents={reference:Ce(w)?wa(w):w.contextElement?wa(w.contextElement):[],popper:wa(g)};var Ri=we(Re([].concat(r,W.options.modifiers)));return W.orderedModifiers=Ri.filter(function(He){return He.enabled}),pt(),ot.update()},forceUpdate:function(){if(!Ze){var Et=W.elements,ti=Et.reference,Ri=Et.popper;if(ft(ti,Ri)){W.rects={reference:ys(ti,Sa(Ri),W.options.strategy==="fixed"),popper:qr(Ri)},W.reset=!1,W.placement=W.options.placement,W.orderedModifiers.forEach(function(Ar){return W.modifiersData[Ar.name]=Object.assign({},Ar.data)});for(var He=0;He<W.orderedModifiers.length;He++){if(W.reset===!0){W.reset=!1,He=-1;continue}var si=W.orderedModifiers[He],Gt=si.fn,An=si.options,Rn=An===void 0?{}:An,gr=si.name;typeof Gt=="function"&&(W=Gt({state:W,options:Rn,name:gr,instance:ot})||W)}}}},update:Te(function(){return new Promise(function(Dt){ot.forceUpdate(),Dt(W)})}),destroy:function(){lt(),Ze=!0}};if(!ft(w,g))return ot;ot.setOptions(T).then(function(Dt){!Ze&&T.onFirstUpdate&&T.onFirstUpdate(Dt)});function pt(){W.orderedModifiers.forEach(function(Dt){var Et=Dt.name,ti=Dt.options,Ri=ti===void 0?{}:ti,He=Dt.effect;if(typeof He=="function"){var si=He({state:W,name:Et,instance:ot,options:Ri}),Gt=function(){};Oe.push(si||Gt)}})}function lt(){Oe.forEach(function(Dt){return Dt()}),Oe=[]}return ot}}var Mt=null,gi={passive:!0};function fi(e){var t=e.state,i=e.instance,r=e.options,a=r.scroll,u=a===void 0?!0:a,b=r.resize,w=b===void 0?!0:b,g=Ur(t.elements.popper),T=[].concat(t.scrollParents.reference,t.scrollParents.popper);return u&&T.forEach(function(W){W.addEventListener("scroll",i.update,gi)}),w&&g.addEventListener("resize",i.update,gi),function(){u&&T.forEach(function(W){W.removeEventListener("scroll",i.update,gi)}),w&&g.removeEventListener("resize",i.update,gi)}}var bi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:fi,data:{}};function Oi(e){return e.split("-")[0]}function Ui(e){return e.split("-")[1]}function Qi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function mn(e){var t=e.reference,i=e.element,r=e.placement,a=r?Oi(r):null,u=r?Ui(r):null,b=t.x+t.width/2-i.width/2,w=t.y+t.height/2-i.height/2,g;switch(a){case ar:g={x:b,y:t.y-i.height};break;case to:g={x:b,y:t.y+t.height};break;case Es:g={x:t.x+t.width,y:w};break;case Er:g={x:t.x-i.width,y:w};break;default:g={x:t.x,y:t.y}}var T=a?Qi(a):null;if(T!=null){var W=T==="y"?"height":"width";switch(u){case Wn:g[T]=g[T]-(t[W]/2-i[W]/2);break;case Ys:g[T]=g[T]+(t[W]/2-i[W]/2);break;default:}}return g}function Lr(e){var t=e.state,i=e.name;t.modifiersData[i]=mn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Vo={name:"popperOffsets",enabled:!0,phase:"read",fn:Lr,data:{}},$r={top:"auto",right:"auto",bottom:"auto",left:"auto"};function zn(e,t){var i=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:Nt(i*a)/a||0,y:Nt(r*a)/a||0}}function jn(e){var t,i=e.popper,r=e.popperRect,a=e.placement,u=e.variation,b=e.offsets,w=e.position,g=e.gpuAcceleration,T=e.adaptive,W=e.roundOffsets,Oe=e.isFixed,Ze=b.x,ot=Ze===void 0?0:Ze,pt=b.y,lt=pt===void 0?0:pt,Dt=typeof W=="function"?W({x:ot,y:lt}):{x:ot,y:lt};ot=Dt.x,lt=Dt.y;var Et=b.hasOwnProperty("x"),ti=b.hasOwnProperty("y"),Ri=Er,He=ar,si=window;if(T){var Gt=Sa(i),An="clientHeight",Rn="clientWidth";if(Gt===Ur(i)&&(Gt=Ei(i),bn(Gt).position!=="static"&&w==="absolute"&&(An="scrollHeight",Rn="scrollWidth")),Gt=Gt,a===ar||(a===Er||a===Es)&&u===Ys){He=to;var gr=Oe&&Gt===si&&si.visualViewport?si.visualViewport.height:Gt[An];lt-=gr-r.height,lt*=g?1:-1}if(a===Er||(a===ar||a===to)&&u===Ys){Ri=Es;var Ar=Oe&&Gt===si&&si.visualViewport?si.visualViewport.width:Gt[Rn];ot-=Ar-r.width,ot*=g?1:-1}}var ur=Object.assign({position:w},T&&$r),ir=W===!0?zn({x:ot,y:lt},Ur(i)):{x:ot,y:lt};if(ot=ir.x,lt=ir.y,g){var Sr;return Object.assign({},ur,(Sr={},Sr[He]=ti?"0":"",Sr[Ri]=Et?"0":"",Sr.transform=(si.devicePixelRatio||1)<=1?"translate("+ot+"px, "+lt+"px)":"translate3d("+ot+"px, "+lt+"px, 0)",Sr))}return Object.assign({},ur,(t={},t[He]=ti?lt+"px":"",t[Ri]=Et?ot+"px":"",t.transform="",t))}function Ni(e){var t=e.state,i=e.options,r=i.gpuAcceleration,a=r===void 0?!0:r,u=i.adaptive,b=u===void 0?!0:u,w=i.roundOffsets,g=w===void 0?!0:w,T={placement:Oi(t.placement),variation:Ui(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,jn(Object.assign({},T,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:b,roundOffsets:g})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,jn(Object.assign({},T,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:g})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var kn={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ni,data:{}};function Nn(e){var t=e.state;Object.keys(t.elements).forEach(function(i){var r=t.styles[i]||{},a=t.attributes[i]||{},u=t.elements[i];!We(u)||!an(u)||(Object.assign(u.style,r),Object.keys(a).forEach(function(b){var w=a[b];w===!1?u.removeAttribute(b):u.setAttribute(b,w===!0?"":w)}))})}function ln(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(r){var a=t.elements[r],u=t.attributes[r]||{},b=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:i[r]),w=b.reduce(function(g,T){return g[T]="",g},{});!We(a)||!an(a)||(Object.assign(a.style,w),Object.keys(u).forEach(function(g){a.removeAttribute(g)}))})}}var In={name:"applyStyles",enabled:!0,phase:"write",fn:Nn,effect:ln,requires:["computeStyles"]};function tr(e,t,i){var r=Oi(e),a=[Er,ar].indexOf(r)>=0?-1:1,u=typeof i=="function"?i(Object.assign({},t,{placement:e})):i,b=u[0],w=u[1];return b=b||0,w=(w||0)*a,[Er,Es].indexOf(r)>=0?{x:w,y:b}:{x:b,y:w}}function as(e){var t=e.state,i=e.options,r=e.name,a=i.offset,u=a===void 0?[0,0]:a,b=To.reduce(function(W,Oe){return W[Oe]=tr(Oe,t.rects,u),W},{}),w=b[t.placement],g=w.x,T=w.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=g,t.modifiersData.popperOffsets.y+=T),t.modifiersData[r]=b}var Qr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:as},Is={left:"right",right:"left",bottom:"top",top:"bottom"};function io(e){return e.replace(/left|right|bottom|top/g,function(t){return Is[t]})}var ka={start:"end",end:"start"};function Uo(e){return e.replace(/start|end/g,function(t){return ka[t]})}function Pa(e,t){var i=Ur(e),r=Ei(e),a=i.visualViewport,u=r.clientWidth,b=r.clientHeight,w=0,g=0;if(a){u=a.width,b=a.height;var T=_i();(T||!T&&t==="fixed")&&(w=a.offsetLeft,g=a.offsetTop)}return{width:u,height:b,x:w+Un(e),y:g}}function Da(e){var t,i=Ei(e),r=on(e),a=(t=e.ownerDocument)==null?void 0:t.body,u=yt(i.scrollWidth,i.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),b=yt(i.scrollHeight,i.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),w=-r.scrollLeft+Un(e),g=-r.scrollTop;return bn(a||i).direction==="rtl"&&(w+=yt(i.clientWidth,a?a.clientWidth:0)-u),{width:u,height:b,x:w,y:g}}function Ga(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&mt(i)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function da(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ma(e,t){var i=oi(e,!1,t==="fixed");return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}function Xa(e,t,i){return t===ps?da(Pa(e,i)):Ce(t)?Ma(t,i):da(Da(Ei(e)))}function hc(e){var t=wa(xr(e)),i=["absolute","fixed"].indexOf(bn(e).position)>=0,r=i&&We(e)?Sa(e):e;return Ce(r)?t.filter(function(a){return Ce(a)&&Ga(a,r)&&an(a)!=="body"}):[]}function Qo(e,t,i,r){var a=t==="clippingParents"?hc(e):[].concat(t),u=[].concat(a,[i]),b=u[0],w=u.reduce(function(g,T){var W=Xa(e,T,r);return g.top=yt(W.top,g.top),g.right=Rt(W.right,g.right),g.bottom=Rt(W.bottom,g.bottom),g.left=yt(W.left,g.left),g},Xa(e,b,r));return w.width=w.right-w.left,w.height=w.bottom-w.top,w.x=w.left,w.y=w.top,w}function $o(){return{top:0,right:0,bottom:0,left:0}}function ea(e){return Object.assign({},$o(),e)}function al(e,t){return t.reduce(function(i,r){return i[r]=e,i},{})}function Wo(e,t){t===void 0&&(t={});var i=t,r=i.placement,a=r===void 0?e.placement:r,u=i.strategy,b=u===void 0?e.strategy:u,w=i.boundary,g=w===void 0?Ho:w,T=i.rootBoundary,W=T===void 0?ps:T,Oe=i.elementContext,Ze=Oe===void 0?os:Oe,ot=i.altBoundary,pt=ot===void 0?!1:ot,lt=i.padding,Dt=lt===void 0?0:lt,Et=ea(typeof Dt!="number"?Dt:al(Dt,_s)),ti=Ze===os?Co:os,Ri=e.rects.popper,He=e.elements[pt?ti:Ze],si=Qo(Ce(He)?He:He.contextElement||Ei(e.elements.popper),g,W,b),Gt=oi(e.elements.reference),An=mn({reference:Gt,element:Ri,strategy:"absolute",placement:a}),Rn=da(Object.assign({},Ri,An)),gr=Ze===os?Rn:Gt,Ar={top:si.top-gr.top+Et.top,bottom:gr.bottom-si.bottom+Et.bottom,left:si.left-gr.left+Et.left,right:gr.right-si.right+Et.right},ur=e.modifiersData.offset;if(Ze===os&&ur){var ir=ur[a];Object.keys(Ar).forEach(function(Sr){var Ns=[Es,to].indexOf(Sr)>=0?1:-1,yo=[ar,to].indexOf(Sr)>=0?"y":"x";Ar[Sr]+=ir[yo]*Ns})}return Ar}function ll(e,t){t===void 0&&(t={});var i=t,r=i.placement,a=i.boundary,u=i.rootBoundary,b=i.padding,w=i.flipVariations,g=i.allowedAutoPlacements,T=g===void 0?To:g,W=Ui(r),Oe=W?w?ks:ks.filter(function(pt){return Ui(pt)===W}):_s,Ze=Oe.filter(function(pt){return T.indexOf(pt)>=0});Ze.length===0&&(Ze=Oe);var ot=Ze.reduce(function(pt,lt){return pt[lt]=Wo(e,{placement:lt,boundary:a,rootBoundary:u,padding:b})[Oi(lt)],pt},{});return Object.keys(ot).sort(function(pt,lt){return ot[pt]-ot[lt]})}function cl(e){if(Oi(e)===jr)return[];var t=io(e);return[Uo(e),t,Uo(t)]}function Sl(e){var t=e.state,i=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=i.mainAxis,u=a===void 0?!0:a,b=i.altAxis,w=b===void 0?!0:b,g=i.fallbackPlacements,T=i.padding,W=i.boundary,Oe=i.rootBoundary,Ze=i.altBoundary,ot=i.flipVariations,pt=ot===void 0?!0:ot,lt=i.allowedAutoPlacements,Dt=t.options.placement,Et=Oi(Dt),ti=Et===Dt,Ri=g||(ti||!pt?[io(Dt)]:cl(Dt)),He=[Dt].concat(Ri).reduce(function(Ua,va){return Ua.concat(Oi(va)===jr?ll(t,{placement:va,boundary:W,rootBoundary:Oe,padding:T,flipVariations:pt,allowedAutoPlacements:lt}):va)},[]),si=t.rects.reference,Gt=t.rects.popper,An=new Map,Rn=!0,gr=He[0],Ar=0;Ar<He.length;Ar++){var ur=He[Ar],ir=Oi(ur),Sr=Ui(ur)===Wn,Ns=[ar,to].indexOf(ir)>=0,yo=Ns?"width":"height",Bs=Wo(t,{placement:ur,boundary:W,rootBoundary:Oe,altBoundary:Ze,padding:T}),Hs=Ns?Sr?Es:Er:Sr?to:ar;si[yo]>Gt[yo]&&(Hs=io(Hs));var Ps=io(Hs),nn=[];if(u&&nn.push(Bs[ir]<=0),w&&nn.push(Bs[Hs]<=0,Bs[Ps]<=0),nn.every(function(Ua){return Ua})){gr=ur,Rn=!1;break}An.set(ur,nn)}if(Rn)for(var Ds=pt?3:1,aa=function(va){var $a=He.find(function(Bl){var Wa=An.get(Bl);if(Wa)return Wa.slice(0,va).every(function(Hl){return Hl})});if($a)return gr=$a,"break"},ko=Ds;ko>0;ko--){var ga=aa(ko);if(ga==="break")break}t.placement!==gr&&(t.modifiersData[r]._skip=!0,t.placement=gr,t.reset=!0)}}var Cl={name:"flip",enabled:!0,phase:"main",fn:Sl,requiresIfExists:["offset"],data:{_skip:!1}};function ul(e){return e==="x"?"y":"x"}function La(e,t,i){return yt(e,Rt(t,i))}function fl(e,t,i){var r=La(e,t,i);return r>i?i:r}function zl(e){var t=e.state,i=e.options,r=e.name,a=i.mainAxis,u=a===void 0?!0:a,b=i.altAxis,w=b===void 0?!1:b,g=i.boundary,T=i.rootBoundary,W=i.altBoundary,Oe=i.padding,Ze=i.tether,ot=Ze===void 0?!0:Ze,pt=i.tetherOffset,lt=pt===void 0?0:pt,Dt=Wo(t,{boundary:g,rootBoundary:T,padding:Oe,altBoundary:W}),Et=Oi(t.placement),ti=Ui(t.placement),Ri=!ti,He=Qi(Et),si=ul(He),Gt=t.modifiersData.popperOffsets,An=t.rects.reference,Rn=t.rects.popper,gr=typeof lt=="function"?lt(Object.assign({},t.rects,{placement:t.placement})):lt,Ar=typeof gr=="number"?{mainAxis:gr,altAxis:gr}:Object.assign({mainAxis:0,altAxis:0},gr),ur=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ir={x:0,y:0};if(Gt){if(u){var Sr,Ns=He==="y"?ar:Er,yo=He==="y"?to:Es,Bs=He==="y"?"height":"width",Hs=Gt[He],Ps=Hs+Dt[Ns],nn=Hs-Dt[yo],Ds=ot?-Rn[Bs]/2:0,aa=ti===Wn?An[Bs]:Rn[Bs],ko=ti===Wn?-Rn[Bs]:-An[Bs],ga=t.elements.arrow,Ua=ot&&ga?qr(ga):{width:0,height:0},va=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:$o(),$a=va[Ns],Bl=va[yo],Wa=La(0,An[Bs],Ua[Bs]),Hl=Ri?An[Bs]/2-Ds-Wa-$a-Ar.mainAxis:aa-Wa-$a-Ar.mainAxis,rl=Ri?-An[Bs]/2+Ds+Wa+Bl+Ar.mainAxis:ko+Wa+Bl+Ar.mainAxis,Vl=t.elements.arrow&&Sa(t.elements.arrow),Qc=Vl?He==="y"?Vl.clientTop||0:Vl.clientLeft||0:0,lc=(Sr=ur==null?void 0:ur[He])!=null?Sr:0,eu=Hs+Hl-lc-Qc,tu=Hs+rl-lc,cc=La(ot?Rt(Ps,eu):Ps,Hs,ot?yt(nn,tu):nn);Gt[He]=cc,ir[He]=cc-Hs}if(w){var uc,iu=He==="x"?ar:Er,nu=He==="x"?to:Es,za=Gt[si],sl=si==="y"?"height":"width",fc=za+Dt[iu],xl=za-Dt[nu],dc=[ar,Er].indexOf(Et)!==-1,ru=(uc=ur==null?void 0:ur[si])!=null?uc:0,su=dc?fc:za-An[sl]-Rn[sl]-ru+Ar.altAxis,ou=dc?za+An[sl]+Rn[sl]-ru-Ar.altAxis:xl,au=ot&&dc?fl(su,za,ou):La(ot?su:fc,za,ot?ou:xl);Gt[si]=au,ir[si]=au-za}t.modifiersData[r]=ir}}var pc={name:"preventOverflow",enabled:!0,phase:"main",fn:zl,requiresIfExists:["offset"]},dl=function(t,i){return t=typeof t=="function"?t(Object.assign({},i.rects,{placement:i.placement})):t,ea(typeof t!="number"?t:al(t,_s))};function Ia(e){var t,i=e.state,r=e.name,a=e.options,u=i.elements.arrow,b=i.modifiersData.popperOffsets,w=Oi(i.placement),g=Qi(w),T=[Er,Es].indexOf(w)>=0,W=T?"height":"width";if(!(!u||!b)){var Oe=dl(a.padding,i),Ze=qr(u),ot=g==="y"?ar:Er,pt=g==="y"?to:Es,lt=i.rects.reference[W]+i.rects.reference[g]-b[g]-i.rects.popper[W],Dt=b[g]-i.rects.reference[g],Et=Sa(u),ti=Et?g==="y"?Et.clientHeight||0:Et.clientWidth||0:0,Ri=lt/2-Dt/2,He=Oe[ot],si=ti-Ze[W]-Oe[pt],Gt=ti/2-Ze[W]/2+Ri,An=La(He,Gt,si),Rn=g;i.modifiersData[r]=(t={},t[Rn]=An,t.centerOffset=An-Gt,t)}}function mc(e){var t=e.state,i=e.options,r=i.element,a=r===void 0?"[data-popper-arrow]":r;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||Ga(t.elements.popper,a)&&(t.elements.arrow=a))}var Ja={name:"arrow",enabled:!0,phase:"main",fn:Ia,effect:mc,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Tl(e,t,i){return i===void 0&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function El(e){return[ar,Es,to,Er].some(function(t){return e[t]>=0})}function o(e){var t=e.state,i=e.name,r=t.rects.reference,a=t.rects.popper,u=t.modifiersData.preventOverflow,b=Wo(t,{elementContext:"reference"}),w=Wo(t,{altBoundary:!0}),g=Tl(b,r),T=Tl(w,a,u),W=El(g),Oe=El(T);t.modifiersData[i]={referenceClippingOffsets:g,popperEscapeOffsets:T,isReferenceHidden:W,hasPopperEscaped:Oe},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":W,"data-popper-escaped":Oe})}var n={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:o},s=[bi,Vo,kn,In,Qr,Cl,pc,Ja,n],c=Ut({defaultModifiers:s}),d='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',v="tippy-box",C="tippy-content",D="tippy-backdrop",q="tippy-arrow",K="tippy-svg-arrow",ue={passive:!0,capture:!0},fe=function(){return document.body};function Ee(e,t){return{}.hasOwnProperty.call(e,t)}function De(e,t,i){if(Array.isArray(e)){var r=e[t];return r==null?Array.isArray(i)?i[t]:i:r}return e}function et(e,t){var i={}.toString.call(e);return i.indexOf("[object")===0&&i.indexOf(t+"]")>-1}function Ne(e,t){return typeof e=="function"?e.apply(void 0,t):e}function vt(e,t){if(t===0)return e;var i;return function(r){clearTimeout(i),i=setTimeout(function(){e(r)},t)}}function Je(e,t){var i=Object.assign({},e);return t.forEach(function(r){delete i[r]}),i}function Ye(e){return e.split(/\s+/).filter(Boolean)}function at(e){return[].concat(e)}function st(e,t){e.indexOf(t)===-1&&e.push(t)}function Qe(e){return e.filter(function(t,i){return e.indexOf(t)===i})}function Tt(e){return e.split("-")[0]}function At(e){return[].slice.call(e)}function bt(e){return Object.keys(e).reduce(function(t,i){return e[i]!==void 0&&(t[i]=e[i]),t},{})}function kt(){return document.createElement("div")}function ri(e){return["Element","Fragment"].some(function(t){return et(e,t)})}function yi(e){return et(e,"NodeList")}function hn(e){return et(e,"MouseEvent")}function dn(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function mi(e){return ri(e)?[e]:yi(e)?At(e):Array.isArray(e)?e:At(document.querySelectorAll(e))}function Bn(e,t){e.forEach(function(i){i&&(i.style.transitionDuration=t+"ms")})}function Xi(e,t){e.forEach(function(i){i&&i.setAttribute("data-state",t)})}function Sn(e){var t,i=at(e),r=i[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function qn(e,t){var i=t.clientX,r=t.clientY;return e.every(function(a){var u=a.popperRect,b=a.popperState,w=a.props,g=w.interactiveBorder,T=Tt(b.placement),W=b.modifiersData.offset;if(!W)return!0;var Oe=T==="bottom"?W.top.y:0,Ze=T==="top"?W.bottom.y:0,ot=T==="right"?W.left.x:0,pt=T==="left"?W.right.x:0,lt=u.top-r+Oe>g,Dt=r-u.bottom-Ze>g,Et=u.left-i+ot>g,ti=i-u.right-pt>g;return lt||Dt||Et||ti})}function ms(e,t,i){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){e[r](a,i)})}function ta(e,t){for(var i=t;i;){var r;if(e.contains(i))return!0;i=i.getRootNode==null||(r=i.getRootNode())==null?void 0:r.host}return!1}var Zr={isTouch:!1},ia=0;function ws(){Zr.isTouch||(Zr.isTouch=!0,window.performance&&document.addEventListener("mousemove",zo))}function zo(){var e=performance.now();e-ia<20&&(Zr.isTouch=!1,document.removeEventListener("mousemove",zo)),ia=e}function du(){var e=document.activeElement;if(dn(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function hu(){document.addEventListener("touchstart",ws,ue),window.addEventListener("blur",du)}var ha=typeof window!="undefined"&&typeof document!="undefined",kl=ha?!!window.msCrypto:!1;function pu(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Fa(e){var t=/[ \t]{2,}/g,i=/^[ \t]*/gm;return e.replace(t," ").replace(i,"").trim()}function ql(e){return Fa(`
%ctippy.js
%c`+Fa(e)+`
%c\u{1F477}\u200D This is a development-only message. It will be removed in production.
`)}function Al(e){return[ql(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var $e;function rt(){$e=new Set}function Lt(e,t){if(e&&!$e.has(t)){var i;$e.add(t),(i=console).warn.apply(i,Al(t))}}function Wt(e,t){if(e&&!$e.has(t)){var i;$e.add(t),(i=console).error.apply(i,Al(t))}}function qt(e){var t=!e,i=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;Wt(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Wt(i,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var ai={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},xi={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Kt=Object.assign({appendTo:fe,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},ai,xi),di=Object.keys(Kt),Xt=function(t){var i=Object.keys(t);i.forEach(function(r){Kt[r]=t[r]})};function en(e){var t=e.plugins||[],i=t.reduce(function(r,a){var u=a.name,b=a.defaultValue;if(u){var w;r[u]=e[u]!==void 0?e[u]:(w=Kt[u])!=null?w:b}return r},{});return Object.assign({},e,i)}function Vi(e,t){var i=t?Object.keys(en(Object.assign({},Kt,{plugins:t}))):di,r=i.reduce(function(a,u){var b=(e.getAttribute("data-tippy-"+u)||"").trim();if(!b)return a;if(u==="content")a[u]=b;else try{a[u]=JSON.parse(b)}catch(w){a[u]=b}return a},{});return r}function tn(e,t){var i=Object.assign({},t,{content:Ne(t.content,[e])},t.ignoreAttributes?{}:Vi(e,t.plugins));return i.aria=Object.assign({},Kt.aria,i.aria),i.aria={expanded:i.aria.expanded==="auto"?t.interactive:i.aria.expanded,content:i.aria.content==="auto"?t.interactive?null:"describedby":i.aria.content},i}function wn(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var i=Object.keys(e);i.forEach(function(r){var a=Je(Kt,Object.keys(ai)),u=!Ee(a,r);u&&(u=t.filter(function(b){return b.name===r}).length===0),Lt(u,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
`,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var Hn=function(){return"innerHTML"};function mr(e,t){e[Hn()]=t}function cr(e){var t=kt();return e===!0?t.className=q:(t.className=K,ri(e)?t.appendChild(e):mr(t,e)),t}function es(e,t){ri(t.content)?(mr(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?mr(e,t.content):e.textContent=t.content)}function no(e){var t=e.firstElementChild,i=At(t.children);return{box:t,content:i.find(function(r){return r.classList.contains(C)}),arrow:i.find(function(r){return r.classList.contains(q)||r.classList.contains(K)}),backdrop:i.find(function(r){return r.classList.contains(D)})}}function Na(e){var t=kt(),i=kt();i.className=v,i.setAttribute("data-state","hidden"),i.setAttribute("tabindex","-1");var r=kt();r.className=C,r.setAttribute("data-state","hidden"),es(r,e.props),t.appendChild(i),i.appendChild(r),a(e.props,e.props);function a(u,b){var w=no(t),g=w.box,T=w.content,W=w.arrow;b.theme?g.setAttribute("data-theme",b.theme):g.removeAttribute("data-theme"),typeof b.animation=="string"?g.setAttribute("data-animation",b.animation):g.removeAttribute("data-animation"),b.inertia?g.setAttribute("data-inertia",""):g.removeAttribute("data-inertia"),g.style.maxWidth=typeof b.maxWidth=="number"?b.maxWidth+"px":b.maxWidth,b.role?g.setAttribute("role",b.role):g.removeAttribute("role"),(u.content!==b.content||u.allowHTML!==b.allowHTML)&&es(T,e.props),b.arrow?W?u.arrow!==b.arrow&&(g.removeChild(W),g.appendChild(cr(b.arrow))):g.appendChild(cr(b.arrow)):W&&g.removeChild(W)}return{popper:t,onUpdate:a}}Na.$$tippy=!0;var gc=1,Aa=[],hl=[];function vo(e,t){var i=tn(e,Object.assign({},Kt,en(bt(t)))),r,a,u,b=!1,w=!1,g=!1,T=!1,W,Oe,Ze,ot=[],pt=vt(eu,i.interactiveDebounce),lt,Dt=gc++,Et=null,ti=Qe(i.plugins),Ri={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},He={id:Dt,reference:e,popper:kt(),popperInstance:Et,props:i,state:Ri,plugins:ti,clearDelayTimeouts:su,setProps:ou,setContent:au,show:oj,hide:aj,hideWithInteractivity:lj,enable:dc,disable:ru,unmount:cj,destroy:uj};if(!i.render)return He;var si=i.render(He),Gt=si.popper,An=si.onUpdate;Gt.setAttribute("data-tippy-root",""),Gt.id="tippy-"+He.id,He.popper=Gt,e._tippy=He,Gt._tippy=He;var Rn=ti.map(function(Ft){return Ft.fn(He)}),gr=e.hasAttribute("aria-expanded");return Vl(),Ds(),Hs(),Ps("onCreate",[He]),i.showOnCreate&&fc(),Gt.addEventListener("mouseenter",function(){He.props.interactive&&He.state.isVisible&&He.clearDelayTimeouts()}),Gt.addEventListener("mouseleave",function(){He.props.interactive&&He.props.trigger.indexOf("mouseenter")>=0&&Ns().addEventListener("mousemove",pt)}),He;function Ar(){var Ft=He.props.touch;return Array.isArray(Ft)?Ft:[Ft,0]}function ur(){return Ar()[0]==="hold"}function ir(){var Ft;return!!((Ft=He.props.render)!=null&&Ft.$$tippy)}function Sr(){return lt||e}function Ns(){var Ft=Sr().parentNode;return Ft?Sn(Ft):document}function yo(){return no(Gt)}function Bs(Ft){return He.state.isMounted&&!He.state.isVisible||Zr.isTouch||W&&W.type==="focus"?0:De(He.props.delay,Ft?0:1,Kt.delay)}function Hs(Ft){Ft===void 0&&(Ft=!1),Gt.style.pointerEvents=He.props.interactive&&!Ft?"":"none",Gt.style.zIndex=""+He.props.zIndex}function Ps(Ft,$i,yn){if(yn===void 0&&(yn=!0),Rn.forEach(function(nr){nr[Ft]&&nr[Ft].apply(nr,$i)}),yn){var Cr;(Cr=He.props)[Ft].apply(Cr,$i)}}function nn(){var Ft=He.props.aria;if(Ft.content){var $i="aria-"+Ft.content,yn=Gt.id,Cr=at(He.props.triggerTarget||e);Cr.forEach(function(nr){var _o=nr.getAttribute($i);if(He.state.isVisible)nr.setAttribute($i,_o?_o+" "+yn:yn);else{var la=_o&&_o.replace(yn,"").trim();la?nr.setAttribute($i,la):nr.removeAttribute($i)}})}}function Ds(){if(!(gr||!He.props.aria.expanded)){var Ft=at(He.props.triggerTarget||e);Ft.forEach(function($i){He.props.interactive?$i.setAttribute("aria-expanded",He.state.isVisible&&$i===Sr()?"true":"false"):$i.removeAttribute("aria-expanded")})}}function aa(){Ns().removeEventListener("mousemove",pt),Aa=Aa.filter(function(Ft){return Ft!==pt})}function ko(Ft){if(!(Zr.isTouch&&(g||Ft.type==="mousedown"))){var $i=Ft.composedPath&&Ft.composedPath()[0]||Ft.target;if(!(He.props.interactive&&ta(Gt,$i))){if(at(He.props.triggerTarget||e).some(function(yn){return ta(yn,$i)})){if(Zr.isTouch||He.state.isVisible&&He.props.trigger.indexOf("click")>=0)return}else Ps("onClickOutside",[He,Ft]);He.props.hideOnClick===!0&&(He.clearDelayTimeouts(),He.hide(),w=!0,setTimeout(function(){w=!1}),He.state.isMounted||$a())}}}function ga(){g=!0}function Ua(){g=!1}function va(){var Ft=Ns();Ft.addEventListener("mousedown",ko,!0),Ft.addEventListener("touchend",ko,ue),Ft.addEventListener("touchstart",Ua,ue),Ft.addEventListener("touchmove",ga,ue)}function $a(){var Ft=Ns();Ft.removeEventListener("mousedown",ko,!0),Ft.removeEventListener("touchend",ko,ue),Ft.removeEventListener("touchstart",Ua,ue),Ft.removeEventListener("touchmove",ga,ue)}function Bl(Ft,$i){Hl(Ft,function(){!He.state.isVisible&&Gt.parentNode&&Gt.parentNode.contains(Gt)&&$i()})}function Wa(Ft,$i){Hl(Ft,$i)}function Hl(Ft,$i){var yn=yo().box;function Cr(nr){nr.target===yn&&(ms(yn,"remove",Cr),$i())}if(Ft===0)return $i();ms(yn,"remove",Oe),ms(yn,"add",Cr),Oe=Cr}function rl(Ft,$i,yn){yn===void 0&&(yn=!1);var Cr=at(He.props.triggerTarget||e);Cr.forEach(function(nr){nr.addEventListener(Ft,$i,yn),ot.push({node:nr,eventType:Ft,handler:$i,options:yn})})}function Vl(){ur()&&(rl("touchstart",lc,{passive:!0}),rl("touchend",tu,{passive:!0})),Ye(He.props.trigger).forEach(function(Ft){if(Ft!=="manual")switch(rl(Ft,lc),Ft){case"mouseenter":rl("mouseleave",tu);break;case"focus":rl(kl?"focusout":"blur",cc);break;case"focusin":rl("focusout",cc);break}})}function Qc(){ot.forEach(function(Ft){var $i=Ft.node,yn=Ft.eventType,Cr=Ft.handler,nr=Ft.options;$i.removeEventListener(yn,Cr,nr)}),ot=[]}function lc(Ft){var $i,yn=!1;if(!(!He.state.isEnabled||uc(Ft)||w)){var Cr=(($i=W)==null?void 0:$i.type)==="focus";W=Ft,lt=Ft.currentTarget,Ds(),!He.state.isVisible&&hn(Ft)&&Aa.forEach(function(nr){return nr(Ft)}),Ft.type==="click"&&(He.props.trigger.indexOf("mouseenter")<0||b)&&He.props.hideOnClick!==!1&&He.state.isVisible?yn=!0:fc(Ft),Ft.type==="click"&&(b=!yn),yn&&!Cr&&xl(Ft)}}function eu(Ft){var $i=Ft.target,yn=Sr().contains($i)||Gt.contains($i);if(!(Ft.type==="mousemove"&&yn)){var Cr=sl().concat(Gt).map(function(nr){var _o,la=nr._tippy,Ul=(_o=la.popperInstance)==null?void 0:_o.state;return Ul?{popperRect:nr.getBoundingClientRect(),popperState:Ul,props:i}:null}).filter(Boolean);qn(Cr,Ft)&&(aa(),xl(Ft))}}function tu(Ft){var $i=uc(Ft)||He.props.trigger.indexOf("click")>=0&&b;if(!$i){if(He.props.interactive){He.hideWithInteractivity(Ft);return}xl(Ft)}}function cc(Ft){He.props.trigger.indexOf("focusin")<0&&Ft.target!==Sr()||He.props.interactive&&Ft.relatedTarget&&Gt.contains(Ft.relatedTarget)||xl(Ft)}function uc(Ft){return Zr.isTouch?ur()!==Ft.type.indexOf("touch")>=0:!1}function iu(){nu();var Ft=He.props,$i=Ft.popperOptions,yn=Ft.placement,Cr=Ft.offset,nr=Ft.getReferenceClientRect,_o=Ft.moveTransition,la=ir()?no(Gt).arrow:null,Ul=nr?{getBoundingClientRect:nr,contextElement:nr.contextElement||Sr()}:e,_p={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(lu){var $l=lu.state;if(ir()){var fj=yo(),Qu=fj.box;["placement","reference-hidden","escaped"].forEach(function(cu){cu==="placement"?Qu.setAttribute("data-placement",$l.placement):$l.attributes.popper["data-popper-"+cu]?Qu.setAttribute("data-"+cu,""):Qu.removeAttribute("data-"+cu)}),$l.attributes.popper={}}}},jl=[{name:"offset",options:{offset:Cr}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!_o}},_p];ir()&&la&&jl.push({name:"arrow",options:{element:la,padding:3}}),jl.push.apply(jl,($i==null?void 0:$i.modifiers)||[]),He.popperInstance=c(Ul,Gt,Object.assign({},$i,{placement:yn,onFirstUpdate:Ze,modifiers:jl}))}function nu(){He.popperInstance&&(He.popperInstance.destroy(),He.popperInstance=null)}function za(){var Ft=He.props.appendTo,$i,yn=Sr();He.props.interactive&&Ft===fe||Ft==="parent"?$i=yn.parentNode:$i=Ne(Ft,[yn]),$i.contains(Gt)||$i.appendChild(Gt),He.state.isMounted=!0,iu()}function sl(){return At(Gt.querySelectorAll("[data-tippy-root]"))}function fc(Ft){He.clearDelayTimeouts(),Ft&&Ps("onTrigger",[He,Ft]),va();var $i=Bs(!0),yn=Ar(),Cr=yn[0],nr=yn[1];Zr.isTouch&&Cr==="hold"&&nr&&($i=nr),$i?r=setTimeout(function(){He.show()},$i):He.show()}function xl(Ft){if(He.clearDelayTimeouts(),Ps("onUntrigger",[He,Ft]),!He.state.isVisible){$a();return}if(!(He.props.trigger.indexOf("mouseenter")>=0&&He.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(Ft.type)>=0&&b)){var $i=Bs(!1);$i?a=setTimeout(function(){He.state.isVisible&&He.hide()},$i):u=requestAnimationFrame(function(){He.hide()})}}function dc(){He.state.isEnabled=!0}function ru(){He.hide(),He.state.isEnabled=!1}function su(){clearTimeout(r),clearTimeout(a),cancelAnimationFrame(u)}function ou(Ft){if(!He.state.isDestroyed){Ps("onBeforeUpdate",[He,Ft]),Qc();var $i=He.props,yn=tn(e,Object.assign({},$i,bt(Ft),{ignoreAttributes:!0}));He.props=yn,Vl(),$i.interactiveDebounce!==yn.interactiveDebounce&&(aa(),pt=vt(eu,yn.interactiveDebounce)),$i.triggerTarget&&!yn.triggerTarget?at($i.triggerTarget).forEach(function(Cr){Cr.removeAttribute("aria-expanded")}):yn.triggerTarget&&e.removeAttribute("aria-expanded"),Ds(),Hs(),An&&An($i,yn),He.popperInstance&&(iu(),sl().forEach(function(Cr){requestAnimationFrame(Cr._tippy.popperInstance.forceUpdate)})),Ps("onAfterUpdate",[He,Ft])}}function au(Ft){He.setProps({content:Ft})}function oj(){var Ft=He.state.isVisible,$i=He.state.isDestroyed,yn=!He.state.isEnabled,Cr=Zr.isTouch&&!He.props.touch,nr=De(He.props.duration,0,Kt.duration);if(!(Ft||$i||yn||Cr)&&!Sr().hasAttribute("disabled")&&(Ps("onShow",[He],!1),He.props.onShow(He)!==!1)){if(He.state.isVisible=!0,ir()&&(Gt.style.visibility="visible"),Hs(),va(),He.state.isMounted||(Gt.style.transition="none"),ir()){var _o=yo(),la=_o.box,Ul=_o.content;Bn([la,Ul],0)}Ze=function(){var jl;if(!(!He.state.isVisible||T)){if(T=!0,Gt.offsetHeight,Gt.style.transition=He.props.moveTransition,ir()&&He.props.animation){var Ju=yo(),lu=Ju.box,$l=Ju.content;Bn([lu,$l],nr),Xi([lu,$l],"visible")}nn(),Ds(),st(hl,He),(jl=He.popperInstance)==null||jl.forceUpdate(),Ps("onMount",[He]),He.props.animation&&ir()&&Wa(nr,function(){He.state.isShown=!0,Ps("onShown",[He])})}},za()}}function aj(){var Ft=!He.state.isVisible,$i=He.state.isDestroyed,yn=!He.state.isEnabled,Cr=De(He.props.duration,1,Kt.duration);if(!(Ft||$i||yn)&&(Ps("onHide",[He],!1),He.props.onHide(He)!==!1)){if(He.state.isVisible=!1,He.state.isShown=!1,T=!1,b=!1,ir()&&(Gt.style.visibility="hidden"),aa(),$a(),Hs(!0),ir()){var nr=yo(),_o=nr.box,la=nr.content;He.props.animation&&(Bn([_o,la],Cr),Xi([_o,la],"hidden"))}nn(),Ds(),He.props.animation?ir()&&Bl(Cr,He.unmount):He.unmount()}}function lj(Ft){Ns().addEventListener("mousemove",pt),st(Aa,pt),pt(Ft)}function cj(){He.state.isVisible&&He.hide(),He.state.isMounted&&(nu(),sl().forEach(function(Ft){Ft._tippy.unmount()}),Gt.parentNode&&Gt.parentNode.removeChild(Gt),hl=hl.filter(function(Ft){return Ft!==He}),He.state.isMounted=!1,Ps("onHidden",[He]))}function uj(){He.state.isDestroyed||(He.clearDelayTimeouts(),He.unmount(),Qc(),delete e._tippy,He.state.isDestroyed=!0,Ps("onDestroy",[He]))}}function As(e,t){t===void 0&&(t={});var i=Kt.plugins.concat(t.plugins||[]);hu();var r=Object.assign({},t,{plugins:i}),a=mi(e);if(!1)var u,b;var w=a.reduce(function(g,T){var W=T&&vo(T,r);return W&&g.push(W),g},[]);return ri(e)?w[0]:w}As.defaultProps=Kt,As.setDefaultProps=Xt,As.currentInput=Zr;var mu=function(t){var i=t===void 0?{}:t,r=i.exclude,a=i.duration;hl.forEach(function(u){var b=!1;if(r&&(b=dn(r)?u.reference===r:u.popper===r.popper),!b){var w=u.props.duration;u.setProps({duration:a}),u.hide(),u.state.isDestroyed||u.setProps({duration:w})}})},Sp=Object.assign({},In,{effect:function(t){var i=t.state,r={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(i.elements.popper.style,r.popper),i.styles=r,i.elements.arrow&&Object.assign(i.elements.arrow.style,r.arrow)}}),Cp=function(t,i){var r;i===void 0&&(i={});var a=t,u=[],b=[],w,g=i.overrides,T=[],W=!1;function Oe(){b=a.map(function(He){return at(He.props.triggerTarget||He.reference)}).reduce(function(He,si){return He.concat(si)},[])}function Ze(){u=a.map(function(He){return He.reference})}function ot(He){a.forEach(function(si){He?si.enable():si.disable()})}function pt(He){return a.map(function(si){var Gt=si.setProps;return si.setProps=function(An){Gt(An),si.reference===w&&He.setProps(An)},function(){si.setProps=Gt}})}function lt(He,si){var Gt=b.indexOf(si);if(si!==w){w=si;var An=(g||[]).concat("content").reduce(function(Rn,gr){return Rn[gr]=a[Gt].props[gr],Rn},{});He.setProps(Object.assign({},An,{getReferenceClientRect:typeof An.getReferenceClientRect=="function"?An.getReferenceClientRect:function(){var Rn;return(Rn=u[Gt])==null?void 0:Rn.getBoundingClientRect()}}))}}ot(!1),Ze(),Oe();var Dt={fn:function(){return{onDestroy:function(){ot(!0)},onHidden:function(){w=null},onClickOutside:function(Gt){Gt.props.showOnCreate&&!W&&(W=!0,w=null)},onShow:function(Gt){Gt.props.showOnCreate&&!W&&(W=!0,lt(Gt,u[0]))},onTrigger:function(Gt,An){lt(Gt,An.currentTarget)}}}},Et=As(kt(),Object.assign({},Je(i,["overrides"]),{plugins:[Dt].concat(i.plugins||[]),triggerTarget:b,popperOptions:Object.assign({},i.popperOptions,{modifiers:[].concat(((r=i.popperOptions)==null?void 0:r.modifiers)||[],[Sp])})})),ti=Et.show;Et.show=function(He){if(ti(),!w&&He==null)return lt(Et,u[0]);if(!(w&&He==null)){if(typeof He=="number")return u[He]&&lt(Et,u[He]);if(a.indexOf(He)>=0){var si=He.reference;return lt(Et,si)}if(u.indexOf(He)>=0)return lt(Et,He)}},Et.showNext=function(){var He=u[0];if(!w)return Et.show(0);var si=u.indexOf(w);Et.show(u[si+1]||He)},Et.showPrevious=function(){var He=u[u.length-1];if(!w)return Et.show(He);var si=u.indexOf(w),Gt=u[si-1]||He;Et.show(Gt)};var Ri=Et.setProps;return Et.setProps=function(He){g=He.overrides||g,Ri(He)},Et.setInstances=function(He){ot(!0),T.forEach(function(si){return si()}),a=He,ot(!1),Ze(),Oe(),T=pt(Et),Et.setProps({triggerTarget:b})},T=pt(Et),Et},Tp={mouseover:"mouseenter",focusin:"focus",click:"click"};function mj(e,t){var i=[],r=[],a=!1,u=t.target,b=Je(t,["target"]),w=Object.assign({},b,{trigger:"manual",touch:!1}),g=Object.assign({touch:Kt.touch},b,{showOnCreate:!0}),T=As(e,w),W=at(T);function Oe(Dt){if(!(!Dt.target||a)){var Et=Dt.target.closest(u);if(Et){var ti=Et.getAttribute("data-tippy-trigger")||t.trigger||Kt.trigger;if(!Et._tippy&&!(Dt.type==="touchstart"&&typeof g.touch=="boolean")&&!(Dt.type!=="touchstart"&&ti.indexOf(Tp[Dt.type])<0)){var Ri=As(Et,g);Ri&&(r=r.concat(Ri))}}}}function Ze(Dt,Et,ti,Ri){Ri===void 0&&(Ri=!1),Dt.addEventListener(Et,ti,Ri),i.push({node:Dt,eventType:Et,handler:ti,options:Ri})}function ot(Dt){var Et=Dt.reference;Ze(Et,"touchstart",Oe,ue),Ze(Et,"mouseover",Oe),Ze(Et,"focusin",Oe),Ze(Et,"click",Oe)}function pt(){i.forEach(function(Dt){var Et=Dt.node,ti=Dt.eventType,Ri=Dt.handler,He=Dt.options;Et.removeEventListener(ti,Ri,He)}),i=[]}function lt(Dt){var Et=Dt.destroy,ti=Dt.enable,Ri=Dt.disable;Dt.destroy=function(He){He===void 0&&(He=!0),He&&r.forEach(function(si){si.destroy()}),r=[],pt(),Et()},Dt.enable=function(){ti(),r.forEach(function(He){return He.enable()}),a=!1},Dt.disable=function(){Ri(),r.forEach(function(He){return He.disable()}),a=!0},ot(Dt)}return W.forEach(lt),T}var gj={name:"animateFill",defaultValue:!1,fn:function(t){var i;if(!((i=t.props.render)!=null&&i.$$tippy))return{};var r=no(t.popper),a=r.box,u=r.content,b=t.props.animateFill?Ep():null;return{onCreate:function(){b&&(a.insertBefore(b,a.firstElementChild),a.setAttribute("data-animatefill",""),a.style.overflow="hidden",t.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(b){var g=a.style.transitionDuration,T=Number(g.replace("ms",""));u.style.transitionDelay=Math.round(T/10)+"ms",b.style.transitionDuration=g,Xi([b],"visible")}},onShow:function(){b&&(b.style.transitionDuration="0ms")},onHide:function(){b&&Xi([b],"hidden")}}}};function Ep(){var e=kt();return e.className=D,Xi([e],"hidden"),e}var gu={clientX:0,clientY:0},vc=[];function of(e){var t=e.clientX,i=e.clientY;gu={clientX:t,clientY:i}}function kp(e){e.addEventListener("mousemove",of)}function Ap(e){e.removeEventListener("mousemove",of)}var Op={name:"followCursor",defaultValue:!1,fn:function(t){var i=t.reference,r=Sn(t.props.triggerTarget||i),a=!1,u=!1,b=!0,w=t.props;function g(){return t.props.followCursor==="initial"&&t.state.isVisible}function T(){r.addEventListener("mousemove",Ze)}function W(){r.removeEventListener("mousemove",Ze)}function Oe(){a=!0,t.setProps({getReferenceClientRect:null}),a=!1}function Ze(lt){var Dt=lt.target?i.contains(lt.target):!0,Et=t.props.followCursor,ti=lt.clientX,Ri=lt.clientY,He=i.getBoundingClientRect(),si=ti-He.left,Gt=Ri-He.top;(Dt||!t.props.interactive)&&t.setProps({getReferenceClientRect:function(){var Rn=i.getBoundingClientRect(),gr=ti,Ar=Ri;Et==="initial"&&(gr=Rn.left+si,Ar=Rn.top+Gt);var ur=Et==="horizontal"?Rn.top:Ar,ir=Et==="vertical"?Rn.right:gr,Sr=Et==="horizontal"?Rn.bottom:Ar,Ns=Et==="vertical"?Rn.left:gr;return{width:ir-Ns,height:Sr-ur,top:ur,right:ir,bottom:Sr,left:Ns}}})}function ot(){t.props.followCursor&&(vc.push({instance:t,doc:r}),kp(r))}function pt(){vc=vc.filter(function(lt){return lt.instance!==t}),vc.filter(function(lt){return lt.doc===r}).length===0&&Ap(r)}return{onCreate:ot,onDestroy:pt,onBeforeUpdate:function(){w=t.props},onAfterUpdate:function(Dt,Et){var ti=Et.followCursor;a||ti!==void 0&&w.followCursor!==ti&&(pt(),ti?(ot(),t.state.isMounted&&!u&&!g()&&T()):(W(),Oe()))},onMount:function(){t.props.followCursor&&!u&&(b&&(Ze(gu),b=!1),g()||T())},onTrigger:function(Dt,Et){hn(Et)&&(gu={clientX:Et.clientX,clientY:Et.clientY}),u=Et.type==="focus"},onHidden:function(){t.props.followCursor&&(Oe(),W(),b=!0)}}}};function Rp(e,t){var i;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat((((i=e.popperOptions)==null?void 0:i.modifiers)||[]).filter(function(r){var a=r.name;return a!==t.name}),[t])})}}var vj={name:"inlinePositioning",defaultValue:!1,fn:function(t){var i=t.reference;function r(){return!!t.props.inlinePositioning}var a,u=-1,b=!1,w=[],g={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(ot){var pt=ot.state;r()&&(w.indexOf(pt.placement)!==-1&&(w=[]),a!==pt.placement&&w.indexOf(pt.placement)===-1&&(w.push(pt.placement),t.setProps({getReferenceClientRect:function(){return T(pt.placement)}})),a=pt.placement)}};function T(Ze){return Pp(Tt(Ze),i.getBoundingClientRect(),At(i.getClientRects()),u)}function W(Ze){b=!0,t.setProps(Ze),b=!1}function Oe(){b||W(Rp(t.props,g))}return{onCreate:Oe,onAfterUpdate:Oe,onTrigger:function(ot,pt){if(hn(pt)){var lt=At(t.reference.getClientRects()),Dt=lt.find(function(ti){return ti.left-2<=pt.clientX&&ti.right+2>=pt.clientX&&ti.top-2<=pt.clientY&&ti.bottom+2>=pt.clientY}),Et=lt.indexOf(Dt);u=Et>-1?Et:u}},onHidden:function(){u=-1}}}};function Pp(e,t,i,r){if(i.length<2||e===null)return t;if(i.length===2&&r>=0&&i[0].left>i[1].right)return i[r]||t;switch(e){case"top":case"bottom":{var a=i[0],u=i[i.length-1],b=e==="top",w=a.top,g=u.bottom,T=b?a.left:u.left,W=b?a.right:u.right,Oe=W-T,Ze=g-w;return{top:w,bottom:g,left:T,right:W,width:Oe,height:Ze}}case"left":case"right":{var ot=Math.min.apply(Math,i.map(function(Gt){return Gt.left})),pt=Math.max.apply(Math,i.map(function(Gt){return Gt.right})),lt=i.filter(function(Gt){return e==="left"?Gt.left===ot:Gt.right===pt}),Dt=lt[0].top,Et=lt[lt.length-1].bottom,ti=ot,Ri=pt,He=Ri-ti,si=Et-Dt;return{top:Dt,bottom:Et,left:ti,right:Ri,width:He,height:si}}default:return t}}var bj={name:"sticky",defaultValue:!1,fn:function(t){var i=t.reference,r=t.popper;function a(){return t.popperInstance?t.popperInstance.state.elements.reference:i}function u(T){return t.props.sticky===!0||t.props.sticky===T}var b=null,w=null;function g(){var T=u("reference")?a().getBoundingClientRect():null,W=u("popper")?r.getBoundingClientRect():null;(T&&af(b,T)||W&&af(w,W))&&t.popperInstance&&t.popperInstance.update(),b=T,w=W,t.state.isMounted&&requestAnimationFrame(g)}return{onMount:function(){t.props.sticky&&g()}}}};function af(e,t){return e&&t?e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left:!0}As.setDefaultProps({render:Na});var lf=As,Dp=Object.defineProperty,bc=Object.getOwnPropertySymbols,cf=Object.prototype.hasOwnProperty,uf=Object.prototype.propertyIsEnumerable,ff=(e,t,i)=>t in e?Dp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,df=(e,t)=>{for(var i in t||(t={}))cf.call(t,i)&&ff(e,i,t[i]);if(bc)for(var i of bc(t))uf.call(t,i)&&ff(e,i,t[i]);return e},Mp=(e,t)=>{var i={};for(var r in e)cf.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&bc)for(var r of bc(e))t.indexOf(r)<0&&uf.call(e,r)&&(i[r]=e[r]);return i};const yc=new Set;function Ol(e,t={}){const i=t,{onHide:r,onShow:a,onDestroy:u}=i,b=Mp(i,["onHide","onShow","onDestroy"]),w=lf(e,df({appendTo:document.body,animation:!1,allowHTML:!1,hideOnClick:!1,interactiveBorder:20,ignoreAttributes:!0,maxWidth:500,onHide:g=>(yc.delete(g),r==null?void 0:r(g)),onDestroy:g=>(yc.delete(g),u==null?void 0:u(g)),onShow:g=>{for(const T of yc)T.props.role==="tooltip"&&T.hide();return yc.add(g),a==null?void 0:a(g)},arrow:'<svg width="16" height="7"><path d="m0 7 8-7 8 7Z" class="tippy-svg-arrow-outer"/><path d="m0 8 8-7 8 7Z" class="tippy-svg-arrow-inner"/></svg>',role:"menu",theme:b.role||"menu",plugins:[Op]},b));return b.content instanceof Element&&b.content.classList.remove("tippy-target"),w}function _c(e,t=null){if(Lp(e),t=t!=null?t:e.getAttribute("data-tooltip-content"),!t)return null;const r=!e.hasAttribute("data-clipboard-target"),a=df({content:t,delay:100,role:"tooltip",theme:"tooltip",hideOnClick:r,placement:e.getAttribute("data-tooltip-placement")||"top-start",followCursor:e.getAttribute("data-tooltip-follow-cursor")||!1},e.getAttribute("data-tooltip-interactive")==="true"?{interactive:!0,aria:{content:"describedby",expanded:!1}}:{});return e._tippy?e._tippy.setProps(a):Ol(e,a),e._tippy}function Lp(e){const t=e.getAttribute("title");t&&(e.setAttribute("data-tooltip-content",t),e.setAttribute("aria-label",t),e.setAttribute("title",""))}function hf(e){e.target.removeEventListener("mouseover",hf,!0),_c(this)}function pf(e){if(e.addEventListener("mouseover",hf,{capture:!0}),!e.hasAttribute("aria-label")){const t=e.getAttribute("data-tooltip-content");t&&e.setAttribute("aria-label",t)}}function mf(e){for(const t of e.querySelectorAll("[data-tooltip-content]"))pf(t)}const Ip=new Set([Node.ELEMENT_NODE,Node.DOCUMENT_FRAGMENT_NODE]);function Fp(){const e=i=>i.observe(document,{subtree:!0,childList:!0,attributeFilter:["data-tooltip-content","title"]}),t=new MutationObserver((i,r)=>{const a=r.takeRecords();r.disconnect();for(const u of[...i,...a])if(u.type==="childList")for(const b of u.addedNodes)Ip.has(b.nodeType)&&(mf(b),b.hasAttribute("data-tooltip-content")&&pf(b));else u.type==="attributes"&&_c(u.target);e(r)});e(t),mf(document.documentElement)}function Qa(e,t){var i;if(e.closest(".ui.dropdown > .menu"))return;const r=(i=e._tippy)!=null?i:_c(e,t);r.setContent(t),r.state.isShown||r.show(),r.setProps({onHidden:a=>{_c(e)||a.destroy()}})}function Kl(i){return uu(this,arguments,function*(e,{reject:t=!1}={}){try{if(Array.isArray(e))return!(navigator!=null&&navigator.clipboard)&&e.length===1&&typeof e[0]=="string"?gf(e):(yield navigator.clipboard.write([new ClipboardItem(Object.fromEntries(e.map(r=>{var a;return[(a=r.type)!=null?a:"text/plain",r]})))]),!0);if(e instanceof Blob)return yield navigator.clipboard.write([new ClipboardItem({[e.type]:e})]),!0;try{return yield navigator.clipboard.writeText(String(e)),!0}catch(r){return gf(e)}}catch(r){if(t)throw r;return!1}})}function gf(e){if(!document.execCommand)return!1;const t=document.createElement("textarea");t.value=String(e),t.style.clipPath="inset(50%)",t.ariaHidden="true",document.body.append(t);try{return t.select(),document.execCommand("copy")!==!1}finally{t.remove()}}var Np=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{copy_success:Bp,copy_error:Hp}=window.config.i18n;function Vp(){document.addEventListener("click",e=>{var t;let i=e.target;for(let r=0;r<3&&i;r++){let a=i.getAttribute("data-clipboard-text");if(!a&&i.getAttribute("data-clipboard-target")&&(a=(t=document.querySelector(i.getAttribute("data-clipboard-target")))==null?void 0:t.value),a&&i.getAttribute("data-clipboard-text-type")==="url"&&(a=Bt(a)),a){e.preventDefault(),Np(this,null,function*(){const u=yield Kl(a);Qa(i,u?Bp:Hp)});break}i=i.parentElement}})}const Up={ref:"root"},$p={key:0,class:"ui active centered inline loader"},Wp={key:1},zp={key:2};function qp(e,t,i,r,a,u){const b=(0,f.up)("svg-icon");return(0,f.wg)(),(0,f.iD)("div",Up,[e.loading?((0,f.wg)(),(0,f.iD)("div",$p)):(0,f.kq)("v-if",!0),!e.loading&&e.issue!==null?((0,f.wg)(),(0,f.iD)("div",Wp,[(0,f._)("p",null,[(0,f._)("small",null,(0,Q.toDisplayString)(e.issue.repository.full_name)+" on "+(0,Q.toDisplayString)(u.createdAt),1)]),(0,f._)("p",null,[(0,f.Wm)(b,{name:u.icon,class:(0,Q.normalizeClass)(["text",u.color])},null,8,["name","class"]),(0,f.Uk)(),(0,f._)("strong",null,(0,Q.toDisplayString)(e.issue.title),1),(0,f.Uk)(" #"+(0,Q.toDisplayString)(e.issue.number),1)]),(0,f._)("p",null,(0,Q.toDisplayString)(u.body),1),(0,f._)("div",null,[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(u.labels,w=>((0,f.wg)(),(0,f.iD)("div",{key:w.name,class:"ui label",style:(0,Q.normalizeStyle)({color:w.textColor,backgroundColor:w.color})},(0,Q.toDisplayString)(w.name),5))),128))])])):(0,f.kq)("v-if",!0),!e.loading&&e.issue===null?((0,f.wg)(),(0,f.iD)("div",zp,[(0,f._)("p",null,[(0,f._)("small",null,(0,Q.toDisplayString)(e.i18nErrorOccurred),1)]),(0,f._)("p",null,(0,Q.toDisplayString)(e.i18nErrorMessage),1)])):(0,f.kq)("v-if",!0)],512)}var Kp=Math.pow;function vu(e){const t=e/255;return t<=.03928?t/12.92:Kp((t+.055)/1.055,2.4)}function Zp(e,t,i){const r=vu(e),a=vu(t),u=vu(i);return .2126*r+.7152*a+.0722*u}function vf(e,t,i){return Zp(e,t,i)<.453}function wc(e){"@babel/helpers - typeof";return wc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wc(e)}var Yp=/^\s+/,Gp=/\s+$/;function zi(e,t){if(e=e||"",t=t||{},e instanceof zi)return e;if(!(this instanceof zi))return new zi(e,t);var i=Xp(e);this._originalInput=e,this._r=i.r,this._g=i.g,this._b=i.b,this._a=i.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||i.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=i.ok}zi.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),i,r,a,u,b,w;return i=t.r/255,r=t.g/255,a=t.b/255,i<=.03928?u=i/12.92:u=Math.pow((i+.055)/1.055,2.4),r<=.03928?b=r/12.92:b=Math.pow((r+.055)/1.055,2.4),a<=.03928?w=a/12.92:w=Math.pow((a+.055)/1.055,2.4),.2126*u+.7152*b+.0722*w},setAlpha:function(t){return this._a=jf(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=yf(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=yf(this._r,this._g,this._b),i=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.v*100);return this._a==1?"hsv("+i+", "+r+"%, "+a+"%)":"hsva("+i+", "+r+"%, "+a+"%, "+this._roundA+")"},toHsl:function(){var t=bf(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=bf(this._r,this._g,this._b),i=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.l*100);return this._a==1?"hsl("+i+", "+r+"%, "+a+"%)":"hsla("+i+", "+r+"%, "+a+"%, "+this._roundA+")"},toHex:function(t){return _f(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return tm(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(Yr(this._r,255)*100)+"%",g:Math.round(Yr(this._g,255)*100)+"%",b:Math.round(Yr(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(Yr(this._r,255)*100)+"%, "+Math.round(Yr(this._g,255)*100)+"%, "+Math.round(Yr(this._b,255)*100)+"%)":"rgba("+Math.round(Yr(this._r,255)*100)+"%, "+Math.round(Yr(this._g,255)*100)+"%, "+Math.round(Yr(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:hm[_f(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var i="#"+wf(this._r,this._g,this._b,this._a),r=i,a=this._gradientType?"GradientType = 1, ":"";if(t){var u=zi(t);r="#"+wf(u._r,u._g,u._b,u._a)}return"progid:DXImageTransform.Microsoft.gradient("+a+"startColorstr="+i+",endColorstr="+r+")"},toString:function(t){var i=!!t;t=t||this._format;var r=!1,a=this._a<1&&this._a>=0,u=!i&&a&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return u?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},clone:function(){return zi(this.toString())},_applyModification:function(t,i){var r=t.apply(null,[this].concat([].slice.call(i)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(sm,arguments)},brighten:function(){return this._applyModification(om,arguments)},darken:function(){return this._applyModification(am,arguments)},desaturate:function(){return this._applyModification(im,arguments)},saturate:function(){return this._applyModification(nm,arguments)},greyscale:function(){return this._applyModification(rm,arguments)},spin:function(){return this._applyModification(lm,arguments)},_applyCombination:function(t,i){return t.apply(null,[this].concat([].slice.call(i)))},analogous:function(){return this._applyCombination(fm,arguments)},complement:function(){return this._applyCombination(cm,arguments)},monochromatic:function(){return this._applyCombination(dm,arguments)},splitcomplement:function(){return this._applyCombination(um,arguments)},triad:function(){return this._applyCombination(xf,[3])},tetrad:function(){return this._applyCombination(xf,[4])}},zi.fromRatio=function(e,t){if(wc(e)=="object"){var i={};for(var r in e)e.hasOwnProperty(r)&&(r==="a"?i[r]=e[r]:i[r]=Zl(e[r]));e=i}return zi(e,t)};function Xp(e){var t={r:0,g:0,b:0},i=1,r=null,a=null,u=null,b=!1,w=!1;return typeof e=="string"&&(e=vm(e)),wc(e)=="object"&&(Ba(e.r)&&Ba(e.g)&&Ba(e.b)?(t=Jp(e.r,e.g,e.b),b=!0,w=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ba(e.h)&&Ba(e.s)&&Ba(e.v)?(r=Zl(e.s),a=Zl(e.v),t=em(e.h,r,a),b=!0,w="hsv"):Ba(e.h)&&Ba(e.s)&&Ba(e.l)&&(r=Zl(e.s),u=Zl(e.l),t=Qp(e.h,r,u),b=!0,w="hsl"),e.hasOwnProperty("a")&&(i=e.a)),i=jf(i),{ok:b,format:e.format||w,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:i}}function Jp(e,t,i){return{r:Yr(e,255)*255,g:Yr(t,255)*255,b:Yr(i,255)*255}}function bf(e,t,i){e=Yr(e,255),t=Yr(t,255),i=Yr(i,255);var r=Math.max(e,t,i),a=Math.min(e,t,i),u,b,w=(r+a)/2;if(r==a)u=b=0;else{var g=r-a;switch(b=w>.5?g/(2-r-a):g/(r+a),r){case e:u=(t-i)/g+(t<i?6:0);break;case t:u=(i-e)/g+2;break;case i:u=(e-t)/g+4;break}u/=6}return{h:u,s:b,l:w}}function Qp(e,t,i){var r,a,u;e=Yr(e,360),t=Yr(t,100),i=Yr(i,100);function b(T,W,Oe){return Oe<0&&(Oe+=1),Oe>1&&(Oe-=1),Oe<1/6?T+(W-T)*6*Oe:Oe<1/2?W:Oe<2/3?T+(W-T)*(2/3-Oe)*6:T}if(t===0)r=a=u=i;else{var w=i<.5?i*(1+t):i+t-i*t,g=2*i-w;r=b(g,w,e+1/3),a=b(g,w,e),u=b(g,w,e-1/3)}return{r:r*255,g:a*255,b:u*255}}function yf(e,t,i){e=Yr(e,255),t=Yr(t,255),i=Yr(i,255);var r=Math.max(e,t,i),a=Math.min(e,t,i),u,b,w=r,g=r-a;if(b=r===0?0:g/r,r==a)u=0;else{switch(r){case e:u=(t-i)/g+(t<i?6:0);break;case t:u=(i-e)/g+2;break;case i:u=(e-t)/g+4;break}u/=6}return{h:u,s:b,v:w}}function em(e,t,i){e=Yr(e,360)*6,t=Yr(t,100),i=Yr(i,100);var r=Math.floor(e),a=e-r,u=i*(1-t),b=i*(1-a*t),w=i*(1-(1-a)*t),g=r%6,T=[i,b,u,u,w,i][g],W=[w,i,i,b,u,u][g],Oe=[u,u,w,i,i,b][g];return{r:T*255,g:W*255,b:Oe*255}}function _f(e,t,i,r){var a=[pa(Math.round(e).toString(16)),pa(Math.round(t).toString(16)),pa(Math.round(i).toString(16))];return r&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function tm(e,t,i,r,a){var u=[pa(Math.round(e).toString(16)),pa(Math.round(t).toString(16)),pa(Math.round(i).toString(16)),pa(Sf(r))];return a&&u[0].charAt(0)==u[0].charAt(1)&&u[1].charAt(0)==u[1].charAt(1)&&u[2].charAt(0)==u[2].charAt(1)&&u[3].charAt(0)==u[3].charAt(1)?u[0].charAt(0)+u[1].charAt(0)+u[2].charAt(0)+u[3].charAt(0):u.join("")}function wf(e,t,i,r){var a=[pa(Sf(r)),pa(Math.round(e).toString(16)),pa(Math.round(t).toString(16)),pa(Math.round(i).toString(16))];return a.join("")}zi.equals=function(e,t){return!e||!t?!1:zi(e).toRgbString()==zi(t).toRgbString()},zi.random=function(){return zi.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function im(e,t){t=t===0?0:t||10;var i=zi(e).toHsl();return i.s-=t/100,i.s=xc(i.s),zi(i)}function nm(e,t){t=t===0?0:t||10;var i=zi(e).toHsl();return i.s+=t/100,i.s=xc(i.s),zi(i)}function rm(e){return zi(e).desaturate(100)}function sm(e,t){t=t===0?0:t||10;var i=zi(e).toHsl();return i.l+=t/100,i.l=xc(i.l),zi(i)}function om(e,t){t=t===0?0:t||10;var i=zi(e).toRgb();return i.r=Math.max(0,Math.min(255,i.r-Math.round(255*-(t/100)))),i.g=Math.max(0,Math.min(255,i.g-Math.round(255*-(t/100)))),i.b=Math.max(0,Math.min(255,i.b-Math.round(255*-(t/100)))),zi(i)}function am(e,t){t=t===0?0:t||10;var i=zi(e).toHsl();return i.l-=t/100,i.l=xc(i.l),zi(i)}function lm(e,t){var i=zi(e).toHsl(),r=(i.h+t)%360;return i.h=r<0?360+r:r,zi(i)}function cm(e){var t=zi(e).toHsl();return t.h=(t.h+180)%360,zi(t)}function xf(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var i=zi(e).toHsl(),r=[zi(e)],a=360/t,u=1;u<t;u++)r.push(zi({h:(i.h+u*a)%360,s:i.s,l:i.l}));return r}function um(e){var t=zi(e).toHsl(),i=t.h;return[zi(e),zi({h:(i+72)%360,s:t.s,l:t.l}),zi({h:(i+216)%360,s:t.s,l:t.l})]}function fm(e,t,i){t=t||6,i=i||30;var r=zi(e).toHsl(),a=360/i,u=[zi(e)];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,u.push(zi(r));return u}function dm(e,t){t=t||6;for(var i=zi(e).toHsv(),r=i.h,a=i.s,u=i.v,b=[],w=1/t;t--;)b.push(zi({h:r,s:a,v:u})),u=(u+w)%1;return b}zi.mix=function(e,t,i){i=i===0?0:i||50;var r=zi(e).toRgb(),a=zi(t).toRgb(),u=i/100,b={r:(a.r-r.r)*u+r.r,g:(a.g-r.g)*u+r.g,b:(a.b-r.b)*u+r.b,a:(a.a-r.a)*u+r.a};return zi(b)},zi.readability=function(e,t){var i=zi(e),r=zi(t);return(Math.max(i.getLuminance(),r.getLuminance())+.05)/(Math.min(i.getLuminance(),r.getLuminance())+.05)},zi.isReadable=function(e,t,i){var r=zi.readability(e,t),a,u;switch(u=!1,a=bm(i),a.level+a.size){case"AAsmall":case"AAAlarge":u=r>=4.5;break;case"AAlarge":u=r>=3;break;case"AAAsmall":u=r>=7;break}return u},zi.mostReadable=function(e,t,i){var r=null,a=0,u,b,w,g;i=i||{},b=i.includeFallbackColors,w=i.level,g=i.size;for(var T=0;T<t.length;T++)u=zi.readability(e,t[T]),u>a&&(a=u,r=zi(t[T]));return zi.isReadable(e,r,{level:w,size:g})||!b?r:(i.includeFallbackColors=!1,zi.mostReadable(e,["#fff","#000"],i))};var bu=zi.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},hm=zi.hexNames=pm(bu);function pm(e){var t={};for(var i in e)e.hasOwnProperty(i)&&(t[e[i]]=i);return t}function jf(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Yr(e,t){mm(e)&&(e="100%");var i=gm(e);return e=Math.min(t,Math.max(0,parseFloat(e))),i&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function xc(e){return Math.min(1,Math.max(0,e))}function qo(e){return parseInt(e,16)}function mm(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function gm(e){return typeof e=="string"&&e.indexOf("%")!=-1}function pa(e){return e.length==1?"0"+e:""+e}function Zl(e){return e<=1&&(e=e*100+"%"),e}function Sf(e){return Math.round(parseFloat(e)*255).toString(16)}function Cf(e){return qo(e)/255}var ma=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",i="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+i+")[,|\\s]+("+i+")[,|\\s]+("+i+")\\s*\\)?",a="[\\s|\\(]+("+i+")[,|\\s]+("+i+")[,|\\s]+("+i+")[,|\\s]+("+i+")\\s*\\)?";return{CSS_UNIT:new RegExp(i),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+a),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+a),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+a),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function Ba(e){return!!ma.CSS_UNIT.exec(e)}function vm(e){e=e.replace(Yp,"").replace(Gp,"").toLowerCase();var t=!1;if(bu[e])e=bu[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var i;return(i=ma.rgb.exec(e))?{r:i[1],g:i[2],b:i[3]}:(i=ma.rgba.exec(e))?{r:i[1],g:i[2],b:i[3],a:i[4]}:(i=ma.hsl.exec(e))?{h:i[1],s:i[2],l:i[3]}:(i=ma.hsla.exec(e))?{h:i[1],s:i[2],l:i[3],a:i[4]}:(i=ma.hsv.exec(e))?{h:i[1],s:i[2],v:i[3]}:(i=ma.hsva.exec(e))?{h:i[1],s:i[2],v:i[3],a:i[4]}:(i=ma.hex8.exec(e))?{r:qo(i[1]),g:qo(i[2]),b:qo(i[3]),a:Cf(i[4]),format:t?"name":"hex8"}:(i=ma.hex6.exec(e))?{r:qo(i[1]),g:qo(i[2]),b:qo(i[3]),format:t?"name":"hex"}:(i=ma.hex4.exec(e))?{r:qo(i[1]+""+i[1]),g:qo(i[2]+""+i[2]),b:qo(i[3]+""+i[3]),a:Cf(i[4]+""+i[4]),format:t?"name":"hex8"}:(i=ma.hex3.exec(e))?{r:qo(i[1]+""+i[1]),g:qo(i[2]+""+i[2]),b:qo(i[3]+""+i[3]),format:t?"name":"hex"}:!1}function bm(e){var t,i;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),i=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),i!=="small"&&i!=="large"&&(i="small"),{level:t,size:i}}const{appSubUrl:ym,i18n:Tf}=window.config;var _m={components:{SvgIcon:vs},data:()=>({loading:!1,issue:null,i18nErrorOccurred:Tf.error_occurred,i18nErrorMessage:null}),computed:{createdAt(){return new Date(this.issue.created_at).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})},body(){const e=this.issue.body.replace(/\n+/g," ");return e.length>85?`${e.substring(0,85)}\u2026`:e},icon(){return this.issue.pull_request!==null?this.issue.state==="open"?"octicon-git-pull-request":this.issue.pull_request.merged===!0?"octicon-git-merge":"octicon-git-pull-request":this.issue.state==="open"?"octicon-issue-opened":"octicon-issue-closed"},color(){return this.issue.state==="open"?"green":this.issue.pull_request!==null&&this.issue.pull_request.merged===!0?"purple":"red"},labels(){return this.issue.labels.map(e=>{let t;const{r:i,g:r,b:a}=zi(e.color).toRgb();return vf(i,r,a)?t="#eeeeee":t="#111111",{name:e.name,color:`#${e.color}`,textColor:t}})}},mounted(){this.$refs.root.addEventListener("ce-load-context-popup",e=>{const t=e.detail;!this.loading&&this.issue===null&&this.load(t)})},methods:{load(e){this.loading=!0,this.i18nErrorMessage=null,Li().get(`${ym}/${e.owner}/${e.repo}/issues/${e.index}/info`).done(t=>{this.issue=t}).fail(t=>{t.responseJSON&&t.responseJSON.message?this.i18nErrorMessage=t.responseJSON.message:this.i18nErrorMessage=Tf.network_error}).always(()=>{this.loading=!1})}}},wm=(0,_.Z)(_m,[["render",qp]]);function xm(){const e=p(".ref-issue");yu(e)}function yu(e){for(const t of e){if(t.classList.contains("ref-external-issue"))return;const{owner:i,repo:r,index:a}=cs(t.getAttribute("href"));if(!i)return;const u=document.createElement("div");t.parentNode.insertBefore(u,t.nextSibling);const b=(0,te.createApp)(wm);try{b.mount(u)}catch(w){console.error(w),u.textContent="ContextPopup failed to load"}Ol(t,{content:u,placement:"top-start",interactive:!0,role:"dialog",interactiveBorder:5,onShow:()=>{u.firstChild.dispatchEvent(new CustomEvent("ce-load-context-popup",{detail:{owner:i,repo:r,index:a}}))}})}}var jm=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function Sm(){if(!document.getElementById("git-graph-container"))return;p("#flow-color-monochrome").on("click",()=>{p("#flow-color-monochrome").addClass("active"),p("#flow-color-colored").removeClass("active"),p("#git-graph-container").removeClass("colored").addClass("monochrome");const u=new URLSearchParams(window.location.search);u.set("mode","monochrome");const b=u.toString();b?window.history.replaceState({},"",`?${b}`):window.history.replaceState({},"",window.location.pathname),p(".pagination a").each((w,g)=>{const T=p(g).attr("href");if(!T)return;const W=new URL(T,window.location),Oe=W.searchParams;Oe.set("mode","monochrome"),W.search=`?${Oe.toString()}`,p(g).attr("href",W.href)})}),p("#flow-color-colored").on("click",()=>{p("#flow-color-colored").addClass("active"),p("#flow-color-monochrome").removeClass("active"),p("#git-graph-container").addClass("colored").removeClass("monochrome"),p(".pagination a").each((w,g)=>{const T=p(g).attr("href");if(!T)return;const W=new URL(T,window.location),Oe=W.searchParams;Oe.delete("mode"),W.search=`?${Oe.toString()}`,p(g).attr("href",W.href)});const u=new URLSearchParams(window.location.search);u.delete("mode");const b=u.toString();b?window.history.replaceState({},"",`?${b}`):window.history.replaceState({},"",window.location.pathname)});const t=new URL(window.location),i=t.searchParams,r=()=>{const u=i.toString(),b=new URL(t);b.searchParams.set("div-only","true"),window.history.replaceState({},"",u?`?${u}`:window.location.pathname),p("#pagination").empty(),p("#rel-container").addClass("gt-hidden"),p("#rev-container").addClass("gt-hidden"),p("#loading-indicator").removeClass("gt-hidden"),jm(this,null,function*(){const w=p(yield p.ajax(String(b)));p("#pagination").html(w.find("#pagination").html()),p("#rel-container").html(w.find("#rel-container").html()),p("#rev-container").html(w.find("#rev-container").html()),p("#loading-indicator").addClass("gt-hidden"),p("#rel-container").removeClass("gt-hidden"),p("#rev-container").removeClass("gt-hidden")})},a=i.getAll("branch");i.has("hide-pr-refs")&&i.get("hide-pr-refs")==="true"&&a.splice(0,0,"...flow-hide-pr-refs"),p("#flow-select-refs-dropdown").dropdown("set selected",a),p("#flow-select-refs-dropdown").dropdown({clearable:!0,fullTextSeach:"exact",onRemove(u){if(u==="...flow-hide-pr-refs")i.delete("hide-pr-refs");else{const b=i.getAll("branch");i.delete("branch");for(const w of b)w!==u&&i.append("branch",w)}r()},onAdd(u){u==="...flow-hide-pr-refs"?i.set("hide-pr-refs",!0):i.append("branch",u),r()}}),p("#git-graph-container").on("mouseenter","#rev-list li",u=>{const b=p(u.currentTarget).data("flow");b!==0&&(p(`#flow-${b}`).addClass("highlight"),p(u.currentTarget).addClass("hover"),p(`#rev-list li[data-flow='${b}']`).addClass("highlight"))}),p("#git-graph-container").on("mouseleave","#rev-list li",u=>{const b=p(u.currentTarget).data("flow");b!==0&&(p(`#flow-${b}`).removeClass("highlight"),p(u.currentTarget).removeClass("hover"),p(`#rev-list li[data-flow='${b}']`).removeClass("highlight"))}),p("#git-graph-container").on("mouseenter","#rel-container .flow-group",u=>{p(u.currentTarget).addClass("highlight");const b=p(u.currentTarget).data("flow");p(`#rev-list li[data-flow='${b}']`).addClass("highlight")}),p("#git-graph-container").on("mouseleave","#rel-container .flow-group",u=>{p(u.currentTarget).removeClass("highlight");const b=p(u.currentTarget).data("flow");p(`#rev-list li[data-flow='${b}']`).removeClass("highlight")}),p("#git-graph-container").on("mouseenter","#rel-container .flow-commit",u=>{const b=p(u.currentTarget).data("rev");p(`#rev-list li#commit-${b}`).addClass("hover")}),p("#git-graph-container").on("mouseleave","#rel-container .flow-commit",u=>{const b=p(u.currentTarget).data("rev");p(`#rev-list li#commit-${b}`).removeClass("hover")})}const Cm={class:"total-contributions"};function Tm(e,t,i,r,a,u){const b=(0,f.up)("calendar-heatmap");return(0,f.wg)(),(0,f.iD)(f.HY,null,[(0,f._)("div",Cm,(0,Q.toDisplayString)(i.locale.contributions_in_the_last_12_months),1),(0,f.Wm)(b,{locale:i.locale,"no-data-text":i.locale.no_contributions,"tooltip-unit":i.locale.contributions,"end-date":e.endDate,values:i.values,"range-color":e.colorRange,onDayClick:t[0]||(t[0]=w=>u.handleDayClick(w))},null,8,["locale","no-data-text","tooltip-unit","end-date","values","range-color"])],64)}var ro=St("./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js"),Em=Object.defineProperty,km=(e,t,i)=>t in e?Em(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Eo=(e,t,i)=>(km(e,typeof t!="symbol"?t+"":t,i),i);const pl=class{constructor(e,t,i){Eo(this,"startDate"),Eo(this,"endDate"),Eo(this,"max"),Eo(this,"_values"),Eo(this,"_firstFullWeekOfMonths"),Eo(this,"_activities"),Eo(this,"_calendar"),this.endDate=this.parseDate(e),this.max=i||Math.ceil(Math.max(...t.map(r=>r.count))/5*4),this.startDate=this.shiftDate(e,-pl.DAYS_IN_ONE_YEAR),this._values=t}set values(e){this.max=Math.ceil(Math.max(...e.map(t=>t.count))/5*4),this._values=e,this._firstFullWeekOfMonths=void 0,this._calendar=void 0,this._activities=void 0}get values(){return this._values}get activities(){if(!this._activities){this._activities=new Map;for(let e=0,t=this.values.length;e<t;e++)this._activities.set(this.keyDayParser(this.values[e].date),{count:this.values[e].count,colorIndex:this.getColorIndex(this.values[e].count)})}return this._activities}get weekCount(){return this.getDaysCount()/pl.DAYS_IN_WEEK}get calendar(){if(!this._calendar){let e=this.shiftDate(this.startDate,-this.getCountEmptyDaysAtStart());e=new Date(e.getFullYear(),e.getMonth(),e.getDate()),this._calendar=new Array(this.weekCount);for(let t=0,i=this._calendar.length;t<i;t++){this._calendar[t]=new Array(pl.DAYS_IN_WEEK);for(let r=0;r<pl.DAYS_IN_WEEK;r++){const a=this.activities.get(this.keyDayParser(e));this._calendar[t][r]={date:new Date(e.valueOf()),count:a?a.count:void 0,colorIndex:a?a.colorIndex:0},e.setDate(e.getDate()+1)}}}return this._calendar}get firstFullWeekOfMonths(){if(!this._firstFullWeekOfMonths){const e=this.calendar;this._firstFullWeekOfMonths=[];for(let t=1,i=e.length;t<i;t++){const r=e[t-1][0].date,a=e[t][0].date;(r.getFullYear()<a.getFullYear()||r.getMonth()<a.getMonth())&&this._firstFullWeekOfMonths.push({value:a.getMonth(),index:t})}}return this._firstFullWeekOfMonths}getColorIndex(e){return e==null?0:e<=0?1:e>=this.max?5:Math.ceil(e*100/this.max*.03)+1}getCountEmptyDaysAtStart(){return this.startDate.getDay()}getCountEmptyDaysAtEnd(){return pl.DAYS_IN_WEEK-1-this.endDate.getDay()}getDaysCount(){return pl.DAYS_IN_ONE_YEAR+1+this.getCountEmptyDaysAtStart()+this.getCountEmptyDaysAtEnd()}shiftDate(e,t){const i=new Date(e);return i.setDate(i.getDate()+t),i}parseDate(e){return e instanceof Date?e:new Date(e)}keyDayParser(e){const t=this.parseDate(e);return String(t.getFullYear())+String(t.getMonth()).padStart(2,"0")+String(t.getDate()).padStart(2,"0")}};let kr=pl;Eo(kr,"DEFAULT_RANGE_COLOR_LIGHT",["#ebedf0","#dae2ef","#c0ddf9","#73b3f3","#3886e1","#17459e"]),Eo(kr,"DEFAULT_RANGE_COLOR_DARK",["#1f1f22","#1e334a","#1d466c","#1d5689","#1d69ac","#1B95D1"]),Eo(kr,"DEFAULT_LOCALE",{months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],on:"on",less:"Less",more:"More"}),Eo(kr,"DEFAULT_TOOLTIP_UNIT","contributions"),Eo(kr,"DAYS_IN_ONE_YEAR",365),Eo(kr,"DAYS_IN_WEEK",7),Eo(kr,"SQUARE_SIZE",10);const Am=(0,f.aZ)({name:"CalendarHeatmap",props:{endDate:{required:!0},max:{type:Number},rangeColor:{type:Array},values:{type:Array,required:!0},locale:{type:Object},tooltip:{type:Boolean,default:!0},tooltipUnit:{type:String,default:kr.DEFAULT_TOOLTIP_UNIT},tooltipFormatter:{type:Function},vertical:{type:Boolean,default:!1},noDataText:{type:[Boolean,String],default:null},round:{type:Number,default:0},darkMode:Boolean},emits:["dayClick"],setup(e){const t=kr.SQUARE_SIZE/5,i=kr.SQUARE_SIZE+t,r=Math.ceil(kr.SQUARE_SIZE*2.5),a=i*3,u=kr.SQUARE_SIZE+kr.SQUARE_SIZE/2,b=kr.SQUARE_SIZE+kr.SQUARE_SIZE/2,w=`translate(${r}, ${u})`,g=(0,ro.iH)(null),T=(0,ro.iH)(new Date),W=(0,ro.iH)(new kr(e.endDate,e.values,e.max)),Oe=(0,ro.iH)(0),Ze=(0,ro.iH)(0),ot=(0,ro.iH)("0 0 0 0"),pt=(0,ro.iH)("0 0 0 0"),lt=(0,ro.iH)(""),Dt=(0,ro.iH)(""),Et=(0,ro.iH)(""),ti=(0,ro.iH)({}),Ri=(0,ro.iH)(e.rangeColor||(e.darkMode?kr.DEFAULT_RANGE_COLOR_DARK:kr.DEFAULT_RANGE_COLOR_LIGHT)),{values:He,tooltipUnit:si,tooltipFormatter:Gt,noDataText:An,max:Rn,vertical:gr,locale:Ar}=(0,ro.BK)(e),ur=new Map;let ir;function Sr(){ur.clear(),ir?ir.setInstances(Array.from(ur.values())):ir=Cp(Array.from(ur.values()),{overrides:[],moveTransition:"transform 0.1s ease-out",allowHTML:!0})}function Ns(nn){if(e.tooltip){if(nn.count!==void 0)return e.tooltipFormatter?e.tooltipFormatter(nn,e.tooltipUnit):`<b>${nn.count} ${e.tooltipUnit}</b> ${ti.value.on} ${ti.value.months[nn.date.getMonth()]} ${nn.date.getDate()}, ${nn.date.getFullYear()}`;if(e.noDataText)return`${e.noDataText}`;if(e.noDataText!==!1)return`<b>No ${e.tooltipUnit}</b> ${ti.value.on} ${ti.value.months[nn.date.getMonth()]} ${nn.date.getDate()}, ${nn.date.getFullYear()}`}}function yo(nn){return e.vertical?`translate(0, ${i*W.value.weekCount-(nn+1)*i})`:`translate(${nn*i}, 0)`}function Bs(nn){return e.vertical?`translate(${nn*i}, 0)`:`translate(0, ${nn*i})`}function Hs(nn){return e.vertical?{x:3,y:i*W.value.weekCount-i*nn.index-i/4}:{x:i*nn.index,y:i-t}}(0,f.YP)([(0,ro.Vh)(e,"rangeColor"),(0,ro.Vh)(e,"darkMode")],([nn,Ds])=>{Ri.value=nn||(Ds?kr.DEFAULT_RANGE_COLOR_DARK:kr.DEFAULT_RANGE_COLOR_LIGHT)}),(0,f.YP)(gr,nn=>{nn?(Oe.value=r+i*kr.DAYS_IN_WEEK+a,Ze.value=u+i*W.value.weekCount+t,lt.value=`translate(${r}, 0)`,Dt.value=`translate(0, ${u})`):(Oe.value=r+i*W.value.weekCount+t,Ze.value=u+i*kr.DAYS_IN_WEEK,lt.value=`translate(0, ${u})`,Dt.value=`translate(${r}, 0)`)},{immediate:!0}),(0,f.YP)([Oe,Ze],([nn,Ds])=>ot.value=` 0 0 ${nn} ${Ds}`,{immediate:!0}),(0,f.YP)([Oe,Ze,Ri],([nn,Ds,aa])=>{Et.value=gr.value?`translate(${r+i*kr.DAYS_IN_WEEK}, ${u})`:`translate(${nn-i*aa.length-30}, ${Ds-b})`},{immediate:!0}),(0,f.YP)(Ar,nn=>ti.value=nn?nf(nf({},kr.DEFAULT_LOCALE),nn):kr.DEFAULT_LOCALE,{immediate:!0}),(0,f.YP)(Ri,nn=>pt.value=`0 0 ${kr.SQUARE_SIZE*(nn.length+1)} ${kr.SQUARE_SIZE}`,{immediate:!0}),(0,f.YP)([He,si,Gt,An,Rn,Ri],()=>{W.value=new kr(e.endDate,e.values,e.max),ur.forEach(nn=>nn.destroy()),(0,f.Y3)(Sr)}),(0,f.bv)(Sr),(0,f.Jd)(()=>{ir==null||ir.destroy(),ur.forEach(nn=>nn.destroy())});function Ps(nn){if(ir&&nn.target&&nn.target.classList.contains("vch__day__square")&&nn.target.dataset.weekIndex!==void 0&&nn.target.dataset.dayIndex!==void 0){const Ds=Number(nn.target.dataset.weekIndex),aa=Number(nn.target.dataset.dayIndex);if(!isNaN(Ds)&&!isNaN(aa)){const ko=Ns(W.value.calendar[Ds][aa]);if(ko){const ga=ur.get(nn.target);ga?ga.setContent(ko):ga||(ur.set(nn.target,lf(nn.target,{content:ko})),ir.setInstances(Array.from(ur.values())))}}}}return{SQUARE_BORDER_SIZE:t,SQUARE_SIZE:i,LEFT_SECTION_WIDTH:r,RIGHT_SECTION_WIDTH:a,TOP_SECTION_HEIGHT:u,BOTTOM_SECTION_HEIGHT:b,svg:g,heatmap:W,now:T,width:Oe,height:Ze,viewbox:ot,daysLabelWrapperTransform:lt,monthsLabelWrapperTransform:Dt,yearWrapperTransform:w,legendWrapperTransform:Et,lo:ti,legendViewbox:pt,curRangeColor:Ri,getWeekPosition:yo,getDayPosition:Bs,getMonthLabelPosition:Hs,initTippyLazy:Ps}}}),Om=(e,t)=>{const i=e.__vccOpts||e;for(const[r,a]of t)i[r]=a;return i},Rm=["viewBox"],Pm=["transform"],Dm=["x","y"],Mm=["transform"],Lm=["x","y"],Im=["x","y"],Fm=["x","y"],Nm=["transform"],Bm=["x"],Hm=["rx","ry","width","height","x","y"],Vm=["x","y"],Um=["transform"],$m=["transform"],Wm=["rx","ry","transform","width","height","data-week-index","data-day-index","onClick"],zm={class:"vch__legend"},qm={class:"vch__legend-left"},Km={class:"vch__legend-right"},Zm={class:"vch__legend"},Ym=["viewBox","height"],Gm={class:"vch__legend__wrapper"},Xm=["rx","ry","width","height","x"];function Jm(e,t,i,r,a,u){return(0,f.wg)(),(0,f.iD)("div",{class:(0,Q.normalizeClass)({vch__container:!0,"dark-mode":e.darkMode})},[((0,f.wg)(),(0,f.iD)("svg",{class:"vch__wrapper",ref:"svg",viewBox:e.viewbox},[(0,f._)("g",{class:"vch__months__labels__wrapper",transform:e.monthsLabelWrapperTransform},[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.heatmap.firstFullWeekOfMonths,(b,w)=>((0,f.wg)(),(0,f.iD)("text",{class:"vch__month__label",key:w,x:e.getMonthLabelPosition(b).x,y:e.getMonthLabelPosition(b).y},(0,Q.toDisplayString)(e.lo.months[b.value]),9,Dm))),128))],8,Pm),(0,f._)("g",{class:"vch__days__labels__wrapper",transform:e.daysLabelWrapperTransform},[(0,f._)("text",{class:"vch__day__label",x:e.vertical?e.SQUARE_SIZE:0,y:e.vertical?e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE:20},(0,Q.toDisplayString)(e.lo.days[1]),9,Lm),(0,f._)("text",{class:"vch__day__label",x:e.vertical?e.SQUARE_SIZE*3:0,y:e.vertical?e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE:44},(0,Q.toDisplayString)(e.lo.days[3]),9,Im),(0,f._)("text",{class:"vch__day__label",x:e.vertical?e.SQUARE_SIZE*5:0,y:e.vertical?e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE:69},(0,Q.toDisplayString)(e.lo.days[5]),9,Fm)],8,Mm),e.vertical?((0,f.wg)(),(0,f.iD)("g",{key:0,class:"vch__legend__wrapper",transform:e.legendWrapperTransform},[(0,f._)("text",{x:e.SQUARE_SIZE*1.25,y:"8"},(0,Q.toDisplayString)(e.lo.less),9,Bm),((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.curRangeColor,(b,w)=>((0,f.wg)(),(0,f.iD)("rect",{key:w,rx:e.round,ry:e.round,style:(0,Q.normalizeStyle)({fill:b}),width:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,height:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,x:e.SQUARE_SIZE*1.75,y:e.SQUARE_SIZE*(w+1)},null,12,Hm))),128)),(0,f._)("text",{x:e.SQUARE_SIZE*1.25,y:e.SQUARE_SIZE*(e.curRangeColor.length+2)-e.SQUARE_BORDER_SIZE},(0,Q.toDisplayString)(e.lo.more),9,Vm)],8,Nm)):(0,f.kq)("",!0),(0,f._)("g",{class:"vch__year__wrapper",transform:e.yearWrapperTransform,onMouseover:t[0]||(t[0]=(...b)=>e.initTippyLazy&&e.initTippyLazy(...b))},[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.heatmap.calendar,(b,w)=>((0,f.wg)(),(0,f.iD)("g",{class:"vch__month__wrapper",key:w,transform:e.getWeekPosition(w)},[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(b,(g,T)=>((0,f.wg)(),(0,f.iD)(f.HY,{key:T},[g.date<e.now?((0,f.wg)(),(0,f.iD)("rect",{key:0,class:"vch__day__square",rx:e.round,ry:e.round,transform:e.getDayPosition(T),width:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,height:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,style:(0,Q.normalizeStyle)({fill:e.curRangeColor[g.colorIndex]}),"data-week-index":w,"data-day-index":T,onClick:W=>e.$emit("dayClick",g)},null,12,Wm)):(0,f.kq)("",!0)],64))),128))],8,$m))),128))],40,Um)],8,Rm)),(0,f._)("div",zm,[(0,f.WI)(e.$slots,"legend",{},()=>[(0,f._)("div",qm,[(0,f.WI)(e.$slots,"vch__legend-left")]),(0,f._)("div",Km,[(0,f.WI)(e.$slots,"legend-right",{},()=>[(0,f._)("div",Zm,[(0,f._)("div",null,(0,Q.toDisplayString)(e.lo.less),1),e.vertical?(0,f.kq)("",!0):((0,f.wg)(),(0,f.iD)("svg",{key:0,class:"vch__external-legend-wrapper",viewBox:e.legendViewbox,height:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE},[(0,f._)("g",Gm,[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.curRangeColor,(b,w)=>((0,f.wg)(),(0,f.iD)("rect",{key:w,rx:e.round,ry:e.round,style:(0,Q.normalizeStyle)({fill:b}),width:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,height:e.SQUARE_SIZE-e.SQUARE_BORDER_SIZE,x:e.SQUARE_SIZE*w},null,12,Xm))),128))])],8,Ym)),(0,f._)("div",null,(0,Q.toDisplayString)(e.lo.more),1)])])])])])],2)}const _u=Om(Am,[["render",Jm]]);function Qm(e){e.component(_u.name,_u)}const _j={install:Qm};var eg={components:{CalendarHeatmap:_u},props:{values:{type:Array,default:()=>[]},locale:{type:Object,default:()=>{}}},data:()=>({colorRange:["var(--color-secondary-alpha-60)","var(--color-secondary-alpha-60)","var(--color-primary-light-4)","var(--color-primary-light-2)","var(--color-primary)","var(--color-primary-dark-2)","var(--color-primary-dark-4)"],endDate:new Date}),mounted(){const e=document.querySelector(".vch__external-legend-wrapper");e.setAttribute("viewBox","12 0 80 10"),e.style.marginRight="-12px"},methods:{handleDayClick(e){const t=new URLSearchParams(document.location.search),i=t.get("date"),r=new Date(e.date-e.date.getTimezoneOffset()*6e4).toISOString().substring(0,10);i&&i===r?t.delete("date"):t.set("date",r),t.delete("page");const a=t.toString();window.location.search=a.length?`?${a}`:""}}},tg=(0,_.Z)(eg,[["render",Tm]]);function ig(){const e=document.getElementById("user-heatmap");if(e)try{const t={};for(const{contributions:u,timestamp:b}of JSON.parse(e.getAttribute("data-heatmap-data"))){const w=new Date(b*1e3).toDateString();t[w]=(t[w]||0)+u}const i=Object.keys(t).map(u=>({date:new Date(u),count:t[u]})),r={months:new Array(12).fill().map((u,b)=>me(b)),days:new Array(7).fill().map((u,b)=>Le(b)),contributions:"contributions",contributions_in_the_last_12_months:e.getAttribute("data-locale-total-contributions"),no_contributions:e.getAttribute("data-locale-no-contributions"),more:e.getAttribute("data-locale-more"),less:e.getAttribute("data-locale-less")};(0,te.createApp)(tg,{values:i,locale:r}).mount(e),e.classList.remove("is-loading")}catch(t){console.error("Heatmap failed to load",t),e.textContent="Heatmap failed to load"}}var Ef=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function ng(e,t){var i,r;const w=qi(e,"image/svg+xml").documentElement,g=(i=w==null?void 0:w.width)==null?void 0:i.baseVal,T=(r=w==null?void 0:w.height)==null?void 0:r.baseVal;if(g===void 0||T===void 0)return null;if(g.unitType===SVGLength.SVG_LENGTHTYPE_PERCENTAGE||T.unitType===SVGLength.SVG_LENGTHTYPE_PERCENTAGE){const W=new Image;if(W.src=t,W.width>1&&W.width<99999&&W.height>1&&W.height<99999)return{width:W.width,height:W.height};if(w.hasAttribute("viewBox")){const Oe=w.viewBox.baseVal;return{width:300,height:300*Oe.width/Oe.height}}return{width:300,height:300}}return null}function kf(){function e(t,i){const r={width:t&&t.width||0,height:t&&t.height||0},a={width:i&&i.width||0,height:i&&i.height||0},u={width:Math.max(a.width,r.width),height:Math.max(a.height,r.height)};return{image1:p(t),image2:p(i),size1:r,size2:a,max:u,ratio:[Math.floor(u.width-r.width)/2,Math.floor(u.height-r.height)/2,Math.floor(u.width-a.width)/2,Math.floor(u.height-a.height)/2]}}p(".image-diff:not([data-image-diff-loaded])").each(function(){return Ef(this,null,function*(){const t=p(this);t.attr("data-image-diff-loaded","true");const i=Math.max(t.closest(".diff-file-box").width()-300,100),r=[{path:this.getAttribute("data-path-after"),mime:this.getAttribute("data-mime-after"),$images:t.find("img.image-after"),$boundsInfo:t.find(".bounds-info-after")},{path:this.getAttribute("data-path-before"),mime:this.getAttribute("data-mime-before"),$images:t.find("img.image-before"),$boundsInfo:t.find(".bounds-info-before")}];yield Promise.all(r.map(T=>Ef(this,null,function*(){const[W]=yield Promise.all(Array.from(T.$images,Oe=>wt(Oe,T.path)));if(W||T.$boundsInfo.text("(image error)"),T.mime==="image/svg+xml"){const Ze=yield(yield zr(T.path)).text(),ot=ng(Ze,T.path);ot&&(T.$images.attr("width",ot.width),T.$images.attr("height",ot.height),pe(T.$boundsInfo))}})));const a=r[0].$images,u=r[1].$images;b(e(a[0],u[0])),a.length>0&&u.length>0&&(w(e(a[1],u[1])),g(e(a[2],u[2]))),t.find("> .image-diff-tabs").removeClass("is-loading");function b(T){let W=1;T.max.width>(i-24)/2&&(W=(i-24)/2/T.max.width);const Oe=T.image1.length!==0&&T.image2.length!==0&&T.image1[0].naturalWidth!==T.image2[0].naturalWidth,Ze=T.image1.length!==0&&T.image2.length!==0&&T.image1[0].naturalHeight!==T.image2[0].naturalHeight;T.image1.length!==0&&(t.find(".bounds-info-after .bounds-info-width").text(`${T.image1[0].naturalWidth}px`).addClass(Oe?"green":""),t.find(".bounds-info-after .bounds-info-height").text(`${T.image1[0].naturalHeight}px`).addClass(Ze?"green":"")),T.image2.length!==0&&(t.find(".bounds-info-before .bounds-info-width").text(`${T.image2[0].naturalWidth}px`).addClass(Oe?"red":""),t.find(".bounds-info-before .bounds-info-height").text(`${T.image2[0].naturalHeight}px`).addClass(Ze?"red":"")),T.image1.css({width:T.size1.width*W,height:T.size1.height*W}),T.image1.parent().css({margin:"10px auto",width:T.size1.width*W+2,height:T.size1.height*W+2}),T.image2.css({width:T.size2.width*W,height:T.size2.height*W}),T.image2.parent().css({margin:"10px auto",width:T.size2.width*W+2,height:T.size2.height*W+2})}function w(T){let W=1;T.max.width>i-12&&(W=(i-12)/T.max.width),T.image1.css({width:T.size1.width*W,height:T.size1.height*W}),T.image1.parent().css({margin:`0px ${T.ratio[0]*W}px`,width:T.size1.width*W+2,height:T.size1.height*W+2}),T.image1.parent().parent().css({padding:`${T.ratio[1]*W}px 0 0 0`,width:T.max.width*W+2}),T.image2.css({width:T.size2.width*W,height:T.size2.height*W}),T.image2.parent().css({margin:`${T.ratio[3]*W}px ${T.ratio[2]*W}px`,width:T.size2.width*W+2,height:T.size2.height*W+2}),T.image2.parent().parent().css({width:T.max.width*W+2,height:T.max.height*W+2}),t.find(".diff-swipe").css({width:T.max.width*W+2,height:T.max.height*W+30}),t.find(".swipe-bar").on("mousedown",function(Oe){Oe.preventDefault();const Ze=p(this),ot=Ze.parent(),pt=ot.width()-Ze.width()-2;p(document).on("mousemove.diff-swipe",lt=>{lt.preventDefault();const Dt=Math.max(0,Math.min(lt.clientX-ot.offset().left,pt));Ze.css({left:Dt}),t.find(".swipe-container").css({width:ot.width()-Dt}),p(document).on("mouseup.diff-swipe",()=>{p(document).off(".diff-swipe")})})})}function g(T){let W=1;T.max.width>i-12&&(W=(i-12)/T.max.width),T.image1.css({width:T.size1.width*W,height:T.size1.height*W}),T.image2.css({width:T.size2.width*W,height:T.size2.height*W}),T.image1.parent().css({margin:`${T.ratio[1]*W}px ${T.ratio[0]*W}px`,width:T.size1.width*W+2,height:T.size1.height*W+2}),T.image2.parent().css({margin:`${T.ratio[3]*W}px ${T.ratio[2]*W}px`,width:T.size2.width*W+2,height:T.size2.height*W+2}),T.image2.parent().parent().css({width:T.max.width*W+2,height:T.max.height*W+2});const Oe=t.find("input[type='range']"),Ze=()=>T.image1.parent().css({opacity:Oe.val()/100});Oe.on("input",Ze),Ze()}})})}const Af=p("#service_type"),Of=p("#auth_username"),Rf=p("#auth_password"),Pf=p("#auth_token"),Df=p("#mirror"),Mf=p("#lfs"),rg=p("#lfs_settings"),Lf=p("#lfs_endpoint"),jc=p("#migrate_items").find("input[type=checkbox]");function sg(){og(),If(),Of.on("input",()=>{Yl(!1)}),Rf.on("input",()=>{Yl(!1)}),Pf.on("input",()=>{Yl(!0)}),Df.on("change",()=>{Yl(!0)}),p("#lfs_settings_show").on("click",()=>(X(Lf),!1)),Mf.on("change",If);const e=p("#clone_addr");e.on("change",()=>{const t=p("#repo_name");e.val().length>0&&t.val().length===0&&t.val(e.val().match(/^(.*\/)?((.+?)(\.git)?)$/)[3])})}function og(){const e=Af.val();Yl(e!==1)}function Yl(e){let t;if(e?t=Pf.val()!=="":t=Of.val()!==""||Rf.val()!=="",t&&Af.val()>1){if(Df.is(":checked")){jc.not('[name="wiki"]').attr("disabled",!0),jc.filter('[name="wiki"]').attr("disabled",!1);return}jc.attr("disabled",!1)}else jc.attr("disabled",!0)}function If(){const e=Mf.is(":checked");N(rg,e),pe(Lf)}var ag=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function wu(...e){return ag(this,null,function*(){const{Sortable:t}=yield St.e("sortablejs").then(St.bind(St,"./node_modules/sortablejs/modular/sortable.esm.js"));return new t(...e)})}var lg=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{csrfToken:Rl}=window.config;function Ff(e){const t=e.parentElement,i=t.getElementsByClassName("issue-card").length;t.getElementsByClassName("project-column-issue-count")[0].textContent=i}function cg(e,t,i){p.ajax({url:e,data:JSON.stringify({title:t.val(),color:i.val()}),headers:{"X-Csrf-Token":Rl},contentType:"application/json",method:"POST"}).done(()=>{t.closest("form").removeClass("dirty"),window.location.reload()})}function Nf({item:e,from:t,to:i,oldIndex:r}){const a=i.getElementsByClassName("issue-card");Ff(t),Ff(i);const u={issues:Array.from(a,(b,w)=>({issueID:parseInt(p(b).attr("data-issue")),sorting:w}))};p.ajax({url:`${i.getAttribute("data-url")}/move`,data:JSON.stringify(u),headers:{"X-Csrf-Token":Rl},contentType:"application/json",type:"POST",error:()=>{t.insertBefore(e,t.children[r])}})}function ug(){return lg(this,null,function*(){const e=document.querySelectorAll("#project-board > .board.sortable");if(!e.length)return;const t=e[0];let i=t.getElementsByClassName("project-column");wu(t,{group:"project-column",draggable:".project-column",filter:'[data-id="0"]',animation:150,ghostClass:"card-ghost",delayOnTouchOnly:!0,delay:500,onSort:()=>{i=t.getElementsByClassName("project-column");for(let r=0;r<i.length;r++){const a=i[r];parseInt(p(a).data("sorting"))!==r&&p.ajax({url:p(a).data("url"),data:JSON.stringify({sorting:r,color:Hf(p(a).css("backgroundColor"))}),headers:{"X-Csrf-Token":Rl},contentType:"application/json",method:"PUT"})}}});for(const r of i){const a=r.getElementsByClassName("cards")[0];wu(a,{group:"shared",animation:150,ghostClass:"card-ghost",onAdd:Nf,onUpdate:Nf,delayOnTouchOnly:!0,delay:500})}})}function fg(){if(!p(".repository.projects").length)return;const e=ug();p(".edit-project-column-modal").each(function(){const t=p(this).closest(".project-column-header"),i=t.find(".project-column-title"),r=p(this).find(".project-column-title-input"),a=p(this).find("#new_project_column_color"),u=p(this).closest(".project-column");u.css("backgroundColor")&&Bf(t,Hf(u.css("backgroundColor"))),p(this).find(".edit-project-column-button").on("click",function(b){b.preventDefault(),p.ajax({url:p(this).data("url"),data:JSON.stringify({title:r.val(),color:a.val()}),headers:{"X-Csrf-Token":Rl},contentType:"application/json",method:"PUT"}).done(()=>{i.text(r.val()),r.closest("form").removeClass("dirty"),a.val()&&Bf(t,a.val()),u.attr("style",`background: ${a.val()}!important`),p(".ui.modal").modal("hide")})})}),p(".default-project-column-modal").each(function(){const t=p(this).closest(".project-column"),i=p(t).find(".default-project-column-show"),r=p(this).find(".actions > .ok.button");p(r).on("click",a=>{a.preventDefault(),p.ajax({method:"POST",url:p(i).data("url"),headers:{"X-Csrf-Token":Rl},contentType:"application/json"}).done(()=>{window.location.reload()})})}),p(".show-delete-project-column-modal").each(function(){const i=p(`${p(this).attr("data-modal")}`).find(".actions > .ok.button"),r=p(this).attr("data-url");i.on("click",a=>{a.preventDefault(),p.ajax({url:r,headers:{"X-Csrf-Token":Rl},contentType:"application/json",method:"DELETE"}).done(()=>{window.location.reload()})})}),p("#new_project_column_submit").on("click",t=>{t.preventDefault();const i=p("#new_project_column"),r=p("#new_project_column_color_picker");if(!i.val())return;const a=p(this).data("url");cg(a,i,r)})}function Bf(e,t){const{r:i,g:r,b:a}=zi(t).toRgb();vf(i,r,a)?e.removeClass("dark-label").addClass("light-label"):e.removeClass("light-label").addClass("dark-label")}function Hf(e){return e=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+).*\)$/),`#${xu(e[1])}${xu(e[2])}${xu(e[3])}`}function xu(e){const t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];return Number.isNaN(e)?"00":t[(e-e%16)/16]+t[e%16]}function dg(){for(const e of document.querySelectorAll("th[data-sortt-asc]")||[]){const t=e.getAttribute("data-sortt-asc"),i=e.getAttribute("data-sortt-desc"),r=e.getAttribute("data-sortt-default");e.addEventListener("click",()=>{hg(t,i,r)})}}function hg(e,t,i){if(!e)return!1;t||(t="");const r=new URL(window.location);let a=r.searchParams.get("sort");!a&&i&&(a=e),r.searchParams.set("sort",a!==e?e:t),window.location.replace(r.href)}function pg(){const e=window.config.pageData.adminUserListSearchForm;if(!e)return;const t=p("#user-list-search-form");if(t.length){if(t.find(`button[name=sort][value=${e.SortType}]`).addClass("active"),e.StatusFilterMap)for(const[i,r]of Object.entries(e.StatusFilterMap))r&&t.find(`input[name="status_filter[${i}]"][value=${r}]`).prop("checked",!0);t.find("input[type=radio]").on("click",()=>(t.trigger("submit"),!1)),t.find(".j-reset-status-filter").on("click",()=>(t.find("input[type=radio]").each((i,r)=>{const a=p(r);a.attr("name").startsWith("status_filter[")&&a.prop("checked",!1)}),t.trigger("submit"),!1))}}var mg=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{appSubUrl:gg}=window.config;function vg(){const e=document.querySelector(".page-content.admin.config");if(e)for(const t of e.querySelectorAll('input[type="checkbox"][data-config-dyn-key]'))t.addEventListener("change",()=>mg(this,null,function*(){try{const r=yield(yield Or(`${gg}/admin/config`,{data:new URLSearchParams({key:t.getAttribute("data-config-dyn-key"),value:t.checked})})).json();if(r.errorMessage)throw new Error(r.errorMessage)}catch(i){Qa(t,i.toString()),t.checked=!t.checked}}))}const bg=".markup h1, .markup h2, .markup h3, .markup h4, .markup h5, .markup h6";function Vf(e,t){if(t&&document.querySelector(":target")||(e==null?void 0:e.length)<=1)return;const i=decodeURIComponent(e.substring(1)),r=document.getElementById(`user-content-${i}`);if(r)r.scrollIntoView();else if(i.startsWith("user-content-")){const a=document.getElementById(i);a&&a.scrollIntoView()}}function yg(){if(document.querySelector(".markup")){for(const e of document.querySelectorAll(bg)){const t=e.id.replace(/^user-content-/,""),i=document.createElement("a");i.classList.add("anchor"),i.setAttribute("href",`#${encodeURIComponent(t)}`),i.innerHTML=Ht("octicon-link"),i.addEventListener("click",r=>{Vf(r.currentTarget.getAttribute("href"),!1)}),e.prepend(i)}Vf(window.location.hash,!0)}}var ml=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{appSubUrl:Sc,csrfToken:Uf,notificationSettings:gl,assetVersionEncoded:_g}=window.config;let Cc=0;function ju(){const e=document.getElementById("notification_table");if(e){window.addEventListener("pageshow",t=>{if(t.persisted){const i=document.getElementById("notification_table"),r=document.querySelector(".notifications-unread-count");let a=parseInt(r.textContent);for(const u of i.querySelectorAll('.notifications-item[data-remove="true"]'))u.remove(),a-=1;r.textContent=a}});for(const t of e.querySelectorAll('.notifications-item[data-status="1"] .notifications-link'))t.addEventListener("click",i=>{i.target.closest(".notifications-item").setAttribute("data-remove","true")});p("#notification_table .button").on("click",function(){return ml(this,null,function*(){const t=yield Sg(p(this).data("url"),p(this).data("status"),p(this).data("page"),p(this).data("q"),p(this).data("notification-id"));p(t).data("sequence-number")===Cc&&(p("#notification_div").replaceWith(t),ju()),yield Wf()}),!1})}}function wg(e){return ml(this,null,function*(){try{const t=JSON.parse(e.data);for(const i of document.querySelectorAll(".notification_count"))i.classList.toggle("gt-hidden",t.Count===0),i.textContent=`${t.Count}`;yield $f()}catch(t){console.error(t,e)}})}function xg(){const e=p(".notification_count");if(!e.length)return;let t=!1;const i=(r,a)=>{r<=0||!Number.isFinite(r)||(t=!0,a=a!=null?a:e.text(),setTimeout(()=>ml(this,null,function*(){yield jg(i,r,a)}),r))};if(gl.EventSourceUpdateTime>0&&window.EventSource&&window.SharedWorker){const r=new SharedWorker(`${St.p}js/eventsource.sharedworker.js?v=${_g}`,"notification-worker");r.addEventListener("error",a=>{console.error("worker error",a)}),r.port.addEventListener("messageerror",()=>{console.error("unable to deserialize message")}),r.port.postMessage({type:"start",url:`${window.location.origin}${Sc}/user/events`}),r.port.addEventListener("message",a=>{if(!a.data||!a.data.type){console.error("unknown worker message event",a);return}if(a.data.type==="notification-count"){const u=wg(a.data)}else if(a.data.type==="no-event-source")t||i(gl.MinTimeout);else if(a.data.type==="error")console.error("worker port event error",a.data);else if(a.data.type==="logout"){if(a.data.data!=="here")return;r.port.postMessage({type:"close"}),r.port.close(),window.location.href=Sc}else a.data.type==="close"&&(r.port.postMessage({type:"close"}),r.port.close())}),r.port.addEventListener("error",a=>{console.error("worker port error",a)}),r.port.start(),window.addEventListener("beforeunload",()=>{r.port.postMessage({type:"close"}),r.port.close()});return}i(gl.MinTimeout)}function jg(e,t,i){return ml(this,null,function*(){const r=p(".notification_count").text();if(i!==r){e(gl.MinTimeout,r);return}const a=yield Wf();let u=!1;i!==a?(u=!0,t=gl.MinTimeout):t<gl.MaxTimeout&&(t+=gl.TimeoutStep),e(t,a),u&&(yield $f())})}function $f(){return ml(this,null,function*(){const e=p("#notification_div");if(e.length>0){const t=yield p.ajax({type:"GET",url:`${Sc}/notifications${window.location.search}`,data:{"div-only":!0,"sequence-number":++Cc}});p(t).data("sequence-number")===Cc&&(e.replaceWith(t),ju())}})}function Wf(){return ml(this,null,function*(){const e=yield p.ajax({type:"GET",url:`${Sc}/notifications/new`,headers:{"X-Csrf-Token":Uf}}),t=p(".notification_count");return e.new===0?t.addClass("gt-hidden"):t.removeClass("gt-hidden"),t.text(`${e.new}`),`${e.new}`})}function Sg(e,t,i,r,a){return ml(this,null,function*(){return t!=="pinned"&&p(`#notification_${a}`).remove(),p.ajax({type:"POST",url:e,data:{_csrf:Uf,notification_id:a,status:t,page:i,q:r,noredirect:!0,"sequence-number":++Cc}})})}const zf=e=>e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),qf=e=>e.replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&#0?39;/g,"'").replace(/&quot;/g,'"').replace(/&amp;/g,"&");function Os(e,...t){if(typeof e=="string")return zf(e);let i=e[0];for(const[r,a]of t.entries())i=i+zf(String(a))+e[r+1];return i}function xj(e,...t){if(typeof e=="string")return qf(e);let i=e[0];for(const[r,a]of t.entries())i=i+qf(String(a))+e[r+1];return i}var Cg=St("./node_modules/toastify-js/src/toastify.js"),Tg=Object.defineProperty,Tc=Object.getOwnPropertySymbols,Kf=Object.prototype.hasOwnProperty,Zf=Object.prototype.propertyIsEnumerable,Yf=(e,t,i)=>t in e?Tg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Eg=(e,t)=>{for(var i in t||(t={}))Kf.call(t,i)&&Yf(e,i,t[i]);if(Tc)for(var i of Tc(t))Zf.call(t,i)&&Yf(e,i,t[i]);return e},kg=(e,t)=>{var i={};for(var r in e)Kf.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&Tc)for(var r of Tc(e))t.indexOf(r)<0&&Zf.call(e,r)&&(i[r]=e[r]);return i};const Ag={info:{icon:"octicon-check",background:"var(--color-green)",duration:2500},warning:{icon:"gitea-exclamation",background:"var(--color-orange)",duration:-1},error:{icon:"gitea-exclamation",background:"var(--color-red)",duration:-1}};function Su(e,t,i={}){var r=i,{gravity:a,position:u,duration:b}=r,w=kg(r,["gravity","position","duration"]);const{icon:g,background:T,duration:W}=Ag[t!=null?t:"info"],Oe=Cg(Eg({text:`
<div class='toast-icon'>${Ht(g)}</div>
<div class='toast-body'>${Os(e)}</div>
<button class='toast-close'>${Ht("octicon-x")}</button>
`,escapeMarkup:!1,gravity:a!=null?a:"top",position:u!=null?u:"center",duration:b!=null?b:W,style:{background:T}},w));Oe.showToast(),Oe.toastElement.querySelector(".toast-close").addEventListener("click",()=>Oe.hideToast())}function jj(e,t){return Su(e,"info",t)}function Sj(e,t){return Su(e,"warning",t)}function Oa(e,t){return Su(e,"error",t)}const{appSubUrl:Og,csrfToken:Cu}=window.config;let Gf,Xf,Jf,Qf;function Rg(e,t,i,r){let a=p(".content-history-detail-dialog");a.length||(a=p(`
<div class="ui modal content-history-detail-dialog">
${Ht("octicon-x",16,"close icon inside")}
<div class="header gt-df gt-ac gt-sb">
<div>${r}</div>
<div class="ui dropdown dialog-header-options gt-mr-5 gt-hidden">
${Xf}
${Ht("octicon-triangle-down",14,"dropdown icon")}
<div class="menu">
<div class="item red text" data-option-item="delete">${Jf}</div>
</div>
</div>
</div>
<div class="comment-diff-data is-loading"></div>
</div>`),a.appendTo(p("body")),a.find(".dialog-header-options").dropdown({showOnFocus:!1,allowReselection:!0,onChange(u,b,w){const g=w.data("option-item");g==="delete"?window.confirm(Qf)&&p.post(`${e}/content-history/soft-delete?comment_id=${t}&history_id=${i}`,{_csrf:Cu}).done(T=>{T.ok?a.modal("hide"):Oa(T.message)}):Oa(`unknown option item: ${g}`)},onHide(){p(this).dropdown("clear",!0)}}),a.modal({onShow(){p.ajax({url:`${e}/content-history/detail?comment_id=${t}&history_id=${i}`,data:{_csrf:Cu}}).done(u=>{a.find(".comment-diff-data").removeClass("is-loading").html(u.diffHtml),u.canSoftDelete&&a.find(".dialog-header-options").removeClass("gt-hidden")})},onHidden(){a.remove()}}).modal("show"))}function ed(e,t,i){const r=t.find(".comment-header-left"),a=`
<div class="ui dropdown interact-fg content-history-menu" data-comment-id="${i}">
&bull; ${Gf}${Ht("octicon-triangle-down",14,"dropdown icon")}
<div class="menu">
</div>
</div>`;r.find(".content-history-menu").remove(),r.append(p(a)),r.find(".dropdown").dropdown({action:"hide",apiSettings:{cache:!1,url:`${e}/content-history/list?comment_id=${i}`},saveRemoteData:!1,onHide(){p(this).dropdown("change values",null)},onChange(u,b,w){u&&!w.find("[data-history-is-deleted=1]").length&&Rg(e,i,u,b)}})}function td(){const e=p("#issueIndex").val();if(!e)return;const t=p(".repository.issue .timeline-item.comment.first"),i=p(".repository.issue .comment-list .comment");if(!t.length&&!i.length)return;const r=p("#repolink").val(),a=`${Og}/${r}/issues/${e}`;p.ajax({url:`${a}/content-history/overview`,data:{_csrf:Cu}}).done(u=>{Gf=u.i18n.textEdited,Jf=u.i18n.textDeleteFromHistory,Qf=u.i18n.textDeleteFromHistoryConfirm,Xf=u.i18n.textOptions,u.editedHistoryCountMap[0]&&t.length&&ed(a,t,"0");for(const[b,w]of Object.entries(u.editedHistoryCountMap)){if(b==="0")continue;const g=p(`#issuecomment-${b}`);ed(a,g,b)}})}function Pg(e){if(typeof e!="number")throw new TypeError("Expected a number");const t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(e*1e3)%1e3,nanoseconds:t(e*1e6)%1e3}}const Dg=(e,t)=>t===1?e:`${e}s`,Mg=1e-7;function Lg(e,t={}){if(!Number.isFinite(e))throw new TypeError("Expected a finite number");t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);const i=[],r=(b,w)=>{const g=Math.floor(b*tf(10,w)+Mg);return(Math.round(g)/tf(10,w)).toFixed(w)},a=(b,w,g,T)=>{if((i.length===0||!t.colonNotation)&&b===0&&!(t.colonNotation&&g==="m"))return;T=(T||b||"0").toString();let W,Oe;if(t.colonNotation){W=i.length>0?":":"",Oe="";const Ze=T.includes(".")?T.split(".")[0].length:T.length,ot=i.length>0?2:1;T="0".repeat(Math.max(0,ot-Ze))+T}else W="",Oe=t.verbose?" "+Dg(w,b):g;i.push(W+T+Oe)},u=Pg(e);if(a(Math.trunc(u.days/365),"year","y"),a(u.days%365,"day","d"),a(u.hours,"hour","h"),a(u.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(a(u.seconds,"second","s"),t.formatSubMilliseconds)a(u.milliseconds,"millisecond","ms"),a(u.microseconds,"microsecond","\xB5s"),a(u.nanoseconds,"nanosecond","ns");else{const b=u.milliseconds+u.microseconds/1e3+u.nanoseconds/1e6,w=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,g=b>=1?Math.round(b):Math.ceil(b),T=w?b.toFixed(w):g;a(Number.parseFloat(T),"millisecond","ms",T)}else{const b=e/1e3%60,w=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,g=r(b,w),T=t.keepDecimalsOnWholeSeconds?g:g.replace(/\.0+$/,"");a(Number.parseFloat(T),"second","s",T)}if(i.length===0)return"0"+(t.verbose?" milliseconds":"ms");if(t.compact)return i[0];if(typeof t.unitCount=="number"){const b=t.colonNotation?"":" ";return i.slice(0,Math.max(t.unitCount,1)).join(b)}return t.colonNotation?i.join(""):i.join(" ")}var id=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{appSubUrl:Ec,csrfToken:Ig,notificationSettings:Pl,enableTimeTracking:Fg,assetVersionEncoded:Ng}=window.config;function Bg(){if(!Fg)return;const e=document.querySelector(".active-stopwatch-trigger"),t=document.querySelector(".active-stopwatch-popup");if(!e||!t)return;e.removeAttribute("href"),Ol(e,{content:t,placement:"bottom-end",trigger:"click",maxWidth:"none",interactive:!0,hideOnClick:!0});const i=p(".stopwatch-time").attr("data-seconds");i&&sd(i);let r=!1;const a=u=>{u<=0||!Number.isFinite(u)||(r=!0,setTimeout(()=>Hg(a,u),u))};if(Pl.EventSourceUpdateTime>0&&window.EventSource&&window.SharedWorker){const u=new SharedWorker(`${St.p}js/eventsource.sharedworker.js?v=${Ng}`,"notification-worker");u.addEventListener("error",b=>{console.error("worker error",b)}),u.port.addEventListener("messageerror",()=>{console.error("unable to deserialize message")}),u.port.postMessage({type:"start",url:`${window.location.origin}${Ec}/user/events`}),u.port.addEventListener("message",b=>{if(!b.data||!b.data.type){console.error("unknown worker message event",b);return}if(b.data.type==="stopwatches")nd(JSON.parse(b.data.data));else if(b.data.type==="no-event-source")r||a(Pl.MinTimeout);else if(b.data.type==="error")console.error("worker port event error",b.data);else if(b.data.type==="logout"){if(b.data.data!=="here")return;u.port.postMessage({type:"close"}),u.port.close(),window.location.href=Ec}else b.data.type==="close"&&(u.port.postMessage({type:"close"}),u.port.close())}),u.port.addEventListener("error",b=>{console.error("worker port error",b)}),u.port.start(),window.addEventListener("beforeunload",()=>{u.port.postMessage({type:"close"}),u.port.close()});return}a(Pl.MinTimeout)}function Hg(e,t){return id(this,null,function*(){(yield Vg())?t<Pl.MaxTimeout&&(t+=Pl.TimeoutStep):t=Pl.MinTimeout,e(t)})}function Vg(){return id(this,null,function*(){const e=yield p.ajax({type:"GET",url:`${Ec}/user/stopwatches`,headers:{"X-Csrf-Token":Ig}});return nd(e)})}function nd(e){const t=e[0],i=p(".active-stopwatch-trigger");if(!t)rd(),i.addClass("gt-hidden");else{const{repo_owner_name:r,repo_name:a,issue_index:u,seconds:b}=t,w=`${Ec}/${r}/${a}/issues/${u}`;p(".stopwatch-link").attr("href",w),p(".stopwatch-commit").attr("action",`${w}/times/stopwatch/toggle`),p(".stopwatch-cancel").attr("action",`${w}/times/stopwatch/cancel`),p(".stopwatch-issue").text(`${r}/${a}#${u}`),sd(b),i.removeClass("gt-hidden")}return!!e.length}let kc=null;function rd(){kc!==null&&(clearInterval(kc),kc=null)}function sd(e){const t=parseInt(e);if(!Number.isFinite(t))return;rd();const i=p(".stopwatch-time"),r=Date.now(),a=()=>{const u=Date.now()-r,b=Lg(t*1e3+u,{compact:!0});i.text(b)};a(),kc=setInterval(a,1e3)}function od(e){return e.split("/").map(encodeURIComponent).join("/")}var Ug=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{csrf:$g}=window.config,ad=50;let ld=[],vl,Tu,cd;function Wg(e,t){const i=[""];let r=0,a=0;const u=e.toLowerCase();for(;r<t.length&&a<u.length;)t[r]===u[a]?(i.length%2!==0&&i.push(""),i[i.length-1]+=e[a],a++,r++):(i.length%2===0&&i.push(""),i[i.length-1]+=e[a],a++);return r!==t.length?[e]:(a<e.length&&(i.length%2===0&&i.push(""),i[i.length-1]+=e.substring(a)),i)}function zg(e){let t=0;for(let i=0;i<e.length;i++)i%2===1&&(t+=e[i].length*e[i].length);return t}function qg(e,t){let i=[];if(t){const r=t.toLowerCase();for(let a=0;a<e.length;a++){const u=Wg(e[a],r);u.length>1&&i.push({matchResult:u,matchWeight:zg(u)})}i.sort((a,u)=>u.matchWeight-a.matchWeight),i=i.slice(0,ad)}else for(let r=0;r<e.length&&r<ad;r++)i.push({matchResult:[e[r]],matchWeight:0});return i}function ud(e){const t=vl.attr("data-url-tree-link");Tu.empty();const i=qg(ld,e),r="<tr><td><a></a></td></tr>";N(cd,i.length===0);for(const a of i){const u=p(r),b=u.find("a");b.attr("href",`${t}/${od(a.matchResult.join(""))}`);const w=p(Ht("octicon-file")).addClass("gt-mr-3");b.append(w);for(let g=0;g<a.matchResult.length;g++){if(!a.matchResult[g])continue;const T=p("<span>").text(a.matchResult[g]);g%2===1&&T.addClass("ui text red"),b.append(T)}Tu.append(u)}}function Kg(){return Ug(this,null,function*(){ld=yield p.ajax({url:vl.attr("data-url-data-link"),headers:{"X-Csrf-Token":$g}}),ud(vl.val())})}function Zg(){vl=p("#repo-file-find-input"),vl.length&&(Tu=p("#repo-find-file-table tbody"),cd=p("#repo-find-file-no-result"),vl.on("input",()=>ud(vl.val())),Kg())}function fd(){const e=document.createElement("button");return e.classList.add("code-copy","ui","button"),e.innerHTML=Ht("octicon-copy"),e}function Yg(){const e=document.querySelectorAll(".markup .code-block code");if(e.length)for(const t of e){const i=fd();i.setAttribute("data-clipboard-text",t.textContent),t.after(i)}}function Gl(e,t){e.classList.remove("is-loading");const i=document.createElement("pre");i.setAttribute("class","ui message error markup-block-error"),i.textContent=t.str||t.message||String(t),e.before(i),e.setAttribute("data-render-done","true")}var Gg=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{mermaidMaxSourceCharacters:Eu}=window.config,Xg=`:root {color-scheme: normal}
body {margin: 0; padding: 0; overflow: hidden}
#mermaid {display: block; margin: 0 auto}
blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {margin: 0}`;function Jg(){return Gg(this,null,function*(){const e=document.querySelectorAll(".markup code.language-mermaid");if(!e.length)return;const{default:t}=yield St.e("mermaid").then(St.bind(St,"./node_modules/mermaid/dist/mermaid.core.mjs"));t.initialize({startOnLoad:!1,theme:Fr()?"dark":"neutral",securityLevel:"strict"});for(const i of e){const r=i.closest("pre");if(r.hasAttribute("data-render-done"))continue;const a=i.textContent;if(Eu>=0&&a.length>Eu){Gl(r,new Error(`Mermaid source of ${a.length} characters exceeds the maximum allowed length of ${Eu}.`));continue}try{yield t.parse(a)}catch(u){Gl(r,u);continue}try{const{svg:u}=yield t.render("mermaid",a),b=document.createElement("iframe");b.classList.add("markup-render","gt-invisible"),b.srcdoc=`<html><head><style>${Xg}</style></head><body>${u}</body></html>`;const w=document.createElement("div");w.classList.add("mermaid-block","is-loading","gt-hidden"),w.append(b);const g=fd();g.setAttribute("data-clipboard-text",a),w.append(g),b.addEventListener("load",()=>{r.replaceWith(w),w.classList.remove("gt-hidden"),b.style.height=`${b.contentWindow.document.body.clientHeight}px`,setTimeout(()=>{w.classList.remove("is-loading"),b.classList.remove("gt-invisible")},0)}),document.body.append(w)}catch(u){Gl(r,u)}}})}var Qg=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function ev(e){return e.classList.contains("is-loading")?e:e.closest("pre")}function tv(){return Qg(this,null,function*(){const e=document.querySelectorAll(".markup code.language-math");if(!e.length)return;const[{default:t}]=yield Promise.all([St.e("katex").then(St.bind(St,"./node_modules/katex/dist/katex.mjs")),St.e("katex").then(St.bind(St,"./node_modules/katex/dist/katex.css"))]),i=1e3,r=25,a=1e3;for(const u of e){const b=ev(u);if(b.hasAttribute("data-render-done"))continue;const w=u.textContent;if(w.length>i){Gl(b,new Error(`Math source of ${w.length} characters exceeds the maximum allowed length of ${i}.`));continue}const g=u.classList.contains("display"),T=g?"p":"span";try{const W=document.createElement(T);t.render(w,W,{maxSize:r,maxExpand:a,displayMode:g}),b.replaceWith(W)}catch(W){Gl(b,W)}}})}var iv=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function nv(){return iv(this,null,function*(){const e=document.querySelectorAll(".asciinema-player-container");if(!e.length)return;const[t]=yield Promise.all([St.e("asciinema-player").then(St.bind(St,"./node_modules/asciinema-player/dist/index.js")),St.e("asciinema-player").then(St.bind(St,"./node_modules/asciinema-player/dist/bundle/asciinema-player.css"))]);for(const i of e)t.create(i.getAttribute("data-asciinema-player-src"),i,{poster:"npt:1:0:0"})})}var rv=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const dd=e=>e.preventDefault();function sv(){for(const e of document.querySelectorAll(".markup[data-can-edit=true]")||[]){const t=e.parentNode,i=e.querySelectorAll(".task-list-item input[type=checkbox]");for(const r of i){if(r.hasAttribute("data-editable"))return;r.setAttribute("data-editable","true"),r.addEventListener("input",()=>rv(this,null,function*(){const a=r.checked?"x":" ",u=parseInt(r.getAttribute("data-source-position"))+1,b=t.querySelector(".raw-content"),w=b.textContent,g=new TextEncoder,T=g.encode(w);if(T[u-1]!=="[".codePointAt(0)||T[u]!==" ".codePointAt(0)&&T[u]!=="x".codePointAt(0)||T[u+1]!=="]".codePointAt(0))throw r.checked=!r.checked,new Error(`Expected position to be space or x and surrounded by brackets, but it's not: position=${u}`);T.set(g.encode(a),u);const W=new TextDecoder().decode(T);if(W!==w){for(const Oe of i)Oe.addEventListener("click",dd);try{const Oe=t.querySelector(".edit-content-zone"),Ze=Oe.getAttribute("data-update-url"),ot=Oe.getAttribute("data-context");yield p.post(Ze,{ignore_attachments:!0,_csrf:window.config.csrfToken,content:W,context:ot}),b.textContent=W}catch(Oe){r.checked=!r.checked,console.error(Oe)}for(const Oe of i)Oe.removeEventListener("click",dd)}}))}for(const r of i)r.disabled=!1}}function Ac(){Jg(),tv(),Yg(),nv()}function hd(){sv()}var ov=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function av(){return ov(this,null,function*(){const e=document.querySelectorAll(".pdf-content");if(!e.length)return;const t=yield St.e("pdfobject").then(St.t.bind(St,"./node_modules/pdfobject/pdfobject.js",19));for(const i of e){const r=i.getAttribute("data-src"),a=i.getAttribute("data-fallback-button-text");t.embed(r,i,{fallbackLink:Os`
<a role="button" class="ui basic button pdf-fallback-button" href="[url]">${a}</a>
`}),i.classList.remove("is-loading")}})}(function(e){e.fn.areYouSure=function(t){var i=e.extend({message:"You have unsaved changes!",dirtyClass:"dirty",change:null,silent:!1,addRemoveFieldsMarksDirty:!1,fieldEvents:"change keyup propertychange input",fieldSelector:":input:not(input[type=submit]):not(input[type=button])"},t),r=function(W){if(W.hasClass("ays-ignore")||W.hasClass("aysIgnore")||W.attr("data-ays-ignore")||W.attr("name")===void 0)return null;if(W.is(":disabled"))return"ays-disabled";var Oe,Ze=W.attr("type");switch(W.is("select")&&(Ze="select"),Ze){case"checkbox":case"radio":Oe=W.is(":checked");break;case"select":Oe="",W.find("option").each(function(ot){var pt=e(this);pt.is(":selected")&&(Oe+=pt.val())});break;default:Oe=W.val()}return Oe},a=function(W){W.data("ays-orig",r(W))},u=function(W){var Oe=function(Dt){var Et=Dt.data("ays-orig");return Et===void 0?!1:r(Dt)!=Et},Ze=e(this).is("form")?e(this):e(this).parents("form");if(Oe(e(W.target))){w(Ze,!0);return}const ot=Ze.find(i.fieldSelector);if(i.addRemoveFieldsMarksDirty){var pt=Ze.data("ays-orig-field-count");if(pt!=ot.length){w(Ze,!0);return}}var lt=!1;ot.each(function(){var Dt=e(this);if(Oe(Dt))return lt=!0,!1}),w(Ze,lt)},b=function(W){var Oe=W.find(i.fieldSelector);e(Oe).each(function(){a(e(this))}),e(Oe).unbind(i.fieldEvents,u),e(Oe).bind(i.fieldEvents,u),W.data("ays-orig-field-count",e(Oe).length),w(W,!1)},w=function(W,Oe){var Ze=Oe!=W.hasClass(i.dirtyClass);W.toggleClass(i.dirtyClass,Oe),Ze&&(i.change&&i.change.call(W,W),Oe&&W.trigger("dirty.areYouSure",[W]),Oe||W.trigger("clean.areYouSure",[W]),W.trigger("change.areYouSure",[W]))},g=function(){var W=e(this),Oe=W.find(i.fieldSelector);e(Oe).each(function(){var Ze=e(this);Ze.data("ays-orig")||(a(Ze),Ze.bind(i.fieldEvents,u))}),W.trigger("checkform.areYouSure")},T=function(){b(e(this))};return!i.silent&&!window.aysUnloadSet&&(window.aysUnloadSet=!0,e(window).bind("beforeunload",function(){if(e("form").filter("."+i.dirtyClass).length!=0){if(navigator.userAgent.toLowerCase().match(/msie|chrome/)){if(window.aysHasPrompted)return;window.aysHasPrompted=!0,window.setTimeout(function(){window.aysHasPrompted=!1},900)}return i.message}})),this.each(function(W){if(e(this).is("form")){var Oe=e(this);Oe.submit(function(){Oe.removeClass(i.dirtyClass)}),Oe.bind("reset",function(){w(Oe,!1)}),Oe.bind("rescan.areYouSure",g),Oe.bind("reinitialize.areYouSure",T),Oe.bind("checkform.areYouSure",u),b(Oe)}})}})(jQuery);var lv=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function pd(e,t){return lv(this,null,function*(){const[{Dropzone:i}]=yield Promise.all([St.e("dropzone").then(St.bind(St,"./node_modules/dropzone/dist/dropzone.mjs")),St.e("dropzone").then(St.bind(St,"./node_modules/dropzone/dist/dropzone.css"))]);return new i(e,t)})}var cv=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function uv(e){return cv(this,null,function*(){!e||!e.length||(yield Promise.all([St.e("minicolors").then(St.t.bind(St,"./node_modules/@claviska/jquery-minicolors/jquery.minicolors.js",19)),St.e("minicolors").then(St.bind(St,"./node_modules/@claviska/jquery-minicolors/jquery.minicolors.css"))]),e.minicolors())})}function md(){uv(p(".color-picker")),p(".precolors .color").on("click",function(){const e=p(this).data("color-hex");p(".color-picker").val(e),p(".minicolors-swatch-color").css("background-color",e)})}function ku(e){const t=e.closest("form");if(t){if(!t.checkValidity()){t.reportValidity();return}if(t.classList.contains("form-fetch-action")){t.dispatchEvent(new SubmitEvent("submit",{bubbles:!0,cancelable:!0}));return}p(t).trigger("submit")}else e.dispatchEvent(new CustomEvent("ce-quick-submit",{bubbles:!0}))}var fv=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{i18n:gd}=window.config;function vd(){return fv(this,arguments,function*(e={content:"",buttonColor:"primary"}){return new Promise(t=>{const i=p(`
<div class="ui g-modal-confirm modal">
<div class="content">${Os(e.content)}</div>
<div class="actions">
<button class="ui cancel button">${Ht("octicon-x")} ${gd.modal_cancel}</button>
<button class="ui ${e.buttonColor||"primary"} ok button">${Ht("octicon-check")} ${gd.modal_confirm}</button>
</div>
</div>
`);i.appendTo(document.body),i.modal({onApprove(){t(!0)},onHidden(){i.remove(),t(!1)}}).modal("show")})})}var Xl=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{appUrl:Au,appSubUrl:dv,csrfToken:bd,i18n:Ou}=window.config;function hv(){p(".user.signin").length===0&&p("form:not(.ignore-dirty)").areYouSure()}function pv(){const e=document.getElementById("navbar"),t=document.getElementById("navbar-expand-toggle");!e||!t||t.addEventListener("click",()=>{const i=t.classList.contains("active");e.classList.toggle("navbar-menu-open",!i),t.classList.toggle("active",!i)})}function mv(){function e(){const t=p(this);p.get(t.data("url")).always(()=>{window.location.reload()})}p(".language-menu a[lang]").on("click",e)}function gv(){p(document).on("keydown",".js-quick-submit",e=>{if((e.ctrlKey&&!e.altKey||e.metaKey)&&e.key==="Enter")return ku(e.target),!1})}function vv(){p(document).on("keypress","div.ui.button,span.ui.button",e=>{(e.code===" "||e.code==="Enter")&&(p(e.target).trigger("click"),e.preventDefault())})}function bv(e){const t=document.createElement("form"),i=document.createElement("input");t.method="post",t.action=`${dv}/-/fetch-redirect`,i.type="hidden",i.name="redirect",i.value=e,t.append(i),document.body.append(t),t.submit()}function yd(e,t,i){return Xl(this,null,function*(){try{const r=yield Vr(t,i);if(r.status===200){let{redirect:a}=yield r.json();a=a||e.getAttribute("data-redirect"),e.classList.remove("dirty"),a?bv(a):window.location.reload()}else if(r.status>=400&&r.status<500){const a=yield r.json();Oa(a.errorMessage||`server error: ${r.status}`)}else Oa(`server error: ${r.status}`)}catch(r){console.error("error when doRequest",r),e.classList.remove("is-loading","small-loading-icon"),Oa(Ou.network_error)}})}function yv(e){return Xl(this,null,function*(){var t,i;if(!e.target.classList.contains("form-fetch-action"))return;e.preventDefault();const r=e.target;if(r.classList.contains("is-loading"))return;r.classList.add("is-loading"),r.clientHeight<50&&r.classList.add("small-loading-icon");const a=r.getAttribute("method")||"get",u=r.getAttribute("action"),b=new FormData(r),[w,g]=[(t=e.submitter)==null?void 0:t.getAttribute("name"),(i=e.submitter)==null?void 0:i.getAttribute("value")];w&&b.append(w,g||"");let T=u;const W={method:a.toUpperCase()};if(a.toLowerCase()==="get"){const Oe=new URLSearchParams;for(const[ot,pt]of b)Oe.append(ot,pt.toString());const Ze=T.indexOf("?");Ze!==-1&&(T=T.slice(0,Ze)),T+=`?${Oe.toString()}`}else W.body=b;yield yd(r,T,W)})}function _v(){const e=p(".ui.dropdown");e.filter(":not(.custom)").dropdown(),e.filter(".jump").dropdown({action:"hide",onShow(){var t,i;(t=this._tippy)==null||t.hide(),(i=this._tippy)==null||i.disable()},onHide(){var t;(t=this._tippy)==null||t.enable(),setTimeout(()=>{p(this).dropdown("is hidden")&&p(this).find(".menu > .item").each((r,a)=>{var u;(u=a._tippy)==null||u.hide()})},2e3)}}),e.filter(".upward").dropdown("setting","direction","upward"),e.filter(".downward").dropdown("setting","direction","downward"),p(".ui.checkbox").checkbox(),p(".tabular.menu .item").tab(),document.addEventListener("submit",yv),document.addEventListener("click",xv)}function wv(){for(const e of document.querySelectorAll(".dropzone")){const t=p(e),i=pd(e,{url:t.data("upload-url"),headers:{"X-Csrf-Token":bd},maxFiles:t.data("max-file"),maxFilesize:t.data("max-size"),acceptedFiles:["*/*",""].includes(t.data("accepts"))?null:t.data("accepts"),addRemoveLinks:!0,dictDefaultMessage:t.data("default-message"),dictInvalidFileType:t.data("invalid-input-type"),dictFileTooBig:t.data("file-too-big"),dictRemoveFile:t.data("remove-file"),timeout:0,thumbnailMethod:"contain",thumbnailWidth:480,thumbnailHeight:480,init(){this.on("success",(r,a)=>{r.uuid=a.uuid;const u=p(`<input id="${a.uuid}" name="files" type="hidden">`).val(a.uuid);t.find(".files").append(u);const b=document.createElement("div");b.className="gt-text-center",b.innerHTML=`<a href="#" style="cursor: pointer;">${Ht("octicon-copy",14,"copy link")} Copy link</a>`,b.addEventListener("click",w=>Xl(this,null,function*(){w.preventDefault();let g=`[${r.name}](/attachments/${r.uuid})`;r.type.startsWith("image/")?g=`!${g}`:r.type.startsWith("video/")&&(g=`<video src="/attachments/${r.uuid}" title="${Os(r.name)}" controls></video>`);const T=yield Kl(g);Qa(w.target,T?Ou.copy_success:Ou.copy_error)})),r.previewTemplate.append(b)}),this.on("removedfile",r=>{p(`#${r.uuid}`).remove(),t.data("remove-url")&&Or(t.data("remove-url"),{data:new URLSearchParams({file:r.uuid})})}),this.on("error",function(r,a){Oa(a),this.removeFile(r)})}})}}function xv(e){return Xl(this,null,function*(){const t=e.target.closest(".link-action");if(!t)return;e.preventDefault();const i=t.getAttribute("data-url"),r=()=>Xl(this,null,function*(){t.disabled=!0,yield yd(t,i,{method:"POST"}),t.disabled=!1}),a=Os(t.getAttribute("data-modal-confirm")||"");if(!a){yield r();return}const u=t.classList.contains("red")||t.classList.contains("yellow")||t.classList.contains("orange")||t.classList.contains("negative");(yield vd({content:a,buttonColor:u?"orange":"primary"}))&&(yield r())})}function jv(){function e(t){t.preventDefault();const i=p(this),r=i.data();let a="";i.attr("data-modal-id")&&(a+=`#${i.attr("data-modal-id")}`);const u=p(`.delete.modal${a}`);u.find(".name").text(i.data("name"));for(const[b,w]of Object.entries(r))b&&b.startsWith("data")&&u.find(`.${b}`).text(w);u.modal({closable:!1,onApprove(){if(i.data("type")==="form"){p(i.data("form")).trigger("submit");return}const b={_csrf:bd};for(const[w,g]of Object.entries(r))w&&w.startsWith("data")&&(b[w.slice(4)]=g),w==="id"&&(b.id=g);p.post(i.data("url"),b).done(w=>{window.location.href=w.redirect})}}).modal("show")}p(".delete-button").on("click",e)}function Sv(){p(".show-modal").on("click",function(e){e.preventDefault();const i=p(this).attr("data-modal"),r=p(i);if(!r.length)throw new Error("no modal for this action");const a="data-modal-";for(const b of this.attributes){if(!b.name.startsWith(a))continue;const w=b.name.substring(a.length),[g,T]=w.split(".");let W=r.find(`#${g}`);W.length||(W=r.find(`.${g}`)),W.length||(W=r.find(`${g}`)),W.length&&(T?W[0][T]=b.value:W.is("input")||W.is("textarea")?W.val(b.value):W.text(b.value))}r.find(".color-picker").length>0&&md(),r.modal("setting",{onApprove:()=>{if(r.find(".form-fetch-action").length)return!1}}).modal("show")})}function Cv(){p(document).on("click","form button.ui.cancel.button",e=>{e.preventDefault()}),p(".show-panel").on("click",function(e){e.preventDefault();const t=p(this).attr("data-panel");this.classList.contains("toggle")?N(t):X(t)}),p(".hide-panel").on("click",function(e){e.preventDefault();let t=p(this).attr("data-panel");if(t){pe(p(t));return}if(t=p(this).attr("data-panel-closest"),t){pe(p(this).closest(t));return}Oa("Nothing to hide")}),Sv()}function _d(){const e=window.location.href;e.startsWith(Au)||`${e}/`===Au||gt(`Your ROOT_URL in app.ini is "${Au}", it's unlikely matching the site you are visiting.
Mismatched ROOT_URL config causes wrong URL links for web UI/mail content/webhook notification/OAuth2 sign-in.`)}function Tv(){const e=document.getElementById("oauth2-login-navigator");if(!e)return;const t=document.getElementById("oauth2-login-navigator-inner");_d();for(const i of e.querySelectorAll(".oauth-login-link"))i.addEventListener("click",()=>{t.classList.add("gt-invisible"),e.classList.add("is-loading"),setTimeout(()=>{e.classList.remove("is-loading"),t.classList.remove("gt-invisible")},5e3)})}function Ev(){const e=p(".page-content.user.link-account");if(e.length===0)return!1;const t=e.find('.item[data-tab="auth-link-signin-tab"]'),i=e.find('.item[data-tab="auth-link-signup-tab"]'),r=e.find('.tab[data-tab="auth-link-signin-tab"]'),a=e.find('.tab[data-tab="auth-link-signup-tab"]');i.on("click",()=>(t.removeClass("active"),r.removeClass("active"),i.addClass("active"),a.addClass("active"),!1)),t.on("click",()=>{i.removeClass("active"),a.removeClass("active"),t.addClass("active"),r.addClass("active")})}function Dl(e,t,i){t.innerHTML=Ht(`octicon-chevron-${i?"right":"down"}`,18),e.setAttribute("data-folded",i),i&&e.getBoundingClientRect().top<0&&e.scrollIntoView()}function kv(e,t){Dl(e,t,e.getAttribute("data-folded")!=="true")}var wd=function(e,t,i,r){if(i==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?r:i==="a"?r.call(e):r?r.value:t.get(e)},Oc,Ru;const Av=["[data-md-button]","md-header","md-bold","md-italic","md-quote","md-code","md-link","md-image","md-unordered-list","md-ordered-list","md-task-list","md-mention","md-ref","md-strikethrough"];function xd(e){const t=[];for(const i of e.querySelectorAll(Av.join(", ")))i.hidden||i.offsetWidth<=0&&i.offsetHeight<=0||i.closest("markdown-toolbar")===e&&t.push(i);return t}function jd(e){return function(t){(t.key===" "||t.key==="Enter")&&e(t)}}const bo=new WeakMap,Ov={"header-1":{prefix:"# "},"header-2":{prefix:"## "},"header-3":{prefix:"### "},"header-4":{prefix:"#### "},"header-5":{prefix:"##### "},"header-6":{prefix:"###### "},bold:{prefix:"**",suffix:"**",trimFirst:!0},italic:{prefix:"_",suffix:"_",trimFirst:!0},quote:{prefix:"> ",multiline:!0,surroundWithNewlines:!0},code:{prefix:"`",suffix:"`",blockPrefix:"```",blockSuffix:"```"},link:{prefix:"[",suffix:"](url)",replaceNext:"url",scanFor:"https?://"},image:{prefix:"![",suffix:"](url)",replaceNext:"url",scanFor:"https?://"},"unordered-list":{prefix:"- ",multiline:!0,unorderedList:!0},"ordered-list":{prefix:"1. ",multiline:!0,orderedList:!0},"task-list":{prefix:"- [ ] ",multiline:!0,surroundWithNewlines:!0},mention:{prefix:"@",prefixSpace:!0},ref:{prefix:"#",prefixSpace:!0},strikethrough:{prefix:"~~",suffix:"~~",trimFirst:!0}};class Ko extends HTMLElement{constructor(){super();const t=i=>{const r=bo.get(this);r&&(i.preventDefault(),Mu(this,r))};this.addEventListener("keydown",jd(t)),this.addEventListener("click",t)}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","button")}click(){const t=bo.get(this);t&&Mu(this,t)}}class Sd extends Ko{constructor(){super(...arguments),Oc.add(this)}connectedCallback(){const t=parseInt(this.getAttribute("level")||"3",10);wd(this,Oc,"m",Ru).call(this,t)}static get observedAttributes(){return["level"]}attributeChangedCallback(t,i,r){if(t!=="level")return;const a=parseInt(r||"3",10);wd(this,Oc,"m",Ru).call(this,a)}}Oc=new WeakSet,Ru=function(t){if(t<1||t>6)return;const i=`${"#".repeat(t)} `;bo.set(this,{prefix:i})},window.customElements.get("md-header")||(window.MarkdownHeaderButtonElement=Sd,window.customElements.define("md-header",Sd));class Cd extends Ko{connectedCallback(){bo.set(this,{prefix:"**",suffix:"**",trimFirst:!0})}}window.customElements.get("md-bold")||(window.MarkdownBoldButtonElement=Cd,window.customElements.define("md-bold",Cd));class Td extends Ko{connectedCallback(){bo.set(this,{prefix:"_",suffix:"_",trimFirst:!0})}}window.customElements.get("md-italic")||(window.MarkdownItalicButtonElement=Td,window.customElements.define("md-italic",Td));class Ed extends Ko{connectedCallback(){bo.set(this,{prefix:"> ",multiline:!0,surroundWithNewlines:!0})}}window.customElements.get("md-quote")||(window.MarkdownQuoteButtonElement=Ed,window.customElements.define("md-quote",Ed));class kd extends Ko{connectedCallback(){bo.set(this,{prefix:"`",suffix:"`",blockPrefix:"```",blockSuffix:"```"})}}window.customElements.get("md-code")||(window.MarkdownCodeButtonElement=kd,window.customElements.define("md-code",kd));class Ad extends Ko{connectedCallback(){bo.set(this,{prefix:"[",suffix:"](url)",replaceNext:"url",scanFor:"https?://"})}}window.customElements.get("md-link")||(window.MarkdownLinkButtonElement=Ad,window.customElements.define("md-link",Ad));class Od extends Ko{connectedCallback(){bo.set(this,{prefix:"![",suffix:"](url)",replaceNext:"url",scanFor:"https?://"})}}window.customElements.get("md-image")||(window.MarkdownImageButtonElement=Od,window.customElements.define("md-image",Od));class Rd extends Ko{connectedCallback(){bo.set(this,{prefix:"- ",multiline:!0,unorderedList:!0})}}window.customElements.get("md-unordered-list")||(window.MarkdownUnorderedListButtonElement=Rd,window.customElements.define("md-unordered-list",Rd));class Pd extends Ko{connectedCallback(){bo.set(this,{prefix:"1. ",multiline:!0,orderedList:!0})}}window.customElements.get("md-ordered-list")||(window.MarkdownOrderedListButtonElement=Pd,window.customElements.define("md-ordered-list",Pd));class Dd extends Ko{connectedCallback(){bo.set(this,{prefix:"- [ ] ",multiline:!0,surroundWithNewlines:!0})}}window.customElements.get("md-task-list")||(window.MarkdownTaskListButtonElement=Dd,window.customElements.define("md-task-list",Dd));class Md extends Ko{connectedCallback(){bo.set(this,{prefix:"@",prefixSpace:!0})}}window.customElements.get("md-mention")||(window.MarkdownMentionButtonElement=Md,window.customElements.define("md-mention",Md));class Ld extends Ko{connectedCallback(){bo.set(this,{prefix:"#",prefixSpace:!0})}}window.customElements.get("md-ref")||(window.MarkdownRefButtonElement=Ld,window.customElements.define("md-ref",Ld));class Id extends Ko{connectedCallback(){bo.set(this,{prefix:"~~",suffix:"~~",trimFirst:!0})}}window.customElements.get("md-strikethrough")||(window.MarkdownStrikethroughButtonElement=Id,window.customElements.define("md-strikethrough",Id));function Fd(e){const{target:t,currentTarget:i}=e;if(!(t instanceof HTMLElement))return;const r=t.closest("[data-md-button]");if(!r||r.closest("markdown-toolbar")!==i)return;const a=t.getAttribute("data-md-button"),u=Ov[a];u&&(e.preventDefault(),Mu(t,u))}function Nd(e){e.addEventListener("keydown",Vd),e.setAttribute("tabindex","0"),e.addEventListener("focus",Hd,{once:!0})}function Bd(e){e.removeEventListener("keydown",Vd),e.removeAttribute("tabindex"),e.removeEventListener("focus",Hd)}class Rc extends HTMLElement{connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","toolbar"),this.hasAttribute("data-no-focus")||Nd(this),this.addEventListener("keydown",jd(Fd)),this.addEventListener("click",Fd)}attributeChangedCallback(t,i,r){t==="data-no-focus"&&(r===null?Nd(this):Bd(this))}disconnectedCallback(){Bd(this)}get field(){const t=this.getAttribute("for");if(!t)return null;const i="getRootNode"in this?this.getRootNode():document;let r;return(i instanceof Document||i instanceof ShadowRoot)&&(r=i.getElementById(t)),r instanceof HTMLTextAreaElement?r:null}}Rc.observedAttributes=["data-no-focus"];function Hd({target:e}){if(!(e instanceof Element))return;e.removeAttribute("tabindex");let t="0";for(const i of xd(e))i.setAttribute("tabindex",t),t==="0"&&(i.focus(),t="-1")}function Vd(e){const t=e.key;if(t!=="ArrowRight"&&t!=="ArrowLeft"&&t!=="Home"&&t!=="End")return;const i=e.currentTarget;if(!(i instanceof HTMLElement))return;const r=xd(i),a=r.indexOf(e.target),u=r.length;if(a===-1)return;let b=0;t==="ArrowLeft"&&(b=a-1),t==="ArrowRight"&&(b=a+1),t==="End"&&(b=u-1),b<0&&(b=u-1),b>u-1&&(b=0);for(let w=0;w<u;w+=1)r[w].setAttribute("tabindex",w===b?"0":"-1");e.preventDefault(),r[b].focus()}window.customElements.get("markdown-toolbar")||(window.MarkdownToolbarElement=Rc,window.customElements.define("markdown-toolbar",Rc));function Pu(e){return e.trim().split(`
`).length>1}function Ud(e,t){return Array(t+1).join(e)}function Rv(e,t){let i=t;for(;e[i]&&e[i-1]!=null&&!e[i-1].match(/\s/);)i--;return i}function Pv(e,t,i){let r=t;const a=i?/\n/:/\s/;for(;e[r]&&!e[r].match(a);)r++;return r}let bl=null;function Dv(e,{text:t,selectionStart:i,selectionEnd:r}){const a=e.selectionStart,u=e.value.slice(0,a),b=e.value.slice(e.selectionEnd);if(bl===null||bl===!0){e.contentEditable="true";try{bl=document.execCommand("insertText",!1,t)}catch(w){bl=!1}e.contentEditable="false"}if(bl&&!e.value.slice(0,e.selectionStart).endsWith(t)&&(bl=!1),!bl){try{document.execCommand("ms-beginUndoUnit")}catch(w){}e.value=u+t+b;try{document.execCommand("ms-endUndoUnit")}catch(w){}e.dispatchEvent(new CustomEvent("input",{bubbles:!0,cancelable:!0}))}i!=null&&r!=null?e.setSelectionRange(i,r):e.setSelectionRange(a,e.selectionEnd)}function Mv(e,t){const i=e.value.slice(e.selectionStart,e.selectionEnd);let r;t.orderedList||t.unorderedList?r=Hv(e,t):t.multiline&&Pu(i)?r=Nv(e,t):r=Fv(e,t),Dv(e,r)}function Lv(e){const t=e.value.split(`
`);let i=0;for(let r=0;r<t.length;r++){const a=t[r].length+1;e.selectionStart>=i&&e.selectionStart<i+a&&(e.selectionStart=i),e.selectionEnd>=i&&e.selectionEnd<i+a&&(e.selectionEnd=i+a-1),i+=a}}function Iv(e,t,i,r=!1){if(e.selectionStart===e.selectionEnd)e.selectionStart=Rv(e.value,e.selectionStart),e.selectionEnd=Pv(e.value,e.selectionEnd,r);else{const a=e.selectionStart-t.length,u=e.selectionEnd+i.length,b=e.value.slice(a,e.selectionStart)===t,w=e.value.slice(e.selectionEnd,u)===i;b&&w&&(e.selectionStart=a,e.selectionEnd=u)}return e.value.slice(e.selectionStart,e.selectionEnd)}function Du(e){const t=e.value.slice(0,e.selectionStart),i=e.value.slice(e.selectionEnd),r=t.match(/\n*$/),a=i.match(/^\n*/),u=r?r[0].length:0,b=a?a[0].length:0;let w,g;return t.match(/\S/)&&u<2&&(w=Ud(`
`,2-u)),i.match(/\S/)&&b<2&&(g=Ud(`
`,2-b)),w==null&&(w=""),g==null&&(g=""),{newlinesToAppend:w,newlinesToPrepend:g}}function Fv(e,t){let i,r;const{prefix:a,suffix:u,blockPrefix:b,blockSuffix:w,replaceNext:g,prefixSpace:T,scanFor:W,surroundWithNewlines:Oe}=t,Ze=e.selectionStart,ot=e.selectionEnd;let pt=e.value.slice(e.selectionStart,e.selectionEnd),lt=Pu(pt)&&b.length>0?`${b}
`:a,Dt=Pu(pt)&&w.length>0?`
${w}`:u;if(T){const He=e.value[e.selectionStart-1];e.selectionStart!==0&&He!=null&&!He.match(/\s/)&&(lt=` ${lt}`)}pt=Iv(e,lt,Dt,t.multiline);let Et=e.selectionStart,ti=e.selectionEnd;const Ri=g.length>0&&Dt.indexOf(g)>-1&&pt.length>0;if(Oe){const He=Du(e);i=He.newlinesToAppend,r=He.newlinesToPrepend,lt=i+a,Dt+=r}if(pt.startsWith(lt)&&pt.endsWith(Dt)){const He=pt.slice(lt.length,pt.length-Dt.length);if(Ze===ot){let si=Ze-lt.length;si=Math.max(si,Et),si=Math.min(si,Et+He.length),Et=ti=si}else ti=Et+He.length;return{text:He,selectionStart:Et,selectionEnd:ti}}else if(Ri)if(W.length>0&&pt.match(W)){Dt=Dt.replace(g,pt);const He=lt+Dt;return Et=ti=Et+lt.length,{text:He,selectionStart:Et,selectionEnd:ti}}else{const He=lt+pt+Dt;return Et=Et+lt.length+pt.length+Dt.indexOf(g),ti=Et+g.length,{text:He,selectionStart:Et,selectionEnd:ti}}else{let He=lt+pt+Dt;Et=Ze+lt.length,ti=ot+lt.length;const si=pt.match(/^\s*|\s*$/g);if(t.trimFirst&&si){const Gt=si[0]||"",An=si[1]||"";He=Gt+lt+pt.trim()+Dt+An,Et+=Gt.length,ti-=An.length}return{text:He,selectionStart:Et,selectionEnd:ti}}}function Nv(e,t){const{prefix:i,suffix:r,surroundWithNewlines:a}=t;let u=e.value.slice(e.selectionStart,e.selectionEnd),b=e.selectionStart,w=e.selectionEnd;const g=u.split(`
`);if(g.every(W=>W.startsWith(i)&&W.endsWith(r)))u=g.map(W=>W.slice(i.length,W.length-r.length)).join(`
`),w=b+u.length;else if(u=g.map(W=>i+W+r).join(`
`),a){const{newlinesToAppend:W,newlinesToPrepend:Oe}=Du(e);b+=W.length,w=b+u.length,u=W+u+Oe}return{text:u,selectionStart:b,selectionEnd:w}}function $d(e){const t=e.split(`
`),i=/^\d+\.\s+/,r=t.every(u=>i.test(u));let a=t;return r&&(a=t.map(u=>u.replace(i,""))),{text:a.join(`
`),processed:r}}function Wd(e){const t=e.split(`
`),i="- ",r=t.every(u=>u.startsWith(i));let a=t;return r&&(a=t.map(u=>u.slice(i.length,u.length))),{text:a.join(`
`),processed:r}}function Jl(e,t){return t?"- ":`${e+1}. `}function Bv(e,t){let i,r,a;return e.orderedList?(r=$d(t),i=Wd(r.text),a=i.text):(r=Wd(t),i=$d(r.text),a=i.text),[r,i,a]}function Hv(e,t){const i=e.selectionStart===e.selectionEnd;let r=e.selectionStart,a=e.selectionEnd;Lv(e);const u=e.value.slice(e.selectionStart,e.selectionEnd),[b,w,g]=Bv(t,u),T=g.split(`
`).map((lt,Dt)=>`${Jl(Dt,t.unorderedList)}${lt}`),W=T.reduce((lt,Dt,Et)=>lt+Jl(Et,t.unorderedList).length,0),Oe=T.reduce((lt,Dt,Et)=>lt+Jl(Et,!t.unorderedList).length,0);if(b.processed)return i?(r=Math.max(r-Jl(0,t.unorderedList).length,0),a=r):(r=e.selectionStart,a=e.selectionEnd-W),{text:g,selectionStart:r,selectionEnd:a};const{newlinesToAppend:Ze,newlinesToPrepend:ot}=Du(e),pt=Ze+T.join(`
`)+ot;return i?(r=Math.max(r+Jl(0,t.unorderedList).length+Ze.length,0),a=r):w.processed?(r=Math.max(e.selectionStart+Ze.length,0),a=e.selectionEnd+Ze.length+W-Oe):(r=Math.max(e.selectionStart+Ze.length,0),a=e.selectionEnd+Ze.length+W),{text:pt,selectionStart:r,selectionEnd:a}}function Mu(e,t){const i=e.closest("markdown-toolbar");if(!(i instanceof Rc))return;const a=Object.assign(Object.assign({},{prefix:"",suffix:"",blockPrefix:"",blockSuffix:"",multiline:!1,replaceNext:"",prefixSpace:!1,scanFor:"",surroundWithNewlines:!1,orderedList:!1,unorderedList:!1,trimFirst:!1}),t),u=i.field;u&&(u.focus(),Mv(u,a))}var Cj=null;class Vv{constructor(t,i,{tabInsertsSuggestions:r,defaultFirstOption:a,scrollIntoViewOptions:u}={}){this.input=t,this.list=i,this.tabInsertsSuggestions=r!=null?r:!0,this.defaultFirstOption=a!=null?a:!1,this.scrollIntoViewOptions=u,this.isComposing=!1,i.id||(i.id=`combobox-${Math.random().toString().slice(2,6)}`),this.ctrlBindings=!!navigator.userAgent.match(/Macintosh/),this.keyboardEventHandler=b=>Uv(b,this),this.compositionEventHandler=b=>zv(b,this),this.inputHandler=this.clearSelection.bind(this),t.setAttribute("role","combobox"),t.setAttribute("aria-controls",i.id),t.setAttribute("aria-expanded","false"),t.setAttribute("aria-autocomplete","list"),t.setAttribute("aria-haspopup","listbox")}destroy(){this.clearSelection(),this.stop(),this.input.removeAttribute("role"),this.input.removeAttribute("aria-controls"),this.input.removeAttribute("aria-expanded"),this.input.removeAttribute("aria-autocomplete"),this.input.removeAttribute("aria-haspopup")}start(){this.input.setAttribute("aria-expanded","true"),this.input.addEventListener("compositionstart",this.compositionEventHandler),this.input.addEventListener("compositionend",this.compositionEventHandler),this.input.addEventListener("input",this.inputHandler),this.input.addEventListener("keydown",this.keyboardEventHandler),this.list.addEventListener("click",zd),this.indicateDefaultOption()}stop(){this.clearSelection(),this.input.setAttribute("aria-expanded","false"),this.input.removeEventListener("compositionstart",this.compositionEventHandler),this.input.removeEventListener("compositionend",this.compositionEventHandler),this.input.removeEventListener("input",this.inputHandler),this.input.removeEventListener("keydown",this.keyboardEventHandler),this.list.removeEventListener("click",zd)}indicateDefaultOption(){var t;this.defaultFirstOption&&((t=Array.from(this.list.querySelectorAll('[role="option"]:not([aria-disabled="true"])')).filter(Lu)[0])===null||t===void 0||t.setAttribute("data-combobox-option-default","true"))}navigate(t=1){const i=Array.from(this.list.querySelectorAll('[aria-selected="true"]')).filter(Lu)[0],r=Array.from(this.list.querySelectorAll('[role="option"]')).filter(Lu),a=r.indexOf(i);if(a===r.length-1&&t===1||a===0&&t===-1){this.clearSelection(),this.input.focus();return}let u=t===1?0:r.length-1;if(i&&a>=0){const w=a+t;w>=0&&w<r.length&&(u=w)}const b=r[u];if(b)for(const w of r)w.removeAttribute("data-combobox-option-default"),b===w?(this.input.setAttribute("aria-activedescendant",b.id),b.setAttribute("aria-selected","true"),Wv(b),b.scrollIntoView(this.scrollIntoViewOptions)):w.removeAttribute("aria-selected")}clearSelection(){this.input.removeAttribute("aria-activedescendant");for(const t of this.list.querySelectorAll('[aria-selected="true"]'))t.removeAttribute("aria-selected");this.indicateDefaultOption()}}function Uv(e,t){if(!(e.shiftKey||e.metaKey||e.altKey)&&!(!t.ctrlBindings&&e.ctrlKey)&&!t.isComposing)switch(e.key){case"Enter":qd(t.input,t.list)&&e.preventDefault();break;case"Tab":t.tabInsertsSuggestions&&qd(t.input,t.list)&&e.preventDefault();break;case"Escape":t.clearSelection();break;case"ArrowDown":t.navigate(1),e.preventDefault();break;case"ArrowUp":t.navigate(-1),e.preventDefault();break;case"n":t.ctrlBindings&&e.ctrlKey&&(t.navigate(1),e.preventDefault());break;case"p":t.ctrlBindings&&e.ctrlKey&&(t.navigate(-1),e.preventDefault());break;default:if(e.ctrlKey)break;t.clearSelection()}}function zd(e){if(!(e.target instanceof Element))return;const t=e.target.closest('[role="option"]');t&&t.getAttribute("aria-disabled")!=="true"&&$v(t,{event:e})}function qd(e,t){const i=t.querySelector('[aria-selected="true"], [data-combobox-option-default="true"]');return i?(i.getAttribute("aria-disabled")==="true"||i.click(),!0):!1}function $v(e,t){e.dispatchEvent(new CustomEvent("combobox-commit",{bubbles:!0,detail:t}))}function Wv(e){e.dispatchEvent(new Event("combobox-select",{bubbles:!0}))}function Lu(e){return!e.hidden&&!(e instanceof HTMLInputElement&&e.type==="hidden")&&(e.offsetWidth>0||e.offsetHeight>0)}function zv(e,t){t.isComposing=e.type==="compositionstart",document.getElementById(t.input.getAttribute("aria-controls")||"")&&t.clearSelection()}const qv=/\s|\(|\[/;function Kv(e,t,i,{multiWord:r,lookBackIndex:a,lastMatchPosition:u}={multiWord:!1,lookBackIndex:0,lastMatchPosition:null}){let b=e.lastIndexOf(t,i-1);if(b===-1||b<a)return;if(r){if(u!=null){if(u===b)return;b=u-t.length}if(e[b+1]===" "&&i>=b+t.length+1||e.lastIndexOf(`
`,i-1)>b||e.lastIndexOf(".",i-1)>b)return}else if(e.lastIndexOf(" ",i-1)>b)return;const w=e[b-1];return w&&!qv.test(w)?void 0:{text:e.substring(b+t.length,i),position:b+t.length}}const Zv=["position:absolute;","overflow:auto;","word-wrap:break-word;","top:0px;","left:-9999px;"],Kd=["box-sizing","font-family","font-size","font-style","font-variant","font-weight","height","letter-spacing","line-height","max-height","min-height","padding-bottom","padding-left","padding-right","padding-top","border-bottom","border-left","border-right","border-top","text-decoration","text-indent","text-transform","width","word-spacing"],Zd=new WeakMap;function Yv(e,t){const i=e.nodeName.toLowerCase();if(i!=="textarea"&&i!=="input")throw new Error("expected textField to a textarea or input");let r=Zd.get(e);if(r&&r.parentElement===e.parentElement)r.innerHTML="";else{r=document.createElement("div"),Zd.set(e,r);const w=window.getComputedStyle(e),g=Zv.slice(0);i==="textarea"?g.push("white-space:pre-wrap;"):g.push("white-space:nowrap;");for(let T=0,W=Kd.length;T<W;T++){const Oe=Kd[T];g.push(`${Oe}:${w.getPropertyValue(Oe)};`)}r.style.cssText=g.join(" ")}const a=document.createElement("span");a.style.cssText="position: absolute;",a.innerHTML="&nbsp;";let u,b;if(typeof t=="number"){let w=e.value.substring(0,t);w&&(u=document.createTextNode(w)),w=e.value.substring(t),w&&(b=document.createTextNode(w))}else{const w=e.value;w&&(u=document.createTextNode(w))}if(u&&r.appendChild(u),r.appendChild(a),b&&r.appendChild(b),!r.parentElement){if(!e.parentElement)throw new Error("textField must have a parentElement to mirror");e.parentElement.insertBefore(r,e)}return r.scrollTop=e.scrollTop,r.scrollLeft=e.scrollLeft,{mirror:r,marker:a}}function Gv(e,t=e.selectionEnd){const{mirror:i,marker:r}=Yv(e,t),a=i.getBoundingClientRect(),u=r.getBoundingClientRect();return setTimeout(()=>{i.remove()},5e3),{top:u.top-a.top,left:u.left-a.left}}const Pc=new WeakMap;class Xv{constructor(t,i){this.expander=t,this.input=i,this.combobox=null,this.menu=null,this.match=null,this.justPasted=!1,this.lookBackIndex=0,this.oninput=this.onInput.bind(this),this.onpaste=this.onPaste.bind(this),this.onkeydown=this.onKeydown.bind(this),this.oncommit=this.onCommit.bind(this),this.onmousedown=this.onMousedown.bind(this),this.onblur=this.onBlur.bind(this),this.interactingWithList=!1,i.addEventListener("paste",this.onpaste),i.addEventListener("input",this.oninput),i.addEventListener("keydown",this.onkeydown),i.addEventListener("blur",this.onblur)}destroy(){this.input.removeEventListener("paste",this.onpaste),this.input.removeEventListener("input",this.oninput),this.input.removeEventListener("keydown",this.onkeydown),this.input.removeEventListener("blur",this.onblur)}dismissMenu(){this.deactivate()&&(this.lookBackIndex=this.input.selectionEnd||this.lookBackIndex)}activate(t,i){var r,a;if(this.input!==document.activeElement&&this.input!==((a=(r=document.activeElement)===null||r===void 0?void 0:r.shadowRoot)===null||a===void 0?void 0:a.activeElement))return;this.deactivate(),this.menu=i,i.id||(i.id=`text-expander-${Math.floor(Math.random()*1e5).toString()}`),this.expander.append(i),this.combobox=new Vv(this.input,i);const{top:u,left:b}=Gv(this.input,t.position);i.style.top=`${u}px`,i.style.left=`${b}px`,this.combobox.start(),i.addEventListener("combobox-commit",this.oncommit),i.addEventListener("mousedown",this.onmousedown),this.combobox.navigate(1)}deactivate(){const t=this.menu;return!t||!this.combobox?!1:(this.menu=null,t.removeEventListener("combobox-commit",this.oncommit),t.removeEventListener("mousedown",this.onmousedown),this.combobox.destroy(),this.combobox=null,t.remove(),!0)}onCommit({target:t}){var i;const r=t;if(!(r instanceof HTMLElement)||!this.combobox)return;const a=this.match;if(!a)return;const u=this.input.value.substring(0,a.position-a.key.length),b=this.input.value.substring(a.position+a.text.length),w={item:r,key:a.key,value:null,continue:!1};if(!this.expander.dispatchEvent(new CustomEvent("text-expander-value",{cancelable:!0,detail:w}))||!w.value)return;let T=(i=this.expander.getAttribute("suffix"))!==null&&i!==void 0?i:" ";w.continue&&(T="");const W=`${w.value}${T}`;this.input.value=u+W+b;const Oe=u.length+W.length;this.deactivate(),this.input.focus({preventScroll:!0}),this.input.selectionStart=Oe,this.input.selectionEnd=Oe,w.continue||(this.lookBackIndex=Oe,this.match=null),this.expander.dispatchEvent(new CustomEvent("text-expander-committed",{cancelable:!1,detail:{input:this.input}}))}onBlur(){if(this.interactingWithList){this.interactingWithList=!1;return}this.deactivate()}onPaste(){this.justPasted=!0}onInput(){return uu(this,null,function*(){if(this.justPasted){this.justPasted=!1;return}const t=this.findMatch();if(t){this.match=t;const i=yield this.notifyProviders(t);if(!this.match)return;i?this.activate(t,i):this.deactivate()}else this.match=null,this.deactivate()})}findMatch(){const t=this.input.selectionEnd||0,i=this.input.value;t<=this.lookBackIndex&&(this.lookBackIndex=t-1);for(const{key:r,multiWord:a}of this.expander.keys){const u=Kv(i,r,t,{multiWord:a,lookBackIndex:this.lookBackIndex,lastMatchPosition:this.match?this.match.position:null});if(u)return{text:u.text,key:r,position:u.position}}}notifyProviders(t){return uu(this,null,function*(){const i=[],r=w=>i.push(w);return this.expander.dispatchEvent(new CustomEvent("text-expander-change",{cancelable:!0,detail:{provide:r,text:t.text,key:t.key}}))?(yield Promise.all(i)).filter(w=>w.matched).map(w=>w.fragment)[0]:void 0})}onMousedown(){this.interactingWithList=!0}onKeydown(t){t.key==="Escape"&&(this.match=null,this.deactivate()&&(this.lookBackIndex=this.input.selectionEnd||this.lookBackIndex,t.stopImmediatePropagation(),t.preventDefault()))}}class Yd extends HTMLElement{get keys(){const t=this.getAttribute("keys"),i=t?t.split(" "):[],r=this.getAttribute("multiword"),a=r?r.split(" "):[],u=a.length===0&&this.hasAttribute("multiword");return i.map(b=>({key:b,multiWord:u||a.includes(b)}))}connectedCallback(){const t=this.querySelector('input[type="text"], textarea');if(!(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement))return;const i=new Xv(this,t);Pc.set(this,i)}disconnectedCallback(){const t=Pc.get(this);t&&(t.destroy(),Pc.delete(this))}dismiss(){const t=Pc.get(this);t&&t.dismissMenu()}}window.customElements.get("text-expander")||(window.TextExpanderElement=Yd,window.customElements.define("text-expander",Yd));var Tj=null,Iu=JSON.parse('[{"emoji":"\u{1F44D}","aliases":["+1","thumbsup"]},{"emoji":"\u{1F44E}","aliases":["-1","thumbsdown"]},{"emoji":"\u{1F4AF}","aliases":["100"]},{"emoji":"\u{1F522}","aliases":["1234"]},{"emoji":"\u{1F947}","aliases":["1st_place_medal"]},{"emoji":"\u{1F948}","aliases":["2nd_place_medal"]},{"emoji":"\u{1F949}","aliases":["3rd_place_medal"]},{"emoji":"\u{1F3B1}","aliases":["8ball"]},{"emoji":"\u{1F170}\uFE0F","aliases":["a"]},{"emoji":"\u{1F18E}","aliases":["ab"]},{"emoji":"\u{1F9EE}","aliases":["abacus"]},{"emoji":"\u{1F524}","aliases":["abc"]},{"emoji":"\u{1F521}","aliases":["abcd"]},{"emoji":"\u{1F251}","aliases":["accept"]},{"emoji":"\u{1FA97}","aliases":["accordion"]},{"emoji":"\u{1FA79}","aliases":["adhesive_bandage"]},{"emoji":"\u{1F9D1}","aliases":["adult"]},{"emoji":"\u{1F6A1}","aliases":["aerial_tramway"]},{"emoji":"\u{1F1E6}\u{1F1EB}","aliases":["afghanistan"]},{"emoji":"\u2708\uFE0F","aliases":["airplane"]},{"emoji":"\u{1F1E6}\u{1F1FD}","aliases":["aland_islands"]},{"emoji":"\u23F0","aliases":["alarm_clock"]},{"emoji":"\u{1F1E6}\u{1F1F1}","aliases":["albania"]},{"emoji":"\u2697\uFE0F","aliases":["alembic"]},{"emoji":"\u{1F1E9}\u{1F1FF}","aliases":["algeria"]},{"emoji":"\u{1F47D}","aliases":["alien"]},{"emoji":"\u{1F691}","aliases":["ambulance"]},{"emoji":"\u{1F1E6}\u{1F1F8}","aliases":["american_samoa"]},{"emoji":"\u{1F3FA}","aliases":["amphora"]},{"emoji":"\u{1FAC0}","aliases":["anatomical_heart"]},{"emoji":"\u2693","aliases":["anchor"]},{"emoji":"\u{1F1E6}\u{1F1E9}","aliases":["andorra"]},{"emoji":"\u{1F47C}","aliases":["angel"]},{"emoji":"\u{1F4A2}","aliases":["anger"]},{"emoji":"\u{1F1E6}\u{1F1F4}","aliases":["angola"]},{"emoji":"\u{1F620}","aliases":["angry"]},{"emoji":"\u{1F1E6}\u{1F1EE}","aliases":["anguilla"]},{"emoji":"\u{1F627}","aliases":["anguished"]},{"emoji":"\u{1F41C}","aliases":["ant"]},{"emoji":"\u{1F1E6}\u{1F1F6}","aliases":["antarctica"]},{"emoji":"\u{1F1E6}\u{1F1EC}","aliases":["antigua_barbuda"]},{"emoji":"\u{1F34E}","aliases":["apple"]},{"emoji":"\u2652","aliases":["aquarius"]},{"emoji":"\u{1F1E6}\u{1F1F7}","aliases":["argentina"]},{"emoji":"\u2648","aliases":["aries"]},{"emoji":"\u{1F1E6}\u{1F1F2}","aliases":["armenia"]},{"emoji":"\u25C0\uFE0F","aliases":["arrow_backward"]},{"emoji":"\u23EC","aliases":["arrow_double_down"]},{"emoji":"\u23EB","aliases":["arrow_double_up"]},{"emoji":"\u2B07\uFE0F","aliases":["arrow_down"]},{"emoji":"\u{1F53D}","aliases":["arrow_down_small"]},{"emoji":"\u25B6\uFE0F","aliases":["arrow_forward"]},{"emoji":"\u2935\uFE0F","aliases":["arrow_heading_down"]},{"emoji":"\u2934\uFE0F","aliases":["arrow_heading_up"]},{"emoji":"\u2B05\uFE0F","aliases":["arrow_left"]},{"emoji":"\u2199\uFE0F","aliases":["arrow_lower_left"]},{"emoji":"\u2198\uFE0F","aliases":["arrow_lower_right"]},{"emoji":"\u27A1\uFE0F","aliases":["arrow_right"]},{"emoji":"\u21AA\uFE0F","aliases":["arrow_right_hook"]},{"emoji":"\u2B06\uFE0F","aliases":["arrow_up"]},{"emoji":"\u2195\uFE0F","aliases":["arrow_up_down"]},{"emoji":"\u{1F53C}","aliases":["arrow_up_small"]},{"emoji":"\u2196\uFE0F","aliases":["arrow_upper_left"]},{"emoji":"\u2197\uFE0F","aliases":["arrow_upper_right"]},{"emoji":"\u{1F503}","aliases":["arrows_clockwise"]},{"emoji":"\u{1F504}","aliases":["arrows_counterclockwise"]},{"emoji":"\u{1F3A8}","aliases":["art"]},{"emoji":"\u{1F69B}","aliases":["articulated_lorry"]},{"emoji":"\u{1F6F0}\uFE0F","aliases":["artificial_satellite"]},{"emoji":"\u{1F9D1}\u200D\u{1F3A8}","aliases":["artist"]},{"emoji":"\u{1F1E6}\u{1F1FC}","aliases":["aruba"]},{"emoji":"\u{1F1E6}\u{1F1E8}","aliases":["ascension_island"]},{"emoji":"*\uFE0F\u20E3","aliases":["asterisk"]},{"emoji":"\u{1F632}","aliases":["astonished"]},{"emoji":"\u{1F9D1}\u200D\u{1F680}","aliases":["astronaut"]},{"emoji":"\u{1F45F}","aliases":["athletic_shoe"]},{"emoji":"\u{1F3E7}","aliases":["atm"]},{"emoji":"\u269B\uFE0F","aliases":["atom_symbol"]},{"emoji":"\u{1F1E6}\u{1F1FA}","aliases":["australia"]},{"emoji":"\u{1F1E6}\u{1F1F9}","aliases":["austria"]},{"emoji":"\u{1F6FA}","aliases":["auto_rickshaw"]},{"emoji":"\u{1F951}","aliases":["avocado"]},{"emoji":"\u{1FA93}","aliases":["axe"]},{"emoji":"\u{1F1E6}\u{1F1FF}","aliases":["azerbaijan"]},{"emoji":"\u{1F171}\uFE0F","aliases":["b"]},{"emoji":"\u{1F476}","aliases":["baby"]},{"emoji":"\u{1F37C}","aliases":["baby_bottle"]},{"emoji":"\u{1F424}","aliases":["baby_chick"]},{"emoji":"\u{1F6BC}","aliases":["baby_symbol"]},{"emoji":"\u{1F519}","aliases":["back"]},{"emoji":"\u{1F953}","aliases":["bacon"]},{"emoji":"\u{1F9A1}","aliases":["badger"]},{"emoji":"\u{1F3F8}","aliases":["badminton"]},{"emoji":"\u{1F96F}","aliases":["bagel"]},{"emoji":"\u{1F6C4}","aliases":["baggage_claim"]},{"emoji":"\u{1F956}","aliases":["baguette_bread"]},{"emoji":"\u{1F1E7}\u{1F1F8}","aliases":["bahamas"]},{"emoji":"\u{1F1E7}\u{1F1ED}","aliases":["bahrain"]},{"emoji":"\u2696\uFE0F","aliases":["balance_scale"]},{"emoji":"\u{1F468}\u200D\u{1F9B2}","aliases":["bald_man"]},{"emoji":"\u{1F469}\u200D\u{1F9B2}","aliases":["bald_woman"]},{"emoji":"\u{1FA70}","aliases":["ballet_shoes"]},{"emoji":"\u{1F388}","aliases":["balloon"]},{"emoji":"\u{1F5F3}\uFE0F","aliases":["ballot_box"]},{"emoji":"\u2611\uFE0F","aliases":["ballot_box_with_check"]},{"emoji":"\u{1F38D}","aliases":["bamboo"]},{"emoji":"\u{1F34C}","aliases":["banana"]},{"emoji":"\u203C\uFE0F","aliases":["bangbang"]},{"emoji":"\u{1F1E7}\u{1F1E9}","aliases":["bangladesh"]},{"emoji":"\u{1FA95}","aliases":["banjo"]},{"emoji":"\u{1F3E6}","aliases":["bank"]},{"emoji":"\u{1F4CA}","aliases":["bar_chart"]},{"emoji":"\u{1F1E7}\u{1F1E7}","aliases":["barbados"]},{"emoji":"\u{1F488}","aliases":["barber"]},{"emoji":"\u26BE","aliases":["baseball"]},{"emoji":"\u{1F9FA}","aliases":["basket"]},{"emoji":"\u{1F3C0}","aliases":["basketball"]},{"emoji":"\u{1F987}","aliases":["bat"]},{"emoji":"\u{1F6C0}","aliases":["bath"]},{"emoji":"\u{1F6C1}","aliases":["bathtub"]},{"emoji":"\u{1F50B}","aliases":["battery"]},{"emoji":"\u{1F3D6}\uFE0F","aliases":["beach_umbrella"]},{"emoji":"\u{1FAD8}","aliases":["beans"]},{"emoji":"\u{1F43B}","aliases":["bear"]},{"emoji":"\u{1F9D4}","aliases":["bearded_person"]},{"emoji":"\u{1F9AB}","aliases":["beaver"]},{"emoji":"\u{1F6CF}\uFE0F","aliases":["bed"]},{"emoji":"\u{1F41D}","aliases":["bee","honeybee"]},{"emoji":"\u{1F37A}","aliases":["beer"]},{"emoji":"\u{1F37B}","aliases":["beers"]},{"emoji":"\u{1FAB2}","aliases":["beetle"]},{"emoji":"\u{1F530}","aliases":["beginner"]},{"emoji":"\u{1F1E7}\u{1F1FE}","aliases":["belarus"]},{"emoji":"\u{1F1E7}\u{1F1EA}","aliases":["belgium"]},{"emoji":"\u{1F1E7}\u{1F1FF}","aliases":["belize"]},{"emoji":"\u{1F514}","aliases":["bell"]},{"emoji":"\u{1FAD1}","aliases":["bell_pepper"]},{"emoji":"\u{1F6CE}\uFE0F","aliases":["bellhop_bell"]},{"emoji":"\u{1F1E7}\u{1F1EF}","aliases":["benin"]},{"emoji":"\u{1F371}","aliases":["bento"]},{"emoji":"\u{1F1E7}\u{1F1F2}","aliases":["bermuda"]},{"emoji":"\u{1F9C3}","aliases":["beverage_box"]},{"emoji":"\u{1F1E7}\u{1F1F9}","aliases":["bhutan"]},{"emoji":"\u{1F6B4}","aliases":["bicyclist"]},{"emoji":"\u{1F6B2}","aliases":["bike"]},{"emoji":"\u{1F6B4}\u200D\u2642\uFE0F","aliases":["biking_man"]},{"emoji":"\u{1F6B4}\u200D\u2640\uFE0F","aliases":["biking_woman"]},{"emoji":"\u{1F459}","aliases":["bikini"]},{"emoji":"\u{1F9E2}","aliases":["billed_cap"]},{"emoji":"\u2623\uFE0F","aliases":["biohazard"]},{"emoji":"\u{1F426}","aliases":["bird"]},{"emoji":"\u{1F382}","aliases":["birthday"]},{"emoji":"\u{1F9AC}","aliases":["bison"]},{"emoji":"\u{1FAE6}","aliases":["biting_lip"]},{"emoji":"\u{1F426}\u200D\u2B1B","aliases":["black_bird"]},{"emoji":"\u{1F408}\u200D\u2B1B","aliases":["black_cat"]},{"emoji":"\u26AB","aliases":["black_circle"]},{"emoji":"\u{1F3F4}","aliases":["black_flag"]},{"emoji":"\u{1F5A4}","aliases":["black_heart"]},{"emoji":"\u{1F0CF}","aliases":["black_joker"]},{"emoji":"\u2B1B","aliases":["black_large_square"]},{"emoji":"\u25FE","aliases":["black_medium_small_square"]},{"emoji":"\u25FC\uFE0F","aliases":["black_medium_square"]},{"emoji":"\u2712\uFE0F","aliases":["black_nib"]},{"emoji":"\u25AA\uFE0F","aliases":["black_small_square"]},{"emoji":"\u{1F532}","aliases":["black_square_button"]},{"emoji":"\u{1F471}\u200D\u2642\uFE0F","aliases":["blond_haired_man"]},{"emoji":"\u{1F471}","aliases":["blond_haired_person"]},{"emoji":"\u{1F471}\u200D\u2640\uFE0F","aliases":["blond_haired_woman","blonde_woman"]},{"emoji":"\u{1F33C}","aliases":["blossom"]},{"emoji":"\u{1F421}","aliases":["blowfish"]},{"emoji":"\u{1F4D8}","aliases":["blue_book"]},{"emoji":"\u{1F699}","aliases":["blue_car"]},{"emoji":"\u{1F499}","aliases":["blue_heart"]},{"emoji":"\u{1F7E6}","aliases":["blue_square"]},{"emoji":"\u{1FAD0}","aliases":["blueberries"]},{"emoji":"\u{1F60A}","aliases":["blush"]},{"emoji":"\u{1F417}","aliases":["boar"]},{"emoji":"\u26F5","aliases":["boat","sailboat"]},{"emoji":"\u{1F1E7}\u{1F1F4}","aliases":["bolivia"]},{"emoji":"\u{1F4A3}","aliases":["bomb"]},{"emoji":"\u{1F9B4}","aliases":["bone"]},{"emoji":"\u{1F4D6}","aliases":["book","open_book"]},{"emoji":"\u{1F516}","aliases":["bookmark"]},{"emoji":"\u{1F4D1}","aliases":["bookmark_tabs"]},{"emoji":"\u{1F4DA}","aliases":["books"]},{"emoji":"\u{1F4A5}","aliases":["boom","collision"]},{"emoji":"\u{1FA83}","aliases":["boomerang"]},{"emoji":"\u{1F462}","aliases":["boot"]},{"emoji":"\u{1F1E7}\u{1F1E6}","aliases":["bosnia_herzegovina"]},{"emoji":"\u{1F1E7}\u{1F1FC}","aliases":["botswana"]},{"emoji":"\u26F9\uFE0F\u200D\u2642\uFE0F","aliases":["bouncing_ball_man","basketball_man"]},{"emoji":"\u26F9\uFE0F","aliases":["bouncing_ball_person"]},{"emoji":"\u26F9\uFE0F\u200D\u2640\uFE0F","aliases":["bouncing_ball_woman","basketball_woman"]},{"emoji":"\u{1F490}","aliases":["bouquet"]},{"emoji":"\u{1F1E7}\u{1F1FB}","aliases":["bouvet_island"]},{"emoji":"\u{1F647}","aliases":["bow"]},{"emoji":"\u{1F3F9}","aliases":["bow_and_arrow"]},{"emoji":"\u{1F647}\u200D\u2642\uFE0F","aliases":["bowing_man"]},{"emoji":"\u{1F647}\u200D\u2640\uFE0F","aliases":["bowing_woman"]},{"emoji":"\u{1F963}","aliases":["bowl_with_spoon"]},{"emoji":"\u{1F3B3}","aliases":["bowling"]},{"emoji":"\u{1F94A}","aliases":["boxing_glove"]},{"emoji":"\u{1F466}","aliases":["boy"]},{"emoji":"\u{1F9E0}","aliases":["brain"]},{"emoji":"\u{1F1E7}\u{1F1F7}","aliases":["brazil"]},{"emoji":"\u{1F35E}","aliases":["bread"]},{"emoji":"\u{1F931}","aliases":["breast_feeding"]},{"emoji":"\u{1F9F1}","aliases":["bricks"]},{"emoji":"\u{1F309}","aliases":["bridge_at_night"]},{"emoji":"\u{1F4BC}","aliases":["briefcase"]},{"emoji":"\u{1F1EE}\u{1F1F4}","aliases":["british_indian_ocean_territory"]},{"emoji":"\u{1F1FB}\u{1F1EC}","aliases":["british_virgin_islands"]},{"emoji":"\u{1F966}","aliases":["broccoli"]},{"emoji":"\u{1F494}","aliases":["broken_heart"]},{"emoji":"\u{1F9F9}","aliases":["broom"]},{"emoji":"\u{1F7E4}","aliases":["brown_circle"]},{"emoji":"\u{1F90E}","aliases":["brown_heart"]},{"emoji":"\u{1F7EB}","aliases":["brown_square"]},{"emoji":"\u{1F1E7}\u{1F1F3}","aliases":["brunei"]},{"emoji":"\u{1F9CB}","aliases":["bubble_tea"]},{"emoji":"\u{1FAE7}","aliases":["bubbles"]},{"emoji":"\u{1FAA3}","aliases":["bucket"]},{"emoji":"\u{1F41B}","aliases":["bug"]},{"emoji":"\u{1F3D7}\uFE0F","aliases":["building_construction"]},{"emoji":"\u{1F4A1}","aliases":["bulb"]},{"emoji":"\u{1F1E7}\u{1F1EC}","aliases":["bulgaria"]},{"emoji":"\u{1F685}","aliases":["bullettrain_front"]},{"emoji":"\u{1F684}","aliases":["bullettrain_side"]},{"emoji":"\u{1F1E7}\u{1F1EB}","aliases":["burkina_faso"]},{"emoji":"\u{1F32F}","aliases":["burrito"]},{"emoji":"\u{1F1E7}\u{1F1EE}","aliases":["burundi"]},{"emoji":"\u{1F68C}","aliases":["bus"]},{"emoji":"\u{1F574}\uFE0F","aliases":["business_suit_levitating"]},{"emoji":"\u{1F68F}","aliases":["busstop"]},{"emoji":"\u{1F464}","aliases":["bust_in_silhouette"]},{"emoji":"\u{1F465}","aliases":["busts_in_silhouette"]},{"emoji":"\u{1F9C8}","aliases":["butter"]},{"emoji":"\u{1F98B}","aliases":["butterfly"]},{"emoji":"\u{1F335}","aliases":["cactus"]},{"emoji":"\u{1F370}","aliases":["cake"]},{"emoji":"\u{1F4C6}","aliases":["calendar"]},{"emoji":"\u{1F919}","aliases":["call_me_hand"]},{"emoji":"\u{1F4F2}","aliases":["calling"]},{"emoji":"\u{1F1F0}\u{1F1ED}","aliases":["cambodia"]},{"emoji":"\u{1F42B}","aliases":["camel"]},{"emoji":"\u{1F4F7}","aliases":["camera"]},{"emoji":"\u{1F4F8}","aliases":["camera_flash"]},{"emoji":"\u{1F1E8}\u{1F1F2}","aliases":["cameroon"]},{"emoji":"\u{1F3D5}\uFE0F","aliases":["camping"]},{"emoji":"\u{1F1E8}\u{1F1E6}","aliases":["canada"]},{"emoji":"\u{1F1EE}\u{1F1E8}","aliases":["canary_islands"]},{"emoji":"\u264B","aliases":["cancer"]},{"emoji":"\u{1F56F}\uFE0F","aliases":["candle"]},{"emoji":"\u{1F36C}","aliases":["candy"]},{"emoji":"\u{1F96B}","aliases":["canned_food"]},{"emoji":"\u{1F6F6}","aliases":["canoe"]},{"emoji":"\u{1F1E8}\u{1F1FB}","aliases":["cape_verde"]},{"emoji":"\u{1F520}","aliases":["capital_abcd"]},{"emoji":"\u2651","aliases":["capricorn"]},{"emoji":"\u{1F697}","aliases":["car","red_car"]},{"emoji":"\u{1F5C3}\uFE0F","aliases":["card_file_box"]},{"emoji":"\u{1F4C7}","aliases":["card_index"]},{"emoji":"\u{1F5C2}\uFE0F","aliases":["card_index_dividers"]},{"emoji":"\u{1F1E7}\u{1F1F6}","aliases":["caribbean_netherlands"]},{"emoji":"\u{1F3A0}","aliases":["carousel_horse"]},{"emoji":"\u{1FA9A}","aliases":["carpentry_saw"]},{"emoji":"\u{1F955}","aliases":["carrot"]},{"emoji":"\u{1F938}","aliases":["cartwheeling"]},{"emoji":"\u{1F431}","aliases":["cat"]},{"emoji":"\u{1F408}","aliases":["cat2"]},{"emoji":"\u{1F1F0}\u{1F1FE}","aliases":["cayman_islands"]},{"emoji":"\u{1F4BF}","aliases":["cd"]},{"emoji":"\u{1F1E8}\u{1F1EB}","aliases":["central_african_republic"]},{"emoji":"\u{1F1EA}\u{1F1E6}","aliases":["ceuta_melilla"]},{"emoji":"\u{1F1F9}\u{1F1E9}","aliases":["chad"]},{"emoji":"\u26D3\uFE0F","aliases":["chains"]},{"emoji":"\u{1FA91}","aliases":["chair"]},{"emoji":"\u{1F37E}","aliases":["champagne"]},{"emoji":"\u{1F4B9}","aliases":["chart"]},{"emoji":"\u{1F4C9}","aliases":["chart_with_downwards_trend"]},{"emoji":"\u{1F4C8}","aliases":["chart_with_upwards_trend"]},{"emoji":"\u{1F3C1}","aliases":["checkered_flag"]},{"emoji":"\u{1F9C0}","aliases":["cheese"]},{"emoji":"\u{1F352}","aliases":["cherries"]},{"emoji":"\u{1F338}","aliases":["cherry_blossom"]},{"emoji":"\u265F\uFE0F","aliases":["chess_pawn"]},{"emoji":"\u{1F330}","aliases":["chestnut"]},{"emoji":"\u{1F414}","aliases":["chicken"]},{"emoji":"\u{1F9D2}","aliases":["child"]},{"emoji":"\u{1F6B8}","aliases":["children_crossing"]},{"emoji":"\u{1F1E8}\u{1F1F1}","aliases":["chile"]},{"emoji":"\u{1F43F}\uFE0F","aliases":["chipmunk"]},{"emoji":"\u{1F36B}","aliases":["chocolate_bar"]},{"emoji":"\u{1F962}","aliases":["chopsticks"]},{"emoji":"\u{1F1E8}\u{1F1FD}","aliases":["christmas_island"]},{"emoji":"\u{1F384}","aliases":["christmas_tree"]},{"emoji":"\u26EA","aliases":["church"]},{"emoji":"\u{1F3A6}","aliases":["cinema"]},{"emoji":"\u{1F3AA}","aliases":["circus_tent"]},{"emoji":"\u{1F307}","aliases":["city_sunrise"]},{"emoji":"\u{1F306}","aliases":["city_sunset"]},{"emoji":"\u{1F3D9}\uFE0F","aliases":["cityscape"]},{"emoji":"\u{1F191}","aliases":["cl"]},{"emoji":"\u{1F5DC}\uFE0F","aliases":["clamp"]},{"emoji":"\u{1F44F}","aliases":["clap"]},{"emoji":"\u{1F3AC}","aliases":["clapper"]},{"emoji":"\u{1F3DB}\uFE0F","aliases":["classical_building"]},{"emoji":"\u{1F9D7}","aliases":["climbing"]},{"emoji":"\u{1F9D7}\u200D\u2642\uFE0F","aliases":["climbing_man"]},{"emoji":"\u{1F9D7}\u200D\u2640\uFE0F","aliases":["climbing_woman"]},{"emoji":"\u{1F942}","aliases":["clinking_glasses"]},{"emoji":"\u{1F4CB}","aliases":["clipboard"]},{"emoji":"\u{1F1E8}\u{1F1F5}","aliases":["clipperton_island"]},{"emoji":"\u{1F550}","aliases":["clock1"]},{"emoji":"\u{1F559}","aliases":["clock10"]},{"emoji":"\u{1F565}","aliases":["clock1030"]},{"emoji":"\u{1F55A}","aliases":["clock11"]},{"emoji":"\u{1F566}","aliases":["clock1130"]},{"emoji":"\u{1F55B}","aliases":["clock12"]},{"emoji":"\u{1F567}","aliases":["clock1230"]},{"emoji":"\u{1F55C}","aliases":["clock130"]},{"emoji":"\u{1F551}","aliases":["clock2"]},{"emoji":"\u{1F55D}","aliases":["clock230"]},{"emoji":"\u{1F552}","aliases":["clock3"]},{"emoji":"\u{1F55E}","aliases":["clock330"]},{"emoji":"\u{1F553}","aliases":["clock4"]},{"emoji":"\u{1F55F}","aliases":["clock430"]},{"emoji":"\u{1F554}","aliases":["clock5"]},{"emoji":"\u{1F560}","aliases":["clock530"]},{"emoji":"\u{1F555}","aliases":["clock6"]},{"emoji":"\u{1F561}","aliases":["clock630"]},{"emoji":"\u{1F556}","aliases":["clock7"]},{"emoji":"\u{1F562}","aliases":["clock730"]},{"emoji":"\u{1F557}","aliases":["clock8"]},{"emoji":"\u{1F563}","aliases":["clock830"]},{"emoji":"\u{1F558}","aliases":["clock9"]},{"emoji":"\u{1F564}","aliases":["clock930"]},{"emoji":"\u{1F4D5}","aliases":["closed_book"]},{"emoji":"\u{1F510}","aliases":["closed_lock_with_key"]},{"emoji":"\u{1F302}","aliases":["closed_umbrella"]},{"emoji":"\u2601\uFE0F","aliases":["cloud"]},{"emoji":"\u{1F329}\uFE0F","aliases":["cloud_with_lightning"]},{"emoji":"\u26C8\uFE0F","aliases":["cloud_with_lightning_and_rain"]},{"emoji":"\u{1F327}\uFE0F","aliases":["cloud_with_rain"]},{"emoji":"\u{1F328}\uFE0F","aliases":["cloud_with_snow"]},{"emoji":"\u{1F921}","aliases":["clown_face"]},{"emoji":"\u2663\uFE0F","aliases":["clubs"]},{"emoji":"\u{1F1E8}\u{1F1F3}","aliases":["cn"]},{"emoji":"\u{1F9E5}","aliases":["coat"]},{"emoji":"\u{1FAB3}","aliases":["cockroach"]},{"emoji":"\u{1F378}","aliases":["cocktail"]},{"emoji":"\u{1F965}","aliases":["coconut"]},{"emoji":"\u{1F1E8}\u{1F1E8}","aliases":["cocos_islands"]},{"emoji":"\u2615","aliases":["coffee"]},{"emoji":"\u26B0\uFE0F","aliases":["coffin"]},{"emoji":"\u{1FA99}","aliases":["coin"]},{"emoji":"\u{1F976}","aliases":["cold_face"]},{"emoji":"\u{1F630}","aliases":["cold_sweat"]},{"emoji":"\u{1F1E8}\u{1F1F4}","aliases":["colombia"]},{"emoji":"\u2604\uFE0F","aliases":["comet"]},{"emoji":"\u{1F1F0}\u{1F1F2}","aliases":["comoros"]},{"emoji":"\u{1F9ED}","aliases":["compass"]},{"emoji":"\u{1F4BB}","aliases":["computer"]},{"emoji":"\u{1F5B1}\uFE0F","aliases":["computer_mouse"]},{"emoji":"\u{1F38A}","aliases":["confetti_ball"]},{"emoji":"\u{1F616}","aliases":["confounded"]},{"emoji":"\u{1F615}","aliases":["confused"]},{"emoji":"\u{1F1E8}\u{1F1EC}","aliases":["congo_brazzaville"]},{"emoji":"\u{1F1E8}\u{1F1E9}","aliases":["congo_kinshasa"]},{"emoji":"\u3297\uFE0F","aliases":["congratulations"]},{"emoji":"\u{1F6A7}","aliases":["construction"]},{"emoji":"\u{1F477}","aliases":["construction_worker"]},{"emoji":"\u{1F477}\u200D\u2642\uFE0F","aliases":["construction_worker_man"]},{"emoji":"\u{1F477}\u200D\u2640\uFE0F","aliases":["construction_worker_woman"]},{"emoji":"\u{1F39B}\uFE0F","aliases":["control_knobs"]},{"emoji":"\u{1F3EA}","aliases":["convenience_store"]},{"emoji":"\u{1F9D1}\u200D\u{1F373}","aliases":["cook"]},{"emoji":"\u{1F1E8}\u{1F1F0}","aliases":["cook_islands"]},{"emoji":"\u{1F36A}","aliases":["cookie"]},{"emoji":"\u{1F192}","aliases":["cool"]},{"emoji":"\xA9\uFE0F","aliases":["copyright"]},{"emoji":"\u{1FAB8}","aliases":["coral"]},{"emoji":"\u{1F33D}","aliases":["corn"]},{"emoji":"\u{1F1E8}\u{1F1F7}","aliases":["costa_rica"]},{"emoji":"\u{1F1E8}\u{1F1EE}","aliases":["cote_divoire"]},{"emoji":"\u{1F6CB}\uFE0F","aliases":["couch_and_lamp"]},{"emoji":"\u{1F46B}","aliases":["couple"]},{"emoji":"\u{1F491}","aliases":["couple_with_heart"]},{"emoji":"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F468}","aliases":["couple_with_heart_man_man"]},{"emoji":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F468}","aliases":["couple_with_heart_woman_man"]},{"emoji":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F469}","aliases":["couple_with_heart_woman_woman"]},{"emoji":"\u{1F48F}","aliases":["couplekiss"]},{"emoji":"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}","aliases":["couplekiss_man_man"]},{"emoji":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}","aliases":["couplekiss_man_woman"]},{"emoji":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F469}","aliases":["couplekiss_woman_woman"]},{"emoji":"\u{1F42E}","aliases":["cow"]},{"emoji":"\u{1F404}","aliases":["cow2"]},{"emoji":"\u{1F920}","aliases":["cowboy_hat_face"]},{"emoji":"\u{1F980}","aliases":["crab"]},{"emoji":"\u{1F58D}\uFE0F","aliases":["crayon"]},{"emoji":"\u{1F4B3}","aliases":["credit_card"]},{"emoji":"\u{1F319}","aliases":["crescent_moon"]},{"emoji":"\u{1F997}","aliases":["cricket"]},{"emoji":"\u{1F3CF}","aliases":["cricket_game"]},{"emoji":"\u{1F1ED}\u{1F1F7}","aliases":["croatia"]},{"emoji":"\u{1F40A}","aliases":["crocodile"]},{"emoji":"\u{1F950}","aliases":["croissant"]},{"emoji":"\u{1F91E}","aliases":["crossed_fingers"]},{"emoji":"\u{1F38C}","aliases":["crossed_flags"]},{"emoji":"\u2694\uFE0F","aliases":["crossed_swords"]},{"emoji":"\u{1F451}","aliases":["crown"]},{"emoji":"\u{1FA7C}","aliases":["crutch"]},{"emoji":"\u{1F622}","aliases":["cry"]},{"emoji":"\u{1F63F}","aliases":["crying_cat_face"]},{"emoji":"\u{1F52E}","aliases":["crystal_ball"]},{"emoji":"\u{1F1E8}\u{1F1FA}","aliases":["cuba"]},{"emoji":"\u{1F952}","aliases":["cucumber"]},{"emoji":"\u{1F964}","aliases":["cup_with_straw"]},{"emoji":"\u{1F9C1}","aliases":["cupcake"]},{"emoji":"\u{1F498}","aliases":["cupid"]},{"emoji":"\u{1F1E8}\u{1F1FC}","aliases":["curacao"]},{"emoji":"\u{1F94C}","aliases":["curling_stone"]},{"emoji":"\u{1F468}\u200D\u{1F9B1}","aliases":["curly_haired_man"]},{"emoji":"\u{1F469}\u200D\u{1F9B1}","aliases":["curly_haired_woman"]},{"emoji":"\u27B0","aliases":["curly_loop"]},{"emoji":"\u{1F4B1}","aliases":["currency_exchange"]},{"emoji":"\u{1F35B}","aliases":["curry"]},{"emoji":"\u{1F92C}","aliases":["cursing_face"]},{"emoji":"\u{1F36E}","aliases":["custard"]},{"emoji":"\u{1F6C3}","aliases":["customs"]},{"emoji":"\u{1F969}","aliases":["cut_of_meat"]},{"emoji":"\u{1F300}","aliases":["cyclone"]},{"emoji":"\u{1F1E8}\u{1F1FE}","aliases":["cyprus"]},{"emoji":"\u{1F1E8}\u{1F1FF}","aliases":["czech_republic"]},{"emoji":"\u{1F5E1}\uFE0F","aliases":["dagger"]},{"emoji":"\u{1F46F}","aliases":["dancers"]},{"emoji":"\u{1F46F}\u200D\u2642\uFE0F","aliases":["dancing_men"]},{"emoji":"\u{1F46F}\u200D\u2640\uFE0F","aliases":["dancing_women"]},{"emoji":"\u{1F361}","aliases":["dango"]},{"emoji":"\u{1F576}\uFE0F","aliases":["dark_sunglasses"]},{"emoji":"\u{1F3AF}","aliases":["dart"]},{"emoji":"\u{1F4A8}","aliases":["dash"]},{"emoji":"\u{1F4C5}","aliases":["date"]},{"emoji":"\u{1F1E9}\u{1F1EA}","aliases":["de"]},{"emoji":"\u{1F9CF}\u200D\u2642\uFE0F","aliases":["deaf_man"]},{"emoji":"\u{1F9CF}","aliases":["deaf_person"]},{"emoji":"\u{1F9CF}\u200D\u2640\uFE0F","aliases":["deaf_woman"]},{"emoji":"\u{1F333}","aliases":["deciduous_tree"]},{"emoji":"\u{1F98C}","aliases":["deer"]},{"emoji":"\u{1F1E9}\u{1F1F0}","aliases":["denmark"]},{"emoji":"\u{1F3EC}","aliases":["department_store"]},{"emoji":"\u{1F3DA}\uFE0F","aliases":["derelict_house"]},{"emoji":"\u{1F3DC}\uFE0F","aliases":["desert"]},{"emoji":"\u{1F3DD}\uFE0F","aliases":["desert_island"]},{"emoji":"\u{1F5A5}\uFE0F","aliases":["desktop_computer"]},{"emoji":"\u{1F575}\uFE0F","aliases":["detective"]},{"emoji":"\u{1F4A0}","aliases":["diamond_shape_with_a_dot_inside"]},{"emoji":"\u2666\uFE0F","aliases":["diamonds"]},{"emoji":"\u{1F1E9}\u{1F1EC}","aliases":["diego_garcia"]},{"emoji":"\u{1F61E}","aliases":["disappointed"]},{"emoji":"\u{1F625}","aliases":["disappointed_relieved"]},{"emoji":"\u{1F978}","aliases":["disguised_face"]},{"emoji":"\u{1F93F}","aliases":["diving_mask"]},{"emoji":"\u{1FA94}","aliases":["diya_lamp"]},{"emoji":"\u{1F4AB}","aliases":["dizzy"]},{"emoji":"\u{1F635}","aliases":["dizzy_face"]},{"emoji":"\u{1F1E9}\u{1F1EF}","aliases":["djibouti"]},{"emoji":"\u{1F9EC}","aliases":["dna"]},{"emoji":"\u{1F6AF}","aliases":["do_not_litter"]},{"emoji":"\u{1F9A4}","aliases":["dodo"]},{"emoji":"\u{1F436}","aliases":["dog"]},{"emoji":"\u{1F415}","aliases":["dog2"]},{"emoji":"\u{1F4B5}","aliases":["dollar"]},{"emoji":"\u{1F38E}","aliases":["dolls"]},{"emoji":"\u{1F42C}","aliases":["dolphin","flipper"]},{"emoji":"\u{1F1E9}\u{1F1F2}","aliases":["dominica"]},{"emoji":"\u{1F1E9}\u{1F1F4}","aliases":["dominican_republic"]},{"emoji":"\u{1FACF}","aliases":["donkey"]},{"emoji":"\u{1F6AA}","aliases":["door"]},{"emoji":"\u{1FAE5}","aliases":["dotted_line_face"]},{"emoji":"\u{1F369}","aliases":["doughnut"]},{"emoji":"\u{1F54A}\uFE0F","aliases":["dove"]},{"emoji":"\u{1F409}","aliases":["dragon"]},{"emoji":"\u{1F432}","aliases":["dragon_face"]},{"emoji":"\u{1F457}","aliases":["dress"]},{"emoji":"\u{1F42A}","aliases":["dromedary_camel"]},{"emoji":"\u{1F924}","aliases":["drooling_face"]},{"emoji":"\u{1FA78}","aliases":["drop_of_blood"]},{"emoji":"\u{1F4A7}","aliases":["droplet"]},{"emoji":"\u{1F941}","aliases":["drum"]},{"emoji":"\u{1F986}","aliases":["duck"]},{"emoji":"\u{1F95F}","aliases":["dumpling"]},{"emoji":"\u{1F4C0}","aliases":["dvd"]},{"emoji":"\u{1F985}","aliases":["eagle"]},{"emoji":"\u{1F442}","aliases":["ear"]},{"emoji":"\u{1F33E}","aliases":["ear_of_rice"]},{"emoji":"\u{1F9BB}","aliases":["ear_with_hearing_aid"]},{"emoji":"\u{1F30D}","aliases":["earth_africa"]},{"emoji":"\u{1F30E}","aliases":["earth_americas"]},{"emoji":"\u{1F30F}","aliases":["earth_asia"]},{"emoji":"\u{1F1EA}\u{1F1E8}","aliases":["ecuador"]},{"emoji":"\u{1F95A}","aliases":["egg"]},{"emoji":"\u{1F346}","aliases":["eggplant"]},{"emoji":"\u{1F1EA}\u{1F1EC}","aliases":["egypt"]},{"emoji":"8\uFE0F\u20E3","aliases":["eight"]},{"emoji":"\u2734\uFE0F","aliases":["eight_pointed_black_star"]},{"emoji":"\u2733\uFE0F","aliases":["eight_spoked_asterisk"]},{"emoji":"\u23CF\uFE0F","aliases":["eject_button"]},{"emoji":"\u{1F1F8}\u{1F1FB}","aliases":["el_salvador"]},{"emoji":"\u{1F50C}","aliases":["electric_plug"]},{"emoji":"\u{1F418}","aliases":["elephant"]},{"emoji":"\u{1F6D7}","aliases":["elevator"]},{"emoji":"\u{1F9DD}","aliases":["elf"]},{"emoji":"\u{1F9DD}\u200D\u2642\uFE0F","aliases":["elf_man"]},{"emoji":"\u{1F9DD}\u200D\u2640\uFE0F","aliases":["elf_woman"]},{"emoji":"\u{1F4E7}","aliases":["email","e-mail"]},{"emoji":"\u{1FAB9}","aliases":["empty_nest"]},{"emoji":"\u{1F51A}","aliases":["end"]},{"emoji":"\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{E0067}\u{E007F}","aliases":["england"]},{"emoji":"\u2709\uFE0F","aliases":["envelope"]},{"emoji":"\u{1F4E9}","aliases":["envelope_with_arrow"]},{"emoji":"\u{1F1EC}\u{1F1F6}","aliases":["equatorial_guinea"]},{"emoji":"\u{1F1EA}\u{1F1F7}","aliases":["eritrea"]},{"emoji":"\u{1F1EA}\u{1F1F8}","aliases":["es"]},{"emoji":"\u{1F1EA}\u{1F1EA}","aliases":["estonia"]},{"emoji":"\u{1F1EA}\u{1F1F9}","aliases":["ethiopia"]},{"emoji":"\u{1F1EA}\u{1F1FA}","aliases":["eu","european_union"]},{"emoji":"\u{1F4B6}","aliases":["euro"]},{"emoji":"\u{1F3F0}","aliases":["european_castle"]},{"emoji":"\u{1F3E4}","aliases":["european_post_office"]},{"emoji":"\u{1F332}","aliases":["evergreen_tree"]},{"emoji":"\u2757","aliases":["exclamation","heavy_exclamation_mark"]},{"emoji":"\u{1F92F}","aliases":["exploding_head"]},{"emoji":"\u{1F611}","aliases":["expressionless"]},{"emoji":"\u{1F441}\uFE0F","aliases":["eye"]},{"emoji":"\u{1F441}\uFE0F\u200D\u{1F5E8}\uFE0F","aliases":["eye_speech_bubble"]},{"emoji":"\u{1F453}","aliases":["eyeglasses"]},{"emoji":"\u{1F440}","aliases":["eyes"]},{"emoji":"\u{1F62E}\u200D\u{1F4A8}","aliases":["face_exhaling"]},{"emoji":"\u{1F979}","aliases":["face_holding_back_tears"]},{"emoji":"\u{1F636}\u200D\u{1F32B}\uFE0F","aliases":["face_in_clouds"]},{"emoji":"\u{1FAE4}","aliases":["face_with_diagonal_mouth"]},{"emoji":"\u{1F915}","aliases":["face_with_head_bandage"]},{"emoji":"\u{1FAE2}","aliases":["face_with_open_eyes_and_hand_over_mouth"]},{"emoji":"\u{1FAE3}","aliases":["face_with_peeking_eye"]},{"emoji":"\u{1F635}\u200D\u{1F4AB}","aliases":["face_with_spiral_eyes"]},{"emoji":"\u{1F912}","aliases":["face_with_thermometer"]},{"emoji":"\u{1F926}","aliases":["facepalm"]},{"emoji":"\u{1F3ED}","aliases":["factory"]},{"emoji":"\u{1F9D1}\u200D\u{1F3ED}","aliases":["factory_worker"]},{"emoji":"\u{1F9DA}","aliases":["fairy"]},{"emoji":"\u{1F9DA}\u200D\u2642\uFE0F","aliases":["fairy_man"]},{"emoji":"\u{1F9DA}\u200D\u2640\uFE0F","aliases":["fairy_woman"]},{"emoji":"\u{1F9C6}","aliases":["falafel"]},{"emoji":"\u{1F1EB}\u{1F1F0}","aliases":["falkland_islands"]},{"emoji":"\u{1F342}","aliases":["fallen_leaf"]},{"emoji":"\u{1F46A}","aliases":["family"]},{"emoji":"\u{1F468}\u200D\u{1F466}","aliases":["family_man_boy"]},{"emoji":"\u{1F468}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_man_boy_boy"]},{"emoji":"\u{1F468}\u200D\u{1F467}","aliases":["family_man_girl"]},{"emoji":"\u{1F468}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_man_girl_boy"]},{"emoji":"\u{1F468}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_man_girl_girl"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}","aliases":["family_man_man_boy"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_man_man_boy_boy"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}","aliases":["family_man_man_girl"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_man_man_girl_boy"]},{"emoji":"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_man_man_girl_girl"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}","aliases":["family_man_woman_boy"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_man_woman_boy_boy"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}","aliases":["family_man_woman_girl"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_man_woman_girl_boy"]},{"emoji":"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_man_woman_girl_girl"]},{"emoji":"\u{1F469}\u200D\u{1F466}","aliases":["family_woman_boy"]},{"emoji":"\u{1F469}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_woman_boy_boy"]},{"emoji":"\u{1F469}\u200D\u{1F467}","aliases":["family_woman_girl"]},{"emoji":"\u{1F469}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_woman_girl_boy"]},{"emoji":"\u{1F469}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_woman_girl_girl"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}","aliases":["family_woman_woman_boy"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}","aliases":["family_woman_woman_boy_boy"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}","aliases":["family_woman_woman_girl"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}","aliases":["family_woman_woman_girl_boy"]},{"emoji":"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}","aliases":["family_woman_woman_girl_girl"]},{"emoji":"\u{1F9D1}\u200D\u{1F33E}","aliases":["farmer"]},{"emoji":"\u{1F1EB}\u{1F1F4}","aliases":["faroe_islands"]},{"emoji":"\u23E9","aliases":["fast_forward"]},{"emoji":"\u{1F4E0}","aliases":["fax"]},{"emoji":"\u{1F628}","aliases":["fearful"]},{"emoji":"\u{1FAB6}","aliases":["feather"]},{"emoji":"\u{1F43E}","aliases":["feet","paw_prints"]},{"emoji":"\u{1F575}\uFE0F\u200D\u2640\uFE0F","aliases":["female_detective"]},{"emoji":"\u2640\uFE0F","aliases":["female_sign"]},{"emoji":"\u{1F3A1}","aliases":["ferris_wheel"]},{"emoji":"\u26F4\uFE0F","aliases":["ferry"]},{"emoji":"\u{1F3D1}","aliases":["field_hockey"]},{"emoji":"\u{1F1EB}\u{1F1EF}","aliases":["fiji"]},{"emoji":"\u{1F5C4}\uFE0F","aliases":["file_cabinet"]},{"emoji":"\u{1F4C1}","aliases":["file_folder"]},{"emoji":"\u{1F4FD}\uFE0F","aliases":["film_projector"]},{"emoji":"\u{1F39E}\uFE0F","aliases":["film_strip"]},{"emoji":"\u{1F1EB}\u{1F1EE}","aliases":["finland"]},{"emoji":"\u{1F525}","aliases":["fire"]},{"emoji":"\u{1F692}","aliases":["fire_engine"]},{"emoji":"\u{1F9EF}","aliases":["fire_extinguisher"]},{"emoji":"\u{1F9E8}","aliases":["firecracker"]},{"emoji":"\u{1F9D1}\u200D\u{1F692}","aliases":["firefighter"]},{"emoji":"\u{1F386}","aliases":["fireworks"]},{"emoji":"\u{1F313}","aliases":["first_quarter_moon"]},{"emoji":"\u{1F31B}","aliases":["first_quarter_moon_with_face"]},{"emoji":"\u{1F41F}","aliases":["fish"]},{"emoji":"\u{1F365}","aliases":["fish_cake"]},{"emoji":"\u{1F3A3}","aliases":["fishing_pole_and_fish"]},{"emoji":"\u{1F91B}","aliases":["fist_left"]},{"emoji":"\u{1F44A}","aliases":["fist_oncoming","facepunch","punch"]},{"emoji":"\u270A","aliases":["fist_raised","fist"]},{"emoji":"\u{1F91C}","aliases":["fist_right"]},{"emoji":"5\uFE0F\u20E3","aliases":["five"]},{"emoji":"\u{1F38F}","aliases":["flags"]},{"emoji":"\u{1F9A9}","aliases":["flamingo"]},{"emoji":"\u{1F526}","aliases":["flashlight"]},{"emoji":"\u{1F97F}","aliases":["flat_shoe"]},{"emoji":"\u{1FAD3}","aliases":["flatbread"]},{"emoji":"\u269C\uFE0F","aliases":["fleur_de_lis"]},{"emoji":"\u{1F6EC}","aliases":["flight_arrival"]},{"emoji":"\u{1F6EB}","aliases":["flight_departure"]},{"emoji":"\u{1F4BE}","aliases":["floppy_disk"]},{"emoji":"\u{1F3B4}","aliases":["flower_playing_cards"]},{"emoji":"\u{1F633}","aliases":["flushed"]},{"emoji":"\u{1FA88}","aliases":["flute"]},{"emoji":"\u{1FAB0}","aliases":["fly"]},{"emoji":"\u{1F94F}","aliases":["flying_disc"]},{"emoji":"\u{1F6F8}","aliases":["flying_saucer"]},{"emoji":"\u{1F32B}\uFE0F","aliases":["fog"]},{"emoji":"\u{1F301}","aliases":["foggy"]},{"emoji":"\u{1FAAD}","aliases":["folding_hand_fan"]},{"emoji":"\u{1FAD5}","aliases":["fondue"]},{"emoji":"\u{1F9B6}","aliases":["foot"]},{"emoji":"\u{1F3C8}","aliases":["football"]},{"emoji":"\u{1F463}","aliases":["footprints"]},{"emoji":"\u{1F374}","aliases":["fork_and_knife"]},{"emoji":"\u{1F960}","aliases":["fortune_cookie"]},{"emoji":"\u26F2","aliases":["fountain"]},{"emoji":"\u{1F58B}\uFE0F","aliases":["fountain_pen"]},{"emoji":"4\uFE0F\u20E3","aliases":["four"]},{"emoji":"\u{1F340}","aliases":["four_leaf_clover"]},{"emoji":"\u{1F98A}","aliases":["fox_face"]},{"emoji":"\u{1F1EB}\u{1F1F7}","aliases":["fr"]},{"emoji":"\u{1F5BC}\uFE0F","aliases":["framed_picture"]},{"emoji":"\u{1F193}","aliases":["free"]},{"emoji":"\u{1F1EC}\u{1F1EB}","aliases":["french_guiana"]},{"emoji":"\u{1F1F5}\u{1F1EB}","aliases":["french_polynesia"]},{"emoji":"\u{1F1F9}\u{1F1EB}","aliases":["french_southern_territories"]},{"emoji":"\u{1F373}","aliases":["fried_egg"]},{"emoji":"\u{1F364}","aliases":["fried_shrimp"]},{"emoji":"\u{1F35F}","aliases":["fries"]},{"emoji":"\u{1F438}","aliases":["frog"]},{"emoji":"\u{1F626}","aliases":["frowning"]},{"emoji":"\u2639\uFE0F","aliases":["frowning_face"]},{"emoji":"\u{1F64D}\u200D\u2642\uFE0F","aliases":["frowning_man"]},{"emoji":"\u{1F64D}","aliases":["frowning_person"]},{"emoji":"\u{1F64D}\u200D\u2640\uFE0F","aliases":["frowning_woman"]},{"emoji":"\u26FD","aliases":["fuelpump"]},{"emoji":"\u{1F315}","aliases":["full_moon"]},{"emoji":"\u{1F31D}","aliases":["full_moon_with_face"]},{"emoji":"\u26B1\uFE0F","aliases":["funeral_urn"]},{"emoji":"\u{1F1EC}\u{1F1E6}","aliases":["gabon"]},{"emoji":"\u{1F1EC}\u{1F1F2}","aliases":["gambia"]},{"emoji":"\u{1F3B2}","aliases":["game_die"]},{"emoji":"\u{1F9C4}","aliases":["garlic"]},{"emoji":"\u{1F1EC}\u{1F1E7}","aliases":["gb","uk"]},{"emoji":"\u2699\uFE0F","aliases":["gear"]},{"emoji":"\u{1F48E}","aliases":["gem"]},{"emoji":"\u264A","aliases":["gemini"]},{"emoji":"\u{1F9DE}","aliases":["genie"]},{"emoji":"\u{1F9DE}\u200D\u2642\uFE0F","aliases":["genie_man"]},{"emoji":"\u{1F9DE}\u200D\u2640\uFE0F","aliases":["genie_woman"]},{"emoji":"\u{1F1EC}\u{1F1EA}","aliases":["georgia"]},{"emoji":"\u{1F1EC}\u{1F1ED}","aliases":["ghana"]},{"emoji":"\u{1F47B}","aliases":["ghost"]},{"emoji":"\u{1F1EC}\u{1F1EE}","aliases":["gibraltar"]},{"emoji":"\u{1F381}","aliases":["gift"]},{"emoji":"\u{1F49D}","aliases":["gift_heart"]},{"emoji":"\u{1FADA}","aliases":["ginger_root"]},{"emoji":"\u{1F992}","aliases":["giraffe"]},{"emoji":"\u{1F467}","aliases":["girl"]},{"emoji":"\u{1F310}","aliases":["globe_with_meridians"]},{"emoji":"\u{1F9E4}","aliases":["gloves"]},{"emoji":"\u{1F945}","aliases":["goal_net"]},{"emoji":"\u{1F410}","aliases":["goat"]},{"emoji":"\u{1F97D}","aliases":["goggles"]},{"emoji":"\u26F3","aliases":["golf"]},{"emoji":"\u{1F3CC}\uFE0F","aliases":["golfing"]},{"emoji":"\u{1F3CC}\uFE0F\u200D\u2642\uFE0F","aliases":["golfing_man"]},{"emoji":"\u{1F3CC}\uFE0F\u200D\u2640\uFE0F","aliases":["golfing_woman"]},{"emoji":"\u{1FABF}","aliases":["goose"]},{"emoji":"\u{1F98D}","aliases":["gorilla"]},{"emoji":"\u{1F347}","aliases":["grapes"]},{"emoji":"\u{1F1EC}\u{1F1F7}","aliases":["greece"]},{"emoji":"\u{1F34F}","aliases":["green_apple"]},{"emoji":"\u{1F4D7}","aliases":["green_book"]},{"emoji":"\u{1F7E2}","aliases":["green_circle"]},{"emoji":"\u{1F49A}","aliases":["green_heart"]},{"emoji":"\u{1F957}","aliases":["green_salad"]},{"emoji":"\u{1F7E9}","aliases":["green_square"]},{"emoji":"\u{1F1EC}\u{1F1F1}","aliases":["greenland"]},{"emoji":"\u{1F1EC}\u{1F1E9}","aliases":["grenada"]},{"emoji":"\u2755","aliases":["grey_exclamation"]},{"emoji":"\u{1FA76}","aliases":["grey_heart"]},{"emoji":"\u2754","aliases":["grey_question"]},{"emoji":"\u{1F62C}","aliases":["grimacing"]},{"emoji":"\u{1F601}","aliases":["grin"]},{"emoji":"\u{1F600}","aliases":["grinning"]},{"emoji":"\u{1F1EC}\u{1F1F5}","aliases":["guadeloupe"]},{"emoji":"\u{1F1EC}\u{1F1FA}","aliases":["guam"]},{"emoji":"\u{1F482}","aliases":["guard"]},{"emoji":"\u{1F482}\u200D\u2642\uFE0F","aliases":["guardsman"]},{"emoji":"\u{1F482}\u200D\u2640\uFE0F","aliases":["guardswoman"]},{"emoji":"\u{1F1EC}\u{1F1F9}","aliases":["guatemala"]},{"emoji":"\u{1F1EC}\u{1F1EC}","aliases":["guernsey"]},{"emoji":"\u{1F9AE}","aliases":["guide_dog"]},{"emoji":"\u{1F1EC}\u{1F1F3}","aliases":["guinea"]},{"emoji":"\u{1F1EC}\u{1F1FC}","aliases":["guinea_bissau"]},{"emoji":"\u{1F3B8}","aliases":["guitar"]},{"emoji":"\u{1F52B}","aliases":["gun"]},{"emoji":"\u{1F1EC}\u{1F1FE}","aliases":["guyana"]},{"emoji":"\u{1FAAE}","aliases":["hair_pick"]},{"emoji":"\u{1F487}","aliases":["haircut"]},{"emoji":"\u{1F487}\u200D\u2642\uFE0F","aliases":["haircut_man"]},{"emoji":"\u{1F487}\u200D\u2640\uFE0F","aliases":["haircut_woman"]},{"emoji":"\u{1F1ED}\u{1F1F9}","aliases":["haiti"]},{"emoji":"\u{1F354}","aliases":["hamburger"]},{"emoji":"\u{1F528}","aliases":["hammer"]},{"emoji":"\u2692\uFE0F","aliases":["hammer_and_pick"]},{"emoji":"\u{1F6E0}\uFE0F","aliases":["hammer_and_wrench"]},{"emoji":"\u{1FAAC}","aliases":["hamsa"]},{"emoji":"\u{1F439}","aliases":["hamster"]},{"emoji":"\u270B","aliases":["hand","raised_hand"]},{"emoji":"\u{1F92D}","aliases":["hand_over_mouth"]},{"emoji":"\u{1FAF0}","aliases":["hand_with_index_finger_and_thumb_crossed"]},{"emoji":"\u{1F45C}","aliases":["handbag"]},{"emoji":"\u{1F93E}","aliases":["handball_person"]},{"emoji":"\u{1F91D}","aliases":["handshake"]},{"emoji":"\u{1F4A9}","aliases":["hankey","poop","shit"]},{"emoji":"#\uFE0F\u20E3","aliases":["hash"]},{"emoji":"\u{1F425}","aliases":["hatched_chick"]},{"emoji":"\u{1F423}","aliases":["hatching_chick"]},{"emoji":"\u{1F3A7}","aliases":["headphones"]},{"emoji":"\u{1FAA6}","aliases":["headstone"]},{"emoji":"\u{1F9D1}\u200D\u2695\uFE0F","aliases":["health_worker"]},{"emoji":"\u{1F649}","aliases":["hear_no_evil"]},{"emoji":"\u{1F1ED}\u{1F1F2}","aliases":["heard_mcdonald_islands"]},{"emoji":"\u2764\uFE0F","aliases":["heart"]},{"emoji":"\u{1F49F}","aliases":["heart_decoration"]},{"emoji":"\u{1F60D}","aliases":["heart_eyes"]},{"emoji":"\u{1F63B}","aliases":["heart_eyes_cat"]},{"emoji":"\u{1FAF6}","aliases":["heart_hands"]},{"emoji":"\u2764\uFE0F\u200D\u{1F525}","aliases":["heart_on_fire"]},{"emoji":"\u{1F493}","aliases":["heartbeat"]},{"emoji":"\u{1F497}","aliases":["heartpulse"]},{"emoji":"\u2665\uFE0F","aliases":["hearts"]},{"emoji":"\u2714\uFE0F","aliases":["heavy_check_mark"]},{"emoji":"\u2797","aliases":["heavy_division_sign"]},{"emoji":"\u{1F4B2}","aliases":["heavy_dollar_sign"]},{"emoji":"\u{1F7F0}","aliases":["heavy_equals_sign"]},{"emoji":"\u2763\uFE0F","aliases":["heavy_heart_exclamation"]},{"emoji":"\u2796","aliases":["heavy_minus_sign"]},{"emoji":"\u2716\uFE0F","aliases":["heavy_multiplication_x"]},{"emoji":"\u2795","aliases":["heavy_plus_sign"]},{"emoji":"\u{1F994}","aliases":["hedgehog"]},{"emoji":"\u{1F681}","aliases":["helicopter"]},{"emoji":"\u{1F33F}","aliases":["herb"]},{"emoji":"\u{1F33A}","aliases":["hibiscus"]},{"emoji":"\u{1F506}","aliases":["high_brightness"]},{"emoji":"\u{1F460}","aliases":["high_heel"]},{"emoji":"\u{1F97E}","aliases":["hiking_boot"]},{"emoji":"\u{1F6D5}","aliases":["hindu_temple"]},{"emoji":"\u{1F99B}","aliases":["hippopotamus"]},{"emoji":"\u{1F52A}","aliases":["hocho","knife"]},{"emoji":"\u{1F573}\uFE0F","aliases":["hole"]},{"emoji":"\u{1F1ED}\u{1F1F3}","aliases":["honduras"]},{"emoji":"\u{1F36F}","aliases":["honey_pot"]},{"emoji":"\u{1F1ED}\u{1F1F0}","aliases":["hong_kong"]},{"emoji":"\u{1FA9D}","aliases":["hook"]},{"emoji":"\u{1F434}","aliases":["horse"]},{"emoji":"\u{1F3C7}","aliases":["horse_racing"]},{"emoji":"\u{1F3E5}","aliases":["hospital"]},{"emoji":"\u{1F975}","aliases":["hot_face"]},{"emoji":"\u{1F336}\uFE0F","aliases":["hot_pepper"]},{"emoji":"\u{1F32D}","aliases":["hotdog"]},{"emoji":"\u{1F3E8}","aliases":["hotel"]},{"emoji":"\u2668\uFE0F","aliases":["hotsprings"]},{"emoji":"\u231B","aliases":["hourglass"]},{"emoji":"\u23F3","aliases":["hourglass_flowing_sand"]},{"emoji":"\u{1F3E0}","aliases":["house"]},{"emoji":"\u{1F3E1}","aliases":["house_with_garden"]},{"emoji":"\u{1F3D8}\uFE0F","aliases":["houses"]},{"emoji":"\u{1F917}","aliases":["hugs"]},{"emoji":"\u{1F1ED}\u{1F1FA}","aliases":["hungary"]},{"emoji":"\u{1F62F}","aliases":["hushed"]},{"emoji":"\u{1F6D6}","aliases":["hut"]},{"emoji":"\u{1FABB}","aliases":["hyacinth"]},{"emoji":"\u{1F368}","aliases":["ice_cream"]},{"emoji":"\u{1F9CA}","aliases":["ice_cube"]},{"emoji":"\u{1F3D2}","aliases":["ice_hockey"]},{"emoji":"\u26F8\uFE0F","aliases":["ice_skate"]},{"emoji":"\u{1F366}","aliases":["icecream"]},{"emoji":"\u{1F1EE}\u{1F1F8}","aliases":["iceland"]},{"emoji":"\u{1F194}","aliases":["id"]},{"emoji":"\u{1FAAA}","aliases":["identification_card"]},{"emoji":"\u{1F250}","aliases":["ideograph_advantage"]},{"emoji":"\u{1F47F}","aliases":["imp"]},{"emoji":"\u{1F4E5}","aliases":["inbox_tray"]},{"emoji":"\u{1F4E8}","aliases":["incoming_envelope"]},{"emoji":"\u{1FAF5}","aliases":["index_pointing_at_the_viewer"]},{"emoji":"\u{1F1EE}\u{1F1F3}","aliases":["india"]},{"emoji":"\u{1F1EE}\u{1F1E9}","aliases":["indonesia"]},{"emoji":"\u267E\uFE0F","aliases":["infinity"]},{"emoji":"\u2139\uFE0F","aliases":["information_source"]},{"emoji":"\u{1F607}","aliases":["innocent"]},{"emoji":"\u2049\uFE0F","aliases":["interrobang"]},{"emoji":"\u{1F4F1}","aliases":["iphone"]},{"emoji":"\u{1F1EE}\u{1F1F7}","aliases":["iran"]},{"emoji":"\u{1F1EE}\u{1F1F6}","aliases":["iraq"]},{"emoji":"\u{1F1EE}\u{1F1EA}","aliases":["ireland"]},{"emoji":"\u{1F1EE}\u{1F1F2}","aliases":["isle_of_man"]},{"emoji":"\u{1F1EE}\u{1F1F1}","aliases":["israel"]},{"emoji":"\u{1F1EE}\u{1F1F9}","aliases":["it"]},{"emoji":"\u{1F3EE}","aliases":["izakaya_lantern","lantern"]},{"emoji":"\u{1F383}","aliases":["jack_o_lantern"]},{"emoji":"\u{1F1EF}\u{1F1F2}","aliases":["jamaica"]},{"emoji":"\u{1F5FE}","aliases":["japan"]},{"emoji":"\u{1F3EF}","aliases":["japanese_castle"]},{"emoji":"\u{1F47A}","aliases":["japanese_goblin"]},{"emoji":"\u{1F479}","aliases":["japanese_ogre"]},{"emoji":"\u{1FAD9}","aliases":["jar"]},{"emoji":"\u{1F456}","aliases":["jeans"]},{"emoji":"\u{1FABC}","aliases":["jellyfish"]},{"emoji":"\u{1F1EF}\u{1F1EA}","aliases":["jersey"]},{"emoji":"\u{1F9E9}","aliases":["jigsaw"]},{"emoji":"\u{1F1EF}\u{1F1F4}","aliases":["jordan"]},{"emoji":"\u{1F602}","aliases":["joy"]},{"emoji":"\u{1F639}","aliases":["joy_cat"]},{"emoji":"\u{1F579}\uFE0F","aliases":["joystick"]},{"emoji":"\u{1F1EF}\u{1F1F5}","aliases":["jp"]},{"emoji":"\u{1F9D1}\u200D\u2696\uFE0F","aliases":["judge"]},{"emoji":"\u{1F939}","aliases":["juggling_person"]},{"emoji":"\u{1F54B}","aliases":["kaaba"]},{"emoji":"\u{1F998}","aliases":["kangaroo"]},{"emoji":"\u{1F1F0}\u{1F1FF}","aliases":["kazakhstan"]},{"emoji":"\u{1F1F0}\u{1F1EA}","aliases":["kenya"]},{"emoji":"\u{1F511}","aliases":["key"]},{"emoji":"\u2328\uFE0F","aliases":["keyboard"]},{"emoji":"\u{1F51F}","aliases":["keycap_ten"]},{"emoji":"\u{1FAAF}","aliases":["khanda"]},{"emoji":"\u{1F6F4}","aliases":["kick_scooter"]},{"emoji":"\u{1F458}","aliases":["kimono"]},{"emoji":"\u{1F1F0}\u{1F1EE}","aliases":["kiribati"]},{"emoji":"\u{1F48B}","aliases":["kiss"]},{"emoji":"\u{1F617}","aliases":["kissing"]},{"emoji":"\u{1F63D}","aliases":["kissing_cat"]},{"emoji":"\u{1F61A}","aliases":["kissing_closed_eyes"]},{"emoji":"\u{1F618}","aliases":["kissing_heart"]},{"emoji":"\u{1F619}","aliases":["kissing_smiling_eyes"]},{"emoji":"\u{1FA81}","aliases":["kite"]},{"emoji":"\u{1F95D}","aliases":["kiwi_fruit"]},{"emoji":"\u{1F9CE}\u200D\u2642\uFE0F","aliases":["kneeling_man"]},{"emoji":"\u{1F9CE}","aliases":["kneeling_person"]},{"emoji":"\u{1F9CE}\u200D\u2640\uFE0F","aliases":["kneeling_woman"]},{"emoji":"\u{1FAA2}","aliases":["knot"]},{"emoji":"\u{1F428}","aliases":["koala"]},{"emoji":"\u{1F201}","aliases":["koko"]},{"emoji":"\u{1F1FD}\u{1F1F0}","aliases":["kosovo"]},{"emoji":"\u{1F1F0}\u{1F1F7}","aliases":["kr"]},{"emoji":"\u{1F1F0}\u{1F1FC}","aliases":["kuwait"]},{"emoji":"\u{1F1F0}\u{1F1EC}","aliases":["kyrgyzstan"]},{"emoji":"\u{1F97C}","aliases":["lab_coat"]},{"emoji":"\u{1F3F7}\uFE0F","aliases":["label"]},{"emoji":"\u{1F94D}","aliases":["lacrosse"]},{"emoji":"\u{1FA9C}","aliases":["ladder"]},{"emoji":"\u{1F41E}","aliases":["lady_beetle"]},{"emoji":"\u{1F1F1}\u{1F1E6}","aliases":["laos"]},{"emoji":"\u{1F535}","aliases":["large_blue_circle"]},{"emoji":"\u{1F537}","aliases":["large_blue_diamond"]},{"emoji":"\u{1F536}","aliases":["large_orange_diamond"]},{"emoji":"\u{1F317}","aliases":["last_quarter_moon"]},{"emoji":"\u{1F31C}","aliases":["last_quarter_moon_with_face"]},{"emoji":"\u271D\uFE0F","aliases":["latin_cross"]},{"emoji":"\u{1F1F1}\u{1F1FB}","aliases":["latvia"]},{"emoji":"\u{1F606}","aliases":["laughing","satisfied","laugh"]},{"emoji":"\u{1F96C}","aliases":["leafy_green"]},{"emoji":"\u{1F343}","aliases":["leaves"]},{"emoji":"\u{1F1F1}\u{1F1E7}","aliases":["lebanon"]},{"emoji":"\u{1F4D2}","aliases":["ledger"]},{"emoji":"\u{1F6C5}","aliases":["left_luggage"]},{"emoji":"\u2194\uFE0F","aliases":["left_right_arrow"]},{"emoji":"\u{1F5E8}\uFE0F","aliases":["left_speech_bubble"]},{"emoji":"\u21A9\uFE0F","aliases":["leftwards_arrow_with_hook"]},{"emoji":"\u{1FAF2}","aliases":["leftwards_hand"]},{"emoji":"\u{1FAF7}","aliases":["leftwards_pushing_hand"]},{"emoji":"\u{1F9B5}","aliases":["leg"]},{"emoji":"\u{1F34B}","aliases":["lemon"]},{"emoji":"\u264C","aliases":["leo"]},{"emoji":"\u{1F406}","aliases":["leopard"]},{"emoji":"\u{1F1F1}\u{1F1F8}","aliases":["lesotho"]},{"emoji":"\u{1F39A}\uFE0F","aliases":["level_slider"]},{"emoji":"\u{1F1F1}\u{1F1F7}","aliases":["liberia"]},{"emoji":"\u264E","aliases":["libra"]},{"emoji":"\u{1F1F1}\u{1F1FE}","aliases":["libya"]},{"emoji":"\u{1F1F1}\u{1F1EE}","aliases":["liechtenstein"]},{"emoji":"\u{1FA75}","aliases":["light_blue_heart"]},{"emoji":"\u{1F688}","aliases":["light_rail"]},{"emoji":"\u{1F517}","aliases":["link"]},{"emoji":"\u{1F981}","aliases":["lion"]},{"emoji":"\u{1F444}","aliases":["lips"]},{"emoji":"\u{1F484}","aliases":["lipstick"]},{"emoji":"\u{1F1F1}\u{1F1F9}","aliases":["lithuania"]},{"emoji":"\u{1F98E}","aliases":["lizard"]},{"emoji":"\u{1F999}","aliases":["llama"]},{"emoji":"\u{1F99E}","aliases":["lobster"]},{"emoji":"\u{1F512}","aliases":["lock"]},{"emoji":"\u{1F50F}","aliases":["lock_with_ink_pen"]},{"emoji":"\u{1F36D}","aliases":["lollipop"]},{"emoji":"\u{1FA98}","aliases":["long_drum"]},{"emoji":"\u27BF","aliases":["loop"]},{"emoji":"\u{1F9F4}","aliases":["lotion_bottle"]},{"emoji":"\u{1FAB7}","aliases":["lotus"]},{"emoji":"\u{1F9D8}","aliases":["lotus_position"]},{"emoji":"\u{1F9D8}\u200D\u2642\uFE0F","aliases":["lotus_position_man"]},{"emoji":"\u{1F9D8}\u200D\u2640\uFE0F","aliases":["lotus_position_woman"]},{"emoji":"\u{1F50A}","aliases":["loud_sound"]},{"emoji":"\u{1F4E2}","aliases":["loudspeaker"]},{"emoji":"\u{1F3E9}","aliases":["love_hotel"]},{"emoji":"\u{1F48C}","aliases":["love_letter"]},{"emoji":"\u{1F91F}","aliases":["love_you_gesture"]},{"emoji":"\u{1FAAB}","aliases":["low_battery"]},{"emoji":"\u{1F505}","aliases":["low_brightness"]},{"emoji":"\u{1F9F3}","aliases":["luggage"]},{"emoji":"\u{1FAC1}","aliases":["lungs"]},{"emoji":"\u{1F1F1}\u{1F1FA}","aliases":["luxembourg"]},{"emoji":"\u{1F925}","aliases":["lying_face"]},{"emoji":"\u24C2\uFE0F","aliases":["m"]},{"emoji":"\u{1F1F2}\u{1F1F4}","aliases":["macau"]},{"emoji":"\u{1F1F2}\u{1F1F0}","aliases":["macedonia"]},{"emoji":"\u{1F1F2}\u{1F1EC}","aliases":["madagascar"]},{"emoji":"\u{1F50D}","aliases":["mag"]},{"emoji":"\u{1F50E}","aliases":["mag_right"]},{"emoji":"\u{1F9D9}","aliases":["mage"]},{"emoji":"\u{1F9D9}\u200D\u2642\uFE0F","aliases":["mage_man"]},{"emoji":"\u{1F9D9}\u200D\u2640\uFE0F","aliases":["mage_woman"]},{"emoji":"\u{1FA84}","aliases":["magic_wand"]},{"emoji":"\u{1F9F2}","aliases":["magnet"]},{"emoji":"\u{1F004}","aliases":["mahjong"]},{"emoji":"\u{1F4EB}","aliases":["mailbox"]},{"emoji":"\u{1F4EA}","aliases":["mailbox_closed"]},{"emoji":"\u{1F4EC}","aliases":["mailbox_with_mail"]},{"emoji":"\u{1F4ED}","aliases":["mailbox_with_no_mail"]},{"emoji":"\u{1F1F2}\u{1F1FC}","aliases":["malawi"]},{"emoji":"\u{1F1F2}\u{1F1FE}","aliases":["malaysia"]},{"emoji":"\u{1F1F2}\u{1F1FB}","aliases":["maldives"]},{"emoji":"\u{1F575}\uFE0F\u200D\u2642\uFE0F","aliases":["male_detective"]},{"emoji":"\u2642\uFE0F","aliases":["male_sign"]},{"emoji":"\u{1F1F2}\u{1F1F1}","aliases":["mali"]},{"emoji":"\u{1F1F2}\u{1F1F9}","aliases":["malta"]},{"emoji":"\u{1F9A3}","aliases":["mammoth"]},{"emoji":"\u{1F468}","aliases":["man"]},{"emoji":"\u{1F468}\u200D\u{1F3A8}","aliases":["man_artist"]},{"emoji":"\u{1F468}\u200D\u{1F680}","aliases":["man_astronaut"]},{"emoji":"\u{1F9D4}\u200D\u2642\uFE0F","aliases":["man_beard"]},{"emoji":"\u{1F938}\u200D\u2642\uFE0F","aliases":["man_cartwheeling"]},{"emoji":"\u{1F468}\u200D\u{1F373}","aliases":["man_cook"]},{"emoji":"\u{1F57A}","aliases":["man_dancing"]},{"emoji":"\u{1F926}\u200D\u2642\uFE0F","aliases":["man_facepalming"]},{"emoji":"\u{1F468}\u200D\u{1F3ED}","aliases":["man_factory_worker"]},{"emoji":"\u{1F468}\u200D\u{1F33E}","aliases":["man_farmer"]},{"emoji":"\u{1F468}\u200D\u{1F37C}","aliases":["man_feeding_baby"]},{"emoji":"\u{1F468}\u200D\u{1F692}","aliases":["man_firefighter"]},{"emoji":"\u{1F468}\u200D\u2695\uFE0F","aliases":["man_health_worker"]},{"emoji":"\u{1F468}\u200D\u{1F9BD}","aliases":["man_in_manual_wheelchair"]},{"emoji":"\u{1F468}\u200D\u{1F9BC}","aliases":["man_in_motorized_wheelchair"]},{"emoji":"\u{1F935}\u200D\u2642\uFE0F","aliases":["man_in_tuxedo"]},{"emoji":"\u{1F468}\u200D\u2696\uFE0F","aliases":["man_judge"]},{"emoji":"\u{1F939}\u200D\u2642\uFE0F","aliases":["man_juggling"]},{"emoji":"\u{1F468}\u200D\u{1F527}","aliases":["man_mechanic"]},{"emoji":"\u{1F468}\u200D\u{1F4BC}","aliases":["man_office_worker"]},{"emoji":"\u{1F468}\u200D\u2708\uFE0F","aliases":["man_pilot"]},{"emoji":"\u{1F93E}\u200D\u2642\uFE0F","aliases":["man_playing_handball"]},{"emoji":"\u{1F93D}\u200D\u2642\uFE0F","aliases":["man_playing_water_polo"]},{"emoji":"\u{1F468}\u200D\u{1F52C}","aliases":["man_scientist"]},{"emoji":"\u{1F937}\u200D\u2642\uFE0F","aliases":["man_shrugging"]},{"emoji":"\u{1F468}\u200D\u{1F3A4}","aliases":["man_singer"]},{"emoji":"\u{1F468}\u200D\u{1F393}","aliases":["man_student"]},{"emoji":"\u{1F468}\u200D\u{1F3EB}","aliases":["man_teacher"]},{"emoji":"\u{1F468}\u200D\u{1F4BB}","aliases":["man_technologist"]},{"emoji":"\u{1F472}","aliases":["man_with_gua_pi_mao"]},{"emoji":"\u{1F468}\u200D\u{1F9AF}","aliases":["man_with_probing_cane"]},{"emoji":"\u{1F473}\u200D\u2642\uFE0F","aliases":["man_with_turban"]},{"emoji":"\u{1F470}\u200D\u2642\uFE0F","aliases":["man_with_veil"]},{"emoji":"\u{1F96D}","aliases":["mango"]},{"emoji":"\u{1F45E}","aliases":["mans_shoe","shoe"]},{"emoji":"\u{1F570}\uFE0F","aliases":["mantelpiece_clock"]},{"emoji":"\u{1F9BD}","aliases":["manual_wheelchair"]},{"emoji":"\u{1F341}","aliases":["maple_leaf"]},{"emoji":"\u{1FA87}","aliases":["maracas"]},{"emoji":"\u{1F1F2}\u{1F1ED}","aliases":["marshall_islands"]},{"emoji":"\u{1F94B}","aliases":["martial_arts_uniform"]},{"emoji":"\u{1F1F2}\u{1F1F6}","aliases":["martinique"]},{"emoji":"\u{1F637}","aliases":["mask"]},{"emoji":"\u{1F486}","aliases":["massage"]},{"emoji":"\u{1F486}\u200D\u2642\uFE0F","aliases":["massage_man"]},{"emoji":"\u{1F486}\u200D\u2640\uFE0F","aliases":["massage_woman"]},{"emoji":"\u{1F9C9}","aliases":["mate"]},{"emoji":"\u{1F1F2}\u{1F1F7}","aliases":["mauritania"]},{"emoji":"\u{1F1F2}\u{1F1FA}","aliases":["mauritius"]},{"emoji":"\u{1F1FE}\u{1F1F9}","aliases":["mayotte"]},{"emoji":"\u{1F356}","aliases":["meat_on_bone"]},{"emoji":"\u{1F9D1}\u200D\u{1F527}","aliases":["mechanic"]},{"emoji":"\u{1F9BE}","aliases":["mechanical_arm"]},{"emoji":"\u{1F9BF}","aliases":["mechanical_leg"]},{"emoji":"\u{1F396}\uFE0F","aliases":["medal_military"]},{"emoji":"\u{1F3C5}","aliases":["medal_sports"]},{"emoji":"\u2695\uFE0F","aliases":["medical_symbol"]},{"emoji":"\u{1F4E3}","aliases":["mega"]},{"emoji":"\u{1F348}","aliases":["melon"]},{"emoji":"\u{1FAE0}","aliases":["melting_face"]},{"emoji":"\u{1F4DD}","aliases":["memo","pencil"]},{"emoji":"\u{1F93C}\u200D\u2642\uFE0F","aliases":["men_wrestling"]},{"emoji":"\u2764\uFE0F\u200D\u{1FA79}","aliases":["mending_heart"]},{"emoji":"\u{1F54E}","aliases":["menorah"]},{"emoji":"\u{1F6B9}","aliases":["mens"]},{"emoji":"\u{1F9DC}\u200D\u2640\uFE0F","aliases":["mermaid"]},{"emoji":"\u{1F9DC}\u200D\u2642\uFE0F","aliases":["merman"]},{"emoji":"\u{1F9DC}","aliases":["merperson"]},{"emoji":"\u{1F918}","aliases":["metal"]},{"emoji":"\u{1F687}","aliases":["metro"]},{"emoji":"\u{1F1F2}\u{1F1FD}","aliases":["mexico"]},{"emoji":"\u{1F9A0}","aliases":["microbe"]},{"emoji":"\u{1F1EB}\u{1F1F2}","aliases":["micronesia"]},{"emoji":"\u{1F3A4}","aliases":["microphone"]},{"emoji":"\u{1F52C}","aliases":["microscope"]},{"emoji":"\u{1F595}","aliases":["middle_finger","fu"]},{"emoji":"\u{1FA96}","aliases":["military_helmet"]},{"emoji":"\u{1F95B}","aliases":["milk_glass"]},{"emoji":"\u{1F30C}","aliases":["milky_way"]},{"emoji":"\u{1F690}","aliases":["minibus"]},{"emoji":"\u{1F4BD}","aliases":["minidisc"]},{"emoji":"\u{1FA9E}","aliases":["mirror"]},{"emoji":"\u{1FAA9}","aliases":["mirror_ball"]},{"emoji":"\u{1F4F4}","aliases":["mobile_phone_off"]},{"emoji":"\u{1F1F2}\u{1F1E9}","aliases":["moldova"]},{"emoji":"\u{1F1F2}\u{1F1E8}","aliases":["monaco"]},{"emoji":"\u{1F911}","aliases":["money_mouth_face"]},{"emoji":"\u{1F4B8}","aliases":["money_with_wings"]},{"emoji":"\u{1F4B0}","aliases":["moneybag"]},{"emoji":"\u{1F1F2}\u{1F1F3}","aliases":["mongolia"]},{"emoji":"\u{1F412}","aliases":["monkey"]},{"emoji":"\u{1F435}","aliases":["monkey_face"]},{"emoji":"\u{1F9D0}","aliases":["monocle_face"]},{"emoji":"\u{1F69D}","aliases":["monorail"]},{"emoji":"\u{1F1F2}\u{1F1EA}","aliases":["montenegro"]},{"emoji":"\u{1F1F2}\u{1F1F8}","aliases":["montserrat"]},{"emoji":"\u{1F314}","aliases":["moon","waxing_gibbous_moon"]},{"emoji":"\u{1F96E}","aliases":["moon_cake"]},{"emoji":"\u{1FACE}","aliases":["moose"]},{"emoji":"\u{1F1F2}\u{1F1E6}","aliases":["morocco"]},{"emoji":"\u{1F393}","aliases":["mortar_board"]},{"emoji":"\u{1F54C}","aliases":["mosque"]},{"emoji":"\u{1F99F}","aliases":["mosquito"]},{"emoji":"\u{1F6E5}\uFE0F","aliases":["motor_boat"]},{"emoji":"\u{1F6F5}","aliases":["motor_scooter"]},{"emoji":"\u{1F3CD}\uFE0F","aliases":["motorcycle"]},{"emoji":"\u{1F9BC}","aliases":["motorized_wheelchair"]},{"emoji":"\u{1F6E3}\uFE0F","aliases":["motorway"]},{"emoji":"\u{1F5FB}","aliases":["mount_fuji"]},{"emoji":"\u26F0\uFE0F","aliases":["mountain"]},{"emoji":"\u{1F6B5}","aliases":["mountain_bicyclist"]},{"emoji":"\u{1F6B5}\u200D\u2642\uFE0F","aliases":["mountain_biking_man"]},{"emoji":"\u{1F6B5}\u200D\u2640\uFE0F","aliases":["mountain_biking_woman"]},{"emoji":"\u{1F6A0}","aliases":["mountain_cableway"]},{"emoji":"\u{1F69E}","aliases":["mountain_railway"]},{"emoji":"\u{1F3D4}\uFE0F","aliases":["mountain_snow"]},{"emoji":"\u{1F42D}","aliases":["mouse"]},{"emoji":"\u{1F401}","aliases":["mouse2"]},{"emoji":"\u{1FAA4}","aliases":["mouse_trap"]},{"emoji":"\u{1F3A5}","aliases":["movie_camera"]},{"emoji":"\u{1F5FF}","aliases":["moyai"]},{"emoji":"\u{1F1F2}\u{1F1FF}","aliases":["mozambique"]},{"emoji":"\u{1F936}","aliases":["mrs_claus"]},{"emoji":"\u{1F4AA}","aliases":["muscle"]},{"emoji":"\u{1F344}","aliases":["mushroom"]},{"emoji":"\u{1F3B9}","aliases":["musical_keyboard"]},{"emoji":"\u{1F3B5}","aliases":["musical_note"]},{"emoji":"\u{1F3BC}","aliases":["musical_score"]},{"emoji":"\u{1F507}","aliases":["mute"]},{"emoji":"\u{1F9D1}\u200D\u{1F384}","aliases":["mx_claus"]},{"emoji":"\u{1F1F2}\u{1F1F2}","aliases":["myanmar"]},{"emoji":"\u{1F485}","aliases":["nail_care"]},{"emoji":"\u{1F4DB}","aliases":["name_badge"]},{"emoji":"\u{1F1F3}\u{1F1E6}","aliases":["namibia"]},{"emoji":"\u{1F3DE}\uFE0F","aliases":["national_park"]},{"emoji":"\u{1F1F3}\u{1F1F7}","aliases":["nauru"]},{"emoji":"\u{1F922}","aliases":["nauseated_face"]},{"emoji":"\u{1F9FF}","aliases":["nazar_amulet"]},{"emoji":"\u{1F454}","aliases":["necktie"]},{"emoji":"\u274E","aliases":["negative_squared_cross_mark"]},{"emoji":"\u{1F1F3}\u{1F1F5}","aliases":["nepal"]},{"emoji":"\u{1F913}","aliases":["nerd_face"]},{"emoji":"\u{1FABA}","aliases":["nest_with_eggs"]},{"emoji":"\u{1FA86}","aliases":["nesting_dolls"]},{"emoji":"\u{1F1F3}\u{1F1F1}","aliases":["netherlands"]},{"emoji":"\u{1F610}","aliases":["neutral_face"]},{"emoji":"\u{1F195}","aliases":["new"]},{"emoji":"\u{1F1F3}\u{1F1E8}","aliases":["new_caledonia"]},{"emoji":"\u{1F311}","aliases":["new_moon"]},{"emoji":"\u{1F31A}","aliases":["new_moon_with_face"]},{"emoji":"\u{1F1F3}\u{1F1FF}","aliases":["new_zealand"]},{"emoji":"\u{1F4F0}","aliases":["newspaper"]},{"emoji":"\u{1F5DE}\uFE0F","aliases":["newspaper_roll"]},{"emoji":"\u23ED\uFE0F","aliases":["next_track_button"]},{"emoji":"\u{1F196}","aliases":["ng"]},{"emoji":"\u{1F1F3}\u{1F1EE}","aliases":["nicaragua"]},{"emoji":"\u{1F1F3}\u{1F1EA}","aliases":["niger"]},{"emoji":"\u{1F1F3}\u{1F1EC}","aliases":["nigeria"]},{"emoji":"\u{1F303}","aliases":["night_with_stars"]},{"emoji":"9\uFE0F\u20E3","aliases":["nine"]},{"emoji":"\u{1F977}","aliases":["ninja"]},{"emoji":"\u{1F1F3}\u{1F1FA}","aliases":["niue"]},{"emoji":"\u{1F515}","aliases":["no_bell"]},{"emoji":"\u{1F6B3}","aliases":["no_bicycles"]},{"emoji":"\u26D4","aliases":["no_entry"]},{"emoji":"\u{1F6AB}","aliases":["no_entry_sign"]},{"emoji":"\u{1F645}","aliases":["no_good"]},{"emoji":"\u{1F645}\u200D\u2642\uFE0F","aliases":["no_good_man","ng_man"]},{"emoji":"\u{1F645}\u200D\u2640\uFE0F","aliases":["no_good_woman","ng_woman"]},{"emoji":"\u{1F4F5}","aliases":["no_mobile_phones"]},{"emoji":"\u{1F636}","aliases":["no_mouth"]},{"emoji":"\u{1F6B7}","aliases":["no_pedestrians"]},{"emoji":"\u{1F6AD}","aliases":["no_smoking"]},{"emoji":"\u{1F6B1}","aliases":["non-potable_water"]},{"emoji":"\u{1F1F3}\u{1F1EB}","aliases":["norfolk_island"]},{"emoji":"\u{1F1F0}\u{1F1F5}","aliases":["north_korea"]},{"emoji":"\u{1F1F2}\u{1F1F5}","aliases":["northern_mariana_islands"]},{"emoji":"\u{1F1F3}\u{1F1F4}","aliases":["norway"]},{"emoji":"\u{1F443}","aliases":["nose"]},{"emoji":"\u{1F4D3}","aliases":["notebook"]},{"emoji":"\u{1F4D4}","aliases":["notebook_with_decorative_cover"]},{"emoji":"\u{1F3B6}","aliases":["notes"]},{"emoji":"\u{1F529}","aliases":["nut_and_bolt"]},{"emoji":"\u2B55","aliases":["o"]},{"emoji":"\u{1F17E}\uFE0F","aliases":["o2"]},{"emoji":"\u{1F30A}","aliases":["ocean"]},{"emoji":"\u{1F419}","aliases":["octopus"]},{"emoji":"\u{1F362}","aliases":["oden"]},{"emoji":"\u{1F3E2}","aliases":["office"]},{"emoji":"\u{1F9D1}\u200D\u{1F4BC}","aliases":["office_worker"]},{"emoji":"\u{1F6E2}\uFE0F","aliases":["oil_drum"]},{"emoji":"\u{1F197}","aliases":["ok"]},{"emoji":"\u{1F44C}","aliases":["ok_hand"]},{"emoji":"\u{1F646}\u200D\u2642\uFE0F","aliases":["ok_man"]},{"emoji":"\u{1F646}","aliases":["ok_person"]},{"emoji":"\u{1F646}\u200D\u2640\uFE0F","aliases":["ok_woman"]},{"emoji":"\u{1F5DD}\uFE0F","aliases":["old_key"]},{"emoji":"\u{1F9D3}","aliases":["older_adult"]},{"emoji":"\u{1F474}","aliases":["older_man"]},{"emoji":"\u{1F475}","aliases":["older_woman"]},{"emoji":"\u{1FAD2}","aliases":["olive"]},{"emoji":"\u{1F549}\uFE0F","aliases":["om"]},{"emoji":"\u{1F1F4}\u{1F1F2}","aliases":["oman"]},{"emoji":"\u{1F51B}","aliases":["on"]},{"emoji":"\u{1F698}","aliases":["oncoming_automobile"]},{"emoji":"\u{1F68D}","aliases":["oncoming_bus"]},{"emoji":"\u{1F694}","aliases":["oncoming_police_car"]},{"emoji":"\u{1F696}","aliases":["oncoming_taxi"]},{"emoji":"1\uFE0F\u20E3","aliases":["one"]},{"emoji":"\u{1FA71}","aliases":["one_piece_swimsuit"]},{"emoji":"\u{1F9C5}","aliases":["onion"]},{"emoji":"\u{1F4C2}","aliases":["open_file_folder"]},{"emoji":"\u{1F450}","aliases":["open_hands"]},{"emoji":"\u{1F62E}","aliases":["open_mouth"]},{"emoji":"\u2602\uFE0F","aliases":["open_umbrella"]},{"emoji":"\u26CE","aliases":["ophiuchus"]},{"emoji":"\u{1F4D9}","aliases":["orange_book"]},{"emoji":"\u{1F7E0}","aliases":["orange_circle"]},{"emoji":"\u{1F9E1}","aliases":["orange_heart"]},{"emoji":"\u{1F7E7}","aliases":["orange_square"]},{"emoji":"\u{1F9A7}","aliases":["orangutan"]},{"emoji":"\u2626\uFE0F","aliases":["orthodox_cross"]},{"emoji":"\u{1F9A6}","aliases":["otter"]},{"emoji":"\u{1F4E4}","aliases":["outbox_tray"]},{"emoji":"\u{1F989}","aliases":["owl"]},{"emoji":"\u{1F402}","aliases":["ox"]},{"emoji":"\u{1F9AA}","aliases":["oyster"]},{"emoji":"\u{1F4E6}","aliases":["package"]},{"emoji":"\u{1F4C4}","aliases":["page_facing_up"]},{"emoji":"\u{1F4C3}","aliases":["page_with_curl"]},{"emoji":"\u{1F4DF}","aliases":["pager"]},{"emoji":"\u{1F58C}\uFE0F","aliases":["paintbrush"]},{"emoji":"\u{1F1F5}\u{1F1F0}","aliases":["pakistan"]},{"emoji":"\u{1F1F5}\u{1F1FC}","aliases":["palau"]},{"emoji":"\u{1F1F5}\u{1F1F8}","aliases":["palestinian_territories"]},{"emoji":"\u{1FAF3}","aliases":["palm_down_hand"]},{"emoji":"\u{1F334}","aliases":["palm_tree"]},{"emoji":"\u{1FAF4}","aliases":["palm_up_hand"]},{"emoji":"\u{1F932}","aliases":["palms_up_together"]},{"emoji":"\u{1F1F5}\u{1F1E6}","aliases":["panama"]},{"emoji":"\u{1F95E}","aliases":["pancakes"]},{"emoji":"\u{1F43C}","aliases":["panda_face"]},{"emoji":"\u{1F4CE}","aliases":["paperclip"]},{"emoji":"\u{1F587}\uFE0F","aliases":["paperclips"]},{"emoji":"\u{1F1F5}\u{1F1EC}","aliases":["papua_new_guinea"]},{"emoji":"\u{1FA82}","aliases":["parachute"]},{"emoji":"\u{1F1F5}\u{1F1FE}","aliases":["paraguay"]},{"emoji":"\u26F1\uFE0F","aliases":["parasol_on_ground"]},{"emoji":"\u{1F17F}\uFE0F","aliases":["parking"]},{"emoji":"\u{1F99C}","aliases":["parrot"]},{"emoji":"\u303D\uFE0F","aliases":["part_alternation_mark"]},{"emoji":"\u26C5","aliases":["partly_sunny"]},{"emoji":"\u{1F973}","aliases":["partying_face"]},{"emoji":"\u{1F6F3}\uFE0F","aliases":["passenger_ship"]},{"emoji":"\u{1F6C2}","aliases":["passport_control"]},{"emoji":"\u23F8\uFE0F","aliases":["pause_button"]},{"emoji":"\u{1FADB}","aliases":["pea_pod"]},{"emoji":"\u262E\uFE0F","aliases":["peace_symbol"]},{"emoji":"\u{1F351}","aliases":["peach"]},{"emoji":"\u{1F99A}","aliases":["peacock"]},{"emoji":"\u{1F95C}","aliases":["peanuts"]},{"emoji":"\u{1F350}","aliases":["pear"]},{"emoji":"\u{1F58A}\uFE0F","aliases":["pen"]},{"emoji":"\u270F\uFE0F","aliases":["pencil2"]},{"emoji":"\u{1F427}","aliases":["penguin"]},{"emoji":"\u{1F614}","aliases":["pensive"]},{"emoji":"\u{1F9D1}\u200D\u{1F91D}\u200D\u{1F9D1}","aliases":["people_holding_hands"]},{"emoji":"\u{1FAC2}","aliases":["people_hugging"]},{"emoji":"\u{1F3AD}","aliases":["performing_arts"]},{"emoji":"\u{1F623}","aliases":["persevere"]},{"emoji":"\u{1F9D1}\u200D\u{1F9B2}","aliases":["person_bald"]},{"emoji":"\u{1F9D1}\u200D\u{1F9B1}","aliases":["person_curly_hair"]},{"emoji":"\u{1F9D1}\u200D\u{1F37C}","aliases":["person_feeding_baby"]},{"emoji":"\u{1F93A}","aliases":["person_fencing"]},{"emoji":"\u{1F9D1}\u200D\u{1F9BD}","aliases":["person_in_manual_wheelchair"]},{"emoji":"\u{1F9D1}\u200D\u{1F9BC}","aliases":["person_in_motorized_wheelchair"]},{"emoji":"\u{1F935}","aliases":["person_in_tuxedo"]},{"emoji":"\u{1F9D1}\u200D\u{1F9B0}","aliases":["person_red_hair"]},{"emoji":"\u{1F9D1}\u200D\u{1F9B3}","aliases":["person_white_hair"]},{"emoji":"\u{1FAC5}","aliases":["person_with_crown"]},{"emoji":"\u{1F9D1}\u200D\u{1F9AF}","aliases":["person_with_probing_cane"]},{"emoji":"\u{1F473}","aliases":["person_with_turban"]},{"emoji":"\u{1F470}","aliases":["person_with_veil"]},{"emoji":"\u{1F1F5}\u{1F1EA}","aliases":["peru"]},{"emoji":"\u{1F9EB}","aliases":["petri_dish"]},{"emoji":"\u{1F1F5}\u{1F1ED}","aliases":["philippines"]},{"emoji":"\u260E\uFE0F","aliases":["phone","telephone"]},{"emoji":"\u26CF\uFE0F","aliases":["pick"]},{"emoji":"\u{1F6FB}","aliases":["pickup_truck"]},{"emoji":"\u{1F967}","aliases":["pie"]},{"emoji":"\u{1F437}","aliases":["pig"]},{"emoji":"\u{1F416}","aliases":["pig2"]},{"emoji":"\u{1F43D}","aliases":["pig_nose"]},{"emoji":"\u{1F48A}","aliases":["pill"]},{"emoji":"\u{1F9D1}\u200D\u2708\uFE0F","aliases":["pilot"]},{"emoji":"\u{1FA85}","aliases":["pinata"]},{"emoji":"\u{1F90C}","aliases":["pinched_fingers"]},{"emoji":"\u{1F90F}","aliases":["pinching_hand"]},{"emoji":"\u{1F34D}","aliases":["pineapple"]},{"emoji":"\u{1F3D3}","aliases":["ping_pong"]},{"emoji":"\u{1FA77}","aliases":["pink_heart"]},{"emoji":"\u{1F3F4}\u200D\u2620\uFE0F","aliases":["pirate_flag"]},{"emoji":"\u2653","aliases":["pisces"]},{"emoji":"\u{1F1F5}\u{1F1F3}","aliases":["pitcairn_islands"]},{"emoji":"\u{1F355}","aliases":["pizza"]},{"emoji":"\u{1FAA7}","aliases":["placard"]},{"emoji":"\u{1F6D0}","aliases":["place_of_worship"]},{"emoji":"\u{1F37D}\uFE0F","aliases":["plate_with_cutlery"]},{"emoji":"\u23EF\uFE0F","aliases":["play_or_pause_button"]},{"emoji":"\u{1F6DD}","aliases":["playground_slide"]},{"emoji":"\u{1F97A}","aliases":["pleading_face"]},{"emoji":"\u{1FAA0}","aliases":["plunger"]},{"emoji":"\u{1F447}","aliases":["point_down"]},{"emoji":"\u{1F448}","aliases":["point_left"]},{"emoji":"\u{1F449}","aliases":["point_right"]},{"emoji":"\u261D\uFE0F","aliases":["point_up"]},{"emoji":"\u{1F446}","aliases":["point_up_2"]},{"emoji":"\u{1F1F5}\u{1F1F1}","aliases":["poland"]},{"emoji":"\u{1F43B}\u200D\u2744\uFE0F","aliases":["polar_bear"]},{"emoji":"\u{1F693}","aliases":["police_car"]},{"emoji":"\u{1F46E}","aliases":["police_officer","cop"]},{"emoji":"\u{1F46E}\u200D\u2642\uFE0F","aliases":["policeman"]},{"emoji":"\u{1F46E}\u200D\u2640\uFE0F","aliases":["policewoman"]},{"emoji":"\u{1F429}","aliases":["poodle"]},{"emoji":"\u{1F37F}","aliases":["popcorn"]},{"emoji":"\u{1F1F5}\u{1F1F9}","aliases":["portugal"]},{"emoji":"\u{1F3E3}","aliases":["post_office"]},{"emoji":"\u{1F4EF}","aliases":["postal_horn"]},{"emoji":"\u{1F4EE}","aliases":["postbox"]},{"emoji":"\u{1F6B0}","aliases":["potable_water"]},{"emoji":"\u{1F954}","aliases":["potato"]},{"emoji":"\u{1FAB4}","aliases":["potted_plant"]},{"emoji":"\u{1F45D}","aliases":["pouch"]},{"emoji":"\u{1F357}","aliases":["poultry_leg"]},{"emoji":"\u{1F4B7}","aliases":["pound"]},{"emoji":"\u{1FAD7}","aliases":["pouring_liquid"]},{"emoji":"\u{1F63E}","aliases":["pouting_cat"]},{"emoji":"\u{1F64E}","aliases":["pouting_face"]},{"emoji":"\u{1F64E}\u200D\u2642\uFE0F","aliases":["pouting_man"]},{"emoji":"\u{1F64E}\u200D\u2640\uFE0F","aliases":["pouting_woman"]},{"emoji":"\u{1F64F}","aliases":["pray"]},{"emoji":"\u{1F4FF}","aliases":["prayer_beads"]},{"emoji":"\u{1FAC3}","aliases":["pregnant_man"]},{"emoji":"\u{1FAC4}","aliases":["pregnant_person"]},{"emoji":"\u{1F930}","aliases":["pregnant_woman"]},{"emoji":"\u{1F968}","aliases":["pretzel"]},{"emoji":"\u23EE\uFE0F","aliases":["previous_track_button"]},{"emoji":"\u{1F934}","aliases":["prince"]},{"emoji":"\u{1F478}","aliases":["princess"]},{"emoji":"\u{1F5A8}\uFE0F","aliases":["printer"]},{"emoji":"\u{1F9AF}","aliases":["probing_cane"]},{"emoji":"\u{1F1F5}\u{1F1F7}","aliases":["puerto_rico"]},{"emoji":"\u{1F7E3}","aliases":["purple_circle"]},{"emoji":"\u{1F49C}","aliases":["purple_heart"]},{"emoji":"\u{1F7EA}","aliases":["purple_square"]},{"emoji":"\u{1F45B}","aliases":["purse"]},{"emoji":"\u{1F4CC}","aliases":["pushpin"]},{"emoji":"\u{1F6AE}","aliases":["put_litter_in_its_place"]},{"emoji":"\u{1F1F6}\u{1F1E6}","aliases":["qatar"]},{"emoji":"\u2753","aliases":["question"]},{"emoji":"\u{1F430}","aliases":["rabbit"]},{"emoji":"\u{1F407}","aliases":["rabbit2"]},{"emoji":"\u{1F99D}","aliases":["raccoon"]},{"emoji":"\u{1F40E}","aliases":["racehorse"]},{"emoji":"\u{1F3CE}\uFE0F","aliases":["racing_car"]},{"emoji":"\u{1F4FB}","aliases":["radio"]},{"emoji":"\u{1F518}","aliases":["radio_button"]},{"emoji":"\u2622\uFE0F","aliases":["radioactive"]},{"emoji":"\u{1F621}","aliases":["rage","pout"]},{"emoji":"\u{1F683}","aliases":["railway_car"]},{"emoji":"\u{1F6E4}\uFE0F","aliases":["railway_track"]},{"emoji":"\u{1F308}","aliases":["rainbow"]},{"emoji":"\u{1F3F3}\uFE0F\u200D\u{1F308}","aliases":["rainbow_flag"]},{"emoji":"\u{1F91A}","aliases":["raised_back_of_hand"]},{"emoji":"\u{1F928}","aliases":["raised_eyebrow"]},{"emoji":"\u{1F590}\uFE0F","aliases":["raised_hand_with_fingers_splayed"]},{"emoji":"\u{1F64C}","aliases":["raised_hands"]},{"emoji":"\u{1F64B}","aliases":["raising_hand"]},{"emoji":"\u{1F64B}\u200D\u2642\uFE0F","aliases":["raising_hand_man"]},{"emoji":"\u{1F64B}\u200D\u2640\uFE0F","aliases":["raising_hand_woman"]},{"emoji":"\u{1F40F}","aliases":["ram"]},{"emoji":"\u{1F35C}","aliases":["ramen"]},{"emoji":"\u{1F400}","aliases":["rat"]},{"emoji":"\u{1FA92}","aliases":["razor"]},{"emoji":"\u{1F9FE}","aliases":["receipt"]},{"emoji":"\u23FA\uFE0F","aliases":["record_button"]},{"emoji":"\u267B\uFE0F","aliases":["recycle"]},{"emoji":"\u{1F534}","aliases":["red_circle"]},{"emoji":"\u{1F9E7}","aliases":["red_envelope"]},{"emoji":"\u{1F468}\u200D\u{1F9B0}","aliases":["red_haired_man"]},{"emoji":"\u{1F469}\u200D\u{1F9B0}","aliases":["red_haired_woman"]},{"emoji":"\u{1F7E5}","aliases":["red_square"]},{"emoji":"\xAE\uFE0F","aliases":["registered"]},{"emoji":"\u263A\uFE0F","aliases":["relaxed"]},{"emoji":"\u{1F60C}","aliases":["relieved"]},{"emoji":"\u{1F397}\uFE0F","aliases":["reminder_ribbon"]},{"emoji":"\u{1F501}","aliases":["repeat"]},{"emoji":"\u{1F502}","aliases":["repeat_one"]},{"emoji":"\u26D1\uFE0F","aliases":["rescue_worker_helmet"]},{"emoji":"\u{1F6BB}","aliases":["restroom"]},{"emoji":"\u{1F1F7}\u{1F1EA}","aliases":["reunion"]},{"emoji":"\u{1F49E}","aliases":["revolving_hearts"]},{"emoji":"\u23EA","aliases":["rewind"]},{"emoji":"\u{1F98F}","aliases":["rhinoceros"]},{"emoji":"\u{1F380}","aliases":["ribbon"]},{"emoji":"\u{1F35A}","aliases":["rice"]},{"emoji":"\u{1F359}","aliases":["rice_ball"]},{"emoji":"\u{1F358}","aliases":["rice_cracker"]},{"emoji":"\u{1F391}","aliases":["rice_scene"]},{"emoji":"\u{1F5EF}\uFE0F","aliases":["right_anger_bubble"]},{"emoji":"\u{1FAF1}","aliases":["rightwards_hand"]},{"emoji":"\u{1FAF8}","aliases":["rightwards_pushing_hand"]},{"emoji":"\u{1F48D}","aliases":["ring"]},{"emoji":"\u{1F6DF}","aliases":["ring_buoy"]},{"emoji":"\u{1FA90}","aliases":["ringed_planet"]},{"emoji":"\u{1F916}","aliases":["robot"]},{"emoji":"\u{1FAA8}","aliases":["rock"]},{"emoji":"\u{1F680}","aliases":["rocket"]},{"emoji":"\u{1F923}","aliases":["rofl"]},{"emoji":"\u{1F644}","aliases":["roll_eyes"]},{"emoji":"\u{1F9FB}","aliases":["roll_of_paper"]},{"emoji":"\u{1F3A2}","aliases":["roller_coaster"]},{"emoji":"\u{1F6FC}","aliases":["roller_skate"]},{"emoji":"\u{1F1F7}\u{1F1F4}","aliases":["romania"]},{"emoji":"\u{1F413}","aliases":["rooster"]},{"emoji":"\u{1F339}","aliases":["rose"]},{"emoji":"\u{1F3F5}\uFE0F","aliases":["rosette"]},{"emoji":"\u{1F6A8}","aliases":["rotating_light"]},{"emoji":"\u{1F4CD}","aliases":["round_pushpin"]},{"emoji":"\u{1F6A3}","aliases":["rowboat"]},{"emoji":"\u{1F6A3}\u200D\u2642\uFE0F","aliases":["rowing_man"]},{"emoji":"\u{1F6A3}\u200D\u2640\uFE0F","aliases":["rowing_woman"]},{"emoji":"\u{1F1F7}\u{1F1FA}","aliases":["ru"]},{"emoji":"\u{1F3C9}","aliases":["rugby_football"]},{"emoji":"\u{1F3C3}","aliases":["runner","running"]},{"emoji":"\u{1F3C3}\u200D\u2642\uFE0F","aliases":["running_man"]},{"emoji":"\u{1F3BD}","aliases":["running_shirt_with_sash"]},{"emoji":"\u{1F3C3}\u200D\u2640\uFE0F","aliases":["running_woman"]},{"emoji":"\u{1F1F7}\u{1F1FC}","aliases":["rwanda"]},{"emoji":"\u{1F202}\uFE0F","aliases":["sa"]},{"emoji":"\u{1F9F7}","aliases":["safety_pin"]},{"emoji":"\u{1F9BA}","aliases":["safety_vest"]},{"emoji":"\u2650","aliases":["sagittarius"]},{"emoji":"\u{1F376}","aliases":["sake"]},{"emoji":"\u{1F9C2}","aliases":["salt"]},{"emoji":"\u{1FAE1}","aliases":["saluting_face"]},{"emoji":"\u{1F1FC}\u{1F1F8}","aliases":["samoa"]},{"emoji":"\u{1F1F8}\u{1F1F2}","aliases":["san_marino"]},{"emoji":"\u{1F461}","aliases":["sandal"]},{"emoji":"\u{1F96A}","aliases":["sandwich"]},{"emoji":"\u{1F385}","aliases":["santa"]},{"emoji":"\u{1F1F8}\u{1F1F9}","aliases":["sao_tome_principe"]},{"emoji":"\u{1F97B}","aliases":["sari"]},{"emoji":"\u{1F4E1}","aliases":["satellite"]},{"emoji":"\u{1F1F8}\u{1F1E6}","aliases":["saudi_arabia"]},{"emoji":"\u{1F9D6}\u200D\u2642\uFE0F","aliases":["sauna_man"]},{"emoji":"\u{1F9D6}","aliases":["sauna_person"]},{"emoji":"\u{1F9D6}\u200D\u2640\uFE0F","aliases":["sauna_woman"]},{"emoji":"\u{1F995}","aliases":["sauropod"]},{"emoji":"\u{1F3B7}","aliases":["saxophone"]},{"emoji":"\u{1F9E3}","aliases":["scarf"]},{"emoji":"\u{1F3EB}","aliases":["school"]},{"emoji":"\u{1F392}","aliases":["school_satchel"]},{"emoji":"\u{1F9D1}\u200D\u{1F52C}","aliases":["scientist"]},{"emoji":"\u2702\uFE0F","aliases":["scissors"]},{"emoji":"\u{1F982}","aliases":["scorpion"]},{"emoji":"\u264F","aliases":["scorpius"]},{"emoji":"\u{1F3F4}\u{E0067}\u{E0062}\u{E0073}\u{E0063}\u{E0074}\u{E007F}","aliases":["scotland"]},{"emoji":"\u{1F631}","aliases":["scream"]},{"emoji":"\u{1F640}","aliases":["scream_cat"]},{"emoji":"\u{1FA9B}","aliases":["screwdriver"]},{"emoji":"\u{1F4DC}","aliases":["scroll"]},{"emoji":"\u{1F9AD}","aliases":["seal"]},{"emoji":"\u{1F4BA}","aliases":["seat"]},{"emoji":"\u3299\uFE0F","aliases":["secret"]},{"emoji":"\u{1F648}","aliases":["see_no_evil"]},{"emoji":"\u{1F331}","aliases":["seedling"]},{"emoji":"\u{1F933}","aliases":["selfie"]},{"emoji":"\u{1F1F8}\u{1F1F3}","aliases":["senegal"]},{"emoji":"\u{1F1F7}\u{1F1F8}","aliases":["serbia"]},{"emoji":"\u{1F415}\u200D\u{1F9BA}","aliases":["service_dog"]},{"emoji":"7\uFE0F\u20E3","aliases":["seven"]},{"emoji":"\u{1FAA1}","aliases":["sewing_needle"]},{"emoji":"\u{1F1F8}\u{1F1E8}","aliases":["seychelles"]},{"emoji":"\u{1FAE8}","aliases":["shaking_face"]},{"emoji":"\u{1F958}","aliases":["shallow_pan_of_food"]},{"emoji":"\u2618\uFE0F","aliases":["shamrock"]},{"emoji":"\u{1F988}","aliases":["shark"]},{"emoji":"\u{1F367}","aliases":["shaved_ice"]},{"emoji":"\u{1F411}","aliases":["sheep"]},{"emoji":"\u{1F41A}","aliases":["shell"]},{"emoji":"\u{1F6E1}\uFE0F","aliases":["shield"]},{"emoji":"\u26E9\uFE0F","aliases":["shinto_shrine"]},{"emoji":"\u{1F6A2}","aliases":["ship"]},{"emoji":"\u{1F455}","aliases":["shirt","tshirt"]},{"emoji":"\u{1F6CD}\uFE0F","aliases":["shopping"]},{"emoji":"\u{1F6D2}","aliases":["shopping_cart"]},{"emoji":"\u{1FA73}","aliases":["shorts"]},{"emoji":"\u{1F6BF}","aliases":["shower"]},{"emoji":"\u{1F990}","aliases":["shrimp"]},{"emoji":"\u{1F937}","aliases":["shrug"]},{"emoji":"\u{1F92B}","aliases":["shushing_face"]},{"emoji":"\u{1F1F8}\u{1F1F1}","aliases":["sierra_leone"]},{"emoji":"\u{1F4F6}","aliases":["signal_strength"]},{"emoji":"\u{1F1F8}\u{1F1EC}","aliases":["singapore"]},{"emoji":"\u{1F9D1}\u200D\u{1F3A4}","aliases":["singer"]},{"emoji":"\u{1F1F8}\u{1F1FD}","aliases":["sint_maarten"]},{"emoji":"6\uFE0F\u20E3","aliases":["six"]},{"emoji":"\u{1F52F}","aliases":["six_pointed_star"]},{"emoji":"\u{1F6F9}","aliases":["skateboard"]},{"emoji":"\u{1F3BF}","aliases":["ski"]},{"emoji":"\u26F7\uFE0F","aliases":["skier"]},{"emoji":"\u{1F480}","aliases":["skull"]},{"emoji":"\u2620\uFE0F","aliases":["skull_and_crossbones"]},{"emoji":"\u{1F9A8}","aliases":["skunk"]},{"emoji":"\u{1F6F7}","aliases":["sled"]},{"emoji":"\u{1F634}","aliases":["sleeping"]},{"emoji":"\u{1F6CC}","aliases":["sleeping_bed"]},{"emoji":"\u{1F62A}","aliases":["sleepy"]},{"emoji":"\u{1F641}","aliases":["slightly_frowning_face"]},{"emoji":"\u{1F642}","aliases":["slightly_smiling_face"]},{"emoji":"\u{1F3B0}","aliases":["slot_machine"]},{"emoji":"\u{1F9A5}","aliases":["sloth"]},{"emoji":"\u{1F1F8}\u{1F1F0}","aliases":["slovakia"]},{"emoji":"\u{1F1F8}\u{1F1EE}","aliases":["slovenia"]},{"emoji":"\u{1F6E9}\uFE0F","aliases":["small_airplane"]},{"emoji":"\u{1F539}","aliases":["small_blue_diamond"]},{"emoji":"\u{1F538}","aliases":["small_orange_diamond"]},{"emoji":"\u{1F53A}","aliases":["small_red_triangle"]},{"emoji":"\u{1F53B}","aliases":["small_red_triangle_down"]},{"emoji":"\u{1F604}","aliases":["smile"]},{"emoji":"\u{1F638}","aliases":["smile_cat"]},{"emoji":"\u{1F603}","aliases":["smiley"]},{"emoji":"\u{1F63A}","aliases":["smiley_cat"]},{"emoji":"\u{1F972}","aliases":["smiling_face_with_tear"]},{"emoji":"\u{1F970}","aliases":["smiling_face_with_three_hearts"]},{"emoji":"\u{1F608}","aliases":["smiling_imp"]},{"emoji":"\u{1F60F}","aliases":["smirk"]},{"emoji":"\u{1F63C}","aliases":["smirk_cat"]},{"emoji":"\u{1F6AC}","aliases":["smoking"]},{"emoji":"\u{1F40C}","aliases":["snail"]},{"emoji":"\u{1F40D}","aliases":["snake"]},{"emoji":"\u{1F927}","aliases":["sneezing_face"]},{"emoji":"\u{1F3C2}","aliases":["snowboarder"]},{"emoji":"\u2744\uFE0F","aliases":["snowflake"]},{"emoji":"\u26C4","aliases":["snowman"]},{"emoji":"\u2603\uFE0F","aliases":["snowman_with_snow"]},{"emoji":"\u{1F9FC}","aliases":["soap"]},{"emoji":"\u{1F62D}","aliases":["sob"]},{"emoji":"\u26BD","aliases":["soccer"]},{"emoji":"\u{1F9E6}","aliases":["socks"]},{"emoji":"\u{1F94E}","aliases":["softball"]},{"emoji":"\u{1F1F8}\u{1F1E7}","aliases":["solomon_islands"]},{"emoji":"\u{1F1F8}\u{1F1F4}","aliases":["somalia"]},{"emoji":"\u{1F51C}","aliases":["soon"]},{"emoji":"\u{1F198}","aliases":["sos"]},{"emoji":"\u{1F509}","aliases":["sound"]},{"emoji":"\u{1F1FF}\u{1F1E6}","aliases":["south_africa"]},{"emoji":"\u{1F1EC}\u{1F1F8}","aliases":["south_georgia_south_sandwich_islands"]},{"emoji":"\u{1F1F8}\u{1F1F8}","aliases":["south_sudan"]},{"emoji":"\u{1F47E}","aliases":["space_invader"]},{"emoji":"\u2660\uFE0F","aliases":["spades"]},{"emoji":"\u{1F35D}","aliases":["spaghetti"]},{"emoji":"\u2747\uFE0F","aliases":["sparkle"]},{"emoji":"\u{1F387}","aliases":["sparkler"]},{"emoji":"\u2728","aliases":["sparkles"]},{"emoji":"\u{1F496}","aliases":["sparkling_heart"]},{"emoji":"\u{1F64A}","aliases":["speak_no_evil"]},{"emoji":"\u{1F508}","aliases":["speaker"]},{"emoji":"\u{1F5E3}\uFE0F","aliases":["speaking_head"]},{"emoji":"\u{1F4AC}","aliases":["speech_balloon"]},{"emoji":"\u{1F6A4}","aliases":["speedboat"]},{"emoji":"\u{1F577}\uFE0F","aliases":["spider"]},{"emoji":"\u{1F578}\uFE0F","aliases":["spider_web"]},{"emoji":"\u{1F5D3}\uFE0F","aliases":["spiral_calendar"]},{"emoji":"\u{1F5D2}\uFE0F","aliases":["spiral_notepad"]},{"emoji":"\u{1F9FD}","aliases":["sponge"]},{"emoji":"\u{1F944}","aliases":["spoon"]},{"emoji":"\u{1F991}","aliases":["squid"]},{"emoji":"\u{1F1F1}\u{1F1F0}","aliases":["sri_lanka"]},{"emoji":"\u{1F1E7}\u{1F1F1}","aliases":["st_barthelemy"]},{"emoji":"\u{1F1F8}\u{1F1ED}","aliases":["st_helena"]},{"emoji":"\u{1F1F0}\u{1F1F3}","aliases":["st_kitts_nevis"]},{"emoji":"\u{1F1F1}\u{1F1E8}","aliases":["st_lucia"]},{"emoji":"\u{1F1F2}\u{1F1EB}","aliases":["st_martin"]},{"emoji":"\u{1F1F5}\u{1F1F2}","aliases":["st_pierre_miquelon"]},{"emoji":"\u{1F1FB}\u{1F1E8}","aliases":["st_vincent_grenadines"]},{"emoji":"\u{1F3DF}\uFE0F","aliases":["stadium"]},{"emoji":"\u{1F9CD}\u200D\u2642\uFE0F","aliases":["standing_man"]},{"emoji":"\u{1F9CD}","aliases":["standing_person"]},{"emoji":"\u{1F9CD}\u200D\u2640\uFE0F","aliases":["standing_woman"]},{"emoji":"\u2B50","aliases":["star"]},{"emoji":"\u{1F31F}","aliases":["star2"]},{"emoji":"\u262A\uFE0F","aliases":["star_and_crescent"]},{"emoji":"\u2721\uFE0F","aliases":["star_of_david"]},{"emoji":"\u{1F929}","aliases":["star_struck"]},{"emoji":"\u{1F320}","aliases":["stars"]},{"emoji":"\u{1F689}","aliases":["station"]},{"emoji":"\u{1F5FD}","aliases":["statue_of_liberty"]},{"emoji":"\u{1F682}","aliases":["steam_locomotive"]},{"emoji":"\u{1FA7A}","aliases":["stethoscope"]},{"emoji":"\u{1F372}","aliases":["stew"]},{"emoji":"\u23F9\uFE0F","aliases":["stop_button"]},{"emoji":"\u{1F6D1}","aliases":["stop_sign"]},{"emoji":"\u23F1\uFE0F","aliases":["stopwatch"]},{"emoji":"\u{1F4CF}","aliases":["straight_ruler"]},{"emoji":"\u{1F353}","aliases":["strawberry"]},{"emoji":"\u{1F61B}","aliases":["stuck_out_tongue"]},{"emoji":"\u{1F61D}","aliases":["stuck_out_tongue_closed_eyes"]},{"emoji":"\u{1F61C}","aliases":["stuck_out_tongue_winking_eye"]},{"emoji":"\u{1F9D1}\u200D\u{1F393}","aliases":["student"]},{"emoji":"\u{1F399}\uFE0F","aliases":["studio_microphone"]},{"emoji":"\u{1F959}","aliases":["stuffed_flatbread"]},{"emoji":"\u{1F1F8}\u{1F1E9}","aliases":["sudan"]},{"emoji":"\u{1F325}\uFE0F","aliases":["sun_behind_large_cloud"]},{"emoji":"\u{1F326}\uFE0F","aliases":["sun_behind_rain_cloud"]},{"emoji":"\u{1F324}\uFE0F","aliases":["sun_behind_small_cloud"]},{"emoji":"\u{1F31E}","aliases":["sun_with_face"]},{"emoji":"\u{1F33B}","aliases":["sunflower"]},{"emoji":"\u{1F60E}","aliases":["sunglasses"]},{"emoji":"\u2600\uFE0F","aliases":["sunny"]},{"emoji":"\u{1F305}","aliases":["sunrise"]},{"emoji":"\u{1F304}","aliases":["sunrise_over_mountains"]},{"emoji":"\u{1F9B8}","aliases":["superhero"]},{"emoji":"\u{1F9B8}\u200D\u2642\uFE0F","aliases":["superhero_man"]},{"emoji":"\u{1F9B8}\u200D\u2640\uFE0F","aliases":["superhero_woman"]},{"emoji":"\u{1F9B9}","aliases":["supervillain"]},{"emoji":"\u{1F9B9}\u200D\u2642\uFE0F","aliases":["supervillain_man"]},{"emoji":"\u{1F9B9}\u200D\u2640\uFE0F","aliases":["supervillain_woman"]},{"emoji":"\u{1F3C4}","aliases":["surfer"]},{"emoji":"\u{1F3C4}\u200D\u2642\uFE0F","aliases":["surfing_man"]},{"emoji":"\u{1F3C4}\u200D\u2640\uFE0F","aliases":["surfing_woman"]},{"emoji":"\u{1F1F8}\u{1F1F7}","aliases":["suriname"]},{"emoji":"\u{1F363}","aliases":["sushi"]},{"emoji":"\u{1F69F}","aliases":["suspension_railway"]},{"emoji":"\u{1F1F8}\u{1F1EF}","aliases":["svalbard_jan_mayen"]},{"emoji":"\u{1F9A2}","aliases":["swan"]},{"emoji":"\u{1F1F8}\u{1F1FF}","aliases":["swaziland"]},{"emoji":"\u{1F613}","aliases":["sweat"]},{"emoji":"\u{1F4A6}","aliases":["sweat_drops"]},{"emoji":"\u{1F605}","aliases":["sweat_smile"]},{"emoji":"\u{1F1F8}\u{1F1EA}","aliases":["sweden"]},{"emoji":"\u{1F360}","aliases":["sweet_potato"]},{"emoji":"\u{1FA72}","aliases":["swim_brief"]},{"emoji":"\u{1F3CA}","aliases":["swimmer"]},{"emoji":"\u{1F3CA}\u200D\u2642\uFE0F","aliases":["swimming_man"]},{"emoji":"\u{1F3CA}\u200D\u2640\uFE0F","aliases":["swimming_woman"]},{"emoji":"\u{1F1E8}\u{1F1ED}","aliases":["switzerland"]},{"emoji":"\u{1F523}","aliases":["symbols"]},{"emoji":"\u{1F54D}","aliases":["synagogue"]},{"emoji":"\u{1F1F8}\u{1F1FE}","aliases":["syria"]},{"emoji":"\u{1F489}","aliases":["syringe"]},{"emoji":"\u{1F996}","aliases":["t-rex"]},{"emoji":"\u{1F32E}","aliases":["taco"]},{"emoji":"\u{1F389}","aliases":["tada","hooray"]},{"emoji":"\u{1F1F9}\u{1F1FC}","aliases":["taiwan"]},{"emoji":"\u{1F1F9}\u{1F1EF}","aliases":["tajikistan"]},{"emoji":"\u{1F961}","aliases":["takeout_box"]},{"emoji":"\u{1FAD4}","aliases":["tamale"]},{"emoji":"\u{1F38B}","aliases":["tanabata_tree"]},{"emoji":"\u{1F34A}","aliases":["tangerine","orange","mandarin"]},{"emoji":"\u{1F1F9}\u{1F1FF}","aliases":["tanzania"]},{"emoji":"\u2649","aliases":["taurus"]},{"emoji":"\u{1F695}","aliases":["taxi"]},{"emoji":"\u{1F375}","aliases":["tea"]},{"emoji":"\u{1F9D1}\u200D\u{1F3EB}","aliases":["teacher"]},{"emoji":"\u{1FAD6}","aliases":["teapot"]},{"emoji":"\u{1F9D1}\u200D\u{1F4BB}","aliases":["technologist"]},{"emoji":"\u{1F9F8}","aliases":["teddy_bear"]},{"emoji":"\u{1F4DE}","aliases":["telephone_receiver"]},{"emoji":"\u{1F52D}","aliases":["telescope"]},{"emoji":"\u{1F3BE}","aliases":["tennis"]},{"emoji":"\u26FA","aliases":["tent"]},{"emoji":"\u{1F9EA}","aliases":["test_tube"]},{"emoji":"\u{1F1F9}\u{1F1ED}","aliases":["thailand"]},{"emoji":"\u{1F321}\uFE0F","aliases":["thermometer"]},{"emoji":"\u{1F914}","aliases":["thinking"]},{"emoji":"\u{1FA74}","aliases":["thong_sandal"]},{"emoji":"\u{1F4AD}","aliases":["thought_balloon"]},{"emoji":"\u{1F9F5}","aliases":["thread"]},{"emoji":"3\uFE0F\u20E3","aliases":["three"]},{"emoji":"\u{1F3AB}","aliases":["ticket"]},{"emoji":"\u{1F39F}\uFE0F","aliases":["tickets"]},{"emoji":"\u{1F42F}","aliases":["tiger"]},{"emoji":"\u{1F405}","aliases":["tiger2"]},{"emoji":"\u23F2\uFE0F","aliases":["timer_clock"]},{"emoji":"\u{1F1F9}\u{1F1F1}","aliases":["timor_leste"]},{"emoji":"\u{1F481}\u200D\u2642\uFE0F","aliases":["tipping_hand_man","sassy_man"]},{"emoji":"\u{1F481}","aliases":["tipping_hand_person","information_desk_person"]},{"emoji":"\u{1F481}\u200D\u2640\uFE0F","aliases":["tipping_hand_woman","sassy_woman"]},{"emoji":"\u{1F62B}","aliases":["tired_face"]},{"emoji":"\u2122\uFE0F","aliases":["tm"]},{"emoji":"\u{1F1F9}\u{1F1EC}","aliases":["togo"]},{"emoji":"\u{1F6BD}","aliases":["toilet"]},{"emoji":"\u{1F1F9}\u{1F1F0}","aliases":["tokelau"]},{"emoji":"\u{1F5FC}","aliases":["tokyo_tower"]},{"emoji":"\u{1F345}","aliases":["tomato"]},{"emoji":"\u{1F1F9}\u{1F1F4}","aliases":["tonga"]},{"emoji":"\u{1F445}","aliases":["tongue"]},{"emoji":"\u{1F9F0}","aliases":["toolbox"]},{"emoji":"\u{1F9B7}","aliases":["tooth"]},{"emoji":"\u{1FAA5}","aliases":["toothbrush"]},{"emoji":"\u{1F51D}","aliases":["top"]},{"emoji":"\u{1F3A9}","aliases":["tophat"]},{"emoji":"\u{1F32A}\uFE0F","aliases":["tornado"]},{"emoji":"\u{1F1F9}\u{1F1F7}","aliases":["tr"]},{"emoji":"\u{1F5B2}\uFE0F","aliases":["trackball"]},{"emoji":"\u{1F69C}","aliases":["tractor"]},{"emoji":"\u{1F6A5}","aliases":["traffic_light"]},{"emoji":"\u{1F68B}","aliases":["train"]},{"emoji":"\u{1F686}","aliases":["train2"]},{"emoji":"\u{1F68A}","aliases":["tram"]},{"emoji":"\u{1F3F3}\uFE0F\u200D\u26A7\uFE0F","aliases":["transgender_flag"]},{"emoji":"\u26A7\uFE0F","aliases":["transgender_symbol"]},{"emoji":"\u{1F6A9}","aliases":["triangular_flag_on_post"]},{"emoji":"\u{1F4D0}","aliases":["triangular_ruler"]},{"emoji":"\u{1F531}","aliases":["trident"]},{"emoji":"\u{1F1F9}\u{1F1F9}","aliases":["trinidad_tobago"]},{"emoji":"\u{1F1F9}\u{1F1E6}","aliases":["tristan_da_cunha"]},{"emoji":"\u{1F624}","aliases":["triumph"]},{"emoji":"\u{1F9CC}","aliases":["troll"]},{"emoji":"\u{1F68E}","aliases":["trolleybus"]},{"emoji":"\u{1F3C6}","aliases":["trophy"]},{"emoji":"\u{1F379}","aliases":["tropical_drink"]},{"emoji":"\u{1F420}","aliases":["tropical_fish"]},{"emoji":"\u{1F69A}","aliases":["truck"]},{"emoji":"\u{1F3BA}","aliases":["trumpet"]},{"emoji":"\u{1F337}","aliases":["tulip"]},{"emoji":"\u{1F943}","aliases":["tumbler_glass"]},{"emoji":"\u{1F1F9}\u{1F1F3}","aliases":["tunisia"]},{"emoji":"\u{1F983}","aliases":["turkey"]},{"emoji":"\u{1F1F9}\u{1F1F2}","aliases":["turkmenistan"]},{"emoji":"\u{1F1F9}\u{1F1E8}","aliases":["turks_caicos_islands"]},{"emoji":"\u{1F422}","aliases":["turtle"]},{"emoji":"\u{1F1F9}\u{1F1FB}","aliases":["tuvalu"]},{"emoji":"\u{1F4FA}","aliases":["tv"]},{"emoji":"\u{1F500}","aliases":["twisted_rightwards_arrows"]},{"emoji":"2\uFE0F\u20E3","aliases":["two"]},{"emoji":"\u{1F495}","aliases":["two_hearts"]},{"emoji":"\u{1F46C}","aliases":["two_men_holding_hands"]},{"emoji":"\u{1F46D}","aliases":["two_women_holding_hands"]},{"emoji":"\u{1F239}","aliases":["u5272"]},{"emoji":"\u{1F234}","aliases":["u5408"]},{"emoji":"\u{1F23A}","aliases":["u55b6"]},{"emoji":"\u{1F22F}","aliases":["u6307"]},{"emoji":"\u{1F237}\uFE0F","aliases":["u6708"]},{"emoji":"\u{1F236}","aliases":["u6709"]},{"emoji":"\u{1F235}","aliases":["u6e80"]},{"emoji":"\u{1F21A}","aliases":["u7121"]},{"emoji":"\u{1F238}","aliases":["u7533"]},{"emoji":"\u{1F232}","aliases":["u7981"]},{"emoji":"\u{1F233}","aliases":["u7a7a"]},{"emoji":"\u{1F1FA}\u{1F1EC}","aliases":["uganda"]},{"emoji":"\u{1F1FA}\u{1F1E6}","aliases":["ukraine"]},{"emoji":"\u2614","aliases":["umbrella"]},{"emoji":"\u{1F612}","aliases":["unamused"]},{"emoji":"\u{1F51E}","aliases":["underage"]},{"emoji":"\u{1F984}","aliases":["unicorn"]},{"emoji":"\u{1F1E6}\u{1F1EA}","aliases":["united_arab_emirates"]},{"emoji":"\u{1F1FA}\u{1F1F3}","aliases":["united_nations"]},{"emoji":"\u{1F513}","aliases":["unlock"]},{"emoji":"\u{1F199}","aliases":["up"]},{"emoji":"\u{1F643}","aliases":["upside_down_face"]},{"emoji":"\u{1F1FA}\u{1F1FE}","aliases":["uruguay"]},{"emoji":"\u{1F1FA}\u{1F1F8}","aliases":["us"]},{"emoji":"\u{1F1FA}\u{1F1F2}","aliases":["us_outlying_islands"]},{"emoji":"\u{1F1FB}\u{1F1EE}","aliases":["us_virgin_islands"]},{"emoji":"\u{1F1FA}\u{1F1FF}","aliases":["uzbekistan"]},{"emoji":"\u270C\uFE0F","aliases":["v"]},{"emoji":"\u{1F9DB}","aliases":["vampire"]},{"emoji":"\u{1F9DB}\u200D\u2642\uFE0F","aliases":["vampire_man"]},{"emoji":"\u{1F9DB}\u200D\u2640\uFE0F","aliases":["vampire_woman"]},{"emoji":"\u{1F1FB}\u{1F1FA}","aliases":["vanuatu"]},{"emoji":"\u{1F1FB}\u{1F1E6}","aliases":["vatican_city"]},{"emoji":"\u{1F1FB}\u{1F1EA}","aliases":["venezuela"]},{"emoji":"\u{1F6A6}","aliases":["vertical_traffic_light"]},{"emoji":"\u{1F4FC}","aliases":["vhs"]},{"emoji":"\u{1F4F3}","aliases":["vibration_mode"]},{"emoji":"\u{1F4F9}","aliases":["video_camera"]},{"emoji":"\u{1F3AE}","aliases":["video_game"]},{"emoji":"\u{1F1FB}\u{1F1F3}","aliases":["vietnam"]},{"emoji":"\u{1F3BB}","aliases":["violin"]},{"emoji":"\u264D","aliases":["virgo"]},{"emoji":"\u{1F30B}","aliases":["volcano"]},{"emoji":"\u{1F3D0}","aliases":["volleyball"]},{"emoji":"\u{1F92E}","aliases":["vomiting_face"]},{"emoji":"\u{1F19A}","aliases":["vs"]},{"emoji":"\u{1F596}","aliases":["vulcan_salute"]},{"emoji":"\u{1F9C7}","aliases":["waffle"]},{"emoji":"\u{1F3F4}\u{E0067}\u{E0062}\u{E0077}\u{E006C}\u{E0073}\u{E007F}","aliases":["wales"]},{"emoji":"\u{1F6B6}","aliases":["walking"]},{"emoji":"\u{1F6B6}\u200D\u2642\uFE0F","aliases":["walking_man"]},{"emoji":"\u{1F6B6}\u200D\u2640\uFE0F","aliases":["walking_woman"]},{"emoji":"\u{1F1FC}\u{1F1EB}","aliases":["wallis_futuna"]},{"emoji":"\u{1F318}","aliases":["waning_crescent_moon"]},{"emoji":"\u{1F316}","aliases":["waning_gibbous_moon"]},{"emoji":"\u26A0\uFE0F","aliases":["warning"]},{"emoji":"\u{1F5D1}\uFE0F","aliases":["wastebasket"]},{"emoji":"\u231A","aliases":["watch"]},{"emoji":"\u{1F403}","aliases":["water_buffalo"]},{"emoji":"\u{1F93D}","aliases":["water_polo"]},{"emoji":"\u{1F349}","aliases":["watermelon"]},{"emoji":"\u{1F44B}","aliases":["wave"]},{"emoji":"\u3030\uFE0F","aliases":["wavy_dash"]},{"emoji":"\u{1F312}","aliases":["waxing_crescent_moon"]},{"emoji":"\u{1F6BE}","aliases":["wc"]},{"emoji":"\u{1F629}","aliases":["weary"]},{"emoji":"\u{1F492}","aliases":["wedding"]},{"emoji":"\u{1F3CB}\uFE0F","aliases":["weight_lifting"]},{"emoji":"\u{1F3CB}\uFE0F\u200D\u2642\uFE0F","aliases":["weight_lifting_man"]},{"emoji":"\u{1F3CB}\uFE0F\u200D\u2640\uFE0F","aliases":["weight_lifting_woman"]},{"emoji":"\u{1F1EA}\u{1F1ED}","aliases":["western_sahara"]},{"emoji":"\u{1F433}","aliases":["whale"]},{"emoji":"\u{1F40B}","aliases":["whale2"]},{"emoji":"\u{1F6DE}","aliases":["wheel"]},{"emoji":"\u2638\uFE0F","aliases":["wheel_of_dharma"]},{"emoji":"\u267F","aliases":["wheelchair"]},{"emoji":"\u2705","aliases":["white_check_mark"]},{"emoji":"\u26AA","aliases":["white_circle"]},{"emoji":"\u{1F3F3}\uFE0F","aliases":["white_flag"]},{"emoji":"\u{1F4AE}","aliases":["white_flower"]},{"emoji":"\u{1F468}\u200D\u{1F9B3}","aliases":["white_haired_man"]},{"emoji":"\u{1F469}\u200D\u{1F9B3}","aliases":["white_haired_woman"]},{"emoji":"\u{1F90D}","aliases":["white_heart"]},{"emoji":"\u2B1C","aliases":["white_large_square"]},{"emoji":"\u25FD","aliases":["white_medium_small_square"]},{"emoji":"\u25FB\uFE0F","aliases":["white_medium_square"]},{"emoji":"\u25AB\uFE0F","aliases":["white_small_square"]},{"emoji":"\u{1F533}","aliases":["white_square_button"]},{"emoji":"\u{1F940}","aliases":["wilted_flower"]},{"emoji":"\u{1F390}","aliases":["wind_chime"]},{"emoji":"\u{1F32C}\uFE0F","aliases":["wind_face"]},{"emoji":"\u{1FA9F}","aliases":["window"]},{"emoji":"\u{1F377}","aliases":["wine_glass"]},{"emoji":"\u{1FABD}","aliases":["wing"]},{"emoji":"\u{1F609}","aliases":["wink"]},{"emoji":"\u{1F6DC}","aliases":["wireless"]},{"emoji":"\u{1F43A}","aliases":["wolf"]},{"emoji":"\u{1F469}","aliases":["woman"]},{"emoji":"\u{1F469}\u200D\u{1F3A8}","aliases":["woman_artist"]},{"emoji":"\u{1F469}\u200D\u{1F680}","aliases":["woman_astronaut"]},{"emoji":"\u{1F9D4}\u200D\u2640\uFE0F","aliases":["woman_beard"]},{"emoji":"\u{1F938}\u200D\u2640\uFE0F","aliases":["woman_cartwheeling"]},{"emoji":"\u{1F469}\u200D\u{1F373}","aliases":["woman_cook"]},{"emoji":"\u{1F483}","aliases":["woman_dancing","dancer"]},{"emoji":"\u{1F926}\u200D\u2640\uFE0F","aliases":["woman_facepalming"]},{"emoji":"\u{1F469}\u200D\u{1F3ED}","aliases":["woman_factory_worker"]},{"emoji":"\u{1F469}\u200D\u{1F33E}","aliases":["woman_farmer"]},{"emoji":"\u{1F469}\u200D\u{1F37C}","aliases":["woman_feeding_baby"]},{"emoji":"\u{1F469}\u200D\u{1F692}","aliases":["woman_firefighter"]},{"emoji":"\u{1F469}\u200D\u2695\uFE0F","aliases":["woman_health_worker"]},{"emoji":"\u{1F469}\u200D\u{1F9BD}","aliases":["woman_in_manual_wheelchair"]},{"emoji":"\u{1F469}\u200D\u{1F9BC}","aliases":["woman_in_motorized_wheelchair"]},{"emoji":"\u{1F935}\u200D\u2640\uFE0F","aliases":["woman_in_tuxedo"]},{"emoji":"\u{1F469}\u200D\u2696\uFE0F","aliases":["woman_judge"]},{"emoji":"\u{1F939}\u200D\u2640\uFE0F","aliases":["woman_juggling"]},{"emoji":"\u{1F469}\u200D\u{1F527}","aliases":["woman_mechanic"]},{"emoji":"\u{1F469}\u200D\u{1F4BC}","aliases":["woman_office_worker"]},{"emoji":"\u{1F469}\u200D\u2708\uFE0F","aliases":["woman_pilot"]},{"emoji":"\u{1F93E}\u200D\u2640\uFE0F","aliases":["woman_playing_handball"]},{"emoji":"\u{1F93D}\u200D\u2640\uFE0F","aliases":["woman_playing_water_polo"]},{"emoji":"\u{1F469}\u200D\u{1F52C}","aliases":["woman_scientist"]},{"emoji":"\u{1F937}\u200D\u2640\uFE0F","aliases":["woman_shrugging"]},{"emoji":"\u{1F469}\u200D\u{1F3A4}","aliases":["woman_singer"]},{"emoji":"\u{1F469}\u200D\u{1F393}","aliases":["woman_student"]},{"emoji":"\u{1F469}\u200D\u{1F3EB}","aliases":["woman_teacher"]},{"emoji":"\u{1F469}\u200D\u{1F4BB}","aliases":["woman_technologist"]},{"emoji":"\u{1F9D5}","aliases":["woman_with_headscarf"]},{"emoji":"\u{1F469}\u200D\u{1F9AF}","aliases":["woman_with_probing_cane"]},{"emoji":"\u{1F473}\u200D\u2640\uFE0F","aliases":["woman_with_turban"]},{"emoji":"\u{1F470}\u200D\u2640\uFE0F","aliases":["woman_with_veil","bride_with_veil"]},{"emoji":"\u{1F45A}","aliases":["womans_clothes"]},{"emoji":"\u{1F452}","aliases":["womans_hat"]},{"emoji":"\u{1F93C}\u200D\u2640\uFE0F","aliases":["women_wrestling"]},{"emoji":"\u{1F6BA}","aliases":["womens"]},{"emoji":"\u{1FAB5}","aliases":["wood"]},{"emoji":"\u{1F974}","aliases":["woozy_face"]},{"emoji":"\u{1F5FA}\uFE0F","aliases":["world_map"]},{"emoji":"\u{1FAB1}","aliases":["worm"]},{"emoji":"\u{1F61F}","aliases":["worried"]},{"emoji":"\u{1F527}","aliases":["wrench"]},{"emoji":"\u{1F93C}","aliases":["wrestling"]},{"emoji":"\u270D\uFE0F","aliases":["writing_hand"]},{"emoji":"\u274C","aliases":["x"]},{"emoji":"\u{1FA7B}","aliases":["x_ray"]},{"emoji":"\u{1F9F6}","aliases":["yarn"]},{"emoji":"\u{1F971}","aliases":["yawning_face"]},{"emoji":"\u{1F7E1}","aliases":["yellow_circle"]},{"emoji":"\u{1F49B}","aliases":["yellow_heart"]},{"emoji":"\u{1F7E8}","aliases":["yellow_square"]},{"emoji":"\u{1F1FE}\u{1F1EA}","aliases":["yemen"]},{"emoji":"\u{1F4B4}","aliases":["yen"]},{"emoji":"\u262F\uFE0F","aliases":["yin_yang"]},{"emoji":"\u{1FA80}","aliases":["yo_yo"]},{"emoji":"\u{1F60B}","aliases":["yum"]},{"emoji":"\u{1F1FF}\u{1F1F2}","aliases":["zambia"]},{"emoji":"\u{1F92A}","aliases":["zany_face"]},{"emoji":"\u26A1","aliases":["zap"]},{"emoji":"\u{1F993}","aliases":["zebra"]},{"emoji":"0\uFE0F\u20E3","aliases":["zero"]},{"emoji":"\u{1F1FF}\u{1F1FC}","aliases":["zimbabwe"]},{"emoji":"\u{1F910}","aliases":["zipper_mouth_face"]},{"emoji":"\u{1F9DF}","aliases":["zombie"]},{"emoji":"\u{1F9DF}\u200D\u2642\uFE0F","aliases":["zombie_man"]},{"emoji":"\u{1F9DF}\u200D\u2640\uFE0F","aliases":["zombie_woman"]},{"emoji":"\u{1F4A4}","aliases":["zzz"]}]'),Jv=Object.defineProperty,Gd=Object.getOwnPropertySymbols,Qv=Object.prototype.hasOwnProperty,e0=Object.prototype.propertyIsEnumerable,Xd=(e,t,i)=>t in e?Jv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,t0=(e,t)=>{for(var i in t||(t={}))Qv.call(t,i)&&Xd(e,i,t[i]);if(Gd)for(var i of Gd(t))e0.call(t,i)&&Xd(e,i,t[i]);return e};const{assetUrlPrefix:i0,customEmojis:Jd}=window.config,Fu=t0({},Jd);for(const{emoji:e,aliases:t}of Iu)for(const i of t||[])Fu[i]=e;const Qd=Object.keys(Fu).sort((e,t)=>e==="+1"||e==="-1"?-1:t==="+1"||t==="-1"?1:e.localeCompare(t)),eh={};for(const e of Qd)eh[e]=Fu[e];function n0(e){let t;return Object.hasOwn(Jd,e)?t=`<img alt=":${e}:" src="${i0}/img/emoji/${e}.png">`:t=Nu(e),`<span class="emoji" title=":${e}:">${t}</span>`}function Nu(e){return eh[e]||`:${e}:`}var r0=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function s0({mentions:e,emoji:t}){var i;const r=[];return t&&r.push({trigger:":",requireLeadingSpace:!0,values:(a,u)=>{const b=[];for(const w of Qd)if(w.includes(a)&&(b.push(w),b.length>5))break;u(b)},lookup:a=>a,selectTemplate:a=>a===void 0?null:Nu(a.original),menuItemTemplate:a=>`<div class="tribute-item">${n0(a.original)}<span>${Os(a.original)}</span></div>`}),e&&r.push({values:(i=window.config.mentionValues)!=null?i:[],requireLeadingSpace:!0,menuItemTemplate:a=>`
<div class="tribute-item">
<img src="${Os(a.original.avatar)}" class="gt-mr-3"/>
<span class="name">${Os(a.original.name)}</span>
${a.original.fullname&&a.original.fullname!==""?`<span class="fullname">${Os(a.original.fullname)}</span>`:""}
</div>
`}),r}function o0(e){return r0(this,arguments,function*(t,{mentions:i,emoji:r}={}){const{default:a}=yield St.e("tribute").then(St.t.bind(St,"./node_modules/tributejs/dist/tribute.min.js",19)),u=s0({mentions:i,emoji:r}),b=new a({collection:u,noMatchTemplate:""});return b.attach(t),b})}var Dc=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function a0(e,t){return Dc(this,null,function*(){const i=new FormData;return i.append("file",e,e.name),yield(yield Or(t,{data:i})).json()})}function l0(e){if(!e.clipboardData)return[];const t=[];for(const i of e.clipboardData.items||[])!i.type||!i.type.startsWith("image/")||t.push(i.getAsFile());return t}function Mc(e){e.dispatchEvent(new CustomEvent("ce-editor-content-changed",{bubbles:!0}))}class c0{constructor(t){this.editor=t}insertPlaceholder(t){const i=this.editor,r=i.selectionStart,a=i.selectionEnd;i.value=i.value.substring(0,r)+t+i.value.substring(a),i.selectionStart=r,i.selectionEnd=r+t.length,i.focus(),Mc(i)}replacePlaceholder(t,i){const r=this.editor,a=r.selectionStart,u=r.selectionEnd;r.value.substring(a,u)===t?(r.value=r.value.substring(0,a)+i+r.value.substring(u),r.selectionEnd=a+i.length):(r.value=r.value.replace(t,i),r.selectionEnd-=t.length,r.selectionEnd+=i.length),r.selectionStart=r.selectionEnd,r.focus(),Mc(r)}}class u0{constructor(t){this.editor=t}insertPlaceholder(t){const i=this.editor,r=i.getCursor("start"),a=i.getCursor("end");i.replaceSelection(t),a.ch=r.ch+t.length,i.setSelection(r,a),i.focus(),Mc(i.getTextArea())}replacePlaceholder(t,i){const r=this.editor,a=r.getCursor("end");r.getSelection()===t?r.replaceSelection(i):r.setValue(r.getValue().replace(t,i)),a.ch-=t.length,a.ch+=i.length,r.setSelection(a,a),r.focus(),Mc(r.getTextArea())}}const th=(e,t,i)=>Dc(void 0,null,function*(){const r=p(t),a=r.attr("data-upload-url"),u=r.find(".files");if(!a||!u.length)return;const b=l0(i);if(!(!b||b.length===0)){i.preventDefault(),i.stopPropagation();for(const w of b){const g=w.name.slice(0,w.name.lastIndexOf(".")),T=`![${g}](uploading ...)`;e.insertPlaceholder(T);const W=yield a0(w,a);e.replacePlaceholder(T,`![${g}](/attachments/${W.uuid})`);const Oe=p('<input name="files" type="hidden">').attr("id",W.uuid).val(W.uuid);u.append(Oe)}}});function f0(e,t){t&&e.codemirror.on("paste",(i,r)=>Dc(this,null,function*(){return th(new u0(e.codemirror),t,r)}))}function d0(e,t){t&&p(e).on("paste",i=>Dc(this,null,function*(){return th(new c0(e),t,i.originalEvent)}))}var h0=Object.defineProperty,Lc=Object.getOwnPropertySymbols,ih=Object.prototype.hasOwnProperty,nh=Object.prototype.propertyIsEnumerable,rh=(e,t,i)=>t in e?h0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Ic=(e,t)=>{for(var i in t||(t={}))ih.call(t,i)&&rh(e,i,t[i]);if(Lc)for(var i of Lc(t))nh.call(t,i)&&rh(e,i,t[i]);return e},p0=(e,t)=>{var i={};for(var r in e)ih.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(e!=null&&Lc)for(var r of Lc(e))t.indexOf(r)<0&&nh.call(e,r)&&(i[r]=e[r]);return i},sh=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const oh={},ah={},m0={fontFamily:"var(--fonts-monospace)",fontSize:14,guides:{bracketPairs:!1,indentation:!1},links:!1,minimap:{enabled:!1},occurrencesHighlight:!1,overviewRulerLanes:0,renderLineHighlight:"all",renderLineHighlightOnlyWhenFocus:!0,rulers:!1,scrollbar:{horizontalScrollbarSize:6,verticalScrollbarSize:6},scrollBeyondLastLine:!1,automaticLayout:!0};function g0(e){try{return JSON.parse(e.getAttribute("data-editorconfig"))}catch(t){return null}}function v0(e){for(const{filenames:t,extensions:i,id:r}of e.languages.getLanguages()){for(const a of t||[])oh[a]=r;for(const a of i||[])ah[a]=r}}function lh(e){return oh[e]||ah[is(e)]||"plaintext"}function b0(e,t,i,r){t.updateOptions(uh(i,r));const a=t.getModel(),u=a.getLanguageId(),b=lh(i);u!==b&&e.editor.setModelLanguage(a,b)}function y0(e){window.codeEditors||(window.codeEditors=[]),window.codeEditors.includes(e)||window.codeEditors.push(e)}function ch(e,t,i){return sh(this,null,function*(){const r=yield St.e("monaco").then(St.bind(St,"include-loader!./node_modules/monaco-editor/esm/vs/editor/editor.main.js"));v0(r);let a=i,{language:u,eol:b}=a,w=p0(a,["language","eol"]);u||(u=lh(t));const g=document.createElement("div");g.className="monaco-editor-container",e.parentNode.append(g);const T=window.getComputedStyle(document.documentElement),W=lt=>zi(T.getPropertyValue(lt).trim()).toString("hex6");r.editor.defineTheme("gitea",{base:Fr()?"vs-dark":"vs",inherit:!0,rules:[{background:W("--color-code-bg")}],colors:{"editor.background":W("--color-code-bg"),"editor.foreground":W("--color-text"),"editor.inactiveSelectionBackground":W("--color-primary-light-4"),"editor.lineHighlightBackground":W("--color-editor-line-highlight"),"editor.selectionBackground":W("--color-primary-light-3"),"editor.selectionForeground":W("--color-primary-light-3"),"editorLineNumber.background":W("--color-code-bg"),"editorLineNumber.foreground":W("--color-secondary-dark-6"),"editorWidget.background":W("--color-body"),"editorWidget.border":W("--color-secondary"),"input.background":W("--color-input-background"),"input.border":W("--color-input-border"),"input.foreground":W("--color-input-text"),"scrollbar.shadow":W("--color-shadow"),"progressBar.background":W("--color-primary")}}),r.languages.register({id:"vs.editor.nullLanguage"}),r.languages.setLanguageConfiguration("vs.editor.nullLanguage",{});const Oe=JSON.parse(e.getAttribute("data-initial-value")||'""');e.value=Oe,e.removeAttribute("data-initial-value");const Ze=r.editor.create(g,Ic({value:Oe,theme:"gitea",language:u},w)),ot=Ze.getModel();b in r.editor.EndOfLineSequence&&ot.setEOL(r.editor.EndOfLineSequence[b]),ot.onDidChangeContent(()=>{e.value=Ze.getValue(),e.dispatchEvent(new Event("change"))}),y0(Ze);const pt=document.querySelector(".editor-loading");return pt&&pt.remove(),{monaco:r,editor:Ze}})}function uh(e,t){return{wordWrap:(t||[]).includes(is(e))?"on":"off"}}function fh(e){const t=document.querySelector('a[data-tab="preview"]');if(t)if(e){const i=(t.getAttribute("data-url")||"").replace(/(.*)\/.*/,"$1/markup");t.setAttribute("data-url",i),t.style.display=""}else t.style.display="none",t.classList.contains("active")&&document.querySelector('a[data-tab="write"]').click()}function _0(e,t){return sh(this,null,function*(){const i=ts(t.value),r=new Set((e.getAttribute("data-previewable-extensions")||"").split(",")),a=(e.getAttribute("data-line-wrap-extensions")||"").split(","),u=r.has(is(i)),b=g0(t);fh(u);const{monaco:w,editor:g}=yield ch(e,i,Ic(Ic(Ic({},m0),uh(t.value,a)),w0(b)));return t.addEventListener("input",_t(()=>{const T=t.value,W=r.has(is(T));fh(W),b0(w,g,T,a)})),g})}function w0(e){var t;if(!Fn(e))return{};const i={};return i.detectIndentation=!("indent_style"in e)||!("indent_size"in e),"indent_size"in e&&(i.indentSize=Number(e.indent_size)),"tab_width"in e&&(i.tabSize=Number(e.tab_width)||i.indentSize),"max_line_length"in e&&(i.rulers=[Number(e.max_line_length)]),i.trimAutoWhitespace=e.trim_trailing_whitespace===!0,i.insertSpaces=e.indent_style==="space",i.useTabStops=e.indent_style==="tab",i.eol=(t=e.end_of_line)==null?void 0:t.toUpperCase(),i}var x0=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{csrfToken:dh}=window.config;function j0(e){const t=e.find(".tabular.menu");t.find(".item").tab();const i=t.find(`.item[data-tab="${t.data("preview")}"]`);i.length&&i.on("click",function(){const r=p(this);let a=`${r.data("context")}/`;const u=r.data("markup-mode")||"comment",b=e.find("input#tree_path");b.length>0&&(a+=b.val()),a=a.substring(0,a.lastIndexOf("/")),p.post(r.data("url"),{_csrf:dh,mode:u,context:a,text:e.find(`.tab[data-tab="${t.data("write")}"] textarea`).val(),file_path:b.val()},w=>{const g=e.find(`.tab[data-tab="${t.data("preview")}"]`);hh(g,w)})})}function S0(e){const t=e.find(".tabular.menu");t.find(".item").tab(),t.find(`.item[data-tab="${t.data("diff")}"]`).on("click",function(){const i=p(this);p.post(i.data("url"),{_csrf:dh,context:i.data("context"),content:e.find(`.tab[data-tab="${t.data("write")}"] textarea`).val()},r=>{e.find(`.tab[data-tab="${t.data("diff")}"]`).html(r)})})}function C0(){p(".repository .edit.form").length!==0&&(j0(p(".repository .edit.form")),S0(p(".repository .edit.form")))}function T0(e){const t=e.get(0);let i=0;if("selectionStart"in t)i=t.selectionStart;else if("selection"in document){t.focus();const r=document.selection.createRange(),a=document.selection.createRange().text.length;r.moveStart("character",-t.value.length),i=r.text.length-a}return i}function E0(){C0(),p(".js-quick-pull-choice-option").on("change",function(){p(this).val()==="commit-to-new-branch"?(X(p(".quick-pull-branch-name")),p(".quick-pull-branch-name input").prop("required",!0)):(pe(p(".quick-pull-branch-name")),p(".quick-pull-branch-name input").prop("required",!1)),p("#commit-button").text(p(this).attr("button_text"))});const e=r=>{const a=[];p(".breadcrumb span.section").each(function(){const u=p(this);u.find("a").length?a.push(u.find("a").text()):a.push(u.text())}),r.val()&&a.push(r.val()),p("#tree_path").val(a.join("/"))},t=p("#file-name");t.on("input",function(){const r=p(this).val().split("/");if(r.length>1)for(let a=0;a<r.length;++a){const u=r[a];a<r.length-1?u.length&&(p(`<span class="section"><a href="#">${Os(u)}</a></span>`).insertBefore(p(this)),p('<div class="breadcrumb-divider">/</div>').insertBefore(p(this))):p(this).val(u),this.setSelectionRange(0,0)}e(p(this))}),t.on("keydown",function(r){const a=p(".breadcrumb span.section");if(r.code==="Backspace"&&T0(p(this))===0&&a.length>0){r.preventDefault();const u=p(".breadcrumb .breadcrumb-divider"),b=a.last().find("a").text();p(this).val(b+p(this).val()),this.setSelectionRange(b.length,b.length),a.last().remove(),u.last().remove(),e(p(this))}});const i=p(".repository.editor textarea#edit_area");i.length&&x0(this,null,function*(){const r=yield _0(i[0],t[0]),a=p("#commit-button"),u=p(".ui.edit.form"),b="dirty-file";p('input[name="page_has_posted"]').val()!=="true"&&a.prop("disabled",!0),u.areYouSure({silent:!0,dirtyClass:b,fieldSelector:":input:not(.commit-form-wrapper :input)",change(){const T=p(this).hasClass(b);a.prop("disabled",!T)}});const g=new URLSearchParams(window.location.search).get("value");g&&r.setValue(g),a.on("click",T=>{i.val().length===0&&(p("#edit-empty-content-modal").modal({onApprove(){p(".edit.form").trigger("submit")}}).modal("show"),T.preventDefault())})})}function hh(e,t){e.html(t),Ac();const i=e.find("p .ref-issue");yu(i)}function k0(e,t){const i={"|":"|","heading-1":{action:e.toggleHeading1,icon:Ht("octicon-heading"),title:"Heading 1"},"heading-2":{action:e.toggleHeading2,icon:Ht("octicon-heading"),title:"Heading 2"},"heading-3":{action:e.toggleHeading3,icon:Ht("octicon-heading"),title:"Heading 3"},"heading-smaller":{action:e.toggleHeadingSmaller,icon:Ht("octicon-heading"),title:"Decrease Heading"},"heading-bigger":{action:e.toggleHeadingBigger,icon:Ht("octicon-heading"),title:"Increase Heading"},bold:{action:e.toggleBold,icon:Ht("octicon-bold"),title:"Bold"},italic:{action:e.toggleItalic,icon:Ht("octicon-italic"),title:"Italic"},strikethrough:{action:e.toggleStrikethrough,icon:Ht("octicon-strikethrough"),title:"Strikethrough"},quote:{action:e.toggleBlockquote,icon:Ht("octicon-quote"),title:"Quote"},code:{action:e.toggleCodeBlock,icon:Ht("octicon-code"),title:"Code"},link:{action:e.drawLink,icon:Ht("octicon-link"),title:"Link"},"unordered-list":{action:e.toggleUnorderedList,icon:Ht("octicon-list-unordered"),title:"Unordered List"},"ordered-list":{action:e.toggleOrderedList,icon:Ht("octicon-list-ordered"),title:"Ordered List"},image:{action:e.drawImage,icon:Ht("octicon-image"),title:"Image"},table:{action:e.drawTable,icon:Ht("octicon-table"),title:"Table"},"horizontal-rule":{action:e.drawHorizontalRule,icon:Ht("octicon-horizontal-rule"),title:"Horizontal Rule"},preview:{action:e.togglePreview,icon:Ht("octicon-eye"),title:"Preview"},fullscreen:{action:e.toggleFullScreen,icon:Ht("octicon-screen-full"),title:"Fullscreen"},"side-by-side":{action:e.toggleSideBySide,icon:Ht("octicon-columns"),title:"Side by Side"},"gitea-checkbox-empty":{action(r){const a=r.codemirror;a.replaceSelection(`
- [ ] ${a.getSelection()}`),a.focus()},icon:Ht("gitea-empty-checkbox"),title:"Add Checkbox (empty)"},"gitea-checkbox-checked":{action(r){const a=r.codemirror;a.replaceSelection(`
- [x] ${a.getSelection()}`),a.focus()},icon:Ht("octicon-checkbox"),title:"Add Checkbox (checked)"},"gitea-switch-to-textarea":{action:()=>{t.userPreferredEditor="textarea",t.switchToTextarea()},icon:Ht("octicon-arrow-switch"),title:"Revert to simple textarea"},"gitea-code-inline":{action(r){const a=r.codemirror,u=a.getSelection();if(a.replaceSelection(`\`${u}\``),!u){const b=a.getCursor();a.setCursor(b.line,b.ch-1)}a.focus()},icon:Ht("octicon-chevron-right"),title:"Add Inline Code"}};for(const[r,a]of Object.entries(i))typeof a!="string"&&(a.name=r);return i}const ph=6;function mh(e){const t=new Map(Array.from(e.entries()).sort((i,r)=>i[1]-r[1]));return Array.from(t.keys()).slice(0,ph)}function A0(e){const t=e.toLowerCase().replaceAll("_"," ");if(!t)return Iu.slice(0,ph).map(r=>r.aliases[0]);const i=new Map;for(const{aliases:r}of Iu){const a=r[0];for(const[u,b]of r.entries()){const w=b.replaceAll("_"," ").indexOf(t);if(w===-1)continue;const g=i.get(a),T=w+u;i.set(a,g?g-T:T)}}return mh(i)}function O0(e){var t;const i=e.toLowerCase(),r=new Map;for(const a of(t=window.config.mentionValues)!=null?t:[]){const u=a.key.toLowerCase().indexOf(i);if(u===-1)continue;const b=r.get(a);r.set(a,b?b-u:u)}return mh(r)}function R0(e){e==null||e.addEventListener("text-expander-change",({detail:{key:t,provide:i,text:r}})=>{if(t===":"){const a=A0(r);if(!a.length)return i({matched:!1});const u=document.createElement("ul");u.classList.add("suggestions");for(const b of a){const w=Nu(b),g=document.createElement("li");g.setAttribute("role","option"),g.setAttribute("data-value",w),g.textContent=`${w} ${b}`,u.append(g)}i({matched:!0,fragment:u})}else if(t==="@"){const a=O0(r);if(!a.length)return i({matched:!1});const u=document.createElement("ul");u.classList.add("suggestions");for(const{value:b,name:w,fullname:g,avatar:T}of a){const W=document.createElement("li");W.setAttribute("role","option"),W.setAttribute("data-value",`${t}${b}`);const Oe=document.createElement("img");Oe.src=T,W.append(Oe);const Ze=document.createElement("span");if(Ze.textContent=w,W.append(Ze),g&&g.toLowerCase()!==w){const ot=document.createElement("span");ot.classList.add("fullname"),ot.textContent=g,W.append(ot)}u.append(W)}i({matched:!0,fragment:u})}}),e==null||e.addEventListener("text-expander-value",({detail:t})=>{if(t!=null&&t.item){const i=t.key==="@"?" ":"";t.value=`${t.item.getAttribute("data-value")}${i}`}})}var P0=Object.defineProperty,gh=Object.getOwnPropertySymbols,D0=Object.prototype.hasOwnProperty,M0=Object.prototype.propertyIsEnumerable,vh=(e,t,i)=>t in e?P0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,L0=(e,t)=>{for(var i in t||(t={}))D0.call(t,i)&&vh(e,i,t[i]);if(gh)for(var i of gh(t))M0.call(t,i)&&vh(e,i,t[i]);return e},Ql=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});let Ml=0;function bh(e){var t;return e.val()?!0:(e.is(":visible")?(e.prop("required",!0),(t=e.parents("form")[0])==null||t.reportValidity()):Oa("Require non-empty content"),!1)}class I0{constructor(t,i={}){t._giteaComboMarkdownEditor=this,this.options=i,this.container=t}init(){return Ql(this,null,function*(){this.prepareEasyMDEToolbarActions(),this.setupContainer(),this.setupTab(),this.setupDropzone(),this.setupTextarea(),yield this.switchToUserPreference()})}applyEditorHeights(t,i){i&&(i.minHeight&&(t.style.minHeight=i.minHeight),i.height&&(t.style.height=i.height),i.maxHeight&&(t.style.maxHeight=i.maxHeight))}setupContainer(){R0(this.container.querySelector("text-expander")),this.container.addEventListener("ce-editor-content-changed",t=>{var i,r;return(r=(i=this.options)==null?void 0:i.onContentChanged)==null?void 0:r.call(i,this,t)})}setupTextarea(){this.textarea=this.container.querySelector(".markdown-text-editor"),this.textarea._giteaComboMarkdownEditor=this,this.textarea.id=`_combo_markdown_editor_${String(Ml++)}`,this.textarea.addEventListener("input",u=>{var b,w;return(w=(b=this.options)==null?void 0:b.onContentChanged)==null?void 0:w.call(b,this,u)}),this.applyEditorHeights(this.textarea,this.options.editorHeights),this.textarea.getAttribute("data-disable-autosize")!=="true"&&(this.textareaAutosize=jt(this.textarea,{viewportMarginBottom:130})),this.textareaMarkdownToolbar=this.container.querySelector("markdown-toolbar"),this.textareaMarkdownToolbar.setAttribute("for",this.textarea.id);for(const u of this.textareaMarkdownToolbar.querySelectorAll(".markdown-toolbar-button"))u.setAttribute("role","button"),u.nodeName==="BUTTON"&&!u.getAttribute("type")&&u.setAttribute("type","button");const t=this.container.querySelector(".markdown-switch-monospace"),i=(localStorage==null?void 0:localStorage.getItem("markdown-editor-monospace"))==="true",r=t.getAttribute(i?"data-disable-text":"data-enable-text");t.setAttribute("data-tooltip-content",r),t.setAttribute("aria-checked",String(i)),t==null||t.addEventListener("click",u=>{u.preventDefault();const b=(localStorage==null?void 0:localStorage.getItem("markdown-editor-monospace"))!=="true";localStorage.setItem("markdown-editor-monospace",String(b)),this.textarea.classList.toggle("gt-mono",b);const w=t.getAttribute(b?"data-disable-text":"data-enable-text");t.setAttribute("data-tooltip-content",w),t.setAttribute("aria-checked",String(b))});const a=this.container.querySelector(".markdown-switch-easymde");a==null||a.addEventListener("click",u=>Ql(this,null,function*(){u.preventDefault(),this.userPreferredEditor="easymde",yield this.switchToEasyMDE()})),this.dropzone&&d0(this.textarea,this.dropzone)}setupDropzone(){var t;this.container.getAttribute("data-dropzone-parent-container")&&(this.dropzone=(t=this.container.closest(this.container.getAttribute("data-dropzone-parent-container")))==null?void 0:t.querySelector(".dropzone"))}setupTab(){var t,i;const r=p(this.container),u=r.find(".tabular.menu").find("> .item"),b=u.filter('.item[data-tab-for="markdown-writer"]'),w=u.filter('.item[data-tab-for="markdown-previewer"]');b.attr("data-tab",`markdown-writer-${Ml}`),w.attr("data-tab",`markdown-previewer-${Ml}`);const g=r.find('.ui.tab[data-tab-panel="markdown-writer"]'),T=r.find('.ui.tab[data-tab-panel="markdown-previewer"]');g.attr("data-tab",`markdown-writer-${Ml}`),T.attr("data-tab",`markdown-previewer-${Ml}`),Ml++,b[0].addEventListener("click",()=>{requestAnimationFrame(()=>{this.focus()})}),u.tab(),this.previewUrl=w.attr("data-preview-url"),this.previewContext=w.attr("data-preview-context"),this.previewMode=(t=this.options.previewMode)!=null?t:"comment",this.previewWiki=(i=this.options.previewWiki)!=null?i:!1,w.on("click",()=>{p.post(this.previewUrl,{_csrf:window.config.csrfToken,mode:this.previewMode,context:this.previewContext,text:this.value(),wiki:this.previewWiki},W=>{hh(T,W)})})}prepareEasyMDEToolbarActions(){this.easyMDEToolbarDefault=["bold","italic","strikethrough","|","heading-1","heading-2","heading-3","heading-bigger","heading-smaller","|","code","quote","|","gitea-checkbox-empty","gitea-checkbox-checked","|","unordered-list","ordered-list","|","link","image","table","horizontal-rule","|","gitea-switch-to-textarea"]}parseEasyMDEToolbar(t,i){this.easyMDEToolbarActions=this.easyMDEToolbarActions||k0(t,this);const r=[];for(const a of i){const u=this.easyMDEToolbarActions[a];if(!u)throw new Error(`Unknown EasyMDE toolbar action ${a}`);r.push(u)}return r}switchToUserPreference(){return Ql(this,null,function*(){this.userPreferredEditor==="easymde"?yield this.switchToEasyMDE():this.switchToTextarea()})}switchToTextarea(){this.easyMDE&&(X(this.textareaMarkdownToolbar),this.easyMDE&&(this.easyMDE.toTextArea(),this.easyMDE=null))}switchToEasyMDE(){return Ql(this,null,function*(){var t;if(this.easyMDE)return;const{default:i}=yield St.e("easymde").then(St.t.bind(St,"./node_modules/easymde/src/js/easymde.js",19)),r=L0({autoDownloadFontAwesome:!1,element:this.textarea,forceSync:!0,renderingConfig:{singleLineBreaks:!1},indentWithTabs:!1,tabSize:4,spellChecker:!1,inputStyle:"contenteditable",nativeSpellcheck:!0},this.options.easyMDEOptions);r.toolbar=this.parseEasyMDEToolbar(i,(t=r.toolbar)!=null?t:this.easyMDEToolbarDefault),this.easyMDE=new i(r),this.easyMDE.codemirror.on("change",(...a)=>{var u,b;(b=(u=this.options)==null?void 0:u.onContentChanged)==null||b.call(u,this,...a)}),this.easyMDE.codemirror.setOption("extraKeys",{"Cmd-Enter":a=>ku(a.getTextArea()),"Ctrl-Enter":a=>ku(a.getTextArea()),Enter:a=>{const u=document.querySelector(".tribute-container");(!u||u.style.display==="none")&&a.execCommand("newlineAndIndent")},Up:a=>{const u=document.querySelector(".tribute-container");if(!u||u.style.display==="none")return a.execCommand("goLineUp")},Down:a=>{const u=document.querySelector(".tribute-container");if(!u||u.style.display==="none")return a.execCommand("goLineDown")}}),this.applyEditorHeights(this.container.querySelector(".CodeMirror-scroll"),this.options.editorHeights),yield o0(this.easyMDE.codemirror.getInputField(),{mentions:!0,emoji:!0}),f0(this.easyMDE,this.dropzone),pe(this.textareaMarkdownToolbar)})}value(t=void 0){var i;if(t===void 0)return this.easyMDE?this.easyMDE.value():this.textarea.value;this.easyMDE?this.easyMDE.value(t):this.textarea.value=t,(i=this.textareaAutosize)==null||i.resizeToFit()}focus(){this.easyMDE?this.easyMDE.codemirror.focus():this.textarea.focus()}moveCursorToEnd(){this.textarea.focus(),this.textarea.setSelectionRange(this.textarea.value.length,this.textarea.value.length),this.easyMDE&&(this.easyMDE.codemirror.focus(),this.easyMDE.codemirror.setCursor(this.easyMDE.codemirror.lineCount(),0))}get userPreferredEditor(){var t;return window.localStorage.getItem(`markdown-editor-${(t=this.options.useScene)!=null?t:"default"}`)}set userPreferredEditor(t){var i;window.localStorage.setItem(`markdown-editor-${(i=this.options.useScene)!=null?i:"default"}`,t)}}function Bu(e){return e instanceof p&&(e=e[0]),e==null?void 0:e._giteaComboMarkdownEditor}function el(e){return Ql(this,arguments,function*(t,i={}){if(t instanceof p){if(t.length!==1)throw new Error("initComboMarkdownEditor: container must be a single element");t=t[0]}if(!t)throw new Error("initComboMarkdownEditor: container is null");const r=new I0(t,i);return yield r.init(),r})}var yl=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{appSubUrl:Fc,csrfToken:tl}=window.config;function F0(){p(document).on("click",".issue-add-time",()=>{p(".issue-start-time-modal").modal({duration:200,onApprove(){p("#add_time_manual_form").trigger("submit")}}).modal("show"),p(".issue-start-time-modal input").on("keydown",e=>{(e.keyCode||e.key)===13&&p("#add_time_manual_form").trigger("submit")})}),p(document).on("click",".issue-start-time, .issue-stop-time",()=>{p("#toggle_stopwatch_form").trigger("submit")}),p(document).on("click",".issue-cancel-time",()=>{p("#cancel_stopwatch_form").trigger("submit")}),p(document).on("click","button.issue-delete-time",function(){const e=`.issue-delete-time-modal[data-id="${p(this).data("id")}"]`;p(e).modal({duration:200,onApprove(){p(`${e} form`).trigger("submit")}}).modal("show")})}function yh(e){pe(p("#deadline-err-invalid-date")),p("#deadline-loader").addClass("loading");let t=null;if(e!==""){const i=Date.parse(e);if(Number.isNaN(i))return p("#deadline-loader").removeClass("loading"),X(p("#deadline-err-invalid-date")),!1;t=new Date(i)}p.ajax(`${p("#update-issue-deadline-form").attr("action")}`,{data:JSON.stringify({due_date:t}),headers:{"X-Csrf-Token":tl},contentType:"application/json",type:"POST",success(){window.location.reload()},error(){p("#deadline-loader").removeClass("loading"),X(p("#deadline-err-invalid-date"))}})}function N0(){p(document).on("click",".issue-due-edit",()=>{N("#deadlineForm")}),p(document).on("click",".issue-due-remove",()=>{yh("")}),p(document).on("submit",".issue-due-form",()=>(yh(p("#deadlineDate").val()),!1))}function B0(){const e=p("#repolink").val(),t=p("#repoId").val(),i=p("#crossRepoSearch").val(),r=p("#type").val();let a=`${Fc}/${e}/issues/search?q={query}&type=${r}`;i==="true"&&(a=`${Fc}/issues/search?q={query}&priority_repo_id=${t}&type=${r}`),p("#new-dependency-drop-list").dropdown({apiSettings:{url:a,onResponse(b){const w={success:!0,results:[]},g=p("#new-dependency-drop-list").data("issue-id");return p.each(b,(T,W)=>{W.id!==g&&w.results.push({name:`#${W.number} ${Os(W.title)}<div class="text small gt-word-break">${Os(W.repository.full_name)}</div>`,value:W.id})}),w},cache:!1},fullTextSearch:!0});function u(b){const w=p(b).attr("href"),T=`labels=((?:-?[0-9]+%2c)*)(${p(b).data("label-id")})((?:%2c-?[0-9]+)*)&`,W="labels=$1-$2$3&";window.location=w.replace(new RegExp(T),W)}p(".menu a.label-filter-item").each(function(){p(this).on("click",function(b){b.altKey&&(b.preventDefault(),u(this))})}),p(".menu .ui.dropdown.label-filter").on("keydown",b=>{if(b.altKey&&b.keyCode===13){const w=p(".menu .ui.dropdown.label-filter .menu .item.selected");w.length>0&&u(p(w[0]))}}),p(".ui.dropdown.label-filter, .ui.dropdown.select-label").dropdown("setting",{hideDividers:"empty"}).dropdown("refreshItems")}function H0(){p(document).on("click",".delete-comment",function(){const e=p(this);return window.confirm(e.data("locale"))&&p.post(e.data("url"),{_csrf:tl}).done(()=>{const t=e.closest(".conversation-holder");if(t.find(".pending-label").length){const i=p("#review-box .review-comments-counter");let r=parseInt(i.attr("data-pending-comment-number"))-1||0;r=Math.max(r,0),i.attr("data-pending-comment-number",r),i.text(r)}if(p(`#${e.data("comment-id")}`).remove(),t.length&&!t.find(".comment").length){const i=t.data("path"),r=t.data("side"),a=t.data("idx");t.closest("tr").data("line-type")==="same"?p(`[data-path="${i}"] .add-code-comment[data-idx="${a}"]`).removeClass("gt-invisible"):p(`[data-path="${i}"] .add-code-comment[data-side="${r}"][data-idx="${a}"]`).removeClass("gt-invisible"),t.remove()}}),!1})}function V0(){p(document).on("click",".delete-dependency-button",e=>{const t=e.currentTarget.getAttribute("data-id"),i=e.currentTarget.getAttribute("data-type");p(".remove-dependency").modal({closable:!1,duration:200,onApprove:()=>{p("#removeDependencyID").val(t),p("#dependencyType").val(i),p("#removeDependencyForm").trigger("submit")}}).modal("show")})}function U0(){p(document).on("click",".cancel-code-comment",e=>{const t=p(e.currentTarget).closest("form");t.length>0&&t.hasClass("comment-form")?(t.addClass("gt-hidden"),X(t.closest(".comment-code-cloud").find("button.comment-form-reply"))):t.closest(".comment-code-cloud").remove()})}function $0(){const e=p(".update-button > button");e.on("click",function(t){t.preventDefault();const i=p(this),r=i.data("redirect");i.addClass("loading"),p.post(i.data("do"),{_csrf:tl}).done(a=>{a.redirect?window.location.href=a.redirect:r?window.location.href=r:window.location.reload()})}),p(".update-button > .dropdown").dropdown({onChange(t,i,r){const a=r.data("do");a&&(e.find(".button-text").text(r.text()),e.data("do",a))}})}function W0(){p(".show-instruction").on("click",()=>{N(p(".instruct-content"))})}function z0(){const e=p("#allow-edits-from-maintainers");if(!e.length)return;const t=e.attr("data-prompt-error");e.checkbox({onChange:()=>{const i=e.checkbox("is checked");let r=e.attr("data-url");r+="/set_allow_maintainer_edit",e.checkbox("set disabled"),p.ajax({url:r,type:"POST",data:{_csrf:tl,allow_maintainer_edit:i},error:()=>{Qa(e[0],t)},complete:()=>{e.checkbox("set enabled")}})}})}function q0(){p(".issue_reference_repository_search").dropdown({apiSettings:{url:`${Fc}/repo/search?q={query}&limit=20`,onResponse(e){const t={success:!0,results:[]};return p.each(e.data,(i,r)=>{t.results.push({name:Os(r.repository.full_name),value:r.repository.full_name})}),t},cache:!1},onChange(e,t,i){i.closest("form").attr("action",`${Fc}/${t}/issues/new`)},fullTextSearch:!0})}function K0(){p(".title_wip_desc > a").on("click",e=>{e.preventDefault();const t=p("#issue_title");t.trigger("focus");const i=t.val().trim().toUpperCase(),r=p(".title_wip_desc").data("wip-prefixes");for(const a of r)if(i.startsWith(a.toUpperCase()))return;t.val(`${r[0]} ${t.val()}`)})}function Ll(e,t,i,r){return yl(this,null,function*(){return p.ajax({type:"POST",url:e,data:{_csrf:tl,action:t,issue_ids:i,id:r}})})}function Z0(){p(".repository.view.issue .timeline").length!==0&&(p(".re-request-review").on("click",function(e){e.preventDefault();const t=p(this).data("update-url"),i=p(this).data("issue-id"),r=p(this).data("id"),a=p(this).hasClass("checked");Ll(t,a?"detach":"attach",i,r).then(()=>window.location.reload())}),p(document).on("click",e=>{const t=p(":target");if(t.length===0)return;const i=t.attr("id");if(!i||!/^(issue|pull)(comment)?-\d+$/.test(i))return;if(p(e.target).closest(`#${i}`).length===0){const a=p(window).scrollTop();window.location.hash="",p(window).scrollTop(a),window.history.pushState(null,null," ")}}))}function _h(e){return yl(this,null,function*(){pe(e);const t=e.closest(".comment-code-cloud").find(".comment-form");t.removeClass("gt-hidden");const i=t.find("textarea");let r=Bu(i);return r||(r=yield el(t.find(".combo-markdown-editor"))),r.focus(),r})}function Y0(){if(window.location.hash&&window.location.hash.startsWith("#issuecomment-")){window.history.scrollRestoration!=="manual"&&(window.history.scrollRestoration="manual");const a=p(window.location.hash);if(a){const u=a.closest('div[id^="code-comments-"]').attr("id");if(u&&u.startsWith("code-comments-")){const b=u.slice(14),w=a.closest(".diff-file-box"),g=w.find(".diff-file-header");let T=30;g[0]&&(T+=p(".diff-detail-box").outerHeight()+g.outerHeight()),p(`#show-outdated-${b}`).addClass("gt-hidden"),p(`#code-comments-${b}`).removeClass("gt-hidden"),p(`#code-preview-${b}`).removeClass("gt-hidden"),p(`#hide-outdated-${b}`).removeClass("gt-hidden"),w.attr("data-folded")&&w.attr("data-folded")==="true"&&Dl(w[0],w.find(".fold-file")[0],!1),window.scrollTo({top:a.offset().top-T,behavior:"instant"})}}}p(document).on("click",".show-outdated",function(a){a.preventDefault();const u=p(this).data("comment");p(this).addClass("gt-hidden"),p(`#code-comments-${u}`).removeClass("gt-hidden"),p(`#code-preview-${u}`).removeClass("gt-hidden"),p(`#hide-outdated-${u}`).removeClass("gt-hidden")}),p(document).on("click",".hide-outdated",function(a){a.preventDefault();const u=p(this).data("comment");p(this).addClass("gt-hidden"),p(`#code-comments-${u}`).addClass("gt-hidden"),p(`#code-preview-${u}`).addClass("gt-hidden"),p(`#show-outdated-${u}`).removeClass("gt-hidden")}),p(document).on("click","button.comment-form-reply",function(a){return yl(this,null,function*(){a.preventDefault(),yield _h(p(this))})});const e=p(".review-box-panel");if(e.length===1){const a=el(e.find(".combo-markdown-editor"))}if(p(".repository.pull.diff").length===0)return;const t=p(".js-btn-review"),i=t.parent().find(".review-box-panel"),r=i.find(".close");if(t.length&&i.length){const a=Ol(t[0],{content:i[0],placement:"bottom",trigger:"click",maxWidth:"none",interactive:!0,hideOnClick:!0});r.on("click",u=>{u.preventDefault(),a.hide()})}p(document).on("click",".add-code-comment",function(a){return yl(this,null,function*(){if(p(a.target).hasClass("btn-add-single"))return;a.preventDefault();const u=p(this).closest(".code-diff").hasClass("code-diff-split"),b=p(this).data("side"),w=p(this).data("idx"),g=p(this).closest("[data-path]").data("path"),T=p(this).closest("tr"),W=T.data("line-type");let Oe=T.next();Oe.hasClass("add-comment")||(Oe=p(`
<tr class="add-comment" data-line-type="${W}">
${u?`
<td class="add-comment-left" colspan="4"></td>
<td class="add-comment-right" colspan="4"></td>
`:`
<td class="add-comment-left add-comment-right" colspan="5"></td>
`}
</tr>`),T.after(Oe));const Ze=Oe.find(`.add-comment-${b}`);if(Ze.find(".comment-code-cloud").length===0&&!Oe.find('button[name="pending_review"]').length){const pt=yield p.get(p(this).closest("[data-new-comment-url]").attr("data-new-comment-url"));Ze.html(pt),Ze.find("input[name='line']").val(w),Ze.find("input[name='side']").val(b==="left"?"previous":"proposed"),Ze.find("input[name='path']").val(g),(yield el(Ze.find(".combo-markdown-editor"))).focus()}})})}function G0(){p(document).on("click",".reference-issue",function(e){const t=p(this),i=p(`#${t.data("target")}`).text(),r=t.data("poster-username"),a=t.data("reference"),u=p(t.data("modal"));u.find('textarea[name="content"]').val(`${i}
_Originally posted by @${r} in ${a}_`),u.modal("show"),e.preventDefault()})}function X0(){p(".toggle-wip a, .toggle-wip button").on("click",e=>yl(this,null,function*(){e.preventDefault();const t=e.currentTarget.closest(".toggle-wip"),i=t.getAttribute("data-title"),r=t.getAttribute("data-wip-prefix"),a=t.getAttribute("data-update-url");yield p.post(a,{_csrf:tl,title:i!=null&&i.startsWith(r)?i.slice(r.length).trim():`${r.trim()} ${i}`}),window.location.reload()}))}function J0(){const e=p("#issue-title"),t=p("#edit-title-input input"),i=function(){return N(e),N(p(".not-in-edit")),N(p("#edit-title-input")),N(p("#pull-desc")),N(p("#pull-desc-edit")),N(p(".in-edit")),N(p(".new-issue-button")),p("#issue-title-wrapper").toggleClass("edit-active"),t[0].focus(),t[0].select(),!1};p("#edit-title").on("click",i),p("#cancel-edit-title").on("click",i),p("#save-edit-title").on("click",i).on("click",function(){const r=function(u){const b=p("#pull-target-branch").data("branch"),w=p("#branch_target");if(b===w.text())return window.location.reload(),!1;p.post(u,{_csrf:tl,target_branch:b}).always(()=>{window.location.reload()})},a=p(this).attr("data-target-update-url");return t.val().length===0||t.val()===e.text()?(t.val(e.text()),r(a)):p.post(p(this).attr("data-update-url"),{_csrf:tl,title:t.val()},u=>{t.val(u.title),e.text(u.title),a?r(a):window.location.reload()}),!1})}function Q0(){const e=function(){const t=p("#pull-target-branch"),i=t.data("basename"),r=p(this).data("branch"),a=t.data("branch");t.html(t.html().replace(`${i}:${a}`,`${i}:${r}`)),t.data("branch",r)};p("#branch-select > .item").on("click",e)}function eb(e){const t={},i=p("#status-button");i.length&&(t.onContentChanged=r=>{i.text(i.attr(r.value().trim()?"data-status-and-comment":"data-status"))}),el(e.find(".combo-markdown-editor"),t)}function tb(e){const t=e.find(".combo-editor-dropzone"),i=r=>yl(this,null,function*(){const a=r.find(".form-field-dropzone"),u=r.find(".form-field-real"),b=r.find(".combo-markdown-editor"),w=yield el(b,{onContentChanged:g=>{u.val(g.value())}});u.on("focus",()=>yl(this,null,function*(){X(e.find(".combo-editor-dropzone .form-field-real")),pe(e.find(".combo-editor-dropzone .combo-markdown-editor")),pe(e.find(".combo-editor-dropzone .form-field-dropzone")),pe(u),X(b),X(a),yield w.switchToUserPreference(),w.focus()}))});for(const r of t)i(p(r))}function ib(){if(document.querySelector(".archived-label-hint"))for(const e of document.querySelectorAll("[data-is-archived]"))N(e,e.classList.contains("checked"))}const{csrfToken:wh}=window.config;function nb(){p(".js-toggle-commit-body").on("click",function(e){e.preventDefault();const t=p(this).attr("aria-expanded")==="true";N(p(this).parent().find(".commit-body")),p(this).attr("aria-expanded",String(!t))})}function rb(){const e={},t=p("table#repo-files-table tr.notready").map((r,a)=>(e[p(a).attr("data-entryname")]=p(a),p(a).attr("data-entryname"))).get();if(t.length===0)return;const i=p("table#repo-files-table").data("lastCommitLoaderUrl");if(t.length>200){p.post(i,{_csrf:wh},r=>{p("table#repo-files-table").replaceWith(r)});return}p.post(i,{_csrf:wh,f:t},r=>{p(r).find("tr").each((a,u)=>{if(u.className==="commit-list"){p("table#repo-files-table .commit-list").replaceWith(u);return}const b=p(u).attr("data-entryname");b&&e[b].replaceWith(u)})})}function sb(){p('[data-tippy="commit-statuses"]').each(function(){const e=p(".repository.file.list").length>0||p(".repository.diff").length>0;Ol(this,{content:this.nextElementSibling,placement:e?"top-start":"bottom-start",interactive:!0,role:"dialog"})})}const{appSubUrl:xh,csrfToken:ob}=window.config;function ab(){const e=p("#manage_topic");if(!e.length)return;const t=p("#topic_edit"),i=p("#repo-topics"),r=p("#save_topic"),a=p("#topic_edit .dropdown"),u=t,b=a.find("input.search"),w={countPrompt:a.attr("data-text-count-prompt"),formatPrompt:a.attr("data-text-format-prompt")};e.on("click",()=>{pe(i),X(t),b.focus()}),p("#cancel_topic_edit").on("click",()=>{pe(t),X(i),e.focus()}),r.on("click",()=>{const g=p("input[name=topics]").val();p.post(r.attr("data-link"),{_csrf:ob,topics:g},(T,W,Oe)=>{if(Oe.responseJSON.status==="ok"){if(i.children(".topic").remove(),g.length){const Ze=g.split(",");Ze.sort();for(let ot=0;ot<Ze.length;ot++){const pt=p('<a class="ui repo-topic large label topic"></a>');pt.attr("href",`${xh}/explore/repos?q=${encodeURIComponent(Ze[ot])}&topic=1`),pt.text(Ze[ot]),pt.insertBefore(e)}}pe(t),X(i)}}).fail(T=>{if(T.status===422)if(T.responseJSON.invalidTopics.length>0){w.formatPrompt=T.responseJSON.message;const{invalidTopics:W}=T.responseJSON,Oe=a.children("a.ui.label");for(const[Ze,ot]of g.split(",").entries())for(let pt=0;pt<W.length;pt++)W[pt]===ot&&Oe.eq(Ze).removeClass("green").addClass("red")}else w.countPrompt=T.responseJSON.message}).always(()=>{u.form("validate form")})}),a.dropdown({allowAdditions:!0,forceSelection:!1,fullTextSearch:"exact",fields:{name:"description",value:"data-value"},saveRemoteData:!1,label:{transition:"horizontal flip",duration:200,variation:!1},apiSettings:{url:`${xh}/explore/topics/search?q={query}`,throttle:500,cache:!1,onResponse(g){const T={success:!1,results:[]},W=ns(this.urlData.query.trim());let Oe=!1;const Ze=[];if(a.find("a.label.visible").each((ot,pt)=>{Ze.push(pt.getAttribute("data-value"))}),g.topics){let ot=!1;for(let pt=0;pt<g.topics.length;pt++)Ze.includes(g.topics[pt].topic_name)||(g.topics[pt].topic_name.toLowerCase()===W.toLowerCase()&&(Oe=!0),T.results.push({description:g.topics[pt].topic_name,"data-value":g.topics[pt].topic_name}),ot=!0);T.success=ot}return W.length>0&&!Oe?(T.success=!0,T.results.unshift({description:W,"data-value":W})):W.length>0&&Oe&&T.results.sort((ot,pt)=>ot.description.toLowerCase()===W.toLowerCase()?-1:pt.description.toLowerCase()===W.toLowerCase()?1:ot.description>pt.description?-1:ot.description<pt.description?1:0),T}},onLabelCreate(g){return g=g.toLowerCase().trim(),this.attr("data-value",g).contents().first().replaceWith(g),p(this)},onAdd(g,T,W){g=g.toLowerCase().trim(),p(W).attr("data-value",g),p(W).attr("data-text",g)}}),p.fn.form.settings.rules.validateTopic=function(g,T){const W=a.children("a.ui.label"),Oe=W.length===0||W.last().attr("data-value").match(T);return Oe||W.last().removeClass("green").addClass("red"),Oe&&a.children("a.ui.label.red").length===0},u.form({on:"change",inline:!0,fields:{topics:{identifier:"topics",rules:[{type:"validateTopic",value:/^\s*[a-z0-9][-.a-z0-9]{0,35}\s*$/,prompt:w.formatPrompt},{type:"maxCount[25]",prompt:w.countPrompt}]}}})}function lb(){function e(t){const i=p(this);p("#form-uid").val(i.data("uid")),p("#form-email").val(i.data("email")),p("#form-primary").val(i.data("primary")),p("#form-activate").val(i.data("activate")),p("#change-email-modal").modal("show"),t.preventDefault()}p(".link-email-action").on("click",e)}const{csrfToken:cb}=window.config;function ub(){if(p(".page-content.admin").length===0)return;_d(),(p(".admin.new.user").length>0||p(".admin.edit.user").length>0)&&p("#login_type").on("change",function(){p(this).val().substring(0,1)==="0"?(p("#user_name").removeAttr("disabled"),p("#login_name").removeAttr("required"),pe(p(".non-local")),X(p(".local")),p("#user_name").trigger("focus"),p(this).data("password")==="required"&&p("#password").attr("required","required")):(p(".admin.edit.user").length>0&&p("#user_name").attr("disabled","disabled"),p("#login_name").attr("required","required"),X(p(".non-local")),pe(p(".local")),p("#login_name").trigger("focus"),p("#password").removeAttr("required"))});function e(){p("#security_protocol").val()>0?X(p(".has-tls")):pe(p(".has-tls"))}function t(){p("#use_paged_search").prop("checked")?(X(".search-page-size"),p(".search-page-size").find("input").attr("required","required")):(pe(".search-page-size"),p(".search-page-size").find("input").removeAttr("required"))}function i(u){pe(p(".open_id_connect_auto_discovery_url, .oauth2_use_custom_url")),p(".open_id_connect_auto_discovery_url input[required]").removeAttr("required");const b=p("#oauth2_provider").val();switch(b){case"openidConnect":p(".open_id_connect_auto_discovery_url input").attr("required","required"),X(p(".open_id_connect_auto_discovery_url"));break;default:p(`#${b}_customURLSettings`).data("required")&&p("#oauth2_use_custom_url").attr("checked","checked"),p(`#${b}_customURLSettings`).data("available")&&X(p(".oauth2_use_custom_url"))}r(u)}function r(u){const b=p("#oauth2_provider").val();if(pe(p(".oauth2_use_custom_url_field")),p(".oauth2_use_custom_url_field input[required]").removeAttr("required"),p("#oauth2_use_custom_url").is(":checked"))for(const w of["token_url","auth_url","profile_url","email_url","tenant"])u&&p(`#oauth2_${w}`).val(p(`#${b}_${w}`).val()),p(`#${b}_${w}`).data("available")&&(p(`.oauth2_${w} input`).attr("required","required"),X(p(`.oauth2_${w}`)))}function a(){N(p("#ldap-group-options"),p(".js-ldap-group-toggle").is(":checked"))}if(p(".admin.new.authentication").length>0&&(p("#auth_type").on("change",function(){pe(p(".ldap, .dldap, .smtp, .pam, .oauth2, .has-tls, .search-page-size, .sspi")),p(".ldap input[required], .binddnrequired input[required], .dldap input[required], .smtp input[required], .pam input[required], .oauth2 input[required], .has-tls input[required], .sspi input[required]").removeAttr("required"),p(".binddnrequired").removeClass("required");const u=p(this).val();switch(u){case"2":X(p(".ldap")),p(".binddnrequired input, .ldap div.required:not(.dldap) input").attr("required","required"),p(".binddnrequired").addClass("required");break;case"3":X(p(".smtp")),X(p(".has-tls")),p(".smtp div.required input, .has-tls").attr("required","required");break;case"4":X(p(".pam")),p(".pam input").attr("required","required");break;case"5":X(p(".dldap")),p(".dldap div.required:not(.ldap) input").attr("required","required");break;case"6":X(p(".oauth2")),p(".oauth2 div.required:not(.oauth2_use_custom_url,.oauth2_use_custom_url_field,.open_id_connect_auto_discovery_url) input").attr("required","required"),i(!0);break;case"7":X(p(".sspi")),p(".sspi div.required input").attr("required","required");break}(u==="2"||u==="5")&&(e(),a()),u==="2"&&t()}),p("#auth_type").trigger("change"),p("#security_protocol").on("change",e),p("#use_paged_search").on("change",t),p("#oauth2_provider").on("change",()=>i(!0)),p("#oauth2_use_custom_url").on("change",()=>r(!0)),p(".js-ldap-group-toggle").on("change",a)),p(".admin.edit.authentication").length>0){const u=p("#auth_type").val();u==="2"||u==="5"?(p("#security_protocol").on("change",e),p(".js-ldap-group-toggle").on("change",a),a(),u==="2"&&p("#use_paged_search").on("change",t)):u==="6"&&(p("#oauth2_provider").on("change",()=>i(!0)),p("#oauth2_use_custom_url").on("change",()=>r(!1)),i(!1))}if(p(".admin.authentication").length>0&&p("#auth_name").on("input",function(){p("#oauth2-callback-url").text(`${window.location.origin}/user/oauth2/${encodeURIComponent(p(this).val())}/callback`)}).trigger("input"),p(".admin.notice")){const u=p("#detail-modal");p(".view-detail").on("click",function(){return u.find(".content pre").text(p(this).parents("tr").find(".notice-description").text()),u.find(".sub.header").text(p(this).parents("tr").find("relative-time").attr("title")),u.modal("show"),!1});const b=p(".select.table .ui.checkbox");p(".select.action").on("click",function(){switch(p(this).data("action")){case"select-all":b.checkbox("check");break;case"deselect-all":b.checkbox("uncheck");break;case"inverse":b.checkbox("toggle");break}}),p("#delete-selection").on("click",function(w){w.preventDefault();const g=p(this);g.addClass("loading disabled");const T=[];b.each(function(){p(this).checkbox("is checked")&&T.push(p(this).data("id"))}),p.post(g.data("link"),{_csrf:cb,ids:T}).done(()=>{window.location.href=g.data("redirect")})})}}const{appSubUrl:fb}=window.config;function db(){const e=p("#repo_template"),t=function(){const r=p("#template_units"),a=p("#non_template");e.val()!==""&&e.val()!=="0"?(X(r),pe(a)):(pe(r),X(a))};e.on("change",t),t();const i=function(){p("#repo_template_search").dropdown({apiSettings:{url:`${fb}/repo/search?q={query}&template=true&priority_owner_id=${p("#uid").val()}`,onResponse(r){const a={success:!0,results:[]};return a.results.push({name:"",value:""}),p.each(r.data,(u,b)=>{a.results.push({name:Os(b.repository.full_name),value:b.repository.id})}),a},cache:!1},fullTextSearch:!0})};p("#uid").on("change",i),i()}var jh=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const hb=/^#(L|n)([1-9][0-9]*)$/,pb=/^#(L[1-9][0-9]*)-(L[1-9][0-9]*)$/;function Sh(e){window.history.pushState?window.history.pushState(null,null,e):window.location.hash=e}function Hu(e,t,i){e.removeClass("active");const r=p("a.ref-in-new-issue"),a=p("a.copy-line-permalink"),u=p("a.view_git_blame"),b=function(T){if(r.length===0)return;const W=r.attr("data-url-issue-new"),Oe=r.attr("data-url-param-body-link"),Ze=`${Bt(Oe)}#${T}`;r.attr("href",`${W}?body=${encodeURIComponent(Ze)}`)},w=function(T){if(u.length===0)return;let W=u.attr("href");W=`${W.replace(/#L\d+$|#L\d+-L\d+$/,"")}`,T.length!==0&&(W=`${W}#${T}`),u.attr("href",W)},g=function(T){if(a.length===0)return;let W=a.attr("data-url");W=`${W.replace(/#L\d+$|#L\d+-L\d+$/,"")}#${T}`,a.attr("data-url",W)};if(i){let T=parseInt(t.attr("rel").slice(1)),W=parseInt(i.attr("rel").slice(1)),Oe;if(T!==W){T>W&&(Oe=T,T=W,W=Oe);const Ze=[];for(let ot=T;ot<=W;ot++)Ze.push(`[rel=L${ot}]`);e.filter(Ze.join(",")).addClass("active"),Sh(`#L${T}-L${W}`),b(`L${T}-L${W}`),w(`L${T}-L${W}`),g(`L${T}-L${W}`);return}}t.addClass("active"),Sh(`#${t.attr("rel")}`),b(t.attr("rel")),w(t.attr("rel")),g(t.attr("rel"))}function Vu(){const e=document.querySelector(".code-line-menu");if(!e)return;for(const a of document.querySelectorAll(".code-line-button"))a.remove();const i=document.querySelector(".code-view td.lines-code.active").closest("tr").querySelector("td"),r=document.createElement("button");r.classList.add("code-line-button"),r.innerHTML=Ht("octicon-kebab-horizontal"),i.prepend(r),r.closest(".code-view").append(e.cloneNode(!0)),Ol(r,{trigger:"click",hideOnClick:!0,content:e,placement:"right-start",interactive:!0,onShow:a=>{a.popper.addEventListener("click",()=>{a.hide()},{once:!0})}})}function mb(){p(".code-view .lines-num").length>0&&(p(document).on("click",".lines-num span",function(e){const t=p(this);let i;p("div.blame").length?i=p(".code-view td.lines-code.blame-code"):i=p(".code-view td.lines-code"),Hu(i,i.filter(`[rel=${t.attr("id")}]`),e.shiftKey?i.filter(".active").eq(0):null),window.getSelection?window.getSelection().removeAllRanges():document.selection.empty(),p("div.blame").length===0&&Vu()}),p(window).on("hashchange",()=>{let e=window.location.hash.match(pb),t;p("div.blame").length?t=p(".code-view td.lines-code.blame-code"):t=p(".code-view td.lines-code");let i;if(e&&(i=t.filter(`[rel=${e[1]}]`),i.length)){Hu(t,i,t.filter(`[rel=${e[2]}]`)),p("div.blame").length===0&&Vu(),p("html, body").scrollTop(i.offset().top-200);return}e=window.location.hash.match(hb),e&&(i=t.filter(`[rel=L${e[2]}]`),i.length&&(Hu(t,i),p("div.blame").length===0&&Vu(),p("html, body").scrollTop(i.offset().top-200)))}).trigger("hashchange")),p(document).on("click",".fold-file",({currentTarget:e})=>{kv(e.closest(".file-content"),e)}),p(document).on("click",".code-expander-button",e=>jh(this,[e],function*({currentTarget:t}){const i=t.getAttribute("data-url"),r=t.getAttribute("data-query"),a=t.getAttribute("data-anchor");if(!i)return;const u=yield p.get(`${i}?${r}&anchor=${a}`);t.closest("tr").outerHTML=u})),p(document).on("click",".copy-line-permalink",e=>jh(this,null,function*(){yield Kl(Bt(e.currentTarget.getAttribute("data-url")))}))}function gb(){p("#ssh-key-content").on("change paste keyup",function(){const e=p(this).val().split(" "),t=p("#ssh-key-title");t.val()===""&&e.length===3&&e[2]!==""&&t.val(e[2])})}function vb(){p(".user.settings.profile").length>0&&p("#username").on("keyup",function(){const e=p("#name-change-prompt"),t=p("#name-change-redirect-prompt");p(this).val().toString().toLowerCase()!==p(this).data("name").toString().toLowerCase()?(X(e),X(t)):(pe(e),pe(t))})}const{csrfToken:bb}=window.config;function Ch(e,t,i){p.ajax({url:t,type:"POST",data:{_csrf:bb},complete(r){if(r.status===200){if(!r.responseJSON){e.closest(".dropdown").children("i").removeClass("loading");return}r.responseJSON.complete?(e.closest(".dropdown").children("i").removeClass("loading"),window.location.href=t):(e.closest(".dropdown").children("i").addClass("loading"),setTimeout(()=>{Ch(e,t,!1)},i?750:2e3))}}})}function yb(){p(".archive-link").on("click",function(e){e.preventDefault();const t=p(this).attr("href");t&&Ch(p(e.target),t,!0)})}function _b(){const e=p("#repo-clone-ssh"),t=p("#repo-clone-https"),i=p("#repo-clone-url");!e.length&&!t.length||!i.length||(e.on("click",()=>{localStorage.setItem("repo-clone-protocol","ssh"),window.updateCloneStates()}),t.on("click",()=>{localStorage.setItem("repo-clone-protocol","https"),window.updateCloneStates()}),i.on("focus",()=>{i.trigger("select")}))}function wb(e){p(e).each(function(){const t=p(this);t.find(".reference.column").on("click",function(){return pe(t.find(".scrolling.reference-list-menu")),X(p(p(this).data("target"))),!1})})}function xb(e){const t=p(e);t.dropdown({fullTextSearch:"exact",selectOnKeydown:!1,onChange(i,r,a){a.attr("data-url")&&(window.location.href=a.attr("data-url"))},message:{noResults:t.attr("data-no-results")}})}var Uu=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{appSubUrl:jb}=window.config;function Sb(){const e=p("#repo_migrating");if(!e.length)return;p("#repo_migrating_retry").on("click",Cb);const t=e.attr("data-migrating-task-id"),i=()=>Uu(this,null,function*(){const a=yield zr(`${jb}/user/task/${t}`);if(a.status!==200)return!0;const u=yield a.json();return u.message&&p("#repo_migrating_progress_message").text(u.message),u.status===4?(window.location.reload(),!1):u.status===3?(pe("#repo_migrating_progress"),pe("#repo_migrating"),X("#repo_migrating_retry"),X("#repo_migrating_failed"),X("#repo_migrating_failed_image"),p("#repo_migrating_failed_error").text(u.message),!1):!0}),r=()=>Uu(this,null,function*(){let a=!0;try{a=yield i()}finally{a&&setTimeout(r,2e3)}});r()}function Cb(e){return Uu(this,null,function*(){yield Or(p(e.target).attr("data-migrating-task-retry-url")),window.location.reload()})}var Tb=St("./node_modules/brace-expansion/index.js");const Eb=1024*64,Nc=e=>{if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>Eb)throw new TypeError("pattern is too long")},kb={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},ec=e=>e.replace(/[[\]\\-]/g,"\\$&"),Ab=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Th=e=>e.join(""),Ob=(e,t)=>{const i=t;if(e.charAt(i)!=="[")throw new Error("not in a brace expression");const r=[],a=[];let u=i+1,b=!1,w=!1,g=!1,T=!1,W=i,Oe="";e:for(;u<e.length;){const lt=e.charAt(u);if((lt==="!"||lt==="^")&&u===i+1){T=!0,u++;continue}if(lt==="]"&&b&&!g){W=u+1;break}if(b=!0,lt==="\\"&&!g){g=!0,u++;continue}if(lt==="["&&!g){for(const[Dt,[Et,ti,Ri]]of Object.entries(kb))if(e.startsWith(Dt,u)){if(Oe)return["$.",!1,e.length-i,!0];u+=Dt.length,Ri?a.push(Et):r.push(Et),w=w||ti;continue e}}if(g=!1,Oe){lt>Oe?r.push(ec(Oe)+"-"+ec(lt)):lt===Oe&&r.push(ec(lt)),Oe="",u++;continue}if(e.startsWith("-]",u+1)){r.push(ec(lt+"-")),u+=2;continue}if(e.startsWith("-",u+1)){Oe=lt,u+=2;continue}r.push(ec(lt)),u++}if(W<u)return["",!1,0,!1];if(!r.length&&!a.length)return["$.",!1,e.length-i,!0];if(a.length===0&&r.length===1&&/^\\?.$/.test(r[0])&&!T){const lt=r[0].length===2?r[0].slice(-1):r[0];return[Ab(lt),!1,W-i,!1]}const Ze="["+(T?"^":"")+Th(r)+"]",ot="["+(T?"":"^")+Th(a)+"]";return[r.length&&a.length?"("+Ze+"|"+ot+")":r.length?Ze:ot,w,W-i,!0]},tc=(e,{windowsPathsNoEscape:t=!1}={})=>t?e.replace(/\[([^\/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),Rb=new Set(["!","?","+","*","@"]),Eh=e=>Rb.has(e),Pb="(?!(?:^|/)\\.\\.?(?:$|/))",Bc="(?!\\.)",Db=new Set(["[","."]),Mb=new Set(["..","."]),Lb=new Set("().*{}+?[]^$\\!"),Ib=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),$u="[^/]",kh=$u+"*?",Ah=$u+"+?",oo=class oo{constructor(t,i,r={}){ao(this,Xc);ao(this,ac);Ms(this,"type");ao(this,Rs,void 0);ao(this,Fs,void 0);ao(this,Ha,!1);ao(this,Gr,[]);ao(this,xs,void 0);ao(this,il,void 0);ao(this,_l,void 0);ao(this,nl,!1);ao(this,Va,void 0);ao(this,wl,void 0);ao(this,oc,!1);this.type=t,t&&gs(this,Fs,!0),gs(this,xs,i),gs(this,Rs,ui(this,xs)?ui(ui(this,xs),Rs):this),gs(this,Va,ui(this,Rs)===this?r:ui(ui(this,Rs),Va)),gs(this,_l,ui(this,Rs)===this?[]:ui(ui(this,Rs),_l)),t==="!"&&!ui(ui(this,Rs),nl)&&ui(this,_l).push(this),gs(this,il,ui(this,xs)?ui(ui(this,xs),Gr).length:0)}get hasMagic(){if(ui(this,Fs)!==void 0)return ui(this,Fs);for(const t of ui(this,Gr))if(typeof t!="string"&&(t.type||t.hasMagic))return gs(this,Fs,!0);return ui(this,Fs)}toString(){return ui(this,wl)!==void 0?ui(this,wl):this.type?gs(this,wl,this.type+"("+ui(this,Gr).map(t=>String(t)).join("|")+")"):gs(this,wl,ui(this,Gr).map(t=>String(t)).join(""))}push(...t){for(const i of t)if(i!==""){if(typeof i!="string"&&!(i instanceof oo&&ui(i,xs)===this))throw new Error("invalid part: "+i);ui(this,Gr).push(i)}}toJSON(){var i;const t=this.type===null?ui(this,Gr).slice().map(r=>typeof r=="string"?r:r.toJSON()):[this.type,...ui(this,Gr).map(r=>r.toJSON())];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===ui(this,Rs)||ui(ui(this,Rs),nl)&&((i=ui(this,xs))==null?void 0:i.type)==="!")&&t.push({}),t}isStart(){var i;if(ui(this,Rs)===this)return!0;if(!((i=ui(this,xs))!=null&&i.isStart()))return!1;if(ui(this,il)===0)return!0;const t=ui(this,xs);for(let r=0;r<ui(this,il);r++){const a=ui(t,Gr)[r];if(!(a instanceof oo&&a.type==="!"))return!1}return!0}isEnd(){var i,r,a;if(ui(this,Rs)===this||((i=ui(this,xs))==null?void 0:i.type)==="!")return!0;if(!((r=ui(this,xs))!=null&&r.isEnd()))return!1;if(!this.type)return(a=ui(this,xs))==null?void 0:a.isEnd();const t=ui(this,xs)?ui(ui(this,xs),Gr).length:0;return ui(this,il)===t-1}copyIn(t){typeof t=="string"?this.push(t):this.push(t.clone(this))}clone(t){const i=new oo(this.type,t);for(const r of ui(this,Gr))i.copyIn(r);return i}static fromGlob(t,i={}){var a;const r=new oo(null,void 0,i);return ol(a=oo,Nl,fu).call(a,t,r,0,i),r}toMMPattern(){if(this!==ui(this,Rs))return ui(this,Rs).toMMPattern();const t=this.toString(),[i,r,a,u]=this.toRegExpSource();if(!(a||ui(this,Fs)||ui(this,Va).nocase&&!ui(this,Va).nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return r;const w=(ui(this,Va).nocase?"i":"")+(u?"u":"");return Object.assign(new RegExp(`^${i}$`,w),{_src:i,_glob:t})}toRegExpSource(t){var g;const i=t!=null?t:!!ui(this,Va).dot;if(ui(this,Rs)===this&&ol(this,Xc,xp).call(this),!this.type){const T=this.isStart()&&this.isEnd(),W=ui(this,Gr).map(pt=>{var Ri;const[lt,Dt,Et,ti]=typeof pt=="string"?ol(Ri=oo,Jc,jp).call(Ri,pt,ui(this,Fs),T):pt.toRegExpSource(t);return gs(this,Fs,ui(this,Fs)||Et),gs(this,Ha,ui(this,Ha)||ti),lt}).join("");let Oe="";if(this.isStart()&&typeof ui(this,Gr)[0]=="string"&&!(ui(this,Gr).length===1&&Mb.has(ui(this,Gr)[0]))){const lt=Db,Dt=i&&lt.has(W.charAt(0))||W.startsWith("\\.")&&lt.has(W.charAt(2))||W.startsWith("\\.\\.")&&lt.has(W.charAt(4)),Et=!i&&!t&&lt.has(W.charAt(0));Oe=Dt?Pb:Et?Bc:""}let Ze="";return this.isEnd()&&ui(ui(this,Rs),nl)&&((g=ui(this,xs))==null?void 0:g.type)==="!"&&(Ze="(?:$|\\/)"),[Oe+W+Ze,tc(W),gs(this,Fs,!!ui(this,Fs)),ui(this,Ha)]}const r=this.type==="*"||this.type==="+",a=this.type==="!"?"(?:(?!(?:":"(?:";let u=ol(this,ac,sf).call(this,i);if(this.isStart()&&this.isEnd()&&!u&&this.type!=="!"){const T=this.toString();return gs(this,Gr,[T]),this.type=null,gs(this,Fs,void 0),[T,tc(this.toString()),!1,!1]}let b=!r||t||i||!Bc?"":ol(this,ac,sf).call(this,!0);b===u&&(b=""),b&&(u=`(?:${u})(?:${b})*?`);let w="";if(this.type==="!"&&ui(this,oc))w=(this.isStart()&&!i?Bc:"")+Ah;else{const T=this.type==="!"?"))"+(this.isStart()&&!i&&!t?Bc:"")+kh+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&b?")":this.type==="*"&&b?")?":`)${this.type}`;w=a+u+T}return[w,tc(u),gs(this,Fs,!!ui(this,Fs)),ui(this,Ha)]}};Rs=new WeakMap,Fs=new WeakMap,Ha=new WeakMap,Gr=new WeakMap,xs=new WeakMap,il=new WeakMap,_l=new WeakMap,nl=new WeakMap,Va=new WeakMap,wl=new WeakMap,oc=new WeakMap,Xc=new WeakSet,xp=function(){if(this!==ui(this,Rs))throw new Error("should only call on root");if(ui(this,nl))return this;this.toString(),gs(this,nl,!0);let t;for(;t=ui(this,_l).pop();){if(t.type!=="!")continue;let i=t,r=ui(i,xs);for(;r;){for(let a=ui(i,il)+1;!r.type&&a<ui(r,Gr).length;a++)for(const u of ui(t,Gr)){if(typeof u=="string")throw new Error("string part in extglob AST??");u.copyIn(ui(r,Gr)[a])}i=r,r=ui(i,xs)}}return this},Nl=new WeakSet,fu=function(t,i,r,a){var ot,pt;let u=!1,b=!1,w=-1,g=!1;if(i.type===null){let lt=r,Dt="";for(;lt<t.length;){const Et=t.charAt(lt++);if(u||Et==="\\"){u=!u,Dt+=Et;continue}if(b){lt===w+1?(Et==="^"||Et==="!")&&(g=!0):Et==="]"&&!(lt===w+2&&g)&&(b=!1),Dt+=Et;continue}else if(Et==="["){b=!0,w=lt,g=!1,Dt+=Et;continue}if(!a.noext&&Eh(Et)&&t.charAt(lt)==="("){i.push(Dt),Dt="";const ti=new oo(Et,i);lt=ol(ot=oo,Nl,fu).call(ot,t,ti,lt,a),i.push(ti);continue}Dt+=Et}return i.push(Dt),lt}let T=r+1,W=new oo(null,i);const Oe=[];let Ze="";for(;T<t.length;){const lt=t.charAt(T++);if(u||lt==="\\"){u=!u,Ze+=lt;continue}if(b){T===w+1?(lt==="^"||lt==="!")&&(g=!0):lt==="]"&&!(T===w+2&&g)&&(b=!1),Ze+=lt;continue}else if(lt==="["){b=!0,w=T,g=!1,Ze+=lt;continue}if(Eh(lt)&&t.charAt(T)==="("){W.push(Ze),Ze="";const Dt=new oo(lt,W);W.push(Dt),T=ol(pt=oo,Nl,fu).call(pt,t,Dt,T,a);continue}if(lt==="|"){W.push(Ze),Ze="",Oe.push(W),W=new oo(null,i);continue}if(lt===")")return Ze===""&&ui(i,Gr).length===0&&gs(i,oc,!0),W.push(Ze),Ze="",i.push(...Oe,W),T;Ze+=lt}return i.type=null,gs(i,Fs,void 0),gs(i,Gr,[t.substring(r-1)]),T},ac=new WeakSet,sf=function(t){return ui(this,Gr).map(i=>{if(typeof i=="string")throw new Error("string type in extglob ast??");const[r,a,u,b]=i.toRegExpSource(t);return gs(this,Ha,ui(this,Ha)||b),r}).filter(i=>!(this.isStart()&&this.isEnd())||!!i).join("|")},Jc=new WeakSet,jp=function(t,i,r=!1){let a=!1,u="",b=!1;for(let w=0;w<t.length;w++){const g=t.charAt(w);if(a){a=!1,u+=(Lb.has(g)?"\\":"")+g;continue}if(g==="\\"){w===t.length-1?u+="\\\\":a=!0;continue}if(g==="["){const[T,W,Oe,Ze]=Ob(t,w);if(Oe){u+=T,b=b||W,w+=Oe-1,i=i||Ze;continue}}if(g==="*"){r&&t==="*"?u+=Ah:u+=kh,i=!0;continue}if(g==="?"){u+=$u,i=!0;continue}u+=Ib(g)}return[u,tc(t),!!i,b]},ao(oo,Nl),ao(oo,Jc);let Hc=oo;const Fb=(e,{windowsPathsNoEscape:t=!1}={})=>t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&"),so=(e,t,i={})=>(Nc(t),!i.nocomment&&t.charAt(0)==="#"?!1:new Vc(t,i).match(e)),Nb=/^\*+([^+@!?\*\[\(]*)$/,Bb=e=>t=>!t.startsWith(".")&&t.endsWith(e),Hb=e=>t=>t.endsWith(e),Vb=e=>(e=e.toLowerCase(),t=>!t.startsWith(".")&&t.toLowerCase().endsWith(e)),Ub=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),$b=/^\*+\.\*+$/,Wb=e=>!e.startsWith(".")&&e.includes("."),zb=e=>e!=="."&&e!==".."&&e.includes("."),qb=/^\.\*+$/,Kb=e=>e!=="."&&e!==".."&&e.startsWith("."),Zb=/^\*+$/,Yb=e=>e.length!==0&&!e.startsWith("."),Gb=e=>e.length!==0&&e!=="."&&e!=="..",Xb=/^\?+([^+@!?\*\[\(]*)?$/,Jb=([e,t=""])=>{const i=Oh([e]);return t?(t=t.toLowerCase(),r=>i(r)&&r.toLowerCase().endsWith(t)):i},Qb=([e,t=""])=>{const i=Rh([e]);return t?(t=t.toLowerCase(),r=>i(r)&&r.toLowerCase().endsWith(t)):i},ey=([e,t=""])=>{const i=Rh([e]);return t?r=>i(r)&&r.endsWith(t):i},ty=([e,t=""])=>{const i=Oh([e]);return t?r=>i(r)&&r.endsWith(t):i},Oh=([e])=>{const t=e.length;return i=>i.length===t&&!i.startsWith(".")},Rh=([e])=>{const t=e.length;return i=>i.length===t&&i!=="."&&i!==".."},Ph=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",Dh={win32:{sep:"\\"},posix:{sep:"/"}},iy=Ph==="win32"?Dh.win32.sep:Dh.posix.sep;so.sep=iy;const na=Symbol("globstar **");so.GLOBSTAR=na;const ny="[^/]"+"*?",ry="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",sy="(?:(?!(?:\\/|^)\\.).)*?",oy=(e,t={})=>i=>so(i,e,t);so.filter=oy;const ra=(e,t={})=>Object.assign({},e,t),ay=e=>{if(!e||typeof e!="object"||!Object.keys(e).length)return so;const t=so;return Object.assign((r,a,u={})=>t(r,a,ra(e,u)),{Minimatch:class extends t.Minimatch{constructor(a,u={}){super(a,ra(e,u))}static defaults(a){return t.defaults(ra(e,a)).Minimatch}},AST:class extends t.AST{constructor(a,u,b={}){super(a,u,ra(e,b))}static fromGlob(a,u={}){return t.AST.fromGlob(a,ra(e,u))}},unescape:(r,a={})=>t.unescape(r,ra(e,a)),escape:(r,a={})=>t.escape(r,ra(e,a)),filter:(r,a={})=>t.filter(r,ra(e,a)),defaults:r=>t.defaults(ra(e,r)),makeRe:(r,a={})=>t.makeRe(r,ra(e,a)),braceExpand:(r,a={})=>t.braceExpand(r,ra(e,a)),match:(r,a,u={})=>t.match(r,a,ra(e,u)),sep:t.sep,GLOBSTAR:na})};so.defaults=ay;const Mh=(e,t={})=>(Nc(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:Tb(e));so.braceExpand=Mh;const ly=(e,t={})=>new Vc(e,t).makeRe();so.makeRe=ly;const cy=(e,t,i={})=>{const r=new Vc(t,i);return e=e.filter(a=>r.match(a)),r.options.nonull&&!e.length&&e.push(t),e};so.match=cy;const Lh=/[?*]|[+@!]\(.*?\)|\[|\]/,uy=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class Vc{constructor(t,i={}){Ms(this,"options");Ms(this,"set");Ms(this,"pattern");Ms(this,"windowsPathsNoEscape");Ms(this,"nonegate");Ms(this,"negate");Ms(this,"comment");Ms(this,"empty");Ms(this,"preserveMultipleSlashes");Ms(this,"partial");Ms(this,"globSet");Ms(this,"globParts");Ms(this,"nocase");Ms(this,"isWindows");Ms(this,"platform");Ms(this,"windowsNoMagicRoot");Ms(this,"regexp");Nc(t),i=i||{},this.options=i,this.pattern=t,this.platform=i.platform||Ph,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!i.windowsPathsNoEscape||i.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!i.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!i.nonegate,this.comment=!1,this.empty=!1,this.partial=!!i.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=i.windowsNoMagicRoot!==void 0?i.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const i of t)if(typeof i!="string")return!0;return!1}debug(...t){}make(){const t=this.pattern,i=this.options;if(!i.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],i.debug&&(this.debug=(...u)=>console.error(...u)),this.debug(this.pattern,this.globSet);const r=this.globSet.map(u=>this.slashSplit(u));this.globParts=this.preprocess(r),this.debug(this.pattern,this.globParts);let a=this.globParts.map((u,b,w)=>{if(this.isWindows&&this.windowsNoMagicRoot){const g=u[0]===""&&u[1]===""&&(u[2]==="?"||!Lh.test(u[2]))&&!Lh.test(u[3]),T=/^[a-z]:/i.test(u[0]);if(g)return[...u.slice(0,4),...u.slice(4).map(W=>this.parse(W))];if(T)return[u[0],...u.slice(1).map(W=>this.parse(W))]}return u.map(g=>this.parse(g))});if(this.debug(this.pattern,a),this.set=a.filter(u=>u.indexOf(!1)===-1),this.isWindows)for(let u=0;u<this.set.length;u++){const b=this.set[u];b[0]===""&&b[1]===""&&this.globParts[u][2]==="?"&&typeof b[3]=="string"&&/^[a-z]:$/i.test(b[3])&&(b[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let r=0;r<t.length;r++)for(let a=0;a<t[r].length;a++)t[r][a]==="**"&&(t[r][a]="*");const{optimizationLevel:i=1}=this.options;return i>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):i>=1?t=this.levelOneOptimize(t):t=this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map(i=>{let r=-1;for(;(r=i.indexOf("**",r+1))!==-1;){let a=r;for(;i[a+1]==="**";)a++;a!==r&&i.splice(r,a-r)}return i})}levelOneOptimize(t){return t.map(i=>(i=i.reduce((r,a)=>{const u=r[r.length-1];return a==="**"&&u==="**"?r:a===".."&&u&&u!==".."&&u!=="."&&u!=="**"?(r.pop(),r):(r.push(a),r)},[]),i.length===0?[""]:i))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let i=!1;do{if(i=!1,!this.preserveMultipleSlashes){for(let a=1;a<t.length-1;a++){const u=t[a];a===1&&u===""&&t[0]===""||(u==="."||u==="")&&(i=!0,t.splice(a,1),a--)}t[0]==="."&&t.length===2&&(t[1]==="."||t[1]==="")&&(i=!0,t.pop())}let r=0;for(;(r=t.indexOf("..",r+1))!==-1;){const a=t[r-1];a&&a!=="."&&a!==".."&&a!=="**"&&(i=!0,t.splice(r-1,2),r-=2)}}while(i);return t.length===0?[""]:t}firstPhasePreProcess(t){let i=!1;do{i=!1;for(let r of t){let a=-1;for(;(a=r.indexOf("**",a+1))!==-1;){let b=a;for(;r[b+1]==="**";)b++;b>a&&r.splice(a+1,b-a);let w=r[a+1];const g=r[a+2],T=r[a+3];if(w!==".."||!g||g==="."||g===".."||!T||T==="."||T==="..")continue;i=!0,r.splice(a,1);const W=r.slice(0);W[a]="**",t.push(W),a--}if(!this.preserveMultipleSlashes){for(let b=1;b<r.length-1;b++){const w=r[b];b===1&&w===""&&r[0]===""||(w==="."||w==="")&&(i=!0,r.splice(b,1),b--)}r[0]==="."&&r.length===2&&(r[1]==="."||r[1]==="")&&(i=!0,r.pop())}let u=0;for(;(u=r.indexOf("..",u+1))!==-1;){const b=r[u-1];if(b&&b!=="."&&b!==".."&&b!=="**"){i=!0;const g=u===1&&r[u+1]==="**"?["."]:[];r.splice(u-1,2,...g),r.length===0&&r.push(""),u-=2}}}}while(i);return t}secondPhasePreProcess(t){for(let i=0;i<t.length-1;i++)for(let r=i+1;r<t.length;r++){const a=this.partsMatch(t[i],t[r],!this.preserveMultipleSlashes);a&&(t[i]=a,t[r]=[])}return t.filter(i=>i.length)}partsMatch(t,i,r=!1){let a=0,u=0,b=[],w="";for(;a<t.length&&u<i.length;)if(t[a]===i[u])b.push(w==="b"?i[u]:t[a]),a++,u++;else if(r&&t[a]==="**"&&i[u]===t[a+1])b.push(t[a]),a++;else if(r&&i[u]==="**"&&t[a]===i[u+1])b.push(i[u]),u++;else if(t[a]==="*"&&i[u]&&(this.options.dot||!i[u].startsWith("."))&&i[u]!=="**"){if(w==="b")return!1;w="a",b.push(t[a]),a++,u++}else if(i[u]==="*"&&t[a]&&(this.options.dot||!t[a].startsWith("."))&&t[a]!=="**"){if(w==="a")return!1;w="b",b.push(i[u]),a++,u++}else return!1;return t.length===i.length&&b}parseNegate(){if(this.nonegate)return;const t=this.pattern;let i=!1,r=0;for(let a=0;a<t.length&&t.charAt(a)==="!";a++)i=!i,r++;r&&(this.pattern=t.slice(r)),this.negate=i}matchOne(t,i,r=!1){const a=this.options;if(this.isWindows){const lt=typeof t[0]=="string"&&/^[a-z]:$/i.test(t[0]),Dt=!lt&&t[0]===""&&t[1]===""&&t[2]==="?"&&/^[a-z]:$/i.test(t[3]),Et=typeof i[0]=="string"&&/^[a-z]:$/i.test(i[0]),ti=!Et&&i[0]===""&&i[1]===""&&i[2]==="?"&&typeof i[3]=="string"&&/^[a-z]:$/i.test(i[3]),Ri=Dt?3:lt?0:void 0,He=ti?3:Et?0:void 0;if(typeof Ri=="number"&&typeof He=="number"){const[si,Gt]=[t[Ri],i[He]];si.toLowerCase()===Gt.toLowerCase()&&(i[He]=si,He>Ri?i=i.slice(He):Ri>He&&(t=t.slice(Ri)))}}const{optimizationLevel:u=1}=this.options;u>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:i}),this.debug("matchOne",t.length,i.length);for(var b=0,w=0,g=t.length,T=i.length;b<g&&w<T;b++,w++){this.debug("matchOne loop");var W=i[w],Oe=t[b];if(this.debug(i,W,Oe),W===!1)return!1;if(W===na){this.debug("GLOBSTAR",[i,W,Oe]);var Ze=b,ot=w+1;if(ot===T){for(this.debug("** at the end");b<g;b++)if(t[b]==="."||t[b]===".."||!a.dot&&t[b].charAt(0)===".")return!1;return!0}for(;Ze<g;){var pt=t[Ze];if(this.debug(`
globstar while`,t,Ze,i,ot,pt),this.matchOne(t.slice(Ze),i.slice(ot),r))return this.debug("globstar found match!",Ze,g,pt),!0;if(pt==="."||pt===".."||!a.dot&&pt.charAt(0)==="."){this.debug("dot detected!",t,Ze,i,ot);break}this.debug("globstar swallow a segment, and continue"),Ze++}return!!(r&&(this.debug(`
>>> no match, partial?`,t,Ze,i,ot),Ze===g))}let lt;if(typeof W=="string"?(lt=Oe===W,this.debug("string match",W,Oe,lt)):(lt=W.test(Oe),this.debug("pattern match",W,Oe,lt)),!lt)return!1}if(b===g&&w===T)return!0;if(b===g)return r;if(w===T)return b===g-1&&t[b]==="";throw new Error("wtf?")}braceExpand(){return Mh(this.pattern,this.options)}parse(t){Nc(t);const i=this.options;if(t==="**")return na;if(t==="")return"";let r,a=null;(r=t.match(Zb))?a=i.dot?Gb:Yb:(r=t.match(Nb))?a=(i.nocase?i.dot?Ub:Vb:i.dot?Hb:Bb)(r[1]):(r=t.match(Xb))?a=(i.nocase?i.dot?Qb:Jb:i.dot?ey:ty)(r):(r=t.match($b))?a=i.dot?zb:Wb:(r=t.match(qb))&&(a=Kb);const u=Hc.fromGlob(t,this.options).toMMPattern();return a?Object.assign(u,{test:a}):u}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const i=this.options,r=i.noglobstar?ny:i.dot?ry:sy,a=new Set(i.nocase?["i"]:[]);let u=t.map(g=>{const T=g.map(W=>{if(W instanceof RegExp)for(const Oe of W.flags.split(""))a.add(Oe);return typeof W=="string"?uy(W):W===na?na:W._src});return T.forEach((W,Oe)=>{const Ze=T[Oe+1],ot=T[Oe-1];W!==na||ot===na||(ot===void 0?Ze!==void 0&&Ze!==na?T[Oe+1]="(?:\\/|"+r+"\\/)?"+Ze:T[Oe]=r:Ze===void 0?T[Oe-1]=ot+"(?:\\/|"+r+")?":Ze!==na&&(T[Oe-1]=ot+"(?:\\/|\\/"+r+"\\/)"+Ze,T[Oe+1]=na))}),T.filter(W=>W!==na).join("/")}).join("|");const[b,w]=t.length>1?["(?:",")"]:["",""];u="^"+b+u+w+"$",this.negate&&(u="^(?!"+u+").+$");try{this.regexp=new RegExp(u,[...a].join(""))}catch(g){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,i=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&i)return!0;const r=this.options;this.isWindows&&(t=t.split("\\").join("/"));const a=this.slashSplit(t);this.debug(this.pattern,"split",a);const u=this.set;this.debug(this.pattern,"set",u);let b=a[a.length-1];if(!b)for(let w=a.length-2;!b&&w>=0;w--)b=a[w];for(let w=0;w<u.length;w++){const g=u[w];let T=a;if(r.matchBase&&g.length===1&&(T=[b]),this.matchOne(T,g,i))return r.flipNegate?!0:!this.negate}return r.flipNegate?!1:this.negate}static defaults(t){return so.defaults(t).Minimatch}}so.AST=Hc,so.Minimatch=Vc,so.escape=Fb,so.unescape=tc;const{appSubUrl:fy,csrfToken:Ih}=window.config;function dy(){p(".page-content.repository .ui.dropdown.access-mode").each((e,t)=>{const i=p(t),r=i.find("> .text");i.dropdown({action(a,u){const b=i.attr("data-last-value");p.post(i.attr("data-url"),{_csrf:Ih,uid:i.attr("data-uid"),mode:u}).fail(()=>{r.text("(error)"),i.attr("data-last-value",b)}),i.attr("data-last-value",u),i.dropdown("hide")},onChange(a,u,b){r.text(u)},onHide(){setTimeout(()=>{i.dropdown("get item",i.attr("data-last-value"))?i.dropdown("set selected",i.attr("data-last-value")):r.text("(none)")},0)}})})}function hy(){const e=p("#search-team-box");e.search({minCharacters:2,apiSettings:{url:`${fy}/org/${e.attr("data-org-name")}/teams/-/search?q={query}`,headers:{"X-Csrf-Token":Ih},onResponse(t){const i=[];return p.each(t.data,(r,a)=>{const u=`${a.name} (${a.permission} access)`;i.push({title:u})}),{results:i}}},searchFields:["name","description"],showNoResults:!1})}function py(){if(p(".edit.githook").length===0)return;const e=document.querySelector(".hook-filename").textContent,t=ch(p("#content")[0],e,{language:"shell"})}function my(){if(!p(".repository.settings.branches").length)return;p(".toggle-target-enabled").on("change",function(){p(p(this).attr("data-target")).toggleClass("disabled",!this.checked)}),p(".toggle-target-disabled").on("change",function(){const t=p(p(this).attr("data-target"));this.checked&&t.addClass("disabled")});const e=()=>{const i=(document.getElementById("status_check_contexts").value||"").split(/[\r\n]+/).map(a=>a.trim()).filter(Boolean),r=document.getElementsByClassName("status-check-matched-mark");for(const a of r){let u=!1;const b=a.getAttribute("data-status-check");for(const w of i)if(so(b,w)){u=!0;break}N(a,u)}};e(),document.getElementById("status_check_contexts").addEventListener("input",_t(e))}var gy=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function Uc(e){e.find(".select-reaction .item.reaction, .comment-reaction-button").on("click",function(t){return gy(this,null,function*(){if(t.preventDefault(),p(this).hasClass("disabled"))return;const i=p(this).closest("[data-action-url]").attr("data-action-url"),r=p(this).attr("data-reaction-content"),a=p(this).closest(".ui.segment.reactions").find(`a[data-reaction-content="${r}"]`).attr("data-has-reacted")==="true",b=yield(yield Or(`${i}/${a?"unreact":"react"}`,{data:new URLSearchParams({content:r})})).json();if(b&&(b.html||b.empty)){const w=p(this).closest(".content");let g=w.find(".segment.reactions");if((!b.empty||b.html==="")&&g.length>0&&g.remove(),!b.empty){const T=w.find(".segment.bottom:first");g=p(b.html),T.length>0?g.insertBefore(T):g.appendTo(w),g.find(".dropdown").dropdown(),Uc(g)}}})})}const kj=e=>(_pushScopeId("data-v-19b8438f"),e=e(),_popScopeId(),e),vy={key:0,class:"diff-file-tree-items"},by={key:0,class:"gt-pt-2"};function yy(e,t,i,r,a,u){const b=(0,f.up)("DiffFileTreeItem");return e.store.fileTreeIsVisible?((0,f.wg)(),(0,f.iD)("div",vy,[(0,f.kq)(" only render the tree if we're visible. in many cases this is something that doesn't change very often "),((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(u.fileTree,w=>((0,f.wg)(),(0,f.j4)(b,{key:w.name,item:w},null,8,["item"]))),128)),e.store.isIncomplete?((0,f.wg)(),(0,f.iD)("div",by,[(0,f._)("a",{class:(0,Q.normalizeClass)(["ui","basic","tiny","button",e.store.isLoadingNewData?"disabled":""]),onClick:t[0]||(t[0]=(0,te.withModifiers)((...w)=>u.loadMoreData&&u.loadMoreData(...w),["stop"]))},(0,Q.toDisplayString)(e.store.showMoreMessage),3)])):(0,f.kq)("v-if",!0)])):(0,f.kq)("v-if",!0)}const Aj=e=>(_pushScopeId("data-v-5810126f"),e=e(),_popScopeId(),e),_y=["title","href"],wy={class:"gt-ellipsis gt-f1"},xy=["title"],jy={class:"gt-ellipsis"},Sy={key:2,class:"sub-items"};function Cy(e,t,i,r,a,u){var b;const w=(0,f.up)("SvgIcon"),g=(0,f.up)("DiffFileTreeItem",!0);return(0,f.wg)(),(0,f.iD)(f.HY,null,[(0,f.kq)('title instead of tooltip above as the tooltip needs too much work with the current methods, i.e. not being loaded or staying open for "too long"'),i.item.isFile?((0,f.wg)(),(0,f.iD)("a",{key:0,class:(0,Q.normalizeClass)(["item-file",{selected:e.store.selectedItem==="#diff-"+i.item.file.NameHash,viewed:i.item.file.IsViewed}]),title:i.item.name,href:"#diff-"+i.item.file.NameHash},[(0,f.kq)(" file "),(0,f.Wm)(w,{name:"octicon-file"}),(0,f._)("span",wy,(0,Q.toDisplayString)(i.item.name),1),(0,f.Wm)(w,{name:u.getIconForDiffType(i.item.file.Type).name,class:(0,Q.normalizeClass)(u.getIconForDiffType(i.item.file.Type).classes)},null,8,["name","class"])],10,_y)):((0,f.wg)(),(0,f.iD)("div",{key:1,class:"item-directory",title:i.item.name,onClick:t[0]||(t[0]=(0,te.withModifiers)(T=>e.collapsed=!e.collapsed,["stop"]))},[(0,f.kq)(" directory "),(0,f.Wm)(w,{name:e.collapsed?"octicon-chevron-right":"octicon-chevron-down"},null,8,["name"]),(0,f.Wm)(w,{class:"text primary",name:"octicon-file-directory-fill"}),(0,f._)("span",jy,(0,Q.toDisplayString)(i.item.name),1)],8,xy)),(b=i.item.children)!=null&&b.length?(0,f.wy)(((0,f.wg)(),(0,f.iD)("div",Sy,[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(i.item.children,T=>((0,f.wg)(),(0,f.j4)(g,{key:T.name,item:T},null,8,["item"]))),128))],512)),[[te.vShow,!e.collapsed]]):(0,f.kq)("v-if",!0)],64)}let $c;function Wc(){return $c||($c=(0,ro.qj)(window.config.pageData.diffFileInfo),window.config.pageData.diffFileInfo=$c),$c}var Ty={components:{SvgIcon:vs},props:{item:{type:Object,required:!0}},data:()=>({store:Wc(),collapsed:!1}),methods:{getIconForDiffType(e){return{1:{name:"octicon-diff-added",classes:["text","green"]},2:{name:"octicon-diff-modified",classes:["text","yellow"]},3:{name:"octicon-diff-removed",classes:["text","red"]},4:{name:"octicon-diff-renamed",classes:["text","teal"]},5:{name:"octicon-diff-renamed",classes:["text","green"]}}[e]}}},Ey=(0,_.Z)(Ty,[["render",Cy],["__scopeId","data-v-5810126f"]]);const Fh="diff_file_tree_visible";var ky={components:{DiffFileTreeItem:Ey},data:()=>({store:Wc()}),computed:{fileTree(){const e=[];for(const i of this.store.files){const r=i.Name.split("/");let a=0,u=null,b=!1;for(const w of r){a+=1,a===r.length&&(b=!0);let g={name:w,children:[],isFile:b};if(b===!0&&(g.file=i),u){const T=u.children.find(W=>W.name===w);T?g=T:u.children.push(g)}else{const T=e.find(W=>W.name===w);T?g=T:e.push(g)}u=g}}const t=i=>{for(const r of i)r.children&&t(r.children),r.children.length===1&&r.children[0].isFile===!1&&(r.name=`${r.name}/${r.children[0].name}`,r.children=r.children[0].children)};return t(e),e}},mounted(){this.store.fileTreeIsVisible=localStorage.getItem(Fh)!=="false",document.querySelector(".diff-toggle-file-tree-button").addEventListener("click",this.toggleVisibility),this.hashChangeListener=()=>{this.store.selectedItem=window.location.hash,this.expandSelectedFile()},this.hashChangeListener(),window.addEventListener("hashchange",this.hashChangeListener)},unmounted(){document.querySelector(".diff-toggle-file-tree-button").removeEventListener("click",this.toggleVisibility),window.removeEventListener("hashchange",this.hashChangeListener)},methods:{expandSelectedFile(){if(this.store.selectedItem){const e=document.querySelector(this.store.selectedItem);(e==null?void 0:e.getAttribute("data-folded"))==="true"&&Dl(e,e.querySelector(".fold-file"),!1)}},toggleVisibility(){this.updateVisibility(!this.store.fileTreeIsVisible)},updateVisibility(e){this.store.fileTreeIsVisible=e,localStorage.setItem(Fh,this.store.fileTreeIsVisible),this.updateState(this.store.fileTreeIsVisible)},updateState(e){const t=document.querySelector(".diff-toggle-file-tree-button"),[i,r]=t.querySelectorAll(".icon"),a=document.getElementById("diff-file-tree"),u=t.getAttribute(e?"data-hide-text":"data-show-text");t.setAttribute("data-tooltip-content",u),N(a,e),N(i,!e),N(r,e)},loadMoreData(){zu(this.store.linkLoadMore)}}},Ay=(0,_.Z)(ky,[["render",yy],["__scopeId","data-v-19b8438f"]]);const Oy={key:0,class:"diff-stats gt-m-0",ref:"root"},Ry={class:"gt-font-semibold gt-df gt-ac pull-right"},Py={key:0,class:"gt-ml-1 gt-mr-3"},Dy=["data-tooltip-content"],My=["data-tooltip-content"],Ly=["href"],Iy={key:0,class:"gt-pt-2"},Fy={class:"file gt-df gt-ac gt-sb"};function Ny(e,t,i,r,a,u){return e.store.fileListIsVisible?((0,f.wg)(),(0,f.iD)("ol",Oy,[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.store.files,b=>((0,f.wg)(),(0,f.iD)("li",{key:b.NameHash},[(0,f._)("div",Ry,[b.IsBin?((0,f.wg)(),(0,f.iD)("span",Py,(0,Q.toDisplayString)(e.store.binaryFileMessage),1)):(0,f.kq)("v-if",!0),(0,f.Uk)(" "+(0,Q.toDisplayString)(b.IsBin?"":b.Addition+b.Deletion)+" ",1),b.IsBin?(0,f.kq)("v-if",!0):((0,f.wg)(),(0,f.iD)("span",{key:1,class:"diff-stats-bar gt-mx-3","data-tooltip-content":e.store.statisticsMessage.replace("%d",b.Addition+b.Deletion).replace("%d",b.Addition).replace("%d",b.Deletion)},[(0,f._)("div",{class:"diff-stats-add-bar",style:(0,Q.normalizeStyle)({width:u.diffStatsWidth(b.Addition,b.Deletion)})},null,4)],8,Dy))]),(0,f.kq)(" todo finish all file status, now modify, add, delete and rename "),(0,f._)("span",{class:(0,Q.normalizeClass)(["status",u.diffTypeToString(b.Type)]),"data-tooltip-content":u.diffTypeToString(b.Type)},"\xA0",10,My),(0,f._)("a",{class:"file gt-mono",href:"#diff-"+b.NameHash},(0,Q.toDisplayString)(b.Name),9,Ly)]))),128)),e.store.isIncomplete?((0,f.wg)(),(0,f.iD)("li",Iy,[(0,f._)("span",Fy,[(0,f.Uk)((0,Q.toDisplayString)(e.store.tooManyFilesMessage)+" ",1),(0,f._)("a",{class:(0,Q.normalizeClass)(["ui","basic","tiny","button",e.store.isLoadingNewData?"disabled":""]),onClick:t[0]||(t[0]=(0,te.withModifiers)((...b)=>u.loadMoreData&&u.loadMoreData(...b),["stop"]))},(0,Q.toDisplayString)(e.store.showMoreMessage),3)])])):(0,f.kq)("v-if",!0)],512)):(0,f.kq)("v-if",!0)}var By={data:()=>({store:Wc()}),mounted(){document.getElementById("show-file-list-btn").addEventListener("click",this.toggleFileList)},unmounted(){document.getElementById("show-file-list-btn").removeEventListener("click",this.toggleFileList)},methods:{toggleFileList(){this.store.fileListIsVisible=!this.store.fileListIsVisible},diffTypeToString(e){return{1:"add",2:"modify",3:"del",4:"rename",5:"copy"}[e]},diffStatsWidth(e,t){return`${e/(e+t)*100}%`},loadMoreData(){zu(this.store.linkLoadMore)}}},Hy=(0,_.Z)(By,[["render",Ny]]);function Vy(){const e=document.getElementById("diff-file-tree");if(!e)return;(0,te.createApp)(Ay).mount(e);const i=document.getElementById("diff-file-list");if(!i)return;(0,te.createApp)(Hy).mount(i)}const Dj=e=>(_pushScopeId("data-v-21a3b293"),e=e(),_popScopeId(),e),Uy={class:"ui scrolling dropdown custom"},$y=["data-tooltip-content","aria-label"],Wy=["aria-expanded"],zy={key:0,class:"loading-indicator is-loading"},qy={class:"gt-ellipsis"},Ky={class:"gt-ellipsis text light-2 gt-mb-0"},Zy={class:"gt-ellipsis"},Yy={class:"gt-ellipsis text light-2"},Gy={key:3,class:"info gt-border-secondary-top text light-2"},Xy=["onKeydown","onMouseover","onClick"],Jy={class:"gt-f1 gt-df gt-fc gt-gap-2"},Qy={class:"gt-ellipsis commit-list-summary"},e_={class:"gt-ellipsis text light-2"},t_={class:"text right"},i_={class:"gt-mono"};function n_(e,t,i,r,a,u){const b=(0,f.up)("svg-icon"),w=(0,f.up)("relative-time");return(0,f.wg)(),(0,f.iD)("div",Uy,[(0,f._)("button",{class:"ui basic button",id:"diff-commit-list-expand",onClick:t[0]||(t[0]=(0,te.withModifiers)(g=>u.toggleMenu(),["stop"])),"data-tooltip-content":e.locale.filter_changes_by_commit,"aria-haspopup":"true","aria-controls":"diff-commit-selector-menu","aria-label":e.locale.filter_changes_by_commit,"aria-activedescendant":"diff-commit-list-show-all"},[(0,f.Wm)(b,{name:"octicon-git-commit"})],8,$y),(0,f.wy)((0,f._)("div",{class:(0,Q.normalizeClass)(["menu left transition",{visible:e.menuVisible}]),id:"diff-commit-selector-menu","aria-expanded":e.menuVisible?"true":"false"},[e.isLoading?((0,f.wg)(),(0,f.iD)("div",zy)):(0,f.kq)("v-if",!0),e.isLoading?(0,f.kq)("v-if",!0):((0,f.wg)(),(0,f.iD)("div",{key:1,class:"vertical item gt-df gt-fc gt-gap-2",id:"diff-commit-list-show-all",role:"menuitem",onKeydown:t[1]||(t[1]=(0,te.withKeys)(g=>u.showAllChanges(),["enter"])),onClick:t[2]||(t[2]=g=>u.showAllChanges())},[(0,f._)("div",qy,(0,Q.toDisplayString)(e.locale.show_all_commits),1),(0,f._)("div",Ky,(0,Q.toDisplayString)(e.locale.stats_num_commits),1)],32)),(0,f.kq)(" only show the show changes since last review if there is a review AND we are commits ahead of the last review "),e.lastReviewCommitSha!=null?((0,f.wg)(),(0,f.iD)("div",{key:2,role:"menuitem",class:(0,Q.normalizeClass)(["vertical item gt-df gt-fc gt-gap-2 gt-border-secondary-top",{disabled:u.commitsSinceLastReview===0}]),onKeydown:t[3]||(t[3]=(0,te.withKeys)(g=>u.changesSinceLastReviewClick(),["enter"])),onClick:t[4]||(t[4]=g=>u.changesSinceLastReviewClick())},[(0,f._)("div",Zy,(0,Q.toDisplayString)(e.locale.show_changes_since_your_last_review),1),(0,f._)("div",Yy,(0,Q.toDisplayString)(u.commitsSinceLastReview)+" commits ",1)],34)):(0,f.kq)("v-if",!0),e.isLoading?(0,f.kq)("v-if",!0):((0,f.wg)(),(0,f.iD)("span",Gy,(0,Q.toDisplayString)(e.locale.select_commit_hold_shift_for_range),1)),((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.commits,g=>((0,f.wg)(),(0,f.iD)("div",{key:g.id,class:(0,Q.normalizeClass)(["vertical item gt-df gt-gap-2 gt-border-secondary-top",{selection:g.selected,hovered:g.hovered}]),role:"menuitem",onKeydown:[(0,te.withKeys)((0,te.withModifiers)(T=>u.commitClicked(g.id),["exact"]),["enter"]),(0,te.withKeys)((0,te.withModifiers)(T=>u.commitClickedShift(g),["shift","exact"]),["enter"])],onMouseover:(0,te.withModifiers)(T=>u.highlight(g),["shift"]),onClick:[(0,te.withModifiers)(T=>u.commitClicked(g.id),["exact"]),(0,te.withModifiers)(T=>u.commitClicked(g.id,!0),["ctrl","exact"]),(0,te.withModifiers)(T=>u.commitClicked(g.id,!0),["meta","exact"]),(0,te.withModifiers)(T=>u.commitClickedShift(g),["shift","exact","stop","prevent"])]},[(0,f._)("div",Jy,[(0,f._)("div",Qy,(0,Q.toDisplayString)(g.summary),1),(0,f._)("div",e_,[(0,f.Uk)((0,Q.toDisplayString)(g.committer_or_author_name)+" ",1),(0,f._)("span",t_,[(0,f.Wm)(w,{class:"time-since",prefix:"",datetime:g.time,"data-tooltip-content":"","data-tooltip-interactive":"true"},{default:(0,f.w5)(()=>[(0,f.Uk)((0,Q.toDisplayString)(g.time),1)]),_:2},1032,["datetime"])])])]),(0,f._)("div",i_,(0,Q.toDisplayString)(g.short_sha),1)],42,Xy))),128))],10,Wy),[[te.vShow,e.menuVisible]])])}var Nh=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())}),r_={components:{SvgIcon:vs},data:()=>({menuVisible:!1,isLoading:!1,locale:{filter_changes_by_commit:document.getElementById("diff-commit-select").getAttribute("data-filter_changes_by_commit")},commits:[],hoverActivated:!1,lastReviewCommitSha:null}),computed:{commitsSinceLastReview(){return this.lastReviewCommitSha?this.commits.length-this.commits.findIndex(e=>e.id===this.lastReviewCommitSha)-1:0},queryParams(){return this.$el.parentNode.getAttribute("data-queryparams")},issueLink(){return this.$el.parentNode.getAttribute("data-issuelink")}},mounted(){document.body.addEventListener("click",this.onBodyClick),this.$el.addEventListener("keydown",this.onKeyDown),this.$el.addEventListener("keyup",this.onKeyUp)},unmounted(){document.body.removeEventListener("click",this.onBodyClick),this.$el.removeEventListener("keydown",this.onKeyDown),this.$el.removeEventListener("keyup",this.onKeyUp)},methods:{onBodyClick(e){this.$el.contains(e.target)||this.menuVisible&&this.toggleMenu()},onKeyDown(e){if(!this.menuVisible)return;const t=document.activeElement;if(this.$el.contains(t))switch(e.key){case"ArrowDown":e.preventDefault(),this.focusElem(t.nextElementSibling,t);break;case"ArrowUp":e.preventDefault(),this.focusElem(t.previousElementSibling,t);break;case"Escape":e.preventDefault(),t.tabIndex=-1,this.toggleMenu();break}},onKeyUp(e){if(!this.menuVisible)return;const t=document.activeElement;if(this.$el.contains(t)&&e.key==="Shift"&&this.hoverActivated){this.hoverActivated=!1;for(const i of this.commits)i.hovered=!1,i.selected=!1}},highlight(e){if(!this.hoverActivated)return;const t=this.commits.findIndex(r=>r.selected),i=this.commits.findIndex(r=>r.id===e.id);for(const[r,a]of this.commits.entries())a.hovered=Math.min(t,i)<=r&&r<=Math.max(t,i)},focusElem(e,t){e&&(e.tabIndex=0,t&&(t.tabIndex=-1),e.focus())},toggleMenu(){return Nh(this,null,function*(){if(this.menuVisible=!this.menuVisible,this.commits.length===0&&this.menuVisible&&!this.isLoading){this.isLoading=!0;try{yield this.fetchCommits()}finally{this.isLoading=!1}}this.$nextTick(()=>{const e=this.$el.querySelector("#diff-commit-list-expand"),t=this.$el.querySelector("#diff-commit-list-show-all");this.menuVisible?this.focusElem(t,e):this.focusElem(e,t)})})},fetchCommits(){return Nh(this,null,function*(){const t=yield(yield zr(`${this.issueLink}/commits/list`)).json();this.commits.push(...t.commits.map(i=>(i.hovered=!1,i))),this.commits.reverse(),this.lastReviewCommitSha=t.last_review_commit_sha||null,this.lastReviewCommitSha&&this.commits.findIndex(i=>i.id===this.lastReviewCommitSha)===-1&&(this.lastReviewCommitSha=null),Object.assign(this.locale,t.locale)})},showAllChanges(){window.location=`${this.issueLink}/files${this.queryParams}`},changesSinceLastReviewClick(){window.location=`${this.issueLink}/files/${this.lastReviewCommitSha}..${this.commits.at(-1).id}${this.queryParams}`},commitClicked(e,t=!1){const i=`${this.issueLink}/commits/${e}${this.queryParams}`;t?window.open(i):window.location=i},commitClickedShift(e){if(this.hoverActivated=!this.hoverActivated,e.selected=!0,!this.hoverActivated)if(this.commits[0].selected){const t=this.commits.findLastIndex(i=>i.selected);t===this.commits.length-1?window.location=`${this.issueLink}/files${this.queryParams}`:window.location=`${this.issueLink}/files/${this.commits[t].id}${this.queryParams}`}else{const t=this.commits[this.commits.findIndex(r=>r.selected)-1].id,i=this.commits.findLast(r=>r.selected).id;window.location=`${this.issueLink}/files/${t}..${i}${this.queryParams}`}}}},s_=(0,_.Z)(r_,[["render",n_],["__scopeId","data-v-21a3b293"]]);function o_(){const e=document.getElementById("diff-commit-select");if(!e)return;(0,te.createApp)(s_).mount(e)}const{pageData:a_}=window.config,Il=a_.prReview||{},Bh="viewed-file-checked-form",Hh=".viewed-file-form",l_="#expand-files-btn",c_="#collapse-files-btn";function Vh(){const e=document.getElementById("viewed-files-summary");e==null||e.setAttribute("value",Il.numberOfViewedFiles);const t=document.getElementById("viewed-files-summary-label");t&&(t.innerHTML=t.getAttribute("data-text-changed-template").replace("%[1]d",Il.numberOfViewedFiles).replace("%[2]d",Il.numberOfFiles))}function u_(){Il.numberOfViewedFiles=document.querySelectorAll(`${Hh} > input[type=checkbox][checked]`).length,Vh()}function Uh(){for(const e of document.querySelectorAll(`${Hh}:not([data-has-viewed-checkbox-listener="true"])`)){e.setAttribute("data-has-viewed-checkbox-listener",!0);const t=e.querySelector("input[type=checkbox]");t.addEventListener("input",function(){this.checked?(e.classList.add(Bh),Il.numberOfViewedFiles++):(e.classList.remove(Bh),Il.numberOfViewedFiles--),Vh();const i=e.parentNode.querySelector(".changed-since-last-review");i==null||i.remove();const r=t.getAttribute("name"),a=Wc().files.find(T=>T.Name===r);a&&(a.IsViewed=this.checked);const u={};u[r]=this.checked;const b={files:u},w=e.getAttribute("data-headcommit");w&&(b.headCommitSHA=w),Or(e.getAttribute("data-link"),{data:b});const g=e.closest(".diff-file-header");Dl(g.closest(".file-content"),g.querySelector(".fold-file"),this.checked)})}}function f_(){var e,t;(e=document.querySelector(l_))==null||e.addEventListener("click",()=>{for(const i of document.querySelectorAll('.file-content[data-folded="true"]'))Dl(i,i.querySelector(".fold-file"),!1)}),(t=document.querySelector(c_))==null||t.addEventListener("click",()=>{for(const i of document.querySelectorAll('.file-content:not([data-folded="true"])'))i.getAttribute("id")!=="diff-incomplete"&&Dl(i,i.querySelector(".fold-file"),!0)})}var $h=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{csrfToken:d_,pageData:Wu}=window.config;function h_(){const e=p("#review-box"),t=e.find(".review-comments-counter");p(document).on("click",'button[name="pending_review"]',i=>{p(i.target).closest("form").on("submit",()=>{const a=parseInt(t.attr("data-pending-comment-number"))+1||1;t.attr("data-pending-comment-number",a),t.text(a),e.removeClass("pulse"),e.width(),e.addClass("pulse")})})}function p_(){p(".file-view-toggle").on("click",function(){const e=p(this);e.parent().children().removeClass("active"),e.addClass("active");const t=p(e.data("toggle-selector"));t.parent().children().addClass("gt-hidden"),t.removeClass("gt-hidden")})}function m_(){p(document).on("submit",".conversation-holder form",e=>$h(this,null,function*(){var t;e.preventDefault();const i=p(e.target),r=i.find("textarea");if(!bh(r))return;const a=new FormData(i[0]),u=(t=e.originalEvent)==null?void 0:t.submitter;((u==null?void 0:u.nodeName)==="BUTTON"||(u==null?void 0:u.nodeName)==="INPUT"&&u.type==="submit")&&u.name&&a.append(u.name,u.value);const w=String(new URLSearchParams(a)),g=p(yield p.post(i.attr("action"),w)),{path:T,side:W,idx:Oe}=g.data();i.closest(".conversation-holder").replaceWith(g),i.closest("tr").data("line-type")==="same"?p(`[data-path="${T}"] .add-code-comment[data-idx="${Oe}"]`).addClass("gt-invisible"):p(`[data-path="${T}"] .add-code-comment[data-side="${W}"][data-idx="${Oe}"]`).addClass("gt-invisible"),g.find(".dropdown").dropdown(),Uc(g)})),p(document).on("click",".resolve-conversation",function(e){return $h(this,null,function*(){e.preventDefault();const t=p(this).data("comment-id"),i=p(this).data("origin"),r=p(this).data("action"),a=p(this).data("update-url"),u=yield p.post(a,{_csrf:d_,origin:i,action:r,comment_id:t});if(p(this).closest(".conversation-holder").length){const b=p(u);p(this).closest(".conversation-holder").replaceWith(b),b.find(".dropdown").dropdown(),Uc(b)}else window.location.reload()})})}function g_(){p(document).on("click",".previous-conversation",e=>{const t=p(e.currentTarget).closest(".comment-code-cloud"),i=p(".comment-code-cloud:not(.gt-hidden)"),r=i.index(t),a=r>0?r-1:i.length-1,b=i.eq(a).find(".comment").first().attr("id");window.location.href=`#${b}`}),p(document).on("click",".next-conversation",e=>{const t=p(e.currentTarget).closest(".comment-code-cloud"),i=p(".comment-code-cloud:not(.gt-hidden)"),r=i.index(t),a=r<i.length-1?r+1:0,b=i.eq(a).find(".comment").first().attr("id");window.location.href=`#${b}`})}function Wh(){td(),Uh(),u_(),kf()}function zu(e){const t=p("a#diff-show-more-files");t.hasClass("disabled")||Wu.diffFileInfo.isLoadingNewData||(Wu.diffFileInfo.isLoadingNewData=!0,t.addClass("disabled"),p.ajax({type:"GET",url:e}).done(i=>{const r=p(i);p("#diff-incomplete").replaceWith(r.find("#diff-file-boxes").children()),p("body").append(r.find("script#diff-data-script")),Wh()}).always(()=>{t.removeClass("disabled"),Wu.diffFileInfo.isLoadingNewData=!1}))}function v_(){p(document).on("click","a#diff-show-more-files",e=>{e.preventDefault();const i=p(e.target).attr("data-href");zu(i)}),p(document).on("click","a.diff-load-button",e=>{e.preventDefault();const t=p(e.target);if(t.hasClass("disabled"))return;t.addClass("disabled");const i=t.data("href");p.ajax({type:"GET",url:i}).done(r=>{if(!r){t.removeClass("disabled");return}t.parent().replaceWith(p(r).find("#diff-file-boxes .diff-file-body .file-body").children()),Wh()}).fail(()=>{t.removeClass("disabled")})})}function b_(){m_(),p("#diff-file-list").length!==0&&(Vy(),o_(),v_(),h_(),p_(),Uh(),f_())}const{appSubUrl:y_}=window.config;function __(){p(".organization.new.team input[name=permission]").on("change",()=>{p("input[name=permission]:checked",".organization.new.team").val()==="admin"?pe(p(".organization.new.team .team-units")):X(p(".organization.new.team .team-units"))})}function w_(){const e=p("#search-repo-box");e.search({minCharacters:2,apiSettings:{url:`${y_}/repo/search?q={query}&uid=${e.data("uid")}`,onResponse(t){const i=[];return p.each(t.data,(r,a)=>{i.push({title:a.repository.full_name.split("/")[1],description:a.repository.full_name})}),{results:i}}},searchFields:["full_name"],showNoResults:!1})}var ic=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{appSubUrl:nc}=window.config;function x_(){return ic(this,null,function*(){var e;if(!document.querySelector(".user.signin.webauthn-prompt")||!qh())return;const i=yield zr(`${nc}/user/webauthn/assertion`);if(i.status!==200){sa("unknown");return}const r=yield i.json();r.publicKey.challenge=Ii(r.publicKey.challenge);for(const a of r.publicKey.allowCredentials)a.id=Ii(a.id);try{const a=yield navigator.credentials.get({publicKey:r.publicKey});yield zh(a)}catch(a){if(!((e=r.publicKey.extensions)!=null&&e.appid)){sa("general",a.message);return}delete r.publicKey.extensions.appid;try{const u=yield navigator.credentials.get({publicKey:r.publicKey});yield zh(u)}catch(u){sa("general",u.message)}}})}function zh(e){return ic(this,null,function*(){var t;const i=new Uint8Array(e.response.authenticatorData),r=new Uint8Array(e.response.clientDataJSON),a=new Uint8Array(e.rawId),u=new Uint8Array(e.response.signature),b=new Uint8Array(e.response.userHandle),w=yield Or(`${nc}/user/webauthn/assertion`,{data:{id:e.id,rawId:ii(a),type:e.type,clientExtensionResults:e.getClientExtensionResults(),response:{authenticatorData:ii(i),clientDataJSON:ii(r),signature:ii(u),userHandle:ii(b)}}});if(w.status===500){sa("unknown");return}else if(w.status!==200){sa("unable-to-process");return}const g=yield w.json();window.location.href=(t=g==null?void 0:g.redirect)!=null?t:`${nc}/`})}function j_(e){return ic(this,null,function*(){const t=new Uint8Array(e.response.attestationObject),i=new Uint8Array(e.response.clientDataJSON),r=new Uint8Array(e.rawId),a=yield Or(`${nc}/user/settings/security/webauthn/register`,{data:{id:e.id,rawId:ii(r),type:e.type,response:{attestationObject:ii(t),clientDataJSON:ii(i)}}});if(a.status===409){sa("duplicated");return}else if(a.status!==201){sa("unknown");return}window.location.reload()})}function sa(e,t){const i=document.getElementById("webauthn-error-msg");if(e==="general")i.textContent=t||"unknown error";else{const r=document.querySelector(`#webauthn-error [data-webauthn-error-msg=${e}]`);r?i.textContent=`${r.textContent}${t?` ${t}`:""}`:i.textContent=`unknown error type: ${e}${t?` ${t}`:""}`}X("#webauthn-error")}function qh(){return window.isSecureContext?typeof window.PublicKeyCredential!="function"?(sa("browser"),!1):!0:(sa("insecure"),!1)}function S_(){const e=document.getElementById("register-webauthn");if(e){if(!qh()){e.disabled=!0;return}e.addEventListener("click",t=>ic(this,null,function*(){t.preventDefault(),yield C_()}))}}function C_(){return ic(this,null,function*(){const e=document.getElementById("nickname"),t=new FormData;t.append("name",e.value);const i=yield Or(`${nc}/user/settings/security/webauthn/request_register`,{data:t});if(i.status===409){sa("duplicated");return}else if(i.status!==200){sa("unknown");return}const r=yield i.json();if(e.closest("div.field").classList.remove("error"),r.publicKey.challenge=Ii(r.publicKey.challenge),r.publicKey.user.id=Ii(r.publicKey.user.id),r.publicKey.excludeCredentials)for(const a of r.publicKey.excludeCredentials)a.id=Ii(a.id);try{const a=yield navigator.credentials.create({publicKey:r.publicKey});yield j_(a)}catch(a){sa("unknown",a)}})}function T_(){p(document).on("click",".remove-rel-attach",function(){const e=p(this).data("uuid"),t=p(this).data("id");p(`input[name='attachment-del-${e}']`).attr("value",!0),pe(p(`#attachment-${t}`))})}function E_(){p(".repository.new.release").length&&(k_(),A_())}function k_(){const e=document.getElementById("tag-name-editor");if(!e)return;const t=JSON.parse(e.getAttribute("data-existing-tags"));if(!Array.isArray(t))return;const i=e.getAttribute("data-tag-helper"),r=e.getAttribute("data-tag-helper-new"),a=e.getAttribute("data-tag-helper-existing");document.getElementById("tag-name").addEventListener("keyup",u=>{const b=u.target.value,w=document.getElementById("tag-helper");t.includes(b)?(pe("#tag-target-selector"),w.textContent=a):(X("#tag-target-selector"),w.textContent=b?r:i)})}function A_(){const e=p(".repository.new.release .combo-markdown-editor");if(e.length===0)return;const t=el(e)}const{appSubUrl:O_}=window.config,R_=/^\S+@\S+$/;function P_(){const e=p("#search-user-box"),t=e.attr("data-allow-email")==="true",i=e.attr("data-allow-email-description");e.search({minCharacters:2,apiSettings:{url:`${O_}/user/search?active=1&q={query}`,onResponse(r){const a=[],u=e.find("input").val(),b=u.toUpperCase();if(p.each(r.data,(w,g)=>{let T=g.login;g.full_name&&g.full_name.length>0&&(T+=` (${Os(g.full_name)})`);const W={title:T,image:g.avatar_url};b===g.login.toUpperCase()?a.unshift(W):a.push(W)}),t&&a.length===0&&R_.test(u)){const w={title:u,description:i};a.push(w)}return{results:a}}},searchFields:["login","full_name"],showNoResults:!1})}var D_=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function M_(){const e=p(".page-content.install");e.length!==0&&(e.is(".post-install")?I_():L_())}function L_(){const e="gitea",t="gitea",i={mysql:"127.0.0.1:3306",postgres:"127.0.0.1:5432",mssql:"127.0.0.1:1433"},r=p("#db_host"),a=p("#db_user"),u=p("#db_name");p("#db_type").on("change",function(){var W;const Oe=p(this).val();if(pe(p("div[data-db-setting-for]")),X(p(`div[data-db-setting-for=${Oe}]`)),Oe!=="sqlite3"){X(p("div[data-db-setting-for=common-host]"));const Ze=r.val();(!Ze||Object.values(i).includes(Ze))&&r.val((W=i[Oe])!=null?W:""),!a.val()&&!u.val()&&(a.val(e),u.val(t))}}).trigger("change");const b=p("#app_url");b.val().includes("://localhost")&&b.val(window.location.href);const g=p("#domain");g.val().trim()==="localhost"&&g.val(window.location.hostname),p("#offline-mode input").on("change",function(){p(this).is(":checked")&&(p("#disable-gravatar").checkbox("check"),p("#federated-avatar-lookup").checkbox("uncheck"))}),p("#disable-gravatar input").on("change",function(){p(this).is(":checked")?p("#federated-avatar-lookup").checkbox("uncheck"):p("#offline-mode").checkbox("uncheck")}),p("#federated-avatar-lookup input").on("change",function(){p(this).is(":checked")&&(p("#disable-gravatar").checkbox("uncheck"),p("#offline-mode").checkbox("uncheck"))}),p("#enable-openid-signin input").on("change",function(){p(this).is(":checked")?p("#disable-registration input").is(":checked")||p("#enable-openid-signup").checkbox("check"):p("#enable-openid-signup").checkbox("uncheck")}),p("#disable-registration input").on("change",function(){p(this).is(":checked")?(p("#enable-captcha").checkbox("uncheck"),p("#enable-openid-signup").checkbox("uncheck")):p("#enable-openid-signup").checkbox("check")}),p("#enable-captcha input").on("change",function(){p(this).is(":checked")&&p("#disable-registration").checkbox("uncheck")})}function I_(){const e=document.getElementById("goto-user-login");if(!e)return;const t=e.getAttribute("href");let i=setInterval(()=>D_(this,null,function*(){try{const r=yield zr(t);i&&r.status===200&&(clearInterval(i),i=null,window.location.href=t)}catch(r){}}),1e3)}const{csrfToken:F_}=window.config;function N_(){if(p(".new.webhook").length===0)return;p(".events.checkbox input").on("change",function(){p(this).is(":checked")&&X(p(".events.fields"))}),p(".non-events.checkbox input").on("change",function(){p(this).is(":checked")&&pe(p(".events.fields"))});const e=function(){const t=p("#http_method").val()==="POST";N(p("#content_type").parent().parent(),t)};e(),p("#http_method").on("change",()=>{e()}),p("#test-delivery").on("click",function(){const t=p(this);t.addClass("loading disabled"),p.post(t.data("link"),{_csrf:F_}).done(setTimeout(()=>{window.location.href=t.data("redirect")},5e3))})}function B_(){H_(),V_()}function H_(){p(".show-create-branch-modal").on("click",function(){let e=p(this).attr("data-modal-form");e||(e="#create-branch-form"),p(e)[0].action=p(e).attr("data-base-action")+p(this).attr("data-branch-from-urlcomponent");let t=p(this).attr("data-modal-from-span");t||(t="#modal-create-branch-from-span"),p(t).text(p(this).attr("data-branch-from")),p(p(this).attr("data-modal")).modal("show")})}function V_(){p(".show-rename-branch-modal").on("click",function(){const e=p(this).attr("data-modal"),t=p(e),i=p(this).attr("data-old-branch-name");t.find("input[name=from]").val(i);const r=t.find(".default-branch-warning");N(r,p(this).attr("data-is-default-branch")==="true");const a=t.find("[data-rename-branch-to]");a.text(a.attr("data-rename-branch-to").replace("%s",i))})}function Kh(e){return/.*[^/]\/[^/].*/.test(e)}function Fl(e){const t=p(`${e} .label-name-input`),i=p(`${e} .label-exclusive-input-field`),r=p(`${e} .label-exclusive-input`),a=p(`${e} .label-exclusive-warning`);Kh(t.val())?(i.removeClass("muted"),i.removeAttr("aria-disabled"),r.prop("checked")&&r.data("exclusive-warn")?a.removeClass("gt-hidden"):a.addClass("gt-hidden")):(i.addClass("muted"),i.attr("aria-disabled","true"),a.addClass("gt-hidden"))}function Zh(e){p(e).length&&(md(),p(".new-label.button").on("click",()=>(Fl(".new-label"),p(".new-label.modal").modal({onApprove(){p(".new-label.form").trigger("submit")}}).modal("show"),!1)),p(".edit-label-button").on("click",function(){p(".edit-label .color-picker").minicolors("value",p(this).data("color")),p("#label-modal-id").val(p(this).data("id"));const t=p(".edit-label .label-name-input");t.val(p(this).data("title")),p(".edit-label .label-is-archived-input").prop("checked",this.hasAttribute("data-is-archived"));const r=p(".edit-label .label-exclusive-input");return r.prop("checked",this.hasAttribute("data-exclusive")),r.data("exclusive-warn",p(this).data("num-issues")>0&&(!this.hasAttribute("data-exclusive")||!Kh(t.val()))),Fl(".edit-label"),p(".edit-label .label-desc-input").val(p(this).data("description")),p(".edit-label .color-picker").val(p(this).data("color")),p(".edit-label .minicolors-swatch-color").css("background-color",p(this).data("color")),p(".edit-label.modal").modal({onApprove(){p(".edit-label.form").trigger("submit")}}).modal("show"),!1}),p(".new-label .label-name-input").on("input",()=>{Fl(".new-label")}),p(".new-label .label-exclusive-input").on("change",()=>{Fl(".new-label")}),p(".edit-label .label-name-input").on("input",()=>{Fl(".edit-label")}),p(".edit-label .label-exclusive-input").on("change",()=>{Fl(".edit-label")}))}function U_(){p(".organization").length!==0&&(p(".organization.settings.options #org_name").on("input",function(){const e=p(this).val().toLowerCase()!==p(this).attr("data-org-name").toLowerCase();N("#org-name-change-prompt",e)}),Zh(".organization.settings.labels"))}function $_(){const e="_giteaFomanticApiPatch",t=p.api;p.api=p.fn.api=function(...i){const r=t.bind(this),a=t.apply(this,i);if(typeof i[0]!="string"){const u=r("internal","get");if(!u.urlEncodedValue[e]){const b=u.urlEncodedValue;u.urlEncodedValue=function(w){try{return b(w)}catch(g){return encodeURIComponent(w)}},u.urlEncodedValue[e]=!0}}return a},p.api.settings=t.settings}let W_=0;function zc(){return`_aria_auto_id_${W_++}`}const Yh="_giteaAriaPatchCheckbox",Gh=p.fn.checkbox;function z_(){if(p.fn.checkbox===qu)throw new Error("initAriaCheckboxPatch could only be called once");p.fn.checkbox=qu,qu.settings=Gh.settings}function qu(...e){const t=Gh.apply(this,e);for(const i of this)i[Yh]||q_(i);return t}function q_(e){e[Yh]={};const t=e.querySelector("label"),i=e.querySelector("input");if(!t||!i||i.getAttribute("id"))return;const r=zc();i.setAttribute("id",r),t.setAttribute("for",r)}var K_=Object.defineProperty,Z_=Object.defineProperties,Y_=Object.getOwnPropertyDescriptors,Xh=Object.getOwnPropertySymbols,G_=Object.prototype.hasOwnProperty,X_=Object.prototype.propertyIsEnumerable,Jh=(e,t,i)=>t in e?K_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,J_=(e,t)=>{for(var i in t||(t={}))G_.call(t,i)&&Jh(e,i,t[i]);if(Xh)for(var i of Xh(t))X_.call(t,i)&&Jh(e,i,t[i]);return e},Q_=(e,t)=>Z_(e,Y_(t));const oa="_giteaAriaPatchDropdown",qc=p.fn.dropdown;function e1(){if(p.fn.dropdown===Ku)throw new Error("initAriaDropdownPatch could only be called once");p.fn.dropdown=Ku,Ku.settings=qc.settings}function Ku(...e){const t=qc.apply(this,e),i=!e.length||typeof e[0]!="string";for(const r of this){const a=p(r);r[oa]||n1(a),i&&t1(a)}return t}function Qh(e,t){t.id||(t.id=zc()),t.setAttribute("role",e[oa].listItemRole),t.setAttribute("tabindex","-1");for(const i of t.querySelectorAll("a"))i.setAttribute("tabindex","-1")}function ep(e){e.attr("id")||e.attr("id",zc()),e.attr("tabindex","-1"),e.find(".delete.icon").attr({"aria-hidden":"false","aria-label":window.config.i18n.remove_label_str.replace("%s",e.attr("data-value")),role:"button"})}function t1(e){const t=qc.bind(e),i=t("internal","focusSearch"),r=t("internal","blurSearch");t("internal","focusSearch",function(){t("show"),i.call(this)}),t("internal","blurSearch",function(){r.call(this),t("hide")});const a=Q_(J_({},t("setting","templates")),{t:performance.now()}),u=a.menu;a.menu=function(w,g,T,W){const Oe=u(w,g,T,W),Ze=p("<div>").append(Oe);return Ze.find("> .item").each((pt,lt)=>Qh(e[0],lt)),e[0][oa].deferredRefreshAriaActiveItem(),Ze.html()},t("setting","templates",a);const b=t("setting","onLabelCreate");t("setting","onLabelCreate",function(w,g){const T=b.call(this,w,g);return ep(T),T})}function i1(e,t,i){var r;const a=e[0];i.attr("id")||i.attr("id",zc()),i.find("> .item").each((b,w)=>Qh(a,w)),i.attr("role",a[oa].listPopupRole),e.find(".ui.label").each((b,w)=>ep(p(w))),t.attr({role:(r=t.attr("role"))!=null?r:a[oa].focusableRole,"aria-haspopup":a[oa].listPopupRole,"aria-controls":i.attr("id"),"aria-expanded":"false"});const u=e.attr("data-tooltip-content");u&&!e.attr("aria-label")&&e.attr("aria-label",u)}function n1(e){const t=e[0];if(t[oa]={},e.hasClass("custom"))return;const i=e.find("input.search").eq(0),r=i.length?i:e;if(!r.length)return;i.length&&!i.attr("autocomplete")&&i.attr("autocomplete","off");let a=e.find("> .menu");a.length||(a=p('<div class="menu"></div>').appendTo(e));const u=e.find("input").length>0;t[oa].focusableRole=u?"combobox":"menu",t[oa].listPopupRole=u?"listbox":"",t[oa].listItemRole=u?"option":"menuitem",r1(e,r,a),i1(e,r,a)}function r1(e,t,i){const r=e[0],a=()=>i.hasClass("visible")&&!i.hasClass("out")||i.hasClass("in"),u=()=>{const T=a();t.attr("aria-expanded",T?"true":"false");const W=i.find("> .item.active, > .item.selected");T?t.attr("aria-activedescendant",W.attr("id")):r[oa].listPopupRole==="menu"&&(t.removeAttr("aria-activedescendant"),W.removeClass("active").removeClass("selected"))};e.on("keydown",T=>{if(T.key==="Enter"){const W=qc.bind(e);let Oe=W("get item",W("get value"));Oe||(Oe=i.find("> .item.selected")),Oe&&(Oe.is("a")||Oe.hasClass("js-aria-clickable"))&&Oe[0].click()}});const b=(T=0)=>{setTimeout(u,T)};r[oa].deferredRefreshAriaActiveItem=b,e.on("keyup",T=>{T.key.startsWith("Arrow")&&b()});let w=0,g=0;r.addEventListener("mousedown",()=>{g+=a()?1:0,w++},!0),r.addEventListener("focus",()=>{g+=a()?1:0,w++,b()},!0),r.addEventListener("blur",()=>{g=w=0,b(100)},!0),r.addEventListener("mouseup",()=>{setTimeout(()=>{g=w=0,b(100)},0)},!0),r.addEventListener("click",T=>{a()&&g!==2&&w===2&&T.stopPropagation(),w=g=0},!0)}const tp=p.fn.modal;function s1(){if(p.fn.modal===Zu)throw new Error("initAriaModalPatch could only be called once");p.fn.modal=Zu,Zu.settings=tp.settings}function Zu(...e){var t;const i=tp.apply(this,e);if(e[0]==="show"||(t=e[0])!=null&&t.autoShow)for(const r of this)p(r).find("form button.cancel:not([type])").attr("type","button");return i}var o1=Object.defineProperty,ip=Object.getOwnPropertySymbols,a1=Object.prototype.hasOwnProperty,l1=Object.prototype.propertyIsEnumerable,np=(e,t,i)=>t in e?o1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,rp=(e,t)=>{for(var i in t||(t={}))a1.call(t,i)&&np(e,i,t[i]);if(ip)for(var i of ip(t))l1.call(t,i)&&np(e,i,t[i]);return e};function c1(){const e=new Set(["clear queue","stop","stop all","destroy","force repaint","repaint","reset","looping","remove looping","disable","enable","set duration","save conditions","restore conditions"]);p.fn.transition=function(t,i,r){var a,u,b,w;if(t==="is supported")return!0;if(t==="is animating"||t==="is inward"||t==="is outward")return!1;let g;if(typeof t=="string"){if(e.has(t))return this;g=rp(rp({animation:t},i&&{duration:i}),r&&{onComplete:r})}else if(typeof t=="object")g=t;else throw new Error(`invalid argument: ${t}`);const T=((a=g.animation)==null?void 0:a.startsWith("show"))||((u=g.animation)==null?void 0:u.endsWith(" in")),W=((b=g.animation)==null?void 0:b.startsWith("hide"))||((w=g.animation)==null?void 0:w.endsWith(" out"));return this.each((Oe,Ze)=>{var ot,pt,lt,Dt;let Et=T;!T&&!W&&(Et=this.hasClass("hidden")),(ot=g.onStart)==null||ot.call(Ze),Et?(Ze.classList.remove("hidden"),Ze.classList.add("visible","transition"),g.displayType&&Ze.style.setProperty("display",g.displayType,"important"),(pt=g.onShow)==null||pt.call(Ze)):(Ze.classList.add("hidden"),Ze.classList.remove("visible"),Ze.style.removeProperty("display"),(lt=g.onHidden)==null||lt.call(Ze)),(Dt=g.onComplete)==null||Dt.call(Ze)}),this}}const sp=window.matchMedia("only screen and (max-width: 767.98px)");function u1(){p.fn.tab.settings.silent=!0,p.fn.checkbox.settings.enableEnterKey=!1,p.fn.dropdown.settings.fullTextSearch="exact",p.fn.dropdown.settings.className.label+=" gt-cursor-default",p.fn.dropdown.settings.templates.label=function(e,t,i,r){const a=p.fn.dropdown.settings.templates.escape;return a(t,i)+Ht("octicon-x",16,`${r.delete} icon`)},c1(),$_(),z_(),e1(),s1()}var f1=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{csrfToken:d1}=window.config;function h1(){return f1(this,null,function*(){const e=p(".repository.wiki .combo-markdown-editor textarea");if(!e.length)return;const t=p(".repository.wiki.new .ui.form"),i=t.find(".combo-markdown-editor");let r,a=!1,u;const b=function(){if(a)return;const w=i.find(".EasyMDEContainer .editor-preview-active"),g=i.find(".EasyMDEContainer .editor-preview-active-side"),T=g.length?g:w,W=e.val();r&&T.length&&u!==W?(a=!0,p.post(r.previewUrl,{_csrf:d1,mode:r.previewMode,context:r.previewContext,text:W,wiki:r.previewWiki}).done(Oe=>{u=W,T.html(`<div class="markup ui segment">${Oe}</div>`),Ac()}).always(()=>{a=!1,setTimeout(b,1e3)})):setTimeout(b,1e3)};b(),r=yield el(i,{useScene:"wiki",editorHeights:{minHeight:"300px",height:"calc(100vh - 600px)"},previewMode:"gfm",previewWiki:!0,easyMDEOptions:{previewRender:(w,g)=>g.innerHTML,toolbar:["bold","italic","strikethrough","|","heading-1","heading-2","heading-3","heading-bigger","heading-smaller","|","gitea-code-inline","code","quote","|","gitea-checkbox-empty","gitea-checkbox-checked","|","unordered-list","ordered-list","|","link","image","table","horizontal-rule","|","preview","fullscreen","side-by-side","|","gitea-switch-to-textarea"]}}),t.on("submit",()=>{if(!bh(e))return!1})})}function op(e){var t;e&&((t=document.querySelector(".wiki-content-toc details"))==null||t.removeAttribute("open"))}function p1(){document.querySelector(".page-content.repository.wiki")&&(sp.addEventListener("change",e=>op(e.matches)),op(sp.matches),h1())}function m1(){p(document).on("click",".escape-button",e=>{e.preventDefault(),p(e.target).parents(".file-content, .non-diff-file-content").find(".file-code, .file-view").addClass("unicode-escaped"),pe(p(e.target)),X(p(e.target).siblings(".unescape-button"))}),p(document).on("click",".unescape-button",e=>{e.preventDefault(),p(e.target).parents(".file-content, .non-diff-file-content").find(".file-code, .file-view").removeClass("unicode-escaped"),pe(p(e.target)),X(p(e.target).siblings(".escape-button"))}),p(document).on("click",".toggle-escape-button",e=>{e.preventDefault();const t=p(e.target).parents(".file-content, .non-diff-file-content"),i=t.find(".file-code, .file-view");i.hasClass("unicode-escaped")?(i.removeClass("unicode-escaped"),pe(t.find(".unescape-button")),X(t.find(".escape-button"))):(i.addClass("unicode-escaped"),X(t.find(".unescape-button")),pe(t.find(".escape-button")))})}const Yu=e=>((0,f.dD)("data-v-5b382205"),e=e(),(0,f.Cn)(),e),g1={class:"ui dropdown custom"},v1={class:"text gt-df gt-ac gt-mr-2"},b1={class:"ui icon search input"},y1={class:"icon"},_1=["placeholder"],w1={key:0,class:"branch-tag-tab"},x1=Yu(()=>(0,f._)("div",{class:"branch-tag-divider"},null,-1)),j1={class:"scrolling menu",ref:"scrollContainer"},S1={key:0,class:"loading-indicator is-loading"},C1=["onClick"],T1={key:0,class:"ui label"},E1=["href"],k1=Yu(()=>(0,f._)("svg",{width:"14",height:"14",class:"svg octicon-rss"},[(0,f._)("use",{href:"#svg-symbol-octicon-rss"})],-1)),A1=Yu(()=>(0,f._)("i",{class:"reference tags icon"},null,-1)),O1=["innerHTML"],R1=["innerHTML"],P1={class:"text small"},D1={key:0},M1={key:1},L1={key:2},I1=["action"],F1=["value"],N1={key:1,class:"message"};function B1(e,t,i,r,a,u){const b=(0,f.up)("svg-icon");return(0,f.wg)(),(0,f.iD)("div",g1,[(0,f._)("button",{class:"branch-dropdown-button gt-ellipsis ui basic small compact button gt-df gt-m-0",onClick:t[0]||(t[0]=w=>e.menuVisible=!e.menuVisible),onKeyup:t[1]||(t[1]=(0,te.withKeys)(w=>e.menuVisible=!e.menuVisible,["enter"]))},[(0,f._)("span",v1,[e.release?((0,f.wg)(),(0,f.iD)(f.HY,{key:0},[(0,f.Uk)((0,Q.toDisplayString)(e.textReleaseCompare),1)],64)):((0,f.wg)(),(0,f.iD)(f.HY,{key:1},[e.isViewTag?((0,f.wg)(),(0,f.j4)(b,{key:0,name:"octicon-tag"})):((0,f.wg)(),(0,f.j4)(b,{key:1,name:"octicon-git-branch"})),(0,f._)("strong",{ref:"dropdownRefName",class:"gt-ml-3"},(0,Q.toDisplayString)(e.refNameText),513)],64))]),(0,f.Wm)(b,{name:"octicon-triangle-down",size:14,"class-name":"dropdown icon"})],32),(0,f.wy)((0,f._)("div",{class:(0,Q.normalizeClass)(["menu transition",{visible:e.menuVisible}])},[(0,f._)("div",b1,[(0,f._)("i",y1,[(0,f.Wm)(b,{name:"octicon-filter",size:16})]),(0,f.wy)((0,f._)("input",{name:"search",ref:"searchField",autocomplete:"off","onUpdate:modelValue":t[2]||(t[2]=w=>e.searchTerm=w),onKeydown:t[3]||(t[3]=w=>e.keydown(w)),placeholder:e.searchFieldPlaceholder},null,40,_1),[[te.vModelText,e.searchTerm]])]),e.showBranchesInDropdown?((0,f.wg)(),(0,f.iD)("div",w1,[(0,f._)("a",{class:(0,Q.normalizeClass)(["branch-tag-item muted",{active:e.mode==="branches"}]),href:"#",onClick:t[4]||(t[4]=w=>e.handleTabSwitch("branches"))},[(0,f.Wm)(b,{name:"octicon-git-branch",size:16,"class-name":"gt-mr-2"}),(0,f.Uk)((0,Q.toDisplayString)(e.textBranches),1)],2),e.noTag?(0,f.kq)("v-if",!0):((0,f.wg)(),(0,f.iD)("a",{key:0,class:(0,Q.normalizeClass)(["branch-tag-item muted",{active:e.mode==="tags"}]),href:"#",onClick:t[5]||(t[5]=w=>e.handleTabSwitch("tags"))},[(0,f.Wm)(b,{name:"octicon-tag",size:16,"class-name":"gt-mr-2"}),(0,f.Uk)((0,Q.toDisplayString)(e.textTags),1)],2))])):(0,f.kq)("v-if",!0),x1,(0,f._)("div",j1,[(0,f.Wm)(b,{name:"octicon-rss","symbol-id":"svg-symbol-octicon-rss"}),e.isLoading?((0,f.wg)(),(0,f.iD)("div",S1)):(0,f.kq)("v-if",!0),((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.filteredItems,(w,g)=>((0,f.wg)(),(0,f.iD)("div",{key:w.name,class:(0,Q.normalizeClass)(["item",{selected:w.selected,active:e.active===g}]),onClick:T=>e.selectItem(w),ref_for:!0,ref:"listItem"+g},[(0,f.Uk)((0,Q.toDisplayString)(w.name)+" ",1),w.name===e.repoDefaultBranch&&e.mode==="branches"?((0,f.wg)(),(0,f.iD)("div",T1,(0,Q.toDisplayString)(e.textDefaultBranchLabel),1)):(0,f.kq)("v-if",!0),(0,f.wy)((0,f._)("a",{role:"button",class:"rss-icon gt-float-right",href:e.rssURLPrefix+w.url,target:"_blank",onClick:t[6]||(t[6]=(0,te.withModifiers)(()=>{},["stop"]))},[(0,f.kq)(" creating a lot of Vue component is pretty slow, so we use a static SVG here "),k1],8,E1),[[te.vShow,e.enableFeed&&e.mode==="branches"]])],10,C1))),128)),e.showCreateNewBranch?((0,f.wg)(),(0,f.iD)("div",{key:1,class:(0,Q.normalizeClass)(["item",{active:e.active===e.filteredItems.length}]),ref:"listItem"+e.filteredItems.length},[(0,f._)("a",{href:"#",onClick:t[7]||(t[7]=w=>e.createNewBranch())},[(0,f.wy)((0,f._)("div",null,[A1,(0,f.kq)(" eslint-disable-next-line vue/no-v-html "),(0,f._)("span",{innerHTML:e.textCreateTag.replace("%s",e.searchTerm)},null,8,O1)],512),[[te.vShow,e.shouldCreateTag]]),(0,f.wy)((0,f._)("div",null,[(0,f.Wm)(b,{name:"octicon-git-branch"}),(0,f.kq)(" eslint-disable-next-line vue/no-v-html "),(0,f._)("span",{innerHTML:e.textCreateBranch.replace("%s",e.searchTerm)},null,8,R1)],512),[[te.vShow,!e.shouldCreateTag]]),(0,f._)("div",P1,[e.isViewBranch||e.release?((0,f.wg)(),(0,f.iD)("span",D1,(0,Q.toDisplayString)(e.textCreateBranchFrom.replace("%s",e.branchName)),1)):e.isViewTag?((0,f.wg)(),(0,f.iD)("span",M1,(0,Q.toDisplayString)(e.textCreateBranchFrom.replace("%s",e.tagName)),1)):((0,f.wg)(),(0,f.iD)("span",L1,(0,Q.toDisplayString)(e.textCreateBranchFrom.replace("%s",e.commitIdShort)),1))])]),(0,f._)("form",{ref:"newBranchForm",action:e.formActionUrl,method:"post"},[(0,f._)("input",{type:"hidden",name:"_csrf",value:e.csrfToken},null,8,F1),(0,f.wy)((0,f._)("input",{type:"hidden",name:"new_branch_name","onUpdate:modelValue":t[8]||(t[8]=w=>e.searchTerm=w)},null,512),[[te.vModelText,e.searchTerm]]),(0,f.wy)((0,f._)("input",{type:"hidden",name:"create_tag","onUpdate:modelValue":t[9]||(t[9]=w=>e.shouldCreateTag=w)},null,512),[[te.vModelText,e.shouldCreateTag]]),e.treePath?(0,f.wy)(((0,f.wg)(),(0,f.iD)("input",{key:0,type:"hidden",name:"current_path","onUpdate:modelValue":t[10]||(t[10]=w=>e.treePath=w)},null,512)),[[te.vModelText,e.treePath]]):(0,f.kq)("v-if",!0)],8,I1)],2)):(0,f.kq)("v-if",!0)],512),e.showNoResults&&!e.isLoading?((0,f.wg)(),(0,f.iD)("div",N1,(0,Q.toDisplayString)(e.noResults),1)):(0,f.kq)("v-if",!0)],2),[[te.vShow,e.menuVisible]])])}var H1=Object.defineProperty,V1=Object.defineProperties,U1=Object.getOwnPropertyDescriptors,ap=Object.getOwnPropertySymbols,$1=Object.prototype.hasOwnProperty,W1=Object.prototype.propertyIsEnumerable,lp=(e,t,i)=>t in e?H1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,cp=(e,t)=>{for(var i in t||(t={}))$1.call(t,i)&&lp(e,i,t[i]);if(ap)for(var i of ap(t))W1.call(t,i)&&lp(e,i,t[i]);return e},z1=(e,t)=>V1(e,U1(t)),q1=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const up={components:{SvgIcon:vs},computed:{filteredItems(){const e=this.items.filter(t=>(this.mode==="branches"&&t.branch||this.mode==="tags"&&t.tag)&&(!this.searchTerm||t.name.toLowerCase().includes(this.searchTerm.toLowerCase())));return this.active=e.length===0&&this.showCreateNewBranch?0:-1,e},showNoResults(){return this.filteredItems.length===0&&!this.showCreateNewBranch},showCreateNewBranch(){return this.disableCreateBranch||!this.searchTerm?!1:this.items.filter(e=>e.name.toLowerCase()===this.searchTerm.toLowerCase()).length===0},formActionUrl(){return`${this.repoLink}/branches/_new/${this.branchNameSubURL}`},shouldCreateTag(){return this.mode==="tags"}},watch:{menuVisible(e){e&&(this.focusSearchField(),this.fetchBranchesOrTags())}},beforeMount(){this.viewType==="tree"?(this.isViewTree=!0,this.refNameText=this.commitIdShort):this.viewType==="tag"?(this.isViewTag=!0,this.refNameText=this.tagName):(this.isViewBranch=!0,this.refNameText=this.branchName),document.body.addEventListener("click",e=>{this.$el.contains(e.target)||this.menuVisible&&(this.menuVisible=!1)})},methods:{selectItem(e){const t=this.getSelected();t!==null&&(t.selected=!1),e.selected=!0;const i=e.tag?this.tagURLPrefix+e.url+this.tagURLSuffix:this.branchURLPrefix+e.url+this.branchURLSuffix;this.branchForm?(this.isViewTree=!1,this.isViewTag=!1,this.isViewBranch=!1,this.$refs.dropdownRefName.textContent=e.name,this.setAction?Li()(`#${this.branchForm}`).attr("action",i):Li()(`#${this.branchForm} input[name="refURL"]`).val(i),Li()(`#${this.branchForm} input[name="ref"]`).val(e.name),e.tag?(this.isViewTag=!0,Li()(`#${this.branchForm} input[name="refType"]`).val("tag")):(this.isViewBranch=!0,Li()(`#${this.branchForm} input[name="refType"]`).val("branch")),this.submitForm&&Li()(`#${this.branchForm}`).trigger("submit"),this.menuVisible=!1):window.location.href=i},createNewBranch(){this.showCreateNewBranch&&Li()(this.$refs.newBranchForm).trigger("submit")},focusSearchField(){(0,f.Y3)(()=>{this.$refs.searchField.focus()})},getSelected(){for(let e=0,t=this.items.length;e<t;++e)if(this.items[e].selected)return this.items[e];return null},getSelectedIndexInFiltered(){for(let e=0,t=this.filteredItems.length;e<t;++e)if(this.filteredItems[e].selected)return e;return-1},scrollToActive(){let e=this.$refs[`listItem${this.active}`];if(!e||!e.length)return;Array.isArray(e)&&(e=e[0]);const t=this.$refs.scrollContainer;e.offsetTop<t.scrollTop?t.scrollTop=e.offsetTop:e.offsetTop+e.clientHeight>t.scrollTop+t.clientHeight&&(t.scrollTop=e.offsetTop+e.clientHeight-t.clientHeight)},keydown(e){if(e.keyCode===40){if(e.preventDefault(),this.active===-1&&(this.active=this.getSelectedIndexInFiltered()),this.active+(this.showCreateNewBranch?0:1)>=this.filteredItems.length)return;this.active++,this.scrollToActive()}else if(e.keyCode===38){if(e.preventDefault(),this.active===-1&&(this.active=this.getSelectedIndexInFiltered()),this.active<=0)return;this.active--,this.scrollToActive()}else e.keyCode===13?(e.preventDefault(),this.active>=this.filteredItems.length?this.createNewBranch():this.active>=0&&this.selectItem(this.filteredItems[this.active])):e.keyCode===27&&(e.preventDefault(),this.menuVisible=!1)},handleTabSwitch(e){this.isLoading||(this.mode=e,this.focusSearchField(),this.fetchBranchesOrTags())},fetchBranchesOrTags(){return q1(this,null,function*(){if(!(!["branches","tags"].includes(this.mode)||this.isLoading)&&!(this.hasListInitialized[this.mode]||this.mode==="branches"&&!this.showBranchesInDropdown||this.mode==="tags"&&this.noTag)){this.isLoading=!0;try{const e=yield zr(`${this.repoLink}/${this.mode}/list`),{results:t}=yield e.json();for(const i of t){let r=!1;this.mode==="branches"?r=i===this.defaultSelectedRefName:r=i===(this.release?this.release.tagName:this.defaultSelectedRefName),this.items.push({name:i,url:od(i),branch:this.mode==="branches",tag:this.mode==="tags",selected:r})}this.hasListInitialized[this.mode]=!0}catch(e){Oa(`Network error when fetching ${this.mode}, error: ${e}`)}finally{this.isLoading=!1}}})}}};function K1(e){for(const[t,i]of document.querySelectorAll(e).entries()){const r=cp({csrfToken:window.config.csrfToken,items:[],searchTerm:"",refNameText:"",menuVisible:!1,release:null,isViewTag:!1,isViewBranch:!1,isViewTree:!1,active:0,isLoading:!1,hasListInitialized:{branches:!1,tags:!1}},window.config.pageData.branchDropdownDataList[t]),a=z1(cp({},up),{data(){return r}});(0,te.createApp)(a).mount(i)}}var Z1=up;const Lj=(0,_.Z)(Z1,[["render",B1],["__scopeId","data-v-5b382205"]]);var Ij=null,Y1=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{pageData:fp}=window.config,G1=(e,t)=>Y1(void 0,null,function*(){const[{Cite:i,plugins:r}]=yield Promise.all([St.e("citation-js-core-citation-js-formats-citation-js-bibtex-citation-js-csl").then(St.bind(St,"./node_modules/@citation-js/core/lib-mjs/index.js")),Promise.all([St.e("citation-js-core-citation-js-formats-citation-js-bibtex-citation-js-csl"),St.e("citation-js-formats")]).then(St.t.bind(St,"./node_modules/@citation-js/plugin-software-formats/lib/index.js",19)),Promise.all([St.e("citation-js-core-citation-js-formats-citation-js-bibtex-citation-js-csl"),St.e("citation-js-bibtex")]).then(St.bind(St,"./node_modules/@citation-js/plugin-bibtex/lib-mjs/index.js")),Promise.all([St.e("citation-js-core-citation-js-formats-citation-js-bibtex-citation-js-csl"),St.e("citation-js-csl")]).then(St.bind(St,"./node_modules/@citation-js/plugin-csl/lib-mjs/index.js"))]),{citationFileContent:a}=fp,u=r.config.get("@bibtex");u.constants.fieldTypes.doi=["field","literal"],u.constants.fieldTypes.version=["field","literal"];const b=new i(a),w=document.documentElement.lang||"en-US",g=b.format("bibliography",{template:"apa",lang:w}),T=b.format("bibtex",{lang:w});t.attr("data-text",T),e.attr("data-text",g)});function X1(){const e="apa";if(!fp.citationFileContent)return;const t=p("#citation-copy-apa"),i=p("#citation-copy-bibtex"),r=p("#citation-copy-content");if(!t.length&&!i.length||!r.length)return;const a=()=>{const u=(localStorage.getItem("citation-copy-format")||e)==="bibtex",b=(u?i:t).attr("data-text");r.val(b),i.toggleClass("primary",u),t.toggleClass("primary",!u)};G1(t,i).then(a),t.on("click",()=>{localStorage.setItem("citation-copy-format","apa"),a()}),i.on("click",()=>{localStorage.setItem("citation-copy-format","bibtex"),a()}),r.on("click",()=>{r.trigger("select")}),p("#cite-repo-button").on("click",()=>{p("#cite-repo-modal").modal("show")})}const Fj=e=>(_pushScopeId("data-v-bba89cd6"),e=e(),_popScopeId(),e),J1=["innerHTML"],Q1={key:1,class:"ui form"},ew=["action"],tw=["value"],iw={class:"field"},nw={class:"field"},rw=["placeholder"],sw=["data-tooltip-content"],ow={key:1,class:"field"},aw=["placeholder"],lw=["value"],cw={key:2,class:"ui checkbox gt-ml-2"},uw={for:"delete-branch-after-merge"},fw={key:2,class:"gt-df"},dw={class:"ui button"},hw={class:"button-text"},pw=["onClick"],mw={class:"action-text"},gw=["onClick"],vw={class:"auto-merge-tip"},bw=["onClick"],yw={class:"action-text"},_w=["action"],ww=["value"],xw={class:"ui button"};function jw(e,t,i,r,a,u){const b=(0,f.up)("svg-icon");return(0,f.wg)(),(0,f.iD)(f.HY,null,[(0,f.kq)(`
if this component is shown, either the user is an admin (can do a merge without checks), or they are a writer who has the permission to do a merge
if the user is a writer and can't do a merge now (canMergeNow==false), then only show the Auto Merge for them
How to test the UI manually:
* Method 1: manually set some variables in pull.tmpl, eg: {{$notAllOverridableChecksOk = true}} {{$canMergeNow = false}}
* Method 2: make a protected branch, then set state=pending/success :
curl -X POST \${root_url}/api/v1/repos/\${owner}/\${repo}/statuses/\${sha} \\
-H "accept: application/json" -H "authorization: Basic $base64_auth" -H "Content-Type: application/json" \\
-d '{"context": "test/context", "description": "description", "state": "\${state}", "target_url": "http://localhost"}'
`),(0,f._)("div",null,[(0,f.kq)(" eslint-disable-next-line vue/no-v-html "),e.mergeForm.hasPendingPullRequestMerge?((0,f.wg)(),(0,f.iD)("div",{key:0,innerHTML:e.mergeForm.hasPendingPullRequestMergeTip,class:"ui info message"},null,8,J1)):(0,f.kq)("v-if",!0),e.showActionForm?((0,f.wg)(),(0,f.iD)("div",Q1,[(0,f._)("form",{action:e.mergeForm.baseLink+"/merge",method:"post"},[(0,f._)("input",{type:"hidden",name:"_csrf",value:e.csrfToken},null,8,tw),(0,f.wy)((0,f._)("input",{type:"hidden",name:"head_commit_id","onUpdate:modelValue":t[0]||(t[0]=w=>e.mergeForm.pullHeadCommitID=w)},null,512),[[te.vModelText,e.mergeForm.pullHeadCommitID]]),(0,f.wy)((0,f._)("input",{type:"hidden",name:"merge_when_checks_succeed","onUpdate:modelValue":t[1]||(t[1]=w=>e.autoMergeWhenSucceed=w)},null,512),[[te.vModelText,e.autoMergeWhenSucceed]]),(0,f.wy)((0,f._)("input",{type:"hidden",name:"force_merge","onUpdate:modelValue":t[2]||(t[2]=w=>u.forceMerge=w)},null,512),[[te.vModelText,u.forceMerge]]),e.mergeStyleDetail.hideMergeMessageTexts?(0,f.kq)("v-if",!0):((0,f.wg)(),(0,f.iD)(f.HY,{key:0},[(0,f._)("div",iw,[(0,f.wy)((0,f._)("input",{type:"text",name:"merge_title_field","onUpdate:modelValue":t[3]||(t[3]=w=>e.mergeTitleFieldValue=w)},null,512),[[te.vModelText,e.mergeTitleFieldValue]])]),(0,f._)("div",nw,[(0,f.wy)((0,f._)("textarea",{name:"merge_message_field",rows:"5",placeholder:e.mergeForm.mergeMessageFieldPlaceHolder,"onUpdate:modelValue":t[4]||(t[4]=w=>e.mergeMessageFieldValue=w)},null,8,rw),[[te.vModelText,e.mergeMessageFieldValue]]),e.mergeMessageFieldValue!==e.mergeForm.defaultMergeMessage?((0,f.wg)(),(0,f.iD)("button",{key:0,onClick:t[5]||(t[5]=(0,te.withModifiers)((...w)=>u.clearMergeMessage&&u.clearMergeMessage(...w),["prevent"])),class:"btn gt-mt-2 gt-p-2 interact-fg","data-tooltip-content":e.mergeForm.textClearMergeMessageHint},(0,Q.toDisplayString)(e.mergeForm.textClearMergeMessage),9,sw)):(0,f.kq)("v-if",!0)])],64)),e.mergeStyle==="manually-merged"?((0,f.wg)(),(0,f.iD)("div",ow,[(0,f._)("input",{type:"text",name:"merge_commit_id",placeholder:e.mergeForm.textMergeCommitId},null,8,aw)])):(0,f.kq)("v-if",!0),(0,f._)("button",{class:(0,Q.normalizeClass)(["ui button",u.mergeButtonStyleClass]),type:"submit",name:"do",value:e.mergeStyle},[(0,f.Uk)((0,Q.toDisplayString)(e.mergeStyleDetail.textDoMerge)+" ",1),e.autoMergeWhenSucceed?((0,f.wg)(),(0,f.iD)(f.HY,{key:0},[(0,f.Uk)((0,Q.toDisplayString)(e.mergeForm.textAutoMergeButtonWhenSucceed),1)],64)):(0,f.kq)("v-if",!0)],10,lw),(0,f._)("button",{class:"ui button merge-cancel",onClick:t[6]||(t[6]=w=>u.toggleActionForm(!1))},(0,Q.toDisplayString)(e.mergeForm.textCancel),1),e.mergeForm.isPullBranchDeletable&&!e.autoMergeWhenSucceed?((0,f.wg)(),(0,f.iD)("div",cw,[(0,f.wy)((0,f._)("input",{name:"delete_branch_after_merge",type:"checkbox","onUpdate:modelValue":t[7]||(t[7]=w=>e.deleteBranchAfterMerge=w),id:"delete-branch-after-merge"},null,512),[[te.vModelCheckbox,e.deleteBranchAfterMerge]]),(0,f._)("label",uw,(0,Q.toDisplayString)(e.mergeForm.textDeleteBranch),1)])):(0,f.kq)("v-if",!0)],8,ew)])):(0,f.kq)("v-if",!0),e.showActionForm?(0,f.kq)("v-if",!0):((0,f.wg)(),(0,f.iD)("div",fw,[(0,f.kq)(" the merge button "),(0,f._)("div",{class:(0,Q.normalizeClass)(["ui buttons merge-button",[e.mergeForm.emptyCommit?"grey":e.mergeForm.allOverridableChecksOk?"primary":"red"]]),onClick:t[9]||(t[9]=w=>u.toggleActionForm(!0))},[(0,f._)("button",dw,[(0,f.Wm)(b,{name:"octicon-git-merge"}),(0,f._)("span",hw,[(0,f.Uk)((0,Q.toDisplayString)(e.mergeStyleDetail.textDoMerge)+" ",1),e.autoMergeWhenSucceed?((0,f.wg)(),(0,f.iD)(f.HY,{key:0},[(0,f.Uk)((0,Q.toDisplayString)(e.mergeForm.textAutoMergeButtonWhenSucceed),1)],64)):(0,f.kq)("v-if",!0)])]),e.mergeStyleAllowedCount>1?((0,f.wg)(),(0,f.iD)("div",{key:0,class:"ui dropdown icon button",onClick:t[8]||(t[8]=(0,te.withModifiers)(w=>e.showMergeStyleMenu=!e.showMergeStyleMenu,["stop"]))},[(0,f.Wm)(b,{name:"octicon-triangle-down",size:14}),(0,f._)("div",{class:(0,Q.normalizeClass)(["menu",{show:e.showMergeStyleMenu}])},[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.mergeForm.mergeStyles,w=>((0,f.wg)(),(0,f.iD)(f.HY,null,[(0,f.kq)(' if can merge now, show one action "merge now", and an action "auto merge when succeed" '),w.allowed&&e.mergeForm.canMergeNow?((0,f.wg)(),(0,f.iD)("div",{class:"item",key:w.name,onClick:(0,te.withModifiers)(g=>u.switchMergeStyle(w.name),["stop"])},[(0,f._)("div",mw,(0,Q.toDisplayString)(w.textDoMerge),1),w.hideAutoMerge?(0,f.kq)("v-if",!0):((0,f.wg)(),(0,f.iD)("div",{key:0,class:"auto-merge-small",onClick:(0,te.withModifiers)(g=>u.switchMergeStyle(w.name,!0),["stop"])},[(0,f.Wm)(b,{name:"octicon-clock",size:14}),(0,f._)("div",vw,(0,Q.toDisplayString)(e.mergeForm.textAutoMergeWhenSucceed),1)],8,gw))],8,pw)):(0,f.kq)("v-if",!0),(0,f.kq)(' if can NOT merge now, only show one action "auto merge when succeed" '),w.allowed&&!e.mergeForm.canMergeNow&&!w.hideAutoMerge?((0,f.wg)(),(0,f.iD)("div",{class:"item",key:w.name,onClick:(0,te.withModifiers)(g=>u.switchMergeStyle(w.name,!0),["stop"])},[(0,f._)("div",yw,(0,Q.toDisplayString)(w.textDoMerge)+" "+(0,Q.toDisplayString)(e.mergeForm.textAutoMergeButtonWhenSucceed),1)],8,bw)):(0,f.kq)("v-if",!0)],64))),256))],2)])):(0,f.kq)("v-if",!0)],2),(0,f.kq)(" the cancel auto merge button "),e.mergeForm.hasPendingPullRequestMerge?((0,f.wg)(),(0,f.iD)("form",{key:0,action:e.mergeForm.baseLink+"/cancel_auto_merge",method:"post",class:"gt-ml-4"},[(0,f._)("input",{type:"hidden",name:"_csrf",value:e.csrfToken},null,8,ww),(0,f._)("button",xw,(0,Q.toDisplayString)(e.mergeForm.textAutoMergeCancelSchedule),1)],8,_w)):(0,f.kq)("v-if",!0)]))])],2112)}const{csrfToken:Sw,pageData:Cw}=window.config;var Tw={components:{SvgIcon:vs},data:()=>({csrfToken:Sw,mergeForm:Cw.pullRequestMergeForm,mergeTitleFieldValue:"",mergeMessageFieldValue:"",deleteBranchAfterMerge:!1,autoMergeWhenSucceed:!1,mergeStyle:"",mergeStyleDetail:{hideMergeMessageTexts:!1,textDoMerge:"",mergeTitleFieldText:"",mergeMessageFieldText:"",hideAutoMerge:!1},mergeStyleAllowedCount:0,showMergeStyleMenu:!1,showActionForm:!1}),computed:{mergeButtonStyleClass(){return this.mergeForm.allOverridableChecksOk||this.autoMergeWhenSucceed?"primary":"red"},forceMerge(){return this.mergeForm.canMergeNow&&!this.mergeForm.allOverridableChecksOk}},watch:{mergeStyle(e){this.mergeStyleDetail=this.mergeForm.mergeStyles.find(t=>t.name===e)}},created(){var e,t;this.mergeStyleAllowedCount=this.mergeForm.mergeStyles.reduce((r,a)=>r+(a.allowed?1:0),0);let i=(e=this.mergeForm.mergeStyles.find(r=>r.allowed&&r.name===this.mergeForm.defaultMergeStyle))==null?void 0:e.name;i||(i=(t=this.mergeForm.mergeStyles.find(r=>r.allowed))==null?void 0:t.name),this.switchMergeStyle(i,!this.mergeForm.canMergeNow)},mounted(){document.addEventListener("mouseup",this.hideMergeStyleMenu)},unmounted(){document.removeEventListener("mouseup",this.hideMergeStyleMenu)},methods:{hideMergeStyleMenu(){this.showMergeStyleMenu=!1},toggleActionForm(e){this.showActionForm=e,e&&(this.deleteBranchAfterMerge=this.mergeForm.defaultDeleteBranchAfterMerge,this.mergeTitleFieldValue=this.mergeStyleDetail.mergeTitleFieldText,this.mergeMessageFieldValue=this.mergeStyleDetail.mergeMessageFieldText)},switchMergeStyle(e,t=!1){this.mergeStyle=e,this.autoMergeWhenSucceed=t},clearMergeMessage(){this.mergeMessageFieldValue=this.mergeForm.defaultMergeMessage}}},Ew=(0,_.Z)(Tw,[["render",jw],["__scopeId","data-v-bba89cd6"]]);function kw(){const e=document.getElementById("pull-request-merge-form");if(!e)return;(0,te.createApp)(Ew).mount(e)}var Kc=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{csrfToken:Zc}=window.config;function Yc(){const e=[document.querySelector(".edit-content-zone:not(.gt-hidden) textarea"),document.querySelector("#comment-form textarea")];for(const t of e)if(t&&t.value.trim().length>10){if(t.parentElement.scrollIntoView(),!window.confirm("Page will be reloaded, but there are draft comments. Continuing to reload will discard the comments. Continue?"))return;break}window.location.reload()}function Aw(){const e=p(".comment.form");if(e.length===0)return;e.find(".field.combo-editor-dropzone").length?tb(e):e.find(".combo-markdown-editor").length&&eb(e);function t(){const a=p(".ui.select-branch"),u=a.find(".reference-list-menu"),b=u.hasClass("new-issue");u.find(".item:not(.no-select)").on("click",function(){const w=p(this).data("id"),g=p("#editing_mode").val();if(p(p(this).data("id-selector")).val(w),b){a.find(".ui .branch-name").text(p(this).data("name"));return}if(g==="true"){const T=p("#update_issueref_form");p.post(T.attr("action"),{_csrf:Zc,ref:w},()=>window.location.reload())}else g===""&&a.find(".ui .branch-name").text(w)}),a.find(".reference.column").on("click",function(){return pe(a.find(".scrolling.reference-list-menu")),a.find(".reference .text").removeClass("black"),X(p(p(this).data("target"))),p(this).find(".text").addClass("black"),!1})}t();function i(a,u){const b=p(`.ui.${u}.list`),w=b.find(".no-select"),g=p(`.${a} .menu`);let T=g.data("action")==="update";const W={};p(`.${a}`).dropdown({action:"nothing",fullTextSearch:"exact",onHide(){return Kc(this,null,function*(){if(T=g.data("action")==="update",T){const Oe=Object.entries(W);for(const[Ze,ot]of Oe)yield Ll(ot["update-url"],ot.action,ot["issue-id"],Ze);Oe.length&&Yc()}})}}),g.find(".item:not(.no-select)").on("click",function(Oe){if(Oe.preventDefault(),p(this).hasClass("ban-change"))return!1;T=g.data("action")==="update";const Ze=p(this),ot=p(this).attr("data-scope");if(p(this).parent().find(".item").each(function(){if(ot){if(p(this).attr("data-scope")!==ot||!p(this).is(Ze)&&!p(this).hasClass("checked"))return!0}else if(!p(this).is(Ze))return!0;p(this).hasClass("checked")?(p(this).removeClass("checked"),p(this).find(".octicon-check").addClass("gt-invisible"),T&&(p(this).data("id")in W?delete W[p(this).data("id")]:W[p(this).data("id")]={"update-url":g.data("update-url"),action:"detach","issue-id":g.data("issue-id")})):(p(this).addClass("checked"),p(this).find(".octicon-check").removeClass("gt-invisible"),T&&(p(this).data("id")in W?delete W[p(this).data("id")]:W[p(this).data("id")]={"update-url":g.data("update-url"),action:"attach","issue-id":g.data("issue-id")}))}),a==="select-reviewers-modify"||a==="select-assignees-modify")return!1;const pt=[];return p(this).parent().find(".item").each(function(){p(this).hasClass("checked")?(pt.push(p(this).data("id")),p(p(this).data("id-selector")).removeClass("gt-hidden")):p(p(this).data("id-selector")).addClass("gt-hidden")}),pt.length===0?w.removeClass("gt-hidden"):w.addClass("gt-hidden"),p(p(this).parent().data("id")).val(pt.join(",")),!1}),g.find(".no-select.item").on("click",function(Oe){if(Oe.preventDefault(),T&&Ll(g.data("update-url"),"clear",g.data("issue-id"),"").then(Yc),p(this).parent().find(".item").each(function(){p(this).removeClass("checked"),p(this).find(".octicon-check").addClass("gt-invisible")}),a==="select-reviewers-modify"||a==="select-assignees-modify")return!1;b.find(".item").each(function(){p(this).addClass("gt-hidden")}),w.removeClass("gt-hidden"),p(p(this).parent().data("id")).val("")})}i("select-label","labels"),i("select-assignees","assignees"),i("select-assignees-modify","assignees"),i("select-reviewers-modify","assignees");function r(a,u){const b=p(`${a} .menu`),w=p(`.ui${a}.list`),g=b.data("action")==="update";b.find(".item:not(.no-select)").on("click",function(){p(this).parent().find(".item").each(function(){p(this).removeClass("selected active")}),p(this).addClass("selected active"),g&&Ll(b.data("update-url"),"",b.data("issue-id"),p(this).data("id")).then(Yc);let T="";u==="#milestone_id"?T=Ht("octicon-milestone",18,"gt-mr-3"):u==="#project_id"?T=Ht("octicon-project",18,"gt-mr-3"):u==="#assignee_id"&&(T=`<img class="ui avatar image gt-mr-3" alt="avatar" src=${p(this).data("avatar")}>`),w.find(".selected").html(`
<a class="item muted sidebar-item-link" href=${p(this).data("href")}>
${T}
${Os(p(this).text())}
</a>
`),p(`.ui${a}.list .no-select`).addClass("gt-hidden"),p(u).val(p(this).data("id"))}),b.find(".no-select.item").on("click",function(){p(this).parent().find(".item:not(.no-select)").each(function(){p(this).removeClass("selected active")}),g&&Ll(b.data("update-url"),"",b.data("issue-id"),p(this).data("id")).then(Yc),w.find(".selected").html(""),w.find(".no-select").removeClass("gt-hidden"),p(u).val("")})}r(".select-project","#project_id"),r(".select-milestone","#milestone_id"),r(".select-assignee","#assignee_id")}function Ow(e){return Kc(this,null,function*(){e.preventDefault();const t=p(this).closest(".header").next(),i=t.find(".edit-content-zone"),r=t.find(".render-content"),a=t.find(".raw-content");let u;const b=T=>Kc(this,null,function*(){if(T.length===0)return null;let W=!1,Oe={};const Ze=yield pd(T[0],{url:T.attr("data-upload-url"),headers:{"X-Csrf-Token":Zc},maxFiles:T.attr("data-max-file"),maxFilesize:T.attr("data-max-size"),acceptedFiles:["*/*",""].includes(T.attr("data-accepts"))?null:T.attr("data-accepts"),addRemoveLinks:!0,dictDefaultMessage:T.attr("data-default-message"),dictInvalidFileType:T.attr("data-invalid-input-type"),dictFileTooBig:T.attr("data-file-too-big"),dictRemoveFile:T.attr("data-remove-file"),timeout:0,thumbnailMethod:"contain",thumbnailWidth:480,thumbnailHeight:480,init(){this.on("success",(ot,pt)=>{ot.uuid=pt.uuid,Oe[ot.uuid]={submitted:!1};const lt=p(`<input id="${pt.uuid}" name="files" type="hidden">`).val(pt.uuid);T.find(".files").append(lt)}),this.on("removedfile",ot=>{W||(p(`#${ot.uuid}`).remove(),T.attr("data-remove-url")&&!Oe[ot.uuid].submitted&&p.post(T.attr("data-remove-url"),{file:ot.uuid,_csrf:Zc}))}),this.on("submit",()=>{p.each(Oe,ot=>{Oe[ot].submitted=!0})}),this.on("reload",()=>{p.getJSON(i.attr("data-attachment-url"),ot=>{W=!0,Ze.removeAllFiles(!0),T.find(".files").empty(),Oe={},W=!1;for(const pt of ot){const lt=`${T.attr("data-link-url")}/${pt.uuid}`;Ze.emit("addedfile",pt),Ze.emit("thumbnail",pt,lt),Ze.emit("complete",pt),Ze.files.push(pt),Oe[pt.uuid]={submitted:!0},T.find(`img[src='${lt}']`).css("max-width","100%");const Dt=p(`<input id="${pt.uuid}" name="files" type="hidden">`).val(pt.uuid);T.find(".files").append(Dt)}})})}});return Ze.emit("reload"),Ze}),w=T=>{X(r),pe(i),T&&T.emit("reload")},g=(T,W)=>{X(r),pe(i);const Oe=W.find(".files").find("[name=files]").map(function(){return p(this).val()}).get();p.post(i.attr("data-update-url"),{_csrf:Zc,content:u.value(),context:i.attr("data-context"),files:Oe},Ze=>{if(!Ze.content)r.html(p("#no-content").html()),a.text("");else{r.html(Ze.content),a.text(u.value());const pt=r.find("p .ref-issue");yu(pt)}const ot=t;ot.find(".dropzone-attachments").length?Ze.attachments===""?ot.find(".dropzone-attachments").remove():ot.find(".dropzone-attachments").replaceWith(Ze.attachments):Ze.attachments!==""&&(ot.append('<div class="dropzone-attachments"></div>'),ot.find(".dropzone-attachments").replaceWith(Ze.attachments)),T&&(T.emit("submit"),T.emit("reload")),Ac(),hd()})};if(i.html())u=Bu(i.find(".combo-markdown-editor"));else{i.html(p("#issue-comment-editor-template").html()),u=yield el(i.find(".combo-markdown-editor"));const T=i.find(".dropzone"),W=yield b(T);i.find(".cancel.button").on("click",Oe=>{Oe.preventDefault(),w(W)}),i.find(".save.button").on("click",Oe=>{Oe.preventDefault(),g(W,T)})}X(i),pe(r),u.value()||u.value(a.text()),u.focus()})}function Rw(){if(p(".page-content.repository").length===0)return;if(K1(".js-branch-tag-selector"),p(".repository.settings.options").length>0){p(".enable-system").on("change",function(){this.checked?(p(p(this).data("target")).removeClass("disabled"),p(this).data("context")||p(p(this).data("context")).addClass("disabled")):(p(p(this).data("target")).addClass("disabled"),p(this).data("context")||p(p(this).data("context")).removeClass("disabled"))}),p(".enable-system-radio").on("change",function(){this.value==="false"?(p(p(this).data("target")).addClass("disabled"),p(this).data("context")!==void 0&&p(p(this).data("context")).removeClass("disabled")):this.value==="true"&&(p(p(this).data("target")).removeClass("disabled"),p(this).data("context")!==void 0&&p(p(this).data("context")).addClass("disabled"))});const i=p(".js-tracker-issue-style");i.on("change input",()=>{const r=i.filter(":checked").val();p("#tracker-issue-style-regex-box").toggleClass("disabled",r!=="regexp")})}Zh(".repository.labels"),p(".repository.new.milestone").length>0&&p("#clear-date").on("click",()=>(p("#deadline").val(""),!1)),p(".repository.new.repo").length>0&&p('input[name="gitignores"], input[name="license"]').on("change",()=>{const i=p('input[name="gitignores"]').val(),r=p('input[name="license"]').val();(i||r)&&p('input[name="auto_init"]').prop("checked",!0)}),p(".repository.diff").length&&(wb(".choose.branch .dropdown"),xb(".choose.branch .dropdown")),_b(),X1(),my(),p(".repository.view.issue").length>0&&(Pw(),Q0(),J0(),X0(),Z0(),g_(),G0(),H0(),V0(),U0(),$0(),Uc(p(document)),kw());const t=p(".repository.compare.pull");t.length>0&&t.find("button.show-form").on("click",function(i){i.preventDefault(),pe(p(this).parent());const r=t.find(".pullrequest-form");X(r)}),m1()}function Pw(){p(document).on("click",".edit-content",Ow),p(document).on("click",".quote-reply",function(e){return Kc(this,null,function*(){e.preventDefault();const t=p(this).data("target"),r=`> ${p(`#${t}`).text().replace(/\n/g,`
> `)}
`;let a;if(p(this).hasClass("quote-reply-diff")){const u=p(this).closest(".comment-code-cloud").find("button.comment-form-reply");a=yield _h(u)}else a=Bu(p("#comment-form .combo-markdown-editor"));a&&(a.value()?a.value(`${a.value()}
${r}`):a.value(r),a.focus(),a.moveCursorToEnd())})})}var Dw=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{i18n:rc}=window.config;function Mw(){const e=document.getElementById("copy-content");!e||e.classList.contains("disabled")||e.addEventListener("click",()=>Dw(this,null,function*(){if(e.classList.contains("is-loading"))return;let t,i=!1;const r=e.getAttribute("data-link");if(r){e.classList.add("is-loading","small-loading-icon");try{const u=yield zr(r,{credentials:"include",redirect:"follow"}),b=u.headers.get("content-type");b.startsWith("image/")&&!b.startsWith("image/svg")?(i=!0,t=yield u.blob()):t=yield u.text()}catch(u){return Qa(e,rc.copy_error)}finally{e.classList.remove("is-loading","small-loading-icon")}}else{const u=document.querySelectorAll(".file-view .lines-code");t=Array.from(u,b=>b.textContent).join("")}if(yield Kl(t))Qa(e,rc.copy_success);else if(i){const u=yield Kl(yield Ot(t,"image/png"));Qa(e,u?rc.copy_success:rc.copy_error)}else Qa(e,rc.copy_error)}))}var Lw=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function Iw(){return Lw(this,null,function*(){const e=document.querySelector("#captcha");if(!e)return;const t=e.getAttribute("data-sitekey"),i=Fr(),r={sitekey:t,theme:i?"dark":"light"};switch(e.getAttribute("data-captcha-type")){case"g-recaptcha":{window.grecaptcha&&window.grecaptcha.ready(()=>{window.grecaptcha.render(e,r)});break}case"cf-turnstile":{window.turnstile&&window.turnstile.render(e,r);break}case"h-captcha":{window.hcaptcha&&window.hcaptcha.render(e,r);break}case"m-captcha":{const{default:a}=yield St.e("mcaptcha-vanilla-glue").then(St.t.bind(St,"./node_modules/@mcaptcha/vanilla-glue/dist/index.js",19));a.INPUT_NAME="m-captcha-response";const u=e.getAttribute("data-instance-url");a.default({siteKey:{instanceUrl:new URL(u),key:t}});break}default:}})}const Fw=e=>((0,f.dD)("data-v-901b7a88"),e=e(),(0,f.Cn)(),e),Nw={class:"ui container action-view-container"},Bw={class:"action-view-header"},Hw={class:"action-info-summary"},Vw={class:"action-info-summary-title"},Uw={class:"action-info-summary-title-text"},$w=["data-url"],Ww={class:"action-commit-summary"},zw=["href"],qw=["href"],Kw={key:0,class:"ui label"},Zw=["href"],Yw={class:"action-view-body"},Gw={class:"action-view-left"},Xw={class:"job-group-section"},Jw={class:"job-brief-list"},Qw=["href","onMouseenter"],ex={class:"job-brief-item-left"},tx={class:"job-brief-name gt-mx-3 gt-ellipsis"},ix={class:"job-brief-item-right"},nx={class:"step-summary-duration"},rx={key:0,class:"job-artifacts"},sx={class:"job-artifacts-title"},ox={class:"job-artifacts-list"},ax=["href"],lx={class:"action-view-right"},cx={class:"job-info-header"},ux={class:"job-info-header-left"},fx={class:"job-info-header-title"},dx={class:"job-info-header-detail"},hx={class:"job-info-header-right"},px={class:"btn gt-interact-bg gt-p-3"},mx={class:"icon"},gx={class:"icon"},vx={class:"icon"},bx=Fw(()=>(0,f._)("div",{class:"divider"},null,-1)),yx=["href"],_x={class:"icon"},wx={class:"job-step-container",ref:"steps"},xx=["onClick"],jx={class:"step-summary-msg gt-ellipsis"},Sx={class:"step-summary-duration"};function Cx(e,t,i,r,a,u){const b=(0,f.up)("ActionRunStatus"),w=(0,f.up)("SvgIcon");return(0,f.wg)(),(0,f.iD)("div",Nw,[(0,f._)("div",Bw,[(0,f._)("div",Hw,[(0,f._)("div",Vw,[(0,f.Wm)(b,{"locale-status":e.locale.status[e.run.status],status:e.run.status,size:20},null,8,["locale-status","status"]),(0,f._)("h2",Uw,(0,Q.toDisplayString)(e.run.title),1)]),e.run.canApprove?((0,f.wg)(),(0,f.iD)("button",{key:0,class:"ui basic small compact button primary",onClick:t[0]||(t[0]=g=>e.approveRun())},(0,Q.toDisplayString)(e.locale.approve),1)):e.run.canCancel?((0,f.wg)(),(0,f.iD)("button",{key:1,class:"ui basic small compact button red",onClick:t[1]||(t[1]=g=>e.cancelRun())},(0,Q.toDisplayString)(e.locale.cancel),1)):e.run.canRerun?((0,f.wg)(),(0,f.iD)("button",{key:2,class:"ui basic small compact button gt-mr-0 link-action","data-url":`${e.run.link}/rerun`},(0,Q.toDisplayString)(e.locale.rerun_all),9,$w)):(0,f.kq)("v-if",!0)]),(0,f._)("div",Ww,[(0,f.Uk)((0,Q.toDisplayString)(e.run.commit.localeCommit)+" ",1),(0,f._)("a",{class:"muted",href:e.run.commit.link},(0,Q.toDisplayString)(e.run.commit.shortSHA),9,zw),(0,f.Uk)(" "+(0,Q.toDisplayString)(e.run.commit.localePushedBy)+" ",1),(0,f._)("a",{class:"muted",href:e.run.commit.pusher.link},(0,Q.toDisplayString)(e.run.commit.pusher.displayName),9,qw),e.run.commit.shortSHA?((0,f.wg)(),(0,f.iD)("span",Kw,[(0,f._)("a",{href:e.run.commit.branch.link},(0,Q.toDisplayString)(e.run.commit.branch.name),9,Zw)])):(0,f.kq)("v-if",!0)])]),(0,f._)("div",Yw,[(0,f._)("div",Gw,[(0,f._)("div",Xw,[(0,f._)("div",Jw,[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.run.jobs,(g,T)=>((0,f.wg)(),(0,f.iD)("a",{class:(0,Q.normalizeClass)(["job-brief-item",parseInt(e.jobIndex)===T?"selected":""]),href:e.run.link+"/jobs/"+T,key:g.id,onMouseenter:W=>e.onHoverRerunIndex=g.id,onMouseleave:t[2]||(t[2]=W=>e.onHoverRerunIndex=-1)},[(0,f._)("div",ex,[(0,f.Wm)(b,{"locale-status":e.locale.status[g.status],status:g.status},null,8,["locale-status","status"]),(0,f._)("span",tx,(0,Q.toDisplayString)(g.name),1)]),(0,f._)("span",ix,[g.canRerun&&e.onHoverRerunIndex===g.id?((0,f.wg)(),(0,f.j4)(w,{key:0,name:"octicon-sync",role:"button","data-tooltip-content":e.locale.rerun,class:"job-brief-rerun gt-mx-3 link-action","data-url":`${e.run.link}/jobs/${T}/rerun`},null,8,["data-tooltip-content","data-url"])):(0,f.kq)("v-if",!0),(0,f._)("span",nx,(0,Q.toDisplayString)(g.duration),1)])],42,Qw))),128))])]),e.artifacts.length>0?((0,f.wg)(),(0,f.iD)("div",rx,[(0,f._)("div",sx,(0,Q.toDisplayString)(e.locale.artifactsTitle),1),(0,f._)("ul",ox,[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.artifacts,g=>((0,f.wg)(),(0,f.iD)("li",{class:"job-artifacts-item",key:g.name},[(0,f._)("a",{class:"job-artifacts-link",target:"_blank",href:e.run.link+"/artifacts/"+g.name},[(0,f.Wm)(w,{name:"octicon-file",class:"ui text black job-artifacts-icon"}),(0,f.Uk)((0,Q.toDisplayString)(g.name),1)],8,ax)]))),128))])])):(0,f.kq)("v-if",!0)]),(0,f._)("div",lx,[(0,f._)("div",cx,[(0,f._)("div",ux,[(0,f._)("h3",fx,(0,Q.toDisplayString)(e.currentJob.title),1),(0,f._)("p",dx,(0,Q.toDisplayString)(e.currentJob.detail),1)]),(0,f._)("div",hx,[(0,f._)("div",{class:"ui top right pointing dropdown custom jump item",onClick:t[6]||(t[6]=(0,te.withModifiers)(g=>e.menuVisible=!e.menuVisible,["stop"])),onKeyup:t[7]||(t[7]=(0,te.withKeys)(g=>e.menuVisible=!e.menuVisible,["enter"]))},[(0,f._)("button",px,[(0,f.Wm)(w,{name:"octicon-gear",size:18})]),e.menuVisible?((0,f.wg)(),(0,f.iD)("div",{key:0,class:(0,Q.normalizeClass)(["menu transition action-job-menu",{visible:e.menuVisible}])},[(0,f._)("a",{class:"item",onClick:t[3]||(t[3]=g=>e.toggleTimeDisplay("seconds"))},[(0,f._)("i",mx,[(0,f.Wm)(w,{name:e.timeVisible["log-time-seconds"]?"octicon-check":"gitea-empty-checkbox"},null,8,["name"])]),(0,f.Uk)(" "+(0,Q.toDisplayString)(e.locale.showLogSeconds),1)]),(0,f._)("a",{class:"item",onClick:t[4]||(t[4]=g=>e.toggleTimeDisplay("stamp"))},[(0,f._)("i",gx,[(0,f.Wm)(w,{name:e.timeVisible["log-time-stamp"]?"octicon-check":"gitea-empty-checkbox"},null,8,["name"])]),(0,f.Uk)(" "+(0,Q.toDisplayString)(e.locale.showTimeStamps),1)]),(0,f._)("a",{class:"item",onClick:t[5]||(t[5]=g=>e.toggleFullScreen())},[(0,f._)("i",vx,[(0,f.Wm)(w,{name:e.isFullScreen?"octicon-check":"gitea-empty-checkbox"},null,8,["name"])]),(0,f.Uk)(" "+(0,Q.toDisplayString)(e.locale.showFullScreen),1)]),bx,(0,f._)("a",{class:(0,Q.normalizeClass)(["item",e.currentJob.steps.length===0?"disabled":""]),href:e.run.link+"/jobs/"+e.jobIndex+"/logs",target:"_blank"},[(0,f._)("i",_x,[(0,f.Wm)(w,{name:"octicon-download"})]),(0,f.Uk)(" "+(0,Q.toDisplayString)(e.locale.downloadLogs),1)],10,yx)],2)):(0,f.kq)("v-if",!0)],32)])]),(0,f._)("div",wx,[((0,f.wg)(!0),(0,f.iD)(f.HY,null,(0,f.Ko)(e.currentJob.steps,(g,T)=>((0,f.wg)(),(0,f.iD)("div",{class:"job-step-section",key:T},[(0,f._)("div",{class:(0,Q.normalizeClass)(["job-step-summary",e.currentJobStepsStates[T].expanded?"selected":""]),onClick:(0,te.withModifiers)(W=>e.toggleStepLogs(T),["stop"])},[(0,f.kq)(` If the job is done and the job step log is loaded for the first time, show the loading icon
currentJobStepsStates[i].cursor === null means the log is loaded for the first time
`),e.isDone(e.run.status)&&e.currentJobStepsStates[T].expanded&&e.currentJobStepsStates[T].cursor===null?((0,f.wg)(),(0,f.j4)(w,{key:0,name:"octicon-sync",class:"gt-mr-3 job-status-rotate"})):((0,f.wg)(),(0,f.j4)(w,{key:1,name:e.currentJobStepsStates[T].expanded?"octicon-chevron-down":"octicon-chevron-right",class:"gt-mr-3"},null,8,["name"])),(0,f.Wm)(b,{status:g.status,class:"gt-mr-3"},null,8,["status"]),(0,f._)("span",jx,(0,Q.toDisplayString)(g.summary),1),(0,f._)("span",Sx,(0,Q.toDisplayString)(g.duration),1)],10,xx),(0,f.kq)(` the log elements could be a lot, do not use v-if to destroy/reconstruct the DOM,
use native DOM elements for "log line" to improve performance, Vue is not suitable for managing so many reactive elements. `),(0,f.wy)((0,f._)("div",{class:"job-step-logs",ref_for:!0,ref:"logs"},null,512),[[te.vShow,e.currentJobStepsStates[T].expanded]])]))),128))],512)])])])}const Tx=["data-tooltip-content"];function Ex(e,t,i,r,a,u){const b=(0,f.up)("SvgIcon");return i.status?((0,f.wg)(),(0,f.iD)("span",{key:0,class:"gt-df gt-ac","data-tooltip-content":i.localeStatus},[i.status==="success"?((0,f.wg)(),(0,f.j4)(b,{key:0,name:"octicon-check-circle-fill",class:"text green",size:i.size,"class-name":i.className},null,8,["size","class-name"])):i.status==="skipped"?((0,f.wg)(),(0,f.j4)(b,{key:1,name:"octicon-skip",class:"text grey",size:i.size,"class-name":i.className},null,8,["size","class-name"])):i.status==="waiting"?((0,f.wg)(),(0,f.j4)(b,{key:2,name:"octicon-clock",class:"text yellow",size:i.size,"class-name":i.className},null,8,["size","class-name"])):i.status==="blocked"?((0,f.wg)(),(0,f.j4)(b,{key:3,name:"octicon-blocked",class:"text yellow",size:i.size,"class-name":i.className},null,8,["size","class-name"])):i.status==="running"?((0,f.wg)(),(0,f.j4)(b,{key:4,name:"octicon-meter",class:"text yellow",size:i.size,"class-name":"job-status-rotate "+i.className},null,8,["size","class-name"])):["failure","cancelled","unknown"].includes(i.status)?((0,f.wg)(),(0,f.j4)(b,{key:5,name:"octicon-x-circle-fill",class:"text red",size:i.size},null,8,["size"])):(0,f.kq)("v-if",!0)],8,Tx)):(0,f.kq)("v-if",!0)}var kx={components:{SvgIcon:vs},props:{status:{type:String,required:!0},size:{type:Number,default:16},className:{type:String,default:""},localeStatus:{type:String,default:""}}},Ax=(0,_.Z)(kx,[["render",Ex]]),Gu=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},Pr;(function(e){e[e.EOS=0]="EOS",e[e.Text=1]="Text",e[e.Incomplete=2]="Incomplete",e[e.ESC=3]="ESC",e[e.Unknown=4]="Unknown",e[e.SGR=5]="SGR",e[e.OSCURL=6]="OSCURL"})(Pr||(Pr={}));class Ox{constructor(){this.VERSION="6.0.2",this.setup_palettes(),this._use_classes=!1,this.bold=!1,this.faint=!1,this.italic=!1,this.underline=!1,this.fg=this.bg=null,this._buffer="",this._url_allowlist={http:1,https:1},this._escape_html=!0,this.boldStyle="font-weight:bold",this.faintStyle="opacity:0.7",this.italicStyle="font-style:italic",this.underlineStyle="text-decoration:underline"}set use_classes(t){this._use_classes=t}get use_classes(){return this._use_classes}set url_allowlist(t){this._url_allowlist=t}get url_allowlist(){return this._url_allowlist}set escape_html(t){this._escape_html=t}get escape_html(){return this._escape_html}set boldStyle(t){this._boldStyle=t}get boldStyle(){return this._boldStyle}set faintStyle(t){this._faintStyle=t}get faintStyle(){return this._faintStyle}set italicStyle(t){this._italicStyle=t}get italicStyle(){return this._italicStyle}set underlineStyle(t){this._underlineStyle=t}get underlineStyle(){return this._underlineStyle}setup_palettes(){this.ansi_colors=[[{rgb:[0,0,0],class_name:"ansi-black"},{rgb:[187,0,0],class_name:"ansi-red"},{rgb:[0,187,0],class_name:"ansi-green"},{rgb:[187,187,0],class_name:"ansi-yellow"},{rgb:[0,0,187],class_name:"ansi-blue"},{rgb:[187,0,187],class_name:"ansi-magenta"},{rgb:[0,187,187],class_name:"ansi-cyan"},{rgb:[255,255,255],class_name:"ansi-white"}],[{rgb:[85,85,85],class_name:"ansi-bright-black"},{rgb:[255,85,85],class_name:"ansi-bright-red"},{rgb:[0,255,0],class_name:"ansi-bright-green"},{rgb:[255,255,85],class_name:"ansi-bright-yellow"},{rgb:[85,85,255],class_name:"ansi-bright-blue"},{rgb:[255,85,255],class_name:"ansi-bright-magenta"},{rgb:[85,255,255],class_name:"ansi-bright-cyan"},{rgb:[255,255,255],class_name:"ansi-bright-white"}]],this.palette_256=[],this.ansi_colors.forEach(r=>{r.forEach(a=>{this.palette_256.push(a)})});let t=[0,95,135,175,215,255];for(let r=0;r<6;++r)for(let a=0;a<6;++a)for(let u=0;u<6;++u){let b={rgb:[t[r],t[a],t[u]],class_name:"truecolor"};this.palette_256.push(b)}let i=8;for(let r=0;r<24;++r,i+=10){let a={rgb:[i,i,i],class_name:"truecolor"};this.palette_256.push(a)}}escape_txt_for_html(t){return this._escape_html?t.replace(/[&<>"']/gm,i=>{if(i==="&")return"&amp;";if(i==="<")return"&lt;";if(i===">")return"&gt;";if(i==='"')return"&quot;";if(i==="'")return"&#x27;"}):t}append_buffer(t){var i=this._buffer+t;this._buffer=i}get_next_packet(){var t={kind:Pr.EOS,text:"",url:""},i=this._buffer.length;if(i==0)return t;var r=this._buffer.indexOf("\x1B");if(r==-1)return t.kind=Pr.Text,t.text=this._buffer,this._buffer="",t;if(r>0)return t.kind=Pr.Text,t.text=this._buffer.slice(0,r),this._buffer=this._buffer.slice(r),t;if(r==0){if(i<3)return t.kind=Pr.Incomplete,t;var a=this._buffer.charAt(1);if(a!="["&&a!="]"&&a!="(")return t.kind=Pr.ESC,t.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),t;if(a=="["){this._csi_regex||(this._csi_regex=dp(hp||(hp=Gu([`
^ # beginning of line
#
# First attempt
(?: # legal sequence
\x1B[ # CSI
([<-?]?) # private-mode char
([d;]*) # any digits or semicolons
([ -/]? # an intermediate modifier
[@-~]) # the command
)
| # alternate (second attempt)
(?: # illegal sequence
\x1B[ # CSI
[ -~]* # anything legal
([\0-:]) # anything illegal
)
`],[`
^ # beginning of line
#
# First attempt
(?: # legal sequence
\\x1b\\[ # CSI
([\\x3c-\\x3f]?) # private-mode char
([\\d;]*) # any digits or semicolons
([\\x20-\\x2f]? # an intermediate modifier
[\\x40-\\x7e]) # the command
)
| # alternate (second attempt)
(?: # illegal sequence
\\x1b\\[ # CSI
[\\x20-\\x7e]* # anything legal
([\\x00-\\x1f:]) # anything illegal
)
`]))));let b=this._buffer.match(this._csi_regex);if(b===null)return t.kind=Pr.Incomplete,t;if(b[4])return t.kind=Pr.ESC,t.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),t;b[1]!=""||b[3]!="m"?t.kind=Pr.Unknown:t.kind=Pr.SGR,t.text=b[2];var u=b[0].length;return this._buffer=this._buffer.slice(u),t}else if(a=="]"){if(i<4)return t.kind=Pr.Incomplete,t;if(this._buffer.charAt(2)!="8"||this._buffer.charAt(3)!=";")return t.kind=Pr.ESC,t.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),t;this._osc_st||(this._osc_st=Rx(pp||(pp=Gu([`
(?: # legal sequence
(\x1B\\) # ESC | # alternate
(\x07) # BEL (what xterm did)
)
| # alternate (second attempt)
( # illegal sequence
[\0-] # anything illegal
| # alternate
[\b-] # anything illegal
| # alternate
[-] # anything illegal
)
`],[`
(?: # legal sequence
(\\x1b\\\\) # ESC \\
| # alternate
(\\x07) # BEL (what xterm did)
)
| # alternate (second attempt)
( # illegal sequence
[\\x00-\\x06] # anything illegal
| # alternate
[\\x08-\\x1a] # anything illegal
| # alternate
[\\x1c-\\x1f] # anything illegal
)
`])))),this._osc_st.lastIndex=0;{let g=this._osc_st.exec(this._buffer);if(g===null)return t.kind=Pr.Incomplete,t;if(g[3])return t.kind=Pr.ESC,t.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),t}{let g=this._osc_st.exec(this._buffer);if(g===null)return t.kind=Pr.Incomplete,t;if(g[3])return t.kind=Pr.ESC,t.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),t}this._osc_regex||(this._osc_regex=dp(mp||(mp=Gu([`
^ # beginning of line
#
\x1B]8; # OSC Hyperlink
[ -:<-~]* # params (excluding ;)
; # end of params
([!-~]{0,512}) # URL capture
(?: # ST
(?:\x1B\\) # ESC | # alternate
(?:\x07) # BEL (what xterm did)
)
([ -~]+) # TEXT capture
\x1B]8;; # OSC Hyperlink End
(?: # ST
(?:\x1B\\) # ESC | # alternate
(?:\x07) # BEL (what xterm did)
)
`],[`
^ # beginning of line
#
\\x1b\\]8; # OSC Hyperlink
[\\x20-\\x3a\\x3c-\\x7e]* # params (excluding ;)
; # end of params
([\\x21-\\x7e]{0,512}) # URL capture
(?: # ST
(?:\\x1b\\\\) # ESC \\
| # alternate
(?:\\x07) # BEL (what xterm did)
)
([\\x20-\\x7e]+) # TEXT capture
\\x1b\\]8;; # OSC Hyperlink End
(?: # ST
(?:\\x1b\\\\) # ESC \\
| # alternate
(?:\\x07) # BEL (what xterm did)
)
`]))));let b=this._buffer.match(this._osc_regex);if(b===null)return t.kind=Pr.ESC,t.text=this._buffer.slice(0,1),this._buffer=this._buffer.slice(1),t;t.kind=Pr.OSCURL,t.url=b[1],t.text=b[2];var u=b[0].length;return this._buffer=this._buffer.slice(u),t}else if(a=="(")return t.kind=Pr.Unknown,this._buffer=this._buffer.slice(3),t}}ansi_to_html(t){this.append_buffer(t);for(var i=[];;){var r=this.get_next_packet();if(r.kind==Pr.EOS||r.kind==Pr.Incomplete)break;r.kind==Pr.ESC||r.kind==Pr.Unknown||(r.kind==Pr.Text?i.push(this.transform_to_html(this.with_state(r))):r.kind==Pr.SGR?this.process_ansi(r):r.kind==Pr.OSCURL&&i.push(this.process_hyperlink(r)))}return i.join("")}with_state(t){return{bold:this.bold,faint:this.faint,italic:this.italic,underline:this.underline,fg:this.fg,bg:this.bg,text:t.text}}process_ansi(t){let i=t.text.split(";");for(;i.length>0;){let r=i.shift(),a=parseInt(r,10);if(isNaN(a)||a===0)this.fg=null,this.bg=null,this.bold=!1,this.faint=!1,this.italic=!1,this.underline=!1;else if(a===1)this.bold=!0;else if(a===2)this.faint=!0;else if(a===3)this.italic=!0;else if(a===4)this.underline=!0;else if(a===21)this.bold=!1;else if(a===22)this.faint=!1,this.bold=!1;else if(a===23)this.italic=!1;else if(a===24)this.underline=!1;else if(a===39)this.fg=null;else if(a===49)this.bg=null;else if(a>=30&&a<38)this.fg=this.ansi_colors[0][a-30];else if(a>=40&&a<48)this.bg=this.ansi_colors[0][a-40];else if(a>=90&&a<98)this.fg=this.ansi_colors[1][a-90];else if(a>=100&&a<108)this.bg=this.ansi_colors[1][a-100];else if((a===38||a===48)&&i.length>0){let u=a===38,b=i.shift();if(b==="5"&&i.length>0){let w=parseInt(i.shift(),10);w>=0&&w<=255&&(u?this.fg=this.palette_256[w]:this.bg=this.palette_256[w])}if(b==="2"&&i.length>2){let w=parseInt(i.shift(),10),g=parseInt(i.shift(),10),T=parseInt(i.shift(),10);if(w>=0&&w<=255&&g>=0&&g<=255&&T>=0&&T<=255){let W={rgb:[w,g,T],class_name:"truecolor"};u?this.fg=W:this.bg=W}}}}}transform_to_html(t){let i=t.text;if(i.length===0||(i=this.escape_txt_for_html(i),!t.bold&&!t.italic&&!t.underline&&t.fg===null&&t.bg===null))return i;let r=[],a=[],u=t.fg,b=t.bg;t.bold&&r.push(this._boldStyle),t.faint&&r.push(this._faintStyle),t.italic&&r.push(this._italicStyle),t.underline&&r.push(this._underlineStyle),this._use_classes?(u&&(u.class_name!=="truecolor"?a.push(`${u.class_name}-fg`):r.push(`color:rgb(${u.rgb.join(",")})`)),b&&(b.class_name!=="truecolor"?a.push(`${b.class_name}-bg`):r.push(`background-color:rgb(${b.rgb.join(",")})`))):(u&&r.push(`color:rgb(${u.rgb.join(",")})`),b&&r.push(`background-color:rgb(${b.rgb})`));let w="",g="";return a.length&&(w=` class="${a.join(" ")}"`),r.length&&(g=` style="${r.join(";")}"`),`<span${g}${w}>${i}</span>`}process_hyperlink(t){let i=t.url.split(":");return i.length<1||!this._url_allowlist[i[0]]?"":`<a href="${this.escape_txt_for_html(t.url)}">${this.escape_txt_for_html(t.text)}</a>`}}function dp(e,...t){let i=e.raw[0],r=/^\s+|\s+\n|\s*#[\s\S]*?\n|\n/gm,a=i.replace(r,"");return new RegExp(a)}function Rx(e,...t){let i=e.raw[0],r=/^\s+|\s+\n|\s*#[\s\S]*?\n|\n/gm,a=i.replace(r,"");return new RegExp(a,"g")}var hp,pp,mp;const Px=[[/\x1b\[\d+[A-H]/g,""],[/\x1b\[\d?[JK]/g,"\r"]];function Dx(e){const t=new Ox;if(t.use_classes=!0,e.endsWith(`\r
`)?e=e.substring(0,e.length-2):e.endsWith(`
`)&&(e=e.substring(0,e.length-1)),e.includes("\x1B"))for(const[r,a]of Px)e=e.replace(r,a);if(!e.includes("\r"))return t.ansi_to_html(e);const i=[];for(const r of e.split("\r")){if(r==="")continue;const a=t.ansi_to_html(r);a!==""&&i.push(a)}return i.join(`
`)}var sc=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const gp={name:"RepoActionView",components:{SvgIcon:vs,ActionRunStatus:Ax},props:{runIndex:String,jobIndex:String,actionsURL:String,locale:Object},data(){return{loading:!1,intervalID:null,currentJobStepsStates:[],artifacts:[],onHoverRerunIndex:-1,menuVisible:!1,isFullScreen:!1,timeVisible:{"log-time-stamp":!1,"log-time-seconds":!1},run:{link:"",title:"",status:"",canCancel:!1,canApprove:!1,canRerun:!1,done:!1,jobs:[],commit:{localeCommit:"",localePushedBy:"",shortSHA:"",link:"",pusher:{displayName:"",link:""},branch:{name:"",link:""}}},currentJob:{title:"",detail:"",steps:[]}}},mounted(){return sc(this,null,function*(){yield this.loadJob(),this.intervalID=setInterval(this.loadJob,1e3),document.body.addEventListener("click",this.closeDropdown),this.hashChangeListener(),window.addEventListener("hashchange",this.hashChangeListener)})},beforeUnmount(){document.body.removeEventListener("click",this.closeDropdown),window.removeEventListener("hashchange",this.hashChangeListener)},unmounted(){this.intervalID&&(clearInterval(this.intervalID),this.intervalID=null)},methods:{getLogsContainer(e){var t;const i=this.$refs.logs[e];return(t=i._stepLogsActiveContainer)!=null?t:i},beginLogGroup(e){const t=this.$refs.logs[e],i=document.createElement("div");i.classList.add("job-log-group");const r=document.createElement("div");r.classList.add("job-log-group-summary");const a=document.createElement("div");a.classList.add("job-log-list"),i.append(r),i.append(a),t._stepLogsActiveContainer=a},endLogGroup(e){const t=this.$refs.logs[e];t._stepLogsActiveContainer=null},toggleStepLogs(e){this.currentJobStepsStates[e].expanded=!this.currentJobStepsStates[e].expanded,this.currentJobStepsStates[e].expanded&&this.loadJob()},cancelRun(){Or(`${this.run.link}/cancel`)},approveRun(){Or(`${this.run.link}/approve`)},createLogLine(e,t,i){const r=document.createElement("div");r.classList.add("job-log-line"),r.setAttribute("id",`jobstep-${i}-${e.index}`),r._jobLogTime=e.timestamp;const a=document.createElement("a");a.classList.add("line-num","muted"),a.textContent=e.index,a.setAttribute("href",`#jobstep-${i}-${e.index}`),r.append(a);const u=document.createElement("span");u.className="log-time-stamp";const w=new Date(parseFloat(e.timestamp*1e3)).toLocaleString(ie(),{timeZoneName:"short"});u.textContent=w,N(u,this.timeVisible["log-time-stamp"]);const g=document.createElement("span");g.className="log-time-seconds";const T=Math.floor(parseFloat(e.timestamp)-parseFloat(t));g.textContent=`${T}s`,N(g,this.timeVisible["log-time-seconds"]);const W=document.createElement("span");return W.className="log-msg",W.innerHTML=Dx(e.message),r.append(u),r.append(W),r.append(g),r},appendLogs(e,t,i){for(const r of t)this.getLogsContainer(e).append(this.createLogLine(r,i,e))},fetchArtifacts(){return sc(this,null,function*(){return yield(yield Or(`${this.actionsURL}/runs/${this.runIndex}/artifacts`)).json()})},fetchJob(){return sc(this,null,function*(){const e=this.currentJobStepsStates.map((i,r)=>({step:r,cursor:i.cursor,expanded:i.expanded}));return yield(yield Or(`${this.actionsURL}/runs/${this.runIndex}/jobs/${this.jobIndex}`,{data:{logCursors:e}})).json()})},loadJob(){return sc(this,null,function*(){if(!this.loading)try{this.loading=!0;let e,t;try{[e,t]=yield Promise.all([this.fetchJob(),this.fetchArtifacts()])}catch(i){if(i instanceof TypeError)return;throw i}this.artifacts=t.artifacts||[],this.run=e.state.run,this.currentJob=e.state.currentJob;for(let i=0;i<this.currentJob.steps.length;i++)this.currentJobStepsStates[i]||(this.currentJobStepsStates[i]={cursor:null,expanded:!1});for(const i of e.logs.stepsLog)this.currentJobStepsStates[i.step].cursor=i.cursor,this.appendLogs(i.step,i.lines,i.started);this.run.done&&this.intervalID&&(clearInterval(this.intervalID),this.intervalID=null)}finally{this.loading=!1}})},isDone(e){return["success","skipped","failure","cancelled"].includes(e)},closeDropdown(){this.menuVisible&&(this.menuVisible=!1)},toggleTimeDisplay(e){this.timeVisible[`log-time-${e}`]=!this.timeVisible[`log-time-${e}`];for(const t of this.$refs.steps.querySelectorAll(`.log-time-${e}`))N(t,this.timeVisible[`log-time-${e}`])},toggleFullScreen(){this.isFullScreen=!this.isFullScreen;const e=document.querySelector(".action-view-right"),t=document.querySelector(".full.height"),i=document.querySelector(".action-view-body"),r=document.querySelector("#navbar"),a=document.querySelector(".page-content.repository"),u=document.querySelector(".page-footer");N(r,!this.isFullScreen),N(a,!this.isFullScreen),N(u,!this.isFullScreen),this.isFullScreen?t.append(e):i.append(e)},hashChangeListener(){return sc(this,null,function*(){const e=window.location.hash;if(!e)return;const[t,i,r]=e.split("-");if(!this.currentJobStepsStates[i])return;!this.currentJobStepsStates[i].expanded&&this.currentJobStepsStates[i].cursor===null&&(this.currentJobStepsStates[i].expanded=!0,yield this.loadJob());const a=this.$refs.steps.querySelector(e);a&&a.querySelector(".line-num").click()})}}};var Mx=gp;function Lx(){const e=document.getElementById("repo-action-view");if(!e)return;const t=document.querySelector("body > div.full.height");t&&(t.style.paddingBottom="0"),(0,te.createApp)(gp,{runIndex:e.getAttribute("data-run-index"),jobIndex:e.getAttribute("data-job-index"),actionsURL:e.getAttribute("data-actions-url"),locale:{approve:e.getAttribute("data-locale-approve"),cancel:e.getAttribute("data-locale-cancel"),rerun:e.getAttribute("data-locale-rerun"),artifactsTitle:e.getAttribute("data-locale-artifacts-title"),rerun_all:e.getAttribute("data-locale-rerun-all"),showTimeStamps:e.getAttribute("data-locale-show-timestamps"),showLogSeconds:e.getAttribute("data-locale-show-log-seconds"),showFullScreen:e.getAttribute("data-locale-show-full-screen"),downloadLogs:e.getAttribute("data-locale-download-logs"),status:{unknown:e.getAttribute("data-locale-status-unknown"),waiting:e.getAttribute("data-locale-status-waiting"),running:e.getAttribute("data-locale-status-running"),success:e.getAttribute("data-locale-status-success"),failure:e.getAttribute("data-locale-status-failure"),cancelled:e.getAttribute("data-locale-status-cancelled"),skipped:e.getAttribute("data-locale-status-skipped"),blocked:e.getAttribute("data-locale-status-blocked")}}}).mount(e)}const Hj=(0,_.Z)(Mx,[["render",Cx],["__scopeId","data-v-901b7a88"]]);var Vj=null,Ix=Object.defineProperty,vp=Object.getOwnPropertySymbols,Fx=Object.prototype.hasOwnProperty,Nx=Object.prototype.propertyIsEnumerable,bp=(e,t,i)=>t in e?Ix(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Bx=(e,t)=>{for(var i in t||(t={}))Fx.call(t,i)&&bp(e,i,t[i]);if(vp)for(var i of vp(t))Nx.call(t,i)&&bp(e,i,t[i]);return e},Gc=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function Hx(){const e=p(".issue-checkbox-all"),t=p(".issue-checkbox"),i=()=>{const r=t.filter(":checked"),a=r.length!==0;a&&r.length===t.length?e.prop({checked:!0,indeterminate:!1}):a?e.prop({checked:!1,indeterminate:!0}):e.prop({checked:!1,indeterminate:!1}),N(p("#issue-filters"),!a),N(p("#issue-actions"),a),p("#issue-filters, #issue-actions").filter(":visible").find(".issue-list-toolbar-left").prepend(e)};t.on("change",i),e.on("change",()=>{t.prop("checked",e.is(":checked")),i()}),p(".issue-action").on("click",function(r){return Gc(this,null,function*(){r.preventDefault();const a=this.getAttribute("data-url");let u=this.getAttribute("data-action"),b=this.getAttribute("data-element-id"),w=[];for(const g of document.querySelectorAll(".issue-checkbox:checked"))w.push(g.getAttribute("data-issue-id"));if(w=w.join(","),!!w){if(b==="0"&&a.endsWith("/assignee")&&(b="",u="clear"),u==="toggle"&&r.altKey&&(u="toggle-alt"),u==="delete"){const g=r.target.getAttribute("data-action-delete-confirm");if(!(yield vd({content:g,buttonColor:"orange"})))return}Ll(a,u,w,b).then(()=>{window.location.reload()}).catch(g=>{Oa(g.responseJSON.error)})}})})}function Vx(){const e=p(".user-remote-search");if(!e.length)return;let t=e.attr("data-search-url");const i=e.attr("data-action-jump-url"),r=e.attr("data-selected-user-id");t.includes("?")||(t+="?"),e.dropdown("setting",{fullTextSearch:!0,selectOnKeydown:!1,apiSettings:{cache:!1,url:`${t}&q={query}`,onResponse(b){const w=[];for(const g of b.results){let T=`<img class="ui avatar gt-vm" src="${Os(g.avatar_link)}" aria-hidden="true" alt="" width="20" height="20"><span class="gt-ellipsis">${Os(g.username)}</span>`;g.full_name&&(T+=`<span class="search-fullname gt-ml-3">${Os(g.full_name)}</span>`),w.push({value:g.user_id,name:T})}return b.results=w,b}},action:(b,w)=>{window.location.href=i.replace("{user_id}",encodeURIComponent(w))},onShow:()=>{e.dropdown("filter"," ")}});const a=Bx({},e.dropdown("internal","setup")),u=e.dropdown("setting","templates");e.dropdown("internal","setup",a),a.menu=function(b){const w=e.find("> .menu");w.find("> .dynamic-item").remove();const g=u.menu(b,e.dropdown("setting","fields"),!0,e.dropdown("setting","className"));if(g){const T=p(g);T.addClass("dynamic-item"),w.append('<div class="divider dynamic-item"></div>',...T)}e.dropdown("refresh"),setTimeout(()=>{w.find(".item.active, .item.selected").removeClass("active selected"),w.find(`.item[data-value="${r}"]`).addClass("selected")},0)}}function Ux(){for(const e of document.getElementsByClassName("issue-card-unpin"))e.addEventListener("click",t=>Gc(this,null,function*(){const i=t.currentTarget,r=Number(i.getAttribute("data-issue-id"));(yield Ks(i.getAttribute("data-unpin-url"))).ok&&(i._tippy.destroy(),i.closest(`div.issue-card[data-issue-id="${r}"]`).remove())}))}function $x(e){return Gc(this,null,function*(){const t=e.item.getAttribute("data-move-url"),i=Number(e.item.getAttribute("data-issue-id"));yield Or(t,{data:{id:i,position:e.newIndex+1}})})}function Wx(){return Gc(this,null,function*(){const e=document.getElementById("issue-pins");e!==null&&e.hasAttribute("data-is-repo-admin")&&(Ux(),!(e.children.length<2)&&wu(e,{group:"shared",animation:150,ghostClass:"card-ghost",onEnd:$x}))})}function zx(){const e=document.querySelector("#archived-filter-checkbox");if(!e)return;const t=new URL(window.location.href),i=document.querySelectorAll("[data-is-archived]");if(!i.length){pe(".archived-label-filter");return}const r=(t.searchParams.get("labels")||"").split(",").map(u=>u<0?`${~u+1}`:u),a=()=>{for(const u of i){const b=u.getAttribute("data-label-id");N(u,e.checked||r.includes(b))}};a(),e.addEventListener("change",()=>{a(),e.checked?t.searchParams.set("archived","true"):t.searchParams.delete("archived"),window.location.href=t.href})}function qx(){document.querySelectorAll(".page-content.repository.issue-list, .page-content.repository.milestone-issue-list").length&&(Hx(),Vx(),Wx(),zx())}var Kx=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});const{appSubUrl:Zx}=window.config,Yx=/^(\d+)$/,Gx=/^#(\d+)$/,Xx=/^([-.\w]+)\/([-.\w]+)#(\d+)$/;function Jx(e,t){t=t.trim();let i="";if(e)Yx.test(t)?i=`${e}/issues/${t}`:Gx.test(t)&&(i=`${e}/issues/${t.substr(1)}`);else{const r=t.match(Xx);if(r){const[a,u,b,w]=r;i=`${Zx}/${u}/${b}/issues/${w}`}}return i}function Qx(){const e=p("#issue-list-quick-goto");if(!e.length)return;const t=e.closest("form"),i=t.find("input[name=q]"),r=e.attr("data-repo-link");t.on("submit",u=>{let b=!_e(e);const w=u.originalEvent.submitter;w!==t[0]&&w!==i[0]&&w!==e[0]&&(b=!1),b&&(u.preventDefault(),window.location.href=e.attr("data-issue-goto-link"))});const a=()=>Kx(this,null,function*(){const u=i.val();let b=Jx(r,u);b&&(yield zr(`${b}/info`)).status!==200&&(b=""),i.val()===u&&(N(e,!!b),e.attr("data-issue-goto-link",b))});i.on("input",_t(a)),a()}var ej=(e,t,i)=>new Promise((r,a)=>{var u=g=>{try{w(i.next(g))}catch(T){a(T)}},b=g=>{try{w(i.throw(g))}catch(T){a(T)}},w=g=>g.done?r(g.value):Promise.resolve(g.value).then(u,b);w((i=i.apply(e,t)).next())});function tj(e,t){return ej(this,null,function*(){t.classList.add("disabled");try{const r=yield(yield zr(t.getAttribute("data-fetch-url"))).json();pe(t),ij(e,r.tags),nj(e,r.branches,r.default_branch),X(e.querySelectorAll(".branch-and-tag-detail"))}finally{t.classList.remove("disabled")}})}function ij(e,t){const i=e.querySelector(".tag-area");N(i.parentElement,t.length>0);for(const r of t)yp(i,r.web_link,r.name)}function nj(e,t,i){const r=e.getAttribute("data-text-default-branch-tooltip"),a=e.querySelector(".branch-area");N(a.parentElement,t.length>0);for(const u of t){const b=i===u.name?r:null;yp(a,u.web_link,u.name,b)}}function yp(e,t,i,r){const a=document.createElement("a");a.classList.add("muted","gt-px-2"),a.href=t,a.textContent=i,r&&(a.classList.add("gt-border-secondary","gt-rounded"),a.setAttribute("data-tooltip-content",r)),e.append(a)}function rj(){for(const e of document.querySelectorAll(".branch-and-tag-area")){const t=e.querySelector(".load-branches-and-tags");t.addEventListener("click",()=>tj(e,t))}}function Xu(e){e.type!=="hidden"&&e.type!=="checkbox"&&e.type!=="radio"&&e.type!=="range"&&e.type!=="color"&&(e.dir="auto")}function sj(){const e=new MutationObserver(r=>{const a=r.length;for(let u=0;u<a;u++){const b=r[u],w=b.addedNodes.length;for(let g=0;g<w;g++){const T=b.addedNodes[g];if(T.nodeType!==Node.ELEMENT_NODE&&T.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)continue;(T.nodeName==="INPUT"||T.nodeName==="TEXTAREA")&&Xu(T);const W=T.querySelectorAll("input, textarea"),Oe=W.length;for(let Ze=0;Ze<Oe;Ze++)Xu(W[Ze])}}}),t=document.querySelectorAll("input, textarea"),i=t.length;for(let r=0;r<i;r++)Xu(t[r]);e.observe(document,{subtree:!0,childList:!0})}u1(),sj(),qe(()=>{_v(),Fp(),vv(),Cv(),Vp(),wv(),gv(),hv(),jv(),U_(),Qx(),P_(),N_(),M_(),pv(),mv(),hd(),xm(),ig(),kf(),yg(),Ac(),gb(),Bg(),dg(),Zg(),Mw(),ub(),lb(),pg(),vg(),No(),xg(),ju(),w_(),__(),ke(),yb(),B_(),mb(),Aw(),nb(),rj(),rb(),E0(),Sm(),td(),N0(),qx(),B0(),ib(),q0(),F0(),K0(),sg(),Sb(),fg(),W0(),z0(),Y0(),T_(),E_(),py(),hy(),dy(),db(),ab(),p1(),Rw(),Lx(),sb(),Iw(),Ev(),Tv(),x_(),S_(),vb(),b_(),av(),ki()})}(),function(){"use strict"}(),function(){"use strict"}(),function(){"use strict"}()})();
//# sourceMappingURL=index.js.a5887ff5.map