PageSourceSearch

https://staroetv.su/build/assets/app-BlPtbkLg.js

js staroetv.su collected 2026-09-24 08:58:59 UTC 608,904 bytes, 132 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Select2-CRSdIpnl.js","assets/Select2.vue_vue_type_script_setup_true_lang-CCZPL5NX.js","assets/NamesHistoryEditor-BnsoBBmP.js","assets/Datepicker.vue_vue_type_script_setup_true_lang-DQRYj6w1.js","assets/PictureUploader.vue_vue_type_style_index_0_lang-B0AhYGEY.js","assets/Modal.vue_vue_type_script_setup_true_lang-B-N_tGxz.js","assets/Response.vue_vue_type_script_setup_true_lang-_67IcJFd.js","assets/Preloader-Dy1Nor-q.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/errors-CKV_R-io.js","assets/PictureUploader-BfRQOSzm.css","assets/vue-tags-input-B_tmSx_j.js","assets/vue.esm-bundler-BAH8bK7Q.js","assets/InputContainer.vue_vue_type_script_setup_true_lang-DzhqiorY.js","assets/NamesHistoryEditor-2p34Qvmg.css","assets/PictureUploader-CXlY4l3l.js","assets/RecordForm-B8mM3lyb.js","assets/ChannelSelect.vue_vue_type_script_setup_true_lang-_zBtZgCS.js","assets/channels-Hok9s05v.js","assets/channels-B_lLsZVJ.js","assets/programs-Cp-W0N7u.js","assets/SimilarModal-CP1SgWBE.js","assets/consts-BMlEQ-a6.js","assets/dates-JfDR9rKc.js","assets/categories-DOjQfFct.js","assets/autocomplete-u9VOCtAE.js","assets/RecordsItem.vue_vue_type_script_setup_true_lang-C32hgc8K.js","assets/SimilarModal-BNlJLZVS.css","assets/TypeSelect.vue_vue_type_script_setup_true_lang-BN5pLHWS.js","assets/PlayerEmbed.vue_vue_type_style_index_0_lang-C3JQWETd.js","assets/PlayerEmbed-BSvt1FO2.css","assets/RecordForm-KNZ7Qt04.css","assets/UserGroupsSelect-BBT86vEw.js","assets/UserGroupsSelect-DBxhxbrm.css","assets/Datepicker-Bamw07eb.js","assets/RecordsSearch-ChCXkHgI.js","assets/laravel-vue-pagination.es-BWQF73fE.js","assets/DateSelect.vue_vue_type_script_setup_true_lang-Bp2_Dj0o.js","assets/RecordsSearch-oa47xtsu.css","assets/CrosspostsEditor-BCIacPYq.js","assets/CrosspostsEditor-Cc2DzpIr.css","assets/QuestionnaireEditor-CrurULce.js","assets/QuestionnaireEditor-DytFkKKK.css","assets/RecordsListPicker-FERjYGsJ.js","assets/vuedraggable.umd-BR_pR46b.js","assets/Snackbar.vue_vue_type_style_index_0_lang-IvWSbBtm.js","assets/Snackbar-oGe7jHm4.css","assets/RecordsListPicker-DzT6GIeo.css","assets/VideoCutter-DGM_5yS0.js","assets/CommercialsInfoEditor.vue_vue_type_script_setup_true_lang-CtXDmtGA.js","assets/VideoCutter-B8wJ4vp9.css","assets/HistoryEventEditor-CrMzy43a.js","assets/HistoryEventEditor-ChkkFa_h.css","assets/AdditionalChannelsEditor-C692CfgB.js","assets/AdditionalChannelsEditor-CJGmSodk.css","assets/MassUploader-BcEW7xAw.js","assets/MassUploader-Cdp2di4Q.css","assets/CrosspostsManager-C5Wnn2I2.js","assets/CrosspostsManager-8ZxgHKOV.css","assets/ChannelSelect-C5U3h7h6.js","assets/TypeSelect-CYKi6HNb.js","assets/DateSelect-DSVEJQJg.js","assets/Response-BidWydhe.js","assets/TiptapEditor-CdDQQpl2.js","assets/TiptapEditor-CQ8GUmhf.css","assets/TagsEditor-ZNaSRILM.js","assets/TagsEditor-BygZYSE3.css","assets/ArticleBindingsEditor-DHxoggoa.js","assets/ArticleBindingsEditor-CEexz80U.css","assets/CommercialsInfoEditor-6iL6POt2.js","assets/ChannelAndProgramTransfer-Dt5fITUK.js","assets/TypeAndCategoryTransfer-Dn-C0Jpq.js","assets/CommercialsPanel-DxlQ-csE.js","assets/CommercialsPanel-DDr4rEmP.css","assets/PermissionsManager-Bz1yjjyZ.js","assets/PermissionsManager-DwP1mcbs.css","assets/ChannelsManager-CO631v2P.js","assets/index-BSgsF2PB--P7aAZjk.js","assets/ChannelsManager-CZKHL-JO.css","assets/ChannelsOrderManager-BXzTkz8F.js","assets/ChannelsOrderManager-UQLz831E.css","assets/SmilesManager-LaxpTrDg.js","assets/UsersManager-DDWWaPak.js","assets/UsersManager-D6TYZ0Jk.css","assets/CategoriesManager-JXrt954J.js","assets/CategoriesManager-CZedZeOh.css","assets/ProgramsManager-C2SskYkH.js","assets/ProgramsOrderManager-BbTHHPgG.js","assets/ProgramsOrderManager-z9AGAmLM.css"])))=>i.map(i=>d[i]);
2const scriptRel="modulepreload",assetsURL=function(e){return"/"+e},seen$2={},__vitePreload=function(t,n,i){let s=Promise.resolve();if(n&&n.length>0){let u=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");s=u(n.map(d=>{if(d=assetsURL(d),d in seen$2)return;seen$2[d]=!0;const f=d.endsWith(".css"),g=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${g}`))return;const v=document.createElement("link");if(v.rel=f?"stylesheet":scriptRel,f||(v.as="script"),v.crossOrigin="",v.href=d,l&&v.setAttribute("nonce",l),document.head.appendChild(v),f)return new Promise((E,S)=>{v.addEventListener("load",E),v.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${d}`)))})}))}function r(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return s.then(a=>{for(const l of a||[])l.status==="rejected"&&r(l.reason);return t().catch(r)})};var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};
2function getDefaultExportFromCjs$1(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function i(){var s=!1;try{s=this instanceof i}catch{}return s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var s=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return e[i]}})}),n}var jquery$1={exports:{}};var jquery=jquery$1.exports,hasRequiredJquery;function requireJquery(){return hasRequiredJquery||(hasRequiredJquery=1,(function(e){(function(t,n){e.exports=t.document?n(t,!0):function(i){if(!i.document)throw new Error("jQuery requires a window with a document");return n(i)}})(typeof window<"u"?window:jquery,function(t,n){var i=[],s=Object.getPrototypeOf,r=i.slice,a=i.flat?function(o){return i.flat.call(o)}:function(o){return i.concat.apply([],o)},l=i.push,u=i.indexOf,d={},f=d.toString,g=d.hasOwnProperty,v=g.toString,E=v.call(Object),S={},A=function(m){return typeof m=="function"&&typeof m.nodeType!="number"&&typeof m.item!="function"},j=function(m){return m!=null&&m===m.window},O=t.document,R={type:!0,src:!0,nonce:!0,noModule:!0};function x(o,m,y){y=y||O;var _,w,C=y.createElement("script");if(C.text=o,m)for(_ in R)w=m[_]||m.getAttribute&&m.getAttribute(_),w&&C.setAttribute(_,w);y.head.appendChild(C).parentNode.removeChild(C)}function k(o){return o==null?o+"":typeof o=="object"||typeof o=="function"?d[f.call(o)]||"object":typeof o}var V="3.7.1",Z=/HTML$/i,b=function(o,m){return new b.fn.init(o,m)};b.fn=b.prototype={jquery:V,constructor:b,length:0,toArray:function(){return r.call(this)},get:function(o){return o==null?r.call(this):o<0?this[o+this.length]:this[o]},pushStack:function(o){var m=b.merge(this.constructor(),o);return m.prevObject=this,m},each:function(o){return b.each(this,o)},map:function(o){return this.pushStack(b.map(this,function(m,y){return o.call(m,y,m)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(b.grep(this,function(o,m){return(m+1)%2}))},odd:function(){return this.pushStack(b.grep(this,function(o,m){return m%2}))},eq:function(o){var m=this.length,y=+o+(o<0?m:0);return this.pushStack(y>=0&&y<m?[this[y]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:i.sort,splice:i.splice},b.extend=b.fn.extend=function(){var o,m,y,_,w,C,T=arguments[0]||{},N=1,P=arguments.length,q=!1;for(typeof T=="boolean"&&(q=T,T=arguments[N]||{},N++),typeof T!="object"&&!A(T)&&(T={}),N===P&&(T=this,N--);N<P;N++)if((o=arguments[N])!=null)for(m in o)_=o[m],!(m==="__proto__"||T===_)&&(q&&_&&(b.isPlainObject(_)||(w=Array.isArray(_)))?(y=T[m],w&&!Array.isArray(y)?C=[]:!w&&!b.isPlainObject(y)?C={}:C=y,w=!1,T[m]=b.extend(q,C,_)):_!==void 0&&(T[m]=_));return T},b.extend({expando:"jQuery"+(V+Math.random()).replace(/\D/g,""),isReady:!0,error:function(o){throw new Error(o)},noop:function(){},isPlainObject:function(o){var m,y;return!o||f.call(o)!=="[object Object]"?!1:(m=s(o),m?(y=g.call(m,"constructor")&&m.constructor,typeof y=="function"&&v.call(y)===E):!0)},isEmptyObject:function(o){var m;for(m in o)return!1;return!0},globalEval:function(o,m,y){x(o,{nonce:m&&m.nonce},y)},each:function(o,m){var y,_=0;if(W(o))for(y=o.length;_<y&&m.call(o[_],_,o[_])!==!1;_++);else for(_ in o)if(m.call(o[_],_,o[_])===!1)break;return o},text:function(o){var m,y="",_=0,w=o.nodeType;if(!w)for(;m=o[_++];)y+=b.text(m);return w===1||w===11?o.textContent:w===9?o.documentElement.textContent:w===3||w===4?o.nodeValue:y},makeArray:function(o,m){var y=m||[];return o!=null&&(W(Object(o))?b.merge(y,typeof o=="string"?[o]:o):l.call(y,o)),y},inArray:function(o,m,y){return m==null?-1:u.call(m,o,y)},isXMLDoc:function(o){var m=o&&o.namespaceURI,y=o&&(o.ownerDocument||o).documentElement;return!Z.test(m||y&&y.nodeName||"HTML")},merge:function(o,m){for(var y=+m.length,_=0,w=o.length;_<y;_++)o[w++]=m[_];return o.length=w,o},grep:function(o,m,y){for(var _,w=[],C=0,T=o.length,N=!y;C<T;C++)_=!m(o[C],C),_!==N&&w.push(o[C]);return w},map:function(o,m,y){var _,w,C=0,T=[];
2if(W(o))for(_=o.length;C<_;C++)w=m(o[C],C,y),w!=null&&T.push(w);else for(C in o)w=m(o[C],C,y),w!=null&&T.push(w);return a(T)},guid:1,support:S}),typeof Symbol=="function"&&(b.fn[Symbol.iterator]=i[Symbol.iterator]),b.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(o,m){d["[object "+m+"]"]=m.toLowerCase()});function W(o){var m=!!o&&"length"in o&&o.length,y=k(o);return A(o)||j(o)?!1:y==="array"||m===0||typeof m=="number"&&m>0&&m-1 in o}function F(o,m){return o.nodeName&&o.nodeName.toLowerCase()===m.toLowerCase()}var G=i.pop,ue=i.sort,J=i.splice,M="[\\x20\\t\\r\\n\\f]",re=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g");b.contains=function(o,m){var y=m&&m.parentNode;return o===y||!!(y&&y.nodeType===1&&(o.contains?o.contains(y):o.compareDocumentPosition&&o.compareDocumentPosition(y)&16))};var pe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function D(o,m){return m?o==="\0"?"�":o.slice(0,-1)+"\\"+o.charCodeAt(o.length-1).toString(16)+" ":"\\"+o}b.escapeSelector=function(o){return(o+"").replace(pe,D)};var U=O,Y=l;(function(){var o,m,y,_,w,C=Y,T,N,P,q,ee,ie=b.expando,K=0,de=0,Pe=en(),He=en(),Ie=en(),nt=en(),Xe=function(L,H){return L===H&&(w=!0),0},yt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",bt="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",je="\\["+M+"*("+bt+")(?:"+M+"*([*^$|!~]?=)"+M+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+bt+"))|)"+M+"*\\]",Pt=":("+bt+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+je+")*)|.*)\\)|)",Ve=new RegExp(M+"+","g"),Ye=new RegExp("^"+M+"*,"+M+"*"),Kt=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),_n=new RegExp(M+"|>"),vt=new RegExp(Pt),Gt=new RegExp("^"+bt+"$"),_t={ID:new RegExp("^#("+bt+")"),CLASS:new RegExp("^\\.("+bt+")"),TAG:new RegExp("^("+bt+"|[*])"),ATTR:new RegExp("^"+je),PSEUDO:new RegExp("^"+Pt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+yt+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},At=/^(?:input|select|textarea|button)$/i,xt=/^h\d$/i,pt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,En=/[+~]/,St=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),Tt=function(L,H){var z="0x"+L.slice(1)-65536;return H||(z<0?String.fromCharCode(z+65536):String.fromCharCode(z>>10|55296,z&1023|56320))},Hi=function(){$t()},Vi=nn(function(L){return L.disabled===!0&&F(L,"fieldset")},{dir:"parentNode",next:"legend"});function Bi(){try{return T.activeElement}catch{}}try{C.apply(i=r.call(U.childNodes),U.childNodes),i[U.childNodes.length].nodeType}catch{C={apply:function(H,z){Y.apply(H,r.call(z))},call:function(H){Y.apply(H,r.call(arguments,1))}}}function qe(L,H,z,Q){var ne,ge,Ee,Ae,we,Me,ke,Oe=H&&H.ownerDocument,De=H?H.nodeType:9;if(z=z||[],typeof L!="string"||!L||De!==1&&De!==9&&De!==11)return z;if(!Q&&($t(H),H=H||T,P)){if(De!==11&&(we=pt.exec(L)))if(ne=we[1]){if(De===9)if(Ee=H.getElementById(ne)){if(Ee.id===ne)return C.call(z,Ee),z}else return z;else if(Oe&&(Ee=Oe.getElementById(ne))&&qe.contains(H,Ee)&&Ee.id===ne)return C.call(z,Ee),z}else{if(we[2])return C.apply(z,H.getElementsByTagName(L)),z;if((ne=we[3])&&H.getElementsByClassName)return C.apply(z,H.getElementsByClassName(ne)),z}if(!nt[L+" "]&&(!q||!q.test(L))){if(ke=L,Oe=H,De===1&&(_n.test(L)||Kt.test(L))){for(Oe=En.test(L)&&wn(H.parentNode)||H,(Oe!=H||!S.scope)&&((Ae=H.getAttribute("id"))?Ae=b.escapeSelector(Ae):H.setAttribute("id",Ae=ie)),Me=Yt(L),ge=Me.length;ge--;)Me[ge]=(Ae?"#"+Ae:":scope")+" "+tn(Me[ge]);ke=Me.join(",")}try{return C.apply(z,Oe.querySelectorAll(ke)),z}catch{nt(L,!0)}finally{Ae===ie&&H.removeAttribute("id")}}}return ni(L.replace(re,"$1"),H,z,Q)}function en(){var L=[];function H(z,Q){return L.push(z+" ")>m.cacheLength&&delete H[L.shift()],H[z+" "]=Q}return H}function gt(L){return L[ie]=!0,L}function Ft(L){var H=T.createElement("fieldset");try{return!!L(H)}catch{return!1}finally{H.parentNode&&H.parentNode.removeChild(H),H=null}}function qi(L){return function(H){return F(H,"input")&&H.type===L}}function Wi(L){return function(H){return(F(H,"input")||F(H,"button"))&&H.type===L}}function ei(L){return function(H){return"form"in H?H.parentNode&&H.disabled===!1?"label"in H?"label"in H.parentNode?H.parentNode.disabled===L:H.disabled===L:H.isDisabled===L||H.isDisabled!==!L&&Vi(H)===L:H.disabled===L:"label"in H?H.disabled===L:!1}}function Ot(L){return gt(function(H){return H=+H,gt(function(z,Q){for(var ne,ge=L([],z.length,H),Ee=ge.length;Ee--;)z[ne=ge[Ee]]&&(z[ne]=!(Q[ne]=z[ne]))})})}function wn(L){return L&&typeof L.getElementsByTagName<"u"&&L}function $t(L){var H,z=L?L.ownerDocument||L:U;return z==T||z.nodeType!==9||!z.documentElement||(T=z,N=T.documentElement,P=!b.isXMLDoc(T),ee=N.matches||N.webkitMatchesSelector||N.msMatchesSelector,N.msMatchesSelector&&U!=T&&(H=T.defaultView)&&H.top!==H&&H.addEventListener("unload",Hi),S.getById=Ft(function(Q){return N.appendChild(Q).id=b.expando,!T.getElementsByName||!T.getElementsByName(b.expando).length}),S.disconnectedMatch=Ft(function(Q){return ee.call(Q,"*")}),S.scope=Ft(function(){return T.querySelectorAll(":scope")}),S.cssHas=Ft(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),S.getById?(m.filter.ID=function(Q){var ne=Q.replace(St,Tt);return function(ge){return ge.getAttribute("id")===ne}},m.find.ID=function(Q,ne){if(typeof ne.getElementById<"u"&&P){var ge=ne.getElementById(Q);return ge?[ge]:[]}}):(m.filter.ID=function(Q){var ne=Q.replace(St,Tt);return function(ge){var Ee=typeof ge.getAttributeNode<"u"&&ge.getAttributeNode("id");return Ee&&Ee.value===ne}},m.find.ID=function(Q,ne){if(typeof ne.getElementById<"u"&&P){var ge,Ee,Ae,we=ne.getElementById(Q);if(we){if(ge=we.getAttributeNode("id"),ge&&ge.value===Q)return[we];for(Ae=ne.getElementsByName(Q),Ee=0;we=Ae[Ee++];)if(ge=we.getAttributeNode("id"),ge&&ge.value===Q)return[we]}return[]}}),m.find.TAG=function(Q,ne){return typeof ne.getElementsByTagName<"u"?ne.getElementsByTagName(Q):ne.querySelectorAll(Q)},m.find.CLASS=function(Q,ne){if(typeof ne.getElementsByClassName<"u"&&P)return ne.getElementsByClassName(Q)},q=[],Ft(function(Q){var ne;N.appendChild(Q).innerHTML="<a id='"+ie+"' href='' disabled='disabled'></a><select id='"+ie+"-\r\\' disabled='disabled'><option selected=''></option></select>",Q.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+yt+")"),Q.querySelectorAll("[id~="+ie+"-]").length||q.push("~="),Q.querySelectorAll("a#"+ie+"+*").length||q.push(".#.+[+~]"),Q.querySelectorAll(":checked").length||q.push(":checked"),ne=T.createElement("input"),ne.setAttribute("type","hidden"),Q.appendChild(ne).setAttribute("name","D"),N.appendChild(Q).disabled=!0,Q.querySelectorAll(":disabled").length!==2&&q.push(":enabled",":disabled"),ne=T.createElement("input"),ne.setAttribute("name",""),Q.appendChild(ne),Q.querySelectorAll("[name='']").length||q.push("\\["+M+"*name"+M+"*="+M+`*(?:''|"")`)}),S.cssHas||q.push(":has"),q=q.length&&new RegExp(q.join("|")),Xe=function(Q,ne){if(Q===ne)return w=!0,0;var ge=!Q.compareDocumentPosition-!ne.compareDocumentPosition;return ge||(ge=(Q.ownerDocument||Q)==(ne.ownerDocument||ne)?Q.compareDocumentPosition(ne):1,ge&1||!S.sortDetached&&ne.compareDocumentPosition(Q)===ge?Q===T||Q.ownerDocument==U&&qe.contains(U,Q)?-1:ne
2===T||ne.ownerDocument==U&&qe.contains(U,ne)?1:_?u.call(_,Q)-u.call(_,ne):0:ge&4?-1:1)}),T}qe.matches=function(L,H){return qe(L,null,null,H)},qe.matchesSelector=function(L,H){if($t(L),P&&!nt[H+" "]&&(!q||!q.test(H)))try{var z=ee.call(L,H);if(z||S.disconnectedMatch||L.document&&L.document.nodeType!==11)return z}catch{nt(H,!0)}return qe(H,T,null,[L]).length>0},qe.contains=function(L,H){return(L.ownerDocument||L)!=T&&$t(L),b.contains(L,H)},qe.attr=function(L,H){(L.ownerDocument||L)!=T&&$t(L);var z=m.attrHandle[H.toLowerCase()],Q=z&&g.call(m.attrHandle,H.toLowerCase())?z(L,H,!P):void 0;return Q!==void 0?Q:L.getAttribute(H)},qe.error=function(L){throw new Error("Syntax error, unrecognized expression: "+L)},b.uniqueSort=function(L){var H,z=[],Q=0,ne=0;if(w=!S.sortStable,_=!S.sortStable&&r.call(L,0),ue.call(L,Xe),w){for(;H=L[ne++];)H===L[ne]&&(Q=z.push(ne));for(;Q--;)J.call(L,z[Q],1)}return _=null,L},b.fn.uniqueSort=function(){return this.pushStack(b.uniqueSort(r.apply(this)))},m=b.expr={cacheLength:50,createPseudo:gt,match:_t,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(L){return L[1]=L[1].replace(St,Tt),L[3]=(L[3]||L[4]||L[5]||"").replace(St,Tt),L[2]==="~="&&(L[3]=" "+L[3]+" "),L.slice(0,4)},CHILD:function(L){return L[1]=L[1].toLowerCase(),L[1].slice(0,3)==="nth"?(L[3]||qe.error(L[0]),L[4]=+(L[4]?L[5]+(L[6]||1):2*(L[3]==="even"||L[3]==="odd")),L[5]=+(L[7]+L[8]||L[3]==="odd")):L[3]&&qe.error(L[0]),L},PSEUDO:function(L){var H,z=!L[6]&&L[2];return _t.CHILD.test(L[0])?null:(L[3]?L[2]=L[4]||L[5]||"":z&&vt.test(z)&&(H=Yt(z,!0))&&(H=z.indexOf(")",z.length-H)-z.length)&&(L[0]=L[0].slice(0,H),L[2]=z.slice(0,H)),L.slice(0,3))}},filter:{TAG:function(L){var H=L.replace(St,Tt).toLowerCase();return L==="*"?function(){return!0}:function(z){return F(z,H)}},CLASS:function(L){var H=Pe[L+" "];return H||(H=new RegExp("(^|"+M+")"+L+"("+M+"|$)"))&&Pe(L,function(z){return H.test(typeof z.className=="string"&&z.className||typeof z.getAttribute<"u"&&z.getAttribute("class")||"")})},ATTR:function(L,H,z){return function(Q){var ne=qe.attr(Q,L);return ne==null?H==="!=":H?(ne+="",H==="="?ne===z:H==="!="?ne!==z:H==="^="?z&&ne.indexOf(z)===0:H==="*="?z&&ne.indexOf(z)>-1:H==="$="?z&&ne.slice(-z.length)===z:H==="~="?(" "+ne.replace(Ve," ")+" ").indexOf(z)>-1:H==="|="?ne===z||ne.slice(0,z.length+1)===z+"-":!1):!0}},CHILD:function(L,H,z,Q,ne){var ge=L.slice(0,3)!=="nth",Ee=L.slice(-4)!=="last",Ae=H==="of-type";return Q===1&&ne===0?function(we){return!!we.parentNode}:function(we,Me,ke){var Oe,De,Le,Ue,ut,it=ge!==Ee?"nextSibling":"previousSibling",ht=we.parentNode,Et=Ae&&we.nodeName.toLowerCase(),jt=!ke&&!Ae,ot=!1;if(ht){if(ge){for(;it;){for(Le=we;Le=Le[it];)if(Ae?F(Le,Et):Le.nodeType===1)return!1;ut=it=L==="only"&&!ut&&"nextSibling"}return!0}if(ut=[Ee?ht.firstChild:ht.lastChild],Ee&&jt){for(De=ht[ie]||(ht[ie]={}),Oe=De[L]||[],Ue=Oe[0]===K&&Oe[1],ot=Ue&&Oe[2],Le=Ue&&ht.childNodes[Ue];Le=++Ue&&Le&&Le[it]||(ot=Ue=0)||ut.pop();)if(Le.nodeType===1&&++ot&&Le===we){De[L]=[K,Ue,ot];break}}else if(jt&&(De=we[ie]||(we[ie]={}),Oe=De[L]||[],Ue=Oe[0]===K&&Oe[1],ot=Ue),ot===!1)for(;(Le=++Ue&&Le&&Le[it]||(ot=Ue=0)||ut.pop())&&!((Ae?F(Le,Et):Le.nodeType===1)&&++ot&&(jt&&(De=Le[ie]||(Le[ie]={}),De[L]=[K,ot]),Le===we)););return ot-=ne,ot===Q||ot%Q===0&&ot/Q>=0}}},PSEUDO:function(L,H){var z,Q=m.pseudos[L]||m.setFilters[L.toLowerCase()]||qe.error("unsupported pseudo: "+L);return Q[ie]?Q(H):Q.length>1?(z=[L,L,"",H],m.setFilters.hasOwnProperty(L.toLowerCase())?gt(function(ne,ge){for(var Ee,Ae=Q(ne,H),we=Ae.length;we--;)Ee=u.call(ne,Ae[we]),ne[Ee]=!(ge[Ee]=Ae[we])}):function(ne){return Q(ne,0,z)}):Q}},pseudos:{not:gt(function(L){var H=[],z=[],Q=An(L.replace(re,"$1"));return Q[ie]?gt(function(ne,ge,Ee,Ae){for(var we,Me=Q(ne,null,Ae,[]),ke=ne.length;ke--;)(we=Me[ke])&&(ne[ke]=!(ge[ke]=we))}):function(ne,ge,Ee){return H[0]=ne,Q(H,null,Ee,z),H[0]=null,!z.pop()}}),has:gt(function(L){return function(H){return qe(L,H).length>0}}),contains:gt(function(L){return L=L.replace(St,Tt),function(H){return(H.textContent||b.text(H)).indexOf(L)>-1}}),lang:gt(function(L){return Gt.test(L||"")||qe.error("unsupported lang: "+L),L=L.replace(St,Tt).toLowerCase(),function(H){var z;do if(z=P?H.lang:H.getAttribute("xml:lang")||H.getAttribute("lang"))return z=z.toLowerCase(),z===L||z.indexOf(L+"-")===0;while((H=H.parentNode)&&H.nodeType===1);return!1}}),target:function(L){var H=t.location&&t.location.hash;return H&&H.slice(1)===L.id},root:function(L){return L===N},focus:function(L){return L===Bi()&&T.hasFocus()&&!!(L.type||L.href||~L.tabIndex)},enabled:ei(!1),disabled:ei(!0),checked:function(L){return F(L,"input")&&!!L.checked||F(L,"option")&&!!L.selected},selected:function(L){return L.parentNode&&L.parentNode.selectedIndex,L.selected===!0},empty:function(L){for(L=L.firstChild;L;L=L.nextSibling)if(L.nodeType<6)return!1;return!0},parent:function(L){return!m.pseudos.empty(L)},header:function(L){return xt.test(L.nodeName)}
2,input:function(L){return At.test(L.nodeName)},button:function(L){return F(L,"input")&&L.type==="button"||F(L,"button")},text:function(L){var H;return F(L,"input")&&L.type==="text"&&((H=L.getAttribute("type"))==null||H.toLowerCase()==="text")},first:Ot(function(){return[0]}),last:Ot(function(L,H){return[H-1]}),eq:Ot(function(L,H,z){return[z<0?z+H:z]}),even:Ot(function(L,H){for(var z=0;z<H;z+=2)L.push(z);return L}),odd:Ot(function(L,H){for(var z=1;z<H;z+=2)L.push(z);return L}),lt:Ot(function(L,H,z){var Q;for(z<0?Q=z+H:z>H?Q=H:Q=z;--Q>=0;)L.push(Q);return L}),gt:Ot(function(L,H,z){for(var Q=z<0?z+H:z;++Q<H;)L.push(Q);return L})}},m.pseudos.nth=m.pseudos.eq;for(o in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})m.pseudos[o]=qi(o);for(o in{submit:!0,reset:!0})m.pseudos[o]=Wi(o);function ti(){}ti.prototype=m.filters=m.pseudos,m.setFilters=new ti;function Yt(L,H){var z,Q,ne,ge,Ee,Ae,we,Me=He[L+" "];if(Me)return H?0:Me.slice(0);for(Ee=L,Ae=[],we=m.preFilter;Ee;){(!z||(Q=Ye.exec(Ee)))&&(Q&&(Ee=Ee.slice(Q[0].length)||Ee),Ae.push(ne=[])),z=!1,(Q=Kt.exec(Ee))&&(z=Q.shift(),ne.push({value:z,type:Q[0].replace(re," ")}),Ee=Ee.slice(z.length));for(ge in m.filter)(Q=_t[ge].exec(Ee))&&(!we[ge]||(Q=we[ge](Q)))&&(z=Q.shift(),ne.push({value:z,type:ge,matches:Q}),Ee=Ee.slice(z.length));if(!z)break}return H?Ee.length:Ee?qe.error(L):He(L,Ae).slice(0)}function tn(L){for(var H=0,z=L.length,Q="";H<z;H++)Q+=L[H].value;return Q}function nn(L,H,z){var Q=H.dir,ne=H.next,ge=ne||Q,Ee=z&&ge==="parentNode",Ae=de++;return H.first?function(we,Me,ke){for(;we=we[Q];)if(we.nodeType===1||Ee)return L(we,Me,ke);return!1}:function(we,Me,ke){var Oe,De,Le=[K,Ae];if(ke){for(;we=we[Q];)if((we.nodeType===1||Ee)&&L(we,Me,ke))return!0}else for(;we=we[Q];)if(we.nodeType===1||Ee)if(De=we[ie]||(we[ie]={}),ne&&F(we,ne))we=we[Q]||we;else{if((Oe=De[ge])&&Oe[0]===K&&Oe[1]===Ae)return Le[2]=Oe[2];if(De[ge]=Le,Le[2]=L(we,Me,ke))return!0}return!1}}function Cn(L){return L.length>1?function(H,z,Q){for(var ne=L.length;ne--;)if(!L[ne](H,z,Q))return!1;return!0}:L[0]}function zi(L,H,z){for(var Q=0,ne=H.length;Q<ne;Q++)qe(L,H[Q],z);return z}function sn(L,H,z,Q,ne){for(var ge,Ee=[],Ae=0,we=L.length,Me=H!=null;Ae<we;Ae++)(ge=L[Ae])&&(!z||z(ge,Q,ne))&&(Ee.push(ge),Me&&H.push(Ae));return Ee}function Sn(L,H,z,Q,ne,ge){return Q&&!Q[ie]&&(Q=Sn(Q)),ne&&!ne[ie]&&(ne=Sn(ne,ge)),gt(function(Ee,Ae,we,Me){var ke,Oe,De,Le,Ue=[],ut=[],it=Ae.length,ht=Ee||zi(H||"*",we.nodeType?[we]:we,[]),Et=L&&(Ee||!H)?sn(ht,Ue,L,we,Me):
vendor: 9,166 bytes, line 2
2ht;if(z?(Le=ne||(Ee?L:it||Q)?[]:Ae,z(Et,Le,we,Me)):Le=Et,Q)for(ke=sn(Le,ut),Q(ke,[],we,Me),Oe=ke.length;Oe--;)(De=ke[Oe])&&(Le[ut[Oe]]=!(Et[ut[Oe]]=De));if(Ee){if(ne||L){if(ne){for(ke=[],Oe=Le.length;Oe--;)(De=Le[Oe])&&ke.push(Et[Oe]=De);ne(null,Le=[],ke,Me)}for(Oe=Le.length;Oe--;)(De=Le[Oe])&&(ke=ne?u.call(Ee,De):Ue[Oe])>-1&&(Ee[ke]=!(Ae[ke]=De))}}else Le=sn(Le===Ae?Le.splice(it,Le.length):Le),ne?ne(null,Ae,Le,Me):C.apply(Ae,Le)})}function Tn(L){for(var H,z,Q,ne=L.length,ge=m.relative[L[0].type],Ee=ge||m.relative[" "],Ae=ge?1:0,we=nn(function(Oe){return Oe===H},Ee,!0),Me=nn(function(Oe){return u.call(H,Oe)>-1},Ee,!0),ke=[function(Oe,De,Le){var Ue=!ge&&(Le||De!=y)||((H=De).nodeType?we(Oe,De,Le):Me(Oe,De,Le));return H=null,Ue}];Ae<ne;Ae++)if(z=m.relative[L[Ae].type])ke=[nn(Cn(ke),z)];else{if(z=m.filter[L[Ae].type].apply(null,L[Ae].matches),z[ie]){for(Q=++Ae;Q<ne&&!m.relative[L[Q].type];Q++);return Sn(Ae>1&&Cn(ke),Ae>1&&tn(L.slice(0,Ae-1).concat({value:L[Ae-2].type===" "?"*":""})).replace(re,"$1"),z,Ae<Q&&Tn(L.slice(Ae,Q)),Q<ne&&Tn(L=L.slice(Q)),Q<ne&&tn(L))}ke.push(z)}return Cn(ke)}function Ui(L,H){var z=H.length>0,Q=L.length>0,ne=function(ge,Ee,Ae,we,Me){var ke,Oe,De,Le=0,Ue="0",ut=ge&&[],it=[],ht=y,Et=ge||Q&&m.find.TAG("*",Me),jt=K+=ht==null?1:Math.random()||.1,ot=Et.length;for(Me&&(y=Ee==T||Ee||Me);Ue!==ot&&(ke=Et[Ue])!=null;Ue++){if(Q&&ke){for(Oe=0,!Ee&&ke.ownerDocument!=T&&($t(ke),Ae=!P);De=L[Oe++];)if(De(ke,Ee||T,Ae)){C.call(we,ke);break}Me&&(K=jt)}z&&((ke=!De&&ke)&&Le--,ge&&ut.push(ke))}if(Le+=Ue,z&&Ue!==Le){for(Oe=0;De=H[Oe++];)De(ut,it,Ee,Ae);if(ge){if(Le>0)for(;Ue--;)ut[Ue]||it[Ue]||(it[Ue]=G.call(we));it=sn(it)}C.apply(we,it),Me&&!ge&&it.length>0&&Le+H.length>1&&b.uniqueSort(we)}return Me&&(K=jt,y=ht),ut};return z?gt(ne):ne}function An(L,H){var z,Q=[],ne=[],ge=Ie[L+" "];if(!ge){for(H||(H=Yt(L)),z=H.length;z--;)ge=Tn(H[z]),ge[ie]?Q.push(ge):ne.push(ge);ge=Ie(L,Ui(ne,Q)),ge.selector=L}return ge}function ni(L,H,z,Q){var ne,ge,Ee,Ae,we,Me=typeof L=="function"&&L,ke=!Q&&Yt(L=Me.selector||L);if(z=z||[],ke.length===1){if(ge=ke[0]=ke[0].slice(0),ge.length>2&&(Ee=ge[0]).type==="ID"&&H.nodeType===9&&P&&m.relative[ge[1].type]){if(H=(m.find.ID(Ee.matches[0].replace(St,Tt),H)||[])[0],H)Me&&(H=H.parentNode);else return z;L=L.slice(ge.shift().value.length)}for(ne=_t.needsContext.test(L)?0:ge.length;ne--&&(Ee=ge[ne],!m.relative[Ae=Ee.type]);)if((we=m.find[Ae])&&(Q=we(Ee.matches[0].replace(St,Tt),En.test(ge[0].type)&&wn(H.parentNode)||H))){if(ge.splice(ne,1),L=Q.length&&tn(ge),!L)return C.apply(z,Q),z;break}}return(Me||An(L,ke))(Q,H,!P,z,!H||En.test(L)&&wn(H.parentNode)||H),z}S.sortStable=ie.split("").sort(Xe).join("")===ie,$t(),S.sortDetached=Ft(function(L){return L.compareDocumentPosition(T.createElement("fieldset"))&1}),b.find=qe,b.expr[":"]=b.expr.pseudos,b.unique=b.uniqueSort,qe.compile=An,qe.select=ni,qe.setDocument=$t,qe.tokenize=Yt,qe.escape=b.escapeSelector,qe.getText=b.text,qe.isXML=b.isXMLDoc,qe.selectors=b.expr,qe.support=b.support,qe.uniqueSort=b.uniqueSort})();var le=function(o,m,y){for(var _=[],w=y!==void 0;(o=o[m])&&o.nodeType!==9;)if(o.nodeType===1){if(w&&b(o).is(y))break;_.push(o)}return _},be=function(o,m){for(var y=[];o;o=o.nextSibling)o.nodeType===1&&o!==m&&y.push(o);return y},xe=b.expr.match.needsContext,X=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function he(o,m,y){return A(m)?b.grep(o,function(_,w){return!!m.call(_,w,_)!==y}):m.nodeType?b.grep(o,function(_){return _===m!==y}):typeof m!="string"?b.grep(o,function(_){return u.call(m,_)>-1!==y}):b.filter(m,o,y)}b.filter=function(o,m,y){var _=m[0];return y&&(o=":not("+o+")"),m.length===1&&_.nodeType===1?b.find.matchesSelector(_,o)?[_]:[]:b.find.matches(o,b.grep(m,function(w){return w.nodeType===1}))},b.fn.extend({find:function(o){var m,y,_=this.length,w=this;if(typeof o!="string")return this.pushStack(b(o).filter(function(){for(m=0;m<_;m++)if(b.contains(w[m],this))return!0}));for(y=this.pushStack([]),m=0;m<_;m++)b.find(o,w[m],y);return _>1?b.uniqueSort(y):y},filter:function(o){return this.pushStack(he(this,o||[],!1))},not:function(o){return this.pushStack(he(this,o||[],!0))},is:function(o){return!!he(this,typeof o=="string"&&xe.test(o)?b(o):o||[],!1).length}});var Se,Ce=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Re=b.fn.init=function(o,m,y){var _,w;if(!o)return this;if(y=y||Se,typeof o=="string")if(o[0]==="<"&&o[o.length-1]===">"&&o.length>=3?_=[null,o,null]:_=Ce.exec(o),_&&(_[1]||!m))if(_[1]){if(m=m instanceof b?m[0]:m,b.merge(this,b.parseHTML(_[1],m&&m.nodeType?m.ownerDocument||m:O,!0)),X.test(_[1])&&b.isPlainObject(m))for(_ in m)A(this[_])?this[_](m[_]):this.attr(_,m[_]);return this}else return w=O.getElementById(_[2]),w&&(this[0]=w,this.length=1),this;else return!m||m.jquery?(m||y).find(o):this.constructor(m).find(o);else{if(o.nodeType)return this[0]=o,this.length=1,this;if(A(o))return y.ready!==void 0?y.ready(o):o(b)}return b.makeArray(o,this)};Re.prototype=b.fn,Se=b(O);var Ne=/^(?:parents|prev(?:Until|All))/,Qe={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({has:function(o){var m=b(o,this),y=m.length;return this.filter(function(){for(var _=0;_<y;_++)if(b.contains(this,m[_]))return!0})},closest:function(o,m){var y,_=0,w=this.length,C=[],T=typeof o!="string"&&b(o);if(!xe.test(o)){for(;_<w;_++)for(y=this[_];y&&y!==m;y=y.parentNode)if(y.nodeType<11&&(T?T.index(y)>-1:y.nodeType===1&&b.find.matchesSelector(y,o))){C.push(y);break}}return this.pushStack(C.length>1?b.uniqueSort(C):C)},index:function(o){return o?typeof o=="string"?u.call(b(o),this[0]):u.call(this,o.jquery?o[0]:o):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(o,m){return this.pushStack(b.uniqueSort(b.merge(this.get(),b(o,m))))},addBack:function(o){return this.add(o==null?this.prevObject:this.prevObject.filter(o))}});function We(o,m){for(;(o=o[m])&&o.nodeType!==1;);return o}b.each({parent:function(o){var m=o.parentNode;return m&&m.nodeType!==11?m:null},parents:function(o){return le(o,"parentNode")},parentsUntil:function(o,m,y){return le(o,"parentNode",y)},next:function(o){return We(o,"nextSibling")},prev:function(o){return We(o,"previousSibling")},nextAll:function(o){return le(o,"nextSibling")},prevAll:function(o){return le(o,"previousSibling")},nextUntil:function(o,m,y){return le(o,"nextSibling",y)},prevUntil:function(o,m,y){return le(o,"previousSibling",y)},siblings:function(o){return be((o.parentNode||{}).firstChild,o)},children:function(o){return be(o.firstChild)},contents:function(o){return o.contentDocument!=null&&s(o.contentDocument)?o.contentDocument:(F(o,"template")&&(o=o.content||o),b.merge([],o.childNodes))}},function(o,m){b.fn[o]=function(y,_){var w=b.map(this,m,y);return o.slice(-5)!=="Until"&&(_=y),_&&typeof _=="string"&&(w=b.filter(_,w)),this.length>1&&(Qe[o]||b.uniqueSort(w),Ne.test(o)&&w.reverse()),this.pushStack(w)}});var Ge=/[^\x20\t\r\n\f]+/g;function wt(o){var m={};return b.each(o.match(Ge)||[],function(y,_){m[_]=!0}),m}b.Callbacks=function(o){o=typeof o=="string"?wt(o):b.extend({},o);var m,y,_,w,C=[],T=[],N=-1,P=function(){for(w=w||o.once,_=m=!0;T.length;N=-1)for(y=T.shift();++N<C.length;)C[N].apply(y[0],y[1])===!1&&o.stopOnFalse&&(N=C.length,y=!1);o.memory||(y=!1),m=!1,w&&(y?C=[]:C="")},q={add:function(){return C&&(y&&!m&&(N=C.length-1,T.push(y)),(function ee(ie){b.each(ie,function(K,de){A(de)?(!o.unique||!q.has(de))&&C.push(de):de&&de.length&&k(de)!=="string"&&ee(de)})})(arguments),y&&!m&&P()),this},remove:function(){return b.each(arguments,function(ee,ie){for(var K;(K=b.inArray(ie,C,K))>-1;)C.splice(K,1),K<=N&&N--}),this},has:function(ee){return ee?b.inArray(ee,C)>-1:C.length>0},empty:function(){return C&&(C=[]),this},disable:function(){return w=T=[],C=y="",this},disabled:function(){return!C},lock:function(){return w=T=[],!y&&!m&&(C=y=""),this},locked:function(){return!!w},fireWith:function(ee,ie){return w||(ie=ie||[],ie=[ee,ie.slice?ie.slice():ie],T.push(ie),m||P()),this},fire:function(){return q.fireWith(this,arguments),this},fired:function(){return!!_}};return q};function at(o){return o}function I(o){throw o}function B(o,m,y,_){var w;try{o&&A(w=o.promise)?w.call(o).done(m).fail(y):o&&A(w=o.then)?w.call(o,m,y):m.apply(void 0,[o].slice(_))}catch(C){y.apply(void 0,[C])}}b.extend({Deferred:function(o){var m=[["notify","progress",b.Callbacks("memory"),b.Callbacks("memory"),2],["resolve","done",b.Callbacks("once memory"),b.Callbacks("once memory"),0,"resolved"],["reject","fail",b.Callbacks("once memory"),b.Callbacks("once memory"),1,"rejected"]],y="pending",_={state:function(){return y},always:function(){return w.done(arguments).fail(arguments),this},catch:function(C){return _.then(null,C)},pipe:function(){var C=arguments;return b.Deferred(function(T){b.each(m,function(N,P){var q=A(C[P[4]])&&C[P[4]];w[P[1]](function(){var ee=q&&q.apply(this,arguments);ee&&A(ee.promise)?ee.promise().progress(T.notify).done(T.resolve).fail(T.reject):T[P[0]+"With"](this,q?[ee]:arguments)})}),C=null}).promise()},then:function(C,T,N){var P=0;function q(ee,ie,K,de){return function(){var Pe=this,He=arguments,Ie=function(){var Xe,yt;if(!(ee<P)){if(Xe=K.apply(Pe,He),Xe===ie.promise())throw new TypeError("Thenable self
2-resolution");yt=Xe&&(typeof Xe=="object"||typeof Xe=="function")&&Xe.then,A(yt)?de?yt.call(Xe,q(P,ie,at,de),q(P,ie,I,de)):(P++,yt.call(Xe,q(P,ie,at,de),q(P,ie,I,de),q(P,ie,at,ie.notifyWith))):(K!==at&&(Pe=void 0,He=[Xe]),(de||ie.resolveWith)(Pe,He))}},nt=de?Ie:function(){try{Ie()}catch(Xe){b.Deferred.exceptionHook&&b.Deferred.exceptionHook(Xe,nt.error),ee+1>=P&&(K!==I&&(Pe=void 0,He=[Xe]),ie.rejectWith(Pe,He))}};ee?nt():(b.Deferred.getErrorHook?nt.error=b.Deferred.getErrorHook():b.Deferred.getStackHook&&(nt.error=b.Deferred.getStackHook()),t.setTimeout(nt))}}return b.Deferred(function(ee){m[0][3].add(q(0,ee,A(N)?N:at,ee.notifyWith)),m[1][3].add(q(0,ee,A(C)?C:at)),m[2][3].add(q(0,ee,A(T)?T:I))}).promise()},promise:function(C){return C!=null?b.extend(C,_):_}},w={};return b.each(m,function(C,T){var N=T[2],P=T[5];_[T[1]]=N.add,P&&N.add(function(){y=P},m[3-C][2].disable,m[3-C][3].disable,m[0][2].lock,m[0][3].lock),N.add(T[3].fire),w[T[0]]=function(){return w[T[0]+"With"](this===w?void 0:this,arguments),this},w[T[0]+"With"]=N.fireWith}),_.promise(w),o&&o.call(w,w),w},when:function(o){var m=arguments.length,y=m,_=Array(y),w=r.call(arguments),C=b.Deferred(),T=function(N){return function(P){_[N]=this,w[N]=arguments.length>1?r.call(arguments):P,--m||C.resolveWith(_,w)}};if(m<=1&&(B(o,C.done(T(y)).resolve,C.reject,!m),C.state()==="pending"||A(w[y]&&w[y].then)))return C.then();for(;y--;)B(w[y],T(y),C.reject);return C.promise()}});var te=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;b.Deferred.exceptionHook=function(o,m){t.console&&t.console.warn&&o&&te.test(o.name)&&t.console.warn("jQuery.Deferred exception: "+o.message,o.stack,m)},b.readyException=function(o){t.setTimeout(function(){throw o})};var fe=b.Deferred();b.fn.ready=function(o){return fe.then(o).catch(function(m){b.readyException(m)}),this},b.extend({isReady:!1,readyWait:1,ready:function(o){(o===!0?--b.readyWait:b.isReady)||(b.isReady=!0,!(o!==!0&&--b.readyWait>0)&&fe.resolveWith(O,[b]))}}),b.ready.then=fe.then;function ce(){O.removeEventListener("DOMContentLoaded",ce),t.removeEventListener("load",ce),b.ready()}O.readyState==="complete"||O.readyState!=="loading"&&!O.documentElement.doScroll?t.setTimeout(b.ready):(O.addEventListener("DOMContentLoaded",ce),t.addEventListener("load",ce));var oe=function(o,m,y,_,w,C,T){var N=0,P=o.length,q=y==null;if(k(y)==="object"){w=!0;for(N in y)oe(o,m,N,y[N],!0,C,T)}else if(_!==void 0&&(w=!0,A(_)||(T=!0),q&&(T?(m.call(o,_),m=null):(q=m,m=function(ee,ie,K){return q.call(b(ee),K)})),m))for(;N<P;N++)m(o[N],y,T?_:_.call(o[N],N,m(o[N],y)));return w?o:q?m.call(o):P?m(o[0],y):C},ve=/^-ms-/,ye=/-([a-z])/g;function me(o,m){return m.toUpperCase()}function ae(o){return o.replace(ve,"ms-").replace(ye,me)}var $e=function(o){return o.nodeType===1||o.nodeType===9||!+o.nodeType};function _e(){this.expando=b.expando+_e.uid++}_e.uid=1,_e.prototype={cache:function(o){var m=o[this.expando];return m||(m={},$e(o)&&(o.nodeType?o[this.expando]=m:Object.defineProperty(o,this.expando,{value:m,configurable:!0}))),m},set:function(o,m,y){var _,w=this.cache(o);if(typeof m=="string")w[ae(m)]=y;else for(_ in m)w[ae(_)]=m[_];return w},get:function(o,m){return m===void 0?this.cache(o):o[this.expando]&&o[this.expando][ae(m)]},access:function(o,m,y){return m===void 0||m&&typeof m=="string"&&y===void 0?this.get(o,m):(this.set(o,m,y),y!==void 0?y:m)},remove:function(o,m){var y,_=o[this.expando];if(_!==void 0){if(m!==void 0)for(Array.isArray(m)?m=m.map(ae):(m=ae(m),m=m in _?[m]:m.match(Ge)||[]),y=m.length;y--;)delete _[m[y]];(m===void 0||b.isEmptyObject(_))&&(o.nodeType?o[this.expando]=void 0:delete o[this.expando])}},hasData:function(o){var m=o[this.expando];return m!==void 0&&!b.isEmptyObject(m)}};var se=new _e,Te=new _e,Fe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ze=/[A-Z]/g;function Be(o){return o==="true"?!0:o==="false"?!1:o==="null"?null:o===+o+""?+o:Fe.test(o)?JSON.parse(o):o}function Ze(o,m,y){var _;if(y===void 0&&o.nodeType===1)if(_="data-"+m.replace(ze,"-$&").toLowerCase(),y=o.getAttribute(_),typeof y=="string"){try{y=Be(y)}catch{}Te.set(o,m,y)}else y=void 0;return y}b.extend({hasData:function(o){return Te.hasData(o)||se.hasData(o)},data:function(o,m,y){return Te.access(o,m,y)},removeData:function(o,m){Te.remove(o,m)},_data:function(o,m,y){return se.access(o,m,y)},_removeData:function(o,m){se.remove(o,m)}}),b.fn.extend({data:function(o,m){var y,_,w,C=this[0],T=C&&C.attributes;if(o===void 0){if(this.length&&(w=Te.get(C),C.nodeType===1&&!se.get(C,"hasDataAttrs"))){for(y=T.length;y--;)T[y]&&(_=T[y].name,_.indexOf("data-")===0&&(_=ae(_.slice(5)),Ze(C,_,w[_])));se.set(C,"hasDataAttrs",!0)}return w}return typeof o=="object"?this.each(function(){Te.set(this,o)}):oe(this,function(N){var P;if(C&&N===void 0)return P=Te.get(C,o),P!==void 0||(P=Ze(C,o),P!==void 0)?P:void 0;this.each(function(){Te.set(this,o,N)})},null,m,arguments.length>1,null,!0)},removeData:function(o){return this.each(function(){Te.remove(this,o)})}}),b.extend({queue:function(o,m,y){var _;if(o)return m=(m||"fx")+"queue",_=se.get(o,m),y&&(!_||Array.isArray(y)?_=se.access(o,m,b.makeArray(y)):_.push(y)),_||[]},dequeue:function(o,m){m=m||"fx";var y=b.queue(o,m),_=y.length,w=y.shift(),C=b._queueHooks(o,m),T=function(){b.dequeue(o,m)};w==="inprogress"&&(w=y.shift(),_--),w&&(m==="fx"&&y.unshift("inprogress"),delete C.stop,w.call(o,T,C)),!_&&C&&C.empty.fire()},_queueHooks:function(o,m){var y=m+"queueHooks";return se.get(o,y)||se.access(o,y,{empty:b.Callbacks("once memory").add(function(){se.remove(o,[m+"queue",y])})})}}),b.fn.extend({queue:function(o,m){var y=2;return typeof o!="string"&&(m=o,o="fx",y--),arguments.length<y?b.queue(this[0],o):m===void 0?this:this.each(function(){var _=b.queue(this,o,m);b._queueHooks(this,o),o==="fx"&&_[0]!=="inprogress"&&b.dequeue(this,o)})},dequeue:function(o){return this.each(function(){b.dequeue(this,o)})},clearQueue:function(o){return this.queue(o||"fx",[])},promise:function(o,m){var y,_=1,w=b.Deferred(),C=this,T=this.length,N=function(){--_||w.resolveWith(C,[C])};for(typeof o!="string"&&(m=o,o=void 0),o=o||"fx";T--;)y=se.get(C[T],o+"queueHooks"),y&&y.empty&&(_++,y.empty.add(N));return N(),w.promise(m)}});var Je=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,et=new RegExp("^(?:([+-])=|)("+Je+")([a-z%]*)$","i"),Ke=["Top","Right","Bottom","Left"],ft=O.documentElement,Ct=function(o){return b.contains(o.ownerDocument,o)},st={composed:!0};ft.getRootNode&&(Ct=function(o){return b.contains(o.ownerDocument,o)||o.getRootNode(st)===o.ownerDocument});var rt=function(o,m){return o=m||o,o.style.display==="none"||o.style.display===""&&Ct(o)&&b.css(o,"display")==="none"};function Ht(o,m,y,_){var w,C,T=20,N=_?function(){return _.cur()}:function(){return b.css(o,m,"")}
vendor: 6,155 bytes, line 2
2,P=N(),q=y&&y[3]||(b.cssNumber[m]?"":"px"),ee=o.nodeType&&(b.cssNumber[m]||q!=="px"&&+P)&&et.exec(b.css(o,m));if(ee&&ee[3]!==q){for(P=P/2,q=q||ee[3],ee=+P||1;T--;)b.style(o,m,ee+q),(1-C)*(1-(C=N()/P||.5))<=0&&(T=0),ee=ee/C;ee=ee*2,b.style(o,m,ee+q),y=y||[]}return y&&(ee=+ee||+P||0,w=y[1]?ee+(y[1]+1)*y[2]:+y[2],_&&(_.unit=q,_.start=ee,_.end=w)),w}var Vt={};function ii(o){var m,y=o.ownerDocument,_=o.nodeName,w=Vt[_];return w||(m=y.body.appendChild(y.createElement(_)),w=b.css(m,"display"),m.parentNode.removeChild(m),w==="none"&&(w="block"),Vt[_]=w,w)}function Rt(o,m){for(var y,_,w=[],C=0,T=o.length;C<T;C++)_=o[C],_.style&&(y=_.style.display,m?(y==="none"&&(w[C]=se.get(_,"display")||null,w[C]||(_.style.display="")),_.style.display===""&&rt(_)&&(w[C]=ii(_))):y!=="none"&&(w[C]="none",se.set(_,"display",y)));for(C=0;C<T;C++)w[C]!=null&&(o[C].style.display=w[C]);return o}b.fn.extend({show:function(){return Rt(this,!0)},hide:function(){return Rt(this)},toggle:function(o){return typeof o=="boolean"?o?this.show():this.hide():this.each(function(){rt(this)?b(this).show():b(this).hide()})}});var Bt=/^(?:checkbox|radio)$/i,xn=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,$n=/^$|^module$|\/(?:java|ecma)script/i;(function(){var o=O.createDocumentFragment(),m=o.appendChild(O.createElement("div")),y=O.createElement("input");y.setAttribute("type","radio"),y.setAttribute("checked","checked"),y.setAttribute("name","t"),m.appendChild(y),S.checkClone=m.cloneNode(!0).cloneNode(!0).lastChild.checked,m.innerHTML="<textarea>x</textarea>",S.noCloneChecked=!!m.cloneNode(!0).lastChild.defaultValue,m.innerHTML="<option></option>",S.option=!!m.lastChild})();var dt={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,"",""]};dt.tbody=dt.tfoot=dt.colgroup=dt.caption=dt.thead,dt.th=dt.td,S.option||(dt.optgroup=dt.option=[1,"<select multiple='multiple'>","</select>"]);function lt(o,m){var y;return typeof o.getElementsByTagName<"u"?y=o.getElementsByTagName(m||"*"):typeof o.querySelectorAll<"u"?y=o.querySelectorAll(m||"*"):y=[],m===void 0||m&&F(o,m)?b.merge([o],y):y}function rn(o,m){for(var y=0,_=o.length;y<_;y++)se.set(o[y],"globalEval",!m||se.get(m[y],"globalEval"))}var si=/<|&#?\w+;/;function Ln(o,m,y,_,w){for(var C,T,N,P,q,ee,ie=m.createDocumentFragment(),K=[],de=0,Pe=o.length;de<Pe;de++)if(C=o[de],C||C===0)if(k(C)==="object")b.merge(K,C.nodeType?[C]:C);else if(!si.test(C))K.push(m.createTextNode(C));else{for(T=T||ie.appendChild(m.createElement("div")),N=(xn.exec(C)||["",""])[1].toLowerCase(),P=dt[N]||dt._default,T.innerHTML=P[1]+b.htmlPrefilter(C)+P[2],ee=P[0];ee--;)T=T.lastChild;b.merge(K,T.childNodes),T=ie.firstChild,T.textContent=""}for(ie.textContent="",de=0;C=K[de++];){if(_&&b.inArray(C,_)>-1){w&&w.push(C);continue}if(q=Ct(C),T=lt(ie.appendChild(C),"script"),q&&rn(T),y)for(ee=0;C=T[ee++];)$n.test(C.type||"")&&y.push(C)}return ie}var kn=/^([^.]*)(?:\.(.+)|)/;function It(){return!0}function Nt(){return!1}function an(o,m,y,_,w,C){var T,N;if(typeof m=="object"){typeof y!="string"&&(_=_||y,y=void 0);for(N in m)an(o,N,y,_,m[N],C);return o}if(_==null&&w==null?(w=y,_=y=void 0):w==null&&(typeof y=="string"?(w=_,_=void 0):(w=_,_=y,y=void 0)),w===!1)w=Nt;else if(!w)return o;return C===1&&(T=w,w=function(P){return b().off(P),T.apply(this,arguments)},w.guid=T.guid||(T.guid=b.guid++)),o.each(function(){b.event.add(this,m,w,_,y)})}b.event={global:{},add:function(o,m,y,_,w){var C,T,N,P,q,ee,ie,K,de,Pe,He,Ie=se.get(o);if($e(o))for(y.handler&&(C=y,y=C.handler,w=C.selector),w&&b.find.matchesSelector(ft,w),y.guid||(y.guid=b.guid++),(P=Ie.events)||(P=Ie.events=Object.create(null)),(T=Ie.handle)||(T=Ie.handle=function(nt){return typeof b<"u"&&b.event.triggered!==nt.type?b.event.dispatch.apply(o,arguments):void 0}),m=(m||"").match(Ge)||[""],q=m.length;q--;)N=kn.exec(m[q])||[],de=He=N[1],Pe=(N[2]||"").split(".").sort(),de&&(ie=b.event.special[de]||{},de=(w?ie.delegateType:ie.bindType)||de,ie=b.event.special[de]||{},ee=b.extend({type:de,origType:He,data:_,handler:y,guid:y.guid,selector:w,needsContext:w&&b.expr.match.needsContext.test(w),namespace:Pe.join(".")},C),(K=P[de])||(K=P[de]=[],K.delegateCount=0,(!ie.setup||ie.setup.call(o,_,Pe,T)===!1)&&o.addEventListener&&o.addEventListener(de,T)),ie.add&&(ie.add.call(o,ee),ee.handler.guid||(ee.handler.guid=y.guid)),w?K.splice(K.delegateCount++,0,ee):K.push(ee),b.event.global[de]=!0)},remove:function(o,m,y,_,w){var C,T,N,P,q,ee,ie,K,de,Pe,He,Ie=se.hasData(o)&&se.get(o);if(!(!Ie||!(P=Ie.events))){for(m=(m||"").match(Ge)||[""],q=m.length;q--;){if(N=kn.exec(m[q])||[],de=He=N[1],Pe=(N[2]||"").split(".").sort(),!de){for(de in P)b.event.remove(o,de+m[q],y,_,!0);continue}for(ie=b.event.special[de]||{},de=(_?ie.delegateType:ie.bindType)||de,K=P[de]||[],N=N[2]&&new RegExp("(^|\\.)"+Pe.join("\\.(?:.*\\.|)")+"(\\.|$)"),T=C=K.length;C--;)ee=K[C],(w||He===ee.origType)&&(!y||y.guid===ee.guid)&&(!N||N.test(ee.namespace))&&(!_||_===ee.selector||_==="**"&&ee.selector)&&(K.splice(C,1),ee.selector&&K.delegateCount--,ie.remove&&ie.remove.call(o,ee));T&&!K.length&&((!ie.teardown||ie.teardown.call(o,Pe,Ie.handle)===!1)&&b.removeEvent(o,de,Ie.handle),delete P[de])}b.isEmptyObject(P)&&se.remove(o,"handle events")}},dispatch:function(o){var m,y,_,w,C,T,N=new Array(arguments.length),P=b.event.fix(o),q=(se.get(this,"events")||Object.create(null))[P.type]||[],ee=b.event.special[P.type]||{};for(N[0]=P,m=1;m<arguments.length;m++)N[m]=arguments[m];if(P.delegateTarget=this,!(ee.preDispatch&&ee.preDispatch.call(this,P)===!1)){for(T=b.event.handlers.call(this,P,q),m=0;(w=T[m++])&&!P.isPropagationStopped();)for(P.currentTarget=w.elem,y=0;(C=w.handlers[y++])&&!P.isImmediatePropagationStopped();)(!P.rnamespace||C.namespace===!1||P.rnamespace.test(C.namespace))&&(P.handleObj=C,P.data=C.data,_=((b.event.special[C.origType]||{}).handle||C.handler).apply(w.elem,N),_!==void 0&&(P.result=_)===!1&&(P.preventDefault(),P.stopPropagation()));return ee.postDispatch&&ee.postDispatch.call(this,P),P.result}},handlers:function(o,m){var y,_,w,C,T,N=[],P=m.delegateCount,q=o.target;
2if(P&&q.nodeType&&!(o.type==="click"&&o.button>=1)){for(;q!==this;q=q.parentNode||this)if(q.nodeType===1&&!(o.type==="click"&&q.disabled===!0)){for(C=[],T={},y=0;y<P;y++)_=m[y],w=_.selector+" ",T[w]===void 0&&(T[w]=_.needsContext?b(w,this).index(q)>-1:b.find(w,this,null,[q]).length),T[w]&&C.push(_);C.length&&N.push({elem:q,handlers:C})}}return q=this,P<m.length&&N.push({elem:q,handlers:m.slice(P)}),N},addProp:function(o,m){Object.defineProperty(b.Event.prototype,o,{enumerable:!0,configurable:!0,get:A(m)?function(){if(this.originalEvent)return m(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[o]},set:function(y){Object.defineProperty(this,o,{enumerable:!0,configurable:!0,writable:!0,value:y})}})},fix:function(o){return o[b.expando]?o:new b.Event(o)},special:{load:{noBubble:!0},click:{setup:function(o){var m=this||o;return Bt.test(m.type)&&m.click&&F(m,"input")&&Jt(m,"click",!0),!1},trigger:function(o){var m=this||o;return Bt.test(m.type)&&m.click&&F(m,"input")&&Jt(m,"click"),!0},_default:function(o){var m=o.target;return Bt.test(m.type)&&m.click&&F(m,"input")&&se.get(m,"click")||F(m,"a")}},beforeunload:{postDispatch:function(o){o.result!==void 0&&o.originalEvent&&(o.originalEvent.returnValue=o.result)}}}};function Jt(o,m,y){if(!y){se.get(o,m)===void 0&&b.event.add(o,m,It);return}se.set(o,m,!1),b.event.add(o,m,{namespace:!1,handler:function(_){var w,C=se.get(this,m);if(_.isTrigger&1&&this[m]){if(C)(b.event.special[m]||{}).delegateType&&_.stopPropagation();else if(C=r.call(arguments),se.set(this,m,C),this[m](),w=se.get(this,m),se.set(this,m,!1),C!==w)return _.stopImmediatePropagation(),_.preventDefault(),w}else C&&(se.set(this,m,b.event.trigger(C[0],C.slice(1),this)),_.stopPropagation(),_.isImmediatePropagationStopped=It)}})}b.removeEvent=function(o,m,y){o.removeEventListener&&o.removeEventListener(m,y)},b.Event=function(o,m){if(!(this instanceof b.Event))return new b.Event(o,m);o&&o.type?(this.originalEvent=o,this.type=o.type,this.isDefaultPrevented=o.defaultPrevented||o.defaultPrevented===void 0&&o.returnValue===!1?It:Nt,this.target=o.target&&o.target.nodeType===3?o.target.parentNode:o.target,this.currentTarget=o.currentTarget,this.relatedTarget=o.relatedTarget):this.type=o,m&&b.extend(this,m),this.timeStamp=o&&o.timeStamp||Date.now(),this[b.expando]=!0},b.Event.prototype={constructor:b.Event,isDefaultPrevented:Nt,isPropagationStopped:Nt,isImmediatePropagationStopped:Nt,isSimulated:!1,preventDefault:function(){var o=this.originalEvent;this.isDefaultPrevented=It,o&&!this.isSimulated&&o.preventDefault()},stopPropagation:function(){var o=this.originalEvent;this.isPropagationStopped=It,o&&!this.isSimulated&&o.stopPropagation()},stopImmediatePropagation:function(){var o=this.originalEvent;this.isImmediatePropagationStopped=It,o&&!this.isSimulated&&o.stopImmediatePropagation(),this.stopPropagation()}},b.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},b.event.addProp),b.each({focus:"focusin",blur:"focusout"},function(o,m){function y(_){if(O.documentMode){var w=se.get(this,"handle"),C=b.event.fix(_);C.type=_.type==="focusin"?"focus":"blur",C.isSimulated=!0,w(_),C.target===C.currentTarget&&w(C)}else b.event.simulate(m,_.target,b.event.fix(_))}b.event.special[o]={setup:function(){var _;if(Jt(this,o,!0),O.documentMode)_=se.get(this,m),_||this.addEventListener(m,y),se.set(this,m,(_||0)+1);else return!1},trigger:function(){return Jt(this,o),!0},teardown:function(){var _;if(O.documentMode)_=se.get(this,m)-1,_?se.set(this,m,_):(this.removeEventListener(m,y),se.remove(this,m));else return!1},_default:function(_){return se.get(_.target,o)},delegateType:m},b.event.special[m]={setup:function(){var _=this.ownerDocument||this.document||this,w=O.documentMode?this:_,C=se.get(w,m);C||(O.documentMode?this.addEventListener(m,y):_.addEventListener(o,y,!0)),se.set(w,m,(C||0)+1)},teardown:function(){var _=this.ownerDocument||this.document||this,w=O.documentMode?this:_,C=se.get(w,m)-1;C?se.set(w,m,C):(O.documentMode?this.removeEventListener(m,y):_.removeEventListener(o,y,!0),se.remove(w,m))}}}
vendor: 9,649 bytes, line 2
2),b.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(o,m){b.event.special[o]={delegateType:m,bindType:m,handle:function(y){var _,w=this,C=y.relatedTarget,T=y.handleObj;return(!C||C!==w&&!b.contains(w,C))&&(y.type=T.origType,_=T.handler.apply(this,arguments),y.type=m),_}}}),b.fn.extend({on:function(o,m,y,_){return an(this,o,m,y,_)},one:function(o,m,y,_){return an(this,o,m,y,_,1)},off:function(o,m,y){var _,w;if(o&&o.preventDefault&&o.handleObj)return _=o.handleObj,b(o.delegateTarget).off(_.namespace?_.origType+"."+_.namespace:_.origType,_.selector,_.handler),this;if(typeof o=="object"){for(w in o)this.off(w,m,o[w]);return this}return(m===!1||typeof m=="function")&&(y=m,m=void 0),y===!1&&(y=Nt),this.each(function(){b.event.remove(this,o,y,m)})}});var ri=/<script|<style|<link/i,oi=/checked\s*(?:[^=]|=\s*.checked.)/i,ai=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Pn(o,m){return F(o,"table")&&F(m.nodeType!==11?m:m.firstChild,"tr")&&b(o).children("tbody")[0]||o}function li(o){return o.type=(o.getAttribute("type")!==null)+"/"+o.type,o}function ci(o){return(o.type||"").slice(0,5)==="true/"?o.type=o.type.slice(5):o.removeAttribute("type"),o}function On(o,m){var y,_,w,C,T,N,P;if(m.nodeType===1){if(se.hasData(o)&&(C=se.get(o),P=C.events,P)){se.remove(m,"handle events");for(w in P)for(y=0,_=P[w].length;y<_;y++)b.event.add(m,w,P[w][y])}Te.hasData(o)&&(T=Te.access(o),N=b.extend({},T),Te.set(m,N))}}function di(o,m){var y=m.nodeName.toLowerCase();y==="input"&&Bt.test(o.type)?m.checked=o.checked:(y==="input"||y==="textarea")&&(m.defaultValue=o.defaultValue)}function Mt(o,m,y,_){m=a(m);var w,C,T,N,P,q,ee=0,ie=o.length,K=ie-1,de=m[0],Pe=A(de);if(Pe||ie>1&&typeof de=="string"&&!S.checkClone&&oi.test(de))return o.each(function(He){var Ie=o.eq(He);Pe&&(m[0]=de.call(this,He,Ie.html())),Mt(Ie,m,y,_)});if(ie&&(w=Ln(m,o[0].ownerDocument,!1,o,_),C=w.firstChild,w.childNodes.length===1&&(w=C),C||_)){for(T=b.map(lt(w,"script"),li),N=T.length;ee<ie;ee++)P=w,ee!==K&&(P=b.clone(P,!0,!0),N&&b.merge(T,lt(P,"script"))),y.call(o[ee],P,ee);if(N)for(q=T[T.length-1].ownerDocument,b.map(T,ci),ee=0;ee<N;ee++)P=T[ee],$n.test(P.type||"")&&!se.access(P,"globalEval")&&b.contains(q,P)&&(P.src&&(P.type||"").toLowerCase()!=="module"?b._evalUrl&&!P.noModule&&b._evalUrl(P.src,{nonce:P.nonce||P.getAttribute("nonce")},q):x(P.textContent.replace(ai,""),P,q))}return o}function Rn(o,m,y){for(var _,w=m?b.filter(m,o):o,C=0;(_=w[C])!=null;C++)!y&&_.nodeType===1&&b.cleanData(lt(_)),_.parentNode&&(y&&Ct(_)&&rn(lt(_,"script")),_.parentNode.removeChild(_));return o}b.extend({htmlPrefilter:function(o){return o},clone:function(o,m,y){var _,w,C,T,N=o.cloneNode(!0),P=Ct(o);if(!S.noCloneChecked&&(o.nodeType===1||o.nodeType===11)&&!b.isXMLDoc(o))for(T=lt(N),C=lt(o),_=0,w=C.length;_<w;_++)di(C[_],T[_]);if(m)if(y)for(C=C||lt(o),T=T||lt(N),_=0,w=C.length;_<w;_++)On(C[_],T[_]);else On(o,N);return T=lt(N,"script"),T.length>0&&rn(T,!P&&lt(o,"script")),N},cleanData:function(o){for(var m,y,_,w=b.event.special,C=0;(y=o[C])!==void 0;C++)if($e(y)){if(m=y[se.expando]){if(m.events)for(_ in m.events)w[_]?b.event.remove(y,_):b.removeEvent(y,_,m.handle);y[se.expando]=void 0}y[Te.expando]&&(y[Te.expando]=void 0)}}}),b.fn.extend({detach:function(o){return Rn(this,o,!0)},remove:function(o){return Rn(this,o)},text:function(o){return oe(this,function(m){return m===void 0?b.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=m)})},null,o,arguments.length)},append:function(){return Mt(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=Pn(this,o);m.appendChild(o)}})},prepend:function(){return Mt(this,arguments,function(o){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var m=Pn(this,o);m.insertBefore(o,m.firstChild)}})},before:function(){return Mt(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this)})},after:function(){return Mt(this,arguments,function(o){this.parentNode&&this.parentNode.insertBefore(o,this.nextSibling)})},empty:function(){for(var o,m=0;(o=this[m])!=null;m++)o.nodeType===1&&(b.cleanData(lt(o,!1)),o.textContent="");return this},clone:function(o,m){return o=o??!1,m=m??o,this.map(function(){return b.clone(this,o,m)})},html:function(o){return oe(this,function(m){var y=this[0]||{},_=0,w=this.length;if(m===void 0&&y.nodeType===1)return y.innerHTML;if(typeof m=="string"&&!ri.test(m)&&!dt[(xn.exec(m)||["",""])[1].toLowerCase()]){m=b.htmlPrefilter(m);try{for(;_<w;_++)y=this[_]||{},y.nodeType===1&&(b.cleanData(lt(y,!1)),y.innerHTML=m);y=0}catch{}}y&&this.empty().append(m)},null,o,arguments.length)},replaceWith:function(){var o=[];return Mt(this,arguments,function(m){var y=this.parentNode;b.inArray(this,o)<0&&(b.cleanData(lt(this)),y&&y.replaceChild(m,this))},o)}}),b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(o,m){b.fn[o]=function(y){for(var _,w=[],C=b(y),T=C.length-1,N=0;N<=T;N++)_=N===T?this:this.clone(!0),b(C[N])[m](_),l.apply(w,_.get());return this.pushStack(w)}});var ln=new RegExp("^("+Je+")(?!px)[a-z%]+$","i"),cn=/^--/,Xt=function(o){var m=o.ownerDocument.defaultView;return(!m||!m.opener)&&(m=t),m.getComputedStyle(o)},In=function(o,m,y){var _,w,C={};for(w in m)C[w]=o.style[w],o.style[w]=m[w];_=y.call(o);for(w in m)o.style[w]=C[w];return _},pi=new RegExp(Ke.join("|"),"i");(function(){function o(){if(q){P.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",q.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ft.appendChild(P).appendChild(q);var ee=t.getComputedStyle(q);y=ee.top!=="1%",N=m(ee.marginLeft)===12,q.style.right="60%",C=m(ee.right)===36,_=m(ee.width)===36,q.style.position="absolute",w=m(q.offsetWidth/3)===12,ft.removeChild(P),q=null}}function m(ee){return Math.round(parseFloat(ee))}var y,_,w,C,T,N,P=O.createElement("div"),q=O.createElement("div");q.style&&(q.style.backgroundClip="content-box",q.cloneNode(!0).style.backgroundClip="",S.clearCloneStyle=q.style.backgroundClip==="content-box",b.extend(S,{boxSizingReliable:function(){return o(),_},pixelBoxStyles:function(){return o(),C},pixelPosition:function(){return o(),y},reliableMarginLeft:function(){return o(),N},scrollboxSize:function(){return o(),w},reliableTrDimensions:function(){var ee,ie,K,de;return T==null&&(ee=O.createElement("table"),ie=O.createElement("tr"),K=O.createElement("div"),ee.style.cssText="position:absolute;left:-11111px;border-collapse:separate",ie.style.cssText="box-sizing:content-box;border:1px solid",ie.style.height="1px",K.style.height="9px",K.style.display="block",ft.appendChild(ee).appendChild(ie).appendChild(K),de=t.getComputedStyle(ie),T=parseInt(de.height,10)+parseInt(de.borderTopWidth,10)+parseInt(de.borderBottomWidth,10)===ie.offsetHeight,ft.removeChild(ee)),T}}))})();function qt(o,m,y){var _,w,C,T,N=cn.test(m),P=o.style;return y=y||Xt(o),y&&(T=y.getPropertyValue(m)||y[m],N&&T&&(T=T.replace(re,"$1")||void 0),T===""&&!Ct(o)&&(T=b.style(o,m)),!S.pixelBoxStyles()&&ln.test(T)&&pi.test(m)&&(_=P.width,w=P.minWidth,C=P.maxWidth,P.minWidth=P.maxWidth=P.width=T,T=y.width,P.width=_,P.minWidth=w,P.maxWidth=C)),T!==void 0?T+"":T}function Nn(o,m){return{get:function(){if(o()){delete this.get;return}return(this.get=m).apply(this,arguments)}}}var Mn=["Webkit","Moz","ms"],Dn=O.createElement("div").style,Fn={};function hi(o){for(var m=o[0].toUpperCase()+o.slice(1),y=Mn.length;y--;)if(o=Mn[y]+m,o in Dn)return o}function un(o){var m=b.cssProps[o]||Fn[o];return m||(o in Dn?o:Fn[o]=hi(o)||o)}var mi=/^(none|table(?!-c[ea]).+)/,gi={position:"absolute",visibility:"hidden",display:"block"},jn={letterSpacing:"0",fontWeight:"400"};function Hn(o,m,y){var _=et.exec(m);return _?Math.max(0,_[2]-(y||0))+(_[3]||"px"):m}function fn(o,m,y,_,w,C){var T=m==="width"?1:0,N=0,P=0,q=0;if(y===(_?"border":"content"))return 0;for(;T<4;T+=2)y==="margin"&&(q+=b.css(o,y+Ke[T],!0,w)),_?(y==="content"&&(P-=b.css(o,"padding"+Ke[T],!0,w)),y!=="margin"&&(P-=b.css(o,"border"+Ke[T]+"Width",!0,w))):(P+=b.css(o,"padding"+Ke[T],!0,w),y!=="padding"?P+=b.css(o,"border"+Ke[T]+"Width",!0,w):N+=b.css(o,"border"+Ke[T]+"Width",!0,w));return!_&&C>=0&&(P+=Math.max(0,Math.ceil(o["offset"+m[0].toUpperCase()+m.slice(1)]-C-P-N-.5))||0),P+q}function Vn(o,m,y){var _=Xt(o),w=!S.boxSizingReliable()||y,C=w&&b.css(o,"boxSizing",!1,_)==="border-box",T=C,N=qt(o,m,_),P="offset"+m[0].toUpperCase()+m.slice(1);if(ln.test(N)){if(!y)return N;N="auto"}return(!S.boxSizingReliable()&&C||!S.reliableTrDimensions()&&F(o,"tr")||N==="auto"||!parseFloat(N)&&b.css(o,"display",!1,_)==="inline")&&o.getClientRects().length&&(C=b.css(o,"boxSizing",!1,_)==="border-box",T=P in o,T&&(N=o[P])),N=parseFloat(N)||0,N+fn(o,m,y||(C?"border":"content"),T,_,N)+"px"}b.extend({cssHooks:{opacity:{get:function(o,m){if(m){var y=qt(o,"opacity");return y===""?"1":y}}}},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(o,m,y,_){if(!(!o||o.nodeType===3||o.nodeType===8||!o.style)){var w,C,T,N=ae(m),P=cn.test(m),q=o.style;if(P||(m=un(N)),T=b.cssHooks[m]||b.cssHooks[N],y!==void 0){if(C=typeof y,C==="str
2ing"&&(w=et.exec(y))&&w[1]&&(y=Ht(o,m,w),C="number"),y==null||y!==y)return;C==="number"&&!P&&(y+=w&&w[3]||(b.cssNumber[N]?"":"px")),!S.clearCloneStyle&&y===""&&m.indexOf("background")===0&&(q[m]="inherit"),(!T||!("set"in T)||(y=T.set(o,y,_))!==void 0)&&(P?q.setProperty(m,y):q[m]=y)}else return T&&"get"in T&&(w=T.get(o,!1,_))!==void 0?w:q[m]}},css:function(o,m,y,_){var w,C,T,N=ae(m),P=cn.test(m);return P||(m=un(N)),T=b.cssHooks[m]||b.cssHooks[N],T&&"get"in T&&(w=T.get(o,!0,y)),w===void 0&&(w=qt(o,m,_)),w==="normal"&&m in jn&&(w=jn[m]),y===""||y?(C=parseFloat(w),y===!0||isFinite(C)?C||0:w):w}}),b.each(["height","width"],function(o,m){b.cssHooks[m]={get:function(y,_,w){if(_)return mi.test(b.css(y,"display"))&&(!y.getClientRects().length||!y.getBoundingClientRect().width)?In(y,gi,function(){return Vn(y,m,w)}):Vn(y,m,w)},set:function(y,_,w){var C,T=Xt(y),N=!S.scrollboxSize()&&T.position==="absolute",P=N||w,q=P&&b.css(y,"boxSizing",!1,T)==="border-box",ee=w?fn(y,m,w,q,T):0;return q&&N&&(ee-=Math.ceil(y["offset"+m[0].toUpperCase()+m.slice(1)]-parseFloat(T[m])-fn(y,m,"border",!1,T)-.5)),ee&&(C=et.exec(_))&&(C[3]||"px")!=="px"&&(y.style[m]=_,_=b.css(y,m)),Hn(y,_,ee)}}}),b.cssHooks.marginLeft=Nn(S.reliableMarginLeft,function(o,m){if(m)return(parseFloat(qt(o,"marginLeft"))||o.getBoundingClientRect().left-In(o,{marginLeft:0},function(){return o.getBoundingClientRect().left}))+"px"}),b.each({margin:"",padding:"",border:"Width"},function(o,m){b.cssHooks[o+m]={expand:function(y){for(var _=0,w={},C=typeof y=="string"?y.split(" "):[y];_<4;_++)w[o+Ke[_]+m]=C[_]||C[_-2]||C[0];return w}},o!=="margin"&&(b.cssHooks[o+m].set=Hn)}),b.fn.extend({css:function(o,m){return oe(this,function(y,_,w){var C,T,N={},P=0;if(Array.isArray(_)){for(C=Xt(y),T=_.length;P<T;P++)N[_[P]]=b.css(y,_[P],!1,C);return N}return w!==void 0?b.style(y,_,w):b.css(y,_)},o,m,arguments.length>1)}});function ct(o,m,y,_,w){return new ct.prototype.init(o,m,y,_,w)}b.Tween=ct,ct.prototype={constructor:ct,init:function(o,m,y,_,w,C){this.elem=o,this.prop=y,this.easing=w||b.easing._default,this.options=m,this.start=this.now=this.cur(),this.end=_,this.unit=C||(b.cssNumber[y]?"":"px")},cur:function(){var o=ct.propHooks[this.prop];return o&&o.get?o.get(this):ct.propHooks._default.get(this)},run:function(o){var m,y=ct.propHooks[this.prop];return this.options.duration?this.pos=m=b.easing[this.easing](o,this.options.duration*o,0,1,this.options.duration):this.pos=m=o,this.now=(this.end-this.start)*m+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),y&&y.set?y.set(this):ct.propHooks._default.set(this),this}},ct.prototype.init.prototype=ct.prototype,ct.propHooks={_default:{get:function(o){var m;return o.elem.nodeType!==1||o.elem[o.prop]!=null&&o.elem.style[o.prop]==null?o.elem[o.prop]:(m=b.css(o.elem,o.prop,""),!m||m==="auto"?0:m)},set:function(o){b.fx.step[o.prop]?b.fx.step[o.prop](o):o.elem.nodeType===1&&(b.cssHooks[o.prop]||o.elem.style[un(o.prop)]!=null)?b.style(o.elem,o.prop,o.now+o.unit):o.elem[o.prop]=o.now}}},ct.propHooks.scrollTop=ct.propHooks.scrollLeft={set:function(o){o.elem.nodeType&&o.elem.parentNode&&(o.elem[o.prop]=o.now)}},b.easing={linear:function(o){return o},swing:function(o){return .5-Math.cos(o*Math.PI)/2},_default:"swing"},b.fx=ct.prototype.init,b.fx.step={};var Dt,Qt,yi=/^(?:toggle|show|hide)$/,bi=/queueHooks$/;function dn(){Qt&&(O.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(dn):t.setTimeout(dn,b.fx.interval),b.fx.tick())}function Bn(){return t.setTimeout(function(){Dt=void 0}),Dt=Date.now()}function Zt(o,m){var y,_=0,w={height:o};for(m=m?1:0;_<4;_+=2-m)y=Ke[_],w["margin"+y]=w["padding"+y]=o;return m&&(w.opacity=w.width=o),w}function qn(o,m,y){for(var _,w=(mt.tweeners[m]||[]).concat(mt.tweeners["*"]),C=0,T=w.length;C<T;C++)if(_=w[C].call(y,m,o))return _}function vi(o,m,y){var _,w,C,T,N,P,q,ee,ie="width"in m||"height"in m,K=this,de={},Pe=o.style,He=o.nodeType&&rt(o),Ie=se.get(o,"fxshow");y.queue||(T=b._queueHooks(o,"fx"),T.unqueued==null&&(T.unqueued=0,N=T.empty.fire,T.empty.fire=function(){T.unqueued||N()}),T.unqueued++,K.always(function(){K.always(function(){T.unqueued--,b.queue(o,"fx").length||T.empty.fire()})}));
vendor: 18,543 bytes, lines 2-5
2for(_ in m)if(w=m[_],yi.test(w)){if(delete m[_],C=C||w==="toggle",w===(He?"hide":"show"))if(w==="show"&&Ie&&Ie[_]!==void 0)He=!0;else continue;de[_]=Ie&&Ie[_]||b.style(o,_)}if(P=!b.isEmptyObject(m),!(!P&&b.isEmptyObject(de))){ie&&o.nodeType===1&&(y.overflow=[Pe.overflow,Pe.overflowX,Pe.overflowY],q=Ie&&Ie.display,q==null&&(q=se.get(o,"display")),ee=b.css(o,"display"),ee==="none"&&(q?ee=q:(Rt([o],!0),q=o.style.display||q,ee=b.css(o,"display"),Rt([o]))),(ee==="inline"||ee==="inline-block"&&q!=null)&&b.css(o,"float")==="none"&&(P||(K.done(function(){Pe.display=q}),q==null&&(ee=Pe.display,q=ee==="none"?"":ee)),Pe.display="inline-block")),y.overflow&&(Pe.overflow="hidden",K.always(function(){Pe.overflow=y.overflow[0],Pe.overflowX=y.overflow[1],Pe.overflowY=y.overflow[2]})),P=!1;for(_ in de)P||(Ie?"hidden"in Ie&&(He=Ie.hidden):Ie=se.access(o,"fxshow",{display:q}),C&&(Ie.hidden=!He),He&&Rt([o],!0),K.done(function(){He||Rt([o]),se.remove(o,"fxshow");for(_ in de)b.style(o,_,de[_])})),P=qn(He?Ie[_]:0,_,K),_ in Ie||(Ie[_]=P.start,He&&(P.end=P.start,P.start=0))}}function _i(o,m){var y,_,w,C,T;for(y in o)if(_=ae(y),w=m[_],C=o[y],Array.isArray(C)&&(w=C[1],C=o[y]=C[0]),y!==_&&(o[_]=C,delete o[y]),T=b.cssHooks[_],T&&"expand"in T){C=T.expand(C),delete o[_];for(y in C)y in o||(o[y]=C[y],m[y]=w)}else m[_]=w}function mt(o,m,y){var _,w,C=0,T=mt.prefilters.length,N=b.Deferred().always(function(){delete P.elem}),P=function(){if(w)return!1;for(var ie=Dt||Bn(),K=Math.max(0,q.startTime+q.duration-ie),de=K/q.duration||0,Pe=1-de,He=0,Ie=q.tweens.length;He<Ie;He++)q.tweens[He].run(Pe);return N.notifyWith(o,[q,Pe,K]),Pe<1&&Ie?K:(Ie||N.notifyWith(o,[q,1,0]),N.resolveWith(o,[q]),!1)},q=N.promise({elem:o,props:b.extend({},m),opts:b.extend(!0,{specialEasing:{},easing:b.easing._default},y),originalProperties:m,originalOptions:y,startTime:Dt||Bn(),duration:y.duration,tweens:[],createTween:function(ie,K){var de=b.Tween(o,q.opts,ie,K,q.opts.specialEasing[ie]||q.opts.easing);return q.tweens.push(de),de},stop:function(ie){var K=0,de=ie?q.tweens.length:0;if(w)return this;for(w=!0;K<de;K++)q.tweens[K].run(1);return ie?(N.notifyWith(o,[q,1,0]),N.resolveWith(o,[q,ie])):N.rejectWith(o,[q,ie]),this}}),ee=q.props;for(_i(ee,q.opts.specialEasing);C<T;C++)if(_=mt.prefilters[C].call(q,o,ee,q.opts),_)return A(_.stop)&&(b._queueHooks(q.elem,q.opts.queue).stop=_.stop.bind(_)),_;return b.map(ee,qn,q),A(q.opts.start)&&q.opts.start.call(o,q),q.progress(q.opts.progress).done(q.opts.done,q.opts.complete).fail(q.opts.fail).always(q.opts.always),b.fx.timer(b.extend(P,{elem:o,anim:q,queue:q.opts.queue})),q}b.Animation=b.extend(mt,{tweeners:{"*":[function(o,m){var y=this.createTween(o,m);return Ht(y.elem,o,et.exec(m),y),y}]},tweener:function(o,m){A(o)?(m=o,o=["*"]):o=o.match(Ge);for(var y,_=0,w=o.length;_<w;_++)y=o[_],mt.tweeners[y]=mt.tweeners[y]||[],mt.tweeners[y].unshift(m)},prefilters:[vi],prefilter:function(o,m){m?mt.prefilters.unshift(o):mt.prefilters.push(o)}}),b.speed=function(o,m,y){var _=o&&typeof o=="object"?b.extend({},o):{complete:y||!y&&m||A(o)&&o,duration:o,easing:y&&m||m&&!A(m)&&m};return b.fx.off?_.duration=0:typeof _.duration!="number"&&(_.duration in b.fx.speeds?_.duration=b.fx.speeds[_.duration]:_.duration=b.fx.speeds._default),(_.queue==null||_.queue===!0)&&(_.queue="fx"),_.old=_.complete,_.complete=function(){A(_.old)&&_.old.call(this),_.queue&&b.dequeue(this,_.queue)},_},b.fn.extend({fadeTo:function(o,m,y,_){return this.filter(rt).css("opacity",0).show().end().animate({opacity:m},o,y,_)},animate:function(o,m,y,_){var w=b.isEmptyObject(o),C=b.speed(m,y,_),T=function(){var N=mt(this,b.extend({},o),C);(w||se.get(this,"finish"))&&N.stop(!0)};return T.finish=T,w||C.queue===!1?this.each(T):this.queue(C.queue,T)},stop:function(o,m,y){var _=function(w){var C=w.stop;delete w.stop,C(y)};return typeof o!="string"&&(y=m,m=o,o=void 0),m&&this.queue(o||"fx",[]),this.each(function(){var w=!0,C=o!=null&&o+"queueHooks",T=b.timers,N=se.get(this);if(C)N[C]&&N[C].stop&&_(N[C]);else for(C in N)N[C]&&N[C].stop&&bi.test(C)&&_(N[C]);for(C=T.length;C--;)T[C].elem===this&&(o==null||T[C].queue===o)&&(T[C].anim.stop(y),w=!1,T.splice(C,1));(w||!y)&&b.dequeue(this,o)})},finish:function(o){return o!==!1&&(o=o||"fx"),this.each(function(){var m,y=se.get(this),_=y[o+"queue"],w=y[o+"queueHooks"],C=b.timers,T=_?_.length:0;for(y.finish=!0,b.queue(this,o,[]),w&&w.stop&&w.stop.call(this,!0),m=C.length;m--;)C[m].elem===this&&C[m].queue===o&&(C[m].anim.stop(!0),C.splice(m,1));for(m=0;m<T;m++)_[m]&&_[m].finish&&_[m].finish.call(this);delete y.finish})}}),b.each(["toggle","show","hide"],function(o,m){var y=b.fn[m];b.fn[m]=function(_,w,C){return _==null||typeof _=="boolean"?y.apply(this,arguments):this.animate(Zt(m,!0),_,w,C)}}),b.each({slideDown:Zt("show"),slideUp:Zt("hide"),slideToggle:Zt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(o,m){b.fn[o]=function(y,_,w){return this.animate(m,y,_,w)}}),b.timers=[],b.fx.tick=function(){var o,m=0,y=b.timers;for(Dt=Date.now();m<y.length;m++)o=y[m],!o()&&y[m]===o&&y.splice(m--,1);y.length||b.fx.stop(),Dt=void 0},b.fx.timer=function(o){b.timers.push(o),b.fx.start()},b.fx.interval=13,b.fx.start=function(){Qt||(Qt=!0,dn())},b.fx.stop=function(){Qt=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fn.delay=function(o,m){return o=b.fx&&b.fx.speeds[o]||o,m=m||"fx",this.queue(m,function(y,_){var w=t.setTimeout(y,o);_.stop=function(){t.clearTimeout(w)}})},(function(){var o=O.createElement("input"),m=O.createElement("select"),y=m.appendChild(O.createElement("option"));o.type="checkbox",S.checkOn=o.value!=="",S.optSelected=y.selected,o=O.createElement("input"),o.value="t",o.type="radio",S.radioValue=o.value==="t"})();var Wn,Wt=b.expr.attrHandle;b.fn.extend({attr:function(o,m){return oe(this,b.attr,o,m,arguments.length>1)},removeAttr:function(o){return this.each(function(){b.removeAttr(this,o)})}}),b.extend({attr:function(o,m,y){var _,w,C=o.nodeType;if(!(C===3||C===8||C===2)){if(typeof o.getAttribute>"u")return b.prop(o,m,y);if((C!==1||!b.isXMLDoc(o))&&(w=b.attrHooks[m.toLowerCase()]||(b.expr.match.bool.test(m)?Wn:void 0)),y!==void 0){if(y===null){b.removeAttr(o,m);return}return w&&"set"in w&&(_=w.set(o,y,m))!==void 0?_:(o.setAttribute(m,y+""),y)}return w&&"get"in w&&(_=w.get(o,m))!==null?_:(_=b.find.attr(o,m),_??void 0)}},attrHooks:{type:{set:function(o,m){if(!S.radioValue&&m==="radio"&&F(o,"input")){var y=o.value;return o.setAttribute("type",m),y&&(o.value=y),m}}}},removeAttr:function(o,m){var y,_=0,w=m&&m.match(Ge);if(w&&o.nodeType===1)for(;y=w[_++];)o.removeAttribute(y)}}),Wn={set:function(o,m,y){return m===!1?b.removeAttr(o,y):o.setAttribute(y,y),y}},b.each(b.expr.match.bool.source.match(/\w+/g),function(o,m){var y=Wt[m]||b.find.attr;Wt[m]=function(_,w,C){var T,N,P=w.toLowerCase();return C||(N=Wt[P],Wt[P]=T,T=y(_,w,C)!=null?P:null,Wt[P]=N),T}});var Ei=/^(?:input|select|textarea|button)$/i,wi=/^(?:a|area)$/i;b.fn.extend({prop:function(o,m){return oe(this,b.prop,o,m,arguments.length>1)},removeProp:function(o){return this.each(function(){delete this[b.propFix[o]||o]})}}),b.extend({prop:function(o,m,y){var _,w,C=o.nodeType;if(!(C===3||C===8||C===2))return(C!==1||!b.isXMLDoc(o))&&(m=b.propFix[m]||m,w=b.propHooks[m]),y!==void 0?w&&"set"in w&&(_=w.set(o,y,m))!==void 0?_:o[m]=y:w&&"get"in w&&(_=w.get(o,m))!==null?_:o[m]},propHooks:{tabIndex:{get:function(o){var m=b.find.attr(o,"tabindex");return m?parseInt(m,10):Ei.test(o.nodeName)||wi.test(o.nodeName)&&o.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),S.optSelected||(b.propHooks.selected={get:function(o){var m=o.parentNode;return m&&m.parentNode&&m.parentNode.selectedIndex,null},set:function(o){var m=o.parentNode;m&&(m.selectedIndex,m.parentNode&&m.parentNode.selectedIndex)}}),b.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){b.propFix[this.toLowerCase()]=this});function Lt(o){var m=o.match(Ge)||[];return m.join(" ")}function kt(o){return o.getAttribute&&o.getAttribute("class")||""}function pn(o){return Array.isArray(o)?o:typeof o=="string"?o.match(Ge)||[]:[]}b.fn.extend({addClass:function(o){var m,y,_,w,C,T;return A(o)?this.each(function(N){b(this).addClass(o.call(this,N,kt(this)))}):(m=pn(o),m.length?this.each(function(){if(_=kt(this),y=this.nodeType===1&&" "+Lt(_)+" ",y){for(C=0;C<m.length;C++)w=m[C],y.indexOf(" "+w+" ")<0&&(y+=w+" ");T=Lt(y),_!==T&&this.setAttribute("class",T)}}):this)},removeClass:function(o){var m,y,_,w,C,T;return A(o)?this.each(function(N){b(this).removeClass(o.call(this,N,kt(this)))}):arguments.length?(m=pn(o),m.length?this.each(function(){if(_=kt(this),y=this.nodeType===1&&" "+Lt(_)+" ",y){for(C=0;C<m.length;C++)for(w=m[C];y.indexOf(" "+w+" ")>-1;)y=y.replace(" "+w+" "," ");T=Lt(y),_!==T&&this.setAttribute("class",T)}}):this):this.attr("class","")},toggleClass:function(o,m){var y,_,w,C,T=typeof o,N=T==="string"||Array.isArray(o);return A(o)?this.each(function(P){b(this).toggleClass(o.call(this,P,kt(this),m),m)}):typeof m=="boolean"&&N?m?this.addClass(o):this.removeClass(o):(y=pn(o),this.each(function(){if(N)for(C=b(this),w=0;w<y.length;w++)_=y[w],C.hasClass(_)?C.removeClass(_):C.addClass(_);else(o===void 0||T==="boolean")&&(_=kt(this),_&&se.set(this,"__className__",_),this.setAttribute&&this.setAttribute("class",_||o===!1?"":se.get(this,"__className__")||""))}))},hasClass:function(o){var m,y,_=0;for(m=" "+o+" ";y=this[_++];)if(y.nodeType===1&&(" "+Lt(kt(y))+" ").indexOf(m)>-1)return!0;return!1}});var Ci=/\r/g;b.fn.extend({val:function(o){var m,y,_,w=this[0];return arguments.length?(_=A(o),this.each(function(C){var T;this.nodeType===1&&(_?T=o.call(this,C,b(this).val()):T=o,T==null?T="":typeof T=="number"?T+="":Array.isArray(T)&&(T=b.map(T,function(N){return N==null?"":N+""})),m=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()],(!m||!("set"in m)||m.set(this,T,"value")===void 0)&&(this.value=T))})):w?(m=b.valHooks[w.type]||b.valHooks[w.nodeName.toLowerCase()],m&&"get"in m&&(y=m.get(w,"value"))!==void 0?y:(y=w.value,typeof y=="string"?y.replace(Ci,""):y??"")):void 0}}),b.extend({valHooks:{option:{get:function(o){var m=b.find.attr(o,"value");return m??Lt(b.text(o))}},select:{get:function(o){var m,y,_,w=o.options,C=o.selectedIndex,T=o.type==="select-one",N=T?null:[],P=T?C+1:w.length;for(C<0?_=P:_=T?C:0;_<P;_++)if(y=w[_],(y.selected||_===C)&&!y.disabled&&(!y.parentNode.disabled||!F(y.parentNode,"optgroup"))){if(m=b(y).val(),T)return m;N.push(m)}return N},set:function(o,m){for(var y,_,w=o.options,C=b.makeArray(m),T=w.length;T--;)_=w[T],(_.selected=b.inArray(b.valHooks.option.get(_),C)>-1)&&(y=!0);return y||(o.selectedIndex=-1),C}}}}),b.each(["radio","checkbox"],function(){b.valHooks[this]={set:function(o,m){if(Array.isArray(m))return o.checked=b.inArray(b(o).val(),m)>-1}},S.checkOn||(b.valHooks[this].get=function(o){return o.getAttribute("value")===null?"on":o.value})});var zt=t.location,zn={guid:Date.now()},hn=/\?/;b.parseXML=function(o){var m,y;if(!o||typeof o!="string")return null;try{m=new t.DOMParser().parseFromString(o,"text/xml")}catch{}return y=m&&m.getElementsByTagName("parsererror")[0],(!m||y)&&b.error("Invalid XML: "+(y?b.map(y.childNodes,function(_){return _.textContent}).join(`
3`):o)),m};var Un=/^(?:focusinfocus|focusoutblur)$/,Kn=function(o){o.stopPropagation()};b.extend(b.event,{trigger:function(o,m,y,_){var w,C,T,N,P,q,ee,ie,K=[y||O],de=g.call(o,"type")?o.type:o,Pe=g.call(o,"namespace")?o.namespace.split("."):[];if(C=ie=T=y=y||O,!(y.nodeType===3||y.nodeType===8)&&!Un.test(de+b.event.triggered)&&(de.indexOf(".")>-1&&(Pe=de.split("."),de=Pe.shift(),Pe.sort()),P=de.indexOf(":")<0&&"on"+de,o=o[b.expando]?o:new b.Event(de,typeof o=="object"&&o),o.isTrigger=_?2:3,o.namespace=Pe.join("."),o.rnamespace=o.namespace?new RegExp("(^|\\.)"+Pe.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,o.result=void 0,o.target||(o.target=y),m=m==null?[o]:b.makeArray(m,[o]),ee=b.event.special[de]||{},!(!_&&ee.trigger&&ee.trigger.apply(y,m)===!1))){if(!_&&!ee.noBubble&&!j(y)){for(N=ee.delegateType||de,Un.test(N+de)||(C=C.parentNode);C;C=C.parentNode)K.push(C),T=C;T===(y.ownerDocument||O)&&K.push(T.defaultView||T.parentWindow||t)}for(w=0;(C=K[w++])&&!o.isPropagationStopped();)ie=C,o.type=w>1?N:ee.bindType||de,q=(se.get(C,"events")||Object.create(null))[o.type]&&se.get(C,"handle"),q&&q.apply(C,m),q=P&&C[P],q&&q.apply&&$e(C)&&(o.result=q.apply(C,m),o.result===!1&&o.preventDefault());return o.type=de,!_&&!o.isDefaultPrevented()&&(!ee._default||ee._default.apply(K.pop(),m)===!1)&&$e(y)&&P&&A(y[de])&&!j(y)&&(T=y[P],T&&(y[P]=null),b.event.triggered=de,o.isPropagationStopped()&&ie.addEventListener(de,Kn),y[de](),o.isPropagationStopped()&&ie.removeEventListener(de,Kn),b.event.triggered=void 0,T&&(y[P]=T)),o.result}},simulate:function(o,m,y){var _=b.extend(new b.Event,y,{type:o,isSimulated:!0});b.event.trigger(_,null,m)}}),b.fn.extend({trigger:function(o,m){return this.each(function(){b.event.trigger(o,m,this)})},triggerHandler:function(o,m){var y=this[0];if(y)return b.event.trigger(o,m,y,!0)}});var Si=/\[\]$/,Gn=/\r?\n/g,Ti=/^(?:submit|button|image|reset|file)$/i,Ai=/^(?:input|select|textarea|keygen)/i;function mn(o,m,y,_){var w;if(Array.isArray(m))b.each(m,function(C,T){y||Si.test(o)?_(o,T):mn(o+"["+(typeof T=="object"&&T!=null?C:"")+"]",T,y,_)});else if(!y&&k(m)==="object")for(w in m)mn(o+"["+w+"]",m[w],y,_);else _(o,m)}b.param=function(o,m){var y,_=[],w=function(C,T){var N=A(T)?T():T;_[_.length]=encodeURIComponent(C)+"="+encodeURIComponent(N??"")};if(o==null)return"";if(Array.isArray(o)||o.jquery&&!b.isPlainObject(o))b.each(o,function(){w(this.name,this.value)});else for(y in o)mn(y,o[y],m,w);return _.join("&")},b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var o=b.prop(this,"elements");return o?b.makeArray(o):this}).filter(function(){var o=this.type;return this.name&&!b(this).is(":disabled")&&Ai.test(this.nodeName)&&!Ti.test(o)&&(this.checked||!Bt.test(o))}).map(function(o,m){var y=b(this).val();return y==null?null:Array.isArray(y)?b.map(y,function(_){return{name:m.name,value:_.replace(Gn,`\r
4`)}}):{name:m.name,value:y.replace(Gn,`\r
5`)}}).get()}});var xi=/%20/g,$i=/#.*$/,Li=/([?&])_=[^&]*/,ki=/^(.*?):[ \t]*([^\r\n]*)$/mg,Pi=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Oi=/^(?:GET|HEAD)$/,Ri=/^\/\//,Yn={},gn={},Jn="*/".concat("*"),yn=O.createElement("a");yn.href=zt.href;function Xn(o){return function(m,y){typeof m!="string"&&(y=m,m="*");var _,w=0,C=m.toLowerCase().match(Ge)||[];if(A(y))for(;_=C[w++];)_[0]==="+"?(_=_.slice(1)||"*",(o[_]=o[_]||[]).unshift(y)):(o[_]=o[_]||[]).push(y)}}function Qn(o,m,y,_){var w={},C=o===gn;function T(N){var P;return w[N]=!0,b.each(o[N]||[],function(q,ee){var ie=ee(m,y,_);if(typeof ie=="string"&&!C&&!w[ie])return m.dataTypes.unshift(ie),T(ie),!1;if(C)return!(P=ie)}),P}return T(m.dataTypes[0])||!w["*"]&&T("*")}function bn(o,m){var y,_,w=b.ajaxSettings.flatOptions||{};for(y in m)m[y]!==void 0&&((w[y]?o:_||(_={}))[y]=m[y]);return _&&b.extend(!0,o,_),o}function Ii(o,m,y){for(var _,w,C,T,N=o.contents,P=o.dataTypes;P[0]==="*";)P.shift(),_===void 0&&(_=o.mimeType||m.getResponseHeader("Content-Type"));if(_){for(w in N)if(N[w]&&N[w].test(_)){P.unshift(w);break}}if(P[0]in y)C=P[0];else{for(w in y){if(!P[0]||o.converters[w+" "+P[0]]){C=w;break}T||(T=w)}C=C||T}if(C)return C!==P[0]&&P.unshift(C),y[C]}function Ni(o,m,y,_){var w,C,T,N,P,q={},ee=o.dataTypes.slice();if(ee[1])for(T in o.converters)q[T.toLowerCase()]=o.converters[T];for(C=ee.shift();C;)if(o.responseFields[C]&&(y[o.responseFields[C]]=m),!P&&_&&o.dataFilter&&(m=o.dataFilter(m,o.dataType)),P=C,C=ee.shift(),C){if(C==="*")C=P;else if(P!=="*"&&P!==C){if(T=q[P+" "+C]||q["* "+C],!T){for(w in q)if(N=w.split(" "),N[1]===C&&(T=q[P+" "+N[0]]||q["* "+N[0]],T)){T===!0?T=q[w]:q[w]!==!0&&(C=N[0],ee.unshift(N[1]));break}}if(T!==!0)if(T&&o.throws)m=T(m);else try{m=T(m)}catch(ie){return{state:"parsererror",error:T?ie:"No conversion from "+P+" to "+C}}}}return{state:"success",data:m}}b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zt.href,type:"GET",isLocal:Pi.test(zt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jn,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":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(o,m){return m?bn(bn(o,b.ajaxSettings),m):bn(b.ajaxSettings,o)},ajaxPrefilter:Xn(Yn),ajaxTransport:Xn(gn),ajax:function(o,m){typeof o=="object"&&(m=o,o=void 0),m=m||{};var y,_,w,C,T,N,P,q,ee,ie,K=b.ajaxSetup({},m),de=K.context||K,Pe=K.context&&(de.nodeType||de.jquery)?b(de):b.event,He=b.Deferred(),Ie=b.Callbacks("once memory"),nt=K.statusCode||{},Xe={},yt={},bt="canceled",je={readyState:0,getResponseHeader:function(Ve){var Ye;if(P){if(!C)for(C={};Ye=ki.exec(w);)C[Ye[1].toLowerCase()+" "]=(C[Ye[1].toLowerCase()+" "]||[]).concat(Ye[2]);Ye=C[Ve.toLowerCase()+" "]}return Ye==null?null:Ye.join(", ")},getAllResponseHeaders:function(){return P?w:null},setRequestHeader:function(Ve,Ye){return P==null&&(Ve=yt[Ve.toLowerCase()]=yt[Ve.toLowerCase()]||Ve,Xe[Ve]=Ye),this},overrideMimeType:function(Ve){return P==null&&(K.mimeType=Ve),this},statusCode:function(Ve){var Ye;if(Ve)if(P)je.always(Ve[je.status]);else for(Ye in Ve)nt[Ye]=[nt[Ye],Ve[Ye]];return this},abort:function(Ve){var Ye=Ve||bt;return y&&y.abort(Ye),Pt(0,Ye),this}};if(He.promise(je),K.url=((o||K.url||zt.href)+"").replace(Ri,zt.protocol+"//"),K.type=m.method||m.type||K.method||K.type,K.dataTypes=(K.dataType||"*").toLowerCase().match(Ge)||[""],K.crossDomain==null){N=O.createElement("a");try{N.href=K.url,N.href=N.href,K.crossDomain=yn.protocol+"//"+yn.host!=N.protocol+"//"+N.host}catch{K.crossDomain=!0}}if(K.data&&K.processData&&typeof K.data!="string"&&(K.data=b.param(K.data,K.traditional)),Qn(Yn,K,m,je),P)return je;q=b.event&&K.global,q&&b.active++===0&&b.event.trigger("ajaxStart"),K.type=K.type.toUpperCase(),K.hasContent=!Oi.test(K.type),_=K.url.replace($i,""),K.hasContent?K.data&&K.processData&&(K.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(K.data=K.data.replace(xi,"+")):(ie=K.url.slice(_.length),K.data&&(K.processData||typeof K.data=="str
5ing")&&(_+=(hn.test(_)?"&":"?")+K.data,delete K.data),K.cache===!1&&(_=_.replace(Li,"$1"),ie=(hn.test(_)?"&":"?")+"_="+zn.guid+++ie),K.url=_+ie),K.ifModified&&(b.lastModified[_]&&je.setRequestHeader("If-Modified-Since",b.lastModified[_]),b.etag[_]&&je.setRequestHeader("If-None-Match",b.etag[_])),(K.data&&K.hasContent&&K.contentType!==!1||m.contentType)&&je.setRequestHeader("Content-Type",K.contentType),je.setRequestHeader("Accept",K.dataTypes[0]&&K.accepts[K.dataTypes[0]]?K.accepts[K.dataTypes[0]]+(K.dataTypes[0]!=="*"?", "+Jn+"; q=0.01":""):K.accepts["*"]);for(ee in K.headers)je.setRequestHeader(ee,K.headers[ee]);if(K.beforeSend&&(K.beforeSend.call(de,je,K)===!1||P))return je.abort();if(bt="abort",Ie.add(K.complete),je.done(K.success),je.fail(K.error),y=Qn(gn,K,m,je),!y)Pt(-1,"No Transport");else{if(je.readyState=1,q&&Pe.trigger("ajaxSend",[je,K]),P)return je;K.async&&K.timeout>0&&(T=t.setTimeout(function(){je.abort("timeout")},K.timeout));try{P=!1,y.send(Xe,Pt)}catch(Ve){if(P)throw Ve;Pt(-1,Ve)}}function Pt(Ve,Ye,Kt,_n){var vt,Gt,_t,At,xt,pt=Ye;P||(P=!0,T&&t.clearTimeout(T),y=void 0,w=_n||"",je.readyState=Ve>0?4:0,vt=Ve>=200&&Ve<300||Ve===304,Kt&&(At=Ii(K,je,Kt)),!vt&&b.inArray("script",K.dataTypes)>-1&&b.inArray("json",K.dataTypes)<0&&(K.converters["text script"]=function(){}),At=Ni(K,At,je,vt),vt?(K.ifModified&&(xt=je.getResponseHeader("Last-Modified"),xt&&(b.lastModified[_]=xt),xt=je.getResponseHeader("etag"),xt&&(b.etag[_]=xt)),Ve===204||K.type==="HEAD"?pt="nocontent":Ve===304?pt="notmodified":(pt=At.state,Gt=At.data,_t=At.error,vt=!_t)):(_t=pt,(Ve||!pt)&&(pt="error",Ve<0&&(Ve=0))),je.status=Ve,je.statusText=(Ye||pt)+"",vt?He.resolveWith(de,[Gt,pt,je]):He.rejectWith(de,[je,pt,_t]),je.statusCode(nt),nt=void 0,q&&Pe.trigger(vt?"ajaxSuccess":"ajaxError",[je,K,vt?Gt:_t]),Ie.fireWith(de,[je,pt]),q&&(Pe.trigger("ajaxComplete",[je,K]),--b.active||b.event.trigger("ajaxStop")))}return je},getJSON:function(o,m,y){return b.get(o,m,y,"json")},getScript:function(o,m){return b.get(o,void 0,m,"script")}}),b.each(["get","post"],function(o,m){b[m]=function(y,_,w,C){return A(_)&&(C=C||w,w=_,_=void 0),b.ajax(b.extend({url:y,type:m,dataType:C,data:_,success:w},b.isPlainObject(y)&&y))}}),b.ajaxPrefilter(function(o){var m;for(m in o.headers)m.toLowerCase()==="content-type"&&(o.contentType=o.headers[m]||"")}),b._evalUrl=function(o,m,y){return b.ajax({url:o,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(_){b.globalEval(_,m,y)}})},b.fn.extend({wrapAll:function(o){var m;return this[0]&&(A(o)&&(o=o.call(this[0])),m=b(o,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&m.insertBefore(this[0]),m.map(function(){for(var y=this;y.firstElementChild;)y=y.firstElementChild;return y}).append(this)),this},wrapInner:function(o){return A(o)?this.each(function(m){b(this).wrapInner(o.call(this,m))}):this.each(function(){var m=b(this),y=m.contents();y.length?y.wrapAll(o):m.append(o)})},wrap:function(o){var m=A(o);return this.each(function(y){b(this).wrapAll(m?o.call(this,y):o)})},unwrap:function(o){return this.parent(o).not("body").each(function(){b(this).replaceWith(this.childNodes)}),this}}),b.expr.pseudos.hidden=function(o){return!b.expr.pseudos.visible(o)},b.expr.pseudos.visible=function(o){return!!(o.offsetWidth||o.offsetHeight||o.getClientRects().length)},b.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Mi={0:200,1223:204},Ut=b.ajaxSettings.xhr();S.cors=!!Ut&&"withCredentials"in Ut,S.ajax=Ut=!!Ut,b.ajaxTransport(function(o){var m,y;if(S.cors||Ut&&!o.crossDomain)return{send:function(_,w){var C,T=o.xhr();if(T.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(C in o.xhrFields)T[C]=o.xhrFields[C];o.mimeType&&T.overrideMimeType&&T.overrideMimeType(o.mimeType),!o.crossDomain&&!_["X-Requested-With"]&&(_["X-Requested-With"]="XMLHttpRequest");for(C in _)T.setRequestHeader(C,_[C]);m=function(N){return function(){m&&(m=y=T.onload=T.onerror=T.onabort=T.ontimeout=T.onreadystatechange=null,N==="abort"?T.abort():N==="error"?typeof T.status!="number"?w(0,"error"):w(T.status,T.statusText):w(Mi[T.status]||T.status,T.statusText,(T.responseType||"text")!=="text"||typeof T.responseText!="string"?{binary:T.response}:{text:T.responseText},T.getAllResponseHeaders()))}},T.onload=m(),y=T.onerror=T.ontimeout=m("error"),T.onabort!==void 0?T.onabort=y:T.onreadystatechange=function(){T.readyState===4&&t.setTimeout(function(){m&&y()})},m=m("abort");try{T.send(o.hasContent&&o.data||null)}catch(N){if(m)throw N}},abort:function(){m&&m()}}}),b.ajaxPrefilter(function(o){o.crossDomain&&(o.contents.script=!1)}),b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(o){return b.globalEval(o),o}}}),b.ajaxPrefilter("script",function(o){o.cache===void 0&&(o.cache=!1),o.crossDomain&&(o.type="GET")}
vendor: 6,321 bytes, line 5
5),b.ajaxTransport("script",function(o){if(o.crossDomain||o.scriptAttrs){var m,y;return{send:function(_,w){m=b("<script>").attr(o.scriptAttrs||{}).prop({charset:o.scriptCharset,src:o.url}).on("load error",y=function(C){m.remove(),y=null,C&&w(C.type==="error"?404:200,C.type)}),O.head.appendChild(m[0])},abort:function(){y&&y()}}}});var Zn=[],vn=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var o=Zn.pop()||b.expando+"_"+zn.guid++;return this[o]=!0,o}}),b.ajaxPrefilter("json jsonp",function(o,m,y){var _,w,C,T=o.jsonp!==!1&&(vn.test(o.url)?"url":typeof o.data=="string"&&(o.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&vn.test(o.data)&&"data");if(T||o.dataTypes[0]==="jsonp")return _=o.jsonpCallback=A(o.jsonpCallback)?o.jsonpCallback():o.jsonpCallback,T?o[T]=o[T].replace(vn,"$1"+_):o.jsonp!==!1&&(o.url+=(hn.test(o.url)?"&":"?")+o.jsonp+"="+_),o.converters["script json"]=function(){return C||b.error(_+" was not called"),C[0]},o.dataTypes[0]="json",w=t[_],t[_]=function(){C=arguments},y.always(function(){w===void 0?b(t).removeProp(_):t[_]=w,o[_]&&(o.jsonpCallback=m.jsonpCallback,Zn.push(_)),C&&A(w)&&w(C[0]),C=w=void 0}),"script"}),S.createHTMLDocument=(function(){var o=O.implementation.createHTMLDocument("").body;return o.innerHTML="<form></form><form></form>",o.childNodes.length===2})(),b.parseHTML=function(o,m,y){if(typeof o!="string")return[];typeof m=="boolean"&&(y=m,m=!1);var _,w,C;return m||(S.createHTMLDocument?(m=O.implementation.createHTMLDocument(""),_=m.createElement("base"),_.href=O.location.href,m.head.appendChild(_)):m=O),w=X.exec(o),C=!y&&[],w?[m.createElement(w[1])]:(w=Ln([o],m,C),C&&C.length&&b(C).remove(),b.merge([],w.childNodes))},b.fn.load=function(o,m,y){var _,w,C,T=this,N=o.indexOf(" ");return N>-1&&(_=Lt(o.slice(N)),o=o.slice(0,N)),A(m)?(y=m,m=void 0):m&&typeof m=="object"&&(w="POST"),T.length>0&&b.ajax({url:o,type:w||"GET",dataType:"html",data:m}).done(function(P){C=arguments,T.html(_?b("<div>").append(b.parseHTML(P)).find(_):P)}).always(y&&function(P,q){T.each(function(){y.apply(this,C||[P.responseText,q,P])})}),this},b.expr.pseudos.animated=function(o){return b.grep(b.timers,function(m){return o===m.elem}).length},b.offset={setOffset:function(o,m,y){var _,w,C,T,N,P,q,ee=b.css(o,"position"),ie=b(o),K={};ee==="static"&&(o.style.position="relative"),N=ie.offset(),C=b.css(o,"top"),P=b.css(o,"left"),q=(ee==="absolute"||ee==="fixed")&&(C+P).indexOf("auto")>-1,q?(_=ie.position(),T=_.top,w=_.left):(T=parseFloat(C)||0,w=parseFloat(P)||0),A(m)&&(m=m.call(o,y,b.extend({},N))),m.top!=null&&(K.top=m.top-N.top+T),m.left!=null&&(K.left=m.left-N.left+w),"using"in m?m.using.call(o,K):ie.css(K)}},b.fn.extend({offset:function(o){if(arguments.length)return o===void 0?this:this.each(function(w){b.offset.setOffset(this,o,w)});var m,y,_=this[0];if(_)return _.getClientRects().length?(m=_.getBoundingClientRect(),y=_.ownerDocument.defaultView,{top:m.top+y.pageYOffset,left:m.left+y.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var o,m,y,_=this[0],w={top:0,left:0};if(b.css(_,"position")==="fixed")m=_.getBoundingClientRect();else{for(m=this.offset(),y=_.ownerDocument,o=_.offsetParent||y.documentElement;o&&(o===y.body||o===y.documentElement)&&b.css(o,"position")==="static";)o=o.parentNode;o&&o!==_&&o.nodeType===1&&(w=b(o).offset(),w.top+=b.css(o,"borderTopWidth",!0),w.left+=b.css(o,"borderLeftWidth",!0))}return{top:m.top-w.top-b.css(_,"marginTop",!0),left:m.left-w.left-b.css(_,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var o=this.offsetParent;o&&b.css(o,"position")==="static";)o=o.offsetParent;return o||ft})}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(o,m){var y=m==="pageYOffset";b.fn[o]=function(_){return oe(this,function(w,C,T){var N;if(j(w)?N=w:w.nodeType===9&&(N=w.defaultView),T===void 0)return N?N[m]:w[C];N?N.scrollTo(y?N.pageXOffset:T,y?T:N.pageYOffset):w[C]=T},o,_,arguments.length)}}),b.each(["top","left"],function(o,m){b.cssHooks[m]=Nn(S.pixelPosition,function(y,_){if(_)return _=qt(y,m),ln.test(_)?b(y).position()[m]+"px":_})}),b.each({Height:"height",Width:"width"},function(o,m){b.each({padding:"inner"+o,content:m,"":"outer"+o},function(y,_){b.fn[_]=function(w,C){var T=arguments.length&&(y||typeof w!="boolean"),N=y||(w===!0||C===!0?"margin":"border");return oe(this,function(P,q,ee){var ie;return j(P)?_.indexOf("outer")===0?P["inner"+o]:P.document.documentElement["client"+o]:P.nodeType===9?(ie=P.documentElement,Math.max(P.body["scroll"+o],ie["scroll"+o],P.body["offset"+o],ie["offset"+o],ie["client"+o])):ee===void 0?b.css(P,q,N):b.style(P,q,ee,N)},m,T?w:void 0,T)}})}),b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(o,m){b.fn[m]=function(y){return this.on(m,y)}}),b.fn.extend({bind:function(o,m,y){return this.on(o,null,m,y)},unbind:function(o,m){return this.off(o,null,m)},delegate:function(o,m,y,_){return this.on(m,o,y,_)},undelegate:function(o,m,y){return arguments.length===1?this.off(o,"**"):this.off(m,o||"**",y)},hover:function(o,m){return this.on("mouseenter",o).on("mouseleave",m||o)}}),b.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(o,m){b.fn[m]=function(y,_){return arguments.length>0?this.on(m,null,y,_):this.trigger(m)}});var Di=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;b.proxy=function(o,m){var y,_,w;if(typeof m=="string"&&(y=o[m],m=o,o=y),!!A(o))return _=r.call(arguments,2),w=function(){return o.apply(m||this,_.concat(r.call(arguments)))},w.guid=o.guid=o.guid||b.guid++,w},b.holdReady=function(o){o?b.readyWait++:b.ready(!0)},b.isArray=Array.isArray,b.parseJSON=JSON.parse,b.nodeName=F,b.isFunction=A,b.isWindow=j,b.camelCase=ae,b.type=k,b.now=Date.now,b.isNumeric=function(o){var m=b.type(o);return(m==="number"||m==="string")&&!isNaN(o-parseFloat(o))},b.trim=function(o){return o==null?"":(o+"").replace(Di,"$1")};var Fi=t.jQuery,ji=t.$;return b.noConflict=function(o){return t.$===b&&(t.$=ji),o&&t.jQuery===b&&(t.jQuery=Fi),b},typeof n>"u"&&(t.jQuery=t.$=b),b})})(jquery$1)),jquery$1.exports}var jqueryExports=requireJquery();const $$1=getDefaultExportFromCjs$1(jqueryExports);
5var select2$1={exports:{}};var hasRequiredSelect2;function requireSelect2(){return hasRequiredSelect2||(hasRequiredSelect2=1,(function(e){(function(t){e.exports?e.exports=function(n,i){return i===void 0&&(typeof window<"u"?i=requireJquery():i=requireJquery()(n)),t(i),i}:t(jQuery)})(function(t){var n=(function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var s=t.fn.select2.amd;var s;return(function(){if(!s||!s.requirejs){s?a=s:s={};var r,a,l;(function(u){var d,f,g,v,E={},S={},A={},j={},O=Object.prototype.hasOwnProperty,R=[].slice,x=/\.js$/;function k(M,re){return O.call(M,re)}function V(M,re){var pe,D,U,Y,le,be,xe,X,he,Se,Ce,Re,Ne=re&&re.split("/"),Qe=A.map,We=Qe&&Qe["*"]||{};if(M){for(M=M.split("/"),le=M.length-1,A.nodeIdCompat&&x.test(M[le])&&(M[le]=M[le].replace(x,"")),M[0].charAt(0)==="."&&Ne&&(Re=Ne.slice(0,Ne.length-1),M=Re.concat(M)),he=0;he<M.length;he++)if(Ce=M[he],Ce===".")M.splice(he,1),he-=1;else if(Ce===".."){if(he===0||he===1&&M[2]===".."||M[he-1]==="..")continue;he>0&&(M.splice(he-1,2),he-=2)}M=M.join("/")}if((Ne||We)&&Qe){for(pe=M.split("/"),he=pe.length;he>0;he-=1){if(D=pe.slice(0,he).join("/"),Ne){for(Se=Ne.length;Se>0;Se-=1)if(U=Qe[Ne.slice(0,Se).join("/")],U&&(U=U[D],U)){Y=U,be=he;break}}if(Y)break;!xe&&We&&We[D]&&(xe=We[D],X=he)}!Y&&xe&&(Y=xe,be=X),Y&&(pe.splice(0,be,Y),M=pe.join("/"))}return M}function Z(M,re){return function(){var pe=R.call(arguments,0);return typeof pe[0]!="string"&&pe.length===1&&pe.push(null),f.apply(u,pe.concat([M,re]))}}function b(M){return function(re){return V(re,M)}}function W(M){return function(re){E[M]=re}}function F(M){if(k(S,M)){var re=S[M];delete S[M],j[M]=!0,d.apply(u,re)}if(!k(E,M)&&!k(j,M))throw new Error("No "+M);return E[M]}function G(M){var re,pe=M?M.indexOf("!"):-1;return pe>-1&&(re=M.substring(0,pe),M=M.substring(pe+1,M.length)),[re,M]}function ue(M){return M?G(M):[]}g=function(M,re){var pe,D=G(M),U=D[0],Y=re[1];return M=D[1],U&&(U=V(U,Y),pe=F(U)),U?pe&&pe.normalize?M=pe.normalize(M,b(Y)):M=V(M,Y):(M=V(M,Y),D=G(M),U=D[0],M=D[1],U&&(pe=F(U))),{f:U?U+"!"+M:M,n:M,pr:U,p:pe}};function J(M){return function(){return A&&A.config&&A.config[M]||{}}}v={require:function(M){return Z(M)},exports:function(M){var re=E[M];return typeof re<"u"?re:E[M]={}},module:function(M){return{id:M,uri:"",exports:E[M],config:J(M)}}},d=function(M,re,pe,D){var U,Y,le,be,xe,X,he=[],Se=typeof pe,Ce;if(D=D||M,X=ue(D),Se==="undefined"||Se==="function"){for(re=!re.length&&pe.length?["require","exports","module"]:re,xe=0;xe<re.length;xe+=1)if(be=g(re[xe],X),Y=be.f,Y==="require")he[xe]=v.require(M);else if(Y==="exports")he[xe]=v.exports(M),Ce=!0;else if(Y==="module")U=he[xe]=v.module(M);else if(k(E,Y)||k(S,Y)||k(j,Y))he[xe]=F(Y);else if(be.p)be.p.load(be.n,Z(D,!0),W(Y),{}),he[xe]=E[Y];else throw new Error(M+" missing "+Y);le=pe?pe.apply(E[M],he):void 0,M&&(U&&U.exports!==u&&U.exports!==E[M]?E[M]=U.exports:(le!==u||!Ce)&&(E[M]=le))}else M&&(E[M]=pe)},r=a=f=function(M,re,pe,D,U){if(typeof M=="string")return v[M]?v[M](re):F(g(M,ue(re)).f);if(!M.splice){if(A=M,A.deps&&f(A.deps,A.callback),!re)return;re.splice?(M=re,re=pe,pe=null):M=u}return re=re||function(){},typeof pe=="function"&&(pe=D,D=U),D?d(u,M,re,pe):setTimeout(function(){d(u,M,re,pe)},4),f},f.config=function(M){return f(M)},r._defined=E,l=function(M,re,pe){if(typeof M!="string")throw new Error("See almond README: incorrect module build, no module name");re.splice||(pe=re,re=[]),!k(E,M)&&!k(S,M)&&(S[M]=[M,re,pe])},l.amd={jQuery:!0}})(),s.requirejs=r,s.require=a,s.define=l}})(),s.define("almond",function(){}),s.define("jquery",[],function(){var r=t||$;return r==null&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),r}),s.define("select2/utils",["jquery"],function(r){var a={};a.Extend=function(f,g){var v={}.hasOwnProperty;function E(){this.constructor=f}for(var S in g)v.call(g,S)&&(f[S]=g[S]);return E.prototype=g.prototype,f.prototype=new E,f.__super__=g.prototype,f};function l(f){var g=f.prototype,v=[];for(var E in g){var S=g[E];typeof S=="function"&&E!=="constructor"&&v.push(E)}return v}a.Decorate=function(f,g){var v=l(g),E=l(f);function S(){var V=Array.prototype.unshift,Z=g.prototype.constructor.length,b=f.prototype.constructor;Z>0&&(V.call(arguments,f.prototype.constructor),b=g.prototype.constructor),b.apply(this,arguments)}g.displayName=f.displayName;function A(){this.constructor=S}S.prototype=new A;for(var j=0;j<E.length;j++){var O=E[j];S.prototype[O]=f.prototype[O]}for(var R=function(V){var Z=function(){};V in S.prototype&&(Z=S.prototype[V]);var b=g.prototype[V];return function(){var W=Array.prototype.unshift;return W.call(arguments,Z),b.apply(this,arguments)}},x=0;x<v.length;x++){var k=v[x];S.prototype[k]=R(k)}return S};var u=function(){this.listeners={}};u.prototype.on=function(f,g){this.listeners=this.listeners||{},f in this.listeners?this.listeners[f].push(g):this.listeners[f]=[g]},u.prototype.trigger=function(f){var g=Array.prototype.slice,v=g.call(arguments,1
5);this.listeners=this.listeners||{},v==null&&(v=[]),v.length===0&&v.push({}),v[0]._type=f,f in this.listeners&&this.invoke(this.listeners[f],g.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},u.prototype.invoke=function(f,g){for(var v=0,E=f.length;v<E;v++)f[v].apply(this,g)},a.Observable=u,a.generateChars=function(f){for(var g="",v=0;v<f;v++){var E=Math.floor(Math.random()*36);g+=E.toString(36)}return g},a.bind=function(f,g){return function(){f.apply(g,arguments)}},a._convertData=function(f){for(var g in f){var v=g.split("-"),E=f;if(v.length!==1){for(var S=0;S<v.length;S++){var A=v[S];A=A.substring(0,1).toLowerCase()+A.substring(1),A in E||(E[A]={}),S==v.length-1&&(E[A]=f[g]),E=E[A]}delete f[g]}}return f},a.hasScroll=function(f,g){var v=r(g),E=g.style.overflowX,S=g.style.overflowY;return E===S&&(S==="hidden"||S==="visible")?!1:E==="scroll"||S==="scroll"?!0:v.innerHeight()<g.scrollHeight||v.innerWidth()<g.scrollWidth},a.escapeMarkup=function(f){var g={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return typeof f!="string"?f:String(f).replace(/[&<>"'\/\\]/g,function(v){return g[v]})},a.__cache={};var d=0;return a.GetUniqueElementId=function(f){var g=f.getAttribute("data-select2-id");return g!=null||(f.id?g="select2-data-"+f.id:g="select2-data-"+(++d).toString()+"-"+a.generateChars(4),f.setAttribute("data-select2-id",g)),g},a.StoreData=function(f,g,v){var E=a.GetUniqueElementId(f);a.__cache[E]||(a.__cache[E]={}),a.__cache[E][g]=v},a.GetData=function(f,g){var v=a.GetUniqueElementId(f);return g?a.__cache[v]&&a.__cache[v][g]!=null?a.__cache[v][g]:r(f).data(g):a.__cache[v]},a.RemoveData=function(f){var g=a.GetUniqueElementId(f);a.__cache[g]!=null&&delete a.__cache[g],f.removeAttribute("data-select2-id")},a.copyNonInternalCssClasses=function(f,g){var v=f.getAttribute("class").trim().split(/\s+/);v=v.filter(function(A){return A.indexOf("select2-")===0});var E=g.getAttribute("class").trim().split(/\s+/);E=E.filter(function(A){return A.indexOf("select2-")!==0});var S=v.concat(E);f.setAttribute("class",S.join(" "))},a}),s.define("select2/results",["jquery","./utils"],function(r,a){function l(u,d,f){this.$element=u,this.data=f,this.options=d,l.__super__.constructor.call(this)}return a.Extend(l,a.Observable),l.prototype.render=function(){var u=r('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&u.attr("aria-multiselectable","true"),this.$results=u,u},l.prototype.clear=function(){this.$results.empty()},l.prototype.displayMessage=function(u){var d=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var f=r('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),g=this.options.get("translations").get(u.message);f.append(d(g(u.args))),f[0].className+=" select2-results__message",this.$results.append(f)},l.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},l.prototype.append=function(u){this.hideLoading();var d=[];if(u.results==null||u.results.length===0){this.$results.children().length===0&&this.trigger("results:message",{message:"noResults"});return}u.results=this.sort(u.results);for(var f=0;f<u.results.length;f++){var g=u.results[f],v=this.option(g);d.push(v)}this.$results.append(d)},l.prototype.position=function(u,d){var f=d.find(".select2-results");f.append(u)},l.prototype.sort=function(u){var d=this.options.get("sorter");return d(u)},l.prototype.highlightFirstItem=function(){var u=this.$results.find(".select2-results__option--selectable"),d=u.filter(".select2-results__option--selected");d.length>0?d.first().trigger("mouseenter"):u.first().trigger("mouseenter"),this.ensureHighlightVisible()},l.prototype.setClasses=function(){var u=this;this.data.current(function(d){var f=d.map(function(v){return v.id.toString()}),g=u.$results.find(".select2-results__option--selectable");g.each(function(){var v=r(this),E=a.GetData(this,"data"),S=""+E.id;E.element!=null&&E.element.selected||E.element==null&&f.indexOf(S)>-1?(this.classList.add("select2-results__option--selected"),v.attr("aria-selected","true")):(this.classList.remove("select2-results__option--selected"),v.attr("aria-selected","false"))})})},l.prototype.showLoading=function(u){this.hideLoading();var d=this.options.get("translations").get("searching"),f={disabled:!0,loading:!0,text:d(u)},g=this.option(f);g.className+=" loading-results",this.$results.prepend(g)},l.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},l.prototype.option=function(u){var d=document.createElement("li");d.classList.add("select2-results__option"),d.classList.add("select2-results__option--selectable");var f={role:"option"},g=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;(u.element!=null&&g.call(u.element,":disabled")||u.element==null&&u.disabled)&&(f["aria-disabled"]="true",d.classList.remove("select2-results__option--selectable"),d.classList.add("select2-results__option--disabled")),u.id==null&&d.classList.remove("select2-results__option--selectable"),u._resultId!=null&&(d.id=u._resultId),u.title&&(d.title=u.title),u.children&&(f.role="group",f["aria-label"]=u.text,d.classList.remove("select2-results__option--selectable"),d.classList.add("select2-results__option--group"));for(var v in f){var E=f[v];
5d.setAttribute(v,E)}if(u.children){var S=r(d),A=document.createElement("strong");A.className="select2-results__group",this.template(u,A);for(var j=[],O=0;O<u.children.length;O++){var R=u.children[O],x=this.option(R);j.push(x)}var k=r("<ul></ul>",{class:"select2-results__options select2-results__options--nested",role:"none"});k.append(j),S.append(A),S.append(k)}else this.template(u,d);return a.StoreData(d,"data",u),d},l.prototype.bind=function(u,d){var f=this,g=u.id+"-results";this.$results.attr("id",g),u.on("results:all",function(v){f.clear(),f.append(v.data),u.isOpen()&&(f.setClasses(),f.highlightFirstItem())}),u.on("results:append",function(v){f.append(v.data),u.isOpen()&&f.setClasses()}),u.on("query",function(v){f.hideMessages(),f.showLoading(v)}),u.on("select",function(){u.isOpen()&&(f.setClasses(),f.options.get("scrollAfterSelect")&&f.highlightFirstItem())}),u.on("unselect",function(){u.isOpen()&&(f.setClasses(),f.options.get("scrollAfterSelect")&&f.highlightFirstItem())}),u.on("open",function(){f.$results.attr("aria-expanded","true"),f.$results.attr("aria-hidden","false"),f.setClasses(),f.ensureHighlightVisible()}),u.on("close",function(){f.$results.attr("aria-expanded","false"),f.$results.attr("aria-hidden","true"),f.$results.removeAttr("aria-activedescendant")}),u.on("results:toggle",function(){var v=f.getHighlightedResults();v.length!==0&&v.trigger("mouseup")}),u.on("results:select",function(){var v=f.getHighlightedResults();if(v.length!==0){var E=a.GetData(v[0],"data");v.hasClass("select2-results__option--selected")?f.trigger("close",{}):f.trigger("select",{data:E})}}),u.on("results:previous",function(){var v=f.getHighlightedResults(),E=f.$results.find(".select2-results__option--selectable"),S=E.index(v);if(!(S<=0)){var A=S-1;v.length===0&&(A=0);var j=E.eq(A);j.trigger("mouseenter");var O=f.$results.offset().top,R=j.offset().top,x=f.$results.scrollTop()+(R-O);A===0?f.$results.scrollTop(0):R-O<0&&f.$results.scrollTop(x)}}),u.on("results:next",function(){var v=f.getHighlightedResults(),E=f.$results.find(".select2-results__option--selectable"),S=E.index(v),A=S+1;if(!(A>=E.length)){var j=E.eq(A);j.trigger("mouseenter");var O=f.$results.offset().top+f.$results.outerHeight(!1),R=j.offset().top+j.outerHeight(!1),x=f.$results.scrollTop()+R-O;A===0?f.$results.scrollTop(0):R>O&&f.$results.scrollTop(x)}}),u.on("results:focus",function(v){v.element[0].classList.add("select2-results__option--highlighted"),v.element[0].setAttribute("aria-selected","true")}),u.on("results:message",function(v){f.displayMessage(v)}),r.fn.mousewheel&&this.$results.on("mousewheel",function(v){var E=f.$results.scrollTop(),S=f.$results.get(0).scrollHeight-E+v.deltaY,A=v.deltaY>0&&E-v.deltaY<=0,j=v.deltaY<0&&S<=f.$results.height();A?(f.$results.scrollTop(0),v.preventDefault(),v.stopPropagation()):j&&(f.$results.scrollTop(f.$results.get(0).scrollHeight-f.$results.height()),v.preventDefault(),v.stopPropagation())}),this.$results.on("mouseup",".select2-results__option--selectable",function(v){var E=r(this),S=a.GetData(this,"data");if(E.hasClass("select2-results__option--selected")){f.options.get("multiple")?f.trigger("unselect",{originalEvent:v,data:S}):f.trigger("close",{});return}f.trigger("select",{originalEvent:v,data:S})}),this.$results.on("mouseenter",".select2-results__option--selectable",function(v){var E=a.GetData(this,"data");f.getHighlightedResults().removeClass("select2-results__option--highlighted").attr("aria-selected","false"),f.trigger("results:focus",{data:E,element:r(this)})})},l.prototype.getHighlightedResults=function(){var u=this.$results.find(".select2-results__option--highlighted");return u},l.prototype.destroy=function(){this.$results.remove()},l.prototype.ensureHighlightVisible=function(){var u=this.getHighlightedResults();if(u.length!==0){var d=this.$results.find(".select2-results__option--selectable"),f=d.index(u),g=this.$results.offset().top,v=u.offset().top,E=this.$results.scrollTop()+(v-g),S=v-g;E-=u.outerHeight(!1)*2,f<=2?this.$results.scrollTop(0):(S>this.$results.outerHeight()||S<0)&&this.$results.scrollTop(E)}},l.prototype.template=function(u,d){var f=this.options.get("templateResult"),g=this.options.get("escapeMarkup"),v=f(u,d);v==null?d.style.display="none":typeof v=="string"?d.innerHTML=g(v):r(d).append(v)},l}),s.define("select2/keys",[],function(){var r={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return r}),s.define("select2/selection/base",["jquery","../utils","../keys"],function(r,a,l){function u(d,f){this.$element=d,this.options=f,u.__super__.constructor.call(this)}return a.Extend(u,a.Observable),u.prototype.render=function(){var d=r('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,a.GetData(this.$element[0],"old-tabindex")!=null?this._tabindex=a.GetData(this.$element[0],"old-tabindex"):this.$element.attr("tabindex")!=null&&(this._tabindex=this.$element.attr("tabindex")),d.attr("title",this.$element.attr("title")),d.attr("tabindex",this._tabindex),d.attr("aria-disabled","false"),this.$selection=d,d},u.prototype.bind=function(d,f){var g=this,v=d.id+"-results";this.container=d,this.$selection.on("focus",function(E){g.trigger("focus",E)}),this.$selection.on("blur",function(E){g._handleBlur(E)}),this.$selection.on("keydown",function(E){g.trigger("keypress",E),E.which===l.SPACE&&E.preventDefault()}),d.on("results:focus",function(E){g.$selection.attr("aria-activedescendant",E.data._resultId)}),d.on("selection:update",function(E){g.update(E.data)}),d.on("open",function(){g.$selection.attr("aria-expanded","true"),g.$selection.attr("aria-owns",v),g._attachCloseHandler(d)}),d.on("close",function(){g.$selection.attr("aria-expanded","fal
5se"),g.$selection.removeAttr("aria-activedescendant"),g.$selection.removeAttr("aria-owns"),g.$selection.trigger("focus"),g._detachCloseHandler(d)}),d.on("enable",function(){g.$selection.attr("tabindex",g._tabindex),g.$selection.attr("aria-disabled","false")}),d.on("disable",function(){g.$selection.attr("tabindex","-1"),g.$selection.attr("aria-disabled","true")})},u.prototype._handleBlur=function(d){var f=this;window.setTimeout(function(){document.activeElement==f.$selection[0]||r.contains(f.$selection[0],document.activeElement)||f.trigger("blur",d)},1)},u.prototype._attachCloseHandler=function(d){r(document.body).on("mousedown.select2."+d.id,function(f){var g=r(f.target),v=g.closest(".select2"),E=r(".select2.select2-container--open");E.each(function(){if(this!=v[0]){var S=a.GetData(this,"element");S.select2("close")}})})},u.prototype._detachCloseHandler=function(d){r(document.body).off("mousedown.select2."+d.id)},u.prototype.position=function(d,f){var g=f.find(".selection");g.append(d)},u.prototype.destroy=function(){this._detachCloseHandler(this.container)},u.prototype.update=function(d){throw new Error("The `update` method must be defined in child classes.")},u.prototype.isEnabled=function(){return!this.isDisabled()},u.prototype.isDisabled=function(){return this.options.get("disabled")},u}),s.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(r,a,l,u){function d(){d.__super__.constructor.apply(this,arguments)}return l.Extend(d,a),d.prototype.render=function(){var f=d.__super__.render.call(this);return f[0].classList.add("select2-selection--single"),f.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),f},d.prototype.bind=function(f,g){var v=this;d.__super__.bind.apply(this,arguments);var E=f.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",E).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",E),this.$selection.attr("aria-controls",E),this.$selection.on("mousedown",function(S){S.which===1&&v.trigger("toggle",{originalEvent:S})}),this.$selection.on("focus",function(S){}),this.$selection.on("blur",function(S){}),f.on("focus",function(S){f.isOpen()||v.$selection.trigger("focus")})},d.prototype.clear=function(){var f=this.$selection.find(".select2-selection__rendered");f.empty(),f.removeAttr("title")},d.prototype.display=function(f,g){var v=this.options.get("templateSelection"),E=this.options.get("escapeMarkup");return E(v(f,g))},d.prototype.selectionContainer=function(){return r("<span></span>")},d.prototype.update=function(f){if(f.length===0){this.clear();return}var g=f[0],v=this.$selection.find(".select2-selection__rendered"),E=this.display(g,v);v.empty().append(E);var S=g.title||g.text;S?v.attr("title",S):v.removeAttr("title")},d}),s.define("select2/selection/multiple",["jquery","./base","../utils"],function(r,a,l){function u(d,f){u.__super__.constructor.apply(this,arguments)}return l.Extend(u,a),u.prototype.render=function(){var d=u.__super__.render.call(this);return d[0].classList.add("select2-selection--multiple"),d.html('<ul class="select2-selection__rendered"></ul>'),d},u.prototype.bind=function(d,f){var g=this;u.__super__.bind.apply(this,arguments);var v=d.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",v),this.$selection.on("click",function(E){g.trigger("toggle",{originalEvent:E})}),this.$selection.on("click",".select2-selection__choice__remove",function(E){if(!g.isDisabled()){var S=r(this),A=S.parent(),j=l.GetData(A[0],"data");g.trigger("unselect",{originalEvent:E,data:j})}}),this.$selection.on("keydown",".select2-selection__choice__remove",function(E){g.isDisabled()||E.stopPropagation()})},u.prototype.clear=function(){var d=this.$selection.find(".select2-selection__rendered");d.empty(),d.removeAttr("title")},u.prototype.display=function(d,f){var g=this.options.get("templateSelection"),v=this.options.get("escapeMarkup");return v(g(d,f))},u.prototype.selectionContainer=function(){var d=r('<li class="select2-selection__choice"><button type="button" class="select2-selection__choice__remove" tabindex="-1"><span aria-hidden="true">&times;</span></button><span class="select2-selection__choice__display"></span></li>');return d},u.prototype.update=function(d){if(this.clear(),d.length!==0){for(var f=[],g=this.$selection.find(".select2-selection__rendered").attr("id")+"-choice-",v=0;v<d.length;v++){var E=d[v],S=this.selectionContainer(),A=this.display(E,S),j=g+l.generateChars(4)+"-";E.id?j+=E.id:j+=l.generateChars(4),S.find(".select2-selection__choice__display").append(A).attr("id",j);var O=E.title||E.text;O&&S.attr("title",O);var R=this.options.get("translations").get("removeItem"),x=S.find(".select2-selection__choice__remove");x.attr("title",R()),x.attr("aria-label",R()),x.attr("aria-describedby",j),l.StoreData(S[0],"data",E),f.pu
5sh(S)}var k=this.$selection.find(".select2-selection__rendered");k.append(f)}},u}),s.define("select2/selection/placeholder",[],function(){function r(a,l,u){this.placeholder=this.normalizePlaceholder(u.get("placeholder")),a.call(this,l,u)}return r.prototype.normalizePlaceholder=function(a,l){return typeof l=="string"&&(l={id:"",text:l}),l},r.prototype.createPlaceholder=function(a,l){var u=this.selectionContainer();u.html(this.display(l)),u[0].classList.add("select2-selection__placeholder"),u[0].classList.remove("select2-selection__choice");var d=l.title||l.text||u.text();return this.$selection.find(".select2-selection__rendered").attr("title",d),u},r.prototype.update=function(a,l){var u=l.length==1&&l[0].id!=this.placeholder.id,d=l.length>1;if(d||u)return a.call(this,l);this.clear();var f=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(f)},r}),s.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(r,a,l){function u(){}return u.prototype.bind=function(d,f,g){var v=this;d.call(this,f,g),this.placeholder==null&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(E){v._handleClear(E)}),f.on("keypress",function(E){v._handleKeyboardClear(E,f)})},u.prototype._handleClear=function(d,f){if(!this.isDisabled()){var g=this.$selection.find(".select2-selection__clear");if(g.length!==0){f.stopPropagation();var v=l.GetData(g[0],"data"),E=this.$element.val();this.$element.val(this.placeholder.id);var S={data:v};if(this.trigger("clear",S),S.prevented){this.$element.val(E);return}for(var A=0;A<v.length;A++)if(S={data:v[A]},this.trigger("unselect",S),S.prevented){this.$element.val(E);return}this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}},u.prototype._handleKeyboardClear=function(d,f,g){g.isOpen()||(f.which==a.DELETE||f.which==a.BACKSPACE)&&this._handleClear(f)},u.prototype.update=function(d,f){if(d.call(this,f),this.$selection.find(".select2-selection__clear").remove(),this.$selection[0].classList.remove("select2-selection--clearable"),!(this.$selection.find(".select2-selection__placeholder").length>0||f.length===0)){var g=this.$selection.find(".select2-selection__rendered").attr("id"),v=this.options.get("translations").get("removeAllItems"),E=r('<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">&times;</span></button>');E.attr("title",v()),E.attr("aria-label",v()),E.attr("aria-describedby",g),l.StoreData(E[0],"data",f),this.$selection.prepend(E),this.$selection[0].classList.add("select2-selection--clearable")}},u}),s.define("select2/selection/search",["jquery","../utils","../keys"],function(r,a,l){function u(d,f,g){d.call(this,f,g)}return u.prototype.render=function(d){var f=this.options.get("translations").get("search"),g=r('<span class="select2-search select2-search--inline"><textarea class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" ></textarea></span>');this.$searchContainer=g,this.$search=g.find("textarea"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",f());var v=d.call(this);return this._transferTabIndex(),v.append(this.$searchContainer),v},u.prototype.bind=function(d,f,g){var v=this,E=f.id+"-results",S=f.id+"-container";d.call(this,f,g),v.$search.attr("aria-describedby",S),f.on("open",function(){v.$search.attr("aria-controls",E),v.$search.trigger("focus")}),f.on("close",function(){v.$search.val(""),v.resizeSearch(),v.$search.removeAttr("aria-controls"),v.$search.removeAttr("aria-activedescendant"),v.$search.trigger("focus")}),f.on("enable",function(){v.$search.prop("disabled",!1),v._transferTabIndex()}),f.on("disable",function(){v.$search.prop("disabled",!0)}),f.on("focus",function(O){v.$search.trigger("focus")}),f.on("results:focus",function(O){O.data._resultId?v.$search.attr("aria-activedescendant",O.data._resultId):v.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(O){v.trigger("focus",O)}
5),this.$selection.on("focusout",".select2-search--inline",function(O){v._handleBlur(O)}),this.$selection.on("keydown",".select2-search--inline",function(O){O.stopPropagation(),v.trigger("keypress",O),v._keyUpPrevented=O.isDefaultPrevented();var R=O.which;if(R===l.BACKSPACE&&v.$search.val()===""){var x=v.$selection.find(".select2-selection__choice").last();if(x.length>0){var k=a.GetData(x[0],"data");v.searchRemoveChoice(k),O.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(O){v.$search.val()&&O.stopPropagation()});var A=document.documentMode,j=A&&A<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(O){if(j){v.$selection.off("input.search input.searchcheck");return}v.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(O){if(j&&O.type==="input"){v.$selection.off("input.search input.searchcheck");return}var R=O.which;R==l.SHIFT||R==l.CTRL||R==l.ALT||R!=l.TAB&&v.handleSearch(O)})},u.prototype._transferTabIndex=function(d){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},u.prototype.createPlaceholder=function(d,f){this.$search.attr("placeholder",f.text)},u.prototype.update=function(d,f){var g=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),d.call(this,f),this.resizeSearch(),g&&this.$search.trigger("focus")},u.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var d=this.$search.val();this.trigger("query",{term:d})}this._keyUpPrevented=!1},u.prototype.searchRemoveChoice=function(d,f){this.trigger("unselect",{data:f}),this.$search.val(f.text),this.handleSearch()},u.prototype.resizeSearch=function(){this.$search.css("width","25px");var d="100%";if(this.$search.attr("placeholder")===""){var f=this.$search.val().length+1;d=f*.75+"em"}this.$search.css("width",d)},u}),s.define("select2/selection/selectionCss",["../utils"],function(r){function a(){}return a.prototype.render=function(l){var u=l.call(this),d=this.options.get("selectionCssClass")||"";return d.indexOf(":all:")!==-1&&(d=d.replace(":all:",""),r.copyNonInternalCssClasses(u[0],this.$element[0])),u.addClass(d),u},a}),s.define("select2/selection/eventRelay",["jquery"],function(r){function a(){}return a.prototype.bind=function(l,u,d){var f=this,g=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],v=["opening","closing","selecting","unselecting","clearing"];l.call(this,u,d),u.on("*",function(E,S){if(g.indexOf(E)!==-1){S=S||{};var A=r.Event("select2:"+E,{params:S});f.$element.trigger(A),v.indexOf(E)!==-1&&(S.prevented=A.isDefaultPrevented())}})},a}),s.define("select2/translation",["jquery","require"],function(r,a){function l(u){this.dict=u||{}}return l.prototype.all=function(){return this.dict},l.prototype.get=function(u){return this.dict[u]},l.prototype.extend=function(u){this.dict=r.extend({},u.all(),this.dict)},l._cache={},l.loadPath=function(u){if(!(u in l._cache)){var d=a(u);l._cache[u]=d}return new l(l._cache[u])},l}),s.define("select2/diacritics",[],function(){var r={"Ⓐ":"A",A:"A",À:"A",Á:"A",Â:"A",Ầ:"A",Ấ:"A",Ẫ:"A",Ẩ:"A",Ã:"A",Ā:"A",Ă:"A",Ằ:"A",Ắ:"A",Ẵ:"A",Ẳ:"A",Ȧ:"A",Ǡ:"A",Ä:"A",Ǟ:"A",Ả:"A",Å:"A",Ǻ:"A",Ǎ:"A",Ȁ:"A",Ȃ:"A",Ạ:"A",Ậ:"A",Ặ:"A",Ḁ:"A",Ą:"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA",Æ:"AE",Ǽ:"AE",Ǣ:"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B",B:"B",Ḃ:"B",Ḅ:"B",Ḇ:"B","Ƀ":"B",Ƃ:"B",Ɓ:"B","Ⓒ":"C",C:"C",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",Ç:"C",Ḉ:"C",Ƈ:"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D",D:"D",Ḋ:"D",Ď:"D",Ḍ:"D",Ḑ:"D",Ḓ:"D",Ḏ:"D",Đ:"D",Ƌ:"D",Ɗ:"D",Ɖ:"D","Ꝺ":"D",DZ:"DZ",DŽ:"DZ",Dz:"Dz",Dž:"Dz","Ⓔ":"E",E:"E",È:"E",É:"E",Ê:"E",Ề:"E",Ế:"E",Ễ:"E",Ể:"E",Ẽ:"E",Ē:"E",Ḕ:"E",Ḗ:"E",Ĕ:"E",Ė:"E",Ë:"E",Ẻ:"E",Ě:"E",Ȅ:"E",Ȇ:"E",Ẹ:"E",Ệ:"E",Ȩ:"E",Ḝ:"E",Ę:"E",Ḙ:"E",Ḛ:"E",Ɛ:"E",Ǝ:"E","Ⓕ":"F",F:"F",Ḟ:"F",Ƒ:"F","Ꝼ":"F","Ⓖ":"G",G:"G",Ǵ:"G",Ĝ:"G",Ḡ:"G",Ğ:"G",Ġ:"G",Ǧ:"G",Ģ:"G",Ǥ:"G",Ɠ:"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H",H:"H",Ĥ:"H",Ḣ:"H",Ḧ:"H",Ȟ:"H",Ḥ:"H",Ḩ:"H",Ḫ:"H",Ħ:"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I",I:"I",Ì:"I",Í:"I",Î:"I",Ĩ:"I",Ī:"I",Ĭ:"I",İ:"I",Ï:"I",Ḯ:"I",Ỉ:"I",Ǐ:"I",Ȉ:"I",Ȋ:"I",Ị:"I",Į:"I",Ḭ:"I",Ɨ:"I","Ⓙ":"J",J:"J",Ĵ:"J","Ɉ":"J","Ⓚ":"K",K:"K",Ḱ:"K",Ǩ:"K",Ḳ:"K",Ķ:"K",Ḵ:"K",Ƙ:"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L",L:"L",Ŀ:"L",Ĺ:"L",Ľ:"L",Ḷ:"L",Ḹ:"L",Ļ:"L",Ḽ:"L",Ḻ:"L",Ł:"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L",LJ:"LJ",Lj:"Lj","Ⓜ":"M",M:"M",Ḿ:"M",Ṁ:"M",Ṃ:"M","Ɱ":"M",Ɯ:"M","Ⓝ":"N",N:"N",Ǹ:"N",Ń:"N",Ñ:"N",Ṅ:"N",Ň:"N",Ṇ:"N",Ņ:"N",Ṋ:"N",Ṉ:"N","Ƞ":"N",Ɲ:"N","Ꞑ":"N","Ꞥ":"N",NJ:"NJ",Nj:"Nj","Ⓞ":"O",O:"O",Ò:"O",Ó:"O",Ô:"O",Ồ:"O",Ố:"O",Ỗ:"O",Ổ:"O",Õ:"O",Ṍ:"O",Ȭ:"O",Ṏ:"O",Ō:"O",Ṑ:"O",Ṓ:"O",Ŏ:"O",Ȯ:"O",Ȱ:"O",Ö:"O",Ȫ:"O",Ỏ:"O",Ő:"O",Ǒ:"O",Ȍ:"O",Ȏ:"O",Ơ:"O",Ờ:"O",Ớ:"O",Ỡ:"O",Ở:"O",Ợ:"O",Ọ:"O",Ộ:"O",Ǫ:"O",Ǭ:"O",Ø:"O",Ǿ:"O",Ɔ:"O",Ɵ:"O","Ꝋ":"O","Ꝍ":"O",Œ:"OE",Ƣ:"OI","Ꝏ":"OO",Ȣ:"OU","Ⓟ":"P",P:"P",Ṕ:"P",Ṗ:"P",Ƥ:"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q",Q:"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R",R:"R",Ŕ:"R",Ṙ:"R",Ř:"R",Ȑ:"R",Ȓ:"R",Ṛ:"R",Ṝ:"R",Ŗ:"R",Ṟ:"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S",S:"S","ẞ":"S",Ś:"S",Ṥ:"S",Ŝ:"S",Ṡ:"S",Š:"S",Ṧ:"S",Ṣ:"S",Ṩ:"S",Ș:"S",Ş:"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T",T:"T",Ṫ:"T",Ť:"T",Ṭ:"T",Ț:"T",Ţ:"T",Ṱ:"T",Ṯ:"T",Ŧ:"T",Ƭ:"T",Ʈ:"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U",U:"U",Ù:"U",Ú:"U",Û:"U",Ũ:"U",Ṹ:"U",Ū:"U",Ṻ:"U",Ŭ:"U",Ü:"U",Ǜ:"U",Ǘ:"U",Ǖ:"U",Ǚ:"U",Ủ:"U",Ů:"U",Ű:"U",Ǔ:"U",Ȕ:"U",Ȗ:"U",Ư:"U",Ừ:"U",Ứ:"U",Ữ:"U",Ử:"U",Ự:"U",Ụ:"U",Ṳ:"U",Ų:"U",Ṷ:"U",Ṵ:"U","Ʉ":"U","Ⓥ":"V",V:"V",Ṽ:"V",Ṿ:"V",Ʋ:"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W",W:"W",Ẁ:"W",Ẃ:"W",Ŵ:"W",Ẇ:"W",Ẅ:"W",Ẉ:"W","Ⱳ":"W","Ⓧ":"X",X:"X",Ẋ:"
5X",Ẍ:"X","Ⓨ":"Y",Y:"Y",Ỳ:"Y",Ý:"Y",Ŷ:"Y",Ỹ:"Y",Ȳ:"Y",Ẏ:"Y",Ÿ:"Y",Ỷ:"Y",Ỵ:"Y",Ƴ:"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z",Z:"Z",Ź:"Z",Ẑ:"Z",Ż:"Z",Ž:"Z",Ẓ:"Z",Ẕ:"Z",Ƶ:"Z",Ȥ:"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a",a:"a",ẚ:"a",à:"a",á:"a",â:"a",ầ:"a",ấ:"a",ẫ:"a",ẩ:"a",ã:"a",ā:"a",ă:"a",ằ:"a",ắ:"a",ẵ:"a",ẳ:"a",ȧ:"a",ǡ:"a",ä:"a",ǟ:"a",ả:"a",å:"a",ǻ:"a",ǎ:"a",ȁ:"a",ȃ:"a",ạ:"a",ậ:"a",ặ:"a",ḁ:"a",ą:"a","ⱥ":"a",ɐ:"a","ꜳ":"aa",æ:"ae",ǽ:"ae",ǣ:"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b",b:"b",ḃ:"b",ḅ:"b",ḇ:"b",ƀ:"b",ƃ:"b",ɓ:"b","ⓒ":"c",c:"c",ć:"c",ĉ:"c",ċ:"c",č:"c",ç:"c",ḉ:"c",ƈ:"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d",d:"d",ḋ:"d",ď:"d",ḍ:"d",ḑ:"d",ḓ:"d",ḏ:"d",đ:"d",ƌ:"d",ɖ:"d",ɗ:"d","ꝺ":"d",dz:"dz",dž:"dz","ⓔ":"e",e:"e",è:"e",é:"e",ê:"e",ề:"e",ế:"e",ễ:"e",ể:"e",ẽ:"e",ē:"e",ḕ:"e",ḗ:"e",ĕ:"e",ė:"e",ë:"e",ẻ:"e",ě:"e",ȅ:"e",ȇ:"e",ẹ:"e",ệ:"e",ȩ:"e",ḝ:"e",ę:"e",ḙ:"e",ḛ:"e","ɇ":"e",ɛ:"e",ǝ:"e","ⓕ":"f",f:"f",ḟ:"f",ƒ:"f","ꝼ":"f","ⓖ":"g",g:"g",ǵ:"g",ĝ:"g",ḡ:"g",ğ:"g",ġ:"g",ǧ:"g",ģ:"g",ǥ:"g",ɠ:"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h",h:"h",ĥ:"h",ḣ:"h",ḧ:"h",ȟ:"h",ḥ:"h",ḩ:"h",ḫ:"h",ẖ:"h",ħ:"h","ⱨ":"h","ⱶ":"h",ɥ:"h",ƕ:"hv","ⓘ":"i",i:"i",ì:"i",í:"i",î:"i",ĩ:"i",ī:"i",ĭ:"i",ï:"i",ḯ:"i",ỉ:"i",ǐ:"i",ȉ:"i",ȋ:"i",ị:"i",į:"i",ḭ:"i",ɨ:"i",ı:"i","ⓙ":"j",j:"j",ĵ:"j",ǰ:"j","ɉ":"j","ⓚ":"k",k:"k",ḱ:"k",ǩ:"k",ḳ:"k",ķ:"k",ḵ:"k",ƙ:"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l",l:"l",ŀ:"l",ĺ:"l",ľ:"l",ḷ:"l",ḹ:"l",ļ:"l",ḽ:"l",ḻ:"l",ſ:"l",ł:"l",ƚ:"l",ɫ:"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l",lj:"lj","ⓜ":"m",m:"m",ḿ:"m",ṁ:"m",ṃ:"m",ɱ:"m",ɯ:"m","ⓝ":"n",n:"n",ǹ:"n",ń:"n",ñ:"n",ṅ:"n",ň:"n",ṇ:"n",ņ:"n",ṋ:"n",ṉ:"n",ƞ:"n",ɲ:"n",ʼn:"n","ꞑ":"n","ꞥ":"n",nj:"nj","ⓞ":"o",o:"o",ò:"o",ó:"o",ô:"o",ồ:"o",ố:"o",ỗ:"o",ổ:"o",õ:"o",ṍ:"o",ȭ:"o",ṏ:"o",ō:"o",ṑ:"o",ṓ:"o",ŏ:"o",ȯ:"o",ȱ:"o",ö:"o",ȫ:"o",ỏ:"o",ő:"o",ǒ:"o",ȍ:"o",ȏ:"o",ơ:"o",ờ:"o",ớ:"o",ỡ:"o",ở:"o",ợ:"o",ọ:"o",ộ:"o",ǫ:"o",ǭ:"o",ø:"o",ǿ:"o",ɔ:"o","ꝋ":"o","ꝍ":"o",ɵ:"o",œ:"oe",ƣ:"oi",ȣ:"ou","ꝏ":"oo","ⓟ":"p",p:"p",ṕ:"p",ṗ:"p",ƥ:"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q",q:"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r",r:"r",ŕ:"r",ṙ:"r",ř:"r",ȑ:"r",ȓ:"r",ṛ:"r",ṝ:"r",ŗ:"r",ṟ:"r","ɍ":"r",ɽ:"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s",s:"s",ß:"s",ś:"s",ṥ:"s",ŝ:"s",ṡ:"s",š:"s",ṧ:"s",ṣ:"s",ṩ:"s",ș:"s",ş:"s","ȿ":"s","ꞩ":"s","ꞅ":"s",ẛ:"s","ⓣ":"t",t:"t",ṫ:"t",ẗ:"t",ť:"t",ṭ:"t",ț:"t",ţ:"t",ṱ:"t",ṯ:"t",ŧ:"t",ƭ:"t",ʈ:"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u",u:"u",ù:"u",ú:"u",û:"u",ũ:"u",ṹ:"u",ū:"u",ṻ:"u",ŭ:"u",ü:"u",ǜ:"u",ǘ:"u",ǖ:"u",ǚ:"u",ủ:"u",ů:"u",ű:"u",ǔ:"u",ȕ:"u",ȗ:"u",ư:"u",ừ:"u",ứ:"u",ữ:"u",ử:"u",ự:"u",ụ:"u",ṳ:"u",ų:"u",ṷ:"u",ṵ:"u",ʉ:"u","ⓥ":"v",v:"v",ṽ:"v",ṿ:"v",ʋ:"v","ꝟ":"v",ʌ:"v","ꝡ":"vy","ⓦ":"w",w:"w",ẁ:"w",ẃ:"w",ŵ:"w",ẇ:"w",ẅ:"w",ẘ:"w",ẉ:"w","ⱳ":"w","ⓧ":"x",x:"x",ẋ:"x",ẍ:"x","ⓨ":"y",y:"y",ỳ:"y",ý:"y",ŷ:"y",ỹ:"y",ȳ:"y",ẏ:"y",ÿ:"y",ỷ:"y",ẙ:"y",ỵ:"y",ƴ:"y","ɏ":"y","ỿ":"y","ⓩ":"z",z:"z",ź:"z",ẑ:"z",ż:"z",ž:"z",ẓ:"z",ẕ:"z",ƶ:"z",ȥ:"z","ɀ":"z","ⱬ":"z","ꝣ":"z",Ά:"Α",Έ:"Ε",Ή:"Η",Ί:"Ι",Ϊ:"Ι",Ό:"Ο",Ύ:"Υ",Ϋ:"Υ",Ώ:"Ω",ά:"α",έ:"ε",ή:"η",ί:"ι",ϊ:"ι",ΐ:"ι",ό:"ο",ύ:"υ",ϋ:"υ",ΰ:"υ",ώ:"ω",ς:"σ","’":"'"};return r}),s.define("select2/data/base",["../utils"],function(r){function a(l,u){a.__super__.constructor.call(this)}return r.Extend(a,r.Observable),a.prototype.current=function(l){throw new Error("The `current` method must be defined in child classes.")},a.prototype.query=function(l,u){throw new Error("The `query` method must be defined in child classes.")},a.prototype.bind=function(l,u){},a.prototype.destroy=function(){},a.prototype.generateResultId=function(l,u){var d=l.id+"-result-";return d+=r.generateChars(4),u.id!=null?d+="-"+u.id.toString():d+="-"+r.generateChars(4),d},a}),s.define("select2/data/select",["./base","../utils","jquery"],function(r,a,l){function u(d,f){this.$element=d,this.options=f,u.__super__.constructor.call(this)}return a.Extend(u,r),u.prototype.current=function(d){var f=this,g=Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),function(v){return f.item(l(v))});d(g)},u.prototype.select=function(d){var f=this;if(d.selected=!0,d.element!=null&&d.element.tagName.toLowerCase()==="option"){d.element.selected=!0,this.$element.trigger("input").trigger("change");return}if(this.$element.prop("multiple"))this.current(function(v){var E=[];d=[d],d.push.apply(d,v);for(var S=0;S<d.length;S++){var A=d[S].id;E.indexOf(A)===-1&&E.push(A)}f.$element.val(E),f.$element.trigger("input").trigger("change")});else{var g=d.id;this.$element.val(g),this.$element.trigger("input").trigger("change")}},u.prototype.unselect=function(d){var f=this;if(this.$element.prop("multiple")){if(d.selected=!1,d.element!=null&&d.element.tagName.toLowerCase()==="option"){d.element.selected=!1,this.$element.trigger("input").trigger("change");return}this.current(function(g){for(var v=[],E=0;E<g.length;E++){var S=g[E].id;S!==d.id&&v.indexOf(S)===-1&&v.push(S)}f.$element.val(v),f.$element.trigger("input").trigger("change")})}},u.prototype.bind=function(d,f){var g=this;this.container=d,d.on("select",function(v){g.select(v.data)}),d.on("unselect",function(v){g.unselect(v.data)})},u.prototype.destroy=function(){this.$element.find("*").each(function(){a.RemoveData(this)})},u.prototype.query=function(d,f){var g=[],v=this,E=this.$element.children();E.each(function(){if(!(this.tagName.toLowerCase()!=="option"&&this.tagName.toLowerCase()!=="optgroup")){var S=l(this),A=v.item(S),j=v.matches(d,A);j!==null&&g.push(j)}}),f({results:g})},u.prototype.addOptions=function(d){this.$element.append(d)},u.prototype.option=function(d){var f;d.children?(f=document.createElement("optgroup"),f.label=d.text):(f=d
5ocument.createElement("option"),f.textContent!==void 0?f.textContent=d.text:f.innerText=d.text),d.id!==void 0&&(f.value=d.id),d.disabled&&(f.disabled=!0),d.selected&&(f.selected=!0),d.title&&(f.title=d.title);var g=this._normalizeItem(d);return g.element=f,a.StoreData(f,"data",g),l(f)},u.prototype.item=function(d){var f={};if(f=a.GetData(d[0],"data"),f!=null)return f;var g=d[0];if(g.tagName.toLowerCase()==="option")f={id:d.val(),text:d.text(),disabled:d.prop("disabled"),selected:d.prop("selected"),title:d.prop("title")};else if(g.tagName.toLowerCase()==="optgroup"){f={text:d.prop("label"),children:[],title:d.prop("title")};for(var v=d.children("option"),E=[],S=0;S<v.length;S++){var A=l(v[S]),j=this.item(A);E.push(j)}f.children=E}return f=this._normalizeItem(f),f.element=d[0],a.StoreData(d[0],"data",f),f},u.prototype._normalizeItem=function(d){d!==Object(d)&&(d={id:d,text:d}),d=l.extend({},{text:""},d);var f={selected:!1,disabled:!1};return d.id!=null&&(d.id=d.id.toString()),d.text!=null&&(d.text=d.text.toString()),d._resultId==null&&d.id&&this.container!=null&&(d._resultId=this.generateResultId(this.container,d)),l.extend({},f,d)},u.prototype.matches=function(d,f){var g=this.options.get("matcher");return g(d,f)},u}),s.define("select2/data/array",["./select","../utils","jquery"],function(r,a,l){function u(d,f){this._dataToConvert=f.get("data")||[],u.__super__.constructor.call(this,d,f)}return a.Extend(u,r),u.prototype.bind=function(d,f){u.__super__.bind.call(this,d,f),this.addOptions(this.convertToOptions(this._dataToConvert))},u.prototype.select=function(d){var f=this.$element.find("option").filter(function(g,v){return v.value==d.id.toString()});f.length===0&&(f=this.option(d),this.addOptions(f)),u.__super__.select.call(this,d)},u.prototype.convertToOptions=function(d){var f=this,g=this.$element.find("option"),v=g.map(function(){return f.item(l(this)).id}).get(),E=[];function S(b){return function(){return l(this).val()==b.id}}for(var A=0;A<d.length;A++){var j=this._normalizeItem(d[A]);if(v.indexOf(j.id)>=0){var O=g.filter(S(j)),R=this.item(O),x=l.extend(!0,{},j,R),k=this.option(x);O.replaceWith(k);continue}var V=this.option(j);if(j.children){var Z=this.convertToOptions(j.children);V.append(Z)}E.push(V)}return E},u}),s.define("select2/data/ajax",["./array","../utils","jquery"],function(r,a,l){function u(d,f){this.ajaxOptions=this._applyDefaults(f.get("ajax")),this.ajaxOptions.processResults!=null&&(this.processResults=this.ajaxOptions.processResults),u.__super__.constructor.call(this,d,f)}return a.Extend(u,r),u.prototype._applyDefaults=function(d){var f={data:function(g){return l.extend({},g,{q:g.term})},transport:function(g,v,E){var S=l.ajax(g);return S.then(v),S.fail(E),S}};return l.extend({},f,d,!0)},u.prototype.processResults=function(d){return d},u.prototype.query=function(d,f){var g=this;this._request!=null&&(typeof this._request.abort=="function"&&this._request.abort(),this._request=null);var v=l.extend({type:"GET"},this.ajaxOptions);typeof v.url=="function"&&(v.url=v.url.call(this.$element,d)),typeof v.data=="function"&&(v.data=v.data.call(this.$element,d));function E(){var S=v.transport(v,function(A){var j=g.processResults(A,d);g.options.get("debug")&&window.console&&console.error&&(!j||!j.results||!Array.isArray(j.results))&&console.error("Select2: The AJAX results did not return an array in the `results` key of the response."),f(j)},function(){"status"in S&&(S.status===0||S.status==="0")||g.trigger("results:message",{message:"errorLoading"})});g._request=S}this.ajaxOptions.delay&&d.term!=null?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(E,this.ajaxOptions.delay)):E()},u}),s.define("select2/data/tags",["jquery"],function(r){function a(l,u,d){var f=d.get("tags"),g=d.get("createTag");g!==void 0&&(this.createTag=g);var v=d.get("insertTag");if(v!==void 0&&(this.insertTag=v),l.call(this,u,d),Array.isArray(f))for(var E=0;E<f.length;E++){var S=f[E],A=this._normalizeItem(S),j=this.option(A);this.$element.append(j)}}return a.prototype.query=function(l,u,d){var f=this;if(this._removeOldTags(),u.term==null||u.page!=null){l.call(this,u,d);return}function g(v,E){for(var S=v.results,A=0;A<S.length;A++){var j=S[A],O=j.children!=null&&!g({results:j.children},!0),R=(j.text||"").toUpperCase(),x=(u.term||"").toUpperCase(),k=R===x;if(k||O){if(E)return!1;v.data=S,d(v);return}}if(E)return!0;var V=f.createTag(u);if(V!=null){var Z=f.option(V);Z.attr("data-select2-tag","true"),f.addOptions([Z]),f.insertTag(S,V)}v.results=S,d(v)}l.call(this,u,g)},a.prototype.createTag=function(l,u){if(u.term==null)return null;var d=u.term.trim();return d===""?null:{id:d,text:d}},a.prototype.insertTag=function(l,u,d){u.unshift(d)},a.prototype._removeOldTags=function(l){var u=this.$element.find("option[data-select2-tag]");u.each(function(){this.selected||r(this).remove()})},a}),s.define("select2/data/tokenizer",["jquery"],function(r){function a(l,u,d){var f=d.get("tokenizer");f!==void 0&&(this.tokenizer=f),l.call(this,u,d)}return a.prototype.bind=function(l,u,d){l.call(this,u,d),this.$search=u.dropdown.$search||u.selection.$search||d.find(".select2-search__field")},a.prototype.query=function(l,u,d){var f=this;function g(S){var A=f._normalizeItem(S),j=f.$element.find("option").filter(function(){return r(this).val()===A.id});if(!j.length){var O=f.option(A);O.attr("data-select2-tag",!0),f._removeOldTags(),f.addOptions([O])}v(A)}function v(S){f.trigger("select",{data:S}
5)}u.term=u.term||"";var E=this.tokenizer(u,this.options,g);E.term!==u.term&&(this.$search.length&&(this.$search.val(E.term),this.$search.trigger("focus")),u.term=E.term),l.call(this,u,d)},a.prototype.tokenizer=function(l,u,d,f){for(var g=d.get("tokenSeparators")||[],v=u.term,E=0,S=this.createTag||function(x){return{id:x.term,text:x.term}};E<v.length;){var A=v[E];if(g.indexOf(A)===-1){E++;continue}var j=v.substr(0,E),O=r.extend({},u,{term:j}),R=S(O);if(R==null){E++;continue}f(R),v=v.substr(E+1)||"",E=0}return{term:v}},a}),s.define("select2/data/minimumInputLength",[],function(){function r(a,l,u){this.minimumInputLength=u.get("minimumInputLength"),a.call(this,l,u)}return r.prototype.query=function(a,l,u){if(l.term=l.term||"",l.term.length<this.minimumInputLength){this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:l.term,params:l}});return}a.call(this,l,u)},r}),s.define("select2/data/maximumInputLength",[],function(){function r(a,l,u){this.maximumInputLength=u.get("maximumInputLength"),a.call(this,l,u)}return r.prototype.query=function(a,l,u){if(l.term=l.term||"",this.maximumInputLength>0&&l.term.length>this.maximumInputLength){this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:l.term,params:l}});return}a.call(this,l,u)},r}),s.define("select2/data/maximumSelectionLength",[],function(){function r(a,l,u){this.maximumSelectionLength=u.get("maximumSelectionLength"),a.call(this,l,u)}return r.prototype.bind=function(a,l,u){var d=this;a.call(this,l,u),l.on("select",function(){d._checkIfMaximumSelected()})},r.prototype.query=function(a,l,u){var d=this;this._checkIfMaximumSelected(function(){a.call(d,l,u)})},r.prototype._checkIfMaximumSelected=function(a,l){var u=this;this.current(function(d){var f=d!=null?d.length:0;if(u.maximumSelectionLength>0&&f>=u.maximumSelectionLength){u.trigger("results:message",{message:"maximumSelected",args:{maximum:u.maximumSelectionLength}});return}l&&l()})},r}),s.define("select2/dropdown",["jquery","./utils"],function(r,a){function l(u,d){this.$element=u,this.options=d,l.__super__.constructor.call(this)}return a.Extend(l,a.Observable),l.prototype.render=function(){var u=r('<span class="select2-dropdown"><span class="select2-results"></span></span>');return u.attr("dir",this.options.get("dir")),this.$dropdown=u,u},l.prototype.bind=function(){},l.prototype.position=function(u,d){},l.prototype.destroy=function(){this.$dropdown.remove()},l}),s.define("select2/dropdown/search",["jquery"],function(r){function a(){}return a.prototype.render=function(l){var u=l.call(this),d=this.options.get("translations").get("search"),f=r('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=f,this.$search=f.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",d()),u.prepend(f),u},a.prototype.bind=function(l,u,d){var f=this,g=u.id+"-results";l.call(this,u,d),this.$search.on("keydown",function(v){f.trigger("keypress",v),f._keyUpPrevented=v.isDefaultPrevented()}),this.$search.on("input",function(v){r(this).off("keyup")}),this.$search.on("keyup input",function(v){f.handleSearch(v)}),u.on("open",function(){f.$search.attr("tabindex",0),f.$search.attr("aria-controls",g),f.$search.trigger("focus"),window.setTimeout(function(){f.$search.trigger("focus")},0)}),u.on("close",function(){f.$search.attr("tabindex",-1),f.$search.removeAttr("aria-controls"),f.$search.removeAttr("aria-activedescendant"),f.$search.val(""),f.$search.trigger("blur")}),u.on("focus",function(){u.isOpen()||f.$search.trigger("focus")}),u.on("results:all",function(v){if(v.query.term==null||v.query.term===""){var E=f.showSearch(v);E?f.$searchContainer[0].classList.remove("select2-search--hide"):f.$searchContainer[0].classList.add("select2-search--hide")}}),u.on("results:focus",function(v){v.data._resultId?f.$search.attr("aria-activedescendant",v.data._resultId):f.$search.removeAttr("aria-activedescendant")})},a.prototype.handleSearch=function(l){if(!this._keyUpPrevented){var u=this.$search.val();this.trigger("query",{term:u})}this._keyUpPrevented=!1},a.prototype.showSearch=function(l,u){return!0},a}),s.define("select2/dropdown/hidePlaceholder",[],function(){function r(a,l,u,d){this.placeholder=this.normalizePlaceholder(u.get("placeholder")),a.call(this,l,u,d)}return r.prototype.append=function(a,l){l.results=this.removePlaceholder(l.results),a.call(this,l)},r.prototype.normalizePlaceholder=function(a,l){return typeof l=="string"&&(l={id:"",text:l}),l},r.prototype.removePlaceholder=function(a,l){for(var u=l.slice(0),d=l.length-1;d>=0;d--){var f=l[d];this.placeholder.id===f.id&&u.splice(d,1)}return u},r}),s.define("select2/dropdown/infiniteScroll",["jquery"],function(r){function a(l,u,d,f){this.lastParams={},l.call(this,u,d,f),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return a.prototype.append=function(l,u){this.$loadingMore.remove(),this.loading=!1,l.call(this,u),this.showLoadingMore(u)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},a.prototype.bind=function(l,u,d){var f=this;l.call(this,u,d),u.on("query",function(g){f.lastParams=g,f.loading=!0}),u.on("query:append",function(g){f.lastParams=g,f.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},a.prototype.loadMoreIfNeeded=function(){var l=r.contains(document.documentElement,this.$loadingMore[0]);if(!(this.loading||!l)){var u=this.$results.offset().top+this.$results.outerHeight(!1),d=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1);u+50>=d&&this.loadMore()}},a.prototype.loadMore=function(){this.loading=!0;var l=r.extend({},{page:1},this.lastParams);l.page++,this.trigger("query:append",l)},a.prototype.showLoadingMore=function(l,u){return u.pagination&&u.pagination.more},a.prototype.createLoadingMore=function(){var l=r('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),u=this.options.get("translations").get("loadingMore");return l.html(u(this.lastParams)),l},a}),s.define("select2/dropdown/attachBody",["jquery","../utils"],function(r,a){function l(u,d,f){this.$dropdownParent=r(f.get("dropdownParent")||document.body),u.call(this,d,f)}return l.prototype.bind=function(u,d,f){var g=this;u.call(this,d,f),d.on("open",function(){g._showDropdown(),g._attachPositioningHandler(d),g._bindContainerResultHandlers(d)}),d.on("close",function(){g._hideDropdown(),g._detachPositioningHandler(d)}),this.$dropdownContainer.on("mousedown",function(v){v.stopPropagation()})},l.prototype.destroy=function(u){u.call(this),this.$dropdownContainer.remove()},l.prototype.position=function(u,d,f){d.attr("class",f.attr("class")),d[0].classList.remove("select2"),d[0].classList.add("select2-container--open"),d.css({position:"absolute",top:-999999}),this.$container=f},l.prototype.render=function(u){var d=r("<span></span>"),f=u.call(this);return d.append(f),this.$dropdownContainer=d,d},l.prototype._hideDropdown=function(u){this.$dropdownContainer.detach()},l.prototype._bindContainerResultHandlers=function(u,d){if(!this._containerResultsHandlersBound){var f=this;d.on("results:all",function(){f._positionDropdown(),f._resizeDropdown()}),d.on("results:append",function(){f._positionDropdown(),f._resizeDropdown()}),d.on("results:message",function(){f._positionDropdown(),f._resizeDropdown()}),d.on("select",function(){f._positionDropdown(),f._resizeDropdown()}),d.on("unselect",function(){f._positionDropdown(),f._resizeDropdown()}),this._containerResultsHandlersBound=!0}},l.prototype._attachPositioningHandler=function(u,d){var f=this,g="scroll.
5select2."+d.id,v="resize.select2."+d.id,E="orientationchange.select2."+d.id,S=this.$container.parents().filter(a.hasScroll);S.each(function(){a.StoreData(this,"select2-scroll-position",{x:r(this).scrollLeft(),y:r(this).scrollTop()})}),S.on(g,function(A){var j=a.GetData(this,"select2-scroll-position");r(this).scrollTop(j.y)}),r(window).on(g+" "+v+" "+E,function(A){f._positionDropdown(),f._resizeDropdown()})},l.prototype._detachPositioningHandler=function(u,d){var f="scroll.select2."+d.id,g="resize.select2."+d.id,v="orientationchange.select2."+d.id,E=this.$container.parents().filter(a.hasScroll);E.off(f),r(window).off(f+" "+g+" "+v)},l.prototype._positionDropdown=function(){var u=r(window),d=this.$dropdown[0].classList.contains("select2-dropdown--above"),f=this.$dropdown[0].classList.contains("select2-dropdown--below"),g=null,v=this.$container.offset();v.bottom=v.top+this.$container.outerHeight(!1);var E={height:this.$container.outerHeight(!1)};E.top=v.top,E.bottom=v.top+E.height;var S={height:this.$dropdown.outerHeight(!1)},A={top:u.scrollTop(),bottom:u.scrollTop()+u.height()},j=A.top<v.top-S.height,O=A.bottom>v.bottom+S.height,R={left:v.left,top:E.bottom},x=this.$dropdownParent;x.css("position")==="static"&&(x=x.offsetParent());var k={top:0,left:0};(r.contains(document.body,x[0])||x[0].isConnected)&&(k=x.offset()),R.top-=k.top,R.left-=k.left,!d&&!f&&(g="below"),!O&&j&&!d?g="above":!j&&O&&d&&(g="below"),(g=="above"||d&&g!=="below")&&(R.top=E.top-k.top-S.height),g!=null&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+g),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+g)),this.$dropdownContainer.css(R)},l.prototype._resizeDropdown=function(){var u={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(u.minWidth=u.width,u.position="relative",u.width="auto"),this.$dropdown.css(u)},l.prototype._showDropdown=function(u){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},l}),s.define("select2/dropdown/minimumResultsForSearch",[],function(){function r(l){for(var u=0,d=0;d<l.length;d++){var f=l[d];f.children?u+=r(f.children):u++}return u}function a(l,u,d,f){this.minimumResultsForSearch=d.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),l.call(this,u,d,f)}return a.prototype.showSearch=function(l,u){return r(u.data.results)<this.minimumResultsForSearch?!1:l.call(this,u)},a}),s.define("select2/dropdown/selectOnClose",["../utils"],function(r){function a(){}return a.prototype.bind=function(l,u,d){var f=this;l.call(this,u,d),u.on("close",function(g){f._handleSelectOnClose(g)})},a.prototype._handleSelectOnClose=function(l,u){if(u&&u.originalSelect2Event!=null){var d=u.originalSelect2Event;if(d._type==="select"||d._type==="unselect")return}var f=this.getHighlightedResults();if(!(f.length<1)){var g=r.GetData(f[0],"data");g.element!=null&&g.element.selected||g.element==null&&g.selected||this.trigger("select",{data:g})}},a}),s.define("select2/dropdown/closeOnSelect",[],function(){function r(){}return r.prototype.bind=function(a,l,u){var d=this;a.call(this,l,u),l.on("select",function(f){d._selectTriggered(f)}),l.on("unselect",function(f){d._selectTriggered(f)})},r.prototype._selectTriggered=function(a,l){var u=l.originalEvent;u&&(u.ctrlKey||u.metaKey)||this.trigger("close",{originalEvent:u,originalSelect2Event:l})},r}),s.define("select2/dropdown/dropdownCss",["../utils"],function(r){function a(){}return a.prototype.render=function(l){var u=l.call(this),d=this.options.get("dropdownCssClass")||"";return d.indexOf(":all:")!==-1&&(d=d.replace(":all:",""),r.copyNonInternalCssClasses(u[0],this.$element[0])),u.addClass(d),u},a}),s.define("select2/dropdown/tagsSearchHighlight",["../utils"],function(r){function a(){}return a.prototype.highlightFirstItem=function(l){var u=this.$results.find(".select2-results__option--selectable:not(.select2-results__option--selected)");if(u.length>0){var d=u.first(),f=r.GetData(d[0],"data"),g=f.element;if(g&&g.getAttribute&&g.getAttribute("data-select2-tag")==="true"){d.trigger("mouseenter");return}}l.call(this)},a}),s.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(r){var a=r.input.length-r.maximum,l="Please delete "+a+" character";return a!=1&&(l+="s"),l},inputTooShort:function(r){var a=r.minimum-r.input.length,l="Please enter "+a+" or more characters";return l},loadingMore:function(){return"Loading more results…"},maximumSelected:function(r){var a="You can only select "+r.maximum+" item";return r.maximum!=1&&(a+="s"),a},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"},removeItem:function(){return"Remove item"},search:function(){return"Search"}}}),s.define("select2/defaults",["jquery","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/selectionCss","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./dropdown/dropdownCss","./dropdown/tagsSearchHighlight","./i18n/en"],function(r,a,l,u,d,f,g,v,E,S,A,j,O,R,x,k,V,Z,b,W,F,G,ue,J,M,re,pe,D,U,Y,le){function be(){this.reset()}be.prototype.apply=function(X){if(X=r.extend(!0,{},this.defaults,X),X.dataAdapter==null&&(X.ajax!=null?X.dataAdapter=x:X.data!=null?X.dataAdapter=R:X.dataAdapter=O,X.minimumInputLength>0&&(X.dataAdapter=S.Decorate(X.dataAdapter,Z)),X.maximumInputLength>0&&(X.dataAdapter=S.Decorate(X.dataAdapter,b)),X.maximumSelectionLength>0&&(X.dataAdapter=S.Decorate(X.dataAdapter,W)),X.tags&&(X.dataAdapter=S.Decorate(X.dataAdapter,k)),(X.tokenSeparators!=null||X.tokenizer!=null)&&(X.dataAdapter=S.Decorate(X.dataAdapter,V))),X.resultsAdapter==null&&(X.resultsAdapter=a,X.ajax!=null&&(X.resultsAdapter=S.Decorate(X.resultsAdapter,J)),X.placeholder!=null&&(X.resultsAdapter=S.Decorate(X.resultsAdapter,ue)),X.selectOnClose&&(X.resultsAdapter=S.Decorate(X.resultsAdapter,pe)),X.tags&&(X.resultsAdapter=S.Decorate(X.resultsAdapter,Y))),X.dropdownAdapter==null){if(X.multiple)X.dropdownAdapter=F;else{var he=S.Decorate(F,G);X.dropdownAdapter=he}X.minimumResultsForSearch!==0&&(X.dropdownAdapter=S.Decorate(X.dropdownAdapter,re)),X.closeOnSelect&&(X.dropdownAdapter=S.Decorate(X.dropdownAdapter,D)),X.dropdownCssClass!=null&&(X.dropdownAdapter=S.Decorate(X.dropdownAdapter,U)),X.dropdownAdapter=S.Decorate(X.dropdownAdapter,M)}X.selectionAdapter==null&&(X.multiple?X.selectionAdapter=u:X.selectionAdapter=l,X.placeholder!=null&&(X.selectionAdapter=S.Decorate(X.selectionAdapter,d)),X.allowClear&&(X.selectionAdapter=S.Decorate(X.selectionAdapter,f)),X.multiple&&(X.selectionAdapter=S.Decorate(X.selectionAdapter,g)),X.selectionCssClass!=null&&(X.selectionAdapter=S.Decorate(X.selectionAdapter,v)),X.selectionAdapter=S.Decorate(X.selectionAdapter,E)),X.language=this._resolveLanguage(X.language),X.language.push("en");for(var Se=[],Ce=0;Ce<X.language.length;Ce++){var Re=X.language[Ce];Se.indexOf(Re)===-1&&Se.push(Re)}return X.language=Se,X.translations=this._processTranslations(X.language,X.debug),X},be.prototype.reset=function(){function X(Se){function Ce(Re){return j[Re]||Re}
5return Se.replace(/[^\u0000-\u007E]/g,Ce)}function he(Se,Ce){if(Se.term==null||Se.term.trim()==="")return Ce;if(Ce.children&&Ce.children.length>0){for(var Re=r.extend(!0,{},Ce),Ne=Ce.children.length-1;Ne>=0;Ne--){var Qe=Ce.children[Ne],We=he(Se,Qe);We==null&&Re.children.splice(Ne,1)}return Re.children.length>0?Re:he(Se,Re)}var Ge=X(Ce.text).toUpperCase(),wt=X(Se.term).toUpperCase();return Ge.indexOf(wt)>-1?Ce:null}this.defaults={amdLanguageBase:"./i18n/",autocomplete:"off",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:S.escapeMarkup,language:{},matcher:he,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(Se){return Se},templateResult:function(Se){return Se.text},templateSelection:function(Se){return Se.text},theme:"default",width:"resolve"}},be.prototype.applyFromElement=function(X,he){var Se=X.language,Ce=this.defaults.language,Re=he.prop("lang"),Ne=he.closest("[lang]").prop("lang"),Qe=Array.prototype.concat.call(this._resolveLanguage(Re),this._resolveLanguage(Se),this._resolveLanguage(Ce),this._resolveLanguage(Ne));return X.language=Qe,X},be.prototype._resolveLanguage=function(X){if(!X)return[];if(r.isEmptyObject(X))return[];if(r.isPlainObject(X))return[X];var he;Array.isArray(X)?he=X:he=[X];for(var Se=[],Ce=0;Ce<he.length;Ce++)if(Se.push(he[Ce]),typeof he[Ce]=="string"&&he[Ce].indexOf("-")>0){var Re=he[Ce].split("-"),Ne=Re[0];Se.push(Ne)}return Se},be.prototype._processTranslations=function(X,he){for(var Se=new A,Ce=0;Ce<X.length;Ce++){var Re=new A,Ne=X[Ce];if(typeof Ne=="string")try{Re=A.loadPath(Ne)}catch{try{Ne=this.defaults.amdLanguageBase+Ne,Re=A.loadPath(Ne)}catch{he&&window.console&&console.warn&&console.warn('Select2: The language file for "'+Ne+'" could not be automatically loaded. A fallback will be used instead.')}}else r.isPlainObject(Ne)?Re=new A(Ne):Re=Ne;Se.extend(Re)}return Se},be.prototype.set=function(X,he){var Se=r.camelCase(X),Ce={};Ce[Se]=he;var Re=S._convertData(Ce);r.extend(!0,this.defaults,Re)};var xe=new be;return xe}),s.define("select2/options",["jquery","./defaults","./utils"],function(r,a,l){function u(d,f){this.options=d,f!=null&&this.fromElement(f),f!=null&&(this.options=a.applyFromElement(this.options,f)),this.options=a.apply(this.options)}return u.prototype.fromElement=function(d){var f=["select2"];this.options.multiple==null&&(this.options.multiple=d.prop("multiple")),this.options.disabled==null&&(this.options.disabled=d.prop("disabled")),this.options.autocomplete==null&&d.prop("autocomplete")&&(this.options.autocomplete=d.prop("autocomplete")),this.options.dir==null&&(d.prop("dir")?this.options.dir=d.prop("dir"):d.closest("[dir]").prop("dir")?this.options.dir=d.closest("[dir]").prop("dir"):this.options.dir="ltr"),d.prop("disabled",this.options.disabled),d.prop("multiple",this.options.multiple),l.GetData(d[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),l.StoreData(d[0],"data",l.GetData(d[0],"select2Tags")),l.StoreData(d[0],"tags",!0)),l.GetData(d[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),d.attr("ajax--url",l.GetData(d[0],"ajaxUrl")),l.StoreData(d[0],"ajax-Url",l.GetData(d[0],"ajaxUrl")));var g={};function v(V,Z){return Z.toUpperCase()}for(var E=0;E<d[0].attributes.length;E++){var S=d[0].attributes[E].name,A="data-";if(S.substr(0,A.length)==A){var j=S.substring(A.length),O=l.GetData(d[0],j),R=j.replace(/-([a-z])/g,v);g[R]=O}}r.fn.jquery&&r.fn.jquery.substr(0,2)=="1."&&d[0].dataset&&(g=r.extend(!0,{},d[0].dataset,g));var x=r.extend(!0,{},l.GetData(d[0]),g);x=l._convertData(x);for(var k in x)f.indexOf(k)>-1||(r.isPlainObject(this.options[k])?r.extend(this.options[k],x[k]):this.options[k]=x[k]);return this},u.prototype.get=function(d){return this.options[d]},u.prototype.set=function(d,f){this.options[d]=f},u}),s.define("select2/core",["jquery","./options","./utils","./keys"],function(r,a,l,u){var d=function(f,g){l.GetData(f[0],"select2")!=null&&l.GetData(f[0],"select2").destroy(),this.$element=f,this.id=this._generateId(f),g=g||{},this.options=new a(g,f),d.__super__.constructor.call(this);var v=f.attr("tabindex")||0;l.StoreData(f[0],"old-tabindex",v),f.attr("tabindex","-1");var E=this.options.get("dataAdapter");this.dataAdapter=new E(f,this.options);var S=this.render();this._placeContainer(S);var A=this.options.get("selectionAdapter");this.selection=new A(f,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,S);var j=this.options.get("dropdownAdapter");this.dropdown=new j(f,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,S);var O=this.options.get("resultsAdapter");this.results=new O(f,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var R=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(x){R.trigger("selection:update",{data:x})}),f[0].classList.add("select2-hidden-accessible"),f.attr("aria-hidden","true"),this._syncAttributes(),l.StoreData(f[0],"select2",this),f.data("select2",this)};return l.Extend(d,l.Observable),d.prototype._generateId=function(f){var g="";return f.attr("id")!=null?g=f.attr("id"):f.attr("name")!=null?g=f.attr("name")+"-"+l.generateChars(2):g=l.generateChars(4),g=g.replace(/(:|\.|\[|\]|,)/g,""),g="select2-"+g,g},d.prototype._placeContainer=function(f){f.insertAfter(this.$element);var g=this._resolveWidth(this.$element,this.options.get("width"));g!=null&&f.css("width",g)},d.prototype._resolveWidth=function(f,g){var v=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if(g=="resolve"){var E=this._resolveWidth(f,"style");return E??this._resolveWidth(f,"element")}if(g=="element"){var S=f.outerWidth(!1);return S<=0?"auto":S+"px"}if(g=="style"){var A=f.attr("style");if(typeof A!="string")return null;for(var j=A.split(";"),O=0,R=j.length;O<R;O=O+1){var x=j[O].replace(/\s/g,""),k=x.match(v);if(k!==null&&k.length>=1)return k[1]}return null}if(g=="computedstyle"){var V=window.getComputedStyle(f[0]);return V.width}return g},d.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},d.prototype._registerDomEvents=function(){var f=this;this.$element.on("change.select2",function(){f.dataAdapter.current(function(g){f.trigger("selection:update",{data:g})})}),this.$element.on("focus.select2",function(g){f.trigger("focus",g)}),this._syncA=l.bind(this._syncAttributes,this),this._syncS=l.bind(this._syncSubtree,this),this._observer=new window.MutationObserver(function(g){f._syncA(),f._syncS(g)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},d.prototype._registerDataEvents=function(){var f=this;this.dataAdapter.on("*",function(g,v){f.trigger(g,v)})},d.prototype._registerSelectionEvents=function(){var f=this,g=["toggle","focus"];this.selection.on("toggle",function(){f.toggleDropdown()}),this.selection.on("focus",function(v){f.focus(v)}),this.selection.on("*",function(v,E){g.indexOf(v)===-1&&f.trigger(v,E)})},d.prototype._registerDropdownEvents=function(){var f=this;this.dropdown.on("*",function(g,v){f.trigger(g,v)})},d.prototype._registerResultsEvents=function(){var f=this;this.results.on("*",function(g,v){f.trigger(g,v)})},d.prototype._registerEvents=function(){var f=this;this.on("open",function(){f.$container[0].classList.add("select2-container--open")}),this.on("close",function(){f.$container[0].classList.remove("select2-container--open")}),this.on("enable",function(){f.$container[0].classList.remove("select2-container--disabled")}),this.on("disable",function(){f.$container[0].classList.add("select2-container--disabled")}),this.on("blur",function(){f.$container[0].classList.remove("select2-container--focus")}),this.on("query",function(g){f.isOpen()||f.trigger("open",{}),this.dataAdapter.query(g,function(v){f.trigger("results:all",{data:v,query:g})})}),this.on("query:append",function(g){this.dataAdapter.query(g,function(v){f.trigger("results:append",{data:v,query:g})})}),this.on("keypress",function(g){var v=g.which;f.isOpen()?v===u.ESC||v===u.UP&&g.altKey?(f.close(g),g.preventDefault()):v===u.ENTER||v===u.TAB?(f.trigger("results:select",{}),g.preventDefault()):v===u.SPACE&&g.ctrlKey?(f.trigger("results:toggle",{}),g.preventDefault()):v===u.UP?(f.trigger("results:previous",{}),g.preventDefault()):v===u.DOWN&&(f.trigger("results:next",{}),g.preventDefault()):(v===u.ENTER||v===u.SPACE||v===u.DOWN&&g.altKey)&&(f.open(),g.preventDefault())})},d.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},d.prototype._isChangeMutation=function(f){var g=this;if(f.addedNodes&&f.addedNodes.length>0)for(var v=0;v<f.addedNodes.length;v++){var E=f.addedNodes[v];if(E.selected)return!0}else{if(f.removedNodes&&f.removedNodes.length>0)return!0;
5if(Array.isArray(f))return f.some(function(S){return g._isChangeMutation(S)})}return!1},d.prototype._syncSubtree=function(f){var g=this._isChangeMutation(f),v=this;g&&this.dataAdapter.current(function(E){v.trigger("selection:update",{data:E})})},d.prototype.trigger=function(f,g){var v=d.__super__.trigger,E={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(g===void 0&&(g={}),f in E){var S=E[f],A={prevented:!1,name:f,args:g};if(v.call(this,S,A),A.prevented){g.prevented=!0;return}}v.call(this,f,g)},d.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},d.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},d.prototype.close=function(f){this.isOpen()&&this.trigger("close",{originalEvent:f})},d.prototype.isEnabled=function(){return!this.isDisabled()},d.prototype.isDisabled=function(){return this.options.get("disabled")},d.prototype.isOpen=function(){return this.$container[0].classList.contains("select2-container--open")},d.prototype.hasFocus=function(){return this.$container[0].classList.contains("select2-container--focus")},d.prototype.focus=function(f){this.hasFocus()||(this.$container[0].classList.add("select2-container--focus"),this.trigger("focus",{}))},d.prototype.enable=function(f){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(f==null||f.length===0)&&(f=[!0]);var g=!f[0];this.$element.prop("disabled",g)},d.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var f=[];return this.dataAdapter.current(function(g){f=g}),f},d.prototype.val=function(f){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),f==null||f.length===0)return this.$element.val();var g=f[0];Array.isArray(g)&&(g=g.map(function(v){return v.toString()})),this.$element.val(g).trigger("input").trigger("change")},d.prototype.destroy=function(){l.RemoveData(this.$container[0]),this.$container.remove(),this._observer.disconnect(),this._observer=null,this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",l.GetData(this.$element[0],"old-tabindex")),this.$element[0].classList.remove("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),l.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},d.prototype.render=function(){var f=r('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return f.attr("dir",this.options.get("dir")),this.$container=f,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),l.StoreData(f[0],"element",this.$element),f},d}),s.define("jquery-mousewheel",["jquery"],function(r){return r}),s.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(r,a,l,u,d){if(r.fn.select2==null){var f=["open","close","destroy"];r.fn.select2=function(g){if(g=g||{},typeof g=="object")return this.each(function(){var S=r.extend(!0,{},g);new l(r(this),S)}),this;if(typeof g=="string"){var v,E=Array.prototype.slice.call(arguments,1);return this.each(function(){var S=d.GetData(this,"select2");S==null&&window.console&&console.error&&console.error("The select2('"+g+"') method was called on an element that is not using Select2."),v=S[g].apply(S,E)}),f.indexOf(g)>-1?this:v}else throw new Error("Invalid arguments for Select2: "+g)}}return r.fn.select2.defaults==null&&(r.fn.select2.defaults=u),l}),{define:s.define,require:s.require}})(),i=n.require("jquery.select2");return t.fn.select2.amd=n,i})})(select2$1)),select2$1.exports}var select2Exports=requireSelect2();const select2=getDefaultExportFromCjs$1(select2Exports);select2($$1);window.jQuery=window.$=$$1;window.$.post=function(e,t,n,i){return i=$$1.extend({url:e,type:"POST",data:JSON.stringify(t),contentType:"application/json; charset=utf-8",dataType:"json",async:!0,success:n},i),$$1.ajax(i)};window.$.each(["put","delete"],function(e,t){$$1[t]=function(n,i,s,r){return $$1.isFunction(i)&&(r=r||s,s=i,i=void 0),$$1.ajax({url:n,type:t,dataType:r,data:i,success:s})}});window.execOnMounted=[];window.execOnRecordsPageChange=[];window.activeEditors={};(function(e){function t(D,U,Y){return Y=R(U,Y),this.on("click.pjax",D,function(le){var be=Y;be.container||(be=e.extend({},Y),be.container=e(this).attr("data-pjax")),n(le,be)})}function n(D,U,Y){Y=R(U,Y);var le=D.currentTarget,be=e(le);if(le.tagName.toUpperCase()!=="A")throw"$.fn.pjax or $.pjax.click requires an anchor element";if(!(D.which>1||D.metaKey||D.ctrlKey||D.shiftKey||D.altKey)&&!(location.protocol!==le.protocol||location.hostname!==le.hostname)&&!(le.href.indexOf("#")>-1&&O(le)==O(location))&&!D.isDefaultPrevented()){var xe={url:le.href,container:be.attr("data-pjax"),target:le},X=e.extend({},xe,Y),he=e.Event("pjax:click");be.trigger(he,[X]),he.isDefaultPrevented()||(s(X),D.preventDefault(),be.trigger("pjax:clicked",[X]))}}function i(D,U,Y){Y=R(U,Y);var le=D.currentTarget,be=e(le);if(le.tagName.toUpperCase()!=="FORM")throw"$.pjax.submit requires a form element";var xe={type:(be.attr("method")||"GET").toUpperCase(),url:be.attr("action"),container:be.attr("data-pjax"),target:le};if(xe.type!=="GET"&&window.FormData!==void 0)xe.data=new FormData(le),xe.processData=!1,xe.contentType=!1;else{if(be.find(":file").length)return;xe.data=be.serializeArray()}s(e.extend({},xe,Y)),D.preventDefault()}function s(D){D=e.extend(!0,{},e.ajaxSettings,s.defaults,D),e.isFunction(D.url)&&(D.url=D.url());var U=j(D.url).hash,Y=e.type(D.container);if(Y!=="string")throw"expected string value for 'container' option; got "+Y;var le=D.context=e(D.container);if(!le.length)throw"the container selector '"+D.container+"' did not match anything";D.data||(D.data={}),e.isArray(D.data)?D.data.push({name:"_pjax",value:D.container}):D.data._pjax=D.container;function be(he,Se,Ce){Ce||(Ce={}),Ce.relatedTarget=D.target;var Re=e.Event(he,Ce);return le.trigger(Re,Se),!Re.isDefaultPrevented()}var xe;D.beforeSend=function(he,Se){if(Se.type!=="GET"&&(Se.timeout=0),he.setRequestHeader("X-PJAX","true"),he.setRequestHeader("X-PJAX-Container",D.container),!be("pjax:beforeSend",[he,Se]))return!1;Se.timeout>0&&(xe=setTimeout(function(){be("pjax:timeout",[he,D])&&he.abort("timeout")},Se.timeout),Se.timeout=0);
5var Ce=j(Se.url);U&&(Ce.hash=U),D.requestUrl=A(Ce)},D.complete=function(he,Se){xe&&clearTimeout(xe),be("pjax:complete",[he,Se,D]),be("pjax:end",[he,D])},D.error=function(he,Se,Ce){var Re=V("",he,D),Ne=be("pjax:error",[he,Se,Ce,D]);D.type=="GET"&&Se!=="abort"&&Ne&&a(Re.url)},D.success=function(he,Se,Ce){var Re=s.state,Ne=typeof e.pjax.defaults.version=="function"?e.pjax.defaults.version():e.pjax.defaults.version,Qe=Ce.getResponseHeader("X-PJAX-Version"),We=V(he,Ce,D),Ge=j(We.url);if(U&&(Ge.hash=U,We.url=Ge.href),Ne&&Qe&&Ne!==Qe){a(We.url);return}if(!We.contents){a(We.url);return}s.state={id:D.id||E(),url:We.url,title:We.title,container:D.container,fragment:D.fragment,timeout:D.timeout},(D.push||D.replace)&&window.history.replaceState(s.state,We.title,We.url);var wt=e.contains(le,document.activeElement);if(wt)try{document.activeElement.blur()}catch{}We.title&&(document.title=We.title),be("pjax:beforeReplace",[We.contents,D],{state:s.state,previousState:Re}),le.html(We.contents);var at=le.find("input[autofocus], textarea[autofocus]").last()[0];at&&document.activeElement!==at&&at.focus(),Z(We.scripts);var I=D.scrollTo;if(U){var B=decodeURIComponent(U.slice(1)),te=document.getElementById(B)||document.getElementsByName(B)[0];te&&(I=e(te).offset().top)}typeof I=="number"&&e(window).scrollTop(I),be("pjax:success",[he,Se,Ce,D])},s.state||(s.state={id:E(),url:window.location.href,title:document.title,container:D.container,fragment:D.fragment,timeout:D.timeout},window.history.replaceState(s.state,document.title)),v(s.xhr),s.options=D;var X=s.xhr=e.ajax(D);return X.readyState>0&&(D.push&&!D.replace&&(G(s.state.id,[D.container,S(le)]),window.history.pushState(null,"",D.requestUrl)),be("pjax:start",[X,D]),be("pjax:send",[X,D])),s.xhr}function r(D,U){var Y={url:window.location.href,push:!1,replace:!0,scrollTo:!1};return s(e.extend(Y,R(D,U)))}function a(D){window.history.replaceState(null,"",s.state.url),window.location.replace(D)}var l=!0,u=window.location.href,d=window.history.state;d&&d.container&&(s.state=d),"state"in window.history&&(l=!1);function f(D){l||v(s.xhr);var U=s.state,Y=D.state,le;if(Y&&Y.container){if(l&&u==Y.url)return;if(U){if(U.id===Y.id)return;le=U.id<Y.id?"forward":"back"}var be=b[Y.id]||[],xe=be[0]||Y.container,X=e(xe),he=be[1];if(X.length){U&&ue(le,U.id,[xe,S(X)]);var Se=e.Event("pjax:popstate",{state:Y,direction:le});X.trigger(Se);var Ce={id:Y.id,url:Y.url,container:xe,push:!1,fragment:Y.fragment,timeout:Y.timeout,scrollTo:!1};if(he){X.trigger("pjax:start",[null,Ce]),s.state=Y,Y.title&&(document.title=Y.title);var Re=e.Event("pjax:beforeReplace",{state:Y,previousState:U});X.trigger(Re,[he,Ce]),X.html(he),X.trigger("pjax:end",[null,Ce])}else s(Ce);X[0].offsetHeight}else a(location.href)}l=!1}function g(D){var U=e.isFunction(D.url)?D.url():D.url,Y=D.type?D.type.toUpperCase():"GET",le=e("<form>",{method:Y==="GET"?"GET":"POST",action:U,style:"display:none"});Y!=="GET"&&Y!=="POST"&&le.append(e("<input>",{type:"hidden",name:"_method",value:Y.toLowerCase()}));var be=D.data;if(typeof be=="string")e.each(be.split("&"),function(X,he){var Se=he.split("=");le.append(e("<input>",{type:"hidden",name:Se[0],value:Se[1]}))});else if(e.isArray(be))e.each(be,function(X,he){le.append(e("<input>",{type:"hidden",name:he.name,value:he.value}))});else if(typeof be=="object"){var xe;for(xe in be)le.append(e("<input>",{type:"hidden",name:xe,value:be[xe]}))}e(document.body).append(le),le.submit()}function v(D){D&&D.readyState<4&&(D.onreadystatechange=e.noop,D.abort())}function E(){return new Date().getTime()}function S(D){var U=D.clone();return U.find("script").each(function(){this.src||e._data(this,"globalEval",!1)}),U.contents()}function A(D){return D.search=D.search.replace(/([?&])(_pjax|_)=[^&]*/g,"").replace(/^&/,""),D.href.replace(/\?($|#)/,"$1")}function j(D){var U=document.createElement("a");return U.href=D,U}function O(D){return D.href.replace(/#.*/,"")}function R(D,U){return D&&U?(U=e.extend({},U),U.container=D,U):e.isPlainObject(D)?D:{container:D}}function x(D,U){return D.filter(U).add(D.find(U))}function k(D){return e.parseHTML(D,document,!0)}function V(D,U,Y){var le={},be=/<html/i.test(D),xe=U.getResponseHeader("X-PJAX-URL");le.url=xe?A(j(xe)):Y.requestUrl;var X,he;if(be){he=e(k(D.match(/<body[^>]*>([\s\S.]*)<\/body>/i)[0]));var Se=D.match(/<head[^>]*>([\s\S.]*)<\/head>/i);X=Se!=null?e(k(Se[0])):he}else X=he=e(k(D));if(he.length===0)return le;if(le.title=x(X,"title").last().text(),Y.fragment){var Ce=he;Y.fragment!=="body"&&(Ce=x(Ce,Y.fragment).first()),Ce.length&&(le.contents=Y.fragment==="body"?Ce:Ce.contents(),le.title||(le.title=Ce.attr("title")||Ce.data("title")))}else be||(le.contents=he);return le.contents&&(le.contents=le.contents.not(function(){return e(this).is("title")}),le.contents.find("title").remove(),le.scripts=x(le.contents,"script[src]").remove(),le.contents=le.contents.not(le.scripts)),le.t
5itle&&(le.title=e.trim(le.title)),le}function Z(D){if(D){var U=e("script[src]");D.each(function(){var Y=this.src,le=U.filter(function(){return this.src===Y});if(!le.length){var be=document.createElement("script"),xe=e(this).attr("type");xe&&(be.type=xe),be.src=e(this).attr("src"),document.head.appendChild(be)}})}}var b={},W=[],F=[];function G(D,U){b[D]=U,F.push(D),J(W,0),J(F,s.defaults.maxCacheLength)}function ue(D,U,Y){var le,be;b[U]=Y,D==="forward"?(le=F,be=W):(le=W,be=F),le.push(U),U=be.pop(),U&&delete b[U],J(le,s.defaults.maxCacheLength)}function J(D,U){for(;D.length>U;)delete b[D.shift()]}function M(){return e("meta").filter(function(){var D=e(this).attr("http-equiv");return D&&D.toUpperCase()==="X-PJAX-VERSION"}).attr("content")}function re(){e.fn.pjax=t,e.pjax=s,e.pjax.enable=e.noop,e.pjax.disable=pe,e.pjax.click=n,e.pjax.submit=i,e.pjax.reload=r,e.pjax.defaults={timeout:650,push:!0,replace:!1,type:"GET",dataType:"html",scrollTo:0,maxCacheLength:20,version:M},e(window).on("popstate.pjax",f)}function pe(){e.fn.pjax=function(){return this},e.pjax=g,e.pjax.enable=re,e.pjax.disable=e.noop,e.pjax.click=e.noop,e.pjax.submit=e.noop,e.pjax.reload=function(){window.location.reload()},e(window).off("popstate.pjax",f)}e.event.props&&e.inArray("state",e.event.props)<0?e.event.props.push("state"):"state"in e.Event.prototype||e.event.addProp("state"),e.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),e.support.pjax?re():pe()})(jQuery);const bb$1=function(){return{init(e){this.id=e,this.opens=[],this.isSel=!1,this.bbtags=[],this.myAgent=navigator.userAgent.toLowerCase(),this.myVersion=parseInt(navigator.appVersion),this.selection="",this.is_ie=this.myAgent.indexOf("msie")!==-1&&this.myAgent.indexOf("opera")===-1,this.is_nav=this.myAgent.indexOf("mozilla")!==-1&&this.myAgent.indexOf("spoofer")===-1&&this.myAgent.indexOf("compatible")===-1&&this.myAgent.indexOf("opera")===-1&&this.myAgent.indexOf("webtv")===-1&&this.myAgent.indexOf("hotjava")===-1,this.is_win=this.myAgent.indexOf("win")!==-1||this.myAgent.indexOf("16bit")!==-1,this.is_mac=this.myAgent.indexOf("mac")!==-1},cstat(fi){fi||(fi="");let c=this.stacksize(this.bbtags);(c<1||c==null)&&(c=0),this.bbtags[0]||(c=0),eval('document.getElementById("tagcount'+fi+'").value='+c)},stacksize(e){for(let t=0;t<e.length;t++)if(e[t]===""||e[t]==null||e===void 0)return t;return e.length},pushstack(e,t,n){let i=this.stacksize(e);e[i]=t},popstack(e){let t=this.stacksize(e),n=e[t-1];return delete e[t-1],n},closeall(fi){fi||(fi="");let wh=this.id;if(this.bbtags[0])try{for(;this.bbtags[0];){let tagRemove=this.popstack(this.bbtags);document.getElementById(wh).value+="[/"+tagRemove+"]",tagRemove!=="font"&&tagRemove!=="size"&&tagRemove!=="color"&&(tagRemove==="code"?eval("document.getElementById('codes"+fi+"').value = ' "+tagRemove+" '"):eval("document.getElementById('"+tagRemove+fi+"').value = ' "+tagRemove+" '"),this.opens[tagRemove+fi]=0)}}catch(e){}eval('document.getElementById("tagcount'+fi+'").value=0'),this.bbtags=[],document.getElementById(wh).focus()},emoticon(e){this.doInsert(" "+e+" ","",!1)},add_code(e){let t=this.id;document.getElementById(t).value+=e,document.getElementById(t).focus()},alterfont(e,t,n){n||(n=""),e!==0&&(this.doInsert("["+t+"="+e+"]","[/"+t+"]",!0)&&this.pushstack(this.bbtags,t),this.cstat(n))},_alterfont(e,t){e!==0&&(t==="size"?this.doInsert('<span style="font-size:'+e+'pt">',"</span>",3):t==="color"?this.doInsert('<span style="color:'+e+'">',"</span>",3):t==="font"?this.doInsert(`<span style="font-family:'`+e+`'">`,"</span>",3):t==="pos"&&this.doInsert('<div align="'+e+'">',"</div>",3))},_simpletag(e){this.simpletag(e,"","","",1)},simpletag(thetag,fid,chtxt,fi,tp){fi||(fi="");let tagOpen;tagOpen=this.opens[thetag+fid];let bracket1="[",bracket2="]",doClose=!0;if(tp&&(bracket1="<",bracket2=">",doClose=3),!tagOpen)this.doInsert(bracket1+thetag+bracket2,bracket1+"/"+thetag+bracket2,doClose)&&!tp&&(this.opens[thetag+fid]=1,fid?document.getElementById(fid).value=chtxt+"*":thetag==="code"?eval("document.getElementById('codes"+fi+"').value += '*'"):eval("document.getElementById('"+thetag+fi+"').value += '*'"),this.pushstack(this.bbtags,thetag,fi),this.cstat(fi));else{let lastindex=0;for(let e=0;e<this.bbtags.length;e++)this.bbtags[e]===thetag&&(lastindex=e);for(;this.bbtags[lastindex];){let tagRemove=this.popstack(this.bbtags);this.doInsert("[/"+tagRemove+"]","",!1),tagRemove!=="font"&&tagRemove!=="size"&&tagRemove!=="color"&&(fid?document.getElementById(fid).value=chtxt:thetag==="code"?eval("document.getElementById('codes"+fi+"').value = '"+tagRemove+"'"):eval("document.getElementById('"+tagRemove+fi+"').value = '"+tagRemove+"'"),this.opens[tagRemove+fid]=0)}this.cstat(fi)}},tag_list(){let e="init",t="";for(;e!==""&&e!=null;)e=prompt("List item",""),e!==""&&e!=null&&(t=t+"[*]"+e+`
6`);t!==""&&this.doInsert(`[list]
7`+t+`[/list]
8`,"",!1)},_tag_list(){let e="init",t="";for(;e!==""&&e!=null;)e=prompt("List item",""),e!==""&&e!=null&&(t=t+"<li>"+e+`
9`);t!==""&&this.doInsert(`<ul>
10`+t+`</ul>
11`,"",!1)},_tag_url(){let e=prompt("Site address","http://"),t=this.isSelected();t.length===0&&(t=prompt("Site name","My WebPage")),!(!e||e==="http://")&&t&&this.doInsert('<a href="'+e+'" target="_blank">'+t+"</a>","",!1)},_tag_image(){let e=prompt("Image URL","http://");!e||e==="http://"||this.doInsert('<img border="0" align="absmiddle" src="'+e+'">',"",!1)},_tag_email(){let e=prompt("E-mail address","");if(!e)return;let t=this.isSelected();t.length>0?this.doInsert('<a href="mailto:'+e+'">'+t+"</a>","",!1):this.doInsert('<a href="mailto:'+e+'">'+e+"</a>","",!1)},tag_url(){let e=prompt("Site address","http://"),t=this.isSelected();t.length===0&&(t=prompt("Site name","My WebPage")),!(!e||e==="http://")&&t&&this.doInsert("[url="+e+"]"+t+"[/url]","",!1)},tag_url2(){let e=prompt("Site address","http://"),t=this.isSelected();if(t.length===0&&(t=prompt("Site name","My WebPage")),!e||e=="http://")return;if(!t)return;let n="url";this.doInsert("["+n+"="+e+"]"+t+"[/"+n+"]","",!1)},tag_image(){let e=prompt("Image URL","http://");!e||e==="http://"||e.length<6||this.doInsert("[img]"+e+"[/img]","",!1)},tag_email(){let e=prompt("E-mail address","");if(!e)return;let t=this.isSelected();t.length>0?this.doInsert("[email="+e+"]"+t+"[/email]","",!1):this.doInsert("[email]"+e+"[/email]","",!1)},doInsert(e,t,n){let i=this.id,s=!1,r=document.getElementById(i),a=r.selectionStart,l=r.selectionEnd;if(this.myVersion>
11=4&&this.is_ie&&this.is_win)if(r.isTextEdit){r.focus();let u=document.selection,d=u.createRange();(u.type==="Text"||u.type==="None")&&d!=null&&(t!==""&&d.text.length>0?e+=d.text+t:n&&(s=!0),d.text=e)}else n&&(s=!0),r.value+=e;else try{let u=r.scrollTop;if(!(a>=0))throw 1;t!==""&&r.value.substring(a,l).length>0?r.value=r.value.substring(0,a)+e+r.value.substring(a,l)+t+r.value.substring(l,r.value.length):(n&&(s=!0),isSel?r.value=r.value.substring(0,a)+e+r.value.substring(l,r.value.length):r.value=r.value.substring(0,a)+e+(n===3?t:"")+r.value.substring(a,r.value.length)),r.scrollTop=u}catch{n&&(s=!0),r.value+=e}try{if(a===void 0)r.focus(),document.selection.createRange().select();else if(a!==l)r.selectionStart=a,r.selectionEnd=l+e.length+t.length;else{let u=a+e.length;r.selectionStart=u,r.selectionEnd=u}}finally{}return r.focus(),s},isSelected(){let e=this.id,t=document.getElementById(e);if(this.myVersion>=4&&this.is_ie&&this.is_win){if(t.isTextEdit){t.focus();let n=document.selection,i=n.createRange();if((n.type==="Text"||n.type==="None")&&i!=null&&i.text.length>0)return this.isSel=!0,i.text}return""}try{let n=t.selectionStart;if(!(n>=0))throw 1;let i=t.selectionEnd;if(t.value.substring(n,i).length>0)return this.isSel=!0,t.value.substring(n,i)}catch{}return""},getSelection(){window.getSelection?this.selection=window.getSelection().toString():document.getSelection?this.selection=document.getSelection():this.selection=document.selection.createRange().text},insertQuote(e,t){if(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),this.selection&&this.selection!==""){let n="[quote="+t+";"+e+"]"+this.selection+`[/quote]
12`,i=document.getElementById(this.id);i.value+=n,i.focus()}}}},initBB=()=>{$("#message").length>0&&(window.bb=new bb$1,window.bb.init("message"))};window.execOnMounted.push(initBB);function dumpObject(e,t,n){var i,s=typeof e;function r(l,u){var d,f=[0,1,2,3,4,5,6,7,8,9,"a","b","c","d","e","f"],g="";for(d=0;d<u;d++)g=""+f[l%16]+g,l>>>=4;return g}switch(arguments.length<2&&(t=10),s=="object"&&(e?e.constructor==String?s="string":e.constructor==Number?s="number":e.constructor==Boolean?s="boolean":e.constructor==Array&&(s="array"):s="null"),s){case"number":case"boolean":case"null":case"undefined":return String(e);case"string":return'"'+e.replace(/([\\"])/g,"\\$1").replace(/\n/g,"\\n").replace(/([\x00-\x1f])/g,function(l,u){return"\\x"+r(u.charCodeAt(0),2)}).replace(/([\u2028\u2029])/g,function(l,u){return"\\u"+r(u.charCodeAt(0),4)})+'"';case"array":if(t<=0)return"[?]";i="";for(var a=0;a<e.length;a++)0<a&&(i+=","),i+=dumpObject(e[a]);return"["+i+"]";case"object":if(t<=0)return"{?}";
12for(var a in i="",e){i&&(i+=",");try{i+=dumpObject(a)+":"+dumpObject(e[a],t-1)}catch{i+=dumpObject(a)+":?"}}return"{"+i+"}"}}function _uVideoPlayer$1(e,t,n){var i=$("#"+t)[0];if(i){var s="",r=0,a=0;switch(!0){case!!e.url.match(/youtube\.com|youtu\.be/i):a=r=1,(l=e.url.match(/v=([^\s\&\;\?]+)|be\/([^\s\&\;\?]+)/))&&(l[1]||l[2])&&(s="https://youtube.com/embed/"+(l[1]?l[1]:l[2])+"?rel=0&showinfo=0&modestbranding=0&theme=light&autohide=1&html5=1");break;case!!e.url.match(/rutube\.ru/i):a=1,(l=e.url.match(/v=([^\s\&\;]+)|\/video\/(.+)\//))&&(l[1]||l[2])&&(s="https://video.rutube.ru/"+(l[1]?l[1]:l[2]));break;case!!e.url.match(/dailymotion\.com|dai\.ly/i):a=r=1,(l=e.url.match(/video\/(.*?)_|ly\/(.*)$/))&&(l[1]||l[2])&&(s="//dailymotion.com/embed/video/"+(l[1]?l[1]:l[2]));break;case!!e.url.match(/smotri\.com/i):a=1,(l=e.url.match(/id=([^\s\&\;]+)/))&&l[1]&&(s="//pics.smotri.com/player.swf?file="+l[1]+"&bufferTime=3&autoStart=false&str_lang=rus&xmlsource=%2F%2Fpics.smotri.com%2Fcskins%2Fblue%2Fskin_color.xml&xmldatasource=%2F%2Fpics.smotri.com%2Fskin_ng.xml");break;case!!e.url.match(/mail\.ru/i):a=r=1,(l=e.url.match(/\.ru\/(.*?\/)video\/(.*?\.html)/))&&l[1]&&l[2]&&(s="//videoapi.my.mail.ru/videos/embed/"+l[1]+l[2]);break;case!!e.url.match(/vimeo\.com/i):a=1,(l=e.url.match(/\/([\d]+)/))&&l[1]&&(s="https://vimeo.com/moogaloop.swf?clip_id="+l[1]+"&show_title=1&show_byline=0&show_portrait=0&fullscreen=1&autoplay=0");break;case!!e.url.match(/metacafe\.com/i):var l;a=r=1,(l=e.url.match(/watch\/([\d]+.+)/))&&l[1]&&(s="//metacafe.com/embed/"+l[1]);break;case!!e.url.match(/coub\.com/i):a=r=1,s=e.url.replace(/^.+:(\/\/.+\/)view(\/.+)$/,"$1embed$2?muted=false&autostart=false&originalSize=false&startWithHD=false")}var u="";if(s&&1<s.length){var d=e.width?e.width:640,f=e.height?e.height:360;if(typeof swfobject=="object"&&swfobject.embedSWF)return void swfobject.embedSWF(s,t,d,f,"10","",{},{allowFullScreen:"true",wmode:"transparent",quality:"high"},{align:"middle"});u=r?'<iframe 	src="'+s+'" 	width="'+d+'" 	height="'+f+'" 	frameborder="0" 	webkitAllowFullScreen mozallowfullscreen allowfullscreen ></iframe>':'<object allowfullscreen="true" type="application/x-shockwave-flash" width="'+d+'" height="'+f+'" data="'+s+'">	<param name="movie" value="'+s+'" />	<param name="wmode" value="transparent"></object>'}else u=a?'<span style="border-bottom:1px dashed red;text-align:center;">Incorrect video URL.</span>':'<span style="border-bottom:1px dashed red;text-align:center;">Not supported video service. Please use YouTube.com for your video files.</span>';$(i).html(u)}else{if((typeof n!="number"||isNaN(n))&&(n=0),10<=n)return;setTimeout("_uVideoPlayer("+dumpObject(e)+","+dumpObject(t)+","+(n+1)+");",100)}}window._uVideoPlayer=_uVideoPlayer$1;const openedModals=[];window.openedModals=openedModals;const body$r=$("body"),showModal=(e,t=null,n=null,i={backdrop:!0})=>{const s=e.substring(1);openedModals.push({name:s,onClose:n,params:i}),t=t||$(e).data("title")||"";const r=$(`.modal-window[data-name="${s}"]`);if(!$(r).length){$($(".modals-container")).length||$(body$r).append('<div class="modals-container"></div>');const a=$(".modals-container");$(a).append(`
13            <div class="modal-window" data-name="${s}" data-selector="${e}">
14                    <div class="modal-window__inner">
15                        <div class="modal-window__top">
16                            <div class="modal-window__title">${t}</div>
17                            <div class="modal-window__close">
18                                <i class="fa fa-times"></i>
19                            </div>
20                         </div>
21                        <div class="modal-window__content"></div>
22                     </div>
23                </div>`);const l=$(`.modal-window[data-name="${s}"]`);$(".modal-window").removeClass("modal-window--top"),$(l).addClass("modal-window--top");const u=$(l).find(".modal-window__content");return $(e).length||$(body$r).append(`<div id="${s}" style="display:none"></div>`),$(e).show().appendTo(u),i?.backdrop&&!$(".modals-backdrop").length&&$(body$r).append('<div class="modals-backdrop"></div>'),l}return r};function showModalAjax(e,t,n=null,i=null){return new Promise(s=>{showModal(t,n,i);const r=$(`.modal-window[data-selector='${t}']`);
23let a=$(r).find(".modal-window__content");$(a).html('<div class="modal-window__preloader-container"><img class="modal-window__preloader" src="/img/ajax.gif"></div>'),e.done(l=>{l.data?($(a).html(l.data.html),l.data.title&&$(a).parents(".modal-window").find(".modal-window__title").html(l.data.title)):$(a).html(l),s()}).fail(l=>{const u=l.responseJSON?.message||`Ошибка ${l.status}, повторите попытку позже`;$(a).html(`<div class="modal-window__form"><div class="response response--light response--error">${u}</div></div>`),s()})})}$(body$r).on("dragstart",".modal-window",function(){$(".modal-window").removeClass("modal-window--top"),$(this).addClass("modal-window--top")});const closeModal=e=>{const t=$(e).data("selector"),n=$(e).data("name"),i=openedModals.find(s=>s.name===n);openedModals.splice(openedModals.map(s=>s.name).indexOf(i.name),1),$(t).hide().appendTo(body$r),$(e).remove(),openedModals.filter(s=>s.params?.backdrop)&&$(".modals-backdrop").remove(),i.onClose&&i.onClose()},closeAllModals=()=>{openedModals.forEach(e=>{closeModal($(`.modal-window[data-name="${e.name}"]`))})};$(body$r).on("click",".modal-window__close, .modal-window__close-button",function(){closeModal($(this).parents(".modal-window"))});$(body$r).on("click",".modals-backdrop",function(){openedModals.length&&closeModal($(`.modal-window[data-name="${openedModals[openedModals.length-1].name}"]`))});window.showModal=showModal;window.closeModal=closeModal;window.closeAllModals=closeAllModals;const replaceHTML=e=>{e.forEach(t=>{t.prepend_to&&$(t.prepend_to).prepend(t.html),t.append_to&&$(t.append_to).append(t.html),t.replace&&$(t.replace).html(t.html)})},body$q=$("body");$(body$q).on("click",".button--delete-article",function(){$(this).data("id")&&$('input[name="id"]').val($(this).data("id")),showModal("#delete_article")});$(body$q).on("click",".button--approve-article",function(){$(this).data("id")&&$('input[name="id"]').val($(this).data("id")),showModal("#approve_article")});$(body$q).on("click","*[data-change-article-type]",function(){$.post(route("articles.change-type"),{type_id:$(this).data("change-article-type"),id:$(this).data("change-article-type-id")}).done(e=>{e.status?$.pjax.reload("#pjax-container"):alert(e.text)})});let body$p=$("body");$(body$p).on("click",".user-page__info-block__value--awards",function(){const e=$(".user-page").data("user-id");showModalAjax($.get(`${route("awards.ajax")}?user_id=${e}`),`#awards_history_${e}`,"Награды пользователя")});$(body$p).on("click",".user-page__info-block__change--awards",function(){showModalAjax($.get(`${route("awards.form")}?user_id=${$(".user-page").data("user-id")}`),"#awards_list","Выдать награду")});$(body$p).on("click",".awards-history__item__button--edit",function(){$(this).parents(".awards-history__item").find(".awards-history__item__form").show(),$(this).parents(".awards-history__item").find(".awards-history__item__comment").hide()});$(body$p).on("click",".awards-history__item__form .button--cancel",function(){$(this).parents(".awards-history__item").find(".awards-history__item__form").hide(),$(this).parents(".awards-history__item").find(".awards-history__item__comment").show()});function editAwardCallback(e){let t=e.data.award.id,n=$(".awards-history__item[data-id="+t+"]");$(n).find(".awards-history__item__form").hide(),$(n).find(".awards-history__item__comment").show().html(e.data.award.comment)}window.editAwardCallback=editAwardCallback;$(body$p).on("click",".awards-history__item__button--delete",function(){const e=$(this).parents(".awards-history__item").data("id");confirm("Вы уверены, что хотите удалить эту награду?")&&$.post(route("awards.delete"),{id:e}).done(t=>{t.status?$(this).parents(".awards-history__item").remove():alert(t.text)})});$(body$p).on("click",".forum-message__awards__number",function(){const e=$(this).data("user-id");showModalAjax($.get(route("awards.ajax"),{user_id:e}),"#awards_history_"+e)});$(body$p).on("click",".awards-list__item",function(){const e=$(this).data("id");$(this).parents(".awards-list").find('input[name="award_id"]').val(e),$(this).parents(".awards-list").find(".awards-list__form").show()});function translit(e){let t={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"e",ж:"j",з:"z",и:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"shch",ы:"y",э:"e",ю:"u",я:"ya"},n=[];e=e.toLocaleLowerCase().replace(/[^a-zA-Z0-9а-яА-ЯёЁ\s]/gu,"").replace(/\s+/g," ").trim().split(" ").join("-"),e=e.replace(/[ъь]+/g,"").replace(/й/g,"i");for(let i=0;i<e.length;++i)n.push(t[e[i]]??e[i]);return n.join("")}const body$o=$("body");$(body$o).on("change","#channel_name",function(){let e=$(this).val(),t=translit(e);$("#channel_url").val(t)});$(body$o).on("click",".channel-page__logos__list__item",function(){$(".channel-page__logos__list__item").removeClass("channel-page__logos__list__item--selected"),$(this).addClass("channel-page__logos__list__item--selected");let e=$(this).data("info");$(".channel-page__selected-logo__picture").css("background-image","url("+e.logo.url+")"),$(".channel-page__selected-logo__name").html(e.name),$(".channel-page__selected-logo__years").html(e.years_range),$(".channel-page__selected-logo__description").html(e.comment)});const PRELOADER_CLASS="block-preloader",PRELOADER_HTML=`<div class="${PRELOADER_CLASS}"><img src="/img/ajax.gif"></div>`,FORM_PRELOADER_CLASS="form__preloader",FORM_PRELOADER_HTML=`<div class="${FORM_PRELOADER_CLASS}"><img src="/img/ajax.gif"></div>`;let body$n=$("body");$(body$n).on("click",".comments__pager .page-link",function(e){const t=$(this).attr("href").split("?page=")[1],n=$(this).parents(".comments").data("c
23onditions");n&&(e.preventDefault(),$(this).parents(".comments").append(PRELOADER_HTML),$.get(route("comments.ajax"),{page:t,conditions:n}).done(i=>{$(this).parents(".comments").find(`.${PRELOADER_CLASS}`).remove(),$(this).parents(".comments__main").html(i.data.html)}))});$(body$n).on("click",".comment__reply",function(){let e=$(this).parents(".comment").data("id"),t=$(".comments > .comments__form"),n=$("#reply_form_container");$(n).html($(t).html()),$(n).find('input[name="parent_id"]').val(e),$(n).find("#message").attr("id","message_modal"),$(t).append('<div class="comments__form__disable"></div>'),showModal("#reply_form_container","Ответить на комментарий",()=>{bb.init("message"),$(".comments__form__disable").remove()}),bb.init("message_modal")});$(body$n).on("click",".bb-editor__smiles__all",function(){showModalAjax($.get(route("smiles.ajax")),"#all_smiles")});$(body$n).on("click",".comment__edit",function(){let e=$(this).parents(".comment").eq(0).data("id"),t=$("#edit_form_container"),n=$(".comments > .comments__form");$(t).html($(n).html()),$(t).find('input[name="parent_id"]').val(e),$(t).find('textarea[name="message"]').attr("id","message_edit_modal"),$(t).find('textarea[name="message"]').val($(this).parents(".comment").eq(0).find(".comment__original-text").html().trim()),$(t).find("form").attr("action",route("comments.edit")),$(t).find('input[name="id"]').val(e),$(n).append('<div class="comments__form__disable"></div>'),showModal("#edit_form_container","Редактировать комментарий",()=>{bb.init("message"),$(".comments__form__disable").remove()}),bb.init("message_edit_modal")});$(body$n).on("click",".comment__delete",function(){let e=$(this).parents(".comment").eq(0).data("id");confirm("Вы уверены, что хотите удалить комментарий?")&&$.post(route("comments.delete"),{id:e}).done(t=>{t.status?replaceHTML(t.data.html):alert(t.text)})});$(body$n).on("click",".comment__rating__button",function(){let e=$(this).parents(".comment").eq(0).data("id"),t=$(this).hasClass("comment__rating__button--minus")?-1:1;$.post(route("comments.rating"),{comment_id:e,weight:t}).done(n=>{n.status?replaceHTML(n.data.html):alert(n.text)})});window.execOnMounted.push(function(){$(".comment__video-player, .forum-message__video-player").each(function(){let e=$(this).data("params");e=e.replace(/'/g,'"'),console.log(e),e=JSON.parse(e),_uVideoPlayer(e,$(this).data("element"))})});window.execOnMounted.push(function(){$(".comments--lazyload").each(function(){const e=$(this).data("conditions");$(this).addClass("comments--loading"),$(this).append('<div class="comments__preloader"><img src="/img/ajax.gif"></div>'),$.get(route("comments.ajax"),{page:1,conditions:e,count:!0}).done(t=>{$(this).removeClass("comments--loading"),$(this).parents(".box").find(".box--comments__loading").removeClass("box--comments__loading").html(t.data.count),$(this).find(".comments__preloader").remove(),$(this).find(".comments__main").html(t.data.html)})}),$(".bb-editor__text").each(function(){this.setAttribute("style","height:"+this.scrollHeight+"px;overflow-y:hidden;")}).on("input",function(){this.style.height="auto",this.style.height=this.scrollHeight+"px"})});const body$m=$("body"),buildFormData=(e,t,n)=>{if(t&&typeof t=="object"&&!(t instanceof Date)&&!(t instanceof File)&&!(t instanceof Blob))Object.keys(t).forEach(i=>{buildFormData(e,t[i],n?`${n}[${i}]`:i)});else{const i=t??"";e.append(n,i)}},jsonToFormData=e=>{const t=new FormData;return buildFormData(t,e),t};$(body$m).on("click",".captcha",function(){$(this).attr("src",$(this).attr("src"))});$(body$m).on("submit",".form",function(e){if(e.preventDefault(),$(this).data("confirm")&&!confirm($(this).data("confirm-text")||"Вы уверены?"))return;const t=$(this).attr("action")||window.location.pathname,n=$(this).serializeArray(),i={};$(this).find('input[type="checkbox"]').each(function(){if($(this).attr("name")!=="")if($(this).attr("value")!==""&&$(this).attr("value")!==void 0){let d=$(this).attr("name");i[d]||(i[d]=[]),$(this).is(":checked")&&i[d].push($(this).attr("value"))}else n.push({name:$(this).attr("name"),value:$(this).is(":checked")})}
23),Object.keys(i).forEach(d=>{n.push({name:d,value:i[d]})}),$(this).find('input[type="file"]').each(function(){n.push({name:$(this).attr("name"),value:$(this).attr("multiple")?$(this)[0].files:$(this)[0].files[0]})}),$(this).append(FORM_PRELOADER_HTML);let s={};n.forEach(d=>{if(d.name?.includes("[")){const f=d.name.split("["),g=f[0],v=f[1].replace("]","");s[g]?s[g][v]=d.value:s[g]={[v]:d.value}}else s[d.name]=d.value});for(const d in window.activeEditors)s[d]=window.activeEditors[d].getHTML();$(this).find(".input-container").removeClass("input-container--with-errors"),$(this).find(".input-container__message").html("");const r=$(this).find(".response"),l=$(this).attr("enctype")==="multipart/form-data"?{processData:!1,contentType:!1,data:jsonToFormData(s),type:"POST"}:{data:JSON.stringify(s),contentType:"application/json",type:"POST"},u=()=>{$.ajax(t,l).done(d=>{$(this).find(`.${FORM_PRELOADER_CLASS}`).remove(),d.status?($(this).data("auto-close-modal")&&setTimeout(()=>{$(this).parents(".modal-window").length>0&&$(this).parents(".modal-window").find(".modal-window__close").click(),$(r).removeClass("response--error").removeClass("response--success").html("")},2500),$(this).data("reset")&&$(this).trigger("reset"),$(r).removeClass("response--error").addClass("response--success").html(d.text),d.redirect_to&&setTimeout(()=>{$(this).data("disable-redirects")?window.location.reload():window.location.href=d.redirect_to},1250),d.data?.html&&replaceHTML(d.data.html),$(this).data("callback")&&window[$(this).data("callback")](d)):($(r).length>0?$(r).removeClass("response--success").addClass("response--error").html(d.text):alert(d.text),d.errors&&Object.keys(d.errors).forEach(f=>{$(this).find("*[name="+f+"]").parents(".input-container").addClass("input-container--with-errors").find(".input-container__message").html(d.errors[f].join("; "))}),$(this).data("callback")&&window[$(this).data("callback")](d)),$(this).data("noscroll")||$(r).length>0&&$(r)[0].scrollIntoView({behavior:"smooth",block:"center"})}).fail(d=>{$(this).find(`.${FORM_PRELOADER_CLASS}`).remove();const f=d.responseJSON;f.message===""?$(r).length?$(r).removeClass("response--success").addClass("response--error").html("Неизвестная ошибка"):alert("Неизвестная ошибка"):($(r).length?$(r).removeClass("response--success").addClass("response--error").html(f.message):alert(f.message),Object.keys(f.errors).forEach(g=>{$(this).find("*[name="+g+"]").parents(".input-container").addClass("input-container--with-errors").find(".input-container__message").html(f.errors[g].join("; "))})),$(this).data("noscroll")||$(r).length&&$(r)[0].scrollIntoView()})};$(this).hasClass("form--with-captcha")?grecaptcha.ready(function(){grecaptcha.execute("6LccwdUZAAAAANbvD4YOUIKQXR77BP8Zg5A-a9UT",{action:"submit"}).then(function(d){s["g-recaptcha-response"]=d,u()})}):u()});$(body$m).on("change",'.input-container--checkbox--toggle input[type="checkbox"]',function(e){$(this).is(":checked")?$(this).parents(".input-container--checkbox--toggle").find(".input").attr("disabled",!1):$(this).parents(".input-container--checkbox--toggle").find(".input").attr("disabled",!0)});$(body$m).on("click","*[data-confirm-form-url]",function(){const e=$(this).data("confirm-form-text")||"Вы уверены?",t=$(this).data("confirm-form-url"),n=$(this).data("confirm-form-input-name")||"id",i=$(this).data("confirm-form-input-value"),s=$(this).data("confirm-form-disable-redirects"),r="confirm_form_"+t.split("/").join("_").replaceAll(":","").replaceAll(".","");$(body$m).append(`<div id="${r}">
24       <form action="${t}" data-disable-redirects="${s?1:0}" data-auto-close-modal="1" class="form  modal-window__form">
25            <div class="form__content">
26              <input type="hidden" name="${n}" value="${i}"/>
27              <input type="hidden" name="_from_confirm_form" value="1"/>
28              <div class="modal-window__text">
29                ${e}
30              </div>
31              <div class="form__bottom">
32                <button class="button button--light">ОК</button>
33                <a class="button button--light modal-window__close-button">Отмена</a>
34                <div class="response response--light"></div>
35              </div>
36          </div>
37       </form>
38   </div>`),showModal(`#${r}`,"Подтверждение")});$(body$m).on("click","*[data-show-modal]",function(){showModal($(this).data("show-modal"))});$(body$m).on("click","*[data-modal-form-url]",function(){showModalAjax($.get($(this).data("modal-form-url")+"?X-PJAX=true&_pjax=#pjax-container"),"#modal_form",".")});let body$l=$("body");$(body$l).on("click",".forum-section__delete-topic",function(){showModal("#delete_topic")});$(body$l).on("click",".forum-section__move-topic",function(){showModal("#move_topic")});$(body$l).on("click",".forum-message__edit",function(){let e=$(this).parents(".forum-message"),t=$(e).data("id");$.post(route("forum.get-edit-form"),{message_id:t}).done(n=>{$(e).find(".forum-message__content").hide(),$(e).find(".forum-message__edit-form").show().html(n.data.html)})});$(body$l).on("click",".forum-message__delete",function(){let e=$(this).parents(".forum-message"),t=$(e).data("id");confirm("Вы уверены, что хотите удалить это сообщение?")&&$.post(route("forum.messages.delete"),{message_id:t}).done(n=>{n.status?replaceHTML(n.data.html):alert(n.text)})});$(body$l).on("click",".forum-message .bb-editor__cancel",function(){let e=$(this).parents(".forum-message");$(e).find(".forum-message__content").show(),$(e).find(".forum-message__edit-form").hide()});$(body$l).on("change","#forum_state",function(){$(this).val()=="4"?$("#forum_move_to").show():$("#forum_move_to").hide()});function forumMessageCallback(e){if(e.status){let t=parseInt($(".pagination").eq(0).find(".page-item.active .page-link").text().trim()),n=parseInt(e.data.last_page);if(t!==n){let i=$(".forum-section").data("topic-id"),r="/forum/"+$(".forum-section").data("forum-id")+"-"+i+"-"+n+"#"+e.data.message.id;$.pjax({url:r,container:"#pjax-container"})}else replaceHTML(e.data._dom)}}window.forumMessageCallback=forumMessageCallback;$(body$l).on("change",'input[name="questionnaire"]',function(){$(this).is(":checked")?$("#questionnaire_editor_container").show():$("#questionnaire_editor_container").hide()});$(body$l).on("click",".forum-page a.page-link",function(){$(".forum-page").append('<div class="form__preloader"><img src="/img/ajax.gif"></div>')});$(body$l).on("click",".forum-message__show-profile",function(){let e=$(this).data("message-id");showModalAjax($.get(route("forum.profile",e)),`#message_profile_${e}`)});window.execOnMounted.push(()=>{let e=1e3;$(".forum-message").each(function(){$(this).css("zIndex",e),e--})});window.execOnMounted.push(()=>{let e=0,t=$(".questionnaire__result__title");$(t).length>0&&($(t).each(function(){let n=$(this).width();n>e&&(e=n)}),$(t).css("width",e+"px"))});let body$k=$("body");$(body$k).on("click",".button--delete-page",function(){$(this).data("id")&&$('#delete_page input[name="id"]').val($(this).data("id")),showModal("#delete_page")});const body$j=$("body");$(body$j).on("click",".user-page__info-block__value--reputation",function(){showModalAjax($.get(route("reputation.ajax"),{user_id:$(".user-page").data("user-id")}),`#reputation_history_${$(".user-page").data("user-id")}`,"Репутация пользователя")});$(body$j).on("click",".forum-message__reputation__number",function(){showModalAjax($.get(route("reputation.ajax"),{user_id:$(this).data("user-id")}),`#reputation_history_${$(this).data("user-id")}`,"Репутация пользователя")});$(body$j).on("click",".forum-message__reputation__change",function(){showModal("#change_reputation"),$('#change_reputation input[name="user_id"]').val($(this).data("user-id")),$('#change_reputation input[name="forum_message_id"]').val($(this).parents(".forum-message").attr("id"))});$(body$j).on("click",".user-page__info-block__change--reputation",function(){showModal("#change_reputation"),$('#change_reputation input[name="user_id"]').val($(".user-page").data("user-id"))});$(body$j).on("click",".reputation-history__item__button--edit",function(){$(this).parents(".reputation-history__item").find(".reputation-history__item__form").show(),$(this).parents(".reputation-history__item").find(".reputation-history__item__comment").hide()});$(body$j).on("click",".reputation-history__item__form .button--cancel",function(){$(this).parents(".reputation-history__item").find(".reputation-history__item__form").hide(),$(this).parents(".reputation-history__item").find(".reputation-history__item__comment").show()});function editReputationCallback(e){const t=$(`.reputation-history__item[data-id=${e.data.reputation_item.id}]`);$(t).find(".reputation-history__item__form").hide(),$(t).find(".reputation-history__item__comment").show().html(e.data.reputation_item.comment)}window.editReputationCallback=editReputationCallback;$(body$j).on("click",".reputation-history__item__button--reply",function(){$(this).parents(".reputation-history__item").find(".reputation-history__item__reply-comment").hide(),$(this).parents(".reputation-history__item").find(".reputation-history__item__reply-form").show()});$(body$j).on("click",".reputation-history__item__reply-form .button--cancel",function(){$(this).parents(".reputation-history__item").find(".reputation-history__item__reply-form").hide(),$(this).parents(".reputation-history__item").find(".reputation-history__item__reply-comment__text").length>0&&$(this).parents(".reputation-history__item").find(".reputation-history__item__reply-comment").show()});function replyReputationCallback(e){const t=$(`.reputation-history__item[data-id=${e.data.reputation_item.id}]`);$(t).find(".reputation-history__item__reply-form").hide(),$(t).find(".reputation-history__item__reply-comment").show(),$(t).find(".reputation-history__item__reply-comment__text").html(e.data.reputation_item.reply_comment)}window.replyReputationCallback=replyReputationCallback;$(body$j).on("click",".reputation-history__item__button--delete",function(){const e=$(this).parents(".reputation-history__item").data("id");confirm("Вы уверены, что хотите удалить это сообщение?")&&$.post(route("reputation.delete"),{id:e}).done(t=>{t.status?$(this).parents(".reputation-history__item").remove():alert(t.text)})});const body$i=$("body");$(body$i).on("click",".tab",function(){const e=$(this).parents(".tabs").data("id"),t=$(this).data("c
38ontent");$(this).parents(".tabs").find(".tab").removeClass("tab--active"),$(this).addClass("tab--active"),$(body$i).find(`.tab-content[data-id="${e}"]`).hide(),$(body$i).find(`.tab-content[data-id="${e}"][data-tab="${t}"]`).show()});$(body$i).on("click","a[data-show-block-selector]",function(){const e=$(this).data("show-block-selector"),t=$(this).data("show-block-id"),n=$(this).data("toggle-class");n&&($($(this).data("selector")).removeClass(n),$(this).addClass(n)),$(e).hide(),$(e+`[data-block-id=${t}]`).show()});let body$h=$("body");$(body$h).on("click",".user-page__info-block__value--warnings",function(){let e=$(".user-page").data("user-id");showModalAjax($.get(route("warnings.ajax"),{user_id:e}),"#warnings_history_"+e,"Замечания пользователя")});$(body$h).on("click",".user-page__info-block__change--warnings",function(){let e=$(".user-page").data("user-id");showModalAjax($.get(route("warnings.form"),{user_id:e}),"#warnings_form","Выдать замечание")});$(body$h).on("click",".forum-message__warnings__number",function(){let e=$(this).data("user-id");showModalAjax($.get(route("warnings.ajax"),{user_id:e}),"#warnings_history_"+e)});const language={searching:()=>"Загрузка...",noResults:()=>"Ничего не найдено"};$("body").on("click",".input-container__toggle-button--mass-send",function(){let e="input-container__toggle-button--active";$(this).hasClass(e)?($(this).removeClass(e),$(this).parents(".input-container").find("select").prop("disabled",!1),$(this).parents(".input-container").find('input[name="is_group"]').val(0),$("#users_groups_select_container").hide()):($(this).addClass(e),$(this).parents(".input-container").find("select").prop("disabled",!0),$(this).parents(".input-container").find('input[name="is_group"]').val(1),$("#users_groups_select_container").show())});
38function showVisibleCounters(){$(".auth-panel__button__count, .mobile-menu__item__count").each(function(){$(this).text().trim()=="0"?$(this).hide():$(this).show()})}window.pm={updateCount(){$.post(route("pm.update")).done(e=>{e.status?(replaceHTML(e.data.html),setTimeout(()=>{showVisibleCounters()},1)):alert(e.text)})}};window.execOnMounted.push(function(){showVisibleCounters();const e=$("#users_autocomplete");$(e).length>0&&$(e).select2({language,ajax:{method:"GET",url:route("users.autocomplete"),dataType:"json",processResults:function({data:t}){return{results:t.users.map(n=>({id:n.id,text:n.username})),pagination:{more:t.users.length>0}}}}})});function _defineProperty$1(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toPrimitive(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return typeof t=="symbol"?t:t+""}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,i)}return n}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach(function(i){_defineProperty(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}var defaults$1={addCSS:!0,thumbWidth:15,watch:!0};function matches$1(e,t){return(function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function trigger$1(e,t){if(e&&t){var n=new Event(t,{bubbles:!0});e.dispatchEvent(n)}}var getConstructor$1=function(e){return e!=null?e.constructor:null},instanceOf$1=function(e,t){return!!(e&&t&&e instanceof t)},isNullOrUndefined$1=function(e){return e==null},isObject$1=function(e){return getConstructor$1(e)===Object},isNumber$1=function(e){return getConstructor$1(e)===Number&&!Number.isNaN(e)},isString$1=function(e){return getConstructor$1(e)===String},isBoolean$1=function(e){return getConstructor$1(e)===Boolean},isFunction$1=function(e){return getConstructor$1(e)===Function},isArray$1=function(e){return Array.isArray(e)},isNodeList$1=function(e){return instanceOf$1(e,NodeList)},isElement$1=function(e){return instanceOf$1(e,Element)},isEvent$1=function(e){return instanceOf$1(e,Event)},isEmpty$1=function(e){return isNullOrUndefined$1(e)||(isString$1(e)||isArray$1(e)||isNodeList$1(e))&&!e.length||isObject$1(e)&&!Object.keys(e).length},is$1={nullOrUndefined:isNullOrUndefined$1,object:isObject$1,number:isNumber$1,string:isString$1,boolean:isBoolean$1,function:isFunction$1,array:isArray$1,nodeList:isNodeList$1,element:isElement$1,event:isEvent$1,empty:isEmpty$1};function getDecimalPlaces(e){var t="".concat(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function round(e,t){if(1>t){var n=getDecimalPlaces(t);return parseFloat(e.toFixed(n))}return Math.round(e/t)*t}var RangeTouch=(function(){function e(t,n){_classCallCheck(this,e),is$1.element
vendor: 2,043 bytes, line 38
38(t)?this.element=t:is$1.string(t)&&(this.element=document.querySelector(t)),is$1.element(this.element)&&is$1.empty(this.element.rangeTouch)&&(this.config=_objectSpread2({},defaults$1,{},n),this.init())}return _createClass(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(t){var n=this,i=t?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach(function(s){n.element[i](s,function(r){return n.set(r)},!1)})}},{key:"get",value:function(t){if(!e.enabled||!is$1.event(t))return null;var n,i=t.target,s=t.changedTouches[0],r=parseFloat(i.getAttribute("min"))||0,a=parseFloat(i.getAttribute("max"))||100,l=parseFloat(i.getAttribute("step"))||1,u=i.getBoundingClientRect(),d=100/u.width*(this.config.thumbWidth/2)/100;return 0>(n=100/u.width*(s.clientX-u.left))?n=0:100<n&&(n=100),50>n?n-=(100-2*n)*d:50<n&&(n+=2*(n-50)*d),r+round(n/100*(a-r),l)}},{key:"set",value:function(t){e.enabled&&is$1.event(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),trigger$1(t.target,t.type==="touchend"?"change":"input"))}}],[{key:"setup",value:function(t){var n=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},i=null;if(is$1.empty(t)||is$1.string(t)?i=Array.from(document.querySelectorAll(is$1.string(t)?t:'input[type="range"]')):is$1.element(t)?i=[t]:is$1.nodeList(t)?i=Array.from(t):is$1.array(t)&&(i=t.filter(is$1.element)),is$1.empty(i))return null;var s=_objectSpread2({},defaults$1,{},n);if(is$1.string(t)&&s.watch){var r=new MutationObserver(function(a){Array.from(a).forEach(function(l){Array.from(l.addedNodes).forEach(function(u){is$1.element
38(u)&&matches$1(u,t)&&new e(u,s)})})});r.observe(document.body,{childList:!0,subtree:!0})}return i.map(function(a){return new e(a,n)})}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e})();const getConstructor=e=>e!==null&&typeof e<"u"?e.constructor:null,instanceOf=(e,t)=>!!(e&&t&&e instanceof t),isNullOrUndefined=e=>e===null||typeof e>"u",isObject$2=e=>getConstructor(e)===Object,isNumber=e=>getConstructor(e)===Number&&!Number.isNaN(e),isString$2=e=>getConstructor(e)===String,isBoolean=e=>getConstructor(e)===Boolean,isFunction$2=e=>typeof e=="function",isArray$2=e=>Array.isArray(e),isWeakMap=e=>instanceOf(e,WeakMap),isNodeList=e=>instanceOf(e,NodeList),isTextNode=e=>getConstructor(e)===Text,isEvent=e=>instanceOf(e,Event),isKeyboardEvent$1=e=>instanceOf(e,KeyboardEvent),isCue=e=>instanceOf(e,window.TextTrackCue)||instanceOf(e,window.VTTCue),isTrack=e=>instanceOf(e,TextTrack)||!isNullOrUndefined(e)&&isString$2(e.kind),isPromise$1=e=>instanceOf(e,Promise)&&isFunction$2(e.then);function isElement(e){return e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.style=="object"&&typeof e.ownerDocument=="object"}function isEmpty(e){return isNullOrUndefined(e)||(isString$2(e)||isArray$2(e)||isNodeList(e))&&!e.length||isObject$2(e)&&!Object.keys(e).length}function isUrl(e){if(instanceOf(e,window.URL))return!0;if(!isString$2(e))return!1;let t=e;(!e.startsWith("http://")||!e.startsWith("https://"))&&(t=`http://${e}`);try{return!isEmpty(new URL(t).hostname)}catch{return!1}}var is={nullOrUndefined:isNullOrUndefined,object:isObject$2,number:isNumber,string:isString$2,boolean:isBoolean,function:isFunction$2,array:isArray$2,weakMap:isWeakMap,nodeList:isNodeList,element:isElement,textNode:isTextNode,event:isEvent,keyboardEvent:isKeyboardEvent$1,cue:isCue,track:isTrack,promise:isPromise$1,url:isUrl,empty:isEmpty};const transitionEndEvent=(()=>{const e=document.createElement("span"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n=Object.keys(t).find(i=>e.style[i]!==void 0);return is.string(n)?t[n]:!1})();function repaint(e,t){setTimeout(()=>{try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch{}},t)}function cloneDeep(e){return JSON.parse(JSON.stringify(e))}function getDeep(e,t){return t.split(".").reduce((n,i)=>n&&n[i],e)}function extend$1(e={},...t){if(!t.length)return e;const n=t.shift();return is.object(n)?(Object.keys(n).forEach(i=>{is.object(n[i])?(Object.keys(e).includes(i)||Object.assign(e,{[i]:{}}),extend$1(e[i],n[i])):Object.assign(e,{[i]:n[i]})}),extend$1(e,...t)):e}function wrap(e,t){const n=e.length?e:[e];Array.from(n).reverse().forEach((i,s)=>{const r=s>0?t.cloneNode(!0):t,a=i.parentNode,l=i.nextSibling;r.appendChild(i),l?a.insertBefore(r,l):a.appendChild(r)})}function setAttributes(e,t){!is.element(e)||is.empty(t)||Object.entries(t).filter(([,n])=>!is.nullOrUndefined(n)).forEach(([n,i])=>e.setAttribute(n,i))}function createElement(e,t,n){const i=document.createElement(e);return is.object(t)&&setAttributes(i,t),is.string(n)&&(i.textContent=n),i}function insertAfter(e,t){!is.element(e)||!is.element(t)||t.parentNode.insertBefore(e,t.nextSibling)}function insertElement(e,t,n,i){is.element(t)&&t.appendChild(createElement(e,n,i))}function removeElement(e){if(is.nodeList(e)||is.array(e)){Array.from(e).forEach(removeElement);return}!is.element(e)||!is.element(e.parentNode)||e.parentNode.removeChild(e)}function emptyElement(e){if(!is.element(e))return;let{length:t}=e.childNodes;for(;t>0;)e.removeChild(e.lastChild),t-=1}function replaceElement(e,t){return!is.element(t)||!is.element(t.parentNode)||!is.element(e)?null:(t.parentNode.replaceChild(e,t),e)}function getAttributesFromSelector(e,t){if(!is.string(e)||is.empty(e))return{};const n={},i=extend$1({},t);return e.split(",").forEach(s=>{const r=s.trim(),a=r.replace(".",""),u=r.replace(/[[\]]/g,"").split("="),[d]=u,f=u.length>1?u[1].replace(/["']/g,""):"";switch(r.charAt(0)){case".":is.string(i.class)?n.class=`${i.class} ${a}`:n.class=a;break;case"#":n.id=r.replace("#","");break;case"[":n[d]=f;break}}),extend$1(i,n)}
38function toggleHidden(e,t){if(!is.element(e))return;let n=t;is.boolean(n)||(n=!e.hidden),e.hidden=n}function toggleClass(e,t,n){if(is.nodeList(e))return Array.from(e).map(i=>toggleClass(i,t,n));if(is.element(e)){let i="toggle";return typeof n<"u"&&(i=n?"add":"remove"),e.classList[i](t),e.classList.contains(t)}return!1}function hasClass(e,t){return is.element(e)&&e.classList.contains(t)}function matches$2(e,t){const{prototype:n}=Element;function i(){return Array.from(document.querySelectorAll(t)).includes(this)}return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||i).call(e,t)}function closest$1(e,t){const{prototype:n}=Element;function i(){let r=this;do{if(matches$2.matches(r,t))return r;r=r.parentElement||r.parentNode}while(r!==null&&r.nodeType===1);return null}return(n.closest||i).call(e,t)}function getElements(e){return this.elements.container.querySelectorAll(e)}function getElement(e){return this.elements.container.querySelector(e)}function setFocus(e=null,t=!1){is.element(e)&&e.focus({preventScroll:!0,focusVisible:t})}const defaultCodecs={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},support={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check(e,t){const n=support[e]||t!=="html5",i=n&&support.rangeInput;return{api:n,ui:i}},pip:document.pictureInPictureEnabled&&!createElement("video").disablePictureInPicture,airplay:is.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime(e){if(is.empty(e))return!1;const[t]=e.split("/");let n=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(defaultCodecs).includes(n)&&(n+=`; codecs="${defaultCodecs[e]}"`);try{return!!(n&&this.media.canPlayType(n).replace(/no/,""))}catch{return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(()=>{const e=document.createElement("input");return e.type="range",e.type==="range"})(),touch:"ontouchstart"in document.documentElement,transitions:transitionEndEvent!==!1,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},supportsPassiveListeners=(()=>{let e=!1;try{const t=Object.defineProperty({},"passive",{get(){return e=!0,null}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return e})();function toggleListener(e,t,n,i=!1,s=!0,r=!1){if(!e||!("addEventListener"in e)||is.empty(t)||!is.function(n))return;const a=t.split(" ");let l=r;supportsPassiveListeners&&(l={passive:s,capture:r}),a.forEach(u=>{this&&this.eventListeners&&i&&this.eventListeners.push({element:e,type:u,callback:n,options:l}),e[i?"addEventListener":"removeEventListener"](u,n,l)})}function on(e,t="",n,i=!0,s=!1){toggleListener.call(this,e,t,n,!0,i,s)}function off(e,t="",n,i=!0,s=!1){toggleListener.call(this,e,t,n,!1,i,s)}function once(e,t="",n,i=!0,s=!1){const r=(...a)=>{off(e,t,r,i,s),n.apply(this,a)};toggleListener.call(this,e,t,r,!0,i,s)}function triggerEvent$1(e,t="",n=!1,i={}){if(!is.element(e)||is.empty(t))return;const s=new CustomEvent(t,{bubbles:n,detail:{...i,plyr:this}});e.dispatchEvent(s)}function unbindListeners(){this&&this.eventListeners&&(this.eventListeners.forEach(e=>{const{element:t,type:n,callback:i,options:s}=e;t.removeEventListener(n,i,s)}),this.eventListeners=[])}function ready(){return new Promise(e=>this.ready?setTimeout(e,0):on.call(this,this.elements.container,"ready",e)).then(()=>{})}function silencePromise(e){is.promise(e)&&e.then(null,()=>{})}function dedupe(e){return is.array(e)?e.filter((t,n)=>e.indexOf(t)===n):e}function closest(e,t){return!is.array(e)||!e.length?null:e.reduce((n,i)=>Math.abs(i-t)<Math.abs(n-t)?i:n)}function supportsCSS(e){return!window||!window.CSS?!1:window.CSS.supports(e)}const standardRatios=[[1,1],[4,3],[3,4],[5,4],[4,5],[3,2],[2,3],[16,10],[10,16],[16,9],[9,16],[21,9],[9,21],[32,9],[9,32]].reduce((e,[t,n])=>({...e,[t/n]:[t,n]}),{});function validateAspectRatio(e){return!is.array(e)&&(!is.string(e)||!e.includes(":"))?!1:(is.array(e)?e:e.split(":")).map(Number).every(is.number)}function reduceAspectRatio(e){if(!is.array(e)||!e.every(is.number))return null;const[t,n]=e,i=(r,a)=>a===0?r:i(a,r%a),s=i(t,n);return[t/s,n/s]}function getAspectRatio(e){const t=i=>validateAspectRatio(i)?i.split(":").map(Number):null;let n=t(e);if(n===null&&(n=t(this.config.ratio)),n===null&&!is.empty(this.embed)&&is.array(this.embed.ratio)&&({ratio:n}=this.embed),n===null&&this.isHTML5){const{videoWidth:i,videoHeight:s}=this.media;n=[i,s]}return reduceAspectRatio(n)}function setAspectRatio(e){if(!this.isVideo)return{};const{wrapper:t}=this.elements,n=getAspectRatio.call(this,e);if(!is.array(n))return{};const[i,s]=reduceAspectRatio(n),r=supportsCSS(`aspect-ratio: ${i}/${s}`),a=100/i*s;if(r?t.style.aspectRatio=`${i}/${s}`:t.style.paddingBottom=`${a}%`,this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){const l=100/this.media.offsetWidth*Number.parseInt(window.getComputedStyle(this.media).paddingBottom,10),u=(l-a)/(l/50);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform=`translateY(-${u}%)`}else this.isHTML5&&t.classList.add(this.config.classNames.videoFixedRatio);return{padding:a,ratio:n}}function roundAspectRatio(e,t,n=.05){const i=e/t,s=closest(Object.keys(standardRatios),i);return Math.abs(s-i)<=n?standardRatios[s]:[e,t]}function getViewportSize(){const e=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),t=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0);return[e,t]}const html5={getSources(){return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(t=>{const n=t.getAttribute("type");return is.empty(n)?!0:support.mime.call(this,n)}):[]},getQualityOptions(){return this.config.quality.forced?this.config.quality.options:html5.getSources.call(this).map(e=>
38Number(e.getAttribute("size"))).filter(Boolean)},setup(){if(!this.isHTML5)return;const e=this;e.options.speed=e.config.speed.options,is.empty(this.config.ratio)||setAspectRatio.call(e),Object.defineProperty(e.media,"quality",{get(){const n=html5.getSources.call(e).find(i=>i.getAttribute("src")===e.source);return n&&Number(n.getAttribute("size"))},set(t){if(e.quality!==t){if(e.config.quality.forced&&is.function(e.config.quality.onChange))e.config.quality.onChange(t);else{const i=html5.getSources.call(e).find(d=>Number(d.getAttribute("size"))===t);if(!i)return;const{currentTime:s,paused:r,preload:a,readyState:l,playbackRate:u}=e.media;e.media.src=i.getAttribute("src"),(a!=="none"||l)&&(e.once("loadedmetadata",()=>{e.speed=u,e.currentTime=s,r||silencePromise(e.play())}),e.media.load())}triggerEvent$1.call(e,e.media,"qualitychange",!1,{quality:t})}}})},cancelRequests(){this.isHTML5&&(removeElement(html5.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}},isIE=!!window.document.documentMode,isEdge=/Edge/.test(navigator.userAgent),isWebKit="WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPadOS=navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,isIos=/iPad|iPhone|iPod/i.test(navigator.userAgent)&&navigator.maxTouchPoints>1;var browser={isIE,isEdge,isWebKit,isIPadOS,isIos};function generateId(e){return`${e}-${Math.floor(Math.random()*1e4)}`}function format(e,...t){return is.empty(e)?e:e.toString().replace(/\{(\d+)\}/g,(n,i)=>t[i].toString())}function getPercentage(e,t){return e===0||t===0||Number.isNaN(e)||Number.isNaN(t)?0:(e/t*100).toFixed(2)}function replaceAll(e="",t="",n=""){return e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),n.toString())}function toTitleCase(e=""){return e.toString().replace(/\w\S*/g,t=>t.charAt(0).toUpperCase()+t.slice(1).toLowerCase())}function toPascalCase(e=""){let t=e.toString();return t=replaceAll(t,"-"," "),t=replaceAll(t,"_"," "),t=toTitleCase(t),replaceAll(t," ","")}function toCamelCase(e=""){let t=e.toString();return t=toPascalCase(t),t.charAt(0).toLowerCase()+t.slice(1)}function stripHTML(e){const t=document.createDocumentFragment(),n=document.createElement("div");return t.appendChild(n),n.innerHTML=e,t.firstChild.textContent}function getHTML(e){const t=document.createElement("div");return t.appendChild(e),t.innerHTML}const resources={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},i18n={get(e="",t={}){if(is.empty(e)||is.empty(t))return"";let n=getDeep(t.i18n,e);if(is.empty(n))return Object.keys(resources).includes(e)?resources[e]:"";const i={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(i).forEach(([s,r])=>{n=replaceAll(n,s,r)}),n}};class Storage{constructor(t){_defineProperty$1(this,"get",n=>{if(!Storage.supported||!this.enabled)return null;const i=window.localStorage.getItem(this.key);if(is.empty(i))return null;const s=JSON.parse(i);return is.string(n)&&n.length?s[n]:s}),_defineProperty$1(this,"set",n=>{if(!Storage.supported||!this.enabled||!is.object(n))return;let i=this.get();is.empty(i)&&(i={}),extend$1(i,n);try{window.localStorage.setItem(this.key,JSON.stringify(i))}catch{}}),this.enabled=t.config.storage.enabled,this.key=t.config.storage.key}static get supported(){try{if(!("localStorage"in window))return!1;const t="___test";return window.localStorage.setItem(t,t),window.localStorage.removeItem(t),!0}catch{return!1}}}function fetch(e,t="text",n=!1){return new Promise((i,s)=>{try{const r=new XMLHttpRequest;if(!("withCredentials"in r))return;n&&(r.withCredentials=!0),r.addEventListener("load",()=>{if(t==="text")try{i(JSON.parse(r.responseText))}catch{i(r.responseText)}else i(r.response)}),r.addEventListener("error",()=>{throw new Error(r.status)}),r.open("GET",e,!0),r.responseType=t,r.send()}catch(r){s(r)}})}function loadSprite(e,t){if(!is.string(e))return;const n="cache",i=is.string(t);let s=!1;const r=()=>document.getElementById(t)!==null,a=(l,u)=>{l.innerHTML=u,!(i&&r())&&document.body.insertAdjacentElement("afterbegin",l)};if(!i||!r()){const l=Storage.supported,u=document.createElement("div");if(u.setAttribute("hidden",""),i&&u.setAttribute("id",t),l){const d=window.localStorage.getItem(`${n}-${t}`);if(s=d!==null,s){const f=JSON.parse(d);a(u,f.content)}}fetch(e).then(d=>{if(!is.empty(d)){if(l)try{window.localStorage.setItem(`${n}-${t}`,JSON.stringify({content:d}))}catch{}a(u,d)}}).catch(()=>{})}}const getHours=e=>Math.trunc(e/60/60%60,10),getMinutes=e=>Math.trunc(e/60%60,10),getSeconds=e=>Math.trunc(e%60,10);function formatTime(e=0,t=!1,n=!1){if(!is.number(e))return formatTime(void 0,t,n);const i=l=>`0${l}`.slice(-2);let s=getHours(e);const r=getMinutes(e),a=getSeconds(e);return t||s>0?s=`${s}:`:s="",`${n&&e>0?"-":""}${s}${i(r)}:${i(a)}`}const controls={getIconUrl(){const e=new URL(this.config.iconUrl,window.location),t=window.location.host?window.location.host:window.top.location.host,n=e.host!==t||browser.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:n}},findElements(){try{return this.elements.controls=getElement.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:getElements.call(this,this.config.selectors.buttons.play),pause:getElement.call(this,this.config.selectors.buttons.pause),restart:getElement.call(this,this.config.selectors.buttons.restart),rewind:getElement.call(this,this.config.selectors.buttons.rewind),fastForward:getElement.call(this,this.config.selectors.buttons.fastForward),mute:getElement.call(this,this.config.selectors.buttons.mute),pip:getElement.call(this,this.config.selectors.buttons.pip),airplay:getElement.call(this,this.config.selectors.buttons.airplay),settings:getElement.call(this,this.config.selectors.buttons.settings),captions:getElement.call(this,this.config.selectors.buttons.captions),fullscreen:getElement.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=getElement.call(this,this.config.selectors.progress),this.elements.inputs={seek:getElement.call(this,this.config.selectors.inputs.seek),volume:getElement.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:getElement.call(this,this.config.selectors.display.buffer),currentTime:getElement.call(this,this.config.selectors.display.currentTime),duration:getElement.call(this,this.config.selectors.display.duration)}
vendor: 4,146 bytes, line 38
38,is.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(`.${this.config.classNames.tooltip}`)),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon(e,t){const n="http://www.w3.org/2000/svg",i=controls.getIconUrl.call(this),s=`${i.cors?"":i.url}#${this.config.iconPrefix}`,r=document.createElementNS(n,"svg");setAttributes(r,extend$1(t,{"aria-hidden":"true",focusable:"false"}));const a=document.createElementNS(n,"use"),l=`${s}-${e}`;return"href"in a&&a.setAttributeNS("http://www.w3.org/1999/xlink","href",l),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l),r.appendChild(a),r},createLabel(e,t={}){const n=i18n.get(e,this.config),i={...t,class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")};return createElement("span",i,n)},createBadge(e){if(is.empty(e))return null;const t=createElement("span",{class:this.config.classNames.menu.value});return t.appendChild(createElement("span",{class:this.config.classNames.menu.badge},e)),t},createButton(e,t){const n=extend$1({},t);let i=toCamelCase(e);const s={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(a=>{Object.keys(n).includes(a)&&(s[a]=n[a],delete n[a])}),s.element==="button"&&!Object.keys(n).includes("type")&&(n.type="button"),Object.keys(n).includes("class")?n.class.split(" ").includes(this.config.classNames.control)||extend$1(n,{class:`${n.class} ${this.config.classNames.control}`}):n.class=this.config.classNames.control,e){case"play":s.toggle=!0,s.label="play",s.labelPressed="pause",s.icon="play",s.iconPressed="pause";break;case"mute":s.toggle=!0,s.label="mute",s.labelPressed="unmute",s.icon="volume",s.iconPressed="muted";break;case"captions":s.toggle=!0,s.label="enableCaptions",s.labelPressed="disableCaptions",s.icon="captions-off",s.iconPressed="captions-on";break;case"fullscreen":s.toggle=!0,s.label="enterFullscreen",s.labelPressed="exitFullscreen",s.icon="enter-fullscreen",s.iconPressed="exit-fullscreen";break;case"play-large":n.class+=` ${this.config.classNames.control}--overlaid`,i="play",s.label="play",s.icon="play";break;default:is.empty(s.label)&&(s.label=i),is.empty(s.icon)&&(s.icon=e)}const r=createElement(s.element);return s.toggle?(r.appendChild(controls.createIcon.call(this,s.iconPressed,{class:"icon--pressed"})),r.appendChild(controls.createIcon.call(this,s.icon,{class:"icon--not-pressed"})),r.appendChild(controls.createLabel.call(this,s.labelPressed,{class:"label--pressed"})),r.appendChild(controls.createLabel.call(this,s.label,{class:"label--not-pressed"}))):(r.appendChild(controls.createIcon.call(this,s.icon)),r.appendChild(controls.createLabel.call(this,s.label))),extend$1(n,getAttributesFromSelector(this.config.selectors.buttons[i],n)),setAttributes(r,n),i==="play"?(is.array(this.elements.buttons[i])||(this.elements.buttons[i]=[]),this.elements.buttons[i].push(r)):this.elements.buttons[i]=r,r},createRange(e,t){const n=createElement("input",extend$1(getAttributesFromSelector(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":i18n.get(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=n,controls.updateRangeFill.call(this,n),RangeTouch.setup(n),n},createProgress(e,t){const n=createElement("progress",extend$1(getAttributesFromSelector(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if(e!=="volume"){n.appendChild(createElement("span",null,"0"));const i={played:"played",buffer:"buffered"}[e],s=i?i18n.get(i,this.config):"";n.textContent=`% ${s.toLowerCase()}`}return this.elements.display[e]=n,n},createTime(e,t){const n=getAttributesFromSelector(this.config.selectors.display[e],t),i=createElement("div",extend$1(n,{class:`${n.class?n.class:""} ${this.config.classNames.display.time} `.trim(),"aria-label":i18n.get(e,this.config),role:"timer"}),"00:00");return this.elements.display[e]=i,i}
38,bindMenuItemShortcuts(e,t){on.call(this,e,"keydown keyup",n=>{if(![" ","ArrowUp","ArrowDown","ArrowRight"].includes(n.key)||(n.preventDefault(),n.stopPropagation(),n.type==="keydown"))return;const i=matches$2(e,'[role="menuitemradio"]');if(!i&&[" ","ArrowRight"].includes(n.key))controls.showMenuPanel.call(this,t,!0);else{let s;n.key!==" "&&(n.key==="ArrowDown"||i&&n.key==="ArrowRight"?(s=e.nextElementSibling,is.element(s)||(s=e.parentNode.firstElementChild)):(s=e.previousElementSibling,is.element(s)||(s=e.parentNode.lastElementChild)),setFocus.call(this,s,!0))}},!1),on.call(this,e,"keyup",n=>{n.key==="Return"&&controls.focusFirstMenuItem.call(this,null,!0)})},createMenuItem({value:e,list:t,type:n,title:i,badge:s=null,checked:r=!1}){const a=getAttributesFromSelector(this.config.selectors.inputs[n]),l=createElement("button",extend$1(a,{type:"button",role:"menuitemradio",class:`${this.config.classNames.control} ${a.class?a.class:""}`.trim(),"aria-checked":r,value:e})),u=createElement("span");u.innerHTML=i,is.element(s)&&u.appendChild(s),l.appendChild(u),Object.defineProperty(l,"checked",{enumerable:!0,get(){return l.getAttribute("aria-checked")==="true"},set(d){d&&Array.from(l.parentNode.children).filter(f=>matches$2(f,'[role="menuitemradio"]')).forEach(f=>f.setAttribute("aria-checked","false")),l.setAttribute("aria-checked",d?"true":"false")}}),this.listeners.bind(l,"click keyup",d=>{if(!(is.keyboardEvent(d)&&d.key!==" ")){switch(d.preventDefault(),d.stopPropagation(),l.checked=!0,n){case"language":this.currentTrack=Number(e);break;case"quality":this.quality=e;break;case"speed":this.speed=Number.parseFloat(e);break}controls.showMenuPanel.call(this,"home",is.keyboardEvent(d))}},n,!1),controls.bindMenuItemShortcuts.call(this,l,n),t.appendChild(l)},formatTime(e=0,t=!1){if(!is.number(e))return e;const n=getHours(this.duration)>0;return formatTime(e,n,t)},updateTimeDisplay(e=null,t=0,n=!1){!is.element(e)||!is.number(t)||(e.textContent=controls.formatTime(t,n))},updateVolume(){this.supported.ui&&(is.element(this.elements.inputs.volume)&&controls.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),is.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||this.volume===0))},setRange(e,t=0){is.element(e)&&(e.value=t,controls.updateRangeFill.call(this,e))},updateProgress(e){if(!this.supported.ui||!is.event(e))return;let t=0;const n=(i,s)=>{const r=is.number(s)?s:0,a=is.element(i)?i:this.elements.display.buffer;if(is.element(a)){a.value=r;const l=a.getElementsByTagName("span")[0];is.element(l)&&(l.childNodes[0].nodeValue=r)}};if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":t=getPercentage(this.currentTime,this.duration),e.type==="timeupdate"&&controls.setRange.call(this,this.elements.inputs.seek,t);break;case"playing":case"progress":n(this.elements.display.buffer,this.buffered*100);break}},updateRangeFill(e){const t=is.event(e)?e.target:e;if(!(!is.element(t)||t.getAttribute("type")!=="range")){if(matches$2(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);const n=controls.formatTime(this.currentTime),i=controls.formatTime(this.duration),s=i18n.get("seekLabel",this.config);t.setAttribute("aria-valuetext",s.replace("{currentTime}",n).replace("{duration}",i))}else if(matches$2(t,this.config.selectors.inputs.volume)){const n=t.value*100;t.setAttribute("aria-valuenow",n),t.setAttribute("aria-valuetext",`${n.toFixed(1)}%`)}else t.setAttribute("aria-valuenow",t.value);!browser.isWebKit&&!browser.isIPadOS||t.style.setProperty("--value",`${t.value/t.max*100}%`)}},updateSeekTooltip(e){var t,n;if(!this.config.tooltips.seek||!is.element(this.elements.inputs.seek)||!is.element(this.elements.display.seekTooltip)||this.duration===0)return;const i=this.elements.display.seekTooltip,s=`${this.config.classNames.tooltip}--visible`,r=f=>toggleClass(i,s,f);if(this.touch){r(!1);return}let a=0;const l=this.elements.progress.getBoundingClientRect();if(is.event(e)){const f=e.pageX-e.clientX;a=100/l.width*(e.pageX-l.left-f)}else if(hasClass(i,s))a=Number.parseFloat(i.style.left,10);else return;a<0?a=0:a>100&&(a=100);const u=this.duration/100*a;
38i.textContent=controls.formatTime(u);const d=(t=this.config.markers)===null||t===void 0||(n=t.points)===null||n===void 0?void 0:n.find(({time:f})=>f===Math.round(u));d&&i.insertAdjacentHTML("afterbegin",`${d.label}<br>`),i.style.left=`${a}%`,is.event(e)&&["mouseenter","mouseleave"].includes(e.type)&&r(e.type==="mouseenter")},timeUpdate(e){const t=!is.element(this.elements.display.duration)&&this.config.invertTime;controls.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),!(e&&e.type==="timeupdate"&&this.media.seeking)&&controls.updateProgress.call(this,e)},durationUpdate(){if(!this.supported.ui||!this.config.invertTime&&this.currentTime)return;if(this.duration>=2**32){toggleHidden(this.elements.display.currentTime,!0),toggleHidden(this.elements.progress,!0);return}is.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);const e=is.element(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&controls.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&controls.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),this.config.markers.enabled&&controls.setMarkers.call(this),controls.updateSeekTooltip.call(this)},toggleMenuButton(e,t){toggleHidden(this.elements.settings.buttons[e],!t)},updateSetting(e,t,n){const i=this.elements.settings.panels[e];let s=null,r=t;if(e==="captions")s=this.currentTrack;else{if(s=is.empty(n)?this[e]:n,is.empty(s)&&(s=this.config[e].default),!is.empty(this.options[e])&&!this.options[e].includes(s)){this.debug.warn(`Unsupported value of '${s}' for ${e}`);return}if(!this.config[e].options.includes(s)){this.debug.warn(`Disabled value of '${s}' for ${e}`);return}}if(is.element(r)||(r=i&&i.querySelector('[role="menu"]')),!is.element(r))return;const a=this.elements.settings.buttons[e].querySelector(`.${this.config.classNames.menu.value}`);a.innerHTML=controls.getLabel.call(this,e,s);const l=r&&r.querySelector(`[value="${s}"]`);is.element(l)&&(l.checked=!0)},getLabel(e,t){switch(e){case"speed":return t===1?i18n.get("normal",this.config):`${t}&times;`;case"quality":if(is.number(t)){const n=i18n.get(`qualityLabel.${t}`,this.config);return n.length?n:`${t}p`}return toTitleCase(t);case"captions":return captions.getLabel.call(this);default:return null}},setQualityMenu(e){if(!is.element(this.elements.settings.panels.quality))return;const t="quality",n=this.elements.settings.panels.quality.querySelector('[role="menu"]');is.array(e)&&(this.options.quality=dedupe(e).filter(r=>this.config.quality.options.includes(r)));const i=!is.empty(this.options.quality)&&this.options.quality.length>1;if(controls.toggleMenuButton.call(this,t,i),emptyElement(n),controls.checkMenu.call(this),!i)return;const s=r=>{const a=i18n.get(`qualityBadge.${r}`,this.config);return a.length?controls.createBadge.call(this,a):null};this.options.quality.sort((r,a)=>{const l=this.config.quality.options;return l.indexOf(r)>l.indexOf(a)?1:-1}).forEach(r=>{controls.createMenuItem.call(this,{value:r,list:n,type:t,title:controls.getLabel.call(this,"quality",r),badge:s(r)})}),controls.updateSetting.call(this,t,n)},setCaptionsMenu(){if(!is.element(this.elements.settings.panels.captions))return;const e="captions",t=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=captions.getTracks.call(this),i=!!n.length;if(controls.toggleMenuButton.call(this,e,i),emptyElement(t),controls.checkMenu.call(this),!i)return;const s=n.map((r,a)=>({value:a,checked:this.captions.toggled&&this.currentTrack===a,title:captions.getLabel.call(this,r),badge:r.language&&controls.createBadge.call(this,r.language.toUpperCase()),list:t,type:"language"}));s.unshift({value:-1,checked:!this.captions.toggled,title:i18n.get("disabled",this.config),list:t,type:"language"}),s.forEach(controls.createMenuItem.bind(this)),controls.updateSetting.call(this,e,t)},setSpeedMenu(){if(!is.element(this.elements.settings.panels.speed))return;const e="speed",t=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter(i=>i>=this.minimumSpeed&&i<=this.maximumSpeed);const n=!is.empty(this.options.speed)&&this.options.speed.length>1;controls.toggleMenuButton.call(this,e,n),emptyElement(t),controls.checkMenu.call(this),n&&(this.options.speed.forEach(i=>
38{controls.createMenuItem.call(this,{value:i,list:t,type:e,title:controls.getLabel.call(this,"speed",i)})}),controls.updateSetting.call(this,e,t))},checkMenu(){const{buttons:e}=this.elements.settings,t=!is.empty(e)&&Object.values(e).some(n=>!n.hidden);toggleHidden(this.elements.settings.menu,!t)},focusFirstMenuItem(e,t=!1){if(this.elements.settings.popup.hidden)return;let n=e;is.element(n)||(n=Object.values(this.elements.settings.panels).find(s=>!s.hidden));const i=n.querySelector('[role^="menuitem"]');setFocus.call(this,i,t)},toggleMenu(e){const{popup:t}=this.elements.settings,n=this.elements.buttons.settings;if(!is.element(t)||!is.element(n))return;const{hidden:i}=t;let s=i;if(is.boolean(e))s=e;else if(is.keyboardEvent(e)&&e.key==="Escape")s=!1;else if(is.event(e)){const r=is.function(e.composedPath)?e.composedPath()[0]:e.target,a=t.contains(r);if(a||!a&&e.target!==n&&s)return}n.setAttribute("aria-expanded",s),toggleHidden(t,!s),toggleClass(this.elements.container,this.config.classNames.menu.open,s),s&&is.keyboardEvent(e)?controls.focusFirstMenuItem.call(this,null,!0):!s&&!i&&setFocus.call(this,n,is.keyboardEvent(e))},getMenuSize(e){const t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);const n=t.scrollWidth,i=t.scrollHeight;return removeElement(t),{width:n,height:i}},showMenuPanel(e="",t=!1){const n=this.elements.container.querySelector(`#plyr-settings-${this.id}-${e}`);if(!is.element(n))return;const i=n.parentNode,s=Array.from(i.children).find(r=>!r.hidden);if(support.transitions&&!support.reducedMotion){i.style.width=`${s.scrollWidth}px`,i.style.height=`${s.scrollHeight}px`;const r=controls.getMenuSize.call(this,n),a=l=>{l.target!==i||!["width","height"].includes(l.propertyName)||(i.style.width="",i.style.height="",off.call(this,i,transitionEndEvent,a))};on.call(this,i,transitionEndEvent,a),i.style.width=`${r.width}px`,i.style.height=`${r.height}px`}toggleHidden(s,!0),toggleHidden(n,!1),controls.focusFirstMenuItem.call(this,n,t)}
38,setDownloadUrl(){const e=this.elements.buttons.download;is.element(e)&&e.setAttribute("href",this.download)},create(e){const{bindMenuItemShortcuts:t,createButton:n,createProgress:i,createRange:s,createTime:r,setQualityMenu:a,setSpeedMenu:l,showMenuPanel:u}=controls;this.elements.controls=null,is.array(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(n.call(this,"play-large"));const d=createElement("div",getAttributesFromSelector(this.config.selectors.controls.wrapper));this.elements.controls=d;const f={class:"plyr__controls__item"};return dedupe(is.array(this.config.controls)?this.config.controls:[]).forEach(g=>{if(g==="restart"&&d.appendChild(n.call(this,"restart",f)),g==="rewind"&&d.appendChild(n.call(this,"rewind",f)),g==="play"&&d.appendChild(n.call(this,"play",f)),g==="fast-forward"&&d.appendChild(n.call(this,"fast-forward",f)),g==="progress"){const v=createElement("div",{class:`${f.class} plyr__progress__container`}),E=createElement("div",getAttributesFromSelector(this.config.selectors.progress));if(E.appendChild(s.call(this,"seek",{id:`plyr-seek-${e.id}`})),E.appendChild(i.call(this,"buffer")),this.config.tooltips.seek){const S=createElement("span",{class:this.config.classNames.tooltip},"00:00");E.appendChild(S),this.elements.display.seekTooltip=S}this.elements.progress=E,v.appendChild(this.elements.progress),d.appendChild(v)}if(g==="current-time"&&d.appendChild(r.call(this,"currentTime",f)),g==="duration"&&d.appendChild(r.call(this,"duration",f)),g==="mute"||g==="volume"){let{volume:v}=this.elements;if((!is.element(v)||!d.contains(v))&&(v=createElement("div",extend$1({},f,{class:`${f.class} plyr__volume`.trim()})),this.elements.volume=v,d.appendChild(v)),g==="mute"&&v.appendChild(n.call(this,"mute")),g==="volume"&&!browser.isIos&&!browser.isIPadOS){const E={max:1,step:.05,value:this.config.volume};v.appendChild(s.call(this,"volume",extend$1(E,{id:`plyr-volume-${e.id}`})))}}if(g==="captions"&&d.appendChild(n.call(this,"captions",f)),g==="settings"&&!is.empty(this.config.settings)){const v=createElement("div",extend$1({},f,{class:`${f.class} plyr__menu`.trim(),hidden:""}));v.appendChild(n.call(this,"settings",{"aria-haspopup":!0,"aria-controls":`plyr-settings-${e.id}`,"aria-expanded":!1}));const E=createElement("div",{class:"plyr__menu__container",id:`plyr-settings-${e.id}`,hidden:""}),S=createElement("div"),A=createElement("div",{id:`plyr-settings-${e.id}-home`}),j=createElement("div",{role:"menu"});A.appendChild(j),S.appendChild(A),this.elements.settings.panels.home=A,this.config.settings.forEach(O=>{const R=createElement("button",extend$1(getAttributesFromSelector(this.config.selectors.buttons.settings),{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--forward`,role:"menuitem","aria-haspopup":!0,hidden:""}));t.call(this,R,O),on.call(this,R,"click",()=>{u.call(this,O,!1)});const x=createElement("span",null,i18n.get(O,this.config)),k=createElement("span",{class:this.config.classNames.menu.value});k.innerHTML=e[O],x.appendChild(k),R.appendChild(x),j.appendChild(R);const V=createElement("div",{id:`plyr-settings-${e.id}-${O}`,hidden:""}),Z=createElement("button",{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--back`});Z.appendChild(createElement("span",{"aria-hidden":!0},i18n.get(O,this.config))),Z.appendChild(createElement("span",{class:this.config.classNames.hidden},i18n.get("menuBack",this.config))),on.call(this,V,"keydown",b=>{b.key==="ArrowLeft"&&(b.preventDefault(),b.stopPropagation(),u.call(this,"home",!0))},!1),on.call(this,Z,"click",()=>{u.call(this,"home",!1)}),V.appendChild(Z),V.appendChild(createElement("div",{role:"menu"})),S.appendChild(V),this.elements.settings.buttons[O]=R,this.elements.settings.panels[O]=V}),E.appendChild(S),v.appendChild(E),d.appendChild(v),this.elements.settings.popup=E,this.elements.settings.menu=v}if(g==="pip"&&support.pip&&d.appendChild(n.call(this,"pip",f)),g==="airplay"&&support.airplay&&d.appendChild(n.call(this,"airplay",f)),g==="download"){const v=extend$1({},f,{element:"a",href:this.download,target:"_blank"});this.isHTML5&&(v.download="");const{download:E}=this.config.urls;!is.url(E)&&this.isEmbed&&extend$1(v,{icon:`logo-${this.provider}`,label:this.provider}),d.appendChild(n.call(this,"download",v))}g==="fullscreen"&&d.appendChild(n.call(this,"fullscreen",f))}),this.isHTML5&&a.call(this,html5.getQualityOptions.call(this)),l.call(this),d},inject(){if(this.config.loadSprite){const a=controls.getIconUrl.call(this);a.cors&&loadSprite(a.url,"sprite-plyr")}this.id=Math.floor(Math.random()*1e4);let e=null;this.elements.controls=null;const t={id:this.id,seektime:this.config.seekTime,title:this.config.title};let n=!0;
38is.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,t)),this.config.controls||(this.config.controls=[]),is.element(this.config.controls)||is.string(this.config.controls)?e=this.config.controls:(e=controls.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:captions.getLabel.call(this)}),n=!1);const i=a=>{let l=a;return Object.entries(t).forEach(([u,d])=>{l=replaceAll(l,`{${u}}`,d)}),l};n&&is.string(this.config.controls)&&(e=i(e));let s;is.string(this.config.selectors.controls.container)&&(s=document.querySelector(this.config.selectors.controls.container)),is.element(s)||(s=this.elements.container);const r=is.element(e)?"insertAdjacentElement":"insertAdjacentHTML";if(s[r]("afterbegin",e),is.element(this.elements.controls)||controls.findElements.call(this),!is.empty(this.elements.buttons)){const a=l=>{const u=this.config.classNames.controlPressed;l.setAttribute("aria-pressed","false"),Object.defineProperty(l,"pressed",{configurable:!0,enumerable:!0,get(){return hasClass(l,u)},set(d=!1){toggleClass(l,u,d),l.setAttribute("aria-pressed",d?"true":"false")}})};Object.values(this.elements.buttons).filter(Boolean).forEach(l=>{is.array(l)||is.nodeList(l)?Array.from(l).filter(Boolean).forEach(a):a(l)})}if(browser.isEdge&&repaint(s),this.config.tooltips.controls){const{classNames:a,selectors:l}=this.config,u=`${l.controls.wrapper} ${l.labels} .${a.hidden}`,d=getElements.call(this,u);Array.from(d).forEach(f=>{toggleClass(f,this.config.classNames.hidden,!1),toggleClass(f,this.config.classNames.tooltip,!0)})}},setMediaMetadata(){try{"mediaSession"in navigator&&(navigator.mediaSession.metadata=new window.MediaMetadata({title:this.config.mediaMetadata.title,artist:this.config.mediaMetadata.artist,album:this.config.mediaMetadata.album,artwork:this.config.mediaMetadata.artwork}))}catch{}},setMarkers(){var e,t;if(!this.duration||this.elements.markers)return;const n=(e=this.config.markers)===null||e===void 0||(t=e.points)===null||t===void 0?void 0:t.filter(({time:u})=>u>0&&u<this.duration);if(!(n!=null&&n.length))return;const i=document.createDocumentFragment(),s=document.createDocumentFragment();let r=null;const a=`${this.config.classNames.tooltip}--visible`,l=u=>toggleClass(r,a,u);n.forEach(u=>{const d=createElement("span",{class:this.config.classNames.marker},""),f=`${u.time/this.duration*100}%`;r&&(d.addEventListener("mouseenter",()=>{u.label||(r.style.left=f,r.innerHTML=u.label,l(!0))}),d.addEventListener("mouseleave",()=>{l(!1)})),d.addEventListener("click",()=>{this.currentTime=u.time}),d.style.left=f,s.appendChild(d)}),i.appendChild(s),this.config.tooltips.seek||(r=createElement("span",{class:this.config.classNames.tooltip},""),i.appendChild(r)),this.elements.markers={points:s,tip:r},this.elements.progress.appendChild(i)}};function parseUrl(e,t=!0){let n=e;if(t){const i=document.createElement("a");i.href=n,n=i.href}try{return new URL(n)}catch{return null}}function buildUrlParams(e){const t=new URLSearchParams;return is.object(e)&&Object.entries(e).forEach(([n,i])=>{t.set(n,i)}),t}const captions={setup(){if(!this.supported.ui)return;if(!this.isVideo||this.isYouTube||this.isHTML5&&!support.textTracks){is.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&controls.setCaptionsMenu.call(this);return}if(is.element(this.elements.captions)||(this.elements.captions=createElement("div",getAttributesFromSelector(this.config.selectors.captions)),this.elements.captions.setAttribute("dir","auto"),insertAfter(this.elements.captions,this.elements.wrapper)),browser.isIE&&window.URL){const s=this.media.querySelectorAll("track");Array.from(s).forEach(r=>{const a=r.getAttribute("src"),l=parseUrl(a);l!==null&&l.hostname!==window.location.href.hostname&&["http:","https:"].includes(l.protocol)&&fetch(a,"blob").then(u=>{r.setAttribute("src",window.URL.createObjectURL(u))}).catch(()=>{removeElement(r)})})}const e=navigator.languages||[navigator.language||navigator.userLanguage||"en"],t=dedupe(e.map(s=>s.split("-")[0]));let n=(this.storage.get("language")||this.captions.language||this.config.captions.language||"auto").toLowerCase();n==="auto"&&([n]=t);let i=this.storage.get("captions")||this.captions.active;if(is.boolean(i)||({active:i}=this.config.captions),Object.assign(this.captions,{toggled:!1,active:i,language:n,languages:t}),this.isHTML5){const s=this.config.captions.update?"addtrack removetrack":"removetrack";on.call(this,this.media.textTracks,s,captions.update.bind(this))}setTimeout(captions.update.bind(this),0)},update(){const e=captions.getTracks.call(this,!0),{active:t,language:n,meta:i,currentTrackNode:s}=this.captions,r=!!e.find(a=>a.language===n);this.isHTML5&&this.isVideo&&e.filter(a=>
38!i.get(a)).forEach(a=>{this.debug.log("Track added",a),i.set(a,{default:a.mode==="showing"}),a.mode==="showing"&&(a.mode="hidden"),on.call(this,a,"cuechange",()=>captions.updateCues.call(this))}),(r&&this.language!==n||!e.includes(s))&&(captions.setLanguage.call(this,n),captions.toggle.call(this,t&&r)),this.elements&&toggleClass(this.elements.container,this.config.classNames.captions.enabled,!is.empty(e)),is.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&controls.setCaptionsMenu.call(this)},toggle(e,t=!0){if(!this.supported.ui)return;const{toggled:n}=this.captions,i=this.config.classNames.captions.active,s=is.nullOrUndefined(e)?!n:e;if(s!==n){if(t||(this.captions.active=s,this.storage.set({captions:s})),!this.language&&s&&!t){const r=captions.getTracks.call(this),a=captions.findTrack.call(this,[this.captions.language,...this.captions.languages],!0);this.captions.language=a.language,captions.set.call(this,r.indexOf(a));return}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=s),toggleClass(this.elements.container,i,s),this.captions.toggled=s,controls.updateSetting.call(this,"captions"),triggerEvent$1.call(this,this.media,s?"captionsenabled":"captionsdisabled")}setTimeout(()=>{s&&this.captions.toggled&&(this.captions.currentTrackNode.mode="hidden")})},set(e,t=!0){const n=captions.getTracks.call(this);if(e===-1){captions.toggle.call(this,!1,t);return}if(!is.number(e)){this.debug.warn("Invalid caption argument",e);return}if(!(e in n)){this.debug.warn("Track not found",e);return}if(this.captions.currentTrack!==e){this.captions.currentTrack=e;const i=n[e],{language:s}=i||{};this.captions.currentTrackNode=i,controls.updateSetting.call(this,"captions"),t||(this.captions.language=s,this.storage.set({language:s})),this.isVimeo&&this.embed.enableTextTrack(s,null,!1),triggerEvent$1.call(this,this.media,"languagechange")}captions.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&captions.updateCues.call(this)},setLanguage(e,t=!0){if(!is.string(e)){this.debug.warn("Invalid language argument",e);return}const n=e.toLowerCase();this.captions.language=n;const i=captions.getTracks.call(this),s=captions.findTrack.call(this,[n]);captions.set.call(this,i.indexOf(s),t)},getTracks(e=!1){return Array.from((this.media||{}).textTracks||[]).filter(n=>!this.isHTML5||e||this.captions.meta.has(n)).filter(n=>["captions","subtitles"].includes(n.kind))},findTrack(e,t=!1){const n=captions.getTracks.call(this),i=a=>Number((this.captions.meta.get(a)||{}).default),s=Array.from(n).sort((a,l)=>i(l)-i(a));let r;return e.every(a=>(r=s.find(l=>l.language===a),!r)),r||(t?s[0]:void 0)},getCurrentTrack(){return captions.getTracks.call(this)[this.currentTrack]},getLabel(e){let t=e;return!is.track(t)&&support.textTracks&&this.captions.toggled&&(t=captions.getCurrentTrack.call(this)),is.track(t)?is.empty(t.label)?is.empty(t.language)?i18n.get("enabled",this.config):e.language.toUpperCase():t.label:i18n.get("disabled",this.config)},updateCues(e){if(!this.supported.ui)return;if(!is.element(this.elements.captions)){this.debug.warn("No captions element to render to");return}if(!is.nullOrUndefined(e)&&!Array.isArray(e)){this.debug.warn("updateCues: Invalid input",e);return}let t=e;if(!t){const s=captions.getCurrentTrack.call(this);t=Array.from((s||{}).activeCues||[]).map(r=>r.getCueAsHTML()).map(getHTML)}const n=t.map(s=>s.trim()).join(`
39`);if(n!==this.elements.captions.innerHTML){emptyElement(this.elements.captions);const s=createElement("span",getAttributesFromSelector(this.config.selectors.caption));s.innerHTML=n,this.elements.captions.appendChild(s),triggerEvent$1.call(this,this.media,"cuechange")}}},defaults={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.8.4/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"S
39D"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",marker:"plyr__progress__marker",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id",hash:"data-plyr-embed-hash"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:"",withCredentials:!1},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1},mediaMetadata:{title:"",artist:"",album:"",artwork:[]},markers:{enabled:!1,points:[]}},pip={active:"picture-in-picture",inactive:"inline"},providers={html5:"html5",youtube:"youtube",vimeo:"vimeo"},types={audio:"audio",video:"video"};function getProviderByUrl(e){return/^(?:https?:\/\/)?(?:www\.)?(?:youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?providers.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?providers.vimeo:null}function noop$1(){}class Console{constructor(t=!1){this.enabled=window.console&&t,this.enabled&&this.log("Debugging enabled")}get log(){return this.enabled?Function.prototype.bind.call(console.log,console):noop$1}get warn(){return this.enabled?Function.prototype.bind.call(console.warn,console):noop$1}get error(){return this.enabled?Function.prototype.bind.call(console.error,console):noop$1}}class Fullscreen{constructor(t){_defineProperty$1(this,"onChange",()=>{if(!this.supported)return;const n=this.player.elements.buttons.fullscreen;
39is.element(n)&&(n.pressed=this.active);const i=this.target===this.player.media?this.target:this.player.elements.container;triggerEvent$1.call(this.player,i,this.active?"enterfullscreen":"exitfullscreen",!0)}),_defineProperty$1(this,"toggleFallback",(n=!1)=>{if(n){var i,s;this.scrollPosition={x:(i=window.scrollX)!==null&&i!==void 0?i:0,y:(s=window.scrollY)!==null&&s!==void 0?s:0}}else window.scrollTo(this.scrollPosition.x,this.scrollPosition.y);if(document.body.style.overflow=n?"hidden":"",toggleClass(this.target,this.player.config.classNames.fullscreen.fallback,n),browser.isIos){let r=document.head.querySelector('meta[name="viewport"]');const a="viewport-fit=cover";r||(r=document.createElement("meta"),r.setAttribute("name","viewport"));const l=is.string(r.content)&&r.content.includes(a);n?(this.cleanupViewport=!l,l||(r.content+=`,${a}`)):this.cleanupViewport&&(r.content=r.content.split(",").filter(u=>u.trim()!==a).join(","))}this.onChange()}),_defineProperty$1(this,"trapFocus",n=>{if(browser.isIos||browser.isIPadOS||!this.active||n.key!=="Tab")return;const i=document.activeElement,s=getElements.call(this.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),[r]=s,a=s[s.length-1];i===a&&!n.shiftKey?(r.focus(),n.preventDefault()):i===r&&n.shiftKey&&(a.focus(),n.preventDefault())}),_defineProperty$1(this,"update",()=>{if(this.supported){let n;this.forceFallback?n="Fallback (forced)":Fullscreen.nativeSupported?n="Native":n="Fallback",this.player.debug.log(`${n} fullscreen enabled`)}else this.player.debug.log("Fullscreen not supported and fallback disabled");toggleClass(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.supported)}),_defineProperty$1(this,"enter",()=>{this.supported&&(browser.isIos&&this.player.config.fullscreen.iosNative?this.player.isVimeo?this.player.embed.requestFullscreen():this.target.webkitEnterFullscreen():!Fullscreen.nativeSupported||this.forceFallback?this.toggleFallback(!0):this.prefix?is.empty(this.prefix)||this.target[`${this.prefix}Request${this.property}`]():this.target.requestFullscreen({navigationUI:"hide"}))}),_defineProperty$1(this,"exit",()=>{if(this.supported){if(browser.isIos&&this.player.config.fullscreen.iosNative)this.player.isVimeo?this.player.embed.exitFullscreen():this.target.webkitEnterFullscreen(),silencePromise(this.player.play());else if(!Fullscreen.nativeSupported||this.forceFallback)this.toggleFallback(!1);else if(!this.prefix)(document.cancelFullScreen||document.exitFullscreen).call(document);else if(!is.empty(this.prefix)){const n=this.prefix==="moz"?"Cancel":"Exit";document[`${this.prefix}${n}${this.property}`]()}}}),_defineProperty$1(this,"toggle",()=>{this.active?this.exit():this.enter()}),this.player=t,this.prefix=Fullscreen.prefix,this.property=Fullscreen.property,this.scrollPosition={x:0,y:0},this.forceFallback=t.config.fullscreen.fallback==="force",this.player.elements.fullscreen=t.config.fullscreen.container&&closest$1(this.player.elements.container,t.config.fullscreen.container),on.call(this.player,document,this.prefix==="ms"?"MSFullscreenChange":`${this.prefix}fullscreenchange`,()=>{this.onChange()}),on.call(this.player,this.player.elements.container,"dblclick",n=>{is.element(this.player.elements.controls)&&this.player.elements.controls.contains(n.target)||this.player.listeners.proxy(n,this.toggle,"fullscreen")}),on.call(this,this.player.elements.container,"keydown",n=>this.trapFocus(n)),this.update()}static get nativeSupported(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}get useNative(){return Fullscreen.nativeSupported&&!this.forceFallback}static get prefix(){if(is.function(document.exitFullscreen))return"";let t="";return["webkit","moz","ms"].some(i=>is.function(document[`${i}ExitFullscreen`])||is.function(document[`${i}CancelFullScreen`])?(t=i,!0):!1),t}static get property(){return this.prefix==="moz"?"FullScreen":"Fullscreen"}get supported(){return[this.player.config.fullscreen.enabled,this.player.isVideo,Fullscreen.nativeSupported||this.player.config.fullscreen.fallback,!this.player.isYouTube||Fullscreen.nativeSupported||!browser.isIos||this.player.config.playsinline&&!this.player.config.fullscreen.iosNative].every(Boolean)}get active(){if(!this.supported)return!1;if(!Fullscreen.nativeSupported||this.forceFallback)return hasClass(this.target,this.player.config.classNames.fullscreen.fallback);const t=this.prefix?this.target.getRootNode()[`${this.prefix}${this.property}Element`]:this.target.getRootNode().fullscreenElement;return t&&t.shadowRoot?t===this.target.getRootNode().host:t===this.target}get target(){var t;return browser.isIos&&this.player.config.fullscreen.iosNative?this.player.media:(t=this.player.elements.fullscreen)!==null&&t!==void 0?t:this.player.elements.container}}
vendor: 4,118 bytes, line 39
39function loadImage(e,t=1){return new Promise((n,i)=>{const s=new Image,r=()=>{delete s.onload,delete s.onerror,(s.naturalWidth>=t?n:i)(s)};Object.assign(s,{onload:r,onerror:r,src:e})})}const ui={addStyleHook(){toggleClass(this.elements.container,this.config.selectors.container.replace(".",""),!0),toggleClass(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls(e=!1){e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build(){if(this.listeners.media(),!this.supported.ui){this.debug.warn(`Basic support only for ${this.provider} ${this.type}`),ui.toggleNativeControls.call(this,!0);return}is.element(this.elements.controls)||(controls.inject.call(this),this.listeners.controls()),ui.toggleNativeControls.call(this),this.isHTML5&&captions.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,controls.updateVolume.call(this),controls.timeUpdate.call(this),controls.durationUpdate.call(this),ui.checkPlaying.call(this),toggleClass(this.elements.container,this.config.classNames.pip.supported,support.pip&&this.isHTML5&&this.isVideo),toggleClass(this.elements.container,this.config.classNames.airplay.supported,support.airplay&&this.isHTML5),toggleClass(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(()=>{triggerEvent$1.call(this,this.media,"ready")},0),ui.setTitle.call(this),this.poster&&ui.setPoster.call(this,this.poster,!1).catch(()=>{}),this.config.duration&&controls.durationUpdate.call(this),this.config.mediaMetadata&&controls.setMediaMetadata.call(this)},setTitle(){let e=i18n.get("play",this.config);if(is.string(this.config.title)&&!is.empty(this.config.title)&&(e+=`, ${this.config.title}`),Array.from(this.elements.buttons.play||[]).forEach(t=>{t.setAttribute("aria-label",e)}),this.isEmbed){const t=getElement.call(this,"iframe");if(!is.element(t))return;const n=is.empty(this.config.title)?"video":this.config.title,i=i18n.get("frameTitle",this.config);t.setAttribute("title",i.replace("{title}",n))}},togglePoster(e){toggleClass(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster(e,t=!0){return t&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",e),this.elements.poster.removeAttribute("hidden"),ready.call(this).then(()=>loadImage(e)).catch(n=>{throw e===this.poster&&ui.togglePoster.call(this,!1),n}).then(()=>{if(e!==this.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(()=>(Object.assign(this.elements.poster.style,{backgroundImage:`url('${e}')`,backgroundSize:""}),ui.togglePoster.call(this,!0),e)))},checkPlaying(e){toggleClass(this.elements.container,this.config.classNames.playing,this.playing),toggleClass(this.elements.container,this.config.classNames.paused,this.paused),toggleClass(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(t=>{Object.assign(t,{pressed:this.playing}),t.setAttribute("aria-label",i18n.get(this.playing?"pause":"play",this.config))}),!(is.event(e)&&e.type==="timeupdate")&&ui.toggleControls.call(this)},checkLoading(e){this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(()=>{toggleClass(this.elements.container,this.config.classNames.loading,this.loading),ui.toggleControls.call(this)},this.loading?250:0)},toggleControls(e){const{controls:t}=this.elements;if(t&&this.config.hideControls){const n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(!!(e||this.loading||this.paused||t.pressed||t.hover||n))}},migrateStyles(){Object.values({...this.media.style}).filter(e=>!is.empty(e)&&is.string(e)&&e.startsWith("--plyr")).forEach(e=>{this.elements.container.style.setProperty(e,this.media.style.getPropertyValue(e)),this.media.style.removeProperty(e)}),is.empty(this.media.style)&&this.media.removeAttribute("style")}};class Listeners{constructor(t){_defineProperty$1(this,"firstTouch",()=>{const{player:n}=this,{elements:i}=n;
39n.touch=!0,toggleClass(i.container,n.config.classNames.isTouch,!0)}),_defineProperty$1(this,"global",(n=!0)=>{const{player:i}=this;i.config.keyboard.global&&toggleListener.call(i,window,"keydown keyup",this.handleKey,n,!1),toggleListener.call(i,document.body,"click",this.toggleMenu,n),once.call(i,document.body,"touchstart",this.firstTouch)}),_defineProperty$1(this,"container",()=>{const{player:n}=this,{config:i,elements:s,timers:r}=n;!i.keyboard.global&&i.keyboard.focused&&on.call(n,s.container,"keydown keyup",this.handleKey,!1),on.call(n,s.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",u=>{const{controls:d}=s;d&&u.type==="enterfullscreen"&&(d.pressed=!1,d.hover=!1);const f=["touchstart","touchmove","mousemove"].includes(u.type);let g=0;f&&(ui.toggleControls.call(n,!0),g=n.touch?3e3:2e3),clearTimeout(r.controls),r.controls=setTimeout(()=>ui.toggleControls.call(n,!1),g)});const a=()=>{if(!n.isVimeo||n.config.vimeo.premium)return;const u=s.wrapper,{active:d}=n.fullscreen,[f,g]=getAspectRatio.call(n),v=supportsCSS(`aspect-ratio: ${f} / ${g}`);if(!d){v?(u.style.width=null,u.style.height=null):(u.style.maxWidth=null,u.style.margin=null);return}const[E,S]=getViewportSize(),A=E/S>f/g;v?(u.style.width=A?"auto":"100%",u.style.height=A?"100%":"auto"):(u.style.maxWidth=A?`${S/g*f}px`:null,u.style.margin=A?"0 auto":null)},l=()=>{clearTimeout(r.resized),r.resized=setTimeout(a,50)};on.call(n,s.container,"enterfullscreen exitfullscreen",u=>{const{target:d}=n.fullscreen;if(d!==s.container||!n.isEmbed&&is.empty(n.config.ratio))return;a(),(u.type==="enterfullscreen"?on:off).call(n,window,"resize",l)})}),_defineProperty$1(this,"media",()=>{const{player:n}=this,{elements:i}=n;if(on.call(n,n.media,"timeupdate seeking seeked",r=>controls.timeUpdate.call(n,r)),on.call(n,n.media,"durationchange loadeddata loadedmetadata",r=>controls.durationUpdate.call(n,r)),on.call(n,n.media,"ended",()=>{n.isHTML5&&n.isVideo&&n.config.resetOnEnd&&(n.restart(),n.pause())}),on.call(n,n.media,"progress playing seeking seeked",r=>controls.updateProgress.call(n,r)),on.call(n,n.media,"volumechange",r=>controls.updateVolume.call(n,r)),on.call(n,n.media,"playing play pause ended emptied timeupdate",r=>ui.checkPlaying.call(n,r)),on.call(n,n.media,"waiting canplay seeked playing",r=>ui.checkLoading.call(n,r)),n.supported.ui&&n.config.clickToPlay&&!n.isAudio){const r=getElement.call(n,`.${n.config.classNames.video}`);
39if(!is.element(r))return;on.call(n,i.container,"click",a=>{![i.container,r].includes(a.target)&&!r.contains(a.target)||n.touch&&n.config.hideControls||(n.ended?(this.proxy(a,n.restart,"restart"),this.proxy(a,()=>{silencePromise(n.play())},"play")):this.proxy(a,()=>{silencePromise(n.togglePlay())},"play"))})}n.supported.ui&&n.config.disableContextMenu&&on.call(n,i.wrapper,"contextmenu",r=>{r.preventDefault()},!1),on.call(n,n.media,"volumechange",()=>{n.storage.set({volume:n.volume,muted:n.muted})}),on.call(n,n.media,"ratechange",()=>{controls.updateSetting.call(n,"speed"),n.storage.set({speed:n.speed})}),on.call(n,n.media,"qualitychange",r=>{controls.updateSetting.call(n,"quality",null,r.detail.quality)}),on.call(n,n.media,"ready qualitychange",()=>{controls.setDownloadUrl.call(n)});const s=n.config.events.concat(["keyup","keydown"]).join(" ");on.call(n,n.media,s,r=>{let{detail:a={}}=r;r.type==="error"&&(a=n.media.error),triggerEvent$1.call(n,i.container,r.type,!0,a)})}),_defineProperty$1(this,"proxy",(n,i,s)=>{const{player:r}=this,a=r.config.listeners[s],l=is.function(a);let u=!0;l&&(u=a.call(r,n)),u!==!1&&is.function(i)&&i.call(r,n)}),_defineProperty$1(this,"bind",(n,i,s,r,a=!0)=>{const{player:l}=this,u=l.config.listeners[r],d=is.function(u);on.call(l,n,i,f=>this.proxy(f,s,r),a&&!d)}),_defineProperty$1(this,"controls",()=>{const{player:n}=this,{elements:i}=n,s=browser.isIE?"change":"input";if(i.buttons.play&&Array.from(i.buttons.play).forEach(r=>{this.bind(r,"click",()=>{silencePromise(n.togglePlay())},"play")}),this.bind(i.buttons.restart,"click",n.restart,"restart"),this.bind(i.buttons.rewind,"click",()=>{n.lastSeekTime=Date.now(),n.rewind()},"rewind"),this.bind(i.buttons.fastForward,"click",()=>{n.lastSeekTime=Date.now(),n.forward()},"fastForward"),this.bind(i.buttons.mute,"click",()=>{n.muted=!n.muted},"mute"),this.bind(i.buttons.captions,"click",()=>n.toggleCaptions()),this.bind(i.buttons.download,"click",()=>{triggerEvent$1.call(n,n.media,"download")},"download"),this.bind(i.buttons.fullscreen,"click",()=>{n.fullscreen.toggle()},"fullscreen"),this.bind(i.buttons.pip,"click",()=>{n.pip="toggle"},"pip"),this.bind(i.buttons.airplay,"click",n.airplay,"airplay"),this.bind(i.buttons.settings,"click",r=>{r.stopPropagation(),r.preventDefault(),controls.toggleMenu.call(n,r)}
39,null,!1),this.bind(i.buttons.settings,"keyup",r=>{if([" ","Enter"].includes(r.key)){if(r.key==="Enter"){controls.focusFirstMenuItem.call(n,null,!0);return}r.preventDefault(),r.stopPropagation(),controls.toggleMenu.call(n,r)}},null,!1),this.bind(i.settings.menu,"keydown",r=>{r.key==="Escape"&&controls.toggleMenu.call(n,r)}),this.bind(i.inputs.seek,"mousedown mousemove",r=>{const a=i.progress.getBoundingClientRect(),l=r.pageX-r.clientX,u=100/a.width*(r.pageX-a.left-l);r.currentTarget.setAttribute("seek-value",u)}),this.bind(i.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",r=>{const a=r.currentTarget,l="play-on-seeked";if(is.keyboardEvent(r)&&!["ArrowLeft","ArrowRight"].includes(r.key))return;n.lastSeekTime=Date.now();const u=a.hasAttribute(l),d=["mouseup","touchend","keyup"].includes(r.type);u&&d?(a.removeAttribute(l),silencePromise(n.play())):!d&&n.playing&&(a.setAttribute(l,""),n.pause())}),browser.isIos){const r=getElements.call(n,'input[type="range"]');Array.from(r).forEach(a=>this.bind(a,s,l=>repaint(l.target)))}this.bind(i.inputs.seek,s,r=>{const a=r.currentTarget;let l=a.getAttribute("seek-value");is.empty(l)&&(l=a.value),a.removeAttribute("seek-value"),n.currentTime=l/a.max*n.duration},"seek"),this.bind(i.progress,"mouseenter mouseleave mousemove",r=>controls.updateSeekTooltip.call(n,r)),this.bind(i.progress,"mousemove touchmove",r=>{const{previewThumbnails:a}=n;a&&a.loaded&&a.startMove(r)}),this.bind(i.progress,"mouseleave touchend click",()=>{const{previewThumbnails:r}=n;r&&r.loaded&&r.endMove(!1,!0)}),this.bind(i.progress,"mousedown touchstart",r=>{const{previewThumbnails:a}=n;a&&a.loaded&&a.startScrubbing(r)}),this.bind(i.progress,"mouseup touchend",r=>{const{previewThumbnails:a}=n;a&&a.loaded&&a.endScrubbing(r)}),browser.isWebKit&&Array.from(getElements.call(n,'input[type="range"]')).forEach(r=>{this.bind(r,"input",a=>controls.updateRangeFill.call(n,a.target))}),n.config.toggleInvert&&!is.element(i.display.duration)&&this.bind(i.display.currentTime,"click",()=>{n.currentTime!==0&&(n.config.invertTime=!n.config.invertTime,controls.timeUpdate.call(n))}),this.bind(i.inputs.volume,s,r=>{n.volume=r.target.value},"volume"),this.bind(i.controls,"mouseenter mouseleave",r=>{i.controls.hover=!n.touch&&r.type==="mouseenter"}),i.fullscreen&&Array.from(i.fullscreen.children).filter(r=>
39!r.contains(i.container)).forEach(r=>{this.bind(r,"mouseenter mouseleave",a=>{i.controls&&(i.controls.hover=!n.touch&&a.type==="mouseenter")})}),this.bind(i.controls,"mousedown mouseup touchstart touchend touchcancel",r=>{i.controls.pressed=["mousedown","touchstart"].includes(r.type)}),this.bind(i.controls,"focusin",()=>{const{config:r,timers:a}=n;toggleClass(i.controls,r.classNames.noTransition,!0),ui.toggleControls.call(n,!0),setTimeout(()=>{toggleClass(i.controls,r.classNames.noTransition,!1)},0);const l=this.touch?3e3:4e3;clearTimeout(a.controls),a.controls=setTimeout(()=>ui.toggleControls.call(n,!1),l)}),this.bind(i.inputs.volume,"wheel",r=>{const a=r.webkitDirectionInvertedFromDevice,[l,u]=[r.deltaX,-r.deltaY].map(g=>a?-g:g),d=Math.sign(Math.abs(l)>Math.abs(u)?l:u);n.increaseVolume(d/50);const{volume:f}=n.media;(d===1&&f<1||d===-1&&f>0)&&r.preventDefault()},"volume",!1)}),this.player=t,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.firstTouch=this.firstTouch.bind(this)}handleKey(t){const{player:n}=this,{elements:i}=n,{key:s,type:r,altKey:a,ctrlKey:l,metaKey:u,shiftKey:d}=t,f=r==="keydown",g=f&&s===this.lastKey;if(a||l||u||d||!s)return;const v=E=>{n.currentTime=n.duration/10*E};if(f){const E=document.activeElement;if(is.element(E)){const{editable:A}=n.config.selectors,{seek:j}=i.inputs;if(E!==j&&matches$2(E,A)||t.key===" "&&matches$2(E,'button, [role^="menuitem"]'))return}switch([" ","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","0","1","2","3","4","5","6","7","8","9","c","f","k","l","m"].includes(s)&&(t.preventDefault(),t.stopPropagation()),s){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":g||v(Number.parseInt(s,10));break;case" ":case"k":g||silencePromise(n.togglePlay());break;case"ArrowUp":n.increaseVolume(.1);break;case"ArrowDown":n.decreaseVolume(.1);break;case"m":g||(n.muted=!n.muted);break;case"ArrowRight":n.forward();break;case"ArrowLeft":n.rewind();break;case"f":n.fullscreen.toggle();break;case"c":g||n.toggleCaptions();break;case"l":n.loop=!n.loop;break}s==="Escape"&&!n.fullscreen.usingNative&&n.fullscreen.active&&n.fullscreen.toggle(),this.lastKey=s}else this.lastKey=null}toggleMenu(t){controls.toggleMenu.call(this.player,t)}}function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var loadjs_umd$1={exports:{}},loadjs_umd=loadjs_umd$1.exports,hasRequiredLoadjs_umd;function requireLoadjs_umd(){return hasRequiredLoadjs_umd||(hasRequiredLoadjs_umd=1,(function(e,t){(function(n,i){e.exports=i()})(loadjs_umd,function(){var n=function(){},i={},s={},r={};function a(v,E){v=v.push?v:[v];var S=[],A=v.length,j=A,O,R,x,k;for(O=function(V,Z){Z.length&&S.push(V),j--,j||E(S)};A--;){if(R=v[A],x=s[R],x){O(R,x);continue}k=r[R]=r[R]||[],k.push(O)}}function l(v,E){if(v){var S=r[v];if(s[v]=E,!!S)for(;S.length;)S[0](v,E),S.splice(0,1)}}function u(v,E){v.call&&(v={success:v}),E.length?(v.error||n)(E):(v.success||n)(v)}function d(v,E,S,A){var j=document,O=S.async,R=(S.numRetries||0)+1,x=S.before||n,k=v.replace(/[\?|#].*$/,""),V=v.replace(/^(css|img|module|nomodule)!/,""),Z,b,W;if(A=A||0,/(^css!|\.css$)/.test(k))W=j.createElement("link"),W.rel="stylesheet",W.href=V,Z="hideFocus"in W,Z&&W.relList&&(Z=0,W.rel="preload",W.as="style");else if(/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(k))W=j.createElement("img"),W.src=V;else if(W=j.createElement("script"),W.src=V,W.async=O===void 0?!0:O,b="noModule"in W,/^module!/.test(k)){if(!b)return E(v,"l");W.type="module"}else if(/^nomodule!/.test(k)&&b)return E(v,"l");W.onload=W.onerror=W.onbeforeload=function(F){var G=F.type[0];if(Z)try{W.sheet.cssText.length||(G="e")}catch(ue){ue.code!=18&&(G="e")}if(G=="e"){if(A+=1,A<R)return d(v,E,S,A)}else if(W.rel=="preload"&&W.as=="style")return W.rel="stylesheet";E(v,G,F.defaultPrevented)},x(v,W)!==!1&&j.head.appendChild(W)}function f(v,E,S){v=v.push?v:[v];var A=v.length,j=A,O=[],R,x;for(R=function(k,V,Z){if(V=="e"&&O.push(k),V=="b")if(Z)O.push(k);else return;A--,A||E(O)},x=0;x<j;x++)d(v[x],R,S)}function g(v,E,S){var A,j;if(E&&E.trim&&(A=E),j=(A?S:E)||{},A){if(A in i)throw"LoadJS";i[A]=!0}function O(R,x){f(v,function(k){u(j,k),R&&u({success:R,error:x},k),l(A,k)},j)}if(j.returnPromise)return new Promise(O);O()}return g.ready=function(E,S){return a(E,function(A){u(S,A)}),g},g.done=function(E){l(E,[])},g.reset=function(){i={},s={},r={}},g.isDefined=function(E){return E in i},g})})(loadjs_umd$1)),loadjs_umd$1.exports}var loadjs_umdExports=requireLoadjs_umd(),loadjs=getDefaultExportFromCjs(loadjs_umdExports);function loadScript(e){return new Promise((t,n)=>{loadjs(e,{success:t,error:n})})}function parseId$1(e){if(is.empty(e))return null;if(is.number(Number(e)))return e;const t=/^.*(vimeo.com\/|video\/)(\d+).*/,n=e.match(t);return n?n[2]:e}function parseHash(e){const t=/^.*(vimeo.com\/|video\/)(\d+)(\?.*h=|\/)+([\d,a-f]+)/,n=e.match(t);return n&&n.length===5?n[4]:null}function assurePlaybackState$1(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,triggerEvent$1.call(this,this.media,e?"play":"pause"))}const vimeo={setup(){const e=this;toggleClass(e.elements.wrapper,e.config.classNames.embed,!0),e.options.speed=e.config.speed.options,setAspectRatio.call(e),is.object(window.Vimeo)?vimeo.ready.call(e):loadScript(e.config.urls.vimeo.sdk).then(()=>{vimeo.ready.call(e)}).catch(t=>{e.debug.warn("Vimeo SDK (player.js) failed to load",t)})},ready(){const e=this,t=e.config.vimeo,{premium:n,referrerPolicy:i,...s}=t;let r=e.media.getAttribute("src"),a="";is.empty(r)?(r=e.media.getAttribute(e.config.attributes.embed.id),a=e.media.getAttribute(e.config.attributes.embed.hash)):a=parseHash(r);const l=a?{h:a}:{};n&&Object.assign(s,{controls:!1,sidedock:!1});const u=buildUrlParams({loop:e.config.loop.active,autoplay:e.autoplay,muted:e.muted,gesture:"media",playsinline:e.config.playsinline,...l,...s}),d=parseId$1(r),f=createElement("iframe"),g=format(e.config.urls.vimeo.iframe,d,u);
39if(f.setAttribute("src",g),f.setAttribute("allowfullscreen",""),f.setAttribute("allow",["autoplay","fullscreen","picture-in-picture","encrypted-media","accelerometer","gyroscope"].join("; ")),is.empty(i)||f.setAttribute("referrerPolicy",i),n||!t.customControls)f.setAttribute("data-poster",e.poster),e.media=replaceElement(f,e.media);else{const R=createElement("div",{class:e.config.classNames.embedContainer,"data-poster":e.poster});R.appendChild(f),e.media=replaceElement(R,e.media)}t.customControls||fetch(format(e.config.urls.vimeo.api,g)).then(R=>{is.empty(R)||!R.thumbnail_url||ui.setPoster.call(e,R.thumbnail_url).catch(()=>{})}),e.embed=new window.Vimeo.Player(f,{autopause:e.config.autopause,muted:e.muted}),e.media.paused=!0,e.media.currentTime=0,e.supported.ui&&e.embed.disableTextTrack(),e.media.play=()=>(assurePlaybackState$1.call(e,!0),e.embed.play()),e.media.pause=()=>(assurePlaybackState$1.call(e,!1),e.embed.pause()),e.media.stop=()=>{e.pause(),e.currentTime=0};let{currentTime:v}=e.media;Object.defineProperty(e.media,"currentTime",{get(){return v},set(R){const{embed:x,media:k,paused:V,volume:Z}=e,b=V&&!x.hasPlayed;k.seeking=!0,triggerEvent$1.call(e,k,"seeking"),Promise.resolve(b&&x.setVolume(0)).then(()=>x.setCurrentTime(R)).then(()=>b&&x.pause()).then(()=>b&&x.setVolume(Z)).catch(()=>{})}});let E=e.config.speed.selected;Object.defineProperty(e.media,"playbackRate",{get(){return E},set(R){e.embed.setPlaybackRate(R).then(()=>{E=R,triggerEvent$1.call(e,e.media,"ratechange")}).catch(()=>{e.options.speed=[1]})}});let{volume:S}=e.config;Object.defineProperty(e.media,"volume",{get(){return S},set(R){e.embed.setVolume(R).then(()=>{S=R,triggerEvent$1.call(e,e.media,"volumechange")})}});let{muted:A}=e.config;Object.defineProperty(e.media,"muted",{get(){return A},set(R){const x=is.boolean(R)?R:!1;e.embed.setMuted(x?!0:e.config.muted).then(()=>{A=x,triggerEvent$1.call(e,e.media,"volumechange")})}});let{loop:j}=e.config;Object.defineProperty(e.media,"loop",{get(){return j},set(R){const x=is.boolean(R)?R:e.config.loop.active;e.embed.setLoop(x).then(()=>{j=x})}});let O;e.embed.getVideoUrl().then(R=>{O=R,controls.setDownloadUrl.call(e)}).catch(R=>{this.debug.warn(R)}),Object.defineProperty(e.media,"currentSrc",{get(){return O}}),Object.defineProperty(e.media,"ended",{get(){return e.currentTime===e.duration}}),Promise.all([e.embed.getVideoWidth(),e.embed.getVideoHeight()]).then(R=>{const[x,k]=R;e.embed.ratio=roundAspectRatio(x,k),setAspectRatio.call(this)}),e.embed.setAutopause(e.config.autopause).then(R=>{e.config.autopause=R}),e.embed.getVideoTitle().then(R=>{e.config.title=R,ui.setTitle.call(this)}),e.embed.getCurrentTime().then(R=>{v=R,triggerEvent$1.call(e,e.media,"timeupdate")}),e.embed.getDuration().then(R=>{e.media.duration=R,triggerEvent$1.call(e,e.media,"durationchange")}),e.embed.getTextTracks().then(R=>{e.media.textTracks=R,captions.setup.call(e)}),e.embed.on("cuechange",({cues:R=[]})=>{const x=R.map(k=>stripHTML(k.text));captions.updateCues.call(e,x)}),e.embed.on("loaded",()=>{e.embed.getPaused().then(R=>{assurePlaybackState$1.call(e,!R),R||triggerEvent$1.call(e,e.media,"playing")}),is.element(e.embed.element)&&e.supported.ui&&e.embed.element.setAttribute("tabindex",-1)}),e.embed.on("bufferstart",()=>{triggerEvent$1.call(e,e.media,"waiting")}),e.embed.on("bufferend",()=>{triggerEvent$1.call(e,e.media,"playing")}),e.embed.on("play",()=>{assurePlaybackState$1.call(e,!0),triggerEvent$1.call(e,e.media,"playing")}),e.embed.on("pause",()=>{assurePlaybackState$1.call(e,!1)}),e.embed.on("timeupdate",R=>{e.media.seeking=!1,v=R.seconds,triggerEvent$1.call(e,e.media,"timeupdate")}),e.embed.on("progress",R=>{e.media.buffered=R.percent,triggerEvent$1.call(e,e.media,"progress"),Number.parseInt(R.percent,10)===1&&triggerEvent$1.call(e,e.media,"canplaythrough"),e.embed.getDuration().then(x=>{x!==e.media.duration&&(e.media.duration=x,triggerEvent$1.call(e,e.media,"durationchange"))})}),e.embed.on("seeked",()=>{e.media.seeking=!1,triggerEvent$1.call(e,e.media,"seeked")}),e.embed.on("ended",()=>{e.media.paused=!0,triggerEvent$1.call(e,e.media,"ended")}),e.embed.on("error",R=>{e.media.error=R,triggerEvent$1.call(e,e.media,"error")}),t.customControls&&setTimeout(()=>ui.build.call(e),0)}};function parseId(e){if(is.empty(e))return null;const t=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/,n=e.match(t);return n&&n[2]?n[2]:e}function assurePlaybackState(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,triggerEvent$1.call(this,this.media,e?"play":"pause"))}function getHost(e){if(e.noCookie)return"https://www.youtube-nocookie.com";if(window.location.protocol==="http:")return"http://www.youtube.com"}const youtube={setup(){if(toggleClass(this.elements.wrapper,this.config.classNames.embed,!0),is.object(window.YT)&&is.function(window.YT.Player))youtube.ready.call(this);else{const e=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{is.function(e)&&e(),youtube.ready.call(this)},loadScript(this.config.urls.youtube.sdk).catch(t=>{this.debug.warn("YouTube API failed to load",t)})}},getTitle(e){const t=format(this.config.urls.youtube.api,e);fetch(t).then(n=>{if(is.object(n)){const{title:i,height:s,width:r}=n;this.config.title=i,ui.setTitle.call(this),this.embed.ratio=roundAspectRatio(r,s)}setAspectRatio.call(this)}).catch(()=>{setAspectRatio.call(this)})},ready(){const e=this,t=e.config.youtube,n=e.media&&e.media.getAttribute("id");if(!is.empty(n)&&n.startsWith("youtube-"))return;let i=e.media.getAttribute("src");is.empty(i)&&(i=e.media.getAttribute(this.config.attributes.embed.id));const s=parseId(i),r=generateId(e.provider),a=createElement("div",{id:r,"data-
39poster":t.customControls?e.poster:void 0});if(e.media=replaceElement(a,e.media),t.customControls){const l=u=>`https://i.ytimg.com/vi/${s}/${u}default.jpg`;loadImage(l("maxres"),121).catch(()=>loadImage(l("sd"),121)).catch(()=>loadImage(l("hq"))).then(u=>ui.setPoster.call(e,u.src)).then(u=>{u.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")}).catch(()=>{})}e.embed=new window.YT.Player(e.media,{videoId:s,host:getHost(t),playerVars:extend$1({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui&&t.customControls?0:1,disablekb:1,playsinline:e.config.playsinline&&!e.config.fullscreen.iosNative?1:0,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},t),events:{onError(l){if(!e.media.error){const u=l.data,d={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[u]||"An unknown error occurred";e.media.error={code:u,message:d},triggerEvent$1.call(e,e.media,"error")}},onPlaybackRateChange(l){const u=l.target;e.media.playbackRate=u.getPlaybackRate(),triggerEvent$1.call(e,e.media,"ratechange")},onReady(l){if(is.function(e.media.play))return;const u=l.target;youtube.getTitle.call(e,s),e.media.play=()=>{assurePlaybackState.call(e,!0),u.playVideo()},e.media.pause=()=>{assurePlaybackState.call(e,!1),u.pauseVideo()},e.media.stop=()=>{u.stopVideo()},e.media.duration=u.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get(){return Number(u.getCurrentTime())},set(v){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,triggerEvent$1.call(e,e.media,"seeking"),u.seekTo(v)}}),Object.defineProperty(e.media,"playbackRate",{get(){return u.getPlaybackRate()},set(v){u.setPlaybackRate(v)}});let{volume:d}=e.config;Object.defineProperty(e.media,"volume",{get(){return d},set(v){d=v,u.setVolume(d*100),triggerEvent$1.call(e,e.media,"volumechange")}});let{muted:f}=e.config;Object.defineProperty(e.media,"muted",{get(){return f},set(v){const E=is.boolean(v)?v:f;f=E,u[E?"mute":"unMute"](),u.setVolume(d*100),triggerEvent$1.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get(){return u.getVideoUrl()}}),Object.defineProperty(e.media,"ended",{get(){return e.currentTime===e.duration}});const g=u.getAvailablePlaybackRates();e.options.speed=g.filter(v=>e.config.speed.options.includes(v)),e.supported.ui&&t.customControls&&e.media.setAttribute("tabindex",-1),triggerEvent$1.call(e,e.media,"timeupdate"),triggerEvent$1.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval(()=>{e.media.buffered=u.getVideoLoadedFraction(),(e.media.lastBuffered===null||e.media.lastBuffered<e.media.buffered)&&triggerEvent$1.call(e,e.media,"progress"),e.media.lastBuffered=e.media.buffered,e.media.buffered===1&&(clearInterval(e.timers.buffering),triggerEvent$1.call(e,e.media,"canplaythrough"))},200),t.customControls&&setTimeout(()=>ui.build.call(e),50)},onStateChange(l){const u=l.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(l.data)&&(e.media.seeking=!1,triggerEvent$1.call(e,e.media,"seeked")),l.data){case-1:triggerEvent$1.call(e,e.media,"timeupdate"),e.media.buffered=u.getVideoLoadedFraction(),triggerEvent$1.call(e,e.media,"progress");break;case 0:assurePlaybackState.call(e,!1),e.media.loop?(u.stopVideo(),u.playVideo()):triggerEvent$1.call(e,e.media,"ended");break;case 1:t.customControls&&!e.config.autoplay&&e.media.paused&&!e.embed.hasPlayed?e.media.pause():(assurePlaybackState.call(e,!0),triggerEvent$1.call(e,e.media,"playing"),e.timers.playing=setInterval(()=>{triggerEvent$1.call(e,e.media,"timeupdate")},50),e.media.duration!==u.getDuration()&&(e.media.duration=u.getDuration(),triggerEvent$1.call(e,e.media,"durationchange")));break;case 2:e.muted||e.embed.unMute(),assurePlaybackState.call(e,!1);break;case 3:triggerEvent$1.call(e,e.media,"waiting");break}triggerEvent$1.call(e,e.elements.container,"statechange",!1,{code:l.data})}}})}},media={setup(){if(!this.media){this.debug.warn("No media element found!");return}toggleClass(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),toggleClass(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&toggleClass(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=createElement("div",{class:this.config.classNames.video}),wrap(this.media,this.elements.wrapper),this.elements.poster=createElement("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?html5.setup.call(this):this.isYouTube?youtube.setup.call(this):this.isVimeo&&vimeo.setup.call(this)}};function destroy(e){e.manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()}class Ads{constructor(t){_defineProperty$1(this,"load",()=>{this.enabled&&(!is.object(window.google)||!is.object(window.google.ima)?loadScript(this.player.config.urls.googleIMA.sdk).then(()=>{this.ready()}).catch(()=>{this.trigger("error",new Error("Google IMA SDK failed to load"))}):this.ready())}),_defineProperty$1(this,"ready",()=>{this.enabled||destroy(this),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then(()=>{this.clearSafetyTimer("onAdsManagerLoaded()")}),this.listeners(),this.setupIMA()}),_defineProperty$1(this,"setupIMA",()=>{this.elements.container=createElement("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,n=>this.onAdsManagerLoaded(n),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,n=>this.onAdError(n),!1),this.requestAds()}),_defineProperty$1(this,"requestAds",()=>{const{container:n}=this.player.elements;try{const i=new google.ima.AdsRequest;i.adTagUrl=this.tagUrl,i.linearAdSlotWidth=n.offsetWidth,i.linearAdSlotHeight=n.offsetHeight,i.nonLinearAdSlotWidth=n.offsetWidth,i.nonLinearAdSlotHeight=n.offsetHeight,i.forceNonLinearFullSlot=!1,i.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(i)}catch(i){this.onAdError(i)}}),_defineProperty$1(this,"pollCountdown",(n=!1)=>
vendor: 5,385 bytes, line 39
39{if(!n){clearInterval(this.countdownTimer),this.elements.container.removeAttribute("data-badge-text");return}const i=()=>{const s=formatTime(Math.max(this.manager.getRemainingTime(),0)),r=`${i18n.get("advertisement",this.player.config)} - ${s}`;this.elements.container.setAttribute("data-badge-text",r)};this.countdownTimer=setInterval(i,100)}),_defineProperty$1(this,"onAdsManagerLoaded",n=>{if(!this.enabled)return;const i=new google.ima.AdsRenderingSettings;i.restoreCustomPlaybackStateOnAdBreakComplete=!0,i.enablePreloading=!0,this.manager=n.getAdsManager(this.player,i),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,s=>this.onAdError(s)),Object.keys(google.ima.AdEvent.Type).forEach(s=>{this.manager.addEventListener(google.ima.AdEvent.Type[s],r=>this.onAdEvent(r))}),this.trigger("loaded")}),_defineProperty$1(this,"addCuePoints",()=>{is.empty(this.cuePoints)||this.cuePoints.forEach(n=>{if(n!==0&&n!==-1&&n<this.player.duration){const i=this.player.elements.progress;if(is.element(i)){const s=100/this.player.duration*n,r=createElement("span",{class:this.player.config.classNames.cues});r.style.left=`${s.toString()}%`,i.appendChild(r)}}})}),_defineProperty$1(this,"onAdEvent",n=>{const{container:i}=this.player.elements,s=n.getAd(),r=n.getAdData();switch((l=>{triggerEvent$1.call(this.player,this.player.media,`ads${l.replace(/_/g,"").toLowerCase()}`)})(n.type),n.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),s.isLinear()||(s.width=i.offsetWidth,s.height=i.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.player.ended?this.loadAds():this.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:r.adError&&this.player.debug.warn(`Non-fatal ad error: ${r.adError.getMessage()}`);break}}),_defineProperty$1(this,"onAdError",n=>{this.cancel(),this.player.debug.warn("Ads error",n)}),_defineProperty$1(this,"listeners",()=>{const{container:n}=this.player.elements;let i;this.player.on("canplay",()=>{this.addCuePoints()}),this.player.on("ended",()=>{this.loader.contentComplete()}),this.player.on("timeupdate",()=>{i=this.player.currentTime}),this.player.on("seeked",()=>{const s=this.player.currentTime;is.empty(this.cuePoints)||this.cuePoints.forEach((r,a)=>{i<r&&r<s&&(this.manager.discardAdBreak(),this.cuePoints.splice(a,1))})}),window.addEventListener("resize",()=>{this.manager&&this.manager.resize(n.offsetWidth,n.offsetHeight,google.ima.ViewMode.NORMAL)})}),_defineProperty$1(this,"play",()=>{const{container:n}=this.player.elements;this.managerPromise||this.resumeContent(),this.managerPromise.then(()=>{this.manager.setVolume(this.player.volume),this.elements.displayContainer.initialize();try{this.initialized||(this.manager.init(n.offsetWidth,n.offsetHeight,google.ima.ViewMode.NORMAL),this.manager.start()),this.initialized=!0}catch(i){this.onAdError(i)}}).catch(()=>{})}),_defineProperty$1(this,"resumeContent",()=>{this.elements.container.style.zIndex="",this.playing=!1,silencePromise(this.player.media.play())}),_defineProperty$1(this,"pauseContent",()=>{this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()}),_defineProperty$1(this,"cancel",()=>{this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()}),_defineProperty$1(this,"loadAds",()=>{this.managerPromise.then(()=>{this.manager&&this.manager.destroy(),this.managerPromise=new Promise(n=>{this.on("loaded",n),this.player.debug.log(this.manager)}),this.initialized=!1,this.requestAds()}).catch(()=>{})}),_defineProperty$1(this,"trigger",(n,...i)=>{const s=this.events[n];is.array(s)&&s.forEach(r=>{is.function(r)&&r.apply(this,i)})}),_defineProperty$1(this,"on",(n,i)=>(is.array(this.events[n])||(this.events[n]=[]),this.events[n].push(i),this)),_defineProperty$1(this,"startSafetyTimer",(n,i)=>{this.player.debug.log(`Safety timer invoked from: ${i}`),this.safetyTimer=setTimeout(()=>{this.cancel(),this.clearSafetyTimer("startSafetyTimer()")},n)}),_defineProperty$1(this,"clearSafetyTimer",n=>{is.nullOrUndefined(this.safetyTimer)||(this.player.debug.log(`Safety timer cleared from: ${n}`),clearTimeout(this.safetyTimer),this.safetyTimer=null)}),this.player=t,this.config=t.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise((n,i)=>{this.on("loaded",n),this.on("error",i)}),this.load()}get enabled(){const{config:t}=this;return this.player.isHTML5&&this.player.isVideo&&t.enabled&&(!is.empty(t.publisherId)||is.url(t.tagUrl))}get tagUrl(){const{config:t}=this;if(is.url(t.tagUrl))return t.tagUrl;const n={AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:t.publisherId};return`https://go.aniview.com/api/adserver6/vast/?${buildUrlParams(n)}`}}function clamp(e=0,t=0,n=255){return Math.min(Math.max(e,t),n)}function parseVtt(e){const t=[];
39return e.split(/\r\n\r\n|\n\n|\r\r/).forEach(i=>{const s={};i.split(/\r\n|\n|\r/).forEach(a=>{if(is.number(s.startTime)){if(!is.empty(a.trim())&&is.empty(s.text)){const l=a.trim().split("#xywh=");[s.text]=l,l[1]&&([s.x,s.y,s.w,s.h]=l[1].split(","))}}else{const l=a.match(/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})( ?--> ?)(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/);l&&(s.startTime=Number(l[1]||0)*60*60+Number(l[2])*60+Number(l[3])+ +`0.${l[4]}`,s.endTime=Number(l[6]||0)*60*60+Number(l[7])*60+Number(l[8])+ +`0.${l[9]}`)}}),s.text&&t.push(s)}),t}function fitRatio(e,t){const n=t.width/t.height,i={};return e>n?(i.width=t.width,i.height=1/e*t.width):(i.height=t.height,i.width=e*t.height),i}class PreviewThumbnails{constructor(t){_defineProperty$1(this,"load",()=>{this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then(()=>{this.enabled&&(this.render(),this.determineContainerAutoSizing(),this.listeners(),this.loaded=!0)})}),_defineProperty$1(this,"getThumbnails",()=>new Promise(n=>{const{src:i}=this.player.config.previewThumbnails;if(is.empty(i))throw new Error("Missing previewThumbnails.src config attribute");const s=()=>{this.thumbnails.sort((r,a)=>r.height-a.height),this.player.debug.log("Preview thumbnails",this.thumbnails),n()};if(is.function(i))i(r=>{this.thumbnails=r,s()});else{const a=(is.string(i)?[i]:i).map(l=>this.getThumbnail(l));Promise.all(a).then(s)}})),_defineProperty$1(this,"getThumbnail",n=>new Promise(i=>{fetch(n,void 0,this.player.config.previewThumbnails.withCredentials).then(s=>{const r={frames:parseVtt(s),height:null,urlPrefix:""};!r.frames[0].text.startsWith("/")&&!r.frames[0].text.startsWith("http://")&&!r.frames[0].text.startsWith("https://")&&(r.urlPrefix=n.substring(0,n.lastIndexOf("/")+1));const a=new Image;a.onload=()=>{r.height=a.naturalHeight,r.width=a.naturalWidth,this.thumbnails.push(r),i()},a.src=r.urlPrefix+r.frames[0].text})})),_defineProperty$1(this,"startMove",n=>{if(this.loaded&&!(!is.event(n)||!["touchmove","mousemove"].includes(n.type))&&this.player.media.duration){if(n.type==="touchmove")this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var i,s;const r=this.player.elements.progress.getBoundingClientRect(),a=100/r.width*(n.pageX-r.left);this.seekTime=this.player.media.duration*(a/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=n.pageX,this.elements.thumb.time.textContent=formatTime(this.seekTime);const l=(i=this.player.config.markers)===null||i===void 0||(s=i.points)===null||s===void 0?void 0:s.find(({time:u})=>u===Math.round(this.seekTime));l&&this.elements.thumb.time.insertAdjacentHTML("afterbegin",`${l.label}<br>`)}this.showImageAtCurrentTime()}}),_defineProperty$1(this,"endMove",()=>{this.toggleThumbContainer(!1,!0)}),_defineProperty$1(this,"startScrubbing",n=>{(is.nullOrUndefined(n.button)||n.button===!1||n.button===0)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}),_defineProperty$1(this,"endScrubbing",()=>{this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):once.call(this.player,this.player.media,"timeupdate",()=>{this.mouseDown||this.toggleScrubbingContainer(!1)})}),_defineProperty$1(this,"listeners",()=>{this.player.on("play",()=>{this.toggleThumbContainer(!1,!0)}),this.player.on("seeked",()=>{this.toggleThumbContainer(!1)}),this.player.on("timeupdate",()=>{this.lastTime=this.player.media.currentTime})}),_defineProperty$1(this,"render",()=>{this.elements.thumb.container=createElement("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=createElement("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);const n=createElement("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=createElement("span",{},"00:00"),n.appendChild(this.elements.thumb.time),this.elements.thumb.imageContainer.appendChild(n),is.element
vendor: 5,435 bytes, line 39
39(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=createElement("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}),_defineProperty$1(this,"destroy",()=>{this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()}),_defineProperty$1(this,"showImageAtCurrentTime",()=>{this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();const n=this.thumbnails[0].frames.findIndex(r=>this.seekTime>=r.startTime&&this.seekTime<=r.endTime),i=n>=0;let s=0;this.mouseDown||this.toggleThumbContainer(i),i&&(this.thumbnails.forEach((r,a)=>{this.loadedImages.includes(r.frames[n].text)&&(s=a)}),n!==this.showingThumb&&(this.showingThumb=n,this.loadImage(s)))}),_defineProperty$1(this,"loadImage",(n=0)=>{const i=this.showingThumb,s=this.thumbnails[n],{urlPrefix:r}=s,a=s.frames[i],l=s.frames[i].text,u=r+l;if(!this.currentImageElement||this.currentImageElement.dataset.filename!==l){this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);const d=new Image;d.src=u,d.dataset.index=i,d.dataset.filename=l,this.showingThumbFilename=l,this.player.debug.log(`Loading image: ${u}`),d.onload=()=>this.showImage(d,a,n,i,l,!0),this.loadingImage=d,this.removeOldImages(d)}else this.showImage(this.currentImageElement,a,n,i,l,!1),this.currentImageElement.dataset.index=i,this.removeOldImages(this.currentImageElement)}),_defineProperty$1(this,"showImage",(n,i,s,r,a,l=!0)=>{this.player.debug.log(`Showing thumb: ${a}. num: ${r}. qual: ${s}. newimg: ${l}`),this.setImageSizeAndOffset(n,i),l&&(this.currentImageContainer.appendChild(n),this.currentImageElement=n,this.loadedImages.includes(a)||this.loadedImages.push(a)),this.preloadNearby(r,!0).then(this.preloadNearby(r,!1)).then(this.getHigherQuality(s,n,i,a))}),_defineProperty$1(this,"removeOldImages",n=>{Array.from(this.currentImageContainer.children).forEach(i=>{if(i.tagName.toLowerCase()!=="img")return;const s=this.usingSprites?500:1e3;if(i.dataset.index!==n.dataset.index&&!i.dataset.deleting){i.dataset.deleting=!0;const{currentImageContainer:r}=this;setTimeout(()=>{r.removeChild(i),this.player.debug.log(`Removing thumb: ${i.dataset.filename}`)},s)}})}),_defineProperty$1(this,"preloadNearby",(n,i=!0)=>new Promise(s=>{setTimeout(()=>{const r=this.thumbnails[0].frames[n].text;if(this.showingThumbFilename===r){let a;i?a=this.thumbnails[0].frames.slice(n):a=this.thumbnails[0].frames.slice(0,n).reverse();let l=!1;a.forEach(u=>{const d=u.text;if(d!==r&&!this.loadedImages.includes(d)){l=!0,this.player.debug.log(`Preloading thumb filename: ${d}`);const{urlPrefix:f}=this.thumbnails[0],g=f+d,v=new Image;v.src=g,v.onload=()=>{this.player.debug.log(`Preloaded thumb filename: ${d}`),this.loadedImages.includes(d)||this.loadedImages.push(d),s()}}}),l||s()}},300)})),_defineProperty$1(this,"getHigherQuality",(n,i,s,r)=>{if(n<this.thumbnails.length-1){let a=i.naturalHeight;this.usingSprites&&(a=s.h),a<this.thumbContainerHeight&&setTimeout(()=>{this.showingThumbFilename===r&&(this.player.debug.log(`Showing higher quality thumb for: ${r}`),this.loadImage(n+1))},300)}}),_defineProperty$1(this,"toggleThumbContainer",(n=!1,i=!1)=>{const s=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(s,n),!n&&i&&(this.showingThumb=null,this.showingThumbFilename=null)}),_defineProperty$1(this,"toggleScrubbingContainer",(n=!1)=>{const i=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(i,n),n||(this.showingThumb=null,this.showingThumbFilename=null)}),_defineProperty$1(this,"determineContainerAutoSizing",()=>{(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)}),_defineProperty$1(this,"setThumbContainerSizeAndPos",()=>{const{imageContainer:n}=this.elements.thumb;if(this.sizeSpecifiedInCSS){if(n.clientHeight>20&&n.clientWidth<20){const i=Math.floor(n.clientHeight*this.thumbAspectRatio);n.style.width=`${i}px`}else if(n.clientHeight<20&&n.clientWidth>20){const i=Math.floor(n.clientWidth/this.thumbAspectRatio);n.style.height=`${i}px`}}else{const i=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);n.style.height=`${this.thumbContainerHeight}px`,n.style.width=`${i}px`}this.setThumbContainerPos()}),_defineProperty$1(this,"setThumbContainerPos",()=>{const n=this.player.elements.progress.getBoundingClientRect(),i=this.player.elements.container.getBoundingClientRect(),{container:s}=this.elements.thumb,r=i.left-n.left+10,a=i.right-n.left-s.clientWidth-10,l=this.mousePosX-n.left-s.clientWidth/2,u=clamp(l,r,a);s.style.left=`${u}px`,s.style.setProperty("--preview-arrow-offset",`${l-u}px`)}),_defineProperty$1(this,"setScrubbingContainerSize",()=>{const{width:n,height:i}=fitRatio(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});this.elements.scrubbing.container.style.width=`${n}px`,this.elements.scrubbing.container.style.height=`${i}px`}),_defineProperty$1(this,"setImageSizeAndOffset",(n,i)=>{if(!this.usingSprites)return;const s=this.thumbContainerHeight/i.h;n.style.height=`${n.naturalHeight*s}
39px`,n.style.width=`${n.naturalWidth*s}px`,n.style.left=`-${i.x*s}px`,n.style.top=`-${i.y*s}px`}),this.player=t,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}get enabled(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}get currentImageContainer(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}get usingSprites(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}get thumbAspectRatio(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}get thumbContainerHeight(){if(this.mouseDown){const{height:t}=fitRatio(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});return t}return this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}get currentImageElement(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement}set currentImageElement(t){this.mouseDown?this.currentScrubbingImageElement=t:this.currentThumbnailImageElement=t}}const source={insertElements(e,t){is.string(t)?insertElement(e,this.media,{src:t}):is.array(t)&&t.forEach(n=>{insertElement(e,this.media,n)})},change(e){if(!getDeep(e,"sources.length")){this.debug.warn("Invalid source format");return}html5.cancelRequests.call(this),this.destroy(()=>{this.options.quality=[],removeElement(this.media),this.media=null,is.element(this.elements.container)&&this.elements.container.removeAttribute("class");const{sources:t,type:n}=e,[{provider:i=providers.html5,src:s}]=t,r=i==="html5"?n:"div",a=i==="html5"?{}:{src:s};Object.assign(this,{provider:i,type:n,supported:support.check(n,i,this.config.playsinline),media:createElement(r,a)}),this.elements.container.appendChild(this.media),is.boolean(e.autoplay)&&(this.config.autoplay=e.autoplay),this.isHTML5&&(this.config.crossorigin&&this.media.setAttribute("crossorigin",""),this.config.autoplay&&this.media.setAttribute("autoplay",""),is.empty(e.poster)||(this.poster=e.poster),this.config.loop.active&&this.media.setAttribute("loop",""),this.config.muted&&this.media.setAttribute("muted",""),this.config.playsinline&&this.media.setAttribute("playsinline","")),ui.addStyleHook.call(this),this.isHTML5&&source.insertElements.call(this,"source",t),this.config.title=e.title,media.setup.call(this),this.isHTML5&&Object.keys(e).includes("tracks")&&source.insertElements.call(this,"track",e.tracks),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&ui.build.call(this),this.isHTML5&&this.media.load(),is.empty(e.previewThumbnails)||(Object.assign(this.config.previewThumbnails,e.previewThumbnails),this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new PreviewThumbnails(this))),this.fullscreen.update()},!0)}};class Plyr{constructor(t,n){if(_defineProperty$1(this,"play",()=>is.function(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then(()=>this.ads.play()).catch(()=>silencePromise(this.media.play())),this.media.play()):null),_defineProperty$1(this,"pause",()=>!this.playing||!is.function(this.media.pause)?null:this.media.pause()),_defineProperty$1(this,"togglePlay",l=>(is.boolean(l)?l:!this.playing)?this.play():this.pause()),_defineProperty$1(this,"stop",()=>{this.isHTML5?(this.pause(),this.restart()):is.function(this.media.stop)&&this.media.stop()}),_defineProperty$1(this,"restart",()=>{this.currentTime=0}),_defineProperty$1(this,"rewind",l=>{this.currentTime-=is.number(l)?l:this.config.seekTime}),_defineProperty$1(this,"forward",l=>{this.currentTime+=is.number(l)?l:this.config.seekTime}),_defineProperty$1(this,"increaseVolume",l=>{const u=this.media.muted?0:this.volume;this.volume=u+(is.number(l)?l:0)}),_defineProperty$1(this,"decreaseVolume",l=>{this.increaseVolume(-l)}),_defineProperty$1(this,"airplay",()=>
39{support.airplay&&this.media.webkitShowPlaybackTargetPicker()}),_defineProperty$1(this,"toggleControls",l=>{if(this.supported.ui&&!this.isAudio){const u=hasClass(this.elements.container,this.config.classNames.hideControls),d=typeof l>"u"?void 0:!l,f=toggleClass(this.elements.container,this.config.classNames.hideControls,d);if(f&&is.array(this.config.controls)&&this.config.controls.includes("settings")&&!is.empty(this.config.settings)&&controls.toggleMenu.call(this,!1),f!==u){const g=f?"controlshidden":"controlsshown";triggerEvent$1.call(this,this.media,g)}return!f}return!1}),_defineProperty$1(this,"on",(l,u)=>{on.call(this,this.elements.container,l,u)}),_defineProperty$1(this,"once",(l,u)=>{once.call(this,this.elements.container,l,u)}),_defineProperty$1(this,"off",(l,u)=>{off(this.elements.container,l,u)}),_defineProperty$1(this,"destroy",(l,u=!1)=>{if(!this.ready)return;const d=()=>{document.body.style.overflow="",this.embed=null,u?(Object.keys(this.elements).length&&(removeElement(this.elements.buttons.play),removeElement(this.elements.captions),removeElement(this.elements.controls),removeElement(this.elements.wrapper),this.elements.buttons.play=null,this.elements.captions=null,this.elements.controls=null,this.elements.wrapper=null),is.function(l)&&l()):(unbindListeners.call(this),html5.cancelRequests.call(this),replaceElement(this.elements.original,this.elements.container),triggerEvent$1.call(this,this.elements.original,"destroyed",!0),is.function(l)&&l.call(this.elements.original),this.ready=!1,setTimeout(()=>{this.elements=null,this.media=null},200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(ui.toggleNativeControls.call(this,!0),d()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),this.embed!==null&&is.function(this.embed.destroy)&&this.embed.destroy(),d()):this.isVimeo&&(this.embed!==null&&this.embed.unload().then(d),setTimeout(d,200))}),_defineProperty$1(this,"supports",l=>support.mime.call(this,l)),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=support.touch,this.media=t,is.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||is.nodeList(this.media)||is.array(this.media))&&(this.media=this.media[0]),this.config=extend$1({},defaults,Plyr.defaults,n||{},(()=>{try{return JSON.parse(this.media.getAttribute("data-plyr-config"))}catch{return{}}})()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new Console(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",support),is.nullOrUndefined(this.media)||!is.element(this.media)){this.debug.error("Setup failed: no suitable element passed");return}if(this.media.plyr){this.debug.warn("Target already setup");return}if(!this.config.enabled){this.debug.error("Setup failed: disabled by config");return}if(!support.check().api){this.debug.error("Setup failed: no support");return}const i=this.media.cloneNode(!0);i.autoplay=!1,this.elements.original=i;const s=this.media.tagName.toLowerCase();let r=null,a=null;switch(s){case"div":if(r=this.media.querySelector("iframe"),is.element(r)){if(a=parseUrl(r.getAttribute("src")),this.provider=getProviderByUrl(a.toString()),this.elements.container=this.media,this.media=r,this.elements.container.className="",a.search.length){const l=["1","true"];l.includes(a.searchParams.get("autoplay"))&&(this.config.autoplay=!0),l.includes(a.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=l.includes(a.searchParams.get("playsinline")),this.config.youtube.hl=a.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(is.empty(this.provider)||!Object.values(providers).includes(this.provider)){this.debug.error("Setup failed: Invalid provider");return}this.type=types.video;break;case"video":case"audio":this.type=s,this.provider=providers.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.auto
39play=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:this.debug.error("Setup failed: unsupported type");return}if(this.supported=support.check(this.type,this.provider),!this.supported.api){this.debug.error("Setup failed: no support");return}this.eventListeners=[],this.listeners=new Listeners(this),this.storage=new Storage(this),this.media.plyr=this,is.element(this.elements.container)||(this.elements.container=createElement("div"),wrap(this.media,this.elements.container)),ui.migrateStyles.call(this),ui.addStyleHook.call(this),media.setup.call(this),this.config.debug&&on.call(this,this.elements.container,this.config.events.join(" "),l=>{this.debug.log(`event: ${l.type}`)}),this.fullscreen=new Fullscreen(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&ui.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new Ads(this)),this.isHTML5&&this.config.autoplay&&this.once("canplay",()=>silencePromise(this.play())),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new PreviewThumbnails(this))}get isHTML5(){return this.provider===providers.html5}get isEmbed(){return this.isYouTube||this.isVimeo}get isYouTube(){return this.provider===providers.youtube}get isVimeo(){return this.provider===providers.vimeo}get isVideo(){return this.type===types.video}get isAudio(){return this.type===types.audio}get playing(){return!!(this.ready&&!this.paused&&!this.ended)}get paused(){return!!this.media.paused}get stopped(){return!!(this.paused&&this.currentTime===0)}get ended(){return!!this.media.ended}set currentTime(t){if(!this.duration)return;const n=is.number(t)&&t>0;this.media.currentTime=n?Math.min(t,this.duration):0,this.debug.log(`Seeking to ${this.currentTime} seconds`)}get currentTime(){return Number(this.media.currentTime)}get buffered(){const{buffered:t}=this.media;return is.number(t)?t:t&&t.length&&this.duration>0?t.end(0)/this.duration:0}get seeking(){return!!this.media.seeking}get duration(){const t=Number.parseFloat(this.config.duration),n=(this.media||{}).duration,i=!is.number(n)||n===1/0?0:n;return t||i}set volume(t){let n=t;const i=1,s=0;is.string(n)&&(n=Number(n)),is.number(n)||(n=this.storage.get("volume")),is.number(n)||({volume:n}=this.config),n>i&&(n=i),n<s&&(n=s),this.config.volume=n,this.media.volume=n,!is.empty(t)&&this.muted&&n>0&&(this.muted=!1)}get volume(){return Number(this.media.volume)}set muted(t){let n=t;is.boolean(n)||(n=this.storage.get("muted")),is.boolean(n)||(n=this.config.muted),this.config.muted=n,this.media.muted=n}get muted(){return!!this.media.muted}get hasAudio(){return!this.isHTML5||this.isAudio?!0:!!this.media.mozHasAudio||!!this.media.webkitAudioDecodedByteCount||!!(this.media.audioTracks&&this.media.audioTracks.length)}set speed(t){let n=null;is.number(t)&&(n=t),is.number(n)||(n=this.storage.get("speed")),is.number(n)||(n=this.config.speed.selected);const{minimumSpeed:i,maximumSpeed:s}=this;n=clamp(n,i,s),this.config.speed.selected=n,setTimeout(()=>{this.media&&(this.media.playbackRate=n)},0)}get speed(){return Number(this.media.playbackRate)}get minimumSpeed(){return this.isYouTube?Math.min(...this.options.speed):this.isVimeo?.5:.0625}get maximumSpeed(){return this.isYouTube?Math.max(...this.options.speed):this.isVimeo?2:16}set quality(t){const n=this.config.quality,i=this.options.quality;if(!i.length)return;let s=[!is.empty(t)&&Number(t),this.storage.get("quality"),n.selected,n.default].find(is.number),r=!0;if(!i.includes(s)){const a=closest(i,s);this.debug.warn(`Unsupported quality option: ${s}, using ${a} instead`),s=a,r=!1}n.selected=s,this.media.quality=s,r&&this.storage.set({quality:s})}get quality(){return this.media.quality}set loop(t){const n=is.boolean(t)?t:this.config.loop.active;this.config.loop.active=n,this.media.loop=n}get loop(){return!!this.media.loop}set source(t){source.change.call(this,t)}get source(){return this.media.currentSrc}get download(){const{download:t}=this.config.urls;return is.url(t)?t:this.source}set download(t){is.url(t)&&(this.config.urls.download=t,controls.setDownloadUrl.call(this))}set poster(t){if(!this.isVideo){this.debug.warn("Poster can only be set for video");return}ui.setPoster.call(this,t,!1).catch(()=>{})}get poster(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}get ratio(){if(!this.isVideo)return null;const t=reduceAspectRatio(getAspectRatio.call(this));return is.array(t)?t.join(":"):t}set ratio(t){if(!this.isVideo){this.debug.warn("Aspect ratio can only be set for video");return}if(!is.string(t)||!validateAspectRatio(t)){this.debug.error(`Invalid aspect ratio specified (${t})`);return}this.config.ratio=reduceAspectRatio(t),setAspectRatio.call(this)}
39set autoplay(t){this.config.autoplay=is.boolean(t)?t:this.config.autoplay}get autoplay(){return!!this.config.autoplay}toggleCaptions(t){captions.toggle.call(this,t,!1)}set currentTrack(t){captions.set.call(this,t,!1),captions.setup.call(this)}get currentTrack(){const{toggled:t,currentTrack:n}=this.captions;return t?n:-1}set language(t){captions.setLanguage.call(this,t,!1)}get language(){return(captions.getCurrentTrack.call(this)||{}).language}set pip(t){if(!support.pip)return;const n=is.boolean(t)?t:!this.pip;is.function(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(n?pip.active:pip.inactive),is.function(this.media.requestPictureInPicture)&&(!this.pip&&n?this.media.requestPictureInPicture():this.pip&&!n&&document.exitPictureInPicture())}get pip(){return support.pip?is.empty(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===pip.active:null}setPreviewThumbnails(t){this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),Object.assign(this.config.previewThumbnails,t),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new PreviewThumbnails(this))}static supported(t,n){return support.check(t,n)}static loadSprite(t,n){return loadSprite(t,n)}static setup(t,n={}){let i=null;return is.string(t)?i=Array.from(document.querySelectorAll(t)):is.nodeList(t)?i=Array.from(t):is.array(t)&&(i=t.filter(is.element)),is.empty(i)?null:i.map(s=>new Plyr(s,n))}}Plyr.defaults=cloneDeep(defaults);const body$g=$("body"),generateControls=(e=null,t=null,n=!1)=>{const i=t?`<div class="plyr__title"><span class="plyr__title__inner">${t}</span></div>`:"",s=`${e?`<button type="button" class="plyr__control plyr__control--embed">
40                    <i class="fa fa-code"></i>
41                    <span class="plyr__tooltip" role="tooltip">Код для вставки</span>
42               </button>`:""}
43
44                <button type="button" class="plyr__control plyr__control--fullscreen" data-plyr="fullscreen">
45                    <svg class="icon--pressed" role="presentation"><use xlink:href="#plyr-exit-fullscreen"></use></svg>
46                    <svg class="icon--not-pressed" role="presentation"><use xlink:href="#plyr-enter-fullscreen"></use></svg>
47                    <span class="label--pressed plyr__tooltip" role="tooltip">Развернуть</span>
48                    <span class="label--not-pressed plyr__tooltip" role="tooltip">Свернуть</span>
49                </button>`,r=$(window).width()<=768;return`
50    ${r&&!n?s:""}
51    <div class="plyr__controls">
52        <button type="button" class="plyr__control plyr__control--play-button" aria-label="Play, {title}" data-plyr="play">
53            <svg class="icon--pressed" role="presentation"><use xlink:href="#plyr-pause"></use></svg>
54            <svg class="icon--not-pressed" role="presentation"><use xlink:href="#plyr-play"></use></svg>
55            <span class="label--pressed plyr__tooltip" role="tooltip">Пауза</span>
56            <span class="label--not-pressed plyr__tooltip" role="tooltip">Воспроизвести</span>
57        </button>
58        <div class="plyr__controls__outer">
59            ${i}
60            <div class="plyr__controls__inner">
61                <div class="plyr__progress">
62                    <input data-plyr="seek" type="range" min="0" max="100" step="0.01" value="0" aria-label="Seek">
63                    <progress class="plyr__progress__buffer" min="0" max="100" value="0">% buffered</progress>
64                    <span role="tooltip" class="plyr__tooltip">00:00</span>
65                </div>
66
67                <div class="plyr__time-container">
68                     <span class="plyr__time plyr__time--current" aria-label="Current time">00:00</span>
69                    <span class="plyr__time plyr__time--duration" aria-label="Duration">00:00</span>
70                </div>
71
72                <button type="button" class="plyr__control plyr__control--mute" aria-label="Mute" data-plyr="mute">
73                    <svg class="icon--pressed" role="presentation"><use xlink:href="#plyr-muted"></use></svg>
74                    <svg class="icon--not-pressed" role="presentation"><use xlink:href="#plyr-volume"></use></svg>
75                    <span class="label--pressed plyr__tooltip" role="tooltip">Отключить звук</span>
76                    <span class="label--not-pressed plyr__tooltip" role="tooltip">Включить звук</span>
77                </button>
78                <div class="plyr__volume">
79                    <input data-plyr="volume" type="range" min="0" max="1" step="0.05" value="1" autocomplete="off" aria-label="Громкость">
80                </div>
81                ${!r||n?s:""}
82            </div>
83        </div>
84    </div>
85    `},initPlayer=()=>{$(".own-player").each(function(){const e=this,t=$(e).data("title"),n=$(e).data("id"),i=$(e).hasClass("own-player--radio"),s=new Plyr(e,{controls:generateControls(n,t,i)});window.player=s;const r=()=>{const l=$(".record-page__player"),u=$(e).data("fallback-embed");if(!u?.trim()?.length){$(l).append('<div class="warning-alert" style="margin-top: .5em;">Ошибка воспроизведения видео, попробуйте зайти с другого устройства или браузера</div>');return}$(l).html(`<div class="record-page__player-container">${u}</div>`)};s.on("ready",async l=>{const u=l.detail.plyr,d=u.media.querySelector("source").src;if(d?.includes(".m3u8"))if(Hls.isSupported()){const f=new Hls;f.loadSource(d),f.attachMedia(u.media),f.on(Hls.Events.MANIFEST_PARSED,function(){}),f.on(Hls.Events.ERROR,function(g,v){sendError(n,v.error.toString()),v.details==="bufferAddCodecError"&&r()})}else r();else d?.includes(".webm")&&!MediaSource.isTypeSupported('video/webm; codecs="vp9"')&&r()}),e.addEventListener("ready",l=>{$(e).hasClass("own-player--radio")?$(e).parents(".plyr").find(".plyr__title").append(` <a class="plyr__site-logo" href="/" target="_blank">
86                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 235 30" version="1.1">
87                    <path d="M 21 0 C 7.15384 0 3 4.21875 3 4.21875 C 3 4.21875 0 6.499975 0 15.234375 C 0 23.968775 3 26.25 3 26.25 C 3 26.25 8.53846 30 21 30 C 30.6593 30 36.159531 27.747675 38.144531 26.734375 L 34.439453 25.041016 C 34.225753 25.115616 33.999919 25.189725 33.761719 25.265625 C 31.116519 26.108425 26.9245 27 21 27 C 15.0755 27 10.883491 26.108425 8.2382812 25.265625 C 6.9135712 24.843525 5.9689856 24.432131 5.3847656 24.144531 C 5.1578756 24.032731 4.9856944 23.938894 4.8652344 23.871094 C 4.7428044 23.717394 4.502705 23.377803 4.234375 22.783203 C 3.690445 21.577803 3 19.258675 3 15.234375 C 3 11.209975 3.690445 8.8909769 4.234375 7.6855469 C 4.506905 7.0815869 4.7504938 6.7400737 4.8710938 6.5898438 C 4.8945838 6.5605837 4.9132544 6.5378344 4.9277344 6.5214844 L 4.9863281 6.4765625 L 5.0898438 6.3730469 L 5.1074219 6.3574219 C 5.1645419 6.3105719 5.2944394 6.2102956 5.5058594 6.0722656 C 5.9275594 5.7969356 6.68622 5.3648694 7.875 4.9121094 C 10.25105 4.0071594 14.3816 3 21 3 C 27.6184 3 31.749 4.0071594 34.125 4.9121094 C 34.6534 5.1133394 35.096091 5.3114075 35.462891 5.4921875 L 38.740234 3.9941406 C 37.646634 3.1204506 32.9076 0 21 0 z M 60.349609 4.6992188 L 60.349609 6.1503906 L 58.900391 6.1503906 L 58.900391 7.5996094 L 57.449219 7.5996094 L 57.449219 13.400391 L 58.900391 13.400391 L 58.900391 14.849609 L 60.349609 14.849609 L 60.349609 16.300781 L 67.599609 16.300781 L 67.599609 17.75 L 69.050781 17.75 L 69.050781 20.650391 L 67.599609 20.650391 L 67.599609 22.099609 L 61.800781 22.099609 L 61.800781 20.650391 L 60.349609 20.650391 L 60.349609 19.199219 L 57.449219 19.199219 L 57.449219 22.099609 L 58.900391 22.099609 L 58.900391 23.550781 L 60.349609 23.550781 L 60.349609 25 L 69.050781 25 L 69.050781 23.550781 L 70.5 23.550781 L 70.5 22.099609 L 71.949219 22.099609 L 71.949219 16.300781 L 70.5 16.300781 L 70.5 14.849609 L 69.050781 14.849609 L 69.050781 13.400391 L 61.800781 13.400391 L 61.800781 11.949219 L 60.349609 11.949219 L 60.349609 9.0507812 L 61.800781 9.0507812 L 61.800781 7.5996094 L 67.599609 7.5996094 L 67.599609 9.0507812 L 69.050781 9.0507812 L 69.050781 10.5 L 71.949219 10.5 L 71.949219 7.5996094 L 70.5 7.5996094 L 70.5 6.1503906 L 69.050781 6.1503906 L 69.050781 4.6992188 L 60.349609 4.6992188 z M 74.837891 4.6992188 L 74.837891 7.5996094 L 80.638672 7.5996094 L 80.638672 25 L 83.539062 25 L 83.539062 7.5996094 L 89.337891 7.5996094 L 89.337891 4.6992188 L 74.837891 4.6992188 z M 98.027344 4.6992188 L 98.027344 6.1503906 L 96.578125 6.1503906 L 96.578125 7.5996094 L 95.126953 7.5996094 L 95.126953 9.0507812 L 93.677734 9.0507812 L 93.677734 10.5 L 92.226562 10.5 L 92.226562 25 L 95.126953 25 L 95.126953 19.199219 L 103.82617 19.199219 L 103.82617 25 L 106.72656 25 L 106.72656 10.5 L 105.27734 10.5 L 105.27734 9.0507812 L 103.82617 9.0507812 L 103.82617 7.5996094 L 102.37695 7.5996094 L 102.37695 6.1503906 L 100.92773 6.1503906 L 100.92773 4.6992188 L 98.027344 4.6992188 z M 109.61523 4.6992188 L 109.61523 25 L 112.51562 25 L 112.51562 16.300781 L 113.9668 16.300
87781 L 113.9668 17.75 L 115.41602 17.75 L 115.41602 19.199219 L 116.86523 19.199219 L 116.86523 20.650391 L 118.31641 20.650391 L 118.31641 22.099609 L 119.76562 22.099609 L 119.76562 23.550781 L 121.2168 23.550781 L 121.2168 25 L 124.11523 25 L 124.11523 22.099609 L 122.66602 22.099609 L 122.66602 20.650391 L 121.2168 20.650391 L 121.2168 19.199219 L 119.76562 19.199219 L 119.76562 17.75 L 118.31641 17.75 L 118.31641 16.300781 L 121.2168 16.300781 L 121.2168 14.849609 L 122.66602 14.849609 L 122.66602 13.400391 L 124.11523 13.400391 L 124.11523 7.5996094 L 122.66602 7.5996094 L 122.66602 6.1503906 L 121.2168 6.1503906 L 121.2168 4.6992188 L 109.61523 4.6992188 z M 129.9043 4.6992188 L 129.9043 6.1503906 L 128.45508 6.1503906 L 128.45508 7.5996094 L 127.00586 7.5996094 L 127.00586 22.099609 L 128.45508 22.099609 L 128.45508 23.550781 L 129.9043 23.550781 L 129.9043 25 L 138.60547 25 L 138.60547 23.550781 L 140.05469 23.550781 L 140.05469 22.099609 L 141.50586 22.099609 L 141.50586 7.5996094 L 140.05469 7.5996094 L 140.05469 6.1503906 L 138.60547 6.1503906 L 138.60547 4.6992188 L 129.9043 4.6992188 z M 144.39258 4.6992188 L 144.39258 25 L 158.89258 25 L 158.89258 22.099609 L 147.29297 22.099609 L 147.29297 16.300781 L 155.99219 16.300781 L 155.99219 13.400391 L 147.29297 13.400391 L 147.29297 7.5996094 L 158.89258 7.5996094 L 158.89258 4.6992188 L 144.39258 4.6992188 z M 161.78125 4.6992188 L 161.78125 7.5996094 L 167.58203 7.5996094 L 167.58203 25 L 170.48242 25 L 170.48242 7.5996094 L 176.28125 7.5996094 L 176.28125 4.6992188 L 161.78125 4.6992188 z M 179.17188 4.6992188 L 179.17188 20.650391 L 180.62109 20.650391 L 180.62109 22.099609 L 182.07031 22.099609 L 182.07031 23.550781 L 183.52148 23.550781 L 183.52148 25 L 189.32031 25 L 189.32031 23.550781 L 190.77148 23.550781 L 190.77148 22.099609 L 192.2207 22.099609 L 192.2207 20.650391 L 193.67188 20.650391 L 193.67188 4.6992188 L 190.77148 4.6992188 L 190.77148 19.199219 L 189.32031 19.199219 L 189.32031 20.650391 L 187.87109 20.650391 L 187.87109 22.099609 L 184.9707 22.099609 L 184.9707 20.650391 L 183.52148 20.650391 L 183.52148 19.199219 L 182.07031 19.199219 L 182.07031 4.6992188 L 179.17188 4.6992188 z M 205.26562 4.6992188 L 205.26562 6.1503906 L 203.81445 6.1503906 L 203.81445 7.5996094 L 202.36523 7.5996094 L 202.36523 13.400391 L 203.81445 13.400391 L 203.81445 14.849609 L 205.26562 14.849609 L 205.26562 16.300781 L 212.51562 16.300781 L 212.51562 17.75 L 213.96484 17.75 L 213.96484 20.650391 L 212.51562 20.650391 L 212.51562 22.099609 L 206.71484 22.099609 L 206.71484 20.650391 L 205.26562 20.650391 L 205.26562 19.199219 L 202.36523 19.199219 L 202.36523 22.099609 L 203.81445 22.099609 L 203.81445 23.550781 L 205.26562 23.550781 L 205.26562 25 L 213.96484 25 L 213.96484 23.550781 L 215.41406 23.550781 L 215.41406 22.099609 L 216.86523 22.099609 L 216.86523 16.300781 L 215.41406 16.300781 L 215.41406 14.849609 L 213.96484 14.849609 L 213.96484 13.400391 L 206.71484 13.400391 L 206.71484 11.949219 L 205.26562 11.949219 L 205.26562 9.0507812 L 206.71484 9.0507812 L 206.71484 7.5996094 L 212.51562 7.5996094 L 212.51562 9.0507812 L 213.96484 9.0507812 L 213.96484 10.5 L 216.86523 10.5 L 216.86523 7.5996094 L 215.41406 7.5996094 L 215.41406 6.1503906 L 213.96484 6.1503906 L 213.96484 4.6992188 L 205.26562 4.6992188 z M 219.75391 4.6992188 L 219.75391 22.099609 L 221.20312 22.099609 L 221.20312 23.550781 L 222.6543 23.550781 L 222.6543 25 L 231.35352 25 L 231.35352 23.550781 L 232.80469 23.550781 L 232.80469 22.099609 L 234.25391 22.099609 L 234.25391 4.6992188 L 231.35352 4.6992188 L 231.35352 20.650391 L 229.9043 20.650391 L 229.9043 22.099609 L 224.10352 22.099609 L 224.10352 20.650391 L 222.6543 20.650391 L 222.6543 4.6992188 L 219.75391 4.6992188 z M 112.51562 7.5996094 L 119.76562 7.5996094 L 119.76562 9.0507812 L 121.2168 9.0507812 L 121.2168 11.949219 L 119.76562 11.949219 L 119.76562 13.400391 L 112.51562 13.400391 L 112.51562 7.5996094 z M 131.35547 7.5996094 L 137.1543 7.5996094 L 137.1543 9.0507812 L 138.60547 9.0507812 L 138.60547 20.650391 L 137.1543 20.650391 L 137.1543 22.099609 L 131.35547 22.099609 L 131.35547 20.650391 L 129.9043 20.650391 L 129.9043 9.0507812 L 131.35547 9.0507812 L 131.35547 7.5996094 z M 28.292969 8.6835938 L 14 15.5 L 28.292969 22.316406 L 28.292969 15.59375 L 43 22.316406 L 43 8.6835938 L 28.292969 15.40625 L 28.292969 8.6835938 z M 98.027344 9.0507812 L 100.92773 9.0507812 L 100.92773 10.5 L 102.37695 10.5 L 102.37695 11.949219 L 103.82617 11.949219 L 103.82617 16.300781 L 95.126953 16.300
87781 L 95.126953 11.949219 L 96.578125 11.949219 L 96.578125 10.5 L 98.027344 10.5 L 98.027344 9.0507812 z M 196.55859 22.099609 L 196.55859 25 L 199.45898 25 L 199.45898 22.099609 L 196.55859 22.099609 z " id="path1241"/>
88                    </svg>
89                </a>`):$(e).parents(".plyr").append(` <a class="plyr__site-logo" href="/" target="_blank">
90                    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 54 53" version="1.1">
91                      <path d="M 20.535156 0 C 7.6549963 0 3.7910156 3.9238281 3.7910156 3.9238281 C 3.7910156 3.9238281 1 6.046885 1 14.171875 C 1 22.296875 3.7910156 24.417969 3.7910156 24.417969 C 3.7910156 24.417969 8.9430063 27.90625 20.535156 27.90625 C 29.520556 27.90625 34.635922 25.811741 36.482422 24.869141 L 33.037109 23.292969 C 32.838309 23.362369 32.62785 23.433306 32.40625 23.503906 C 29.94565 24.287906 26.046256 25.117188 20.535156 25.117188 C 15.023956 25.117188 11.122739 24.287906 8.6621094 23.503906 C 7.4298194 23.111306 6.5532156 22.728638 6.0097656 22.460938 C 5.7986956 22.357038 5.6374506 22.270031 5.5253906 22.207031 C 5.4115006 22.064031 5.1890631 21.746559 4.9394531 21.193359 C 4.4334731 20.072059 3.7910156 17.915475 3.7910156 14.171875 C 3.7910156 10.428275 4.4334731 8.2697675 4.9394531 7.1484375 C 5.1929631 6.5866175 5.41906 6.2706094 5.53125 6.1308594 C 5.5531 6.1036394 5.5705044 6.0816062 5.5839844 6.0664062 L 5.6386719 6.0253906 L 5.734375 5.9277344 L 5.7519531 5.9140625 C 5.8050831 5.8704725 5.9244237 5.7768375 6.1210938 5.6484375 C 6.5133738 5.3923175 7.2203219 4.9914925 8.3261719 4.5703125 C 10.536472 3.7284925 14.378456 2.7910156 20.535156 2.7910156 C 26.691856 2.7910156 30.533741 3.7284925 32.744141 4.5703125 C 33.235641 4.7575025 33.647081 4.941215 33.988281 5.109375 L 37.037109 3.7148438 C 36.019709 2.9021137 31.611956 0 20.535156 0 z M 27.318359 8.078125 L 14.023438 14.417969 L 27.318359 20.759766 L 27.318359 14.505859 L 41 20.759766 L 41 8.078125 L 27.318359 14.330078 L 27.318359 8.078125 z M 32.486328 35 L 32.486328 36 L 32.986328 36 L 32.986328 36.5 L 33.486328 36.5 L 33.486328 37 L 34.486328 37 L 34.486328 36.5 L 34.986328 36.5 L 34.986328 36 L 35.486328 36 L 35.486328 35 L 34.486328 35 L 34.486328 35.5 L 33.486328 35.5 L 33.486328 35 L 32.486328 35 z M 1.5 36 L 1.5 36.5 L 1 36.5 L 1 37 L 0.5 37 L 0.5 42 L 1 42 L 1 42.5 L 1.5 42.5 L 1.5 43 L 4.5 43 L 4.5 42.5 L 5 42.5 L 5 42 L 5.5 42 L 5.5 41 L 4.5 41 L 4.5 41.5 L 4 41.5 L 4 42 L 2 42 L 2 41.5 L 1.5 41.5 L 1.5 37.5 L 2 37.5 L 2 37 L 4 37 L 4 37.5 L 4.5 37.5 L 4.5 38 L 5.5 38 L 5.5 37 L 5 37 L 5 36.5 L 4.5 36.5 L 4.5 36 L 1.5 36 z M 6.4960938 36 L 6.4960938 37 L 8.4960938 37 L 8.4960938 43 L 9.4960938 43 L 9.4960938 37 L 11.496094 37 L 11.496094 36 L 6.4960938 36 z M 14.492188 36 L 14.492188 36.5 L 13.992188 36.5 L 13.992188 37 L 13.492188 37 L 13.492188 37.5 L 12.992188 37.5 L 12.992188 38 L 12.492188 38 L 12.492188 43 L 13.492188 43 L 13.492188 41 L 16.492188 41 L 16.492188 43 L 17.492188 43 L 17.492188 38 L 16.992188 38 L 16.992188 37.5 L 16.492188 37.5 L 16.492188 37 L 15.992188 37 L 15.992188 36.5 L 15.492188 36.5 L 15.492188 36 L 14.492188 36 z M 18.488281 36 L 18.488281 43 L 19.488281 43 L 19.488281 40 L 22.488281 40 L 22.488281 39.5 L 22.988281 39.5 L 22.988281 39 L 23.488281 39 L 23.488281 37 L 22.988281 37 L 22.988281 36.5 L 22.488281 36.5 L 22.488281 36 L 18.488281 36 z M 24.484375 36 L 24.484375 43 L 27.484375 43 L 27.484375 42.5 L 27.984375 42.5 L 27.984375 42 L 28.484375 42 L 28.484375 40 L 27.984375 40 L 27.984375 39.5 L 27.484375 39.5 L 27.484375 39 L 25.484375 39 L 25.484375 36 L 24.484375 36 z M 29.484375 36 L 29.484375 43 L 30.484375 43 L 30.484375 36 L 29.484375 36 z M 19.488281 37 L 21.988281 37 L 21.988281 37.5 L 22.488281 37.5 L 22.488281 38.5 L 21.988281 38.5 L 21.988281 39 L 19.488281 39 L 19.488281 37 z M 31.486328 37 L 31.486328 43 L 32.486328 43 L 32.486328 41.5 L 32.986328 41.5 L 32.986328 41 L 33.486328 41 L 33.486328 40.5 L 33.986328 40.5 L 33.986328 40 L 34.486328 40 L 34.486328 39.5 L 34.986328 39.5 L 34.986328 39 L 35.486328 39 L 35.486328 43 L 36.486328 43 L 36.486328 37 L 35.486328 37 L 35.486328 37.5 L 34.986328 37.5 L 34.986328 38 L 34.486328 38 L 34.486328 38.5 L 33.986328 38.5 L 33.986328 39 L 33.486328 39 L 33.486328 39.5 L 32.986328 39.5 L 32.986328 40 L 32.486328 40 L 32.486328 37 L 31.486328 37 z M 14.492188 37.5 L 15.492188 37.5 L 15.492188 38 L 15.992188 38 L 15.992188 38.5 L 16.492188 38.5 L 16.492188 40 L 13.492188 40 L 13.492188 38.5 L 13.992188 38.5 L 13.992188 38 L 14.492188 38 L 14.492188 37.5 z M 25.484375 40 L 26.984375 40 L 26.984375 40.5 L 27.484375 40.5 L 27.484375 41.5 L 26.984375 41.5 L 26.984375 42 L 25.484375 42 L 25.484375 40 z M 0.5 46 L 0.5 47 L 2.5 47 L 2.5 53 L 3.5 53 L 3.5 47 L 5.5 47 L 5.5 46 L 0.5 46 z M 6.4960938 46 L 6.4960938 53 L 11.496094 53 L 11.496094 52 L 7.4960938 52 L 7.4960938 50 L 10.496094 50 L 10.496094 49 L 7.4960938 49 L 7.4960938 47 L 11.496094 47 L 11.496094 46 L 6.4960938 46 z M 13.492188 46 L 13.492188 52 L 12.492188 52 L 12.492188 53 L 13.992188 53 L 13.992188 52.5 L 14.492188 52.5 L 14.492188 47 L 16.492188 47 L 16.492188 53 L 17.492188 53 L 17.492188 46 L 13.492188 46 z M 18.488281 46 L 18.488281 53 L 23.488281 53 L 23.488281 52 L 19.488281 52 L 19.488281 50 L 22.488281 50 L 22.488281 49 L 19.488281 49 L 19.488281 47 L 23.488281 47 L 23.488281 46 L 18.488281 46 z M 24.484375 46 L 24.484375 53 L 28.484375 53 L 28.484375 52.5 L 28.984375 52.5 L 28.984375 52 L 29.484375 52 L 29.484375 50 L 28.984375 50 L 28.984375 49 L 29.484375 49 L 29.484375 47 L 28.984375 47 L 28.984375 46.5 L 28.484375 46.5 L 28.484375 46 L 24.484375 46 z M 30.480469 46 L 30.480469 53 L 31.480469 53 L 31.480469 51.5 L 31.980469 51.5 L 31.980469 51 L 32.480469 51 L 32.480469 50.5 
91L 32.980469 50.5 L 32.980469 50 L 33.480469 50 L 33.480469 49.5 L 33.980469 49.5 L 33.980469 49 L 34.480469 49 L 34.480469 53 L 35.480469 53 L 35.480469 46 L 34.480469 46 L 34.480469 47.5 L 33.980469 47.5 L 33.980469 48 L 33.480469 48 L 33.480469 48.5 L 32.980469 48.5 L 32.980469 49 L 32.480469 49 L 32.480469 49.5 L 31.980469 49.5 L 31.980469 50 L 31.480469 50 L 31.480469 46 L 30.480469 46 z M 37.476562 46 L 37.476562 46.5 L 36.976562 46.5 L 36.976562 47 L 36.476562 47 L 36.476562 48 L 37.476562 48 L 37.476562 47.5 L 37.976562 47.5 L 37.976562 47 L 39.976562 47 L 39.976562 47.5 L 40.476562 47.5 L 40.476562 48.5 L 39.976562 48.5 L 39.976562 49 L 38.476562 49 L 38.476562 50 L 39.976562 50 L 39.976562 50.5 L 40.476562 50.5 L 40.476562 51.5 L 39.976562 51.5 L 39.976562 52 L 37.976562 52 L 37.976562 51.5 L 37.476562 51.5 L 37.476562 51 L 36.476562 51 L 36.476562 52 L 36.976562 52 L 36.976562 52.5 L 37.476562 52.5 L 37.476562 53 L 40.476562 53 L 40.476562 52.5 L 40.976562 52.5 L 40.976562 52 L 41.476562 52 L 41.476562 50 L 40.976562 50 L 40.976562 49 L 41.476562 49 L 41.476562 47 L 40.976562 47 L 40.976562 46.5 L 40.476562 46.5 L 40.476562 46 L 37.476562 46 z M 43.472656 46 L 43.472656 46.5 L 42.972656 46.5 L 42.972656 47 L 42.472656 47 L 42.472656 52 L 42.972656 52 L 42.972656 52.5 L 43.472656 52.5 L 43.472656 53 L 46.472656 53 L 46.472656 52.5 L 46.972656 52.5 L 46.972656 52 L 47.472656 52 L 47.472656 47 L 46.972656 47 L 46.972656 46.5 L 46.472656 46.5 L 46.472656 46 L 43.472656 46 z M 48.46875 46 L 48.46875 53 L 49.46875 53 L 49.46875 50 L 52.46875 50 L 52.46875 49.5 L 52.96875 49.5 L 52.96875 49 L 53.46875 49 L 53.46875 47 L 52.96875 47 L 52.96875 46.5 L 52.46875 46.5 L 52.46875 46 L 48.46875 46 z M 25.484375 47 L 27.984375 47 L 27.984375 47.5 L 28.484375 47.5 L 28.484375 48.5 L 27.984375 48.5 L 27.984375 49 L 25.484375 49 L 25.484375 47 z M 43.972656 47 L 45.972656 47 L 45.972656 47.5 L 46.472656 47.5 L 46.472656 51.5 L 45.972656 51.5 L 45.972656 52 L 43.972656 52 L 43.972656 51.5 L 43.472656 51.5 L 43.472656 47.5 L 43.972656 47.5 L 43.972656 47 z M 49.46875 47 L 51.96875 47 L 51.96875 47.5 L 52.46875 47.5 L 52.46875 48.5 L 51.96875 48.5 L 51.96875 49 L 49.46875 49 L 49.46875 47 z M 25.484375 50 L 27.984375 50 L 27.984375 50.5 L 28.484375 50.5 L 28.484375 51.5 L 27.984375 51.5 L 27.984375 52 L 25.484375 52 L 25.484375 50 z "/>
92                    </svg>
93                </a>`)}),e.addEventListener("ended",l=>{window.onRecordEnded&&window.onRecordEnded()}),e.addEventListener("error",l=>{console.log(l)});const a=parseInt(new URLSearchParams(window.location.search).get("start"));a&&(e.currentTime=a)})};window.execOnMounted.push(function(){initPlayer(),checkYoutubeAvailability()});$(body$g).on("click",".plyr__control--embed",function(){const e=$(this).parents(".plyr"),t=$(e).find(".own-player"),n=$(t).data("id"),i=$(t).data("url");let s=$(e).hasClass("own-player--radio")?`<iframe frameborder="0" src="https://staroetv.su/embed/${n}" width="640" height="105" allowfullscreen></iframe>`:`<iframe frameborder="0" src="https://staroetv.su/embed/${n}" width="640" height="480" allowfullscreen></iframe>`;s=s.replace(/[\u00A0-\u9999<>\&]/gim,function(r){return"&#"+r.charCodeAt(0)+";"}),$(".plyr").append(`<div class="embed">
94        <div class="embed__inner">
95            <div class="embed__copy">
96                <div class="embed__copy__title">Код для вставки</div>
97                <div class="embed__copy__text embed__copy__text--small">${s}</div>
98            </div>
99             <div class="embed__copy">
100                <div class="embed__copy__title">Прямая ссылка на страницу записи</div>
101                <div class="embed__copy__text">${i}</div>
102            </div>
103            <div class="embed__description">Нажмите на ссылку, чтобы выделить ее</div>
104        </div>
105    </div>`)});$(body$g).on("click",".embed",function(e){$(this).remove()});$(body$g).on("click",".embed__copy__text",function(e){window.getSelection().selectAllChildren($(this)[0]),e.preventDefault(),e.stopPropagation()});const sendError=(e,t)=>
105{const n={description:t,record_id:e,type:"player-not-working",auto:!0};$.post(route("records.complaint"),n)};let youtubeAvailabilityState=-1;const checkYoutubeAvailability=()=>{if($(".record-page__player-container iframe").attr("src")?.includes("youtu"))if(youtubeAvailabilityState===-1){const t=document.createElement("script");t.src="https://www.youtube.com/iframe_api",t.onload=()=>{youtubeAvailabilityState=1,onYoutubeAvailabilityStateReady()},document.head.appendChild(t),setTimeout(()=>{youtubeAvailabilityState===-1&&(youtubeAvailabilityState=0,onYoutubeAvailabilityStateReady())},5e3)}else onYoutubeAvailabilityStateReady()},onYoutubeAvailabilityStateReady=()=>{youtubeAvailabilityState===0?$(".record-page__download-overlay").css("display",""):$(".record-page__youtube-alert").hide()};$(body$g).on("click",".record-page__download-overlay__button",function(){const e=$(this).parents(".record-page__download-overlay"),t=$(e).find(".record-page__download-overlay__error");$(e).append(FORM_PRELOADER_HTML),$(t).hide(),$(this).hide(),$.post(route("records.download-url"),{id:$(e).data("id")},function(n){const i=n.data.url,s=i.includes("m3u8")?"application/x-mpegURL":"video/mp4",r=`<video
106            data-title="${$(e).data("title")}"
107            data-url="${$(e).data("url")}"
108            data-id="${$(e).data("id")}"
109            poster="${$(e).data("poster")}"
110            class="own-player"
111            autoplay
112            controls
113        >
114            <source src="${i}" type="${s}">
115       </video>`;$(".record-page__player").html(r),initPlayer()}).catch(()=>{$(t).css("display","")}).always(()=>{$(e).find(`.${FORM_PRELOADER_CLASS}`).remove()})});const body$f=$("body");window.execOnMounted.push(function(){$("a").removeClass("link--active"),$(`a[href="${window.location.pathname}"]`).addClass("link--active"),$(".select").select2()});$(body$f).on("click",".button--login",function(e){showModal("#login"),e.preventDefault()});$(body$f).on("click",".form__bottom__link",function(){$(this).attr("href")?.length&&$(this).parents(".modal-window").find(".modal-window__close").click()});const body$e=$("body"),notifications=$(".notifications");let page=1;$(body$e).on("click",".auth-panel__button--notifications, .mobile-menu__item--notifications",function(){$(".auth-
115panel__button--notifications .auth-panel__button__count, .mobile-menu__item--notifications .mobile-menu__item__count").hide(),$(notifications).show(),$(".notifications__list").html('<div class="form__preloader"><img src="/img/ajax.gif"></div>'),page=1,$.get(route("profile.notifications")).done(e=>{e.status?replaceHTML(e.data.html):alert(e.text)})});$(document).click(function(e){let t=$(e.target);!t.closest(".notifications").length&&!t.closest(".auth-panel__button--notifications").length&&!t.closest(".mobile-menu__item--notifications").length&&$(notifications).is(":visible")&&$(notifications).hide()});$(body$e).on("click",".notification",function(){$(notifications).hide()});$(body$e).on("click",".notifications__more",function(e){e.preventDefault(),page++,$.get(`/profile/notifications?page=${page}`).done(t=>{t.status?(replaceHTML(t.data.html),$(this).css("display",t.data.show_more?"":"none")):alert(t.text)})});const isMobile=()=>$(window).width()<=960,serialize=(e,t=null)=>Object.keys(e).map(n=>{let i=e[n];const s=t?`${t}[${n}]`:n;return i===!0&&(i=1),i===!1&&(i=0),i==null||i?.length===0||i===-1?"":i&&typeof i=="object"?serialize(i,s):`${encodeURIComponent(s)}=${encodeURIComponent(i)}`}).filter(n=>n?.length).join("&"),updateQueryString=e=>{window.history.replaceState({},"",`${location.pathname}?${serialize(e)}`)},body$d=$("body"),loadRecords=({container:e,conditions:t,link:n})=>{$(e).append(PRELOADER_HTML);const i={...Object.fromEntries(new URLSearchParams(n?n.split("?")[1]:window.location.search)),year:$(".records-list__years").find(".top-list__item--active").data("year"),month:$(".records-list__months").find(".top-list__item--active").data("month"),sort:isMobile()?$(".records-list__sort__mobile option:selected").val():$(e).find(".records-list__sort__items .top-list__item--active").data("sort"),page:1,search:$(e).find(".records-list__sort__search input").val()},s={conditions:t,...i};$(e).data("block-title")&&(s.block_title=$(e).data("block-title")),$(e).data("title-param")&&(s.title_param=$(e).data("title-param")),$.post(route("records.ajax"),s).done(r=>{$("html,body").animate({scrollTop:$(e).offset().top},300),$(e).find(`.${PRELOADER_CLASS}`).remove(),$(e).html(r.data.html),updateQueryString(i),window.execOnRecordsPageChange.forEach(a=>a())})};$(body$d).on("click",".records-list__ajax-container .top-list__item",function(e){$(this).parents(".top-list").find(".top-list__item").removeClass("top-list__item--active"),$(this).addClass("top-list__item--active")});$(body$d).on("click",".records-list__ajax-container .records-list__filters a, .records-list__ajax-container .records-list__outer .page-link",function(e){const t=$(this).parents(".records-list__outer"),n=$(t).data("conditions"),i=$(this).attr("href");e.preventDefault(),loadRecords({container:t,conditions:n,link:i})});$(body$d).on("change",".records-list__ajax-container .records-list__sort__search input, .records-list__ajax-container .records-list__sort__mobile",function(e){let t=$(this).parents(".records-list__outer");const n=$(t).data("conditions");$(this).val(),loadRecords({container:t,conditions:n})});let body$c=$("body");$(body$c).on("change",'select[name="user_group"]',function(){$.post(route("admin.users.change-group"),{group_id:$(this).val(),user_id:$(this).data("user-id")}).done(e=>{e.status?window.location.reload():alert(e.text)})});let body$b=$("body");$(body$b).on("click","*[data-approve]",function(){$.post(route(`${$(this).data("approve")}.approve`),{id:$(this).data("approve-id")}).then(e=>{e.status?$(this).html(e.data.approved?"Скрыть":"Одобрить"):alert(e.text)})});let body$a=$("body");$(body$a).on("click",".programs-list__show-more .button",function(){const e=$(this).parents(".programs-list__show-more");$(e).append(FORM_PRELOADER_HTML);const t={};$(this).data("category")&&(t.category=$(this).data("category")),$(this).data("period")&&(t.period=$(this).data("period")),$(this).data("channel-id")&&(t.channel_id=$(this).data("channel-id")),$(this).data("limit")&&(t.limit=$(this).data("limit")),t.page=$(this).data("page")||2,$.get(route(`records.${$(this).data("is-radio")?"radio":"video"}.programs.show-more`,t)).then(n=>{$(e).find(`.${FORM_PRELOADER_CLASS}`).remove(),n.status&&(replaceHTML(n.data.html),$(this).data("page",t.page+1))})});
115const setCookie=(e,t,n)=>{let i="";{let s=new Date;s.setTime(s.getTime()+n*24*60*60*1e3),i="; expires="+s.toUTCString()}document.cookie=e+"="+t+i+"; path=/"},body$9=$("body");$(body$9).on("click",".footer__light-switch",function(){let e=$(body$9).hasClass("theme-dark");$(body$9).removeClass("theme-dark theme-light").addClass(e?"theme-light":"theme-dark"),setCookie("theme-dark",e?"0":"1",365)});const body$8=$("body");window.execOnMounted.push(function(){$(".categories-list").each(function(){if($(this).hasClass("categories-list--multiline")&&!$(this).hasClass("categories-list--multiline-opened")&&isMobile()){initMultiline($(this));return}initSlider($(this))})});const initMultiline=e=>{const n=[];let i=!1;$(e).children().each(function(){const s=$(this).position().top;n.includes(s)||n.push(s),n.length>3&&(i=!0,$(e).addClass("categories-list--multiline-collapse"),$(this).addClass("category--collapsed"))}),i&&$(e).append(`
116            <a class="button categories-list__show-all">Показать все</a>
117        `)},initSlider=e=>{const t=$(e)[0];let n=!1,i,s;t.addEventListener("mousewheel",r=>{t.scrollLeft=t.scrollLeft+r.deltaY/2,s=t.scrollLeft,r.preventDefault()}),t.addEventListener("mousedown",r=>{n=!0,t.classList.add("active"),i=r.pageX-t.offsetLeft,s=t.scrollLeft}),t.addEventListener("mouseleave",()=>{n=!1,t.classList.remove("active")}),t.addEventListener("mouseup",()=>{n=!1,t.classList.remove("active")}),t.addEventListener("mousemove",r=>{if(!n)return;r.preventDefault();const l=(r.pageX-t.offsetLeft-i)*1.25;t.scrollLeft=s-l})};$(body$8).on("click",".categories-list__show-all",function(){$(this).parents(".categories-list").removeClass("categories-list--multiline-collapse"),$(this).remove()});window.initShare=()=>{$(".share-buttons").length>0&&$(".share-buttons").each(function(){let e={};$(this).data("title")&&(e.title=$(this).data("title")),$(this).data("url")&&(e.url=$(this).data("url")),Ya.share2($(this)[0],{content:e})})};window.execOnMounted.push(()=>{window.initShare()});window.execOnMounted.push(function(){});window.recaptchaLoaded=!1;window.execOnMounted.push(()=>{});let body$7=$("body"),searchInputTimeout=null;$(body$7).on("click",".auth-panel__button--search, .mobile-menu__item--search",function(){$(".site-search").show(),setTimeout(()=>{$(".site-search__input").focus()},50)});$(body$7).on("click",".site-search__close",function(){$(".site-search").hide()});$(body$7).on("keyup",".site-search__input",function(e){if(e.keyCode===27){$(".site-search").hide();return}$(this).val().length>0&&(clearTimeout(searchInputTimeout),searchInputTimeout=setTimeout(()=>{$(this).val().length>=3&&($(".site-search__results").html(PRELOADER_HTML),$.get(`${route("site-search")}?search=${$(this).val()}`).done(t=>{replaceHTML(t.data.html)}))},500))});let body$6=$("body");$(body$6).on("click",".auth-panel__button--menu",function(){$(".mobile-menu").toggle(),$(this).toggleClass("auth-panel__button--menu--active")});$(body$6).on("click",".mobile-menu__item",function(){$(this).hasClass("mobile-menu__item--notifications")||$(".mobile-menu").hide()});window.playlistLastIds=[];window.playlistRecordsCache={};const body$5=$("body");let currentPlaylistId;const initPlaylist=()=>{const e=$(".playlist");if($(e).length>0){if($(window).width()<=768)$(e).insertBefore(".record-page__comments");else{const i=$(".record-page__player").height();$(e).css("height",`${i}px`)}currentPlaylistId||(currentPlaylistId=$(e).data("current-id"));const t=$(e).data("current-id");let n=$(e).find(`.playlist__item[data-id=${t}]`);$(n).addClass("playlist__item--active"),$(".playlist .box__inner").animate({scrollTop:$(n)[0].offsetTop},250),window.onRecordEnded=()=>{setTimeout(()=>{const i=$(".playlist__item--active").nextAll(".playlist__item").first();$(i).length&&$(i).find("a").click()},500)}}},initPlaylistItem=e=>{replaceHTML(e.html),document.title=`${e.record.title} - Старый Телевизор`,setTimeout(()=>{initPlayer()},50),history.pushState(null,null,e.record.url),window.initShare(),currentPlaylistId=e.record.id};function loadPlaylistItem(e){window.playlistRecordsCache[e]?initPlaylistItem(window.playlistRecordsCache[e]):$.get("/records/playlist-ajax/"+e).done(t=>{t.status?(window.playlistRecordsCache[e]=t.data,initPlaylistItem(t.data)):alert(t.text)})}
117$(body$5).on("click",".playlist__item a",function(e){e.preventDefault(),window.playlistLastIds.push(currentPlaylistId);const t=$(this).parents(".playlist__item"),n=$(t).data("id");loadPlaylistItem(n),$(".playlist__item").removeClass("playlist__item--active"),$(t).addClass("playlist__item--active"),$(".playlist .box__inner").animate({scrollTop:$(t)[0].offsetTop},250),$(window).width()<=768&&$([document.documentElement,document.body]).animate({scrollTop:$(".record-page__player").offset().top},500)});$(window).on("popstate",function(){if(window.playlistLastIds?.length){const e=window.playlistLastIds.pop();setTimeout(()=>{loadPlaylistItem(e)},100)}});window.execOnMounted.push(initPlaylist);$("body");$(document).ready(function(){});const body$4=$("body"),timeouts={};$(body$4).on("mouseenter",".record-item--with-preview",function(e){timeouts[$(this).data("id")]=setTimeout(()=>{const t=$(this).data("src"),n=$(this).find(".record-item__cover");$(n).append(`<video class="record-item__preview" autoplay muted loop style="visibility: hidden"><source src="${t}" type="video/mp4" /></video>`);const i=$(this).find(".record-item__preview");$(i).on("loadedmetadata",function(){$(this).css("visibility","visible")})},500)});$(body$4).on("mouseleave",".record-item--with-preview",function(e){clearTimeout(timeouts[$(this).data("id")]),$(this).find(".record-item__preview").remove()});const body$3=$("body");let telegramUserData;$(body$3).on("click",".button--telegram",function(e){if(e.preventDefault(),!window.Telegram?.Login){alert("Не удалось подключиться к Telegram, включите VPN или иной способ обхода блокировок");return}window.Telegram.Login.auth({bot_id:"8349340187"},t=>{if(t)if(telegramUserData=t,$(this).data("action")==="register")showTelegramRegisterForm();else{const n=$(this).parents(".form");$(n).find('input[name="telegram_data"]').val(JSON.stringify(t)),$(n).submit(),$(n).find('input[name="telegram_data"]').val("")}})});const showTelegramRegisterForm=()=>{showModalAjax($.get(route("profile.telegram.register-form"),{telegram_data:telegramUserData}),"#login")};window.loginCallback=e=>{e.is_new_user&&showTelegramRegisterForm()};$(body$3).on("click",".telegram-create-new-profile-link",function(e){e.preventDefault(),$(".telegram-create-new-profile-form").css("display",""),$(".telegram-connect-existing-profile-form").css("display","none")});$(body$3).on("click",".telegram-connect-existing-profile-link",function(e){e.preventDefault(),$(".telegram-connect-existing-profile-form").css("display",""),$(".telegram-create-new-profile-form").css("display","none")});const body$2=$("body");$(body$2).on("click",".actions-logs__item__show-changes",function(){$(this).hide(),$(this).parent().find(".actions-logs__item__changes").show()});const body$1=$("body"),formId="record_complaint",typeSelector=`#${formId} input[name=type]`,contactSelector=`#${formId} input[name=contact]`,onTypeChange=function(){const e=$(`${typeSelector}:checked`).val()=="player-not-working",t=$(contactSelector).closest(".input-container");e?$(t).hide():$(t).show()};$(body$1).on("change",typeSelector,onTypeChange);$(body$1).on("reset",`#${formId} form`,()=>{setTimeout(()=>{onTypeChange()},1)});function makeMap(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),isModelListener=e=>e.startsWith("onUpdate:"),extend=Object.assign,remove=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hasOwnProperty$1=Object.prototype.hasOwnProperty,hasOwn=(e,t)=>hasOwnProperty$1.call(e,t),isArray=Array.isArray,isMap=e=>toTypeString(e)==="[object Map]",isSet=e=>toTypeString(e)==="[object Set]",isDate=e=>toTypeString(e)==="[object Date]",isRegExp=e=>toTypeString(e)==="[object RegExp]",isFunction=e=>typeof e=="function",isString=e=>typeof e=="string",isSymbol=e=>typeof e=="symbol",isObject=e=>e!==null&&typeof e=="object",isPromise=e=>(isObject(e)||isFunction(e))&&isFunction(e.then)&&isFunction(e.catch),objectToString=Object.prototype.toString,toTypeString=e=>objectToString.call(e),toRawType=e=>toTypeString(e).slice(8,-1),isPlainObject$1=e=>toTypeString(e)==="[object Object]",isIntegerKey=e=>isString(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),isBuiltInDirective=makeMap("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),
vendor: 24,428 bytes, line 117
117cacheStringFunction=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},camelizeRE=/-\w/g,camelize=cacheStringFunction(e=>e.replace(camelizeRE,t=>t.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(e=>e.replace(hyphenateRE,"-$1").toLowerCase()),capitalize=cacheStringFunction(e=>e.charAt(0).toUpperCase()+e.slice(1)),toHandlerKey=cacheStringFunction(e=>e?`on${capitalize(e)}`:""),hasChanged=(e,t)=>!Object.is(e,t),invokeArrayFns=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},def=(e,t,n,i=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:n})},looseToNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},toNumber=e=>{const t=isString(e)?Number(e):NaN;return isNaN(t)?e:t};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function genCacheKey(e,t){return e+JSON.stringify(t,(n,i)=>typeof i=="function"?i.toString():i)}const GLOBALS_ALLOWED="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,Error,Symbol",isGloballyAllowed=makeMap(GLOBALS_ALLOWED);function normalizeStyle(e){if(isArray(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],s=isString(i)?parseStringStyle(i):normalizeStyle(i);if(s)for(const r in s)t[r]=s[r]}return t}else if(isString(e)||isObject(e))return e}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(e){const t={};return e.replace(styleCommentRE,"").split(listDelimiterRE).forEach(n=>{if(n){const i=n.split(propertyDelimiterRE);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function normalizeClass(e){let t="";if(isString(e))t=e;else if(isArray(e))for(let n=0;n<e.length;n++){const i=normalizeClass(e[n]);i&&(t+=i+" ")}else if(isObject(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function normalizeProps(e){if(!e)return null;let{class:t,style:n}=e;return t&&!isString(t)&&(e.class=normalizeClass(t)),n&&(e.style=normalizeStyle(n)),e}const HTML_TAGS="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",SVG_TAGS="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",MATH_TAGS="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",VOID_TAGS="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",isHTMLTag=makeMap(HTML_TAGS),isSVGTag=makeMap(SVG_TAGS),isMathMLTag=makeMap(MATH_TAGS),isVoidTag=makeMap(VOID_TAGS),specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(e){return!!e||e===""}function looseCompareArrays(e,t){if(e.length!==t.length)return!1;let n=!0;for(let i=0;n&&i<e.length;i++)n=looseEqual(e[i],t[i]);return n}function looseEqual(e,t){if(e===t)return!0;let n=isDate(e),i=isDate(t);if(n||i)return n&&i?e.getTime()===t.getTime():!1;if(n=isSymbol(e),i=isSymbol(t),n||i)return e===t;if(n=isArray(e),i=isArray(t),n||i)return n&&i?looseCompareArrays(e,t):!1;if(n=isObject(e),i=isObject(t),n||i){if(!n||!i)return!1;const s=Object.keys(e).length,r=Object.keys(t).length;if(s!==r)return!1;for(const a in e){const l=e.hasOwnProperty(a),u=t.hasOwnProperty(a);if(l&&!u||!l&&u||!looseEqual(e[a],t[a]))return!1}}return String(e)===String(t)}function looseIndexOf(e,t){return e.findIndex(n=>looseEqual(n,t))}const isRef$1=e=>!!(e&&e.__v_isRef===!0),toDisplayString=e=>isString(e)?e:e==null?"":isArray(e)||isObject(e)&&(e.toString===objectToString||!isFunction(e.toString))?isRef$1(e)?toDisplayString(e.value):JSON.stringify(e,replacer,2):String(e),replacer=(e,t)=>isRef$1(t)?replacer(e,t.value):isMap(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,s],r)=>(n[stringifySymbol(i,r)+" =>"]=s,n),{})}:isSet(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>stringifySymbol(n))}:isSymbol(t)?stringifySymbol(t):isObject(t)&&!isArray(t)&&!isPlainObject$1(t)?String(t):t,stringifySymbol=(e,t="")=>{var n;return isSymbol(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function normalizeCssVarValue(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let activeEffectScope;class EffectScope{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!t&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=activeEffectScope;try{return activeEffectScope=this,t()}finally{activeEffectScope=n}}}on(){++this._on===1&&(this.prevScope=activeEffectScope,activeEffectScope=this)}off(){this._on>0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(this.effects.length=0,n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function effectScope(e){return new EffectScope(e)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(e,t=!1){activeEffectScope&&activeEffectScope.cleanups.push(e)}let activeSub;const pausedQueueEffects=new WeakSet;class ReactiveEffect{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,activeEffectScope&&activeEffectScope.active&&activeEffectScope.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,pausedQueueEffects.has(this)&&(pausedQueueEffects.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||batch(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,cleanupEffect(this),prepareDeps(this);const t=activeSub,n=shouldTrack;activeSub=this,shouldTrack=!0;try{return this.fn()}finally{cleanupDeps(this),activeSub=t,shouldTrack=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)removeSub(t);this.deps=this.depsTail=void 0,cleanupEffect(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?pausedQueueEffects.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){isDirty(this)&&this.run()}get dirty(){return isDirty(this)}}let batchDepth=0,batchedSub,batchedComputed;function batch(e,t=!1){if(e.flags|=8,t){e.next=batchedComputed,batchedComputed=e;return}e.next=batchedSub,batchedSub=e}function startBatch(){batchDepth++}function endBatch(){if(--batchDepth>0)return;if(batchedComputed){let t=batchedComputed;for(batchedComputed=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;batchedSub;){let t=batchedSub;for(batchedSub=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){e||(e=i)}t=n}}if(e)throw e}function prepareDeps(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function cleanupDeps(e){let t,n=e.depsTail,i=n;for(;i;){const s=i.prevDep;i.version===-1?(i===n&&(n=s),removeSub(i),removeDep(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=s}e.deps=t,e.depsTail=n}function isDirty(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(refreshComputed(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function refreshComputed(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===globalVersion)||(e.globalVersion=globalVersion,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!isDirty(e))))return;e.flags|=2;const t=e.dep,n=activeSub,i=shouldTrack;activeSub=e,shouldTrack=!0;try{prepareDeps(e);const s=e.fn(e._value);(t.version===0||hasChanged(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{activeSub=n,shouldTrack=i,cleanupDeps(e),e.flags&=-3}}function removeSub(e,t=!1){const{dep:n,prevSub:i,nextSub:s}=e;if(i&&(i.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=i,e.nextSub=void 0),n.subs===e&&(n.subs=i,!i&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)removeSub(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function removeDep(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function effect(e,t){e.effect instanceof ReactiveEffect&&(e=e.effect.fn);const n=new ReactiveEffect(e);t&&extend(n,t);try{n.run()}catch(s){throw n.stop(),s}const i=n.run.bind(n);return i.effect=n,i}function stop(e){e.effect.stop()}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const e=trackStack.pop();shouldTrack=e===void 0?!0:e}function cleanupEffect(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=activeSub;activeSub=void 0;try{t()}finally{activeSub=n}}}let globalVersion=0;class Link{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Dep{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==activeSub)n=this.activeLink=new Link(activeSub,this),activeSub.deps?(n.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=n,activeSub.depsTail=n):activeSub.deps=activeSub.depsTail=n,addSub(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const i=n.nextDep;i.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=i),n.prevDep=activeSub.depsTail,n.nextDep=void 0,activeSub.depsTail.nextDep=n,activeSub.depsTail=n,activeSub.deps===n&&(activeSub.deps=i)}return n}trigger(t){this.version++,globalVersion++,this.notify(t)}notify(t){startBatch();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{endBatch()}}}function addSub(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)addSub(i)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(e,t,n){if(shouldTrack&&activeSub){let i=targetMap.get(e);i||targetMap.set(e,i=new Map);let s=i.get(n);s||(i.set(n,s=new Dep),s.map=i,s.key=n),s.track()}}function trigger(e,t,n,i,s,r){const a=targetMap.get(e);if(!a){globalVersion++;return}const l=u=>{u&&u.trigger()};if(startBatch(),t==="clear")a.forEach(l);else{const u=isArray(e),d=u&&isIntegerKey(n);if(u&&n==="length"){const f=Number(i);a.forEach((g,v)=>{(v==="length"||v===ARRAY_ITERATE_KEY||!isSymbol(v)&&v>=f)&&l(g)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),d&&l(a.get(ARRAY_ITERATE_KEY)),t){case"add":u?d&&l(a.get("length")):(l(a.get(ITERATE_KEY)),isMap(e)&&l(a.get(MAP_KEY_ITERATE_KEY)));break;case"delete":u||(l(a.get(ITERATE_KEY)),isMap(e)&&l(a.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(e)&&l(a.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(e,t){const n=targetMap.get(e);return n&&n.get(t)}function reactiveReadArray(e){const t=toRaw(e);return t===e?t:(track(t,"iterate",ARRAY_ITERATE_KEY),isShallow(e)?t:t.map(toReactive))}function shallowReadArray(e){return track(e=toRaw(e),"iterate",ARRAY_ITERATE_KEY),e}function toWrapped(e,t){return isReadonly(e)?isReactive(e)?toReadonly(toReactive(t)):toReadonly(t):toReactive(t)}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,e=>toWrapped(this,e))},concat(...e){return reactiveReadArray(this).concat(...e.map(t=>isArray(t)?reactiveReadArray(t):t))},entries(){return iterator(this,"entries",e=>(e[1]=toWrapped(this,e[1]),e))},every(e,t){return apply(this,"every",e,t,void 0,arguments)},filter(e,t){return apply(this,"filter",e,t,n=>n.map(i=>toWrapped(this,i)),arguments)},find(e,t){return apply(this,"find",e,t,n=>toWrapped(this,n),arguments)},findIndex(e,t){return apply(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return apply(this,"findLast",e,t,n=>toWrapped(this,n),arguments)},findLastIndex(e,t){return apply(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return apply(this,"forEach",e,t,void 0,arguments)},includes(...e){return searchProxy(this,"includes",e)},indexOf(...e){return searchProxy(this,"indexOf",e)},join(e){return reactiveReadArray(this).join(e)},lastIndexOf(...e){return searchProxy(this,"lastIndexOf",e)},map(e,t){return apply(this,"map",e,t,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...e){return noTracking(this,"push",e)},reduce(e,...t){return reduce(this,"reduce",e,t)},reduceRight(e,...t){return reduce(this,"reduceRight",e,t)},shift(){return noTracking(this,"shift")},some(e,t){return apply(this,"some",e,t,void 0,arguments)},splice(...e){return noTracking(this,"splice",e)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(e){return reactiveReadArray(this).toSorted(e)},toSpliced(...e){return reactiveReadArray(this).toSpliced(...e)},unshift(...e){return noTracking(this,"unshift",e)},values(){return iterator(this,"values",e=>toWrapped(this,e))}};function iterator(e,t,n){const i=shallowReadArray(e),s=i[t]();return i!==e&&!isShallow(e)&&(s._next=s.next,s.next=()=>{const r=s._next();return r.done||(r.value=n(r.value)),r}),s}const arrayProto=Array.prototype;function apply(e,t,n,i,s,r){const a=shallowReadArray(e),l=a!==e&&!isShallow(e),u=a[t];if(u!==arrayProto[t]){const g=u.apply(e,r);return l?toReactive(g):g}let d=n;a!==e&&(l?d=function(g,v){return n.call(this,toWrapped(e,g),v,e)}:n.length>2&&(d=function(g,v){return n.call(this,g,v,e)}));const f=u.call(a,d,i);return l&&s?s(f):f}function reduce(e,t,n,i){const s=shallowReadArray(e);let r=n;return s!==e&&(isShallow(e)?n.length>3&&(r=function(a,l,u){return n.call(this,a,l,u,e)}):r=function(a,l,u){return n.call(this,a,toWrapped(e,l),u,e)}),s[t](r,...i)}function searchProxy(e,t,n){const i=toRaw(e);track(i,"iterate",ARRAY_ITERATE_KEY);const s=i[t](...n);return(s===-1||s===!1)&&isProxy(n[0])?(n[0]=toRaw(n[0]),i[t](...n)):s}function noTracking(e,t,n=[]){pauseTracking(),startBatch();const i=toRaw(e)[t].apply(e,n);return endBatch(),resetTracking(),i}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(isSymbol));function hasOwnProperty(e){isSymbol(e)||(e=String(e));const t=toRaw(this);return track(t,"has",e),t.hasOwnProperty(e)}class BaseReactiveHandler{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,i){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return i===(s?r?shallowReadonlyMap:readonlyMap:r?shallowReactiveMap:reactiveMap).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const a=isArray(t);if(!s){let u;if(a&&(u=arrayInstrumentations[n]))return u;if(n==="hasOwnProperty")return hasOwnProperty}const l=Reflect.get(t,n,isRef(t)?t:i);if((isSymbol(n)?builtInSymbols.has(n):isNonTrackableKeys(n))||(s||track(t,"get",n),r))return l;if(isRef(l)){const u=a&&isIntegerKey(n)?l:l.value;return s&&isObject(u)?readonly(u):u}return isObject(l)?s?readonly(l):reactive(l):l}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!1,t)}set(t,n,i,s){let r=t[n];const a=isArray(t)&&isIntegerKey(n);if(!this._isShallow){const d=isReadonly(r);if(!isShallow(i)&&!isReadonly(i)&&(r=toRaw(r),i=toRaw(i)),!a&&isRef(r)&&!isRef(i))return d||(r.value=i),!0}const l=a?Number(n)<t.length:hasOwn(t,n),u=Reflect.set(t,n,i,isRef(t)?t:s);return t===toRaw(s)&&(l?hasChanged(i,r)&&trigger(t,"set",n,i):trigger(t,"add",n,i)),u}deleteProperty(t,n){const i=hasOwn(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&i&&trigger(t,"delete",n,void 0),s}has(t,n){const i=Reflect.has(t,n);return(!isSymbol(n)||!builtInSymbols.has(n))&&track(t,"has",n),i}ownKeys(t){return track(t,"iterate",isArray(t)?"length":ITERATE_KEY),Reflect.ownKeys(t)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const mutableHandlers=new MutableReactiveHandler,readonlyHandlers=new ReadonlyReactiveHandler,shallowReactiveHandlers=new MutableReactiveHandler(!0),shallowReadonlyHandlers=new ReadonlyReactiveHandler(!0),toShallow=e=>e,getProto=e=>Reflect.getPrototypeOf(e);function createIterableMethod(e,t,n){return function(...i){const s=this.__v_raw,r=toRaw(s),a=isMap(r),l=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,d=s[e](...i),f=n?toShallow:t?toReadonly:toReactive;return!t&&track(r,"iterate",u?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:g,done:v}=d.next();return v?{value:g,done:v}:{value:l?[f(g[0]),f(g[1])]:f(g),done:v}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function createInstrumentations(e,t){const n={get(s){const r=this.__v_raw,a=toRaw(r),l=toRaw(s);e||(hasChanged(s,l)&&track(a,"get",s),track(a,"get",l));const{has:u}=getProto(a),d=t?toShallow:e?toReadonly:toReactive;if(u.call(a,s))return d(r.get(s));if(u.call(a,l))return d(r.get(l));r!==a&&r.get(s)},get size(){const s=this.__v_raw;return!e&&track(toRaw(s),"iterate",ITERATE_KEY),s.size},has(s){const r=this.__v_raw,a=toRaw(r),l=toRaw(s);return e||(hasChanged(s,l)&&track(a,"has",s),track(a,"has",l)),s===l?r.has(s):r.has(s)||r.has(l)},forEach(s,r){const a=this,l=a.__v_raw,u=toRaw(l),d=t?toShallow:e?toReadonly:toReactive;return!e&&track(u,"iterate",ITERATE_KEY),l.forEach((f,g)=>s.call(r,d(f),d(g),a))}};return extend(n,e?{add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear")}:{add(s){!t&&!isShallow(s)&&!isReadonly(s)&&(s=toRaw(s));const r=toRaw(this);return getProto(r).has.call(r,s)||(r.add(s),trigger(r,"add",s,s)),this},set(s,r){!t&&!isShallow(r)&&!isReadonly(r)&&(r=toRaw(r));const a=toRaw(this),{has:l,get:u}=getProto(a);let d=l.call(a,s);d||(s=toRaw(s),d=l.call(a,s));const f=u.call(a,s);return a.set(s,r),d?hasChanged(r,f)&&trigger(a,"set",s,r):trigger(a,"add",s,r),this},delete(s){const r=toRaw(this),{has:a,get:l}=getProto(r);let u=a.call(r,s);u||(s=toRaw(s),u=a.call(r,s)),l&&l.call(r,s);const d=r.delete(s);return u&&trigger(r,"delete",s,void 0),d},clear(){const s=toRaw(this),r=s.size!==0,a=s.clear();return r&&trigger(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=createIterableMethod(s,e,t)}),n}function createInstrumentationGetter(e,t){const n=createInstrumentations(e,t);return(i,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?i:Reflect.get(hasOwn(n,s)&&s in i?n:i,s,r)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(e){return e.__v_skip||!Object.isExtensible(e)?0:targetTypeMap(toRawType(e))}function reactive(e){return isReadonly(e)?e:createReactiveObject(e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(e){return createReactiveObject(e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(e){return createReactiveObject(e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(e){return createReactiveObject(e,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(e,t,n,i,s){if(!isObject(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=getTargetType(e);if(r===0)return e;const a=s.get(e);if(a)return a;const l=new Proxy(e,r===2?i:n);return s.set(e,l),l}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!!(e&&e.__v_isReactive)}function isReadonly(e){return!!(e&&e.__v_isReadonly)}function isShallow(e){return!!(e&&e.__v_isShallow)}function isProxy(e){return e?!!e.__v_raw:!1}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return!hasOwn(e,"__v_skip")&&Object.isExtensible(e)&&def(e,"__v_skip",!0),e}const toReactive=e=>isObject(e)?reactive(e):e,toReadonly=e=>isObject(e)?readonly(e):e;function isRef(e){return e?e.__v_isRef===!0:!1}function ref(e){return createRef(e,!1)}function shallowRef(e){return createRef(e,!0)}function createRef(e,t){return isRef(e)?e:new RefImpl(e,t)}class RefImpl{constructor(t,n){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:toRaw(t),this._value=n?t:toReactive(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,i=this.__v_isShallow||isShallow(t)||isReadonly(t);t=i?t:toRaw(t),hasChanged(t,n)&&(this._rawValue=t,this._value=i?t:toReactive(t),this.dep.trigger())}}function triggerRef(e){e.dep&&e.dep.trigger()}function unref(e){return isRef(e)?e.value:e}function toValue(e){return isFunction(e)?e():unref(e)}const shallowUnwrapHandlers={get:(e,t,n)=>t==="__v_raw"?e:unref(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const s=e[t];return isRef(s)&&!isRef(n)?(s.value=n,!0):Reflect.set(e,t,n,i)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}class CustomRefImpl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Dep,{get:i,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=i,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function customRef(e){return new CustomRefImpl(e)}function toRefs(e){const t=isArray(e)?new Array(e.length):{};for(const n in e)t[n]=propertyToRef(e,n);return t}class ObjectRefImpl{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0,this._raw=toRaw(t);let s=!0,r=t;
117if(!isArray(t)||!isIntegerKey(String(n)))do s=!isProxy(r)||isShallow(r);while(s&&(r=r.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=unref(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&isRef(this._raw[this._key])){const n=this._object[this._key];if(isRef(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return getDepFromReactive(this._raw,this._key)}}class GetterRefImpl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function toRef(e,t,n){return isRef(e)?e:isFunction(e)?new GetterRefImpl(e):isObject(e)&&arguments.length>1?propertyToRef(e,t,n):ref(e)}function propertyToRef(e,t,n){return new ObjectRefImpl(e,t,n)}class ComputedRefImpl{constructor(t,n,i){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){const t=this.dep.track();return refreshComputed(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function computed$1(e,t,n=!1){let i,s;return isFunction(e)?i=e:(i=e.get,s=e.set),new ComputedRefImpl(i,s,n)}const TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(e,t=!1,n=activeWatcher){if(n){let i=cleanupMap.get(n);i||cleanupMap.set(n,i=[]),i.push(e)}}function watch$1(e,t,n=EMPTY_OBJ){const{immediate:i,deep:s,once:r,scheduler:a,augmentJob:l,call:u}=n,d=k=>s?k:isShallow(k)||s===!1||s===0?traverse(k,1):traverse(k);let f,g,v,E,S=!1,A=!1;if(isRef(e)?(g=()=>e.value,S=isShallow(e)):isReactive(e)?(g=()=>d(e),S=!0):isArray(e)?(A=!0,S=e.some(k=>isReactive(k)||isShallow(k)),g=()=>e.map(k=>{if(isRef(k))return k.value;if(isReactive(k))return d(k);if(isFunction(k))return u?u(k,2):k()})):isFunction(e)?t?g=u?()=>u(e,2):e:g=()=>{if(v){pauseTracking();try{v()}finally{resetTracking()}}const k=activeWatcher;activeWatcher=f;try{return u?u(e,3,[E]):e(E)}finally{activeWatcher=k}}:g=NOOP,t&&s){const k=g,V=s===!0?1/0:s;g=()=>traverse(k(),V)}const j=getCurrentScope(),O=()=>{f.stop(),j&&j.active&&remove(j.effects,f)};if(r&&t){const k=t;t=(...V)=>{k(...V),O()}}let R=A?new Array(e.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const x=k=>{if(!(!(f.flags&1)||!f.dirty&&!k))if(t){const V=f.run();if(s||S||(A?V.some((Z,b)=>hasChanged(Z,R[b])):hasChanged(V,R))){v&&v();const Z=activeWatcher;activeWatcher=f;try{const b=[V,R===INITIAL_WATCHER_VALUE?void 0:A&&R[0]===INITIAL_WATCHER_VALUE?[]:R,E];R=V,u?u(t,3,b):t(...b)}finally{activeWatcher=Z}}}else f.run()};return l&&l(x),f=new ReactiveEffect(g),f.scheduler=a?()=>a(x,!1):x,E=k=>onWatcherCleanup(k,!1,f),v=f.onStop=()=>{const k=cleanupMap.get(f);if(k){if(u)u(k,4);else for(const V of k)V();cleanupMap.delete(f)}},t?i?x(!0):R=f.run():a?a(x.bind(null,!0),!0):f.run(),O.pause=f.pause.bind(f),O.resume=f.resume.bind(f),O.stop=O,O}function traverse(e,t=1/0,n){if(t<=0||!isObject(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,isRef(e))traverse(e.value,t,n);else if(isArray(e))for(let i=0;i<e.length;i++)traverse(e[i],t,n);else if(isSet(e)||isMap(e))e.forEach(i=>{traverse(i,t,n)});else if(isPlainObject$1(e)){for(const i in e)traverse(e[i],t,n);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&traverse(e[i],t,n)}return e}const stack$1=[];function pushWarningContext(e){stack$1.push(e)}function popWarningContext(){stack$1.pop()}let isWarning=!1;function warn$1(e,...t){if(isWarning)return;isWarning=!0,pauseTracking();const n=stack$1.length?stack$1[stack$1.length-1].component:null,i=n&&n.appContext.config.warnHandler,s=getComponentTrace();if(i)callWithErrorHandling(i,n,11,[e+t.map(r=>{var a,l;return(l=(a=r.toString)==null?void 0:a.call(r))!=null?l:JSON.stringify(r)}).join(""),n&&n.proxy,s.map(({vnode:r})=>`at <${formatComponentName(n,r.type)}>`).join(`
118`),s]);else{const r=[`[Vue warn]: ${e}`,...t];s.length&&r.push(`
119`,...formatTrace(s)),console.warn(...r)}resetTracking(),isWarning=!1}function getComponentTrace(){let e=stack$1[stack$1.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const i=e.component&&e.component.parent;e=i&&i.vnode}return t}function formatTrace(e){const t=[];return e.forEach((n,i)=>{t.push(...i===0?[]:[`
120`],...formatTraceEntry(n))}),t}function formatTraceEntry({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",i=e.component?e.component.parent==null:!1,s=` at <${formatComponentName(e.component,e.type,i)}`,r=">"+n;return e.props?[s,...formatProps(e.props),r]:[s+r]}function formatProps(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(i=>
vendor: 95,844 bytes, lines 120-122
120{t.push(...formatProp(i,e[i]))}),n.length>3&&t.push(" ..."),t}function formatProp(e,t,n){return isString(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:isRef(t)?(t=formatProp(e,toRaw(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):isFunction(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=toRaw(t),n?t:[`${e}=`,t])}function assertNumber(e,t){}const ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},ErrorTypeStrings$1={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",15:"component update",16:"app unmount cleanup function"};function callWithErrorHandling(e,t,n,i){try{return i?e(...i):e()}catch(s){handleError(s,t,n)}}function callWithAsyncErrorHandling(e,t,n,i){if(isFunction(e)){const s=callWithErrorHandling(e,t,n,i);return s&&isPromise(s)&&s.catch(r=>{handleError(r,t,n)}),s}if(isArray(e)){const s=[];for(let r=0;r<e.length;r++)s.push(callWithAsyncErrorHandling(e[r],t,n,i));return s}}function handleError(e,t,n,i=!0){const s=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||EMPTY_OBJ;if(t){let l=t.parent;const u=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let g=0;g<f.length;g++)if(f[g](e,u,d)===!1)return}l=l.parent}if(r){pauseTracking(),callWithErrorHandling(r,null,10,[e,u,d]),resetTracking();return}}logError(e,n,s,i,a)}function logError(e,t,n,i=!0,s=!1){if(s)throw e;console.error(e)}const queue=[];let flushIndex=-1;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick(e){const t=currentFlushPromise||resolvedPromise;return e?t.then(this?e.bind(this):e):t}function findInsertionIndex(e){let t=flushIndex+1,n=queue.length;for(;t<n;){const i=t+n>>>1,s=queue[i],r=getId(s);r<e||r===e&&s.flags&2?t=i+1:n=i}return t}function queueJob(e){if(!(e.flags&1)){const t=getId(e),n=queue[queue.length-1];!n||!(e.flags&2)&&t>=getId(n)?queue.push(e):queue.splice(findInsertionIndex(t),0,e),e.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||(currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(e){isArray(e)?pendingPostFlushCbs.push(...e):activePostFlushCbs&&e.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,e):e.flags&1||(pendingPostFlushCbs.push(e),e.flags|=1),queueFlush()}function flushPreFlushCbs(e,t,n=flushIndex+1){for(;n<queue.length;n++){const i=queue[n];if(i&&i.flags&2){if(e&&i.id!==e.uid)continue;queue.splice(n,1),n--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function flushPostFlushCbs(e){if(pendingPostFlushCbs.length){const t=[...new Set(pendingPostFlushCbs)].sort((n,i)=>getId(n)-getId(i));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...t);return}for(activePostFlushCbs=t,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++){const n=activePostFlushCbs[postFlushIndex];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}activePostFlushCbs=null,postFlushIndex=0}}const getId=e=>e.id==null?e.flags&2?-1:1/0:e.id;function flushJobs(e){try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const t=queue[flushIndex];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),callWithErrorHandling(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;flushIndex<queue.length;flushIndex++){const t=queue[flushIndex];t&&(t.flags&=-2)}flushIndex=-1,queue.length=0,flushPostFlushCbs(),currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let devtools$1,buffer=[];function setDevtoolsHook$1(e,t){var n,i;devtools$1=e,devtools$1?(devtools$1.enabled=!0,buffer.forEach(({event:s,args:r})=>devtools$1.emit(s,...r)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{setDevtoolsHook$1(r,t)}),setTimeout(()=>{devtools$1||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){const t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function pushScopeId(e){currentScopeId=e}function popScopeId(){currentScopeId=null}const withScopeId=e=>withCtx;function withCtx(e,t=currentRenderingInstance,n){if(!t||e._n)return e;const i=(...s)=>{i._d&&setBlockTracking(-1);const r=setCurrentRenderingInstance(t);let a;try{a=e(...s)}finally{setCurrentRenderingInstance(r),i._d&&setBlockTracking(1)}return a};return i._n=!0,i._c=!0,i._d=!0,i}function withDirectives(e,t){if(currentRenderingInstance===null)return e;const n=getComponentPublicInstance(currentRenderingInstance),i=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[r,a,l,u=EMPTY_OBJ]=t[s];r&&(isFunction(r)&&(r={mounted:r,updated:r}),r.deep&&traverse(a),i.push({dir:r,instance:n,value:a,oldValue:void 0,arg:l,modifiers:u}))}return e}function invokeDirectiveHook(e,t,n,i){const s=e.dirs,r=t&&t.dirs;for(let a=0;a<s.length;a++){const l=s[a];r&&(l.oldValue=r[a].value);let u=l.dir[i];u&&(pauseTracking(),callWithAsyncErrorHandling(u,n,8,[e.el,l,e,t]),resetTracking())}}const TeleportEndKey=Symbol("_vte"),isTeleport=e=>e.__isTeleport,isTeleportDisabled=e=>e&&(e.disabled||e.disabled===""),isTeleportDeferred=e=>e&&(e.defer||e.defer===""),isTargetSVG=e=>typeof SVGElement<"u"&&e instanceof SVGElement,isTargetMathML=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,resolveTarget=(e,t)=>{const n=e&&e.to;return isString(n)?t?t(n):null:n},TeleportImpl={name:"Teleport",__isTeleport:!0,process(e,t,n,i,s,r,a,l,u,d){const{mc:f,pc:g,pbc:v,o:{insert:E,querySelector:S,createText:A,createComment:j}}=d,O=isTeleportDisabled(t.props);let{shapeFlag:R,children:x,dynamicChildren:k}=t;if(e==null){const V=t.el=A(""),Z=t.anchor=A("");E(V,n,i),E(Z,n,i);const b=(F,G)=>{R&16&&f(x,F,G,s,r,a,l,u)},W=()=>{const F=t.target=resolveTarget(t.props,S),G=prepareAnchor(F,t,A,E);F&&(a!=="svg"&&isTargetSVG(F)?a="svg":a!=="mathml"&&isTargetMathML(F)&&(a="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(F),O||(b(F,G),updateCssVars(t,!1)))};O&&(b(n,Z),updateCssVars(t,!0)),isTeleportDeferred(t.props)?(t.el.__isMounted=!1,queuePostRenderEffect(()=>{W(),delete t.el.__isMounted},r)):W()}else{if(isTeleportDeferred(t.props)&&e.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(e,t,n,i,s,r,a,l,u,d)},r);return}t.el=e.el,t.targetStart=e.targetStart;const V=t.anchor=e.anchor,Z=t.target=e.target,b=t.targetAnchor=e.targetAnchor,W=isTeleportDisabled(e.props),F=W?n:Z,G=W?V:b;if(a==="svg"||isTargetSVG(Z)?a="svg":(a==="mathml"||isTargetMathML(Z))&&(a="mathml"),k?(v(e.dynamicChildren,k,F,s,r,a,l),traverseStaticChildren(e,t,!0)):u||g(e,t,F,G,s,r,a,l,!1),O)W?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):moveTeleport(t,n,V,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ue=t.target=resolveTarget(t.props,S);ue&&moveTeleport(t,ue,null,d,0)}else W&&moveTeleport(t,Z,b,d,1);updateCssVars(t,O)}},remove(e,t,n,{um:i,o:{remove:s}},r){const{shapeFlag:a,children:l,anchor:u,targetStart:d,targetAnchor:f,target:g,props:v}=e;if(g&&(s(d),s(f)),r&&s(u),a&16){const E=r||!isTeleportDisabled(v);for(let S=0;S<l.length;S++){const A=l[S];i(A,t,n,E,!!A.dynamicChildren)}}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(e,t,n,{o:{insert:i},m:s},r=2){r===0&&i(e.targetAnchor,t,n);const{el:a,anchor:l,shapeFlag:u,children:d,props:f}=e,g=r===2;if(g&&i(a,t,n),(!g||isTeleportDisabled(f))&&u&16)for(let v=0;v<d.length;v++)s(d[v],t,n,2);g&&i(l,t,n)}function hydrateTeleport(e,t,n,i,s,r,{o:{nextSibling:a,parentNode:l,querySelector:u,insert:d,createText:f}},g){function v(A,j,O,R){j.anchor=g(a(A),j,l(A),n,i,s,r),j.targetStart=O,j.targetAnchor=R}const E=t.target=resolveTarget(t.props,u),S=isTeleportDisabled(t.props);if(E){const A=E._lpa||E.firstChild;if(t.shapeFlag&16)if(S)v(e,t,A,A&&a(A));else{t.anchor=a(e);let j=A;for(;j;){if(j&&j.nodeType===8){if(j.data==="teleport start anchor")t.targetStart=j;else if(j.data==="teleport anchor"){t.targetAnchor=j,E._lpa=t.targetAnchor&&a(t.targetAnchor);break}}j=a(j)}t.targetAnchor||prepareAnchor(E,t,f,d),g(A&&a(A),t,E,n,i,s,r)}updateCssVars(t,S)}else S&&t.shapeFlag&16&&v(e,t,e,a(e));return t.anchor&&a(t.anchor)}const Teleport=TeleportImpl;function updateCssVars(e,t){const n=e.ctx;if(n&&n.ut){let i,s;for(t?(i=e.el,s=e.anchor):(i=e.targetStart,s=e.targetAnchor);i&&i!==s;)i.nodeType===1&&i.setAttribute("data-v-owner",n.uid),i=i.nextSibling;n.ut()}}function prepareAnchor(e,t,n,i){const s=t.targetStart=n(""),r=t.targetAnchor=n("");return s[TeleportEndKey]=r,e&&(i(s,e),i(r,e)),r}const leaveCbKey=Symbol("_leaveCb"),enterCbKey$1=Symbol("_enterCb");function useTransitionState(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{e.isMounted=!0}),onBeforeUnmount(()=>{e.isUnmounting=!0}),e}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=e=>{const t=e.subTree;return t.component?recursiveGetSubtree(t.component):t},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(e,{slots:t}){const n=getCurrentInstance(),i=useTransitionState();return()=>{const s=t.default&&getTransitionRawChildren(t.default(),!0);if(!s||!s.length)return;const r=findNonCommentChild(s),a=toRaw(e),{mode:l}=a;if(i.isLeaving)return emptyPlaceholder(r);const u=getInnerChild$1(r);if(!u)return emptyPlaceholder(r);let d=resolveTransitionHooks(u,a,i,n,g=>d=g);u.type!==Comment&&setTransitionHooks(u,d);let f=n.subTree&&getInnerChild$1(n.subTree);if(f&&f.type!==Comment&&!isSameVNodeType(f,u)&&recursiveGetSubtree(n).type!==Comment){let g=resolveTransitionHooks(f,a,i,n);if(setTransitionHooks(f,g),l==="out-in"&&u.type!==Comment)return i.isLeaving=!0,g.afterLeave=()=>{i.isLeaving=!1,n.job.flags&8||n.update(),delete g.afterLeave,f=void 0},emptyPlaceholder(r);l==="in-out"&&u.type!==Comment?g.delayLeave=(v,E,S)=>{const A=getLeavingNodesForType(i,f);A[String(f.key)]=f,v[leaveCbKey]=()=>{E(),v[leaveCbKey]=void 0,delete d.delayedLeave,f=void 0},d.delayedLeave=()=>{S(),delete d.delayedLeave,f=void 0}}:f=void 0}else f&&(f=void 0);return r}}};function findNonCommentChild(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Comment){t=n;break}}return t}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function resolveTransitionHooks(e,t,n,i,s){const{appear:r,mode:a,persisted:l=!1,onBeforeEnter:u,onEnter:d,onAfterEnter:f,onEnterCancelled:g,onBeforeLeave:v,onLeave:E,onAfterLeave:S,onLeaveCancelled:A,onBeforeAppear:j,onAppear:O,onAfterAppear:R,onAppearCancelled:x}=t,k=String(e.key),V=getLeavingNodesForType(n,e),Z=(F,G)=>{F&&callWithAsyncErrorHandling(F,i,9,G)},b=(F,G)=>{const ue=G[1];Z(F,G),isArray(F)?F.every(J=>J.length<=1)&&ue():F.length<=1&&ue()},W={mode:a,persisted:l,beforeEnter(F){let G=u;if(!n.isMounted)if(r)G=j||u;else return;F[leaveCbKey]&&F[leaveCbKey](!0);const ue=V[k];ue&&isSameVNodeType(e,ue)&&ue.el[leaveCbKey]&&ue.el[leaveCbKey](),Z(G,[F])},enter(F){let G=d,ue=f,J=g;if(!n.isMounted)if(r)G=O||d,ue=R||f,J=x||g;else return;let M=!1;const re=F[enterCbKey$1]=pe=>{M||(M=!0,pe?Z(J,[F]):Z(ue,[F]),W.delayedLeave&&W.delayedLeave(),F[enterCbKey$1]=void 0)};G?b(G,[F,re]):re()},leave(F,G){const ue=String(e.key);if(F[enterCbKey$1]&&F[enterCbKey$1](!0),n.isUnmounting)return G();Z(v,[F]);let J=!1;const M=F[leaveCbKey]=re=>{J||(J=!0,G(),re?Z(A,[F]):Z(S,[F]),F[leaveCbKey]=void 0,V[ue]===e&&delete V[ue])};V[ue]=e,E?b(E,[F,M]):M()},clone(F){const G=resolveTransitionHooks(F,t,n,i,s);return s&&s(G),G}};return W}function emptyPlaceholder(e){if(isKeepAlive(e))return e=cloneVNode(e),e.children=null,e}function getInnerChild$1(e){if(!isKeepAlive(e))return isTeleport(e.type)&&e.children?findNonCommentChild(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&isFunction(n.default))return n.default()}}function setTransitionHooks(e,t){e.shapeFlag&6&&e.component?(e.transition=t,setTransitionHooks(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function getTransitionRawChildren(e,t=!1,n){let i=[],s=0;for(let r=0;r<e.length;r++){let a=e[r];const l=n==null?a.key:String(n)+String(a.key!=null?a.key:r);a.type===Fragment?(a.patchFlag&128&&s++,i=i.concat(getTransitionRawChildren(a.children,t,l))):(t||a.type!==Comment)&&i.push(l!=null?cloneVNode(a,{key:l}):a)}if(s>1)for(let r=0;r<i.length;r++)i[r].patchFlag=-2;return i}function defineComponent(e,t){return isFunction(e)?extend({name:e.name},t,{setup:e}):e}function useId(){const e=getCurrentInstance();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function markAsyncBoundary(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function useTemplateRef(e){const t=getCurrentInstance(),n=shallowRef(null);if(t){const s=t.refs===EMPTY_OBJ?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:r=>n.value=r})}return n}const pendingSetRefMap=new WeakMap;function setRef(e,t,n,i,s=!1){if(isArray(e)){e.forEach((S,A)=>setRef(S,t&&(isArray(t)?t[A]:t),n,i,s));return}if(isAsyncWrapper(i)&&!s){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&setRef(e,t,n,i.component.subTree);return}const r=i.shapeFlag&4?getComponentPublicInstance(i.component):i.el,a=s?null:r,{i:l,r:u}=e,d=t&&t.r,f=l.refs===EMPTY_OBJ?l.refs={}:l.refs,g=l.setupState,v=toRaw(g),E=g===EMPTY_OBJ?NO:S=>hasOwn(v,S);if(d!=null&&d!==u){if(invalidatePendingSetRef(t),isString(d))f[d]=null,E(d)&&(g[d]=null);else if(isRef(d)){d.value=null;const S=t;S.k&&(f[S.k]=null)}}if(isFunction(u))callWithErrorHandling(u,l,12,[a,f]);else{const S=isString(u),A=isRef(u);if(S||A){const j=()=>{if(e.f){const O=S?E(u)?g[u]:f[u]:u.value;if(s)isArray(O)&&remove(O,r);else if(isArray(O))O.includes(r)||O.push(r);else if(S)f[u]=[r],E(u)&&(g[u]=f[u]);else{const R=[r];u.value=R,e.k&&(f[e.k]=R)}}else S?(f[u]=a,E(u)&&(g[u]=a)):A&&(u.value=a,e.k&&(f[e.k]=a))};if(a){const O=()=>{j(),pendingSetRefMap.delete(e)};O.id=-1,pendingSetRefMap.set(e,O),queuePostRenderEffect(O,n)}else invalidatePendingSetRef(e),j()}}}function invalidatePendingSetRef(e){const t=pendingSetRefMap.get(e);t&&(t.flags|=8,pendingSetRefMap.delete(e))}let hasLoggedMismatchError=!1;const logMismatchError=()=>{hasLoggedMismatchError||(console.error("Hydration completed but contains mismatches."),hasLoggedMismatchError=!0)},isSVGContainer=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",isMathMLContainer=e=>e.namespaceURI.includes("MathML"),getContainerType=e=>{if(e.nodeType===1){if(isSVGContainer(e))return"svg";if(isMathMLContainer(e))return"mathml"}},isComment=e=>e.nodeType===8;function createHydrationFunctions(e){const{mt:t,p:n,o:{patchProp:i,createText:s,nextSibling:r,parentNode:a,remove:l,insert:u,createComment:d}}=e,f=(x,k)=>{if(!k.hasChildNodes()){n(null,x,k),flushPostFlushCbs(),k._vnode=x;return}g(k.firstChild,x,null,null,null),flushPostFlushCbs(),k._vnode=x},g=(x,k,V,Z,b,W=!1)=>{W=W||!!k.dynamicChildren;const F=isComment(x)&&x.data==="[",G=()=>A(x,k,V,Z,b,F),{type:ue,ref:J,shapeFlag:M,patchFlag:re}=k;let pe=x.nodeType;k.el=x,re===-2&&(W=!1,k.dynamicChildren=null);let D=null;switch(ue){case Text$1:pe!==3?k.children===""?(u(k.el=s(""),a(x),x),D=x):D=G():(x.data!==k.children&&(logMismatchError(),x.data=k.children),D=r(x));break;case Comment:R(x)?(D=r(x),O(k.el=x.content.firstChild,x,V)):pe!==8||F?D=G():D=r(x);break;case Static:if(F&&(x=r(x),pe=x.nodeType),pe===1||pe===3){D=x;const U=!k.children.length;for(let Y=0;Y<k.staticCount;Y++)U&&(k.children+=D.nodeType===1?D.outerHTML:D.data),Y===k.staticCount-1&&(k.anchor=D),D=r(D);return F?r(D):D}else G();break;case Fragment:F?D=S(x,k,V,Z,b,W):D=G();break;default:if(M&1)(pe!==1||k.type.toLowerCase()!==x.tagName.toLowerCase())&&!R(x)?D=G():D=v(x,k,V,Z,b,W);else if(M&6){k.slotScopeIds=b;const U=a(x);if(F?D=j(x):isComment(x)&&x.data==="teleport start"?D=j(x,x.data,"teleport end"):D=r(x),t(k,U,null,V,Z,getContainerType(U),W),isAsyncWrapper(k)&&!k.type.__asyncResolved){let Y;F?(Y=createVNode(Fragment),Y.anchor=D?D.previousSibling:U.lastChild):Y=x.nodeType===3?createTextVNode(""):createVNode("div"),Y.el=x,k.component.subTree=Y}}else M&64?pe!==8?D=G():D=k.type.hydrate(x,k,V,Z,b,W,e,E):M&128&&(D=k.type.hydrate(x,k,V,Z,getContainerType(a(x)),b,W,e,g))}return J!=null&&setRef(J,null,Z,k),D},v=(x,k,V,Z,b,W)=>{W=W||!!k.dynamicChildren;const{type:F,props:G,patchFlag:ue,shapeFlag:J,dirs:M,transition:re}=k,pe=F==="input"||F==="option";if(pe||ue!==-1){M&&invokeDirectiveHook(k,null,V,"created");let D=!1;if(R(x)){D=needTransition(null,re)&&V&&V.vnode.props&&V.vnode.props.appear;const Y=x.content.firstChild;if(D){const le=Y.getAttribute("class");le&&(Y.$cls=le),re.beforeEnter(Y)}O(Y,x,V),k.el=x=Y}if(J&16&&!(G&&(G.innerHTML||G.textContent))){let Y=E(x.firstChild,k,x,V,Z,b,W);for(;Y;){isMismatchAllowed(x,1)||logMismatchError();const le=Y;Y=Y.nextSibling,l(le)}}else if(J&8){let Y=k.children;Y[0]===`
121`&&(x.tagName==="PRE"||x.tagName==="TEXTAREA")&&(Y=Y.slice(1));const{textContent:le}=x;le!==Y&&le!==Y.replace(/\r\n|\r/g,`
122`)&&(isMismatchAllowed(x,0)||logMismatchError(),x.textContent=k.children)}if(G){if(pe||!W||ue&48){const Y=x.tagName.includes("-");for(const le in G)(pe&&(le.endsWith("value")||le==="indeterminate")||isOn(le)&&!isReservedProp(le)||le[0]==="."||Y)&&i(x,le,null,G[le],void 0,V)}else if(G.onClick)i(x,"onClick",null,G.onClick,void 0,V);else if(ue&4&&isReactive(G.style))for(const Y in G.style)G.style[Y]}let U;(U=G&&G.onVnodeBeforeMount)&&invokeVNodeHook(U,V,k),M&&invokeDirectiveHook(k,null,V,"beforeMount"),((U=G&&G.onVnodeMounted)||M||D)&&queueEffectWithSuspense(()=>{U&&invokeVNodeHook(U,V,k),D&&re.enter(x),M&&invokeDirectiveHook(k,null,V,"mounted")},Z)}return x.nextSibling},E=(x,k,V,Z,b,W,F)=>{F=F||!!k.dynamicChildren;const G=k.children,ue=G.length;for(let J=0;J<ue;J++){const M=F?G[J]:G[J]=normalizeVNode(G[J]),re=M.type===Text$1;x?(re&&!F&&J+1<ue&&normalizeVNode(G[J+1]).type===Text$1&&(u(s(x.data.slice(M.children.length)),V,r(x)),x.data=M.children),x=g(x,M,Z,b,W,F)):re&&!M.children?u(M.el=s(""),V):(isMismatchAllowed(V,1)||logMismatchError(),n(null,M,V,null,Z,b,getContainerType(V),W))}return x},S=(x,k,V,Z,b,W)=>{const{slotScopeIds:F}=k;F&&(b=b?b.concat(F):F);const G=a(x),ue=E(r(x),k,G,V,Z,b,W);return ue&&isComment(ue)&&ue.data==="]"?r(k.anchor=ue):(logMismatchError(),u(k.anchor=d("]"),G,ue),ue)},A=(x,k,V,Z,b,W)=>{if(isMismatchAllowed(x.parentElement,1)||logMismatchError(),k.el=null,W){const ue=j(x);for(;;){const J=r(x);if(J&&J!==ue)l(J);else break}}const F=r(x),G=a(x);return l(x),n(null,k,G,F,V,Z,getContainerType(G),b),V&&(V.vnode.el=k.el,updateHOCHostEl(V,k.el)),F},j=(x,k="[",V="]")=>{let Z=0;for(;x;)if(x=r(x),x&&isComment(x)&&(x.data===k&&Z++,x.data===V)){if(Z===0)return r(x);Z--}return x},O=(x,k,V)=>{const Z=k.parentNode;Z&&Z.replaceChild(x,k);let b=V;for(;b;)b.vnode.el===k&&(b.vnode.el=b.subTree.el=x),b=b.parent},R=x=>x.nodeType===1&&x.tagName==="TEMPLATE";return[f,g]}const allowMismatchAttr="data-allow-mismatch",MismatchTypeString={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function isMismatchAllowed(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(allowMismatchAttr);)e=e.parentElement;const n=e&&e.getAttribute(allowMismatchAttr);if(n==null)return!1;if(n==="")return!0;{const i=n.split(",");return t===0&&i.includes("children")?!0:i.includes(MismatchTypeString[t])}}const requestIdleCallback=getGlobalThis().requestIdleCallback||(e=>setTimeout(e,1)),cancelIdleCallback=getGlobalThis().cancelIdleCallback||(e=>clearTimeout(e)),hydrateOnIdle=(e=1e4)=>t=>{const n=requestIdleCallback(t,{timeout:e});return()=>cancelIdleCallback(n)};function elementIsVisibleInViewport(e){const{top:t,left:n,bottom:i,right:s}=e.getBoundingClientRect(),{innerHeight:r,innerWidth:a}=window;return(t>0&&t<r||i>0&&i<r)&&(n>0&&n<a||s>0&&s<a)}const hydrateOnVisible=e=>(t,n)=>{const i=new IntersectionObserver(s=>{for(const r of s)if(r.isIntersecting){i.disconnect(),t();break}},e);return n(s=>{if(s instanceof Element){if(elementIsVisibleInViewport(s))return t(),i.disconnect(),!1;i.observe(s)}}),()=>i.disconnect()},hydrateOnMediaQuery=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},hydrateOnInteraction=(e=[])=>(t,n)=>{isString(e)&&(e=[e]);let i=!1;const s=a=>{i||(i=!0,r(),t(),a.target.dispatchEvent(new a.constructor(a.type,a)))},r=()=>{n(a=>{for(const l of e)a.removeEventListener(l,s)})};return n(a=>{for(const l of e)a.addEventListener(l,s,{once:!0})}),r};function forEachElement(e,t){if(isComment(e)&&e.data==="["){let n=1,i=e.nextSibling;for(;i;){if(i.nodeType===1){if(t(i)===!1)break}else if(isComment(i))if(i.data==="]"){if(--n===0)break}else i.data==="["&&n++;i=i.nextSibling}}else t(e)}const isAsyncWrapper=e=>!!e.type.__asyncLoader;function defineAsyncComponent(e){isFunction(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:s=200,hydrate:r,timeout:a,suspensible:l=!0,onError:u}=e;let d=null,f,g=0;const v=()=>(g++,d=null,E()),E=()=>{let S;return d||(S=d=t().catch(A=>{if(A=A instanceof Error?A:new Error(String(A)),u)return new Promise((j,O)=>{u(A,()=>j(v()),()=>O(A),g+1)});throw A}).then(A=>S!==d&&d?d:(A&&(A.__esModule||A[Symbol.toStringTag]==="Module")&&(A=A.default),f=A,A)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:E,__asyncHydrate(S,A,j){let O=!1;(A.bu||(A.bu=[])).push(()=>O=!0);const R=()=>{O||j()},x=r?()=>{const k=r(R,V=>forEachElement(S,V));k&&(A.bum||(A.bum=[])).push(k)}:R;f?x():E().then(()=>!A.isUnmounted&&x())},get __asyncResolved(){return f},setup(){const S=currentInstance;if(markAsyncBoundary(S),f)return()=>createInnerComp(f,S);const A=x=>{d=null,handleError(x,S,13,!i)};if(l&&S.suspense||isInSSRComponentSetup)return E().then(x=>()=>createInnerComp(x,S)).catch(x=>(A(x),()=>i?createVNode(i,{error:x}):null));const j=ref(!1),O=ref(),R=ref(!!s);return s&&setTimeout(()=>{R.value=!1},s),a!=null&&setTimeout(()=>{if(!j.value&&!O.value){const x=new Error(`Async component timed out after ${a}ms.`);A(x),O.value=x}},a),E().then(()=>{j.value=!0,S.parent&&isKeepAlive(S.parent.vnode)&&S.parent.update()}).catch(x=>{A(x),O.value=x}),()=>{if(j.value&&f)return createInnerComp(f,S);if(O.value&&i)return createVNode(i,{error:O.value});if(n&&!R.value)return createInnerComp(n,S)}}})}function createInnerComp(e,t){const{ref:n,props:i,children:s,ce:r}=t.vnode,a=createVNode(e,i,s);return a.ref=n,a.ce=r,delete t.vnode.ce,a}const isKeepAlive=e=>e.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=getCurrentInstance(),i=n.ctx;if(!i.renderer)return()=>{const R=t.default&&t.default();return R&&R.length===1?R[0]:R};const s=new Map,r=new Set;let a=null;const l=n.suspense,{renderer:{p:u,m:d,um:f,o:{createElement:g}}}=i,v=g("div");i.activate=(R,x,k,V,Z)=>{const b=R.component;d(R,x,k,0,l),u(b.vnode,R,x,k,b,l,V,R.slotScopeIds,Z),queuePostRenderEffect(()=>{b.isDeactivated=!1,b.a&&invokeArrayFns(b.a);const W=R.props&&R.props.onVnodeMounted;W&&invokeVNodeHook(W,b.parent,R)},l)},i.deactivate=R=>{const x=R.component;invalidateMount(x.m),invalidateMount(x.a),d(R,v,null,1,l),queuePostRenderEffect(()=>{x.da&&invokeArrayFns(x.da);const k=R.props&&R.props.onVnodeUnmounted;k&&invokeVNodeHook(k,x.parent,R),x.isDeactivated=!0},l)};function E(R){resetShapeFlag(R),f(R,n,l,!0)}function S(R){s.forEach((x,k)=>{const V=getComponentName(x.type);V&&!R(V)&&A(k)})}function A(R){const x=s.get(R);x&&(!a||!isSameVNodeType(x,a))?E(x):a&&resetShapeFlag(a),s.delete(R),r.delete(R)}watch(()=>[e.include,e.exclude],([R,x])=>{R&&S(k=>matches(R,k)),x&&S(k=>!matches(x,k))},{flush:"post",deep:!0});let j=null;const O=()=>{j!=null&&(isSuspense(n.subTree.type)?queuePostRenderEffect(()=>{s.set(j,getInnerChild(n.subTree))},n.subTree.suspense):s.set(j,getInnerChild(n.subTree)))};return onMounted(O),onUpdated(O),onBeforeUnmount(()=>{s.forEach(R=>{const{subTree:x,suspense:k}=n,V=getInnerChild(x);if(R.type===V.type&&R.key===V.key){resetShapeFlag(V);const Z=V.component.da;Z&&queuePostRenderEffect(Z,k);return}E(R)})}),()=>{if(j=null,!t.default)return a=null;const R=t.default(),x=R[0];if(R.length>1)return a=null,R;if(!isVNode(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return a=null,x;let k=getInnerChild(x);if(k.type===Comment)return a=null,k;const V=k.type,Z=getComponentName(isAsyncWrapper(k)?k.type.__asyncResolved||{}:V),{include:b,exclude:W,max:F}=e;if(b&&(!Z||!matches(b,Z))||W&&Z&&matches(W,Z))return k.shapeFlag&=-257,a=k,x;const G=k.key==null?V:k.key,ue=s.get(G);return k.el&&(k=cloneVNode(k),x.shapeFlag&128&&(x.ssContent=k)),j=G,ue?(k.el=ue.el,k.component=ue.component,k.transition&&setTransitionHooks(k,k.transition),k.shapeFlag|=512,r.delete(G),r.add(G)):(r.add(G),F&&r.size>parseInt(F,10)&&A(r.values().next().value)),k.shapeFlag|=256,a=k,isSuspense(x.type)?x:k}}},KeepAlive=KeepAliveImpl;function matches(e,t){return isArray(e)?e.some(n=>matches(n,t)):isString(e)?e.split(",").includes(t):isRegExp(e)?(e.lastIndex=0,e.test(t)):!1}function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t,n=currentInstance){const i=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(injectHook(t,i,n),n){let s=n.parent;for(;s&&s.parent;)isKeepAlive(s.parent.vnode)&&injectToKeepAliveRoot(i,t,n,s),s=s.parent}}function injectToKeepAliveRoot(e,t,n,i){const s=injectHook(t,e,i,!0);onUnmounted(()=>{remove(i[t],s)},n)}function resetShapeFlag(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function getInnerChild(e){return e.shapeFlag&128?e.ssContent:e}function injectHook(e,t,n=currentInstance,i=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...a)=>{pauseTracking();const l=setCurrentInstance(n),u=callWithAsyncErrorHandling(t,n,e,a);return l(),resetTracking(),u});return i?s.unshift(r):s.push(r),r}}const createHook=e=>(t,n=currentInstance)=>{(!isInSSRComponentSetup||e==="sp")&&injectHook(e,(...i)=>t(...i),n)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(e,t=currentInstance){injectHook("ec",e,t)}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(e,t){return resolveAsset(COMPONENTS,e,!0,t)||e}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(e){return isString(e)?resolveAsset(COMPONENTS,e,!1)||e:e||NULL_DYNAMIC_COMPONENT}function resolveDirective(e){return resolveAsset(DIRECTIVES,e)}function resolveAsset(e,t,n=!0,i=!1){const s=currentRenderingInstance||currentInstance;if(s){const r=s.type;if(e===COMPONENTS){const l=getComponentName(r,!1);if(l&&(l===t||l===camelize(t)||l===capitalize(camelize(t))))return r}const a=resolve(s[e]||r[e],t)||resolve(s.appContext[e],t);return!a&&i?r:a}}function resolve(e,t){return e&&(e[t]||e[camelize(t)]||e[capitalize(camelize(t))])}function renderList(e,t,n,i){let s;const r=n&&n[i],a=isArray(e);if(a||isString(e)){const l=a&&isReactive(e);let u=!1,d=!1;l&&(u=!isShallow(e),d=isReadonly(e),e=shallowReadArray(e)),s=new Array(e.length);for(let f=0,g=e.length;f<g;f++)s[f]=t(u?d?toReadonly(toReactive(e[f])):toReactive(e[f]):e[f],f,void 0,r&&r[f])}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,r&&r[l])}else if(isObject(e))if(e[Symbol.iterator])s=Array.from(e,(l,u)=>t(l,u,void 0,r&&r[u]));else{const l=Object.keys(e);s=new Array(l.length);for(let u=0,d=l.length;u<d;u++){const f=l[u];s[u]=t(e[f],f,u,r&&r[u])}}else s=[];return n&&(n[i]=s),s}function createSlots(e,t){for(let n=0;n<t.length;n++){const i=t[n];if(isArray(i))for(let s=0;s<i.length;s++)e[i[s].name]=i[s].fn;else i&&(e[i.name]=i.key?(...s)=>{const r=i.fn(...s);return r&&(r.key=i.key),r}:i.fn)}return e}function renderSlot(e,t,n={},i,s){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.ce){const d=Object.keys(n).length>0;return t!=="default"&&(n.name=t),openBlock(),createBlock(Fragment,null,[createVNode("slot",n,i&&i())],d?-2:64)}let r=e[t];r&&r._c&&(r._d=!1),openBlock();const a=r&&ensureValidVNode(r(n)),l=n.key||a&&a.key,u=createBlock(Fragment,{key:(l&&!isSymbol(l)?l:`_${t}`)+(!a&&i?"_fb":"")},a||(i?i():[]),a&&e._===1?64:-2);return!s&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),r&&r._c&&(r._d=!0),u}function ensureValidVNode(e){return e.some(t=>isVNode(t)?!(t.type===Comment||t.type===Fragment&&!ensureValidVNode(t.children)):!0)?e:null}function toHandlers(e,t){const n={};for(const i in e)n[t&&/[A-Z]/.test(i)?`on:${i}`:toHandlerKey(i)]=e[i];return n}const getPublicInstance=e=>e?isStatefulComponent(e)?getComponentPublicInstance(e):getPublicInstance(e.parent):null,publicPropertiesMap=extend(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>getPublicInstance(e.parent),$root:e=>getPublicInstance(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>{queueJob(e.update)}),$nextTick:e=>e.n||(e.n=nextTick.bind(e.proxy)),$watch:e=>instanceWatch.bind(e)}),hasSetupBinding=(e,t)=>e!==EMPTY_OBJ&&!e.__isScriptSetup&&hasOwn(e,t),PublicInstanceProxyHandlers={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:i,data:s,props:r,accessCache:a,type:l,appContext:u}=e;if(t[0]!=="$"){const v=a[t];if(v!==void 0)switch(v){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(hasSetupBinding(i,t))return a[t]=1,i[t];if(s!==EMPTY_OBJ&&hasOwn(s,t))return a[t]=2,s[t];if(hasOwn(r,t))return a[t]=3,r[t];if(n!==EMPTY_OBJ&&hasOwn(n,t))return a[t]=4,n[t];shouldCacheAccess&&(a[t]=0)}}const d=publicPropertiesMap[t];let f,g;if(d)return t==="$attrs"&&track(e.attrs,"get",""),d(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==EMPTY_OBJ&&hasOwn(n,t))return a[t]=4,n[t];if(g=u.config.globalProperties,hasOwn(g,t))return g[t]},set({_:e},t,n){const{data:i,setupState:s,ctx:r}=e;return hasSetupBinding(s,t)?(s[t]=n,!0):i!==EMPTY_OBJ&&hasOwn(i,t)?(i[t]=n,!0):hasOwn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:s,props:r,type:a}},l){let u;return!!(n[l]||e!==EMPTY_OBJ&&l[0]!=="$"&&hasOwn(e,l)||hasSetupBinding(t,l)||hasOwn(r,l)||hasOwn(i,l)||hasOwn(publicPropertiesMap,l)||hasOwn(s.config.globalProperties,l)||(u=a.__cssModules)&&u[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:hasOwn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},PublicInstanceProxyHandlers,{get(e,t){if(t!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(e,t,e)},has(e,t){return t[0]!=="_"&&!isGloballyAllowed(t)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(e){}function defineOptions(e){}function defineSlots(){return null}function defineModel(){}function withDefaults(e,t){return null}function useSlots(){return getContext().slots}function useAttrs(){return getContext().attrs}function getContext(e){const t=getCurrentInstance();return t.setupContext||(t.setupContext=createSetupContext(t))}function normalizePropsOrEmits(e){return isArray(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function mergeDefaults(e,t){const n=normalizePropsOrEmits(e);for(const i in t){if(i.startsWith("__skip"))continue;let s=n[i];s?isArray(s)||isFunction(s)?s=n[i]={type:s,default:t[i]}:s.default=t[i]:s===null&&(s=n[i]={default:t[i]}),s&&t[`__skip_${i}`]&&(s.skipFactory=!0)}return n}function mergeModels(e,t){return!e||!t?e||t:isArray(e)&&isArray(t)?e.concat(t):extend({},normalizePropsOrEmits(e),normalizePropsOrEmits(t))}function createPropsRestProxy(e,t){const n={};for(const i in e)t.includes(i)||Object.defineProperty(n,i,{enumerable:!0,get:()=>e[i]});return n}function withAsyncContext(e){const t=getCurrentInstance();let n=e();return unsetCurrentInstance(),isPromise(n)&&(n=n.catch(i=>{throw setCurrentInstance(t),i})),[n,()=>setCurrentInstance(t)]}let shouldCacheAccess=!0;function applyOptions(e){const t=resolveMergedOptions(e),n=e.proxy,i=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook$1(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:a,watch:l,provide:u,inject:d,created:f,beforeMount:g,mounted:v,beforeUpdate:E,updated:S,activated:A,deactivated:j,beforeDestroy:O,beforeUnmount:R,destroyed:x,unmounted:k,render:V,renderTracked:Z,renderTriggered:b,errorCaptured:W,serverPrefetch:F,expose:G,inheritAttrs:ue,components:J,directives:M,filters:re}=t;if(d&&resolveInjections(d,i,null),a)for(const U in a){const Y=a[U];isFunction(Y)&&(i[U]=Y.bind(n))}if(s){const U=s.call(n,n);isObject(U)&&(e.data=reactive(U))}if(shouldCacheAccess=!0,r)for(const U in r){const Y=r[U],le=isFunction(Y)?Y.bind(n,n):isFunction(Y.get)?Y.get.bind(n,n):NOOP,be=!isFunction(Y)&&isFunction(Y.set)?Y.set.bind(n):NOOP,xe=computed({get:le,set:be});Object.defineProperty(i,U,{enumerable:!0,configurable:!0,get:()=>xe.value,set:X=>xe.value=X})}if(l)for(const U in l)createWatcher(l[U],i,n,U);if(u){const U=isFunction(u)?u.call(n):u;Reflect.ownKeys(U).forEach(Y=>{provide(Y,U[Y])})}f&&callHook$1(f,e,"c");function D(U,Y){isArray(Y)?Y.forEach(le=>U(le.bind(n))):Y&&U(Y.bind(n))}if(D(onBeforeMount,g),D(onMounted,v),D(onBeforeUpdate,E),D(onUpdated,S),D(onActivated,A),D(onDeactivated,j),D(onErrorCaptured,W),D(onRenderTracked,Z),D(onRenderTriggered,b),D(onBeforeUnmount,R),D(onUnmounted,k),D(onServerPrefetch,F),isArray(G))if(G.length){const U=e.exposed||(e.exposed={});G.forEach(Y=>{Object.defineProperty(U,Y,{get:()=>n[Y],set:le=>n[Y]=le,enumerable:!0})})}else e.exposed||(e.exposed={});V&&e.render===NOOP&&(e.render=V),ue!=null&&(e.inheritAttrs=ue),J&&(e.components=J),M&&(e.directives=M),F&&markAsyncBoundary(e)}function resolveInjections(e,t,n=NOOP){isArray(e)&&(e=normalizeInject(e));for(const i in e){const s=e[i];let r;isObject(s)?"default"in s?r=inject(s.from||i,s.default,!0):r=inject(s.from||i):r=inject(s),isRef(r)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[i]=r}}function callHook$1(e,t,n){callWithAsyncErrorHandling(isArray(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function createWatcher(e,t,n,i){let s=i.includes(".")?createPathGetter(n,i):()=>n[i];if(isString(e)){const r=t[e];isFunction(r)&&watch(s,r)}else if(isFunction(e))watch(s,e.bind(n));else if(isObject(e))if(isArray(e))e.forEach(r=>createWatcher(r,t,n,i));else{const r=isFunction(e.handler)?e.handler.bind(n):t[e.handler];isFunction(r)&&watch(s,r,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,l=r.get(t);let u;return l?u=l:!s.length&&!n&&!i?u=t:(u={},s.length&&s.forEach(d=>mergeOptions(u,d,a,!0)),mergeOptions(u,t,a)),isObject(t)&&r.set(t,u),u}function mergeOptions(e,t,n,i=!1){const{mixins:s,extends:r}=t;r&&mergeOptions(e,r,n,!0),s&&s.forEach(a=>mergeOptions(e,a,n,!0));for(const a in t)if(!(i&&a==="expose")){const l=internalOptionMergeStrats[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend(isFunction(e)?e.call(this,this):e,isFunction(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mergeAsArray$1(e,t){return e?[...new Set([].concat(e,t))]:t}function mergeObjectOptions(e,t){return e?extend(Object.create(null),e,t):t}function mergeEmitsOrPropsOptions(e,t){return e?isArray(e)&&isArray(t)?[...new Set([...e,...t])]:extend(Object.create(null),normalizePropsOrEmits(e),normalizePropsOrEmits(t??{})):t}function mergeWatchOptions(e,t){if(!e)return t;if(!t)return e;const n=extend(Object.create(null),e);for(const i in t)n[i]=mergeAsArray$1(e[i],t[i]);return n}function createAppContext(){return{app:null,config:{isNativeTag: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 uid$1=0;function createAppAPI(e,t){return function(i,s=null){isFunction(i)||(i=extend({},i)),s!=null&&!isObject(s)&&(s=null);const r=createAppContext(),a=new WeakSet,l=[];let u=!1;const d=r.app={_uid:uid$1++,_component:i,_props:s,_container:null,_context:r,_instance:null,version,get config(){return r.config},set config(f){},use(f,...g){return a.has(f)||(f&&isFunction(f.install)?(a.add(f),f.install(d,...g)):isFunction(f)&&(a.add(f),f(d,...g))),d},mixin(f){return r.mixins.includes(f)||r.mixins.push(f),d},component(f,g){return g?(r.components[f]=g,d):r.components[f]},directive(f,g){return g?(r.directives[f]=g,d):r.directives[f]},mount(f,g,v){if(!u){const E=d._ceVNode||createVNode(i,s);return E.appContext=r,v===!0?v="svg":v===!1&&(v=void 0),g&&t?t(E,f):e(E,f,v),u=!0,d._container=f,f.__vue_app__=d,getComponentPublicInstance(E.component)}},onUnmount(f){l.push(f)},unmount(){u&&(callWithAsyncErrorHandling(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,g){return r.provides[f]=g,d},runWithContext(f){const g=currentApp;currentApp=d;try{return f()}finally{currentApp=g}}};return d}}let currentApp=null;function provide(e,t){if(currentInstance){let n=currentInstance.provides;const i=currentInstance.parent&&currentInstance.parent.provides;i===n&&(n=currentInstance.provides=Object.create(i)),n[e]=t}}function inject(e,t,n=!1){const i=getCurrentInstance();if(i||currentApp){let s=currentApp?currentApp._context.provides:i?i.parent==null||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&isFunction(t)?t.call(i&&i.proxy):t}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect(e,t){return doWatch(e,null,t)}function watchPostEffect(e,t){return doWatch(e,null,{flush:"post"})}function watchSyncEffect(e,t){return doWatch(e,null,{flush:"sync"})}function watch(e,t,n){return doWatch(e,t,n)}function doWatch(e,t,n=EMPTY_OBJ){const{immediate:i,deep:s,flush:r,once:a}=n,l=extend({},n),u=t&&i||!t&&r!=="post";let d;if(isInSSRComponentSetup){if(r==="sync"){const E=useSSRContext();d=E.__watcherHandles||(E.__watcherHandles=[])}else if(!u){const E=()=>{};return E.stop=NOOP,E.resume=NOOP,E.pause=NOOP,E}}const f=currentInstance;l.call=(E,S,A)=>callWithAsyncErrorHandling(E,f,S,A);let g=!1;r==="post"?l.scheduler=E=>{queuePostRenderEffect(E,f&&f.suspense)}:r!=="sync"&&(g=!0,l.scheduler=(E,S)=>{S?E():queueJob(E)}),l.augmentJob=E=>{t&&(E.flags|=4),g&&(E.flags|=2,f&&(E.id=f.uid,E.i=f))};const v=watch$1(e,t,l);return isInSSRComponentSetup&&(d?d.push(v):u&&v()),v}function instanceWatch(e,t,n){const i=this.proxy,s=isString(e)?e.includes(".")?createPathGetter(i,e):()=>i[e]:e.bind(i,i);let r;isFunction(t)?r=t:(r=t.handler,n=t);const a=setCurrentInstance(this),l=doWatch(s,r.bind(i),n);return a(),l}function createPathGetter(e,t){const n=t.split(".");return()=>{let i=e;for(let s=0;s<n.length&&i;s++)i=i[n[s]];return i}}function useModel(e,t,n=EMPTY_OBJ){const i=getCurrentInstance(),s=camelize(t),r=hyphenate(t),a=getModelModifiers(e,s),l=customRef((u,d)=>{let f,g=EMPTY_OBJ,v;return watchSyncEffect(()=>{const E=e[s];hasChanged(f,E)&&(f=E,d())}),{get(){return u(),n.get?n.get(f):f},set(E){const S=n.set?n.set(E):E;if(!hasChanged(S,f)&&!(g!==EMPTY_OBJ&&hasChanged(E,g)))return;const A=i.vnode.props;A&&(t in A||s in A||r in A)&&(`onUpdate:${t}`in A||`onUpdate:${s}`in A||`onUpdate:${r}`in A)||(f=E,d()),i.emit(`update:${t}`,S),hasChanged(E,S)&&hasChanged(E,g)&&!hasChanged(S,v)&&d(),g=E,v=S}}});return l[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?a||EMPTY_OBJ:l,done:!1}:{done:!0}}}},l}const getModelModifiers=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${camelize(t)}Modifiers`]||e[`${hyphenate(t)}Modifiers`];function emit(e,t,...n){if(e.isUnmounted)return;const i=e.vnode.props||EMPTY_OBJ;let s=n;const r=t.startsWith("update:"),a=r&&getModelModifiers(i,t.slice(7));a&&(a.trim&&(s=n.map(f=>isString(f)?f.trim():f)),a.number&&(s=n.map(looseToNumber)));let l,u=i[l=toHandlerKey(t)]||i[l=toHandlerKey(camelize(t))];!u&&r&&(u=i[l=toHandlerKey(hyphenate(t))]),u&&callWithAsyncErrorHandling(u,e,6,s);const d=i[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,callWithAsyncErrorHandling(d,e,6,s)}}const mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(e,t,n=!1){const i=n?mixinEmitsCache:t.emitsCache,s=i.get(e);if(s!==void 0)return s;const r=e.emits;let a={},l=!1;if(!isFunction(e)){const u=d=>{const f=normalizeEmitsOptions(d,t,!0);f&&(l=!0,extend(a,f))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!l?(isObject(e)&&i.set(e,null),null):(isArray(r)?r.forEach(u=>a[u]=null):extend(a,r),isObject(e)&&i.set(e,a),a)}function isEmitListener(e,t){return!e||!isOn(t)?!1:(t=t.slice(2).replace(/Once$/,""),hasOwn(e,t[0].toLowerCase()+t.slice(1))||hasOwn(e,hyphenate(t))||hasOwn(e,t))}function markAttrsAccessed(){}function renderComponentRoot(e){const{type:t,vnode:n,proxy:i,withProxy:s,propsOptions:[r],slots:a,attrs:l,emit:u,render:d,renderCache:f,props:g,data:v,setupState:E,ctx:S,inheritAttrs:A}=e,j=setCurrentRenderingInstance(e);let O,R;try{if(n.shapeFlag&4){const k=s||i,V=k;O=normalizeVNode(d.call(V,k,f,g,E,v,S)),R=l}else{const k=t;O=normalizeVNode(k.length>1?k(g,{attrs:l,slots:a,emit:u}):k(g,null)),R=t.props?l:getFunctionalFallthrough(l)}}catch(k){blockStack.length=0,handleError(k,e,1),O=createVNode(Comment)}let x=O;if(R&&A!==!1){const k=Object.keys(R),{shapeFlag:V}=x;k.length&&V&7&&(r&&k.some(isModelListener)&&(R=filterModelListeners(R,r)),x=cloneVNode(x,R,!1,!0))}return n.dirs&&(x=cloneVNode(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&setTransitionHooks(x,n.transition),O=x,setCurrentRenderingInstance(j),O}function filterSingleRoot(e,t=!0){let n;for(let i=0;i<e.length;i++){const s=e[i];if(isVNode(s)){if(s.type!==Comment||s.children==="v-if"){if(n)return;n=s}}else return}return n}const getFunctionalFallthrough=e=>{let t;for(const n in e)(n==="class"||n==="style"||isOn(n))&&((t||(t={}))[n]=e[n]);return t},filterModelListeners=(e,t)=>{const n={};for(const i in e)(!isModelListener(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function shouldUpdateComponent(e,t,n){const{props:i,children:s,component:r}=e,{props:a,children:l,patchFlag:u}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return i?hasPropsChanged(i,a,d):!!a;if(u&8){const f=t.dynamicProps;for(let g=0;g<f.length;g++){const v=f[g];if(a[v]!==i[v]&&!isEmitListener(d,v))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:i===a?!1:i?a?hasPropsChanged(i,a,d):!0:!!a;return!1}function hasPropsChanged(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let s=0;s<i.length;s++){const r=i[s];if(t[r]!==e[r]&&!isEmitListener(n,r))return!0}return!1}function updateHOCHostEl({vnode:e,parent:t},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i===e)(e=t.vnode).el=n,t=t.parent;else break}}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=e=>Object.getPrototypeOf(e)===internalObjectProto;function initProps(e,t,n,i=!1){const s={},r=createInternalObject();e.propsDefaults=Object.create(null),setFullProps(e,t,s,r);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);n?e.props=i?s:shallowReactive(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function updateProps(e,t,n,i){const{props:s,attrs:r,vnode:{patchFlag:a}}=e,l=toRaw(s),[u]=e.propsOptions;let d=!1;if((i||a>0)&&!(a&16)){if(a&8){const f=e.vnode.dynamicProps;for(let g=0;g<f.length;g++){let v=f[g];if(isEmitListener(e.emitsOptions,v))continue;const E=t[v];if(u)if(hasOwn(r,v))E!==r[v]&&(r[v]=E,d=!0);else{const S=camelize(v);s[S]=resolvePropValue(u,l,S,E,e,!1)}else E!==r[v]&&(r[v]=E,d=!0)}}}else{setFullProps(e,t,s,r)&&(d=!0);let f;for(const g in l)(!t||!hasOwn(t,g)&&((f=hyphenate(g))===g||!hasOwn(t,f)))&&(u?n&&(n[g]!==void 0||n[f]!==void 0)&&(s[g]=resolvePropValue(u,l,g,void 0,e,!0)):delete s[g]);if(r!==l)for(const g in r)(!t||!hasOwn(t,g))&&(delete r[g],d=!0)}d&&trigger(e.attrs,"set","")}function setFullProps(e,t,n,i){const[s,r]=e.propsOptions;let a=!1,l;if(t)for(let u in t){if(isReservedProp(u))continue;const d=t[u];let f;s&&hasOwn(s,f=camelize(u))?!r||!r.includes(f)?n[f]=d:(l||(l={}))[f]=d:isEmitListener(e.emitsOptions,u)||(!(u in i)||d!==i[u])&&(i[u]=d,a=!0)}if(r){const u=toRaw(n),d=l||EMPTY_OBJ;for(let f=0;f<r.length;f++){const g=r[f];n[g]=resolvePropValue(s,u,g,d[g],e,!hasOwn(d,g))}}return a}function resolvePropValue(e,t,n,i,s,r){const a=e[n];if(a!=null){const l=hasOwn(a,"default");if(l&&i===void 0){const u=a.default;if(a.type!==Function&&!a.skipFactory&&isFunction(u)){const{propsDefaults:d}=s;if(n in d)i=d[n];else{const f=setCurrentInstance(s);i=d[n]=u.call(null,t),f()}}else i=u;s.ce&&s.ce._setProp(n,i)}a[0]&&(r&&!l?i=!1:a[1]&&(i===""||i===hyphenate(n))&&(i=!0))}return i}const mixinPropsCache=new WeakMap;function normalizePropsOptions(e,t,n=!1){const i=n?mixinPropsCache:t.propsCache,s=i.get(e);if(s)return s;const r=e.props,a={},l=[];let u=!1;if(!isFunction(e)){const f=g=>{u=!0;const[v,E]=normalizePropsOptions(g,t,!0);extend(a,v),E&&l.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!r&&!u)return isObject(e)&&i.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray(r))for(let f=0;f<r.length;f++){const g=camelize(r[f]);validatePropName(g)&&(a[g]=EMPTY_OBJ)}else if(r)for(const f in r){const g=camelize(f);if(validatePropName(g)){const v=r[f],E=a[g]=isArray(v)||isFunction(v)?{type:v}:extend({},v),S=E.type;let A=!1,j=!0;if(isArray(S))for(let O=0;O<S.length;++O){const R=S[O],x=isFunction(R)&&R.name;if(x==="Boolean"){A=!0;break}else x==="String"&&(j=!1)}else A=isFunction(S)&&S.name==="Boolean";E[0]=A,E[1]=j,(A||hasOwn(E,"default"))&&l.push(g)}}const d=[a,l];return isObject(e)&&i.set(e,d),d}function validatePropName(e){return e[0]!=="$"&&!isReservedProp(e)}const isInternalKey=e=>e==="_"||e==="_ctx"||e==="$stable",normalizeSlotValue=e=>isArray(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot=(e,t,n)=>{if(t._n)return t;const i=withCtx((...s)=>normalizeSlotValue(t(...s)),n);return i._c=!1,i},normalizeObjectSlots=(e,t,n)=>{const i=e._ctx;for(const s in e){if(isInternalKey(s))continue;const r=e[s];if(isFunction(r))t[s]=normalizeSlot(s,r,i);else if(r!=null){const a=normalizeSlotValue(r);t[s]=()=>a}}},normalizeVNodeSlots=(e,t)=>{const n=normalizeSlotValue(t);e.slots.default=()=>n},assignSlots=(e,t,n)=>{for(const i in t)(n||!isInternalKey(i))&&(e[i]=t[i])},initSlots=(e,t,n)=>{const i=e.slots=createInternalObject();if(e.vnode.shapeFlag&32){const s=t._;s?(assignSlots(i,t,n),n&&def(i,"_",s,!0)):normalizeObjectSlots(t,i)}else t&&normalizeVNodeSlots(e,t)},updateSlots=(e,t,n)=>{const{vnode:i,slots:s}=e;let r=!0,a=EMPTY_OBJ;if(i.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:assignSlots(s,t,n):(r=!t.$stable,normalizeObjectSlots(t,s)),a=t}else t&&(normalizeVNodeSlots(e,t),a={default:1});if(r)for(const l in s)!isInternalKey(l)&&a[l]==null&&delete s[l]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function createHydrationRenderer(e){return baseCreateRenderer(e,createHydrationFunctions)}function baseCreateRenderer(e,t){const n=getGlobalThis();n.__VUE__=!0;const{insert:i,remove:s,patchProp:r,createElement:a,createText:l,createComment:u,setText:d,setElementText:f,parentNode:g,nextSibling:v,setScopeId:E=NOOP,insertStaticContent:S}=e,A=(I,B,te,fe=null,ce=null,oe=null,ve=void 0,ye=null,me=!!B.dynamicChildren)=>{if(I===B)return;I&&!isSameVNodeType(I,B)&&(fe=Ne(I),X(I,ce,oe,!0),I=null),B.patchFlag===-2&&(me=!1,B.dynamicChildren=null);const{type:ae,ref:$e,shapeFlag:_e}=B;switch(ae){case Text$1:j(I,B,te,fe);break;case Comment:O(I,B,te,fe);break;case Static:I==null&&R(B,te,fe,ve);break;case Fragment:J(I,B,te,fe,ce,oe,ve,ye,me);break;default:_e&1?V(I,B,te,fe,ce,oe,ve,ye,me):_e&6?M(I,B,te,fe,ce,oe,ve,ye,me):(_e&64||_e&128)&&ae.process(I,B,te,fe,ce,oe,ve,ye,me,Ge)}$e!=null&&ce?setRef($e,I&&I.ref,oe,B||I,!B):$e==null&&I&&I.ref!=null&&setRef(I.ref,null,oe,I,!0)},j=(I,B,te,fe)=>{if(I==null)i(B.el=l(B.children),te,fe);else{const ce=B.el=I.el;B.children!==I.children&&d(ce,B.children)}},O=(I,B,te,fe)=>{I==null?i(B.el=u(B.children||""),te,fe):B.el=I.el},R=(I,B,te,fe)=>{[I.el,I.anchor]=S(I.children,B,te,fe,I.el,I.anchor)},x=({el:I,anchor:B},te,fe)=>{let ce;for(;I&&I!==B;)ce=v(I),i(I,te,fe),I=ce;i(B,te,fe)},k=({el:I,anchor:B})=>{let te;for(;I&&I!==B;)te=v(I),s(I),I=te;s(B)},V=(I,B,te,fe,ce,oe,ve,ye,me)=>{if(B.type==="svg"?ve="svg":B.type==="math"&&(ve="mathml"),I==null)Z(B,te,fe,ce,oe,ve,ye,me);else{const ae=I.el&&I.el._isVueCE?I.el:null;try{ae&&ae._beginPatch(),F(I,B,ce,oe,ve,ye,me)}finally{ae&&ae._endPatch()}}},Z=(I,B,te,fe,ce,oe,ve,ye)=>{let me,ae;const{props:$e,shapeFlag:_e,transition:se,dirs:Te}=I;if(me=I.el=a(I.type,oe,$e&&$e.is,$e),_e&8?f(me,I.children):_e&16&&W(I.children,me,null,fe,ce,resolveChildrenNamespace(I,oe),ve,ye),Te&&invokeDirectiveHook(I,null,fe,"created"),b(me,I,I.scopeId,ve,fe),$e){for(const ze in $e)ze!=="value"&&!isReservedProp(ze)&&r(me,ze,null,$e[ze],oe,fe);"value"in $e&&r(me,"value",null,$e.value,oe),(ae=$e.onVnodeBeforeMount)&&invokeVNodeHook(ae,fe,I)}Te&&invokeDirectiveHook(I,null,fe,"beforeMount");const Fe=needTransition(ce,se);Fe&&se.beforeEnter(me),i(me,B,te),((ae=$e&&$e.onVnodeMounted)||Fe||Te)&&queuePostRenderEffect(()=>{ae&&invokeVNodeHook(ae,fe,I),Fe&&se.enter(me),Te&&invokeDirectiveHook(I,null,fe,"mounted")},ce)},b=(I,B,te,fe,ce)=>{if(te&&E(I,te),fe)for(let oe=0;oe<fe.length;oe++)E(I,fe[oe]);if(ce){let oe=ce.subTree;if(B===oe||isSuspense(oe.type)&&(oe.ssContent===B||oe.ssFallback===B)){const ve=ce.vnode;b(I,ve,ve.scopeId,ve.slotScopeIds,ce.parent)}}},W=(I,B,te,fe,ce,oe,ve,ye,me=0)=>{for(let ae=me;ae<I.length;ae++){const $e=I[ae]=ye?cloneIfMounted(I[ae]):normalizeVNode(I[ae]);A(null,$e,B,te,fe,ce,oe,ve,ye)}},F=(I,B,te,fe,ce,oe,ve)=>{const ye=B.el=I.el;let{patchFlag:me,dynamicChildren:ae,dirs:$e}=B;me|=I.patchFlag&16;const _e=I.props||EMPTY_OBJ,se=B.props||EMPTY_OBJ;let Te;if(te&&toggleRecurse(te,!1),(Te=se.onVnodeBeforeUpdate)&&invokeVNodeHook(Te,te,B,I),$e&&invokeDirectiveHook(B,I,te,"beforeUpdate"),te&&toggleRecurse(te,!0),(_e.innerHTML&&se.innerHTML==null||_e.textContent&&se.textContent==null)&&f(ye,""),ae?G(I.dynamicChildren,ae,ye,te,fe,resolveChildrenNamespace(B,ce),oe):ve||Y(I,B,ye,null,te,fe,resolveChildrenNamespace(B,ce),oe,!1),me>0){if(me&16)ue(ye,_e,se,te,ce);else if(me&2&&_e.class!==se.class&&r(ye,"class",null,se.class,ce),me&4&&r(ye,"style",_e.style,se.style,ce),me&8){const Fe=B.dynamicProps;for(let ze=0;ze<Fe.length;ze++){const Be=Fe[ze],Ze=_e[Be],Je=se[Be];(Je!==Ze||Be==="value")&&r(ye,Be,Ze,Je,ce,te)}}me&1&&I.children!==B.children&&f(ye,B.children)}else!ve&&ae==null&&ue(ye,_e,se,te,ce);((Te=se.onVnodeUpdated)||$e)&&queuePostRenderEffect(()=>{Te&&invokeVNodeHook(Te,te,B,I),$e&&invokeDirectiveHook(B,I,te,"updated")},fe)},G=(I,B,te,fe,ce,oe,ve)=>{for(let ye=0;ye<B.length;ye++){const me=I[ye],ae=B[ye],$e=me.el&&(me.type===Fragment||!isSameVNodeType(me,ae)||me.shapeFlag&198)?g(me.el):te;A(me,ae,$e,null,fe,ce,oe,ve,!0)}},ue=(I,B,te,fe,ce)=>{if(B!==te){if(B!==EMPTY_OBJ)for(const oe in B)!isReservedProp(oe)&&!(oe in te)&&r(I,oe,B[oe],null,ce,fe);for(const oe in te){if(isReservedProp(oe))continue;const ve=te[oe],ye=B[oe];ve!==ye&&oe!=="value"&&r(I,oe,ye,ve,ce,fe)}"value"in te&&r(I,"value",B.value,te.value,ce)}},J=(I,B,te,fe,ce,oe,ve,ye,me)=>{const ae=B.el=I?I.el:l(""),$e=B.anchor=I?I.anchor:l("");let{patchFlag:_e,dynamicChildren:se,slotScopeIds:Te}=B;Te&&(ye=ye?ye.concat(Te):Te),I==null?(i(ae,te,fe),i($e,te,fe),W(B.children||[],te,$e,ce,oe,ve,ye,me)):_e>0&&_e&64&&se&&I.dynamicChildren?(G(I.dynamicChildren,se,te,ce,oe,ve,ye),(B.key!=null||ce&&B===ce.subTree)&&traverseStaticChildren(I,B,!0)):Y(I,B,te,$e,ce,oe,ve,ye,me)},M=(I,B,te,fe,ce,oe,ve,ye,me)=>{B.slotScopeIds=ye,I==null?B.shapeFlag&512?ce.ctx.activate(B,te,fe,ve,me):re(B,te,fe,ce,oe,ve,me):pe(I,B,me)},re=(I,B,te,fe,ce,oe,ve)=>{const ye=I.component=createComponentInstance(I,fe,ce);if(isKeepAlive(I)&&(ye.ctx.renderer=Ge),setupComponent(ye,!1,ve),ye.asyncDep){if(ce&&ce.registerDep(ye,D,ve),!I.el){const me=ye.subTree=createVNode(Comment);O(null,me,B,te),I.placeholder=me.el}}else D(ye,I,B,te,ce,oe,ve)},pe=(I,B,te)=>{const fe=B.component=I.component;if(shouldUpdateComponent(I,B,te))if(fe.asyncDep&&!fe.asyncResolved){U(fe,B,te);return}else fe.next=B,fe.update();else B.el=I.el,fe.vnode=B},D=(I,B,te,fe,ce,oe,ve)=>{const ye=()=>{if(I.isMounted){let{next:_e,bu:se,u:Te,parent:Fe,vnode:ze}=I;{const Ke=locateNonHydratedAsyncRoot(I);if(Ke){_e&&(_e.el=ze.el,U(I,_e,ve)),Ke.asyncDep.then(()=>{I.isUnmounted||ye()});return}}let Be=_e,Ze;toggleRecurse(I,!1),_e?(_e.el=ze.el,U(I,_e,ve)):_e=ze,se&&invokeArrayFns(se),(Ze=_e.props&&_e.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Ze,Fe,_e,ze),toggleRecurse(I,!0);const Je=renderComponentRoot(I),et=I.subTree;I.subTree=Je,A(et,Je,g(et.el),Ne(et),I,ce,oe),_e.el=Je.el,Be===null&&updateHOCHostEl(I,Je.el),Te&&queuePostRenderEffect(Te,ce),(Ze=_e.props&&_e.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Ze,Fe,_e,ze),ce)}else{let _e;const{el:se,props:Te}=B,{bm:Fe,m:ze,parent:Be,root:Ze,type:Je}=I,et=isAsyncWrapper(B);if(toggleRecurse(I,!1),Fe&&invokeArrayFns(Fe),!et&&(_e=Te&&Te.onVnodeBeforeMount)&&invokeVNodeHook(_e,Be,B),toggleRecurse(I,!0),se&&at){const Ke=()=>{I.subTree=renderComponentRoot(I),at(se,I.subTree,I,ce,null)};et&&Je.__asyncHydrate?Je.__asyncHydrate(se,I,Ke):Ke()}else{Ze.ce&&Ze.ce._def.shadowRoot!==!1&&Ze.ce._injectChildStyle(Je);const Ke=I.subTree=renderComponentRoot(I);A(null,Ke,te,fe,I,ce,oe),B.el=Ke.el}if(ze&&queuePostRenderEffect(ze,ce),!et&&(_e=Te&&Te.onVnodeMounted)){const Ke=B;queuePostRenderEffect(()=>invokeVNodeHook(_e,Be,Ke),ce)}(B.shapeFlag&256||Be&&isAsyncWrapper(Be.vnode)&&Be.vnode.shapeFlag&256)&&I.a&&queuePostRenderEffect(I.a,ce),I.isMounted=!0,B=te=fe=null}};I.scope.on();const me=I.effect=new ReactiveEffect(ye);I.scope.off();const ae=I.update=me.run.bind(me),$e=I.job=me.runIfDirty.bind(me);$e.i=I,$e.id=I.uid,me.scheduler=()=>queueJob($e),toggleRecurse(I,!0),ae()},U=(I,B,te)=>{B.component=I;const fe=I.vnode.props;I.vnode=B,I.next=null,updateProps(I,B.props,fe,te),updateSlots(I,B.children,te),pauseTracking(),flushPreFlushCbs(I),resetTracking()},Y=(I,B,te,fe,ce,oe,ve,ye,me=!1)=>{const ae=I&&I.children,$e=I?I.shapeFlag:0,_e=B.children,{patchFlag:se,shapeFlag:Te}=B;if(se>0){if(se&128){be(ae,_e,te,fe,ce,oe,ve,ye,me);return}else if(se&256){le(ae,_e,te,fe,ce,oe,ve,ye,me);return}}Te&8?($e&16&&Re(ae,ce,oe),_e!==ae&&f(te,_e)):$e&16?Te&16?be(ae,_e,te,fe,ce,oe,ve,ye,me):Re(ae,ce,oe,!0):($e&8&&f(te,""),Te&16&&W(_e,te,fe,ce,oe,ve,ye,me))},le=(I,B,te,fe,ce,oe,ve,ye,me)=>{I=I||EMPTY_ARR,B=B||EMPTY_ARR;const ae=I.length,$e=B.length,_e=Math.min(ae,$e);let se;for(se=0;se<_e;se++){const Te=B[se]=me?cloneIfMounted(B[se]):normalizeVNode(B[se]);A(I[se],Te,te,null,ce,oe,ve,ye,me)}ae>$e?Re(I,ce,oe,!0,!1,_e):W(B,te,fe,ce,oe,ve,ye,me,_e)},be=(I,B,te,fe,ce,oe,ve,ye,me)=>{let ae=0;const $e=B.length;let _e=I.length-1,se=$e-1;for(;ae<=_e&&ae<=se;){const Te=I[ae],Fe=B[ae]=me?cloneIfMounted(B[ae]):normalizeVNode(B[ae]);if(isSameVNodeType(Te,Fe))A(Te,Fe,te,null,ce,oe,ve,ye,me);else break;ae++}for(;ae<=_e&&ae<=se;){const Te=I[_e],Fe=B[se]=me?cloneIfMounted(B[se]):normalizeVNode(B[se]);if(isSameVNodeType(Te,Fe))A(Te,Fe,te,null,ce,oe,ve,ye,me);else break;_e--,se--}if(ae>_e){if(ae<=se){const Te=se+1,Fe=Te<$e?B[Te].el:fe;for(;ae<=se;)A(null,B[ae]=me?cloneIfMounted(B[ae]):normalizeVNode(B[ae]),te,Fe,ce,oe,ve,ye,me),ae++}}else if(ae>se)for(;ae<=_e;)X(I[ae],ce,oe,!0),ae++;else{const Te=ae,Fe=ae,ze=new Map;for(ae=Fe;ae<=se;ae++){const st=B[ae]=me?cloneIfMounted(B[ae]):normalizeVNode(B[ae]);st.key!=null&&ze.set(st.key,ae)}let Be,Ze=0;const Je=se-Fe+1;let et=!1,Ke=0;const ft=new Array(Je);for(ae=0;ae<Je;ae++)ft[ae]=0;for(ae=Te;ae<=_e;ae++){const st=I[ae];if(Ze>=Je){X(st,ce,oe,!0);continue}let rt;if(st.key!=null)rt=ze.get(st.key);else for(Be=Fe;Be<=se;Be++)if(ft[Be-Fe]===0&&isSameVNodeType(st,B[Be])){rt=Be;break}rt===void 0?X(st,ce,oe,!0):(ft[rt-Fe]=ae+1,rt>=Ke?Ke=rt:et=!0,A(st,B[rt],te,null,ce,oe,ve,ye,me),Ze++)}const Ct=et?getSequence(ft):EMPTY_ARR;for(Be=Ct.length-1,ae=Je-1;ae>=0;ae--){const st=Fe+ae,rt=B[st],Ht=B[st+1],Vt=st+1<$e?Ht.el||Ht.placeholder:fe;ft[ae]===0?A(null,rt,te,Vt,ce,oe,ve,ye,me):et&&(Be<0||ae!==Ct[Be]?xe(rt,te,Vt,2):Be--)}}},xe=(I,B,te,fe,ce=null)=>{const{el:oe,type:ve,transition:ye,children:me,shapeFlag:ae}=I;if(ae&6){xe(I.component.subTree,B,te,fe);return}if(ae&128){I.suspense.move(B,te,fe);return}if(ae&64){ve.move(I,B,te,Ge);return}if(ve===Fragment){i(oe,B,te);for(let _e=0;_e<me.length;_e++)xe(me[_e],B,te,fe);i(I.anchor,B,te);return}if(ve===Static){x(I,B,te);return}if(fe!==2&&ae&1&&ye)if(fe===0)ye.beforeEnter(oe),i(oe,B,te),queuePostRenderEffect(()=>ye.enter(oe),ce);else{const{leave:_e,delayLeave:se,afterLeave:Te}=ye,Fe=()=>{I.ctx.isUnmounted?s(oe):i(oe,B,te)},ze=()=>{oe._isLeaving&&oe[leaveCbKey](!0),_e(oe,()=>{Fe(),Te&&Te()})};se?se(oe,Fe,ze):ze()}else i(oe,B,te)},X=(I,B,te,fe=!1,ce=!1)=>{const{type:oe,props:ve,ref:ye,children:me,dynamicChildren:ae,shapeFlag:$e,patchFlag:_e,dirs:se,cacheIndex:Te}=I;if(_e===-2&&(ce=!1),ye!=null&&(pauseTracking(),setRef(ye,null,te,I,!0),resetTracking()),Te!=null&&(B.renderCache[Te]=void 0),$e&256){B.ctx.deactivate(I);return}const Fe=$e&1&&se,ze=!isAsyncWrapper(I);let Be;if(ze&&(Be=ve&&ve.onVnodeBeforeUnmount)&&invokeVNodeHook(Be,B,I),$e&6)Ce(I.component,te,fe);else{if($e&128){I.suspense.unmount(te,fe);return}Fe&&invokeDirectiveHook(I,null,B,"beforeUnmount"),$e&64?I.type.remove(I,B,te,Ge,fe):ae&&!ae.hasOnce&&(oe!==Fragment||_e>0&&_e&64)?Re(ae,B,te,!1,!0):(oe===Fragment&&_e&384||!ce&&$e&16)&&Re(me,B,te),fe&&he(I)}(ze&&(Be=ve&&ve.onVnodeUnmounted)||Fe)&&queuePostRenderEffect(()=>{Be&&invokeVNodeHook(Be,B,I),Fe&&invokeDirectiveHook(I,null,B,"unmounted")},te)},he=I=>{const{type:B,el:te,anchor:fe,transition:ce}=I;if(B===Fragment){Se(te,fe);return}if(B===Static){k(I);return}const oe=()=>{s(te),ce&&!ce.persisted&&ce.afterLeave&&ce.afterLeave()};if(I.shapeFlag&1&&ce&&!ce.persisted){const{leave:ve,delayLeave:ye}=ce,me=()=>ve(te,oe);ye?ye(I.el,oe,me):me()}else oe()},Se=(I,B)=>{let te;for(;I!==B;)te=v(I),s(I),I=te;s(B)},Ce=(I,B,te)=>{const{bum:fe,scope:ce,job:oe,subTree:ve,um:ye,m:me,a:ae}=I;invalidateMount(me),invalidateMount(ae),fe&&invokeArrayFns(fe),ce.stop(),oe&&(oe.flags|=8,X(ve,I,B,te)),ye&&queuePostRenderEffect(ye,B),queuePostRenderEffect(()=>{I.isUnmounted=!0},B)},Re=(I,B,te,fe=!1,ce=!1,oe=0)=>{for(let ve=oe;ve<I.length;ve++)X(I[ve],B,te,fe,ce)},Ne=I=>{if(I.shapeFlag&6)return Ne(I.component.subTree);if(I.shapeFlag&128)return I.suspense.next();const B=v(I.anchor||I.el),te=B&&B[TeleportEndKey];return te?v(te):B};let Qe=!1;const We=(I,B,te)=>{I==null?B._vnode&&X(B._vnode,null,null,!0):A(B._vnode||null,I,B,null,null,null,te),B._vnode=I,Qe||(Qe=!0,flushPreFlushCbs(),flushPostFlushCbs(),Qe=!1)},Ge={p:A,um:X,m:xe,r:he,mt:re,mc:W,pc:Y,pbc:G,n:Ne,o:e};let wt,at;return t&&([wt,at]=t(Ge)),{render:We,hydrate:wt,createApp:createAppAPI(We,wt)}}function resolveChildrenNamespace({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function toggleRecurse({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function needTransition(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function traverseStaticChildren(e,t,n=!1){const i=e.children,s=t.children;if(isArray(i)&&isArray(s))for(let r=0;r<i.length;r++){const a=i[r];let l=s[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[r]=cloneIfMounted(s[r]),l.el=a.el),!n&&l.patchFlag!==-2&&traverseStaticChildren(a,l)),l.type===Text$1&&l.patchFlag!==-1&&(l.el=a.el),l.type===Comment&&!l.el&&(l.el=a.el)}}function getSequence(e){const t=e.slice(),n=[0];let i,s,r,a,l;const u=e.length;for(i=0;i<u;i++){const d=e[i];if(d!==0){if(s=n[n.length-1],e[s]<d){t[i]=s,n.push(i);continue}for(r=0,a=n.length-1;r<a;)l=r+a>>1,e[n[l]]<d?r=l+1:a=l;d<e[n[r]]&&(r>0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,a=n[r-1];r-- >0;)n[r]=a,a=t[a];return n}function locateNonHydratedAsyncRoot(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:locateNonHydratedAsyncRoot(t)}function invalidateMount(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const isSuspense=e=>e.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(e,t,n,i,s,r,a,l,u,d){if(e==null)mountSuspense(t,n,i,s,r,a,l,u,d);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}patchSuspense(e,t,n,i,s,a,l,u,d)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent(e,t){const n=e.props&&e.props[t];isFunction(n)&&n()}function mountSuspense(e,t,n,i,s,r,a,l,u){const{p:d,o:{createElement:f}}=u,g=f("div"),v=e.suspense=createSuspenseBoundary(e,s,i,t,g,n,r,a,l,u);d(null,v.pendingBranch=e.ssContent,g,null,i,v,r,a),v.deps>0?(triggerEvent(e,"onPending"),triggerEvent(e,"onFallback"),d(null,e.ssFallback,t,n,i,null,r,a),setActiveBranch(v,e.ssFallback)):v.resolve(!1,!0)}function patchSuspense(e,t,n,i,s,r,a,l,{p:u,um:d,o:{createElement:f}}){const g=t.suspense=e.suspense;g.vnode=t,t.el=e.el;const v=t.ssContent,E=t.ssFallback,{activeBranch:S,pendingBranch:A,isInFallback:j,isHydrating:O}=g;if(A)g.pendingBranch=v,isSameVNodeType(A,v)?(u(A,v,g.hiddenContainer,null,s,g,r,a,l),g.deps<=0?g.resolve():j&&(O||(u(S,E,n,i,s,null,r,a,l),setActiveBranch(g,E)))):(g.pendingId=suspenseId++,O?(g.isHydrating=!1,g.activeBranch=A):d(A,s,g),g.deps=0,g.effects.length=0,g.hiddenContainer=f("div"),j?(u(null,v,g.hiddenContainer,null,s,g,r,a,l),g.deps<=0?g.resolve():(u(S,E,n,i,s,null,r,a,l),setActiveBranch(g,E))):S&&isSameVNodeType(S,v)?(u(S,v,n,i,s,g,r,a,l),g.resolve(!0)):(u(null,v,g.hiddenContainer,null,s,g,r,a,l),g.deps<=0&&g.resolve()));else if(S&&isSameVNodeType(S,v))u(S,v,n,i,s,g,r,a,l),setActiveBranch(g,v);else if(triggerEvent(t,"onPending"),g.pendingBranch=v,v.shapeFlag&512?g.pendingId=v.component.suspenseId:g.pendingId=suspenseId++,u(null,v,g.hiddenContainer,null,s,g,r,a,l),g.deps<=0)g.resolve();else{const{timeout:R,pendingId:x}=g;R>0?setTimeout(()=>{g.pendingId===x&&g.fallback(E)},R):R===0&&g.fallback(E)}}function createSuspenseBoundary(e,t,n,i,s,r,a,l,u,d,f=!1){const{p:g,m:v,um:E,n:S,o:{parentNode:A,remove:j}}=d;let O;const R=isVNodeSuspensible(e);R&&t&&t.pendingBranch&&(O=t.pendingId,t.deps++);const x=e.props?toNumber(e.props.timeout):void 0,k=r,V={vnode:e,parent:t,parentComponent:n,namespace:a,container:i,hiddenContainer:s,deps:0,pendingId:suspenseId++,timeout:typeof x=="number"?x:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(Z=!1,b=!1){const{vnode:W,activeBranch:F,pendingBranch:G,pendingId:ue,effects:J,parentComponent:M,container:re,isInFallback:pe}=V;let D=!1;V.isHydrating?V.isHydrating=!1:Z||(D=F&&G.transition&&G.transition.mode==="out-in",D&&(F.transition.afterLeave=()=>{ue===V.pendingId&&(v(G,re,r===k?S(F):r,0),queuePostFlushCb(J),pe&&W.ssFallback&&(W.ssFallback.el=null))}),F&&(A(F.el)===re&&(r=S(F)),E(F,M,V,!0),!D&&pe&&W.ssFallback&&queuePostRenderEffect(()=>W.ssFallback.el=null,V)),D||v(G,re,r,0)),setActiveBranch(V,G),V.pendingBranch=null,V.isInFallback=!1;let U=V.parent,Y=!1;for(;U;){if(U.pendingBranch){U.effects.push(...J),Y=!0;break}U=U.parent}!Y&&!D&&queuePostFlushCb(J),V.effects=[],R&&t&&t.pendingBranch&&O===t.pendingId&&(t.deps--,t.deps===0&&!b&&t.resolve()),triggerEvent(W,"onResolve")},fallback(Z){if(!V.pendingBranch)return;const{vnode:b,activeBranch:W,parentComponent:F,container:G,namespace:ue}=V;triggerEvent(b,"onFallback");const J=S(W),M=()=>{V.isInFallback&&(g(null,Z,G,J,F,null,ue,l,u),setActiveBranch(V,Z))},re=Z.transition&&Z.transition.mode==="out-in";re&&(W.transition.afterLeave=M),V.isInFallback=!0,E(W,F,null,!0),re||M()},move(Z,b,W){V.activeBranch&&v(V.activeBranch,Z,b,W),V.container=Z},next(){return V.activeBranch&&S(V.activeBranch)},registerDep(Z,b,W){const F=!!V.pendingBranch;F&&V.deps++;const G=Z.vnode.el;Z.asyncDep.catch(ue=>{handleError(ue,Z,0)}).then(ue=>{if(Z.isUnmounted||V.isUnmounted||V.pendingId!==Z.suspenseId)return;Z.asyncResolved=!0;const{vnode:J}=Z;handleSetupResult(Z,ue,!1),G&&(J.el=G);const M=!G&&Z.subTree.el;b(Z,J,A(G||Z.subTree.el),G?null:S(Z.subTree),V,a,W),M&&(J.placeholder=null,j(M)),updateHOCHostEl(Z,J.el),F&&--V.deps===0&&V.resolve()})},unmount(Z,b){V.isUnmounted=!0,V.activeBranch&&E(V.activeBranch,n,Z,b),V.pendingBranch&&E(V.pendingBranch,n,Z,b)}};return V}function hydrateSuspense(e,t,n,i,s,r,a,l,u){const d=t.suspense=createSuspenseBoundary(t,i,n,e.parentNode,document.createElement("div"),null,s,r,a,l,!0),f=u(e,d.pendingBranch=t.ssContent,n,d,r,a);return d.deps===0&&d.resolve(!1,!0),f}function normalizeSuspenseChildren(e){const{shapeFlag:t,children:n}=e,i=t&32;e.ssContent=normalizeSuspenseSlot(i?n.default:n),e.ssFallback=i?normalizeSuspenseSlot(n.fallback):createVNode(Comment)}function normalizeSuspenseSlot(e){let t;if(isFunction(e)){const n=isBlockTreeEnabled&&e._c;n&&(e._d=!1,openBlock()),e=e(),n&&(e._d=!0,t=currentBlock,closeBlock())}return isArray(e)&&(e=filterSingleRoot(e)),e=normalizeVNode(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function queueEffectWithSuspense(e,t){t&&t.pendingBranch?isArray(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}function setActiveBranch(e,t){e.activeBranch=t;const{vnode:n,parentComponent:i}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,i&&i.subTree===n&&(i.vnode.el=s,updateHOCHostEl(i,s))}function isVNodeSuspensible(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Fragment=Symbol.for("v-fgt"),Text$1=Symbol.for("v-txt"),Comment=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(e=!1){blockStack.push(currentBlock=e?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(e,t=!1){isBlockTreeEnabled+=e,e<0&&currentBlock&&t&&(currentBlock.hasOnce=!0)}function setupBlock(e){return e.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(e),e}function createElementBlock(e,t,n,i,s,r){return setupBlock(createBaseVNode(e,t,n,i,s,r,!0))}function createBlock(e,t,n,i,s){return setupBlock(createVNode(e,t,n,i,s,!0))}function isVNode(e){return e?e.__v_isVNode===!0:!1}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}function transformVNodeArgs(e){}const normalizeKey=({key:e})=>e??null,normalizeRef=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?isString(e)||isRef(e)||isFunction(e)?{i:currentRenderingInstance,r:e,k:t,f:!!n}:e:null);function createBaseVNode(e,t=null,n=null,i=0,s=null,r=e===Fragment?0:1,a=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return l?(normalizeChildren(u,n),r&128&&e.normalize(u)):n&&(u.shapeFlag|=isString(n)?8:16),isBlockTreeEnabled>0&&!a&&currentBlock&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&currentBlock.push(u),u}const createVNode=_createVNode;function _createVNode(e,t=null,n=null,i=0,s=null,r=!1){if((!e||e===NULL_DYNAMIC_COMPONENT)&&(e=Comment),isVNode(e)){const l=cloneVNode(e,t,!0);return n&&normalizeChildren(l,n),isBlockTreeEnabled>0&&!r&&currentBlock&&(l.shapeFlag&6?currentBlock[currentBlock.indexOf(e)]=l:currentBlock.push(l)),l.patchFlag=-2,l}if(isClassComponent(e)&&(e=e.__vccOpts),t){t=guardReactiveProps(t);let{class:l,style:u}=t;l&&!isString(l)&&(t.class=normalizeClass(l)),isObject(u)&&(isProxy(u)&&!isArray(u)&&(u=extend({},u)),t.style=normalizeStyle(u))}const a=isString(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject(e)?4:isFunction(e)?2:0;return createBaseVNode(e,t,n,i,s,a,r,!0)}function guardReactiveProps(e){return e?isProxy(e)||isInternalObject(e)?extend({},e):e:null}function cloneVNode(e,t,n=!1,i=!1){const{props:s,ref:r,patchFlag:a,children:l,transition:u}=e,d=t?mergeProps(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&normalizeKey(d),ref:t&&t.ref?n&&r?isArray(r)?r.concat(normalizeRef(t)):[r,normalizeRef(t)]:normalizeRef(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&i&&setTransitionHooks(f,u.clone(f)),f}function createTextVNode(e=" ",t=0){return createVNode(Text$1,null,e,t)}function createStaticVNode(e,t){const n=createVNode(Static,null,e);return n.staticCount=t,n}function createCommentVNode(e="",t=!1){return t?(openBlock(),createBlock(Comment,null,e)):createVNode(Comment,null,e)}function normalizeVNode(e){return e==null||typeof e=="boolean"?createVNode(Comment):isArray(e)?createVNode(Fragment,null,e.slice()):isVNode(e)?cloneIfMounted(e):createVNode(Text$1,null,String(e))}function cloneIfMounted(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(isArray(t))n=16;else if(typeof t=="object")if(i&65){const s=t.default;s&&(s._c&&(s._d=!1),normalizeChildren(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!isInternalObject(t)?t._ctx=currentRenderingInstance:s===3&&currentRenderingInstance&&(currentRenderingInstance.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else isFunction(t)?(t={default:t,_ctx:currentRenderingInstance},n=32):(t=String(t),i&64?(n=16,t=[createTextVNode(t)]):n=8);e.children=t,e.shapeFlag|=n}function mergeProps(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const s in i)if(s==="class")t.class!==i.class&&(t.class=normalizeClass([t.class,i.class]));else if(s==="style")t.style=normalizeStyle([t.style,i.style]);else if(isOn(s)){const r=t[s],a=i[s];a&&r!==a&&!(isArray(r)&&r.includes(a))&&(t[s]=r?[].concat(r,a):a)}else s!==""&&(t[s]=i[s])}return t}function invokeVNodeHook(e,t,n,i=null){callWithAsyncErrorHandling(e,t,7,[n,i])}const emptyAppContext=createAppContext();let uid=0;function createComponentInstance(e,t,n){const i=e.type,s=(t?t.appContext:e.appContext)||emptyAppContext,r={uid:uid++,vnode:e,type:i,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(i,s),emitsOptions:normalizeEmitsOptions(i,s),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:i.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,suspense:n,suspenseId:n?n.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 r.ctx={_:r},r.root=t?t.root:r,r.emit=emit.bind(null,r),e.ce&&e.ce(r),r}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const e=getGlobalThis(),t=(n,i)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(i),r=>{s.length>1?s.forEach(a=>a(r)):s[0](r)}};internalSetCurrentInstance=t("__VUE_INSTANCE_SETTERS__",n=>currentInstance=n),setInSSRSetupState=t("__VUE_SSR_SETTERS__",n=>isInSSRComponentSetup=n)}const setCurrentInstance=e=>{const t=currentInstance;return internalSetCurrentInstance(e),e.scope.on(),()=>{e.scope.off(),internalSetCurrentInstance(t)}},unsetCurrentInstance=()=>{currentInstance&&currentInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(e){return e.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(e,t=!1,n=!1){t&&setInSSRSetupState(t);const{props:i,children:s}=e.vnode,r=isStatefulComponent(e);initProps(e,i,r,t),initSlots(e,s,n||t);const a=r?setupStatefulComponent(e,t):void 0;return t&&setInSSRSetupState(!1),a}function setupStatefulComponent(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,PublicInstanceProxyHandlers);const{setup:i}=n;if(i){pauseTracking();const s=e.setupContext=i.length>1?createSetupContext(e):null,r=setCurrentInstance(e),a=callWithErrorHandling(i,e,0,[e.props,s]),l=isPromise(a);if(resetTracking(),r(),(l||e.sp)&&!isAsyncWrapper(e)&&markAsyncBoundary(e),l){if(a.then(unsetCurrentInstance,unsetCurrentInstance),t)return a.then(u=>{handleSetupResult(e,u,t)}).catch(u=>{handleError(u,e,0)});e.asyncDep=a}else handleSetupResult(e,a,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,n){isFunction(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,n)}let compile$1,installWithProxy;function registerRuntimeCompiler(e){compile$1=e,installWithProxy=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile$1;function finishComponentSetup(e,t,n){const i=e.type;if(!e.render){if(!t&&compile$1&&!i.render){const s=i.template||resolveMergedOptions(e).template;if(s){const{isCustomElement:r,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:u}=i,d=extend(extend({isCustomElement:r,delimiters:l},a),u);i.render=compile$1(s,d)}}e.render=i.render||NOOP,installWithProxy&&installWithProxy(e)}{const s=setCurrentInstance(e);pauseTracking();try{applyOptions(e)}finally{resetTracking(),s()}}}const attrsProxyHandlers={get(e,t){return track(e,"get",""),e[t]}};function createSetupContext(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,attrsProxyHandlers),slots:e.slots,emit:e.emit,expose:t}}function getComponentPublicInstance(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(proxyRefs(markRaw(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in publicPropertiesMap)return publicPropertiesMap[n](e)},has(t,n){return n in t||n in publicPropertiesMap}})):e.proxy}const classifyRE=/(?:^|[-_])\w/g,classify=e=>e.replace(classifyRE,t=>t.toUpperCase()).replace(/[-_]/g,"");function getComponentName(e,t=!0){return isFunction(e)?e.displayName||e.name:e.name||t&&e.__name}function formatComponentName(e,t,n=!1){let i=getComponentName(t);if(!i&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(i=s[1])}if(!i&&e){const s=r=>{for(const a in r)if(r[a]===t)return a};i=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return i?classify(i):n?"App":"Anonymous"}function isClassComponent(e){return isFunction(e)&&"__vccOpts"in e}const computed=(e,t)=>computed$1(e,t,isInSSRComponentSetup);function h(e,t,n){try{setBlockTracking(-1);const i=arguments.length;return i===2?isObject(t)&&!isArray(t)?isVNode(t)?createVNode(e,null,[t]):createVNode(e,t):createVNode(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&isVNode(n)&&(n=[n]),createVNode(e,t,n))}finally{setBlockTracking(1)}}function initCustomFormatter(){}function withMemo(e,t,n,i){const s=n[i];if(s&&isMemoSame(s,e))return s;const r=t();return r.memo=e.slice(),r.cacheIndex=i,n[i]=r}function isMemoSame(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let i=0;i<n.length;i++)if(hasChanged(n[i],t[i]))return!1;return isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(e),!0}const version="3.5.25",warn=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools=devtools$1,setDevtoolsHook=setDevtoolsHook$1,_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance,ensureValidVNode,pushWarningContext,popWarningContext},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,DeprecationTypes=null;let policy;const tt=typeof window<"u"&&window.trustedTypes;if(tt)try{policy=tt.createPolicy("vue",{createHTML:e=>e})}catch{}const unsafeToTrustedHTML=policy?e=>policy.createHTML(e):e=>e,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const s=t==="svg"?doc.createElementNS(svgNS,e):t==="mathml"?doc.createElementNS(mathmlNS,e):n?doc.createElement(e,{is:n}):doc.createElement(e);return e==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:e=>doc.createTextNode(e),createComment:e=>doc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>doc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,s,r){const a=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e);const l=templateContainer.content;if(i==="svg"||i==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},TRANSITION$1="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=e=>(e.displayName="Transition",e.props=TransitionPropsValidators,e),Transition=decorate$1((e,{slots:t})=>h(BaseTransition,resolveTransitionProps(e),t)),callHook=(e,t=[])=>{isArray(e)?e.forEach(n=>n(...t)):e&&e(...t)},hasExplicitCallback=e=>e?isArray(e)?e.some(t=>t.length>1):e.length>1:!1;function resolveTransitionProps(e){const t={};for(const J in e)J in DOMTransitionPropsValidators||(t[J]=e[J]);if(e.css===!1)return t;const{name:n="v",type:i,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=r,appearActiveClass:d=a,appearToClass:f=l,leaveFromClass:g=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:E=`${n}-leave-to`}=e,S=normalizeDuration(s),A=S&&S[0],j=S&&S[1],{onBeforeEnter:O,onEnter:R,onEnterCancelled:x,onLeave:k,onLeaveCancelled:V,onBeforeAppear:Z=O,onAppear:b=R,onAppearCancelled:W=x}=t,F=(J,M,re,pe)=>{J._enterCancelled=pe,removeTransitionClass(J,M?f:l),removeTransitionClass(J,M?d:a),re&&re()},G=(J,M)=>{J._isLeaving=!1,removeTransitionClass(J,g),removeTransitionClass(J,E),removeTransitionClass(J,v),M&&M()},ue=J=>(M,re)=>{const pe=J?b:R,D=()=>F(M,J,re);callHook(pe,[M,D]),nextFrame(()=>{removeTransitionClass(M,J?u:r),addTransitionClass(M,J?f:l),hasExplicitCallback(pe)||whenTransitionEnds(M,i,A,D)})};return extend(t,{onBeforeEnter(J){callHook(O,[J]),addTransitionClass(J,r),addTransitionClass(J,a)},onBeforeAppear(J){callHook(Z,[J]),addTransitionClass(J,u),addTransitionClass(J,d)},onEnter:ue(!1),onAppear:ue(!0),onLeave(J,M){J._isLeaving=!0;const re=()=>G(J,M);addTransitionClass(J,g),J._enterCancelled?(addTransitionClass(J,v),forceReflow(J)):(forceReflow(J),addTransitionClass(J,v)),nextFrame(()=>{J._isLeaving&&(removeTransitionClass(J,g),addTransitionClass(J,E),hasExplicitCallback(k)||whenTransitionEnds(J,i,j,re))}),callHook(k,[J,re])},onEnterCancelled(J){F(J,!1,void 0,!0),callHook(x,[J])},onAppearCancelled(J){F(J,!0,void 0,!0),callHook(W,[J])},onLeaveCancelled(J){G(J),callHook(V,[J])}})}function normalizeDuration(e){if(e==null)return null;if(isObject(e))return[NumberOf(e.enter),NumberOf(e.leave)];{const t=NumberOf(e);return[t,t]}}function NumberOf(e){return toNumber(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[vtcKey]||(e[vtcKey]=new Set)).add(t)}function removeTransitionClass(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const n=e[vtcKey];n&&(n.delete(t),n.size||(e[vtcKey]=void 0))}function nextFrame(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let endId=0;function whenTransitionEnds(e,t,n,i){const s=e._endId=++endId,r=()=>{s===e._endId&&i()};if(n!=null)return setTimeout(r,n);const{type:a,timeout:l,propCount:u}=getTransitionInfo(e,t);if(!a)return i();const d=a+"end";let f=0;const g=()=>{e.removeEventListener(d,v),r()},v=E=>{E.target===e&&++f>=u&&g()};setTimeout(()=>{f<u&&g()},l+1),e.addEventListener(d,v)}function getTransitionInfo(e,t){const n=window.getComputedStyle(e),i=S=>(n[S]||"").split(", "),s=i(`${TRANSITION$1}Delay`),r=i(`${TRANSITION$1}Duration`),a=getTimeout(s,r),l=i(`${ANIMATION}Delay`),u=i(`${ANIMATION}Duration`),d=getTimeout(l,u);let f=null,g=0,v=0;t===TRANSITION$1?a>0&&(f=TRANSITION$1,g=a,v=r.length):t===ANIMATION?d>0&&(f=ANIMATION,g=d,v=u.length):(g=Math.max(a,d),f=g>0?a>d?TRANSITION$1:ANIMATION:null,v=f?f===TRANSITION$1?r.length:u.length:0);const E=f===TRANSITION$1&&/\b(?:transform|all)(?:,|$)/.test(i(`${TRANSITION$1}Property`).toString());return{type:f,timeout:g,propCount:v,hasTransform:E}}function getTimeout(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,i)=>toMs(n)+toMs(e[i])))}function toMs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function forceReflow(e){return(e?e.ownerDocument:document).body.offsetHeight}function patchClass(e,t,n){const i=e[vtcKey];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={name:"show",beforeMount(e,{value:t},{transition:n}){e[vShowOriginalDisplay]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):setDisplay(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),setDisplay(e,!0),i.enter(e)):i.leave(e,()=>{setDisplay(e,!1)}):setDisplay(e,t))},beforeUnmount(e,{value:t}){setDisplay(e,t)}};function setDisplay(e,t){e.style.display=t?e[vShowOriginalDisplay]:"none",e[vShowHidden]=!t}function initVShowForSSR(){vShow.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const CSS_VAR_TEXT=Symbol("");function useCssVars(e){const t=getCurrentInstance();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>setVarsOnNode(r,s))},i=()=>{const s=e(t.proxy);t.ce?setVarsOnNode(t.ce,s):setVarsOnVNode(t.subTree,s),n(s)};onBeforeUpdate(()=>{queuePostFlushCb(i)}),onMounted(()=>{watch(i,NOOP,{flush:"post"});const s=new MutationObserver(i);s.observe(t.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>s.disconnect())})}function setVarsOnVNode(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{setVarsOnVNode(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)setVarsOnNode(e.el,t);else if(e.type===Fragment)e.children.forEach(n=>setVarsOnVNode(n,t));else if(e.type===Static){let{el:n,anchor:i}=e;for(;n&&(setVarsOnNode(n,t),n!==i);)n=n.nextSibling}}function setVarsOnNode(e,t){if(e.nodeType===1){const n=e.style;let i="";for(const s in t){const r=normalizeCssVarValue(t[s]);n.setProperty(`--${s}`,r),i+=`--${s}: ${r};`}n[CSS_VAR_TEXT]=i}}const displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(e,t,n){const i=e.style,s=isString(n);let r=!1;if(n&&!s){if(t)if(isString(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&setStyle(i,l,"")}else for(const a in t)n[a]==null&&setStyle(i,a,"");for(const a in n)a==="display"&&(r=!0),setStyle(i,a,n[a])}else if(s){if(t!==n){const a=i[CSS_VAR_TEXT];a&&(n+=";"+a),i.cssText=n,r=displayRE.test(n)}}else t&&e.removeAttribute("style");vShowOriginalDisplay in e&&(e[vShowOriginalDisplay]=r?i.display:"",e[vShowHidden]&&(i.display="none"))}const importantRE=/\s*!important$/;function setStyle(e,t,n){if(isArray(n))n.forEach(i=>setStyle(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=autoPrefix(e,t);importantRE.test(n)?e.setProperty(hyphenate(i),n.replace(importantRE,""),"important"):e[i]=n}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){const n=prefixCache[t];if(n)return n;let i=camelize(t);if(i!=="filter"&&i in e)return prefixCache[t]=i;i=capitalize(i);for(let s=0;s<prefixes.length;s++){const r=prefixes[s]+i;if(r in e)return prefixCache[t]=r}return t}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(e,t,n,i,s,r=isSpecialBooleanAttr(t)){i&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(xlinkNS,t.slice(6,t.length)):e.setAttributeNS(xlinkNS,t,n):n==null||r&&!includeBooleanAttr(n)?e.removeAttribute(t):e.setAttribute(t,r?"":isSymbol(n)?String(n):n)}function patchDOMProp(e,t,n,i,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?unsafeToTrustedHTML(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(l!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=includeBooleanAttr(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(s||t)}function addEventListener(e,t,n,i){e.addEventListener(t,n,i)}function removeEventListener(e,t,n,i){e.removeEventListener(t,n,i)}const veiKey=Symbol("_vei");function patchEvent(e,t,n,i,s=null){const r=e[veiKey]||(e[veiKey]={}),a=r[t];if(i&&a)a.value=i;else{const[l,u]=parseName(t);if(i){const d=r[t]=createInvoker(i,s);addEventListener(e,l,d,u)}else a&&(removeEventListener(e,l,a,u),r[t]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){let t;if(optionsModifierRE.test(e)){t={};let i;for(;i=e.match(optionsModifierRE);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):hyphenate(e.slice(2)),t]}let cachedNow=0;const p=Promise.resolve(),getNow=()=>cachedNow||(p.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(i,n.value),t,5,[i])};return n.value=e,n.attached=getNow(),n}function patchStopImmediatePropagation(e,t){if(isArray(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>s=>!s._stopped&&i&&i(s))}else return t}const isNativeOn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,patchProp=(e,t,n,i,s,r)=>{const a=s==="svg";t==="class"?patchClass(e,i,a):t==="style"?patchStyle(e,n,i):isOn(t)?isModelListener(t)||patchEvent(e,t,n,i,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):shouldSetAsProp(e,t,i,a))?(patchDOMProp(e,t,i),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&patchAttr(e,t,i,a,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!isString(i))?patchDOMProp(e,camelize(t),i,r,t):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),patchAttr(e,t,i,a))};function shouldSetAsProp(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&isNativeOn(t)&&isFunction(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return isNativeOn(t)&&isString(n)?!1:t in e}const REMOVAL={};function defineCustomElement(e,t,n){let i=defineComponent(e,t);isPlainObject$1(i)&&(i=extend({},i,t));class s extends VueElement{constructor(a){super(i,a,n)}}return s.def=i,s}const defineSSRCustomElement=((e,t)=>defineCustomElement(e,t,createSSRApp)),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor(t,n={},i=createApp){super(),this._def=t,this._props=n,this._createApp=i,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&i!==createApp?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(extend({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof VueElement){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i<this.attributes.length;i++)this._setAttr(this.attributes[i].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(i,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:a}=i;let l;if(r&&!isArray(r))for(const u in r){const d=r[u];(d===Number||d&&d.type===Number)&&(u in this._props&&(this._props[u]=toNumber(this._props[u])),(l||(l=Object.create(null)))[camelize(u)]=!0)}this._numberProps=l,this._resolveProps(i),this.shadowRoot&&this._applyStyles(a),this._mount(i)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(i=>{i.configureApp=this._def.configureApp,t(this._def=i,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const i in n)hasOwn(this,i)||Object.defineProperty(this,i,{get:()=>unref(n[i])})}_resolveProps(t){const{props:n}=t,i=isArray(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&i.includes(s)&&this._setProp(s,this[s]);for(const s of i.map(camelize))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(r){this._setProp(s,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let i=n?this.getAttribute(t):REMOVAL;const s=camelize(t);n&&this._numberProps&&this._numberProps[s]&&(i=toNumber(i)),this._setProp(s,i,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,i=!0,s=!1){if(n!==this._props[t]&&(this._dirty=!0,n===REMOVAL?delete this._props[t]:(this._props[t]=n,t==="
122key"&&this._app&&(this._app._ceVNode.key=n)),s&&this._instance&&this._update(),i)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),n===!0?this.setAttribute(hyphenate(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(hyphenate(t),n+""):n||this.removeAttribute(hyphenate(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),render(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=createVNode(this._def,extend(t,this._props));return this._instance||(n.ce=i=>{this._instance=i,i.ce=this,i.isCE=!0;const s=(r,a)=>{this.dispatchEvent(new CustomEvent(r,isPlainObject$1(a[0])?extend({detail:a},a[0]):{detail:a}))};i.emit=(r,...a)=>{s(r,a),hyphenate(r)!==r&&s(hyphenate(r),a)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const i=this._nonce;for(let s=t.length-1;s>=0;s--){const r=document.createElement("style");i&&r.setAttribute("nonce",i),r.textContent=t[s],this.shadowRoot.prepe
vendor: 85,247 bytes, lines 122-128
122nd(r)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const i=n.nodeType===1&&n.getAttribute("slot")||"default";(t[i]||(t[i]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let i=0;i<t.length;i++){const s=t[i],r=s.getAttribute("name")||"default",a=this._slots[r],l=s.parentNode;if(a)for(const u of a){if(n&&u.nodeType===1){const d=n+"-s",f=document.createTreeWalker(u,1);u.setAttribute(d,"");let g;for(;g=f.nextNode();)g.setAttribute(d,"")}l.insertBefore(u,s)}else for(;s.firstChild;)l.insertBefore(s.firstChild,s);l.removeChild(s)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const i of t){const s=i.querySelectorAll("slot");for(let r=0;r<s.length;r++)n.add(s[r])}return Array.from(n)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){}}function useHost(e){const t=getCurrentInstance(),n=t&&t.ce;return n||null}function useShadowRoot(){const e=useHost();return e&&e.shadowRoot}function useCssModule(e="$style"){{const t=getCurrentInstance();if(!t)return EMPTY_OBJ;const n=t.type.__cssModules;if(!n)return EMPTY_OBJ;const i=n[e];return i||EMPTY_OBJ}}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),decorate=e=>(delete e.props.mode,e),TransitionGroupImpl=decorate({name:"TransitionGroup",props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=getCurrentInstance(),i=useTransitionState();let s,r;return onUpdated(()=>{if(!s.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!hasCSSTransform(s[0].el,n.vnode.el,a)){s=[];return}s.forEach(callPendingCbs),s.forEach(recordPosition);const l=s.filter(applyTranslation);forceReflow(n.vnode.el),l.forEach(u=>{const d=u.el,f=d.style;addTransitionClass(d,a),f.transform=f.webkitTransform=f.transitionDuration="";const g=d[moveCbKey]=v=>{v&&v.target!==d||(!v||v.propertyName.endsWith("transform"))&&(d.removeEventListener("transitionend",g),d[moveCbKey]=null,removeTransitionClass(d,a))};d.addEventListener("transitionend",g)}),s=[]}),()=>{const a=toRaw(e),l=resolveTransitionProps(a);let u=a.tag||Fragment;if(s=[],r)for(let d=0;d<r.length;d++){const f=r[d];f.el&&f.el instanceof Element&&(s.push(f),setTransitionHooks(f,resolveTransitionHooks(f,l,i,n)),positionMap.set(f,{left:f.el.offsetLeft,top:f.el.offsetTop}))}r=t.default?getTransitionRawChildren(t.default()):[];for(let d=0;d<r.length;d++){const f=r[d];f.key!=null&&setTransitionHooks(f,resolveTransitionHooks(f,l,i,n))}return createVNode(u,null,r)}}}),TransitionGroup=TransitionGroupImpl;function callPendingCbs(e){const t=e.el;t[moveCbKey]&&t[moveCbKey](),t[enterCbKey]&&t[enterCbKey]()}function recordPosition(e){newPositionMap.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function applyTranslation(e){const t=positionMap.get(e),n=newPositionMap.get(e),i=t.left-n.left,s=t.top-n.top;if(i||s){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${i}px,${s}px)`,r.transitionDuration="0s",e}}function hasCSSTransform(e,t,n){const i=e.cloneNode(),s=e[vtcKey];s&&s.forEach(l=>{l.split(/\s+/).forEach(u=>u&&i.classList.remove(u))}),n.split(/\s+/).forEach(l=>l&&i.classList.add(l)),i.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(i);const{hasTransform:a}=getTransitionInfo(i);return r.removeChild(i),a}const getModelAssigner=e=>{const t=e.props["onUpdate:modelValue"]||!1;return isArray(t)?n=>invokeArrayFns(t,n):t};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign");function castValue(e,t,n){return t&&(e=e.trim()),n&&(e=looseToNumber(e)),e}const vModelText={created(e,{modifiers:{lazy:t,trim:n,number:i}},s){e[assignKey]=getModelAssigner(s);const r=i||s.props&&s.props.type==="number";addEventListener(e,t?"change":"input",a=>{a.target.composing||e[assignKey](castValue(e.value,n,r))}),(n||r)&&addEventListener(e,"change",()=>{e.value=castValue(e.value,n,r)}),t||(addEventListener(e,"compositionstart",onCompositionStart),addEventListener(e,"compositionend",onCompositionEnd),addEventListener(e,"change",onCompositionEnd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:i,trim:s,number:r}},a){if(e[assignKey]=getModelAssigner(a),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?looseToNumber(e.value):e.value,u=t??"";l!==u&&(document.activeElement===e&&e.type!=="range"&&(i&&t===n||s&&e.value.trim()===u)||(e.value=u))}},vModelCheckbox={deep:!0,created(e,t,n){e[assignKey]=getModelAssigner(n),addEventListener(e,"change",()=>{const i=e._modelValue,s=getValue(e),r=e.checked,a=e[assignKey];if(isArray(i)){const l=looseIndexOf(i,s),u=l!==-1;if(r&&!u)a(i.concat(s));else if(!r&&u){const d=[...i];d.splice(l,1),a(d)}}else if(isSet(i)){const l=new Set(i);r?l.add(s):l.delete(s),a(l)}else a(getCheckboxValue(e,r))})},mounted:setChecked,beforeUpdate(e,t,n){e[assignKey]=getModelAssigner(n),setChecked(e,t,n)}};function setChecked(e,{value:t,oldValue:n},i){e._modelValue=t;let s;if(isArray(t))s=looseIndexOf(t,i.props.value)>-1;else if(isSet(t))s=t.has(i.props.value);else{if(t===n)return;s=looseEqual(t,getCheckboxValue(e,!0))}e.checked!==s&&(e.checked=s)}const vModelRadio={created(e,{value:t},n){e.checked=looseEqual(t,n.props.value),e[assignKey]=getModelAssigner(n),addEventListener(e,"change",()=>{e[assignKey](getValue(e))})},beforeUpdate(e,{value:t,oldValue:n},i){e[assignKey]=getModelAssigner(i),t!==n&&(e.checked=looseEqual(t,i.props.value))}},vModelSelect={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const s=isSet(t);addEventListener(e,"change",()=>{const r=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?looseToNumber(getValue(a)):getValue(a));e[assignKey](e.multiple?s?new Set(r):r:r[0]),e._assigning=!0,nextTick(()=>{e._assigning=!1})}),e[assignKey]=getModelAssigner(i)},mounted(e,{value:t}){setSelected(e,t)},beforeUpdate(e,t,n){e[assignKey]=getModelAssigner(n)},updated(e,{value:t}){e._assigning||setSelected(e,t)}};function setSelected(e,t){const n=e.multiple,i=isArray(t);if(!(n&&!i&&!isSet(t))){for(let s=0,r=e.options.length;s<r;s++){const a=e.options[s],l=getValue(a);if(n)if(i){const u=typeof l;u==="string"||u==="number"?a.selected=t.some(d=>String(d)===String(l)):a.selected=looseIndexOf(t,l)>-1}else a.selected=t.has(l);else if(looseEqual(getValue(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function getValue(e){return"_value"in e?e._value:e.value}function getCheckboxValue(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const vModelDynamic={created(e,t,n){callModelHook(e,t,n,null,"created")},mounted(e,t,n){callModelHook(e,t,n,null,"mounted")},beforeUpdate(e,t,n,i){callModelHook(e,t,n,i,"beforeUpdate")},updated(e,t,n,i){callModelHook(e,t,n,i,"updated")}};function resolveDynamicModel(e,t){switch(e){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch(t){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook(e,t,n,i,s){const a=resolveDynamicModel(e.tagName,n.props&&n.props.type)[s];a&&a(e,t,n,i)}function initVModelForSSR(){vModelText.getSSRProps=({value:e})=>({value:e}),vModelRadio.getSSRProps=({value:e},t)=>{if(t.props&&looseEqual(t.props.value,e))return{checked:!0}},vModelCheckbox.getSSRProps=({value:e},t)=>{if(isArray(e)){if(t.props&&looseIndexOf(e,t.props.value)>-1)return{checked:!0}}else if(isSet(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},vModelDynamic.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=resolveDynamicModel(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>systemModifiers.some(n=>e[`${n}Key`]&&!t.includes(n))},withModifiers=(e,t)=>{const n=e._withMods||(e._withMods={}),i=t.join(".");return n[i]||(n[i]=((s,...r)=>{for(let a=0;a<t.length;a++){const l=modifierGuards[t[a]];if(l&&l(s,t))return}return e(s,...r)}))},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(e,t)=>{const n=e._withKeys||(e._withKeys={}),i=t.join(".");return n[i]||(n[i]=(s=>{if(!("key"in s))return;const r=hyphenate(s.key);if(t.some(a=>a===r||keyNames[a]===r))return e(s)}))},rendererOptions=extend({patchProp},nodeOps);let renderer,enabledHydration=!1;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}const render=((...e)=>{ensureRenderer().render(...e)}),hydrate=((...e)=>{ensureHydrationRenderer().hydrate(...e)}),createApp=((...e)=>{const t=ensureRenderer().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=normalizeContainer(i);if(!s)return;const r=t._component;!isFunction(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=n(s,!1,resolveRootNamespace(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t}),createSSRApp=((...e)=>{const t=ensureHydrationRenderer().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=normalizeContainer(i);if(s)return n(s,!0,resolveRootNamespace(s))},t});function resolveRootNamespace(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function normalizeContainer(e){return isString(e)?document.querySelector(e):e}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},runtimeDom=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment,DeprecationTypes,EffectScope,ErrorCodes,ErrorTypeStrings,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text:Text$1,TrackOpTypes,Transition,TransitionGroup,TriggerOpTypes,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize,cloneVNode,compatUtils,computed,createApp,createBlock,createCommentVNode,createElementBlock,createElementVNode:createBaseVNode,createHydrationRenderer,createPropsRestProxy,createRenderer,createSSRApp,createSlots,createStaticVNode,createTextVNode,createVNode,customRef,defineAsyncComponent,defineComponent,defineCustomElement,defineEmits,defineExpose,defineModel,defineOptions,defineProps,defineSSRCustomElement,defineSlots,devtools,effect,effectScope,getCurrentInstance,getCurrentScope,getCurrentWatcher,getTransitionRawChildren,guardReactiveProps,h,handleError,hasInjectionContext,hydrate,hydrateOnIdle,hydrateOnInteraction,hydrateOnMediaQuery,hydrateOnVisible,initCustomFormatter,initDirectivesForSSR,inject,isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick,nodeOps,normalizeClass,normalizeProps,normalizeStyle,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,onWatcherCleanup,openBlock,patchProp,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref,registerRuntimeCompiler,render,renderList,renderSlot,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop,toDisplayString,toHandlerKey,toHandlers,toRaw,toRef,toRefs,toValue,transformVNodeArgs,triggerRef,unref,useAttrs,useCssModule,useCssVars,useHost,useId,useModel,useSSRContext,useShadowRoot,useSlots,useTemplateRef,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version,warn,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"}));const FRAGMENT=Symbol(""),TELEPORT=Symbol(""),SUSPENSE=Symbol(""),KEEP_ALIVE=Symbol(""),BASE_TRANSITION=Symbol(""),OPEN_BLOCK=Symbol(""),CREATE_BLOCK=Symbol(""),CREATE_ELEMENT_BLOCK=Symbol(""),CREATE_VNODE=Symbol(""),CREATE_ELEMENT_VNODE=Symbol(""),CREATE_COMMENT=Symbol(""),CREATE_TEXT=Symbol(""),CREATE_STATIC=Symbol(""),RESOLVE_COMPONENT=Symbol(""),RESOLVE_DYNAMIC_COMPONENT=Symbol(""),RESOLVE_DIRECTIVE=Symbol(""),RESOLVE_FILTER=Symbol(""),WITH_DIRECTIVES=Symbol(""),RENDER_LIST=Symbol(""),RENDER_SLOT=Symbol(""),CREATE_SLOTS=Symbol(""),TO_DISPLAY_STRING=Symbol(""),MERGE_PROPS=Symbol(""),NORMALIZE_CLASS=Symbol(""),NORMALIZE_STYLE=Symbol(""),NORMALIZE_PROPS=Symbol(""),GUARD_REACTIVE_PROPS=Symbol(""),TO_HANDLERS=Symbol(""),CAMELIZE=Symbol(""),CAPITALIZE=Symbol(""),TO_HANDLER_KEY=Symbol(""),SET_BLOCK_TRACKING=Symbol(""),PUSH_SCOPE_ID=Symbol(""),POP_SCOPE_ID=Symbol(""),WITH_CTX=Symbol(""),UNREF=Symbol(""),IS_REF=Symbol(""),WITH_MEMO=Symbol(""),IS_MEMO_SAME=Symbol(""),helperNameMap={[FRAGMENT]:"Fragment",[TELEPORT]:"Teleport",[SUSPENSE]:"Suspense",[KEEP_ALIVE]:"KeepAlive",[BASE_TRANSITION]:"BaseTransition",[OPEN_BLOCK]:"openBlock",[CREATE_BLOCK]:"createBlock",[CREATE_ELEMENT_BLOCK]:"createElementBlock",[CREATE_VNODE]:"createVNode",[CREATE_ELEMENT_VNODE]:"createElementVNode",[CREATE_COMMENT]:"createCommentVNode",[CREATE_TEXT]:"createTextVNode",[CREATE_STATIC]:"createStaticVNode",[RESOLVE_COMPONENT]:"resolveComponent",[RESOLVE_DYNAMIC_COMPONENT]:"resolveDynamicComponent",[RESOLVE_DIRECTIVE]:"resolveDirective",[RESOLVE_FILTER]:"resolveFilter",[WITH_DIRECTIVES]:"withDirectives",[RENDER_LIST]:"renderList",[RENDER_SLOT]:"renderSlot",[CREATE_SLOTS]:"createSlots",[TO_DISPLAY_STRING]:"toDisplayString",[MERGE_PROPS]:"mergeProps",[NORMALIZE_CLASS]:"normalizeClass",[NORMALIZE_STYLE]:"normalizeStyle",[NORMALIZE_PROPS]:"normalizeProps",[GUARD_REACTIVE_PROPS]:"guardReactiveProps",[TO_HANDLERS]:"toHandlers",[CAMELIZE]:"camelize",[CAPITALIZE]:"capitalize",[TO_HANDLER_KEY]:"toHandlerKey",[SET_BLOCK_TRACKING]:"setBlockTracking",[PUSH_SCOPE_ID]:"pushScopeId",[POP_SCOPE_ID]:"popScopeId",[WITH_CTX]:"withCtx",[UNREF]:"unref",[IS_REF]:"isRef",[WITH_MEMO]:"withMemo",[IS_MEMO_SAME]:"isMemoSame"};function registerRuntimeHelpers(e){Object.getOwnPropertySymbols(e).forEach(t=>{helperNameMap[t]=e[t]})}const locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function createRoot(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(e,t,n,i,s,r,a,l=!1,u=!1,d=!1,f=locStub){return e&&(l?(e.helper(OPEN_BLOCK),e.helper(getVNodeBlockHelper(e.inSSR,d))):e.helper(getVNodeHelper(e.inSSR,d)),a&&e.helper(WITH_DIRECTIVES)),{type:13,tag:t,props:n,children:i,patchFlag:s,dynamicProps:r,directives:a,isBlock:l,disableTracking:u,isComponent:d,loc:f}}function createArrayExpression(e,t=locStub){return{type:17,loc:t,elements:e}}function createObjectExpression(e,t=locStub){return{type:15,loc:t,properties:e}}function createObjectProperty(e,t){return{type:16,loc:locStub,key:isString(e)?createSimpleExpression(e,!0):e,value:t}}function createSimpleExpression(e,t=!1,n=locStub,i=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:i}}function createCompoundExpression(e,t=locStub){return{type:8,loc:t,children:e}}function createCallExpression(e,t=[],n=locStub){return{type:14,loc:n,callee:e,arguments:t}}function createFunctionExpression(e,t=void 0,n=!1,i=!1,s=locStub){return{type:18,params:e,returns:t,newline:n,isSlot:i,loc:s}}function createConditionalExpression(e,t,n,i=!0){return{type:19,test:e,consequent:t,alternate:n,newline:i,loc:locStub}}function createCacheExpression(e,t,n=!1,i=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:i,needArraySpread:!1,loc:locStub}}function createBlockStatement(e){return{type:21,body:e,loc:locStub}}function getVNodeHelper(e,t){return e||t?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(e,t){return e||t?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(e,{helper:t,removeHelper:n,inSSR:i}){e.isBlock||(e.isBlock=!0,n(getVNodeHelper(i,e.isComponent)),t(OPEN_BLOCK),t(getVNodeBlockHelper(i,e.isComponent)))}const defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(e){return e>=97&&e<=122||e>=65&&e<=90}function isWhitespace(e){return e===32||e===10||e===9||e===12||e===13}function isEndOfTagSection(e){return e===47||e===62||isWhitespace(e)}function toCharCodes(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Sequences={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Tokenizer{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=defaultDelimitersOpen,this.delimiterClose=defaultDelimitersClose,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=defaultDelimitersOpen,this.delimiterClose=defaultDelimitersClose}getPos(t){let n=1,i=t+1;for(let s=this.newlines.length-1;s>=0;s--){const r=this.newlines[s];if(t>r){n=s+2,i=t-r;break}}return{column:i,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?isEndOfTagSection(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||isWhitespace(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const i=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=i}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Sequences.TitleEnd||this.currentSequence===Sequences.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Sequences.Cdata[this.sequenceIndex]?++this.sequenceIndex===Sequences.Cdata.length&&(this.state=28,this.currentSequence=Sequences.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):isTagStartChar(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){isEndOfTagSection(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(isEndOfTagSection(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(toCharCodes("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){isWhitespace(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=isTagStartChar(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||isWhitespace(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):isWhitespace(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):isWhitespace(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||isEndOfTagSection(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||isEndOfTagSection(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||isEndOfTagSection(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||isEndOfTagSection(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||isEndOfTagSection(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):isWhitespace(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):isWhitespace(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){isWhitespace(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Sequences.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Sequences.ScriptEnd[3]?this.startSpecial(Sequences.ScriptEnd,4):t===Sequences.StyleEnd[3]?this.startSpecial(Sequences.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Sequences.TitleEnd[3]?this.startSpecial(Sequences.TitleEnd,4):t===Sequences.TextareaEnd[3]?this.startSpecial(Sequences.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}function getCompatValue(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function isCompatEnabled(e,t){const n=getCompatValue("MODE",t),i=getCompatValue(e,t);return n===3?i===!0:i!==!1}function checkCompatEnabled(e,t,n,...i){return isCompatEnabled(e,t)}function defaultOnError(e){throw e}function defaultOnWarn(e){}function createCompilerError(e,t,n,i){const s=`https://vuejs.org/error-reference/#compiler-${e}`,r=new SyntaxError(String(s));return r.code=e,r.loc=t,r}const isStaticExp=e=>e.type===4&&e.isStatic;function isCoreComponent(e){switch(e){case"Teleport":case"teleport":return TELEPORT;case"Suspense":case"suspense":return SUSPENSE;case"KeepAlive":case"keep-alive":return KEEP_ALIVE;case"BaseTransition":case"base-transition":return BASE_TRANSITION}}const nonIdentifierRE=/^$|^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=e=>!nonIdentifierRE.test(e),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=e=>e.type===4?e.content:e.loc.source,isMemberExpressionBrowser=e=>{const t=getExpSource(e).trim().replace(whitespaceRE,l=>l.trim());let n=0,i=[],s=0,r=0,a=null;for(let l=0;l<t.length;l++){const u=t.charAt(l);switch(n){case 0:if(u==="[")i.push(n),n=1,s++;else if(u==="(")i.push(n),n=2,r++;else if(!(l===0?validFirstIdentCharRE:validIdentCharRE).test(u))return!1;break;case 1:u==="'"||u==='"'||u==="`"?(i.push(n),n=3,a=u):u==="["?s++:u==="]"&&(--s||(n=i.pop()));break;case 2:if(u==="'"||u==='"'||u==="`")i.push(n),n=3,a=u;else if(u==="(")r++;else if(u===")"){if(l===t.length-1)return!1;--r||(n=i.pop())}break;case 3:u===a&&(n=i.pop(),a=null);break}}return!s&&!r},isMemberExpression=isMemberExpressionBrowser,fnExpRE=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=e=>fnExpRE.test(getExpSource(e)),isFnExpression=isFnExpressionBrowser;function findDir(e,t,n=!1){for(let i=0;i<e.props.length;i++){const s=e.props[i];if(s.type===7&&(n||s.exp)&&(isString(t)?s.name===t:t.test(s.name)))return s}}function findProp(e,t,n=!1,i=!1){for(let s=0;s<e.props.length;s++){const r=e.props[s];if(r.type===6){if(n)continue;if(r.name===t&&(r.value||i))return r}else if(r.name==="bind"&&(r.exp||i)&&isStaticArgOf(r.arg,t))return r}}function isStaticArgOf(e,t){return!!(e&&isStaticExp(e)&&e.content===t)}function hasDynamicKeyVBind(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function isText$1(e){return e.type===5||e.type===2}function isVPre(e){return e.type===7&&e.name==="pre"}function isVSlot(e){return e.type===7&&e.name==="slot"}function isTemplateNode(e){return e.type===1&&e.tagType===3}function isSlotOutlet(e){return e.type===1&&e.tagType===2}const propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(e,t=[]){if(e&&!isString(e)&&e.type===14){const n=e.callee;if(!isString(n)&&propsHelperSet.has(n))return getUnnormalizedProps(e.arguments[0],t.concat(e))}return[e,t]}function injectProp(e,t,n){let i,s=e.type===13?e.props:e.arguments[2],r=[],a;if(s&&!isString(s)&&s.type===14){const l=getUnnormalizedProps(s);s=l[0],r=l[1],a=r[r.length-1]}if(s==null||isString(s))i=createObjectExpression([t]);else if(s.type===14){const l=s.arguments[0];!isString(l)&&l.type===15?hasProp(t,l)||l.properties.unshift(t):s.callee===TO_HANDLERS?i=createCallExpression(n.helper(MERGE_PROPS),[createObjectExpression([t]),s]):s.arguments.unshift(createObjectExpression([t])),!i&&(i=s)}else s.type===15?(hasProp(t,s)||s.properties.unshift(t),i=s):(i=createCallExpression(n.helper(MERGE_PROPS),[createObjectExpression([t]),s]),a&&a.callee===GUARD_REACTIVE_PROPS&&(a=r[r.length-2]));e.type===13?a?a.arguments[0]=i:e.props=i:a?a.arguments[0]=i:e.arguments[2]=i}function hasProp(e,t){let n=!1;if(e.key.type===4){const i=e.key.content;n=t.properties.some(s=>s.key.type===4&&s.key.content===i)}return n}function toValidAssetId(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,i)=>n==="-"?"_":e.charCodeAt(i).toString())}`}function getMemoedVNodeCall(e){return e.type===14&&e.callee===WITH_MEMO?e.arguments[1].returns:e}const forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function isAllWhitespace(e){for(let t=0;t<e.length;t++)if(!isWhitespace(e.charCodeAt(t)))return!1;return!0}function isWhitespaceText(e){return e.type===2&&isAllWhitespace(e.content)||e.type===12&&isWhitespaceText(e.content)}function isCommentOrWhitespace(e){return e.type===3||isWhitespaceText(e)}const defaultParserOptions={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1};let currentOptions=defaultParserOptions,currentRoot=null,currentInput="",currentOpenTag=null,currentProp=null,currentAttrValue="",currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null;const stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(e,t){onText(getSlice(e,t),e,t)},ontextentity(e,t,n){onText(e,t,n)},oninterpolation(e,t){if(inVPre)return onText(getSlice(e,t),e,t);let n=e+tokenizer.delimiterOpen.length,i=t-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(n));)n++;for(;isWhitespace(currentInput.charCodeAt(i-1));)i--;let s=getSlice(n,i);s.includes("&")&&(s=currentOptions.decodeEntities(s,!1)),addNode({type:5,content:createExp(s,!1,getLoc(n,i)),loc:getLoc(e,t)})},onopentagname(e,t){const n=getSlice(e,t);currentOpenTag={type:1,tag:n,ns:currentOptions.getNamespace(n,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(e-1,t),codegenNode:void 0}},onopentagend(e){endOpenTag(e)},onclosetag(e,t){const n=getSlice(e,t);if(!currentOptions.isVoidTag(n)){let i=!1;for(let s=0;s<stack.length;s++)if(stack[s].tag.toLowerCase()===n.toLowerCase()){i=!0,s>0&&emitError(24,stack[0].loc.start.offset);for(let a=0;a<=s;a++){const l=stack.shift();onCloseTag(l,t,a<s)}break}i||emitError(23,backTrack(e,60))}},onselfclosingtag(e){const t=currentOpenTag.tag;currentOpenTag.isSelfClosing=!0,endOpenTag(e),stack[0]&&stack[0].tag===t&&onCloseTag(stack.shift(),e)},onattribname(e,t){currentProp={type:6,name:getSlice(e,t),nameLoc:getLoc(e,t),value:void 0,loc:getLoc(e)}},ondirname(e,t){const n=getSlice(e,t),i=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!inVPre&&i===""&&emitError(26,e),inVPre||i==="")currentProp={type:6,name:n,nameLoc:getLoc(e,t),value:void 0,loc:getLoc(e)};else if(currentProp={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[createSimpleExpression("prop")]:[],loc:getLoc(e)},i==="pre"){inVPre=tokenizer.inVPre=!0,currentVPreBoundary=currentOpenTag;const s=currentOpenTag.props;for(let r=0;r<s.length;r++)s[r].type===7&&(s[r]=dirToAttr(s[r]))}},ondirarg(e,t){if(e===t)return;const n=getSlice(e,t);if(inVPre&&!isVPre(currentProp))currentProp.name+=n,setLocEnd(currentProp.nameLoc,t);else{const i=n[0]!=="[";currentProp.arg=createExp(i?n:n.slice(1,-1),i,getLoc(e,t),i?3:0)}},ondirmodifier(e,t){const n=getSlice(e,t);if(inVPre&&!isVPre(currentProp))currentProp.name+="."+n,setLocEnd(currentProp.nameLoc,t);else if(currentProp.name==="slot"){const i=currentProp.arg;i&&(i.content+="."+n,setLocEnd(i.loc,t))}else{const i=createSimpleExpression(n,!0,getLoc(e,t));currentProp.modifiers.push(i)}},onattribdata(e,t){currentAttrValue+=getSlice(e,t),currentAttrStartIndex<0&&(currentAttrStartIndex=e),currentAttrEndIndex=t},onattribentity(e,t,n){currentAttrValue+=e,currentAttrStartIndex<0&&(currentAttrStartIndex=t),currentAttrEndIndex=n},onattribnameend(e){const t=currentProp.loc.start.offset,n=getSlice(t,e);currentProp.type===7&&(currentProp.rawName=n),currentOpenTag.props.some(i=>(i.type===7?i.rawName:i.name)===n)&&emitError(2,t)},onattribend(e,t){if(currentOpenTag&&currentProp){if(setLocEnd(currentProp.loc,t),e!==0)if(currentAttrValue.includes("&")&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name==="class"&&(currentAttrValue=condense(currentAttrValue).trim()),e===1&&!currentAttrValue&&emitError(13,t),currentProp.value={type:2,content:currentAttrValue,loc:e===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&&currentOpenTag.tag==="template"&&currentProp.name==="lang"&&currentAttrValue&&currentAttrValue!=="html"&&tokenizer.enterRCDATA(toCharCodes("</template"),0);else{let n=0;currentProp.exp=createExp(currentAttrValue,!1,getLoc(currentAttrStartIndex,currentAttrEndIndex),0,n),currentProp.name==="for"&&(currentProp.forParseResult=parseForExpression(currentProp.exp));let i=-1;currentProp.name==="bind"&&(i=currentProp.modifiers.findIndex(s=>s.content==="sync"))>-1&&checkCompatEnabled("COMPILER_V_BIND_SYNC",currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name="model",currentProp.modifiers.splice(i,1))}(currentProp.type!==7||currentProp.name!=="pre")&&currentOpenTag.props.push(currentProp)}currentAttrValue="",currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(e,t){currentOptions.comments&&addNode({type:3,content:getSlice(e,t),loc:getLoc(e-4,t+3)})},onend(){const e=currentInput.length;for(let t=0;t<stack.length;t++)onCloseTag(stack[t],e-1),emitError(24,stack[t].loc.start.offset)},oncdata(e,t){stack[0].ns!==0?onText(getSlice(e,t),e,t):emitError(1,e-9)},onprocessinginstruction(e){(stack[0]?stack[0].ns:currentOptions.ns)===0&&emitError(21,e-1)}}),forIteratorRE=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,stripParensRE=/^\(|\)$/g;function parseForExpression(e){const t=e.loc,n=e.content,i=n.match(forAliasRE);if(!i)return;const[,s,r]=i,a=(g,v,E=!1)=>{const S=t.start.offset+v,A=S+g.length;return createExp(g,!1,getLoc(S,A),0,E?1:0)},l={source:a(r.trim(),n.indexOf(r,s.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let u=s.trim().replace(stripParensRE,"").trim();const d=s.indexOf(u),f=u.match(forIteratorRE);if(f){u=u.replace(forIteratorRE,"").trim();const g=f[1].trim();let v;if(g&&(v=n.indexOf(g,d+u.length),l.key=a(g,v,!0)),f[2]){const E=f[2].trim();E&&(l.index=a(E,n.indexOf(E,l.key?v+g.length:d+u.length),!0))}}return u&&(l.value=a(u,d,!0)),l}function getSlice(e,t){return currentInput.slice(e,t)}function endOpenTag(e){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(e+1,e+1)),addNode(currentOpenTag);const{tag:t,ns:n}=currentOpenTag;n===0&&currentOptions.isPreTag(t)&&inPre++,currentOptions.isVoidTag(t)?onCloseTag(currentOpenTag,e):(stack.unshift(currentOpenTag),(n===1||n===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(e,t,n){{const r=stack[0]&&stack[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=currentOptions.decodeEntities(e,!1))}const i=stack[0]||currentRoot,s=i.children[i.children.length-1];s&&s.type===2?(s.content+=e,setLocEnd(s.loc,n)):i.children.push({type:2,content:e,loc:getLoc(t,n)})}function onCloseTag(e,t,n=!1){n?setLocEnd(e.loc,backTrack(t,60)):setLocEnd(e.loc,lookAhead(t,62)+1),tokenizer.inSFCRoot&&(e.children.length?e.innerLoc.end=extend({},e.children[e.children.length-1].loc.end):e.innerLoc.end=extend({},e.innerLoc.start),e.innerLoc.source=getSlice(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:i,ns:s,children:r}=e;if(inVPre||(i==="slot"?e.tagType=2:isFragmentTemplate(e)?e.tagType=3:isComponent(e)&&(e.tagType=1)),tokenizer.inRCDATA||(e.children=condenseWhitespace(r)),s===0&&currentOptions.isIgnoreNewlineTag(i)){const a=r[0];a&&a.type===2&&(a.content=a.content.replace(/^\r?\n/,""))}s===0&&currentOptions.isPreTag(i)&&inPre--,currentVPreBoundary===e&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{const a=e.props;if(!tokenizer.inSFCRoot&&isCompatEnabled("COMPILER_NATIVE_TEMPLATE",currentOptions)&&e.tag==="template"&&!isFragmentTemplate(e)){const u=stack[0]||currentRoot,d=u.children.indexOf(e);u.children.splice(d,1,...e.children)}const l=a.find(u=>u.type===6&&u.name==="inline-template");l&&checkCompatEnabled("COMPILER_INLINE_TEMPLATE",currentOptions,l.loc)&&e.children.length&&(l.value={type:2,content:getSlice(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function lookAhead(e,t){let n=e;for(;currentInput.charCodeAt(n)!==t&&n<currentInput.length-1;)n++;return n}function backTrack(e,t){let n=e;for(;currentInput.charCodeAt(n)!==t&&n>=0;)n--;return n}const specialTemplateDir=new Set(["if","else","else-if","for","slot"]);function isFragmentTemplate({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&specialTemplateDir.has(t[n].name))return!0}return!1}function isComponent({tag:e,props:t}){if(currentOptions.isCustomElement(e))return!1;if(e==="component"||isUpperCase(e.charCodeAt(0))||isCoreComponent(e)||currentOptions.isBuiltInComponent&&currentOptions.isBuiltInComponent(e)||currentOptions.isNativeTag&&!currentOptions.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const i=t[n];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(checkCompatEnabled("COMPILER_IS_ON_ELEMENT",currentOptions,i.loc))return!0}}else if(i.name==="bind"&&isStaticArgOf(i.arg,"is")&&checkCompatEnabled("COMPILER_IS_ON_ELEMENT",currentOptions,i.loc))return!0}return!1}function isUpperCase(e){return e>64&&e<91}const windowsNewlineRE=/\r\n/g;function condenseWhitespace(e){const t=currentOptions.whitespace!=="preserve";let n=!1;for(let i=0;i<e.length;i++){const s=e[i];if(s.type===2)if(inPre)s.content=s.content.replace(windowsNewlineRE,`
123`);else if(isAllWhitespace(s.content)){const r=e[i-1]&&e[i-1].type,a=e[i+1]&&e[i+1].type;!r||!a||t&&(r===3&&(a===3||a===1)||r===1&&(a===3||a===1&&hasNewlineChar(s.content)))?(n=!0,e[i]=null):s.content=" "}else t&&(s.content=condense(s.content))}return n?e.filter(Boolean):e}function hasNewlineChar(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function condense(e){let t="",n=!1;for(let i=0;i<e.length;i++)isWhitespace(e.charCodeAt(i))?n||(t+=" ",n=!0):(t+=e[i],n=!1);return t}function addNode(e){(stack[0]||currentRoot).children.push(e)}function getLoc(e,t){return{start:tokenizer.getPos(e),end:t==null?t:tokenizer.getPos(t),source:t==null?t:getSlice(e,t)}}function cloneLoc(e){return getLoc(e.start.offset,e.end.offset)}function setLocEnd(e,t){e.end=tokenizer.getPos(t),e.source=getSlice(e.start.offset,t)}function dirToAttr(e){const t={type:6,name:e.rawName,nameLoc:getLoc(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function createExp(e,t=!1,n,i=0,s=0){return createSimpleExpression(e,t,n,i)}function emitError(e,t,n){currentOptions.onError(createCompilerError(e,getLoc(t,t)))}function reset(){tokenizer.reset(),currentOpenTag=null,currentProp=null,currentAttrValue="",currentAttrStartIndex=-1,currentAttrEndIndex=-1,stack.length=0}function baseParse(e,t){if(reset(),currentInput=e,currentOptions=extend({},defaultParserOptions),t){let s;for(s in t)t[s]!=null&&(currentOptions[s]=t[s])}tokenizer.mode=currentOptions.parseMode==="html"?1:currentOptions.parseMode==="sfc"?2:0,tokenizer.inXML=currentOptions.ns===1||currentOptions.ns===2;const n=t&&t.delimiters;n&&(tokenizer.delimiterOpen=toCharCodes(n[0]),tokenizer.delimiterClose=toCharCodes(n[1]));const i=currentRoot=createRoot([],e);return tokenizer.parse(currentInput),i.loc=getLoc(0,e.length),i.children=condenseWhitespace(i.children),currentRoot=null,i}function cacheStatic(e,t){walk(e,void 0,t,!!getSingleElementRoot(e))}function getSingleElementRoot(e){const t=e.children.filter(n=>n.type!==3);return t.length===1&&t[0].type===1&&!isSlotOutlet(t[0])?t[0]:null}function walk(e,t,n,i=!1,s=!1){const{children:r}=e,a=[];for(let f=0;f<r.length;f++){const g=r[f];if(g.type===1&&g.tagType===0){const v=i?0:getConstantType(g,n);if(v>0){if(v>=2){g.codegenNode.patchFlag=-1,a.push(g);continue}}else{const E=g.codegenNode;if(E.type===13){const S=E.patchFlag;if((S===void 0||S===512||S===1)&&getGeneratedPropsConstantType(g,n)>=2){const A=getNodeProps(g);A&&(E.props=n.hoist(A))}E.dynamicProps&&(E.dynamicProps=n.hoist(E.dynamicProps))}}}else if(g.type===12&&(i?0:getConstantType(g,n))>=2){g.codegenNode.type===14&&g.codegenNode.arguments.length>0&&g.codegenNode.arguments.push("-1"),a.push(g);continue}if(g.type===1){const v=g.tagType===1;v&&n.scopes.vSlot++,walk(g,e,n,!1,s),v&&n.scopes.vSlot--}else if(g.type===11)walk(g,e,n,g.children.length===1,!0);else if(g.type===9)for(let v=0;v<g.branches.length;v++)walk(g.branches[v],e,n,g.branches[v].children.length===1,s)}let l=!1;if(a.length===r.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&isArray(e.codegenNode.children))e.codegenNode.children=u(createArrayExpression(e.codegenNode.children)),l=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!isArray(e.codegenNode.children)&&e.codegenNode.children.type===15){const f=d(e.codegenNode,"default");f&&(f.returns=u(createArrayExpression(f.returns)),l=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!isArray(t.codegenNode.children)&&t.codegenNode.children.type===15){const f=findDir(e,"slot",!0),g=f&&f.arg&&d(t.codegenNode,f.arg);g&&(g.returns=u(createArrayExpression(g.returns)),l=!0)}}if(!l)for(const f of a)f.codegenNode=n.cache(f.codegenNode);function u(f){const g=n.cache(f);return g.needArraySpread=!0,g}function d(f,g){if(f.children&&!isArray(f.children)&&f.children.type===15){const v=f.children.properties.find(E=>E.key===g||E.key.content===g);return v&&v.value}}a.length&&n.transformHoist&&n.transformHoist(r,n,e)}function getConstantType(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const i=n.get(e);if(i!==void 0)return i;const s=e.codegenNode;if(s.type!==13||s.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(s.patchFlag===void 0){let a=3;const l=getGeneratedPropsConstantType(e,t);if(l===0)return n.set(e,0),0;l<a&&(a=l);for(let u=0;u<e.children.length;u++){const d=getConstantType(e.children[u],t);if(d===0)return n.set(e,0),0;d<a&&(a=d)}if(a>1)for(let u=0;u<e.props.length;u++){const d=e.props[u];if(d.type===7&&d.name==="bind"&&d.exp){const f=getConstantType(d.exp,t);if(f===0)return n.set(e,0),0;f<a&&(a=f)}}if(s.isBlock){for(let u=0;u<e.props.length;u++)if(e.props[u].type===7)return n.set(e,0),0;t.removeHelper(OPEN_BLOCK),t.removeHelper(getVNodeBlockHelper(t.inSSR,s.isComponent)),s.isBlock=!1,t.helper(getVNodeHelper(t.inSSR,s.isComponent))}return n.set(e,a),a}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return getConstantType(e.content,t);case 4:return e.constType;case 8:let r=3;for(let a=0;a<e.children.length;a++){const l=e.children[a];if(isString(l)||isSymbol(l))continue;const u=getConstantType(l,t);if(u===0)return 0;u<r&&(r=u)}return r;case 20:return 2;default:return 0}}const allowHoistedHelperSet=new Set([NORMALIZE_CLASS,NORMALIZE_STYLE,NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getConstantTypeOfHelperCall(e,t){if(e.type===14&&!isString(e.callee)&&allowHoistedHelperSet.has(e.callee)){const n=e.arguments[0];if(n.type===4)return getConstantType(n,t);if(n.type===14)return getConstantTypeOfHelperCall(n,t)}return 0}function getGeneratedPropsConstantType(e,t){let n=3;const i=getNodeProps(e);if(i&&i.type===15){const{properties:s}=i;for(let r=0;r<s.length;r++){const{key:a,value:l}=s[r],u=getConstantType(a,t);if(u===0)return u;u<n&&(n=u);let d;if(l.type===4?d=getConstantType(l,t):l.type===14?d=getConstantTypeOfHelperCall(l,t):d=0,d===0)return d;d<n&&(n=d)}}return n}function getNodeProps(e){const t=e.codegenNode;if(t.type===13)return t.props}function createTransformContext(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:i=!1,hmr:s=!1,cacheHandlers:r=!1,nodeTransforms:a=[],directiveTransforms:l={},transformHoist:u=null,isBuiltInComponent:d=NOOP,isCustomElement:f=NOOP,expressionPlugins:g=[],scopeId:v=null,slotted:E=!0,ssr:S=!1,inSSR:A=!1,ssrCssVars:j="",bindingMetadata:O=EMPTY_OBJ,inline:R=!1,isTS:x=!1,onError:k=defaultOnError,onWarn:V=defaultOnWarn,compatConfig:Z}){const b=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),W={filename:t,selfName:b&&capitalize(camelize(b[1])),prefixIdentifiers:n,hoistStatic:i,hmr:s,cacheHandlers:r,nodeTransforms:a,directiveTransforms:l,transformHoist:u,isBuiltInComponent:d,isCustomElement:f,expressionPlugins:g,scopeId:v,slotted:E,ssr:S,inSSR:A,ssrCssVars:j,bindingMetadata:O,inline:R,isTS:x,onError:k,onWarn:V,compatConfig:Z,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(F){const G=W.helpers.get(F)||0;return W.helpers.set(F,G+1),F},removeHelper(F){const G=W.helpers.get(F);if(G){const ue=G-1;ue?W.helpers.set(F,ue):W.helpers.delete(F)}},helperString(F){return`_${helperNameMap[W.helper(F)]}`},replaceNode(F){W.parent.children[W.childIndex]=W.currentNode=F},removeNode(F){const G=W.parent.children,ue=F?G.indexOf(F):W.currentNode?W.childIndex:-1;!F||F===W.currentNode?(W.currentNode=null,W.onNodeRemoved()):W.childIndex>ue&&(W.childIndex--,W.onNodeRemoved()),W.parent.children.splice(ue,1)},onNodeRemoved:NOOP,addIdentifiers(F){},removeIdentifiers(F){},hoist(F){isString(F)&&(F=createSimpleExpression(F)),W.hoists.push(F);const G=createSimpleExpression(`_hoisted_${W.hoists.length}`,!1,F.loc,2);return G.hoisted=F,G},cache(F,G=!1,ue=!1){const J=createCacheExpression(W.cached.length,F,G,ue);return W.cached.push(J),J}};return W.filters=new Set,W}function transform(e,t){const n=createTransformContext(e,t);traverseNode(e,n),t.hoistStatic&&cacheStatic(e,n),t.ssr||createRootCodegen(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function createRootCodegen(e,t){const{helper:n}=t,{children:i}=e;if(i.length===1){const s=getSingleElementRoot(e);if(s&&s.codegenNode){const r=s.codegenNode;r.type===13&&convertToBlock(r,t),e.codegenNode=r}else e.codegenNode=i[0]}else if(i.length>1){let s=64;e.codegenNode=createVNodeCall(t,n(FRAGMENT),void 0,e.children,s,void 0,void 0,!0,void 0,!1)}}function traverseChildren(e,t){let n=0;const i=()=>{n--};for(;n<e.children.length;n++){const s=e.children[n];isString(s)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=i,traverseNode(s,t))}}function traverseNode(e,t){t.currentNode=e;const{nodeTransforms:n}=t,i=[];for(let r=0;r<n.length;r++){const a=n[r](e,t);if(a&&(isArray(a)?i.push(...a):i.push(a)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(CREATE_COMMENT);break;case 5:t.ssr||t.helper(TO_DISPLAY_STRING);break;case 9:for(let r=0;r<e.branches.length;r++)traverseNode(e.branches[r],t);break;case 10:case 11:case 1:case 0:traverseChildren(e,t);break}t.currentNode=e;let s=i.length;for(;s--;)i[s]()}function createStructuralDirectiveTransform(e,t){const n=isString(e)?i=>i===e:i=>e.test(i);return(i,s)=>{if(i.type===1){const{props:r}=i;if(i.tagType===3&&r.some(isVSlot))return;const a=[];for(let l=0;l<r.length;l++){const u=r[l];if(u.type===7&&n(u.name)){r.splice(l,1),l--;const d=t(i,u,s);d&&a.push(d)}}return a}}}const PURE_ANNOTATION="/*@__PURE__*/",aliasHelper=e=>`${helperNameMap[e]}: _${helperNameMap[e]}`;function createCodegenContext(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:i=!1,filename:s="template.vue.html",scopeId:r=null,optimizeImports:a=!1,runtimeGlobalName:l="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:d="vue/server-renderer",ssr:f=!1,isTS:g=!1,inSSR:v=!1}){const E={mode:t,prefixIdentifiers:n,sourceMap:i,filename:s,scopeId:r,optimizeImports:a,runtimeGlobalName:l,runtimeModuleName:u,ssrRuntimeModuleName:d,ssr:f,isTS:g,inSSR:v,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(A){return`_${helperNameMap[A]}`},push(A,j=-2,O){E.code+=A},indent(){S(++E.indentLevel)},deindent(A=!1){A?--E.indentLevel:S(--E.indentLevel)},newline(){S(E.indentLevel)}};function S(A){E.push(`
124`+"  ".repeat(A),0)}return E}function generate(e,t={}){const n=createCodegenContext(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:i,push:s,prefixIdentifiers:r,indent:a,deindent:l,newline:u,scopeId:d,ssr:f}=n,g=Array.from(e.helpers),v=g.length>0,E=!r&&i!=="module";genFunctionPreamble(e,n);const A=f?"ssrRender":"render",O=(f?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(s(`function ${A}(${O}) {`),a(),E&&(s("with (_ctx) {"),a(),v&&(s(`const { ${g.map(aliasHelper).join(", ")} } = _Vue
125`,-1),u())),e.components.length&&(genAssets(e.components,"component",n),(e.directives.length||e.temps>0)&&u()),e.directives.length&&(genAssets(e.directives,"directive",n),e.temps>0&&u()),e.filters&&e.filters.length&&(u(),genAssets(e.filters,"filter",n),u()),e.temps>0){s("let ");for(let R=0;R<e.temps;R++)s(`${R>0?", ":""}_temp${R}`)}return(e.components.length||e.directives.length||e.temps)&&(s(`
126`,0),u()),f||s("return "),e.codegenNode?genNode(e.codegenNode,n):s("null"),E&&(l(),s("}")),l(),s("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function genFunctionPreamble(e,t){const{ssr:n,prefixIdentifiers:i,push:s,newline:r,runtimeModuleName:a,runtimeGlobalName:l,ssrRuntimeModuleName:u}=t,d=l,f=Array.from(e.helpers);if(f.length>0&&(s(`const _Vue = ${d}
127`,-1),e.hoists.length)){const g=[CREATE_VNODE,CREATE_ELEMENT_VNODE,CREATE_COMMENT,CREATE_TEXT,CREATE_STATIC].filter(v=>f.includes(v)).map(aliasHelper).join(", ");s(`const { ${g} } = _Vue
128`,-1)}genHoists(e.hoists,t),r(),s("return ")}function genAssets(e,t,{helper:n,push:i,newline:s,isTS:r}){const a=n(t==="filter"?RESOLVE_FILTER:t==="component"?RESOLVE_COMPONENT:RESOLVE_DIRECTIVE);for(let l=0;l<e.length;l++){let u=e[l];const d=u.endsWith("__self");d&&(u=u.slice(0,-6)),i(`const ${toValidAssetId(u,t)} = ${a}(${JSON.stringify(u)}${d?", true":""})${r?"!":""}`),l<e.length-1&&s()}}function genHoists(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:i}=t;i();for(let s=0;s<e.length;s++){const r=e[s];r&&(n(`const _hoisted_${s+1} = `),genNode(r,t),i())}t.pure=!1}function genNodeListAsArray(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),genNodeList(e,t,n),n&&t.deindent(),t.push("]")}function genNodeList(e,t,n=!1,i=!0){const{push:s,newline:r}=t;for(let a=0;a<e.length;a++){const l=e[a];isString(l)?s(l,-3):isArray(l)?genNodeListAsArray(l,t):genNode(l,t),a<e.length-1&&(n?(i&&s(","),r()):i&&s(", "))}}function genNode(e,t){if(isString(e)){t.push(e,-3);return}if(isSymbol(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:genNode(e.codegenNode,t);break;case 2:genText(e,t);break;case 4:genExpression(e,t);break;case 5:genInterpolation(e,t);break;case 12:genNode(e.codegenNode,t);break;case 8:genCompoundExpression(e,t);break;case 3:genComment(e,t);break;case 13:genVNodeCall(e,t);break;case 14:genCallExpression(e,t);break;case 15:genObjectExpression(e,t);break;case 17:genArrayExpression(e,t);break;case 18:genFunctionExpression(e,t);break;case 19:genConditionalExpression(e,t);break;case 20:genCacheExpression(e,t);break;case 21:genNodeList(e.body,t,!0,!1);break}}function genText(e,t){t.push(JSON.stringify(e.content),-3,e)}function genExpression(e,t){const{content:n,isStatic:i}=e;t.push(i?JSON.stringify(n):n,-3,e)}function genInterpolation(e,t){const{push:n,helper:i,pure:s}=t;s&&n(PURE_ANNOTATION),n(`${i(TO_DISPLAY_STRING)}(`),genNode(e.content,t),n(")")}function genCompoundExpression(e,t){for(let n=0;n<e.children.length;n++){const i=e.children[n];isString(i)?t.push(i,-3):genNode(i,t)}}function genExpressionAsPropertyKey(e,t){const{push:n}=t;if(e.type===8)n("["),genCompoundExpression(e,t),n("]");else if(e.isStatic){const i=isSimpleIdentifier(e.content)?e.content:JSON.stringify(e.content);n(i,-2,e)}else n(`[${e.content}]`,-3,e)}function genComment(e,t){const{push:n,helper:i,pure:s}=t;s&&n(PURE_ANNOTATION),n(`${i(CREATE_COMMENT)}(${JSON.stringify(e.content)})`,-3,e)}function genVNodeCall(e,t){const{push:n,helper:i,pure:s}=t,{tag:r,props:a,children:l,patchFlag:u,dynamicProps:d,directives:f,isBlock:g,disableTracking:v,isComponent:E}=e;let S;u&&(S=String(u)),f&&n(i(WITH_DIRECTIVES)+"("),g&&n(`(${i(OPEN_BLOCK)}(${v?"true":""}), `),s&&n(PURE_ANNOTATION);const A=g?getVNodeBlockHelper(t.inSSR,E):getVNodeHelper(t.inSSR,E);n(i(A)+"(",-2,e),genNodeList(genNullableArgs([r,a,l,S,d]),t),n(")"),g&&n(")"),f&&(n(", "),genNode(f,t),n(")"))}function genNullableArgs(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function genCallExpression(e,t){const{push:n,helper:i,pure:s}=t,r=isString(e.callee)?e.callee:i(e.callee);s&&n(PURE_ANNOTATION),n(r+"(",-2,e),genNodeList(e.arguments,t),n(")")}function genObjectExpression(e,t){const{push:n,indent:i,deindent:s,newline:r}=t,{properties:a}=e;if(!a.length){n("{}",-2,e);return}const l=a.length>1||!1;n(l?"{":"{ "),l&&i();for(let u=0;u<a.length;u++){const{key:d,value:f}=a[u];genExpressionAsPropertyKey(d,t),n(": "),genNode(f,t),u<a.length-1&&(n(","),r())}l&&s(),n(l?"}":" }")}function genArrayExpression(e,t){genNodeListAsArray(e.elements,t)}function genFunctionExpression(e,t){const{push:n,indent:i,deindent:s}=t,{params:r,returns:a,body:l,newline:u,isSlot:d}=e;d&&n(`_${helperNameMap[WITH_CTX]}(`),n("(",-2,e),isArray(r)?genNodeList(r,t):r&&genNode(r,t),n(") => "),(u||l)&&(n("{"),i()),a?(u&&n("return "),isArray(a)?genNodeListAsArray(a,t):genNode(a,t)):l&&genNode(l,t),(u||l)&&(s(),n("}")),d&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function genConditionalExpression(e,t){const{test:n,consequent:i,alternate:s,newline:r}=e,{push:a,indent:l,deindent:u,newline:d}=t;if(n.type===4){const g=!isSimpleIdentifier(n.content);g&&a("("),genExpression(n,t),g&&a(")")}else a("("),genNode(n,t),a(")");r&&l(),t.indentLevel++,r||a(" "),a("? "),genNode(i,t),t.indentLevel--,r&&d(),r||a(" "),a(": ");const f=s.type===19;f||t.indentLevel++,genNode(s,t),f||t.indentLevel--,r&&u(!0)}function genCacheExpression(e,t){const{push:n,helper:i,indent:s,deindent:r,newline:a}=t,{needPauseTracking:l,needArraySpread:u}=e;u&&n("[...("),n(`_cache[${e.index}] || (`),l&&(s(),n(`${i(SET_BLOCK_TRACKING)}(-1`),e.inVOnce&&n(", true"),n("),"),a(),n("(")),n(`_cache[${e.index}] = `),genNode(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),a(),n(`${i(SET_BLOCK_TRACKING)}(1),`),a(),n(`_cache[${e.index}]`),r()),n(")"),u&&n(")]")}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");const transformIf=createStructuralDirectiveTransform(/^(?:if|else|else-if)$/,(e,t,n)=>processIf(e,t,n,(i,s,r)=>{const a=n.parent.children;let l=a.indexOf(i),u=0;for(;l-->=0;){const d=a[l];d&&d.type===9&&(u+=d.branches.length)}return()=>{if(r)i.codegenNode=createCodegenNodeForBranch(s,u,n);else{const d=getParentCondition(i.codegenNode);d.alternate=createCodegenNodeForBranch(s,u+i.branches.length-1,n)}}}));function processIf(e,t,n,i){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;n.onError(createCompilerError(28,t.loc)),t.exp=createSimpleExpression("true",!1,s)}if(t.name==="if"){const s=createIfBranch(e,t),r={type:9,loc:cloneLoc(e.loc),branches:[s]};if(n.replaceNode(r),i)return i(r,s,!0)}else{const s=n.parent.children;let r=s.indexOf(e);for(;r-->=-1;){const a=s[r];if(a&&isCommentOrWhitespace(a)){n.removeNode(a);continue}if(a&&a.type===9){(t.name==="else-if"||t.name==="else")&&a.branches[a.branches.length-1].condition===void 0&&n.onError(createCompilerError(30,e.loc)),n.removeNode();const l=createIfBranch(e,t);a.branches.push(l);const u=i&&i(a,l,!1);traverseNode(l,n),u&&u(),n.currentNode=null}else n.onError(createCompilerError(30,e.loc));break}}}function createIfBranch(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!findDir(e,"for")?e.children:[e],userKey:findProp(e,"key"),isTemplateIf:n}}function createCodegenNodeForBranch(e,t,n){return e.condition?createConditionalExpression(e.condition,createChildrenCodegenNode(e,t,n),createCallExpression(n.helper(CREATE_COMMENT),['""',"true"])):createChildrenCodegenNode(e,t,n)}function createChildrenCodegenNode(e,t,n){const{helper:i}=n,s=createObjectProperty("key",createSimpleExpression(`${t}`,!1,locStub,2)),{children:r}=e,a=r[0];if(r.length!==1||a.type!==1)if(r.length===1&&a.type===11){const u=a.codegenNode;return injectProp(u,s,n),u}else return createVNodeCall(n,i(FRAGMENT),createObjectExpression([s]),r,64,void 0,void 0,!0,!1,!1,e.loc);else{const u=a.codegenNode,d=getMemoedVNodeCall(u);return d.type===13&&convertToBlock(d,n),injectProp(d,s,n),u}}function getParentCondition(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const transformFor=createStructuralDirectiveTransform("for",(e,t,n)=>{const{helper:i,removeHelper:s}=n;return processFor(e,t,n,r=>{const a=createCallExpression(i(RENDER_LIST),[r.source]),l=isTemplateNode(e),u=findDir(e,"memo"),d=findProp(e,"key",!1,!0);d&&d.type;let f=d&&(d.type===6?d.value?createSimpleExpression(d.value.content,!0):void 0:d.exp);const g=d&&f?createObjectProperty("key",f):null,v=r.source.type===4&&r.source.constType>0,E=v?64:d?128:256;return r.codegenNode=createVNodeCall(n,i(FRAGMENT),void 0,a,E,void 0,void 0,!0,!v,!1,e.loc),()=>{let S;const{children:A}=r,j=A.length!==1||A[0].type!==1,O=isSlotOutlet(e)?e:l&&e.children.length===1&&isSlotOutlet(e.children[0])?e.children[0]:null;if(O?(S=O.codegenNode,l&&g&&injectProp(S,g,n)):j?S=createVNodeCall(n,i(FRAGMENT),g?createObjectExpression([g]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(S=A[0].codegenNode,l&&g&&injectProp(S,g,n),S.isBlock!==!v&&(S.isBlock?(s(OPEN_BLOCK),s(getVNodeBlockHelper(n.inSSR,S.isComponent))):s(getVNodeHelper(n.inSSR,S.isComponent))),S.isBlock=!v,S.isBlock?(i(OPEN_BLOCK),i(getVNodeBlockHelper(n.inSSR,S.isComponent))):i(getVNodeHelper(n.inSSR,S.isComponent))),u){const R=createFunctionExpression(createForLoopParams(r.parseResult,[createSimpleExpression("_cached")]));R.body=createBlockStatement([createCompoundExpression(["const _memo = (",u.exp,")"]),createCompoundExpression(["if (_cached",...f?[" && _cached.key === ",f]:[],` && ${n.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`]),createCompoundExpression(["const _item = ",S]),createSimpleExpression("_item.memo = _memo"),createSimpleExpression("return _item")]),a.arguments.push(R,createSimpleExpression("_cache"),createSimpleExpression(String(n.cached.length))),n.cached.push(null)}else a.arguments.push(createFunctionExpression(createForLoopParams(r.parseResult),S,!0))}})});function processFor(e,t,n,i){if(!t.exp){n.onError(createCompilerError(31,t.loc));return}const s=t.forParseResult;if(!s){n.onError(createCompilerError(32,t.loc));return}finalizeForParseResult(s);const{addIdentifiers:r,removeIdentifiers:a,scopes:l}=n,{source:u,value:d,key:f,index:g}=s,v={type:11,loc:t.loc,source:u,valueAlias:d,keyAlias:f,objectIndexAlias:g,parseResult:s,children:isTemplateNode(e)?e.children:[e]};n.replaceNode(v),l.vFor++;const E=i&&i(v);return()=>{l.vFor--,E&&E()}}function finalizeForParseResult(e,t){e.finalized||(e.finalized=!0)}function createForLoopParams({value:e,key:t,index:n},i=[]){return createParamsList([e,t,n,...i])}function createParamsList(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,i)=>n||createSimpleExpression("_".repeat(i+1),!1))}const defaultFallback=createSimpleExpression("undefined",!1),trackSlotScopes=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=findDir(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},buildClientSlotFn=(e,t,n,i)=>createFunctionExpression(e,n,!1,!0,n.length?n[0].loc:i);function buildSlots(e,t,n=buildClientSlotFn){t.helper(WITH_CTX);const{children:i,loc:s}=e,r=[],a=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const u=findDir(e,"slot",!0);if(u){const{arg:j,exp:O}=u;j&&!isStaticExp(j)&&(l=!0),r.push(createObjectProperty(j||createSimpleExpression("default",!0),n(O,void 0,i,s)))}let d=!1,f=!1;const g=[],v=new Set;let E=0;for(let j=0;j<i.length;j++){const O=i[j];let R;if(!isTemplateNode(O)||!(R=findDir(O,"slot",!0))){O.type!==3&&g.push(O);continue}if(u){t.onError(createCompilerError(37,R.loc));break}d=!0;const{children:x,loc:k}=O,{arg:V=createSimpleExpression("default",!0),exp:Z,loc:b}=R;let W;isStaticExp(V)?W=V?V.content:"default":l=!0;const F=findDir(O,"for"),G=n(Z,F,x,k);let ue,J;if(ue=findDir(O,"if"))l=!0,a.push(createConditionalExpression(ue.exp,buildDynamicSlot(V,G,E++),defaultFallback));else if(J=findDir(O,/^else(?:-if)?$/,!0)){let M=j,re;for(;M--&&(re=i[M],!!isCommentOrWhitespace(re)););if(re&&isTemplateNode(re)&&findDir(re,/^(?:else-)?if$/)){let pe=a[a.length-1];for(;pe.alternate.type===19;)pe=pe.alternate;pe.alternate=J.exp?createConditionalExpression(J.exp,buildDynamicSlot(V,G,E++),defaultFallback):buildDynamicSlot(V,G,E++)}else t.onError(createCompilerError(30,J.loc))}else if(F){l=!0;const M=F.forParseResult;M?(finalizeForParseResult(M),a.push(createCallExpression(t.helper(RENDER_LIST),[M.source,createFunctionExpression(createForLoopParams(M),buildDynamicSlot(V,G),!0)]))):t.onError(createCompilerError(32,F.loc))}else{if(W){if(v.has(W)){t.onError(createCompilerError(38,b));continue}v.add(W),W==="default"&&(f=!0)}r.push(createObjectProperty(V,G))}}if(!u){const j=(O,R)=>{const x=n(O,void 0,R,s);return t.compatConfig&&(x.isNonScopedSlot=!0),createObjectProperty("default",x)};d?g.length&&!g.every(isWhitespaceText)&&(f?t.onError(createCompilerError(39,g[0].loc)):r.push(j(void 0,g))):r.push(j(void 0,i))}const S=l?2:hasForwardedSlots(e.children)?3:1;let A=createObjectExpression(r.concat(createObjectProperty("_",createSimpleExpression(S+"",!1))),s);return a.length&&(A=createCallExpression(t.helper(CREATE_SLOTS),[A,createArrayExpression(a)])),{slots:A,hasDynamicSlots:l}}function buildDynamicSlot(e,t,n){const i=[createObjectProperty("name",e),createObjectProperty("fn",t)];return n!=null&&i.push(createObjectProperty("key",createSimpleExpression(String(n),!0))),createObjectExpression(i)}function hasForwardedSlots(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||hasForwardedSlots(n.children))return!0;break;case 9:if(hasForwardedSlots(n.branches))return!0;break;case 10:case 11:if(hasForwardedSlots(n.children))return!0;break}}return!1}const directiveImportMap=new WeakMap,transformElement=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:i,props:s}=e,r=e.tagType===1;let a=r?resolveComponentType(e,t):`"${i}"`;const l=isObject(a)&&a.callee===RESOLVE_DYNAMIC_COMPONENT;let u,d,f=0,g,v,E,S=l||a===TELEPORT||a===SUSPENSE||!r&&(i==="svg"||i==="foreignObject"||i==="math");if(s.length>0){const A=buildProps(e,t,void 0,r,l);u=A.props,f=A.patchFlag,v=A.dynamicPropNames;const j=A.directives;E=j&&j.length?createArrayExpression(j.map(O=>buildDirectiveArgs(O,t))):void 0,A.shouldUseBlock&&(S=!0)}if(e.children.length>0)if(a===KEEP_ALIVE&&(S=!0,f|=1024),r&&a!==TELEPORT&&a!==KEEP_ALIVE){const{slots:j,hasDynamicSlots:O}=buildSlots(e,t);d=j,O&&(f|=1024)}else if(e.children.length===1&&a!==TELEPORT){const j=e.children[0],O=j.type,R=O===5||O===8;R&&getConstantType(j,t)===0&&(f|=1),R||O===2?d=j:d=e.children}else d=e.children;v&&v.length&&(g=stringifyDynamicPropNames(v)),e.codegenNode=createVNodeCall(t,a,u,d,f===0?void 0:f,g,E,!!S,!1,r,e.loc)};function resolveComponentType(e,t,n=!1){let{tag:i}=e;const s=isComponentTag(i),r=findProp(e,"is",!1,!0);if(r)if(s||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&createSimpleExpression(r.value.content,!0):(l=r.exp,l||(l=createSimpleExpression("is",!1,r.arg.loc))),l)return createCallExpression(t.helper(RESOLVE_DYNAMIC_COMPONENT),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(i=r.value.content.slice(4));const a=isCoreComponent(i)||t.isBuiltInComponent(i);return a?(n||t.helper(a),a):(t.helper(RESOLVE_COMPONENT),t.components.add(i),toValidAssetId(i,"component"))}function buildProps(e,t,n=e.props,i,s,r=!1){const{tag:a,loc:l,children:u}=e;let d=[];const f=[],g=[],v=u.length>0;let E=!1,S=0,A=!1,j=!1,O=!1,R=!1,x=!1,k=!1;const V=[],Z=G=>{d.length&&(f.push(createObjectExpression(dedupeProperties(d),l)),d=[]),G&&f.push(G)},b=()=>{t.scopes.vFor>0&&d.push(createObjectProperty(createSimpleExpression("ref_for",!0),createSimpleExpression("true")))},W=({key:G,value:ue})=>{if(isStaticExp(G)){const J=G.content,M=isOn(J);if(M&&(!i||s)&&J.toLowerCase()!=="onclick"&&J!=="onUpdate:modelValue"&&!isReservedProp(J)&&(R=!0),M&&isReservedProp(J)&&(k=!0),M&&ue.type===14&&(ue=ue.arguments[0]),ue.type===20||(ue.type===4||ue.type===8)&&getConstantType(ue,t)>0)return;J==="ref"?A=!0:J==="class"?j=!0:J==="style"?O=!0:J!=="key"&&!V.includes(J)&&V.push(J),i&&(J==="class"||J==="style")&&!V.includes(J)&&V.push(J)}else x=!0};for(let G=0;G<n.length;G++){const ue=n[G];if(ue.type===6){const{loc:J,name:M,nameLoc:re,value:pe}=ue;let D=!0;if(M==="ref"&&(A=!0,b()),M==="is"&&(isComponentTag(a)||pe&&pe.content.startsWith("vue:")||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t)))continue;d.push(createObjectProperty(createSimpleExpression(M,!0,re),createSimpleExpression(pe?pe.content:"",D,pe?pe.loc:J)))}else{const{name:J,arg:M,exp:re,loc:pe,modifiers:D}=ue,U=J==="bind",Y=J==="on";if(J==="slot"){i||t.onError(createCompilerError(40,pe));continue}if(J==="once"||J==="memo"||J==="is"||U&&isStaticArgOf(M,"is")&&(isComponentTag(a)||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t))||Y&&r)continue;if((U&&isStaticArgOf(M,"key")||Y&&v&&isStaticArgOf(M,"vue:before-update"))&&(E=!0),U&&isStaticArgOf(M,"ref")&&b(),!M&&(U||Y)){if(x=!0,re)if(U){if(Z(),isCompatEnabled("COMPILER_V_BIND_OBJECT_ORDER",t)){f.unshift(re);continue}b(),Z(),f.push(re)}else Z({type:14,loc:pe,callee:t.helper(TO_HANDLERS),arguments:i?[re]:[re,"true"]});else t.onError(createCompilerError(U?34:35,pe));continue}U&&D.some(be=>be.content==="prop")&&(S|=32);const le=t.directiveTransforms[J];if(le){const{props:be,needRuntime:xe}=le(ue,e,t);!r&&be.forEach(W),Y&&M&&!isStaticExp(M)?Z(createObjectExpression(be,l)):d.push(...be),xe&&(g.push(ue),isSymbol(xe)&&directiveImportMap.set(ue,xe))}else isBuiltInDirective(J)||(g.push(ue),v&&(E=!0))}}let F;if(f.length?(Z(),f.length>1?F=createCallExpression(t.helper(MERGE_PROPS),f,l):F=f[0]):d.length&&(F=createObjectExpression(dedupeProperties(d),l)),x?S|=16:(j&&!i&&(S|=2),O&&!i&&(S|=4),V.length&&(S|=8),R&&(S|=32)),!E&&(S===0||S===32)&&(A||k||g.length>0)&&(S|=512),!t.inSSR&&F)switch(F.type){case 15:let G=-1,ue=-1,J=!1;for(let pe=0;pe<F.properties.length;pe++){const D=F.properties[pe].key;isStaticExp(D)?D.content==="class"?G=pe:D.content==="style"&&(ue=pe):D.isHandlerKey||(J=!0)}const M=F.properties[G],re=F.properties[ue];J?F=createCallExpression(t.helper(NORMALIZE_PROPS),[F]):(M&&!isStaticExp(M.value)&&(M.value=createCallExpression(t.helper(NORMALIZE_CLASS),[M.value])),re&&(O||re.value.type===4&&re.value.content.trim()[0]==="["||re.value.type===17)&&(re.value=createCallExpression(t.helper(NORMALIZE_STYLE),[re.value])));break;case 14:break;default:F=createCallExpression(t.helper(NORMALIZE_PROPS),[createCallExpression(t.helper(GUARD_REACTIVE_PROPS),[F])]);break}return{props:F,directives:g,patchFlag:S,dynamicPropNames:V,shouldUseBlock:E}}function dedupeProperties(e){const t=new Map,n=[];for(let i=0;i<e.length;i++){const s=e[i];if(s.key.type===8||!s.key.isStatic){n.push(s);continue}const r=s.key.content,a=t.get(r);a?(r==="style"||r==="class"||isOn(r))&&mergeAsArray(a,s):(t.set(r,s),n.push(s))}return n}function mergeAsArray(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=createArrayExpression([e.value,t.value],e.loc)}function buildDirectiveArgs(e,t){const n=[],i=directiveImportMap.get(e);i?n.push(t.helperString(i)):(t.helper(RESOLVE_DIRECTIVE),t.directives.add(e.name),n.push(toValidAssetId(e.name,"directive")));const{loc:s}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const r=createSimpleExpression("true",!1,s);n.push(createObjectExpression(e.modifiers.map(a=>createObjectProperty(a,r)),s))}return createArrayExpression(n,e.loc)}function stringifyDynamicPropNames(e){let t="[";for(let n=0,i=e.length;n<i;n++)t+=JSON.stringify(e[n]),n<i-1&&(t+=", ");return t+"]"}function isComponentTag(e){return e==="component"||e==="Component"}const transformSlotOutlet=(e,t)=>{if(isSlotOutlet(e)){const{children:n,loc:i}=e,{slotName:s,slotProps:r}=processSlotOutlet(e,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let l=2;r&&(a[2]=r,l=3),n.length&&(a[3]=createFunctionExpression([],n,!1,!1,i),l=4),t.scopeId&&!t.slotted&&(l=5),a.splice(l),e.codegenNode=createCallExpression(t.helper(RENDER_SLOT),a,i)}};function processSlotOutlet(e,t){let n='"default"',i;const s=[];for(let r=0;r<e.props.length;r++){const a=e.props[r];if(a.type===6)a.value&&(a.name==="name"?n=JSON.stringify(a.value.content):(a.name=camelize(a.name),s.push(a)));else if(a.name==="bind"&&isStaticArgOf(a.arg,"name")){if(a.exp)n=a.exp;else if(a.arg&&a.arg.type===4){const l=camelize(a.arg.content);n=a.exp=createSimpleExpression(l,!1,a.arg.loc)}}else a.name==="bind"&&a.arg&&isStaticExp(a.arg)&&(a.arg.content=camelize(a.arg.content)),s.push(a)}if(s.length>0){const{props:r,directives:a}=buildProps(e,t,s,!1,!1);i=r,a.length&&t.onError(createCompilerError(36,a[0].loc))}return{slotName:n,slotProps:i}}const transformOn$1=(e,t,n,i)=>{const{loc:s,modifiers:r,arg:a}=e;!e.exp&&!r.length&&n.onError(createCompilerError(35,s));let l;if(a.type===4)if(a.isStatic){let g=a.content;g.startsWith("vue:")&&(g=`vnode-${g.slice(4)}`);const v=t.tagType!==0||g.startsWith("vnode")||!/[A-Z]/.test(g)?toHandlerKey(camelize(g)):`on:${g}`;l=createSimpleExpression(v,!0,a.loc)}else l=createCompoundExpression([`${n.helperString(TO_HANDLER_KEY)}(`,a,")"]);else l=a,l.children.unshift(`${n.helperString(TO_HANDLER_KEY)}(`),l.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let d=n.cacheHandlers&&!u&&!n.inVOnce;if(u){const g=isMemberExpression(u),v=!(g||isFnExpression(u)),E=u.content.includes(";");(v||d&&g)&&(u=createCompoundExpression([`${v?"$event":"(...args)"} => ${E?"{":"("}`,u,E?"}":")"]))}let f={props:[createObjectProperty(l,u||createSimpleExpression("() => {}",!1,s))]};return i&&(f=i(f)),d&&(f.props[0].value=n.cache(f.props[0].value)),f.props.forEach(g=>g.key.isHandlerKey=!0),f},transformBind=(e,t,n)=>{const{modifiers:i,loc:s}=e,r=e.arg;let{exp:a}=e;return a&&a.type===4&&!a.content.trim()&&(a=void 0),r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),i.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=camelize(r.content):r.content=`${n.helperString(CAMELIZE)}(${r.content})`:(r.children.unshift(`${n.helperString(CAMELIZE)}(`),r.children.push(")"))),n.inSSR||(i.some(l=>l.content==="prop")&&injectPrefix(r,"."),i.some(l=>l.content==="attr")&&injectPrefix(r,"^")),{props:[createObjectProperty(r,a)]}},injectPrefix=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},transformText=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let i,s=!1;for(let r=0;r<n.length;r++){const a=n[r];if(isText$1(a)){s=!0;for(let l=r+1;l<n.length;l++){const u=n[l];if(isText$1(u))i||(i=n[r]=createCompoundExpression([a],a.loc)),i.children.push(" + ",u),n.splice(l,1),l--;else{i=void 0;break}}}}if(!(!s||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<n.length;r++){const a=n[r];if(isText$1(a)||a.type===8){const l=[];(a.type!==2||a.content!==" ")&&l.push(a),!t.ssr&&getConstantType(a,t)===0&&l.push("1"),n[r]={type:12,content:a,loc:a.loc,codegenNode:createCallExpression(t.helper(CREATE_TEXT),l)}}}}},seen$1=new WeakSet,transformOnce=(e,t)=>{if(e.type===1&&findDir(e,"once",!0))return seen$1.has(e)||t.inVOnce||t.inSSR?void 0:(seen$1.add(e),t.inVOnce=!0,t.helper(SET_BLOCK_TRACKING),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},transformModel$1=(e,t,n)=>{const{exp:i,arg:s}=e;if(!i)return n.onError(createCompilerError(41,e.loc)),createTransformProps();const r=i.loc.source.trim(),a=i.type===4?i.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(createCompilerError(44,i.loc)),createTransformProps();if(!a.trim()||!isMemberExpression(i))return n.onError(createCompilerError(42,i.loc)),createTransformProps();const u=s||createSimpleExpression("modelValue",!0),d=s?isStaticExp(s)?`onUpdate:${camelize(s.content)}`:createCompoundExpression(['"onUpdate:" + ',s]):"onUpdate:modelValue";let f;const g=n.isTS?"($event: any)":"$event";f=createCompoundExpression([`${g} => ((`,i,") = $event)"]);const v=[createObjectProperty(u,e.exp),createObjectProperty(d,f)];if(e.modifiers.length&&t.tagType===1){const E=e.modifiers.map(A=>A.content).map(A=>(isSimpleIdentifier(A)?A:JSON.stringify(A))+": true").join(", "),S=s?isStaticExp(s)?`${s.content}Modifiers`:createCompoundExpression([s,' + "Modifiers"']):"modelModifiers";v.push(createObjectProperty(S,createSimpleExpression(`{ ${E} }`,!1,e.loc,2)))}return createTransformProps(v)};function createTransformProps(e=[]){return{props:e}}const validDivisionCharRE=/[\w).+\-_$\]]/,transformFilter=(e,t)=>{isCompatEnabled("COMPILER_FILTERS",t)&&(e.type===5?rewriteFilter(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&rewriteFilter(n.exp,t)}))};function rewriteFilter(e,t){if(e.type===4)parseFilter(e,t);else for(let n=0;n<e.children.length;n++){const i=e.children[n];typeof i=="object"&&(i.type===4?parseFilter(i,t):i.type===8?rewriteFilter(e,t):i.type===5&&rewriteFilter(i.content,t))}}function parseFilter(e,t){const n=e.content;let i=!1,s=!1,r=!1,a=!1,l=0,u=0,d=0,f=0,g,v,E,S,A=[];for(E=0;E<n.length;E++)if(v=g,g=n.charCodeAt(E),i)g===39&&v!==92&&(i=!1);else if(s)g===34&&v!==92&&(s=!1);else if(r)g===96&&v!==92&&(r=!1);else if(a)g===47&&v!==92&&(a=!1);else if(g===124&&n.charCodeAt(E+1)!==124&&n.charCodeAt(E-1)!==124&&!l&&!u&&!d)S===void 0?(f=E+1,S=n.slice(0,E).trim()):j();else{switch(g){case 34:s=!0;break;case 39:i=!0;break;case 96:r=!0;break;case 40:d++;break;case 41:d--;break;case 91:u++;break;case 93:u--;break;case 123:l++;break;case 125:l--;break}if(g===47){let O=E-1,R;for(;O>=0&&(R=n.charAt(O),R===" ");O--);(!R||!validDivisionCharRE.test(R))&&(a=!0)}}S===void 0?S=n.slice(0,E).trim():f!==0&&j();function j(){A.push(n.slice(f,E).trim()),f=E+1}if(A.length){for(E=0;E<A.length;E++)S=wrapFilter(S,A[E],t);e.content=S,e.ast=void 0}}function wrapFilter(e,t,n){n.helper(RESOLVE_FILTER);const i=t.indexOf("(");if(i<0)return n.filters.add(t),`${toValidAssetId(t,"filter")}(${e})`;{const s=t.slice(0,i),r=t.slice(i+1);return n.filters.add(s),`${toValidAssetId(s,"filter")}(${e}${r!==")"?","+r:r}`}}const seen=new WeakSet,transformMemo=(e,t)=>{if(e.type===1){const n=findDir(e,"memo");return!n||seen.has(e)||t.inSSR?void 0:(seen.add(e),()=>{const i=e.codegenNode||t.currentNode.codegenNode;i&&i.type===13&&(e.tagType!==1&&convertToBlock(i,t),e.codegenNode=createCallExpression(t.helper(WITH_MEMO),[n.exp,createFunctionExpression(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))})}},transformVBindShorthand=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const i=n.arg;if(i.type!==4||!i.isStatic)t.onError(createCompilerError(52,i.loc)),n.exp=createSimpleExpression("",!0,i.loc);else{const s=camelize(i.content);(validFirstIdentCharRE.test(s[0])||s[0]==="-")&&(n.exp=createSimpleExpression(s,!1,i.loc))}}}};function getBaseTransformPreset(e){return[[transformVBindShorthand,transformOnce,transformIf,transformMemo,transformFor,transformFilter,transformSlotOutlet,transformElement,trackSlotScopes,transformText],{on:transformOn$1,bind:transformBind,model:transformModel$1}]}function baseCompile(e,t={}){const n=t.onError||defaultOnError,i=t.mode==="module";t.prefixIdentifiers===!0?n(createCompilerError(47)):i&&n(createCompilerError(48));const s=!1;t.cacheHandlers&&n(createCompilerError(49)),t.scopeId&&!i&&n(createCompilerError(50));const r=extend({},t,{prefixIdentifiers:s}),a=isString(e)?baseParse(e,r):e,[l,u]=getBaseTransformPreset();return transform(a,extend({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:extend({},u,t.directiveTransforms||{})})),generate(a,r)}const noopDirectiveTransform=()=>({props:[]});const V_MODEL_RADIO=Symbol(""),V_MODEL_CHECKBOX=Symbol(""),V_MODEL_TEXT=Symbol(""),V_MODEL_SELECT=Symbol(""),V_MODEL_DYNAMIC=Symbol(""),V_ON_WITH_MODIFIERS=Symbol(""),V_ON_WITH_KEYS=Symbol(""),V_SHOW=Symbol(""),TRANSITION=Symbol(""),TRANSITION_GROUP=Symbol("");registerRuntimeHelpers({[V_MODEL_RADIO]:"vModelRadio",[V_MODEL_CHECKBOX]:"vModelCheckbox",[V_MODEL_TEXT]:"vModelText",[V_MODEL_SELECT]:"vModelSelect",[V_MODEL_DYNAMIC]:"vModelDynamic",[V_ON_WITH_MODIFIERS]:"withModifiers",[V_ON_WITH_KEYS]:"withKeys",[V_SHOW]:"vShow",[TRANSITION]:"Transition",[TRANSITION_GROUP]:"TransitionGroup"});let decoder;function decodeHtmlBrowser(e,t=!1){return decoder||(decoder=document.createElement("div")),t?(decoder.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,decoder.children[0].getAttribute("foo")):(decoder.innerHTML=e,decoder.textContent)}const parserOptions={parseMode:"html",isVoidTag,isNativeTag:e=>isHTMLTag(e)||isSVGTag(e)||isMathMLTag(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:decodeHtmlBrowser,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return TRANSITION;if(e==="TransitionGroup"||e==="transition-group")return TRANSITION_GROUP},getNamespace(e,t,n){let i=t?t.ns:n;if(t&&i===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(i=0);else t&&i===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(i=0);if(i===0){if(e==="svg")return 1;if(e==="math")return 2}return i}},transformStyle=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:createSimpleExpression("style",!0,t.loc),exp:parseInlineCSS(t.value.content,t.loc),modifiers:[],loc:t.loc})})},parseInlineCSS=(e,t)=>{const n=parseStringStyle(e);return createSimpleExpression(JSON.stringify(n),!1,t,3)};function createDOMCompilerError(e,t){return createCompilerError(e,t)}const transformVHtml=(e,t,n)=>{const{exp:i,loc:s}=e;return i||n.onError(createDOMCompilerError(53,s)),t.children.length&&(n.onError(createDOMCompilerError(54,s)),t.children.length=0),{props:[createObjectProperty(createSimpleExpression("innerHTML",!0,s),i||createSimpleExpression("",!0))]}}
128,transformVText=(e,t,n)=>{const{exp:i,loc:s}=e;return i||n.onError(createDOMCompilerError(55,s)),t.children.length&&(n.onError(createDOMCompilerError(56,s)),t.children.length=0),{props:[createObjectProperty(createSimpleExpression("textContent",!0),i?getConstantType(i,n)>0?i:createCallExpression(n.helperString(TO_DISPLAY_STRING),[i],s):createSimpleExpression("",!0))]}},transformModel=(e,t,n)=>{const i=transformModel$1(e,t,n);if(!i.props.length||t.tagType===1)return i;e.arg&&n.onError(createDOMCompilerError(58,e.arg.loc));const{tag:s}=t,r=n.isCustomElement(s);if(s==="input"||s==="textarea"||s==="select"||r){let a=V_MODEL_TEXT,l=!1;if(s==="input"||r){const u=findProp(t,"type");if(u){if(u.type===7)a=V_MODEL_DYNAMIC;else if(u.value)switch(u.value.content){case"radio":a=V_MODEL_RADIO;break;case"checkbox":a=V_MODEL_CHECKBOX;break;case"file":l=!0,n.onError(createDOMCompilerError(59,e.loc));break}}else hasDynamicKeyVBind(t)&&(a=V_MODEL_DYNAMIC)}else s==="select"&&(a=V_MODEL_SELECT);l||(i.needRuntime=n.helper(a))}else n.onError(createDOMCompilerError(57,e.loc));return i.props=i.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),i},isEventOptionModifier=makeMap("passive,once,capture"),isNonKeyModifier=makeMap("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),maybeKeyModifier=makeMap("left,right"),isKeyboardEvent=makeMap("onkeyup,onkeydown,onkeypress"),resolveModifiers=(e,t,n,i)=>{const s=[],r=[],a=[];for(let l=0;l<t.length;l++){const u=t[l].content;u==="native"&&checkCompatEnabled("COMPILER_V_ON_NATIVE",n)||isEventOptionModifier(u)?a.push(u):maybeKeyModifier(u)?isStaticExp(e)?isKeyboardEvent(e.content.toLowerCase())?s.push(u):r.push(u):(s.push(u),r.push(u)):isNonKeyModifier(u)?r.push(u):s.push(u)}return{keyModifiers:s,nonKeyModifiers:r,eventOptionModifiers:a}},transformClick=(e,t)=>isStaticExp(e)&&e.content.toLowerCase()==="onclick"?createSimpleExpression(t,!0):e.type!==4?createCompoundExpression(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,transformOn=(e,t,n)=>transformOn$1(e,t,n,i=>{const{modifiers:s}=e;if(!s.length)return i;let{key:r,value:a}=i.props[0];const{keyModifiers:l,nonKeyModifiers:u,eventOptionModifiers:d}=resolveModifiers(r,s,n,e.loc);if(u.includes("right")&&(r=transformClick(r,"onContextmenu")),u.includes("middle")&&(r=transformClick(r,"onMouseup")),u.length&&(a=createCallExpression(n.helper(V_ON_WITH_MODIFIERS),[a,JSON.stringify(u)])),l.length&&(!isStaticExp(r)||isKeyboardEvent(r.content.toLowerCase()))&&(a=createCallExpression(n.helper(V_ON_WITH_KEYS),[a,JSON.stringify(l)])),d.length){const f=d.map(capitalize).join("");r=isStaticExp(r)?createSimpleExpression(`${r.content}${f}`,!0):createCompoundExpression(["(",r,`) + "${f}"`])}return{props:[createObjectProperty(r,a)]}}),transformShow=(e,t,n)=>{const{exp:i,loc:s}=e;return i||n.onError(createDOMCompilerError(61,s)),{props:[],needRuntime:n.helper(V_SHOW)}},ignoreSideEffectTags=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},DOMNodeTransforms=[transformStyle],DOMDirectiveTransforms={cloak:noopDirectiveTransform,html:transformVHtml,text:transformVText,model:transformModel,on:transformOn,show:transformShow};function compile(e,t={}){return baseCompile(e,extend({},parserOptions,t,{nodeTransforms:[ignoreSideEffectTags,...DOMNodeTransforms,...t.nodeTransforms||[]],directiveTransforms:extend({},DOMDirectiveTransforms,t.directiveTransforms||{}),transformHoist:null}))}const compileCache=Object.create(null);function compileToFunction(e,t){if(!isString(e))if(e.nodeType)e=e.innerHTML;else return NOOP;const n=genCacheKey(e,t),i=compileCache[n];if(i)return i;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const s=extend({hoistStatic:!0,onError:void 0,onWarn:NOOP},t);!s.isCustomElement&&typeof customElements<"u"&&(s.isCustomElement=l=>!!customElements.get(l));const{code:r}=compile(e,s),a=new Function("Vue",r)(runtimeDom);return a._rc=!0,compileCache[n]=a}registerRuntimeCompiler(compileToFunction);const vue_esmBundler=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment,DeprecationTypes,EffectScope,ErrorCodes,ErrorTypeStrings,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text:Text$1,TrackOpTypes,Transition,TransitionGroup,TriggerOpTypes,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize,cloneVNode,compatUtils,compile:compileToFunction,computed,createApp,createBlock,createCommentVNode,createElementBlock,createElementVNode:createBaseVNode,createHydrationRenderer,createPropsRestProxy,createRenderer,createSSRApp,createSlots,createStaticVNode,createTextVNode,createVNode,customRef,defineAsyncComponent,defineComponent,defineCustomElement,defineEmits,defineExpose,defineModel,defineOptions,defineProps,defineSSRCustomElement,defineSlots,devtools,effect,effectScope,getCurrentInstance,getCurrentScope,getCurrentWatcher,getTransitionRawChildren,guardReactiveProps,h,handleError,hasInjectionContext,hydrate,hydrateOnIdle,hydrateOnInteraction,hydrateOnMediaQuery,hydrateOnVisible,initCustomFormatter,initDirectivesForSSR,inject,
vendor: 7,980 bytes, line 128
128isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick,nodeOps,normalizeClass,normalizeProps,normalizeStyle,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,onWatcherCleanup,openBlock,patchProp,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref,registerRuntimeCompiler,render,renderList,renderSlot,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop,toDisplayString,toHandlerKey,toHandlers,toRaw,toRef,toRefs,toValue,transformVNodeArgs,triggerRef,unref,useAttrs,useCssModule,useCssVars,useHost,useId,useModel,useSSRContext,useShadowRoot,useSlots,useTemplateRef,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version,warn,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"}));let activePinia;const setActivePinia=e=>activePinia=e,piniaSymbol=Symbol();function isPlainObject(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var MutationType;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const e=effectScope(!0),t=e.run(()=>ref({}));let n=[],i=[];const s=markRaw({install(r){setActivePinia(s),s._a=r,r.provide(piniaSymbol,s),r.config.globalProperties.$pinia=s,i.forEach(a=>n.push(a)),i=[]},use(r){return this._a?n.push(r):i.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const noop=()=>{};function addSubscription(e,t,n,i=noop){e.add(t);const s=()=>{e.delete(t)&&i()};return!n&&getCurrentScope()&&onScopeDispose(s),s}function triggerSubscriptions(e,...t){e.forEach(n=>{n(...t)})}const fallbackRunWithContext=e=>e(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,i)=>e.set(i,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const i=t[n],s=e[n];isPlainObject(s)&&isPlainObject(i)&&e.hasOwnProperty(n)&&!isRef(i)&&!isReactive(i)?e[n]=mergeReactiveObjects(s,i):e[n]=i}return e}const skipHydrateSymbol=Symbol();function shouldHydrate(e){return!isPlainObject(e)||!Object.prototype.hasOwnProperty.call(e,skipHydrateSymbol)}const{assign}=Object;function isComputed(e){return!!(isRef(e)&&e.effect)}function createOptionsStore(e,t,n,i){const{state:s,actions:r,getters:a}=t,l=n.state.value[e];let u;function d(){l||(n.state.value[e]=s?s():{});const f=toRefs(n.state.value[e]);return assign(f,r,Object.keys(a||{}).reduce((g,v)=>(g[v]=markRaw(computed(()=>{setActivePinia(n);const E=n._s.get(e);return a[v].call(E,E)})),g),{}))}return u=createSetupStore(e,d,t,n,i,!0),u}function createSetupStore(e,t,n={},i,s,r){let a;const l=assign({actions:{}},n),u={deep:!0};let d,f,g=new Set,v=new Set,E;const S=i.state.value[e];!r&&!S&&(i.state.value[e]={}),ref({});let A;function j(W){let F;d=f=!1,typeof W=="function"?(W(i.state.value[e]),F={type:MutationType.patchFunction,storeId:e,events:E}):(mergeReactiveObjects(i.state.value[e],W),F={type:MutationType.patchObject,payload:W,storeId:e,events:E});const G=A=Symbol();nextTick().then(()=>{A===G&&(d=!0)}),f=!0,triggerSubscriptions(g,F,i.state.value[e])}const O=r?function(){const{state:F}=n,G=F?F():{};this.$patch(ue=>{assign(ue,G)})}:noop;function R(){a.stop(),g.clear(),v.clear(),i._s.delete(e)}const x=(W,F="")=>{if(ACTION_MARKER in W)return W[ACTION_NAME]=F,W;const G=function(){setActivePinia(i);const ue=Array.from(arguments),J=new Set,M=new Set;function re(U){J.add(U)}function pe(U){M.add(U)}triggerSubscriptions(v,{args:ue,name:G[ACTION_NAME],store:V,after:re,onError:pe});let D;try{D=W.apply(this&&this.$id===e?this:V,ue)}catch(U){throw triggerSubscriptions(M,U),U}return D instanceof Promise?D.then(U=>(triggerSubscriptions(J,U),U)).catch(U=>(triggerSubscriptions(M,U),Promise.reject(U))):(triggerSubscriptions(J,D),D)};return G[ACTION_MARKER]=!0,G[ACTION_NAME]=F,G},k={_p:i,$id:e,$onAction:addSubscription.bind(null,v),$patch:j,$reset:O,$subscribe(W,F={}){const G=addSubscription(g,W,F.detached,()=>ue()),ue=a.run(()=>watch(()=>i.state.value[e],J=>{(F.flush==="sync"?f:d)&&W({storeId:e,type:MutationType.direct,events:E},J)},assign({},u,F)));return G},$dispose:R},V=reactive(k);i._s.set(e,V);const b=(i._a&&i._a.runWithContext||fallbackRunWithContext)(()=>i._e.run(()=>(a=effectScope()).run(()=>t({action:x}))));for(const W in b){const F=b[W];if(isRef(F)&&!isComputed(F)||isReactive(F))r||(S&&shouldHydrate(F)&&(isRef(F)?F.value=S[W]:mergeReactiveObjects(F,S[W])),i.state.value[e][W]=F);else if(typeof F=="function"){const G=x(F,W);b[W]=G,l.actions[W]=F}}return assign(V,b),assign(toRaw(V),b),Object.defineProperty(V,"$state",{get:()=>i.state.value[e],set:W=>{j(F=>{assign(F,W)})}}),i._p.forEach(W=>{assign(V,a.run(()=>W({store:V,app:i._a,pinia:i,options:l})))}),S&&r&&n.hydrate&&n.hydrate(V.$state,S),d=!0,f=!0,V}function defineStore(e,t,n){let i;const s=typeof t=="function";i=s?n:t;function r(a,l){const u=hasInjectionContext();return a=a||(u?inject(piniaSymbol,null):null),a&&setActivePinia(a),a=activePinia,a._s.has(e)||(s?createSetupStore(e,t,i,a):createOptionsStore(e,i,a)),a._s.get(e)}return r.$id=e,r}function storeToRefs(e){const t=toRaw(e),n={};for(const i in t){const s=t[i];s.effect?n[i]=computed({get:()=>e[i],set(r){e[i]=r}}):(isRef(s)||isReactive(s))&&(n[i]=toRef(e,i))}return n}let app;const pinia=createPinia(),registerComponents=e=>{e.component("select2",defineAsyncComponent(()=>__vitePreload(()=>import("./Select2-CRSdIpnl.js"),__vite__mapDeps([0,1])))),e.component("names-history-editor",defineAsyncComponent(()=>__vitePreload(()=>import("./NamesHistoryEditor-BnsoBBmP.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14])))),e.component("picture-uploader",defineAsyncComponent(()=>__vitePreload(()=>import("./PictureUploader-CXlY4l3l.js"),__vite__mapDeps([15,4,5,6,7,8,9,10])))),e.component("record-form",defineAsyncComponent(()=>__vitePreload(()=>import("./RecordForm-B8mM3lyb.js"),__vite__mapDeps([16,7,8,6,17,18,19,20,13,21,22,23,24,9,25,5,26,27,28,29,30,31])))),e.component("user-groups-select",defineAsyncComponent(()=>__vitePreload(()=>import("./UserGroupsSelect-BBT86vEw.js"),__vite__mapDeps([32,13,33])))),e.component("datepicker",defineAsyncComponent(()=>__vitePreload(()=>import("./Datepicker-Bamw07eb.js"),__vite__mapDeps([34,3])))),e.component("records-search",defineAsyncComponent(()=>__vitePreload(()=>import("./RecordsSearch-ChCXkHgI.js"),__vite__mapDeps([35,36,19,20,23,22,24,7,8,37,1,13,26,38])))),e.component("crossposts-editor",defineAsyncComponent(()=>__vitePreload(()=>import("./CrosspostsEditor-BCIacPYq.js"),__vite__mapDeps([39,4,5,6,7,8,9,10,40])))),e.component("questionnaire-editor",defineAsyncComponent(()=>__vitePreload(()=>import("./QuestionnaireEditor-CrurULce.js"),__vite__mapDeps([41,13,42])))),e.component("records-list-picker",defineAsyncComponent(()=>__vitePreload(()=>import("./RecordsListPicker-FERjYGsJ.js"),__vite__mapDeps([43,44,12,36,5,45,46,24,26,7,8,47])))),e.component("video-cutter",defineAsyncComponent(()=>__vitePreload(()=>import("./VideoCutter-DGM_5yS0.js"),__vite__mapDeps([48,12,45,46,5,49,25,22,24,13,37,23,1,19,18,7,8,29,30,9,50])))),e.component("history-event-editor",defineAsyncComponent(()=>__vitePreload(()=>import("./HistoryEventEditor-CrMzy43a.js"),__vite__mapDeps([51,8,52])))),e.component("additional-channels-editor",defineAsyncComponent(()=>__vitePreload(()=>import("./AdditionalChannelsEditor-C692CfgB.js"),__vite__mapDeps([53,1,13,19,3,54]))
128)),e.component("mass-uploader",defineAsyncComponent(()=>__vitePreload(()=>import("./MassUploader-BcEW7xAw.js"),__vite__mapDeps([55,7,8,6,21,22,23,19,20,24,9,18,25,5,26,27,37,1,13,28,56])))),e.component("regional-channels-list",defineAsyncComponent(()=>__vitePreload(()=>import("./RegionalChannelsList-Dp9XBl39.js"),[]))),e.component("crossposts-manager",defineAsyncComponent(()=>__vitePreload(()=>import("./CrosspostsManager-C5Wnn2I2.js"),__vite__mapDeps([57,4,5,6,7,8,9,10,3,13,58])))),e.component("channel-select",defineAsyncComponent(()=>__vitePreload(()=>import("./ChannelSelect-C5U3h7h6.js"),__vite__mapDeps([59,17,18,19,7,8])))),e.component("type-select",defineAsyncComponent(()=>__vitePreload(()=>import("./TypeSelect-CYKi6HNb.js"),__vite__mapDeps([60,28])))),e.component("date-select",defineAsyncComponent(()=>__vitePreload(()=>import("./DateSelect-DSVEJQJg.js"),__vite__mapDeps([61,37,22,23,1,13])))),e.component("response",defineAsyncComponent(()=>__vitePreload(()=>import("./Response-BidWydhe.js"),__vite__mapDeps([62,6])))),e.component("preloader",defineAsyncComponent(()=>__vitePreload(()=>import("./Preloader-Dy1Nor-q.js"),__vite__mapDeps([7,8])))),e.component("tiptap-editor",defineAsyncComponent(()=>__vitePreload(()=>import("./TiptapEditor-CdDQQpl2.js"),__vite__mapDeps([63,4,5,6,7,8,9,10,64])))),e.component("tags-editor",defineAsyncComponent(()=>__vitePreload(()=>import("./TagsEditor-ZNaSRILM.js"),__vite__mapDeps([65,11,12,66])))),e.component("article-bindings-editor",defineAsyncComponent(()=>__vitePreload(()=>import("./ArticleBindingsEditor-DHxoggoa.js"),__vite__mapDeps([67,13,1,68])))),e.component("commercials-info-editor",defineAsyncComponent(()=>__vitePreload(()=>import("./CommercialsInfoEditor-6iL6POt2.js"),__vite__mapDeps([69,49,25,22,24,13])))),e.component("channel-and-program-transfer",defineAsyncComponent(()=>__vitePreload(()=>import("./ChannelAndProgramTransfer-Dt5fITUK.js"),__vite__mapDeps([70,19,20,13])))),e.component("type-and-category-transfer",defineAsyncComponent(()=>__vitePreload(()=>import("./TypeAndCategoryTransfer-Dn-C0Jpq.js"),__vite__mapDeps([71,24,13])))),e.component("commercials-panel",defineAsyncComponent(()=>__vitePreload(()=>import("./CommercialsPanel-DxlQ-csE.js"),__vite__mapDeps([72,7,8,49,25,22,24,13,29,30,73])))),e.component("permissions-manager",defineAsyncComponent(()=>__vitePreload(()=>import("./PermissionsManager-Bz1yjjyZ.js"),__vite__mapDeps([74,4,5,6,7,8,9,10,75])))),e.component("channels-manager",defineAsyncComponent(()=>__vitePreload(()=>import("./ChannelsManager-CO631v2P.js"),__vite__mapDeps([76,5,6,45,46,77,7,8,9,78])))),e.component("channels-order-manager",defineAsyncComponent(()=>__vitePreload(()=>import("./ChannelsOrderManager-BXzTkz8F.js"),__vite__mapDeps([79,44,12,6,7,8,18,9,80])))),e.component("smiles-manager",defineAsyncComponent(()=>__vitePreload(()=>import("./SmilesManager-LaxpTrDg.js"),__vite__mapDeps([81,4,5,6,7,8,9,10])))),e.component("users-manager",defineAsyncComponent(()=>__vitePreload(()=>import("./UsersManager-DDWWaPak.js"),__vite__mapDeps([82,77,5,6,45,46,7,8,13,9,83])))),e.component("categories-manager",defineAsyncComponent(()=>__vitePreload(()=>import("./CategoriesManager-JXrt954J.js"),__vite__mapDeps([84,6,9,85])))),e.component("programs-manager",defineAsyncComponent(()=>__vitePreload(()=>import("./ProgramsManager-C2SskYkH.js"),__vite__mapDeps([86,77,45,46,7,8])))),e.component("programs-order-manager",defineAsyncComponent(()=>__vitePreload(()=>import("./ProgramsOrderManager-BbTHHPgG.js"),__vite__mapDeps([87,44,12,6,5,13,7,8,9,88]))))},initializeVue=(e="#app")=>{const t=document.querySelector(e);app=createApp({template:t.innerHTML}),app.use(pinia),app.use(registerComponents),app.mount(t)},body=$("body");let canEditRecords=null,menuItemIds=[],singleMenu=!1;$(body).on("click",".record-item,.radio-recording",async e=>{if(!e.ctrlKey&&!e.shiftKey||canEditRecords===!1||(e.preventDefault(),canEditRecords===null&&(canEditRecords=(await $.get(route("profile.permissions"))).can_edit_records),canEditRecords===!1))return;const t=$(e.currentTarget).data("id");if(t){if(e.ctrlKey)$(body).off("click",detectClickOutside),removeMenu(),setTimeout(()=>{menuItemIds=[t],singleMenu=!0,showMenu(e)},1);else if(e.shiftKey){$(e.currentTarget).toggleClass("selected");const n=$(e.currentTarget).hasClass("selected");singleMenu&&(singleMenu=!1,menuItemIds=[]),n?menuItemIds.push(t):menuItemIds=menuItemIds.filter(s=>s!==t),menuItemIds=menuItemIds.sort();const i=$(".actions");
128if(!menuItemIds.length){$(i).remove();return}i.length?$(i).find(".actions__number").text(menuItemIds.length):$(body).append(`<div class="actions">
129                <span class="actions__text">Выбрано записей: <span class="actions__number">${menuItemIds.length}</span></span>
130                <a class="button actions__button">Действия</a>
131                <a class="button button--light actions__clear">Отмена</a>
132            </div>`)}}});$(body).on("click",".menu--records .menu__item",async e=>{if(e.preventDefault(),$(e.target).data("instant")){const n=$(e.target).parents(".menu");$(n).append(PRELOADER_HTML);try{const{data:i}=await $.post($(e.currentTarget).data("url"),{ids:menuItemIds});i?.html&&replaceHTML(i.html),removeMenu()}catch(i){alert(i.responseJSON.message??i.message??"Ошибка, попробуйте позже")}finally{$(n).find(`.${PRELOADER_CLASS}`).remove()}return}removeMenu();const t=`records_manager_${menuItemIds.join(",")}`;await showModalAjax($.get($(e.currentTarget).data("url"),{ids:menuItemIds}),`#${t}`),initializeVue(`.modal-window[data-name="${t}"]`)});const showMenu=async e=>{$(body).append(`<div class="menu menu--records" data-ids="${menuItemIds.join(",")}">${PRELOADER_HTML}</div>`);const t=$(body).find(".menu"),n=$(e.target).parents(".actions,.record-item,.radio-recording");$(t).css({top:$(n).offset().top+e.offsetY,left:$(n).offset().left+e.offsetX});const{data:i}=await $.get(route("records.edit.menu",{ids:menuItemIds}));replaceHTML(i.html),$(body).on("click",detectClickOutside)},detectClickOutside=e=>{const t=$(`.menu[data-ids="${menuItemIds.join(",")}"]`);t.length!==0&&!$(t).is(e.target)&&$(t).has(e.target).length===0&&removeMenu(t)},removeMenu=e=>{e||(e=$(`.menu[data-ids="${menuItemIds.join(",")}"]`)),$(e).remove(),$(body).off("click",detectClickOutside)};$(body).on("click",".actions__button",e=>showMenu(e));$(body).on("click",".actions__clear",e=>{menuItemIds=[],$(".actions").remove(),$(".selected").removeClass("selected")});const highlightSelected=()=>{menuItemIds.forEach(e=>{$(`.record-item[data-id=${e}], .radio-recording[data-id=${e}]`).addClass("selected")})};window.execOnMounted.push(highlightSelected);window.execOnRecordsPageChange.push(highlightSelected);let currentPage,pageSelect,pages=[],pushState=!0;const loadPage=e=>{currentPage=e,$(".record-page__player-container").append(' <div class="form__preloader form__preloader--dark"><img src="/img/ajax.gif"></div>'),$.get(`/teletext/${$("input[name=teletext_id]").val()}/?page=${e}&ajax=1`).then(t=>{$(".record-page__player-container").find(".form__preloader").remove(),$(".teletext").html(t);const n=pages.indexOf(currentPage),i=n>0?pages[n-1]:pages[pages.length-1],s=n<pages.length-1?pages[n+1]:pages[0];if($(".teletext-controls__prev").attr("href",`?page=${i}`),$(".teletext-controls__next").attr("href",`?page=${s}`),initSubpages(),pushState){const r=new URL(window.location.href);r.searchParams.set("page",e.toString()),window.history.pushState(null,"",r.toString())}pushState=!0})},initSubpages=()=>{const e=$(".record-page__player-container .subpage");$(e).hide(),$(e).first().show();const t=$(".teletext-controls__subpages"),n=$(".teletext-controls__subpages__list");if($(n).html(""),e.length>1){for(let i=1;i<=e.length;i++)$(n).append(`<a class="teletext-controls__subpage ${i===1?"teletext-controls__subpage--active":""}">${i}</a>`);$(t).show()}else $(t).hide()},onKeydown=e=>{$(document.activeElement).is("input")||$(document.activeElement).is("textarea")||((e.ke
132y==="ArrowLeft"||e.key==="a")&&($(".teletext-controls__prev").click(),e.preventDefault()),(e.key==="ArrowRight"||e.key==="d")&&($(".teletext-controls__next").click(),e.preventDefault()))},onResize=()=>{const e=$(".teletext"),t=$(e).width();$(e).css({fontSize:t/33})},initTeletext=()=>{if($(document).off("keydown",onKeydown),$(window).off("resize",onResize),!$(".teletext-controls").length)return;pageSelect=$(".teletext-controls__select"),pages=[...$(pageSelect)[0].options].map(t=>t.value),currentPage=$(pageSelect).val(),initSubpages(),$(pageSelect).select2().on("change",function(){loadPage($(this).val())}),$("body").on("click",".teletext-controls__subpage",function(){$(".teletext-controls__subpage").removeClass("teletext-controls__subpage--active"),$(this).addClass("teletext-controls__subpage--active");const t=$(".record-page__player-container .subpage");$(t).hide(),$(t).eq(parseInt($(this).text())-1).show()}),$(".teletext-controls__prev, .teletext-controls__next, .teletext a").on("click",function(t){t.preventDefault();const n=$(this).attr("href").split("?page=")[1];$(pageSelect).val(n).trigger("change")}),$(document).on("keydown",onKeydown),$(window).on("resize",onResize),onResize(),new URL(window.location.href).searchParams.get("update_cover")&&updateCover()};$(window).on("popstate",function(){const e=new URL(window.location.href);e.pathname.startsWith("/teletext/")&&e.searchParams.get("page")&&(pushState=!1,$(pageSelect).val(e.searchParams.get("page")).trigger("change"))});const updateCover=()=>{const e=()=>{html2canvas($(".teletext")[0]).then(function(n){n.toBlob(i=>{const s=new File([i],"screenshot.jpg",{type:"image/jpeg"}),r=new FormData;r.append("picture",s),r.append("channel_id",$("input[name=channel_id]").val()),$.ajax({url:route("pictures.upload"),data:r,processData:!1,contentType:!1,type:"POST",success:({data:a})=>{$.post(route("teletext.edit",$("input[name=teletext_id]").val()),{cover_id:a.picture.id})}})},"image/jpeg")})},t=document.createElement("script");t.src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js",t.addEventListener("load",e),document.getElementsByTagName("head")[0].appendChild(t)};window.execOnMounted.push(initTeletext);function onPageChange(){let script=$("#pjax_scripts_container").data("script");script&&(script=script.replace("<script>","").replace("<\/script>",""),eval(script)),$("#pjax-content").data("vue")&&initializeVue(),window.execOnMounted.forEach(e=>e())}const onReady=()=>{$(document).pjax('a[target!="_blank"]',"#pjax-container",{timeout:1e4}),onPageChange();let e=window.location.href,t=!1,n;$(document).on("pjax:start",i=>{t=e.split("?")[0]===window.location.href.split("?")[0],t&&(n=$(i.relatedTarget).closest(".box")[0].offsetTop),$("body").addClass("page-loading")}),$(document).on("pjax:success",()=>{e=window.location.href,window.recaptchaLoaded=!1,$("body").removeClass("page-loading"),onPageChange(),t&&window.scrollTo({top:n})}),$(document).on("pjax:popstate",()=>{setTimeout(()=>{$("body").removeClass("page-loading"),$(".form__preloader").remove(),onPageChange()},250)})};$(document).ready(function(){$.ajaxSetup({headers:{"X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}}),onReady()});
132export{markRaw as $,createSlots as A,withModifiers as B,onMounted as C,renderSlot as D,isMobile as E,Fragment as F,vModelRadio as G,withKeys as H,resolveDynamicComponent as I,updateQueryString as J,reactive as K,vModelSelect as L,nextTick as M,mergeProps as N,toHandlers as O,getDefaultExportFromCjs$1 as P,defineStore as Q,getCurrentScope as R,onScopeDispose as S,getCurrentInstance as T,shallowRef as U,toValue as V,onBeforeUnmount as W,commonjsGlobal as X,vModelDynamic as Y,h as Z,watchEffect as _,createElementBlock as a,customRef as a0,onUnmounted as a1,language as a2,getAugmentedNamespace as a3,vue_esmBundler as a4,initPlayer as a5,inject as a6,provide as a7,useId as a8,normalizeProps as a9,guardReactiveProps as aa,useSlots as ab,createBaseVNode as b,computed as c,defineComponent as d,renderList as e,createVNode as f,createBlock as g,withDirectives as h,useModel as i,createCommentVNode as j,createTextVNode as k,vModelCheckbox as l,mergeModels as m,vShow as n,openBlock as o,normalizeClass as p,normalizeStyle as q,ref as r,storeToRefs as s,toDisplayString as t,unref as u,vModelText as v,withCtx as w,useTemplateRef as x,watch as y,resolveComponent as z};

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